/*! For license information please see main.fed046ad.js.LICENSE.txt */
(()=>{var __webpack_modules__={91324:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r,i=n(61462);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(null,arguments)}function a(e,t){let{title:n,titleId:a,...s}=e;return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:t,"aria-labelledby":a},s),n?i.createElement("title",{id:a},n):null,r||(r=i.createElement("path",{d:"M17.5 10C17.5 14.1421 14.1421 17.5 10 17.5M17.5 10C17.5 5.85786 14.1421 2.5 10 2.5M17.5 10H2.5M10 17.5C5.85786 17.5 2.5 14.1421 2.5 10M10 17.5C11.3807 17.5 12.5 14.1421 12.5 10C12.5 5.85786 11.3807 2.5 10 2.5M10 17.5C8.61929 17.5 7.5 14.1421 7.5 10C7.5 5.85786 8.61929 2.5 10 2.5M2.5 10C2.5 5.85786 5.85786 2.5 10 2.5",stroke:"#ADB5BD",strokeLinecap:"round",strokeLinejoin:"round"})))}const s=i.forwardRef(a);n.p},78336:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var r=n(61462);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function o(e,t){let{title:n,titleId:o,...a}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"svg32",x:0,y:0,style:{enableBackground:"new 0 0 256 256"},viewBox:"0 0 256 256",ref:t,"aria-labelledby":o},a),n?r.createElement("title",{id:o},n):null,r.createElement("g",{id:"g43",transform:"scale(2.56)"},r.createElement("circle",{id:"circle20",cx:50,cy:50,r:50,style:{fill:"#00ef8b"}}),r.createElement("path",{id:"rect22",d:"M57.8 42.2h14.1v14.1H57.8z",style:{fill:"white"}}),r.createElement("path",{id:"path24",d:"M43.7 61.6c0 2.9-2.4 5.3-5.3 5.3s-5.3-2.4-5.3-5.3 2.4-5.3 5.3-5.3h5.3V42.2h-5.3C27.7 42.2 19 50.9 19 61.6S27.7 81 38.4 81s19.4-8.7 19.4-19.4v-5.3H43.7v5.3z",style:{fill:"white"}}),r.createElement("path",{id:"path26",d:"M63.1 35.1H79V21H63.1c-10.7 0-19.4 8.7-19.4 19.4v1.8h14.1v-1.8c0-2.9 2.4-5.3 5.3-5.3z",style:{fill:"white"}}),r.createElement("path",{id:"polygon28",d:"M57.8 42.2H43.7v14.1h14.1z",style:{fill:"#16ff99"}})))}const a=r.forwardRef(o);n.p},43677:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});n(61462);const r=n.p+"static/media/image_not_available.988ddda591659dac2c8faa0b13859acf.svg"},41551:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r,i,o=n(61462);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}function s(e,t){let{title:n,titleId:s,...l}=e;return o.createElement("svg",a({width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":s},l),n?o.createElement("title",{id:s},n):null,r||(r=o.createElement("rect",{x:.75,width:18,height:18,rx:9,fill:"#762FBE"})),i||(i=o.createElement("path",{d:"M10 6.33333C8.89543 6.33333 8 6.93029 8 7.66667C8 8.40305 8.89543 9 10 9C11.1046 9 12 9.59695 12 10.3333C12 11.0697 11.1046 11.6667 10 11.6667M10 6.33333C10.7403 6.33333 11.3866 6.60147 11.7324 7M10 6.33333V5.66667M10 6.33333L10 11.6667M10 11.6667L10 12.3333M10 11.6667C9.25974 11.6667 8.61339 11.3985 8.26758 11M16 9C16 12.3137 13.3137 15 10 15C6.68629 15 4 12.3137 4 9C4 5.68629 6.68629 3 10 3C13.3137 3 16 5.68629 16 9Z",stroke:"white",strokeLinecap:"round"})))}const l=o.forwardRef(s);n.p},54622:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r,i,o=n(61462);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}function s(e,t){let{title:n,titleId:s,...l}=e;return o.createElement("svg",a({width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":s},l),n?o.createElement("title",{id:s},n):null,r||(r=o.createElement("g",{clipPath:"url(#clip0_1401_13591)"},o.createElement("path",{d:"M9.75 18C14.7206 18 18.75 13.9706 18.75 9C18.75 4.02944 14.7206 0 9.75 0C4.77944 0 0.75 4.02944 0.75 9C0.75 13.9706 4.77944 18 9.75 18Z",fill:"#762FBE"}),o.createElement("path",{d:"M13.692 7.59601H11.154V10.134H13.692V7.59601Z",fill:"white"}),o.createElement("path",{d:"M8.616 11.088C8.616 11.61 8.184 12.042 7.662 12.042C7.14 12.042 6.708 11.61 6.708 11.088C6.708 10.566 7.14 10.134 7.662 10.134H8.616V7.59601H7.662C5.736 7.59601 4.17 9.16201 4.17 11.088C4.17 13.014 5.736 14.58 7.662 14.58C9.588 14.58 11.154 13.014 11.154 11.088V10.134H8.616V11.088Z",fill:"white"}),o.createElement("path",{d:"M12.108 6.31803H14.97V3.78003H12.108C10.182 3.78003 8.616 5.34603 8.616 7.27203V7.59603H11.154V7.27203C11.154 6.75003 11.586 6.31803 12.108 6.31803Z",fill:"white"}),o.createElement("path",{d:"M11.154 7.59601H8.616V10.134H11.154V7.59601Z",fill:"#762FBE"}))),i||(i=o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_1401_13591"},o.createElement("rect",{width:18,height:18,fill:"white",transform:"translate(0.75)"})))))}const l=o.forwardRef(s);n.p},42777:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var r=n(61462);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function o(e,t){let{title:n,titleId:o,...a}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"svg32",x:0,y:0,style:{enableBackground:"new 0 0 256 256"},viewBox:"0 0 256 256",ref:t,"aria-labelledby":o},a),n?r.createElement("title",{id:o},n):null,r.createElement("g",{id:"g43",transform:"scale(2.56)"},r.createElement("circle",{id:"circle20",cx:50,cy:50,r:50,style:{fill:"#00ef8b"}}),r.createElement("path",{id:"rect22",d:"M57.8 42.2h14.1v14.1H57.8z",style:{fill:"white"}}),r.createElement("path",{id:"path24",d:"M43.7 61.6c0 2.9-2.4 5.3-5.3 5.3s-5.3-2.4-5.3-5.3 2.4-5.3 5.3-5.3h5.3V42.2h-5.3C27.7 42.2 19 50.9 19 61.6S27.7 81 38.4 81s19.4-8.7 19.4-19.4v-5.3H43.7v5.3z",style:{fill:"white"}}),r.createElement("path",{id:"path26",d:"M63.1 35.1H79V21H63.1c-10.7 0-19.4 8.7-19.4 19.4v1.8h14.1v-1.8c0-2.9 2.4-5.3 5.3-5.3z",style:{fill:"white"}}),r.createElement("path",{id:"polygon28",d:"M57.8 42.2H43.7v14.1h14.1z",style:{fill:"#16ff99"}})))}const a=r.forwardRef(o);n.p},83170:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});n(61462);const r=n.p+"static/media/new_fallback_image.756db11552689ed90e938269ce4485c4.svg"},12273:(e,t,n)=>{"use strict";n.d(t,{sD:()=>Vy,dG:()=>tv,tY:()=>FR,Bo:()=>z,M2:()=>s,VR:()=>c,VX:()=>KR,Xb:()=>og,t:()=>NR,KE:()=>AC,$d:()=>G,ez:()=>Zt,DG:()=>IR,$z:()=>zt,ZJ:()=>Eg,AP:()=>UT,f:()=>Cc,m9:()=>Wg,Ol:()=>L,aE:()=>rv,cs:()=>q,$4:()=>lx,zV:()=>gg,yU:()=>hw,LZ:()=>ab,fh:()=>Zw,FS:()=>X,rR:()=>pg,GM:()=>Ga,Al:()=>fe,Di:()=>J,or:()=>Y,t1:()=>Gm,i0:()=>l_,Qw:()=>nv,cI:()=>nx,Yj:()=>Km,dv:()=>sb});var r={};n.r(r),n.d(r,{attentionMarkers:()=>hh,contentInitial:()=>ah,disable:()=>ph,document:()=>oh,flow:()=>lh,flowInitial:()=>sh,insideSpan:()=>dh,string:()=>ch,text:()=>uh});var i=n(61462),o=n(14716),a=n(99334);const s=e=>{let{text:t,variant:n,loading:r=!1,disabled:i=!1,btnSize:s="large",onClick:l,bgColor:c="primary",type:u,className:d}=e;return(0,a.jsx)("button",{type:u,onClick:i?void 0:l,disabled:i,className:(0,o.cn)("px-6 text-black rounded-lg shadow-lg uppercase font-black whitespace-nowrap bg-primary",{"bg-[#FF6E25]":"warning"===c,"bg-red-500":"danger"===c,"bg-white":"white"===c,"capitalize p-0 font-medium text-base bg-transparent text-primary shadow-none hover:underline hover:shadow-none":"tertiary"===n,"hover-button":"primary"===c&&!i&&"tertiary"!==n,"hover-danger-button":"danger"===c&&!i,"hover-warning-button":"warning"===c&&!i,"hover-white-button":"white"===c&&!i,"opacity-50 cursor-not-allowed no-shadow":i,"py-2":"small"===s,"py-3":"large"===s,"text-base bg-primary shadow-flowty-btn-primary":"primary"===n,"text-opacity-50":r,"text-xs":"small"===s&&"primary"===n,"w-full text-sm font-extrabold shadow-flowty-btn-secondary":"secondary"===n},d),children:t})};var l=n(98860);const c=e=>{let{id:t,name:n,label:r,disabled:i=!1,checkboxSize:s="small",isError:c=!1,errorMessage:u="",className:d=""}=e;const[h]=(0,l.Mt)({name:n}),p=h.value;return(0,a.jsx)("label",{className:"font-montserrat flex items-center max-w-md gap-[8px] text-[12px] font-[400] leading-[12px] text-neutral-700 hover:text-white focus:text-white cursor-pointer",htmlFor:t,children:(0,a.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[c&&!p&&(0,a.jsx)("span",{className:"text-[#FF6969] text-base h-[8px] w-[4px]",children:"*"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(l.D0,{role:"checkbox",type:"checkbox",id:t,name:n,disabled:i,className:"hidden","data-testid":n}),(0,a.jsx)("div",{className:(0,o.cn)("text-black flex justify-center rounded-[4px] items-center border focus:border-none cursor-pointer",{"bg-primary":p,"bg-transparent":!p&&"small"===s,"bg-white":!p&&"medium"===s,"border-neutral-300  hover:border-neutral-300":i,"border-neutral-300  hover:border-neutral-500":"medium"===s,"border-none":p,"border-white hover:border-neutral-700":"small"===s,"h-[1.25rem] w-[1.25rem]":"small"===s,"h-[1.5rem] w-[1.5rem]":"medium"===s}),children:p&&(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3657 4.23431C13.6781 4.54673 13.6781 5.05327 13.3657 5.36569L6.96571 11.7657C6.65329 12.0781 6.14676 12.0781 5.83434 11.7657L2.63434 8.56569C2.32192 8.25327 2.32192 7.74673 2.63434 7.43431C2.94676 7.1219 3.45329 7.1219 3.76571 7.43431L6.40002 10.0686L12.2343 4.23431C12.5468 3.9219 13.0533 3.9219 13.3657 4.23431Z",fill:"#031021"})})}),(0,a.jsx)("span",{className:"".concat(i?"text-neutral-300":"text-white"," w-fit ").concat(d),children:r})]}),c&&!p&&u&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43086 2.78911C8.11901 1.56574 9.88039 1.56574 10.5685 2.78911L15.5908 11.7176C16.2657 12.9175 15.3987 14.4001 14.022 14.4001H3.97743C2.60074 14.4001 1.73365 12.9175 2.40859 11.7176L7.43086 2.78911ZM9.89962 11.7002C9.89962 12.1972 9.49668 12.6002 8.99962 12.6002C8.50257 12.6002 8.09962 12.1972 8.09962 11.7002C8.09962 11.2031 8.50257 10.8002 8.99962 10.8002C9.49668 10.8002 9.89962 11.2031 9.89962 11.7002ZM8.99962 4.50017C8.50257 4.50017 8.09962 4.90311 8.09962 5.40017V8.10017C8.09962 8.59723 8.50257 9.00017 8.99962 9.00017C9.49668 9.00017 9.89962 8.59723 9.89962 8.10017V5.40017C9.89962 4.90311 9.49668 4.50017 8.99962 4.50017Z",fill:"#FF6969"})}),(0,a.jsx)("span",{className:"text-[#FF6969] font-normal text-xs",children:u})]})]})})};var u,d=n(82995);function h(e,t,n){var r=this,o=(0,i.useRef)(null),a=(0,i.useRef)(0),s=(0,i.useRef)(null),l=(0,i.useRef)([]),c=(0,i.useRef)(),u=(0,i.useRef)(),d=(0,i.useRef)(e),h=(0,i.useRef)(!0);(0,i.useEffect)((function(){d.current=e}),[e]);var p=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var f=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,v=g?Math.max(+n.maxWait||0,t):null;(0,i.useEffect)((function(){return h.current=!0,function(){h.current=!1}}),[]);var C=(0,i.useMemo)((function(){var e=function(e){var t=l.current,n=c.current;return l.current=c.current=null,a.current=e,u.current=d.current.apply(n,t)},n=function(e,t){p&&cancelAnimationFrame(s.current),s.current=p?requestAnimationFrame(e):setTimeout(e,t)},i=function(e){if(!h.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||g&&e-a.current>=v},C=function(t){return s.current=null,m&&l.current?e(t):(l.current=c.current=null,u.current)},y=function e(){var r=Date.now();if(i(r))return C(r);if(h.current){var s=t-(r-o.current),l=g?Math.min(s,v-(r-a.current)):s;n(e,l)}},b=function(){var d=Date.now(),p=i(d);if(l.current=[].slice.call(arguments),c.current=r,o.current=d,p){if(!s.current&&h.current)return a.current=o.current,n(y,t),f?e(o.current):u.current;if(g)return n(y,t),e(o.current)}return s.current||n(y,t),u.current};return b.cancel=function(){s.current&&(p?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,l.current=o.current=c.current=s.current=null},b.isPending=function(){return!!s.current},b.flush=function(){return s.current?C(Date.now()):u.current},b}),[f,g,t,v,m,p]);return C}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(null,arguments)}function f(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",p({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,u||(u=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3257 12.8986L19.7057 18.2786C19.8948 18.4679 20.001 18.7245 20.0009 18.992C20.0008 19.2595 19.8945 19.516 19.7052 19.7051C19.516 19.8942 19.2594 20.0004 18.9919 20.0003C18.7244 20.0002 18.4678 19.8939 18.2787 19.7046L12.8987 14.3246C11.2905 15.5703 9.26802 16.1565 7.24287 15.964C5.21772 15.7714 3.34198 14.8147 1.99723 13.2882C0.652477 11.7618 -0.0602651 9.78044 0.00399633 7.74717C0.0682577 5.7139 0.904695 3.78148 2.34315 2.34303C3.7816 0.904573 5.71402 0.0681356 7.74729 0.00387426C9.78056 -0.0603871 11.7619 0.652355 13.2884 1.9971C14.8148 3.34185 15.7716 5.2176 15.9641 7.24275C16.1566 9.2679 15.5704 11.2903 14.3247 12.8986H14.3257ZM8.00074 13.9996C9.59204 13.9996 11.1182 13.3675 12.2434 12.2423C13.3686 11.117 14.0007 9.59092 14.0007 7.99962C14.0007 6.40832 13.3686 4.8822 12.2434 3.75698C11.1182 2.63176 9.59204 1.99962 8.00074 1.99962C6.40944 1.99962 4.88332 2.63176 3.7581 3.75698C2.63289 4.8822 2.00074 6.40832 2.00074 7.99962C2.00074 9.59092 2.63289 11.117 3.7581 12.2423C4.88332 13.3675 6.40944 13.9996 8.00074 13.9996Z",fill:"#04E5A3"})))}const m=i.forwardRef(f);n.p;var g;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(null,arguments)}function C(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",v({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,g||(g=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3257 12.8987L19.7057 18.2787C19.8948 18.4679 20.001 18.7245 20.0009 18.992C20.0008 19.2595 19.8945 19.5161 19.7052 19.7052C19.516 19.8943 19.2594 20.0004 18.9919 20.0003C18.7244 20.0002 18.4678 19.8939 18.2787 19.7047L12.8987 14.3247C11.2905 15.5703 9.26802 16.1565 7.24287 15.964C5.21772 15.7715 3.34198 14.8147 1.99723 13.2883C0.652477 11.7618 -0.0602651 9.78047 0.00399633 7.7472C0.0682577 5.71393 0.904695 3.78151 2.34315 2.34306C3.7816 0.904603 5.71402 0.0681662 7.74729 0.00390477C9.78056 -0.0603566 11.7619 0.652385 13.2884 1.99713C14.8148 3.34188 15.7716 5.21763 15.9641 7.24278C16.1566 9.26793 15.5704 11.2904 14.3247 12.8987H14.3257ZM8.00074 13.9997C9.59204 13.9997 11.1182 13.3675 12.2434 12.2423C13.3686 11.1171 14.0007 9.59095 14.0007 7.99965C14.0007 6.40835 13.3686 4.88223 12.2434 3.75701C11.1182 2.63179 9.59204 1.99965 8.00074 1.99965C6.40944 1.99965 4.88332 2.63179 3.7581 3.75701C2.63289 4.88223 2.00074 6.40835 2.00074 7.99965C2.00074 9.59095 2.63289 11.1171 3.7581 12.2423C4.88332 13.3675 6.40944 13.9997 8.00074 13.9997Z",fill:"#6C757D"})))}const y=i.forwardRef(C),b=(n.p,e=>{const[t,n]=(0,i.useState)(e.value),[r,s]=(0,i.useState)(!1);(0,i.useEffect)((()=>{n(e.value)}),[e.value]);const l=h((t=>{e.onChange(t)}),e.debounceTime);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("label",{htmlFor:"search",className:"sr-only block text-sm leading-6 text-[#6C757D]",children:e.labelText}),(0,a.jsxs)("div",{className:"relative flex w-full items-center rounded-md shadow-sm",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-[24px]",children:r?(0,a.jsx)(m,{}):(0,a.jsx)(y,{})}),e.isMobile?(0,a.jsx)(d.A,{onClick:e.onClear,className:"absolute right-[24px] w-[1.5rem] h-[1.5rem] cursor-pointer"}):null,(0,a.jsx)("input",{onBlur:()=>{s(!1),e.onBlur&&e.onBlur()},onKeyDown:e=>{"Enter"===e.key&&l(t)},type:"text",name:"search",id:"search",onFocus:()=>{s(!0),e.onFocus&&e.onFocus()},className:(0,o.cn)("flex border-[1px] border-[#6c757d40] truncate placeholder:truncate !h-[40px] w-full text-[0.875rem] h-[2.5rem] text-sm leading-6 font-montserrat font-normal rounded-[6px] bg-[#e1e1e114] bg-opacity-50 py-[0.375rem] pl-[3.75rem] text-white placeholder:text-gray-400 placeholder:text-[0.875rem] placeholder:font-[400] hover:bg-[#ffffff14] outline-none focus:bg-[#ffffff14] active:bg-[#ffffff14] sm:text-sm sm:leading-6",{"border-[1px] border-primary":r}),onChange:e=>{const t=e.target.value;n(t),l(t)},disabled:e.disabled,maxLength:e.maxLength,autoFocus:e.autoFocus,value:t,placeholder:e.placeholder,autoComplete:"off"})]})]})})}),w=()=>(0,a.jsxs)("svg",{width:"158",height:"132",viewBox:"0 0 158 132",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M78.9404 132C115.389 132 144.94 102.449 144.94 66C144.94 29.5515 115.389 0 78.9404 0C42.4919 0 12.9404 29.5515 12.9404 66C12.9404 102.449 42.4919 132 78.9404 132Z",fill:"#6C757D",fillOpacity:"0.4"}),(0,a.jsx)("path",{d:"M105.088 19.008H54.1906C49.3305 19.008 45.3906 22.9479 45.3906 27.808V95.4745C45.3906 100.335 49.3305 104.274 54.1906 104.274H105.088C109.948 104.274 113.888 100.335 113.888 95.4745V27.808C113.888 22.9479 109.948 19.008 105.088 19.008Z",fill:"#F8F9FA",fillOpacity:"0.14"}),(0,a.jsx)("path",{d:"M54.1354 91.168H103.745C105.236 91.168 106.44 92.3725 106.44 93.863C106.44 95.3535 105.236 96.558 103.745 96.558H54.1354C52.6449 96.558 51.4404 95.3535 51.4404 93.863C51.4404 92.3725 52.6449 91.168 54.1354 91.168Z",fill:"#D5D5D5"}),(0,a.jsx)("path",{d:"M154.923 9.58099H121.879C120.339 9.58099 119.091 10.8955 119.091 12.5125V28.8585C119.091 30.481 120.339 31.7955 121.879 31.7955H154.923C156.463 31.7955 157.712 30.481 157.712 28.8585V12.5125C157.712 10.89 156.463 9.58099 154.923 9.58099Z",fill:"#575A5D"}),(0,a.jsxs)("g",{opacity:"0.7",children:[(0,a.jsx)("path",{d:"M84.5994 46.9151L86.5805 38H71.722C66.4919 38.9509 63.5994 44.0755 62.807 46.5189L54.2881 79.6038H64.59L68.3541 64.5472H75.4862L77.4673 55.2358H70.7315C72.5145 48.8962 73.1088 46.9151 74.2975 46.9151H84.5994Z",fill:"white"}),(0,a.jsx)("path",{d:"M78.2599 75.6414C78.2599 78.0486 76.3086 79.9999 73.9015 79.9999C71.4943 79.9999 69.543 78.0486 69.543 75.6414C69.543 73.2343 71.4943 71.283 73.9015 71.283C76.3086 71.283 78.2599 73.2343 78.2599 75.6414Z",fill:"#B3BBBE"}),(0,a.jsx)("path",{d:"M89.5519 75.6414C89.5519 78.0486 87.6006 79.9999 85.1935 79.9999C82.7863 79.9999 80.835 78.0486 80.835 75.6414C80.835 73.2343 82.7863 71.283 85.1935 71.283C87.6006 71.283 89.5519 73.2343 89.5519 75.6414Z",fill:"#B3BBBE"}),(0,a.jsx)("path",{d:"M100.845 75.6414C100.845 78.0486 98.8935 79.9999 96.4864 79.9999C94.0793 79.9999 92.1279 78.0486 92.1279 75.6414C92.1279 73.2343 94.0793 71.283 96.4864 71.283C98.8935 71.283 100.845 73.2343 100.845 75.6414Z",fill:"#B3BBBE"})]}),(0,a.jsx)("path",{d:"M127.341 24.2C129.162 24.2 130.641 22.7205 130.641 20.9C130.641 19.0795 129.162 17.6 127.341 17.6C125.521 17.6 124.041 19.0795 124.041 20.9C124.041 22.7205 125.521 24.2 127.341 24.2Z",fill:"#989EA1"}),(0,a.jsx)("path",{d:"M138.34 17.6H149.34C151.161 17.6 152.64 19.0795 152.64 20.9C152.64 22.7205 151.161 24.2 149.34 24.2H138.34C136.52 24.2 135.04 22.7205 135.04 20.9C135.04 19.0795 136.52 17.6 138.34 17.6Z",fill:"#D5D5D5"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M98.2513 108.108C105.335 108.108 111.919 105.963 117.391 102.294L139.776 123.662L147.894 114.246L126.296 93.6265C130.283 88.011 132.632 81.147 132.632 73.7385C132.632 54.7525 117.243 39.3635 98.2568 39.3635C79.2708 39.3635 63.8818 54.7525 63.8818 73.7385C63.8818 92.7245 79.2708 108.113 98.2568 108.113L98.2513 108.108ZM127.572 73.733C127.572 89.804 114.542 102.833 98.4713 102.833C82.4003 102.833 69.3708 89.804 69.3708 73.733C69.3708 57.662 82.4003 44.6325 98.4713 44.6325C114.542 44.6325 127.572 57.662 127.572 73.733Z",fill:"#BEFFEC"}),(0,a.jsx)("path",{d:"M103.647 73.7L110.902 66.473C111.584 65.758 111.952 64.8065 111.941 63.822C111.93 62.8375 111.529 61.9025 110.83 61.204C110.132 60.511 109.186 60.1095 108.196 60.0985C107.206 60.0875 106.249 60.456 105.528 61.1325L98.2573 68.3595L91.0028 61.1325C90.6563 60.764 90.2328 60.4725 89.7708 60.269C89.3033 60.0655 88.8028 59.9555 88.2968 59.95C87.7908 59.9445 87.2848 60.038 86.8118 60.225C86.3388 60.4175 85.9153 60.698 85.5523 61.0555C85.1948 61.413 84.9088 61.8365 84.7163 62.304C84.5238 62.7715 84.4303 63.272 84.4358 63.778C84.4413 64.284 84.5513 64.779 84.7548 65.2465C84.9583 65.7085 85.2553 66.1265 85.6238 66.473L92.8893 73.7L85.6238 80.927C85.2553 81.2735 84.9583 81.6915 84.7548 82.1535C84.5513 82.6155 84.4413 83.116 84.4358 83.622C84.4303 84.128 84.5238 84.6285 84.7163 85.096C84.9088 85.5635 85.1893 85.987 85.5523 86.3445C85.9098 86.702 86.3388 86.9825 86.8118 87.175C87.2848 87.3675 87.7853 87.461 88.2968 87.45C88.8083 87.439 89.3088 87.3345 89.7708 87.131C90.2383 86.9275 90.6563 86.636 91.0028 86.2675L98.2738 79.0405L105.545 86.2675C106.271 86.9 107.211 87.241 108.179 87.208C109.147 87.175 110.066 86.779 110.748 86.1025C111.43 85.4205 111.826 84.5075 111.853 83.545C111.881 82.5825 111.54 81.6475 110.896 80.927L103.642 73.7H103.647Z",fill:"#BEFFEC"}),(0,a.jsx)("path",{d:"M139.771 123.662L147.888 114.24L149.109 115.406C150.297 116.539 151.007 118.118 151.084 119.806C151.161 121.489 150.6 123.139 149.528 124.388C148.45 125.636 146.948 126.384 145.347 126.467C143.747 126.549 142.179 125.961 140.997 124.828L139.776 123.662H139.771Z",fill:"#BEFFEC"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.4114 34.1935C27.4004 33.407 27.3014 32.6205 27.1089 31.823C26.4159 29.029 23.3414 27.236 20.0634 26.8125C16.7854 26.389 13.3809 27.3515 12.0664 29.7825C11.3129 31.174 11.2139 32.373 11.5164 33.3795C11.8244 34.386 12.5449 35.2165 13.5294 35.8655C16.2739 37.675 21.0754 38.0435 23.2699 37.2845C24.2819 36.9325 25.2719 36.5145 26.2399 36.0305C25.6899 39.193 23.6329 42.185 20.8939 44.88C14.9319 50.743 5.68641 55.1925 0.648407 56.8315C0.378907 56.9195 0.224906 57.2165 0.312906 57.5025C0.395406 57.783 0.686905 57.9425 0.956405 57.8545C6.09341 56.188 15.5204 51.6395 21.5979 45.661C24.7384 42.57 26.9769 39.094 27.3564 35.442C34.4514 31.482 40.2814 24.2935 45.2644 18.249C45.4514 18.029 45.4239 17.688 45.2094 17.4955C44.9949 17.303 44.6704 17.325 44.4834 17.5505C39.7039 23.353 34.1544 30.25 27.4114 34.1935ZM26.3829 34.771C26.4214 33.891 26.3389 32.9945 26.1134 32.0925C25.5139 29.6725 22.7749 28.2425 19.9369 27.8795C18.1989 27.654 16.4114 27.841 15.0089 28.4955C14.1289 28.908 13.4029 29.502 12.9629 30.316C12.3909 31.3775 12.2644 32.2905 12.5009 33.0605C12.7374 33.836 13.3204 34.463 14.0849 34.9635C16.5874 36.6135 20.9599 36.96 22.9564 36.2725C24.1334 35.8655 25.2774 35.3595 26.3884 34.771H26.3829Z",fill:"#BDBDBD"}),(0,a.jsx)("path",{d:"M153.191 88.55C155.013 88.55 156.491 87.0726 156.491 85.25C156.491 83.4275 155.013 81.95 153.191 81.95C151.368 81.95 149.891 83.4275 149.891 85.25C149.891 87.0726 151.368 88.55 153.191 88.55Z",fill:"#E3E3E3"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5492 108.015C29.1377 107.795 29.7592 107.503 30.2377 107.074C30.8042 106.568 31.0352 105.919 31.1892 105.237C31.3872 104.357 31.4697 103.422 31.7117 102.542C31.7997 102.212 31.9702 102.091 32.0472 102.036C32.2342 101.898 32.4212 101.86 32.5972 101.877C32.8062 101.893 33.0977 101.975 33.2847 102.349C33.3122 102.404 33.3452 102.482 33.3727 102.597C33.3892 102.68 33.4002 102.932 33.4222 103.037C33.4662 103.295 33.5047 103.554 33.5432 103.812C33.6642 104.676 33.7302 105.407 34.1097 106.199C34.6212 107.277 35.1327 107.932 35.8312 108.223C36.5022 108.504 37.3107 108.454 38.3392 108.229C38.4382 108.201 38.5317 108.185 38.6307 108.163C39.0817 108.08 39.5162 108.394 39.6042 108.867C39.6922 109.34 39.4062 109.802 38.9552 109.906C38.8617 109.928 38.7682 109.95 38.6802 109.967C37.2887 110.33 35.6827 111.622 34.7477 112.75C34.4617 113.096 34.0382 114.075 33.6092 114.697C33.2902 115.153 32.9327 115.456 32.6357 115.566C32.4322 115.637 32.2672 115.626 32.1242 115.588C31.9207 115.533 31.7502 115.417 31.6237 115.236C31.5522 115.137 31.4862 114.999 31.4587 114.829C31.4422 114.746 31.4422 114.537 31.4422 114.438C31.3542 114.119 31.2497 113.811 31.1672 113.492C30.9802 112.728 30.6172 112.244 30.1827 111.606C29.7757 111.007 29.3412 110.632 28.6977 110.33C28.6152 110.308 27.9442 110.137 27.7077 110.038C27.3612 109.895 27.1962 109.648 27.1357 109.516C27.0312 109.296 27.0257 109.098 27.0422 108.938C27.0697 108.696 27.1742 108.493 27.3557 108.328C27.4657 108.223 27.6362 108.124 27.8617 108.075C28.0377 108.036 28.4942 108.015 28.5602 108.015H28.5492ZM32.4927 106.771C32.5257 106.843 32.5587 106.92 32.5917 106.991C33.3397 108.57 34.1812 109.45 35.1987 109.873L35.2317 109.89C34.5497 110.423 33.9337 111.018 33.4607 111.59C33.2682 111.826 33.0097 112.315 32.7292 112.816C32.4762 111.952 32.0637 111.342 31.5467 110.577C31.1507 109.994 30.7327 109.555 30.2212 109.197C30.6172 108.983 30.9967 108.729 31.3267 108.438C31.8767 107.948 32.2397 107.387 32.4872 106.771H32.4927Z",fill:"#CCC6D9"})]}),x=()=>{const e=localStorage.getItem("recentSearches");if("null"===e)return[];{const t=JSON.parse(null!==e&&void 0!==e?e:"[]").map((e=>JSON.stringify(e))),n=new Set(t),r=Array.from(n).map((e=>JSON.parse(e)));return r}},A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;const n=localStorage.getItem("recentSearches"),r=JSON.parse(n||"[]");r.unshift(e),r.length>t&&(r.length=t),localStorage.setItem("recentSearches",JSON.stringify(r))};var E,_,T=n(10514);function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(null,arguments)}function k(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",S({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,E||(E=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.26701 3.45496C6.91008 3.40364 7.52057 3.15077 8.01158 2.73234C9.15738 1.75589 10.8426 1.75589 11.9884 2.73234C12.4794 3.15077 13.0899 3.40364 13.733 3.45496C15.2336 3.57471 16.4253 4.76636 16.545 6.26701C16.5964 6.91008 16.8492 7.52057 17.2677 8.01158C18.2441 9.15738 18.2441 10.8426 17.2677 11.9884C16.8492 12.4794 16.5964 13.0899 16.545 13.733C16.4253 15.2336 15.2336 16.4253 13.733 16.545C13.0899 16.5964 12.4794 16.8492 11.9884 17.2677C10.8426 18.2441 9.15738 18.2441 8.01158 17.2677C7.52057 16.8492 6.91008 16.5964 6.26701 16.545C4.76636 16.4253 3.57471 15.2336 3.45496 13.733C3.40364 13.0899 3.15077 12.4794 2.73234 11.9884C1.75589 10.8426 1.75589 9.15738 2.73234 8.01158C3.15077 7.52057 3.40364 6.91008 3.45496 6.26701C3.57471 4.76636 4.76636 3.57471 6.26701 3.45496ZM13.7071 8.70711C14.0976 8.31658 14.0976 7.68342 13.7071 7.29289C13.3166 6.90237 12.6834 6.90237 12.2929 7.29289L9 10.5858L7.70711 9.29289C7.31658 8.90237 6.68342 8.90237 6.29289 9.29289C5.90237 9.68342 5.90237 10.3166 6.29289 10.7071L8.29289 12.7071C8.68342 13.0976 9.31658 13.0976 9.70711 12.7071L13.7071 8.70711Z",fill:"url(#paint0_angular_4665_441)"})),_||(_=i.createElement("defs",null,i.createElement("radialGradient",{id:"paint0_angular_4665_441",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10 10) rotate(90) scale(8)"},i.createElement("stop",{offset:.255208,stopColor:"#04E5A3"}),i.createElement("stop",{offset:1,stopColor:"#04E5A3",stopOpacity:.47})))))}const P=i.forwardRef(k);n.p;var D;function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(null,arguments)}function F(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",N({width:18,height:16,viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,D||(D=i.createElement("path",{d:"M9.77734 8H11.5548C12.0455 8 12.4433 8.39445 12.4433 8.88867C12.4433 9.37947 12.049 9.77734 11.5548 9.77734H8.8885C8.6445 9.77734 8.42348 9.67981 8.26291 9.52099C8.09945 9.35678 8 9.13669 8 8.89686V5.3258C8 4.83953 8.39445 4.44533 8.88867 4.44533C9.37947 4.44533 9.77734 4.84609 9.77734 5.3258V8ZM1.8662 5.13878C2.7527 2.8302 4.69407 0.963519 7.26548 0.274511C11.5322 -0.86874 15.9178 1.66329 17.061 5.92996C18.2043 10.1966 15.6722 14.5822 11.4056 15.7255C7.13889 16.8687 2.75328 14.3367 1.61003 10.07L3.32681 9.61003C4.216 12.9286 7.62703 14.8979 10.9455 14.0087C14.2641 13.1195 16.2334 9.70849 15.3442 6.38997C14.455 3.07145 11.044 1.10209 7.72549 1.99129C5.62718 2.55353 4.06828 4.12401 3.43035 6.04184L5.44196 7.20324L1.15002 8.35326L0 4.06132L1.8662 5.13878Z",fill:"#6C757D"})))}const I=i.forwardRef(F),R=(n.p,e=>{var t;let{result:n,isRecent:r}=e;const o=n,s=(0,i.useMemo)((()=>{var e;return"TopShot"===o.name?"NBA Top Shot":(null===o||void 0===o||null===(e=o.collectionDisplay)||void 0===e?void 0:e.name)||(null===o||void 0===o?void 0:o.name)}),[o.name]);return(0,a.jsxs)("div",{className:"p-[12px] flex items-center gap-[14px] hover:bg-[#6C757D40] hover:bg-opacity-20 w-full",children:[r&&(0,a.jsx)(I,{width:"24",height:"24"}),(0,a.jsx)("img",{src:(0,T.getSquareImage)(null!==(t=o.name)&&void 0!==t?t:"",o),className:"w-[34px] h-[34px] flex-shrink-0 rounded-[6px]",alt:"Collection's logo"}),(0,a.jsxs)("div",{className:"flex items-center gap-[8px] overflow-hidden w-full",children:[(0,a.jsx)("span",{className:"text-[14px] text-[#F8F9FA] font-[600] truncate w-full",children:s}),o.isNFTCatalog&&(0,a.jsx)(P,{})]})]})}),M=e=>{let{searchResults:t,onMouseEnter:n,onMouseLeave:r}=e;return(0,a.jsxs)("div",{onMouseEnter:n,onMouseLeave:r,className:"flex rounded-[6px] searchResultsBackground flex-col p-[4px] gap-[14px] items-end",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"pb-[8px] pt-[12px]",children:(0,a.jsx)(w,{})}),(0,a.jsx)("span",{className:"text-[12px] pt-2 font-montserrat font-[400] text-[#ADB5BD]",children:"You can only search for NFT collections"})]}),(0,a.jsx)("div",{className:"gradient-bg-search w-full h-[1px] my-[4px]"}),(0,a.jsxs)("div",{className:"flex flex-col items-start justify-center w-full",children:[(0,a.jsx)("div",{className:"flex px-[12px] pb-[12px]",children:(0,a.jsx)("span",{className:"text-[#ADB5BD] text-[14px]",children:"Popular Searches"})}),(0,a.jsx)("div",{className:"overflow-auto max-h-[300px] w-full",children:t.map((e=>(0,a.jsx)("a",{onClick:()=>A(e),href:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK?"#":"/collection/".concat(e.address,"/").concat(null===e||void 0===e?void 0:e.name),children:(0,a.jsx)(R,{result:e})},e.address)))})]})]})},O=e=>{let{onMouseEnter:t,onMouseLeave:n}=e;const r=x();return(0,a.jsx)("div",{className:"flex rounded-[6px] searchResultsBackground flex-col gap-[14px] items-end",onMouseEnter:t,onMouseLeave:n,children:(0,a.jsxs)("div",{className:"flex flex-col items-start justify-center w-full",children:[(0,a.jsx)("div",{className:"flex p-[12px] w-full",children:(0,a.jsx)("span",{className:"text-[#ADB5BD] text-[14px]",children:r.length>0?"Recent":"No Recent Results"})}),(0,a.jsx)("div",{className:"overflow-auto max-h-[300px] w-full",children:r.filter((e=>!!e.name)).map((e=>(0,a.jsx)("a",{onClick:()=>(e=>{const t=localStorage.getItem("recentSearches"),n=JSON.parse(t||"[]");n.push(e),localStorage.setItem("recentSearches",JSON.stringify(n))})(e),href:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK?"#":"/collection/".concat(e.address,"/").concat(e.name),children:(0,a.jsx)(R,{result:e,isRecent:!0})},e.address)))})]})})},j=e=>{let{searchResults:t,onMouseEnter:n,onMouseLeave:r}=e;return(0,a.jsx)("div",{className:"flex rounded-[6px] searchResultsBackground flex-col gap-[14px] items-end",onMouseEnter:n,onMouseLeave:r,children:(0,a.jsxs)("div",{className:"flex flex-col items-start justify-center w-full",children:[(0,a.jsx)("div",{className:"flex p-[12px] w-full",children:(0,a.jsx)("span",{className:"text-[#ADB5BD] text-[14px]",children:"Results"})}),(0,a.jsx)("div",{className:"overflow-auto max-h-[300px] w-full",children:t.filter((e=>!(null===e||void 0===e||!e.name))).map((e=>(0,a.jsx)("a",{onClick:()=>A(e),href:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK?"#":"/collection/".concat(e.address,"/").concat(null===e||void 0===e?void 0:e.name),children:(0,a.jsx)(R,{result:e})},e.address)))})]})})},L=e=>{let{value:t,placeholder:n,debounceTime:r,hits:o,disabled:s,onChange:l,onBlur:c,autoFocus:u,popularSearches:d,labelText:h}=e;const p=(0,i.useRef)(null),[f,m]=(0,i.useState)(0),[g,v]=(0,i.useState)(!1),[C,y]=(0,i.useState)(!1),[w,A]=(0,i.useState)(!1),E=(0,i.useMemo)((()=>o.map((e=>e.data))),[o,t]);(0,i.useEffect)((()=>{const e=setTimeout((()=>{A(!1)}),r);return()=>clearTimeout(e)}),[t,r]);const _=(0,i.useMemo)((()=>x()),[]),T=(0,i.useMemo)((()=>w?(0,a.jsx)("div",{className:"flex rounded-[6px] searchResultsBackground flex-col gap-[14px] items-end",children:(0,a.jsxs)("div",{className:"flex flex-col items-start justify-center w-full",children:[(0,a.jsx)("div",{className:"flex p-[12px] w-full",children:(0,a.jsx)("span",{className:"text-[#ADB5BD] text-[14px]",children:"Searching..."})}),(0,a.jsx)("div",{className:"overflow-auto max-h-[300px] w-full",children:(0,a.jsxs)("div",{className:"p-[12px] flex items-center gap-[14px] hover:bg-[#6C757D40] hover:bg-opacity-20 w-full",children:[(0,a.jsx)("div",{className:"w-[34px] h-[34px] flex-shrink-0 rounded-[6px] bg-[#606e7d33] animate-pulse backdrop-blur-3xl"}),(0,a.jsx)("div",{className:"flex items-center gap-[8px] overflow-hidden w-full",children:(0,a.jsx)("div",{className:"flex items-center gap-[8px] overflow-hidden w-full",children:(0,a.jsx)("span",{className:"text-[14px] text-[#F8F9FA] font-[600] truncate w-full bg-[#606e7d33] h-6 animate-pulse backdrop-blur-3xl"})})})]})})]})}):!t&&C&&_.length>0?(0,a.jsx)(O,{onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1)}):t&&t.length>=3&&E&&E.length<=0?(0,a.jsx)(M,{onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),searchResults:d}):t&&E&&(null===E||void 0===E?void 0:E.length)>0?(0,a.jsx)(j,{onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),searchResults:E}):C&&_.length>=0?(0,a.jsx)(M,{onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),searchResults:d}):void 0),[E,t,C,d,w]);return(0,i.useEffect)((()=>{p.current&&m(p.current.clientWidth)}),[p.current]),(0,a.jsxs)("div",{className:"w-full lg:w-[340px] flex flex-col gap-[12px] relative",ref:p,children:[(0,a.jsx)(b,{autoFocus:u,onFocus:()=>{y(!0)},onBlur:()=>{g||(y(!1),c&&c())},disabled:s,value:t,onChange:e=>{A(!0),l(e)},onClear:()=>{l("")},placeholder:n,debounceTime:r,labelText:h}),(0,a.jsx)("div",{className:"absolute top-[54px] w-[".concat(f,"px] left-0 z-10"),children:T})]})};var B=n(83849),U=n(42332);const V=e=>{let{item:t,isCreatorHub:n=!1}=e;const[r,o]=(0,i.useState)(!1);return t.notDisplay?null:(0,a.jsxs)("div",{className:"flex flex-col ".concat(n?"gap-[4px] 3xl:gap-[8px]":"gap-2"),"aria-checked":!0,"aria-disabled":!0,onClick:()=>o(!r),children:[(0,a.jsxs)("div",{className:"flex justify-between cursor-pointer items-start",children:[(0,a.jsxs)("div",{className:"flex justify-center items-center",children:[r?(0,a.jsx)(B.A,{className:"h-[1.125rem] w-[1.125rem]"}):(0,a.jsx)(U.A,{className:"h-[1.125rem] w-[1.125rem]"}),(0,a.jsx)("span",{className:"".concat(n?"text-[9.333px] 3xl:text-[14px]":"text-sm font-normal ml-1"),children:t.title}),t.badge&&(0,a.jsxs)("div",{className:"flex-shrink-0 mx-2 flex justify-center items-center bg-[#2F2FA5] shadow-xl rounded-md bg-opacity-50 font-montserrat-bold font-bold text-[#9D9DFE] uppercase ".concat(n?"text-[9.333px] 3xl:text-[12px]":"py-1 px-2 text-xs"),children:[" ",t.badge]})]}),t.addOn&&t.addOn]}),(0,a.jsx)("div",{className:"ml-1 font-montserrat ".concat(n?"text-[9.333px] leading-normal 3xl:text-[14px]":"text-sm"),children:r&&t.content})]})},H=e=>{let{items:t,isCreatorHub:n=!1}=e;return(0,a.jsx)("div",{className:"text-white w-full flex flex-col gap-2",children:t.map(((e,t)=>(0,a.jsx)(V,{item:e,isCreatorHub:n},t)))})},z=e=>{let{text:t,type:n,size:r="large",status:i}=e;return(0,a.jsx)("span",{className:(0,o.cn)("flex items-center px-[0.375rem] gap-[0.625rem] font-montserrat text-navy-blue-900 font-[800] text-[0.625rem] uppercase rounded-[0.375rem]",{"bg-[#41625E] text-[#89F6C2] text-[10px] font-[800] tracking-[.55px]":"SUCCESSFUL"===i,"bg-[#624141] text-[#F68989] text-[10px] font-[800] tracking-[.55px]":"FAILED"===i,"bg-[#727272] text-[#E9E9E9] text-[10px] font-[800] tracking-[.55px]":"PROCESSING"===i,"bg-cyan-300":"tertiary"===n,"bg-primary":"primary"===n,"bg-white":"secondary"===n,"py-[0.125rem]":"large"===r}),children:t})},Z=e=>{const t=(0,o.cn)("flex flex-col items-center gap-[18px] text-neutral-700 h-[32px] border-b-[1px] border-primary-tab-border-inactive-24 border-opacity-5"),n=(0,o.cn)("border-b-2 border-primary border-opacity-100 text-primary-500 text-primary"),r=(0,o.cn)("text-neutral-700 cursor-not-allowed"),i=(0,o.cn)("flex items-center w-max gap-[0.25rem] font-[700] text-[14px] font-montserrat text-center px-[18px] pb-[18px]");return(0,a.jsx)("button",{role:"tab",id:"tab-".concat(e.id),"aria-controls":"tabpanel-".concat(e.id),"aria-selected":e.isActive,disabled:e.disabled,onClick:()=>e.onClick&&e.onClick(e.id),className:(0,o.cn)(t,{[n]:e.isActive,[r]:e.disabled}),children:(0,a.jsxs)("span",{className:i,children:[e.icon&&(0,a.jsx)("div",{className:"h-[1.25rem] w-[1.125rem]",children:e.icon}),e.label.toUpperCase()]})},e.id)},W=e=>(0,a.jsxs)("button",{role:"tab",id:"tab-".concat(e.id),"aria-controls":"tabpanel-".concat(e.id),"aria-selected":e.isActive,disabled:e.disabled,onClick:()=>e.onClick&&e.onClick(e.id),className:(0,o.cn)("flex gap-[0.25rem] py-2 px-3 items-center justify-center font-montserrat text-[0.875rem] rounded-[0.25rem] border-none focus:ring-0 outline-none ".concat(e.isActive?"bg-primary text-black":"text-white hover:bg-navy-blue-900"," border-2 ").concat(e.disabled?"cursor-not-allowed opacity-50":""),{"bg-[#646c73] text-white":e.isActive,"flex-1 px-[12px] py-[6px]":e.condensed}),children:[(0,a.jsx)("span",{className:"font-[700] capitalize text-[0.875rem]",children:e.label.toUpperCase()}),e.badgeNotification&&(0,a.jsx)("span",{className:"hidden md:flex font-[700] p-[0.25rem] md:flex-col rounded-sm flex-shrink-0 items-center justify-center text-[0.75rem] font-montserrat text-white text-center bg-black w-4 h-[0.875rem]",children:e.badgeNotification})]},e.id),q=e=>{let{activeTab:t="1",onChange:n,tabs:r,type:s="primary",isCenter:l,condensed:c,fullWidth:u}=e;const d=(0,i.useCallback)((e=>{n(e)}),[n]),h=(0,o.cn)("inline-flex w-full",{"justify-center":l,"w-fit":c,"w-full justify-between":u}),p=(0,o.cn)("items-start border-x-none border-t-none"),f=(0,o.cn)("rounded-md bg-[#606e7d33] px-[0.75rem] py-[0.75rem] flex-wrap gap-x-1 md:gap-x-3");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{role:"tablist",className:(0,o.cn)(h,{[p]:"primary"===s,[f]:"secondary"===s}),children:[r.map((e=>{const n=t===e.id;return(0,a.jsx)(i.Fragment,{children:"primary"===s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z,{id:e.id,label:e.label,content:e.content,disabled:e.disabled,icon:e.icon,onClick:d,isActive:n,condensed:!!c},e.id),(0,a.jsx)("div",{className:"border-b-[1px] border-primary-tab-border-inactive-24 border-opacity-5 h-[32px] max-w-[12px] min-w-[12px]"})]}):(0,a.jsx)(W,{condensed:!!c,id:e.id,label:e.label,content:e.content,disabled:e.disabled,icon:e.icon,onClick:d,isActive:n,badgeNotification:e.badgeNotification},e.id)},e.id)})),"primary"===s?(0,a.jsx)("div",{className:"border-b-[1px] h-[32px] w-full border-primary-tab-border-inactive-24 border-opacity-5"}):null]}),(0,a.jsx)("div",{className:"w-full h-full",children:r.map((e=>{const n=t===e.id;return(0,a.jsx)("div",{className:"h-full",role:"tabpanel",id:"tabpanel-".concat(e.id),"aria-labelledby":"tab-".concat(e.id),hidden:!n,children:e.content},e.id)}))})]})},G=e=>{let{children:t,icon:n,text:r,isCollapsible:s=!1,className:l,onClick:c}=e;const[u,d]=(0,i.useState)(!1),h=(0,i.useMemo)((()=>s?(0,a.jsx)("svg",{onClick:()=>d(!u),className:(0,o.cn)("text-white w-[1.25rem] h-[1.25rem] flex-shrink-0 ",{"rotate-0":!u,"rotate-180":u}),width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7071 5.29289C13.0976 5.68342 13.0976 6.31658 12.7071 6.70711L9.41421 10L12.7071 13.2929C13.0976 13.6834 13.0976 14.3166 12.7071 14.7071C12.3166 15.0976 11.6834 15.0976 11.2929 14.7071L7.29289 10.7071C6.90237 10.3166 6.90237 9.68342 7.29289 9.29289L11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289Z",fill:"white"})}):null),[s,u]);return(0,a.jsxs)("button",{onClick:c&&c,className:(0,o.cn)("py-[2.5px] w-full font-montserrat text-[0.9375rem] font-[500] rounded-[0.375rem] text-white bg-glassFillGray hover:bg-glassFillGrayHover min-h-[2.5rem] flex items-center justify-start gap-[0.375rem] shadow-[0_2px_4px_0px_rgba(0,0,0,0.1)]",l),children:[h,n,r,t]})},Y=e=>{let{trait:t}=e;return(0,a.jsx)("div",{className:"rounded-[5px] py-3 px-4 bg-[#ffffff0d] font-montserrat text-white w-full 2xl:w-[165px] max-w-[300px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2 shrink-0",children:[(0,a.jsx)("div",{className:"text-[0.875rem] truncate capitalize font-[700]",children:t.name}),(0,a.jsx)("div",{className:"text-[0.875rem] truncate capitalize font-[500]",children:t.value})]})})};var K=n(99154);const Q=e=>{switch(e){case"LOAN":return"bg-[#2F2FA5] text-[#9D9DFE] border-[#9D9DFE]";case"RENT":return"bg-[#973C19] text-[#F3B59C] border-[#F3B59C]";case"LOCKED":return"bg-[#4C5B69] text-[#c2c2c2] border-[#7EE7C7]";case"FORBIDDEN":return"bg-[#C70039] text-[#F3B59C] border-[#F3B59C]";default:return"bg-[#1B8062] text-[#7EE7C7] border-[#7EE7C7]"}},X=e=>{let{label:t,count:n}=e;return(0,a.jsx)("div",{className:(0,o.cn)("rounded-md px-[.5rem] lg:px-[0.75rem] py-[0.25rem] text-[0.75rem] mx-0.5 border-[1px] font-bold flex items-center justify-center h-[15px] lg:h-[21px] shadow-xl",Q(t)),children:"LOCKED"===t?(0,a.jsx)(K.A,{className:"w-4 h-4 fill-white"}):(0,a.jsxs)("span",{className:"whitespace-nowrap text-xs lg:text-sm",children:[t," ","".concat(Number(n)>1?"x".concat(n):"")]})})},J=e=>{let{traits:t,customRender:n}=e;const[r,o]=(0,i.useState)(14),[s,l]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=()=>{window.innerWidth<768?o(5):o(14)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),t.length?(0,a.jsxs)("div",{className:"flex flex-wrap gap-4",children:[t.slice(0,s?t.length:r).map((e=>n(e))),t.length>r&&(0,a.jsx)("div",{className:"flex flex-col items-center justify-center cursor-pointer rounded-[5px] py-4 px-6 shrink-0 gap-[8px] shadow-[0_4px_18px_0_rgba(0,0,0,0.25)] bg-[#ffffff0d] hover:bg-[#ffffff47] font-montserrat text-white w-full 2xl:w-[165px] border  ".concat(s?"border-primary":"border-[#ffffff47]"),onClick:()=>l(!s),children:(0,a.jsxs)("div",{className:"flex flex-row items-center gap-[0.5rem] ".concat(s?"text-primary":"text-white"),children:[(0,a.jsx)("span",{className:"font-montserrat text-[0.875rem] font-[800] uppercase",children:s?"View Less":"View More"}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",className:"w-[1.125rem] h-[1.125rem]",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.77273 3.27273C3.98972 3.05573 4.28403 2.93382 4.59091 2.93382L9.5 2.93383C10.139 2.93383 10.6571 3.45187 10.6571 4.09091C10.6571 4.72995 10.139 5.24799 9.5 5.24799L5.74799 5.24799L5.74799 9C5.74799 9.63904 5.22995 10.1571 4.59091 10.1571C3.95187 10.1571 3.43383 9.63904 3.43383 9L3.43383 4.09091C3.43383 3.78403 3.55573 3.48972 3.77273 3.27273ZM8.34292 13.9091C8.34292 13.2701 8.86096 12.752 9.5 12.752L13.252 12.752V9C13.252 8.36096 13.7701 7.84292 14.4091 7.84292C15.0481 7.84292 15.5662 8.36096 15.5662 9L15.5662 13.9091C15.5662 14.5481 15.0481 15.0662 14.4091 15.0662L9.5 15.0662C8.86096 15.0662 8.34292 14.5481 8.34292 13.9091Z",fill:"".concat(s?"#04E5A3":"white")})})]})})]}):(0,a.jsx)("span",{className:"text-[1rem] md:text-[1.125rem] font-bold font-montserrat text-white",children:"No Properties"})};var $,ee,te;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ne.apply(null,arguments)}function re(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",width:40,height:27,viewBox:"0 0 40 27",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,$||($=i.createElement("rect",{width:39,height:24,rx:12,fill:"#04E5A3"})),ee||(ee=i.createElement("g",{filter:"url(#filter0_dd_33451_902)"},i.createElement("circle",{cx:27,cy:12,r:10.5,fill:"white"}))),te||(te=i.createElement("defs",null,i.createElement("filter",{id:"filter0_dd_33451_902",x:14.5,y:.5,width:25,height:26,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",null),i.createElement("feGaussianBlur",{stdDeviation:.5}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.08 0"}),i.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_33451_902"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:2}),i.createElement("feGaussianBlur",{stdDeviation:1}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.06 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_33451_902",result:"effect2_dropShadow_33451_902"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_33451_902",result:"shape"})))))}const ie=i.forwardRef(re);n.p;var oe,ae,se;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(null,arguments)}function ce(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",width:40,height:27,viewBox:"0 0 40 27",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,oe||(oe=i.createElement("rect",{x:1,width:39,height:24,rx:12,fill:"#ADB5BD"})),ae||(ae=i.createElement("g",{filter:"url(#filter0_dd_33451_899)"},i.createElement("circle",{cx:13,cy:12,r:10.5,fill:"white"}))),se||(se=i.createElement("defs",null,i.createElement("filter",{id:"filter0_dd_33451_899",x:.5,y:.5,width:25,height:26,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",null),i.createElement("feGaussianBlur",{stdDeviation:.5}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.08 0"}),i.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_33451_899"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:2}),i.createElement("feGaussianBlur",{stdDeviation:1}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.06 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_33451_899",result:"effect2_dropShadow_33451_899"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_33451_899",result:"shape"})))))}const ue=i.forwardRef(ce);n.p;var de=n(65747),he=n.n(de);he().init("b17ea6f8cf14401cd0282da7c49532b0");const pe=(e,t)=>{he().track(e,t)},fe=i.memo((e=>{let{onToggle:t,toggled:n,label:r,loading:i,name:o,disabled:s}=e;return(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[r&&(0,a.jsx)("span",{children:r})," ",(0,a.jsx)("button",{type:"button",className:"h-8 flex rounded-full outline-none ".concat(s&&"cursor-not-allowed"),onClick:()=>{t(!n),pe("SETTINGS_TOGGLE_CLICKED",{name:o,toggled:n})},disabled:s&&s,children:(0,a.jsxs)("div",{className:"inset-0 flex justify-center items-center",children:[(0,a.jsx)("div",{className:"flex justify-center items-center transition-opacity duration-1000 ease-in-out ".concat(i?"opacity-0":s?"opacity-50":"opacity-100"),children:n?(0,a.jsx)(ie,{}):(0,a.jsx)(ue,{})}),(0,a.jsx)("div",{className:"absolute flex justify-center items-center transition-opacity duration-1000 ease-in-out ".concat(i?"opacity-100":"opacity-0"),children:(0,a.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading"})})]})})]})}));var me=n(38190);const ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAAcCAYAAAAOa8NNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfsSURBVHgB7VkLcFTVGf7O3ZsEEoh57SaGgKAMac3YVoptaWfUcYxihVK10VE6rVjsTB2HwVGREglbsglQW2AQaR07RWZkxGAdMtDMtFYcWks1taJ9AVZoEA3JbkggPMK+7u937t4o+8hmI2TUcb+Zu+fc//7n9Z3//Oc/Z4EsPgUQUfDKGGRxwaBSShfLIhhYBMElfNvLZzlWqx3I4ryQTPYS8ZHk+gRpFC7Uolm9jCw+Noy4N+02BN9Loeci3fXI4rwQT/YAPPydOoTuJGRxXjBGoPsWLiCu9Yo5OcMNWOtNXS95GCXUtYgr1hdRGEVkSnY3crAEFwoz14z9rwofPWNioLxRZqdTLV3ceavW6+/HsYt9cglGAbvfxl7dhrsJ92MUYWag82c+C+FTB8tapRohzKH/nsFpKlUKEfr4d5Sg9b592OX1KiuD+lCU158nEjEVZ5D1jEurPNBXiMKLda5AXBgdy1MYz3HAEBRgFDEc2WsY8j044QWZFnxOXkIQ19lSZz2IOKnC/Rsux7vuFlkeuF09jc8oOI5RPVcMTbbCz7BKeUtb5CfBCNbyfTifOYncb6L+bHUS83t+xN8MwAmrrGyWL+i8EYL/Pa/qRYa4dJVcdDqKm1lHkUTx/wLByx1edTaVbs0TMq67F9cpAxPFwhHThb91LVWBhL4sLPXJ3jwDByKCPn+96h78VrFCrrIUZtD6B1wm9ry/VL2NEWIon70L09Goiea63cj3jDcn6t/GRbmFYWQmLkrjlxEL+/QTMnGsvEna3T65Om0Jnm4rmsR7KoJeErSFkieUC230u2+6V8qsRPVyn8wN9OGIodBKl7dBp1YU+92NMj+h78UuYLvuCwaOP6NlHq9c6mmUVywD7VTYyHRT2MIBT7M8PaFZSjECpCI7Sle6oNTCNDbehI+HOe6aEWyoMXfUb2cFV3EveIkELUytK8rTjF9bwlNtrP8hPqecr9Uqit9XNMu3B9XdTVLP6rczW2S3pHCCqcW0hKTfMkRvaNgSsldcDl6l7recb2f0Nztn4YeclL+MhPB4skMkmkdzr4nDXG56ZosTC3AC/sVnEUmppc7NFO1MVTGX6sOeVinHMCCxHYYL145xYTLr+wZF/+ZwTda/rNInExP1K1bian5f4HTmNS7tmSw7ieTPocSvx2RZ3GsIRjpTaMmLHd1DLDdrzElMcbnwNUrWmAbmJwzuvajg+kgEU6Jm8Z1kXF9ZuDneARL1CNuaapq4jL79N/YYgS+GBfcgQ8Qv9bXqff6uenyrzGUD01Pobw/U0U2ouKijzbNN5nGwzyR0vNAKY54eFNIgGsXdPQ1qt/P6WplXbjRMLmOFMg78u5TF+X5Owg+gjUSh0zJxa88jqtP5tNPTJA+Tgc3MV1c2yXSWn8F8of7ICf1OV736j6P7D+eJh2DrsWVql86WPyYFEoxZPsnd3F2vfn6O5r1sq4b6M/ncwPfHkAFS+mz6vweSZEBHD3iUV8nhnb9ObaEFPZ5UkWVbWzqc7mmwQ8sP0eO1yXtT5znIy1OUmWL3R/DXc4i2ITn4I2JLHZHg6Romnlg/Iie7lnxI9JDgGI8N5l1RlA6WZ1ttScoW9thtBvsvQ4ZIIrvkd1LF2bomUc4lsw23q+hQFdEdPJskA65AeuSX+FB1rqDSK/lMJjrlj6foR5+dKkygmcf1PyeMShYaa5cdU9AnDvEwzLwv0VIxAoTO2r75tNOP5MOUEZOpvMJ+ZIgkshnapDzRcViHkQZRI0ZCXJloZLgBchFhY/VqGa9fyh+SgojJkDNmvXoFtSYWcAlejFWOb3KjrPc6hFd5pYQ+9rd6CyQ5PTkh7OFY3nCK5XaFsLnGK7n6RR/P3SvkynQdc1aY7WrYkYaJjRKz4FgkdBNztY7qP5Ehkt2IhVkpFQXVSANTaGkJUC7zFIYBiZndF8ZbHp+8wHihnaKHnJ492f2oejVR/+g0PMXkgP0iWPErH9oZubSETbxOyZdtscJ6Ha93RW0X9QdH97ZADg7S127j8bydm/EbQ0Y8DjiNq52sO6Twd264OzxN+BP3p+dZ30WU93LyVyJDpCJ7QsqGGeqkiy4YASxIEqp4f5wG2pJv4bLXPppjQbN/qbovpaZ2ZQrX0Hxft/ul8FXq14njy4mneBhptHO8PsiN4C7qPx8bBKqcK+TBzf/GNH1CYKlqYwRyL7NB1l/MtvSq16fofNbjNyK46egytQ8ZIu6uoapFxgaBd1lx2RD6+3kYuKH3TnVkUKCX8YbnrOUwjIakyhXuCdSpTYlyvZx7TNzNbEmcvuBE1MSLgZ+qdwZlJQz/eIMyj1YW8YewjgTace7ktVI0cIbEiT1JRUwP8bLlyc5H1StJvabbKP8f7qAhzeWINeGH+ezstrBVT4hnhXyfll7Fw8qO3obkjdSjXYiBB1lGb7pBpnvyx2FdxwMqaU9JhziyebdRwWC+Q7v9NCX8bGw7n/0sXEISapn/egrNI4XFuOJQrTqBLGzExdnRXOQYYe5ZkqaE2OHQj/U0Sew9JWilv8gSHY/40KlfLxE5i/OFYF3gDrUeWcQh6X64rIWnMMV4VdBJP5ZLP/cVGq++a8hHBqBFLyHRq5FFEjK6jK94ViaHXVhEZX0PMD5JQeyadpPoBhKdaQTyucOI/vnQ/wMer8D1jDKuZBhUyIN7iDUcVGG0+e/66O43iyw+cXwAQh/rid/oq/4AAAAASUVORK5CYII=",ve=n.p+"static/media/flipper.b7e11812b0e2ef8484ad.png";var Ce,ye;function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be.apply(null,arguments)}function we(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",be({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Ce||(Ce=i.createElement("g",{clipPath:"url(#clip0_33676_1056)"},i.createElement("path",{d:"M20.6403 4.22781C19.0867 3.50093 17.4256 2.97267 15.6889 2.67188C15.4756 3.05749 15.2265 3.57614 15.0547 3.98873C13.2085 3.71109 11.3794 3.71109 9.56719 3.98873C9.39542 3.57614 9.14058 3.05749 8.92539 2.67188C7.18683 2.97267 5.52378 3.50287 3.97022 4.23166C0.836671 8.96686 -0.0127831 13.5845 0.411945 18.1365C2.49028 19.6885 4.50444 20.6313 6.4846 21.2483C6.97352 20.5754 7.40956 19.8601 7.7852 19.1063C7.06978 18.8344 6.38456 18.499 5.7371 18.1095C5.90887 17.9822 6.07688 17.8492 6.23921 17.7123C10.1882 19.5594 14.4789 19.5594 18.3808 17.7123C18.545 17.8492 18.713 17.9822 18.8829 18.1095C18.2335 18.5009 17.5464 18.8363 16.831 19.1082C17.2066 19.8601 17.6408 20.5774 18.1316 21.2502C20.1137 20.6333 22.1297 19.6905 24.208 18.1365C24.7064 12.8595 23.3567 8.28434 20.6403 4.22781ZM8.3232 15.337C7.13775 15.337 6.16558 14.2303 6.16558 12.8826C6.16558 11.535 7.11699 10.4264 8.3232 10.4264C9.52945 10.4264 10.5016 11.533 10.4808 12.8826C10.4827 14.2303 9.52945 15.337 8.3232 15.337ZM16.2968 15.337C15.1113 15.337 14.1391 14.2303 14.1391 12.8826C14.1391 11.535 15.0905 10.4264 16.2968 10.4264C17.503 10.4264 18.4752 11.533 18.4544 12.8826C18.4544 14.2303 17.503 15.337 16.2968 15.337Z",fill:"white"}))),ye||(ye=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_33676_1056"},i.createElement("rect",{width:24,height:24,fill:"white",transform:"translate(0.310028)"})))))}const xe=i.forwardRef(we);n.p;var Ae;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee.apply(null,arguments)}function _e(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Ee({fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 24 24",role:"img",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Ae||(Ae=i.createElement("path",{d:"M10.802 17.77a.703.703 0 1 1-.002 1.406.703.703 0 0 1 .002-1.406m11.024-4.347a.703.703 0 1 1 .001-1.406.703.703 0 0 1-.001 1.406m0-2.876a2.176 2.176 0 0 0-2.174 2.174c0 .233.039.465.115.691l-7.181 3.823a2.165 2.165 0 0 0-1.784-.937c-.829 0-1.584.475-1.95 1.216l-6.451-3.402c-.682-.358-1.192-1.48-1.138-2.502.028-.533.212-.947.493-1.107.178-.1.392-.092.62.027l.042.023c1.71.9 7.304 3.847 7.54 3.956.363.169.565.237 1.185-.057l11.564-6.014c.17-.064.368-.227.368-.474 0-.342-.354-.477-.355-.477-.658-.315-1.669-.788-2.655-1.25-2.108-.987-4.497-2.105-5.546-2.655-.906-.474-1.635-.074-1.765.006l-.252.125C7.78 6.048 1.46 9.178 1.1 9.397.457 9.789.058 10.57.006 11.539c-.08 1.537.703 3.14 1.824 3.727l6.822 3.518a2.175 2.175 0 0 0 2.15 1.862 2.177 2.177 0 0 0 2.173-2.14l7.514-4.073c.38.298.853.461 1.337.461A2.176 2.176 0 0 0 24 12.72a2.176 2.176 0 0 0-2.174-2.174"})))}const Te=i.forwardRef(_e);n.p;var Se;function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ke.apply(null,arguments)}function Pe(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ke({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Se||(Se=i.createElement("path",{d:"M23 2.99998C22.0424 3.67546 20.9821 4.19209 19.86 4.52999C19.2577 3.8375 18.4573 3.34668 17.567 3.12391C16.6767 2.90115 15.7395 2.95718 14.8821 3.28444C14.0247 3.6117 13.2884 4.19439 12.773 4.9537C12.2575 5.71302 11.9877 6.61232 12 7.52998V8.52998C10.2426 8.57555 8.50127 8.1858 6.93101 7.39543C5.36074 6.60506 4.01032 5.43862 3 3.99998C3 3.99998 -1 13 8 17C5.94053 18.398 3.48716 19.0989 1 19C10 24 21 19 21 7.49998C20.9991 7.22144 20.9723 6.94358 20.92 6.66999C21.9406 5.66348 22.6608 4.3927 23 2.99998V2.99998Z",fill:"white",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}const De=i.forwardRef(Pe);n.p;var Ne=n(6342),Fe=n(24504),Ie=n(41567),Re=n.n(Ie);const Me=Object.prototype.toString,Oe=Error.prototype.toString,je=RegExp.prototype.toString,Le="undefined"!==typeof Symbol?Symbol.prototype.toString:()=>"",Be=/^Symbol\((.*)\)(.*)$/;function Ue(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return Le.call(e).replace(Be,"Symbol($1)");const r=Me.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+Oe.call(e)+"]":"RegExp"===r?je.call(e):null}function Ve(e,t){let n=Ue(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=Ue(this[e],t);return null!==r?r:n}),2)}function He(e){return null==e?[]:[].concat(e)}let ze,Ze,We,qe=/\$\{\s*(\w+)\s*\}/g;ze=Symbol.toStringTag;class Ge{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[ze]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],He(e).forEach((e=>{if(Ye.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?"".concat(this.errors.length," errors occurred"):this.errors[0]}}Ze=Symbol.hasInstance,We=Symbol.toStringTag;class Ye extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"===typeof e?e.replace(qe,((e,n)=>Ve(t[n]))):"function"===typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){const o=new Ge(e,t,n,r);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[We]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Ye)}static[Ze](e){return Ge[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let Ke={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:e=>{let{path:t,type:n,value:r,originalValue:i}=e;const o=null!=i&&i!==r?" (cast from the value `".concat(Ve(i,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(Ve(r,!0),"`")+o:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(Ve(r,!0),"`")+o}},Qe={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Xe={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Je={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},$e={isValue:"${path} field must be ${value}"},et={noUnknown:"${path} field has unspecified keys: ${unknown}"},tt={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},nt={notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return"".concat(t," tuple value has too few items, expected a length of ").concat(i," but got ").concat(n.length," for value: `").concat(Ve(n,!0),"`");if(n.length>i)return"".concat(t," tuple value has too many items, expected a length of ").concat(i," but got ").concat(n.length," for value: `").concat(Ve(n,!0),"`")}return Ye.formatError(Ke.notType,e)}};Object.assign(Object.create(null),{mixed:Ke,string:Qe,number:Xe,date:Je,object:et,array:tt,boolean:$e,tuple:nt});const rt=e=>e&&e.__isYupSchema__;class it{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"===typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((e=>e===n))};return new it(e,((e,t)=>{var n;let a=o(...e)?r:i;return null!=(n=null==a?void 0:a(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!rt(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const ot="$",at=".";class st{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===ot,this.isValue=this.key[0]===at,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?ot:this.isValue?at:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,Ne.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return"Ref(".concat(this.key,")")}static isRef(e){return e&&e.__isYupRef}}st.prototype.__isYupRef=!0;const lt=e=>null==e;function ct(e){function t(t,n,r){let{value:i,path:o="",options:a,originalValue:s,schema:l}=t;const{name:c,test:u,params:d,message:h,skipAbsent:p}=e;let{parent:f,context:m,abortEarly:g=l.spec.abortEarly,disableStackTrace:v=l.spec.disableStackTrace}=a;function C(e){return st.isRef(e)?e.getValue(i,f,m):e}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object.assign({value:i,originalValue:s,label:l.spec.label,path:e.path||o,spec:l.spec,disableStackTrace:e.disableStackTrace||v},d,e.params);for(const r of Object.keys(t))t[r]=C(t[r]);const n=new Ye(Ye.formatError(e.message||h,t),i,t.path,e.type||c,t.disableStackTrace);return n.params=t,n}const b=g?n:r;let w={path:o,parent:f,type:c,from:a.from,createError:y,resolve:C,options:a,originalValue:s,schema:l};const x=e=>{Ye.isError(e)?b(e):e?r(null):b(y())},A=e=>{Ye.isError(e)?b(e):n(e)};if(p&&lt(i))return x(!0);let E;try{var _;if(E=u.call(w,i,w),"function"===typeof(null==(_=E)?void 0:_.then)){if(a.sync)throw new Error('Validation test of type: "'.concat(w.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned");return Promise.resolve(E).then(x,A)}}catch(T){return void A(T)}x(E)}return t.OPTIONS=e,t}function ut(e,t,n){let r,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,Ne.forEach)(t,((s,l,c)=>{let u=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:a,parent:r,value:n})).type,h=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw new Error('Yup.reach cannot implicitly index into a tuple type. the path part "'.concat(o,'" must contain an index to the tuple element, e.g. "').concat(o,'[0]"'));if(n&&h>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[h],e=d?e.spec.types[h]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(o,' which is a type: "').concat(e.type,'")'));r=n,n=n&&n[u],e=e.fields[u]}i=u,o=l?"["+s+"]":"."+s})),{schema:e,parent:r,parentPath:i}):{parent:r,parentPath:t,schema:e}}class dt extends Set{describe(){const e=[];for(const t of this.values())e.push(st.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new dt(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function ht(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(rt(e)||!e||"object"!==typeof e)return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(let r=0;r<e.length;r++)t[r]=ht(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);for(const[r,i]of e.entries())t.set(r,ht(i,n))}else if(e instanceof Set){t=new Set,n.set(e,t);for(const r of e)t.add(ht(r,n))}else{if(!(e instanceof Object))throw Error("Unable to clone ".concat(e));t={},n.set(e,t);for(const[r,i]of Object.entries(e))t[r]=ht(i,n)}return t}class pt{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new dt,this._blacklist=new dt,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(Ke.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=ht(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(){if(0===arguments.length)return this.spec.meta;let e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&lt(i))return i;let o=Ve(e),a=Ve(i);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n.type,'". \n\n')+"attempted value: ".concat(o," \n")+(a!==o?"result of cast: ".concat(a):""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{path:i,originalValue:o=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let c of Object.values(this.internalTests))c&&l.push(c);this.runTests({path:i,value:s,originalValue:o,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:i,value:s,originalValue:o,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:i,value:o,originalValue:a,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,o))},u=e=>{r||(r=!0,n(e,o))},d=i.length,h=[];if(!d)return u([]);let p={value:o,originalValue:a,path:s,options:l,schema:this};for(let f=0;f<i.length;f++){(0,i[f])(p,c,(function(e){e&&(Array.isArray(e)?h.push(...e):h.push(e)),--d<=0&&u(h)}))}}asNestedTest(e){let{key:t,index:n,parent:r,parentPath:i,originalParent:o,options:a}=e;const s=null!=t?t:n;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");const l="number"===typeof s;let c=r[s];const u=Object.assign({},a,{strict:!0,parent:r,value:c,originalValue:o[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?"".concat(i||"","[").concat(l?s:'"'.concat(s,'"'),"]"):(i?"".concat(i,"."):"")+t});return(e,t,n)=>this.resolve(u)._validate(c,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,o)=>r._validate(e,t,((e,t)=>{Ye.isError(e)&&(e.value=t),o(e)}),((e,t)=>{e.length?o(new Ye(e,t,void 0,void 0,i)):n(t)}))))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw Ye.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new Ye(t,e,void 0,void 0,o);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(Ye.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(Ye.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this,e):ht(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=ct({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=ct({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke.defined;return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke.notNull;return this.nullability(!1,e)}required(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke.required;return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(){let e;if(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]},void 0===e.message&&(e.message=Ke.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");let t=this.clone(),n=ct(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((t=>{if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}when(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");let n=this.clone(),r=He(e).map((e=>new st(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"===typeof t?new it(r,t):it.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=ct({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ke.oneOf,n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=ct({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ke.notOneOf,n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=ct({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:o}=t.spec,a={meta:r,label:n,optional:i,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))};return a}}pt.prototype.__isYupSchema__=!0;for(const QR of["validate","validateSync"])pt.prototype["".concat(QR,"At")]=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{parent:r,parentPath:i,schema:o}=ut(this,e,t,n.context);return o[QR](r&&r[i],Object.assign({},n,{parent:r,path:e}))};for(const QR of["equals","is"])pt.prototype[QR]=pt.prototype.oneOf;for(const QR of["not","nope"])pt.prototype[QR]=pt.prototype.notOneOf;const ft=()=>!0;function mt(e){return new gt(e)}class gt extends pt{constructor(e){super("function"===typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:ft},e))}}mt.prototype=gt.prototype;const vt=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Ct(e){var t,n;const r=vt.exec(e);return r?{year:yt(r[1]),month:yt(r[2],1)-1,day:yt(r[3],1),hour:yt(r[4]),minute:yt(r[5]),second:yt(r[6]),millisecond:r[7]?yt(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:yt(r[10]),minuteOffset:yt(r[11])}:null}function yt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e)||t}let bt=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,wt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,xt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,At=new RegExp("".concat("^\\d{4}-\\d{2}-\\d{2}","T").concat("\\d{2}:\\d{2}:\\d{2}","(\\.\\d+)?").concat("(([+-]\\d{2}(:?\\d{2})?)|Z)","$")),Et=e=>lt(e)||e===e.trim(),_t={}.toString();function Tt(){return new St}class St extends pt{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"===typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===_t?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||Ke.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qe.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qe.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qe.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"===typeof t?({excludeEmptyString:i=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||Qe.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.email;return this.matches(bt,{name:"email",message:e,excludeEmptyString:!0})}url(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.url;return this.matches(wt,{name:"url",message:e,excludeEmptyString:!0})}uuid(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.uuid;return this.matches(xt,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"===typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(At,{name:"datetime",message:r||Qe.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||Qe.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=Ct(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||Qe.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||void 0==n)return!0;const t=Ct(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.trim;return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:Et})}lowercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.lowercase;return this.transform((e=>lt(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>lt(e)||e===e.toLowerCase()})}uppercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe.uppercase;return this.transform((e=>lt(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>lt(e)||e===e.toUpperCase()})}}Tt.prototype=St.prototype;function kt(){return new Pt}class Pt extends pt{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!(e=>e!=+e)(e))}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"===typeof r){if(r=r.replace(/\s/g,""),""===r)return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))}))}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xe.positive;return this.moreThan(0,e)}negative(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xe.negative;return this.lessThan(0,e)}integer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xe.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>lt(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>lt(t)?t:Math[e](t)))}}kt.prototype=Pt.prototype;let Dt=new Date("");function Nt(){return new Ft}class Ft extends pt{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=Ct(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?Ft.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(st.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function It(e,t){let n=1/0;return e.some(((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0})),n}function Rt(e){return(t,n)=>It(e,t)-It(e,n)}Ft.INVALID_DATE=Dt,Nt.prototype=Ft.prototype,Nt.INVALID_DATE=Dt;const Mt=(e,t,n)=>{if("string"!==typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(i){}return n.isType(r)?r:e};function Ot(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Ot(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=Ot(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(Ot)}):"optional"in e?e.optional():e}let jt=e=>"[object Object]"===Object.prototype.toString.call(e);const Lt=Rt([]);function Bt(e){return new Ut(e)}class Ut extends pt{constructor(e){super({type:"object",check:e=>jt(e)||"function"===typeof e}),this.fields=Object.create(null),this._sortErrors=Lt,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(const u of a){let e=i[u],n=u in r;if(e){let n,i=r[u];l.path=(t.path?"".concat(t.path,"."):"")+u,e=e.resolve({value:i,context:t.context,parent:s});let o=e instanceof pt?e.spec:void 0,a=null==o?void 0:o.strict;if(null!=o&&o.strip){c=c||u in r;continue}n=t.__validating&&a?r[u]:e.cast(r[u],l),void 0!==n&&(s[u]=n)}else n&&!o&&(s[u]=r[u]);n===u in s&&s[u]===r[u]||(c=!0)}return c?s:r}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{from:i=[],originalValue:o=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:o},...i],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,((e,i)=>{if(!a||!jt(i))return void r(e,i);o=o||i;let s=[];for(let n of this._nodes){let e=this.fields[n];e&&!st.isRef(e)&&s.push(e.asNestedTest({options:t,key:n,parent:i,parentPath:t.path,originalParent:o}))}this.runTests({tests:s,value:i,originalValue:o,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),i)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,i]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?i:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const i=this.fields[n];let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(o):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,i=new Set(t.map((e=>{let[t,n]=e;return"".concat(t,"-").concat(n)})));function o(e,t){let o=(0,Ne.split)(e)[0];r.add(o),i.has("".concat(t,"-").concat(o))||n.push([t,o])}for(const a of Object.keys(e)){let t=e[a];r.add(a),st.isRef(t)&&t.isSibling?o(t.path,a):rt(t)&&"deps"in t&&t.deps.forEach((e=>o(e,a)))}return Re().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=Rt(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return Ot(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((t=>{let[n,r]=t;return e.includes(n)&&e.includes(r)})))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,Ne.getter)(e,!0);return this.transform((i=>{if(!i)return i;let o=i;return((e,t)=>{const n=[...(0,Ne.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,Ne.getter)((0,Ne.join)(n),!0)(e);return!(!i||!(r in i))})(i,e)&&(o=Object.assign({},i),n||delete o[e],o[t]=r(i)),o}))}json(){return this.transform(Mt)}noUnknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:et.noUnknown;"boolean"!==typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:et.noUnknown;return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(Fe.camelCase)}snakeCase(){return this.transformKeys(Fe.snakeCase)}constantCase(){return this.transformKeys((e=>(0,Fe.snakeCase)(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[i,o]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=o.describe(t)}return n}}Bt.prototype=Ut.prototype;const Vt=e=>{let{setShow:t,show:n,seconds:r,children:o}=e;const[s,l]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{n?(l(!0),r&&setTimeout((()=>{l(!1),setTimeout((()=>t(!1)),1e3)}),1e3*r)):l(!1)}),[n]),(0,a.jsx)(a.Fragment,{children:n?(0,a.jsx)("div",{className:"fixed flex w-full left-0 justify-center  z-[99999] small-only:top-0  md:bottom-0 h-[25%] overflow-hidden",children:(0,a.jsx)("div",{className:"relative w-full h-full flex items-center z-[99999]",children:(0,a.jsx)("div",{className:"w-full flex justify-center transition-all duration-500 ease-in-out absolute ".concat(s?"small-only:top-1/4  md:bottom-1/2 ":"small-only:-top-1/2  md:-bottom-1/2"),children:o})})}):null})},Ht=e=>{let{setShow:t,show:n,seconds:r,title:o,message:s}=e;return(0,i.useEffect)((()=>{const e=document.querySelectorAll("[id^='headlessui-dialog-panel']")[0];return null===e||void 0===e||e.addEventListener("click",(()=>{t(!1)})),()=>{null===e||void 0===e||e.removeEventListener("click",(()=>{t(!1)}))}}),[]),(0,a.jsx)(Vt,{setShow:t,show:n,seconds:r,children:(0,a.jsx)("div",{className:"rounded-md bg-blue-50 p-4",children:(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-6 w-6 text-blue-600",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})}),(0,a.jsxs)("div",{className:"ml-3",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-blue-800",children:o}),(0,a.jsx)("button",{className:"whitespace-nowrap font-medium text-blue-700 hover:text-blue-600",onClick:()=>t(!1),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,a.jsx)("p",{className:"mt-2 text-sm text-blue-700",children:s})]})]})})})},zt=e=>{let{subscribeEmailToNotification:t,mixPanelFn:n}=e;const r=Bt().shape({email:Tt().email("Invalid email").required("Please enter your email")}),[o,c]=(0,i.useState)(!1),[u,d]=(0,i.useState)(""),[h,p]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:"relative px-3 lg:px-0 w-full mt-8 pb-12",children:[(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between container",children:[(0,a.jsx)(Ht,{title:"Flowty Email Subscription",message:u,show:o,setShow:c,seconds:5}),(0,a.jsxs)("div",{className:"flex flex-col lg:max-w-lg",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("h5",{className:"font-montserrat font-bold text-[18px] mb-8 text-white",children:"Sign up to Receive Flowty Emails"}),(0,a.jsx)("h6",{className:"font-montserrat font-[14px] text-[#CFCFCF]",children:"Get the latest updates, promotions, supported collections and more delivered straight to your inbox, along with notifications for offers received on your NFTs"}),(0,a.jsx)("div",{className:"my-8 lg:w-4/5",children:(0,a.jsx)(l.l1,{initialValues:{email:""},onSubmit:async(e,r)=>{let{resetForm:i}=r;n("Subscribe to newsletter attempt",{values:e}),(async e=>{p(!0);try{await t(e),d("Your entered email is being added to our mailing list. It may take up to 5 minutes!"),c(!0),n("Success: Subscribe to newsletter",{email:e}),p(!1)}catch(r){d("Failed adding email. ".concat(null===r||void 0===r?void 0:r.message,". Please try again")),c(!0),n("Failure: Subscribe to newsletter",{email:e,error:r}),p(!1)}})(e.email),i()},validationSchema:r,enableReinitialize:!0,children:e=>{let{handleChange:t,values:n,touched:r}=e;return(0,a.jsxs)(l.lV,{children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-around",children:[(0,a.jsx)("input",{type:"email",name:"email",value:n.email,onChange:e=>{t(e)},className:"py-3 w-full focus:outline-none border-[1.5px] border-[#6C757D] text-white bg-[#ffffff14] bg-blur shadow-depressed px-4 rounded-md font-montserrat text-[12px] mr-4",placeholder:"user@email.com"}),(0,a.jsx)(s,{type:"submit",disabled:h,text:(0,a.jsx)(a.Fragment,{children:h?(0,a.jsxs)("div",{className:"flex flex-row items-center",children:["Loading",(0,a.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full ml-2",role:"status","aria-label":"loading"})]}):"Subscribe"}),variant:"primary"}),(0,a.jsx)("span",{children:r.email})]}),(0,a.jsx)("div",{className:"flex text-red-500 justify-center items-center text-center",children:(0,a.jsx)(l.Kw,{name:"email"})})]})}})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-start items-center z-10 space-x-4",children:[(0,a.jsx)(De,{className:"footer-social-logos hover:cursor-pointer",onClick:()=>{window.open("https://twitter.com/flowty_io"),n("Clicked on Footer Twitter link")},height:30,width:30,id:"twitter"}),(0,a.jsx)(Te,{className:"footer-social-logos invert hover:cursor-pointer",onClick:()=>{window.open("https://docs.flowty.io/reference"),n("Clicked on Footer Gitbook link")},height:30,width:30,id:"gitbook"}),(0,a.jsx)(xe,{className:"footer-social-logos",onClick:()=>{window.open(T.flowtyDiscordLink,"WindowName","noopener"),n("Clicked on Footer Discord link")},height:30,width:30,id:"discord"})]})]}),(0,a.jsxs)("div",{className:"flex flex-row mt-12 lg:mt-0 justify-between lg:justify-around flex-grow flex-wrap",children:[(0,a.jsxs)("div",{className:"flex flex-col mx-4 lg:mx-0 z-10",children:[(0,a.jsx)("a",{href:"/marketplace",onClick:()=>{n("Clicked on Footer Collections Link")},className:"font-montserrat mb-6 text-white hover:text-white uppercase font-bold",children:"Marketplace"}),(0,a.jsxs)("div",{className:"flex flex-col text-[#CED4DA]",children:[(0,a.jsx)("a",{href:"/collection/0x0b2a3299cc857e29/TopShot",onClick:()=>{n("Clicked on Footer NBA Top Shot Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"NBA Top Shot"}),(0,a.jsx)("a",{href:"/collection/0xe4cf4bdc1751c65d/AllDay",onClick:()=>{n("Clicked on Footer NFL All Day Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"NFL All Day"}),(0,a.jsx)("a",{href:"/collection/0x329feb3ab062d289/UFC_NFT",onClick:()=>{n("Clicked on Footer UFC NFT Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"UFC Strike"}),(0,a.jsx)("a",{href:"/collection/0x87ca73a41bb50ad5/Golazos",onClick:()=>{n("Clicked on Footer La Liga Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"La Liga Golazos"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col mx-4 lg:mx-0 z-10",children:[(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/",onClick:()=>{n("Clicked on Footer Help Link")},className:"font-montserrat text-[14px] text-white mb-6 hover:text-white uppercase font-bold",children:"Help"}),(0,a.jsxs)("div",{className:"flex flex-col text-[#CED4DA]",children:[(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/",onClick:()=>{n("Clicked on Footer FAQ Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"FAQ + Guides"}),(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/general-platform/troubleshooting",onClick:()=>{n("Clicked on Footer Troubleshooting Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"Troubleshooting"}),(0,a.jsx)("a",{href:"/tos",onClick:()=>{n("Clicked on Footer TOS Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"Terms of Service"}),(0,a.jsx)("a",{href:"/privacy",onClick:()=>{n("Clicked on Footer Privacy Link")},className:"font-montserrat font-[14px] mb-6 hover:text-white",children:"Privacy Policy"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col mx-4 lg:mx-0",children:[(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/general-platform/supported-crypto-wallets",onClick:()=>{n("Clicked on Footer Supported Wallets Link")},className:"font-montserrat text-[14px] mb-6 text-white hover:text-white uppercase font-bold",children:"Supported Wallets"}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-4 text-[#CED4DA]",children:[(0,a.jsx)("div",{className:"col-span-1 hover:cursor-pointer",onClick:()=>{window.open("https://www.dapperlabs.com/"),n("Clicked on Footer Dapper link")},children:(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAAcCAYAAAAOa8NNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAs5SURBVHgB7Vl7cFTVGf/Ouffu625eEPIgIW5eJEgCwaCIAoJQlLb4LAIidpipHXWmvkdEIC4EhI62Ux9tbR0VRWllHClSH2h8IH9IIShCAmzI5kEeBJJsCNn3vfecfnd3s2QhwFrQmTL5zdzde875zuv3fec73zkXYAhDuBxBzlfIq7nkznanuPtcqQy4kQIJuPuCnQUTCroJIQyG8IMwKNlOpzMpAYTrQYPJGvBUFKLRCoRoDEgHFcguUQvsGl5YeAqGEBfOIrvd0TAVCf0lFiQTl9sER7sT6fE+KwRUEYyiykbIHsgZ0ctTrX7OoYcaydZ0m+0bGMIFESWbc07aHY1zBUp+QZq7E6Qte8tI3Qkb8QfNZ1bioqDyjIQT2uySfdqU0S1A+IcZhXnbYAjnRZRsJPo2SmCO9O7uscIORzn4FVMctTkrt9UEF19XrZkNm7KuzK+CIZwTov7T4mwppZo6R/zoQIHw2cHr0czjq82B0OqmUoOiCcojs32dTU21I2y2Y+erYh9bawCPhcbmNoG9aYYfLnOIuvvoqGu6k/T5DdLnR64Howm5xi3QKAL3BQBUDDp4JPCIKIGIyJVRAu4JhNK0prWI7mmoZ5MKbsPkX8/V2XSwi6SJOgkEsmNLMmG1fNiDytsPAnmdST2b7a5rL7uNVzzucNgINWaKXzmLQJCM0q3jwbjwWqDDZABvAIJVNRB47StgHj/QJAuYH50D4nVFelgCrPE4BN7eiTL7Bbq70aZNzB3fW9MyLKlklAt+OGR0S5OB8ck0kPxQZULDvJV9eQ64jEBFyZynv4gtfTbTvVPB/OBMqNrogc1PtgFYjGC4pRws6xaCkDYM5JeWQL2WDS/f1Qi7N7uA5qWDefkdKHM1CEeO27AZ4jWqpfF0rIB3J4r/OvzQJYQTOydQEyku5Uz5YG1aQzpcRqAq03LBr0piYuIww63jYNvaDvj0Tyegca8HupuDULfTDUp2OlieWwBdfgu8ef9RaNrrheZ9Pjh5TIE2RxBMv5kJ1CInki63mQLPiadjP3idFZ6it8LP6A0rvUWruLtoPG4D68ISfLTmVVacWc8Odvq3ci5BnPhteXVcsnq79ulcjE/uywvKhWSxPQ48GoSQ446mx2iHZ1LC0cBdhrsnwPoZddB9NBgqpCLKobu+56VRMO7nifD1a13wwZqOaGOikYCtXIb737GB5+n3wFeeuZWXZVelFdheHqxz3WfPkOc3EiDZfdC14TnPlCVnyrwIR4ynZLYbT6zj9OEZzbxwaVdx33LzviwjNTyBebOxfhLuHn2E0B2agayxuwpb9bqrZcebGCBl4N7yPqGiizHtYXR3V2DeCZTfyDxFL9qBMHtyY7KgBDeiQg14aPuDwOkV6MIeQGLSUNbJCP3LM+6id2OIM31nE6jlCU74TEwmoGw9svP3Cs+YTf0yq62HtxIOJmzrX7j/XI1zmIljPY6x8gMV3oK9uoYIeFQLiBKGFthKmhglm6lcd82QlBE2DmtqrELVAIfEtHAeEVBGBYkRIsBF4CEoDKyCQx/iIJFsnh7wkbx1Sc1Hg6p3O/YyFkLbNMcBkizcyIuFIMx6NuPI5Kc7Cjsx3p+ChXkEaD7jmk6gqIdMSLS+IV8lyHXXgAfulhRuRBuaifm4EukIJHBCf/844yzC+bRVlkPFz3jHrNLz1iXWFyia+gW2NKpfDMeXhf83oIJLcXUui+RPxzYT9b7wwZN3yKhz0H98YocvM0MhGOWCyI75gSsMbnk6AxIipOrkXzM/BXLKTMDa+2DCLclQMFmOEpOSZYCbHk0D5vIA6/QBkSQNLgFwsg3RdxFGKEHfYhz4WBx6CwftZzga3NTF2zGtIrn5qoffPrA+kpePKtnGOJ+LK3M+ytWEiYT5axIcU2J74xOQ8NfRom/CivehbFuoX0Lsz1qPXDkPNgsqU3AVwCgsaySEzxApL8byP0fqP7UuyZEXO37owP4noqGG3SCHVMmSPi7MqiQy7iOgftMBOdNGwsMf5EPDbi8kpYtgm2gBVt8DgU0HwPTgRFjyag44d3lB8TPInySDdbgAgXcP6o0ASzQG4VKQTUUzj4SbRCNBTezbRHlSBwdGTaaEQyd9KjeUN/+b7Mn8GAmYyzV2VSx/0GgdZl30WOson55cmuLcLgeD7fhqYRpbJBDJHu0L4NPlnkIkOXyxtlauq9aAfae/q6AtLJXHv4cKvSakKg6vofM0aBxsKLyNArsfrV1QVVQqwAvR/im8XdE3Zq/dXNtJqfAI9iHo/IQsm1slL1jMoFS7IPhxKyQEA1A2wwK56O20HW0Q2NqASpfA/3oNCLUnoLhUgNKpJjC1u8D/xveg7EE/brEwliH3wqUAY7Mibwpo3Gnvm9hFmFaC1rI+4PU6TVxppntGNiBBEyKMibFc86p+onX8vie/F2U+CsvSwhhZQrf0E61juWf0PsxtiiRT0ZJRnod5IrAGV9Z2/UFmPtGJjgw45rTN0Yfp/8/4rmwxGKQCySDlKt7W/aFBalbqAdniIyozaw1+UOvb9QmffsAAxCyG3oNVbdhYS0w5MVuAy7Rbv6iCi0SlXHMz/s0NT45/s8JX3LbKeuhOtK6VIQFKtuBkD2KoOA5986zBzrq4fI1nZXIu61ohugJjZDU5Rgx7rYS6kK/HUhX14D8dUNCleLrY3y9LORUYWoHGpBoYbBy6Q+mBqAGKnOJ6NUFAGy4dE3tpXog8Fjk1auF/PpD4geWRtF6ujTSEfB1ey/5P99x6TI2h3jw80a6FyJ2NAMLK8KTI1MjZtbXCXXRHf51K66EdSMS0QaY5BzfVlGW9V/ToKbu1voRw9Ua9DU7ItzBQQ4zc8/xIx5tPtBd16clV1to7KRdDJ1ykqomo/ADatRu1YsVRZa1wFz3fvxIq5UMbMD9fFNkfMdkKFwCeyUGP5YrVHLJfrDflEIax4WDk9j/8NMEDZbTRpnoITUbrgDiQAKmL8Yh+V4QcqnmCZ1x88cdXuEd/rb/hBVmnFiKIj6yUDy/FTg5g4mZUzLRzND9CUb37Vst1/6SEWzhXF2N13doDuD29ygbYNuaX+XqharW1bhtwLQcJXhiyaQwtNTC8Y/fndlRaHf/Avu7DSf9ujewoWQ2Hq7FmGUYus0OunLMtEAdEMJh38WBgWjApeIJkSruMXeZJqDcpdA8ygGD0Q/iuDWrdwQxWraQKLv3DgjVJ3gnxQfd3luiUoyC1AtDHcdPaHiXEIL6F9+mP4GsqSq7XTQ5xEjvHW0Y666yWOXGiK7HhhvokizSN1qjhz+PLThY3rZVPn0zRJaHihDE43/Gha8xQJnfjml9gP5UbMhyNKk9RVUhBK/4Vlt8IoSd6Vnm72HPgBYgD4isbXmm+b9G9H+Mnr5sDIz0HtaTgMakHLVwhVsLw04BGTIRJuAIYjoQi23qAqCmcMPRnmqqmsJZguoZ32tSrMe19a1raOS17ur5oOV8XWpID6Q0Hwy4C0veqN+/bCoj95LbCVdBiT3JMwm9E96KfHo7NuCTR/0ZQseTjoD7D6t/HtEf4fzSuLCBUuk0/AOHu5mKgbq5wj609c0wqKJsMRNiNbhlDP46bD21Dt7Vxxamitn4Z+6kSF4aAC8bKJTMooTdgD8ko60WFbl/pLv4i2i+nFahgI9b/arD5R9Vz8nBTro/y6QIRMjXQ4jqOhhsgKmW8TZClz4dnZ1/Qb/2YwBOcE0KHGti00lO86FxyumUzUBpRw2YF/MsqPWXr4SdAlNTkYlsj/jXCEH40UBjCT4a43cX/Axhj80RRMnBi7DyfnOLJ7RYT66YTEKigmo7CEIYwhIvAfwHYBxCskdX+jgAAAABJRU5ErkJggg==",className:"img-fluid",alt:"Dapper Logo"})}),(0,a.jsx)("div",{className:"col-span-1 hover:cursor-pointer",onClick:()=>{window.open("https://blocto.app/"),n("Clicked on Footer Blocto link")},children:(0,a.jsx)("img",{src:ge,className:"img-fluid",alt:"Blocto Logo"})}),(0,a.jsx)("div",{className:"col-span-1 hover:cursor-pointer",onClick:()=>{window.open("https://nu.fi/"),n("Clicked on Footer Nufi link")},children:(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAAdCAYAAADFNxDoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATpSURBVHgB7ZhraFxFFMf/d5MmUWslVqnVCqk11gci1CY1iQ/UDz7rE6IWwVAfVChoBZF+kPZDoX6LjwoKSgyo1SIURWJLlVbTtDFGpWCxChXFGKpWqok17W6z43/unb179u59zLYbaOj9wdl5nbkz98zcM2cWSElJSUlJSSnDSVL4UmH2JHALswsp8xX7sNOvzA/lKdc6GEWKFZHG3qtQ9zewhgrPsNgQ0fkwjd9Do69PjZ5MqLGHFFpywEY2LoAdv1CWtTvYlaSolGpIUMk6jpO36U+9IzF6NUxmmGKeutkYXa1Xg2gm2T8XHN8GOccyY+9SuJTJDsocUf0TZRuV92grZODqLOWuni90DtUBLYsd7EcMnOx2eP2j+I8yTOnmRAdD+uu2C0yxjTo/R4xzE5N3TLGfep2B9lom91MeoVxOqUc0fez/KPs0Mb8blXEl+x7UmVpZa1zHZqdoaEWDLm8HeumoVeAhT3FhllH3ZTbMZrmRW2fboELbNQ5+jxl8FuU8xHMRpZMv9xrTlZzspGg7W/SPM1CD0GuUDXyunu9HlHbYMUvkk+YexLdxRtYeAtY6Ztcx1atxe4eDt0IM7UK38S53+m1sHDFVeqcvhz3HQkSygvI6qggNfRqTXpQaWkXMpSBysYNt0uXlEfM+meIkkKkpNdR6GnMLEuBifMWHdIvRVm9Ssf5PshTeAknpoMhx9ee7ENXjYcodoryBclXIPKQ8qRWNywq2vSCe1RPS/leh0d/iO4GmGm+FD3BXjx/zOvr0KzTWi8+2D/iDn4G7qowDX6ITfYj95ukyf65mMoRk/uELjATqRmjc+5huhhdyavQmeA6VoSLqV4j8Oo7/PCogOF/OdUwUx0Pex8c39nWOewjODVMaVjj9KPAjF+AcU3X0VuDitcZ9dDruZ9aCKsEJT/Al3kDR2ItROVFh7SUi/4E5KJPIx0VIttgMhHG6m7rSKls3cSL8JvJnoXrId95KyVn0+YTyBE4QK2OfZEj3kHgDTmCOpV4jqoBv7K0KZ5wJXKjzjJkmFjnuRcWHb/U9k3NNMfcvdWQ7Xc2CrLlE8CvYz3jbZsccD3/CCw01+tK1D9ME39g0EG3tGhS88ijGy3ML8fKNDmhbXB/1EP3/CQ3dD+PzDwM3MPkCU4Oe4xKTf5w+97OIm6RCMovgRryJjKMK+MamQQ8MKPzgeH846dNgNcPBVVExtkR5/qxwuO7jKTqIqeNNygMUHS/fTfmUBt/EdCygp2+ZvSa/J+JZo1youAtYCeaq/mCgeonIN1OnK9D+vj7wyx5GY3fxVqiM5LhjVyKB3Qp3UTcv+j2N+Al/rYq0xei1Cb3hQFu3SqYv4rkTQsfWZxf6NqnK8W+cJTfIDn0tB942xVrGc6/QmD07Fc4PDkw3M4/1G7irP4Q5qPizg+7oVUwx3CmrmOj4OItpRGk0QpdxROHZei+uda/tNGYXV+Re7voBGnNvxnMxzVyI9kzxwNR8x/oui4Pxc0rh79ixGD19Tnxs8mWHIA2+zriPxyjNKI+sov4w2iJ0K12srJhTJX1cQkOn7QozafCNzN4JOwZ46bmHfv8gUiKJjFMZys3gktxMhTUstqqAy4F3GfiWt5sXW4H3bA7SUx2rSwH99mVMWvPmvw8yyu/wm5kMw65wppffTElJSUlJseF/MY8OkjibogYAAAAASUVORK5CYII=",className:"img-fluid",alt:"Nufi Logo"})}),(0,a.jsx)("div",{className:"col-span-1 hover:cursor-pointer",onClick:()=>{window.open("https://flipper.org/"),n("Clicked on Footer Flipper link")},children:(0,a.jsx)("img",{src:ve,className:"img-fluid",alt:"Flipper Logo"})}),(0,a.jsx)("div",{className:"col-span-1 hover:cursor-pointer",onClick:()=>{window.open("https://frw.gitbook.io/doc/"),n("Clicked on Footer Flow Reference link")},children:(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAYAAADFniADAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5woFDh8OmodnmgAABKBJREFUWMPtmE1sVFUUx3/nzkxHGEgDmC5sQuzIiIuRFkW3RqOJO5IuhIUx6IIEFNG9IaZooxIWhAWJgRiMC3SB6dINhBg0caGUVmppYmLNVEShFJjSSfvu38V7b+h8dV4puOJu5uPcd8/vnvO/59774GFL1mzFI1z5jkx6lo6MLJ0xzWdWMZt59f+DypcGMISwnEkFUNFEwVAXUtaggnTV0IRJo8CEE+XAxPjjg/cXqmfqIOtvzDLduaob2G5SP9Bn0jqQM4EhkDCECQ+aNukC6LRJQ/Or15Qys7e5lP9kZVA9U4NAAJAz8Rpov0lPA84kCAHqgBQOXLXLG4wgHTH0DVDGwWjPZ8uHyk99hBDARhMDoJ0mZWsdtgOqsVeQThkcACYxGHniUHKonqmPAQ+w2cQx0IttHDaLUDh4ZCf6bdJZ0B6wcSFGCofbQ+WnBlGYso0mvgC9tHygWvsioNh+BvQmMOlI8cuTtRFz9VC6q6GBZEA0idCSQETjDjj5nDTfEKkaqJ6pg+GgYkekoQQR0hIpoxlQDL4TscOArb/tbw0VQXSD9t2bqOuB1AoIRNbQPvO+21BzqHxpIP663aTelWtoSaC4X6+h7SZ4dmxfs0gp0pL6AbvPGmoGhCEz0W/yuXiiNVAmCLcOepejIRCSjz6j/yMxWTi78NlGoBi411BhcQrTd2uDAIqIDUlTBpAlzSqXrtqCYIHbN2+BfPisQWp1BlLWDAiTNgBF4EIN1KY/P4yyR4EwpIkKY6CAV9Zs4a3OFxDCuRRjY5fYvXc3N2dmACO9toONB1/mkfw68A1AGDJEAYPnR/fwU/FYHKnIsVkXiUQdrjIk1rscm7OPVUM/G1xh/vJ15qanAUh1ZtHcfJSJlhrr8lhVSy7W09rKDOHxI7mo65dypIOmLdRsS9FnZ10unGicPkOUO9YSnYcS72VEtprWjLPar+UqrKwJblUnGaYvXo7hAS1hYYQUxs93fufQP0Ohpsy42vE3699/jtyduTAV2RQdXTnM+4bCuuj31ZrMxLPZ/McHAK+b9GVtnWq521fLgBRU+ziDlHM1fVjwrSKECYHeAL76ccvndSUhjM4ocM2kR5MAxRE0XBR6C20LYd1i6cIZa+wa0ih2V4z1FX3CpOGkQAkcJrEPW+i3EcoEzvtyeKZGy9jtVwIk4DRQXrxCqlBjPYNxxyFDw8vY7e8VCNBw5I8feo83S1/4sJMvIR2NztQPEqhi4ihGqb6M1ED9mv801tfX0SH/QQFh4lTkh/N9x1tDATgJJ5UNDph05gEBnQEdAMppGlsD1MVNhzB5nPeToL0mzt5noLOgvcCkE5zrO9EeCuBi4TDgcd6Pg3aZdDLU2Io1dBK0C7NxB3y/9UQz90vfkLddfodAaRTdkA29h1S06KqeEMiDRkwcIbohpwXnWgC1hYrbM2Pv0plZYGY+3R2dqftBfSatM+SaAC16l8Bpk4aU6ixZcIPzfSfa+lvWW5dtl97GecM7coYKiKJJi966qBJtrhMmRkETgWXKaVU439se5p6gmrXjF5+iVLnOX3bb/nVzCjrg26Jf6bAPW6L2Hy0fqCILCm9eAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTEwLTA1VDE0OjMxOjEyKzAwOjAwWnm6igAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0xMC0wNVQxNDozMDo1OSswMDowMEKrMwgAAAAASUVORK5CYII=",className:"img-fluid",alt:"Flow Reference Wallet Logo"})})]})]})]})]}),(0,a.jsx)(me.c,{className:"my-[3.75em]"}),(0,a.jsxs)("div",{className:"container flex flex-col lg:flex-row justify-between items-center",children:[(0,a.jsx)("h6",{className:"font-montserrat font-[18px] text-[#CFCFCF]",children:"\xa9 2021-2024 flowtyNFT Inc. All rights reserved."}),(0,a.jsx)("div",{className:"mt-4 lg:mt-0",children:(0,a.jsx)("div",{className:"hover:cursor-pointer",onClick:()=>{window.open("https://flow.com"),n("Clicked on Footer Flow link")},children:(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMUAAAAmCAYAAAB06F/cAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAufSURBVHgB7Z19cBTlHcd/u3dJroxJLmCpFQkHtVYEJX1RaXlLh9A/Si2xdMbCdALo1IHiEMbWQjMFEVqsbdHCSKU6yMtULJ0iLxbstDAExE7RaZuUoI5o3QTo2whsXqoXkrvt830uz/ns3t7e7eXlDn0+Mwu7z+5z+/b7Pb+X59knGuVAOBwJd1Gwiig+xyKKWGRVaex/Uijyi8nk0dBIM9j/xwIUaOwxzzSRTzQ/BwfD11cnFMFayDbDpFAUPgaR/lARxRqjpmFkUyErpQiFI5Ee0h8jsmqd+/SyEiquvIqKJwy3lfee7aJoy0WKd3STQlEAMOuhbY+b/3go04EZlUIPj6vXyFpDkmWAIlTcO4E+8oWP88WL7pYL1PmbM9T1Qiv1nO0khSLPGEVkfdHLangqBVOIx5hCLE9u9ylD+N6JbL2Y/NKx+wxd/NlflXIo8o3JvJ5FMdPY57YzrVIwhdimJWIHTgVThOHf/UxOyiATb79M5lMtdIEph0KRX/SFMfOtHc7SgOuhDoX46LrJXCG0EtfDfaGFAtzlCpSX0LtHz5FCkT+sWj00wrCil5rl0hRLwRTiwb4YgvOxjdOp7K4baDBAvHHuawdZMH6ZFIo8YbIY49NyjGFr+pFlihMl/awRzDogfhgsgiOH8eV/v28lhSJPhGKkVVtR85eiwKYUVqjib9SXZYJ1gNuUK7dplTRT/xRN1cfRbfoY21Kmheht6wI/rmTiCLKYpYj+5b+kUOQD5i5dEwgN1+LRS4192wkC4chCtrkN60WjS+m652ZTcPRV5Bcow9LgdCb8lWmP2Rv7OzX0/i65jeC7rWZvwWalwuVlNGf2LDLbO2j/wT+S4gOJGSNrLJmGGXy/THtQrCGozkUhZuo30ONFXye/6OXFPHZBfFFozPnyLNrzTNKy0rETf6aZd8ynBfPm0pjK694vf+kk3/dhYcbUyTRjyu3J7daz52nHrt/SFUw4SPryXqI1XCkwfMOiWATrsBJld32S/DJKK6f1wa9QriAjhXN7WYtJN99Ej67/AWVD86lXaf+hw/0W1Dmzv2TbhjBEmDLUzZ/L1wVrf7yRnwvXCEWSWfvIRipU/DxTgdneyZ/v6pX1yTLc+xWuFGSRtYCEUjAHJjl8I1MPdTqWBqbxWKE/QBm9+i/gxsiC6AWOW7bkbtr0xNN0f8MPKVeaWl6jOmnbaDvHl3RUTRxvExZQyErh55kKcP9Qig8gkWA4Us2VIk7WDBFc5GIlwHjtmpQyxA0vx1MzS53kPh6qlAX3A92pB8VAywbBXMBad5ljJ07aBNy5H/HDgYN/YC1/TVJwNj2xLe25UF92Kdx+t+nUa54ChfPgfHDNILCIY5pZHad7Bms1Y+rtKddbx9y6Ktb6j6kcNWDWMhdEHDZjymQqLy/l261t5/m14F7w3MUxznvAPQNY6TCrC5zxnNu7EvX6g0Z6VZDCkTBTiCpRmKuluFEfads+En+DB9R+KGJxDHrM/fRb7Ny1J6Xsq+xB44EL4CKArZt/ajvunm8/YFMK536jbT5FRo+ytaTLliyiTVvcFcNZ360cbpabUkDIt27+iWurLVy4/UxBv8OsHq55DD/efr4N6zts9y2sJc7px1p5WULQmmH/ssWLuLWUr0VQ1yfM4ppWrajn957EeoB2PLuH193zqy22uojlhIsq3zuUYYeLHOQCMxDVwSAFq1g8wQtKJozIqiLcpBtpJN3K0qujtMQ4wYae523HXMvK1wfvsJVtjh2n81a7528Pm3Itdb1gULa4vWy0krJwtQ9ACzKYQCgOP7/LLhwuQDkgEJ+b7h67uQkhgIBCkCFs2VDDhC+TYqxeUe9ajgTEow+vokwklKaUN2qyu4n3hut0xmV8H7PCUAqcQ+bAwGYEJwVZcJEc/RoozzyuqTZwC30/UJMSPzT02pWiVr+F7gtOs5XtizXTefJWCr9jq95sPu65H61IIfv0YPWKZSkKkXCbXuVKIAs7jkNLDBfEDQgzFMBpcdBCZ6sUUNB0wH1MZynBqpX1rteEhklYbAGs2P0N62xl3Mo3lCUtigzK8C6dbmO295UlYZ0ollSKTGnYpUzIH2YZpv4G1F4U5ZAK9sIcQisRrBjHXTK3crG4KWjdfHsaG8dcHani7gL+d8YxTj9crnf9pOm8HtwTmTEZrJAMFC/dks4aAZGZk8G14Jo+y6wb/ndaILincszD4wxmJdzcSPw2rISsXPi9AY6ZoBTZgZTrfYFpdKUhXBOvl5lP3Fwmp0DvP2R3D9IJuFwvk98/GEDAZXhQLQksBNgZA4bLy3nCQ2aDw/2SGzbnvuMn3C1mf2DZp4CJ8ALEPALclcFZNBT0nO3ydTxaXydoZY5ILkAiUzOZP9x0ypHJnx9K0BLKwbhT2Abb+uHc6c6BTrpscVPeSKXzXtq5OybHFfI7EtciLIfz/W30cOVyxAzqFDPifaM9etvSC2SNbh8pe94yecpVBM6Hi5fa9iMVW3N5s60sXSpWxu9QD7eAz+m7CpxKgUySwV4yXtSqNIHjQCCuEW4P3AlZ4ES/h6yUyLqsY62+2cH88Ik38euUQYp2MJn7zcUZA203nHEO7ulpllETlg7pWaer2NzyOn8esChuLhOySu2SUsgMRn8J0wQj2MP+EaMCu09f4OlQZ7AL18kJUq4vx9s8j8mUaXKj16elWL0yO2HGw0OWQhYwKM8Rj6AyF9DZ50S+RpzT6QNv2rLd1qvM07O/cE/vAsQOhegOCv9eFmAogVMR5ONFLzj6GdwE/8ChRP/DBhcr79VnlCsWM4Y6BkBZfMaDBPjGIRtEKjaxnqoQnRQlv3SfvjgogwIhRHgBMNND4Xp4BX7omHOCXvdsXzDupZB7k+9Z+r2srAzeAyySYCfLIDnfDZ4jfktk4pwcODTwgzN10hqDfSv7WWqWN2f4tsHZgYcWv8OK2rJOGPyHsU7YdydL0zp53fI/FPy9l/7puR8PJ1uz3s5N8kluuoWQoi5y/M5OMvwuFKZuXmoa0OzotJ1TBLDonZXL4eoIIBhwmeS0onixsApuIDXZzKzMssULXd0/3MPaRzYl7yXTs0h33SnH+Xim9t+318OoAYAyZJlgHfE83VLNCLbxvO31E+9r0s3jk2U7n30uuY573yr9FlzIXK47M/FGHkxgvIdF2lGsY8Tq2Fe+keJCIR2bbfYJ8caCnmd8u0/GrbuHbPg4TDGErzXDWKaBOAdeeGtfi+enHvBbt9CAUoiAezCf9QBhxMy3x0rfU4yFUlRjHV/cYfi4TCmFaG/x3Ta3KR2be1+kx2Mvkh8w08d/6o+RQpE/9EUx863tUj+FlZzV4NJTLSnjjxAjJFp/0/Nnc1EIcFHN7qHIL0aMYo1YSX6OakXNJj1UUU2YG7Y7RpffNKm09hO2WkipIusEq1GmldhiDGSiMNRjb/wU+QUjY9V32op8opG1Md43D5RtNg85tgBXr5tMFd9KP3GByDpBWRCI58KlJ1vondUfni/WFAUJjyXEhm3ignjUNAIhjCTXqrGNeZkwFgmTC7gBZcDSTb2UC90tF1kccZxgmRSKPIFvsz9PUTMZF6TMbsYUo1EPhZnWaPwbC+HWDMvxO4t0dOx+g/69+KiagFmRZ6x5lmnYXBXXKf9YfLFPVoz3/vQv3tMcYhZDL+/ntJksgH/nR6/QBbYoC6HIJzpZi3pN49fO8rTzYEIxAqHhFWyV93JhCAishl5ektadygTSrrAOarpMRZ4xmUIs6TGN7W47s5iKP7JcS0x/k+ygwKwb6PXG99yZPl+FlXmXLeaTp5WrpMg7TOCbesm6k3Kdij9JOBIJkLaGrS1w7sL0/CUTh3O3KiD1gvNxTG1dShEUhYKJtCtzl9ZkOtDXn/eSlGMOqT/vpbgyMJgy7GD50Z9j8Gs2FfwphUQgHKnVSGf9GtYkSvwRyAgpFPnFTCxaE/4QpE7xJmYZGskn/wfxuk5lgSGYfAAAAABJRU5ErkJggg==",className:"",alt:"Built on Flow"})})})]})]})},Zt=e=>{let{name:t,inputError:n=!1,valueError:r=!1,placeholder:i,textLeft:o,disabled:s,validateFn:c,errorMessage:u,className:d}=e;const h=null!==d&&void 0!==d?d:"h-[37px] w-full text-[14px] bg-[#606E7D33] border font-semibold justify-end rounded-md px-3 hover:bg-[#606E7D4D] focus:border-[#FFFFFF7A] focus:outline-none ".concat(n?"border-red-500 focus:border-red-500":"border-[#FFFFFF1F]","\n\t\t\t").concat(r?"text-[#FF6E25]":"text-white","\n\t\t\t").concat(o?"text-left":"text-right","\n\t\t\t").concat(s?"cursor-not-allowed border-none":"cursor-pointer"," \n\t\t\t");return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)(l.D0,{"data-testid":t,disabled:s,placeholder:i,className:h,name:t,type:"text",min:0,validate:c}),u&&(0,a.jsx)("p",{"data-testid":"".concat(t,"-error"),className:"w-full text-end text-[#FF6E25] font-[400] text-xs whitespace-nowrap mt-[8px] 3xl:mt-[12px]",children:u})]})};var Wt=n(98081),qt=n(98853),Gt=n(60712);const Yt=e=>{let{isMainWallet:t=!1}=e;return(0,a.jsx)("div",{className:"rounded-lg px-2 py-1 ".concat(t?"bg-primary":"bg-[#ffffff]"),children:(0,a.jsx)("p",{className:"leading-[14px] text-[#031021] font-montserrat-bold font-black text-[0.625rem] uppercase",children:t?"main":"child"})})},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAAEwCAYAAADfOUbNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABtDSURBVHgB7d0LsG5lXcfx/zmCyl1EAQHlgECJoabhJRVQIUPEKC/pFKKVjaZlU9lVm8oZyzRnvFVT2dBlzKFMBIlUVMxLFpARcgkMUBAQFQ8SgRzO2T2/edYz+9nPXmu96937vaz/Wt/PzDPrXe++nfPuvX7vc19bVlZW9jOzhxgA+LN9qwGAY4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXCPEALhGiAFwjRAD4BohBsA1QgyAa4QYANcIMQCuEWIAXNvNgGHaJ5RjQzkllMOqx3pu3+rjd4Vycyg3hfJvVbna4M6WlZWV/cLxIQYMw/GhnBzKj9pqYCUroWypOU/Hr4Xy7lAuqR6j/7YTYhiKQ0J5s8UQS/KAWsmeM1sbaCvF97ollA+H8ieGviPEMAivCuXVNc+XNa/8eWv4WE5h9juhXGboK0IMrh0cyptCeZKtr00lWzb4sdxfhPI+Qx9tp2MfXinA3hnKI0L5rk2uVclKx88rv+asUPYI5T2G3iHE4NFBobw9lIeFssPW93tNq8vXnhHKTqOfrHcIMXizVyhvDeWAUO6z6dxdFQXWQQ2fU45Y5l4Qyp2hvN/QG4QYvHlpKPvb2gCrCx2dK7CuDOUToVxRneeODOUIi+G0zeqVI5w/Hsrl1fdFD9CxD09OCuV1HT/3glDOsfXB1eSxobw2lIdbc00suT2UXwnl/wzLxugkXHmXxX6wNgqWd4RylW3Mi0J5YfW4rZ/sg1XBcjE6CTeeEYrecPOO/NI3Q/n96rhR/2CxA/+MCZ/3nFAuNGpjS8cCcHjxfIv9YCr3V8cdxfEttrkASz5kMaB21PyMVHa3uLwJS0aIwYOjLa6DzEMllXT+gVC+ZbOj73elrQ/LvJxgWDpCDB5oPWRTeOn4dYsjkLN2vtUHZyrqjnm0YanoE1usfatyqK2dYKktYL5jaKI5XW2z8i+w+fhyKNdYnIrR1A+nFQP/Y1gaQmy+0p5W6jtJ+1o1UYh9IZSLLO5txVYw0YMtTntQP1g+WpgC5Z5QLrX50e/ikdl5OWK5LZTPGpaGEJsPhdfLq7JP9ZwuuvusfnsY0cV6UlXkXIsdzJfYuGmNZDkzP3/trrP5usraVwZMmvKBOSPEZkuB9RNVSRvy7ejwdXVNldOqon2t/tTitjBj9EBrD7F511jvtTjiuV91Xv6u9jQsFSE2OxpB+yOLfSTS9O497ULlUy3OkfoziyNmY6MQK5uSuTts/r5hcReLJg+y2GeHJSDEZuN5obzeYk0sr3l13XzPiq8pP19NzV8I5UCLs9bHZG9bDYhyOdCKbXznimkoRMsadf5zCbElIsQ2T3tNvbJ6XBdgyZaG5+o+t8mPWRwpe2Mo/2vjsN3am+S7bP5SiDX9ngiwJSLENkc3o1D/16R+r7L20LVmVvd1Wqj8mlDeZuOgJUD5gIjZ2tdvEet+97O13QPldj2E2BIRYhunGtHP2PoAK2tc+bl2VNAOCNdnH9ccKG0Hs1fD19d972dZrKH8uQ2fZuHXTa9I5/vZfO1lqyPLdb5tWCpCbGM0b+nXrNvIo2j5ijrlFV5NW8MoyE4P5dk1H6urgWjk8vM2/H2t1GxOAVK3YaH6zLSOsevvYloH2vpF5/nvgxBbMrbi2Zifs1gbkqYagmhU649tuqDRRfNiW50vlv+Muu//Bhv+TgqaLFz3N5peD21SOK/5YidafNNqMs+fjcnYimcDNLnx6TZ5a+TPhPLXNn3AqLn5XotLWc4sPlb2p+nCfq7FSbFDprWRqbldF+iHh3KDxWbnLOl3rdc49clZ9m9I57cblooQm572mWraGjldVJ+zeJuvzfhni02pny5+Tv5zRbWUj9qwa2Oa0JqWbNX1Gao5qeb4rGtE32f1v+tES57uNCwVITYd3ZziyVZ/h50UKuqI3myAJVqTp/3kT2/5HF3A2qDvfBsuTWhVjWf/ho/rd6DamGbWz6qPSpOXdX2kENtS8zOvNSwdITadx1n7O7O83WZL4aSR0KNbfuaRNnyqjTWN4Kbzx1jso+q6r34TBaJWXrQtd9JypEWsFsAE7Cc2Hd1pOt8Ur9woT6OFs9yYL7mg5WeqbAvloTZst1l8beteg+9WzylgtGvIwbYxaX+wQ2z9a1z+3FstBhmWjJpYd1o7p1GqfOZ2WSO40OYj39eqifqEhl4z+GooxxTP1dVMD7W4VEuL5rvem1JvAgovLSGqm52f/xx9z5sMvUCIdad397a5SBodm+ecId03UZ3bTbP9t4VymQ3bXRZrQOX2N3WrINIGlPoa/V7UCZ/PrFcrRG9Mmmemvs50LdT9jsvv/9+G3iDEutP8rbZ39S/bfGlfq1OK5/LBhb1tHFS70t9tvgVOOcBSLs5+hK0fgMlfO62/3FHzfB01abvW7rAAhFh3k2aFz3u/Ly0zart49rLxuNnibqv6++26FrXr57VRjY7O/J4hxLpTTadciGzZ+SI6eVUL2Mfqp3bMa9lNH6nmpNFK1Y4fUD3XtCNIXS2tLszq5uDlz2n7cOaE9RAh1p12U2gLihWbvzQy1vSxMdHsfI1Yqt/rwTY/+r1q0vFmp21gTgix7jQjvmmSqx4v6rXMl8Dk/5axhZioRqZmtkJMnfRlDaupb6tcQpR/bv7a6o1L4TXr5UyYIUKsOzUl2vqk5t2xrm2aNaLWFFbbbbzUlNfvRp34+d90l22N6qzY6r0l0XOEWHcaoq/bnC+9e+9r86V9x5q2SNbPH3tzR7Uy/Y70WuxWHRX6bf1hdef3V99rEd0DmAFCrDv1v7Q12TSMP899rTQRs61mcKtB8qb1Fus+cpkf4Qgh1p1qOuoXS+/yUvahKGi+YrOnOVGahV7OZcox9L/eom4kgiUixKajPb7alv4cZXHof9YdwVpqU96EJG8qKVy/YcAIsQB8Omqy7bDmxcFqTh5ls6WRt4Ns7QLk+23tYmQ25sNoURObzh1VaRuJVJNSI4W32eYpwJ5oMaiaJtnKvJc8jZ2a8tpH7nst/u4PrZ5Pr7/WZ15tcU3lJdU5FoQQm576vI5p+bj+sFUb0wjXZmpImi5wnK1Oq6ibnybauvkew6wpqH7E4m359MZU9q+VgwEnZOeXhnJedWTAZc64UcjGaM+qfTp8ntb4fc2mp++toGx7k0mB9p/GfQ9n6XiL9/U8vjpfyYpe8/JmvXm47Sqel49YvLUeYTYf2wmxjVGToqk2Vo4cKmD0B9xl9FDfV1M19rHJa/y2VN+Xi2M29Jq/2uLNkJOVmmNZG8vPFWJl0KVlS7pl318aZo0Q2wR1tmsBctMWMOU0DHXG649ZI4l5808z8bVkZt/qcd3kzJWa768mJvtazYZ27P1dW202mq0PrrwmtsXWBlhb2OVHveH8os2mvxQRIbZJqjXNaqZ+28zykgLsJhvneslZe2kov2zNgWTWPaS6fI0C7A8t3gsAm0eIbZI63RVkqkG1jR7WPdflcfl1qUZ3i7EoebPUfFSt6LTqvKmZ2DXAun5Oevw3ofytYbMIsRlQkGl/9nw7mEk1qSaTvk67KmhSKwG2Odpq/L22ekORjdSqys9rCqu2r/m4xU5/tvnZOEJshtQpv2fN83VbvDQtIq/7WPoaNR21Md9Ow2Y8M5TfsLVz/bqEkkaB1QTUqo18Xp6+j/pHNR3madXjuhBsOtcUmd8yVlxsFCE2Y5qxryCrWwnRtvVLUlcT03P3GrcHm4VXVKWpllWONMrHLDb9vm7dKMxeZvHu4fn3T9+z/BvQuWpi77Y4URbTIcTmZPeqpPWNTbWr/DyXPpaWFU0KP7TT/QfeHMrjq/O2ZmM6V43r96x7eJWeHcpLbHUEu0twnhPKBw3TIMTmbGtVyi1h2vq+9LGdtv4PHBuj5t3bLPZ/1QVW/iaTPn6uxb6qzdJ9St9g8XZ6dU1Vs/WBptvuqeb3TUMXhNgCTbOvFWbjZIsTWNOdoNpqXjqmSann2Wy9PJQftsk1snSu/rE/sPncTX5oCDEM1qtCOcMmB1c6ap2rguMGm4/nWlwN0DZ4kB81KVphepGhDSGGwVGt6zctdrC3TW/Ig+1LobzVYnDMk+5c/qsW7zhe/rukbjXA+aFcYGhCiGFQjgjl123tcrBJnfj/FMpf2eIowF5hce1tUx9Z+fy1FifGsnvveoQYBuP5FkcDNcWlS3NN0xrUgf5pW47n2frVAm1NX/WPvcfiXcixihDDIJxlMRSSSf1O6jh/iy1/gulTLO5XVq72aPu3fziUzxoSQgyuqY9Ji7e3WfPFXz53TSjvtPn3f3WlJWuvqY5dOv1FIfYRgxBicEtbRWv6RNlJnh7XhYBG+861/tk/lBdY3GyzSxDrqG193m/jvmmyEGJw6YdsdbqCdTiq/+vsUL5o/facUJ5VPe4yMKEA07y2ja4qGAJCDK6o01773p9SnTdd6PnFrpnv7zA/E0dVw1Q/2YOq86ZpIfl0jH8J5TM2ToQY3FCz8bWhPMrqw6quxvKvFtci9qX/qytdj2eGomuzrZaZ//+1ePxzNr77LRBicEFzqtT5vUd13tZflB4rvC42vzRiqeblcdX5pE5/lTtD+XuLWzaNBSGG3jvN2udTlU0s3b/gfTace3H+YFWk6f+fvwYKMjUvr7dxIMTQW+r/Ut/QU6vzuiU6lj2notvjnW3Dm9l+mMXBjPw2gW21UJVLbBz7kxFi6CXNmXqdrc6dStqaVKp9aLvnoW4eqRvSKNTT7fzMJjcxdTcs9QveZ8NFiKF3tCOqdkZNs9i7zJvSxM+xzGJX0/Jx1n1y712hXGhxm6EhIsTQK2oynVw9bqqB5eeaJ6WF0WO7gfATq9JlhFZHjVh+3uJt/oaGEEMvqNaljQOPtG7NRxXdv3HMM9bV1NbEWN2opG1CbP6xKyxuOzQkhBiWTvft/EmLf4Ndl9x8IZSPGhRgJ9ra186sPcxutnjnJm9z55oQYliq7w/lVIs1sbYLL52r015b5/y7Iad+xMdae40sP2oZlmb4DyHICDEsjbZr1vSJtostP6rZqAmsY14n2OZoix3+0vSGkL+euouWRi9vMN8IMSyc/t60Y8Ph1XkZWOlx/vxXQ/lHG9+Smmlpbt3TLa5s6PrmcJ35nhhMiGGhdPu0F1oMMlnpcPyPUD5p6EpBphrZQ6vzNCm43Ls/f6xlSrq7ucc5doQYFuYHLNYS8t0Z2o66oC4O5SrDRhxl7aO95ble7y+avyAjxLAQmgrwpOpx3Yhj+bzW/6n5OKaFzPNwiMUw280mj/imo+587mneHSGGudJSGfV/6U7YXZqOootIzUf6v2ZDI7+Pt1gD7vo7uCWUr5gPhBjm5lBbu2i5Sw1MC5YvNcyaamKPtrgnW9NcvLLPTM1KjV72fd0lIbYJujiPt9jXo2r791icfJhmUKsppHc07ayg+wbq4uz79sizonf+Z1q3d/60LEaLt28xzNOhVWn6PVjxvILsBut3PxkhtgHq29EGfdqoLwVWXUmjQvlzWoyr3Ra0IPdyGx41WbRAWVssd+mDEb0musP1UBco942u90eGsnt13uX3pLl5y769XRNCbAq6OevPWlwm0xRSdc83fZ6WfujmrVfYMCjQNYG1rclixfOao6TZ90PeKqaPHmhx5LIuyMpjeqw92nS/gl3WL4RYBweH8iZb3TWgLbxWNvCxi0L5O+vvO10Xeo108w5dHE2BVT6v/q+rDcvyAIsDLrpd3KS+ynSuWf7qHrnf+oMQm+DFobzSVpuNKcDKUMrP0+OymK0NwPyxqutnm89O7SdURdouhvSc1u1poz6WD/XDAbZae26rkaWjgky1snusHwixBnuFcpbF2eV1QbRik4NqUrCVn6Oj5kZ9yHxQU0STV/O7D9mE47ctbl54t6FPNA1DtbJyPlnTUUUDV3fZ8hFiNbQ05rctDknXBVXeJ7Cr4WMrmyi67dY51u8dBhTyJ1dHmdR81FH9X1dafCdH/yjA8iBrqlVb9nGNWn6n+JxFI8QK2tLkl0J5mK3/hXUJqruroscHNHztSsvXp6IO1HdZP294oSF67T6hmljTu3T5WIMX1xk8UB5o/eWk32067rQYZMvq8CfEMhp9/Clrbzqm59JRgaXm0dVVKWtPCjI1tzRv6inVc02BWIajvte5oVxm/aE9q46tHk9qboheH40+3mnwRLtglDvGNh1TUR/ZMmrZhJjFd52zQjnJ6mtFsqs415ymj1ela7NPgfZki9MQ8iA0a6/hafTyU7ZcqnU9zWINVZr+qPV/SDO/v2XD2kF0bDR6qSBLv09rOabHmiqz6CAbfYjponyjrTYfuxTdcGEzfVYa0tZ+8gdX502d/nlt7ZpQPmbLqdHo70O1yD2y5+r+nfmylRuN3SeGYKvF3/uW6rypSZl/bIetDbd5G3WIaZnQ6y3+ktr6ufJ+LO0s+kmbDe3scKK1N13zn6+dTT9gi93ZQTO71YTc3Sb/AYveibWA28viYXSj3/8Dqsd1te70fHm9LMJoQ+z0qkhbky6dq2mkO+vMegdMNS+fYWsnibYVjQbpJhmLWLKkvq9t2Xn+2lj2OJ3fU/27+jDsjtnbWhUpgyt/btFGF2Lq/zrTVm8+Km3zvlS0KPlsi3Oc5kGv/4ts/W4PbUWTYufV4a85Q8fZ6s6gXZoQqiVqBLJPM7kxH3ntqw9GFWK6KH/eVpdZdCmas3WBzZ/23dLE0SNsfS1wpeE51Q7VtJ3lxFEFqUZS092HrPg35OfpeKPRfMTyjCbEtF2ONudLN1BoCoa82fYpi8tjFknrM59ga0OjaamTikZJdeutWdxAVv1fR9f8XLP6JoP6v240lg9huUYRYqdZrOWUneZN4aBA0Ojjsi5OrRTQdj/5zOmy6Wu2GsA6/lco19vG6OccHsph1lz7KsNT+39daey+iuUbdIipSfQyi53Tbf1f6XnRrcHUfFz25Ewt5znRYh9eOUetaU3mjTb9rhDa/+vY6uckdUGWP6dVBDcY/V/oh8GGmNY/vsRip3lTf5fkIaBbg11s/aFhbS2DSjtxdimau6bdY7vUkNQPp5tI1O29LuVopI66gQS7r6JPBhli6v/S1siattBlRrz6v9Sv1Ne9rRQ026rHXYJMUx00ObZtMq5C/vDse+bHuvk/Wh+n5iq7r6JvBhdiJ9nq5oWT+pFEE0fPs/7PbdKSJfWVqdZULllqWsKkGtNtxffRhEV14JcrFHJlh75CUaOP7L6KPtq+mw2DmkbqwNfFmS62uos8DzNd5J8wH53Tmk6hWtBjbO3s+baSdtHQjrH6v6tmelR1TP1ZeYit1DynQY5bbXk7FAATDaEmpov1VItznCbtqprOLzefN+pQTUprLsuJqG1Fa9kURodVX98WWvnxduvnVkBAzn1NTOv6nlo9Vo1q0gWtWpqW7dxsPqlvSnuc6/9at19ZXlLtSYF3uMWa3L1W34mfB5leIwUYu0/ABa8hpiaVJoVqekBqPpYXb9mRr4v40zaMi1ObJqo/70BbrV2l/3sKoy3VxzV9QuGX+tPy/385AqlwVD8a0yfghscQ0xyqEyw2gSfVvkQXquZ/fcmGtTWywlv9VVpGlU+M3VWd69ZyCrh7be1ronBLr0P+OikUaT7CHW8hpo577fqgf7cu4i59Qtp54lobJtWwVCtTsKcOf21kpyakalNp0CKvpaUpE3mzUovbmT4BlzyFmKYYaHeF1LfVpUNbnfdjqF1oEbhCTM1HhVi67fyurEjZ5FTQ6fXh5h1wy0OI6d+ovi/Nb8prFnn/Vxlgmvel5uO9Ng5qIqpZqf2eNK+rfG3yY3qsNwItr9ppgGN9DzGtfzze4u4TuuiaOu3zi1bzv9QHNpbOadXA1HxU/1f+f26aOiEKOpqPGIQ+h5j6vzS5UxfnNB34t9l4aORx7+px6ufKX5Mkf43U9GT2PQajryH2qKroossvzqbmo0JOATamrZHVmV93fwArjnmAaXoFzUcMSt9CTLWuYyzOvk/9X5Puqq2mkQJsLLUL9Xul0cgUSCstxzQamU90BQajTyGmNX0KMF2c6bZP5brH8uLUyNrtNh4KeQWYOvLzGqrZ+mZkPkrL5FUMVl9CTBNXD6ke59MnpNwEUHQBK8DGdGdphXuadd8WXPnzO43mIwauDyGmva00PUAXm2oMk+Z/6XM0wXMszUfVuvR7Ss3HtqZjOpbzwYDBWmaI6WdrcmY5faJu2kQ61+fdYeO6OHevjingk7qRyLo5YcCgLSvEdGE+3NZPnzBbX/NKNQp1TM/y9mQe6PWp6w/Mj8CoLSPE1DGtuU3l9Immos9T0I1tbpOakXV33QaQWXSIpblNdX1fbXvgj/EiJriADhYVYprbtGd1bFu8XS5UpnMaQKtFhJiCS2sgFUhpvlLdvRPN6O8BMKV5h9hWW7/3lxlhBWBG5h1iacY4YQVgLhYRYgAwN1sNABwjxAC4RogBcI0QA+AaIQbANUIMgGuEGADXCDEArhFiAFwjxAC4RogBcI0QA+AaIQbANUIMgGuEGADXCDEArhFiAFwjxAC4RogBcO3/AUFDa0bQka+AAAAAAElFTkSuQmCC";class Qt{constructor(){this.params=void 0,this.params={}}apply(e){return!0}}class Xt{constructor(e){this.params=void 0,this.params=e}apply(e){var t;const n="storefront"===(null===this||void 0===this||null===(t=this.params)||void 0===t?void 0:t.listingType)?T.SUPPORTED_TOKEN_LIST:T.SUPPORTED_NON_DAPPER_TOKENS;for(let o=0;o<n.length-1;o++){var r,i;const t=n[o];if(null!==e&&void 0!==e&&null!==(r=e.tokens)&&void 0!==r&&null!==(i=r[this.params.flowty.tokens.getTokenIdentifier(t)])&&void 0!==i&&i.receiverPath||e.isMain)return!0}return!1}}class Jt{constructor(e){this.params=void 0,this.params=e}apply(e){var t,n,r;return((null===e||void 0===e||null===(t=e.tokens)||void 0===t||null===(n=t[this.params.tokenIdentifier])||void 0===n||null===(r=n.providerPaths)||void 0===r?void 0:r.length)||0)>0}}class $t{constructor(e){this.params=void 0,this.params=e}apply(e){return this.params.includes(e.address)}}const en=e=>{let{selected:t,setSelected:n,selectorFilter:r=new Qt,label:o,disabledMessage:s,description:l,summaries:c,listingType:u}=e;const d=(0,i.useMemo)((()=>Object.values(c||{}).reduce(((e,t)=>{const n=(null===t||void 0===t?void 0:t.isDapper)&&("loan"===u||"rental"===u||"acceptOffer"===u);return!(null!==r&&void 0!==r&&r.apply(t))&&!t.isMain||n?{invalid:[t,...e.invalid],valid:e.valid}:{invalid:e.invalid,valid:[t,...e.valid]}}),{invalid:[],valid:[]})),[c,r,u]);function h(e){({...e}).target.src=Kt}return(0,i.useEffect)((()=>{d.valid.reduce(((e,n)=>(null===t||void 0===t?void 0:t.address)===n.address||e),!1)||null===n||void 0===n||n(d.valid[0])}),[r.params,d,u,c]),!t||!n||Object.values(c||{}).length<=1?null:(0,a.jsxs)("div",{className:"w-full flex flex-col justify-between gap-3","data-testid":"wallet-selector",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white","data-testid":"wallet-selector-title",children:o}),(0,a.jsxs)(Gt.A,{className:"relative w-full",children:[(0,a.jsx)(Gt.A.Button,{className:"w-full","data-testid":"wallet-selector-btn-open",children:e=>{var n,r;let{open:i}=e;return(0,a.jsxs)("div",{className:"flex gap-2 font-bold font-montserrat-bold bg-[#606E7D33] border border-[#FFFFFF1F] hover:bg-[#606E7D4D] rounded-md px-1 md:px-3 py-1 items-center justify-around md:justify-between group text-[#F8F9FA] ".concat(i&&"border-[#FFFFFF7A]"),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,a.jsxs)("div",{className:"flex gap-1 items-center whitespace-nowrap w-4/5",children:[(0,a.jsx)("img",{onError:h,src:(null===t||void 0===t||null===(n=t.display)||void 0===n?void 0:n.thumbnail)||"",alt:"Wallet Icon",className:"h-6 w-6 content-fit rounded-md"}),(0,a.jsx)("span",{className:"p-1 font-bold font-montserrat-bold text-nowrap text-white overflow-hidden text-ellipsis",children:(null===t||void 0===t||null===(r=t.display)||void 0===r?void 0:r.name)||t.address||""})]}),(0,a.jsx)(Yt,{isMainWallet:t.isMain})]}),(0,a.jsx)(U.A,{className:"h-7 w-7 text-white transition-transform duration-300  ".concat(i&&"rotate-180 transform")})]})}}),(0,a.jsxs)(Gt.A.Panel,{"data-testid":"wallet-selector-panel",className:"absolute z-10 bg-[#232D39] rounded-md mt-2 p-2 text-[12px] border border-[#FFFFFF7A] overflow-hidden w-full",children:[null===d||void 0===d?void 0:d.valid.map((e=>{var t,r;return(0,a.jsxs)(Gt.A.Button,{as:"div",onClick:()=>{n(e)},className:"cursor-pointer w-full px-3 py-1 hover:bg-[#6C757D40] hover:text-white flex justify-between items-center transition-all ease-in-out duration-300 rounded-md","data-testid":"wallet-selector-wallet-item",children:[(0,a.jsxs)("div",{className:"flex items-center whitespace-nowrap w-4/5",children:[(0,a.jsx)("img",{onError:h,src:null===e||void 0===e||null===(t=e.display)||void 0===t?void 0:t.thumbnail,alt:"Wallet Icon",className:"h-6 w-6 content-fit rounded-md"}),(0,a.jsx)("span",{className:"p-1 md:p-2 font-bold font-montserrat-bold text-nowrap text-white overflow-hidden text-ellipsis",children:(null===e||void 0===e||null===(r=e.display)||void 0===r?void 0:r.name)||(null===e||void 0===e?void 0:e.address)||""})]}),(0,a.jsx)(Yt,{isMainWallet:e.isMain})]},e.address)})),d.invalid.map(((e,t)=>{var r,i;return(0,a.jsxs)("div",{children:[(0,a.jsxs)(Gt.A.Button,{"aria-disabled":!0,as:"div",onClick:()=>{n(e)},className:"cursor-not-allowed w-full px-3 py-1 flex items-center justify-between opacity-50","data-testid":"wallet-selector-wallet-item",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("img",{onError:h,src:null===e||void 0===e||null===(r=e.display)||void 0===r?void 0:r.thumbnail,alt:"Wallet Icon",className:"h-7 w-7 md:h-8 md:w-8 content-fit rounded-md"}),(0,a.jsx)("span",{className:"p-1 md:p-2 font-bold font-montserrat-bold text-nowrap text-white overflow-hidden text-ellipsis",children:(null===e||void 0===e||null===(i=e.display)||void 0===i?void 0:i.name)||(null===e||void 0===e?void 0:e.address)||""})]}),(0,a.jsx)(Yt,{isMainWallet:e.isMain})]}),t===d.invalid.length-1&&s?(0,a.jsx)("div",{className:"w-full border-t border-gray-500 h-8 text-danger text-xs grid place-items-center",children:s}):null]},e.address)}))]})]}),l&&(0,a.jsx)("div",{className:"text-sm py-1",children:l})]})},tn="Disabled wallets not setup to receive token type.",nn="Disabled wallets may not have token provider setup.",rn="Disabled wallets may not be setup to receive NFT";var on=n(4377),an=n.n(on);const sn=e=>{if(!e)return"0 Days";const t=Number(e);if(t/60<60)return"".concat((t/60).toFixed(2)," Mins");if(t/3600<24)return"".concat((t/3600).toFixed(1)," Hrs");const n=t/86400;return"".concat(n.toFixed(0)," ").concat(n>1?"Days":"Day")};function ln(e,t){var n;const r=null!==(n=null===t||void 0===t?void 0:t.shouldUseDecimals)&&void 0!==n&&n;if(!e)return"";const i=Math.round(100*e)/100;switch(!0){case String(i.toFixed(2)).replace(/\./g,"").length<6||e<1:return an()(i).format(r?"0,0.00":"0,0");case String(i.toFixed(2)).replace(/\./g,"").length<9:const t=i/1e3;return"".concat(an()(t).format("0,0.00"),"K");case String(i.toFixed(2)).replace(/\./g,"").length>=9:const n=i/1e6;return"".concat(an()(n).format("0,0.00"),"M");default:return""}}function cn(e){return"OTM"===e.toUpperCase()?"OTM's True Value model":e}function un(e){return"OTM"===e.toUpperCase()?"https://www.otmnft.com/nbatopshot/articles/introducing-otm-true-value-account-valuation":"404"}function dn(e){const t=e.split(",");return t.length>1?"blended":t[0]}const hn=async(e,t)=>{try{const r=await fetch(e);if(!r.ok){return t("FETCH_ERROR",{message:await r.text(),status:r.status,url:e}),null}const i=await r.text();try{return JSON.parse(i)}catch(n){return t("JSON_PARSE_ERROR",{jsonError:n,message:i,url:e}),null}}catch(r){return t("FETCH_JSON_ERROR",{err:r,url:e}),null}},pn={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK,fn={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK;var mn=n(73682);const gn={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK,vn="mainnet"===(new Wt.FlowtyBuilder).withNetwork("mainnet").withCrescendo(!0).build().config.network,Cn=248500,yn=25e4,bn=e=>e?1:0,wn=e=>e?1:0,xn=e=>e?1:1e-4,An=180,En=e=>!e,_n=e=>{let{activeTab:t,loanStep:n,rentStep:r,isDelist:i,isLoading:o,error:a,sealed:s,existingLoanOrder:l,existingRentalOrder:c,isAcceptOffer:u,isSelectedOffer:d,existingPurchaseOrder:h,isUpdateListing:p}=e;switch(t){case"1":return!i.sale||o.delist||a.delist||s.delist?o.acceptOffer?"ACCEPTING OFFER":o.sale?"SUBMITTING LISTING":o.delist?"DELISTING ITEM":a.sale||a.delist||a.acceptOffer?"TRY AGAIN":s.sale||s.acceptOffer||s.delist?"VIEW ITEM":u||d?"ACCEPT OFFER":h&&!p?"EDIT LISTING":"SUBMIT LISTING":"CONFIRM DELIST";case"2":return 1===n?!i.loan||a.delist||s.delist?o.delist?"DELISTING ITEM":a.delist?"TRY AGAIN":!l||p||s.delist?s.delist?"VIEW ITEM":"NEXT":"ADD LISTING":"CONFIRM DELIST":o.loan?"SUBMITTING LISTING":a.loan||a.delist?"TRY AGAIN":s.loan?"VIEW ITEM":"SUBMIT LISTING";case"3":return 1===r?!i.rent||a.delist||s.delist?o.delist?"DELISTING ITEM":a.delist?"TRY AGAIN":!c||p||s.delist?s.delist?"VIEW ITEM":"NEXT":"ADD LISTING":"CONFIRM DELIST":o.rent?"SUBMITTING LISTING":o.delist?"DELISTING ITEM":a.rent||a.delist?"TRY AGAIN":s.rent?"VIEW ITEM":"SUBMIT LISTING";case"4":return o.transfer?"TRANSFERRING":a.transfer?"TRY AGAIN":s.transfer?"VIEW ITEM":"SUBMIT TRANSFER";default:return"ERROR"}},Tn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isDelist:i,error:o,sealed:a,existingLoanOrder:s,existingRentalOrder:l,isAcceptOffer:c,existingPurchaseOrder:u,isUpdateListing:d,selectedOffer:h,values:p,selectedOrder:f,transferWalletSelected:m,isMainnet:g,setFormError:v,submitOfferTransaction:C,submitDelistTransaction:y,setIsUpdateListing:b,redirectToAssetPage:w,submitTransaction:x,changeLoanStep:A,changeRentStep:E}=e;const _=wn(g),T=bn(g),S=xn(g);switch(t){case"1":return(c||o.acceptOffer||Boolean(h))&&!a.acceptOffer?C:!o.delist&&!i.sale||a.delist?!u||d||a.acceptOffer||a.delist?!(null===p||void 0===p||!p.storefrontListingDuration||+(null===p||void 0===p?void 0:p.storefrontListingDuration)<S||+(null===p||void 0===p?void 0:p.storefrontListingDuration)>An||null===p||void 0===p||!p.saleListingValue||+(null===p||void 0===p?void 0:p.saleListingValue)<.01||+(null===p||void 0===p?void 0:p.saleListingValue)>1e7)||a.acceptOffer||a.delist?a.sale||a.acceptOffer||a.delist?w:x:v:()=>b(!0):()=>{var e;return y((null===(e=f.purchase)||void 0===e?void 0:e.listingResourceID)||"",(null===f||void 0===f?void 0:f.purchase)||null)};case"2":return 1===n?!o.delist&&!i.loan||a.delist?!s||d||a.delist?(null===p||void 0===p||!p.amountToBorrow||+(null===p||void 0===p?void 0:p.amountToBorrow)<.1||+(null===p||void 0===p?void 0:p.amountToBorrow)>Cn||null===p||void 0===p||!p.amountToRepay||+(null===p||void 0===p?void 0:p.amountToRepay)<.1||+(null===p||void 0===p?void 0:p.amountToRepay)>yn||""===(null===p||void 0===p?void 0:p.loanDuration)||+(null===p||void 0===p?void 0:p.loanDuration)<T||+(null===p||void 0===p?void 0:p.loanDuration)>365||+(null===p||void 0===p?void 0:p.listingDuration)<S||+(null===p||void 0===p?void 0:p.listingDuration)>An||(null===p||void 0===p?void 0:p.amountToRepay)<=(null===p||void 0===p?void 0:p.amountToBorrow))&&!a.delist?v:a.delist?w:A:()=>b(!0):()=>{var e;return y((null===(e=f.fundLoan)||void 0===e?void 0:e.listingResourceID)||"",(null===f||void 0===f?void 0:f.fundLoan)||null)}:a.loan?w:x;case"3":return 1===r?!o.delist&&!i.rent||a.delist?!l||d||a.delist?(""===(null===p||void 0===p?void 0:p.rentalDuration)||+(null===p||void 0===p?void 0:p.rentalDuration)<_||+(null===p||void 0===p?void 0:p.rentalDuration)>375||null===p||void 0===p||!p.rentalFee||+(null===p||void 0===p?void 0:p.rentalFee)<.01||+(null===p||void 0===p?void 0:p.rentalFee)>5e4||null===p||void 0===p||!p.rentalListingDuration||+(null===p||void 0===p?void 0:p.rentalListingDuration)<S||+(null===p||void 0===p?void 0:p.rentalListingDuration)>An||null===p||void 0===p||!p.refundableDeposit||+(null===p||void 0===p?void 0:p.refundableDeposit)<.01||+(null===p||void 0===p?void 0:p.refundableDeposit)>1e6)&&!a.delist?v:a.delist?w:E:()=>b(!0):()=>{var e;return y((null===(e=f.fundRental)||void 0===e?void 0:e.listingResourceID)||"",(null===f||void 0===f?void 0:f.fundRental)||null)}:a.rent?w:x;case"4":return null!==p&&void 0!==p&&p.transferReceiver||m?a.transfer?w:x:v;default:return()=>{}}},Sn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isLoading:i,isAcceptOffer:o,selectedOffer:a,isDapper:s,openSearchFlowNFT:l,existingPurchaseOrder:c,orderFromChildAccount:u,isCatalog:d,isDelist:h,privateRentInvalidAddress:p}=e;switch(t){case"1":const{sale:e,delist:t,acceptOffer:f}=i,{bestNonCustodialOffer:m,bestDapperOffer:g}=l||{},v=s?g:m;return Boolean(e||t||f||(o||Boolean(a))&&!v||c&&u&&!o||s&&a&&!(null!==a&&void 0!==a&&a.paymentTokenName.includes(T.SupportedTokens.DUC)));case"2":return 1===n?Boolean(i.delist||!d||s||h.loan&&u):i.loan;case"3":return 1===r?Boolean(i.delist||!d||s||p||h.rent&&u):i.rent;case"4":return i.transfer;default:return!1}},kn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isLocked:i,isDelist:o,sealed:a,isAssetDetailPage:s,isDapper:l,hasProvider:c}=e;switch(t){case"1":return!c||i&&!o.sale||(a.sale||a.delist||a.acceptOffer)&&s;case"2":return 1===n?!c||(a.loan||a.delist)&&s:a.loan&&s;case"3":return 1===r?!c||(a.rent||a.delist)&&s:a.rent&&s;case"4":return!c||l||a.transfer&&s;default:return!0}},Pn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isDelist:i,error:o,sealed:a,isDapper:s,isLocked:l,existingLoanOrder:c,existingRentalOrder:u,isAcceptOffer:d,isSelectedOffer:h,isSingleOrder:p,hasProvider:f,existingPurchaseOrder:m,isUpdateListing:g}=e;switch(t){case"1":return!d||a.acceptOffer||h?!m||i.sale||g||o.delist||h||!f||a.acceptOffer?!i.sale||o.delist||a.delist||p?a.sale||!f||a.delist||a.acceptOffer||l?"CLOSE":g?"BACK":"CANCEL":"BACK":"DELIST":"BACK";case"2":return 1===n?!c||i.loan||g||o.delist||a.delist?!c&&!i.loan||o.delist||a.delist||p?a.transfer||!f||a.delist?"CLOSE":"CANCEL":"BACK":"DELIST":a.loan?"CLOSE":"BACK";case"3":return 1===r?!u||i.rent||g||o.delist||a.delist?!i.rent&&!u||o.delist||a.delist||p?a.transfer||!f||a.delist||s?"CLOSE":"CANCEL":"BACK":"DELIST":a.rent?"CLOSE":"BACK";case"4":return a.transfer||!f||s?"CLOSE":o.transfer?"BACK":"CANCEL";default:return"ERROR"}},Dn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isDelist:i,error:o,sealed:a,existingLoanOrder:s,existingRentalOrder:l,isAcceptOffer:c,hasProvider:u,existingPurchaseOrder:d,isUpdateListing:h,isSingleOrder:p,selectedOffer:f,setError:m,updateIsDelist:g,cancelIsDelist:v,setIsUpdateListing:C,setIsAcceptOffer:y,setLoanStep:b,setRentStep:w,onCloseModal:x}=e;switch(t){case"1":return!c||a.acceptOffer||f?!d||i.sale||h||Boolean(f)||!u||a.acceptOffer?!i.sale||o.delist||a.delist||p?h&&!a.sale&&u?()=>{m((e=>({...e,sale:!1}))),C(!1)}:()=>x():()=>v("sale"):()=>g("sale"):()=>{m((e=>({...e,acceptOffer:!1}))),y(!1)};case"2":return 1===n?!s||i.loan||h||a.delist||p?!i.loan||o.delist||a.delist||p?!s||o.delist||a.delist||p?()=>x():()=>C(!1):()=>v("loan"):()=>g("loan"):a.loan?()=>x():()=>{m((e=>({...e,loan:!1}))),b(1),w(1)};case"3":return 1===r?!l||i.rent||h||a.delist||p?!i.rent||o.delist||a.delist||p?!l||o.delist||a.delist||p?()=>x():()=>C(!1):()=>v("rent"):()=>g("rent"):a.rent?()=>x():()=>{m((e=>({...e,rent:!1}))),b(1),w(1)};case"4":return o.transfer?()=>{m((e=>({...e,transfer:!1})))}:()=>x();default:return()=>{}}},Nn=e=>{let{activeTab:t,loanStep:n,rentStep:r,isLoading:i,sealed:o}=e;switch(t){case"1":return i.sale||i.delist||i.acceptOffer;case"2":return 1===n?i.delist:!o.loan&&(i.delist||i.loan);case"3":return 1===r?i.delist:!o.rent&&(i.delist||i.rent);case"4":return i.transfer;default:return!1}},Fn={activeTab:"1",blendedLTV:null,childAccounts:void 0,closeBtnProps:{onClick:()=>{},text:""},collectionDisplayName:null,collectionImage:null,confirmBtnProps:{onClick:()=>{},text:""},createTransactionNotification:()=>{},error:{loan:!1,rent:!1,sale:!1,transfer:!1},existingPurchaseOrder:void 0,hasChildAccounts:!1,hasNftReceiver:new Qt,hasProvider:!1,isCatalog:!1,isChildAccountAsset:!1,isDapper:!1,isDelist:{loan:!1,rent:!1,sale:!1,transfer:!1},isFormError:{loan:!1,rent:!1,sale:!1,transfer:!1},isLoading:{loan:!1,rent:!1,sale:!1,transfer:!1},isLocked:!1,isMainnet:!1,isUpdateListing:!1,listingType:"storefront",loanFormValues:{amountToBorrow:0,amountToRepay:0,listingDuration:0,loanDuration:0},loanStep:1,mainAccount:void 0,mixPanelFn:()=>{},nftOwnerAccountSummary:void 0,onCloseModal:()=>{},onTabChange:e=>{},orderFromChildAccount:!1,privateRentInvalidAddress:!1,rentStep:1,royaltyRate:0,saleFees:void 0,sealed:{loan:!1,rent:!1,sale:!1,transfer:!1},selectedAccount:void 0,selectedOrder:{fundLoan:null,fundRental:null,purchase:null},setPrivateRentInvalidAddress:()=>{},setSelectedAccount:()=>{},setSelectedOrder:()=>{},setTransferInvalidAddress:()=>{},setTransferWalletSelected:()=>{},spotPrice:void 0,strapiUrl:"",submitDelistTransaction:()=>{},submitTransaction:()=>{},transactionID:null,transferInvalidAddress:!1,transferReceiver:"",transferWalletSelected:"",updateSelectedOrder:()=>{},valuationData:{percentage:null,source:"",usdValue:0}},In={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK,Rn=(0,i.createContext)(Fn),Mn=e=>{var t,n,r,o,s;let{accountSummaries:l,addressesWithCollectionPublic:c,children:u,createTransactionNotification:d,collectionDisplayName:h,initialListingType:p,hasProvider:f,mainAccount:m,collectionImage:g,nftProviderPathIdentifier:v,openSearchFlowNFT:C,flowNft:y,nftOrders:b,singleAction:w,singleOrder:x,selectedOffer:A,onClose:E,mixPanelFn:_,resetForm:S,spotPrice:k,strapiUrl:P,values:D,valuation:N,isLoadingValuation:F,flowty:I}=e;const[R,M]=(0,i.useState)("loan"===p||"delistLoan"===w?"2":"rent"===p||"delistRental"===w?"3":"transfer"===p?"4":"1"),[O,j]=(0,i.useState)(1),[L,B]=(0,i.useState)(1),[U,V]=(0,i.useState)(m||Object.values(l||{})[0]),[H,z]=(0,i.useState)(null),[Z,W]=(0,i.useState)({loan:!1,rent:!1,sale:!1,transfer:!1}),[q,G]=(0,i.useState)({loan:!1,rent:!1,sale:!1,transfer:!1}),[Y,K]=(0,i.useState)({loan:!1,rent:!1,sale:!1,transfer:!1}),[Q,X]=(0,i.useState)({loan:!1,rent:!1,sale:!1,transfer:!1}),[J,$]=(0,i.useState)({loan:"delistLoan"===w,rent:"delistRental"===w,sale:"delistSale"===w,transfer:!1}),[ee,te]=(0,i.useState)("loan"===p||"rent"===p),[ne,re]=(0,i.useState)(""),[ie,oe]=(0,i.useState)({fundLoan:"delistLoan"===w?x:(null===b||void 0===b||null===(t=b.loan)||void 0===t?void 0:t[0])||null,fundRental:"delistRental"===w?x:(null===b||void 0===b||null===(n=b.rental)||void 0===n?void 0:n[0])||null,purchase:"delistSale"===w?x:(null===b||void 0===b||null===(r=b.storefront)||void 0===r?void 0:r.find((e=>e.listingType.includes("NFTStorefrontV2.ListingAvailable"))))||null}),[ae,se]=(0,i.useState)(Boolean(A)),le=(0,i.useMemo)((()=>{var e,t,n;return"1"===R?(null===(e=ie.purchase)||void 0===e?void 0:e.flowtyStorefrontAddress)!==(null===m||void 0===m?void 0:m.address):"2"===R?(null===(t=ie.fundLoan)||void 0===t?void 0:t.flowtyStorefrontAddress)!==(null===m||void 0===m?void 0:m.address):(null===(n=ie.fundRental)||void 0===n?void 0:n.flowtyStorefrontAddress)!==(null===m||void 0===m?void 0:m.address)}),[x,m,R,ie]),ce=null===U||void 0===U?void 0:U.isDapper,ue=null===l||void 0===l?void 0:l[null===C||void 0===C?void 0:C.owner],de=(null===ue||void 0===ue?void 0:ue.address)!==(null===m||void 0===m?void 0:m.address),he=(0,i.useMemo)((()=>Object.values(l||{}).length>1),[l]),pe=he&&(null===m||void 0===m?void 0:m.isDapper),fe=he&&(null===ue||void 0===ue?void 0:ue.isDapper),me=he&&pe&&!(null!==ue&&void 0!==ue&&ue.isDapper),ge=(0,i.useMemo)((()=>Object.values(l||{}).filter((e=>e.address!==(null===m||void 0===m?void 0:m.address)))),[l,m]),ve=(0,i.useMemo)((()=>Object.values(l||{}).filter((e=>e.address!==(null===C||void 0===C?void 0:C.owner)))),[l,C]),Ce=(null===U||void 0===U?void 0:U.address)||(null===C||void 0===C?void 0:C.owner),ye="mainnet"===I.config.network,be="A.".concat((ye?"0x0b2a3299cc857e29":"0x877931736ee77cff").substring(2),".TopShot.NFT"),we=e=>z(e),xe=ce&&null!==C&&void 0!==C&&C.bestDapperOffer?null===C||void 0===C?void 0:C.bestDapperOffer:!ce||null!==C&&void 0!==C&&C.bestDapperOffer?!ce&&null!==C&&void 0!==C&&C.bestNonCustodialOffer?null===C||void 0===C?void 0:C.bestNonCustodialOffer:null===C||void 0===C?void 0:C.bestDapperOffer:null===C||void 0===C?void 0:C.bestNonCustodialOffer,Ae=async()=>{await(async e=>{let{listingType:t,openSearchFlowNFT:n,values:r,ftPrivatePathIdentifier:i="",nftProviderPathIdentifier:o,ftReceiverAddress:a,txAvailableCallback:s,setIsLoading:l,setError:c,setIsSealed:u,mixPanelFn:d,transferWalletSelected:h,flowty:p}=e;switch(t){case"storefront":try{var f,m;if(l((e=>({...e,sale:!0}))),c((e=>({...e,sale:!1}))),u((e=>({...e,sale:!1}))),gn)return s("mockTxId"),void setTimeout((()=>{l((e=>({...e,sale:!1}))),"ERROR_TYPE_MOCK"!==n.type?u((e=>({...e,sale:!0}))):c((e=>({...e,sale:!0})))}),3e3);const e=p.tokens.getTokenInfo(null===r||void 0===r?void 0:r.tokenType),t=await p.createStorefrontListing({buyer:null,expiry:Number(r.storefrontListingDuration),ftReceiverAddress:a,nftData:{contractAddress:null===n||void 0===n?void 0:n.contractAddress,contractName:null===n||void 0===n?void 0:n.contractName,id:null===n||void 0===n?void 0:n.id.toString(),nftOwner:null===n||void 0===n?void 0:n.owner,type:null===n||void 0===n?void 0:n.type},nftProviderPathIdentifier:o,salePrice:Number(null===r||void 0===r?void 0:r.saleListingValue),token:e,txAvailableCallback:s});if(4===(null===t||void 0===t?void 0:t.status))return u((e=>({...e,sale:!0}))),l((e=>({...e,sale:!1}))),void d("Successful storefront listing transaction",{expiry:Number(r.storefrontListingDuration),listingData:n,salePrice:Number(null===r||void 0===r?void 0:r.saleListingValue),token:null===r||void 0===r?void 0:r.tokenType});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(f=t.toString())&&void 0!==f&&f.includes("Error")||null!==t&&void 0!==t&&null!==(m=t.toString())&&void 0!==m&&m.includes("Declined"))throw new Error(t)}catch(x){c((e=>({...e,errorMessage:(0,T.getMessageFromError)(x),sale:!0}))),l((e=>({...e,sale:!1}))),d("Error storefront listing transaction",{err:x,expiry:Number(r.storefrontListingDuration),listingData:n,salePrice:Number(null===r||void 0===r?void 0:r.saleListingValue),token:null===r||void 0===r?void 0:r.tokenType})}break;case"loan":try{var g,v;if(l((e=>({...e,loan:!0}))),c((e=>({...e,loan:!1}))),u((e=>({...e,loan:!1}))),gn)return s("mockTxId"),void setTimeout((()=>{l((e=>({...e,loan:!1}))),"ERROR_TYPE_MOCK"!==n.type?u((e=>({...e,loan:!0}))):c((e=>({...e,loan:!0})))}),3e3);const e=p.tokens.getTokenInfo(null===r||void 0===r?void 0:r.tokenType),t=await p.createLoanListing({ftPrivatePathIdentifier:i,ftReceiverAddress:a,loanAmount:+(null===r||void 0===r?void 0:r.amountToBorrow),loanAutoRepaymentEnabled:null===r||void 0===r?void 0:r.loanEnableAutoRepayment,loanDuration:+(null===r||void 0===r?void 0:r.loanDuration),loanExpiresAfterDays:Number(r.listingDuration),loanInterestRate:+(null===r||void 0===r?void 0:r.amountToRepay)/+(null===r||void 0===r?void 0:r.amountToBorrow)-1,nftData:{contractAddress:null===n||void 0===n?void 0:n.contractAddress,contractName:null===n||void 0===n?void 0:n.contractName,id:null===n||void 0===n?void 0:n.id.toString(),nftOwner:null===n||void 0===n?void 0:n.owner,type:null===n||void 0===n?void 0:n.type},nftProviderPathIdentifier:o,token:e,txAvailableCallback:s});if(4===(null===t||void 0===t?void 0:t.status))return u((e=>({...e,loan:!0}))),l((e=>({...e,loan:!1}))),void d("Successful loan listing transaction",{listingData:n,loanAmount:null===r||void 0===r?void 0:r.amountToBorrow,loanAutoRepaymentEnabled:null===r||void 0===r?void 0:r.loanEnableAutoRepayment,loanDuration:null===r||void 0===r?void 0:r.loanDuration,loanExpiresAfterDays:30,loanInterestRate:+(null===r||void 0===r?void 0:r.amountToRepay)/+(null===r||void 0===r?void 0:r.amountToBorrow)-1,token:null===r||void 0===r?void 0:r.tokenType});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(g=t.toString())&&void 0!==g&&g.includes("Error")||null!==t&&void 0!==t&&null!==(v=t.toString())&&void 0!==v&&v.includes("Declined"))throw new Error(t)}catch(x){c((e=>({...e,errorMessage:(0,T.getMessageFromError)(x),loan:!0}))),l((e=>({...e,loan:!1}))),d("Error loan listing transaction",{err:x,listingData:n,loanAmount:null===r||void 0===r?void 0:r.amountToBorrow,loanAutoRepaymentEnabled:null===r||void 0===r?void 0:r.loanEnableAutoRepayment,loanDuration:null===r||void 0===r?void 0:r.loanDuration,loanExpiresAfterDays:30,loanInterestRate:+(null===r||void 0===r?void 0:r.amountToRepay)/+(null===r||void 0===r?void 0:r.amountToBorrow)-1,token:null===r||void 0===r?void 0:r.tokenType})}break;case"rental":try{var C,y;if(l((e=>({...e,rent:!0}))),c((e=>({...e,rent:!1}))),u((e=>({...e,rent:!1}))),gn)return s("mockTxId"),void setTimeout((()=>{l((e=>({...e,rent:!1}))),"ERROR_TYPE_MOCK"!==n.type?u((e=>({...e,rent:!0}))):c((e=>({...e,rent:!0})))}),3e3);const e=p.tokens.getTokenInfo(null===r||void 0===r?void 0:r.tokenType),t=await p.createRentListing({ftReceiverAddress:a,nftData:{contractAddress:null===n||void 0===n?void 0:n.contractAddress,contractName:null===n||void 0===n?void 0:n.contractName,id:null===n||void 0===n?void 0:n.id.toString(),nftOwner:null===n||void 0===n?void 0:n.owner,type:null===n||void 0===n?void 0:n.type},nftProviderPathIdentifier:o,rentalDeposit:+(null===r||void 0===r?void 0:r.refundableDeposit),rentalExpiresAfterDays:Number(r.rentalListingDuration),rentalFee:+(null===r||void 0===r?void 0:r.rentalFee),rentalTerm:+(null===r||void 0===r?void 0:r.rentalDuration),renterAddress:null===r||void 0===r?void 0:r.privateListingAddr,token:e,txAvailableCallback:s});if(4===(null===t||void 0===t?void 0:t.status))return u((e=>({...e,rent:!0}))),l((e=>({...e,rent:!1}))),void d("Successful rental listing transaction",{listingData:n,rentalDeposit:null===r||void 0===r?void 0:r.refundableDeposit,rentalFee:null===r||void 0===r?void 0:r.rentalFee,rentalTerm:null===r||void 0===r?void 0:r.rentalDuration,token:null===r||void 0===r?void 0:r.tokenType});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(C=t.toString())&&void 0!==C&&C.includes("Error")||null!==t&&void 0!==t&&null!==(y=t.toString())&&void 0!==y&&y.includes("Declined"))throw new Error(t)}catch(x){c((e=>({...e,errorMessage:(0,T.getMessageFromError)(x),rent:!0}))),l((e=>({...e,rent:!1}))),d("Error rental listing transaction",{err:x,listingData:n,rentalDeposit:null===r||void 0===r?void 0:r.refundableDeposit,rentalFee:null===r||void 0===r?void 0:r.rentalFee,rentalTerm:null===r||void 0===r?void 0:r.rentalDuration,token:null===r||void 0===r?void 0:r.tokenType})}break;case"transfer":try{var b,w;if(l((e=>({...e,transfer:!0}))),c((e=>({...e,transfer:!1}))),u((e=>({...e,transfer:!1}))),gn)return s("mockTxId"),void setTimeout((()=>{l((e=>({...e,transfer:!1}))),"ERROR_TYPE_MOCK"!==n.type?u((e=>({...e,transfer:!0}))):c((e=>({...e,transfer:!0})))}),3e3);const e=await p.transferNft({nftData:{contractAddress:null===n||void 0===n?void 0:n.contractAddress,contractName:null===n||void 0===n?void 0:n.contractName,id:null===n||void 0===n?void 0:n.id.toString(),nftOwner:null===n||void 0===n?void 0:n.owner,type:null===n||void 0===n?void 0:n.type},nftProviderPathIdentifier:o,transferRecipient:""!==h?h:null===r||void 0===r?void 0:r.transferReceiver,txAvailableCallback:s});if(4===(null===e||void 0===e?void 0:e.status))return u((e=>({...e,transfer:!0}))),l((e=>({...e,transfer:!1}))),void d("Successful transfer listing transaction",{listingData:n,transferRecipient:null===r||void 0===r?void 0:r.transferReceiver});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(b=e.toString())&&void 0!==b&&b.includes("Error")||null!==e&&void 0!==e&&null!==(w=e.toString())&&void 0!==w&&w.includes("Declined"))throw new Error(e)}catch(x){c((e=>({...e,errorMessage:(0,T.getMessageFromError)(x),transfer:!0}))),l((e=>({...e,transfer:!1}))),d("Error transfer listing transaction",{err:x,listingData:n,transferRecipient:null===r||void 0===r?void 0:r.transferReceiver})}break;default:return}})({flowty:I,ftReceiverAddress:Ce,listingType:Ye,mixPanelFn:_,nftProviderPathIdentifier:v,openSearchFlowNFT:C,setError:W,setIsLoading:K,setIsSealed:G,transferWalletSelected:ne,txAvailableCallback:we,values:D})},Ee=async(e,t)=>{await(async e=>{let{listingType:t,order:n,listingResourceID:r,txAvailableCallback:i,setIsLoading:o,setError:a,setIsSealed:s,mixPanelFn:l,flowty:c}=e;if(o((e=>({...e,delist:!0}))),a((e=>({...e,delist:!1}))),s((e=>({...e,delist:!1}))),fn)return i("mockTxId"),void setTimeout((()=>{o((e=>({...e,delist:!1}))),"ERROR_TYPE_MOCK"!==r?s((e=>({...e,delist:!0}))):a((e=>({...e,transfer:!0})))}),3e3);switch(t){case"storefront":try{var u,d;const e=await c.removeStorefrontListing({listingResourceID:r,listingType:(null===n||void 0===n?void 0:n.type)||"",txAvailableCallback:i});if(4===(null===e||void 0===e?void 0:e.status))return s((e=>({...e,delist:!0}))),o((e=>({...e,delist:!1}))),void l("Successful delist storefront transaction",{listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(u=e.toString())&&void 0!==u&&u.includes("Error")||null!==e&&void 0!==e&&null!==(d=e.toString())&&void 0!==d&&d.includes("Declined"))throw new Error(e)}catch(g){a((e=>({...e,delist:!0,errorMessage:(0,T.getMessageFromError)(g)}))),o((e=>({...e,delist:!1}))),l("Error delist storefront transaction",{err:g,listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName})}break;case"loan":try{var h,p;const e=await c.removeLoanListing({listingResourceID:r,txAvailableCallback:i});if(4===(null===e||void 0===e?void 0:e.status))return s((e=>({...e,delist:!0}))),o((e=>({...e,delist:!1}))),void l("Successful delist loan transaction",{listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(h=e.toString())&&void 0!==h&&h.includes("Error")||null!==e&&void 0!==e&&null!==(p=e.toString())&&void 0!==p&&p.includes("Declined"))throw new Error(e)}catch(g){a((e=>({...e,delist:!0,errorMessage:(0,T.getMessageFromError)(g)}))),o((e=>({...e,delist:!1}))),l("Error delist loan transaction",{err:g,listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName})}break;case"rental":try{var f,m;const e=await c.removeRentListing({listingResourceID:r,txAvailableCallback:i});if(4===(null===e||void 0===e?void 0:e.status))return s((e=>({...e,delist:!0}))),o((e=>({...e,delist:!1}))),void l("Successful delist rental transaction",{listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(f=e.toString())&&void 0!==f&&f.includes("Error")||null!==e&&void 0!==e&&null!==(m=e.toString())&&void 0!==m&&m.includes("Declined"))throw new Error(e)}catch(g){a((e=>({...e,delist:!0,errorMessage:(0,T.getMessageFromError)(g)}))),o((e=>({...e,delist:!1}))),l("Error delist rental transaction",{err:g,listingData:n,token:null===n||void 0===n?void 0:n.paymentTokenName})}break;default:return}})({flowty:I,listingResourceID:e,listingType:Ye,mixPanelFn:_,order:t,setError:W,setIsLoading:K,setIsSealed:G,txAvailableCallback:we})},_e=async()=>{var e,t,n;await(async e=>{let{txAvailableCallback:t,setIsLoading:n,setError:r,setIsSealed:i,openSearchFlowNFT:o,offerToken:a,mixPanelFn:s,nftProviderPathIdentifier:l,ftReceiverAddress:c,nftStoragePath:u,offerResourceID:d,offerStorefrontAddress:h,flowty:p}=e;if(n((e=>({...e,acceptOffer:!0}))),r((e=>({...e,acceptOffer:!1}))),i((e=>({...e,acceptOffer:!1}))),pn)return t("mockTxId"),void setTimeout((()=>{n((e=>({...e,acceptOffer:!1}))),"ERROR_TYPE_MOCK"!==o.type?i((e=>({...e,acceptOffer:!0}))):r((e=>({...e,acceptOffer:!0})))}),3e3);try{var f,m;const e=p.tokens.getTokenInfo(a),r=await p.acceptOffer({ftReceiverAddress:c,nftData:{contractAddress:null===o||void 0===o?void 0:o.contractAddress,contractName:null===o||void 0===o?void 0:o.contractName,id:null===o||void 0===o?void 0:o.id.toString(),nftOwner:null===o||void 0===o?void 0:o.owner,type:null===o||void 0===o?void 0:o.type},nftProviderPathIdentifier:l,nftStoragePath:u,offerResourceID:d,offerStorefrontAddress:h,token:e,txAvailableCallback:t});if(4===(null===r||void 0===r?void 0:r.status))return i((e=>({...e,acceptOffer:!0}))),n((e=>({...e,acceptOffer:!1}))),void s("Storefront offer accepted successful transaction",{listingData:o,offer:d});if(4!==(null===r||void 0===r?void 0:r.status)&&null!==r&&void 0!==r&&null!==(f=r.toString())&&void 0!==f&&f.includes("Error")||null!==r&&void 0!==r&&null!==(m=r.toString())&&void 0!==m&&m.includes("Declined"))throw new Error(r)}catch(g){r((e=>({...e,acceptOffer:!0,errorMessage:(0,T.getMessageFromError)(g)}))),n((e=>({...e,acceptOffer:!1}))),s("Storefront offer accepted failed transaction",{err:g,listingData:o,offer:d})}})({flowty:I,ftReceiverAddress:Ce,mixPanelFn:_,nftProviderPathIdentifier:v,nftStoragePath:(null===y||void 0===y||null===(e=y.nftView)||void 0===e||null===(t=e.collectionData)||void 0===t||null===(n=t.storagePath)||void 0===n?void 0:n.identifier)||"",offerResourceID:A?(null===A||void 0===A?void 0:A.offerResourceID)||"":(null===xe||void 0===xe?void 0:xe.offerResourceID)||"",offerStorefrontAddress:A?(null===A||void 0===A?void 0:A.storefrontAddress)||"":(null===xe||void 0===xe?void 0:xe.storefrontAddress)||"",offerToken:A?(null===A||void 0===A?void 0:A.paymentTokenName)||T.SupportedTokens.FLOW:(null===xe||void 0===xe?void 0:xe.paymentTokenName)||T.SupportedTokens.FLOW,openSearchFlowNFT:C,setError:W,setIsLoading:K,setIsSealed:G,txAvailableCallback:we})},Te=e=>{$((t=>({...t,[e]:!0})))},Se=e=>{$((t=>({...t,[e]:!1})))},ke=()=>{Y.sale||Y.rent||Y.loan||Y.transfer||(W({loan:!1,rent:!1,sale:!1,transfer:!1}),G({loan:!1,rent:!1,sale:!1,transfer:!1})),X({loan:!1,rent:!1,sale:!1,transfer:!1}),$({loan:!1,rent:!1,sale:!1,transfer:!1}),j(1),B(1),S(),E()},Pe=()=>{let e=Ye;"storefront"===Ye&&(e="sale"),"rental"===Ye&&(e="rent"),X((t=>({...t,[e]:!0})))},De=()=>{X((e=>({...e,loan:!1}))),j(2)},Ne=()=>{X((e=>({...e,rent:!1}))),B(2)},Fe=(0,i.useMemo)((()=>{const e=(0,T.nftTypeAndIdToLocationData)(C.type,C.id),t=window.location.origin;return"".concat(t,"/asset/").concat(e.contract.address,"/").concat(e.contract.name,"/").concat(e.resourceName,"/").concat(e.nftID)}),[C]),Ie=()=>{window.open(Fe,"_blank")},Re=(0,i.useMemo)((()=>{var e;if(null===b||void 0===b||null===(e=b.storefront)||void 0===e||!e.length)return null;{const e=null===b||void 0===b?void 0:b.storefront.find((e=>e.listingType.includes("NFTStorefrontV2.ListingAvailable")));if(e)return null===b||void 0===b?void 0:b.storefront}}),[b]),Me=(0,i.useMemo)((()=>{var e;return null!==b&&void 0!==b&&null!==(e=b.loan)&&void 0!==e&&e.length?null===b||void 0===b?void 0:b.loan:null}),[b]),Oe=(0,i.useMemo)((()=>{var e;return null!==b&&void 0!==b&&null!==(e=b.rental)&&void 0!==e&&e.length?null===b||void 0===b?void 0:b.rental:null}),[b]),[je,Le]=(0,i.useState)(!1),[Be,Ue]=(0,i.useState)(!1),Ve=null!==C&&void 0!==C&&null!==(o=C.type)&&void 0!==o&&o.endsWith(".NFT")?null===C||void 0===C?void 0:C.type:"".concat(null===C||void 0===C?void 0:C.type,".NFT");let He=!1;Ve===be&&(He=(0,T.checkIsLocked)(C));const ze=(0,i.useMemo)((()=>Boolean(null===y||void 0===y?void 0:y.isNFTCatalog)),[y]),Ze=(0,qt.zy)(),We=(0,i.useMemo)((()=>Ze.pathname.includes("/asset/")),[Ze.pathname]),qe=(0,i.useMemo)((()=>({disabled:Sn({activeTab:R,existingPurchaseOrder:Re,isAcceptOffer:ae,isCatalog:ze,isDapper:ce,isDelist:J,isLoading:Y,loanStep:O,openSearchFlowNFT:C,orderFromChildAccount:le,privateRentInvalidAddress:je,rentStep:L,selectedOffer:A}),notDisplay:kn({activeTab:R,hasProvider:f,isAssetDetailPage:We,isDapper:ce,isDelist:J,isLocked:He,loanStep:O,rentStep:L,sealed:q}),onClick:Tn({activeTab:R,changeLoanStep:De,changeRentStep:Ne,error:Z,existingLoanOrder:Boolean(Me),existingPurchaseOrder:Re,existingRentalOrder:Boolean(Oe),isAcceptOffer:ae,isDelist:J,isMainnet:ye,isUpdateListing:ee,loanStep:O,redirectToAssetPage:Ie,rentStep:L,sealed:q,selectedOffer:A,selectedOrder:ie,setFormError:Pe,setIsUpdateListing:te,submitDelistTransaction:Ee,submitOfferTransaction:_e,submitTransaction:Ae,transferWalletSelected:ne,values:D}),text:_n({activeTab:R,error:Z,existingLoanOrder:Boolean(Me),existingPurchaseOrder:Re,existingRentalOrder:Boolean(Oe),isAcceptOffer:ae,isDelist:J,isLoading:Y,isSelectedOffer:Boolean(A),isUpdateListing:ee,loanStep:O,rentStep:L,sealed:q})})),[R,O,L,D,Y,q,Z,ee,Re,J,ae,A,je,Be,He,ze,ne,U]),Ge=(0,i.useMemo)((()=>({bgColor:"white",notDisplay:Nn({activeTab:R,isLoading:Y,loanStep:O,rentStep:L,sealed:q}),onClick:Dn({activeTab:R,cancelIsDelist:Se,error:Z,existingLoanOrder:Boolean(Me),existingPurchaseOrder:Re,existingRentalOrder:Boolean(Oe),hasProvider:f,isAcceptOffer:ae,isDelist:J,isSingleOrder:Boolean(x),isUpdateListing:ee,loanStep:O,onCloseModal:ke,rentStep:L,sealed:q,selectedOffer:A,setError:W,setIsAcceptOffer:se,setIsUpdateListing:te,setLoanStep:j,setRentStep:B,updateIsDelist:Te}),text:Pn({activeTab:R,error:Z,existingLoanOrder:Boolean(Me),existingPurchaseOrder:Re,existingRentalOrder:Boolean(Oe),hasProvider:f,isAcceptOffer:ae,isDapper:ce,isDelist:J,isLocked:He,isSelectedOffer:Boolean(A),isSingleOrder:Boolean(x),isUpdateListing:ee,loanStep:O,rentStep:L,sealed:q})})),[R,O,L,q,Y,q,Z,ee,Re,J,ae,He,A]),Ye=(0,i.useMemo)((()=>Boolean(A)||ae?"acceptOffer":"1"===R?"storefront":"2"===R?"loan":"3"===R?"rental":"transfer"),[R,ae,A]);let{fees:Ke,isLoading:Qe}=(0,Wt.useGetFees)({flowty:I,nft:y||null,price:"storefront"===Ye?+(null===D||void 0===D?void 0:D.saleListingValue):"loan"===Ye?+(null===D||void 0===D?void 0:D.amountToBorrow):+(null===D||void 0===D?void 0:D.rentalFee),token:null===D||void 0===D?void 0:D.tokenType}),{royaltyRate:Xe,isLoading:Je}=(0,Wt.useGetCollectionRoyalty)({flowty:I,mixPanelFn:_,nft:y||null});In&&(Je=!1,Qe=!1,Ke={dapper:.01*Number(null===D||void 0===D?void 0:D.saleListingValue),flowty:.02*Number(null===D||void 0===D?void 0:D.saleListingValue),royalties:.06*Number(null===D||void 0===D?void 0:D.saleListingValue),seller:Number(null===D||void 0===D?void 0:D.saleListingValue)-.09*Number(null===D||void 0===D?void 0:D.saleListingValue)},Xe=.06);const $e=+(null===D||void 0===D?void 0:D.amountToRepay)-+(null===D||void 0===D?void 0:D.amountToBorrow),et=$e>0?T.FLOWTY_INTEREST_FEE*$e:0,tt=(Xe||0)*+(null===D||void 0===D?void 0:D.amountToBorrow),nt=+(null===D||void 0===D?void 0:D.amountToBorrow)+(tt+et),rt=(0,i.useMemo)((()=>{var e,t,n;return Boolean(x)?{...x,listingKind:"delistLoan"===w?"loan":"delistRental"===w?"rental":"storefront"}:Boolean(A)?{...A,listingKind:"acceptOffer",purchaseOrder:(null===(e=C.orders)||void 0===e?void 0:e.find((e=>"storefront"===(null===e||void 0===e?void 0:e.listingKind))))||void 0}:!ee&&Boolean(null===b||void 0===b||null===(t=b[Ye])||void 0===t?void 0:t.length)?null===ie||void 0===ie?void 0:ie["loan"===Ye?"fundLoan":"rental"===Ye?"fundRental":"purchase"]:((e,t,n,r)=>{switch(e){case"loan":return{derivations:{calculatedValues:{borrowerRate:Number(null===t||void 0===t?void 0:t.amountToRepay)/Number(null===t||void 0===t?void 0:t.amountToBorrow)-1,marketplaceAmount:n,periodicInterest:(Number(null===t||void 0===t?void 0:t.amountToRepay)+r)/n-1,repayment:Number(null===t||void 0===t?void 0:t.amountToRepay)}},listingDuration:null===t||void 0===t?void 0:t.listingDuration,listingKind:"loan",paymentTokenName:null===t||void 0===t?void 0:t.tokenType,term:null===t||void 0===t?void 0:t.loanDuration,valuations:{aggregate:{loanToValueRatio:""}}};case"rental":return{amount:null===t||void 0===t?void 0:t.rentalFee,deposit:null===t||void 0===t?void 0:t.refundableDeposit,listingKind:"rental",paymentTokenName:null===t||void 0===t?void 0:t.tokenType,rentalListingDuration:null===t||void 0===t?void 0:t.rentalListingDuration,term:null===t||void 0===t?void 0:t.rentalDuration};default:return{listingKind:"storefront",paymentTokenName:null===t||void 0===t?void 0:t.tokenType,salePrice:null===t||void 0===t?void 0:t.saleListingValue,storefrontListingDuration:null===t||void 0===t?void 0:t.storefrontListingDuration}}})(Ye,D,nt,(null===(n=Ke)||void 0===n?void 0:n.royalties)||0)}),[D,Ye,x,A,b,ie,w,ee,nt,Ke,C]),it=(0,mn.R9)({salePrice:+(null===D||void 0===D?void 0:D.saleListingValue),spotPrice:(null===k||void 0===k?void 0:k.value)||0,token:null===D||void 0===D?void 0:D.tokenType,valuation:(null===N||void 0===N?void 0:N.usdValue)||0}),ot={percentage:null!==N&&void 0!==N&&N.usdValue?it:null,source:(null===N||void 0===N?void 0:N.source)||"",usdValue:(null===N||void 0===N?void 0:N.usdValue)||0},at=(0,i.useMemo)((()=>"loan"===Ye&&null!==N&&void 0!==N&&N.usdValue&&(null===N||void 0===N?void 0:N.usdValue)>0?nt/Number(null===N||void 0===N?void 0:N.usdValue)*100:null),[D,N]),st=(0,i.useMemo)((()=>({amountToBorrow:+(null===D||void 0===D?void 0:D.amountToBorrow),amountToRepay:+(null===D||void 0===D?void 0:D.amountToRepay),listingDuration:null===D||void 0===D?void 0:D.listingDuration,loanDuration:null===D||void 0===D?void 0:D.loanDuration})),[D]),lt=null===D||void 0===D?void 0:D.transferReceiver;(0,i.useEffect)((()=>{var e,t,n,r,i,o,a,s,l,c,u,h,p,f,m,g;if(H&&d){if(!lt&&!A)switch(Ye){case"storefront":return void d({amount:+rt.salePrice,collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(e=null===C||void 0===C||null===(t=C.card)||void 0===t||null===(n=t.images)||void 0===n?void 0:n[0].url)&&void 0!==e?e:"",listingType:J.sale?"delistSale":Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(r=null===C||void 0===C||null===(i=C.card)||void 0===i?void 0:i.title)&&void 0!==r?r:"",token:rt.paymentTokenName,transactionID:H,type:T.NotificationType.Transaction});case"rental":return void d({amount:+rt.amount,collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(o=null===C||void 0===C||null===(a=C.card)||void 0===a||null===(s=a.images)||void 0===s?void 0:s[0].url)&&void 0!==o?o:"",listingType:J.rent?"delistRental":Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(l=null===C||void 0===C||null===(c=C.card)||void 0===c?void 0:c.title)&&void 0!==l?l:"",token:rt.paymentTokenName,transactionID:H,type:T.NotificationType.Transaction});case"loan":return void d({amount:null===(u=rt.derivations)||void 0===u?void 0:u.calculatedValues.marketplaceAmount,collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(h=null===C||void 0===C||null===(p=C.card)||void 0===p||null===(f=p.images)||void 0===f?void 0:f[0].url)&&void 0!==h?h:"",listingType:J.loan?"delistLoan":Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(m=null===C||void 0===C||null===(g=C.card)||void 0===g?void 0:g.title)&&void 0!==m?m:"",token:rt.paymentTokenName,transactionID:H,type:T.NotificationType.Transaction})}var v,y,b,w,x,E,_,S,k,P,D,N,F,I,R;if(lt)return void d({collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(v=null===C||void 0===C||null===(y=C.card)||void 0===y||null===(b=y.images)||void 0===b?void 0:b[0].url)&&void 0!==v?v:"",listingType:Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(w=null===C||void 0===C||null===(x=C.card)||void 0===x?void 0:x.title)&&void 0!==w?w:"",transactionID:H,transferAddress:lt,type:T.NotificationType.Transaction});if(A)return void d({amount:null===A||void 0===A?void 0:A.amount,collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(E=null===C||void 0===C||null===(_=C.card)||void 0===_||null===(S=_.images)||void 0===S?void 0:S[0].url)&&void 0!==E?E:"",listingType:Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(k=null===C||void 0===C||null===(P=C.card)||void 0===P?void 0:P.title)&&void 0!==k?k:"",token:null===A||void 0===A?void 0:A.paymentTokenName,transactionID:H,type:T.NotificationType.Transaction});if(xe)return void d({amount:null===xe||void 0===xe?void 0:xe.amount,collectionAddress:C.contractAddress,collectionName:C.contractName,imageUrl:null!==(D=null===C||void 0===C||null===(N=C.card)||void 0===N||null===(F=N.images)||void 0===F?void 0:F[0].url)&&void 0!==D?D:"",listingType:Ye,nftId:C.id,nftType:C.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(I=null===C||void 0===C||null===(R=C.card)||void 0===R?void 0:R.title)&&void 0!==I?I:"",token:null===xe||void 0===xe?void 0:xe.paymentTokenName,transactionID:H,type:T.NotificationType.Transaction})}}),[H,lt,C,A,xe,Ye,rt,d]);const ct=(0,i.useMemo)((()=>new $t(c||[])),[c]);return(0,a.jsx)(Rn.Provider,{value:{acceptOffer:()=>{se(!0)},activeTab:R,bestOffer:xe,blendedLTV:at,cancelAcceptOffer:()=>{se(!1)},childAccounts:ge,closeBtnProps:Ge,collectionDisplayName:h,collectionImage:g,confirmBtnProps:qe,createTransactionNotification:d,error:Z,existingLoanOrder:Me,existingPurchaseOrder:Re,existingRentalOrder:Oe,flowNft:y,hasChildAccounts:he,hasNftReceiver:ct,hasOffer:(null===C||void 0===C||null===(s=C.offers)||void 0===s?void 0:s.length)>0,hasProvider:f,isAcceptOffer:ae,isCatalog:ze,isChildAccountAsset:de,isDapper:ce,isDelist:J,isFormError:Q,isLoading:Y,isLoadingCollectionRoyalty:Je,isLoadingGetFees:Qe,isLoadingValuation:F,isLocked:He,isMainnet:ye,isNftOnDapperChild:fe,isNftOnNonDapperChild:me,isParentDapper:pe,isUpdateListing:ee,listingType:Ye,loanFormValues:st,loanStep:O,mainAccount:m,mixPanelFn:_,nftOwnerAccountSummary:ue,onCloseModal:ke,onTabChange:e=>{M(e),te(!1)},openSearchFlowNFT:C,orderData:rt,orderFromChildAccount:le,privateRentInvalidAddress:je,rentStep:L,royaltyRate:Xe,saleFees:Ke,sealed:q,selectedAccount:U,selectedOffer:A,selectedOrder:ie,setPrivateRentInvalidAddress:Le,setSelectedAccount:V,setSelectedOrder:oe,setTransferInvalidAddress:Ue,setTransferWalletSelected:re,singleAction:w,singleOrder:x,spotPrice:k,strapiUrl:P,submitDelistTransaction:Ee,submitTransaction:Ae,transactionID:H,transferInvalidAddress:Be,transferReceiver:lt,transferSuggestedAccounts:ve,transferWalletSelected:ne,updateSelectedOrder:e=>{oe("1"===R?t=>({...t,purchase:e}):"2"===R?t=>({...t,fundLoan:e}):t=>({...t,fundRental:e}))},valuationData:ot},children:u})},On=()=>(0,i.useContext)(Rn);var jn,Ln,Bn;function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Un.apply(null,arguments)}function Vn(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Un({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,jn||(jn=i.createElement("g",{clipPath:"url(#clip0_970_17310)"},i.createElement("path",{d:"M5.61791 12.5462L4.15381 10.0103M4.15381 10.0103L6.68971 8.54615M4.15381 10.0103L9.15381 11.35M15.7615 6.68975L14.2974 4.15385M14.2974 4.15385L11.7615 5.61795M14.2974 4.15385L12.9577 9.15385M8.54611 17.6179L10.0102 20.1538M10.0102 20.1538L12.5461 18.6897M10.0102 20.1538L11.35 15.1538M20.1538 14.2974L15.1538 12.9577M20.1538 14.2974L18.6897 11.7615M20.1538 14.2974L17.6179 15.7615",stroke:"#04E5A3",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),Ln||(Ln=i.createElement("path",{d:"M19.7192 20.0983C23.9879 15.8296 23.9879 8.90882 19.7192 4.64019C15.4506 0.371564 8.52979 0.371564 4.26116 4.64019M19.7192 20.0983C15.4506 24.3669 8.52979 24.3669 4.26116 20.0983C-0.0074647 15.8296 -0.0074647 8.90882 4.26116 4.64019M19.7192 20.0983L4.26116 4.64019",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bn||(Bn=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_970_17310"},i.createElement("rect",{width:17.5692,height:17.5692,fill:"white",transform:"translate(0 8.78467) rotate(-30)"})))))}const Hn=i.forwardRef(Vn),zn=(n.p,()=>(0,a.jsx)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-6 font-montserrat",children:(0,a.jsxs)("div",{className:"p-4 bg-[#FFFFFF] bg-opacity-10 w-full h-full rounded-md flex",children:[(0,a.jsx)("div",{className:"h-full px-2",children:(0,a.jsx)(Hn,{className:"h-[24px] w-[24px]"})}),(0,a.jsxs)("div",{className:"w-full px-3",children:[(0,a.jsxs)("div",{className:"leading-4",children:[(0,a.jsxs)("span",{className:"text-white text-xs font-normal",children:["Icon indicates that an NFT is"," "]}),(0,a.jsx)("span",{className:"text-white text-xs font-bold",children:"view-only"}),(0,a.jsxs)("span",{className:"text-white text-xs font-normal",children:[", meaning that a user cannot perform any Flowty actions on the NFT. An NFT may be view-only for several reasons, including:",(0,a.jsx)("br",{})]})]}),(0,a.jsxs)("ul",{className:"text-white text-xs font-normal list-disc pl-4",children:[(0,a.jsx)("li",{children:"NFTs in Dapper Wallets have restrictions."}),(0,a.jsx)("li",{className:"",children:"The NFT does not have a provider set up."}),(0,a.jsxs)("li",{className:"",children:[" ","The NFT is stored in a different wallet to the one that a user is currently connected with."]})]})]})]})})),Zn=e=>{let{href:t,text:n,size:r="medium"}=e;return(0,a.jsx)("a",{href:t,target:"_blank",className:(0,o.cn)("text-primary font-montserrat font-[600] underline",{"text-[0.75rem]":"small"===r,"text-[1rem]":"medium"===r}),rel:"noreferrer",children:n})},Wn=e=>{let{transactionID:t,isMainnet:n}=e;const r=(0,i.useMemo)((()=>{const e=n?T.FLOW_SCAN_TX_MAINNET_URL:T.FLOW_SCAN_TX_TESTNET_URL;return"".concat(e,"/").concat(t)}),[t]);return t?(0,a.jsxs)("div",{className:"text-white text-center text-[14px] min-h-[21px] flex items-center justify-center gap-1",children:["Follow your transaction on"," ",(0,a.jsx)(Zn,{href:r,text:"Flowscan"})]}):null};var qn,Gn,Yn,Kn,Qn,Xn,Jn,$n,er,tr,nr,rr,ir,or,ar,sr,lr,cr,ur,dr,hr,pr,fr,mr,gr,vr,Cr,yr,br,wr,xr,Ar,Er,_r,Tr,Sr,kr,Pr,Dr,Nr,Fr,Ir,Rr,Mr,Or,jr,Lr,Br,Ur,Vr,Hr,zr,Zr,Wr,qr,Gr,Yr,Kr,Qr,Xr,Jr,$r,ei,ti,ni,ri,ii,oi,ai,si,li,ci,ui,di,hi,pi,fi,mi,gi,vi,Ci,yi,bi,wi,xi,Ai,Ei,_i,Ti,Si,ki,Pi,Di,Ni,Fi,Ii,Ri,Mi,Oi,ji,Li,Bi,Ui,Vi,Hi,zi,Zi,Wi,qi,Gi,Yi,Ki,Qi,Xi,Ji,$i,eo,to,no,ro,io,oo,ao,so,lo,co,uo,ho,po,fo,mo,go,vo,Co,yo,bo,wo,xo,Ao,Eo,_o,To,So,ko,Po,Do,No,Fo,Io,Ro,Mo,Oo,jo,Lo,Bo,Uo,Vo,Ho,zo,Zo,Wo,qo,Go,Yo,Ko,Qo,Xo,Jo,$o,ea,ta,na,ra,ia,oa,aa,sa;function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},la.apply(null,arguments)}function ca(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",la({width:240,height:241,viewBox:"0 0 240 241",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,i.createElement("mask",{id:"mask0_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},qn||(qn=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),Gn||(Gn=i.createElement("g",{mask:"url(#mask0_1_381)"},i.createElement("path",{d:"M44.4658 152.73L44.3976 149.67C44.376 148.66 44.3438 147.661 44.3347 146.666L44.4658 146.797C42.0739 146.822 39.6821 146.873 37.2907 146.876L30.1157 146.906L30.3552 146.666L30.3293 152.73L30.1157 152.516C31.2994 152.524 32.4806 152.52 33.6672 152.542L37.2355 152.596L44.4658 152.73ZM44.4658 152.73L37.3459 152.864L33.7387 152.918C32.5339 152.94 31.3234 152.936 30.1157 152.944L29.9026 152.945L29.9016 152.73L29.8757 146.666L29.8747 146.425L30.1157 146.426L37.2907 146.457C39.6821 146.459 42.0739 146.511 44.4658 146.535L44.5978 146.536L44.5968 146.666C44.5877 147.693 44.5555 148.715 44.5339 149.726L44.4658 152.73Z",fill:"#ECECEC"}),i.createElement("path",{d:"M36.4606 160.376L36.3924 157.316C36.3708 156.306 36.3387 155.307 36.3295 154.312L36.4606 154.444C34.0687 154.468 31.6774 154.519 29.2855 154.522L22.1105 154.552L22.35 154.312L22.3241 160.376L22.1105 160.162C23.2942 160.171 24.4755 160.166 25.662 160.188L29.2303 160.243L36.4606 160.376ZM36.4606 160.376L29.3407 160.51L25.7335 160.564C24.5287 160.586 23.3182 160.582 22.1105 160.59L21.8974 160.591L21.8964 160.376L21.8705 154.312L21.8695 154.072L22.1105 154.073L29.2855 154.103C31.6774 154.105 34.0687 154.157 36.4606 154.182L36.5926 154.183L36.5916 154.312C36.5825 155.339 36.5503 156.361 36.5287 157.373L36.4606 160.376Z",fill:"#ECECEC"}),i.createElement("path",{d:"M36.4606 29.1631L36.3924 26.1031C36.3708 25.0932 36.3387 24.0939 36.3295 23.0993L36.4606 23.2303C34.0687 23.2548 31.6774 23.3062 29.2855 23.3086L22.1105 23.3388L22.35 23.0993L22.3241 29.1631L22.1105 28.9491C23.2942 28.9577 24.4755 28.9529 25.662 28.9755L29.2303 29.0292L36.4606 29.1631ZM36.4606 29.1631L29.3407 29.2971L25.7335 29.3508C24.5287 29.3734 23.3182 29.3686 22.1105 29.3772L21.8974 29.3787L21.8964 29.1631L21.8705 23.0993L21.8695 22.8583L22.1105 22.8598L29.2855 22.8895C31.6774 22.8919 34.0687 22.9438 36.4606 22.9683L36.5926 22.9697L36.5916 23.0993C36.5825 24.126 36.5503 25.1479 36.5287 26.1593L36.4606 29.1631Z",fill:"#ECECEC"}),i.createElement("path",{d:"M217.889 29.1631L217.821 26.1031C217.8 25.0932 217.768 24.0939 217.759 23.0993L217.889 23.2303C215.498 23.2548 213.106 23.3062 210.715 23.3086L203.539 23.3388L203.779 23.0993L203.753 29.1631L203.539 28.9491C204.723 28.9577 205.904 28.9529 207.091 28.9755L210.659 29.0292L217.889 29.1631ZM217.889 29.1631L210.77 29.2971L207.162 29.3508C205.958 29.3734 204.747 29.3686 203.539 29.3772L203.326 29.3787L203.325 29.1631L203.299 23.0993L203.299 22.8583L203.539 22.8598L210.715 22.8895C213.106 22.8919 215.498 22.9438 217.889 22.9683L218.021 22.9697L218.02 23.0993C218.012 24.126 217.979 25.1479 217.958 26.1593L217.889 29.1631Z",fill:"#ECECEC"}),i.createElement("path",{d:"M209.885 36.8093L209.817 33.7493C209.795 32.7394 209.763 31.7396 209.754 30.7455L209.885 30.8765C207.493 30.9005 205.101 30.9524 202.71 30.9548L195.535 30.985L195.774 30.7455L195.749 36.8093L195.535 36.5952C196.718 36.6039 197.9 36.5991 199.086 36.6216L202.655 36.6754L209.885 36.8093ZM209.885 36.8093L202.765 36.9428L199.158 36.997C197.953 37.0191 196.742 37.0148 195.535 37.0229L195.322 37.0244L195.321 36.8093L195.295 30.7455L195.294 30.5045L195.535 30.5055L202.71 30.5357C205.101 30.5381 207.493 30.5895 209.885 30.6144L210.017 30.6159L210.015 30.7455C210.007 31.7722 209.975 32.7936 209.953 33.8055L209.885 36.8093Z",fill:"#ECECEC"}),i.createElement("path",{d:"M173.132 107.75L173.064 104.69C173.042 103.68 173.01 102.68 173.001 101.686L173.132 101.817C170.741 101.842 168.349 101.893 165.957 101.896L158.782 101.926L159.022 101.686L158.996 107.75L158.782 107.536C159.966 107.545 161.147 107.54 162.334 107.562L165.902 107.616L173.132 107.75ZM173.132 107.75L166.013 107.884L162.405 107.938C161.201 107.96 159.99 107.956 158.782 107.964L158.569 107.966L158.568 107.75L158.542 101.686L158.541 101.445L158.782 101.446L165.957 101.477C168.349 101.479 170.741 101.53 173.132 101.555L173.264 101.557L173.263 101.686C173.254 102.713 173.222 103.735 173.201 104.746L173.132 107.75Z",fill:"#ECECEC"}),i.createElement("path",{d:"M165.127 115.396L165.058 112.336C165.037 111.327 165.005 110.327 164.996 109.333L165.127 109.464C162.735 109.488 160.343 109.54 157.952 109.542L150.777 109.572L151.017 109.333L150.991 115.396L150.777 115.182C151.961 115.191 153.141 115.187 154.329 115.209L157.897 115.263L165.127 115.396ZM165.127 115.396L158.007 115.53L154.4 115.584C153.195 115.607 151.985 115.602 150.777 115.611L150.564 115.612L150.563 115.396L150.537 109.333L150.536 109.092L150.777 109.093L157.952 109.123C160.343 109.126 162.735 109.177 165.127 109.202L165.259 109.203L165.258 109.333C165.249 110.359 165.217 111.381 165.195 112.393L165.127 115.396Z",fill:"#ECECEC"}),i.createElement("path",{d:"M157.154 107.75L157.085 104.69C157.064 103.68 157.031 102.68 157.023 101.686L157.154 101.817C154.762 101.842 152.37 101.893 149.979 101.896L142.804 101.926L143.043 101.686L143.017 107.75L142.804 107.536C143.987 107.545 145.168 107.54 146.355 107.562L149.923 107.616L157.154 107.75ZM157.154 107.75L150.034 107.884L146.427 107.938C145.222 107.96 144.011 107.956 142.804 107.964L142.59 107.966L142.589 107.75L142.564 101.686L142.563 101.445L142.804 101.446L149.979 101.477C152.37 101.479 154.762 101.53 157.154 101.555L157.286 101.557L157.284 101.686C157.276 102.713 157.243 103.735 157.222 104.746L157.154 107.75Z",fill:"#ECECEC"}),i.createElement("path",{d:"M217.89 160.376L217.821 157.316C217.8 156.306 217.768 155.307 217.759 154.312L217.89 154.444C215.498 154.468 213.106 154.519 210.715 154.522L203.54 154.552L203.78 154.312L203.754 160.376L203.54 160.162C204.723 160.17 205.905 160.166 207.092 160.188L210.659 160.242L217.89 160.376ZM217.89 160.376L210.77 160.51L207.163 160.564C205.958 160.586 204.747 160.582 203.54 160.59L203.326 160.591L203.325 160.376L203.3 154.312L203.299 154.072L203.54 154.073L210.715 154.103C213.106 154.105 215.498 154.157 217.89 154.181L218.022 154.183L218.021 154.312C218.012 155.339 217.979 156.361 217.958 157.373L217.89 160.376Z",fill:"#ECECEC"}),i.createElement("path",{d:"M95.9645 47.1954L95.8963 44.1354C95.8747 43.1255 95.8426 42.1257 95.8339 41.1316L95.9645 41.2626C93.5731 41.2871 91.1813 41.3385 88.7895 41.3409L81.6144 41.3711L81.8539 41.1316L81.828 47.1954L81.6144 46.9813C82.7981 46.99 83.9794 46.9852 85.1659 47.0077L88.7343 47.0615L95.9645 47.1954ZM95.9645 47.1954L88.8447 47.3293L85.2375 47.3831C84.0327 47.4057 82.8221 47.4009 81.6144 47.4095L81.4013 47.4109L81.4003 47.1954L81.3744 41.1316L81.3735 40.8906L81.6144 40.8916L88.7895 40.9218C91.1813 40.9242 93.5731 40.9761 95.9645 41.0005L96.0965 41.002L96.0955 41.1316C96.0864 42.1583 96.0543 43.1802 96.0327 44.1916L95.9645 47.1954Z",fill:"#ECECEC"}),i.createElement("path",{d:"M198.611 83.9834C196.475 85.1297 193.815 84.3266 192.669 82.1897C191.523 80.0527 192.323 77.3897 194.461 76.2434C196.598 75.0977 199.263 75.9021 200.409 78.0391C201.555 80.1761 200.749 82.8372 198.611 83.9834ZM203.148 87.3665L205.974 82.8113L204.579 81.9468C204.168 81.6929 203.946 81.2287 203.987 80.7477C204.01 80.4823 204.019 80.2145 204.013 79.9461C204.002 79.4652 204.254 79.0173 204.678 78.7898L206.124 78.0141L203.589 73.2885L202.143 74.0637C201.719 74.2913 201.207 74.2529 200.812 73.9778C200.592 73.8247 200.364 73.6836 200.13 73.5559C199.707 73.3241 199.443 72.882 199.459 72.3996L199.511 70.7594L194.153 70.5929L194.103 72.2393C194.088 72.7221 193.793 73.1421 193.356 73.3481C193.237 73.4037 193.12 73.4633 193.003 73.5257C192.887 73.5881 192.773 73.6533 192.661 73.721C192.249 73.9697 191.738 73.9841 191.329 73.7311L189.924 72.8604L187.098 77.4161L188.496 78.2834C188.906 78.5383 189.128 79.0025 189.086 79.4834C189.063 79.7484 189.054 80.0143 189.06 80.2817C189.07 80.7626 188.819 81.21 188.395 81.437L186.948 82.2127L189.483 86.9388L190.929 86.1631C191.353 85.9356 191.865 85.9735 192.26 86.2481C192.479 86.4002 192.706 86.5404 192.94 86.6676C193.363 86.8989 193.627 87.341 193.612 87.8234L193.561 89.4679L198.92 89.634L198.971 87.9895C198.986 87.5081 199.281 87.0895 199.716 86.8841C199.835 86.8279 199.953 86.7679 200.071 86.705C200.188 86.6426 200.302 86.5773 200.414 86.5097C200.827 86.2601 201.341 86.2457 201.752 86.5005L203.148 87.3665Z",fill:"#ECECEC"}),i.createElement("path",{d:"M44.1976 135.602C42.0606 136.748 39.4014 135.946 38.2557 133.809C37.1094 131.672 37.9096 129.009 40.047 127.863C42.184 126.716 44.8489 127.521 45.9952 129.658C47.1409 131.795 46.3345 134.456 44.1976 135.602ZM48.7345 138.985L51.5603 134.43L50.1649 133.565C49.7545 133.312 49.5323 132.847 49.5736 132.366C49.5961 132.101 49.6048 131.833 49.5985 131.565C49.588 131.084 49.8395 130.636 50.2638 130.409L51.7101 129.633L49.1757 124.907L47.7294 125.682C47.3056 125.91 46.7929 125.872 46.3979 125.597C46.1781 125.443 45.9505 125.303 45.7163 125.175C45.2929 124.943 45.0294 124.501 45.0448 124.018L45.0971 122.378L39.7384 122.212L39.6889 123.857C39.6745 124.34 39.3784 124.761 38.9421 124.967C38.8235 125.023 38.7059 125.082 38.5893 125.145C38.4731 125.207 38.3584 125.272 38.2465 125.34C37.8352 125.588 37.324 125.603 36.9155 125.35L35.5101 124.479L32.6843 129.035L34.0821 129.902C34.4925 130.157 34.7142 130.621 34.6725 131.102C34.6494 131.367 34.6408 131.633 34.6465 131.9C34.6561 132.381 34.4051 132.829 33.9813 133.056L32.5345 133.832L35.0689 138.557L36.5157 137.782C36.939 137.554 37.4512 137.592 37.8462 137.867C38.0656 138.019 38.2921 138.159 38.5254 138.287C38.9493 138.518 39.2133 138.96 39.1984 139.442L39.1475 141.087L44.5057 141.253L44.5571 139.608C44.572 139.127 44.8672 138.709 45.3021 138.503C45.4211 138.447 45.5397 138.387 45.6573 138.324C45.7739 138.261 45.8881 138.196 46.0005 138.128C46.4137 137.878 46.9273 137.864 47.3377 138.119L48.7345 138.985Z",fill:"#ECECEC"}),i.createElement("path",{d:"M100.026 53.4153C100.026 55.1145 98.6498 56.4902 96.9511 56.4902C95.2524 56.4902 93.8734 55.1145 93.8734 53.4153C93.8734 51.7166 95.2524 50.3375 96.9511 50.3375C98.6498 50.3375 100.026 51.7166 100.026 53.4153ZM103.616 51.7348L101.74 48.4819L100.745 49.0569C100.452 49.2259 100.091 49.21 99.8081 49.0252C99.6516 48.923 99.4894 48.8294 99.3218 48.7444C99.0214 48.5913 98.8279 48.2879 98.8279 47.9505V46.8009H95.0714V47.9505C95.0714 48.2879 94.878 48.5913 94.5775 48.7444C94.41 48.8294 94.2473 48.923 94.0908 49.0252C93.8076 49.21 93.4476 49.2259 93.1553 49.0569L92.1593 48.4819L90.2825 51.7348L91.2828 52.3103C91.5756 52.4793 91.7369 52.8009 91.7196 53.1388C91.7153 53.2305 91.7129 53.3227 91.7129 53.4153C91.7129 53.5079 91.7153 53.6001 91.7196 53.6918C91.7369 54.0283 91.5766 54.3484 91.2852 54.5169L90.2825 55.0958L92.1593 58.3487L93.1577 57.7732C93.4505 57.6043 93.811 57.6211 94.0942 57.8059C94.2497 57.9081 94.4114 58.0017 94.578 58.0867C94.878 58.2398 95.0714 58.5431 95.0714 58.8796V60.0297H98.8279V58.8796C98.8279 58.5431 99.0209 58.2398 99.3209 58.0867C99.4879 58.0017 99.6492 57.9081 99.8052 57.8059C100.088 57.6211 100.448 57.6043 100.742 57.7732L101.74 58.3487L103.616 55.0958L102.618 54.5198C102.326 54.3513 102.165 54.0307 102.183 53.6942C102.187 53.602 102.189 53.5089 102.189 53.4153C102.189 53.3227 102.187 53.2305 102.183 53.1388C102.165 52.8009 102.326 52.4788 102.619 52.3099L103.616 51.7348Z",fill:"#ECECEC"}))),i.createElement("mask",{id:"mask1_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},Yn||(Yn=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),Kn||(Kn=i.createElement("g",{mask:"url(#mask1_1_381)"},i.createElement("path",{d:"M132.159 40.4961C132.159 40.8134 132.416 41.0702 132.733 41.0702C133.05 41.0702 133.308 40.8134 133.308 40.4961C133.308 40.1788 133.05 39.922 132.733 39.922C132.416 39.922 132.159 40.1788 132.159 40.4961ZM131.547 38.9524L130.462 38.9049C130.523 39.156 130.739 39.346 131.009 39.346C131.262 39.346 131.47 39.1799 131.547 38.9524ZM134.518 45.1065L135.03 45.66C135.026 45.3686 134.802 45.1377 134.518 45.1065ZM132.954 43.415L133.269 43.7563C133.215 43.6027 133.104 43.4769 132.954 43.415ZM134.457 41.6462C134.14 41.6462 133.884 41.903 133.884 42.2203C133.884 42.5371 134.14 42.7943 134.457 42.7943C134.774 42.7943 135.031 42.5371 135.031 42.2203C135.031 41.903 134.774 41.6462 134.457 41.6462ZM134.457 39.346C134.649 39.346 134.811 39.2457 134.916 39.1007L133.971 39.059C134.071 39.2275 134.247 39.346 134.457 39.346ZM137.906 48.5424C137.843 48.5424 137.785 48.5596 137.728 48.5783L138.434 49.3415C138.463 49.2724 138.48 49.1966 138.48 49.1164C138.48 48.7996 138.223 48.5424 137.906 48.5424ZM136.181 46.8182C136.157 46.8182 136.137 46.8292 136.114 46.8321L136.733 47.5027C136.741 47.4657 136.755 47.4316 136.755 47.3928C136.755 47.0755 136.499 46.8182 136.181 46.8182ZM137.906 45.0945C137.589 45.0945 137.331 45.3513 137.331 45.6686C137.331 45.9859 137.589 46.2427 137.906 46.2427C138.223 46.2427 138.48 45.9859 138.48 45.6686C138.48 45.3513 138.223 45.0945 137.906 45.0945ZM136.181 43.3704C135.865 43.3704 135.608 43.6271 135.608 43.9444C135.608 44.2617 135.865 44.5185 136.181 44.5185C136.499 44.5185 136.755 44.2617 136.755 43.9444C136.755 43.6271 136.499 43.3704 136.181 43.3704ZM137.906 41.6462C137.589 41.6462 137.331 41.903 137.331 42.2203C137.331 42.5371 137.589 42.7943 137.906 42.7943C138.223 42.7943 138.48 42.5371 138.48 42.2203C138.48 41.903 138.223 41.6462 137.906 41.6462ZM136.181 39.922C135.865 39.922 135.608 40.1788 135.608 40.4961C135.608 40.8134 135.865 41.0702 136.181 41.0702C136.499 41.0702 136.755 40.8134 136.755 40.4961C136.755 40.1788 136.499 39.922 136.181 39.922ZM137.906 39.346C138.021 39.346 138.122 39.3038 138.211 39.2457L137.557 39.2164C137.654 39.2932 137.772 39.346 137.906 39.346ZM141.354 51.9907C141.22 51.9907 141.102 52.0439 141.004 52.1212L141.772 52.9521C141.867 52.8499 141.928 52.7155 141.928 52.5648C141.928 52.2479 141.671 51.9907 141.354 51.9907ZM139.63 50.2665C139.53 50.2665 139.442 50.2987 139.36 50.3428L140.103 51.1468C140.162 51.0566 140.204 50.9563 140.204 50.8406C140.204 50.5238 139.947 50.2665 139.63 50.2665ZM141.354 48.5424C141.037 48.5424 140.78 48.7996 140.78 49.1164C140.78 49.4337 141.037 49.691 141.354 49.691C141.671 49.691 141.928 49.4337 141.928 49.1164C141.928 48.7996 141.671 48.5424 141.354 48.5424ZM139.63 46.8182C139.312 46.8182 139.056 47.0755 139.056 47.3928C139.056 47.7096 139.312 47.9668 139.63 47.9668C139.947 47.9668 140.204 47.7096 140.204 47.3928C140.204 47.0755 139.947 46.8182 139.63 46.8182ZM141.354 45.0945C141.037 45.0945 140.78 45.3513 140.78 45.6686C140.78 45.9859 141.037 46.2427 141.354 46.2427C141.671 46.2427 141.928 45.9859 141.928 45.6686C141.928 45.3513 141.671 45.0945 141.354 45.0945ZM139.63 43.3704C139.312 43.3704 139.056 43.6271 139.056 43.9444C139.056 44.2617 139.312 44.5185 139.63 44.5185C139.947 44.5185 140.204 44.2617 140.204 43.9444C140.204 43.6271 139.947 43.3704 139.63 43.3704ZM141.354 41.6462C141.037 41.6462 140.78 41.903 140.78 42.2203C140.78 42.5371 141.037 42.7943 141.354 42.7943C141.671 42.7943 141.928 42.5371 141.928 42.2203C141.928 41.903 141.671 41.6462 141.354 41.6462ZM139.63 39.922C139.312 39.922 139.056 40.1788 139.056 40.4961C139.056 40.8134 139.312 41.0702 139.63 41.0702C139.947 41.0702 140.204 40.8134 140.204 40.4961C140.204 40.1788 139.947 39.922 139.63 39.922ZM143.652 54.2889C143.652 53.9721 143.395 53.7148 143.078 53.7148C142.909 53.7148 142.761 53.7911 142.656 53.9073L143.423 54.7363C143.558 54.6316 143.652 54.4742 143.652 54.2889ZM145.376 56.0131C145.376 55.6963 145.119 55.439 144.802 55.439C144.598 55.439 144.427 55.5518 144.325 55.7126L145.067 56.5147C145.249 56.4182 145.376 56.2334 145.376 56.0131ZM144.802 51.9907C144.485 51.9907 144.228 52.2479 144.228 52.5648C144.228 52.882 144.485 53.1388 144.802 53.1388C145.119 53.1388 145.376 52.882 145.376 52.5648C145.376 52.2479 145.119 51.9907 144.802 51.9907ZM143.078 50.2665C142.761 50.2665 142.504 50.5238 142.504 50.8406C142.504 51.1579 142.761 51.4151 143.078 51.4151C143.395 51.4151 143.652 51.1579 143.652 50.8406C143.652 50.5238 143.395 50.2665 143.078 50.2665ZM144.802 48.5424C144.485 48.5424 144.228 48.7996 144.228 49.1164C144.228 49.4337 144.485 49.691 144.802 49.691C145.119 49.691 145.376 49.4337 145.376 49.1164C145.376 48.7996 145.119 48.5424 144.802 48.5424ZM143.078 46.8182C142.761 46.8182 142.504 47.0755 142.504 47.3928C142.504 47.7096 142.761 47.9668 143.078 47.9668C143.395 47.9668 143.652 47.7096 143.652 47.3928C143.652 47.0755 143.395 46.8182 143.078 46.8182ZM144.802 45.0945C144.485 45.0945 144.228 45.3513 144.228 45.6686C144.228 45.9859 144.485 46.2427 144.802 46.2427C145.119 46.2427 145.376 45.9859 145.376 45.6686C145.376 45.3513 145.119 45.0945 144.802 45.0945ZM143.078 43.3704C142.761 43.3704 142.504 43.6271 142.504 43.9444C142.504 44.2617 142.761 44.5185 143.078 44.5185C143.395 44.5185 143.652 44.2617 143.652 43.9444C143.652 43.6271 143.395 43.3704 143.078 43.3704ZM144.802 41.6462C144.485 41.6462 144.228 41.903 144.228 42.2203C144.228 42.5371 144.485 42.7943 144.802 42.7943C145.119 42.7943 145.376 42.5371 145.376 42.2203C145.376 41.903 145.119 41.6462 144.802 41.6462ZM143.078 39.922C142.761 39.922 142.504 40.1788 142.504 40.4961C142.504 40.8134 142.761 41.0702 143.078 41.0702C143.395 41.0702 143.652 40.8134 143.652 40.4961C143.652 40.1788 143.395 39.922 143.078 39.922ZM147.1 57.7372C147.1 57.42 146.844 57.1631 146.526 57.1631C146.286 57.1631 146.082 57.3105 145.996 57.5198L146.696 58.2772C146.929 58.2038 147.1 57.994 147.1 57.7372ZM148.825 59.4614C148.825 59.1441 148.568 58.8873 148.25 58.8873C147.969 58.8873 147.746 59.0928 147.697 59.3592L148.31 60.0235C148.598 59.9918 148.825 59.7571 148.825 59.4614ZM148.25 55.439C147.933 55.439 147.676 55.6963 147.676 56.0131C147.676 56.3303 147.933 56.5871 148.25 56.5871C148.568 56.5871 148.825 56.3303 148.825 56.0131C148.825 55.6963 148.568 55.439 148.25 55.439ZM146.526 53.7148C146.209 53.7148 145.952 53.9721 145.952 54.2889C145.952 54.6062 146.209 54.863 146.526 54.863C146.844 54.863 147.1 54.6062 147.1 54.2889C147.1 53.9721 146.844 53.7148 146.526 53.7148ZM148.25 51.9907C147.933 51.9907 147.676 52.2479 147.676 52.5648C147.676 52.882 147.933 53.1388 148.25 53.1388C148.568 53.1388 148.825 52.882 148.825 52.5648C148.825 52.2479 148.568 51.9907 148.25 51.9907ZM146.526 50.2665C146.209 50.2665 145.952 50.5238 145.952 50.8406C145.952 51.1579 146.209 51.4151 146.526 51.4151C146.844 51.4151 147.1 51.1579 147.1 50.8406C147.1 50.5238 146.844 50.2665 146.526 50.2665ZM148.25 48.5424C147.933 48.5424 147.676 48.7996 147.676 49.1164C147.676 49.4337 147.933 49.691 148.25 49.691C148.568 49.691 148.825 49.4337 148.825 49.1164C148.825 48.7996 148.568 48.5424 148.25 48.5424ZM146.526 46.8182C146.209 46.8182 145.952 47.0755 145.952 47.3928C145.952 47.7096 146.209 47.9668 146.526 47.9668C146.844 47.9668 147.1 47.7096 147.1 47.3928C147.1 47.0755 146.844 46.8182 146.526 46.8182ZM148.25 45.0945C147.933 45.0945 147.676 45.3513 147.676 45.6686C147.676 45.9859 147.933 46.2427 148.25 46.2427C148.568 46.2427 148.825 45.9859 148.825 45.6686C148.825 45.3513 148.568 45.0945 148.25 45.0945ZM146.526 43.3704C146.209 43.3704 145.952 43.6271 145.952 43.9444C145.952 44.2617 146.209 44.5185 146.526 44.5185C146.844 44.5185 147.1 44.2617 147.1 43.9444C147.1 43.6271 146.844 43.3704 146.526 43.3704ZM148.25 41.6462C147.933 41.6462 147.676 41.903 147.676 42.2203C147.676 42.5371 147.933 42.7943 148.25 42.7943C148.568 42.7943 148.825 42.5371 148.825 42.2203C148.825 41.903 148.568 41.6462 148.25 41.6462ZM146.526 39.922C146.209 39.922 145.952 40.1788 145.952 40.4961C145.952 40.8134 146.209 41.0702 146.526 41.0702C146.844 41.0702 147.1 40.8134 147.1 40.4961C147.1 40.1788 146.844 39.922 146.526 39.922ZM150.549 61.1855C150.549 60.8683 150.291 60.6115 149.974 60.6115C149.657 60.6115 149.4 60.8683 149.4 61.1855C149.4 61.1927 149.404 61.199 149.404 61.2062L149.903 61.7452C149.928 61.7481 149.949 61.7596 149.974 61.7596C150.291 61.7596 150.549 61.5028 150.549 61.1855ZM152.272 62.9097C152.272 62.5924 152.016 62.3356 151.698 62.3356C151.382 62.3356 151.125 62.5924 151.125 62.9097C151.125 62.9808 151.142 63.047 151.165 63.1099L151.458 63.4271C151.532 63.4617 151.612 63.4838 151.698 63.4838C152.016 63.4838 152.272 63.2265 152.272 62.9097ZM151.698 58.8873C151.382 58.8873 151.125 59.1441 151.125 59.4614C151.125 59.7782 151.382 60.0355 151.698 60.0355C152.016 60.0355 152.272 59.7782 152.272 59.4614C152.272 59.1441 152.016 58.8873 151.698 58.8873ZM149.974 57.1631C149.657 57.1631 149.4 57.42 149.4 57.7372C149.4 58.0545 149.657 58.3113 149.974 58.3113C150.291 58.3113 150.549 58.0545 150.549 57.7372C150.549 57.42 150.291 57.1631 149.974 57.1631ZM151.698 55.439C151.382 55.439 151.125 55.6963 151.125 56.0131C151.125 56.3303 151.382 56.5871 151.698 56.5871C152.016 56.5871 152.272 56.3303 152.272 56.0131C152.272 55.6963 152.016 55.439 151.698 55.439ZM149.974 53.7148C149.657 53.7148 149.4 53.9721 149.4 54.2889C149.4 54.6062 149.657 54.863 149.974 54.863C150.291 54.863 150.549 54.6062 150.549 54.2889C150.549 53.9721 150.291 53.7148 149.974 53.7148ZM151.698 51.9907C151.382 51.9907 151.125 52.2479 151.125 52.5648C151.125 52.882 151.382 53.1388 151.698 53.1388C152.016 53.1388 152.272 52.882 152.272 52.5648C152.272 52.2479 152.016 51.9907 151.698 51.9907ZM149.974 50.2665C149.657 50.2665 149.4 50.5238 149.4 50.8406C149.4 51.1579 149.657 51.4151 149.974 51.4151C150.291 51.4151 150.549 51.1579 150.549 50.8406C150.549 50.5238 150.291 50.2665 149.974 50.2665ZM151.698 48.5424C151.382 48.5424 151.125 48.7996 151.125 49.1164C151.125 49.4337 151.382 49.691 151.698 49.691C152.016 49.691 152.272 49.4337 152.272 49.1164C152.272 48.7996 152.016 48.5424 151.698 48.5424ZM149.974 46.8182C149.657 46.8182 149.4 47.0755 149.4 47.3928C149.4 47.7096 149.657 47.9668 149.974 47.9668C150.291 47.9668 150.549 47.7096 150.549 47.3928C150.549 47.0755 150.291 46.8182 149.974 46.8182ZM151.698 45.0945C151.382 45.0945 151.125 45.3513 151.125 45.6686C151.125 45.9859 151.382 46.2427 151.698 46.2427C152.016 46.2427 152.272 45.9859 152.272 45.6686C152.272 45.3513 152.016 45.0945 151.698 45.0945ZM149.974 43.3704C149.657 43.3704 149.4 43.6271 149.4 43.9444C149.4 44.2617 149.657 44.5185 149.974 44.5185C150.291 44.5185 150.549 44.2617 150.549 43.9444C150.549 43.6271 150.291 43.3704 149.974 43.3704ZM151.698 41.6462C151.382 41.6462 151.125 41.903 151.125 42.2203C151.125 42.5371 151.382 42.7943 151.698 42.7943C152.016 42.7943 152.272 42.5371 152.272 42.2203C152.272 41.903 152.016 41.6462 151.698 41.6462ZM149.974 39.922C149.657 39.922 149.4 40.1788 149.4 40.4961C149.4 40.8134 149.657 41.0702 149.974 41.0702C150.291 41.0702 150.549 40.8134 150.549 40.4961C150.549 40.1788 150.291 39.922 149.974 39.922ZM155.147 65.784C154.829 65.784 154.573 66.0407 154.573 66.3575C154.573 66.6748 154.829 66.9321 155.147 66.9321C155.464 66.9321 155.721 66.6748 155.721 66.3575C155.721 66.0407 155.464 65.784 155.147 65.784ZM153.423 64.0593C153.106 64.0593 152.849 64.3166 152.849 64.6339C152.849 64.9507 153.106 65.2079 153.423 65.2079C153.74 65.2079 153.997 64.9507 153.997 64.6339C153.997 64.3166 153.74 64.0593 153.423 64.0593ZM155.147 62.3356C154.829 62.3356 154.573 62.5924 154.573 62.9097C154.573 63.2265 154.829 63.4838 155.147 63.4838C155.464 63.4838 155.721 63.2265 155.721 62.9097C155.721 62.5924 155.464 62.3356 155.147 62.3356ZM153.423 60.6115C153.106 60.6115 152.849 60.8683 152.849 61.1855C152.849 61.5028 153.106 61.7596 153.423 61.7596C153.74 61.7596 153.997 61.5028 153.997 61.1855C153.997 60.8683 153.74 60.6115 153.423 60.6115ZM155.147 58.8873C154.829 58.8873 154.573 59.1441 154.573 59.4614C154.573 59.7782 154.829 60.0355 155.147 60.0355C155.464 60.0355 155.721 59.7782 155.721 59.4614C155.721 59.1441 155.464 58.8873 155.147 58.8873ZM153.423 57.1631C153.106 57.1631 152.849 57.42 152.849 57.7372C152.849 58.0545 153.106 58.3113 153.423 58.3113C153.74 58.3113 153.997 58.0545 153.997 57.7372C153.997 57.42 153.74 57.1631 153.423 57.1631ZM155.147 55.439C154.829 55.439 154.573 55.6963 154.573 56.0131C154.573 56.3303 154.829 56.5871 155.147 56.5871C155.464 56.5871 155.721 56.3303 155.721 56.0131C155.721 55.6963 155.464 55.439 155.147 55.439ZM153.423 53.7148C153.106 53.7148 152.849 53.9721 152.849 54.2889C152.849 54.6062 153.106 54.863 153.423 54.863C153.74 54.863 153.997 54.6062 153.997 54.2889C153.997 53.9721 153.74 53.7148 153.423 53.7148ZM155.147 51.9907C154.829 51.9907 154.573 52.2479 154.573 52.5648C154.573 52.882 154.829 53.1388 155.147 53.1388C155.464 53.1388 155.721 52.882 155.721 52.5648C155.721 52.2479 155.464 51.9907 155.147 51.9907ZM153.423 50.2665C153.106 50.2665 152.849 50.5238 152.849 50.8406C152.849 51.1579 153.106 51.4151 153.423 51.4151C153.74 51.4151 153.997 51.1579 153.997 50.8406C153.997 50.5238 153.74 50.2665 153.423 50.2665ZM155.147 48.5424C154.829 48.5424 154.573 48.7996 154.573 49.1164C154.573 49.4337 154.829 49.691 155.147 49.691C155.464 49.691 155.721 49.4337 155.721 49.1164C155.721 48.7996 155.464 48.5424 155.147 48.5424ZM153.423 46.8182C153.106 46.8182 152.849 47.0755 152.849 47.3928C152.849 47.7096 153.106 47.9668 153.423 47.9668C153.74 47.9668 153.997 47.7096 153.997 47.3928C153.997 47.0755 153.74 46.8182 153.423 46.8182ZM155.147 45.0945C154.829 45.0945 154.573 45.3513 154.573 45.6686C154.573 45.9859 154.829 46.2427 155.147 46.2427C155.464 46.2427 155.721 45.9859 155.721 45.6686C155.721 45.3513 155.464 45.0945 155.147 45.0945ZM153.423 43.3704C153.106 43.3704 152.849 43.6271 152.849 43.9444C152.849 44.2617 153.106 44.5185 153.423 44.5185C153.74 44.5185 153.997 44.2617 153.997 43.9444C153.997 43.6271 153.74 43.3704 153.423 43.3704ZM155.147 41.6462C154.829 41.6462 154.573 41.903 154.573 42.2203C154.573 42.5371 154.829 42.7943 155.147 42.7943C155.464 42.7943 155.721 42.5371 155.721 42.2203C155.721 41.903 155.464 41.6462 155.147 41.6462ZM156.297 40.4961C156.297 40.8134 156.554 41.0702 156.871 41.0702C157.188 41.0702 157.445 40.8134 157.445 40.4961C157.445 40.3334 157.376 40.1879 157.268 40.0838L156.523 40.0511C156.389 40.1563 156.297 40.3123 156.297 40.4961ZM153.423 39.922C153.106 39.922 152.849 40.1788 152.849 40.4961C152.849 40.8134 153.106 41.0702 153.423 41.0702C153.74 41.0702 153.997 40.8134 153.997 40.4961C153.997 40.1788 153.74 39.922 153.423 39.922ZM158.595 69.2318C158.278 69.2318 158.021 69.4891 158.021 69.8064C158.021 70.1232 158.278 70.3799 158.595 70.3799C158.912 70.3799 159.169 70.1232 159.169 69.8064C159.169 69.4891 158.912 69.2318 158.595 69.2318ZM156.871 67.5076C156.554 67.5076 156.297 67.7649 156.297 68.0817C156.297 68.399 156.554 68.6563 156.871 68.6563C157.188 68.6563 157.445 68.399 157.445 68.0817C157.445 67.7649 157.188 67.5076 156.871 67.5076ZM158.595 65.784C158.278 65.784 158.021 66.0407 158.021 66.3575C158.021 66.6748 158.278 66.9321 158.595 66.9321C158.912 66.9321 159.169 66.6748 159.169 66.3575C159.169 66.0407 158.912 65.784 158.595 65.784ZM156.871 64.0593C156.554 64.0593 156.297 64.3166 156.297 64.6339C156.297 64.9507 156.554 65.2079 156.871 65.2079C157.188 65.2079 157.445 64.9507 157.445 64.6339C157.445 64.3166 157.188 64.0593 156.871 64.0593ZM158.595 62.3356C158.278 62.3356 158.021 62.5924 158.021 62.9097C158.021 63.2265 158.278 63.4838 158.595 63.4838C158.912 63.4838 159.169 63.2265 159.169 62.9097C159.169 62.5924 158.912 62.3356 158.595 62.3356ZM156.871 60.6115C156.554 60.6115 156.297 60.8683 156.297 61.1855C156.297 61.5028 156.554 61.7596 156.871 61.7596C157.188 61.7596 157.445 61.5028 157.445 61.1855C157.445 60.8683 157.188 60.6115 156.871 60.6115ZM158.595 58.8873C158.278 58.8873 158.021 59.1441 158.021 59.4614C158.021 59.7782 158.278 60.0355 158.595 60.0355C158.912 60.0355 159.169 59.7782 159.169 59.4614C159.169 59.1441 158.912 58.8873 158.595 58.8873ZM156.871 57.1631C156.554 57.1631 156.297 57.42 156.297 57.7372C156.297 58.0545 156.554 58.3113 156.871 58.3113C157.188 58.3113 157.445 58.0545 157.445 57.7372C157.445 57.42 157.188 57.1631 156.871 57.1631ZM158.595 55.439C158.278 55.439 158.021 55.6963 158.021 56.0131C158.021 56.3303 158.278 56.5871 158.595 56.5871C158.912 56.5871 159.169 56.3303 159.169 56.0131C159.169 55.6963 158.912 55.439 158.595 55.439ZM156.871 53.7148C156.554 53.7148 156.297 53.9721 156.297 54.2889C156.297 54.6062 156.554 54.863 156.871 54.863C157.188 54.863 157.445 54.6062 157.445 54.2889C157.445 53.9721 157.188 53.7148 156.871 53.7148ZM158.595 51.9907C158.278 51.9907 158.021 52.2479 158.021 52.5648C158.021 52.882 158.278 53.1388 158.595 53.1388C158.912 53.1388 159.169 52.882 159.169 52.5648C159.169 52.2479 158.912 51.9907 158.595 51.9907ZM156.871 50.2665C156.554 50.2665 156.297 50.5238 156.297 50.8406C156.297 51.1579 156.554 51.4151 156.871 51.4151C157.188 51.4151 157.445 51.1579 157.445 50.8406C157.445 50.5238 157.188 50.2665 156.871 50.2665ZM158.595 48.5424C158.278 48.5424 158.021 48.7996 158.021 49.1164C158.021 49.4337 158.278 49.691 158.595 49.691C158.912 49.691 159.169 49.4337 159.169 49.1164C159.169 48.7996 158.912 48.5424 158.595 48.5424ZM156.871 46.8182C156.554 46.8182 156.297 47.0755 156.297 47.3928C156.297 47.7096 156.554 47.9668 156.871 47.9668C157.188 47.9668 157.445 47.7096 157.445 47.3928C157.445 47.0755 157.188 46.8182 156.871 46.8182ZM158.595 45.0945C158.278 45.0945 158.021 45.3513 158.021 45.6686C158.021 45.9859 158.278 46.2427 158.595 46.2427C158.912 46.2427 159.169 45.9859 159.169 45.6686C159.169 45.3513 158.912 45.0945 158.595 45.0945ZM160.319 41.0702C160.636 41.0702 160.893 40.8134 160.893 40.4961C160.893 40.403 160.866 40.318 160.826 40.2403L159.841 40.1966C159.786 40.2854 159.745 40.3838 159.745 40.4961C159.745 40.8134 160.002 41.0702 160.319 41.0702ZM156.871 43.3704C156.554 43.3704 156.297 43.6271 156.297 43.9444C156.297 44.2617 156.554 44.5185 156.871 44.5185C157.188 44.5185 157.445 44.2617 157.445 43.9444C157.445 43.6271 157.188 43.3704 156.871 43.3704ZM158.595 41.6462C158.278 41.6462 158.021 41.903 158.021 42.2203C158.021 42.5371 158.278 42.7943 158.595 42.7943C158.912 42.7943 159.169 42.5371 159.169 42.2203C159.169 41.903 158.912 41.6462 158.595 41.6462ZM162.043 72.6801C161.726 72.6801 161.469 72.9369 161.469 73.2542C161.469 73.5715 161.726 73.8283 162.043 73.8283C162.361 73.8283 162.617 73.5715 162.617 73.2542C162.617 72.9369 162.361 72.6801 162.043 72.6801ZM160.319 70.956C160.002 70.956 159.745 71.2132 159.745 71.53C159.745 71.8473 160.002 72.1046 160.319 72.1046C160.636 72.1046 160.893 71.8473 160.893 71.53C160.893 71.2132 160.636 70.956 160.319 70.956ZM162.043 69.2318C161.726 69.2318 161.469 69.4891 161.469 69.8064C161.469 70.1232 161.726 70.3799 162.043 70.3799C162.361 70.3799 162.617 70.1232 162.617 69.8064C162.617 69.4891 162.361 69.2318 162.043 69.2318ZM160.319 67.5076C160.002 67.5076 159.745 67.7649 159.745 68.0817C159.745 68.399 160.002 68.6563 160.319 68.6563C160.636 68.6563 160.893 68.399 160.893 68.0817C160.893 67.7649 160.636 67.5076 160.319 67.5076ZM162.043 65.784C161.726 65.784 161.469 66.0407 161.469 66.3575C161.469 66.6748 161.726 66.9321 162.043 66.9321C162.361 66.9321 162.617 66.6748 162.617 66.3575C162.617 66.0407 162.361 65.784 162.043 65.784ZM160.319 64.0593C160.002 64.0593 159.745 64.3166 159.745 64.6339C159.745 64.9507 160.002 65.2079 160.319 65.2079C160.636 65.2079 160.893 64.9507 160.893 64.6339C160.893 64.3166 160.636 64.0593 160.319 64.0593ZM162.043 62.3356C161.726 62.3356 161.469 62.5924 161.469 62.9097C161.469 63.2265 161.726 63.4838 162.043 63.4838C162.361 63.4838 162.617 63.2265 162.617 62.9097C162.617 62.5924 162.361 62.3356 162.043 62.3356ZM160.319 60.6115C160.002 60.6115 159.745 60.8683 159.745 61.1855C159.745 61.5028 160.002 61.7596 160.319 61.7596C160.636 61.7596 160.893 61.5028 160.893 61.1855C160.893 60.8683 160.636 60.6115 160.319 60.6115ZM162.043 58.8873C161.726 58.8873 161.469 59.1441 161.469 59.4614C161.469 59.7782 161.726 60.0355 162.043 60.0355C162.361 60.0355 162.617 59.7782 162.617 59.4614C162.617 59.1441 162.361 58.8873 162.043 58.8873ZM160.319 57.1631C160.002 57.1631 159.745 57.42 159.745 57.7372C159.745 58.0545 160.002 58.3113 160.319 58.3113C160.636 58.3113 160.893 58.0545 160.893 57.7372C160.893 57.42 160.636 57.1631 160.319 57.1631ZM162.043 55.439C161.726 55.439 161.469 55.6963 161.469 56.0131C161.469 56.3303 161.726 56.5871 162.043 56.5871C162.361 56.5871 162.617 56.3303 162.617 56.0131C162.617 55.6963 162.361 55.439 162.043 55.439ZM160.319 53.7148C160.002 53.7148 159.745 53.9721 159.745 54.2889C159.745 54.6062 160.002 54.863 160.319 54.863C160.636 54.863 160.893 54.6062 160.893 54.2889C160.893 53.9721 160.636 53.7148 160.319 53.7148ZM162.043 51.9907C161.726 51.9907 161.469 52.2479 161.469 52.5648C161.469 52.882 161.726 53.1388 162.043 53.1388C162.361 53.1388 162.617 52.882 162.617 52.5648C162.617 52.2479 162.361 51.9907 162.043 51.9907ZM160.319 50.2665C160.002 50.2665 159.745 50.5238 159.745 50.8406C159.745 51.1579 160.002 51.4151 160.319 51.4151C160.636 51.4151 160.893 51.1579 160.893 50.8406C160.893 50.5238 160.636 50.2665 160.319 50.2665ZM162.043 48.5424C161.726 48.5424 161.469 48.7996 161.469 49.1164C161.469 49.4337 161.726 49.691 162.043 49.691C162.361 49.691 162.617 49.4337 162.617 49.1164C162.617 48.7996 162.361 48.5424 162.043 48.5424ZM160.319 46.8182C160.002 46.8182 159.745 47.0755 159.745 47.3928C159.745 47.7096 160.002 47.9668 160.319 47.9668C160.636 47.9668 160.893 47.7096 160.893 47.3928C160.893 47.0755 160.636 46.8182 160.319 46.8182ZM162.043 45.0945C161.726 45.0945 161.469 45.3513 161.469 45.6686C161.469 45.9859 161.726 46.2427 162.043 46.2427C162.361 46.2427 162.617 45.9859 162.617 45.6686C162.617 45.3513 162.361 45.0945 162.043 45.0945ZM163.767 41.0702C164.085 41.0702 164.342 40.8134 164.342 40.4961C164.342 40.4596 164.328 40.4284 164.321 40.3939L163.224 40.3459C163.21 40.3948 163.193 40.4428 163.193 40.4961C163.193 40.8134 163.45 41.0702 163.767 41.0702ZM160.319 43.3704C160.002 43.3704 159.745 43.6271 159.745 43.9444C159.745 44.2617 160.002 44.5185 160.319 44.5185C160.636 44.5185 160.893 44.2617 160.893 43.9444C160.893 43.6271 160.636 43.3704 160.319 43.3704ZM162.043 41.6462C161.726 41.6462 161.469 41.903 161.469 42.2203C161.469 42.5371 161.726 42.7943 162.043 42.7943C162.361 42.7943 162.617 42.5371 162.617 42.2203C162.617 41.903 162.361 41.6462 162.043 41.6462ZM165.491 76.1284C165.174 76.1284 164.917 76.3857 164.917 76.7025C164.917 77.0198 165.174 77.2766 165.491 77.2766C165.809 77.2766 166.066 77.0198 166.066 76.7025C166.066 76.3857 165.809 76.1284 165.491 76.1284ZM163.767 74.4043C163.45 74.4043 163.193 74.6611 163.193 74.9783C163.193 75.2956 163.45 75.5524 163.767 75.5524C164.085 75.5524 164.342 75.2956 164.342 74.9783C164.342 74.6611 164.085 74.4043 163.767 74.4043ZM165.491 72.6801C165.174 72.6801 164.917 72.9369 164.917 73.2542C164.917 73.5715 165.174 73.8283 165.491 73.8283C165.809 73.8283 166.066 73.5715 166.066 73.2542C166.066 72.9369 165.809 72.6801 165.491 72.6801ZM163.767 70.956C163.45 70.956 163.193 71.2132 163.193 71.53C163.193 71.8473 163.45 72.1046 163.767 72.1046C164.085 72.1046 164.342 71.8473 164.342 71.53C164.342 71.2132 164.085 70.956 163.767 70.956ZM165.491 69.2318C165.174 69.2318 164.917 69.4891 164.917 69.8064C164.917 70.1232 165.174 70.3799 165.491 70.3799C165.809 70.3799 166.066 70.1232 166.066 69.8064C166.066 69.4891 165.809 69.2318 165.491 69.2318ZM163.767 67.5076C163.45 67.5076 163.193 67.7649 163.193 68.0817C163.193 68.399 163.45 68.6563 163.767 68.6563C164.085 68.6563 164.342 68.399 164.342 68.0817C164.342 67.7649 164.085 67.5076 163.767 67.5076ZM165.491 65.784C165.174 65.784 164.917 66.0407 164.917 66.3575C164.917 66.6748 165.174 66.9321 165.491 66.9321C165.809 66.9321 166.066 66.6748 166.066 66.3575C166.066 66.0407 165.809 65.784 165.491 65.784ZM163.767 64.0593C163.45 64.0593 163.193 64.3166 163.193 64.6339C163.193 64.9507 163.45 65.2079 163.767 65.2079C164.085 65.2079 164.342 64.9507 164.342 64.6339C164.342 64.3166 164.085 64.0593 163.767 64.0593ZM165.491 62.3356C165.174 62.3356 164.917 62.5924 164.917 62.9097C164.917 63.2265 165.174 63.4838 165.491 63.4838C165.809 63.4838 166.066 63.2265 166.066 62.9097C166.066 62.5924 165.809 62.3356 165.491 62.3356ZM163.767 60.6115C163.45 60.6115 163.193 60.8683 163.193 61.1855C163.193 61.5028 163.45 61.7596 163.767 61.7596C164.085 61.7596 164.342 61.5028 164.342 61.1855C164.342 60.8683 164.085 60.6115 163.767 60.6115ZM165.491 58.8873C165.174 58.8873 164.917 59.1441 164.917 59.4614C164.917 59.7782 165.174 60.0355 165.491 60.0355C165.809 60.0355 166.066 59.7782 166.066 59.4614C166.066 59.1441 165.809 58.8873 165.491 58.8873ZM163.767 57.1631C163.45 57.1631 163.193 57.42 163.193 57.7372C163.193 58.0545 163.45 58.3113 163.767 58.3113C164.085 58.3113 164.342 58.0545 164.342 57.7372C164.342 57.42 164.085 57.1631 163.767 57.1631ZM165.491 55.439C165.174 55.439 164.917 55.6963 164.917 56.0131C164.917 56.3303 165.174 56.5871 165.491 56.5871C165.809 56.5871 166.066 56.3303 166.066 56.0131C166.066 55.6963 165.809 55.439 165.491 55.439ZM163.767 53.7148C163.45 53.7148 163.193 53.9721 163.193 54.2889C163.193 54.6062 163.45 54.863 163.767 54.863C164.085 54.863 164.342 54.6062 164.342 54.2889C164.342 53.9721 164.085 53.7148 163.767 53.7148ZM165.491 51.9907C165.174 51.9907 164.917 52.2479 164.917 52.5648C164.917 52.882 165.174 53.1388 165.491 53.1388C165.809 53.1388 166.066 52.882 166.066 52.5648C166.066 52.2479 165.809 51.9907 165.491 51.9907ZM163.767 50.2665C163.45 50.2665 163.193 50.5238 163.193 50.8406C163.193 51.1579 163.45 51.4151 163.767 51.4151C164.085 51.4151 164.342 51.1579 164.342 50.8406C164.342 50.5238 164.085 50.2665 163.767 50.2665ZM165.491 48.5424C165.174 48.5424 164.917 48.7996 164.917 49.1164C164.917 49.4337 165.174 49.691 165.491 49.691C165.809 49.691 166.066 49.4337 166.066 49.1164C166.066 48.7996 165.809 48.5424 165.491 48.5424ZM163.767 46.8182C163.45 46.8182 163.193 47.0755 163.193 47.3928C163.193 47.7096 163.45 47.9668 163.767 47.9668C164.085 47.9668 164.342 47.7096 164.342 47.3928C164.342 47.0755 164.085 46.8182 163.767 46.8182ZM165.491 45.0945C165.174 45.0945 164.917 45.3513 164.917 45.6686C164.917 45.9859 165.174 46.2427 165.491 46.2427C165.809 46.2427 166.066 45.9859 166.066 45.6686C166.066 45.3513 165.809 45.0945 165.491 45.0945ZM167.215 41.0702C167.515 41.0702 167.753 40.8383 167.78 40.546L166.642 40.4961C166.642 40.8134 166.898 41.0702 167.215 41.0702ZM163.767 43.3704C163.45 43.3704 163.193 43.6271 163.193 43.9444C163.193 44.2617 163.45 44.5185 163.767 44.5185C164.085 44.5185 164.342 44.2617 164.342 43.9444C164.342 43.6271 164.085 43.3704 163.767 43.3704ZM165.491 41.6462C165.174 41.6462 164.917 41.903 164.917 42.2203C164.917 42.5371 165.174 42.7943 165.491 42.7943C165.809 42.7943 166.066 42.5371 166.066 42.2203C166.066 41.903 165.809 41.6462 165.491 41.6462ZM168.939 79.5763C168.623 79.5763 168.366 79.8335 168.366 80.1508C168.366 80.4676 168.623 80.7249 168.939 80.7249C169.257 80.7249 169.514 80.4676 169.514 80.1508C169.514 79.8335 169.257 79.5763 168.939 79.5763ZM167.215 77.8526C166.898 77.8526 166.642 78.1094 166.642 78.4267C166.642 78.7439 166.898 79.0007 167.215 79.0007C167.533 79.0007 167.789 78.7439 167.789 78.4267C167.789 78.1094 167.533 77.8526 167.215 77.8526ZM168.939 76.1284C168.623 76.1284 168.366 76.3857 168.366 76.7025C168.366 77.0198 168.623 77.2766 168.939 77.2766C169.257 77.2766 169.514 77.0198 169.514 76.7025C169.514 76.3857 169.257 76.1284 168.939 76.1284ZM167.215 74.4043C166.898 74.4043 166.642 74.6611 166.642 74.9783C166.642 75.2956 166.898 75.5524 167.215 75.5524C167.533 75.5524 167.789 75.2956 167.789 74.9783C167.789 74.6611 167.533 74.4043 167.215 74.4043ZM168.939 72.6801C168.623 72.6801 168.366 72.9369 168.366 73.2542C168.366 73.5715 168.623 73.8283 168.939 73.8283C169.257 73.8283 169.514 73.5715 169.514 73.2542C169.514 72.9369 169.257 72.6801 168.939 72.6801ZM167.215 70.956C166.898 70.956 166.642 71.2132 166.642 71.53C166.642 71.8473 166.898 72.1046 167.215 72.1046C167.533 72.1046 167.789 71.8473 167.789 71.53C167.789 71.2132 167.533 70.956 167.215 70.956ZM168.939 69.2318C168.623 69.2318 168.366 69.4891 168.366 69.8064C168.366 70.1232 168.623 70.3799 168.939 70.3799C169.257 70.3799 169.514 70.1232 169.514 69.8064C169.514 69.4891 169.257 69.2318 168.939 69.2318ZM167.215 67.5076C166.898 67.5076 166.642 67.7649 166.642 68.0817C166.642 68.399 166.898 68.6563 167.215 68.6563C167.533 68.6563 167.789 68.399 167.789 68.0817C167.789 67.7649 167.533 67.5076 167.215 67.5076ZM168.939 65.784C168.623 65.784 168.366 66.0407 168.366 66.3575C168.366 66.6748 168.623 66.9321 168.939 66.9321C169.257 66.9321 169.514 66.6748 169.514 66.3575C169.514 66.0407 169.257 65.784 168.939 65.784ZM167.215 64.0593C166.898 64.0593 166.642 64.3166 166.642 64.6339C166.642 64.9507 166.898 65.2079 167.215 65.2079C167.533 65.2079 167.789 64.9507 167.789 64.6339C167.789 64.3166 167.533 64.0593 167.215 64.0593ZM168.939 62.3356C168.623 62.3356 168.366 62.5924 168.366 62.9097C168.366 63.2265 168.623 63.4838 168.939 63.4838C169.257 63.4838 169.514 63.2265 169.514 62.9097C169.514 62.5924 169.257 62.3356 168.939 62.3356ZM167.215 60.6115C166.898 60.6115 166.642 60.8683 166.642 61.1855C166.642 61.5028 166.898 61.7596 167.215 61.7596C167.533 61.7596 167.789 61.5028 167.789 61.1855C167.789 60.8683 167.533 60.6115 167.215 60.6115ZM168.939 58.8873C168.623 58.8873 168.366 59.1441 168.366 59.4614C168.366 59.7782 168.623 60.0355 168.939 60.0355C169.257 60.0355 169.514 59.7782 169.514 59.4614C169.514 59.1441 169.257 58.8873 168.939 58.8873ZM167.215 57.1631C166.898 57.1631 166.642 57.42 166.642 57.7372C166.642 58.0545 166.898 58.3113 167.215 58.3113C167.533 58.3113 167.789 58.0545 167.789 57.7372C167.789 57.42 167.533 57.1631 167.215 57.1631ZM168.939 55.439C168.623 55.439 168.366 55.6963 168.366 56.0131C168.366 56.3303 168.623 56.5871 168.939 56.5871C169.257 56.5871 169.514 56.3303 169.514 56.0131C169.514 55.6963 169.257 55.439 168.939 55.439ZM167.215 53.7148C166.898 53.7148 166.642 53.9721 166.642 54.2889C166.642 54.6062 166.898 54.863 167.215 54.863C167.533 54.863 167.789 54.6062 167.789 54.2889C167.789 53.9721 167.533 53.7148 167.215 53.7148ZM168.939 51.9907C168.623 51.9907 168.366 52.2479 168.366 52.5648C168.366 52.882 168.623 53.1388 168.939 53.1388C169.257 53.1388 169.514 52.882 169.514 52.5648C169.514 52.2479 169.257 51.9907 168.939 51.9907ZM167.215 50.2665C166.898 50.2665 166.642 50.5238 166.642 50.8406C166.642 51.1579 166.898 51.4151 167.215 51.4151C167.533 51.4151 167.789 51.1579 167.789 50.8406C167.789 50.5238 167.533 50.2665 167.215 50.2665ZM168.939 48.5424C168.623 48.5424 168.366 48.7996 168.366 49.1164C168.366 49.4337 168.623 49.691 168.939 49.691C169.257 49.691 169.514 49.4337 169.514 49.1164C169.514 48.7996 169.257 48.5424 168.939 48.5424ZM167.215 46.8182C166.898 46.8182 166.642 47.0755 166.642 47.3928C166.642 47.7096 166.898 47.9668 167.215 47.9668C167.533 47.9668 167.789 47.7096 167.789 47.3928C167.789 47.0755 167.533 46.8182 167.215 46.8182ZM168.939 45.0945C168.623 45.0945 168.366 45.3513 168.366 45.6686C168.366 45.9859 168.623 46.2427 168.939 46.2427C169.257 46.2427 169.514 45.9859 169.514 45.6686C169.514 45.3513 169.257 45.0945 168.939 45.0945ZM170.664 41.0702C170.91 41.0702 171.116 40.9142 171.197 40.6963L170.121 40.6488C170.189 40.8902 170.401 41.0702 170.664 41.0702ZM167.215 43.3704C166.898 43.3704 166.642 43.6271 166.642 43.9444C166.642 44.2617 166.898 44.5185 167.215 44.5185C167.533 44.5185 167.789 44.2617 167.789 43.9444C167.789 43.6271 167.533 43.3704 167.215 43.3704ZM168.939 41.6462C168.623 41.6462 168.366 41.903 168.366 42.2203C168.366 42.5371 168.623 42.7943 168.939 42.7943C169.257 42.7943 169.514 42.5371 169.514 42.2203C169.514 41.903 169.257 41.6462 168.939 41.6462ZM172.388 83.0251C172.07 83.0251 171.814 83.2819 171.814 83.5987C171.814 83.9159 172.07 84.1732 172.388 84.1732C172.705 84.1732 172.962 83.9159 172.962 83.5987C172.962 83.2819 172.705 83.0251 172.388 83.0251ZM170.664 81.3004C170.347 81.3004 170.09 81.5577 170.09 81.875C170.09 82.1918 170.347 82.4491 170.664 82.4491C170.981 82.4491 171.238 82.1918 171.238 81.875C171.238 81.5577 170.981 81.3004 170.664 81.3004ZM172.388 79.5763C172.07 79.5763 171.814 79.8335 171.814 80.1508C171.814 80.4676 172.07 80.7249 172.388 80.7249C172.705 80.7249 172.962 80.4676 172.962 80.1508C172.962 79.8335 172.705 79.5763 172.388 79.5763ZM170.664 77.8526C170.347 77.8526 170.09 78.1094 170.09 78.4267C170.09 78.7439 170.347 79.0007 170.664 79.0007C170.981 79.0007 171.238 78.7439 171.238 78.4267C171.238 78.1094 170.981 77.8526 170.664 77.8526ZM172.388 76.1284C172.07 76.1284 171.814 76.3857 171.814 76.7025C171.814 77.0198 172.07 77.2766 172.388 77.2766C172.705 77.2766 172.962 77.0198 172.962 76.7025C172.962 76.3857 172.705 76.1284 172.388 76.1284ZM170.664 74.4043C170.347 74.4043 170.09 74.6611 170.09 74.9783C170.09 75.2956 170.347 75.5524 170.664 75.5524C170.981 75.5524 171.238 75.2956 171.238 74.9783C171.238 74.6611 170.981 74.4043 170.664 74.4043ZM172.388 72.6801C172.07 72.6801 171.814 72.9369 171.814 73.2542C171.814 73.5715 172.07 73.8283 172.388 73.8283C172.705 73.8283 172.962 73.5715 172.962 73.2542C172.962 72.9369 172.705 72.6801 172.388 72.6801ZM170.664 70.956C170.347 70.956 170.09 71.2132 170.09 71.53C170.09 71.8473 170.347 72.1046 170.664 72.1046C170.981 72.1046 171.238 71.8473 171.238 71.53C171.238 71.2132 170.981 70.956 170.664 70.956ZM172.388 69.2318C172.07 69.2318 171.814 69.4891 171.814 69.8064C171.814 70.1232 172.07 70.3799 172.388 70.3799C172.705 70.3799 172.962 70.1232 172.962 69.8064C172.962 69.4891 172.705 69.2318 172.388 69.2318ZM170.664 67.5076C170.347 67.5076 170.09 67.7649 170.09 68.0817C170.09 68.399 170.347 68.6563 170.664 68.6563C170.981 68.6563 171.238 68.399 171.238 68.0817C171.238 67.7649 170.981 67.5076 170.664 67.5076ZM172.388 65.784C172.07 65.784 171.814 66.0407 171.814 66.3575C171.814 66.6748 172.07 66.9321 172.388 66.9321C172.705 66.9321 172.962 66.6748 172.962 66.3575C172.962 66.0407 172.705 65.784 172.388 65.784ZM170.664 64.0593C170.347 64.0593 170.09 64.3166 170.09 64.6339C170.09 64.9507 170.347 65.2079 170.664 65.2079C170.981 65.2079 171.238 64.9507 171.238 64.6339C171.238 64.3166 170.981 64.0593 170.664 64.0593ZM172.388 62.3356C172.07 62.3356 171.814 62.5924 171.814 62.9097C171.814 63.2265 172.07 63.4838 172.388 63.4838C172.705 63.4838 172.962 63.2265 172.962 62.9097C172.962 62.5924 172.705 62.3356 172.388 62.3356ZM170.664 60.6115C170.347 60.6115 170.09 60.8683 170.09 61.1855C170.09 61.5028 170.347 61.7596 170.664 61.7596C170.981 61.7596 171.238 61.5028 171.238 61.1855C171.238 60.8683 170.981 60.6115 170.664 60.6115ZM172.388 58.8873C172.07 58.8873 171.814 59.1441 171.814 59.4614C171.814 59.7782 172.07 60.0355 172.388 60.0355C172.705 60.0355 172.962 59.7782 172.962 59.4614C172.962 59.1441 172.705 58.8873 172.388 58.8873ZM170.664 57.1631C170.347 57.1631 170.09 57.42 170.09 57.7372C170.09 58.0545 170.347 58.3113 170.664 58.3113C170.981 58.3113 171.238 58.0545 171.238 57.7372C171.238 57.42 170.981 57.1631 170.664 57.1631ZM172.388 55.439C172.07 55.439 171.814 55.6963 171.814 56.0131C171.814 56.3303 172.07 56.5871 172.388 56.5871C172.705 56.5871 172.962 56.3303 172.962 56.0131C172.962 55.6963 172.705 55.439 172.388 55.439ZM170.664 53.7148C170.347 53.7148 170.09 53.9721 170.09 54.2889C170.09 54.6062 170.347 54.863 170.664 54.863C170.981 54.863 171.238 54.6062 171.238 54.2889C171.238 53.9721 170.981 53.7148 170.664 53.7148ZM172.388 51.9907C172.07 51.9907 171.814 52.2479 171.814 52.5648C171.814 52.882 172.07 53.1388 172.388 53.1388C172.705 53.1388 172.962 52.882 172.962 52.5648C172.962 52.2479 172.705 51.9907 172.388 51.9907ZM170.664 50.2665C170.347 50.2665 170.09 50.5238 170.09 50.8406C170.09 51.1579 170.347 51.4151 170.664 51.4151C170.981 51.4151 171.238 51.1579 171.238 50.8406C171.238 50.5238 170.981 50.2665 170.664 50.2665ZM172.388 48.5424C172.07 48.5424 171.814 48.7996 171.814 49.1164C171.814 49.4337 172.07 49.691 172.388 49.691C172.705 49.691 172.962 49.4337 172.962 49.1164C172.962 48.7996 172.705 48.5424 172.388 48.5424ZM170.664 46.8182C170.347 46.8182 170.09 47.0755 170.09 47.3928C170.09 47.7096 170.347 47.9668 170.664 47.9668C170.981 47.9668 171.238 47.7096 171.238 47.3928C171.238 47.0755 170.981 46.8182 170.664 46.8182ZM172.388 45.0945C172.07 45.0945 171.814 45.3513 171.814 45.6686C171.814 45.9859 172.07 46.2427 172.388 46.2427C172.705 46.2427 172.962 45.9859 172.962 45.6686C172.962 45.3513 172.705 45.0945 172.388 45.0945ZM174.112 41.0702C174.296 41.0702 174.452 40.9785 174.557 40.8441L173.64 40.8038C173.742 40.9603 173.911 41.0702 174.112 41.0702ZM170.664 43.3704C170.347 43.3704 170.09 43.6271 170.09 43.9444C170.09 44.2617 170.347 44.5185 170.664 44.5185C170.981 44.5185 171.238 44.2617 171.238 43.9444C171.238 43.6271 170.981 43.3704 170.664 43.3704ZM172.388 41.6462C172.07 41.6462 171.814 41.903 171.814 42.2203C171.814 42.5371 172.07 42.7943 172.388 42.7943C172.705 42.7943 172.962 42.5371 172.962 42.2203C172.962 41.903 172.705 41.6462 172.388 41.6462ZM175.983 89.951L176.389 90.3902C176.348 90.1747 176.192 90.0076 175.983 89.951ZM174.515 88.3631L174.521 88.3699C174.519 88.3675 174.517 88.3655 174.515 88.3631ZM175.836 86.4729C175.519 86.4729 175.262 86.7302 175.262 87.047C175.262 87.3643 175.519 87.6216 175.836 87.6216C176.153 87.6216 176.41 87.3643 176.41 87.047C176.41 86.7302 176.153 86.4729 175.836 86.4729ZM174.112 84.7487C173.795 84.7487 173.538 85.006 173.538 85.3228C173.538 85.6401 173.795 85.8969 174.112 85.8969C174.429 85.8969 174.686 85.6401 174.686 85.3228C174.686 85.006 174.429 84.7487 174.112 84.7487ZM175.836 83.0251C175.519 83.0251 175.262 83.2819 175.262 83.5987C175.262 83.9159 175.519 84.1732 175.836 84.1732C176.153 84.1732 176.41 83.9159 176.41 83.5987C176.41 83.2819 176.153 83.0251 175.836 83.0251ZM174.112 81.3004C173.795 81.3004 173.538 81.5577 173.538 81.875C173.538 82.1918 173.795 82.4491 174.112 82.4491C174.429 82.4491 174.686 82.1918 174.686 81.875C174.686 81.5577 174.429 81.3004 174.112 81.3004ZM175.836 79.5763C175.519 79.5763 175.262 79.8335 175.262 80.1508C175.262 80.4676 175.519 80.7249 175.836 80.7249C176.153 80.7249 176.41 80.4676 176.41 80.1508C176.41 79.8335 176.153 79.5763 175.836 79.5763ZM174.112 77.8526C173.795 77.8526 173.538 78.1094 173.538 78.4267C173.538 78.7439 173.795 79.0007 174.112 79.0007C174.429 79.0007 174.686 78.7439 174.686 78.4267C174.686 78.1094 174.429 77.8526 174.112 77.8526ZM175.836 76.1284C175.519 76.1284 175.262 76.3857 175.262 76.7025C175.262 77.0198 175.519 77.2766 175.836 77.2766C176.153 77.2766 176.41 77.0198 176.41 76.7025C176.41 76.3857 176.153 76.1284 175.836 76.1284ZM174.112 74.4043C173.795 74.4043 173.538 74.6611 173.538 74.9783C173.538 75.2956 173.795 75.5524 174.112 75.5524C174.429 75.5524 174.686 75.2956 174.686 74.9783C174.686 74.6611 174.429 74.4043 174.112 74.4043ZM175.836 72.6801C175.519 72.6801 175.262 72.9369 175.262 73.2542C175.262 73.5715 175.519 73.8283 175.836 73.8283C176.153 73.8283 176.41 73.5715 176.41 73.2542C176.41 72.9369 176.153 72.6801 175.836 72.6801ZM174.112 70.956C173.795 70.956 173.538 71.2132 173.538 71.53C173.538 71.8473 173.795 72.1046 174.112 72.1046C174.429 72.1046 174.686 71.8473 174.686 71.53C174.686 71.2132 174.429 70.956 174.112 70.956ZM175.836 69.2318C175.519 69.2318 175.262 69.4891 175.262 69.8064C175.262 70.1232 175.519 70.3799 175.836 70.3799C176.153 70.3799 176.41 70.1232 176.41 69.8064C176.41 69.4891 176.153 69.2318 175.836 69.2318ZM174.112 67.5076C173.795 67.5076 173.538 67.7649 173.538 68.0817C173.538 68.399 173.795 68.6563 174.112 68.6563C174.429 68.6563 174.686 68.399 174.686 68.0817C174.686 67.7649 174.429 67.5076 174.112 67.5076ZM175.836 65.784C175.519 65.784 175.262 66.0407 175.262 66.3575C175.262 66.6748 175.519 66.9321 175.836 66.9321C176.153 66.9321 176.41 66.6748 176.41 66.3575C176.41 66.0407 176.153 65.784 175.836 65.784ZM174.112 64.0593C173.795 64.0593 173.538 64.3166 173.538 64.6339C173.538 64.9507 173.795 65.2079 174.112 65.2079C174.429 65.2079 174.686 64.9507 174.686 64.6339C174.686 64.3166 174.429 64.0593 174.112 64.0593ZM175.836 62.3356C175.519 62.3356 175.262 62.5924 175.262 62.9097C175.262 63.2265 175.519 63.4838 175.836 63.4838C176.153 63.4838 176.41 63.2265 176.41 62.9097C176.41 62.5924 176.153 62.3356 175.836 62.3356ZM174.112 60.6115C173.795 60.6115 173.538 60.8683 173.538 61.1855C173.538 61.5028 173.795 61.7596 174.112 61.7596C174.429 61.7596 174.686 61.5028 174.686 61.1855C174.686 60.8683 174.429 60.6115 174.112 60.6115ZM175.836 58.8873C175.519 58.8873 175.262 59.1441 175.262 59.4614C175.262 59.7782 175.519 60.0355 175.836 60.0355C176.153 60.0355 176.41 59.7782 176.41 59.4614C176.41 59.1441 176.153 58.8873 175.836 58.8873ZM174.112 57.1631C173.795 57.1631 173.538 57.42 173.538 57.7372C173.538 58.0545 173.795 58.3113 174.112 58.3113C174.429 58.3113 174.686 58.0545 174.686 57.7372C174.686 57.42 174.429 57.1631 174.112 57.1631ZM175.836 55.439C175.519 55.439 175.262 55.6963 175.262 56.0131C175.262 56.3303 175.519 56.5871 175.836 56.5871C176.153 56.5871 176.41 56.3303 176.41 56.0131C176.41 55.6963 176.153 55.439 175.836 55.439ZM174.112 53.7148C173.795 53.7148 173.538 53.9721 173.538 54.2889C173.538 54.6062 173.795 54.863 174.112 54.863C174.429 54.863 174.686 54.6062 174.686 54.2889C174.686 53.9721 174.429 53.7148 174.112 53.7148ZM175.836 51.9907C175.519 51.9907 175.262 52.2479 175.262 52.5648C175.262 52.882 175.519 53.1388 175.836 53.1388C176.153 53.1388 176.41 52.882 176.41 52.5648C176.41 52.2479 176.153 51.9907 175.836 51.9907ZM174.112 50.2665C173.795 50.2665 173.538 50.5238 173.538 50.8406C173.538 51.1579 173.795 51.4151 174.112 51.4151C174.429 51.4151 174.686 51.1579 174.686 50.8406C174.686 50.5238 174.429 50.2665 174.112 50.2665ZM175.836 48.5424C175.519 48.5424 175.262 48.7996 175.262 49.1164C175.262 49.4337 175.519 49.691 175.836 49.691C176.153 49.691 176.41 49.4337 176.41 49.1164C176.41 48.7996 176.153 48.5424 175.836 48.5424ZM174.112 46.8182C173.795 46.8182 173.538 47.0755 173.538 47.3928C173.538 47.7096 173.795 47.9668 174.112 47.9668C174.429 47.9668 174.686 47.7096 174.686 47.3928C174.686 47.0755 174.429 46.8182 174.112 46.8182ZM175.836 45.0945C175.519 45.0945 175.262 45.3513 175.262 45.6686C175.262 45.9859 175.519 46.2427 175.836 46.2427C176.153 46.2427 176.41 45.9859 176.41 45.6686C176.41 45.3513 176.153 45.0945 175.836 45.0945ZM174.112 43.3704C173.795 43.3704 173.538 43.6271 173.538 43.9444C173.538 44.2617 173.795 44.5185 174.112 44.5185C174.429 44.5185 174.686 44.2617 174.686 43.9444C174.686 43.6271 174.429 43.3704 174.112 43.3704ZM175.836 41.6462C175.519 41.6462 175.262 41.903 175.262 42.2203C175.262 42.5371 175.519 42.7943 175.836 42.7943C176.153 42.7943 176.41 42.5371 176.41 42.2203C176.41 41.903 176.153 41.6462 175.836 41.6462ZM179.284 93.3696C179.243 93.3696 179.206 93.3849 179.166 93.3936L179.826 94.1068C179.842 94.054 179.858 94.0017 179.858 93.9436C179.858 93.6264 179.602 93.3696 179.284 93.3696ZM177.56 91.6454C177.557 91.6454 177.554 91.6468 177.551 91.6468L178.125 92.267C178.126 92.2507 178.134 92.2363 178.134 92.2195C178.134 91.9022 177.878 91.6454 177.56 91.6454ZM179.284 89.9212C178.968 89.9212 178.71 90.178 178.71 90.4953C178.71 90.8126 178.968 91.0694 179.284 91.0694C179.602 91.0694 179.858 90.8126 179.858 90.4953C179.858 90.178 179.602 89.9212 179.284 89.9212ZM177.56 88.1971C177.243 88.1971 176.986 88.4544 176.986 88.7711C176.986 89.0884 177.243 89.3457 177.56 89.3457C177.878 89.3457 178.134 89.0884 178.134 88.7711C178.134 88.4544 177.878 88.1971 177.56 88.1971ZM179.284 86.4729C178.968 86.4729 178.71 86.7302 178.71 87.047C178.71 87.3643 178.968 87.6216 179.284 87.6216C179.602 87.6216 179.858 87.3643 179.858 87.047C179.858 86.7302 179.602 86.4729 179.284 86.4729ZM177.56 84.7487C177.243 84.7487 176.986 85.006 176.986 85.3228C176.986 85.6401 177.243 85.8969 177.56 85.8969C177.878 85.8969 178.134 85.6401 178.134 85.3228C178.134 85.006 177.878 84.7487 177.56 84.7487ZM179.284 83.0251C178.968 83.0251 178.71 83.2819 178.71 83.5987C178.71 83.9159 178.968 84.1732 179.284 84.1732C179.602 84.1732 179.858 83.9159 179.858 83.5987C179.858 83.2819 179.602 83.0251 179.284 83.0251ZM177.56 81.3004C177.243 81.3004 176.986 81.5577 176.986 81.875C176.986 82.1918 177.243 82.4491 177.56 82.4491C177.878 82.4491 178.134 82.1918 178.134 81.875C178.134 81.5577 177.878 81.3004 177.56 81.3004ZM179.284 79.5763C178.968 79.5763 178.71 79.8335 178.71 80.1508C178.71 80.4676 178.968 80.7249 179.284 80.7249C179.602 80.7249 179.858 80.4676 179.858 80.1508C179.858 79.8335 179.602 79.5763 179.284 79.5763ZM177.56 77.8526C177.243 77.8526 176.986 78.1094 176.986 78.4267C176.986 78.7439 177.243 79.0007 177.56 79.0007C177.878 79.0007 178.134 78.7439 178.134 78.4267C178.134 78.1094 177.878 77.8526 177.56 77.8526ZM179.284 76.1284C178.968 76.1284 178.71 76.3857 178.71 76.7025C178.71 77.0198 178.968 77.2766 179.284 77.2766C179.602 77.2766 179.858 77.0198 179.858 76.7025C179.858 76.3857 179.602 76.1284 179.284 76.1284ZM177.56 74.4043C177.243 74.4043 176.986 74.6611 176.986 74.9783C176.986 75.2956 177.243 75.5524 177.56 75.5524C177.878 75.5524 178.134 75.2956 178.134 74.9783C178.134 74.6611 177.878 74.4043 177.56 74.4043ZM179.284 72.6801C178.968 72.6801 178.71 72.9369 178.71 73.2542C178.71 73.5715 178.968 73.8283 179.284 73.8283C179.602 73.8283 179.858 73.5715 179.858 73.2542C179.858 72.9369 179.602 72.6801 179.284 72.6801ZM177.56 70.956C177.243 70.956 176.986 71.2132 176.986 71.53C176.986 71.8473 177.243 72.1046 177.56 72.1046C177.878 72.1046 178.134 71.8473 178.134 71.53C178.134 71.2132 177.878 70.956 177.56 70.956ZM179.284 69.2318C178.968 69.2318 178.71 69.4891 178.71 69.8064C178.71 70.1232 178.968 70.3799 179.284 70.3799C179.602 70.3799 179.858 70.1232 179.858 69.8064C179.858 69.4891 179.602 69.2318 179.284 69.2318ZM177.56 67.5076C177.243 67.5076 176.986 67.7649 176.986 68.0817C176.986 68.399 177.243 68.6563 177.56 68.6563C177.878 68.6563 178.134 68.399 178.134 68.0817C178.134 67.7649 177.878 67.5076 177.56 67.5076ZM179.284 65.784C178.968 65.784 178.71 66.0407 178.71 66.3575C178.71 66.6748 178.968 66.9321 179.284 66.9321C179.602 66.9321 179.858 66.6748 179.858 66.3575C179.858 66.0407 179.602 65.784 179.284 65.784ZM177.56 64.0593C177.243 64.0593 176.986 64.3166 176.986 64.6339C176.986 64.9507 177.243 65.2079 177.56 65.2079C177.878 65.2079 178.134 64.9507 178.134 64.6339C178.134 64.3166 177.878 64.0593 177.56 64.0593ZM179.284 62.3356C178.968 62.3356 178.71 62.5924 178.71 62.9097C178.71 63.2265 178.968 63.4838 179.284 63.4838C179.602 63.4838 179.858 63.2265 179.858 62.9097C179.858 62.5924 179.602 62.3356 179.284 62.3356ZM177.56 60.6115C177.243 60.6115 176.986 60.8683 176.986 61.1855C176.986 61.5028 177.243 61.7596 177.56 61.7596C177.878 61.7596 178.134 61.5028 178.134 61.1855C178.134 60.8683 177.878 60.6115 177.56 60.6115ZM179.284 58.8873C178.968 58.8873 178.71 59.1441 178.71 59.4614C178.71 59.7782 178.968 60.0355 179.284 60.0355C179.602 60.0355 179.858 59.7782 179.858 59.4614C179.858 59.1441 179.602 58.8873 179.284 58.8873ZM177.56 57.1631C177.243 57.1631 176.986 57.42 176.986 57.7372C176.986 58.0545 177.243 58.3113 177.56 58.3113C177.878 58.3113 178.134 58.0545 178.134 57.7372C178.134 57.42 177.878 57.1631 177.56 57.1631ZM179.284 55.439C178.968 55.439 178.71 55.6963 178.71 56.0131C178.71 56.3303 178.968 56.5871 179.284 56.5871C179.602 56.5871 179.858 56.3303 179.858 56.0131C179.858 55.6963 179.602 55.439 179.284 55.439ZM177.56 53.7148C177.243 53.7148 176.986 53.9721 176.986 54.2889C176.986 54.6062 177.243 54.863 177.56 54.863C177.878 54.863 178.134 54.6062 178.134 54.2889C178.134 53.9721 177.878 53.7148 177.56 53.7148ZM179.284 51.9907C178.968 51.9907 178.71 52.2479 178.71 52.5648C178.71 52.882 178.968 53.1388 179.284 53.1388C179.602 53.1388 179.858 52.882 179.858 52.5648C179.858 52.2479 179.602 51.9907 179.284 51.9907ZM177.56 50.2665C177.243 50.2665 176.986 50.5238 176.986 50.8406C176.986 51.1579 177.243 51.4151 177.56 51.4151C177.878 51.4151 178.134 51.1579 178.134 50.8406C178.134 50.5238 177.878 50.2665 177.56 50.2665ZM179.284 48.5424C178.968 48.5424 178.71 48.7996 178.71 49.1164C178.71 49.4337 178.968 49.691 179.284 49.691C179.602 49.691 179.858 49.4337 179.858 49.1164C179.858 48.7996 179.602 48.5424 179.284 48.5424ZM177.56 46.8182C177.243 46.8182 176.986 47.0755 176.986 47.3928C176.986 47.7096 177.243 47.9668 177.56 47.9668C177.878 47.9668 178.134 47.7096 178.134 47.3928C178.134 47.0755 177.878 46.8182 177.56 46.8182ZM179.284 45.0945C178.968 45.0945 178.71 45.3513 178.71 45.6686C178.71 45.9859 178.968 46.2427 179.284 46.2427C179.602 46.2427 179.858 45.9859 179.858 45.6686C179.858 45.3513 179.602 45.0945 179.284 45.0945ZM177.56 43.3704C177.243 43.3704 176.986 43.6271 176.986 43.9444C176.986 44.2617 177.243 44.5185 177.56 44.5185C177.878 44.5185 178.134 44.2617 178.134 43.9444C178.134 43.6271 177.878 43.3704 177.56 43.3704ZM177.838 40.9886L177.243 40.9622C177.336 41.0251 177.441 41.0702 177.56 41.0702C177.663 41.0702 177.755 41.0361 177.838 40.9886ZM179.284 41.6462C178.968 41.6462 178.71 41.903 178.71 42.2203C178.71 42.5371 178.968 42.7943 179.284 42.7943C179.602 42.7943 179.858 42.5371 179.858 42.2203C179.858 41.903 179.602 41.6462 179.284 41.6462ZM182.732 96.8174C182.617 96.8174 182.516 96.8601 182.426 96.9187L183.181 97.7356C183.255 97.6387 183.307 97.5235 183.307 97.3919C183.307 97.0747 183.05 96.8174 182.732 96.8174ZM181.009 95.0937C180.928 95.0937 180.851 95.111 180.782 95.1408L181.511 95.9299C181.553 95.8502 181.583 95.7638 181.583 95.6678C181.583 95.3505 181.326 95.0937 181.009 95.0937ZM182.732 93.3696C182.415 93.3696 182.159 93.6264 182.159 93.9436C182.159 94.2609 182.415 94.5177 182.732 94.5177C183.05 94.5177 183.307 94.2609 183.307 93.9436C183.307 93.6264 183.05 93.3696 182.732 93.3696ZM181.009 91.6454C180.691 91.6454 180.434 91.9022 180.434 92.2195C180.434 92.5363 180.691 92.7936 181.009 92.7936C181.326 92.7936 181.583 92.5363 181.583 92.2195C181.583 91.9022 181.326 91.6454 181.009 91.6454ZM182.732 89.9212C182.415 89.9212 182.159 90.178 182.159 90.4953C182.159 90.8126 182.415 91.0694 182.732 91.0694C183.05 91.0694 183.307 90.8126 183.307 90.4953C183.307 90.178 183.05 89.9212 182.732 89.9212ZM181.009 88.1971C180.691 88.1971 180.434 88.4544 180.434 88.7711C180.434 89.0884 180.691 89.3457 181.009 89.3457C181.326 89.3457 181.583 89.0884 181.583 88.7711C181.583 88.4544 181.326 88.1971 181.009 88.1971ZM182.732 86.4729C182.415 86.4729 182.159 86.7302 182.159 87.047C182.159 87.3643 182.415 87.6216 182.732 87.6216C183.05 87.6216 183.307 87.3643 183.307 87.047C183.307 86.7302 183.05 86.4729 182.732 86.4729ZM181.009 84.7487C180.691 84.7487 180.434 85.006 180.434 85.3228C180.434 85.6401 180.691 85.8969 181.009 85.8969C181.326 85.8969 181.583 85.6401 181.583 85.3228C181.583 85.006 181.326 84.7487 181.009 84.7487ZM182.732 83.0251C182.415 83.0251 182.159 83.2819 182.159 83.5987C182.159 83.9159 182.415 84.1732 182.732 84.1732C183.05 84.1732 183.307 83.9159 183.307 83.5987C183.307 83.2819 183.05 83.0251 182.732 83.0251ZM181.009 81.3004C180.691 81.3004 180.434 81.5577 180.434 81.875C180.434 82.1918 180.691 82.4491 181.009 82.4491C181.326 82.4491 181.583 82.1918 181.583 81.875C181.583 81.5577 181.326 81.3004 181.009 81.3004ZM182.732 79.5763C182.415 79.5763 182.159 79.8335 182.159 80.1508C182.159 80.4676 182.415 80.7249 182.732 80.7249C183.05 80.7249 183.307 80.4676 183.307 80.1508C183.307 79.8335 183.05 79.5763 182.732 79.5763ZM181.009 77.8526C180.691 77.8526 180.434 78.1094 180.434 78.4267C180.434 78.7439 180.691 79.0007 181.009 79.0007C181.326 79.0007 181.583 78.7439 181.583 78.4267C181.583 78.1094 181.326 77.8526 181.009 77.8526ZM182.732 76.1284C182.415 76.1284 182.159 76.3857 182.159 76.7025C182.159 77.0198 182.415 77.2766 182.732 77.2766C183.05 77.2766 183.307 77.0198 183.307 76.7025C183.307 76.3857 183.05 76.1284 182.732 76.1284ZM181.009 74.4043C180.691 74.4043 180.434 74.6611 180.434 74.9783C180.434 75.2956 180.691 75.5524 181.009 75.5524C181.326 75.5524 181.583 75.2956 181.583 74.9783C181.583 74.6611 181.326 74.4043 181.009 74.4043ZM182.732 72.6801C182.415 72.6801 182.159 72.9369 182.159 73.2542C182.159 73.5715 182.415 73.8283 182.732 73.8283C183.05 73.8283 183.307 73.5715 183.307 73.2542C183.307 72.9369 183.05 72.6801 182.732 72.6801ZM181.009 70.956C180.691 70.956 180.434 71.2132 180.434 71.53C180.434 71.8473 180.691 72.1046 181.009 72.1046C181.326 72.1046 181.583 71.8473 181.583 71.53C181.583 71.2132 181.326 70.956 181.009 70.956ZM182.732 69.2318C182.415 69.2318 182.159 69.4891 182.159 69.8064C182.159 70.1232 182.415 70.3799 182.732 70.3799C183.05 70.3799 183.307 70.1232 183.307 69.8064C183.307 69.4891 183.05 69.2318 182.732 69.2318ZM181.009 67.5076C180.691 67.5076 180.434 67.7649 180.434 68.0817C180.434 68.399 180.691 68.6563 181.009 68.6563C181.326 68.6563 181.583 68.399 181.583 68.0817C181.583 67.7649 181.326 67.5076 181.009 67.5076ZM182.732 65.784C182.415 65.784 182.159 66.0407 182.159 66.3575C182.159 66.6748 182.415 66.9321 182.732 66.9321C183.05 66.9321 183.307 66.6748 183.307 66.3575C183.307 66.0407 183.05 65.784 182.732 65.784ZM181.009 64.0593C180.691 64.0593 180.434 64.3166 180.434 64.6339C180.434 64.9507 180.691 65.2079 181.009 65.2079C181.326 65.2079 181.583 64.9507 181.583 64.6339C181.583 64.3166 181.326 64.0593 181.009 64.0593ZM182.732 62.3356C182.415 62.3356 182.159 62.5924 182.159 62.9097C182.159 63.2265 182.415 63.4838 182.732 63.4838C183.05 63.4838 183.307 63.2265 183.307 62.9097C183.307 62.5924 183.05 62.3356 182.732 62.3356ZM181.009 60.6115C180.691 60.6115 180.434 60.8683 180.434 61.1855C180.434 61.5028 180.691 61.7596 181.009 61.7596C181.326 61.7596 181.583 61.5028 181.583 61.1855C181.583 60.8683 181.326 60.6115 181.009 60.6115ZM182.732 58.8873C182.415 58.8873 182.159 59.1441 182.159 59.4614C182.159 59.7782 182.415 60.0355 182.732 60.0355C183.05 60.0355 183.307 59.7782 183.307 59.4614C183.307 59.1441 183.05 58.8873 182.732 58.8873ZM181.009 57.1631C180.691 57.1631 180.434 57.42 180.434 57.7372C180.434 58.0545 180.691 58.3113 181.009 58.3113C181.326 58.3113 181.583 58.0545 181.583 57.7372C181.583 57.42 181.326 57.1631 181.009 57.1631ZM182.732 55.439C182.415 55.439 182.159 55.6963 182.159 56.0131C182.159 56.3303 182.415 56.5871 182.732 56.5871C183.05 56.5871 183.307 56.3303 183.307 56.0131C183.307 55.6963 183.05 55.439 182.732 55.439ZM181.009 53.7148C180.691 53.7148 180.434 53.9721 180.434 54.2889C180.434 54.6062 180.691 54.863 181.009 54.863C181.326 54.863 181.583 54.6062 181.583 54.2889C181.583 53.9721 181.326 53.7148 181.009 53.7148ZM182.732 51.9907C182.415 51.9907 182.159 52.2479 182.159 52.5648C182.159 52.882 182.415 53.1388 182.732 53.1388C183.05 53.1388 183.307 52.882 183.307 52.5648C183.307 52.2479 183.05 51.9907 182.732 51.9907ZM181.009 50.2665C180.691 50.2665 180.434 50.5238 180.434 50.8406C180.434 51.1579 180.691 51.4151 181.009 51.4151C181.326 51.4151 181.583 51.1579 181.583 50.8406C181.583 50.5238 181.326 50.2665 181.009 50.2665ZM182.732 48.5424C182.415 48.5424 182.159 48.7996 182.159 49.1164C182.159 49.4337 182.415 49.691 182.732 49.691C183.05 49.691 183.307 49.4337 183.307 49.1164C183.307 48.7996 183.05 48.5424 182.732 48.5424ZM181.009 46.8182C180.691 46.8182 180.434 47.0755 180.434 47.3928C180.434 47.7096 180.691 47.9668 181.009 47.9668C181.326 47.9668 181.583 47.7096 181.583 47.3928C181.583 47.0755 181.326 46.8182 181.009 46.8182ZM182.732 45.0945C182.415 45.0945 182.159 45.3513 182.159 45.6686C182.159 45.9859 182.415 46.2427 182.732 46.2427C183.05 46.2427 183.307 45.9859 183.307 45.6686C183.307 45.3513 183.05 45.0945 182.732 45.0945ZM181.009 43.3704C180.691 43.3704 180.434 43.6271 180.434 43.9444C180.434 44.2617 180.691 44.5185 181.009 44.5185C181.326 44.5185 181.583 44.2617 181.583 43.9444C181.583 43.6271 181.326 43.3704 181.009 43.3704ZM182.732 41.6462C182.415 41.6462 182.159 41.903 182.159 42.2203C182.159 42.5371 182.415 42.7943 182.732 42.7943C183.05 42.7943 183.307 42.5371 183.307 42.2203C183.307 41.903 183.05 41.6462 182.732 41.6462ZM185.03 99.1161C185.03 98.7988 184.774 98.542 184.456 98.542C184.307 98.542 184.172 98.6025 184.07 98.6971L184.844 99.5347C184.958 99.4296 185.03 99.2827 185.03 99.1161ZM186.755 100.84C186.755 100.523 186.498 100.266 186.181 100.266C185.995 100.266 185.838 100.359 185.733 100.496L186.489 101.313C186.645 101.21 186.755 101.041 186.755 100.84ZM186.181 96.8174C185.864 96.8174 185.607 97.0747 185.607 97.3919C185.607 97.7087 185.864 97.966 186.181 97.966C186.498 97.966 186.755 97.7087 186.755 97.3919C186.755 97.0747 186.498 96.8174 186.181 96.8174ZM184.456 95.0937C184.14 95.0937 183.883 95.3505 183.883 95.6678C183.883 95.9851 184.14 96.2419 184.456 96.2419C184.774 96.2419 185.03 95.9851 185.03 95.6678C185.03 95.3505 184.774 95.0937 184.456 95.0937ZM186.181 93.3696C185.864 93.3696 185.607 93.6264 185.607 93.9436C185.607 94.2609 185.864 94.5177 186.181 94.5177C186.498 94.5177 186.755 94.2609 186.755 93.9436C186.755 93.6264 186.498 93.3696 186.181 93.3696ZM184.456 91.6454C184.14 91.6454 183.883 91.9022 183.883 92.2195C183.883 92.5363 184.14 92.7936 184.456 92.7936C184.774 92.7936 185.03 92.5363 185.03 92.2195C185.03 91.9022 184.774 91.6454 184.456 91.6454ZM186.181 89.9212C185.864 89.9212 185.607 90.178 185.607 90.4953C185.607 90.8126 185.864 91.0694 186.181 91.0694C186.498 91.0694 186.755 90.8126 186.755 90.4953C186.755 90.178 186.498 89.9212 186.181 89.9212ZM184.456 88.1971C184.14 88.1971 183.883 88.4544 183.883 88.7711C183.883 89.0884 184.14 89.3457 184.456 89.3457C184.774 89.3457 185.03 89.0884 185.03 88.7711C185.03 88.4544 184.774 88.1971 184.456 88.1971ZM186.181 86.4729C185.864 86.4729 185.607 86.7302 185.607 87.047C185.607 87.3643 185.864 87.6216 186.181 87.6216C186.498 87.6216 186.755 87.3643 186.755 87.047C186.755 86.7302 186.498 86.4729 186.181 86.4729ZM184.456 84.7487C184.14 84.7487 183.883 85.006 183.883 85.3228C183.883 85.6401 184.14 85.8969 184.456 85.8969C184.774 85.8969 185.03 85.6401 185.03 85.3228C185.03 85.006 184.774 84.7487 184.456 84.7487ZM186.181 83.0251C185.864 83.0251 185.607 83.2819 185.607 83.5987C185.607 83.9159 185.864 84.1732 186.181 84.1732C186.498 84.1732 186.755 83.9159 186.755 83.5987C186.755 83.2819 186.498 83.0251 186.181 83.0251ZM184.456 81.3004C184.14 81.3004 183.883 81.5577 183.883 81.875C183.883 82.1918 184.14 82.4491 184.456 82.4491C184.774 82.4491 185.03 82.1918 185.03 81.875C185.03 81.5577 184.774 81.3004 184.456 81.3004ZM186.181 79.5763C185.864 79.5763 185.607 79.8335 185.607 80.1508C185.607 80.4676 185.864 80.7249 186.181 80.7249C186.498 80.7249 186.755 80.4676 186.755 80.1508C186.755 79.8335 186.498 79.5763 186.181 79.5763ZM184.456 77.8526C184.14 77.8526 183.883 78.1094 183.883 78.4267C183.883 78.7439 184.14 79.0007 184.456 79.0007C184.774 79.0007 185.03 78.7439 185.03 78.4267C185.03 78.1094 184.774 77.8526 184.456 77.8526ZM186.181 76.1284C185.864 76.1284 185.607 76.3857 185.607 76.7025C185.607 77.0198 185.864 77.2766 186.181 77.2766C186.498 77.2766 186.755 77.0198 186.755 76.7025C186.755 76.3857 186.498 76.1284 186.181 76.1284ZM184.456 74.4043C184.14 74.4043 183.883 74.6611 183.883 74.9783C183.883 75.2956 184.14 75.5524 184.456 75.5524C184.774 75.5524 185.03 75.2956 185.03 74.9783C185.03 74.6611 184.774 74.4043 184.456 74.4043ZM186.181 72.6801C185.864 72.6801 185.607 72.9369 185.607 73.2542C185.607 73.5715 185.864 73.8283 186.181 73.8283C186.498 73.8283 186.755 73.5715 186.755 73.2542C186.755 72.9369 186.498 72.6801 186.181 72.6801ZM184.456 70.956C184.14 70.956 183.883 71.2132 183.883 71.53C183.883 71.8473 184.14 72.1046 184.456 72.1046C184.774 72.1046 185.03 71.8473 185.03 71.53C185.03 71.2132 184.774 70.956 184.456 70.956ZM186.181 69.2318C185.864 69.2318 185.607 69.4891 185.607 69.8064C185.607 70.1232 185.864 70.3799 186.181 70.3799C186.498 70.3799 186.755 70.1232 186.755 69.8064C186.755 69.4891 186.498 69.2318 186.181 69.2318ZM184.456 67.5076C184.14 67.5076 183.883 67.7649 183.883 68.0817C183.883 68.399 184.14 68.6563 184.456 68.6563C184.774 68.6563 185.03 68.399 185.03 68.0817C185.03 67.7649 184.774 67.5076 184.456 67.5076ZM186.181 65.784C185.864 65.784 185.607 66.0407 185.607 66.3575C185.607 66.6748 185.864 66.9321 186.181 66.9321C186.498 66.9321 186.755 66.6748 186.755 66.3575C186.755 66.0407 186.498 65.784 186.181 65.784ZM184.456 64.0593C184.14 64.0593 183.883 64.3166 183.883 64.6339C183.883 64.9507 184.14 65.2079 184.456 65.2079C184.774 65.2079 185.03 64.9507 185.03 64.6339C185.03 64.3166 184.774 64.0593 184.456 64.0593ZM186.181 62.3356C185.864 62.3356 185.607 62.5924 185.607 62.9097C185.607 63.2265 185.864 63.4838 186.181 63.4838C186.498 63.4838 186.755 63.2265 186.755 62.9097C186.755 62.5924 186.498 62.3356 186.181 62.3356ZM184.456 60.6115C184.14 60.6115 183.883 60.8683 183.883 61.1855C183.883 61.5028 184.14 61.7596 184.456 61.7596C184.774 61.7596 185.03 61.5028 185.03 61.1855C185.03 60.8683 184.774 60.6115 184.456 60.6115ZM186.181 58.8873C185.864 58.8873 185.607 59.1441 185.607 59.4614C185.607 59.7782 185.864 60.0355 186.181 60.0355C186.498 60.0355 186.755 59.7782 186.755 59.4614C186.755 59.1441 186.498 58.8873 186.181 58.8873ZM184.456 57.1631C184.14 57.1631 183.883 57.42 183.883 57.7372C183.883 58.0545 184.14 58.3113 184.456 58.3113C184.774 58.3113 185.03 58.0545 185.03 57.7372C185.03 57.42 184.774 57.1631 184.456 57.1631ZM186.181 55.439C185.864 55.439 185.607 55.6963 185.607 56.0131C185.607 56.3303 185.864 56.5871 186.181 56.5871C186.498 56.5871 186.755 56.3303 186.755 56.0131C186.755 55.6963 186.498 55.439 186.181 55.439ZM184.456 53.7148C184.14 53.7148 183.883 53.9721 183.883 54.2889C183.883 54.6062 184.14 54.863 184.456 54.863C184.774 54.863 185.03 54.6062 185.03 54.2889C185.03 53.9721 184.774 53.7148 184.456 53.7148ZM186.181 51.9907C185.864 51.9907 185.607 52.2479 185.607 52.5648C185.607 52.882 185.864 53.1388 186.181 53.1388C186.498 53.1388 186.755 52.882 186.755 52.5648C186.755 52.2479 186.498 51.9907 186.181 51.9907ZM184.456 50.2665C184.14 50.2665 183.883 50.5238 183.883 50.8406C183.883 51.1579 184.14 51.4151 184.456 51.4151C184.774 51.4151 185.03 51.1579 185.03 50.8406C185.03 50.5238 184.774 50.2665 184.456 50.2665ZM186.181 48.5424C185.864 48.5424 185.607 48.7996 185.607 49.1164C185.607 49.4337 185.864 49.691 186.181 49.691C186.498 49.691 186.755 49.4337 186.755 49.1164C186.755 48.7996 186.498 48.5424 186.181 48.5424ZM184.456 46.8182C184.14 46.8182 183.883 47.0755 183.883 47.3928C183.883 47.7096 184.14 47.9668 184.456 47.9668C184.774 47.9668 185.03 47.7096 185.03 47.3928C185.03 47.0755 184.774 46.8182 184.456 46.8182ZM186.181 45.0945C185.864 45.0945 185.607 45.3513 185.607 45.6686C185.607 45.9859 185.864 46.2427 186.181 46.2427C186.498 46.2427 186.755 45.9859 186.755 45.6686C186.755 45.3513 186.498 45.0945 186.181 45.0945ZM184.456 43.3704C184.14 43.3704 183.883 43.6271 183.883 43.9444C183.883 44.2617 184.14 44.5185 184.456 44.5185C184.774 44.5185 185.03 44.2617 185.03 43.9444C185.03 43.6271 184.774 43.3704 184.456 43.3704ZM186.181 41.6462C185.864 41.6462 185.607 41.903 185.607 42.2203C185.607 42.5371 185.864 42.7943 186.181 42.7943C186.498 42.7943 186.755 42.5371 186.755 42.2203C186.755 41.903 186.498 41.6462 186.181 41.6462ZM188.479 102.564C188.479 102.247 188.222 101.99 187.905 101.99C187.684 101.99 187.499 102.119 187.403 102.301L188.132 103.091C188.336 103.002 188.479 102.8 188.479 102.564ZM190.203 104.288C190.203 103.971 189.946 103.714 189.629 103.714C189.37 103.714 189.159 103.889 189.088 104.124L189.749 104.838C190.006 104.782 190.203 104.563 190.203 104.288ZM189.629 100.266C189.312 100.266 189.055 100.523 189.055 100.84C189.055 101.157 189.312 101.414 189.629 101.414C189.946 101.414 190.203 101.157 190.203 100.84C190.203 100.523 189.946 100.266 189.629 100.266ZM187.905 98.542C187.588 98.542 187.331 98.7988 187.331 99.1161C187.331 99.4329 187.588 99.6902 187.905 99.6902C188.222 99.6902 188.479 99.4329 188.479 99.1161C188.479 98.7988 188.222 98.542 187.905 98.542ZM189.629 96.8174C189.312 96.8174 189.055 97.0747 189.055 97.3919C189.055 97.7087 189.312 97.966 189.629 97.966C189.946 97.966 190.203 97.7087 190.203 97.3919C190.203 97.0747 189.946 96.8174 189.629 96.8174ZM187.905 95.0937C187.588 95.0937 187.331 95.3505 187.331 95.6678C187.331 95.9851 187.588 96.2419 187.905 96.2419C188.222 96.2419 188.479 95.9851 188.479 95.6678C188.479 95.3505 188.222 95.0937 187.905 95.0937ZM189.629 93.3696C189.312 93.3696 189.055 93.6264 189.055 93.9436C189.055 94.2609 189.312 94.5177 189.629 94.5177C189.946 94.5177 190.203 94.2609 190.203 93.9436C190.203 93.6264 189.946 93.3696 189.629 93.3696ZM187.905 91.6454C187.588 91.6454 187.331 91.9022 187.331 92.2195C187.331 92.5363 187.588 92.7936 187.905 92.7936C188.222 92.7936 188.479 92.5363 188.479 92.2195C188.479 91.9022 188.222 91.6454 187.905 91.6454ZM189.629 89.9212C189.312 89.9212 189.055 90.178 189.055 90.4953C189.055 90.8126 189.312 91.0694 189.629 91.0694C189.946 91.0694 190.203 90.8126 190.203 90.4953C190.203 90.178 189.946 89.9212 189.629 89.9212ZM187.905 88.1971C187.588 88.1971 187.331 88.4544 187.331 88.7711C187.331 89.0884 187.588 89.3457 187.905 89.3457C188.222 89.3457 188.479 89.0884 188.479 88.7711C188.479 88.4544 188.222 88.1971 187.905 88.1971ZM189.629 86.4729C189.312 86.4729 189.055 86.7302 189.055 87.047C189.055 87.3643 189.312 87.6216 189.629 87.6216C189.946 87.6216 190.203 87.3643 190.203 87.047C190.203 86.7302 189.946 86.4729 189.629 86.4729ZM187.905 84.7487C187.588 84.7487 187.331 85.006 187.331 85.3228C187.331 85.6401 187.588 85.8969 187.905 85.8969C188.222 85.8969 188.479 85.6401 188.479 85.3228C188.479 85.006 188.222 84.7487 187.905 84.7487ZM189.629 83.0251C189.312 83.0251 189.055 83.2819 189.055 83.5987C189.055 83.9159 189.312 84.1732 189.629 84.1732C189.946 84.1732 190.203 83.9159 190.203 83.5987C190.203 83.2819 189.946 83.0251 189.629 83.0251ZM187.905 81.3004C187.588 81.3004 187.331 81.5577 187.331 81.875C187.331 82.1918 187.588 82.4491 187.905 82.4491C188.222 82.4491 188.479 82.1918 188.479 81.875C188.479 81.5577 188.222 81.3004 187.905 81.3004ZM189.629 79.5763C189.312 79.5763 189.055 79.8335 189.055 80.1508C189.055 80.4676 189.312 80.7249 189.629 80.7249C189.946 80.7249 190.203 80.4676 190.203 80.1508C190.203 79.8335 189.946 79.5763 189.629 79.5763ZM187.905 77.8526C187.588 77.8526 187.331 78.1094 187.331 78.4267C187.331 78.7439 187.588 79.0007 187.905 79.0007C188.222 79.0007 188.479 78.7439 188.479 78.4267C188.479 78.1094 188.222 77.8526 187.905 77.8526ZM189.629 76.1284C189.312 76.1284 189.055 76.3857 189.055 76.7025C189.055 77.0198 189.312 77.2766 189.629 77.2766C189.946 77.2766 190.203 77.0198 190.203 76.7025C190.203 76.3857 189.946 76.1284 189.629 76.1284ZM187.905 74.4043C187.588 74.4043 187.331 74.6611 187.331 74.9783C187.331 75.2956 187.588 75.5524 187.905 75.5524C188.222 75.5524 188.479 75.2956 188.479 74.9783C188.479 74.6611 188.222 74.4043 187.905 74.4043ZM189.629 72.6801C189.312 72.6801 189.055 72.9369 189.055 73.2542C189.055 73.5715 189.312 73.8283 189.629 73.8283C189.946 73.8283 190.203 73.5715 190.203 73.2542C190.203 72.9369 189.946 72.6801 189.629 72.6801ZM187.905 70.956C187.588 70.956 187.331 71.2132 187.331 71.53C187.331 71.8473 187.588 72.1046 187.905 72.1046C188.222 72.1046 188.479 71.8473 188.479 71.53C188.479 71.2132 188.222 70.956 187.905 70.956ZM189.629 69.2318C189.312 69.2318 189.055 69.4891 189.055 69.8064C189.055 70.1232 189.312 70.3799 189.629 70.3799C189.946 70.3799 190.203 70.1232 190.203 69.8064C190.203 69.4891 189.946 69.2318 189.629 69.2318ZM187.905 67.5076C187.588 67.5076 187.331 67.7649 187.331 68.0817C187.331 68.399 187.588 68.6563 187.905 68.6563C188.222 68.6563 188.479 68.399 188.479 68.0817C188.479 67.7649 188.222 67.5076 187.905 67.5076ZM189.629 65.784C189.312 65.784 189.055 66.0407 189.055 66.3575C189.055 66.6748 189.312 66.9321 189.629 66.9321C189.946 66.9321 190.203 66.6748 190.203 66.3575C190.203 66.0407 189.946 65.784 189.629 65.784ZM187.905 64.0593C187.588 64.0593 187.331 64.3166 187.331 64.6339C187.331 64.9507 187.588 65.2079 187.905 65.2079C188.222 65.2079 188.479 64.9507 188.479 64.6339C188.479 64.3166 188.222 64.0593 187.905 64.0593ZM189.629 62.3356C189.312 62.3356 189.055 62.5924 189.055 62.9097C189.055 63.2265 189.312 63.4838 189.629 63.4838C189.946 63.4838 190.203 63.2265 190.203 62.9097C190.203 62.5924 189.946 62.3356 189.629 62.3356ZM187.905 60.6115C187.588 60.6115 187.331 60.8683 187.331 61.1855C187.331 61.5028 187.588 61.7596 187.905 61.7596C188.222 61.7596 188.479 61.5028 188.479 61.1855C188.479 60.8683 188.222 60.6115 187.905 60.6115ZM189.629 58.8873C189.312 58.8873 189.055 59.1441 189.055 59.4614C189.055 59.7782 189.312 60.0355 189.629 60.0355C189.946 60.0355 190.203 59.7782 190.203 59.4614C190.203 59.1441 189.946 58.8873 189.629 58.8873ZM187.905 57.1631C187.588 57.1631 187.331 57.42 187.331 57.7372C187.331 58.0545 187.588 58.3113 187.905 58.3113C188.222 58.3113 188.479 58.0545 188.479 57.7372C188.479 57.42 188.222 57.1631 187.905 57.1631ZM189.629 55.439C189.312 55.439 189.055 55.6963 189.055 56.0131C189.055 56.3303 189.312 56.5871 189.629 56.5871C189.946 56.5871 190.203 56.3303 190.203 56.0131C190.203 55.6963 189.946 55.439 189.629 55.439ZM187.905 53.7148C187.588 53.7148 187.331 53.9721 187.331 54.2889C187.331 54.6062 187.588 54.863 187.905 54.863C188.222 54.863 188.479 54.6062 188.479 54.2889C188.479 53.9721 188.222 53.7148 187.905 53.7148ZM189.629 51.9907C189.312 51.9907 189.055 52.2479 189.055 52.5648C189.055 52.882 189.312 53.1388 189.629 53.1388C189.946 53.1388 190.203 52.882 190.203 52.5648C190.203 52.2479 189.946 51.9907 189.629 51.9907ZM187.905 50.2665C187.588 50.2665 187.331 50.5238 187.331 50.8406C187.331 51.1579 187.588 51.4151 187.905 51.4151C188.222 51.4151 188.479 51.1579 188.479 50.8406C188.479 50.5238 188.222 50.2665 187.905 50.2665ZM189.629 48.5424C189.312 48.5424 189.055 48.7996 189.055 49.1164C189.055 49.4337 189.312 49.691 189.629 49.691C189.946 49.691 190.203 49.4337 190.203 49.1164C190.203 48.7996 189.946 48.5424 189.629 48.5424ZM187.905 46.8182C187.588 46.8182 187.331 47.0755 187.331 47.3928C187.331 47.7096 187.588 47.9668 187.905 47.9668C188.222 47.9668 188.479 47.7096 188.479 47.3928C188.479 47.0755 188.222 46.8182 187.905 46.8182ZM189.629 45.0945C189.312 45.0945 189.055 45.3513 189.055 45.6686C189.055 45.9859 189.312 46.2427 189.629 46.2427C189.946 46.2427 190.203 45.9859 190.203 45.6686C190.203 45.3513 189.946 45.0945 189.629 45.0945ZM187.905 43.3704C187.588 43.3704 187.331 43.6271 187.331 43.9444C187.331 44.2617 187.588 44.5185 187.905 44.5185C188.222 44.5185 188.479 44.2617 188.479 43.9444C188.479 43.6271 188.222 43.3704 187.905 43.3704ZM189.629 41.6462C189.312 41.6462 189.055 41.903 189.055 42.2203C189.055 42.5371 189.312 42.7943 189.629 42.7943C189.946 42.7943 190.203 42.5371 190.203 42.2203C190.203 41.903 189.946 41.6462 189.629 41.6462ZM191.928 106.012C191.928 105.695 191.67 105.438 191.353 105.438C191.053 105.438 190.815 105.671 190.789 105.964L191.363 106.584C191.675 106.579 191.928 106.326 191.928 106.012ZM193.651 107.736C193.651 107.419 193.394 107.162 193.077 107.162C192.76 107.162 192.503 107.419 192.503 107.736C192.503 107.773 192.518 107.806 192.524 107.84L192.932 108.281C192.979 108.294 193.026 108.311 193.077 108.311C193.394 108.311 193.651 108.054 193.651 107.736ZM193.077 103.714C192.76 103.714 192.503 103.971 192.503 104.288C192.503 104.605 192.76 104.863 193.077 104.863C193.394 104.863 193.651 104.605 193.651 104.288C193.651 103.971 193.394 103.714 193.077 103.714ZM191.353 101.99C191.036 101.99 190.779 102.247 190.779 102.564C190.779 102.881 191.036 103.138 191.353 103.138C191.67 103.138 191.928 102.881 191.928 102.564C191.928 102.247 191.67 101.99 191.353 101.99ZM193.077 100.266C192.76 100.266 192.503 100.523 192.503 100.84C192.503 101.157 192.76 101.414 193.077 101.414C193.394 101.414 193.651 101.157 193.651 100.84C193.651 100.523 193.394 100.266 193.077 100.266ZM191.353 98.542C191.036 98.542 190.779 98.7988 190.779 99.1161C190.779 99.4329 191.036 99.6902 191.353 99.6902C191.67 99.6902 191.928 99.4329 191.928 99.1161C191.928 98.7988 191.67 98.542 191.353 98.542ZM193.077 96.8174C192.76 96.8174 192.503 97.0747 192.503 97.3919C192.503 97.7087 192.76 97.966 193.077 97.966C193.394 97.966 193.651 97.7087 193.651 97.3919C193.651 97.0747 193.394 96.8174 193.077 96.8174ZM191.353 95.0937C191.036 95.0937 190.779 95.3505 190.779 95.6678C190.779 95.9851 191.036 96.2419 191.353 96.2419C191.67 96.2419 191.928 95.9851 191.928 95.6678C191.928 95.3505 191.67 95.0937 191.353 95.0937ZM193.077 93.3696C192.76 93.3696 192.503 93.6264 192.503 93.9436C192.503 94.2609 192.76 94.5177 193.077 94.5177C193.394 94.5177 193.651 94.2609 193.651 93.9436C193.651 93.6264 193.394 93.3696 193.077 93.3696ZM191.353 91.6454C191.036 91.6454 190.779 91.9022 190.779 92.2195C190.779 92.5363 191.036 92.7936 191.353 92.7936C191.67 92.7936 191.928 92.5363 191.928 92.2195C191.928 91.9022 191.67 91.6454 191.353 91.6454ZM193.077 89.9212C192.76 89.9212 192.503 90.178 192.503 90.4953C192.503 90.8126 192.76 91.0694 193.077 91.0694C193.394 91.0694 193.651 90.8126 193.651 90.4953C193.651 90.178 193.394 89.9212 193.077 89.9212ZM191.353 88.1971C191.036 88.1971 190.779 88.4544 190.779 88.7711C190.779 89.0884 191.036 89.3457 191.353 89.3457C191.67 89.3457 191.928 89.0884 191.928 88.7711C191.928 88.4544 191.67 88.1971 191.353 88.1971ZM193.077 86.4729C192.76 86.4729 192.503 86.7302 192.503 87.047C192.503 87.3643 192.76 87.6216 193.077 87.6216C193.394 87.6216 193.651 87.3643 193.651 87.047C193.651 86.7302 193.394 86.4729 193.077 86.4729ZM191.353 84.7487C191.036 84.7487 190.779 85.006 190.779 85.3228C190.779 85.6401 191.036 85.8969 191.353 85.8969C191.67 85.8969 191.928 85.6401 191.928 85.3228C191.928 85.006 191.67 84.7487 191.353 84.7487ZM193.077 83.0251C192.76 83.0251 192.503 83.2819 192.503 83.5987C192.503 83.9159 192.76 84.1732 193.077 84.1732C193.394 84.1732 193.651 83.9159 193.651 83.5987C193.651 83.2819 193.394 83.0251 193.077 83.0251ZM191.353 81.3004C191.036 81.3004 190.779 81.5577 190.779 81.875C190.779 82.1918 191.036 82.4491 191.353 82.4491C191.67 82.4491 191.928 82.1918 191.928 81.875C191.928 81.5577 191.67 81.3004 191.353 81.3004ZM193.077 79.5763C192.76 79.5763 192.503 79.8335 192.503 80.1508C192.503 80.4676 192.76 80.7249 193.077 80.7249C193.394 80.7249 193.651 80.4676 193.651 80.1508C193.651 79.8335 193.394 79.5763 193.077 79.5763ZM191.353 77.8526C191.036 77.8526 190.779 78.1094 190.779 78.4267C190.779 78.7439 191.036 79.0007 191.353 79.0007C191.67 79.0007 191.928 78.7439 191.928 78.4267C191.928 78.1094 191.67 77.8526 191.353 77.8526ZM193.077 76.1284C192.76 76.1284 192.503 76.3857 192.503 76.7025C192.503 77.0198 192.76 77.2766 193.077 77.2766C193.394 77.2766 193.651 77.0198 193.651 76.7025C193.651 76.3857 193.394 76.1284 193.077 76.1284ZM191.353 74.4043C191.036 74.4043 190.779 74.6611 190.779 74.9783C190.779 75.2956 191.036 75.5524 191.353 75.5524C191.67 75.5524 191.928 75.2956 191.928 74.9783C191.928 74.6611 191.67 74.4043 191.353 74.4043ZM193.077 72.6801C192.76 72.6801 192.503 72.9369 192.503 73.2542C192.503 73.5715 192.76 73.8283 193.077 73.8283C193.394 73.8283 193.651 73.5715 193.651 73.2542C193.651 72.9369 193.394 72.6801 193.077 72.6801ZM191.353 70.956C191.036 70.956 190.779 71.2132 190.779 71.53C190.779 71.8473 191.036 72.1046 191.353 72.1046C191.67 72.1046 191.928 71.8473 191.928 71.53C191.928 71.2132 191.67 70.956 191.353 70.956ZM193.077 69.2318C192.76 69.2318 192.503 69.4891 192.503 69.8064C192.503 70.1232 192.76 70.3799 193.077 70.3799C193.394 70.3799 193.651 70.1232 193.651 69.8064C193.651 69.4891 193.394 69.2318 193.077 69.2318ZM191.353 67.5076C191.036 67.5076 190.779 67.7649 190.779 68.0817C190.779 68.399 191.036 68.6563 191.353 68.6563C191.67 68.6563 191.928 68.399 191.928 68.0817C191.928 67.7649 191.67 67.5076 191.353 67.5076ZM193.077 65.784C192.76 65.784 192.503 66.0407 192.503 66.3575C192.503 66.6748 192.76 66.9321 193.077 66.9321C193.394 66.9321 193.651 66.6748 193.651 66.3575C193.651 66.0407 193.394 65.784 193.077 65.784ZM191.353 64.0593C191.036 64.0593 190.779 64.3166 190.779 64.6339C190.779 64.9507 191.036 65.2079 191.353 65.2079C191.67 65.2079 191.928 64.9507 191.928 64.6339C191.928 64.3166 191.67 64.0593 191.353 64.0593ZM193.077 62.3356C192.76 62.3356 192.503 62.5924 192.503 62.9097C192.503 63.2265 192.76 63.4838 193.077 63.4838C193.394 63.4838 193.651 63.2265 193.651 62.9097C193.651 62.5924 193.394 62.3356 193.077 62.3356ZM191.353 60.6115C191.036 60.6115 190.779 60.8683 190.779 61.1855C190.779 61.5028 191.036 61.7596 191.353 61.7596C191.67 61.7596 191.928 61.5028 191.928 61.1855C191.928 60.8683 191.67 60.6115 191.353 60.6115ZM193.077 58.8873C192.76 58.8873 192.503 59.1441 192.503 59.4614C192.503 59.7782 192.76 60.0355 193.077 60.0355C193.394 60.0355 193.651 59.7782 193.651 59.4614C193.651 59.1441 193.394 58.8873 193.077 58.8873ZM191.353 57.1631C191.036 57.1631 190.779 57.42 190.779 57.7372C190.779 58.0545 191.036 58.3113 191.353 58.3113C191.67 58.3113 191.928 58.0545 191.928 57.7372C191.928 57.42 191.67 57.1631 191.353 57.1631ZM193.077 55.439C192.76 55.439 192.503 55.6963 192.503 56.0131C192.503 56.3303 192.76 56.5871 193.077 56.5871C193.394 56.5871 193.651 56.3303 193.651 56.0131C193.651 55.6963 193.394 55.439 193.077 55.439ZM191.353 53.7148C191.036 53.7148 190.779 53.9721 190.779 54.2889C190.779 54.6062 191.036 54.863 191.353 54.863C191.67 54.863 191.928 54.6062 191.928 54.2889C191.928 53.9721 191.67 53.7148 191.353 53.7148ZM193.077 51.9907C192.76 51.9907 192.503 52.2479 192.503 52.5648C192.503 52.882 192.76 53.1388 193.077 53.1388C193.394 53.1388 193.651 52.882 193.651 52.5648C193.651 52.2479 193.394 51.9907 193.077 51.9907ZM191.353 50.2665C191.036 50.2665 190.779 50.5238 190.779 50.8406C190.779 51.1579 191.036 51.4151 191.353 51.4151C191.67 51.4151 191.928 51.1579 191.928 50.8406C191.928 50.5238 191.67 50.2665 191.353 50.2665ZM193.077 48.5424C192.76 48.5424 192.503 48.7996 192.503 49.1164C192.503 49.4337 192.76 49.691 193.077 49.691C193.394 49.691 193.651 49.4337 193.651 49.1164C193.651 48.7996 193.394 48.5424 193.077 48.5424ZM191.353 46.8182C191.036 46.8182 190.779 47.0755 190.779 47.3928C190.779 47.7096 191.036 47.9668 191.353 47.9668C191.67 47.9668 191.928 47.7096 191.928 47.3928C191.928 47.0755 191.67 46.8182 191.353 46.8182ZM193.077 45.0945C192.76 45.0945 192.503 45.3513 192.503 45.6686C192.503 45.9859 192.76 46.2427 193.077 46.2427C193.394 46.2427 193.651 45.9859 193.651 45.6686C193.651 45.3513 193.394 45.0945 193.077 45.0945ZM191.353 43.3704C191.036 43.3704 190.779 43.6271 190.779 43.9444C190.779 44.2617 191.036 44.5185 191.353 44.5185C191.67 44.5185 191.928 44.2617 191.928 43.9444C191.928 43.6271 191.67 43.3704 191.353 43.3704ZM192.503 42.2203C192.503 42.5371 192.76 42.7943 193.077 42.7943C193.394 42.7943 193.651 42.5371 193.651 42.2203C193.651 41.9318 193.435 41.7028 193.158 41.6625L193.026 41.6563C192.734 41.6841 192.503 41.9217 192.503 42.2203ZM195.375 109.461C195.375 109.144 195.119 108.887 194.801 108.887C194.485 108.887 194.227 109.144 194.227 109.461C194.227 109.615 194.29 109.754 194.389 109.857L194.402 109.871C194.505 109.972 194.646 110.035 194.801 110.035C195.119 110.035 195.375 109.778 195.375 109.461ZM196.526 110.611C196.209 110.611 195.951 110.867 195.951 111.185C195.951 111.502 196.209 111.759 196.526 111.759C196.843 111.759 197.1 111.502 197.1 111.185C197.1 110.867 196.843 110.611 196.526 110.611ZM196.526 107.162C196.209 107.162 195.951 107.419 195.951 107.736C195.951 108.054 196.209 108.311 196.526 108.311C196.843 108.311 197.1 108.054 197.1 107.736C197.1 107.419 196.843 107.162 196.526 107.162ZM194.801 105.438C194.485 105.438 194.227 105.695 194.227 106.012C194.227 106.33 194.485 106.586 194.801 106.586C195.119 106.586 195.375 106.33 195.375 106.012C195.375 105.695 195.119 105.438 194.801 105.438ZM196.526 103.714C196.209 103.714 195.951 103.971 195.951 104.288C195.951 104.605 196.209 104.863 196.526 104.863C196.843 104.863 197.1 104.605 197.1 104.288C197.1 103.971 196.843 103.714 196.526 103.714ZM194.801 101.99C194.485 101.99 194.227 102.247 194.227 102.564C194.227 102.881 194.485 103.138 194.801 103.138C195.119 103.138 195.375 102.881 195.375 102.564C195.375 102.247 195.119 101.99 194.801 101.99ZM196.526 100.266C196.209 100.266 195.951 100.523 195.951 100.84C195.951 101.157 196.209 101.414 196.526 101.414C196.843 101.414 197.1 101.157 197.1 100.84C197.1 100.523 196.843 100.266 196.526 100.266ZM194.801 98.542C194.485 98.542 194.227 98.7988 194.227 99.1161C194.227 99.4329 194.485 99.6902 194.801 99.6902C195.119 99.6902 195.375 99.4329 195.375 99.1161C195.375 98.7988 195.119 98.542 194.801 98.542ZM196.526 96.8174C196.209 96.8174 195.951 97.0747 195.951 97.3919C195.951 97.7087 196.209 97.966 196.526 97.966C196.843 97.966 197.1 97.7087 197.1 97.3919C197.1 97.0747 196.843 96.8174 196.526 96.8174ZM194.801 95.0937C194.485 95.0937 194.227 95.3505 194.227 95.6678C194.227 95.9851 194.485 96.2419 194.801 96.2419C195.119 96.2419 195.375 95.9851 195.375 95.6678C195.375 95.3505 195.119 95.0937 194.801 95.0937ZM196.526 93.3696C196.209 93.3696 195.951 93.6264 195.951 93.9436C195.951 94.2609 196.209 94.5177 196.526 94.5177C196.843 94.5177 197.1 94.2609 197.1 93.9436C197.1 93.6264 196.843 93.3696 196.526 93.3696ZM194.801 91.6454C194.485 91.6454 194.227 91.9022 194.227 92.2195C194.227 92.5363 194.485 92.7936 194.801 92.7936C195.119 92.7936 195.375 92.5363 195.375 92.2195C195.375 91.9022 195.119 91.6454 194.801 91.6454ZM196.526 89.9212C196.209 89.9212 195.951 90.178 195.951 90.4953C195.951 90.8126 196.209 91.0694 196.526 91.0694C196.843 91.0694 197.1 90.8126 197.1 90.4953C197.1 90.178 196.843 89.9212 196.526 89.9212ZM194.801 88.1971C194.485 88.1971 194.227 88.4544 194.227 88.7711C194.227 89.0884 194.485 89.3457 194.801 89.3457C195.119 89.3457 195.375 89.0884 195.375 88.7711C195.375 88.4544 195.119 88.1971 194.801 88.1971ZM196.526 86.4729C196.209 86.4729 195.951 86.7302 195.951 87.047C195.951 87.3643 196.209 87.6216 196.526 87.6216C196.843 87.6216 197.1 87.3643 197.1 87.047C197.1 86.7302 196.843 86.4729 196.526 86.4729ZM194.801 84.7487C194.485 84.7487 194.227 85.006 194.227 85.3228C194.227 85.6401 194.485 85.8969 194.801 85.8969C195.119 85.8969 195.375 85.6401 195.375 85.3228C195.375 85.006 195.119 84.7487 194.801 84.7487ZM196.526 83.0251C196.209 83.0251 195.951 83.2819 195.951 83.5987C195.951 83.9159 196.209 84.1732 196.526 84.1732C196.843 84.1732 197.1 83.9159 197.1 83.5987C197.1 83.2819 196.843 83.0251 196.526 83.0251ZM194.801 81.3004C194.485 81.3004 194.227 81.5577 194.227 81.875C194.227 82.1918 194.485 82.4491 194.801 82.4491C195.119 82.4491 195.375 82.1918 195.375 81.875C195.375 81.5577 195.119 81.3004 194.801 81.3004ZM196.526 79.5763C196.209 79.5763 195.951 79.8335 195.951 80.1508C195.951 80.4676 196.209 80.7249 196.526 80.7249C196.843 80.7249 197.1 80.4676 197.1 80.1508C197.1 79.8335 196.843 79.5763 196.526 79.5763ZM194.801 77.8526C194.485 77.8526 194.227 78.1094 194.227 78.4267C194.227 78.7439 194.485 79.0007 194.801 79.0007C195.119 79.0007 195.375 78.7439 195.375 78.4267C195.375 78.1094 195.119 77.8526 194.801 77.8526ZM196.526 76.1284C196.209 76.1284 195.951 76.3857 195.951 76.7025C195.951 77.0198 196.209 77.2766 196.526 77.2766C196.843 77.2766 197.1 77.0198 197.1 76.7025C197.1 76.3857 196.843 76.1284 196.526 76.1284ZM194.801 74.4043C194.485 74.4043 194.227 74.6611 194.227 74.9783C194.227 75.2956 194.485 75.5524 194.801 75.5524C195.119 75.5524 195.375 75.2956 195.375 74.9783C195.375 74.6611 195.119 74.4043 194.801 74.4043ZM196.526 72.6801C196.209 72.6801 195.951 72.9369 195.951 73.2542C195.951 73.5715 196.209 73.8283 196.526 73.8283C196.843 73.8283 197.1 73.5715 197.1 73.2542C197.1 72.9369 196.843 72.6801 196.526 72.6801ZM194.801 70.956C194.485 70.956 194.227 71.2132 194.227 71.53C194.227 71.8473 194.485 72.1046 194.801 72.1046C195.119 72.1046 195.375 71.8473 195.375 71.53C195.375 71.2132 195.119 70.956 194.801 70.956ZM196.526 69.2318C196.209 69.2318 195.951 69.4891 195.951 69.8064C195.951 70.1232 196.209 70.3799 196.526 70.3799C196.843 70.3799 197.1 70.1232 197.1 69.8064C197.1 69.4891 196.843 69.2318 196.526 69.2318ZM194.801 67.5076C194.485 67.5076 194.227 67.7649 194.227 68.0817C194.227 68.399 194.485 68.6563 194.801 68.6563C195.119 68.6563 195.375 68.399 195.375 68.0817C195.375 67.7649 195.119 67.5076 194.801 67.5076ZM196.526 65.784C196.209 65.784 195.951 66.0407 195.951 66.3575C195.951 66.6748 196.209 66.9321 196.526 66.9321C196.843 66.9321 197.1 66.6748 197.1 66.3575C197.1 66.0407 196.843 65.784 196.526 65.784ZM194.801 64.0593C194.485 64.0593 194.227 64.3166 194.227 64.6339C194.227 64.9507 194.485 65.2079 194.801 65.2079C195.119 65.2079 195.375 64.9507 195.375 64.6339C195.375 64.3166 195.119 64.0593 194.801 64.0593ZM196.526 62.3356C196.209 62.3356 195.951 62.5924 195.951 62.9097C195.951 63.2265 196.209 63.4838 196.526 63.4838C196.843 63.4838 197.1 63.2265 197.1 62.9097C197.1 62.5924 196.843 62.3356 196.526 62.3356ZM194.801 60.6115C194.485 60.6115 194.227 60.8683 194.227 61.1855C194.227 61.5028 194.485 61.7596 194.801 61.7596C195.119 61.7596 195.375 61.5028 195.375 61.1855C195.375 60.8683 195.119 60.6115 194.801 60.6115ZM196.526 58.8873C196.209 58.8873 195.951 59.1441 195.951 59.4614C195.951 59.7782 196.209 60.0355 196.526 60.0355C196.843 60.0355 197.1 59.7782 197.1 59.4614C197.1 59.1441 196.843 58.8873 196.526 58.8873ZM194.801 57.1631C194.485 57.1631 194.227 57.42 194.227 57.7372C194.227 58.0545 194.485 58.3113 194.801 58.3113C195.119 58.3113 195.375 58.0545 195.375 57.7372C195.375 57.42 195.119 57.1631 194.801 57.1631ZM196.526 55.439C196.209 55.439 195.951 55.6963 195.951 56.0131C195.951 56.3303 196.209 56.5871 196.526 56.5871C196.843 56.5871 197.1 56.3303 197.1 56.0131C197.1 55.6963 196.843 55.439 196.526 55.439ZM194.801 53.7148C194.485 53.7148 194.227 53.9721 194.227 54.2889C194.227 54.6062 194.485 54.863 194.801 54.863C195.119 54.863 195.375 54.6062 195.375 54.2889C195.375 53.9721 195.119 53.7148 194.801 53.7148ZM196.526 51.9907C196.209 51.9907 195.951 52.2479 195.951 52.5648C195.951 52.882 196.209 53.1388 196.526 53.1388C196.843 53.1388 197.1 52.882 197.1 52.5648C197.1 52.2479 196.843 51.9907 196.526 51.9907ZM194.801 50.2665C194.485 50.2665 194.227 50.5238 194.227 50.8406C194.227 51.1579 194.485 51.4151 194.801 51.4151C195.119 51.4151 195.375 51.1579 195.375 50.8406C195.375 50.5238 195.119 50.2665 194.801 50.2665ZM196.526 48.5424C196.209 48.5424 195.951 48.7996 195.951 49.1164C195.951 49.4337 196.209 49.691 196.526 49.691C196.843 49.691 197.1 49.4337 197.1 49.1164C197.1 48.7996 196.843 48.5424 196.526 48.5424ZM194.801 46.8182C194.485 46.8182 194.227 47.0755 194.227 47.3928C194.227 47.7096 194.485 47.9668 194.801 47.9668C195.119 47.9668 195.375 47.7096 195.375 47.3928C195.375 47.0755 195.119 46.8182 194.801 46.8182ZM196.526 45.0945C196.209 45.0945 195.951 45.3513 195.951 45.6686C195.951 45.9859 196.209 46.2427 196.526 46.2427C196.843 46.2427 197.1 45.9859 197.1 45.6686C197.1 45.3513 196.843 45.0945 196.526 45.0945ZM194.801 43.3704C194.485 43.3704 194.227 43.6271 194.227 43.9444C194.227 44.2617 194.485 44.5185 194.801 44.5185C195.119 44.5185 195.375 44.2617 195.375 43.9444C195.375 43.6271 195.119 43.3704 194.801 43.3704ZM195.951 42.2203C195.951 42.5371 196.209 42.7943 196.526 42.7943C196.843 42.7943 197.1 42.5371 197.1 42.2203C197.1 42.0681 197.038 41.9313 196.941 41.8286L196.149 41.794C196.03 41.8991 195.951 42.0484 195.951 42.2203ZM199.973 114.059C199.657 114.059 199.399 114.316 199.399 114.633C199.399 114.95 199.657 115.207 199.973 115.207C200.291 115.207 200.548 114.95 200.548 114.633C200.548 114.316 200.291 114.059 199.973 114.059ZM198.249 112.335C197.932 112.335 197.675 112.592 197.675 112.909C197.675 113.226 197.932 113.483 198.249 113.483C198.567 113.483 198.824 113.226 198.824 112.909C198.824 112.592 198.567 112.335 198.249 112.335ZM199.973 110.611C199.657 110.611 199.399 110.867 199.399 111.185C199.399 111.502 199.657 111.759 199.973 111.759C200.291 111.759 200.548 111.502 200.548 111.185C200.548 110.867 200.291 110.611 199.973 110.611ZM198.249 108.887C197.932 108.887 197.675 109.144 197.675 109.461C197.675 109.778 197.932 110.035 198.249 110.035C198.567 110.035 198.824 109.778 198.824 109.461C198.824 109.144 198.567 108.887 198.249 108.887ZM199.973 107.162C199.657 107.162 199.399 107.419 199.399 107.736C199.399 108.054 199.657 108.311 199.973 108.311C200.291 108.311 200.548 108.054 200.548 107.736C200.548 107.419 200.291 107.162 199.973 107.162ZM198.249 105.438C197.932 105.438 197.675 105.695 197.675 106.012C197.675 106.33 197.932 106.586 198.249 106.586C198.567 106.586 198.824 106.33 198.824 106.012C198.824 105.695 198.567 105.438 198.249 105.438ZM199.973 103.714C199.657 103.714 199.399 103.971 199.399 104.288C199.399 104.605 199.657 104.863 199.973 104.863C200.291 104.863 200.548 104.605 200.548 104.288C200.548 103.971 200.291 103.714 199.973 103.714ZM198.249 101.99C197.932 101.99 197.675 102.247 197.675 102.564C197.675 102.881 197.932 103.138 198.249 103.138C198.567 103.138 198.824 102.881 198.824 102.564C198.824 102.247 198.567 101.99 198.249 101.99ZM199.973 100.266C199.657 100.266 199.399 100.523 199.399 100.84C199.399 101.157 199.657 101.414 199.973 101.414C200.291 101.414 200.548 101.157 200.548 100.84C200.548 100.523 200.291 100.266 199.973 100.266ZM198.249 98.542C197.932 98.542 197.675 98.7988 197.675 99.1161C197.675 99.4329 197.932 99.6902 198.249 99.6902C198.567 99.6902 198.824 99.4329 198.824 99.1161C198.824 98.7988 198.567 98.542 198.249 98.542ZM199.973 96.8174C199.657 96.8174 199.399 97.0747 199.399 97.3919C199.399 97.7087 199.657 97.966 199.973 97.966C200.291 97.966 200.548 97.7087 200.548 97.3919C200.548 97.0747 200.291 96.8174 199.973 96.8174ZM198.249 95.0937C197.932 95.0937 197.675 95.3505 197.675 95.6678C197.675 95.9851 197.932 96.2419 198.249 96.2419C198.567 96.2419 198.824 95.9851 198.824 95.6678C198.824 95.3505 198.567 95.0937 198.249 95.0937ZM199.973 93.3696C199.657 93.3696 199.399 93.6264 199.399 93.9436C199.399 94.2609 199.657 94.5177 199.973 94.5177C200.291 94.5177 200.548 94.2609 200.548 93.9436C200.548 93.6264 200.291 93.3696 199.973 93.3696ZM198.249 91.6454C197.932 91.6454 197.675 91.9022 197.675 92.2195C197.675 92.5363 197.932 92.7936 198.249 92.7936C198.567 92.7936 198.824 92.5363 198.824 92.2195C198.824 91.9022 198.567 91.6454 198.249 91.6454ZM199.973 89.9212C199.657 89.9212 199.399 90.178 199.399 90.4953C199.399 90.8126 199.657 91.0694 199.973 91.0694C200.291 91.0694 200.548 90.8126 200.548 90.4953C200.548 90.178 200.291 89.9212 199.973 89.9212ZM198.249 88.1971C197.932 88.1971 197.675 88.4544 197.675 88.7711C197.675 89.0884 197.932 89.3457 198.249 89.3457C198.567 89.3457 198.824 89.0884 198.824 88.7711C198.824 88.4544 198.567 88.1971 198.249 88.1971ZM199.973 86.4729C199.657 86.4729 199.399 86.7302 199.399 87.047C199.399 87.3643 199.657 87.6216 199.973 87.6216C200.291 87.6216 200.548 87.3643 200.548 87.047C200.548 86.7302 200.291 86.4729 199.973 86.4729ZM198.249 84.7487C197.932 84.7487 197.675 85.006 197.675 85.3228C197.675 85.6401 197.932 85.8969 198.249 85.8969C198.567 85.8969 198.824 85.6401 198.824 85.3228C198.824 85.006 198.567 84.7487 198.249 84.7487ZM199.973 83.0251C199.657 83.0251 199.399 83.2819 199.399 83.5987C199.399 83.9159 199.657 84.1732 199.973 84.1732C200.291 84.1732 200.548 83.9159 200.548 83.5987C200.548 83.2819 200.291 83.0251 199.973 83.0251ZM198.249 81.3004C197.932 81.3004 197.675 81.5577 197.675 81.875C197.675 82.1918 197.932 82.4491 198.249 82.4491C198.567 82.4491 198.824 82.1918 198.824 81.875C198.824 81.5577 198.567 81.3004 198.249 81.3004ZM199.973 79.5763C199.657 79.5763 199.399 79.8335 199.399 80.1508C199.399 80.4676 199.657 80.7249 199.973 80.7249C200.291 80.7249 200.548 80.4676 200.548 80.1508C200.548 79.8335 200.291 79.5763 199.973 79.5763ZM198.249 77.8526C197.932 77.8526 197.675 78.1094 197.675 78.4267C197.675 78.7439 197.932 79.0007 198.249 79.0007C198.567 79.0007 198.824 78.7439 198.824 78.4267C198.824 78.1094 198.567 77.8526 198.249 77.8526ZM199.973 76.1284C199.657 76.1284 199.399 76.3857 199.399 76.7025C199.399 77.0198 199.657 77.2766 199.973 77.2766C200.291 77.2766 200.548 77.0198 200.548 76.7025C200.548 76.3857 200.291 76.1284 199.973 76.1284ZM198.249 74.4043C197.932 74.4043 197.675 74.6611 197.675 74.9783C197.675 75.2956 197.932 75.5524 198.249 75.5524C198.567 75.5524 198.824 75.2956 198.824 74.9783C198.824 74.6611 198.567 74.4043 198.249 74.4043ZM199.973 72.6801C199.657 72.6801 199.399 72.9369 199.399 73.2542C199.399 73.5715 199.657 73.8283 199.973 73.8283C200.291 73.8283 200.548 73.5715 200.548 73.2542C200.548 72.9369 200.291 72.6801 199.973 72.6801ZM198.249 70.956C197.932 70.956 197.675 71.2132 197.675 71.53C197.675 71.8473 197.932 72.1046 198.249 72.1046C198.567 72.1046 198.824 71.8473 198.824 71.53C198.824 71.2132 198.567 70.956 198.249 70.956ZM199.973 69.2318C199.657 69.2318 199.399 69.4891 199.399 69.8064C199.399 70.1232 199.657 70.3799 199.973 70.3799C200.291 70.3799 200.548 70.1232 200.548 69.8064C200.548 69.4891 200.291 69.2318 199.973 69.2318ZM198.249 67.5076C197.932 67.5076 197.675 67.7649 197.675 68.0817C197.675 68.399 197.932 68.6563 198.249 68.6563C198.567 68.6563 198.824 68.399 198.824 68.0817C198.824 67.7649 198.567 67.5076 198.249 67.5076ZM199.973 65.784C199.657 65.784 199.399 66.0407 199.399 66.3575C199.399 66.6748 199.657 66.9321 199.973 66.9321C200.291 66.9321 200.548 66.6748 200.548 66.3575C200.548 66.0407 200.291 65.784 199.973 65.784ZM198.249 64.0593C197.932 64.0593 197.675 64.3166 197.675 64.6339C197.675 64.9507 197.932 65.2079 198.249 65.2079C198.567 65.2079 198.824 64.9507 198.824 64.6339C198.824 64.3166 198.567 64.0593 198.249 64.0593ZM199.973 62.3356C199.657 62.3356 199.399 62.5924 199.399 62.9097C199.399 63.2265 199.657 63.4838 199.973 63.4838C200.291 63.4838 200.548 63.2265 200.548 62.9097C200.548 62.5924 200.291 62.3356 199.973 62.3356ZM198.249 60.6115C197.932 60.6115 197.675 60.8683 197.675 61.1855C197.675 61.5028 197.932 61.7596 198.249 61.7596C198.567 61.7596 198.824 61.5028 198.824 61.1855C198.824 60.8683 198.567 60.6115 198.249 60.6115ZM199.973 58.8873C199.657 58.8873 199.399 59.1441 199.399 59.4614C199.399 59.7782 199.657 60.0355 199.973 60.0355C200.291 60.0355 200.548 59.7782 200.548 59.4614C200.548 59.1441 200.291 58.8873 199.973 58.8873ZM198.249 57.1631C197.932 57.1631 197.675 57.42 197.675 57.7372C197.675 58.0545 197.932 58.3113 198.249 58.3113C198.567 58.3113 198.824 58.0545 198.824 57.7372C198.824 57.42 198.567 57.1631 198.249 57.1631ZM199.973 55.439C199.657 55.439 199.399 55.6963 199.399 56.0131C199.399 56.3303 199.657 56.5871 199.973 56.5871C200.291 56.5871 200.548 56.3303 200.548 56.0131C200.548 55.6963 200.291 55.439 199.973 55.439ZM198.249 53.7148C197.932 53.7148 197.675 53.9721 197.675 54.2889C197.675 54.6062 197.932 54.863 198.249 54.863C198.567 54.863 198.824 54.6062 198.824 54.2889C198.824 53.9721 198.567 53.7148 198.249 53.7148ZM199.973 51.9907C199.657 51.9907 199.399 52.2479 199.399 52.5648C199.399 52.882 199.657 53.1388 199.973 53.1388C200.291 53.1388 200.548 52.882 200.548 52.5648C200.548 52.2479 200.291 51.9907 199.973 51.9907ZM198.249 50.2665C197.932 50.2665 197.675 50.5238 197.675 50.8406C197.675 51.1579 197.932 51.4151 198.249 51.4151C198.567 51.4151 198.824 51.1579 198.824 50.8406C198.824 50.5238 198.567 50.2665 198.249 50.2665ZM199.973 48.5424C199.657 48.5424 199.399 48.7996 199.399 49.1164C199.399 49.4337 199.657 49.691 199.973 49.691C200.291 49.691 200.548 49.4337 200.548 49.1164C200.548 48.7996 200.291 48.5424 199.973 48.5424ZM198.249 46.8182C197.932 46.8182 197.675 47.0755 197.675 47.3928C197.675 47.7096 197.932 47.9668 198.249 47.9668C198.567 47.9668 198.824 47.7096 198.824 47.3928C198.824 47.0755 198.567 46.8182 198.249 46.8182ZM199.973 45.0945C199.657 45.0945 199.399 45.3513 199.399 45.6686C199.399 45.9859 199.657 46.2427 199.973 46.2427C200.291 46.2427 200.548 45.9859 200.548 45.6686C200.548 45.3513 200.291 45.0945 199.973 45.0945ZM198.249 43.3704C197.932 43.3704 197.675 43.6271 197.675 43.9444C197.675 44.2617 197.932 44.5185 198.249 44.5185C198.567 44.5185 198.824 44.2617 198.824 43.9444C198.824 43.6271 198.567 43.3704 198.249 43.3704ZM199.973 42.7943C200.291 42.7943 200.548 42.5371 200.548 42.2203C200.548 42.1358 200.528 42.0571 200.495 41.9851L199.483 41.9404C199.434 42.0244 199.399 42.1166 199.399 42.2203C199.399 42.5371 199.657 42.7943 199.973 42.7943ZM203.422 117.507C203.105 117.507 202.848 117.764 202.848 118.081C202.848 118.398 203.105 118.655 203.422 118.655C203.739 118.655 203.996 118.398 203.996 118.081C203.996 117.764 203.739 117.507 203.422 117.507ZM201.698 115.783C201.381 115.783 201.124 116.04 201.124 116.357C201.124 116.674 201.381 116.931 201.698 116.931C202.015 116.931 202.272 116.674 202.272 116.357C202.272 116.04 202.015 115.783 201.698 115.783ZM203.422 114.059C203.105 114.059 202.848 114.316 202.848 114.633C202.848 114.95 203.105 115.207 203.422 115.207C203.739 115.207 203.996 114.95 203.996 114.633C203.996 114.316 203.739 114.059 203.422 114.059ZM201.698 112.335C201.381 112.335 201.124 112.592 201.124 112.909C201.124 113.226 201.381 113.483 201.698 113.483C202.015 113.483 202.272 113.226 202.272 112.909C202.272 112.592 202.015 112.335 201.698 112.335ZM203.422 110.611C203.105 110.611 202.848 110.867 202.848 111.185C202.848 111.502 203.105 111.759 203.422 111.759C203.739 111.759 203.996 111.502 203.996 111.185C203.996 110.867 203.739 110.611 203.422 110.611ZM201.698 108.887C201.381 108.887 201.124 109.144 201.124 109.461C201.124 109.778 201.381 110.035 201.698 110.035C202.015 110.035 202.272 109.778 202.272 109.461C202.272 109.144 202.015 108.887 201.698 108.887ZM203.422 107.162C203.105 107.162 202.848 107.419 202.848 107.736C202.848 108.054 203.105 108.311 203.422 108.311C203.739 108.311 203.996 108.054 203.996 107.736C203.996 107.419 203.739 107.162 203.422 107.162ZM201.698 105.438C201.381 105.438 201.124 105.695 201.124 106.012C201.124 106.33 201.381 106.586 201.698 106.586C202.015 106.586 202.272 106.33 202.272 106.012C202.272 105.695 202.015 105.438 201.698 105.438ZM203.422 103.714C203.105 103.714 202.848 103.971 202.848 104.288C202.848 104.605 203.105 104.863 203.422 104.863C203.739 104.863 203.996 104.605 203.996 104.288C203.996 103.971 203.739 103.714 203.422 103.714ZM201.698 101.99C201.381 101.99 201.124 102.247 201.124 102.564C201.124 102.881 201.381 103.138 201.698 103.138C202.015 103.138 202.272 102.881 202.272 102.564C202.272 102.247 202.015 101.99 201.698 101.99ZM203.422 100.266C203.105 100.266 202.848 100.523 202.848 100.84C202.848 101.157 203.105 101.414 203.422 101.414C203.739 101.414 203.996 101.157 203.996 100.84C203.996 100.523 203.739 100.266 203.422 100.266ZM201.698 98.542C201.381 98.542 201.124 98.7988 201.124 99.1161C201.124 99.4329 201.381 99.6902 201.698 99.6902C202.015 99.6902 202.272 99.4329 202.272 99.1161C202.272 98.7988 202.015 98.542 201.698 98.542ZM203.422 96.8174C203.105 96.8174 202.848 97.0747 202.848 97.3919C202.848 97.7087 203.105 97.966 203.422 97.966C203.739 97.966 203.996 97.7087 203.996 97.3919C203.996 97.0747 203.739 96.8174 203.422 96.8174ZM201.698 95.0937C201.381 95.0937 201.124 95.3505 201.124 95.6678C201.124 95.9851 201.381 96.2419 201.698 96.2419C202.015 96.2419 202.272 95.9851 202.272 95.6678C202.272 95.3505 202.015 95.0937 201.698 95.0937ZM203.422 93.3696C203.105 93.3696 202.848 93.6264 202.848 93.9436C202.848 94.2609 203.105 94.5177 203.422 94.5177C203.739 94.5177 203.996 94.2609 203.996 93.9436C203.996 93.6264 203.739 93.3696 203.422 93.3696ZM201.698 91.6454C201.381 91.6454 201.124 91.9022 201.124 92.2195C201.124 92.5363 201.381 92.7936 201.698 92.7936C202.015 92.7936 202.272 92.5363 202.272 92.2195C202.272 91.9022 202.015 91.6454 201.698 91.6454ZM203.422 89.9212C203.105 89.9212 202.848 90.178 202.848 90.4953C202.848 90.8126 203.105 91.0694 203.422 91.0694C203.739 91.0694 203.996 90.8126 203.996 90.4953C203.996 90.178 203.739 89.9212 203.422 89.9212ZM201.698 88.1971C201.381 88.1971 201.124 88.4544 201.124 88.7711C201.124 89.0884 201.381 89.3457 201.698 89.3457C202.015 89.3457 202.272 89.0884 202.272 88.7711C202.272 88.4544 202.015 88.1971 201.698 88.1971ZM203.422 86.4729C203.105 86.4729 202.848 86.7302 202.848 87.047C202.848 87.3643 203.105 87.6216 203.422 87.6216C203.739 87.6216 203.996 87.3643 203.996 87.047C203.996 86.7302 203.739 86.4729 203.422 86.4729ZM201.698 84.7487C201.381 84.7487 201.124 85.006 201.124 85.3228C201.124 85.6401 201.381 85.8969 201.698 85.8969C202.015 85.8969 202.272 85.6401 202.272 85.3228C202.272 85.006 202.015 84.7487 201.698 84.7487ZM203.422 83.0251C203.105 83.0251 202.848 83.2819 202.848 83.5987C202.848 83.9159 203.105 84.1732 203.422 84.1732C203.739 84.1732 203.996 83.9159 203.996 83.5987C203.996 83.2819 203.739 83.0251 203.422 83.0251ZM201.698 81.3004C201.381 81.3004 201.124 81.5577 201.124 81.875C201.124 82.1918 201.381 82.4491 201.698 82.4491C202.015 82.4491 202.272 82.1918 202.272 81.875C202.272 81.5577 202.015 81.3004 201.698 81.3004ZM203.422 79.5763C203.105 79.5763 202.848 79.8335 202.848 80.1508C202.848 80.4676 203.105 80.7249 203.422 80.7249C203.739 80.7249 203.996 80.4676 203.996 80.1508C203.996 79.8335 203.739 79.5763 203.422 79.5763ZM201.698 77.8526C201.381 77.8526 201.124 78.1094 201.124 78.4267C201.124 78.7439 201.381 79.0007 201.698 79.0007C202.015 79.0007 202.272 78.7439 202.272 78.4267C202.272 78.1094 202.015 77.8526 201.698 77.8526ZM203.422 76.1284C203.105 76.1284 202.848 76.3857 202.848 76.7025C202.848 77.0198 203.105 77.2766 203.422 77.2766C203.739 77.2766 203.996 77.0198 203.996 76.7025C203.996 76.3857 203.739 76.1284 203.422 76.1284ZM201.698 74.4043C201.381 74.4043 201.124 74.6611 201.124 74.9783C201.124 75.2956 201.381 75.5524 201.698 75.5524C202.015 75.5524 202.272 75.2956 202.272 74.9783C202.272 74.6611 202.015 74.4043 201.698 74.4043ZM203.422 72.6801C203.105 72.6801 202.848 72.9369 202.848 73.2542C202.848 73.5715 203.105 73.8283 203.422 73.8283C203.739 73.8283 203.996 73.5715 203.996 73.2542C203.996 72.9369 203.739 72.6801 203.422 72.6801ZM201.698 70.956C201.381 70.956 201.124 71.2132 201.124 71.53C201.124 71.8473 201.381 72.1046 201.698 72.1046C202.015 72.1046 202.272 71.8473 202.272 71.53C202.272 71.2132 202.015 70.956 201.698 70.956ZM203.422 69.2318C203.105 69.2318 202.848 69.4891 202.848 69.8064C202.848 70.1232 203.105 70.3799 203.422 70.3799C203.739 70.3799 203.996 70.1232 203.996 69.8064C203.996 69.4891 203.739 69.2318 203.422 69.2318ZM201.698 67.5076C201.381 67.5076 201.124 67.7649 201.124 68.0817C201.124 68.399 201.381 68.6563 201.698 68.6563C202.015 68.6563 202.272 68.399 202.272 68.0817C202.272 67.7649 202.015 67.5076 201.698 67.5076ZM203.422 65.784C203.105 65.784 202.848 66.0407 202.848 66.3575C202.848 66.6748 203.105 66.9321 203.422 66.9321C203.739 66.9321 203.996 66.6748 203.996 66.3575C203.996 66.0407 203.739 65.784 203.422 65.784ZM201.698 64.0593C201.381 64.0593 201.124 64.3166 201.124 64.6339C201.124 64.9507 201.381 65.2079 201.698 65.2079C202.015 65.2079 202.272 64.9507 202.272 64.6339C202.272 64.3166 202.015 64.0593 201.698 64.0593ZM203.422 62.3356C203.105 62.3356 202.848 62.5924 202.848 62.9097C202.848 63.2265 203.105 63.4838 203.422 63.4838C203.739 63.4838 203.996 63.2265 203.996 62.9097C203.996 62.5924 203.739 62.3356 203.422 62.3356ZM201.698 60.6115C201.381 60.6115 201.124 60.8683 201.124 61.1855C201.124 61.5028 201.381 61.7596 201.698 61.7596C202.015 61.7596 202.272 61.5028 202.272 61.1855C202.272 60.8683 202.015 60.6115 201.698 60.6115ZM203.422 58.8873C203.105 58.8873 202.848 59.1441 202.848 59.4614C202.848 59.7782 203.105 60.0355 203.422 60.0355C203.739 60.0355 203.996 59.7782 203.996 59.4614C203.996 59.1441 203.739 58.8873 203.422 58.8873ZM201.698 57.1631C201.381 57.1631 201.124 57.42 201.124 57.7372C201.124 58.0545 201.381 58.3113 201.698 58.3113C202.015 58.3113 202.272 58.0545 202.272 57.7372C202.272 57.42 202.015 57.1631 201.698 57.1631ZM203.422 55.439C203.105 55.439 202.848 55.6963 202.848 56.0131C202.848 56.3303 203.105 56.5871 203.422 56.5871C203.739 56.5871 203.996 56.3303 203.996 56.0131C203.996 55.6963 203.739 55.439 203.422 55.439ZM201.698 53.7148C201.381 53.7148 201.124 53.9721 201.124 54.2889C201.124 54.6062 201.381 54.863 201.698 54.863C202.015 54.863 202.272 54.6062 202.272 54.2889C202.272 53.9721 202.015 53.7148 201.698 53.7148ZM203.422 51.9907C203.105 51.9907 202.848 52.2479 202.848 52.5648C202.848 52.882 203.105 53.1388 203.422 53.1388C203.739 53.1388 203.996 52.882 203.996 52.5648C203.996 52.2479 203.739 51.9907 203.422 51.9907ZM201.698 50.2665C201.381 50.2665 201.124 50.5238 201.124 50.8406C201.124 51.1579 201.381 51.4151 201.698 51.4151C202.015 51.4151 202.272 51.1579 202.272 50.8406C202.272 50.5238 202.015 50.2665 201.698 50.2665ZM203.422 48.5424C203.105 48.5424 202.848 48.7996 202.848 49.1164C202.848 49.4337 203.105 49.691 203.422 49.691C203.739 49.691 203.996 49.4337 203.996 49.1164C203.996 48.7996 203.739 48.5424 203.422 48.5424ZM201.698 46.8182C201.381 46.8182 201.124 47.0755 201.124 47.3928C201.124 47.7096 201.381 47.9668 201.698 47.9668C202.015 47.9668 202.272 47.7096 202.272 47.3928C202.272 47.0755 202.015 46.8182 201.698 46.8182ZM203.422 45.0945C203.105 45.0945 202.848 45.3513 202.848 45.6686C202.848 45.9859 203.105 46.2427 203.422 46.2427C203.739 46.2427 203.996 45.9859 203.996 45.6686C203.996 45.3513 203.739 45.0945 203.422 45.0945ZM201.698 43.3704C201.381 43.3704 201.124 43.6271 201.124 43.9444C201.124 44.2617 201.381 44.5185 201.698 44.5185C202.015 44.5185 202.272 44.2617 202.272 43.9444C202.272 43.6271 202.015 43.3704 201.698 43.3704ZM203.422 42.7943C203.739 42.7943 203.996 42.5371 203.996 42.2203C203.996 42.191 203.984 42.166 203.979 42.1382L202.874 42.0897C202.864 42.1329 202.848 42.1742 202.848 42.2203C202.848 42.5371 203.105 42.7943 203.422 42.7943ZM206.87 120.955C206.553 120.955 206.296 121.212 206.296 121.529C206.296 121.847 206.553 122.103 206.87 122.103C207.187 122.103 207.445 121.847 207.445 121.529C207.445 121.212 207.187 120.955 206.87 120.955ZM205.146 119.231C204.829 119.231 204.572 119.488 204.572 119.806C204.572 120.122 204.829 120.38 205.146 120.38C205.463 120.38 205.72 120.122 205.72 119.806C205.72 119.488 205.463 119.231 205.146 119.231ZM206.87 117.507C206.553 117.507 206.296 117.764 206.296 118.081C206.296 118.398 206.553 118.655 206.87 118.655C207.187 118.655 207.445 118.398 207.445 118.081C207.445 117.764 207.187 117.507 206.87 117.507ZM205.146 115.783C204.829 115.783 204.572 116.04 204.572 116.357C204.572 116.674 204.829 116.931 205.146 116.931C205.463 116.931 205.72 116.674 205.72 116.357C205.72 116.04 205.463 115.783 205.146 115.783ZM206.87 114.059C206.553 114.059 206.296 114.316 206.296 114.633C206.296 114.95 206.553 115.207 206.87 115.207C207.187 115.207 207.445 114.95 207.445 114.633C207.445 114.316 207.187 114.059 206.87 114.059ZM205.146 112.335C204.829 112.335 204.572 112.592 204.572 112.909C204.572 113.226 204.829 113.483 205.146 113.483C205.463 113.483 205.72 113.226 205.72 112.909C205.72 112.592 205.463 112.335 205.146 112.335ZM206.87 110.611C206.553 110.611 206.296 110.867 206.296 111.185C206.296 111.502 206.553 111.759 206.87 111.759C207.187 111.759 207.445 111.502 207.445 111.185C207.445 110.867 207.187 110.611 206.87 110.611ZM205.146 108.887C204.829 108.887 204.572 109.144 204.572 109.461C204.572 109.778 204.829 110.035 205.146 110.035C205.463 110.035 205.72 109.778 205.72 109.461C205.72 109.144 205.463 108.887 205.146 108.887ZM206.87 107.162C206.553 107.162 206.296 107.419 206.296 107.736C206.296 108.054 206.553 108.311 206.87 108.311C207.187 108.311 207.445 108.054 207.445 107.736C207.445 107.419 207.187 107.162 206.87 107.162ZM205.146 105.438C204.829 105.438 204.572 105.695 204.572 106.012C204.572 106.33 204.829 106.586 205.146 106.586C205.463 106.586 205.72 106.33 205.72 106.012C205.72 105.695 205.463 105.438 205.146 105.438ZM206.87 103.714C206.553 103.714 206.296 103.971 206.296 104.288C206.296 104.605 206.553 104.863 206.87 104.863C207.187 104.863 207.445 104.605 207.445 104.288C207.445 103.971 207.187 103.714 206.87 103.714ZM205.146 101.99C204.829 101.99 204.572 102.247 204.572 102.564C204.572 102.881 204.829 103.138 205.146 103.138C205.463 103.138 205.72 102.881 205.72 102.564C205.72 102.247 205.463 101.99 205.146 101.99ZM206.87 100.266C206.553 100.266 206.296 100.523 206.296 100.84C206.296 101.157 206.553 101.414 206.87 101.414C207.187 101.414 207.445 101.157 207.445 100.84C207.445 100.523 207.187 100.266 206.87 100.266ZM205.146 98.542C204.829 98.542 204.572 98.7988 204.572 99.1161C204.572 99.4329 204.829 99.6902 205.146 99.6902C205.463 99.6902 205.72 99.4329 205.72 99.1161C205.72 98.7988 205.463 98.542 205.146 98.542ZM206.87 96.8174C206.553 96.8174 206.296 97.0747 206.296 97.3919C206.296 97.7087 206.553 97.966 206.87 97.966C207.187 97.966 207.445 97.7087 207.445 97.3919C207.445 97.0747 207.187 96.8174 206.87 96.8174ZM205.146 95.0937C204.829 95.0937 204.572 95.3505 204.572 95.6678C204.572 95.9851 204.829 96.2419 205.146 96.2419C205.463 96.2419 205.72 95.9851 205.72 95.6678C205.72 95.3505 205.463 95.0937 205.146 95.0937ZM206.87 93.3696C206.553 93.3696 206.296 93.6264 206.296 93.9436C206.296 94.2609 206.553 94.5177 206.87 94.5177C207.187 94.5177 207.445 94.2609 207.445 93.9436C207.445 93.6264 207.187 93.3696 206.87 93.3696ZM205.146 91.6454C204.829 91.6454 204.572 91.9022 204.572 92.2195C204.572 92.5363 204.829 92.7936 205.146 92.7936C205.463 92.7936 205.72 92.5363 205.72 92.2195C205.72 91.9022 205.463 91.6454 205.146 91.6454ZM206.87 89.9212C206.553 89.9212 206.296 90.178 206.296 90.4953C206.296 90.8126 206.553 91.0694 206.87 91.0694C207.187 91.0694 207.445 90.8126 207.445 90.4953C207.445 90.178 207.187 89.9212 206.87 89.9212ZM205.146 88.1971C204.829 88.1971 204.572 88.4544 204.572 88.7711C204.572 89.0884 204.829 89.3457 205.146 89.3457C205.463 89.3457 205.72 89.0884 205.72 88.7711C205.72 88.4544 205.463 88.1971 205.146 88.1971ZM206.87 86.4729C206.553 86.4729 206.296 86.7302 206.296 87.047C206.296 87.3643 206.553 87.6216 206.87 87.6216C207.187 87.6216 207.445 87.3643 207.445 87.047C207.445 86.7302 207.187 86.4729 206.87 86.4729ZM205.146 84.7487C204.829 84.7487 204.572 85.006 204.572 85.3228C204.572 85.6401 204.829 85.8969 205.146 85.8969C205.463 85.8969 205.72 85.6401 205.72 85.3228C205.72 85.006 205.463 84.7487 205.146 84.7487ZM206.87 83.0251C206.553 83.0251 206.296 83.2819 206.296 83.5987C206.296 83.9159 206.553 84.1732 206.87 84.1732C207.187 84.1732 207.445 83.9159 207.445 83.5987C207.445 83.2819 207.187 83.0251 206.87 83.0251ZM205.146 81.3004C204.829 81.3004 204.572 81.5577 204.572 81.875C204.572 82.1918 204.829 82.4491 205.146 82.4491C205.463 82.4491 205.72 82.1918 205.72 81.875C205.72 81.5577 205.463 81.3004 205.146 81.3004ZM206.87 79.5763C206.553 79.5763 206.296 79.8335 206.296 80.1508C206.296 80.4676 206.553 80.7249 206.87 80.7249C207.187 80.7249 207.445 80.4676 207.445 80.1508C207.445 79.8335 207.187 79.5763 206.87 79.5763ZM205.146 77.8526C204.829 77.8526 204.572 78.1094 204.572 78.4267C204.572 78.7439 204.829 79.0007 205.146 79.0007C205.463 79.0007 205.72 78.7439 205.72 78.4267C205.72 78.1094 205.463 77.8526 205.146 77.8526ZM206.87 76.1284C206.553 76.1284 206.296 76.3857 206.296 76.7025C206.296 77.0198 206.553 77.2766 206.87 77.2766C207.187 77.2766 207.445 77.0198 207.445 76.7025C207.445 76.3857 207.187 76.1284 206.87 76.1284ZM205.146 74.4043C204.829 74.4043 204.572 74.6611 204.572 74.9783C204.572 75.2956 204.829 75.5524 205.146 75.5524C205.463 75.5524 205.72 75.2956 205.72 74.9783C205.72 74.6611 205.463 74.4043 205.146 74.4043ZM206.87 72.6801C206.553 72.6801 206.296 72.9369 206.296 73.2542C206.296 73.5715 206.553 73.8283 206.87 73.8283C207.187 73.8283 207.445 73.5715 207.445 73.2542C207.445 72.9369 207.187 72.6801 206.87 72.6801ZM205.146 70.956C204.829 70.956 204.572 71.2132 204.572 71.53C204.572 71.8473 204.829 72.1046 205.146 72.1046C205.463 72.1046 205.72 71.8473 205.72 71.53C205.72 71.2132 205.463 70.956 205.146 70.956ZM206.87 69.2318C206.553 69.2318 206.296 69.4891 206.296 69.8064C206.296 70.1232 206.553 70.3799 206.87 70.3799C207.187 70.3799 207.445 70.1232 207.445 69.8064C207.445 69.4891 207.187 69.2318 206.87 69.2318ZM205.146 67.5076C204.829 67.5076 204.572 67.7649 204.572 68.0817C204.572 68.399 204.829 68.6563 205.146 68.6563C205.463 68.6563 205.72 68.399 205.72 68.0817C205.72 67.7649 205.463 67.5076 205.146 67.5076ZM206.87 65.784C206.553 65.784 206.296 66.0407 206.296 66.3575C206.296 66.6748 206.553 66.9321 206.87 66.9321C207.187 66.9321 207.445 66.6748 207.445 66.3575C207.445 66.0407 207.187 65.784 206.87 65.784ZM205.146 64.0593C204.829 64.0593 204.572 64.3166 204.572 64.6339C204.572 64.9507 204.829 65.2079 205.146 65.2079C205.463 65.2079 205.72 64.9507 205.72 64.6339C205.72 64.3166 205.463 64.0593 205.146 64.0593ZM206.87 62.3356C206.553 62.3356 206.296 62.5924 206.296 62.9097C206.296 63.2265 206.553 63.4838 206.87 63.4838C207.187 63.4838 207.445 63.2265 207.445 62.9097C207.445 62.5924 207.187 62.3356 206.87 62.3356ZM205.146 60.6115C204.829 60.6115 204.572 60.8683 204.572 61.1855C204.572 61.5028 204.829 61.7596 205.146 61.7596C205.463 61.7596 205.72 61.5028 205.72 61.1855C205.72 60.8683 205.463 60.6115 205.146 60.6115ZM206.87 58.8873C206.553 58.8873 206.296 59.1441 206.296 59.4614C206.296 59.7782 206.553 60.0355 206.87 60.0355C207.187 60.0355 207.445 59.7782 207.445 59.4614C207.445 59.1441 207.187 58.8873 206.87 58.8873ZM205.146 57.1631C204.829 57.1631 204.572 57.42 204.572 57.7372C204.572 58.0545 204.829 58.3113 205.146 58.3113C205.463 58.3113 205.72 58.0545 205.72 57.7372C205.72 57.42 205.463 57.1631 205.146 57.1631ZM206.87 55.439C206.553 55.439 206.296 55.6963 206.296 56.0131C206.296 56.3303 206.553 56.5871 206.87 56.5871C207.187 56.5871 207.445 56.3303 207.445 56.0131C207.445 55.6963 207.187 55.439 206.87 55.439ZM205.146 53.7148C204.829 53.7148 204.572 53.9721 204.572 54.2889C204.572 54.6062 204.829 54.863 205.146 54.863C205.463 54.863 205.72 54.6062 205.72 54.2889C205.72 53.9721 205.463 53.7148 205.146 53.7148ZM206.87 51.9907C206.553 51.9907 206.296 52.2479 206.296 52.5648C206.296 52.882 206.553 53.1388 206.87 53.1388C207.187 53.1388 207.445 52.882 207.445 52.5648C207.445 52.2479 207.187 51.9907 206.87 51.9907ZM205.146 50.2665C204.829 50.2665 204.572 50.5238 204.572 50.8406C204.572 51.1579 204.829 51.4151 205.146 51.4151C205.463 51.4151 205.72 51.1579 205.72 50.8406C205.72 50.5238 205.463 50.2665 205.146 50.2665ZM206.87 48.5424C206.553 48.5424 206.296 48.7996 206.296 49.1164C206.296 49.4337 206.553 49.691 206.87 49.691C207.187 49.691 207.445 49.4337 207.445 49.1164C207.445 48.7996 207.187 48.5424 206.87 48.5424ZM205.146 46.8182C204.829 46.8182 204.572 47.0755 204.572 47.3928C204.572 47.7096 204.829 47.9668 205.146 47.9668C205.463 47.9668 205.72 47.7096 205.72 47.3928C205.72 47.0755 205.463 46.8182 205.146 46.8182ZM206.87 45.0945C206.553 45.0945 206.296 45.3513 206.296 45.6686C206.296 45.9859 206.553 46.2427 206.87 46.2427C207.187 46.2427 207.445 45.9859 207.445 45.6686C207.445 45.3513 207.187 45.0945 206.87 45.0945ZM205.146 43.3704C204.829 43.3704 204.572 43.6271 204.572 43.9444C204.572 44.2617 204.829 44.5185 205.146 44.5185C205.463 44.5185 205.72 44.2617 205.72 43.9444C205.72 43.6271 205.463 43.3704 205.146 43.3704ZM206.87 42.7943C207.162 42.7943 207.394 42.5726 207.43 42.2899L206.3 42.2404C206.311 42.5476 206.56 42.7943 206.87 42.7943ZM209.744 124.978C209.744 125.134 209.808 125.275 209.909 125.378L210.013 124.503C209.855 124.606 209.744 124.775 209.744 124.978ZM208.594 122.679C208.277 122.679 208.02 122.936 208.02 123.254C208.02 123.571 208.277 123.827 208.594 123.827C208.911 123.827 209.169 123.571 209.169 123.254C209.169 122.936 208.911 122.679 208.594 122.679ZM209.744 121.529C209.744 121.84 209.991 122.089 210.3 122.099L210.434 120.978C210.395 120.971 210.359 120.955 210.318 120.955C210.002 120.955 209.744 121.212 209.744 121.529ZM208.594 119.231C208.277 119.231 208.02 119.488 208.02 119.806C208.02 120.122 208.277 120.38 208.594 120.38C208.911 120.38 209.169 120.122 209.169 119.806C209.169 119.488 208.911 119.231 208.594 119.231ZM210.318 117.507C210.002 117.507 209.744 117.764 209.744 118.081C209.744 118.398 210.002 118.655 210.318 118.655C210.482 118.655 210.627 118.586 210.732 118.476L210.811 117.805C210.713 117.63 210.533 117.507 210.318 117.507ZM208.594 115.783C208.277 115.783 208.02 116.04 208.02 116.357C208.02 116.674 208.277 116.931 208.594 116.931C208.911 116.931 209.169 116.674 209.169 116.357C209.169 116.04 208.911 115.783 208.594 115.783ZM210.318 114.059C210.002 114.059 209.744 114.316 209.744 114.633C209.744 114.95 210.002 115.207 210.318 115.207C210.636 115.207 210.892 114.95 210.892 114.633C210.892 114.316 210.636 114.059 210.318 114.059ZM208.594 112.335C208.277 112.335 208.02 112.592 208.02 112.909C208.02 113.226 208.277 113.483 208.594 113.483C208.911 113.483 209.169 113.226 209.169 112.909C209.169 112.592 208.911 112.335 208.594 112.335ZM210.318 110.611C210.002 110.611 209.744 110.867 209.744 111.185C209.744 111.502 210.002 111.759 210.318 111.759C210.636 111.759 210.892 111.502 210.892 111.185C210.892 110.867 210.636 110.611 210.318 110.611ZM211.87 108.921C211.639 108.995 211.468 109.205 211.468 109.461C211.468 109.668 211.584 109.841 211.749 109.943L211.87 108.921ZM208.594 108.887C208.277 108.887 208.02 109.144 208.02 109.461C208.02 109.778 208.277 110.035 208.594 110.035C208.911 110.035 209.169 109.778 209.169 109.461C209.169 109.144 208.911 108.887 208.594 108.887ZM210.318 107.162C210.002 107.162 209.744 107.419 209.744 107.736C209.744 108.054 210.002 108.311 210.318 108.311C210.636 108.311 210.892 108.054 210.892 107.736C210.892 107.419 210.636 107.162 210.318 107.162ZM211.468 106.012C211.468 106.33 211.726 106.586 212.042 106.586C212.081 106.586 212.115 106.572 212.151 106.565L212.279 105.492C212.207 105.459 212.127 105.438 212.042 105.438C211.726 105.438 211.468 105.695 211.468 106.012ZM208.594 105.438C208.277 105.438 208.02 105.695 208.02 106.012C208.02 106.33 208.277 106.586 208.594 106.586C208.911 106.586 209.169 106.33 209.169 106.012C209.169 105.695 208.911 105.438 208.594 105.438ZM210.318 103.714C210.002 103.714 209.744 103.971 209.744 104.288C209.744 104.605 210.002 104.863 210.318 104.863C210.636 104.863 210.892 104.605 210.892 104.288C210.892 103.971 210.636 103.714 210.318 103.714ZM208.594 101.99C208.277 101.99 208.02 102.247 208.02 102.564C208.02 102.881 208.277 103.138 208.594 103.138C208.911 103.138 209.169 102.881 209.169 102.564C209.169 102.247 208.911 101.99 208.594 101.99ZM210.318 100.266C210.002 100.266 209.744 100.523 209.744 100.84C209.744 101.157 210.002 101.414 210.318 101.414C210.636 101.414 210.892 101.157 210.892 100.84C210.892 100.523 210.636 100.266 210.318 100.266ZM208.594 98.542C208.277 98.542 208.02 98.7988 208.02 99.1161C208.02 99.4329 208.277 99.6902 208.594 99.6902C208.911 99.6902 209.169 99.4329 209.169 99.1161C209.169 98.7988 208.911 98.542 208.594 98.542ZM210.318 96.8174C210.002 96.8174 209.744 97.0747 209.744 97.3919C209.744 97.7087 210.002 97.966 210.318 97.966C210.636 97.966 210.892 97.7087 210.892 97.3919C210.892 97.0747 210.636 96.8174 210.318 96.8174ZM208.594 95.0937C208.277 95.0937 208.02 95.3505 208.02 95.6678C208.02 95.9851 208.277 96.2419 208.594 96.2419C208.911 96.2419 209.169 95.9851 209.169 95.6678C209.169 95.3505 208.911 95.0937 208.594 95.0937ZM210.318 93.3696C210.002 93.3696 209.744 93.6264 209.744 93.9436C209.744 94.2609 210.002 94.5177 210.318 94.5177C210.636 94.5177 210.892 94.2609 210.892 93.9436C210.892 93.6264 210.636 93.3696 210.318 93.3696ZM208.594 91.6454C208.277 91.6454 208.02 91.9022 208.02 92.2195C208.02 92.5363 208.277 92.7936 208.594 92.7936C208.911 92.7936 209.169 92.5363 209.169 92.2195C209.169 91.9022 208.911 91.6454 208.594 91.6454ZM210.318 89.9212C210.002 89.9212 209.744 90.178 209.744 90.4953C209.744 90.8126 210.002 91.0694 210.318 91.0694C210.636 91.0694 210.892 90.8126 210.892 90.4953C210.892 90.178 210.636 89.9212 210.318 89.9212ZM208.594 88.1971C208.277 88.1971 208.02 88.4544 208.02 88.7711C208.02 89.0884 208.277 89.3457 208.594 89.3457C208.911 89.3457 209.169 89.0884 209.169 88.7711C209.169 88.4544 208.911 88.1971 208.594 88.1971ZM210.318 86.4729C210.002 86.4729 209.744 86.7302 209.744 87.047C209.744 87.3643 210.002 87.6216 210.318 87.6216C210.636 87.6216 210.892 87.3643 210.892 87.047C210.892 86.7302 210.636 86.4729 210.318 86.4729ZM208.594 84.7487C208.277 84.7487 208.02 85.006 208.02 85.3228C208.02 85.6401 208.277 85.8969 208.594 85.8969C208.911 85.8969 209.169 85.6401 209.169 85.3228C209.169 85.006 208.911 84.7487 208.594 84.7487ZM210.318 83.0251C210.002 83.0251 209.744 83.2819 209.744 83.5987C209.744 83.9159 210.002 84.1732 210.318 84.1732C210.636 84.1732 210.892 83.9159 210.892 83.5987C210.892 83.2819 210.636 83.0251 210.318 83.0251ZM208.594 81.3004C208.277 81.3004 208.02 81.5577 208.02 81.875C208.02 82.1918 208.277 82.4491 208.594 82.4491C208.911 82.4491 209.169 82.1918 209.169 81.875C209.169 81.5577 208.911 81.3004 208.594 81.3004ZM210.318 79.5763C210.002 79.5763 209.744 79.8335 209.744 80.1508C209.744 80.4676 210.002 80.7249 210.318 80.7249C210.636 80.7249 210.892 80.4676 210.892 80.1508C210.892 79.8335 210.636 79.5763 210.318 79.5763ZM208.594 77.8526C208.277 77.8526 208.02 78.1094 208.02 78.4267C208.02 78.7439 208.277 79.0007 208.594 79.0007C208.911 79.0007 209.169 78.7439 209.169 78.4267C209.169 78.1094 208.911 77.8526 208.594 77.8526ZM210.318 76.1284C210.002 76.1284 209.744 76.3857 209.744 76.7025C209.744 77.0198 210.002 77.2766 210.318 77.2766C210.636 77.2766 210.892 77.0198 210.892 76.7025C210.892 76.3857 210.636 76.1284 210.318 76.1284ZM208.594 74.4043C208.277 74.4043 208.02 74.6611 208.02 74.9783C208.02 75.2956 208.277 75.5524 208.594 75.5524C208.911 75.5524 209.169 75.2956 209.169 74.9783C209.169 74.6611 208.911 74.4043 208.594 74.4043ZM210.318 72.6801C210.002 72.6801 209.744 72.9369 209.744 73.2542C209.744 73.5715 210.002 73.8283 210.318 73.8283C210.636 73.8283 210.892 73.5715 210.892 73.2542C210.892 72.9369 210.636 72.6801 210.318 72.6801ZM208.594 70.956C208.277 70.956 208.02 71.2132 208.02 71.53C208.02 71.8473 208.277 72.1046 208.594 72.1046C208.911 72.1046 209.169 71.8473 209.169 71.53C209.169 71.2132 208.911 70.956 208.594 70.956ZM210.318 69.2318C210.002 69.2318 209.744 69.4891 209.744 69.8064C209.744 70.1232 210.002 70.3799 210.318 70.3799C210.636 70.3799 210.892 70.1232 210.892 69.8064C210.892 69.4891 210.636 69.2318 210.318 69.2318ZM208.594 67.5076C208.277 67.5076 208.02 67.7649 208.02 68.0817C208.02 68.399 208.277 68.6563 208.594 68.6563C208.911 68.6563 209.169 68.399 209.169 68.0817C209.169 67.7649 208.911 67.5076 208.594 67.5076ZM210.318 65.784C210.002 65.784 209.744 66.0407 209.744 66.3575C209.744 66.6748 210.002 66.9321 210.318 66.9321C210.636 66.9321 210.892 66.6748 210.892 66.3575C210.892 66.0407 210.636 65.784 210.318 65.784ZM208.594 64.0593C208.277 64.0593 208.02 64.3166 208.02 64.6339C208.02 64.9507 208.277 65.2079 208.594 65.2079C208.911 65.2079 209.169 64.9507 209.169 64.6339C209.169 64.3166 208.911 64.0593 208.594 64.0593ZM210.318 62.3356C210.002 62.3356 209.744 62.5924 209.744 62.9097C209.744 63.2265 210.002 63.4838 210.318 63.4838C210.636 63.4838 210.892 63.2265 210.892 62.9097C210.892 62.5924 210.636 62.3356 210.318 62.3356ZM208.594 60.6115C208.277 60.6115 208.02 60.8683 208.02 61.1855C208.02 61.5028 208.277 61.7596 208.594 61.7596C208.911 61.7596 209.169 61.5028 209.169 61.1855C209.169 60.8683 208.911 60.6115 208.594 60.6115ZM210.318 58.8873C210.002 58.8873 209.744 59.1441 209.744 59.4614C209.744 59.7782 210.002 60.0355 210.318 60.0355C210.636 60.0355 210.892 59.7782 210.892 59.4614C210.892 59.1441 210.636 58.8873 210.318 58.8873ZM208.594 57.1631C208.277 57.1631 208.02 57.42 208.02 57.7372C208.02 58.0545 208.277 58.3113 208.594 58.3113C208.911 58.3113 209.169 58.0545 209.169 57.7372C209.169 57.42 208.911 57.1631 208.594 57.1631ZM210.318 55.439C210.002 55.439 209.744 55.6963 209.744 56.0131C209.744 56.3303 210.002 56.5871 210.318 56.5871C210.636 56.5871 210.892 56.3303 210.892 56.0131C210.892 55.6963 210.636 55.439 210.318 55.439ZM208.594 53.7148C208.277 53.7148 208.02 53.9721 208.02 54.2889C208.02 54.6062 208.277 54.863 208.594 54.863C208.911 54.863 209.169 54.6062 209.169 54.2889C209.169 53.9721 208.911 53.7148 208.594 53.7148ZM210.318 51.9907C210.002 51.9907 209.744 52.2479 209.744 52.5648C209.744 52.882 210.002 53.1388 210.318 53.1388C210.636 53.1388 210.892 52.882 210.892 52.5648C210.892 52.2479 210.636 51.9907 210.318 51.9907ZM208.594 50.2665C208.277 50.2665 208.02 50.5238 208.02 50.8406C208.02 51.1579 208.277 51.4151 208.594 51.4151C208.911 51.4151 209.169 51.1579 209.169 50.8406C209.169 50.5238 208.911 50.2665 208.594 50.2665ZM210.318 48.5424C210.002 48.5424 209.744 48.7996 209.744 49.1164C209.744 49.4337 210.002 49.691 210.318 49.691C210.636 49.691 210.892 49.4337 210.892 49.1164C210.892 48.7996 210.636 48.5424 210.318 48.5424ZM208.594 46.8182C208.277 46.8182 208.02 47.0755 208.02 47.3928C208.02 47.7096 208.277 47.9668 208.594 47.9668C208.911 47.9668 209.169 47.7096 209.169 47.3928C209.169 47.0755 208.911 46.8182 208.594 46.8182ZM210.318 45.0945C210.002 45.0945 209.744 45.3513 209.744 45.6686C209.744 45.9859 210.002 46.2427 210.318 46.2427C210.636 46.2427 210.892 45.9859 210.892 45.6686C210.892 45.3513 210.636 45.0945 210.318 45.0945ZM208.594 43.3704C208.277 43.3704 208.02 43.6271 208.02 43.9444C208.02 44.2617 208.277 44.5185 208.594 44.5185C208.911 44.5185 209.169 44.2617 209.169 43.9444C209.169 43.6271 208.911 43.3704 208.594 43.3704ZM210.318 42.7943C210.557 42.7943 210.762 42.6479 210.848 42.4406L209.779 42.3935C209.853 42.6244 210.063 42.7943 210.318 42.7943ZM212.042 101.99C211.726 101.99 211.468 102.247 211.468 102.564C211.468 102.881 211.726 103.138 212.042 103.138C212.36 103.138 212.617 102.881 212.617 102.564C212.617 102.247 212.36 101.99 212.042 101.99ZM212.042 98.542C211.726 98.542 211.468 98.7988 211.468 99.1161C211.468 99.4329 211.726 99.6902 212.042 99.6902C212.36 99.6902 212.617 99.4329 212.617 99.1161C212.617 98.7988 212.36 98.542 212.042 98.542ZM213.192 97.3919C213.192 97.4495 213.209 97.5019 213.225 97.5547L213.278 97.1073C213.229 97.1928 213.192 97.2863 213.192 97.3919ZM212.042 95.0937C211.726 95.0937 211.468 95.3505 211.468 95.6678C211.468 95.9851 211.726 96.2419 212.042 96.2419C212.36 96.2419 212.617 95.9851 212.617 95.6678C212.617 95.3505 212.36 95.0937 212.042 95.0937ZM213.192 93.9436C213.192 94.1985 213.362 94.4073 213.591 94.4822L213.723 93.3782C213.428 93.4017 213.192 93.6422 213.192 93.9436ZM212.042 91.6454C211.726 91.6454 211.468 91.9022 211.468 92.2195C211.468 92.5363 211.726 92.7936 212.042 92.7936C212.36 92.7936 212.617 92.5363 212.617 92.2195C212.617 91.9022 212.36 91.6454 212.042 91.6454ZM213.192 90.4953C213.192 90.8126 213.449 91.0694 213.767 91.0694C213.852 91.0694 213.932 91.0483 214.005 91.0147L214.119 90.0537C214.021 89.975 213.902 89.9212 213.767 89.9212C213.449 89.9212 213.192 90.178 213.192 90.4953ZM212.042 88.1971C211.726 88.1971 211.468 88.4544 211.468 88.7711C211.468 89.0884 211.726 89.3457 212.042 89.3457C212.36 89.3457 212.617 89.0884 212.617 88.7711C212.617 88.4544 212.36 88.1971 212.042 88.1971ZM213.767 86.4729C213.449 86.4729 213.192 86.7302 213.192 87.047C213.192 87.3643 213.449 87.6216 213.767 87.6216C214.084 87.6216 214.341 87.3643 214.341 87.047C214.341 86.7302 214.084 86.4729 213.767 86.4729ZM212.042 84.7487C211.726 84.7487 211.468 85.006 211.468 85.3228C211.468 85.6401 211.726 85.8969 212.042 85.8969C212.36 85.8969 212.617 85.6401 212.617 85.3228C212.617 85.006 212.36 84.7487 212.042 84.7487ZM213.767 83.0251C213.449 83.0251 213.192 83.2819 213.192 83.5987C213.192 83.9159 213.449 84.1732 213.767 84.1732C214.084 84.1732 214.341 83.9159 214.341 83.5987C214.341 83.2819 214.084 83.0251 213.767 83.0251ZM215.148 81.4262C215.01 81.5313 214.917 81.6887 214.917 81.875C214.917 82.0123 214.971 82.1328 215.052 82.2316L215.148 81.4262ZM212.042 81.3004C211.726 81.3004 211.468 81.5577 211.468 81.875C211.468 82.1918 211.726 82.4491 212.042 82.4491C212.36 82.4491 212.617 82.1918 212.617 81.875C212.617 81.5577 212.36 81.3004 212.042 81.3004ZM213.767 79.5763C213.449 79.5763 213.192 79.8335 213.192 80.1508C213.192 80.4676 213.449 80.7249 213.767 80.7249C214.084 80.7249 214.341 80.4676 214.341 80.1508C214.341 79.8335 214.084 79.5763 213.767 79.5763ZM212.042 77.8526C211.726 77.8526 211.468 78.1094 211.468 78.4267C211.468 78.7439 211.726 79.0007 212.042 79.0007C212.36 79.0007 212.617 78.7439 212.617 78.4267C212.617 78.1094 212.36 77.8526 212.042 77.8526ZM213.767 76.1284C213.449 76.1284 213.192 76.3857 213.192 76.7025C213.192 77.0198 213.449 77.2766 213.767 77.2766C214.084 77.2766 214.341 77.0198 214.341 76.7025C214.341 76.3857 214.084 76.1284 213.767 76.1284ZM212.042 74.4043C211.726 74.4043 211.468 74.6611 211.468 74.9783C211.468 75.2956 211.726 75.5524 212.042 75.5524C212.36 75.5524 212.617 75.2956 212.617 74.9783C212.617 74.6611 212.36 74.4043 212.042 74.4043ZM213.767 72.6801C213.449 72.6801 213.192 72.9369 213.192 73.2542C213.192 73.5715 213.449 73.8283 213.767 73.8283C214.084 73.8283 214.341 73.5715 214.341 73.2542C214.341 72.9369 214.084 72.6801 213.767 72.6801ZM212.042 70.956C211.726 70.956 211.468 71.2132 211.468 71.53C211.468 71.8473 211.726 72.1046 212.042 72.1046C212.36 72.1046 212.617 71.8473 212.617 71.53C212.617 71.2132 212.36 70.956 212.042 70.956ZM213.767 69.2318C213.449 69.2318 213.192 69.4891 213.192 69.8064C213.192 70.1232 213.449 70.3799 213.767 70.3799C214.084 70.3799 214.341 70.1232 214.341 69.8064C214.341 69.4891 214.084 69.2318 213.767 69.2318ZM212.042 67.5076C211.726 67.5076 211.468 67.7649 211.468 68.0817C211.468 68.399 211.726 68.6563 212.042 68.6563C212.36 68.6563 212.617 68.399 212.617 68.0817C212.617 67.7649 212.36 67.5076 212.042 67.5076ZM213.767 65.784C213.449 65.784 213.192 66.0407 213.192 66.3575C213.192 66.6748 213.449 66.9321 213.767 66.9321C214.084 66.9321 214.341 66.6748 214.341 66.3575C214.341 66.0407 214.084 65.784 213.767 65.784ZM212.042 64.0593C211.726 64.0593 211.468 64.3166 211.468 64.6339C211.468 64.9507 211.726 65.2079 212.042 65.2079C212.36 65.2079 212.617 64.9507 212.617 64.6339C212.617 64.3166 212.36 64.0593 212.042 64.0593ZM213.767 62.3356C213.449 62.3356 213.192 62.5924 213.192 62.9097C213.192 63.2265 213.449 63.4838 213.767 63.4838C214.084 63.4838 214.341 63.2265 214.341 62.9097C214.341 62.5924 214.084 62.3356 213.767 62.3356ZM212.042 60.6115C211.726 60.6115 211.468 60.8683 211.468 61.1855C211.468 61.5028 211.726 61.7596 212.042 61.7596C212.36 61.7596 212.617 61.5028 212.617 61.1855C212.617 60.8683 212.36 60.6115 212.042 60.6115ZM213.767 58.8873C213.449 58.8873 213.192 59.1441 213.192 59.4614C213.192 59.7782 213.449 60.0355 213.767 60.0355C214.084 60.0355 214.341 59.7782 214.341 59.4614C214.341 59.1441 214.084 58.8873 213.767 58.8873ZM212.042 57.1631C211.726 57.1631 211.468 57.42 211.468 57.7372C211.468 58.0545 211.726 58.3113 212.042 58.3113C212.36 58.3113 212.617 58.0545 212.617 57.7372C212.617 57.42 212.36 57.1631 212.042 57.1631ZM213.767 55.439C213.449 55.439 213.192 55.6963 213.192 56.0131C213.192 56.3303 213.449 56.5871 213.767 56.5871C214.084 56.5871 214.341 56.3303 214.341 56.0131C214.341 55.6963 214.084 55.439 213.767 55.439ZM212.042 53.7148C211.726 53.7148 211.468 53.9721 211.468 54.2889C211.468 54.6062 211.726 54.863 212.042 54.863C212.36 54.863 212.617 54.6062 212.617 54.2889C212.617 53.9721 212.36 53.7148 212.042 53.7148ZM213.767 51.9907C213.449 51.9907 213.192 52.2479 213.192 52.5648C213.192 52.882 213.449 53.1388 213.767 53.1388C214.084 53.1388 214.341 52.882 214.341 52.5648C214.341 52.2479 214.084 51.9907 213.767 51.9907ZM212.042 50.2665C211.726 50.2665 211.468 50.5238 211.468 50.8406C211.468 51.1579 211.726 51.4151 212.042 51.4151C212.36 51.4151 212.617 51.1579 212.617 50.8406C212.617 50.5238 212.36 50.2665 212.042 50.2665ZM213.767 48.5424C213.449 48.5424 213.192 48.7996 213.192 49.1164C213.192 49.4337 213.449 49.691 213.767 49.691C214.084 49.691 214.341 49.4337 214.341 49.1164C214.341 48.7996 214.084 48.5424 213.767 48.5424ZM212.042 46.8182C211.726 46.8182 211.468 47.0755 211.468 47.3928C211.468 47.7096 211.726 47.9668 212.042 47.9668C212.36 47.9668 212.617 47.7096 212.617 47.3928C212.617 47.0755 212.36 46.8182 212.042 46.8182ZM213.767 45.0945C213.449 45.0945 213.192 45.3513 213.192 45.6686C213.192 45.9859 213.449 46.2427 213.767 46.2427C214.084 46.2427 214.341 45.9859 214.341 45.6686C214.341 45.3513 214.084 45.0945 213.767 45.0945ZM212.042 43.3704C211.726 43.3704 211.468 43.6271 211.468 43.9444C211.468 44.2617 211.726 44.5185 212.042 44.5185C212.36 44.5185 212.617 44.2617 212.617 43.9444C212.617 43.6271 212.36 43.3704 212.042 43.3704ZM213.767 42.7943C213.942 42.7943 214.093 42.7118 214.199 42.5879L213.308 42.5486C213.412 42.6936 213.574 42.7943 213.767 42.7943ZM215.49 77.8526C215.174 77.8526 214.917 78.1094 214.917 78.4267C214.917 78.7252 215.147 78.9623 215.438 78.9902L215.571 77.8684C215.544 77.8646 215.52 77.8526 215.49 77.8526ZM215.954 74.6577C215.85 74.5084 215.687 74.4043 215.49 74.4043C215.174 74.4043 214.917 74.6611 214.917 74.9783C214.917 75.2956 215.174 75.5524 215.49 75.5524C215.635 75.5524 215.764 75.4943 215.865 75.4055L215.954 74.6577ZM215.49 70.956C215.174 70.956 214.917 71.2132 214.917 71.53C214.917 71.8473 215.174 72.1046 215.49 72.1046C215.808 72.1046 216.065 71.8473 216.065 71.53C216.065 71.2132 215.808 70.956 215.49 70.956ZM215.49 67.5076C215.174 67.5076 214.917 67.7649 214.917 68.0817C214.917 68.399 215.174 68.6563 215.49 68.6563C215.808 68.6563 216.065 68.399 216.065 68.0817C216.065 67.7649 215.808 67.5076 215.49 67.5076ZM216.641 66.3575C216.641 66.551 216.743 66.7137 216.889 66.8174L217.007 65.8257C216.793 65.9092 216.641 66.1147 216.641 66.3575ZM215.49 64.0593C215.174 64.0593 214.917 64.3166 214.917 64.6339C214.917 64.9507 215.174 65.2079 215.49 65.2079C215.808 65.2079 216.065 64.9507 216.065 64.6339C216.065 64.3166 215.808 64.0593 215.49 64.0593ZM216.641 62.9097C216.641 63.2265 216.898 63.4838 217.215 63.4838C217.241 63.4838 217.263 63.4723 217.288 63.4689L217.418 62.3764C217.355 62.3524 217.287 62.3356 217.215 62.3356C216.898 62.3356 216.641 62.5924 216.641 62.9097ZM215.49 60.6115C215.174 60.6115 214.917 60.8683 214.917 61.1855C214.917 61.5028 215.174 61.7596 215.49 61.7596C215.808 61.7596 216.065 61.5028 216.065 61.1855C216.065 60.8683 215.808 60.6115 215.49 60.6115ZM217.215 58.8873C216.898 58.8873 216.641 59.1441 216.641 59.4614C216.641 59.7782 216.898 60.0355 217.215 60.0355C217.449 60.0355 217.648 59.8943 217.738 59.6937L217.774 59.3884C217.737 59.1072 217.506 58.8873 217.215 58.8873ZM215.49 57.1631C215.174 57.1631 214.917 57.42 214.917 57.7372C214.917 58.0545 215.174 58.3113 215.49 58.3113C215.808 58.3113 216.065 58.0545 216.065 57.7372C216.065 57.42 215.808 57.1631 215.49 57.1631ZM217.215 55.439C216.898 55.439 216.641 55.6963 216.641 56.0131C216.641 56.3303 216.898 56.5871 217.215 56.5871C217.532 56.5871 217.789 56.3303 217.789 56.0131C217.789 55.6963 217.532 55.439 217.215 55.439ZM218.407 54.0801C218.381 54.1454 218.365 54.215 218.365 54.2889C218.365 54.3081 218.374 54.3244 218.376 54.3427L218.407 54.0801ZM215.49 53.7148C215.174 53.7148 214.917 53.9721 214.917 54.2889C214.917 54.6062 215.174 54.863 215.49 54.863C215.808 54.863 216.065 54.6062 216.065 54.2889C216.065 53.9721 215.808 53.7148 215.49 53.7148ZM217.215 51.9907C216.898 51.9907 216.641 52.2479 216.641 52.5648C216.641 52.882 216.898 53.1388 217.215 53.1388C217.532 53.1388 217.789 52.882 217.789 52.5648C217.789 52.2479 217.532 51.9907 217.215 51.9907ZM218.365 50.8406C218.365 51.0839 218.517 51.2889 218.729 51.3729L218.859 50.2828C218.582 50.3227 218.365 50.5521 218.365 50.8406ZM215.49 50.2665C215.174 50.2665 214.917 50.5238 214.917 50.8406C214.917 51.1579 215.174 51.4151 215.49 51.4151C215.808 51.4151 216.065 51.1579 216.065 50.8406C216.065 50.5238 215.808 50.2665 215.49 50.2665ZM217.215 48.5424C216.898 48.5424 216.641 48.7996 216.641 49.1164C216.641 49.4337 216.898 49.691 217.215 49.691C217.532 49.691 217.789 49.4337 217.789 49.1164C217.789 48.7996 217.532 48.5424 217.215 48.5424ZM218.365 47.3928C218.365 47.7096 218.622 47.9668 218.939 47.9668C219.01 47.9668 219.077 47.95 219.14 47.926L219.259 46.9286C219.167 46.8648 219.06 46.8182 218.939 46.8182C218.622 46.8182 218.365 47.0755 218.365 47.3928ZM215.49 46.8182C215.174 46.8182 214.917 47.0755 214.917 47.3928C214.917 47.7096 215.174 47.9668 215.49 47.9668C215.808 47.9668 216.065 47.7096 216.065 47.3928C216.065 47.0755 215.808 46.8182 215.49 46.8182ZM217.215 45.0945C216.898 45.0945 216.641 45.3513 216.641 45.6686C216.641 45.9859 216.898 46.2427 217.215 46.2427C217.532 46.2427 217.789 45.9859 217.789 45.6686C217.789 45.3513 217.532 45.0945 217.215 45.0945ZM215.49 43.3704C215.174 43.3704 214.917 43.6271 214.917 43.9444C214.917 44.2617 215.174 44.5185 215.49 44.5185C215.808 44.5185 216.065 44.2617 216.065 43.9444C216.065 43.6271 215.808 43.3704 215.49 43.3704ZM217.215 42.7943C217.306 42.7943 217.389 42.7689 217.465 42.7315L216.93 42.708C217.015 42.7579 217.109 42.7943 217.215 42.7943ZM218.939 43.3704C218.622 43.3704 218.365 43.6271 218.365 43.9444C218.365 44.2617 218.622 44.5185 218.939 44.5185C219.256 44.5185 219.513 44.2617 219.513 43.9444C219.513 43.6271 219.256 43.3704 218.939 43.3704ZM21.0044 146.33L20.4869 147.317C20.594 147.424 20.7418 147.491 20.905 147.491C21.2309 147.491 21.4954 147.227 21.4954 146.9C21.4954 146.609 21.2813 146.378 21.0044 146.33ZM22.6781 148.083C22.5101 148.083 22.3604 148.155 22.2524 148.268L22.6781 148.347L23.2234 148.449C23.1346 148.235 22.9249 148.083 22.6781 148.083ZM24.4517 146.31C24.1253 146.31 23.8609 146.574 23.8609 146.9C23.8609 147.227 24.1253 147.491 24.4517 147.491C24.7777 147.491 25.0421 147.227 25.0421 146.9C25.0421 146.574 24.7777 146.31 24.4517 146.31ZM22.6781 144.536C22.3522 144.536 22.0877 144.801 22.0877 145.127C22.0877 145.453 22.3522 145.717 22.6781 145.717C23.0045 145.717 23.269 145.453 23.269 145.127C23.269 144.801 23.0045 144.536 22.6781 144.536ZM24.4517 142.763C24.1253 142.763 23.8609 143.027 23.8609 143.354C23.8609 143.679 24.1253 143.944 24.4517 143.944C24.7777 143.944 25.0421 143.679 25.0421 143.354C25.0421 143.027 24.7777 142.763 24.4517 142.763ZM24.7004 139.276L24.1589 140.309C24.2468 140.36 24.3428 140.397 24.4517 140.397C24.7777 140.397 25.0421 140.133 25.0421 139.807C25.0421 139.571 24.901 139.37 24.7004 139.276ZM26.2249 148.083C25.8989 148.083 25.6345 148.347 25.6345 148.674C25.6345 148.756 25.6517 148.835 25.6825 148.906L26.2249 149.007L26.6463 149.086C26.7505 148.979 26.8157 148.835 26.8157 148.674C26.8157 148.347 26.5513 148.083 26.2249 148.083ZM27.9985 146.31C27.6721 146.31 27.4081 146.574 27.4081 146.9C27.4081 147.227 27.6721 147.491 27.9985 147.491C28.3244 147.491 28.5889 147.227 28.5889 146.9C28.5889 146.574 28.3244 146.31 27.9985 146.31ZM26.2249 144.536C25.8989 144.536 25.6345 144.801 25.6345 145.127C25.6345 145.453 25.8989 145.717 26.2249 145.717C26.5513 145.717 26.8157 145.453 26.8157 145.127C26.8157 144.801 26.5513 144.536 26.2249 144.536ZM27.9985 142.763C27.6721 142.763 27.4081 143.027 27.4081 143.354C27.4081 143.679 27.6721 143.944 27.9985 143.944C28.3244 143.944 28.5889 143.679 28.5889 143.354C28.5889 143.027 28.3244 142.763 27.9985 142.763ZM26.2249 140.99C25.8989 140.99 25.6345 141.254 25.6345 141.58C25.6345 141.906 25.8989 142.171 26.2249 142.171C26.5513 142.171 26.8157 141.906 26.8157 141.58C26.8157 141.254 26.5513 140.99 26.2249 140.99ZM27.9985 139.216C27.6721 139.216 27.4081 139.481 27.4081 139.807C27.4081 140.133 27.6721 140.397 27.9985 140.397C28.3244 140.397 28.5889 140.133 28.5889 139.807C28.5889 139.481 28.3244 139.216 27.9985 139.216ZM26.2249 137.443C25.8989 137.443 25.6345 137.707 25.6345 138.034C25.6345 138.359 25.8989 138.624 26.2249 138.624C26.5513 138.624 26.8157 138.359 26.8157 138.034C26.8157 137.707 26.5513 137.443 26.2249 137.443ZM27.9985 135.67C27.6721 135.67 27.4081 135.934 27.4081 136.26C27.4081 136.586 27.6721 136.851 27.9985 136.851C28.3244 136.851 28.5889 136.586 28.5889 136.26C28.5889 135.934 28.3244 135.67 27.9985 135.67ZM27.8453 133.273C27.8953 133.287 27.9442 133.304 27.9985 133.304C28.3244 133.304 28.5889 133.04 28.5889 132.714C28.5889 132.532 28.502 132.375 28.3724 132.267L27.8453 133.273ZM31.5452 149.856C31.4372 149.856 31.3417 149.893 31.2548 149.943L31.9978 150.082C31.8893 149.948 31.7305 149.856 31.5452 149.856ZM29.7716 148.083C29.4457 148.083 29.1812 148.347 29.1812 148.674C29.1812 149 29.4457 149.264 29.7716 149.264C30.098 149.264 30.362 149 30.362 148.674C30.362 148.347 30.098 148.083 29.7716 148.083ZM31.5452 146.31C31.2188 146.31 30.9543 146.574 30.9543 146.9C30.9543 147.227 31.2188 147.491 31.5452 147.491C31.8711 147.491 32.1356 147.227 32.1356 146.9C32.1356 146.574 31.8711 146.31 31.5452 146.31ZM29.7716 144.536C29.4457 144.536 29.1812 144.801 29.1812 145.127C29.1812 145.453 29.4457 145.717 29.7716 145.717C30.098 145.717 30.362 145.453 30.362 145.127C30.362 144.801 30.098 144.536 29.7716 144.536ZM31.5452 142.763C31.2188 142.763 30.9543 143.027 30.9543 143.354C30.9543 143.679 31.2188 143.944 31.5452 143.944C31.8711 143.944 32.1356 143.679 32.1356 143.354C32.1356 143.027 31.8711 142.763 31.5452 142.763ZM29.7716 140.99C29.4457 140.99 29.1812 141.254 29.1812 141.58C29.1812 141.906 29.4457 142.171 29.7716 142.171C30.098 142.171 30.362 141.906 30.362 141.58C30.362 141.254 30.098 140.99 29.7716 140.99ZM31.5452 139.216C31.2188 139.216 30.9543 139.481 30.9543 139.807C30.9543 140.133 31.2188 140.397 31.5452 140.397C31.8711 140.397 32.1356 140.133 32.1356 139.807C32.1356 139.481 31.8711 139.216 31.5452 139.216ZM29.7716 137.443C29.4457 137.443 29.1812 137.707 29.1812 138.034C29.1812 138.359 29.4457 138.624 29.7716 138.624C30.098 138.624 30.362 138.359 30.362 138.034C30.362 137.707 30.098 137.443 29.7716 137.443ZM31.5452 135.67C31.2188 135.67 30.9543 135.934 30.9543 136.26C30.9543 136.586 31.2188 136.851 31.5452 136.851C31.8711 136.851 32.1356 136.586 32.1356 136.26C32.1356 135.934 31.8711 135.67 31.5452 135.67ZM29.7716 133.896C29.4457 133.896 29.1812 134.16 29.1812 134.487C29.1812 134.813 29.4457 135.077 29.7716 135.077C30.098 135.077 30.362 134.813 30.362 134.487C30.362 134.16 30.098 133.896 29.7716 133.896ZM31.5452 132.123C31.2188 132.123 30.9543 132.387 30.9543 132.714C30.9543 133.04 31.2188 133.304 31.5452 133.304C31.8711 133.304 32.1356 133.04 32.1356 132.714C32.1356 132.387 31.8711 132.123 31.5452 132.123ZM29.7716 130.35C29.4457 130.35 29.1812 130.614 29.1812 130.94C29.1812 131.267 29.4457 131.531 29.7716 131.531C30.098 131.531 30.362 131.267 30.362 130.94C30.362 130.614 30.098 130.35 29.7716 130.35ZM31.5452 128.576C31.2188 128.576 30.9543 128.841 30.9543 129.167C30.9543 129.493 31.2188 129.757 31.5452 129.757C31.8711 129.757 32.1356 129.493 32.1356 129.167C32.1356 128.841 31.8711 128.576 31.5452 128.576ZM31.5457 126.211C31.8711 126.211 32.1356 125.946 32.1356 125.62C32.1356 125.497 32.089 125.39 32.0252 125.295L31.5457 126.211ZM35.0914 149.856C34.7655 149.856 34.501 150.12 34.501 150.447C34.501 150.484 34.5159 150.516 34.5221 150.551L35.5868 150.75C35.642 150.659 35.6823 150.56 35.6823 150.447C35.6823 150.12 35.4178 149.856 35.0914 149.856ZM33.3183 148.083C32.9919 148.083 32.7279 148.347 32.7279 148.674C32.7279 149 32.9919 149.264 33.3183 149.264C33.6442 149.264 33.9092 149 33.9092 148.674C33.9092 148.347 33.6442 148.083 33.3183 148.083ZM35.0914 146.31C34.7655 146.31 34.501 146.574 34.501 146.9C34.501 147.227 34.7655 147.491 35.0914 147.491C35.4178 147.491 35.6823 147.227 35.6823 146.9C35.6823 146.574 35.4178 146.31 35.0914 146.31ZM33.3183 144.536C32.9919 144.536 32.7279 144.801 32.7279 145.127C32.7279 145.453 32.9919 145.717 33.3183 145.717C33.6442 145.717 33.9092 145.453 33.9092 145.127C33.9092 144.801 33.6442 144.536 33.3183 144.536ZM35.0914 142.763C34.7655 142.763 34.501 143.027 34.501 143.354C34.501 143.679 34.7655 143.944 35.0914 143.944C35.4178 143.944 35.6823 143.679 35.6823 143.354C35.6823 143.027 35.4178 142.763 35.0914 142.763ZM33.3183 140.99C32.9919 140.99 32.7279 141.254 32.7279 141.58C32.7279 141.906 32.9919 142.171 33.3183 142.171C33.6442 142.171 33.9092 141.906 33.9092 141.58C33.9092 141.254 33.6442 140.99 33.3183 140.99ZM35.0914 139.216C34.7655 139.216 34.501 139.481 34.501 139.807C34.501 140.133 34.7655 140.397 35.0914 140.397C35.4178 140.397 35.6823 140.133 35.6823 139.807C35.6823 139.481 35.4178 139.216 35.0914 139.216ZM33.3183 137.443C32.9919 137.443 32.7279 137.707 32.7279 138.034C32.7279 138.359 32.9919 138.624 33.3183 138.624C33.6442 138.624 33.9092 138.359 33.9092 138.034C33.9092 137.707 33.6442 137.443 33.3183 137.443ZM35.0914 135.67C34.7655 135.67 34.501 135.934 34.501 136.26C34.501 136.586 34.7655 136.851 35.0914 136.851C35.4178 136.851 35.6823 136.586 35.6823 136.26C35.6823 135.934 35.4178 135.67 35.0914 135.67ZM33.3183 133.896C32.9919 133.896 32.7279 134.16 32.7279 134.487C32.7279 134.813 32.9919 135.077 33.3183 135.077C33.6442 135.077 33.9092 134.813 33.9092 134.487C33.9092 134.16 33.6442 133.896 33.3183 133.896ZM35.0914 132.123C34.7655 132.123 34.501 132.387 34.501 132.714C34.501 133.04 34.7655 133.304 35.0914 133.304C35.4178 133.304 35.6823 133.04 35.6823 132.714C35.6823 132.387 35.4178 132.123 35.0914 132.123ZM33.3183 130.35C32.9919 130.35 32.7279 130.614 32.7279 130.94C32.7279 131.267 32.9919 131.531 33.3183 131.531C33.6442 131.531 33.9092 131.267 33.9092 130.94C33.9092 130.614 33.6442 130.35 33.3183 130.35ZM35.0914 128.576C34.7655 128.576 34.501 128.841 34.501 129.167C34.501 129.493 34.7655 129.757 35.0914 129.757C35.4178 129.757 35.6823 129.493 35.6823 129.167C35.6823 128.841 35.4178 128.576 35.0914 128.576ZM33.3183 126.803C32.9919 126.803 32.7279 127.067 32.7279 127.393C32.7279 127.719 32.9919 127.984 33.3183 127.984C33.6442 127.984 33.9092 127.719 33.9092 127.393C33.9092 127.067 33.6442 126.803 33.3183 126.803ZM35.0914 125.029C34.7655 125.029 34.501 125.294 34.501 125.62C34.501 125.946 34.7655 126.211 35.0914 126.211C35.4178 126.211 35.6823 125.946 35.6823 125.62C35.6823 125.294 35.4178 125.029 35.0914 125.029ZM33.3183 123.256C33.2237 123.256 33.1378 123.283 33.0586 123.323L32.7841 123.847L32.7433 123.924C32.7826 124.212 33.0193 124.437 33.3183 124.437C33.6442 124.437 33.9092 124.173 33.9092 123.847C33.9092 123.52 33.6442 123.256 33.3183 123.256ZM35.0914 121.483C34.7655 121.483 34.501 121.747 34.501 122.074C34.501 122.399 34.7655 122.664 35.0914 122.664C35.4178 122.664 35.6823 122.399 35.6823 122.074C35.6823 121.747 35.4178 121.483 35.0914 121.483ZM35.282 119.079C35.5133 118.999 35.6823 118.786 35.6823 118.527C35.6823 118.473 35.665 118.424 35.6511 118.374L35.282 119.079ZM40.3657 151.639L40.4117 151.647L40.6705 151.696C40.5917 151.656 40.5058 151.63 40.4117 151.63C40.3954 151.63 40.3815 151.637 40.3657 151.639ZM38.6386 149.856C38.3122 149.856 38.0477 150.12 38.0477 150.447C38.0477 150.773 38.3122 151.037 38.6386 151.037C38.9645 151.037 39.229 150.773 39.229 150.447C39.229 150.12 38.9645 149.856 38.6386 149.856ZM36.865 148.083C36.5391 148.083 36.2746 148.347 36.2746 148.674C36.2746 149 36.5391 149.264 36.865 149.264C37.1909 149.264 37.4554 149 37.4554 148.674C37.4554 148.347 37.1909 148.083 36.865 148.083ZM38.6386 146.31C38.3122 146.31 38.0477 146.574 38.0477 146.9C38.0477 147.227 38.3122 147.491 38.6386 147.491C38.9645 147.491 39.229 147.227 39.229 146.9C39.229 146.574 38.9645 146.31 38.6386 146.31ZM36.865 144.536C36.5391 144.536 36.2746 144.801 36.2746 145.127C36.2746 145.453 36.5391 145.717 36.865 145.717C37.1909 145.717 37.4554 145.453 37.4554 145.127C37.4554 144.801 37.1909 144.536 36.865 144.536ZM38.6386 142.763C38.3122 142.763 38.0477 143.027 38.0477 143.354C38.0477 143.679 38.3122 143.944 38.6386 143.944C38.9645 143.944 39.229 143.679 39.229 143.354C39.229 143.027 38.9645 142.763 38.6386 142.763ZM36.865 140.99C36.5391 140.99 36.2746 141.254 36.2746 141.58C36.2746 141.906 36.5391 142.171 36.865 142.171C37.1909 142.171 37.4554 141.906 37.4554 141.58C37.4554 141.254 37.1909 140.99 36.865 140.99ZM38.6386 139.216C38.3122 139.216 38.0477 139.481 38.0477 139.807C38.0477 140.133 38.3122 140.397 38.6386 140.397C38.9645 140.397 39.229 140.133 39.229 139.807C39.229 139.481 38.9645 139.216 38.6386 139.216ZM36.865 137.443C36.5391 137.443 36.2746 137.707 36.2746 138.034C36.2746 138.359 36.5391 138.624 36.865 138.624C37.1909 138.624 37.4554 138.359 37.4554 138.034C37.4554 137.707 37.1909 137.443 36.865 137.443ZM38.6386 135.67C38.3122 135.67 38.0477 135.934 38.0477 136.26C38.0477 136.586 38.3122 136.851 38.6386 136.851C38.9645 136.851 39.229 136.586 39.229 136.26C39.229 135.934 38.9645 135.67 38.6386 135.67ZM36.865 133.896C36.5391 133.896 36.2746 134.16 36.2746 134.487C36.2746 134.813 36.5391 135.077 36.865 135.077C37.1909 135.077 37.4554 134.813 37.4554 134.487C37.4554 134.16 37.1909 133.896 36.865 133.896ZM38.6386 132.123C38.3122 132.123 38.0477 132.387 38.0477 132.714C38.0477 133.04 38.3122 133.304 38.6386 133.304C38.9645 133.304 39.229 133.04 39.229 132.714C39.229 132.387 38.9645 132.123 38.6386 132.123ZM36.865 130.35C36.5391 130.35 36.2746 130.614 36.2746 130.94C36.2746 131.267 36.5391 131.531 36.865 131.531C37.1909 131.531 37.4554 131.267 37.4554 130.94C37.4554 130.614 37.1909 130.35 36.865 130.35ZM38.6386 128.576C38.3122 128.576 38.0477 128.841 38.0477 129.167C38.0477 129.493 38.3122 129.757 38.6386 129.757C38.9645 129.757 39.229 129.493 39.229 129.167C39.229 128.841 38.9645 128.576 38.6386 128.576ZM36.865 126.803C36.5391 126.803 36.2746 127.067 36.2746 127.393C36.2746 127.719 36.5391 127.984 36.865 127.984C37.1909 127.984 37.4554 127.719 37.4554 127.393C37.4554 127.067 37.1909 126.803 36.865 126.803ZM38.6386 125.029C38.3122 125.029 38.0477 125.294 38.0477 125.62C38.0477 125.946 38.3122 126.211 38.6386 126.211C38.9645 126.211 39.229 125.946 39.229 125.62C39.229 125.294 38.9645 125.029 38.6386 125.029ZM36.865 123.256C36.5391 123.256 36.2746 123.52 36.2746 123.847C36.2746 124.173 36.5391 124.437 36.865 124.437C37.1909 124.437 37.4554 124.173 37.4554 123.847C37.4554 123.52 37.1909 123.256 36.865 123.256ZM38.6386 121.483C38.3122 121.483 38.0477 121.747 38.0477 122.074C38.0477 122.399 38.3122 122.664 38.6386 122.664C38.9645 122.664 39.229 122.399 39.229 122.074C39.229 121.747 38.9645 121.483 38.6386 121.483ZM36.865 119.71C36.5391 119.71 36.2746 119.974 36.2746 120.3C36.2746 120.626 36.5391 120.891 36.865 120.891C37.1909 120.891 37.4554 120.626 37.4554 120.3C37.4554 119.974 37.1909 119.71 36.865 119.71ZM38.6386 117.936C38.3122 117.936 38.0477 118.2 38.0477 118.527C38.0477 118.853 38.3122 119.117 38.6386 119.117C38.9645 119.117 39.229 118.853 39.229 118.527C39.229 118.2 38.9645 117.936 38.6386 117.936ZM36.865 116.163C36.8429 116.163 36.8242 116.173 36.8031 116.175L36.5002 116.754L36.3538 117.033C36.4546 117.215 36.6418 117.344 36.865 117.344C37.1909 117.344 37.4554 117.08 37.4554 116.754C37.4554 116.427 37.1909 116.163 36.865 116.163ZM38.6386 114.39C38.3122 114.39 38.0477 114.654 38.0477 114.98C38.0477 115.306 38.3122 115.571 38.6386 115.571C38.9645 115.571 39.229 115.306 39.229 114.98C39.229 114.654 38.9645 114.39 38.6386 114.39ZM39.1138 111.766C39.1465 111.719 39.1738 111.671 39.1921 111.616L39.1138 111.766ZM42.1849 149.856C41.8589 149.856 41.5945 150.12 41.5945 150.447C41.5945 150.773 41.8589 151.037 42.1849 151.037C42.5113 151.037 42.7757 150.773 42.7757 150.447C42.7757 150.12 42.5113 149.856 42.1849 149.856ZM40.4117 148.083C40.0853 148.083 39.8209 148.347 39.8209 148.674C39.8209 149 40.0853 149.264 40.4117 149.264C40.7381 149.264 41.0021 149 41.0021 148.674C41.0021 148.347 40.7381 148.083 40.4117 148.083ZM42.1849 146.31C41.8589 146.31 41.5945 146.574 41.5945 146.9C41.5945 147.227 41.8589 147.491 42.1849 147.491C42.5113 147.491 42.7757 147.227 42.7757 146.9C42.7757 146.574 42.5113 146.31 42.1849 146.31ZM40.4117 144.536C40.0853 144.536 39.8209 144.801 39.8209 145.127C39.8209 145.453 40.0853 145.717 40.4117 145.717C40.7381 145.717 41.0021 145.453 41.0021 145.127C41.0021 144.801 40.7381 144.536 40.4117 144.536ZM42.1849 142.763C41.8589 142.763 41.5945 143.027 41.5945 143.354C41.5945 143.679 41.8589 143.944 42.1849 143.944C42.5113 143.944 42.7757 143.679 42.7757 143.354C42.7757 143.027 42.5113 142.763 42.1849 142.763ZM40.4117 140.99C40.0853 140.99 39.8209 141.254 39.8209 141.58C39.8209 141.906 40.0853 142.171 40.4117 142.171C40.7381 142.171 41.0021 141.906 41.0021 141.58C41.0021 141.254 40.7381 140.99 40.4117 140.99ZM42.1849 139.216C41.8589 139.216 41.5945 139.481 41.5945 139.807C41.5945 140.133 41.8589 140.397 42.1849 140.397C42.5113 140.397 42.7757 140.133 42.7757 139.807C42.7757 139.481 42.5113 139.216 42.1849 139.216ZM40.4117 137.443C40.0853 137.443 39.8209 137.707 39.8209 138.034C39.8209 138.359 40.0853 138.624 40.4117 138.624C40.7381 138.624 41.0021 138.359 41.0021 138.034C41.0021 137.707 40.7381 137.443 40.4117 137.443ZM42.1849 135.67C41.8589 135.67 41.5945 135.934 41.5945 136.26C41.5945 136.586 41.8589 136.851 42.1849 136.851C42.5113 136.851 42.7757 136.586 42.7757 136.26C42.7757 135.934 42.5113 135.67 42.1849 135.67ZM40.4117 133.896C40.0853 133.896 39.8209 134.16 39.8209 134.487C39.8209 134.813 40.0853 135.077 40.4117 135.077C40.7381 135.077 41.0021 134.813 41.0021 134.487C41.0021 134.16 40.7381 133.896 40.4117 133.896ZM42.1849 132.123C41.8589 132.123 41.5945 132.387 41.5945 132.714C41.5945 133.04 41.8589 133.304 42.1849 133.304C42.5113 133.304 42.7757 133.04 42.7757 132.714C42.7757 132.387 42.5113 132.123 42.1849 132.123ZM40.4117 130.35C40.0853 130.35 39.8209 130.614 39.8209 130.94C39.8209 131.267 40.0853 131.531 40.4117 131.531C40.7381 131.531 41.0021 131.267 41.0021 130.94C41.0021 130.614 40.7381 130.35 40.4117 130.35ZM42.1849 128.576C41.8589 128.576 41.5945 128.841 41.5945 129.167C41.5945 129.493 41.8589 129.757 42.1849 129.757C42.5113 129.757 42.7757 129.493 42.7757 129.167C42.7757 128.841 42.5113 128.576 42.1849 128.576ZM40.4117 126.803C40.0853 126.803 39.8209 127.067 39.8209 127.393C39.8209 127.719 40.0853 127.984 40.4117 127.984C40.7381 127.984 41.0021 127.719 41.0021 127.393C41.0021 127.067 40.7381 126.803 40.4117 126.803ZM42.1849 125.029C41.8589 125.029 41.5945 125.294 41.5945 125.62C41.5945 125.946 41.8589 126.211 42.1849 126.211C42.5113 126.211 42.7757 125.946 42.7757 125.62C42.7757 125.294 42.5113 125.029 42.1849 125.029ZM40.4117 123.256C40.0853 123.256 39.8209 123.52 39.8209 123.847C39.8209 124.173 40.0853 124.437 40.4117 124.437C40.7381 124.437 41.0021 124.173 41.0021 123.847C41.0021 123.52 40.7381 123.256 40.4117 123.256ZM42.1849 121.483C41.8589 121.483 41.5945 121.747 41.5945 122.074C41.5945 122.399 41.8589 122.664 42.1849 122.664C42.5113 122.664 42.7757 122.399 42.7757 122.074C42.7757 121.747 42.5113 121.483 42.1849 121.483ZM40.4117 119.71C40.0853 119.71 39.8209 119.974 39.8209 120.3C39.8209 120.626 40.0853 120.891 40.4117 120.891C40.7381 120.891 41.0021 120.626 41.0021 120.3C41.0021 119.974 40.7381 119.71 40.4117 119.71ZM42.1849 117.936C41.8589 117.936 41.5945 118.2 41.5945 118.527C41.5945 118.853 41.8589 119.117 42.1849 119.117C42.5113 119.117 42.7757 118.853 42.7757 118.527C42.7757 118.2 42.5113 117.936 42.1849 117.936ZM40.4117 116.163C40.0853 116.163 39.8209 116.427 39.8209 116.754C39.8209 117.08 40.0853 117.344 40.4117 117.344C40.7381 117.344 41.0021 117.08 41.0021 116.754C41.0021 116.427 40.7381 116.163 40.4117 116.163ZM42.1849 114.39C41.8589 114.39 41.5945 114.654 41.5945 114.98C41.5945 115.306 41.8589 115.571 42.1849 115.571C42.5113 115.571 42.7757 115.306 42.7757 114.98C42.7757 114.654 42.5113 114.39 42.1849 114.39ZM40.4117 112.616C40.0853 112.616 39.8209 112.881 39.8209 113.207C39.8209 113.533 40.0853 113.797 40.4117 113.797C40.7381 113.797 41.0021 113.533 41.0021 113.207C41.0021 112.881 40.7381 112.616 40.4117 112.616ZM42.1849 110.843C41.8589 110.843 41.5945 111.107 41.5945 111.433C41.5945 111.759 41.8589 112.024 42.1849 112.024C42.5113 112.024 42.7757 111.759 42.7757 111.433C42.7757 111.107 42.5113 110.843 42.1849 110.843ZM40.5149 109.091L40.4117 109.288L40.2169 109.66L39.997 110.079C40.1036 110.185 40.2495 110.251 40.4117 110.251C40.7381 110.251 41.0021 109.986 41.0021 109.66C41.0021 109.371 40.79 109.141 40.5149 109.091ZM42.1849 107.296C41.8589 107.296 41.5945 107.561 41.5945 107.887C41.5945 108.213 41.8589 108.477 42.1849 108.477C42.5113 108.477 42.7757 108.213 42.7757 107.887C42.7757 107.561 42.5113 107.296 42.1849 107.296ZM43.9585 151.63C43.6397 151.63 43.3844 151.883 43.3719 152.198L43.4885 152.22L43.9585 152.308L44.5105 152.411C44.5311 152.35 44.5489 152.288 44.5489 152.22C44.5489 151.894 44.2844 151.63 43.9585 151.63ZM45.7316 149.856C45.4057 149.856 45.1412 150.12 45.1412 150.447C45.1412 150.773 45.4057 151.037 45.7316 151.037C46.058 151.037 46.322 150.773 46.322 150.447C46.322 150.12 46.058 149.856 45.7316 149.856ZM43.9585 148.083C43.6321 148.083 43.3681 148.347 43.3681 148.674C43.3681 149 43.6321 149.264 43.9585 149.264C44.2844 149.264 44.5489 149 44.5489 148.674C44.5489 148.347 44.2844 148.083 43.9585 148.083ZM45.7316 146.31C45.4057 146.31 45.1412 146.574 45.1412 146.9C45.1412 147.227 45.4057 147.491 45.7316 147.491C46.058 147.491 46.322 147.227 46.322 146.9C46.322 146.574 46.058 146.31 45.7316 146.31ZM43.9585 144.536C43.6321 144.536 43.3681 144.801 43.3681 145.127C43.3681 145.453 43.6321 145.717 43.9585 145.717C44.2844 145.717 44.5489 145.453 44.5489 145.127C44.5489 144.801 44.2844 144.536 43.9585 144.536ZM45.7316 142.763C45.4057 142.763 45.1412 143.027 45.1412 143.354C45.1412 143.679 45.4057 143.944 45.7316 143.944C46.058 143.944 46.322 143.679 46.322 143.354C46.322 143.027 46.058 142.763 45.7316 142.763ZM43.9585 140.99C43.6321 140.99 43.3681 141.254 43.3681 141.58C43.3681 141.906 43.6321 142.171 43.9585 142.171C44.2844 142.171 44.5489 141.906 44.5489 141.58C44.5489 141.254 44.2844 140.99 43.9585 140.99ZM45.7316 139.216C45.4057 139.216 45.1412 139.481 45.1412 139.807C45.1412 140.133 45.4057 140.397 45.7316 140.397C46.058 140.397 46.322 140.133 46.322 139.807C46.322 139.481 46.058 139.216 45.7316 139.216ZM43.9585 137.443C43.6321 137.443 43.3681 137.707 43.3681 138.034C43.3681 138.359 43.6321 138.624 43.9585 138.624C44.2844 138.624 44.5489 138.359 44.5489 138.034C44.5489 137.707 44.2844 137.443 43.9585 137.443ZM45.7316 135.67C45.4057 135.67 45.1412 135.934 45.1412 136.26C45.1412 136.586 45.4057 136.851 45.7316 136.851C46.058 136.851 46.322 136.586 46.322 136.26C46.322 135.934 46.058 135.67 45.7316 135.67ZM43.9585 133.896C43.6321 133.896 43.3681 134.16 43.3681 134.487C43.3681 134.813 43.6321 135.077 43.9585 135.077C44.2844 135.077 44.5489 134.813 44.5489 134.487C44.5489 134.16 44.2844 133.896 43.9585 133.896ZM45.7316 132.123C45.4057 132.123 45.1412 132.387 45.1412 132.714C45.1412 133.04 45.4057 133.304 45.7316 133.304C46.058 133.304 46.322 133.04 46.322 132.714C46.322 132.387 46.058 132.123 45.7316 132.123ZM43.9585 130.35C43.6321 130.35 43.3681 130.614 43.3681 130.94C43.3681 131.267 43.6321 131.531 43.9585 131.531C44.2844 131.531 44.5489 131.267 44.5489 130.94C44.5489 130.614 44.2844 130.35 43.9585 130.35ZM45.7316 128.576C45.4057 128.576 45.1412 128.841 45.1412 129.167C45.1412 129.493 45.4057 129.757 45.7316 129.757C46.058 129.757 46.322 129.493 46.322 129.167C46.322 128.841 46.058 128.576 45.7316 128.576ZM43.9585 126.803C43.6321 126.803 43.3681 127.067 43.3681 127.393C43.3681 127.719 43.6321 127.984 43.9585 127.984C44.2844 127.984 44.5489 127.719 44.5489 127.393C44.5489 127.067 44.2844 126.803 43.9585 126.803ZM45.7316 125.029C45.4057 125.029 45.1412 125.294 45.1412 125.62C45.1412 125.946 45.4057 126.211 45.7316 126.211C46.058 126.211 46.322 125.946 46.322 125.62C46.322 125.294 46.058 125.029 45.7316 125.029ZM43.9585 123.256C43.6321 123.256 43.3681 123.52 43.3681 123.847C43.3681 124.173 43.6321 124.437 43.9585 124.437C44.2844 124.437 44.5489 124.173 44.5489 123.847C44.5489 123.52 44.2844 123.256 43.9585 123.256ZM45.7316 121.483C45.4057 121.483 45.1412 121.747 45.1412 122.074C45.1412 122.399 45.4057 122.664 45.7316 122.664C46.058 122.664 46.322 122.399 46.322 122.074C46.322 121.747 46.058 121.483 45.7316 121.483ZM43.9585 119.71C43.6321 119.71 43.3681 119.974 43.3681 120.3C43.3681 120.626 43.6321 120.891 43.9585 120.891C44.2844 120.891 44.5489 120.626 44.5489 120.3C44.5489 119.974 44.2844 119.71 43.9585 119.71ZM45.7316 117.936C45.4057 117.936 45.1412 118.2 45.1412 118.527C45.1412 118.853 45.4057 119.117 45.7316 119.117C46.058 119.117 46.322 118.853 46.322 118.527C46.322 118.2 46.058 117.936 45.7316 117.936ZM43.9585 116.163C43.6321 116.163 43.3681 116.427 43.3681 116.754C43.3681 117.08 43.6321 117.344 43.9585 117.344C44.2844 117.344 44.5489 117.08 44.5489 116.754C44.5489 116.427 44.2844 116.163 43.9585 116.163ZM45.7316 114.39C45.4057 114.39 45.1412 114.654 45.1412 114.98C45.1412 115.306 45.4057 115.571 45.7316 115.571C46.058 115.571 46.322 115.306 46.322 114.98C46.322 114.654 46.058 114.39 45.7316 114.39ZM43.9585 112.616C43.6321 112.616 43.3681 112.881 43.3681 113.207C43.3681 113.533 43.6321 113.797 43.9585 113.797C44.2844 113.797 44.5489 113.533 44.5489 113.207C44.5489 112.881 44.2844 112.616 43.9585 112.616ZM45.7316 110.843C45.4057 110.843 45.1412 111.107 45.1412 111.433C45.1412 111.759 45.4057 112.024 45.7316 112.024C46.058 112.024 46.322 111.759 46.322 111.433C46.322 111.107 46.058 110.843 45.7316 110.843ZM43.9585 109.069C43.6321 109.069 43.3681 109.334 43.3681 109.66C43.3681 109.986 43.6321 110.251 43.9585 110.251C44.2844 110.251 44.5489 109.986 44.5489 109.66C44.5489 109.334 44.2844 109.069 43.9585 109.069ZM45.7316 107.296C45.4057 107.296 45.1412 107.561 45.1412 107.887C45.1412 108.213 45.4057 108.477 45.7316 108.477C46.058 108.477 46.322 108.213 46.322 107.887C46.322 107.561 46.058 107.296 45.7316 107.296ZM43.9585 105.523C43.6321 105.523 43.3681 105.787 43.3681 106.114C43.3681 106.439 43.6321 106.704 43.9585 106.704C44.2844 106.704 44.5489 106.439 44.5489 106.114C44.5489 105.787 44.2844 105.523 43.9585 105.523ZM45.7316 103.75C45.4057 103.75 45.1412 104.014 45.1412 104.34C45.1412 104.666 45.4057 104.93 45.7316 104.93C46.058 104.93 46.322 104.666 46.322 104.34C46.322 104.014 46.058 103.75 45.7316 103.75ZM44.21 102.037L43.9585 102.518L43.933 102.567L43.669 103.071C43.7559 103.121 43.8509 103.157 43.9585 103.157C44.2844 103.157 44.5489 102.893 44.5489 102.567C44.5489 102.332 44.4092 102.132 44.21 102.037ZM45.7316 100.203C45.4057 100.203 45.1412 100.467 45.1412 100.793C45.1412 101.12 45.4057 101.384 45.7316 101.384C46.058 101.384 46.322 101.12 46.322 100.793C46.322 100.467 46.058 100.203 45.7316 100.203ZM47.5052 151.63C47.1788 151.63 46.9143 151.894 46.9143 152.22C46.9143 152.546 47.1788 152.811 47.5052 152.811C47.8311 152.811 48.0956 152.546 48.0956 152.22C48.0956 151.894 47.8311 151.63 47.5052 151.63ZM49.2783 149.856C48.9524 149.856 48.6879 150.12 48.6879 150.447C48.6879 150.773 48.9524 151.037 49.2783 151.037C49.6047 151.037 49.8692 150.773 49.8692 150.447C49.8692 150.12 49.6047 149.856 49.2783 149.856ZM47.5052 148.083C47.1788 148.083 46.9143 148.347 46.9143 148.674C46.9143 149 47.1788 149.264 47.5052 149.264C47.8311 149.264 48.0956 149 48.0956 148.674C48.0956 148.347 47.8311 148.083 47.5052 148.083ZM49.2783 146.31C48.9524 146.31 48.6879 146.574 48.6879 146.9C48.6879 147.227 48.9524 147.491 49.2783 147.491C49.6047 147.491 49.8692 147.227 49.8692 146.9C49.8692 146.574 49.6047 146.31 49.2783 146.31ZM47.5052 144.536C47.1788 144.536 46.9143 144.801 46.9143 145.127C46.9143 145.453 47.1788 145.717 47.5052 145.717C47.8311 145.717 48.0956 145.453 48.0956 145.127C48.0956 144.801 47.8311 144.536 47.5052 144.536ZM49.2783 142.763C48.9524 142.763 48.6879 143.027 48.6879 143.354C48.6879 143.679 48.9524 143.944 49.2783 143.944C49.6047 143.944 49.8692 143.679 49.8692 143.354C49.8692 143.027 49.6047 142.763 49.2783 142.763ZM47.5052 140.99C47.1788 140.99 46.9143 141.254 46.9143 141.58C46.9143 141.906 47.1788 142.171 47.5052 142.171C47.8311 142.171 48.0956 141.906 48.0956 141.58C48.0956 141.254 47.8311 140.99 47.5052 140.99ZM49.2783 139.216C48.9524 139.216 48.6879 139.481 48.6879 139.807C48.6879 140.133 48.9524 140.397 49.2783 140.397C49.6047 140.397 49.8692 140.133 49.8692 139.807C49.8692 139.481 49.6047 139.216 49.2783 139.216ZM47.5052 137.443C47.1788 137.443 46.9143 137.707 46.9143 138.034C46.9143 138.359 47.1788 138.624 47.5052 138.624C47.8311 138.624 48.0956 138.359 48.0956 138.034C48.0956 137.707 47.8311 137.443 47.5052 137.443ZM49.2783 135.67C48.9524 135.67 48.6879 135.934 48.6879 136.26C48.6879 136.586 48.9524 136.851 49.2783 136.851C49.6047 136.851 49.8692 136.586 49.8692 136.26C49.8692 135.934 49.6047 135.67 49.2783 135.67ZM47.5052 133.896C47.1788 133.896 46.9143 134.16 46.9143 134.487C46.9143 134.813 47.1788 135.077 47.5052 135.077C47.8311 135.077 48.0956 134.813 48.0956 134.487C48.0956 134.16 47.8311 133.896 47.5052 133.896ZM49.2783 132.123C48.9524 132.123 48.6879 132.387 48.6879 132.714C48.6879 133.04 48.9524 133.304 49.2783 133.304C49.6047 133.304 49.8692 133.04 49.8692 132.714C49.8692 132.387 49.6047 132.123 49.2783 132.123ZM47.5052 130.35C47.1788 130.35 46.9143 130.614 46.9143 130.94C46.9143 131.267 47.1788 131.531 47.5052 131.531C47.8311 131.531 48.0956 131.267 48.0956 130.94C48.0956 130.614 47.8311 130.35 47.5052 130.35ZM49.2783 128.576C48.9524 128.576 48.6879 128.841 48.6879 129.167C48.6879 129.493 48.9524 129.757 49.2783 129.757C49.6047 129.757 49.8692 129.493 49.8692 129.167C49.8692 128.841 49.6047 128.576 49.2783 128.576ZM47.5052 126.803C47.1788 126.803 46.9143 127.067 46.9143 127.393C46.9143 127.719 47.1788 127.984 47.5052 127.984C47.8311 127.984 48.0956 127.719 48.0956 127.393C48.0956 127.067 47.8311 126.803 47.5052 126.803ZM49.2783 125.029C48.9524 125.029 48.6879 125.294 48.6879 125.62C48.6879 125.946 48.9524 126.211 49.2783 126.211C49.6047 126.211 49.8692 125.946 49.8692 125.62C49.8692 125.294 49.6047 125.029 49.2783 125.029ZM47.5052 123.256C47.1788 123.256 46.9143 123.52 46.9143 123.847C46.9143 124.173 47.1788 124.437 47.5052 124.437C47.8311 124.437 48.0956 124.173 48.0956 123.847C48.0956 123.52 47.8311 123.256 47.5052 123.256ZM49.2783 121.483C48.9524 121.483 48.6879 121.747 48.6879 122.074C48.6879 122.399 48.9524 122.664 49.2783 122.664C49.6047 122.664 49.8692 122.399 49.8692 122.074C49.8692 121.747 49.6047 121.483 49.2783 121.483ZM47.5052 119.71C47.1788 119.71 46.9143 119.974 46.9143 120.3C46.9143 120.626 47.1788 120.891 47.5052 120.891C47.8311 120.891 48.0956 120.626 48.0956 120.3C48.0956 119.974 47.8311 119.71 47.5052 119.71ZM49.2783 117.936C48.9524 117.936 48.6879 118.2 48.6879 118.527C48.6879 118.853 48.9524 119.117 49.2783 119.117C49.6047 119.117 49.8692 118.853 49.8692 118.527C49.8692 118.2 49.6047 117.936 49.2783 117.936ZM47.5052 116.163C47.1788 116.163 46.9143 116.427 46.9143 116.754C46.9143 117.08 47.1788 117.344 47.5052 117.344C47.8311 117.344 48.0956 117.08 48.0956 116.754C48.0956 116.427 47.8311 116.163 47.5052 116.163ZM49.2783 114.39C48.9524 114.39 48.6879 114.654 48.6879 114.98C48.6879 115.306 48.9524 115.571 49.2783 115.571C49.6047 115.571 49.8692 115.306 49.8692 114.98C49.8692 114.654 49.6047 114.39 49.2783 114.39ZM47.5052 112.616C47.1788 112.616 46.9143 112.881 46.9143 113.207C46.9143 113.533 47.1788 113.797 47.5052 113.797C47.8311 113.797 48.0956 113.533 48.0956 113.207C48.0956 112.881 47.8311 112.616 47.5052 112.616ZM49.2783 110.843C48.9524 110.843 48.6879 111.107 48.6879 111.433C48.6879 111.759 48.9524 112.024 49.2783 112.024C49.6047 112.024 49.8692 111.759 49.8692 111.433C49.8692 111.107 49.6047 110.843 49.2783 110.843ZM47.5052 109.069C47.1788 109.069 46.9143 109.334 46.9143 109.66C46.9143 109.986 47.1788 110.251 47.5052 110.251C47.8311 110.251 48.0956 109.986 48.0956 109.66C48.0956 109.334 47.8311 109.069 47.5052 109.069ZM49.2783 107.296C48.9524 107.296 48.6879 107.561 48.6879 107.887C48.6879 108.213 48.9524 108.477 49.2783 108.477C49.6047 108.477 49.8692 108.213 49.8692 107.887C49.8692 107.561 49.6047 107.296 49.2783 107.296ZM47.5052 105.523C47.1788 105.523 46.9143 105.787 46.9143 106.114C46.9143 106.439 47.1788 106.704 47.5052 106.704C47.8311 106.704 48.0956 106.439 48.0956 106.114C48.0956 105.787 47.8311 105.523 47.5052 105.523ZM49.2783 103.75C48.9524 103.75 48.6879 104.014 48.6879 104.34C48.6879 104.666 48.9524 104.93 49.2783 104.93C49.6047 104.93 49.8692 104.666 49.8692 104.34C49.8692 104.014 49.6047 103.75 49.2783 103.75ZM47.5052 101.976C47.1788 101.976 46.9143 102.24 46.9143 102.567C46.9143 102.893 47.1788 103.157 47.5052 103.157C47.8311 103.157 48.0956 102.893 48.0956 102.567C48.0956 102.24 47.8311 101.976 47.5052 101.976ZM49.2783 100.203C48.9524 100.203 48.6879 100.467 48.6879 100.793C48.6879 101.12 48.9524 101.384 49.2783 101.384C49.6047 101.384 49.8692 101.12 49.8692 100.793C49.8692 100.467 49.6047 100.203 49.2783 100.203ZM47.5052 98.4292C47.1788 98.4292 46.9143 98.6942 46.9143 99.0201C46.9143 99.346 47.1788 99.6105 47.5052 99.6105C47.8311 99.6105 48.0956 99.346 48.0956 99.0201C48.0956 98.6942 47.8311 98.4292 47.5052 98.4292ZM49.2783 96.6561C48.9524 96.6561 48.6879 96.9206 48.6879 97.2465C48.6879 97.5729 48.9524 97.8374 49.2783 97.8374C49.6047 97.8374 49.8692 97.5729 49.8692 97.2465C49.8692 96.9206 49.6047 96.6561 49.2783 96.6561ZM47.6492 95.4734L47.5052 95.7489L47.3559 96.034C47.4044 96.047 47.4519 96.0638 47.5052 96.0638C47.8311 96.0638 48.0956 95.7993 48.0956 95.4734C48.0956 95.2929 48.0101 95.1369 47.8825 95.0284L47.6492 95.4734ZM49.2783 93.1094C48.9524 93.1094 48.6879 93.3739 48.6879 93.6998C48.6879 94.0262 48.9524 94.2907 49.2783 94.2907C49.6047 94.2907 49.8692 94.0262 49.8692 93.6998C49.8692 93.3739 49.6047 93.1094 49.2783 93.1094ZM52.825 153.403C52.5485 153.403 52.3273 153.597 52.2629 153.853L53.401 154.065C53.4044 154.041 53.4154 154.019 53.4154 153.994C53.4154 153.668 53.1509 153.403 52.825 153.403ZM51.0514 151.63C50.7255 151.63 50.461 151.894 50.461 152.22C50.461 152.546 50.7255 152.811 51.0514 152.811C51.3778 152.811 51.6423 152.546 51.6423 152.22C51.6423 151.894 51.3778 151.63 51.0514 151.63ZM52.825 149.856C52.4991 149.856 52.2346 150.12 52.2346 150.447C52.2346 150.773 52.4991 151.037 52.825 151.037C53.1509 151.037 53.4154 150.773 53.4154 150.447C53.4154 150.12 53.1509 149.856 52.825 149.856ZM51.0514 148.083C50.7255 148.083 50.461 148.347 50.461 148.674C50.461 149 50.7255 149.264 51.0514 149.264C51.3778 149.264 51.6423 149 51.6423 148.674C51.6423 148.347 51.3778 148.083 51.0514 148.083ZM52.825 146.31C52.4991 146.31 52.2346 146.574 52.2346 146.9C52.2346 147.227 52.4991 147.491 52.825 147.491C53.1509 147.491 53.4154 147.227 53.4154 146.9C53.4154 146.574 53.1509 146.31 52.825 146.31ZM51.0514 144.536C50.7255 144.536 50.461 144.801 50.461 145.127C50.461 145.453 50.7255 145.717 51.0514 145.717C51.3778 145.717 51.6423 145.453 51.6423 145.127C51.6423 144.801 51.3778 144.536 51.0514 144.536ZM52.825 142.763C52.4991 142.763 52.2346 143.027 52.2346 143.354C52.2346 143.679 52.4991 143.944 52.825 143.944C53.1509 143.944 53.4154 143.679 53.4154 143.354C53.4154 143.027 53.1509 142.763 52.825 142.763ZM51.0514 140.99C50.7255 140.99 50.461 141.254 50.461 141.58C50.461 141.906 50.7255 142.171 51.0514 142.171C51.3778 142.171 51.6423 141.906 51.6423 141.58C51.6423 141.254 51.3778 140.99 51.0514 140.99ZM52.825 139.216C52.4991 139.216 52.2346 139.481 52.2346 139.807C52.2346 140.133 52.4991 140.397 52.825 140.397C53.1509 140.397 53.4154 140.133 53.4154 139.807C53.4154 139.481 53.1509 139.216 52.825 139.216ZM51.0514 137.443C50.7255 137.443 50.461 137.707 50.461 138.034C50.461 138.359 50.7255 138.624 51.0514 138.624C51.3778 138.624 51.6423 138.359 51.6423 138.034C51.6423 137.707 51.3778 137.443 51.0514 137.443ZM52.825 135.67C52.4991 135.67 52.2346 135.934 52.2346 136.26C52.2346 136.586 52.4991 136.851 52.825 136.851C53.1509 136.851 53.4154 136.586 53.4154 136.26C53.4154 135.934 53.1509 135.67 52.825 135.67ZM51.0514 133.896C50.7255 133.896 50.461 134.16 50.461 134.487C50.461 134.813 50.7255 135.077 51.0514 135.077C51.3778 135.077 51.6423 134.813 51.6423 134.487C51.6423 134.16 51.3778 133.896 51.0514 133.896ZM52.825 132.123C52.4991 132.123 52.2346 132.387 52.2346 132.714C52.2346 133.04 52.4991 133.304 52.825 133.304C53.1509 133.304 53.4154 133.04 53.4154 132.714C53.4154 132.387 53.1509 132.123 52.825 132.123ZM51.0514 130.35C50.7255 130.35 50.461 130.614 50.461 130.94C50.461 131.267 50.7255 131.531 51.0514 131.531C51.3778 131.531 51.6423 131.267 51.6423 130.94C51.6423 130.614 51.3778 130.35 51.0514 130.35ZM52.825 128.576C52.4991 128.576 52.2346 128.841 52.2346 129.167C52.2346 129.493 52.4991 129.757 52.825 129.757C53.1509 129.757 53.4154 129.493 53.4154 129.167C53.4154 128.841 53.1509 128.576 52.825 128.576ZM51.0514 126.803C50.7255 126.803 50.461 127.067 50.461 127.393C50.461 127.719 50.7255 127.984 51.0514 127.984C51.3778 127.984 51.6423 127.719 51.6423 127.393C51.6423 127.067 51.3778 126.803 51.0514 126.803ZM52.825 125.029C52.4991 125.029 52.2346 125.294 52.2346 125.62C52.2346 125.946 52.4991 126.211 52.825 126.211C53.1509 126.211 53.4154 125.946 53.4154 125.62C53.4154 125.294 53.1509 125.029 52.825 125.029ZM51.0514 123.256C50.7255 123.256 50.461 123.52 50.461 123.847C50.461 124.173 50.7255 124.437 51.0514 124.437C51.3778 124.437 51.6423 124.173 51.6423 123.847C51.6423 123.52 51.3778 123.256 51.0514 123.256ZM52.825 121.483C52.4991 121.483 52.2346 121.747 52.2346 122.074C52.2346 122.399 52.4991 122.664 52.825 122.664C53.1509 122.664 53.4154 122.399 53.4154 122.074C53.4154 121.747 53.1509 121.483 52.825 121.483ZM51.0514 119.71C50.7255 119.71 50.461 119.974 50.461 120.3C50.461 120.626 50.7255 120.891 51.0514 120.891C51.3778 120.891 51.6423 120.626 51.6423 120.3C51.6423 119.974 51.3778 119.71 51.0514 119.71ZM52.825 117.936C52.4991 117.936 52.2346 118.2 52.2346 118.527C52.2346 118.853 52.4991 119.117 52.825 119.117C53.1509 119.117 53.4154 118.853 53.4154 118.527C53.4154 118.2 53.1509 117.936 52.825 117.936ZM51.0514 116.163C50.7255 116.163 50.461 116.427 50.461 116.754C50.461 117.08 50.7255 117.344 51.0514 117.344C51.3778 117.344 51.6423 117.08 51.6423 116.754C51.6423 116.427 51.3778 116.163 51.0514 116.163ZM52.825 114.39C52.4991 114.39 52.2346 114.654 52.2346 114.98C52.2346 115.306 52.4991 115.571 52.825 115.571C53.1509 115.571 53.4154 115.306 53.4154 114.98C53.4154 114.654 53.1509 114.39 52.825 114.39ZM51.0514 112.616C50.7255 112.616 50.461 112.881 50.461 113.207C50.461 113.533 50.7255 113.797 51.0514 113.797C51.3778 113.797 51.6423 113.533 51.6423 113.207C51.6423 112.881 51.3778 112.616 51.0514 112.616ZM52.825 110.843C52.4991 110.843 52.2346 111.107 52.2346 111.433C52.2346 111.759 52.4991 112.024 52.825 112.024C53.1509 112.024 53.4154 111.759 53.4154 111.433C53.4154 111.107 53.1509 110.843 52.825 110.843ZM51.0514 109.069C50.7255 109.069 50.461 109.334 50.461 109.66C50.461 109.986 50.7255 110.251 51.0514 110.251C51.3778 110.251 51.6423 109.986 51.6423 109.66C51.6423 109.334 51.3778 109.069 51.0514 109.069ZM52.825 107.296C52.4991 107.296 52.2346 107.561 52.2346 107.887C52.2346 108.213 52.4991 108.477 52.825 108.477C53.1509 108.477 53.4154 108.213 53.4154 107.887C53.4154 107.561 53.1509 107.296 52.825 107.296ZM51.0514 105.523C50.7255 105.523 50.461 105.787 50.461 106.114C50.461 106.439 50.7255 106.704 51.0514 106.704C51.3778 106.704 51.6423 106.439 51.6423 106.114C51.6423 105.787 51.3778 105.523 51.0514 105.523ZM52.825 103.75C52.4991 103.75 52.2346 104.014 52.2346 104.34C52.2346 104.666 52.4991 104.93 52.825 104.93C53.1509 104.93 53.4154 104.666 53.4154 104.34C53.4154 104.014 53.1509 103.75 52.825 103.75ZM51.0514 101.976C50.7255 101.976 50.461 102.24 50.461 102.567C50.461 102.893 50.7255 103.157 51.0514 103.157C51.3778 103.157 51.6423 102.893 51.6423 102.567C51.6423 102.24 51.3778 101.976 51.0514 101.976ZM52.825 100.203C52.4991 100.203 52.2346 100.467 52.2346 100.793C52.2346 101.12 52.4991 101.384 52.825 101.384C53.1509 101.384 53.4154 101.12 53.4154 100.793C53.4154 100.467 53.1509 100.203 52.825 100.203ZM51.0514 98.4292C50.7255 98.4292 50.461 98.6942 50.461 99.0201C50.461 99.346 50.7255 99.6105 51.0514 99.6105C51.3778 99.6105 51.6423 99.346 51.6423 99.0201C51.6423 98.6942 51.3778 98.4292 51.0514 98.4292ZM52.825 96.6561C52.4991 96.6561 52.2346 96.9206 52.2346 97.2465C52.2346 97.5729 52.4991 97.8374 52.825 97.8374C53.1509 97.8374 53.4154 97.5729 53.4154 97.2465C53.4154 96.9206 53.1509 96.6561 52.825 96.6561ZM51.0514 94.883C50.7255 94.883 50.461 95.147 50.461 95.4734C50.461 95.7993 50.7255 96.0638 51.0514 96.0638C51.3778 96.0638 51.6423 95.7993 51.6423 95.4734C51.6423 95.147 51.3778 94.883 51.0514 94.883ZM52.825 93.1094C52.4991 93.1094 52.2346 93.3739 52.2346 93.6998C52.2346 94.0262 52.4991 94.2907 52.825 94.2907C53.1509 94.2907 53.4154 94.0262 53.4154 93.6998C53.4154 93.3739 53.1509 93.1094 52.825 93.1094ZM51.0514 91.3363C50.7255 91.3363 50.461 91.6003 50.461 91.9267C50.461 92.2531 50.7255 92.5171 51.0514 92.5171C51.3778 92.5171 51.6423 92.2531 51.6423 91.9267C51.6423 91.6003 51.3778 91.3363 51.0514 91.3363ZM52.825 89.5627C52.4991 89.5627 52.2346 89.8272 52.2346 90.1535C52.2346 90.4795 52.4991 90.7439 52.825 90.7439C53.1509 90.7439 53.4154 90.4795 53.4154 90.1535C53.4154 89.8272 53.1509 89.5627 52.825 89.5627ZM51.3658 88.38L51.0572 88.9694C51.3807 88.9665 51.6423 88.7044 51.6423 88.38C51.6423 88.2585 51.5967 88.1524 51.5343 88.0588L51.3658 88.38ZM52.825 86.016C52.7333 86.016 52.6489 86.0409 52.5716 86.0783L52.2514 86.6899C52.2932 86.975 52.5284 87.1972 52.825 87.1972C53.1509 87.1972 53.4154 86.9328 53.4154 86.6064C53.4154 86.2804 53.1509 86.016 52.825 86.016ZM56.3717 153.403C56.0458 153.403 55.7809 153.668 55.7809 153.994C55.7809 154.319 56.0458 154.584 56.3717 154.584C56.6981 154.584 56.9621 154.319 56.9621 153.994C56.9621 153.668 56.6981 153.403 56.3717 153.403ZM54.5986 151.63C54.2722 151.63 54.0077 151.894 54.0077 152.22C54.0077 152.546 54.2722 152.811 54.5986 152.811C54.9245 152.811 55.189 152.546 55.189 152.22C55.189 151.894 54.9245 151.63 54.5986 151.63ZM56.3717 149.856C56.0458 149.856 55.7809 150.12 55.7809 150.447C55.7809 150.773 56.0458 151.037 56.3717 151.037C56.6981 151.037 56.9621 150.773 56.9621 150.447C56.9621 150.12 56.6981 149.856 56.3717 149.856ZM54.5986 148.083C54.2722 148.083 54.0077 148.347 54.0077 148.674C54.0077 149 54.2722 149.264 54.5986 149.264C54.9245 149.264 55.189 149 55.189 148.674C55.189 148.347 54.9245 148.083 54.5986 148.083ZM56.3717 146.31C56.0458 146.31 55.7809 146.574 55.7809 146.9C55.7809 147.227 56.0458 147.491 56.3717 147.491C56.6981 147.491 56.9621 147.227 56.9621 146.9C56.9621 146.574 56.6981 146.31 56.3717 146.31ZM54.5986 144.536C54.2722 144.536 54.0077 144.801 54.0077 145.127C54.0077 145.453 54.2722 145.717 54.5986 145.717C54.9245 145.717 55.189 145.453 55.189 145.127C55.189 144.801 54.9245 144.536 54.5986 144.536ZM56.3717 142.763C56.0458 142.763 55.7809 143.027 55.7809 143.354C55.7809 143.679 56.0458 143.944 56.3717 143.944C56.6981 143.944 56.9621 143.679 56.9621 143.354C56.9621 143.027 56.6981 142.763 56.3717 142.763ZM54.5986 140.99C54.2722 140.99 54.0077 141.254 54.0077 141.58C54.0077 141.906 54.2722 142.171 54.5986 142.171C54.9245 142.171 55.189 141.906 55.189 141.58C55.189 141.254 54.9245 140.99 54.5986 140.99ZM56.3717 139.216C56.0458 139.216 55.7809 139.481 55.7809 139.807C55.7809 140.133 56.0458 140.397 56.3717 140.397C56.6981 140.397 56.9621 140.133 56.9621 139.807C56.9621 139.481 56.6981 139.216 56.3717 139.216ZM54.5986 137.443C54.2722 137.443 54.0077 137.707 54.0077 138.034C54.0077 138.359 54.2722 138.624 54.5986 138.624C54.9245 138.624 55.189 138.359 55.189 138.034C55.189 137.707 54.9245 137.443 54.5986 137.443ZM56.3717 135.67C56.0458 135.67 55.7809 135.934 55.7809 136.26C55.7809 136.586 56.0458 136.851 56.3717 136.851C56.6981 136.851 56.9621 136.586 56.9621 136.26C56.9621 135.934 56.6981 135.67 56.3717 135.67ZM54.5986 133.896C54.2722 133.896 54.0077 134.16 54.0077 134.487C54.0077 134.813 54.2722 135.077 54.5986 135.077C54.9245 135.077 55.189 134.813 55.189 134.487C55.189 134.16 54.9245 133.896 54.5986 133.896ZM56.3717 132.123C56.0458 132.123 55.7809 132.387 55.7809 132.714C55.7809 133.04 56.0458 133.304 56.3717 133.304C56.6981 133.304 56.9621 133.04 56.9621 132.714C56.9621 132.387 56.6981 132.123 56.3717 132.123ZM54.5986 130.35C54.2722 130.35 54.0077 130.614 54.0077 130.94C54.0077 131.267 54.2722 131.531 54.5986 131.531C54.9245 131.531 55.189 131.267 55.189 130.94C55.189 130.614 54.9245 130.35 54.5986 130.35ZM56.3717 128.576C56.0458 128.576 55.7809 128.841 55.7809 129.167C55.7809 129.493 56.0458 129.757 56.3717 129.757C56.6981 129.757 56.9621 129.493 56.9621 129.167C56.9621 128.841 56.6981 128.576 56.3717 128.576ZM54.5986 126.803C54.2722 126.803 54.0077 127.067 54.0077 127.393C54.0077 127.719 54.2722 127.984 54.5986 127.984C54.9245 127.984 55.189 127.719 55.189 127.393C55.189 127.067 54.9245 126.803 54.5986 126.803ZM56.3717 125.029C56.0458 125.029 55.7809 125.294 55.7809 125.62C55.7809 125.946 56.0458 126.211 56.3717 126.211C56.6981 126.211 56.9621 125.946 56.9621 125.62C56.9621 125.294 56.6981 125.029 56.3717 125.029ZM54.5986 123.256C54.2722 123.256 54.0077 123.52 54.0077 123.847C54.0077 124.173 54.2722 124.437 54.5986 124.437C54.9245 124.437 55.189 124.173 55.189 123.847C55.189 123.52 54.9245 123.256 54.5986 123.256ZM56.3717 121.483C56.0458 121.483 55.7809 121.747 55.7809 122.074C55.7809 122.399 56.0458 122.664 56.3717 122.664C56.6981 122.664 56.9621 122.399 56.9621 122.074C56.9621 121.747 56.6981 121.483 56.3717 121.483ZM54.5986 119.71C54.2722 119.71 54.0077 119.974 54.0077 120.3C54.0077 120.626 54.2722 120.891 54.5986 120.891C54.9245 120.891 55.189 120.626 55.189 120.3C55.189 119.974 54.9245 119.71 54.5986 119.71ZM56.3717 117.936C56.0458 117.936 55.7809 118.2 55.7809 118.527C55.7809 118.853 56.0458 119.117 56.3717 119.117C56.6981 119.117 56.9621 118.853 56.9621 118.527C56.9621 118.2 56.6981 117.936 56.3717 117.936ZM54.5986 116.163C54.2722 116.163 54.0077 116.427 54.0077 116.754C54.0077 117.08 54.2722 117.344 54.5986 117.344C54.9245 117.344 55.189 117.08 55.189 116.754C55.189 116.427 54.9245 116.163 54.5986 116.163ZM56.3717 114.39C56.0458 114.39 55.7809 114.654 55.7809 114.98C55.7809 115.306 56.0458 115.571 56.3717 115.571C56.6981 115.571 56.9621 115.306 56.9621 114.98C56.9621 114.654 56.6981 114.39 56.3717 114.39ZM54.5986 112.616C54.2722 112.616 54.0077 112.881 54.0077 113.207C54.0077 113.533 54.2722 113.797 54.5986 113.797C54.9245 113.797 55.189 113.533 55.189 113.207C55.189 112.881 54.9245 112.616 54.5986 112.616ZM56.3717 110.843C56.0458 110.843 55.7809 111.107 55.7809 111.433C55.7809 111.759 56.0458 112.024 56.3717 112.024C56.6981 112.024 56.9621 111.759 56.9621 111.433C56.9621 111.107 56.6981 110.843 56.3717 110.843ZM54.5986 109.069C54.2722 109.069 54.0077 109.334 54.0077 109.66C54.0077 109.986 54.2722 110.251 54.5986 110.251C54.9245 110.251 55.189 109.986 55.189 109.66C55.189 109.334 54.9245 109.069 54.5986 109.069ZM56.3717 107.296C56.0458 107.296 55.7809 107.561 55.7809 107.887C55.7809 108.213 56.0458 108.477 56.3717 108.477C56.6981 108.477 56.9621 108.213 56.9621 107.887C56.9621 107.561 56.6981 107.296 56.3717 107.296ZM54.5986 105.523C54.2722 105.523 54.0077 105.787 54.0077 106.114C54.0077 106.439 54.2722 106.704 54.5986 106.704C54.9245 106.704 55.189 106.439 55.189 106.114C55.189 105.787 54.9245 105.523 54.5986 105.523ZM56.3717 103.75C56.0458 103.75 55.7809 104.014 55.7809 104.34C55.7809 104.666 56.0458 104.93 56.3717 104.93C56.6981 104.93 56.9621 104.666 56.9621 104.34C56.9621 104.014 56.6981 103.75 56.3717 103.75ZM54.5986 101.976C54.2722 101.976 54.0077 102.24 54.0077 102.567C54.0077 102.893 54.2722 103.157 54.5986 103.157C54.9245 103.157 55.189 102.893 55.189 102.567C55.189 102.24 54.9245 101.976 54.5986 101.976ZM56.3717 100.203C56.0458 100.203 55.7809 100.467 55.7809 100.793C55.7809 101.12 56.0458 101.384 56.3717 101.384C56.6981 101.384 56.9621 101.12 56.9621 100.793C56.9621 100.467 56.6981 100.203 56.3717 100.203ZM54.5986 98.4292C54.2722 98.4292 54.0077 98.6942 54.0077 99.0201C54.0077 99.346 54.2722 99.6105 54.5986 99.6105C54.9245 99.6105 55.189 99.346 55.189 99.0201C55.189 98.6942 54.9245 98.4292 54.5986 98.4292ZM56.3717 96.6561C56.0458 96.6561 55.7809 96.9206 55.7809 97.2465C55.7809 97.5729 56.0458 97.8374 56.3717 97.8374C56.6981 97.8374 56.9621 97.5729 56.9621 97.2465C56.9621 96.9206 56.6981 96.6561 56.3717 96.6561ZM54.5986 94.883C54.2722 94.883 54.0077 95.147 54.0077 95.4734C54.0077 95.7993 54.2722 96.0638 54.5986 96.0638C54.9245 96.0638 55.189 95.7993 55.189 95.4734C55.189 95.147 54.9245 94.883 54.5986 94.883ZM56.3717 93.1094C56.0458 93.1094 55.7809 93.3739 55.7809 93.6998C55.7809 94.0262 56.0458 94.2907 56.3717 94.2907C56.6981 94.2907 56.9621 94.0262 56.9621 93.6998C56.9621 93.3739 56.6981 93.1094 56.3717 93.1094ZM54.5986 91.3363C54.2722 91.3363 54.0077 91.6003 54.0077 91.9267C54.0077 92.2531 54.2722 92.5171 54.5986 92.5171C54.9245 92.5171 55.189 92.2531 55.189 91.9267C55.189 91.6003 54.9245 91.3363 54.5986 91.3363ZM56.3717 89.5627C56.0458 89.5627 55.7809 89.8272 55.7809 90.1535C55.7809 90.4795 56.0458 90.7439 56.3717 90.7439C56.6981 90.7439 56.9621 90.4795 56.9621 90.1535C56.9621 89.8272 56.6981 89.5627 56.3717 89.5627ZM54.5986 87.7896C54.2722 87.7896 54.0077 88.054 54.0077 88.38C54.0077 88.7064 54.2722 88.9704 54.5986 88.9704C54.9245 88.9704 55.189 88.7064 55.189 88.38C55.189 88.054 54.9245 87.7896 54.5986 87.7896ZM56.3717 86.016C56.0458 86.016 55.7809 86.2804 55.7809 86.6064C55.7809 86.9328 56.0458 87.1972 56.3717 87.1972C56.6981 87.1972 56.9621 86.9328 56.9621 86.6064C56.9621 86.2804 56.6981 86.016 56.3717 86.016ZM54.5986 84.2428C54.2722 84.2428 54.0077 84.5073 54.0077 84.8332C54.0077 85.1596 54.2722 85.4241 54.5986 85.4241C54.9245 85.4241 55.189 85.1596 55.189 84.8332C55.189 84.5073 54.9245 84.2428 54.5986 84.2428ZM56.3717 82.4692C56.0458 82.4692 55.7809 82.7337 55.7809 83.0601C55.7809 83.386 56.0458 83.6505 56.3717 83.6505C56.6981 83.6505 56.9621 83.386 56.9621 83.0601C56.9621 82.7337 56.6981 82.4692 56.3717 82.4692ZM55.082 81.2865L54.7935 81.8375C55.0225 81.7564 55.189 81.5438 55.189 81.2865C55.189 81.2347 55.1717 81.1876 55.1593 81.1396L55.082 81.2865ZM56.3717 78.923C56.3516 78.923 56.3343 78.9321 56.3146 78.9345L55.8634 79.7961C55.9642 79.9766 56.15 80.1038 56.3717 80.1038C56.6981 80.1038 56.9621 79.8393 56.9621 79.5134C56.9621 79.187 56.6981 78.923 56.3717 78.923ZM59.9185 153.403C59.5921 153.403 59.3281 153.668 59.3281 153.994C59.3281 154.319 59.5921 154.584 59.9185 154.584C60.2444 154.584 60.5089 154.319 60.5089 153.994C60.5089 153.668 60.2444 153.403 59.9185 153.403ZM58.1449 151.63C57.8189 151.63 57.5545 151.894 57.5545 152.22C57.5545 152.546 57.8189 152.811 58.1449 152.811C58.4713 152.811 58.7357 152.546 58.7357 152.22C58.7357 151.894 58.4713 151.63 58.1449 151.63ZM59.9185 149.856C59.5921 149.856 59.3281 150.12 59.3281 150.447C59.3281 150.773 59.5921 151.037 59.9185 151.037C60.2444 151.037 60.5089 150.773 60.5089 150.447C60.5089 150.12 60.2444 149.856 59.9185 149.856ZM58.1449 148.083C57.8189 148.083 57.5545 148.347 57.5545 148.674C57.5545 149 57.8189 149.264 58.1449 149.264C58.4713 149.264 58.7357 149 58.7357 148.674C58.7357 148.347 58.4713 148.083 58.1449 148.083ZM59.9185 146.31C59.5921 146.31 59.3281 146.574 59.3281 146.9C59.3281 147.227 59.5921 147.491 59.9185 147.491C60.2444 147.491 60.5089 147.227 60.5089 146.9C60.5089 146.574 60.2444 146.31 59.9185 146.31ZM58.1449 144.536C57.8189 144.536 57.5545 144.801 57.5545 145.127C57.5545 145.453 57.8189 145.717 58.1449 145.717C58.4713 145.717 58.7357 145.453 58.7357 145.127C58.7357 144.801 58.4713 144.536 58.1449 144.536ZM59.9185 142.763C59.5921 142.763 59.3281 143.027 59.3281 143.354C59.3281 143.679 59.5921 143.944 59.9185 143.944C60.2444 143.944 60.5089 143.679 60.5089 143.354C60.5089 143.027 60.2444 142.763 59.9185 142.763ZM58.1449 140.99C57.8189 140.99 57.5545 141.254 57.5545 141.58C57.5545 141.906 57.8189 142.171 58.1449 142.171C58.4713 142.171 58.7357 141.906 58.7357 141.58C58.7357 141.254 58.4713 140.99 58.1449 140.99ZM59.9185 139.216C59.5921 139.216 59.3281 139.481 59.3281 139.807C59.3281 140.133 59.5921 140.397 59.9185 140.397C60.2444 140.397 60.5089 140.133 60.5089 139.807C60.5089 139.481 60.2444 139.216 59.9185 139.216ZM58.1449 137.443C57.8189 137.443 57.5545 137.707 57.5545 138.034C57.5545 138.359 57.8189 138.624 58.1449 138.624C58.4713 138.624 58.7357 138.359 58.7357 138.034C58.7357 137.707 58.4713 137.443 58.1449 137.443ZM59.9185 135.67C59.5921 135.67 59.3281 135.934 59.3281 136.26C59.3281 136.586 59.5921 136.851 59.9185 136.851C60.2444 136.851 60.5089 136.586 60.5089 136.26C60.5089 135.934 60.2444 135.67 59.9185 135.67ZM58.1449 133.896C57.8189 133.896 57.5545 134.16 57.5545 134.487C57.5545 134.813 57.8189 135.077 58.1449 135.077C58.4713 135.077 58.7357 134.813 58.7357 134.487C58.7357 134.16 58.4713 133.896 58.1449 133.896ZM59.9185 132.123C59.5921 132.123 59.3281 132.387 59.3281 132.714C59.3281 133.04 59.5921 133.304 59.9185 133.304C60.2444 133.304 60.5089 133.04 60.5089 132.714C60.5089 132.387 60.2444 132.123 59.9185 132.123ZM58.1449 130.35C57.8189 130.35 57.5545 130.614 57.5545 130.94C57.5545 131.267 57.8189 131.531 58.1449 131.531C58.4713 131.531 58.7357 131.267 58.7357 130.94C58.7357 130.614 58.4713 130.35 58.1449 130.35ZM59.9185 128.576C59.5921 128.576 59.3281 128.841 59.3281 129.167C59.3281 129.493 59.5921 129.757 59.9185 129.757C60.2444 129.757 60.5089 129.493 60.5089 129.167C60.5089 128.841 60.2444 128.576 59.9185 128.576ZM58.1449 126.803C57.8189 126.803 57.5545 127.067 57.5545 127.393C57.5545 127.719 57.8189 127.984 58.1449 127.984C58.4713 127.984 58.7357 127.719 58.7357 127.393C58.7357 127.067 58.4713 126.803 58.1449 126.803ZM59.9185 125.029C59.5921 125.029 59.3281 125.294 59.3281 125.62C59.3281 125.946 59.5921 126.211 59.9185 126.211C60.2444 126.211 60.5089 125.946 60.5089 125.62C60.5089 125.294 60.2444 125.029 59.9185 125.029ZM58.1449 123.256C57.8189 123.256 57.5545 123.52 57.5545 123.847C57.5545 124.173 57.8189 124.437 58.1449 124.437C58.4713 124.437 58.7357 124.173 58.7357 123.847C58.7357 123.52 58.4713 123.256 58.1449 123.256ZM59.9185 121.483C59.5921 121.483 59.3281 121.747 59.3281 122.074C59.3281 122.399 59.5921 122.664 59.9185 122.664C60.2444 122.664 60.5089 122.399 60.5089 122.074C60.5089 121.747 60.2444 121.483 59.9185 121.483ZM58.1449 119.71C57.8189 119.71 57.5545 119.974 57.5545 120.3C57.5545 120.626 57.8189 120.891 58.1449 120.891C58.4713 120.891 58.7357 120.626 58.7357 120.3C58.7357 119.974 58.4713 119.71 58.1449 119.71ZM59.9185 117.936C59.5921 117.936 59.3281 118.2 59.3281 118.527C59.3281 118.853 59.5921 119.117 59.9185 119.117C60.2444 119.117 60.5089 118.853 60.5089 118.527C60.5089 118.2 60.2444 117.936 59.9185 117.936ZM58.1449 116.163C57.8189 116.163 57.5545 116.427 57.5545 116.754C57.5545 117.08 57.8189 117.344 58.1449 117.344C58.4713 117.344 58.7357 117.08 58.7357 116.754C58.7357 116.427 58.4713 116.163 58.1449 116.163ZM59.9185 114.39C59.5921 114.39 59.3281 114.654 59.3281 114.98C59.3281 115.306 59.5921 115.571 59.9185 115.571C60.2444 115.571 60.5089 115.306 60.5089 114.98C60.5089 114.654 60.2444 114.39 59.9185 114.39ZM58.1449 112.616C57.8189 112.616 57.5545 112.881 57.5545 113.207C57.5545 113.533 57.8189 113.797 58.1449 113.797C58.4713 113.797 58.7357 113.533 58.7357 113.207C58.7357 112.881 58.4713 112.616 58.1449 112.616ZM59.9185 110.843C59.5921 110.843 59.3281 111.107 59.3281 111.433C59.3281 111.759 59.5921 112.024 59.9185 112.024C60.2444 112.024 60.5089 111.759 60.5089 111.433C60.5089 111.107 60.2444 110.843 59.9185 110.843ZM58.1449 109.069C57.8189 109.069 57.5545 109.334 57.5545 109.66C57.5545 109.986 57.8189 110.251 58.1449 110.251C58.4713 110.251 58.7357 109.986 58.7357 109.66C58.7357 109.334 58.4713 109.069 58.1449 109.069ZM59.9185 107.296C59.5921 107.296 59.3281 107.561 59.3281 107.887C59.3281 108.213 59.5921 108.477 59.9185 108.477C60.2444 108.477 60.5089 108.213 60.5089 107.887C60.5089 107.561 60.2444 107.296 59.9185 107.296ZM58.1449 105.523C57.8189 105.523 57.5545 105.787 57.5545 106.114C57.5545 106.439 57.8189 106.704 58.1449 106.704C58.4713 106.704 58.7357 106.439 58.7357 106.114C58.7357 105.787 58.4713 105.523 58.1449 105.523ZM59.9185 103.75C59.5921 103.75 59.3281 104.014 59.3281 104.34C59.3281 104.666 59.5921 104.93 59.9185 104.93C60.2444 104.93 60.5089 104.666 60.5089 104.34C60.5089 104.014 60.2444 103.75 59.9185 103.75ZM58.1449 101.976C57.8189 101.976 57.5545 102.24 57.5545 102.567C57.5545 102.893 57.8189 103.157 58.1449 103.157C58.4713 103.157 58.7357 102.893 58.7357 102.567C58.7357 102.24 58.4713 101.976 58.1449 101.976ZM59.9185 100.203C59.5921 100.203 59.3281 100.467 59.3281 100.793C59.3281 101.12 59.5921 101.384 59.9185 101.384C60.2444 101.384 60.5089 101.12 60.5089 100.793C60.5089 100.467 60.2444 100.203 59.9185 100.203ZM58.1449 98.4292C57.8189 98.4292 57.5545 98.6942 57.5545 99.0201C57.5545 99.346 57.8189 99.6105 58.1449 99.6105C58.4713 99.6105 58.7357 99.346 58.7357 99.0201C58.7357 98.6942 58.4713 98.4292 58.1449 98.4292ZM59.9185 96.6561C59.5921 96.6561 59.3281 96.9206 59.3281 97.2465C59.3281 97.5729 59.5921 97.8374 59.9185 97.8374C60.2444 97.8374 60.5089 97.5729 60.5089 97.2465C60.5089 96.9206 60.2444 96.6561 59.9185 96.6561ZM58.1449 94.883C57.8189 94.883 57.5545 95.147 57.5545 95.4734C57.5545 95.7993 57.8189 96.0638 58.1449 96.0638C58.4713 96.0638 58.7357 95.7993 58.7357 95.4734C58.7357 95.147 58.4713 94.883 58.1449 94.883ZM59.9185 93.1094C59.5921 93.1094 59.3281 93.3739 59.3281 93.6998C59.3281 94.0262 59.5921 94.2907 59.9185 94.2907C60.2444 94.2907 60.5089 94.0262 60.5089 93.6998C60.5089 93.3739 60.2444 93.1094 59.9185 93.1094ZM58.1449 91.3363C57.8189 91.3363 57.5545 91.6003 57.5545 91.9267C57.5545 92.2531 57.8189 92.5171 58.1449 92.5171C58.4713 92.5171 58.7357 92.2531 58.7357 91.9267C58.7357 91.6003 58.4713 91.3363 58.1449 91.3363ZM59.9185 89.5627C59.5921 89.5627 59.3281 89.8272 59.3281 90.1535C59.3281 90.4795 59.5921 90.7439 59.9185 90.7439C60.2444 90.7439 60.5089 90.4795 60.5089 90.1535C60.5089 89.8272 60.2444 89.5627 59.9185 89.5627ZM58.1449 87.7896C57.8189 87.7896 57.5545 88.054 57.5545 88.38C57.5545 88.7064 57.8189 88.9704 58.1449 88.9704C58.4713 88.9704 58.7357 88.7064 58.7357 88.38C58.7357 88.054 58.4713 87.7896 58.1449 87.7896ZM59.9185 86.016C59.5921 86.016 59.3281 86.2804 59.3281 86.6064C59.3281 86.9328 59.5921 87.1972 59.9185 87.1972C60.2444 87.1972 60.5089 86.9328 60.5089 86.6064C60.5089 86.2804 60.2444 86.016 59.9185 86.016ZM58.1449 84.2428C57.8189 84.2428 57.5545 84.5073 57.5545 84.8332C57.5545 85.1596 57.8189 85.4241 58.1449 85.4241C58.4713 85.4241 58.7357 85.1596 58.7357 84.8332C58.7357 84.5073 58.4713 84.2428 58.1449 84.2428ZM59.9185 82.4692C59.5921 82.4692 59.3281 82.7337 59.3281 83.0601C59.3281 83.386 59.5921 83.6505 59.9185 83.6505C60.2444 83.6505 60.5089 83.386 60.5089 83.0601C60.5089 82.7337 60.2444 82.4692 59.9185 82.4692ZM58.1449 80.6961C57.8189 80.6961 57.5545 80.9606 57.5545 81.2865C57.5545 81.6129 57.8189 81.8769 58.1449 81.8769C58.4713 81.8769 58.7357 81.6129 58.7357 81.2865C58.7357 80.9606 58.4713 80.6961 58.1449 80.6961ZM59.9185 78.923C59.5921 78.923 59.3281 79.187 59.3281 79.5134C59.3281 79.8393 59.5921 80.1038 59.9185 80.1038C60.2444 80.1038 60.5089 79.8393 60.5089 79.5134C60.5089 79.187 60.2444 78.923 59.9185 78.923ZM58.1449 77.1494C57.8189 77.1494 57.5545 77.4139 57.5545 77.7398C57.5545 78.0662 57.8189 78.3307 58.1449 78.3307C58.4713 78.3307 58.7357 78.0662 58.7357 77.7398C58.7357 77.4139 58.4713 77.1494 58.1449 77.1494ZM58.6397 74.496C58.6613 74.4614 58.682 74.4283 58.6959 74.3889L58.6397 74.496ZM59.9185 75.3763C59.5921 75.3763 59.3281 75.6403 59.3281 75.9667C59.3281 76.2931 59.5921 76.5571 59.9185 76.5571C60.2444 76.5571 60.5089 76.2931 60.5089 75.9667C60.5089 75.6403 60.2444 75.3763 59.9185 75.3763ZM60.026 71.8512L59.5071 72.8419C59.6132 72.9455 59.7581 73.0104 59.9185 73.0104C60.2444 73.0104 60.5089 72.7463 60.5089 72.4199C60.5089 72.132 60.2986 71.9035 60.026 71.8512ZM61.6916 155.176C61.4588 155.176 61.2615 155.315 61.1655 155.51L61.6916 155.608L62.2719 155.716C62.245 155.415 61.9997 155.176 61.6916 155.176ZM63.4652 153.403C63.1388 153.403 62.8743 153.668 62.8743 153.994C62.8743 154.319 63.1388 154.584 63.4652 154.584C63.7911 154.584 64.0556 154.319 64.0556 153.994C64.0556 153.668 63.7911 153.403 63.4652 153.403ZM61.6916 151.63C61.3657 151.63 61.1012 151.894 61.1012 152.22C61.1012 152.546 61.3657 152.811 61.6916 152.811C62.018 152.811 62.282 152.546 62.282 152.22C62.282 151.894 62.018 151.63 61.6916 151.63ZM63.4652 149.856C63.1388 149.856 62.8743 150.12 62.8743 150.447C62.8743 150.773 63.1388 151.037 63.4652 151.037C63.7911 151.037 64.0556 150.773 64.0556 150.447C64.0556 150.12 63.7911 149.856 63.4652 149.856ZM61.6916 148.083C61.3657 148.083 61.1012 148.347 61.1012 148.674C61.1012 149 61.3657 149.264 61.6916 149.264C62.018 149.264 62.282 149 62.282 148.674C62.282 148.347 62.018 148.083 61.6916 148.083ZM63.4652 146.31C63.1388 146.31 62.8743 146.574 62.8743 146.9C62.8743 147.227 63.1388 147.491 63.4652 147.491C63.7911 147.491 64.0556 147.227 64.0556 146.9C64.0556 146.574 63.7911 146.31 63.4652 146.31ZM61.6916 144.536C61.3657 144.536 61.1012 144.801 61.1012 145.127C61.1012 145.453 61.3657 145.717 61.6916 145.717C62.018 145.717 62.282 145.453 62.282 145.127C62.282 144.801 62.018 144.536 61.6916 144.536ZM63.4652 142.763C63.1388 142.763 62.8743 143.027 62.8743 143.354C62.8743 143.679 63.1388 143.944 63.4652 143.944C63.7911 143.944 64.0556 143.679 64.0556 143.354C64.0556 143.027 63.7911 142.763 63.4652 142.763ZM61.6916 140.99C61.3657 140.99 61.1012 141.254 61.1012 141.58C61.1012 141.906 61.3657 142.171 61.6916 142.171C62.018 142.171 62.282 141.906 62.282 141.58C62.282 141.254 62.018 140.99 61.6916 140.99ZM63.4652 139.216C63.1388 139.216 62.8743 139.481 62.8743 139.807C62.8743 140.133 63.1388 140.397 63.4652 140.397C63.7911 140.397 64.0556 140.133 64.0556 139.807C64.0556 139.481 63.7911 139.216 63.4652 139.216ZM61.6916 137.443C61.3657 137.443 61.1012 137.707 61.1012 138.034C61.1012 138.359 61.3657 138.624 61.6916 138.624C62.018 138.624 62.282 138.359 62.282 138.034C62.282 137.707 62.018 137.443 61.6916 137.443ZM63.4652 135.67C63.1388 135.67 62.8743 135.934 62.8743 136.26C62.8743 136.586 63.1388 136.851 63.4652 136.851C63.7911 136.851 64.0556 136.586 64.0556 136.26C64.0556 135.934 63.7911 135.67 63.4652 135.67ZM61.6916 133.896C61.3657 133.896 61.1012 134.16 61.1012 134.487C61.1012 134.813 61.3657 135.077 61.6916 135.077C62.018 135.077 62.282 134.813 62.282 134.487C62.282 134.16 62.018 133.896 61.6916 133.896ZM63.4652 132.123C63.1388 132.123 62.8743 132.387 62.8743 132.714C62.8743 133.04 63.1388 133.304 63.4652 133.304C63.7911 133.304 64.0556 133.04 64.0556 132.714C64.0556 132.387 63.7911 132.123 63.4652 132.123ZM61.6916 130.35C61.3657 130.35 61.1012 130.614 61.1012 130.94C61.1012 131.267 61.3657 131.531 61.6916 131.531C62.018 131.531 62.282 131.267 62.282 130.94C62.282 130.614 62.018 130.35 61.6916 130.35ZM63.4652 128.576C63.1388 128.576 62.8743 128.841 62.8743 129.167C62.8743 129.493 63.1388 129.757 63.4652 129.757C63.7911 129.757 64.0556 129.493 64.0556 129.167C64.0556 128.841 63.7911 128.576 63.4652 128.576ZM61.6916 126.803C61.3657 126.803 61.1012 127.067 61.1012 127.393C61.1012 127.719 61.3657 127.984 61.6916 127.984C62.018 127.984 62.282 127.719 62.282 127.393C62.282 127.067 62.018 126.803 61.6916 126.803ZM63.4652 125.029C63.1388 125.029 62.8743 125.294 62.8743 125.62C62.8743 125.946 63.1388 126.211 63.4652 126.211C63.7911 126.211 64.0556 125.946 64.0556 125.62C64.0556 125.294 63.7911 125.029 63.4652 125.029ZM61.6916 123.256C61.3657 123.256 61.1012 123.52 61.1012 123.847C61.1012 124.173 61.3657 124.437 61.6916 124.437C62.018 124.437 62.282 124.173 62.282 123.847C62.282 123.52 62.018 123.256 61.6916 123.256ZM63.4652 121.483C63.1388 121.483 62.8743 121.747 62.8743 122.074C62.8743 122.399 63.1388 122.664 63.4652 122.664C63.7911 122.664 64.0556 122.399 64.0556 122.074C64.0556 121.747 63.7911 121.483 63.4652 121.483ZM61.6916 119.71C61.3657 119.71 61.1012 119.974 61.1012 120.3C61.1012 120.626 61.3657 120.891 61.6916 120.891C62.018 120.891 62.282 120.626 62.282 120.3C62.282 119.974 62.018 119.71 61.6916 119.71ZM63.4652 117.936C63.1388 117.936 62.8743 118.2 62.8743 118.527C62.8743 118.853 63.1388 119.117 63.4652 119.117C63.7911 119.117 64.0556 118.853 64.0556 118.527C64.0556 118.2 63.7911 117.936 63.4652 117.936ZM61.6916 116.163C61.3657 116.163 61.1012 116.427 61.1012 116.754C61.1012 117.08 61.3657 117.344 61.6916 117.344C62.018 117.344 62.282 117.08 62.282 116.754C62.282 116.427 62.018 116.163 61.6916 116.163ZM63.4652 114.39C63.1388 114.39 62.8743 114.654 62.8743 114.98C62.8743 115.306 63.1388 115.571 63.4652 115.571C63.7911 115.571 64.0556 115.306 64.0556 114.98C64.0556 114.654 63.7911 114.39 63.4652 114.39ZM61.6916 112.616C61.3657 112.616 61.1012 112.881 61.1012 113.207C61.1012 113.533 61.3657 113.797 61.6916 113.797C62.018 113.797 62.282 113.533 62.282 113.207C62.282 112.881 62.018 112.616 61.6916 112.616ZM63.4652 110.843C63.1388 110.843 62.8743 111.107 62.8743 111.433C62.8743 111.759 63.1388 112.024 63.4652 112.024C63.7911 112.024 64.0556 111.759 64.0556 111.433C64.0556 111.107 63.7911 110.843 63.4652 110.843ZM61.6916 109.069C61.3657 109.069 61.1012 109.334 61.1012 109.66C61.1012 109.986 61.3657 110.251 61.6916 110.251C62.018 110.251 62.282 109.986 62.282 109.66C62.282 109.334 62.018 109.069 61.6916 109.069ZM63.4652 107.296C63.1388 107.296 62.8743 107.561 62.8743 107.887C62.8743 108.213 63.1388 108.477 63.4652 108.477C63.7911 108.477 64.0556 108.213 64.0556 107.887C64.0556 107.561 63.7911 107.296 63.4652 107.296ZM61.6916 105.523C61.3657 105.523 61.1012 105.787 61.1012 106.114C61.1012 106.439 61.3657 106.704 61.6916 106.704C62.018 106.704 62.282 106.439 62.282 106.114C62.282 105.787 62.018 105.523 61.6916 105.523ZM63.4652 103.75C63.1388 103.75 62.8743 104.014 62.8743 104.34C62.8743 104.666 63.1388 104.93 63.4652 104.93C63.7911 104.93 64.0556 104.666 64.0556 104.34C64.0556 104.014 63.7911 103.75 63.4652 103.75ZM61.6916 101.976C61.3657 101.976 61.1012 102.24 61.1012 102.567C61.1012 102.893 61.3657 103.157 61.6916 103.157C62.018 103.157 62.282 102.893 62.282 102.567C62.282 102.24 62.018 101.976 61.6916 101.976ZM63.4652 100.203C63.1388 100.203 62.8743 100.467 62.8743 100.793C62.8743 101.12 63.1388 101.384 63.4652 101.384C63.7911 101.384 64.0556 101.12 64.0556 100.793C64.0556 100.467 63.7911 100.203 63.4652 100.203ZM61.6916 98.4292C61.3657 98.4292 61.1012 98.6942 61.1012 99.0201C61.1012 99.346 61.3657 99.6105 61.6916 99.6105C62.018 99.6105 62.282 99.346 62.282 99.0201C62.282 98.6942 62.018 98.4292 61.6916 98.4292ZM63.4652 96.6561C63.1388 96.6561 62.8743 96.9206 62.8743 97.2465C62.8743 97.5729 63.1388 97.8374 63.4652 97.8374C63.7911 97.8374 64.0556 97.5729 64.0556 97.2465C64.0556 96.9206 63.7911 96.6561 63.4652 96.6561ZM61.6916 94.883C61.3657 94.883 61.1012 95.147 61.1012 95.4734C61.1012 95.7993 61.3657 96.0638 61.6916 96.0638C62.018 96.0638 62.282 95.7993 62.282 95.4734C62.282 95.147 62.018 94.883 61.6916 94.883ZM63.4652 93.1094C63.1388 93.1094 62.8743 93.3739 62.8743 93.6998C62.8743 94.0262 63.1388 94.2907 63.4652 94.2907C63.7911 94.2907 64.0556 94.0262 64.0556 93.6998C64.0556 93.3739 63.7911 93.1094 63.4652 93.1094ZM61.6916 91.3363C61.3657 91.3363 61.1012 91.6003 61.1012 91.9267C61.1012 92.2531 61.3657 92.5171 61.6916 92.5171C62.018 92.5171 62.282 92.2531 62.282 91.9267C62.282 91.6003 62.018 91.3363 61.6916 91.3363ZM63.4652 89.5627C63.1388 89.5627 62.8743 89.8272 62.8743 90.1535C62.8743 90.4795 63.1388 90.7439 63.4652 90.7439C63.7911 90.7439 64.0556 90.4795 64.0556 90.1535C64.0556 89.8272 63.7911 89.5627 63.4652 89.5627ZM61.6916 87.7896C61.3657 87.7896 61.1012 88.054 61.1012 88.38C61.1012 88.7064 61.3657 88.9704 61.6916 88.9704C62.018 88.9704 62.282 88.7064 62.282 88.38C62.282 88.054 62.018 87.7896 61.6916 87.7896ZM63.4652 86.016C63.1388 86.016 62.8743 86.2804 62.8743 86.6064C62.8743 86.9328 63.1388 87.1972 63.4652 87.1972C63.7911 87.1972 64.0556 86.9328 64.0556 86.6064C64.0556 86.2804 63.7911 86.016 63.4652 86.016ZM61.6916 84.2428C61.3657 84.2428 61.1012 84.5073 61.1012 84.8332C61.1012 85.1596 61.3657 85.4241 61.6916 85.4241C62.018 85.4241 62.282 85.1596 62.282 84.8332C62.282 84.5073 62.018 84.2428 61.6916 84.2428ZM63.4652 82.4692C63.1388 82.4692 62.8743 82.7337 62.8743 83.0601C62.8743 83.386 63.1388 83.6505 63.4652 83.6505C63.7911 83.6505 64.0556 83.386 64.0556 83.0601C64.0556 82.7337 63.7911 82.4692 63.4652 82.4692ZM61.6916 80.6961C61.3657 80.6961 61.1012 80.9606 61.1012 81.2865C61.1012 81.6129 61.3657 81.8769 61.6916 81.8769C62.018 81.8769 62.282 81.6129 62.282 81.2865C62.282 80.9606 62.018 80.6961 61.6916 80.6961ZM63.4652 78.923C63.1388 78.923 62.8743 79.187 62.8743 79.5134C62.8743 79.8393 63.1388 80.1038 63.4652 80.1038C63.7911 80.1038 64.0556 79.8393 64.0556 79.5134C64.0556 79.187 63.7911 78.923 63.4652 78.923ZM61.6916 77.1494C61.3657 77.1494 61.1012 77.4139 61.1012 77.7398C61.1012 78.0662 61.3657 78.3307 61.6916 78.3307C62.018 78.3307 62.282 78.0662 62.282 77.7398C62.282 77.4139 62.018 77.1494 61.6916 77.1494ZM63.4652 75.3763C63.1388 75.3763 62.8743 75.6403 62.8743 75.9667C62.8743 76.2931 63.1388 76.5571 63.4652 76.5571C63.7911 76.5571 64.0556 76.2931 64.0556 75.9667C64.0556 75.6403 63.7911 75.3763 63.4652 75.3763ZM61.6916 73.6027C61.3657 73.6027 61.1012 73.8671 61.1012 74.1936C61.1012 74.5195 61.3657 74.784 61.6916 74.784C62.018 74.784 62.282 74.5195 62.282 74.1936C62.282 73.8671 62.018 73.6027 61.6916 73.6027ZM63.4652 71.8296C63.1388 71.8296 62.8743 72.094 62.8743 72.4199C62.8743 72.7463 63.1388 73.0104 63.4652 73.0104C63.7911 73.0104 64.0556 72.7463 64.0556 72.4199C64.0556 72.094 63.7911 71.8296 63.4652 71.8296ZM61.6916 70.056C61.3657 70.056 61.1012 70.3204 61.1012 70.6464C61.1012 70.9727 61.3657 71.2372 61.6916 71.2372C62.018 71.2372 62.282 70.9727 62.282 70.6464C62.282 70.3204 62.018 70.056 61.6916 70.056ZM63.4652 68.2828C63.1388 68.2828 62.8743 68.5468 62.8743 68.8732C62.8743 69.1996 63.1388 69.4641 63.4652 69.4641C63.7911 69.4641 64.0556 69.1996 64.0556 68.8732C64.0556 68.5468 63.7911 68.2828 63.4652 68.2828ZM63.7201 64.7995L63.1791 65.8329C63.265 65.8819 63.3591 65.9169 63.4652 65.9169C63.7911 65.9169 64.0556 65.6529 64.0556 65.3265C64.0556 65.0932 63.9173 64.8955 63.7201 64.7995ZM65.2383 155.176C64.9124 155.176 64.6479 155.441 64.6479 155.767C64.6479 155.936 64.7199 156.085 64.8332 156.193L65.2383 156.268L65.4682 156.311C65.6799 156.221 65.8292 156.011 65.8292 155.767C65.8292 155.441 65.5647 155.176 65.2383 155.176ZM67.0119 153.403C66.6855 153.403 66.421 153.668 66.421 153.994C66.421 154.319 66.6855 154.584 67.0119 154.584C67.3378 154.584 67.6023 154.319 67.6023 153.994C67.6023 153.668 67.3378 153.403 67.0119 153.403ZM65.2383 151.63C64.9124 151.63 64.6479 151.894 64.6479 152.22C64.6479 152.546 64.9124 152.811 65.2383 152.811C65.5647 152.811 65.8292 152.546 65.8292 152.22C65.8292 151.894 65.5647 151.63 65.2383 151.63ZM67.0119 149.856C66.6855 149.856 66.421 150.12 66.421 150.447C66.421 150.773 66.6855 151.037 67.0119 151.037C67.3378 151.037 67.6023 150.773 67.6023 150.447C67.6023 150.12 67.3378 149.856 67.0119 149.856ZM65.2383 148.083C64.9124 148.083 64.6479 148.347 64.6479 148.674C64.6479 149 64.9124 149.264 65.2383 149.264C65.5647 149.264 65.8292 149 65.8292 148.674C65.8292 148.347 65.5647 148.083 65.2383 148.083ZM67.0119 146.31C66.6855 146.31 66.421 146.574 66.421 146.9C66.421 147.227 66.6855 147.491 67.0119 147.491C67.3378 147.491 67.6023 147.227 67.6023 146.9C67.6023 146.574 67.3378 146.31 67.0119 146.31ZM65.2383 144.536C64.9124 144.536 64.6479 144.801 64.6479 145.127C64.6479 145.453 64.9124 145.717 65.2383 145.717C65.5647 145.717 65.8292 145.453 65.8292 145.127C65.8292 144.801 65.5647 144.536 65.2383 144.536ZM67.0119 142.763C66.6855 142.763 66.421 143.027 66.421 143.354C66.421 143.679 66.6855 143.944 67.0119 143.944C67.3378 143.944 67.6023 143.679 67.6023 143.354C67.6023 143.027 67.3378 142.763 67.0119 142.763ZM65.2383 140.99C64.9124 140.99 64.6479 141.254 64.6479 141.58C64.6479 141.906 64.9124 142.171 65.2383 142.171C65.5647 142.171 65.8292 141.906 65.8292 141.58C65.8292 141.254 65.5647 140.99 65.2383 140.99ZM67.0119 139.216C66.6855 139.216 66.421 139.481 66.421 139.807C66.421 140.133 66.6855 140.397 67.0119 140.397C67.3378 140.397 67.6023 140.133 67.6023 139.807C67.6023 139.481 67.3378 139.216 67.0119 139.216ZM65.2383 137.443C64.9124 137.443 64.6479 137.707 64.6479 138.034C64.6479 138.359 64.9124 138.624 65.2383 138.624C65.5647 138.624 65.8292 138.359 65.8292 138.034C65.8292 137.707 65.5647 137.443 65.2383 137.443ZM67.0119 135.67C66.6855 135.67 66.421 135.934 66.421 136.26C66.421 136.586 66.6855 136.851 67.0119 136.851C67.3378 136.851 67.6023 136.586 67.6023 136.26C67.6023 135.934 67.3378 135.67 67.0119 135.67ZM65.2383 133.896C64.9124 133.896 64.6479 134.16 64.6479 134.487C64.6479 134.813 64.9124 135.077 65.2383 135.077C65.5647 135.077 65.8292 134.813 65.8292 134.487C65.8292 134.16 65.5647 133.896 65.2383 133.896ZM67.0119 132.123C66.6855 132.123 66.421 132.387 66.421 132.714C66.421 133.04 66.6855 133.304 67.0119 133.304C67.3378 133.304 67.6023 133.04 67.6023 132.714C67.6023 132.387 67.3378 132.123 67.0119 132.123ZM65.2383 130.35C64.9124 130.35 64.6479 130.614 64.6479 130.94C64.6479 131.267 64.9124 131.531 65.2383 131.531C65.5647 131.531 65.8292 131.267 65.8292 130.94C65.8292 130.614 65.5647 130.35 65.2383 130.35ZM67.0119 128.576C66.6855 128.576 66.421 128.841 66.421 129.167C66.421 129.493 66.6855 129.757 67.0119 129.757C67.3378 129.757 67.6023 129.493 67.6023 129.167C67.6023 128.841 67.3378 128.576 67.0119 128.576ZM65.2383 126.803C64.9124 126.803 64.6479 127.067 64.6479 127.393C64.6479 127.719 64.9124 127.984 65.2383 127.984C65.5647 127.984 65.8292 127.719 65.8292 127.393C65.8292 127.067 65.5647 126.803 65.2383 126.803ZM67.0119 125.029C66.6855 125.029 66.421 125.294 66.421 125.62C66.421 125.946 66.6855 126.211 67.0119 126.211C67.3378 126.211 67.6023 125.946 67.6023 125.62C67.6023 125.294 67.3378 125.029 67.0119 125.029ZM65.2383 123.256C64.9124 123.256 64.6479 123.52 64.6479 123.847C64.6479 124.173 64.9124 124.437 65.2383 124.437C65.5647 124.437 65.8292 124.173 65.8292 123.847C65.8292 123.52 65.5647 123.256 65.2383 123.256ZM67.0119 121.483C66.6855 121.483 66.421 121.747 66.421 122.074C66.421 122.399 66.6855 122.664 67.0119 122.664C67.3378 122.664 67.6023 122.399 67.6023 122.074C67.6023 121.747 67.3378 121.483 67.0119 121.483ZM65.2383 119.71C64.9124 119.71 64.6479 119.974 64.6479 120.3C64.6479 120.626 64.9124 120.891 65.2383 120.891C65.5647 120.891 65.8292 120.626 65.8292 120.3C65.8292 119.974 65.5647 119.71 65.2383 119.71ZM67.0119 117.936C66.6855 117.936 66.421 118.2 66.421 118.527C66.421 118.853 66.6855 119.117 67.0119 119.117C67.3378 119.117 67.6023 118.853 67.6023 118.527C67.6023 118.2 67.3378 117.936 67.0119 117.936ZM65.2383 116.163C64.9124 116.163 64.6479 116.427 64.6479 116.754C64.6479 117.08 64.9124 117.344 65.2383 117.344C65.5647 117.344 65.8292 117.08 65.8292 116.754C65.8292 116.427 65.5647 116.163 65.2383 116.163ZM67.0119 114.39C66.6855 114.39 66.421 114.654 66.421 114.98C66.421 115.306 66.6855 115.571 67.0119 115.571C67.3378 115.571 67.6023 115.306 67.6023 114.98C67.6023 114.654 67.3378 114.39 67.0119 114.39ZM65.2383 112.616C64.9124 112.616 64.6479 112.881 64.6479 113.207C64.6479 113.533 64.9124 113.797 65.2383 113.797C65.5647 113.797 65.8292 113.533 65.8292 113.207C65.8292 112.881 65.5647 112.616 65.2383 112.616ZM67.0119 110.843C66.6855 110.843 66.421 111.107 66.421 111.433C66.421 111.759 66.6855 112.024 67.0119 112.024C67.3378 112.024 67.6023 111.759 67.6023 111.433C67.6023 111.107 67.3378 110.843 67.0119 110.843ZM65.2383 109.069C64.9124 109.069 64.6479 109.334 64.6479 109.66C64.6479 109.986 64.9124 110.251 65.2383 110.251C65.5647 110.251 65.8292 109.986 65.8292 109.66C65.8292 109.334 65.5647 109.069 65.2383 109.069ZM67.0119 107.296C66.6855 107.296 66.421 107.561 66.421 107.887C66.421 108.213 66.6855 108.477 67.0119 108.477C67.3378 108.477 67.6023 108.213 67.6023 107.887C67.6023 107.561 67.3378 107.296 67.0119 107.296ZM65.2383 105.523C64.9124 105.523 64.6479 105.787 64.6479 106.114C64.6479 106.439 64.9124 106.704 65.2383 106.704C65.5647 106.704 65.8292 106.439 65.8292 106.114C65.8292 105.787 65.5647 105.523 65.2383 105.523ZM67.0119 103.75C66.6855 103.75 66.421 104.014 66.421 104.34C66.421 104.666 66.6855 104.93 67.0119 104.93C67.3378 104.93 67.6023 104.666 67.6023 104.34C67.6023 104.014 67.3378 103.75 67.0119 103.75ZM65.2383 101.976C64.9124 101.976 64.6479 102.24 64.6479 102.567C64.6479 102.893 64.9124 103.157 65.2383 103.157C65.5647 103.157 65.8292 102.893 65.8292 102.567C65.8292 102.24 65.5647 101.976 65.2383 101.976ZM67.0119 100.203C66.6855 100.203 66.421 100.467 66.421 100.793C66.421 101.12 66.6855 101.384 67.0119 101.384C67.3378 101.384 67.6023 101.12 67.6023 100.793C67.6023 100.467 67.3378 100.203 67.0119 100.203ZM65.2383 98.4292C64.9124 98.4292 64.6479 98.6942 64.6479 99.0201C64.6479 99.346 64.9124 99.6105 65.2383 99.6105C65.5647 99.6105 65.8292 99.346 65.8292 99.0201C65.8292 98.6942 65.5647 98.4292 65.2383 98.4292ZM67.0119 96.6561C66.6855 96.6561 66.421 96.9206 66.421 97.2465C66.421 97.5729 66.6855 97.8374 67.0119 97.8374C67.3378 97.8374 67.6023 97.5729 67.6023 97.2465C67.6023 96.9206 67.3378 96.6561 67.0119 96.6561ZM65.2383 94.883C64.9124 94.883 64.6479 95.147 64.6479 95.4734C64.6479 95.7993 64.9124 96.0638 65.2383 96.0638C65.5647 96.0638 65.8292 95.7993 65.8292 95.4734C65.8292 95.147 65.5647 94.883 65.2383 94.883ZM67.0119 93.1094C66.6855 93.1094 66.421 93.3739 66.421 93.6998C66.421 94.0262 66.6855 94.2907 67.0119 94.2907C67.3378 94.2907 67.6023 94.0262 67.6023 93.6998C67.6023 93.3739 67.3378 93.1094 67.0119 93.1094ZM65.2383 91.3363C64.9124 91.3363 64.6479 91.6003 64.6479 91.9267C64.6479 92.2531 64.9124 92.5171 65.2383 92.5171C65.5647 92.5171 65.8292 92.2531 65.8292 91.9267C65.8292 91.6003 65.5647 91.3363 65.2383 91.3363ZM67.0119 89.5627C66.6855 89.5627 66.421 89.8272 66.421 90.1535C66.421 90.4795 66.6855 90.7439 67.0119 90.7439C67.3378 90.7439 67.6023 90.4795 67.6023 90.1535C67.6023 89.8272 67.3378 89.5627 67.0119 89.5627ZM65.2383 87.7896C64.9124 87.7896 64.6479 88.054 64.6479 88.38C64.6479 88.7064 64.9124 88.9704 65.2383 88.9704C65.5647 88.9704 65.8292 88.7064 65.8292 88.38C65.8292 88.054 65.5647 87.7896 65.2383 87.7896ZM67.0119 86.016C66.6855 86.016 66.421 86.2804 66.421 86.6064C66.421 86.9328 66.6855 87.1972 67.0119 87.1972C67.3378 87.1972 67.6023 86.9328 67.6023 86.6064C67.6023 86.2804 67.3378 86.016 67.0119 86.016ZM65.2383 84.2428C64.9124 84.2428 64.6479 84.5073 64.6479 84.8332C64.6479 85.1596 64.9124 85.4241 65.2383 85.4241C65.5647 85.4241 65.8292 85.1596 65.8292 84.8332C65.8292 84.5073 65.5647 84.2428 65.2383 84.2428ZM67.0119 82.4692C66.6855 82.4692 66.421 82.7337 66.421 83.0601C66.421 83.386 66.6855 83.6505 67.0119 83.6505C67.3378 83.6505 67.6023 83.386 67.6023 83.0601C67.6023 82.7337 67.3378 82.4692 67.0119 82.4692ZM65.2383 80.6961C64.9124 80.6961 64.6479 80.9606 64.6479 81.2865C64.6479 81.6129 64.9124 81.8769 65.2383 81.8769C65.5647 81.8769 65.8292 81.6129 65.8292 81.2865C65.8292 80.9606 65.5647 80.6961 65.2383 80.6961ZM67.0119 78.923C66.6855 78.923 66.421 79.187 66.421 79.5134C66.421 79.8393 66.6855 80.1038 67.0119 80.1038C67.3378 80.1038 67.6023 79.8393 67.6023 79.5134C67.6023 79.187 67.3378 78.923 67.0119 78.923ZM65.2383 77.1494C64.9124 77.1494 64.6479 77.4139 64.6479 77.7398C64.6479 78.0662 64.9124 78.3307 65.2383 78.3307C65.5647 78.3307 65.8292 78.0662 65.8292 77.7398C65.8292 77.4139 65.5647 77.1494 65.2383 77.1494ZM67.0119 75.3763C66.6855 75.3763 66.421 75.6403 66.421 75.9667C66.421 76.2931 66.6855 76.5571 67.0119 76.5571C67.3378 76.5571 67.6023 76.2931 67.6023 75.9667C67.6023 75.6403 67.3378 75.3763 67.0119 75.3763ZM65.2383 73.6027C64.9124 73.6027 64.6479 73.8671 64.6479 74.1936C64.6479 74.5195 64.9124 74.784 65.2383 74.784C65.5647 74.784 65.8292 74.5195 65.8292 74.1936C65.8292 73.8671 65.5647 73.6027 65.2383 73.6027ZM67.0119 71.8296C66.6855 71.8296 66.421 72.094 66.421 72.4199C66.421 72.7463 66.6855 73.0104 67.0119 73.0104C67.3378 73.0104 67.6023 72.7463 67.6023 72.4199C67.6023 72.094 67.3378 71.8296 67.0119 71.8296ZM65.2383 70.056C64.9124 70.056 64.6479 70.3204 64.6479 70.6464C64.6479 70.9727 64.9124 71.2372 65.2383 71.2372C65.5647 71.2372 65.8292 70.9727 65.8292 70.6464C65.8292 70.3204 65.5647 70.056 65.2383 70.056ZM67.0119 68.2828C66.6855 68.2828 66.421 68.5468 66.421 68.8732C66.421 69.1996 66.6855 69.4641 67.0119 69.4641C67.3378 69.4641 67.6023 69.1996 67.6023 68.8732C67.6023 68.5468 67.3378 68.2828 67.0119 68.2828ZM65.2383 66.5092C64.9124 66.5092 64.6479 66.7737 64.6479 67.1001C64.6479 67.426 64.9124 67.6905 65.2383 67.6905C65.5647 67.6905 65.8292 67.426 65.8292 67.1001C65.8292 66.7737 65.5647 66.5092 65.2383 66.5092ZM67.0119 64.7361C66.6855 64.7361 66.421 65.0006 66.421 65.3265C66.421 65.6529 66.6855 65.9169 67.0119 65.9169C67.3378 65.9169 67.6023 65.6529 67.6023 65.3265C67.6023 65.0006 67.3378 64.7361 67.0119 64.7361ZM65.2383 62.963C64.9124 62.963 64.6479 63.227 64.6479 63.5534C64.6479 63.8793 64.9124 64.1438 65.2383 64.1438C65.5647 64.1438 65.8292 63.8793 65.8292 63.5534C65.8292 63.227 65.5647 62.963 65.2383 62.963ZM67.0119 61.1894C66.6855 61.1894 66.421 61.4539 66.421 61.7798C66.421 62.1062 66.6855 62.3707 67.0119 62.3707C67.3378 62.3707 67.6023 62.1062 67.6023 61.7798C67.6023 61.4539 67.3378 61.1894 67.0119 61.1894ZM66.8665 58.7947C66.914 58.8067 66.9601 58.8239 67.0119 58.8239C67.3378 58.8239 67.6023 58.5595 67.6023 58.2336C67.6023 58.054 67.5183 57.899 67.3925 57.791L66.8665 58.7947ZM70.5586 156.95C70.3729 156.95 70.2145 157.04 70.106 157.175L71.113 157.361C71.0362 157.124 70.8212 156.95 70.5586 156.95ZM68.785 155.176C68.4591 155.176 68.1946 155.441 68.1946 155.767C68.1946 156.093 68.4591 156.357 68.785 156.357C69.1109 156.357 69.3759 156.093 69.3759 155.767C69.3759 155.441 69.1109 155.176 68.785 155.176ZM70.5586 153.403C70.2322 153.403 69.9677 153.668 69.9677 153.994C69.9677 154.319 70.2322 154.584 70.5586 154.584C70.8845 154.584 71.149 154.319 71.149 153.994C71.149 153.668 70.8845 153.403 70.5586 153.403ZM68.785 151.63C68.4591 151.63 68.1946 151.894 68.1946 152.22C68.1946 152.546 68.4591 152.811 68.785 152.811C69.1109 152.811 69.3759 152.546 69.3759 152.22C69.3759 151.894 69.1109 151.63 68.785 151.63ZM70.5586 149.856C70.2322 149.856 69.9677 150.12 69.9677 150.447C69.9677 150.773 70.2322 151.037 70.5586 151.037C70.8845 151.037 71.149 150.773 71.149 150.447C71.149 150.12 70.8845 149.856 70.5586 149.856ZM68.785 148.083C68.4591 148.083 68.1946 148.347 68.1946 148.674C68.1946 149 68.4591 149.264 68.785 149.264C69.1109 149.264 69.3759 149 69.3759 148.674C69.3759 148.347 69.1109 148.083 68.785 148.083ZM70.5586 146.31C70.2322 146.31 69.9677 146.574 69.9677 146.9C69.9677 147.227 70.2322 147.491 70.5586 147.491C70.8845 147.491 71.149 147.227 71.149 146.9C71.149 146.574 70.8845 146.31 70.5586 146.31ZM68.785 144.536C68.4591 144.536 68.1946 144.801 68.1946 145.127C68.1946 145.453 68.4591 145.717 68.785 145.717C69.1109 145.717 69.3759 145.453 69.3759 145.127C69.3759 144.801 69.1109 144.536 68.785 144.536ZM70.5586 142.763C70.2322 142.763 69.9677 143.027 69.9677 143.354C69.9677 143.679 70.2322 143.944 70.5586 143.944C70.8845 143.944 71.149 143.679 71.149 143.354C71.149 143.027 70.8845 142.763 70.5586 142.763ZM68.785 140.99C68.4591 140.99 68.1946 141.254 68.1946 141.58C68.1946 141.906 68.4591 142.171 68.785 142.171C69.1109 142.171 69.3759 141.906 69.3759 141.58C69.3759 141.254 69.1109 140.99 68.785 140.99ZM70.5586 139.216C70.2322 139.216 69.9677 139.481 69.9677 139.807C69.9677 140.133 70.2322 140.397 70.5586 140.397C70.8845 140.397 71.149 140.133 71.149 139.807C71.149 139.481 70.8845 139.216 70.5586 139.216ZM68.785 137.443C68.4591 137.443 68.1946 137.707 68.1946 138.034C68.1946 138.359 68.4591 138.624 68.785 138.624C69.1109 138.624 69.3759 138.359 69.3759 138.034C69.3759 137.707 69.1109 137.443 68.785 137.443ZM70.5586 135.67C70.2322 135.67 69.9677 135.934 69.9677 136.26C69.9677 136.586 70.2322 136.851 70.5586 136.851C70.8845 136.851 71.149 136.586 71.149 136.26C71.149 135.934 70.8845 135.67 70.5586 135.67ZM68.785 133.896C68.4591 133.896 68.1946 134.16 68.1946 134.487C68.1946 134.813 68.4591 135.077 68.785 135.077C69.1109 135.077 69.3759 134.813 69.3759 134.487C69.3759 134.16 69.1109 133.896 68.785 133.896ZM70.5586 132.123C70.2322 132.123 69.9677 132.387 69.9677 132.714C69.9677 133.04 70.2322 133.304 70.5586 133.304C70.8845 133.304 71.149 133.04 71.149 132.714C71.149 132.387 70.8845 132.123 70.5586 132.123ZM68.785 130.35C68.4591 130.35 68.1946 130.614 68.1946 130.94C68.1946 131.267 68.4591 131.531 68.785 131.531C69.1109 131.531 69.3759 131.267 69.3759 130.94C69.3759 130.614 69.1109 130.35 68.785 130.35ZM70.5586 128.576C70.2322 128.576 69.9677 128.841 69.9677 129.167C69.9677 129.493 70.2322 129.757 70.5586 129.757C70.8845 129.757 71.149 129.493 71.149 129.167C71.149 128.841 70.8845 128.576 70.5586 128.576ZM68.785 126.803C68.4591 126.803 68.1946 127.067 68.1946 127.393C68.1946 127.719 68.4591 127.984 68.785 127.984C69.1109 127.984 69.3759 127.719 69.3759 127.393C69.3759 127.067 69.1109 126.803 68.785 126.803ZM70.5586 125.029C70.2322 125.029 69.9677 125.294 69.9677 125.62C69.9677 125.946 70.2322 126.211 70.5586 126.211C70.8845 126.211 71.149 125.946 71.149 125.62C71.149 125.294 70.8845 125.029 70.5586 125.029ZM68.785 123.256C68.4591 123.256 68.1946 123.52 68.1946 123.847C68.1946 124.173 68.4591 124.437 68.785 124.437C69.1109 124.437 69.3759 124.173 69.3759 123.847C69.3759 123.52 69.1109 123.256 68.785 123.256ZM70.5586 121.483C70.2322 121.483 69.9677 121.747 69.9677 122.074C69.9677 122.399 70.2322 122.664 70.5586 122.664C70.8845 122.664 71.149 122.399 71.149 122.074C71.149 121.747 70.8845 121.483 70.5586 121.483ZM68.785 119.71C68.4591 119.71 68.1946 119.974 68.1946 120.3C68.1946 120.626 68.4591 120.891 68.785 120.891C69.1109 120.891 69.3759 120.626 69.3759 120.3C69.3759 119.974 69.1109 119.71 68.785 119.71ZM70.5586 117.936C70.2322 117.936 69.9677 118.2 69.9677 118.527C69.9677 118.853 70.2322 119.117 70.5586 119.117C70.8845 119.117 71.149 118.853 71.149 118.527C71.149 118.2 70.8845 117.936 70.5586 117.936ZM68.785 116.163C68.4591 116.163 68.1946 116.427 68.1946 116.754C68.1946 117.08 68.4591 117.344 68.785 117.344C69.1109 117.344 69.3759 117.08 69.3759 116.754C69.3759 116.427 69.1109 116.163 68.785 116.163ZM70.5586 114.39C70.2322 114.39 69.9677 114.654 69.9677 114.98C69.9677 115.306 70.2322 115.571 70.5586 115.571C70.8845 115.571 71.149 115.306 71.149 114.98C71.149 114.654 70.8845 114.39 70.5586 114.39ZM68.785 112.616C68.4591 112.616 68.1946 112.881 68.1946 113.207C68.1946 113.533 68.4591 113.797 68.785 113.797C69.1109 113.797 69.3759 113.533 69.3759 113.207C69.3759 112.881 69.1109 112.616 68.785 112.616ZM70.5586 110.843C70.2322 110.843 69.9677 111.107 69.9677 111.433C69.9677 111.759 70.2322 112.024 70.5586 112.024C70.8845 112.024 71.149 111.759 71.149 111.433C71.149 111.107 70.8845 110.843 70.5586 110.843ZM68.785 109.069C68.4591 109.069 68.1946 109.334 68.1946 109.66C68.1946 109.986 68.4591 110.251 68.785 110.251C69.1109 110.251 69.3759 109.986 69.3759 109.66C69.3759 109.334 69.1109 109.069 68.785 109.069ZM70.5586 107.296C70.2322 107.296 69.9677 107.561 69.9677 107.887C69.9677 108.213 70.2322 108.477 70.5586 108.477C70.8845 108.477 71.149 108.213 71.149 107.887C71.149 107.561 70.8845 107.296 70.5586 107.296ZM68.785 105.523C68.4591 105.523 68.1946 105.787 68.1946 106.114C68.1946 106.439 68.4591 106.704 68.785 106.704C69.1109 106.704 69.3759 106.439 69.3759 106.114C69.3759 105.787 69.1109 105.523 68.785 105.523ZM70.5586 103.75C70.2322 103.75 69.9677 104.014 69.9677 104.34C69.9677 104.666 70.2322 104.93 70.5586 104.93C70.8845 104.93 71.149 104.666 71.149 104.34C71.149 104.014 70.8845 103.75 70.5586 103.75ZM68.785 101.976C68.4591 101.976 68.1946 102.24 68.1946 102.567C68.1946 102.893 68.4591 103.157 68.785 103.157C69.1109 103.157 69.3759 102.893 69.3759 102.567C69.3759 102.24 69.1109 101.976 68.785 101.976ZM70.5586 100.203C70.2322 100.203 69.9677 100.467 69.9677 100.793C69.9677 101.12 70.2322 101.384 70.5586 101.384C70.8845 101.384 71.149 101.12 71.149 100.793C71.149 100.467 70.8845 100.203 70.5586 100.203ZM68.785 98.4292C68.4591 98.4292 68.1946 98.6942 68.1946 99.0201C68.1946 99.346 68.4591 99.6105 68.785 99.6105C69.1109 99.6105 69.3759 99.346 69.3759 99.0201C69.3759 98.6942 69.1109 98.4292 68.785 98.4292ZM70.5586 96.6561C70.2322 96.6561 69.9677 96.9206 69.9677 97.2465C69.9677 97.5729 70.2322 97.8374 70.5586 97.8374C70.8845 97.8374 71.149 97.5729 71.149 97.2465C71.149 96.9206 70.8845 96.6561 70.5586 96.6561ZM68.785 94.883C68.4591 94.883 68.1946 95.147 68.1946 95.4734C68.1946 95.7993 68.4591 96.0638 68.785 96.0638C69.1109 96.0638 69.3759 95.7993 69.3759 95.4734C69.3759 95.147 69.1109 94.883 68.785 94.883ZM70.5586 93.1094C70.2322 93.1094 69.9677 93.3739 69.9677 93.6998C69.9677 94.0262 70.2322 94.2907 70.5586 94.2907C70.8845 94.2907 71.149 94.0262 71.149 93.6998C71.149 93.3739 70.8845 93.1094 70.5586 93.1094ZM68.785 91.3363C68.4591 91.3363 68.1946 91.6003 68.1946 91.9267C68.1946 92.2531 68.4591 92.5171 68.785 92.5171C69.1109 92.5171 69.3759 92.2531 69.3759 91.9267C69.3759 91.6003 69.1109 91.3363 68.785 91.3363ZM70.5586 89.5627C70.2322 89.5627 69.9677 89.8272 69.9677 90.1535C69.9677 90.4795 70.2322 90.7439 70.5586 90.7439C70.8845 90.7439 71.149 90.4795 71.149 90.1535C71.149 89.8272 70.8845 89.5627 70.5586 89.5627ZM68.785 87.7896C68.4591 87.7896 68.1946 88.054 68.1946 88.38C68.1946 88.7064 68.4591 88.9704 68.785 88.9704C69.1109 88.9704 69.3759 88.7064 69.3759 88.38C69.3759 88.054 69.1109 87.7896 68.785 87.7896ZM70.5586 86.016C70.2322 86.016 69.9677 86.2804 69.9677 86.6064C69.9677 86.9328 70.2322 87.1972 70.5586 87.1972C70.8845 87.1972 71.149 86.9328 71.149 86.6064C71.149 86.2804 70.8845 86.016 70.5586 86.016ZM68.785 84.2428C68.4591 84.2428 68.1946 84.5073 68.1946 84.8332C68.1946 85.1596 68.4591 85.4241 68.785 85.4241C69.1109 85.4241 69.3759 85.1596 69.3759 84.8332C69.3759 84.5073 69.1109 84.2428 68.785 84.2428ZM70.5586 82.4692C70.2322 82.4692 69.9677 82.7337 69.9677 83.0601C69.9677 83.386 70.2322 83.6505 70.5586 83.6505C70.8845 83.6505 71.149 83.386 71.149 83.0601C71.149 82.7337 70.8845 82.4692 70.5586 82.4692ZM68.785 80.6961C68.4591 80.6961 68.1946 80.9606 68.1946 81.2865C68.1946 81.6129 68.4591 81.8769 68.785 81.8769C69.1109 81.8769 69.3759 81.6129 69.3759 81.2865C69.3759 80.9606 69.1109 80.6961 68.785 80.6961ZM70.5586 78.923C70.2322 78.923 69.9677 79.187 69.9677 79.5134C69.9677 79.8393 70.2322 80.1038 70.5586 80.1038C70.8845 80.1038 71.149 79.8393 71.149 79.5134C71.149 79.187 70.8845 78.923 70.5586 78.923ZM68.785 77.1494C68.4591 77.1494 68.1946 77.4139 68.1946 77.7398C68.1946 78.0662 68.4591 78.3307 68.785 78.3307C69.1109 78.3307 69.3759 78.0662 69.3759 77.7398C69.3759 77.4139 69.1109 77.1494 68.785 77.1494ZM70.5586 75.3763C70.2322 75.3763 69.9677 75.6403 69.9677 75.9667C69.9677 76.2931 70.2322 76.5571 70.5586 76.5571C70.8845 76.5571 71.149 76.2931 71.149 75.9667C71.149 75.6403 70.8845 75.3763 70.5586 75.3763ZM68.785 73.6027C68.4591 73.6027 68.1946 73.8671 68.1946 74.1936C68.1946 74.5195 68.4591 74.784 68.785 74.784C69.1109 74.784 69.3759 74.5195 69.3759 74.1936C69.3759 73.8671 69.1109 73.6027 68.785 73.6027ZM70.5586 71.8296C70.2322 71.8296 69.9677 72.094 69.9677 72.4199C69.9677 72.7463 70.2322 73.0104 70.5586 73.0104C70.8845 73.0104 71.149 72.7463 71.149 72.4199C71.149 72.094 70.8845 71.8296 70.5586 71.8296ZM68.785 70.056C68.4591 70.056 68.1946 70.3204 68.1946 70.6464C68.1946 70.9727 68.4591 71.2372 68.785 71.2372C69.1109 71.2372 69.3759 70.9727 69.3759 70.6464C69.3759 70.3204 69.1109 70.056 68.785 70.056ZM70.5586 68.2828C70.2322 68.2828 69.9677 68.5468 69.9677 68.8732C69.9677 69.1996 70.2322 69.4641 70.5586 69.4641C70.8845 69.4641 71.149 69.1996 71.149 68.8732C71.149 68.5468 70.8845 68.2828 70.5586 68.2828ZM68.785 66.5092C68.4591 66.5092 68.1946 66.7737 68.1946 67.1001C68.1946 67.426 68.4591 67.6905 68.785 67.6905C69.1109 67.6905 69.3759 67.426 69.3759 67.1001C69.3759 66.7737 69.1109 66.5092 68.785 66.5092ZM70.5586 64.7361C70.2322 64.7361 69.9677 65.0006 69.9677 65.3265C69.9677 65.6529 70.2322 65.9169 70.5586 65.9169C70.8845 65.9169 71.149 65.6529 71.149 65.3265C71.149 65.0006 70.8845 64.7361 70.5586 64.7361ZM68.785 62.963C68.4591 62.963 68.1946 63.227 68.1946 63.5534C68.1946 63.8793 68.4591 64.1438 68.785 64.1438C69.1109 64.1438 69.3759 63.8793 69.3759 63.5534C69.3759 63.227 69.1109 62.963 68.785 62.963ZM70.5586 61.1894C70.2322 61.1894 69.9677 61.4539 69.9677 61.7798C69.9677 62.1062 70.2322 62.3707 70.5586 62.3707C70.8845 62.3707 71.149 62.1062 71.149 61.7798C71.149 61.4539 70.8845 61.1894 70.5586 61.1894ZM68.785 59.4163C68.4591 59.4163 68.1946 59.6803 68.1946 60.0067C68.1946 60.3326 68.4591 60.5971 68.785 60.5971C69.1109 60.5971 69.3759 60.3326 69.3759 60.0067C69.3759 59.6803 69.1109 59.4163 68.785 59.4163ZM70.5586 57.6427C70.2322 57.6427 69.9677 57.9072 69.9677 58.2336C69.9677 58.5595 70.2322 58.8239 70.5586 58.8239C70.8845 58.8239 71.149 58.5595 71.149 58.2336C71.149 57.9072 70.8845 57.6427 70.5586 57.6427ZM68.785 55.8696C68.4591 55.8696 68.1946 56.134 68.1946 56.4599C68.1946 56.7863 68.4591 57.0504 68.785 57.0504C69.1109 57.0504 69.3759 56.7863 69.3759 56.4599C69.3759 56.134 69.1109 55.8696 68.785 55.8696ZM70.5586 54.096C70.2322 54.096 69.9677 54.3604 69.9677 54.6863C69.9677 55.0127 70.2322 55.2772 70.5586 55.2772C70.8845 55.2772 71.149 55.0127 71.149 54.6863C71.149 54.3604 70.8845 54.096 70.5586 54.096ZM70.5687 51.7286C70.8898 51.7228 71.149 51.4627 71.149 51.1401C71.149 51.0201 71.1044 50.9155 71.0434 50.8223L70.5687 51.7286ZM74.1049 156.95C73.7789 156.95 73.5145 157.214 73.5145 157.54C73.5145 157.645 73.549 157.739 73.5975 157.824L74.4783 157.988C74.6084 157.879 74.6957 157.723 74.6957 157.54C74.6957 157.214 74.4313 156.95 74.1049 156.95ZM72.3317 155.176C72.0058 155.176 71.7409 155.441 71.7409 155.767C71.7409 156.093 72.0058 156.357 72.3317 156.357C72.6581 156.357 72.9221 156.093 72.9221 155.767C72.9221 155.441 72.6581 155.176 72.3317 155.176ZM74.1049 153.403C73.7789 153.403 73.5145 153.668 73.5145 153.994C73.5145 154.319 73.7789 154.584 74.1049 154.584C74.4313 154.584 74.6957 154.319 74.6957 153.994C74.6957 153.668 74.4313 153.403 74.1049 153.403ZM72.3317 151.63C72.0058 151.63 71.7409 151.894 71.7409 152.22C71.7409 152.546 72.0058 152.811 72.3317 152.811C72.6581 152.811 72.9221 152.546 72.9221 152.22C72.9221 151.894 72.6581 151.63 72.3317 151.63ZM74.1049 149.856C73.7789 149.856 73.5145 150.12 73.5145 150.447C73.5145 150.773 73.7789 151.037 74.1049 151.037C74.4313 151.037 74.6957 150.773 74.6957 150.447C74.6957 150.12 74.4313 149.856 74.1049 149.856ZM72.3317 148.083C72.0058 148.083 71.7409 148.347 71.7409 148.674C71.7409 149 72.0058 149.264 72.3317 149.264C72.6581 149.264 72.9221 149 72.9221 148.674C72.9221 148.347 72.6581 148.083 72.3317 148.083ZM74.1049 146.31C73.7789 146.31 73.5145 146.574 73.5145 146.9C73.5145 147.227 73.7789 147.491 74.1049 147.491C74.4313 147.491 74.6957 147.227 74.6957 146.9C74.6957 146.574 74.4313 146.31 74.1049 146.31ZM72.3317 144.536C72.0058 144.536 71.7409 144.801 71.7409 145.127C71.7409 145.453 72.0058 145.717 72.3317 145.717C72.6581 145.717 72.9221 145.453 72.9221 145.127C72.9221 144.801 72.6581 144.536 72.3317 144.536ZM74.1049 142.763C73.7789 142.763 73.5145 143.027 73.5145 143.354C73.5145 143.679 73.7789 143.944 74.1049 143.944C74.4313 143.944 74.6957 143.679 74.6957 143.354C74.6957 143.027 74.4313 142.763 74.1049 142.763ZM72.3317 140.99C72.0058 140.99 71.7409 141.254 71.7409 141.58C71.7409 141.906 72.0058 142.171 72.3317 142.171C72.6581 142.171 72.9221 141.906 72.9221 141.58C72.9221 141.254 72.6581 140.99 72.3317 140.99ZM74.1049 139.216C73.7789 139.216 73.5145 139.481 73.5145 139.807C73.5145 140.133 73.7789 140.397 74.1049 140.397C74.4313 140.397 74.6957 140.133 74.6957 139.807C74.6957 139.481 74.4313 139.216 74.1049 139.216ZM72.3317 137.443C72.0058 137.443 71.7409 137.707 71.7409 138.034C71.7409 138.359 72.0058 138.624 72.3317 138.624C72.6581 138.624 72.9221 138.359 72.9221 138.034C72.9221 137.707 72.6581 137.443 72.3317 137.443ZM74.1049 135.67C73.7789 135.67 73.5145 135.934 73.5145 136.26C73.5145 136.586 73.7789 136.851 74.1049 136.851C74.4313 136.851 74.6957 136.586 74.6957 136.26C74.6957 135.934 74.4313 135.67 74.1049 135.67ZM72.3317 133.896C72.0058 133.896 71.7409 134.16 71.7409 134.487C71.7409 134.813 72.0058 135.077 72.3317 135.077C72.6581 135.077 72.9221 134.813 72.9221 134.487C72.9221 134.16 72.6581 133.896 72.3317 133.896ZM74.1049 132.123C73.7789 132.123 73.5145 132.387 73.5145 132.714C73.5145 133.04 73.7789 133.304 74.1049 133.304C74.4313 133.304 74.6957 133.04 74.6957 132.714C74.6957 132.387 74.4313 132.123 74.1049 132.123ZM72.3317 130.35C72.0058 130.35 71.7409 130.614 71.7409 130.94C71.7409 131.267 72.0058 131.531 72.3317 131.531C72.6581 131.531 72.9221 131.267 72.9221 130.94C72.9221 130.614 72.6581 130.35 72.3317 130.35ZM74.1049 128.576C73.7789 128.576 73.5145 128.841 73.5145 129.167C73.5145 129.493 73.7789 129.757 74.1049 129.757C74.4313 129.757 74.6957 129.493 74.6957 129.167C74.6957 128.841 74.4313 128.576 74.1049 128.576ZM72.3317 126.803C72.0058 126.803 71.7409 127.067 71.7409 127.393C71.7409 127.719 72.0058 127.984 72.3317 127.984C72.6581 127.984 72.9221 127.719 72.9221 127.393C72.9221 127.067 72.6581 126.803 72.3317 126.803ZM74.1049 125.029C73.7789 125.029 73.5145 125.294 73.5145 125.62C73.5145 125.946 73.7789 126.211 74.1049 126.211C74.4313 126.211 74.6957 125.946 74.6957 125.62C74.6957 125.294 74.4313 125.029 74.1049 125.029ZM72.3317 123.256C72.0058 123.256 71.7409 123.52 71.7409 123.847C71.7409 124.173 72.0058 124.437 72.3317 124.437C72.6581 124.437 72.9221 124.173 72.9221 123.847C72.9221 123.52 72.6581 123.256 72.3317 123.256ZM74.1049 121.483C73.7789 121.483 73.5145 121.747 73.5145 122.074C73.5145 122.399 73.7789 122.664 74.1049 122.664C74.4313 122.664 74.6957 122.399 74.6957 122.074C74.6957 121.747 74.4313 121.483 74.1049 121.483ZM72.3317 119.71C72.0058 119.71 71.7409 119.974 71.7409 120.3C71.7409 120.626 72.0058 120.891 72.3317 120.891C72.6581 120.891 72.9221 120.626 72.9221 120.3C72.9221 119.974 72.6581 119.71 72.3317 119.71ZM74.1049 117.936C73.7789 117.936 73.5145 118.2 73.5145 118.527C73.5145 118.853 73.7789 119.117 74.1049 119.117C74.4313 119.117 74.6957 118.853 74.6957 118.527C74.6957 118.2 74.4313 117.936 74.1049 117.936ZM72.3317 116.163C72.0058 116.163 71.7409 116.427 71.7409 116.754C71.7409 117.08 72.0058 117.344 72.3317 117.344C72.6581 117.344 72.9221 117.08 72.9221 116.754C72.9221 116.427 72.6581 116.163 72.3317 116.163ZM74.1049 114.39C73.7789 114.39 73.5145 114.654 73.5145 114.98C73.5145 115.306 73.7789 115.571 74.1049 115.571C74.4313 115.571 74.6957 115.306 74.6957 114.98C74.6957 114.654 74.4313 114.39 74.1049 114.39ZM72.3317 112.616C72.0058 112.616 71.7409 112.881 71.7409 113.207C71.7409 113.533 72.0058 113.797 72.3317 113.797C72.6581 113.797 72.9221 113.533 72.9221 113.207C72.9221 112.881 72.6581 112.616 72.3317 112.616ZM74.1049 110.843C73.7789 110.843 73.5145 111.107 73.5145 111.433C73.5145 111.759 73.7789 112.024 74.1049 112.024C74.4313 112.024 74.6957 111.759 74.6957 111.433C74.6957 111.107 74.4313 110.843 74.1049 110.843ZM72.3317 109.069C72.0058 109.069 71.7409 109.334 71.7409 109.66C71.7409 109.986 72.0058 110.251 72.3317 110.251C72.6581 110.251 72.9221 109.986 72.9221 109.66C72.9221 109.334 72.6581 109.069 72.3317 109.069ZM74.1049 107.296C73.7789 107.296 73.5145 107.561 73.5145 107.887C73.5145 108.213 73.7789 108.477 74.1049 108.477C74.4313 108.477 74.6957 108.213 74.6957 107.887C74.6957 107.561 74.4313 107.296 74.1049 107.296ZM72.3317 105.523C72.0058 105.523 71.7409 105.787 71.7409 106.114C71.7409 106.439 72.0058 106.704 72.3317 106.704C72.6581 106.704 72.9221 106.439 72.9221 106.114C72.9221 105.787 72.6581 105.523 72.3317 105.523ZM74.1049 103.75C73.7789 103.75 73.5145 104.014 73.5145 104.34C73.5145 104.666 73.7789 104.93 74.1049 104.93C74.4313 104.93 74.6957 104.666 74.6957 104.34C74.6957 104.014 74.4313 103.75 74.1049 103.75ZM72.3317 101.976C72.0058 101.976 71.7409 102.24 71.7409 102.567C71.7409 102.893 72.0058 103.157 72.3317 103.157C72.6581 103.157 72.9221 102.893 72.9221 102.567C72.9221 102.24 72.6581 101.976 72.3317 101.976ZM74.1049 100.203C73.7789 100.203 73.5145 100.467 73.5145 100.793C73.5145 101.12 73.7789 101.384 74.1049 101.384C74.4313 101.384 74.6957 101.12 74.6957 100.793C74.6957 100.467 74.4313 100.203 74.1049 100.203ZM72.3317 98.4292C72.0058 98.4292 71.7409 98.6942 71.7409 99.0201C71.7409 99.346 72.0058 99.6105 72.3317 99.6105C72.6581 99.6105 72.9221 99.346 72.9221 99.0201C72.9221 98.6942 72.6581 98.4292 72.3317 98.4292ZM74.1049 96.6561C73.7789 96.6561 73.5145 96.9206 73.5145 97.2465C73.5145 97.5729 73.7789 97.8374 74.1049 97.8374C74.4313 97.8374 74.6957 97.5729 74.6957 97.2465C74.6957 96.9206 74.4313 96.6561 74.1049 96.6561ZM72.3317 94.883C72.0058 94.883 71.7409 95.147 71.7409 95.4734C71.7409 95.7993 72.0058 96.0638 72.3317 96.0638C72.6581 96.0638 72.9221 95.7993 72.9221 95.4734C72.9221 95.147 72.6581 94.883 72.3317 94.883ZM74.1049 93.1094C73.7789 93.1094 73.5145 93.3739 73.5145 93.6998C73.5145 94.0262 73.7789 94.2907 74.1049 94.2907C74.4313 94.2907 74.6957 94.0262 74.6957 93.6998C74.6957 93.3739 74.4313 93.1094 74.1049 93.1094ZM72.3317 91.3363C72.0058 91.3363 71.7409 91.6003 71.7409 91.9267C71.7409 92.2531 72.0058 92.5171 72.3317 92.5171C72.6581 92.5171 72.9221 92.2531 72.9221 91.9267C72.9221 91.6003 72.6581 91.3363 72.3317 91.3363ZM74.1049 89.5627C73.7789 89.5627 73.5145 89.8272 73.5145 90.1535C73.5145 90.4795 73.7789 90.7439 74.1049 90.7439C74.4313 90.7439 74.6957 90.4795 74.6957 90.1535C74.6957 89.8272 74.4313 89.5627 74.1049 89.5627ZM72.3317 87.7896C72.0058 87.7896 71.7409 88.054 71.7409 88.38C71.7409 88.7064 72.0058 88.9704 72.3317 88.9704C72.6581 88.9704 72.9221 88.7064 72.9221 88.38C72.9221 88.054 72.6581 87.7896 72.3317 87.7896ZM74.1049 86.016C73.7789 86.016 73.5145 86.2804 73.5145 86.6064C73.5145 86.9328 73.7789 87.1972 74.1049 87.1972C74.4313 87.1972 74.6957 86.9328 74.6957 86.6064C74.6957 86.2804 74.4313 86.016 74.1049 86.016ZM72.3317 84.2428C72.0058 84.2428 71.7409 84.5073 71.7409 84.8332C71.7409 85.1596 72.0058 85.4241 72.3317 85.4241C72.6581 85.4241 72.9221 85.1596 72.9221 84.8332C72.9221 84.5073 72.6581 84.2428 72.3317 84.2428ZM74.1049 82.4692C73.7789 82.4692 73.5145 82.7337 73.5145 83.0601C73.5145 83.386 73.7789 83.6505 74.1049 83.6505C74.4313 83.6505 74.6957 83.386 74.6957 83.0601C74.6957 82.7337 74.4313 82.4692 74.1049 82.4692ZM72.3317 80.6961C72.0058 80.6961 71.7409 80.9606 71.7409 81.2865C71.7409 81.6129 72.0058 81.8769 72.3317 81.8769C72.6581 81.8769 72.9221 81.6129 72.9221 81.2865C72.9221 80.9606 72.6581 80.6961 72.3317 80.6961ZM74.1049 78.923C73.7789 78.923 73.5145 79.187 73.5145 79.5134C73.5145 79.8393 73.7789 80.1038 74.1049 80.1038C74.4313 80.1038 74.6957 79.8393 74.6957 79.5134C74.6957 79.187 74.4313 78.923 74.1049 78.923ZM72.3317 77.1494C72.0058 77.1494 71.7409 77.4139 71.7409 77.7398C71.7409 78.0662 72.0058 78.3307 72.3317 78.3307C72.6581 78.3307 72.9221 78.0662 72.9221 77.7398C72.9221 77.4139 72.6581 77.1494 72.3317 77.1494ZM74.1049 75.3763C73.7789 75.3763 73.5145 75.6403 73.5145 75.9667C73.5145 76.2931 73.7789 76.5571 74.1049 76.5571C74.4313 76.5571 74.6957 76.2931 74.6957 75.9667C74.6957 75.6403 74.4313 75.3763 74.1049 75.3763ZM72.3317 73.6027C72.0058 73.6027 71.7409 73.8671 71.7409 74.1936C71.7409 74.5195 72.0058 74.784 72.3317 74.784C72.6581 74.784 72.9221 74.5195 72.9221 74.1936C72.9221 73.8671 72.6581 73.6027 72.3317 73.6027ZM74.1049 71.8296C73.7789 71.8296 73.5145 72.094 73.5145 72.4199C73.5145 72.7463 73.7789 73.0104 74.1049 73.0104C74.4313 73.0104 74.6957 72.7463 74.6957 72.4199C74.6957 72.094 74.4313 71.8296 74.1049 71.8296ZM72.3317 70.056C72.0058 70.056 71.7409 70.3204 71.7409 70.6464C71.7409 70.9727 72.0058 71.2372 72.3317 71.2372C72.6581 71.2372 72.9221 70.9727 72.9221 70.6464C72.9221 70.3204 72.6581 70.056 72.3317 70.056ZM74.1049 68.2828C73.7789 68.2828 73.5145 68.5468 73.5145 68.8732C73.5145 69.1996 73.7789 69.4641 74.1049 69.4641C74.4313 69.4641 74.6957 69.1996 74.6957 68.8732C74.6957 68.5468 74.4313 68.2828 74.1049 68.2828ZM72.3317 66.5092C72.0058 66.5092 71.7409 66.7737 71.7409 67.1001C71.7409 67.426 72.0058 67.6905 72.3317 67.6905C72.6581 67.6905 72.9221 67.426 72.9221 67.1001C72.9221 66.7737 72.6581 66.5092 72.3317 66.5092ZM74.1049 64.7361C73.7789 64.7361 73.5145 65.0006 73.5145 65.3265C73.5145 65.6529 73.7789 65.9169 74.1049 65.9169C74.4313 65.9169 74.6957 65.6529 74.6957 65.3265C74.6957 65.0006 74.4313 64.7361 74.1049 64.7361ZM72.3317 62.963C72.0058 62.963 71.7409 63.227 71.7409 63.5534C71.7409 63.8793 72.0058 64.1438 72.3317 64.1438C72.6581 64.1438 72.9221 63.8793 72.9221 63.5534C72.9221 63.227 72.6581 62.963 72.3317 62.963ZM74.1049 61.1894C73.7789 61.1894 73.5145 61.4539 73.5145 61.7798C73.5145 62.1062 73.7789 62.3707 74.1049 62.3707C74.4313 62.3707 74.6957 62.1062 74.6957 61.7798C74.6957 61.4539 74.4313 61.1894 74.1049 61.1894ZM72.3317 59.4163C72.0058 59.4163 71.7409 59.6803 71.7409 60.0067C71.7409 60.3326 72.0058 60.5971 72.3317 60.5971C72.6581 60.5971 72.9221 60.3326 72.9221 60.0067C72.9221 59.6803 72.6581 59.4163 72.3317 59.4163ZM74.1049 57.6427C73.7789 57.6427 73.5145 57.9072 73.5145 58.2336C73.5145 58.5595 73.7789 58.8239 74.1049 58.8239C74.4313 58.8239 74.6957 58.5595 74.6957 58.2336C74.6957 57.9072 74.4313 57.6427 74.1049 57.6427ZM72.3317 55.8696C72.0058 55.8696 71.7409 56.134 71.7409 56.4599C71.7409 56.7863 72.0058 57.0504 72.3317 57.0504C72.6581 57.0504 72.9221 56.7863 72.9221 56.4599C72.9221 56.134 72.6581 55.8696 72.3317 55.8696ZM74.1049 54.096C73.7789 54.096 73.5145 54.3604 73.5145 54.6863C73.5145 55.0127 73.7789 55.2772 74.1049 55.2772C74.4313 55.2772 74.6957 55.0127 74.6957 54.6863C74.6957 54.3604 74.4313 54.096 74.1049 54.096ZM72.3317 52.3228C72.0058 52.3228 71.7409 52.5868 71.7409 52.9132C71.7409 53.2396 72.0058 53.5041 72.3317 53.5041C72.6581 53.5041 72.9221 53.2396 72.9221 52.9132C72.9221 52.5868 72.6581 52.3228 72.3317 52.3228ZM74.1049 50.5492C73.7789 50.5492 73.5145 50.8137 73.5145 51.1401C73.5145 51.466 73.7789 51.7305 74.1049 51.7305C74.4313 51.7305 74.6957 51.466 74.6957 51.1401C74.6957 50.8137 74.4313 50.5492 74.1049 50.5492ZM72.3317 48.7761C72.2429 48.7761 72.1609 48.7987 72.0855 48.8337L71.8061 49.3665L71.7591 49.4563C71.8037 49.7375 72.0375 49.9569 72.3317 49.9569C72.6581 49.9569 72.9221 49.6929 72.9221 49.3665C72.9221 49.0406 72.6581 48.7761 72.3317 48.7761ZM74.1049 47.0025C73.7789 47.0025 73.5145 47.267 73.5145 47.5934C73.5145 47.9193 73.7789 48.1838 74.1049 48.1838C74.4313 48.1838 74.6957 47.9193 74.6957 47.5934C74.6957 47.267 74.4313 47.0025 74.1049 47.0025ZM74.305 44.5967C74.5316 44.5142 74.6957 44.302 74.6957 44.0467C74.6957 43.9963 74.6789 43.9521 74.6674 43.9055L74.305 44.5967ZM77.6516 156.95C77.3257 156.95 77.0612 157.214 77.0612 157.54C77.0612 157.866 77.3257 158.131 77.6516 158.131C77.978 158.131 78.2425 157.866 78.2425 157.54C78.2425 157.214 77.978 156.95 77.6516 156.95ZM75.8785 155.176C75.5521 155.176 75.2881 155.441 75.2881 155.767C75.2881 156.093 75.5521 156.357 75.8785 156.357C76.2044 156.357 76.4689 156.093 76.4689 155.767C76.4689 155.441 76.2044 155.176 75.8785 155.176ZM77.6516 153.403C77.3257 153.403 77.0612 153.668 77.0612 153.994C77.0612 154.319 77.3257 154.584 77.6516 154.584C77.978 154.584 78.2425 154.319 78.2425 153.994C78.2425 153.668 77.978 153.403 77.6516 153.403ZM75.8785 151.63C75.5521 151.63 75.2881 151.894 75.2881 152.22C75.2881 152.546 75.5521 152.811 75.8785 152.811C76.2044 152.811 76.4689 152.546 76.4689 152.22C76.4689 151.894 76.2044 151.63 75.8785 151.63ZM77.6516 149.856C77.3257 149.856 77.0612 150.12 77.0612 150.447C77.0612 150.773 77.3257 151.037 77.6516 151.037C77.978 151.037 78.2425 150.773 78.2425 150.447C78.2425 150.12 77.978 149.856 77.6516 149.856ZM75.8785 148.083C75.5521 148.083 75.2881 148.347 75.2881 148.674C75.2881 149 75.5521 149.264 75.8785 149.264C76.2044 149.264 76.4689 149 76.4689 148.674C76.4689 148.347 76.2044 148.083 75.8785 148.083ZM77.6516 146.31C77.3257 146.31 77.0612 146.574 77.0612 146.9C77.0612 147.227 77.3257 147.491 77.6516 147.491C77.978 147.491 78.2425 147.227 78.2425 146.9C78.2425 146.574 77.978 146.31 77.6516 146.31ZM75.8785 144.536C75.5521 144.536 75.2881 144.801 75.2881 145.127C75.2881 145.453 75.5521 145.717 75.8785 145.717C76.2044 145.717 76.4689 145.453 76.4689 145.127C76.4689 144.801 76.2044 144.536 75.8785 144.536ZM77.6516 142.763C77.3257 142.763 77.0612 143.027 77.0612 143.354C77.0612 143.679 77.3257 143.944 77.6516 143.944C77.978 143.944 78.2425 143.679 78.2425 143.354C78.2425 143.027 77.978 142.763 77.6516 142.763ZM75.8785 140.99C75.5521 140.99 75.2881 141.254 75.2881 141.58C75.2881 141.906 75.5521 142.171 75.8785 142.171C76.2044 142.171 76.4689 141.906 76.4689 141.58C76.4689 141.254 76.2044 140.99 75.8785 140.99ZM77.6516 139.216C77.3257 139.216 77.0612 139.481 77.0612 139.807C77.0612 140.133 77.3257 140.397 77.6516 140.397C77.978 140.397 78.2425 140.133 78.2425 139.807C78.2425 139.481 77.978 139.216 77.6516 139.216ZM75.8785 137.443C75.5521 137.443 75.2881 137.707 75.2881 138.034C75.2881 138.359 75.5521 138.624 75.8785 138.624C76.2044 138.624 76.4689 138.359 76.4689 138.034C76.4689 137.707 76.2044 137.443 75.8785 137.443ZM77.6516 135.67C77.3257 135.67 77.0612 135.934 77.0612 136.26C77.0612 136.586 77.3257 136.851 77.6516 136.851C77.978 136.851 78.2425 136.586 78.2425 136.26C78.2425 135.934 77.978 135.67 77.6516 135.67ZM75.8785 133.896C75.5521 133.896 75.2881 134.16 75.2881 134.487C75.2881 134.813 75.5521 135.077 75.8785 135.077C76.2044 135.077 76.4689 134.813 76.4689 134.487C76.4689 134.16 76.2044 133.896 75.8785 133.896ZM77.6516 132.123C77.3257 132.123 77.0612 132.387 77.0612 132.714C77.0612 133.04 77.3257 133.304 77.6516 133.304C77.978 133.304 78.2425 133.04 78.2425 132.714C78.2425 132.387 77.978 132.123 77.6516 132.123ZM75.8785 130.35C75.5521 130.35 75.2881 130.614 75.2881 130.94C75.2881 131.267 75.5521 131.531 75.8785 131.531C76.2044 131.531 76.4689 131.267 76.4689 130.94C76.4689 130.614 76.2044 130.35 75.8785 130.35ZM77.6516 128.576C77.3257 128.576 77.0612 128.841 77.0612 129.167C77.0612 129.493 77.3257 129.757 77.6516 129.757C77.978 129.757 78.2425 129.493 78.2425 129.167C78.2425 128.841 77.978 128.576 77.6516 128.576ZM75.8785 126.803C75.5521 126.803 75.2881 127.067 75.2881 127.393C75.2881 127.719 75.5521 127.984 75.8785 127.984C76.2044 127.984 76.4689 127.719 76.4689 127.393C76.4689 127.067 76.2044 126.803 75.8785 126.803ZM77.6516 125.029C77.3257 125.029 77.0612 125.294 77.0612 125.62C77.0612 125.946 77.3257 126.211 77.6516 126.211C77.978 126.211 78.2425 125.946 78.2425 125.62C78.2425 125.294 77.978 125.029 77.6516 125.029ZM75.8785 123.256C75.5521 123.256 75.2881 123.52 75.2881 123.847C75.2881 124.173 75.5521 124.437 75.8785 124.437C76.2044 124.437 76.4689 124.173 76.4689 123.847C76.4689 123.52 76.2044 123.256 75.8785 123.256ZM77.6516 121.483C77.3257 121.483 77.0612 121.747 77.0612 122.074C77.0612 122.399 77.3257 122.664 77.6516 122.664C77.978 122.664 78.2425 122.399 78.2425 122.074C78.2425 121.747 77.978 121.483 77.6516 121.483ZM75.8785 119.71C75.5521 119.71 75.2881 119.974 75.2881 120.3C75.2881 120.626 75.5521 120.891 75.8785 120.891C76.2044 120.891 76.4689 120.626 76.4689 120.3C76.4689 119.974 76.2044 119.71 75.8785 119.71ZM77.6516 117.936C77.3257 117.936 77.0612 118.2 77.0612 118.527C77.0612 118.853 77.3257 119.117 77.6516 119.117C77.978 119.117 78.2425 118.853 78.2425 118.527C78.2425 118.2 77.978 117.936 77.6516 117.936ZM75.8785 116.163C75.5521 116.163 75.2881 116.427 75.2881 116.754C75.2881 117.08 75.5521 117.344 75.8785 117.344C76.2044 117.344 76.4689 117.08 76.4689 116.754C76.4689 116.427 76.2044 116.163 75.8785 116.163ZM77.6516 114.39C77.3257 114.39 77.0612 114.654 77.0612 114.98C77.0612 115.306 77.3257 115.571 77.6516 115.571C77.978 115.571 78.2425 115.306 78.2425 114.98C78.2425 114.654 77.978 114.39 77.6516 114.39ZM75.8785 112.616C75.5521 112.616 75.2881 112.881 75.2881 113.207C75.2881 113.533 75.5521 113.797 75.8785 113.797C76.2044 113.797 76.4689 113.533 76.4689 113.207C76.4689 112.881 76.2044 112.616 75.8785 112.616ZM77.6516 110.843C77.3257 110.843 77.0612 111.107 77.0612 111.433C77.0612 111.759 77.3257 112.024 77.6516 112.024C77.978 112.024 78.2425 111.759 78.2425 111.433C78.2425 111.107 77.978 110.843 77.6516 110.843ZM75.8785 109.069C75.5521 109.069 75.2881 109.334 75.2881 109.66C75.2881 109.986 75.5521 110.251 75.8785 110.251C76.2044 110.251 76.4689 109.986 76.4689 109.66C76.4689 109.334 76.2044 109.069 75.8785 109.069ZM77.6516 107.296C77.3257 107.296 77.0612 107.561 77.0612 107.887C77.0612 108.213 77.3257 108.477 77.6516 108.477C77.978 108.477 78.2425 108.213 78.2425 107.887C78.2425 107.561 77.978 107.296 77.6516 107.296ZM75.8785 105.523C75.5521 105.523 75.2881 105.787 75.2881 106.114C75.2881 106.439 75.5521 106.704 75.8785 106.704C76.2044 106.704 76.4689 106.439 76.4689 106.114C76.4689 105.787 76.2044 105.523 75.8785 105.523ZM77.6516 103.75C77.3257 103.75 77.0612 104.014 77.0612 104.34C77.0612 104.666 77.3257 104.93 77.6516 104.93C77.978 104.93 78.2425 104.666 78.2425 104.34C78.2425 104.014 77.978 103.75 77.6516 103.75ZM75.8785 101.976C75.5521 101.976 75.2881 102.24 75.2881 102.567C75.2881 102.893 75.5521 103.157 75.8785 103.157C76.2044 103.157 76.4689 102.893 76.4689 102.567C76.4689 102.24 76.2044 101.976 75.8785 101.976ZM77.6516 100.203C77.3257 100.203 77.0612 100.467 77.0612 100.793C77.0612 101.12 77.3257 101.384 77.6516 101.384C77.978 101.384 78.2425 101.12 78.2425 100.793C78.2425 100.467 77.978 100.203 77.6516 100.203ZM75.8785 98.4292C75.5521 98.4292 75.2881 98.6942 75.2881 99.0201C75.2881 99.346 75.5521 99.6105 75.8785 99.6105C76.2044 99.6105 76.4689 99.346 76.4689 99.0201C76.4689 98.6942 76.2044 98.4292 75.8785 98.4292ZM77.6516 96.6561C77.3257 96.6561 77.0612 96.9206 77.0612 97.2465C77.0612 97.5729 77.3257 97.8374 77.6516 97.8374C77.978 97.8374 78.2425 97.5729 78.2425 97.2465C78.2425 96.9206 77.978 96.6561 77.6516 96.6561ZM75.8785 94.883C75.5521 94.883 75.2881 95.147 75.2881 95.4734C75.2881 95.7993 75.5521 96.0638 75.8785 96.0638C76.2044 96.0638 76.4689 95.7993 76.4689 95.4734C76.4689 95.147 76.2044 94.883 75.8785 94.883ZM77.6516 93.1094C77.3257 93.1094 77.0612 93.3739 77.0612 93.6998C77.0612 94.0262 77.3257 94.2907 77.6516 94.2907C77.978 94.2907 78.2425 94.0262 78.2425 93.6998C78.2425 93.3739 77.978 93.1094 77.6516 93.1094ZM75.8785 91.3363C75.5521 91.3363 75.2881 91.6003 75.2881 91.9267C75.2881 92.2531 75.5521 92.5171 75.8785 92.5171C76.2044 92.5171 76.4689 92.2531 76.4689 91.9267C76.4689 91.6003 76.2044 91.3363 75.8785 91.3363ZM77.6516 89.5627C77.3257 89.5627 77.0612 89.8272 77.0612 90.1535C77.0612 90.4795 77.3257 90.7439 77.6516 90.7439C77.978 90.7439 78.2425 90.4795 78.2425 90.1535C78.2425 89.8272 77.978 89.5627 77.6516 89.5627ZM75.8785 87.7896C75.5521 87.7896 75.2881 88.054 75.2881 88.38C75.2881 88.7064 75.5521 88.9704 75.8785 88.9704C76.2044 88.9704 76.4689 88.7064 76.4689 88.38C76.4689 88.054 76.2044 87.7896 75.8785 87.7896ZM77.6516 86.016C77.3257 86.016 77.0612 86.2804 77.0612 86.6064C77.0612 86.9328 77.3257 87.1972 77.6516 87.1972C77.978 87.1972 78.2425 86.9328 78.2425 86.6064C78.2425 86.2804 77.978 86.016 77.6516 86.016ZM75.8785 84.2428C75.5521 84.2428 75.2881 84.5073 75.2881 84.8332C75.2881 85.1596 75.5521 85.4241 75.8785 85.4241C76.2044 85.4241 76.4689 85.1596 76.4689 84.8332C76.4689 84.5073 76.2044 84.2428 75.8785 84.2428ZM77.6516 82.4692C77.3257 82.4692 77.0612 82.7337 77.0612 83.0601C77.0612 83.386 77.3257 83.6505 77.6516 83.6505C77.978 83.6505 78.2425 83.386 78.2425 83.0601C78.2425 82.7337 77.978 82.4692 77.6516 82.4692ZM75.8785 80.6961C75.5521 80.6961 75.2881 80.9606 75.2881 81.2865C75.2881 81.6129 75.5521 81.8769 75.8785 81.8769C76.2044 81.8769 76.4689 81.6129 76.4689 81.2865C76.4689 80.9606 76.2044 80.6961 75.8785 80.6961ZM77.6516 78.923C77.3257 78.923 77.0612 79.187 77.0612 79.5134C77.0612 79.8393 77.3257 80.1038 77.6516 80.1038C77.978 80.1038 78.2425 79.8393 78.2425 79.5134C78.2425 79.187 77.978 78.923 77.6516 78.923ZM75.8785 77.1494C75.5521 77.1494 75.2881 77.4139 75.2881 77.7398C75.2881 78.0662 75.5521 78.3307 75.8785 78.3307C76.2044 78.3307 76.4689 78.0662 76.4689 77.7398C76.4689 77.4139 76.2044 77.1494 75.8785 77.1494ZM77.6516 75.3763C77.3257 75.3763 77.0612 75.6403 77.0612 75.9667C77.0612 76.2931 77.3257 76.5571 77.6516 76.5571C77.978 76.5571 78.2425 76.2931 78.2425 75.9667C78.2425 75.6403 77.978 75.3763 77.6516 75.3763ZM75.8785 73.6027C75.5521 73.6027 75.2881 73.8671 75.2881 74.1936C75.2881 74.5195 75.5521 74.784 75.8785 74.784C76.2044 74.784 76.4689 74.5195 76.4689 74.1936C76.4689 73.8671 76.2044 73.6027 75.8785 73.6027ZM77.6516 71.8296C77.3257 71.8296 77.0612 72.094 77.0612 72.4199C77.0612 72.7463 77.3257 73.0104 77.6516 73.0104C77.978 73.0104 78.2425 72.7463 78.2425 72.4199C78.2425 72.094 77.978 71.8296 77.6516 71.8296ZM75.8785 70.056C75.5521 70.056 75.2881 70.3204 75.2881 70.6464C75.2881 70.9727 75.5521 71.2372 75.8785 71.2372C76.2044 71.2372 76.4689 70.9727 76.4689 70.6464C76.4689 70.3204 76.2044 70.056 75.8785 70.056ZM77.6516 68.2828C77.3257 68.2828 77.0612 68.5468 77.0612 68.8732C77.0612 69.1996 77.3257 69.4641 77.6516 69.4641C77.978 69.4641 78.2425 69.1996 78.2425 68.8732C78.2425 68.5468 77.978 68.2828 77.6516 68.2828ZM75.8785 66.5092C75.5521 66.5092 75.2881 66.7737 75.2881 67.1001C75.2881 67.426 75.5521 67.6905 75.8785 67.6905C76.2044 67.6905 76.4689 67.426 76.4689 67.1001C76.4689 66.7737 76.2044 66.5092 75.8785 66.5092ZM77.6516 64.7361C77.3257 64.7361 77.0612 65.0006 77.0612 65.3265C77.0612 65.6529 77.3257 65.9169 77.6516 65.9169C77.978 65.9169 78.2425 65.6529 78.2425 65.3265C78.2425 65.0006 77.978 64.7361 77.6516 64.7361ZM75.8785 62.963C75.5521 62.963 75.2881 63.227 75.2881 63.5534C75.2881 63.8793 75.5521 64.1438 75.8785 64.1438C76.2044 64.1438 76.4689 63.8793 76.4689 63.5534C76.4689 63.227 76.2044 62.963 75.8785 62.963ZM77.6516 61.1894C77.3257 61.1894 77.0612 61.4539 77.0612 61.7798C77.0612 62.1062 77.3257 62.3707 77.6516 62.3707C77.978 62.3707 78.2425 62.1062 78.2425 61.7798C78.2425 61.4539 77.978 61.1894 77.6516 61.1894ZM75.8785 59.4163C75.5521 59.4163 75.2881 59.6803 75.2881 60.0067C75.2881 60.3326 75.5521 60.5971 75.8785 60.5971C76.2044 60.5971 76.4689 60.3326 76.4689 60.0067C76.4689 59.6803 76.2044 59.4163 75.8785 59.4163ZM77.6516 57.6427C77.3257 57.6427 77.0612 57.9072 77.0612 58.2336C77.0612 58.5595 77.3257 58.8239 77.6516 58.8239C77.978 58.8239 78.2425 58.5595 78.2425 58.2336C78.2425 57.9072 77.978 57.6427 77.6516 57.6427ZM75.8785 55.8696C75.5521 55.8696 75.2881 56.134 75.2881 56.4599C75.2881 56.7863 75.5521 57.0504 75.8785 57.0504C76.2044 57.0504 76.4689 56.7863 76.4689 56.4599C76.4689 56.134 76.2044 55.8696 75.8785 55.8696ZM77.6516 54.096C77.3257 54.096 77.0612 54.3604 77.0612 54.6863C77.0612 55.0127 77.3257 55.2772 77.6516 55.2772C77.978 55.2772 78.2425 55.0127 78.2425 54.6863C78.2425 54.3604 77.978 54.096 77.6516 54.096ZM75.8785 52.3228C75.5521 52.3228 75.2881 52.5868 75.2881 52.9132C75.2881 53.2396 75.5521 53.5041 75.8785 53.5041C76.2044 53.5041 76.4689 53.2396 76.4689 52.9132C76.4689 52.5868 76.2044 52.3228 75.8785 52.3228ZM77.6516 50.5492C77.3257 50.5492 77.0612 50.8137 77.0612 51.1401C77.0612 51.466 77.3257 51.7305 77.6516 51.7305C77.978 51.7305 78.2425 51.466 78.2425 51.1401C78.2425 50.8137 77.978 50.5492 77.6516 50.5492ZM75.8785 48.7761C75.5521 48.7761 75.2881 49.0406 75.2881 49.3665C75.2881 49.6929 75.5521 49.9569 75.8785 49.9569C76.2044 49.9569 76.4689 49.6929 76.4689 49.3665C76.4689 49.0406 76.2044 48.7761 75.8785 48.7761ZM77.6516 47.0025C77.3257 47.0025 77.0612 47.267 77.0612 47.5934C77.0612 47.9193 77.3257 48.1838 77.6516 48.1838C77.978 48.1838 78.2425 47.9193 78.2425 47.5934C78.2425 47.267 77.978 47.0025 77.6516 47.0025ZM75.8785 45.2294C75.5521 45.2294 75.2881 45.4939 75.2881 45.8198C75.2881 46.1462 75.5521 46.4107 75.8785 46.4107C76.2044 46.4107 76.4689 46.1462 76.4689 45.8198C76.4689 45.4939 76.2044 45.2294 75.8785 45.2294ZM77.6516 43.4563C77.3257 43.4563 77.0612 43.7203 77.0612 44.0467C77.0612 44.3726 77.3257 44.6371 77.6516 44.6371C77.978 44.6371 78.2425 44.3726 78.2425 44.0467C78.2425 43.7203 77.978 43.4563 77.6516 43.4563ZM75.8785 41.6827C75.8597 41.6827 75.8444 41.6913 75.8261 41.6932L75.5223 42.2731L75.3725 42.5596C75.4738 42.7382 75.6586 42.864 75.8785 42.864C76.2044 42.864 76.4689 42.5995 76.4689 42.2731C76.4689 41.9472 76.2044 41.6827 75.8785 41.6827ZM77.6516 39.9091C77.3257 39.9091 77.0612 40.174 77.0612 40.4999C77.0612 40.8259 77.3257 41.0904 77.6516 41.0904C77.978 41.0904 78.2425 40.8259 78.2425 40.4999C78.2425 40.174 77.978 39.9091 77.6516 39.9091ZM78.1661 37.2268C78.1781 37.2052 78.1911 37.186 78.1997 37.1625L78.1661 37.2268ZM79.4252 158.723C79.2951 158.723 79.1809 158.774 79.0829 158.845L79.4252 158.909L79.9124 158.999C79.8073 158.837 79.633 158.723 79.4252 158.723ZM81.1983 156.95C80.8724 156.95 80.6079 157.214 80.6079 157.54C80.6079 157.866 80.8724 158.131 81.1983 158.131C81.5247 158.131 81.7887 157.866 81.7887 157.54C81.7887 157.214 81.5247 156.95 81.1983 156.95ZM79.4252 155.176C79.0988 155.176 78.8343 155.441 78.8343 155.767C78.8343 156.093 79.0988 156.357 79.4252 156.357C79.7511 156.357 80.0156 156.093 80.0156 155.767C80.0156 155.441 79.7511 155.176 79.4252 155.176ZM81.1983 153.403C80.8724 153.403 80.6079 153.668 80.6079 153.994C80.6079 154.319 80.8724 154.584 81.1983 154.584C81.5247 154.584 81.7887 154.319 81.7887 153.994C81.7887 153.668 81.5247 153.403 81.1983 153.403ZM79.4252 151.63C79.0988 151.63 78.8343 151.894 78.8343 152.22C78.8343 152.546 79.0988 152.811 79.4252 152.811C79.7511 152.811 80.0156 152.546 80.0156 152.22C80.0156 151.894 79.7511 151.63 79.4252 151.63ZM81.1983 149.856C80.8724 149.856 80.6079 150.12 80.6079 150.447C80.6079 150.773 80.8724 151.037 81.1983 151.037C81.5247 151.037 81.7887 150.773 81.7887 150.447C81.7887 150.12 81.5247 149.856 81.1983 149.856ZM79.4252 148.083C79.0988 148.083 78.8343 148.347 78.8343 148.674C78.8343 149 79.0988 149.264 79.4252 149.264C79.7511 149.264 80.0156 149 80.0156 148.674C80.0156 148.347 79.7511 148.083 79.4252 148.083ZM81.1983 146.31C80.8724 146.31 80.6079 146.574 80.6079 146.9C80.6079 147.227 80.8724 147.491 81.1983 147.491C81.5247 147.491 81.7887 147.227 81.7887 146.9C81.7887 146.574 81.5247 146.31 81.1983 146.31ZM79.4252 144.536C79.0988 144.536 78.8343 144.801 78.8343 145.127C78.8343 145.453 79.0988 145.717 79.4252 145.717C79.7511 145.717 80.0156 145.453 80.0156 145.127C80.0156 144.801 79.7511 144.536 79.4252 144.536ZM81.1983 142.763C80.8724 142.763 80.6079 143.027 80.6079 143.354C80.6079 143.679 80.8724 143.944 81.1983 143.944C81.5247 143.944 81.7887 143.679 81.7887 143.354C81.7887 143.027 81.5247 142.763 81.1983 142.763ZM79.4252 140.99C79.0988 140.99 78.8343 141.254 78.8343 141.58C78.8343 141.906 79.0988 142.171 79.4252 142.171C79.7511 142.171 80.0156 141.906 80.0156 141.58C80.0156 141.254 79.7511 140.99 79.4252 140.99ZM81.1983 139.216C80.8724 139.216 80.6079 139.481 80.6079 139.807C80.6079 140.133 80.8724 140.397 81.1983 140.397C81.5247 140.397 81.7887 140.133 81.7887 139.807C81.7887 139.481 81.5247 139.216 81.1983 139.216ZM79.4252 137.443C79.0988 137.443 78.8343 137.707 78.8343 138.034C78.8343 138.359 79.0988 138.624 79.4252 138.624C79.7511 138.624 80.0156 138.359 80.0156 138.034C80.0156 137.707 79.7511 137.443 79.4252 137.443ZM81.1983 135.67C80.8724 135.67 80.6079 135.934 80.6079 136.26C80.6079 136.586 80.8724 136.851 81.1983 136.851C81.5247 136.851 81.7887 136.586 81.7887 136.26C81.7887 135.934 81.5247 135.67 81.1983 135.67ZM79.4252 133.896C79.0988 133.896 78.8343 134.16 78.8343 134.487C78.8343 134.813 79.0988 135.077 79.4252 135.077C79.7511 135.077 80.0156 134.813 80.0156 134.487C80.0156 134.16 79.7511 133.896 79.4252 133.896ZM81.1983 132.123C80.8724 132.123 80.6079 132.387 80.6079 132.714C80.6079 133.04 80.8724 133.304 81.1983 133.304C81.5247 133.304 81.7887 133.04 81.7887 132.714C81.7887 132.387 81.5247 132.123 81.1983 132.123ZM79.4252 130.35C79.0988 130.35 78.8343 130.614 78.8343 130.94C78.8343 131.267 79.0988 131.531 79.4252 131.531C79.7511 131.531 80.0156 131.267 80.0156 130.94C80.0156 130.614 79.7511 130.35 79.4252 130.35ZM81.1983 128.576C80.8724 128.576 80.6079 128.841 80.6079 129.167C80.6079 129.493 80.8724 129.757 81.1983 129.757C81.5247 129.757 81.7887 129.493 81.7887 129.167C81.7887 128.841 81.5247 128.576 81.1983 128.576ZM79.4252 126.803C79.0988 126.803 78.8343 127.067 78.8343 127.393C78.8343 127.719 79.0988 127.984 79.4252 127.984C79.7511 127.984 80.0156 127.719 80.0156 127.393C80.0156 127.067 79.7511 126.803 79.4252 126.803ZM81.1983 125.029C80.8724 125.029 80.6079 125.294 80.6079 125.62C80.6079 125.946 80.8724 126.211 81.1983 126.211C81.5247 126.211 81.7887 125.946 81.7887 125.62C81.7887 125.294 81.5247 125.029 81.1983 125.029ZM79.4252 123.256C79.0988 123.256 78.8343 123.52 78.8343 123.847C78.8343 124.173 79.0988 124.437 79.4252 124.437C79.7511 124.437 80.0156 124.173 80.0156 123.847C80.0156 123.52 79.7511 123.256 79.4252 123.256ZM81.1983 121.483C80.8724 121.483 80.6079 121.747 80.6079 122.074C80.6079 122.399 80.8724 122.664 81.1983 122.664C81.5247 122.664 81.7887 122.399 81.7887 122.074C81.7887 121.747 81.5247 121.483 81.1983 121.483ZM79.4252 119.71C79.0988 119.71 78.8343 119.974 78.8343 120.3C78.8343 120.626 79.0988 120.891 79.4252 120.891C79.7511 120.891 80.0156 120.626 80.0156 120.3C80.0156 119.974 79.7511 119.71 79.4252 119.71ZM81.1983 117.936C80.8724 117.936 80.6079 118.2 80.6079 118.527C80.6079 118.853 80.8724 119.117 81.1983 119.117C81.5247 119.117 81.7887 118.853 81.7887 118.527C81.7887 118.2 81.5247 117.936 81.1983 117.936ZM79.4252 116.163C79.0988 116.163 78.8343 116.427 78.8343 116.754C78.8343 117.08 79.0988 117.344 79.4252 117.344C79.7511 117.344 80.0156 117.08 80.0156 116.754C80.0156 116.427 79.7511 116.163 79.4252 116.163ZM81.1983 114.39C80.8724 114.39 80.6079 114.654 80.6079 114.98C80.6079 115.306 80.8724 115.571 81.1983 115.571C81.5247 115.571 81.7887 115.306 81.7887 114.98C81.7887 114.654 81.5247 114.39 81.1983 114.39ZM79.4252 112.616C79.0988 112.616 78.8343 112.881 78.8343 113.207C78.8343 113.533 79.0988 113.797 79.4252 113.797C79.7511 113.797 80.0156 113.533 80.0156 113.207C80.0156 112.881 79.7511 112.616 79.4252 112.616ZM81.1983 110.843C80.8724 110.843 80.6079 111.107 80.6079 111.433C80.6079 111.759 80.8724 112.024 81.1983 112.024C81.5247 112.024 81.7887 111.759 81.7887 111.433C81.7887 111.107 81.5247 110.843 81.1983 110.843ZM79.4252 109.069C79.0988 109.069 78.8343 109.334 78.8343 109.66C78.8343 109.986 79.0988 110.251 79.4252 110.251C79.7511 110.251 80.0156 109.986 80.0156 109.66C80.0156 109.334 79.7511 109.069 79.4252 109.069ZM81.1983 107.296C80.8724 107.296 80.6079 107.561 80.6079 107.887C80.6079 108.213 80.8724 108.477 81.1983 108.477C81.5247 108.477 81.7887 108.213 81.7887 107.887C81.7887 107.561 81.5247 107.296 81.1983 107.296ZM79.4252 105.523C79.0988 105.523 78.8343 105.787 78.8343 106.114C78.8343 106.439 79.0988 106.704 79.4252 106.704C79.7511 106.704 80.0156 106.439 80.0156 106.114C80.0156 105.787 79.7511 105.523 79.4252 105.523ZM81.1983 103.75C80.8724 103.75 80.6079 104.014 80.6079 104.34C80.6079 104.666 80.8724 104.93 81.1983 104.93C81.5247 104.93 81.7887 104.666 81.7887 104.34C81.7887 104.014 81.5247 103.75 81.1983 103.75ZM79.4252 101.976C79.0988 101.976 78.8343 102.24 78.8343 102.567C78.8343 102.893 79.0988 103.157 79.4252 103.157C79.7511 103.157 80.0156 102.893 80.0156 102.567C80.0156 102.24 79.7511 101.976 79.4252 101.976ZM81.1983 100.203C80.8724 100.203 80.6079 100.467 80.6079 100.793C80.6079 101.12 80.8724 101.384 81.1983 101.384C81.5247 101.384 81.7887 101.12 81.7887 100.793C81.7887 100.467 81.5247 100.203 81.1983 100.203ZM79.4252 98.4292C79.0988 98.4292 78.8343 98.6942 78.8343 99.0201C78.8343 99.346 79.0988 99.6105 79.4252 99.6105C79.7511 99.6105 80.0156 99.346 80.0156 99.0201C80.0156 98.6942 79.7511 98.4292 79.4252 98.4292ZM81.1983 96.6561C80.8724 96.6561 80.6079 96.9206 80.6079 97.2465C80.6079 97.5729 80.8724 97.8374 81.1983 97.8374C81.5247 97.8374 81.7887 97.5729 81.7887 97.2465C81.7887 96.9206 81.5247 96.6561 81.1983 96.6561ZM79.4252 94.883C79.0988 94.883 78.8343 95.147 78.8343 95.4734C78.8343 95.7993 79.0988 96.0638 79.4252 96.0638C79.7511 96.0638 80.0156 95.7993 80.0156 95.4734C80.0156 95.147 79.7511 94.883 79.4252 94.883ZM81.1983 93.1094C80.8724 93.1094 80.6079 93.3739 80.6079 93.6998C80.6079 94.0262 80.8724 94.2907 81.1983 94.2907C81.5247 94.2907 81.7887 94.0262 81.7887 93.6998C81.7887 93.3739 81.5247 93.1094 81.1983 93.1094ZM79.4252 91.3363C79.0988 91.3363 78.8343 91.6003 78.8343 91.9267C78.8343 92.2531 79.0988 92.5171 79.4252 92.5171C79.7511 92.5171 80.0156 92.2531 80.0156 91.9267C80.0156 91.6003 79.7511 91.3363 79.4252 91.3363ZM81.1983 89.5627C80.8724 89.5627 80.6079 89.8272 80.6079 90.1535C80.6079 90.4795 80.8724 90.7439 81.1983 90.7439C81.5247 90.7439 81.7887 90.4795 81.7887 90.1535C81.7887 89.8272 81.5247 89.5627 81.1983 89.5627ZM79.4252 87.7896C79.0988 87.7896 78.8343 88.054 78.8343 88.38C78.8343 88.7064 79.0988 88.9704 79.4252 88.9704C79.7511 88.9704 80.0156 88.7064 80.0156 88.38C80.0156 88.054 79.7511 87.7896 79.4252 87.7896ZM81.1983 86.016C80.8724 86.016 80.6079 86.2804 80.6079 86.6064C80.6079 86.9328 80.8724 87.1972 81.1983 87.1972C81.5247 87.1972 81.7887 86.9328 81.7887 86.6064C81.7887 86.2804 81.5247 86.016 81.1983 86.016ZM79.4252 84.2428C79.0988 84.2428 78.8343 84.5073 78.8343 84.8332C78.8343 85.1596 79.0988 85.4241 79.4252 85.4241C79.7511 85.4241 80.0156 85.1596 80.0156 84.8332C80.0156 84.5073 79.7511 84.2428 79.4252 84.2428ZM81.1983 82.4692C80.8724 82.4692 80.6079 82.7337 80.6079 83.0601C80.6079 83.386 80.8724 83.6505 81.1983 83.6505C81.5247 83.6505 81.7887 83.386 81.7887 83.0601C81.7887 82.7337 81.5247 82.4692 81.1983 82.4692ZM79.4252 80.6961C79.0988 80.6961 78.8343 80.9606 78.8343 81.2865C78.8343 81.6129 79.0988 81.8769 79.4252 81.8769C79.7511 81.8769 80.0156 81.6129 80.0156 81.2865C80.0156 80.9606 79.7511 80.6961 79.4252 80.6961ZM81.1983 78.923C80.8724 78.923 80.6079 79.187 80.6079 79.5134C80.6079 79.8393 80.8724 80.1038 81.1983 80.1038C81.5247 80.1038 81.7887 79.8393 81.7887 79.5134C81.7887 79.187 81.5247 78.923 81.1983 78.923ZM79.4252 77.1494C79.0988 77.1494 78.8343 77.4139 78.8343 77.7398C78.8343 78.0662 79.0988 78.3307 79.4252 78.3307C79.7511 78.3307 80.0156 78.0662 80.0156 77.7398C80.0156 77.4139 79.7511 77.1494 79.4252 77.1494ZM81.1983 75.3763C80.8724 75.3763 80.6079 75.6403 80.6079 75.9667C80.6079 76.2931 80.8724 76.5571 81.1983 76.5571C81.5247 76.5571 81.7887 76.2931 81.7887 75.9667C81.7887 75.6403 81.5247 75.3763 81.1983 75.3763ZM79.4252 73.6027C79.0988 73.6027 78.8343 73.8671 78.8343 74.1936C78.8343 74.5195 79.0988 74.784 79.4252 74.784C79.7511 74.784 80.0156 74.5195 80.0156 74.1936C80.0156 73.8671 79.7511 73.6027 79.4252 73.6027ZM81.1983 71.8296C80.8724 71.8296 80.6079 72.094 80.6079 72.4199C80.6079 72.7463 80.8724 73.0104 81.1983 73.0104C81.5247 73.0104 81.7887 72.7463 81.7887 72.4199C81.7887 72.094 81.5247 71.8296 81.1983 71.8296ZM79.4252 70.056C79.0988 70.056 78.8343 70.3204 78.8343 70.6464C78.8343 70.9727 79.0988 71.2372 79.4252 71.2372C79.7511 71.2372 80.0156 70.9727 80.0156 70.6464C80.0156 70.3204 79.7511 70.056 79.4252 70.056ZM81.1983 68.2828C80.8724 68.2828 80.6079 68.5468 80.6079 68.8732C80.6079 69.1996 80.8724 69.4641 81.1983 69.4641C81.5247 69.4641 81.7887 69.1996 81.7887 68.8732C81.7887 68.5468 81.5247 68.2828 81.1983 68.2828ZM79.4252 66.5092C79.0988 66.5092 78.8343 66.7737 78.8343 67.1001C78.8343 67.426 79.0988 67.6905 79.4252 67.6905C79.7511 67.6905 80.0156 67.426 80.0156 67.1001C80.0156 66.7737 79.7511 66.5092 79.4252 66.5092ZM81.1983 64.7361C80.8724 64.7361 80.6079 65.0006 80.6079 65.3265C80.6079 65.6529 80.8724 65.9169 81.1983 65.9169C81.5247 65.9169 81.7887 65.6529 81.7887 65.3265C81.7887 65.0006 81.5247 64.7361 81.1983 64.7361ZM79.4252 62.963C79.0988 62.963 78.8343 63.227 78.8343 63.5534C78.8343 63.8793 79.0988 64.1438 79.4252 64.1438C79.7511 64.1438 80.0156 63.8793 80.0156 63.5534C80.0156 63.227 79.7511 62.963 79.4252 62.963ZM81.1983 61.1894C80.8724 61.1894 80.6079 61.4539 80.6079 61.7798C80.6079 62.1062 80.8724 62.3707 81.1983 62.3707C81.5247 62.3707 81.7887 62.1062 81.7887 61.7798C81.7887 61.4539 81.5247 61.1894 81.1983 61.1894ZM79.4252 59.4163C79.0988 59.4163 78.8343 59.6803 78.8343 60.0067C78.8343 60.3326 79.0988 60.5971 79.4252 60.5971C79.7511 60.5971 80.0156 60.3326 80.0156 60.0067C80.0156 59.6803 79.7511 59.4163 79.4252 59.4163ZM81.1983 57.6427C80.8724 57.6427 80.6079 57.9072 80.6079 58.2336C80.6079 58.5595 80.8724 58.8239 81.1983 58.8239C81.5247 58.8239 81.7887 58.5595 81.7887 58.2336C81.7887 57.9072 81.5247 57.6427 81.1983 57.6427ZM79.4252 55.8696C79.0988 55.8696 78.8343 56.134 78.8343 56.4599C78.8343 56.7863 79.0988 57.0504 79.4252 57.0504C79.7511 57.0504 80.0156 56.7863 80.0156 56.4599C80.0156 56.134 79.7511 55.8696 79.4252 55.8696ZM81.1983 54.096C80.8724 54.096 80.6079 54.3604 80.6079 54.6863C80.6079 55.0127 80.8724 55.2772 81.1983 55.2772C81.5247 55.2772 81.7887 55.0127 81.7887 54.6863C81.7887 54.3604 81.5247 54.096 81.1983 54.096ZM79.4252 52.3228C79.0988 52.3228 78.8343 52.5868 78.8343 52.9132C78.8343 53.2396 79.0988 53.5041 79.4252 53.5041C79.7511 53.5041 80.0156 53.2396 80.0156 52.9132C80.0156 52.5868 79.7511 52.3228 79.4252 52.3228ZM81.1983 50.5492C80.8724 50.5492 80.6079 50.8137 80.6079 51.1401C80.6079 51.466 80.8724 51.7305 81.1983 51.7305C81.5247 51.7305 81.7887 51.466 81.7887 51.1401C81.7887 50.8137 81.5247 50.5492 81.1983 50.5492ZM79.4252 48.7761C79.0988 48.7761 78.8343 49.0406 78.8343 49.3665C78.8343 49.6929 79.0988 49.9569 79.4252 49.9569C79.7511 49.9569 80.0156 49.6929 80.0156 49.3665C80.0156 49.0406 79.7511 48.7761 79.4252 48.7761ZM81.1983 47.0025C80.8724 47.0025 80.6079 47.267 80.6079 47.5934C80.6079 47.9193 80.8724 48.1838 81.1983 48.1838C81.5247 48.1838 81.7887 47.9193 81.7887 47.5934C81.7887 47.267 81.5247 47.0025 81.1983 47.0025ZM79.4252 45.2294C79.0988 45.2294 78.8343 45.4939 78.8343 45.8198C78.8343 46.1462 79.0988 46.4107 79.4252 46.4107C79.7511 46.4107 80.0156 46.1462 80.0156 45.8198C80.0156 45.4939 79.7511 45.2294 79.4252 45.2294ZM81.1983 43.4563C80.8724 43.4563 80.6079 43.7203 80.6079 44.0467C80.6079 44.3726 80.8724 44.6371 81.1983 44.6371C81.5247 44.6371 81.7887 44.3726 81.7887 44.0467C81.7887 43.7203 81.5247 43.4563 81.1983 43.4563ZM79.4252 41.6827C79.0988 41.6827 78.8343 41.9472 78.8343 42.2731C78.8343 42.5995 79.0988 42.864 79.4252 42.864C79.7511 42.864 80.0156 42.5995 80.0156 42.2731C80.0156 41.9472 79.7511 41.6827 79.4252 41.6827ZM81.1983 39.9091C80.8724 39.9091 80.6079 40.174 80.6079 40.4999C80.6079 40.8259 80.8724 41.0904 81.1983 41.0904C81.5247 41.0904 81.7887 40.8259 81.7887 40.4999C81.7887 40.174 81.5247 39.9091 81.1983 39.9091ZM79.4252 38.1359C79.0988 38.1359 78.8343 38.4004 78.8343 38.7263C78.8343 39.0527 79.0988 39.3172 79.4252 39.3172C79.7511 39.3172 80.0156 39.0527 80.0156 38.7263C80.0156 38.4004 79.7511 38.1359 79.4252 38.1359ZM81.1983 36.3628C80.8724 36.3628 80.6079 36.6268 80.6079 36.9532C80.6079 37.2791 80.8724 37.5436 81.1983 37.5436C81.5247 37.5436 81.7887 37.2791 81.7887 36.9532C81.7887 36.6268 81.5247 36.3628 81.1983 36.3628ZM79.5365 34.6118L79.4252 34.8244L79.2389 35.1796L79.0167 35.604C79.1228 35.7062 79.2663 35.7705 79.4252 35.7705C79.7511 35.7705 80.0156 35.506 80.0156 35.1796C80.0156 34.8931 79.8073 34.6656 79.5365 34.6118ZM81.1983 32.8161C80.8724 32.8161 80.6079 33.0806 80.6079 33.4065C80.6079 33.7329 80.8724 33.9969 81.1983 33.9969C81.5247 33.9969 81.7887 33.7329 81.7887 33.4065C81.7887 33.0806 81.5247 32.8161 81.1983 32.8161ZM82.9719 158.723C82.6455 158.723 82.381 158.987 82.381 159.314C82.381 159.367 82.3983 159.415 82.4117 159.465L82.9719 159.569L83.4399 159.656C83.5114 159.558 83.5623 159.444 83.5623 159.314C83.5623 158.987 83.2978 158.723 82.9719 158.723ZM84.745 156.95C84.4191 156.95 84.1546 157.214 84.1546 157.54C84.1546 157.866 84.4191 158.131 84.745 158.131C85.0714 158.131 85.3359 157.866 85.3359 157.54C85.3359 157.214 85.0714 156.95 84.745 156.95ZM82.9719 155.176C82.6455 155.176 82.381 155.441 82.381 155.767C82.381 156.093 82.6455 156.357 82.9719 156.357C83.2978 156.357 83.5623 156.093 83.5623 155.767C83.5623 155.441 83.2978 155.176 82.9719 155.176ZM84.745 153.403C84.4191 153.403 84.1546 153.668 84.1546 153.994C84.1546 154.319 84.4191 154.584 84.745 154.584C85.0714 154.584 85.3359 154.319 85.3359 153.994C85.3359 153.668 85.0714 153.403 84.745 153.403ZM82.9719 151.63C82.6455 151.63 82.381 151.894 82.381 152.22C82.381 152.546 82.6455 152.811 82.9719 152.811C83.2978 152.811 83.5623 152.546 83.5623 152.22C83.5623 151.894 83.2978 151.63 82.9719 151.63ZM84.745 149.856C84.4191 149.856 84.1546 150.12 84.1546 150.447C84.1546 150.773 84.4191 151.037 84.745 151.037C85.0714 151.037 85.3359 150.773 85.3359 150.447C85.3359 150.12 85.0714 149.856 84.745 149.856ZM82.9719 148.083C82.6455 148.083 82.381 148.347 82.381 148.674C82.381 149 82.6455 149.264 82.9719 149.264C83.2978 149.264 83.5623 149 83.5623 148.674C83.5623 148.347 83.2978 148.083 82.9719 148.083ZM84.745 146.31C84.4191 146.31 84.1546 146.574 84.1546 146.9C84.1546 147.227 84.4191 147.491 84.745 147.491C85.0714 147.491 85.3359 147.227 85.3359 146.9C85.3359 146.574 85.0714 146.31 84.745 146.31ZM82.9719 144.536C82.6455 144.536 82.381 144.801 82.381 145.127C82.381 145.453 82.6455 145.717 82.9719 145.717C83.2978 145.717 83.5623 145.453 83.5623 145.127C83.5623 144.801 83.2978 144.536 82.9719 144.536ZM84.745 142.763C84.4191 142.763 84.1546 143.027 84.1546 143.354C84.1546 143.679 84.4191 143.944 84.745 143.944C85.0714 143.944 85.3359 143.679 85.3359 143.354C85.3359 143.027 85.0714 142.763 84.745 142.763ZM82.9719 140.99C82.6455 140.99 82.381 141.254 82.381 141.58C82.381 141.906 82.6455 142.171 82.9719 142.171C83.2978 142.171 83.5623 141.906 83.5623 141.58C83.5623 141.254 83.2978 140.99 82.9719 140.99ZM84.745 139.216C84.4191 139.216 84.1546 139.481 84.1546 139.807C84.1546 140.133 84.4191 140.397 84.745 140.397C85.0714 140.397 85.3359 140.133 85.3359 139.807C85.3359 139.481 85.0714 139.216 84.745 139.216ZM82.9719 137.443C82.6455 137.443 82.381 137.707 82.381 138.034C82.381 138.359 82.6455 138.624 82.9719 138.624C83.2978 138.624 83.5623 138.359 83.5623 138.034C83.5623 137.707 83.2978 137.443 82.9719 137.443ZM84.745 135.67C84.4191 135.67 84.1546 135.934 84.1546 136.26C84.1546 136.586 84.4191 136.851 84.745 136.851C85.0714 136.851 85.3359 136.586 85.3359 136.26C85.3359 135.934 85.0714 135.67 84.745 135.67ZM82.9719 133.896C82.6455 133.896 82.381 134.16 82.381 134.487C82.381 134.813 82.6455 135.077 82.9719 135.077C83.2978 135.077 83.5623 134.813 83.5623 134.487C83.5623 134.16 83.2978 133.896 82.9719 133.896ZM84.745 132.123C84.4191 132.123 84.1546 132.387 84.1546 132.714C84.1546 133.04 84.4191 133.304 84.745 133.304C85.0714 133.304 85.3359 133.04 85.3359 132.714C85.3359 132.387 85.0714 132.123 84.745 132.123ZM82.9719 130.35C82.6455 130.35 82.381 130.614 82.381 130.94C82.381 131.267 82.6455 131.531 82.9719 131.531C83.2978 131.531 83.5623 131.267 83.5623 130.94C83.5623 130.614 83.2978 130.35 82.9719 130.35ZM84.745 128.576C84.4191 128.576 84.1546 128.841 84.1546 129.167C84.1546 129.493 84.4191 129.757 84.745 129.757C85.0714 129.757 85.3359 129.493 85.3359 129.167C85.3359 128.841 85.0714 128.576 84.745 128.576ZM82.9719 126.803C82.6455 126.803 82.381 127.067 82.381 127.393C82.381 127.719 82.6455 127.984 82.9719 127.984C83.2978 127.984 83.5623 127.719 83.5623 127.393C83.5623 127.067 83.2978 126.803 82.9719 126.803ZM84.745 125.029C84.4191 125.029 84.1546 125.294 84.1546 125.62C84.1546 125.946 84.4191 126.211 84.745 126.211C85.0714 126.211 85.3359 125.946 85.3359 125.62C85.3359 125.294 85.0714 125.029 84.745 125.029ZM82.9719 123.256C82.6455 123.256 82.381 123.52 82.381 123.847C82.381 124.173 82.6455 124.437 82.9719 124.437C83.2978 124.437 83.5623 124.173 83.5623 123.847C83.5623 123.52 83.2978 123.256 82.9719 123.256ZM84.745 121.483C84.4191 121.483 84.1546 121.747 84.1546 122.074C84.1546 122.399 84.4191 122.664 84.745 122.664C85.0714 122.664 85.3359 122.399 85.3359 122.074C85.3359 121.747 85.0714 121.483 84.745 121.483ZM82.9719 119.71C82.6455 119.71 82.381 119.974 82.381 120.3C82.381 120.626 82.6455 120.891 82.9719 120.891C83.2978 120.891 83.5623 120.626 83.5623 120.3C83.5623 119.974 83.2978 119.71 82.9719 119.71ZM84.745 117.936C84.4191 117.936 84.1546 118.2 84.1546 118.527C84.1546 118.853 84.4191 119.117 84.745 119.117C85.0714 119.117 85.3359 118.853 85.3359 118.527C85.3359 118.2 85.0714 117.936 84.745 117.936ZM82.9719 116.163C82.6455 116.163 82.381 116.427 82.381 116.754C82.381 117.08 82.6455 117.344 82.9719 117.344C83.2978 117.344 83.5623 117.08 83.5623 116.754C83.5623 116.427 83.2978 116.163 82.9719 116.163ZM84.745 114.39C84.4191 114.39 84.1546 114.654 84.1546 114.98C84.1546 115.306 84.4191 115.571 84.745 115.571C85.0714 115.571 85.3359 115.306 85.3359 114.98C85.3359 114.654 85.0714 114.39 84.745 114.39ZM82.9719 112.616C82.6455 112.616 82.381 112.881 82.381 113.207C82.381 113.533 82.6455 113.797 82.9719 113.797C83.2978 113.797 83.5623 113.533 83.5623 113.207C83.5623 112.881 83.2978 112.616 82.9719 112.616ZM84.745 110.843C84.4191 110.843 84.1546 111.107 84.1546 111.433C84.1546 111.759 84.4191 112.024 84.745 112.024C85.0714 112.024 85.3359 111.759 85.3359 111.433C85.3359 111.107 85.0714 110.843 84.745 110.843ZM82.9719 109.069C82.6455 109.069 82.381 109.334 82.381 109.66C82.381 109.986 82.6455 110.251 82.9719 110.251C83.2978 110.251 83.5623 109.986 83.5623 109.66C83.5623 109.334 83.2978 109.069 82.9719 109.069ZM84.745 107.296C84.4191 107.296 84.1546 107.561 84.1546 107.887C84.1546 108.213 84.4191 108.477 84.745 108.477C85.0714 108.477 85.3359 108.213 85.3359 107.887C85.3359 107.561 85.0714 107.296 84.745 107.296ZM82.9719 105.523C82.6455 105.523 82.381 105.787 82.381 106.114C82.381 106.439 82.6455 106.704 82.9719 106.704C83.2978 106.704 83.5623 106.439 83.5623 106.114C83.5623 105.787 83.2978 105.523 82.9719 105.523ZM84.745 103.75C84.4191 103.75 84.1546 104.014 84.1546 104.34C84.1546 104.666 84.4191 104.93 84.745 104.93C85.0714 104.93 85.3359 104.666 85.3359 104.34C85.3359 104.014 85.0714 103.75 84.745 103.75ZM82.9719 101.976C82.6455 101.976 82.381 102.24 82.381 102.567C82.381 102.893 82.6455 103.157 82.9719 103.157C83.2978 103.157 83.5623 102.893 83.5623 102.567C83.5623 102.24 83.2978 101.976 82.9719 101.976ZM84.745 100.203C84.4191 100.203 84.1546 100.467 84.1546 100.793C84.1546 101.12 84.4191 101.384 84.745 101.384C85.0714 101.384 85.3359 101.12 85.3359 100.793C85.3359 100.467 85.0714 100.203 84.745 100.203ZM82.9719 98.4292C82.6455 98.4292 82.381 98.6942 82.381 99.0201C82.381 99.346 82.6455 99.6105 82.9719 99.6105C83.2978 99.6105 83.5623 99.346 83.5623 99.0201C83.5623 98.6942 83.2978 98.4292 82.9719 98.4292ZM84.745 96.6561C84.4191 96.6561 84.1546 96.9206 84.1546 97.2465C84.1546 97.5729 84.4191 97.8374 84.745 97.8374C85.0714 97.8374 85.3359 97.5729 85.3359 97.2465C85.3359 96.9206 85.0714 96.6561 84.745 96.6561ZM82.9719 94.883C82.6455 94.883 82.381 95.147 82.381 95.4734C82.381 95.7993 82.6455 96.0638 82.9719 96.0638C83.2978 96.0638 83.5623 95.7993 83.5623 95.4734C83.5623 95.147 83.2978 94.883 82.9719 94.883ZM84.745 93.1094C84.4191 93.1094 84.1546 93.3739 84.1546 93.6998C84.1546 94.0262 84.4191 94.2907 84.745 94.2907C85.0714 94.2907 85.3359 94.0262 85.3359 93.6998C85.3359 93.3739 85.0714 93.1094 84.745 93.1094ZM82.9719 91.3363C82.6455 91.3363 82.381 91.6003 82.381 91.9267C82.381 92.2531 82.6455 92.5171 82.9719 92.5171C83.2978 92.5171 83.5623 92.2531 83.5623 91.9267C83.5623 91.6003 83.2978 91.3363 82.9719 91.3363ZM84.745 89.5627C84.4191 89.5627 84.1546 89.8272 84.1546 90.1535C84.1546 90.4795 84.4191 90.7439 84.745 90.7439C85.0714 90.7439 85.3359 90.4795 85.3359 90.1535C85.3359 89.8272 85.0714 89.5627 84.745 89.5627ZM82.9719 87.7896C82.6455 87.7896 82.381 88.054 82.381 88.38C82.381 88.7064 82.6455 88.9704 82.9719 88.9704C83.2978 88.9704 83.5623 88.7064 83.5623 88.38C83.5623 88.054 83.2978 87.7896 82.9719 87.7896ZM84.745 86.016C84.4191 86.016 84.1546 86.2804 84.1546 86.6064C84.1546 86.9328 84.4191 87.1972 84.745 87.1972C85.0714 87.1972 85.3359 86.9328 85.3359 86.6064C85.3359 86.2804 85.0714 86.016 84.745 86.016ZM82.9719 84.2428C82.6455 84.2428 82.381 84.5073 82.381 84.8332C82.381 85.1596 82.6455 85.4241 82.9719 85.4241C83.2978 85.4241 83.5623 85.1596 83.5623 84.8332C83.5623 84.5073 83.2978 84.2428 82.9719 84.2428ZM84.745 82.4692C84.4191 82.4692 84.1546 82.7337 84.1546 83.0601C84.1546 83.386 84.4191 83.6505 84.745 83.6505C85.0714 83.6505 85.3359 83.386 85.3359 83.0601C85.3359 82.7337 85.0714 82.4692 84.745 82.4692ZM82.9719 80.6961C82.6455 80.6961 82.381 80.9606 82.381 81.2865C82.381 81.6129 82.6455 81.8769 82.9719 81.8769C83.2978 81.8769 83.5623 81.6129 83.5623 81.2865C83.5623 80.9606 83.2978 80.6961 82.9719 80.6961ZM84.745 78.923C84.4191 78.923 84.1546 79.187 84.1546 79.5134C84.1546 79.8393 84.4191 80.1038 84.745 80.1038C85.0714 80.1038 85.3359 79.8393 85.3359 79.5134C85.3359 79.187 85.0714 78.923 84.745 78.923ZM82.9719 77.1494C82.6455 77.1494 82.381 77.4139 82.381 77.7398C82.381 78.0662 82.6455 78.3307 82.9719 78.3307C83.2978 78.3307 83.5623 78.0662 83.5623 77.7398C83.5623 77.4139 83.2978 77.1494 82.9719 77.1494ZM84.745 75.3763C84.4191 75.3763 84.1546 75.6403 84.1546 75.9667C84.1546 76.2931 84.4191 76.5571 84.745 76.5571C85.0714 76.5571 85.3359 76.2931 85.3359 75.9667C85.3359 75.6403 85.0714 75.3763 84.745 75.3763ZM82.9719 73.6027C82.6455 73.6027 82.381 73.8671 82.381 74.1936C82.381 74.5195 82.6455 74.784 82.9719 74.784C83.2978 74.784 83.5623 74.5195 83.5623 74.1936C83.5623 73.8671 83.2978 73.6027 82.9719 73.6027ZM84.745 71.8296C84.4191 71.8296 84.1546 72.094 84.1546 72.4199C84.1546 72.7463 84.4191 73.0104 84.745 73.0104C85.0714 73.0104 85.3359 72.7463 85.3359 72.4199C85.3359 72.094 85.0714 71.8296 84.745 71.8296ZM82.9719 70.056C82.6455 70.056 82.381 70.3204 82.381 70.6464C82.381 70.9727 82.6455 71.2372 82.9719 71.2372C83.2978 71.2372 83.5623 70.9727 83.5623 70.6464C83.5623 70.3204 83.2978 70.056 82.9719 70.056ZM84.745 68.2828C84.4191 68.2828 84.1546 68.5468 84.1546 68.8732C84.1546 69.1996 84.4191 69.4641 84.745 69.4641C85.0714 69.4641 85.3359 69.1996 85.3359 68.8732C85.3359 68.5468 85.0714 68.2828 84.745 68.2828ZM82.9719 66.5092C82.6455 66.5092 82.381 66.7737 82.381 67.1001C82.381 67.426 82.6455 67.6905 82.9719 67.6905C83.2978 67.6905 83.5623 67.426 83.5623 67.1001C83.5623 66.7737 83.2978 66.5092 82.9719 66.5092ZM84.745 64.7361C84.4191 64.7361 84.1546 65.0006 84.1546 65.3265C84.1546 65.6529 84.4191 65.9169 84.745 65.9169C85.0714 65.9169 85.3359 65.6529 85.3359 65.3265C85.3359 65.0006 85.0714 64.7361 84.745 64.7361ZM82.9719 62.963C82.6455 62.963 82.381 63.227 82.381 63.5534C82.381 63.8793 82.6455 64.1438 82.9719 64.1438C83.2978 64.1438 83.5623 63.8793 83.5623 63.5534C83.5623 63.227 83.2978 62.963 82.9719 62.963ZM84.745 61.1894C84.4191 61.1894 84.1546 61.4539 84.1546 61.7798C84.1546 62.1062 84.4191 62.3707 84.745 62.3707C85.0714 62.3707 85.3359 62.1062 85.3359 61.7798C85.3359 61.4539 85.0714 61.1894 84.745 61.1894ZM82.9719 59.4163C82.6455 59.4163 82.381 59.6803 82.381 60.0067C82.381 60.3326 82.6455 60.5971 82.9719 60.5971C83.2978 60.5971 83.5623 60.3326 83.5623 60.0067C83.5623 59.6803 83.2978 59.4163 82.9719 59.4163ZM84.745 57.6427C84.4191 57.6427 84.1546 57.9072 84.1546 58.2336C84.1546 58.5595 84.4191 58.8239 84.745 58.8239C85.0714 58.8239 85.3359 58.5595 85.3359 58.2336C85.3359 57.9072 85.0714 57.6427 84.745 57.6427ZM82.9719 55.8696C82.6455 55.8696 82.381 56.134 82.381 56.4599C82.381 56.7863 82.6455 57.0504 82.9719 57.0504C83.2978 57.0504 83.5623 56.7863 83.5623 56.4599C83.5623 56.134 83.2978 55.8696 82.9719 55.8696ZM84.745 54.096C84.4191 54.096 84.1546 54.3604 84.1546 54.6863C84.1546 55.0127 84.4191 55.2772 84.745 55.2772C85.0714 55.2772 85.3359 55.0127 85.3359 54.6863C85.3359 54.3604 85.0714 54.096 84.745 54.096ZM82.9719 52.3228C82.6455 52.3228 82.381 52.5868 82.381 52.9132C82.381 53.2396 82.6455 53.5041 82.9719 53.5041C83.2978 53.5041 83.5623 53.2396 83.5623 52.9132C83.5623 52.5868 83.2978 52.3228 82.9719 52.3228ZM84.745 50.5492C84.4191 50.5492 84.1546 50.8137 84.1546 51.1401C84.1546 51.466 84.4191 51.7305 84.745 51.7305C85.0714 51.7305 85.3359 51.466 85.3359 51.1401C85.3359 50.8137 85.0714 50.5492 84.745 50.5492ZM82.9719 48.7761C82.6455 48.7761 82.381 49.0406 82.381 49.3665C82.381 49.6929 82.6455 49.9569 82.9719 49.9569C83.2978 49.9569 83.5623 49.6929 83.5623 49.3665C83.5623 49.0406 83.2978 48.7761 82.9719 48.7761ZM84.745 47.0025C84.4191 47.0025 84.1546 47.267 84.1546 47.5934C84.1546 47.9193 84.4191 48.1838 84.745 48.1838C85.0714 48.1838 85.3359 47.9193 85.3359 47.5934C85.3359 47.267 85.0714 47.0025 84.745 47.0025ZM82.9719 45.2294C82.6455 45.2294 82.381 45.4939 82.381 45.8198C82.381 46.1462 82.6455 46.4107 82.9719 46.4107C83.2978 46.4107 83.5623 46.1462 83.5623 45.8198C83.5623 45.4939 83.2978 45.2294 82.9719 45.2294ZM84.745 43.4563C84.4191 43.4563 84.1546 43.7203 84.1546 44.0467C84.1546 44.3726 84.4191 44.6371 84.745 44.6371C85.0714 44.6371 85.3359 44.3726 85.3359 44.0467C85.3359 43.7203 85.0714 43.4563 84.745 43.4563ZM86.5186 39.3172C86.7485 39.3172 86.942 39.1824 87.0394 38.9903L86.8421 38.7263L86.5186 38.2943L86.4154 38.1566C86.1404 38.207 85.9277 38.4369 85.9277 38.7263C85.9277 39.0527 86.1922 39.3172 86.5186 39.3172ZM82.9719 41.6827C82.6455 41.6827 82.381 41.9472 82.381 42.2731C82.381 42.5995 82.6455 42.864 82.9719 42.864C83.2978 42.864 83.5623 42.5995 83.5623 42.2731C83.5623 41.9472 83.2978 41.6827 82.9719 41.6827ZM84.745 39.9091C84.4191 39.9091 84.1546 40.174 84.1546 40.4999C84.1546 40.8259 84.4191 41.0904 84.745 41.0904C85.0714 41.0904 85.3359 40.8259 85.3359 40.4999C85.3359 40.174 85.0714 39.9091 84.745 39.9091ZM82.9719 38.1359C82.6455 38.1359 82.381 38.4004 82.381 38.7263C82.381 39.0527 82.6455 39.3172 82.9719 39.3172C83.2978 39.3172 83.5623 39.0527 83.5623 38.7263C83.5623 38.4004 83.2978 38.1359 82.9719 38.1359ZM84.745 36.3628C84.4191 36.3628 84.1546 36.6268 84.1546 36.9532C84.1546 37.2791 84.4191 37.5436 84.745 37.5436C85.0714 37.5436 85.3359 37.2791 85.3359 36.9532C85.3359 36.6268 85.0714 36.3628 84.745 36.3628ZM82.9719 34.5892C82.6455 34.5892 82.381 34.8537 82.381 35.1796C82.381 35.506 82.6455 35.7705 82.9719 35.7705C83.2978 35.7705 83.5623 35.506 83.5623 35.1796C83.5623 34.8537 83.2978 34.5892 82.9719 34.5892ZM88.1305 160.529L88.6421 160.624C88.5433 160.549 88.4257 160.496 88.2917 160.496C88.2346 160.496 88.1828 160.514 88.1305 160.529ZM86.5186 158.723C86.1922 158.723 85.9277 158.987 85.9277 159.314C85.9277 159.639 86.1922 159.904 86.5186 159.904C86.8445 159.904 87.109 159.639 87.109 159.314C87.109 158.987 86.8445 158.723 86.5186 158.723ZM88.2917 156.95C87.9658 156.95 87.7013 157.214 87.7013 157.54C87.7013 157.866 87.9658 158.131 88.2917 158.131C88.6181 158.131 88.8821 157.866 88.8821 157.54C88.8821 157.214 88.6181 156.95 88.2917 156.95ZM86.5186 155.176C86.1922 155.176 85.9277 155.441 85.9277 155.767C85.9277 156.093 86.1922 156.357 86.5186 156.357C86.8445 156.357 87.109 156.093 87.109 155.767C87.109 155.441 86.8445 155.176 86.5186 155.176ZM88.2917 153.403C87.9658 153.403 87.7013 153.668 87.7013 153.994C87.7013 154.319 87.9658 154.584 88.2917 154.584C88.6181 154.584 88.8821 154.319 88.8821 153.994C88.8821 153.668 88.6181 153.403 88.2917 153.403ZM86.5186 151.63C86.1922 151.63 85.9277 151.894 85.9277 152.22C85.9277 152.546 86.1922 152.811 86.5186 152.811C86.8445 152.811 87.109 152.546 87.109 152.22C87.109 151.894 86.8445 151.63 86.5186 151.63ZM88.2917 149.856C87.9658 149.856 87.7013 150.12 87.7013 150.447C87.7013 150.773 87.9658 151.037 88.2917 151.037C88.6181 151.037 88.8821 150.773 88.8821 150.447C88.8821 150.12 88.6181 149.856 88.2917 149.856ZM86.5186 148.083C86.1922 148.083 85.9277 148.347 85.9277 148.674C85.9277 149 86.1922 149.264 86.5186 149.264C86.8445 149.264 87.109 149 87.109 148.674C87.109 148.347 86.8445 148.083 86.5186 148.083ZM88.2917 146.31C87.9658 146.31 87.7013 146.574 87.7013 146.9C87.7013 147.227 87.9658 147.491 88.2917 147.491C88.6181 147.491 88.8821 147.227 88.8821 146.9C88.8821 146.574 88.6181 146.31 88.2917 146.31ZM86.5186 144.536C86.1922 144.536 85.9277 144.801 85.9277 145.127C85.9277 145.453 86.1922 145.717 86.5186 145.717C86.8445 145.717 87.109 145.453 87.109 145.127C87.109 144.801 86.8445 144.536 86.5186 144.536ZM88.2917 142.763C87.9658 142.763 87.7013 143.027 87.7013 143.354C87.7013 143.679 87.9658 143.944 88.2917 143.944C88.6181 143.944 88.8821 143.679 88.8821 143.354C88.8821 143.027 88.6181 142.763 88.2917 142.763ZM86.5186 140.99C86.1922 140.99 85.9277 141.254 85.9277 141.58C85.9277 141.906 86.1922 142.171 86.5186 142.171C86.8445 142.171 87.109 141.906 87.109 141.58C87.109 141.254 86.8445 140.99 86.5186 140.99ZM88.2917 139.216C87.9658 139.216 87.7013 139.481 87.7013 139.807C87.7013 140.133 87.9658 140.397 88.2917 140.397C88.6181 140.397 88.8821 140.133 88.8821 139.807C88.8821 139.481 88.6181 139.216 88.2917 139.216ZM86.5186 137.443C86.1922 137.443 85.9277 137.707 85.9277 138.034C85.9277 138.359 86.1922 138.624 86.5186 138.624C86.8445 138.624 87.109 138.359 87.109 138.034C87.109 137.707 86.8445 137.443 86.5186 137.443ZM88.2917 135.67C87.9658 135.67 87.7013 135.934 87.7013 136.26C87.7013 136.586 87.9658 136.851 88.2917 136.851C88.6181 136.851 88.8821 136.586 88.8821 136.26C88.8821 135.934 88.6181 135.67 88.2917 135.67ZM86.5186 133.896C86.1922 133.896 85.9277 134.16 85.9277 134.487C85.9277 134.813 86.1922 135.077 86.5186 135.077C86.8445 135.077 87.109 134.813 87.109 134.487C87.109 134.16 86.8445 133.896 86.5186 133.896ZM88.2917 132.123C87.9658 132.123 87.7013 132.387 87.7013 132.714C87.7013 133.04 87.9658 133.304 88.2917 133.304C88.6181 133.304 88.8821 133.04 88.8821 132.714C88.8821 132.387 88.6181 132.123 88.2917 132.123ZM86.5186 130.35C86.1922 130.35 85.9277 130.614 85.9277 130.94C85.9277 131.267 86.1922 131.531 86.5186 131.531C86.8445 131.531 87.109 131.267 87.109 130.94C87.109 130.614 86.8445 130.35 86.5186 130.35ZM88.2917 128.576C87.9658 128.576 87.7013 128.841 87.7013 129.167C87.7013 129.493 87.9658 129.757 88.2917 129.757C88.6181 129.757 88.8821 129.493 88.8821 129.167C88.8821 128.841 88.6181 128.576 88.2917 128.576ZM86.5186 126.803C86.1922 126.803 85.9277 127.067 85.9277 127.393C85.9277 127.719 86.1922 127.984 86.5186 127.984C86.8445 127.984 87.109 127.719 87.109 127.393C87.109 127.067 86.8445 126.803 86.5186 126.803ZM88.2917 125.029C87.9658 125.029 87.7013 125.294 87.7013 125.62C87.7013 125.946 87.9658 126.211 88.2917 126.211C88.6181 126.211 88.8821 125.946 88.8821 125.62C88.8821 125.294 88.6181 125.029 88.2917 125.029ZM86.5186 123.256C86.1922 123.256 85.9277 123.52 85.9277 123.847C85.9277 124.173 86.1922 124.437 86.5186 124.437C86.8445 124.437 87.109 124.173 87.109 123.847C87.109 123.52 86.8445 123.256 86.5186 123.256ZM88.2917 121.483C87.9658 121.483 87.7013 121.747 87.7013 122.074C87.7013 122.399 87.9658 122.664 88.2917 122.664C88.6181 122.664 88.8821 122.399 88.8821 122.074C88.8821 121.747 88.6181 121.483 88.2917 121.483ZM86.5186 119.71C86.1922 119.71 85.9277 119.974 85.9277 120.3C85.9277 120.626 86.1922 120.891 86.5186 120.891C86.8445 120.891 87.109 120.626 87.109 120.3C87.109 119.974 86.8445 119.71 86.5186 119.71ZM88.2917 117.936C87.9658 117.936 87.7013 118.2 87.7013 118.527C87.7013 118.853 87.9658 119.117 88.2917 119.117C88.6181 119.117 88.8821 118.853 88.8821 118.527C88.8821 118.2 88.6181 117.936 88.2917 117.936ZM86.5186 116.163C86.1922 116.163 85.9277 116.427 85.9277 116.754C85.9277 117.08 86.1922 117.344 86.5186 117.344C86.8445 117.344 87.109 117.08 87.109 116.754C87.109 116.427 86.8445 116.163 86.5186 116.163ZM88.2917 114.39C87.9658 114.39 87.7013 114.654 87.7013 114.98C87.7013 115.306 87.9658 115.571 88.2917 115.571C88.6181 115.571 88.8821 115.306 88.8821 114.98C88.8821 114.654 88.6181 114.39 88.2917 114.39ZM86.5186 112.616C86.1922 112.616 85.9277 112.881 85.9277 113.207C85.9277 113.533 86.1922 113.797 86.5186 113.797C86.8445 113.797 87.109 113.533 87.109 113.207C87.109 112.881 86.8445 112.616 86.5186 112.616ZM88.2917 110.843C87.9658 110.843 87.7013 111.107 87.7013 111.433C87.7013 111.759 87.9658 112.024 88.2917 112.024C88.6181 112.024 88.8821 111.759 88.8821 111.433C88.8821 111.107 88.6181 110.843 88.2917 110.843ZM86.5186 109.069C86.1922 109.069 85.9277 109.334 85.9277 109.66C85.9277 109.986 86.1922 110.251 86.5186 110.251C86.8445 110.251 87.109 109.986 87.109 109.66C87.109 109.334 86.8445 109.069 86.5186 109.069ZM88.2917 107.296C87.9658 107.296 87.7013 107.561 87.7013 107.887C87.7013 108.213 87.9658 108.477 88.2917 108.477C88.6181 108.477 88.8821 108.213 88.8821 107.887C88.8821 107.561 88.6181 107.296 88.2917 107.296ZM86.5186 105.523C86.1922 105.523 85.9277 105.787 85.9277 106.114C85.9277 106.439 86.1922 106.704 86.5186 106.704C86.8445 106.704 87.109 106.439 87.109 106.114C87.109 105.787 86.8445 105.523 86.5186 105.523ZM88.2917 103.75C87.9658 103.75 87.7013 104.014 87.7013 104.34C87.7013 104.666 87.9658 104.93 88.2917 104.93C88.6181 104.93 88.8821 104.666 88.8821 104.34C88.8821 104.014 88.6181 103.75 88.2917 103.75ZM86.5186 101.976C86.1922 101.976 85.9277 102.24 85.9277 102.567C85.9277 102.893 86.1922 103.157 86.5186 103.157C86.8445 103.157 87.109 102.893 87.109 102.567C87.109 102.24 86.8445 101.976 86.5186 101.976ZM88.2917 100.203C87.9658 100.203 87.7013 100.467 87.7013 100.793C87.7013 101.12 87.9658 101.384 88.2917 101.384C88.6181 101.384 88.8821 101.12 88.8821 100.793C88.8821 100.467 88.6181 100.203 88.2917 100.203ZM86.5186 98.4292C86.1922 98.4292 85.9277 98.6942 85.9277 99.0201C85.9277 99.346 86.1922 99.6105 86.5186 99.6105C86.8445 99.6105 87.109 99.346 87.109 99.0201C87.109 98.6942 86.8445 98.4292 86.5186 98.4292ZM88.2917 96.6561C87.9658 96.6561 87.7013 96.9206 87.7013 97.2465C87.7013 97.5729 87.9658 97.8374 88.2917 97.8374C88.6181 97.8374 88.8821 97.5729 88.8821 97.2465C88.8821 96.9206 88.6181 96.6561 88.2917 96.6561ZM86.5186 94.883C86.1922 94.883 85.9277 95.147 85.9277 95.4734C85.9277 95.7993 86.1922 96.0638 86.5186 96.0638C86.8445 96.0638 87.109 95.7993 87.109 95.4734C87.109 95.147 86.8445 94.883 86.5186 94.883ZM88.2917 93.1094C87.9658 93.1094 87.7013 93.3739 87.7013 93.6998C87.7013 94.0262 87.9658 94.2907 88.2917 94.2907C88.6181 94.2907 88.8821 94.0262 88.8821 93.6998C88.8821 93.3739 88.6181 93.1094 88.2917 93.1094ZM86.5186 91.3363C86.1922 91.3363 85.9277 91.6003 85.9277 91.9267C85.9277 92.2531 86.1922 92.5171 86.5186 92.5171C86.8445 92.5171 87.109 92.2531 87.109 91.9267C87.109 91.6003 86.8445 91.3363 86.5186 91.3363ZM88.2917 89.5627C87.9658 89.5627 87.7013 89.8272 87.7013 90.1535C87.7013 90.4795 87.9658 90.7439 88.2917 90.7439C88.6181 90.7439 88.8821 90.4795 88.8821 90.1535C88.8821 89.8272 88.6181 89.5627 88.2917 89.5627ZM86.5186 87.7896C86.1922 87.7896 85.9277 88.054 85.9277 88.38C85.9277 88.7064 86.1922 88.9704 86.5186 88.9704C86.8445 88.9704 87.109 88.7064 87.109 88.38C87.109 88.054 86.8445 87.7896 86.5186 87.7896ZM88.2917 86.016C87.9658 86.016 87.7013 86.2804 87.7013 86.6064C87.7013 86.9328 87.9658 87.1972 88.2917 87.1972C88.6181 87.1972 88.8821 86.9328 88.8821 86.6064C88.8821 86.2804 88.6181 86.016 88.2917 86.016ZM86.5186 84.2428C86.1922 84.2428 85.9277 84.5073 85.9277 84.8332C85.9277 85.1596 86.1922 85.4241 86.5186 85.4241C86.8445 85.4241 87.109 85.1596 87.109 84.8332C87.109 84.5073 86.8445 84.2428 86.5186 84.2428ZM88.2917 82.4692C87.9658 82.4692 87.7013 82.7337 87.7013 83.0601C87.7013 83.386 87.9658 83.6505 88.2917 83.6505C88.6181 83.6505 88.8821 83.386 88.8821 83.0601C88.8821 82.7337 88.6181 82.4692 88.2917 82.4692ZM86.5186 80.6961C86.1922 80.6961 85.9277 80.9606 85.9277 81.2865C85.9277 81.6129 86.1922 81.8769 86.5186 81.8769C86.8445 81.8769 87.109 81.6129 87.109 81.2865C87.109 80.9606 86.8445 80.6961 86.5186 80.6961ZM88.2917 78.923C87.9658 78.923 87.7013 79.187 87.7013 79.5134C87.7013 79.8393 87.9658 80.1038 88.2917 80.1038C88.6181 80.1038 88.8821 79.8393 88.8821 79.5134C88.8821 79.187 88.6181 78.923 88.2917 78.923ZM86.5186 77.1494C86.1922 77.1494 85.9277 77.4139 85.9277 77.7398C85.9277 78.0662 86.1922 78.3307 86.5186 78.3307C86.8445 78.3307 87.109 78.0662 87.109 77.7398C87.109 77.4139 86.8445 77.1494 86.5186 77.1494ZM88.2917 75.3763C87.9658 75.3763 87.7013 75.6403 87.7013 75.9667C87.7013 76.2931 87.9658 76.5571 88.2917 76.5571C88.6181 76.5571 88.8821 76.2931 88.8821 75.9667C88.8821 75.6403 88.6181 75.3763 88.2917 75.3763ZM86.5186 73.6027C86.1922 73.6027 85.9277 73.8671 85.9277 74.1936C85.9277 74.5195 86.1922 74.784 86.5186 74.784C86.8445 74.784 87.109 74.5195 87.109 74.1936C87.109 73.8671 86.8445 73.6027 86.5186 73.6027ZM88.2917 71.8296C87.9658 71.8296 87.7013 72.094 87.7013 72.4199C87.7013 72.7463 87.9658 73.0104 88.2917 73.0104C88.6181 73.0104 88.8821 72.7463 88.8821 72.4199C88.8821 72.094 88.6181 71.8296 88.2917 71.8296ZM86.5186 70.056C86.1922 70.056 85.9277 70.3204 85.9277 70.6464C85.9277 70.9727 86.1922 71.2372 86.5186 71.2372C86.8445 71.2372 87.109 70.9727 87.109 70.6464C87.109 70.3204 86.8445 70.056 86.5186 70.056ZM88.2917 68.2828C87.9658 68.2828 87.7013 68.5468 87.7013 68.8732C87.7013 69.1996 87.9658 69.4641 88.2917 69.4641C88.6181 69.4641 88.8821 69.1996 88.8821 68.8732C88.8821 68.5468 88.6181 68.2828 88.2917 68.2828ZM86.5186 66.5092C86.1922 66.5092 85.9277 66.7737 85.9277 67.1001C85.9277 67.426 86.1922 67.6905 86.5186 67.6905C86.8445 67.6905 87.109 67.426 87.109 67.1001C87.109 66.7737 86.8445 66.5092 86.5186 66.5092ZM88.2917 64.7361C87.9658 64.7361 87.7013 65.0006 87.7013 65.3265C87.7013 65.6529 87.9658 65.9169 88.2917 65.9169C88.6181 65.9169 88.8821 65.6529 88.8821 65.3265C88.8821 65.0006 88.6181 64.7361 88.2917 64.7361ZM86.5186 62.963C86.1922 62.963 85.9277 63.227 85.9277 63.5534C85.9277 63.8793 86.1922 64.1438 86.5186 64.1438C86.8445 64.1438 87.109 63.8793 87.109 63.5534C87.109 63.227 86.8445 62.963 86.5186 62.963ZM88.2917 61.1894C87.9658 61.1894 87.7013 61.4539 87.7013 61.7798C87.7013 62.1062 87.9658 62.3707 88.2917 62.3707C88.6181 62.3707 88.8821 62.1062 88.8821 61.7798C88.8821 61.4539 88.6181 61.1894 88.2917 61.1894ZM86.5186 59.4163C86.1922 59.4163 85.9277 59.6803 85.9277 60.0067C85.9277 60.3326 86.1922 60.5971 86.5186 60.5971C86.8445 60.5971 87.109 60.3326 87.109 60.0067C87.109 59.6803 86.8445 59.4163 86.5186 59.4163ZM88.2917 57.6427C87.9658 57.6427 87.7013 57.9072 87.7013 58.2336C87.7013 58.5595 87.9658 58.8239 88.2917 58.8239C88.6181 58.8239 88.8821 58.5595 88.8821 58.2336C88.8821 57.9072 88.6181 57.6427 88.2917 57.6427ZM86.5186 55.8696C86.1922 55.8696 85.9277 56.134 85.9277 56.4599C85.9277 56.7863 86.1922 57.0504 86.5186 57.0504C86.8445 57.0504 87.109 56.7863 87.109 56.4599C87.109 56.134 86.8445 55.8696 86.5186 55.8696ZM88.2917 54.096C87.9658 54.096 87.7013 54.3604 87.7013 54.6863C87.7013 55.0127 87.9658 55.2772 88.2917 55.2772C88.6181 55.2772 88.8821 55.0127 88.8821 54.6863C88.8821 54.3604 88.6181 54.096 88.2917 54.096ZM86.5186 52.3228C86.1922 52.3228 85.9277 52.5868 85.9277 52.9132C85.9277 53.2396 86.1922 53.5041 86.5186 53.5041C86.8445 53.5041 87.109 53.2396 87.109 52.9132C87.109 52.5868 86.8445 52.3228 86.5186 52.3228ZM88.2917 50.5492C87.9658 50.5492 87.7013 50.8137 87.7013 51.1401C87.7013 51.466 87.9658 51.7305 88.2917 51.7305C88.6181 51.7305 88.8821 51.466 88.8821 51.1401C88.8821 50.8137 88.6181 50.5492 88.2917 50.5492ZM86.5186 48.7761C86.1922 48.7761 85.9277 49.0406 85.9277 49.3665C85.9277 49.6929 86.1922 49.9569 86.5186 49.9569C86.8445 49.9569 87.109 49.6929 87.109 49.3665C87.109 49.0406 86.8445 48.7761 86.5186 48.7761ZM88.2917 47.0025C87.9658 47.0025 87.7013 47.267 87.7013 47.5934C87.7013 47.9193 87.9658 48.1838 88.2917 48.1838C88.6181 48.1838 88.8821 47.9193 88.8821 47.5934C88.8821 47.267 88.6181 47.0025 88.2917 47.0025ZM89.9185 42.8342L89.4985 42.2731L89.4797 42.2481C89.4793 42.2567 89.4745 42.2644 89.4745 42.2731C89.4745 42.5471 89.6655 42.7675 89.9185 42.8342ZM86.5186 45.2294C86.1922 45.2294 85.9277 45.4939 85.9277 45.8198C85.9277 46.1462 86.1922 46.4107 86.5186 46.4107C86.8445 46.4107 87.109 46.1462 87.109 45.8198C87.109 45.4939 86.8445 45.2294 86.5186 45.2294ZM88.2917 43.4563C87.9658 43.4563 87.7013 43.7203 87.7013 44.0467C87.7013 44.3726 87.9658 44.6371 88.2917 44.6371C88.6181 44.6371 88.8821 44.3726 88.8821 44.0467C88.8821 43.7203 88.6181 43.4563 88.2917 43.4563ZM86.5186 41.6827C86.1922 41.6827 85.9277 41.9472 85.9277 42.2731C85.9277 42.5995 86.1922 42.864 86.5186 42.864C86.8445 42.864 87.109 42.5995 87.109 42.2731C87.109 41.9472 86.8445 41.6827 86.5186 41.6827ZM88.2917 41.0904C88.3892 41.0904 88.478 41.0611 88.5591 41.0188L87.8665 40.0943C87.7652 40.1999 87.7013 40.342 87.7013 40.4999C87.7013 40.8259 87.9658 41.0904 88.2917 41.0904ZM91.8385 160.496C91.5121 160.496 91.2481 160.761 91.2481 161.087C91.2481 161.095 91.2524 161.102 91.2524 161.11L92.3804 161.32C92.4111 161.248 92.4289 161.17 92.4289 161.087C92.4289 160.761 92.1644 160.496 91.8385 160.496ZM90.0653 158.723C89.7389 158.723 89.4745 158.987 89.4745 159.314C89.4745 159.639 89.7389 159.904 90.0653 159.904C90.3913 159.904 90.6557 159.639 90.6557 159.314C90.6557 158.987 90.3913 158.723 90.0653 158.723ZM91.8385 156.95C91.5121 156.95 91.2481 157.214 91.2481 157.54C91.2481 157.866 91.5121 158.131 91.8385 158.131C92.1644 158.131 92.4289 157.866 92.4289 157.54C92.4289 157.214 92.1644 156.95 91.8385 156.95ZM90.0653 155.176C89.7389 155.176 89.4745 155.441 89.4745 155.767C89.4745 156.093 89.7389 156.357 90.0653 156.357C90.3913 156.357 90.6557 156.093 90.6557 155.767C90.6557 155.441 90.3913 155.176 90.0653 155.176ZM91.8385 153.403C91.5121 153.403 91.2481 153.668 91.2481 153.994C91.2481 154.319 91.5121 154.584 91.8385 154.584C92.1644 154.584 92.4289 154.319 92.4289 153.994C92.4289 153.668 92.1644 153.403 91.8385 153.403ZM90.0653 151.63C89.7389 151.63 89.4745 151.894 89.4745 152.22C89.4745 152.546 89.7389 152.811 90.0653 152.811C90.3913 152.811 90.6557 152.546 90.6557 152.22C90.6557 151.894 90.3913 151.63 90.0653 151.63ZM91.8385 149.856C91.5121 149.856 91.2481 150.12 91.2481 150.447C91.2481 150.773 91.5121 151.037 91.8385 151.037C92.1644 151.037 92.4289 150.773 92.4289 150.447C92.4289 150.12 92.1644 149.856 91.8385 149.856ZM90.0653 148.083C89.7389 148.083 89.4745 148.347 89.4745 148.674C89.4745 149 89.7389 149.264 90.0653 149.264C90.3913 149.264 90.6557 149 90.6557 148.674C90.6557 148.347 90.3913 148.083 90.0653 148.083ZM91.8385 146.31C91.5121 146.31 91.2481 146.574 91.2481 146.9C91.2481 147.227 91.5121 147.491 91.8385 147.491C92.1644 147.491 92.4289 147.227 92.4289 146.9C92.4289 146.574 92.1644 146.31 91.8385 146.31ZM90.0653 144.536C89.7389 144.536 89.4745 144.801 89.4745 145.127C89.4745 145.453 89.7389 145.717 90.0653 145.717C90.3913 145.717 90.6557 145.453 90.6557 145.127C90.6557 144.801 90.3913 144.536 90.0653 144.536ZM91.8385 142.763C91.5121 142.763 91.2481 143.027 91.2481 143.354C91.2481 143.679 91.5121 143.944 91.8385 143.944C92.1644 143.944 92.4289 143.679 92.4289 143.354C92.4289 143.027 92.1644 142.763 91.8385 142.763ZM90.0653 140.99C89.7389 140.99 89.4745 141.254 89.4745 141.58C89.4745 141.906 89.7389 142.171 90.0653 142.171C90.3913 142.171 90.6557 141.906 90.6557 141.58C90.6557 141.254 90.3913 140.99 90.0653 140.99ZM91.8385 139.216C91.5121 139.216 91.2481 139.481 91.2481 139.807C91.2481 140.133 91.5121 140.397 91.8385 140.397C92.1644 140.397 92.4289 140.133 92.4289 139.807C92.4289 139.481 92.1644 139.216 91.8385 139.216ZM90.0653 137.443C89.7389 137.443 89.4745 137.707 89.4745 138.034C89.4745 138.359 89.7389 138.624 90.0653 138.624C90.3913 138.624 90.6557 138.359 90.6557 138.034C90.6557 137.707 90.3913 137.443 90.0653 137.443ZM91.8385 135.67C91.5121 135.67 91.2481 135.934 91.2481 136.26C91.2481 136.586 91.5121 136.851 91.8385 136.851C92.1644 136.851 92.4289 136.586 92.4289 136.26C92.4289 135.934 92.1644 135.67 91.8385 135.67ZM90.0653 133.896C89.7389 133.896 89.4745 134.16 89.4745 134.487C89.4745 134.813 89.7389 135.077 90.0653 135.077C90.3913 135.077 90.6557 134.813 90.6557 134.487C90.6557 134.16 90.3913 133.896 90.0653 133.896ZM91.8385 132.123C91.5121 132.123 91.2481 132.387 91.2481 132.714C91.2481 133.04 91.5121 133.304 91.8385 133.304C92.1644 133.304 92.4289 133.04 92.4289 132.714C92.4289 132.387 92.1644 132.123 91.8385 132.123ZM90.0653 130.35C89.7389 130.35 89.4745 130.614 89.4745 130.94C89.4745 131.267 89.7389 131.531 90.0653 131.531C90.3913 131.531 90.6557 131.267 90.6557 130.94C90.6557 130.614 90.3913 130.35 90.0653 130.35ZM91.8385 128.576C91.5121 128.576 91.2481 128.841 91.2481 129.167C91.2481 129.493 91.5121 129.757 91.8385 129.757C92.1644 129.757 92.4289 129.493 92.4289 129.167C92.4289 128.841 92.1644 128.576 91.8385 128.576ZM90.0653 126.803C89.7389 126.803 89.4745 127.067 89.4745 127.393C89.4745 127.719 89.7389 127.984 90.0653 127.984C90.3913 127.984 90.6557 127.719 90.6557 127.393C90.6557 127.067 90.3913 126.803 90.0653 126.803ZM91.8385 125.029C91.5121 125.029 91.2481 125.294 91.2481 125.62C91.2481 125.946 91.5121 126.211 91.8385 126.211C92.1644 126.211 92.4289 125.946 92.4289 125.62C92.4289 125.294 92.1644 125.029 91.8385 125.029ZM90.0653 123.256C89.7389 123.256 89.4745 123.52 89.4745 123.847C89.4745 124.173 89.7389 124.437 90.0653 124.437C90.3913 124.437 90.6557 124.173 90.6557 123.847C90.6557 123.52 90.3913 123.256 90.0653 123.256ZM91.8385 121.483C91.5121 121.483 91.2481 121.747 91.2481 122.074C91.2481 122.399 91.5121 122.664 91.8385 122.664C92.1644 122.664 92.4289 122.399 92.4289 122.074C92.4289 121.747 92.1644 121.483 91.8385 121.483ZM90.0653 119.71C89.7389 119.71 89.4745 119.974 89.4745 120.3C89.4745 120.626 89.7389 120.891 90.0653 120.891C90.3913 120.891 90.6557 120.626 90.6557 120.3C90.6557 119.974 90.3913 119.71 90.0653 119.71ZM91.8385 117.936C91.5121 117.936 91.2481 118.2 91.2481 118.527C91.2481 118.853 91.5121 119.117 91.8385 119.117C92.1644 119.117 92.4289 118.853 92.4289 118.527C92.4289 118.2 92.1644 117.936 91.8385 117.936ZM90.0653 116.163C89.7389 116.163 89.4745 116.427 89.4745 116.754C89.4745 117.08 89.7389 117.344 90.0653 117.344C90.3913 117.344 90.6557 117.08 90.6557 116.754C90.6557 116.427 90.3913 116.163 90.0653 116.163ZM91.8385 114.39C91.5121 114.39 91.2481 114.654 91.2481 114.98C91.2481 115.306 91.5121 115.571 91.8385 115.571C92.1644 115.571 92.4289 115.306 92.4289 114.98C92.4289 114.654 92.1644 114.39 91.8385 114.39ZM90.0653 112.616C89.7389 112.616 89.4745 112.881 89.4745 113.207C89.4745 113.533 89.7389 113.797 90.0653 113.797C90.3913 113.797 90.6557 113.533 90.6557 113.207C90.6557 112.881 90.3913 112.616 90.0653 112.616ZM91.8385 110.843C91.5121 110.843 91.2481 111.107 91.2481 111.433C91.2481 111.759 91.5121 112.024 91.8385 112.024C92.1644 112.024 92.4289 111.759 92.4289 111.433C92.4289 111.107 92.1644 110.843 91.8385 110.843ZM90.0653 109.069C89.7389 109.069 89.4745 109.334 89.4745 109.66C89.4745 109.986 89.7389 110.251 90.0653 110.251C90.3913 110.251 90.6557 109.986 90.6557 109.66C90.6557 109.334 90.3913 109.069 90.0653 109.069ZM91.8385 107.296C91.5121 107.296 91.2481 107.561 91.2481 107.887C91.2481 108.213 91.5121 108.477 91.8385 108.477C92.1644 108.477 92.4289 108.213 92.4289 107.887C92.4289 107.561 92.1644 107.296 91.8385 107.296ZM90.0653 105.523C89.7389 105.523 89.4745 105.787 89.4745 106.114C89.4745 106.439 89.7389 106.704 90.0653 106.704C90.3913 106.704 90.6557 106.439 90.6557 106.114C90.6557 105.787 90.3913 105.523 90.0653 105.523ZM91.8385 103.75C91.5121 103.75 91.2481 104.014 91.2481 104.34C91.2481 104.666 91.5121 104.93 91.8385 104.93C92.1644 104.93 92.4289 104.666 92.4289 104.34C92.4289 104.014 92.1644 103.75 91.8385 103.75ZM90.0653 101.976C89.7389 101.976 89.4745 102.24 89.4745 102.567C89.4745 102.893 89.7389 103.157 90.0653 103.157C90.3913 103.157 90.6557 102.893 90.6557 102.567C90.6557 102.24 90.3913 101.976 90.0653 101.976ZM91.8385 100.203C91.5121 100.203 91.2481 100.467 91.2481 100.793C91.2481 101.12 91.5121 101.384 91.8385 101.384C92.1644 101.384 92.4289 101.12 92.4289 100.793C92.4289 100.467 92.1644 100.203 91.8385 100.203ZM90.0653 98.4292C89.7389 98.4292 89.4745 98.6942 89.4745 99.0201C89.4745 99.346 89.7389 99.6105 90.0653 99.6105C90.3913 99.6105 90.6557 99.346 90.6557 99.0201C90.6557 98.6942 90.3913 98.4292 90.0653 98.4292ZM91.8385 96.6561C91.5121 96.6561 91.2481 96.9206 91.2481 97.2465C91.2481 97.5729 91.5121 97.8374 91.8385 97.8374C92.1644 97.8374 92.4289 97.5729 92.4289 97.2465C92.4289 96.9206 92.1644 96.6561 91.8385 96.6561ZM90.0653 94.883C89.7389 94.883 89.4745 95.147 89.4745 95.4734C89.4745 95.7993 89.7389 96.0638 90.0653 96.0638C90.3913 96.0638 90.6557 95.7993 90.6557 95.4734C90.6557 95.147 90.3913 94.883 90.0653 94.883ZM91.8385 93.1094C91.5121 93.1094 91.2481 93.3739 91.2481 93.6998C91.2481 94.0262 91.5121 94.2907 91.8385 94.2907C92.1644 94.2907 92.4289 94.0262 92.4289 93.6998C92.4289 93.3739 92.1644 93.1094 91.8385 93.1094ZM90.0653 91.3363C89.7389 91.3363 89.4745 91.6003 89.4745 91.9267C89.4745 92.2531 89.7389 92.5171 90.0653 92.5171C90.3913 92.5171 90.6557 92.2531 90.6557 91.9267C90.6557 91.6003 90.3913 91.3363 90.0653 91.3363ZM91.8385 89.5627C91.5121 89.5627 91.2481 89.8272 91.2481 90.1535C91.2481 90.4795 91.5121 90.7439 91.8385 90.7439C92.1644 90.7439 92.4289 90.4795 92.4289 90.1535C92.4289 89.8272 92.1644 89.5627 91.8385 89.5627ZM90.0653 87.7896C89.7389 87.7896 89.4745 88.054 89.4745 88.38C89.4745 88.7064 89.7389 88.9704 90.0653 88.9704C90.3913 88.9704 90.6557 88.7064 90.6557 88.38C90.6557 88.054 90.3913 87.7896 90.0653 87.7896ZM91.8385 86.016C91.5121 86.016 91.2481 86.2804 91.2481 86.6064C91.2481 86.9328 91.5121 87.1972 91.8385 87.1972C92.1644 87.1972 92.4289 86.9328 92.4289 86.6064C92.4289 86.2804 92.1644 86.016 91.8385 86.016ZM90.0653 84.2428C89.7389 84.2428 89.4745 84.5073 89.4745 84.8332C89.4745 85.1596 89.7389 85.4241 90.0653 85.4241C90.3913 85.4241 90.6557 85.1596 90.6557 84.8332C90.6557 84.5073 90.3913 84.2428 90.0653 84.2428ZM91.8385 82.4692C91.5121 82.4692 91.2481 82.7337 91.2481 83.0601C91.2481 83.386 91.5121 83.6505 91.8385 83.6505C92.1644 83.6505 92.4289 83.386 92.4289 83.0601C92.4289 82.7337 92.1644 82.4692 91.8385 82.4692ZM90.0653 80.6961C89.7389 80.6961 89.4745 80.9606 89.4745 81.2865C89.4745 81.6129 89.7389 81.8769 90.0653 81.8769C90.3913 81.8769 90.6557 81.6129 90.6557 81.2865C90.6557 80.9606 90.3913 80.6961 90.0653 80.6961ZM91.8385 78.923C91.5121 78.923 91.2481 79.187 91.2481 79.5134C91.2481 79.8393 91.5121 80.1038 91.8385 80.1038C92.1644 80.1038 92.4289 79.8393 92.4289 79.5134C92.4289 79.187 92.1644 78.923 91.8385 78.923ZM90.0653 77.1494C89.7389 77.1494 89.4745 77.4139 89.4745 77.7398C89.4745 78.0662 89.7389 78.3307 90.0653 78.3307C90.3913 78.3307 90.6557 78.0662 90.6557 77.7398C90.6557 77.4139 90.3913 77.1494 90.0653 77.1494ZM91.8385 75.3763C91.5121 75.3763 91.2481 75.6403 91.2481 75.9667C91.2481 76.2931 91.5121 76.5571 91.8385 76.5571C92.1644 76.5571 92.4289 76.2931 92.4289 75.9667C92.4289 75.6403 92.1644 75.3763 91.8385 75.3763ZM90.0653 73.6027C89.7389 73.6027 89.4745 73.8671 89.4745 74.1936C89.4745 74.5195 89.7389 74.784 90.0653 74.784C90.3913 74.784 90.6557 74.5195 90.6557 74.1936C90.6557 73.8671 90.3913 73.6027 90.0653 73.6027ZM91.8385 71.8296C91.5121 71.8296 91.2481 72.094 91.2481 72.4199C91.2481 72.7463 91.5121 73.0104 91.8385 73.0104C92.1644 73.0104 92.4289 72.7463 92.4289 72.4199C92.4289 72.094 92.1644 71.8296 91.8385 71.8296ZM90.0653 70.056C89.7389 70.056 89.4745 70.3204 89.4745 70.6464C89.4745 70.9727 89.7389 71.2372 90.0653 71.2372C90.3913 71.2372 90.6557 70.9727 90.6557 70.6464C90.6557 70.3204 90.3913 70.056 90.0653 70.056ZM91.8385 68.2828C91.5121 68.2828 91.2481 68.5468 91.2481 68.8732C91.2481 69.1996 91.5121 69.4641 91.8385 69.4641C92.1644 69.4641 92.4289 69.1996 92.4289 68.8732C92.4289 68.5468 92.1644 68.2828 91.8385 68.2828ZM90.0653 66.5092C89.7389 66.5092 89.4745 66.7737 89.4745 67.1001C89.4745 67.426 89.7389 67.6905 90.0653 67.6905C90.3913 67.6905 90.6557 67.426 90.6557 67.1001C90.6557 66.7737 90.3913 66.5092 90.0653 66.5092ZM91.8385 64.7361C91.5121 64.7361 91.2481 65.0006 91.2481 65.3265C91.2481 65.6529 91.5121 65.9169 91.8385 65.9169C92.1644 65.9169 92.4289 65.6529 92.4289 65.3265C92.4289 65.0006 92.1644 64.7361 91.8385 64.7361ZM90.0653 62.963C89.7389 62.963 89.4745 63.227 89.4745 63.5534C89.4745 63.8793 89.7389 64.1438 90.0653 64.1438C90.3913 64.1438 90.6557 63.8793 90.6557 63.5534C90.6557 63.227 90.3913 62.963 90.0653 62.963ZM91.8385 61.1894C91.5121 61.1894 91.2481 61.4539 91.2481 61.7798C91.2481 62.1062 91.5121 62.3707 91.8385 62.3707C92.1644 62.3707 92.4289 62.1062 92.4289 61.7798C92.4289 61.4539 92.1644 61.1894 91.8385 61.1894ZM90.0653 59.4163C89.7389 59.4163 89.4745 59.6803 89.4745 60.0067C89.4745 60.3326 89.7389 60.5971 90.0653 60.5971C90.3913 60.5971 90.6557 60.3326 90.6557 60.0067C90.6557 59.6803 90.3913 59.4163 90.0653 59.4163ZM91.8385 57.6427C91.5121 57.6427 91.2481 57.9072 91.2481 58.2336C91.2481 58.5595 91.5121 58.8239 91.8385 58.8239C92.1644 58.8239 92.4289 58.5595 92.4289 58.2336C92.4289 57.9072 92.1644 57.6427 91.8385 57.6427ZM90.0653 55.8696C89.7389 55.8696 89.4745 56.134 89.4745 56.4599C89.4745 56.7863 89.7389 57.0504 90.0653 57.0504C90.3913 57.0504 90.6557 56.7863 90.6557 56.4599C90.6557 56.134 90.3913 55.8696 90.0653 55.8696ZM91.8385 54.096C91.5121 54.096 91.2481 54.3604 91.2481 54.6863C91.2481 55.0127 91.5121 55.2772 91.8385 55.2772C92.1644 55.2772 92.4289 55.0127 92.4289 54.6863C92.4289 54.3604 92.1644 54.096 91.8385 54.096ZM90.0653 52.3228C89.7389 52.3228 89.4745 52.5868 89.4745 52.9132C89.4745 53.2396 89.7389 53.5041 90.0653 53.5041C90.3913 53.5041 90.6557 53.2396 90.6557 52.9132C90.6557 52.5868 90.3913 52.3228 90.0653 52.3228ZM91.8385 50.5492C91.5121 50.5492 91.2481 50.8137 91.2481 51.1401C91.2481 51.466 91.5121 51.7305 91.8385 51.7305C92.1644 51.7305 92.4289 51.466 92.4289 51.1401C92.4289 50.8137 92.1644 50.5492 91.8385 50.5492ZM90.0653 48.7761C89.7389 48.7761 89.4745 49.0406 89.4745 49.3665C89.4745 49.6929 89.7389 49.9569 90.0653 49.9569C90.3913 49.9569 90.6557 49.6929 90.6557 49.3665C90.6557 49.0406 90.3913 48.7761 90.0653 48.7761ZM91.8385 47.0025C91.5121 47.0025 91.2481 47.267 91.2481 47.5934C91.2481 47.9193 91.5121 48.1838 91.8385 48.1838C92.1644 48.1838 92.4289 47.9193 92.4289 47.5934C92.4289 47.267 92.1644 47.0025 91.8385 47.0025ZM90.0653 45.2294C89.7389 45.2294 89.4745 45.4939 89.4745 45.8198C89.4745 46.1462 89.7389 46.4107 90.0653 46.4107C90.3913 46.4107 90.6557 46.1462 90.6557 45.8198C90.6557 45.4939 90.3913 45.2294 90.0653 45.2294ZM95.3852 160.496C95.0588 160.496 94.7948 160.761 94.7948 161.087C94.7948 161.413 95.0588 161.677 95.3852 161.677C95.7111 161.677 95.9756 161.413 95.9756 161.087C95.9756 160.761 95.7111 160.496 95.3852 160.496ZM93.6116 158.723C93.2857 158.723 93.0212 158.987 93.0212 159.314C93.0212 159.639 93.2857 159.904 93.6116 159.904C93.938 159.904 94.2025 159.639 94.2025 159.314C94.2025 158.987 93.938 158.723 93.6116 158.723ZM95.3852 156.95C95.0588 156.95 94.7948 157.214 94.7948 157.54C94.7948 157.866 95.0588 158.131 95.3852 158.131C95.7111 158.131 95.9756 157.866 95.9756 157.54C95.9756 157.214 95.7111 156.95 95.3852 156.95ZM93.6116 155.176C93.2857 155.176 93.0212 155.441 93.0212 155.767C93.0212 156.093 93.2857 156.357 93.6116 156.357C93.938 156.357 94.2025 156.093 94.2025 155.767C94.2025 155.441 93.938 155.176 93.6116 155.176ZM95.3852 153.403C95.0588 153.403 94.7948 153.668 94.7948 153.994C94.7948 154.319 95.0588 154.584 95.3852 154.584C95.7111 154.584 95.9756 154.319 95.9756 153.994C95.9756 153.668 95.7111 153.403 95.3852 153.403ZM93.6116 151.63C93.2857 151.63 93.0212 151.894 93.0212 152.22C93.0212 152.546 93.2857 152.811 93.6116 152.811C93.938 152.811 94.2025 152.546 94.2025 152.22C94.2025 151.894 93.938 151.63 93.6116 151.63ZM95.3852 149.856C95.0588 149.856 94.7948 150.12 94.7948 150.447C94.7948 150.773 95.0588 151.037 95.3852 151.037C95.7111 151.037 95.9756 150.773 95.9756 150.447C95.9756 150.12 95.7111 149.856 95.3852 149.856ZM93.6116 148.083C93.2857 148.083 93.0212 148.347 93.0212 148.674C93.0212 149 93.2857 149.264 93.6116 149.264C93.938 149.264 94.2025 149 94.2025 148.674C94.2025 148.347 93.938 148.083 93.6116 148.083ZM95.3852 146.31C95.0588 146.31 94.7948 146.574 94.7948 146.9C94.7948 147.227 95.0588 147.491 95.3852 147.491C95.7111 147.491 95.9756 147.227 95.9756 146.9C95.9756 146.574 95.7111 146.31 95.3852 146.31ZM93.6116 144.536C93.2857 144.536 93.0212 144.801 93.0212 145.127C93.0212 145.453 93.2857 145.717 93.6116 145.717C93.938 145.717 94.2025 145.453 94.2025 145.127C94.2025 144.801 93.938 144.536 93.6116 144.536ZM95.3852 142.763C95.0588 142.763 94.7948 143.027 94.7948 143.354C94.7948 143.679 95.0588 143.944 95.3852 143.944C95.7111 143.944 95.9756 143.679 95.9756 143.354C95.9756 143.027 95.7111 142.763 95.3852 142.763ZM93.6116 140.99C93.2857 140.99 93.0212 141.254 93.0212 141.58C93.0212 141.906 93.2857 142.171 93.6116 142.171C93.938 142.171 94.2025 141.906 94.2025 141.58C94.2025 141.254 93.938 140.99 93.6116 140.99ZM95.3852 139.216C95.0588 139.216 94.7948 139.481 94.7948 139.807C94.7948 140.133 95.0588 140.397 95.3852 140.397C95.7111 140.397 95.9756 140.133 95.9756 139.807C95.9756 139.481 95.7111 139.216 95.3852 139.216ZM93.6116 137.443C93.2857 137.443 93.0212 137.707 93.0212 138.034C93.0212 138.359 93.2857 138.624 93.6116 138.624C93.938 138.624 94.2025 138.359 94.2025 138.034C94.2025 137.707 93.938 137.443 93.6116 137.443ZM95.3852 135.67C95.0588 135.67 94.7948 135.934 94.7948 136.26C94.7948 136.586 95.0588 136.851 95.3852 136.851C95.7111 136.851 95.9756 136.586 95.9756 136.26C95.9756 135.934 95.7111 135.67 95.3852 135.67ZM93.6116 133.896C93.2857 133.896 93.0212 134.16 93.0212 134.487C93.0212 134.813 93.2857 135.077 93.6116 135.077C93.938 135.077 94.2025 134.813 94.2025 134.487C94.2025 134.16 93.938 133.896 93.6116 133.896ZM95.3852 132.123C95.0588 132.123 94.7948 132.387 94.7948 132.714C94.7948 133.04 95.0588 133.304 95.3852 133.304C95.7111 133.304 95.9756 133.04 95.9756 132.714C95.9756 132.387 95.7111 132.123 95.3852 132.123ZM93.6116 130.35C93.2857 130.35 93.0212 130.614 93.0212 130.94C93.0212 131.267 93.2857 131.531 93.6116 131.531C93.938 131.531 94.2025 131.267 94.2025 130.94C94.2025 130.614 93.938 130.35 93.6116 130.35ZM95.3852 128.576C95.0588 128.576 94.7948 128.841 94.7948 129.167C94.7948 129.493 95.0588 129.757 95.3852 129.757C95.7111 129.757 95.9756 129.493 95.9756 129.167C95.9756 128.841 95.7111 128.576 95.3852 128.576ZM93.6116 126.803C93.2857 126.803 93.0212 127.067 93.0212 127.393C93.0212 127.719 93.2857 127.984 93.6116 127.984C93.938 127.984 94.2025 127.719 94.2025 127.393C94.2025 127.067 93.938 126.803 93.6116 126.803ZM95.3852 125.029C95.0588 125.029 94.7948 125.294 94.7948 125.62C94.7948 125.946 95.0588 126.211 95.3852 126.211C95.7111 126.211 95.9756 125.946 95.9756 125.62C95.9756 125.294 95.7111 125.029 95.3852 125.029ZM93.6116 123.256C93.2857 123.256 93.0212 123.52 93.0212 123.847C93.0212 124.173 93.2857 124.437 93.6116 124.437C93.938 124.437 94.2025 124.173 94.2025 123.847C94.2025 123.52 93.938 123.256 93.6116 123.256ZM95.3852 121.483C95.0588 121.483 94.7948 121.747 94.7948 122.074C94.7948 122.399 95.0588 122.664 95.3852 122.664C95.7111 122.664 95.9756 122.399 95.9756 122.074C95.9756 121.747 95.7111 121.483 95.3852 121.483ZM93.6116 119.71C93.2857 119.71 93.0212 119.974 93.0212 120.3C93.0212 120.626 93.2857 120.891 93.6116 120.891C93.938 120.891 94.2025 120.626 94.2025 120.3C94.2025 119.974 93.938 119.71 93.6116 119.71ZM95.3852 117.936C95.0588 117.936 94.7948 118.2 94.7948 118.527C94.7948 118.853 95.0588 119.117 95.3852 119.117C95.7111 119.117 95.9756 118.853 95.9756 118.527C95.9756 118.2 95.7111 117.936 95.3852 117.936ZM93.6116 116.163C93.2857 116.163 93.0212 116.427 93.0212 116.754C93.0212 117.08 93.2857 117.344 93.6116 117.344C93.938 117.344 94.2025 117.08 94.2025 116.754C94.2025 116.427 93.938 116.163 93.6116 116.163ZM95.3852 114.39C95.0588 114.39 94.7948 114.654 94.7948 114.98C94.7948 115.306 95.0588 115.571 95.3852 115.571C95.7111 115.571 95.9756 115.306 95.9756 114.98C95.9756 114.654 95.7111 114.39 95.3852 114.39ZM93.6116 112.616C93.2857 112.616 93.0212 112.881 93.0212 113.207C93.0212 113.533 93.2857 113.797 93.6116 113.797C93.938 113.797 94.2025 113.533 94.2025 113.207C94.2025 112.881 93.938 112.616 93.6116 112.616ZM95.3852 110.843C95.0588 110.843 94.7948 111.107 94.7948 111.433C94.7948 111.759 95.0588 112.024 95.3852 112.024C95.7111 112.024 95.9756 111.759 95.9756 111.433C95.9756 111.107 95.7111 110.843 95.3852 110.843ZM93.6116 109.069C93.2857 109.069 93.0212 109.334 93.0212 109.66C93.0212 109.986 93.2857 110.251 93.6116 110.251C93.938 110.251 94.2025 109.986 94.2025 109.66C94.2025 109.334 93.938 109.069 93.6116 109.069ZM95.3852 107.296C95.0588 107.296 94.7948 107.561 94.7948 107.887C94.7948 108.213 95.0588 108.477 95.3852 108.477C95.7111 108.477 95.9756 108.213 95.9756 107.887C95.9756 107.561 95.7111 107.296 95.3852 107.296ZM93.6116 105.523C93.2857 105.523 93.0212 105.787 93.0212 106.114C93.0212 106.439 93.2857 106.704 93.6116 106.704C93.938 106.704 94.2025 106.439 94.2025 106.114C94.2025 105.787 93.938 105.523 93.6116 105.523ZM95.3852 103.75C95.0588 103.75 94.7948 104.014 94.7948 104.34C94.7948 104.666 95.0588 104.93 95.3852 104.93C95.7111 104.93 95.9756 104.666 95.9756 104.34C95.9756 104.014 95.7111 103.75 95.3852 103.75ZM93.6116 101.976C93.2857 101.976 93.0212 102.24 93.0212 102.567C93.0212 102.893 93.2857 103.157 93.6116 103.157C93.938 103.157 94.2025 102.893 94.2025 102.567C94.2025 102.24 93.938 101.976 93.6116 101.976ZM95.3852 100.203C95.0588 100.203 94.7948 100.467 94.7948 100.793C94.7948 101.12 95.0588 101.384 95.3852 101.384C95.7111 101.384 95.9756 101.12 95.9756 100.793C95.9756 100.467 95.7111 100.203 95.3852 100.203ZM93.6116 98.4292C93.2857 98.4292 93.0212 98.6942 93.0212 99.0201C93.0212 99.346 93.2857 99.6105 93.6116 99.6105C93.938 99.6105 94.2025 99.346 94.2025 99.0201C94.2025 98.6942 93.938 98.4292 93.6116 98.4292ZM95.3852 96.6561C95.0588 96.6561 94.7948 96.9206 94.7948 97.2465C94.7948 97.5729 95.0588 97.8374 95.3852 97.8374C95.7111 97.8374 95.9756 97.5729 95.9756 97.2465C95.9756 96.9206 95.7111 96.6561 95.3852 96.6561ZM93.6116 94.883C93.2857 94.883 93.0212 95.147 93.0212 95.4734C93.0212 95.7993 93.2857 96.0638 93.6116 96.0638C93.938 96.0638 94.2025 95.7993 94.2025 95.4734C94.2025 95.147 93.938 94.883 93.6116 94.883ZM95.3852 93.1094C95.0588 93.1094 94.7948 93.3739 94.7948 93.6998C94.7948 94.0262 95.0588 94.2907 95.3852 94.2907C95.7111 94.2907 95.9756 94.0262 95.9756 93.6998C95.9756 93.3739 95.7111 93.1094 95.3852 93.1094ZM93.6116 91.3363C93.2857 91.3363 93.0212 91.6003 93.0212 91.9267C93.0212 92.2531 93.2857 92.5171 93.6116 92.5171C93.938 92.5171 94.2025 92.2531 94.2025 91.9267C94.2025 91.6003 93.938 91.3363 93.6116 91.3363ZM95.3852 89.5627C95.0588 89.5627 94.7948 89.8272 94.7948 90.1535C94.7948 90.4795 95.0588 90.7439 95.3852 90.7439C95.7111 90.7439 95.9756 90.4795 95.9756 90.1535C95.9756 89.8272 95.7111 89.5627 95.3852 89.5627ZM93.6116 87.7896C93.2857 87.7896 93.0212 88.054 93.0212 88.38C93.0212 88.7064 93.2857 88.9704 93.6116 88.9704C93.938 88.9704 94.2025 88.7064 94.2025 88.38C94.2025 88.054 93.938 87.7896 93.6116 87.7896ZM95.3852 86.016C95.0588 86.016 94.7948 86.2804 94.7948 86.6064C94.7948 86.9328 95.0588 87.1972 95.3852 87.1972C95.7111 87.1972 95.9756 86.9328 95.9756 86.6064C95.9756 86.2804 95.7111 86.016 95.3852 86.016ZM93.6116 84.2428C93.2857 84.2428 93.0212 84.5073 93.0212 84.8332C93.0212 85.1596 93.2857 85.4241 93.6116 85.4241C93.938 85.4241 94.2025 85.1596 94.2025 84.8332C94.2025 84.5073 93.938 84.2428 93.6116 84.2428ZM95.3852 82.4692C95.0588 82.4692 94.7948 82.7337 94.7948 83.0601C94.7948 83.386 95.0588 83.6505 95.3852 83.6505C95.7111 83.6505 95.9756 83.386 95.9756 83.0601C95.9756 82.7337 95.7111 82.4692 95.3852 82.4692ZM93.6116 80.6961C93.2857 80.6961 93.0212 80.9606 93.0212 81.2865C93.0212 81.6129 93.2857 81.8769 93.6116 81.8769C93.938 81.8769 94.2025 81.6129 94.2025 81.2865C94.2025 80.9606 93.938 80.6961 93.6116 80.6961ZM95.3852 78.923C95.0588 78.923 94.7948 79.187 94.7948 79.5134C94.7948 79.8393 95.0588 80.1038 95.3852 80.1038C95.7111 80.1038 95.9756 79.8393 95.9756 79.5134C95.9756 79.187 95.7111 78.923 95.3852 78.923ZM93.6116 77.1494C93.2857 77.1494 93.0212 77.4139 93.0212 77.7398C93.0212 78.0662 93.2857 78.3307 93.6116 78.3307C93.938 78.3307 94.2025 78.0662 94.2025 77.7398C94.2025 77.4139 93.938 77.1494 93.6116 77.1494ZM95.3852 75.3763C95.0588 75.3763 94.7948 75.6403 94.7948 75.9667C94.7948 76.2931 95.0588 76.5571 95.3852 76.5571C95.7111 76.5571 95.9756 76.2931 95.9756 75.9667C95.9756 75.6403 95.7111 75.3763 95.3852 75.3763ZM93.6116 73.6027C93.2857 73.6027 93.0212 73.8671 93.0212 74.1936C93.0212 74.5195 93.2857 74.784 93.6116 74.784C93.938 74.784 94.2025 74.5195 94.2025 74.1936C94.2025 73.8671 93.938 73.6027 93.6116 73.6027ZM95.3852 71.8296C95.0588 71.8296 94.7948 72.094 94.7948 72.4199C94.7948 72.7463 95.0588 73.0104 95.3852 73.0104C95.7111 73.0104 95.9756 72.7463 95.9756 72.4199C95.9756 72.094 95.7111 71.8296 95.3852 71.8296ZM93.6116 70.056C93.2857 70.056 93.0212 70.3204 93.0212 70.6464C93.0212 70.9727 93.2857 71.2372 93.6116 71.2372C93.938 71.2372 94.2025 70.9727 94.2025 70.6464C94.2025 70.3204 93.938 70.056 93.6116 70.056ZM95.3852 68.2828C95.0588 68.2828 94.7948 68.5468 94.7948 68.8732C94.7948 69.1996 95.0588 69.4641 95.3852 69.4641C95.7111 69.4641 95.9756 69.1996 95.9756 68.8732C95.9756 68.5468 95.7111 68.2828 95.3852 68.2828ZM93.6116 66.5092C93.2857 66.5092 93.0212 66.7737 93.0212 67.1001C93.0212 67.426 93.2857 67.6905 93.6116 67.6905C93.938 67.6905 94.2025 67.426 94.2025 67.1001C94.2025 66.7737 93.938 66.5092 93.6116 66.5092ZM95.3852 64.7361C95.0588 64.7361 94.7948 65.0006 94.7948 65.3265C94.7948 65.6529 95.0588 65.9169 95.3852 65.9169C95.7111 65.9169 95.9756 65.6529 95.9756 65.3265C95.9756 65.0006 95.7111 64.7361 95.3852 64.7361ZM93.6116 62.963C93.2857 62.963 93.0212 63.227 93.0212 63.5534C93.0212 63.8793 93.2857 64.1438 93.6116 64.1438C93.938 64.1438 94.2025 63.8793 94.2025 63.5534C94.2025 63.227 93.938 62.963 93.6116 62.963ZM95.3852 61.1894C95.0588 61.1894 94.7948 61.4539 94.7948 61.7798C94.7948 62.1062 95.0588 62.3707 95.3852 62.3707C95.7111 62.3707 95.9756 62.1062 95.9756 61.7798C95.9756 61.4539 95.7111 61.1894 95.3852 61.1894ZM93.6116 59.4163C93.2857 59.4163 93.0212 59.6803 93.0212 60.0067C93.0212 60.3326 93.2857 60.5971 93.6116 60.5971C93.938 60.5971 94.2025 60.3326 94.2025 60.0067C94.2025 59.6803 93.938 59.4163 93.6116 59.4163ZM95.3852 57.6427C95.0588 57.6427 94.7948 57.9072 94.7948 58.2336C94.7948 58.5595 95.0588 58.8239 95.3852 58.8239C95.7111 58.8239 95.9756 58.5595 95.9756 58.2336C95.9756 57.9072 95.7111 57.6427 95.3852 57.6427ZM97.1588 53.5041C97.3839 53.5041 97.573 53.3731 97.6729 53.1873L97.4674 52.9132L97.1588 52.5009L97.0426 52.3459C96.7738 52.4016 96.5679 52.6281 96.5679 52.9132C96.5679 53.2396 96.8324 53.5041 97.1588 53.5041ZM93.6116 55.8696C93.2857 55.8696 93.0212 56.134 93.0212 56.4599C93.0212 56.7863 93.2857 57.0504 93.6116 57.0504C93.938 57.0504 94.2025 56.7863 94.2025 56.4599C94.2025 56.134 93.938 55.8696 93.6116 55.8696ZM95.3852 54.096C95.0588 54.096 94.7948 54.3604 94.7948 54.6863C94.7948 55.0127 95.0588 55.2772 95.3852 55.2772C95.7111 55.2772 95.9756 55.0127 95.9756 54.6863C95.9756 54.3604 95.7111 54.096 95.3852 54.096ZM93.6116 52.3228C93.2857 52.3228 93.0212 52.5868 93.0212 52.9132C93.0212 53.2396 93.2857 53.5041 93.6116 53.5041C93.938 53.5041 94.2025 53.2396 94.2025 52.9132C94.2025 52.5868 93.938 52.3228 93.6116 52.3228ZM95.3852 50.5492C95.0588 50.5492 94.7948 50.8137 94.7948 51.1401C94.7948 51.466 95.0588 51.7305 95.3852 51.7305C95.7111 51.7305 95.9756 51.466 95.9756 51.1401C95.9756 50.8137 95.7111 50.5492 95.3852 50.5492ZM93.6116 48.7761C93.2857 48.7761 93.0212 49.0406 93.0212 49.3665C93.0212 49.6929 93.2857 49.9569 93.6116 49.9569C93.938 49.9569 94.2025 49.6929 94.2025 49.3665C94.2025 49.0406 93.938 48.7761 93.6116 48.7761ZM98.9319 160.496C98.6055 160.496 98.341 160.761 98.341 161.087C98.341 161.413 98.6055 161.677 98.9319 161.677C99.2583 161.677 99.5223 161.413 99.5223 161.087C99.5223 160.761 99.2583 160.496 98.9319 160.496ZM97.1588 158.723C96.8324 158.723 96.5679 158.987 96.5679 159.314C96.5679 159.639 96.8324 159.904 97.1588 159.904C97.4847 159.904 97.7487 159.639 97.7487 159.314C97.7487 158.987 97.4847 158.723 97.1588 158.723ZM98.9319 156.95C98.6055 156.95 98.341 157.214 98.341 157.54C98.341 157.866 98.6055 158.131 98.9319 158.131C99.2583 158.131 99.5223 157.866 99.5223 157.54C99.5223 157.214 99.2583 156.95 98.9319 156.95ZM97.1588 155.176C96.8324 155.176 96.5679 155.441 96.5679 155.767C96.5679 156.093 96.8324 156.357 97.1588 156.357C97.4847 156.357 97.7487 156.093 97.7487 155.767C97.7487 155.441 97.4847 155.176 97.1588 155.176ZM98.9319 153.403C98.6055 153.403 98.341 153.668 98.341 153.994C98.341 154.319 98.6055 154.584 98.9319 154.584C99.2583 154.584 99.5223 154.319 99.5223 153.994C99.5223 153.668 99.2583 153.403 98.9319 153.403ZM97.1588 151.63C96.8324 151.63 96.5679 151.894 96.5679 152.22C96.5679 152.546 96.8324 152.811 97.1588 152.811C97.4847 152.811 97.7487 152.546 97.7487 152.22C97.7487 151.894 97.4847 151.63 97.1588 151.63ZM98.9319 149.856C98.6055 149.856 98.341 150.12 98.341 150.447C98.341 150.773 98.6055 151.037 98.9319 151.037C99.2583 151.037 99.5223 150.773 99.5223 150.447C99.5223 150.12 99.2583 149.856 98.9319 149.856ZM97.1588 148.083C96.8324 148.083 96.5679 148.347 96.5679 148.674C96.5679 149 96.8324 149.264 97.1588 149.264C97.4847 149.264 97.7487 149 97.7487 148.674C97.7487 148.347 97.4847 148.083 97.1588 148.083ZM98.9319 146.31C98.6055 146.31 98.341 146.574 98.341 146.9C98.341 147.227 98.6055 147.491 98.9319 147.491C99.2583 147.491 99.5223 147.227 99.5223 146.9C99.5223 146.574 99.2583 146.31 98.9319 146.31ZM97.1588 144.536C96.8324 144.536 96.5679 144.801 96.5679 145.127C96.5679 145.453 96.8324 145.717 97.1588 145.717C97.4847 145.717 97.7487 145.453 97.7487 145.127C97.7487 144.801 97.4847 144.536 97.1588 144.536ZM98.9319 142.763C98.6055 142.763 98.341 143.027 98.341 143.354C98.341 143.679 98.6055 143.944 98.9319 143.944C99.2583 143.944 99.5223 143.679 99.5223 143.354C99.5223 143.027 99.2583 142.763 98.9319 142.763ZM97.1588 140.99C96.8324 140.99 96.5679 141.254 96.5679 141.58C96.5679 141.906 96.8324 142.171 97.1588 142.171C97.4847 142.171 97.7487 141.906 97.7487 141.58C97.7487 141.254 97.4847 140.99 97.1588 140.99ZM98.9319 139.216C98.6055 139.216 98.341 139.481 98.341 139.807C98.341 140.133 98.6055 140.397 98.9319 140.397C99.2583 140.397 99.5223 140.133 99.5223 139.807C99.5223 139.481 99.2583 139.216 98.9319 139.216ZM97.1588 137.443C96.8324 137.443 96.5679 137.707 96.5679 138.034C96.5679 138.359 96.8324 138.624 97.1588 138.624C97.4847 138.624 97.7487 138.359 97.7487 138.034C97.7487 137.707 97.4847 137.443 97.1588 137.443ZM98.9319 135.67C98.6055 135.67 98.341 135.934 98.341 136.26C98.341 136.586 98.6055 136.851 98.9319 136.851C99.2583 136.851 99.5223 136.586 99.5223 136.26C99.5223 135.934 99.2583 135.67 98.9319 135.67ZM97.1588 133.896C96.8324 133.896 96.5679 134.16 96.5679 134.487C96.5679 134.813 96.8324 135.077 97.1588 135.077C97.4847 135.077 97.7487 134.813 97.7487 134.487C97.7487 134.16 97.4847 133.896 97.1588 133.896ZM98.9319 132.123C98.6055 132.123 98.341 132.387 98.341 132.714C98.341 133.04 98.6055 133.304 98.9319 133.304C99.2583 133.304 99.5223 133.04 99.5223 132.714C99.5223 132.387 99.2583 132.123 98.9319 132.123ZM97.1588 130.35C96.8324 130.35 96.5679 130.614 96.5679 130.94C96.5679 131.267 96.8324 131.531 97.1588 131.531C97.4847 131.531 97.7487 131.267 97.7487 130.94C97.7487 130.614 97.4847 130.35 97.1588 130.35ZM98.9319 128.576C98.6055 128.576 98.341 128.841 98.341 129.167C98.341 129.493 98.6055 129.757 98.9319 129.757C99.2583 129.757 99.5223 129.493 99.5223 129.167C99.5223 128.841 99.2583 128.576 98.9319 128.576ZM97.1588 126.803C96.8324 126.803 96.5679 127.067 96.5679 127.393C96.5679 127.719 96.8324 127.984 97.1588 127.984C97.4847 127.984 97.7487 127.719 97.7487 127.393C97.7487 127.067 97.4847 126.803 97.1588 126.803ZM98.9319 125.029C98.6055 125.029 98.341 125.294 98.341 125.62C98.341 125.946 98.6055 126.211 98.9319 126.211C99.2583 126.211 99.5223 125.946 99.5223 125.62C99.5223 125.294 99.2583 125.029 98.9319 125.029ZM97.1588 123.256C96.8324 123.256 96.5679 123.52 96.5679 123.847C96.5679 124.173 96.8324 124.437 97.1588 124.437C97.4847 124.437 97.7487 124.173 97.7487 123.847C97.7487 123.52 97.4847 123.256 97.1588 123.256ZM98.9319 121.483C98.6055 121.483 98.341 121.747 98.341 122.074C98.341 122.399 98.6055 122.664 98.9319 122.664C99.2583 122.664 99.5223 122.399 99.5223 122.074C99.5223 121.747 99.2583 121.483 98.9319 121.483ZM97.1588 119.71C96.8324 119.71 96.5679 119.974 96.5679 120.3C96.5679 120.626 96.8324 120.891 97.1588 120.891C97.4847 120.891 97.7487 120.626 97.7487 120.3C97.7487 119.974 97.4847 119.71 97.1588 119.71ZM98.9319 117.936C98.6055 117.936 98.341 118.2 98.341 118.527C98.341 118.853 98.6055 119.117 98.9319 119.117C99.2583 119.117 99.5223 118.853 99.5223 118.527C99.5223 118.2 99.2583 117.936 98.9319 117.936ZM97.1588 116.163C96.8324 116.163 96.5679 116.427 96.5679 116.754C96.5679 117.08 96.8324 117.344 97.1588 117.344C97.4847 117.344 97.7487 117.08 97.7487 116.754C97.7487 116.427 97.4847 116.163 97.1588 116.163ZM98.9319 114.39C98.6055 114.39 98.341 114.654 98.341 114.98C98.341 115.306 98.6055 115.571 98.9319 115.571C99.2583 115.571 99.5223 115.306 99.5223 114.98C99.5223 114.654 99.2583 114.39 98.9319 114.39ZM97.1588 112.616C96.8324 112.616 96.5679 112.881 96.5679 113.207C96.5679 113.533 96.8324 113.797 97.1588 113.797C97.4847 113.797 97.7487 113.533 97.7487 113.207C97.7487 112.881 97.4847 112.616 97.1588 112.616ZM98.9319 110.843C98.6055 110.843 98.341 111.107 98.341 111.433C98.341 111.759 98.6055 112.024 98.9319 112.024C99.2583 112.024 99.5223 111.759 99.5223 111.433C99.5223 111.107 99.2583 110.843 98.9319 110.843ZM97.1588 109.069C96.8324 109.069 96.5679 109.334 96.5679 109.66C96.5679 109.986 96.8324 110.251 97.1588 110.251C97.4847 110.251 97.7487 109.986 97.7487 109.66C97.7487 109.334 97.4847 109.069 97.1588 109.069ZM98.9319 107.296C98.6055 107.296 98.341 107.561 98.341 107.887C98.341 108.213 98.6055 108.477 98.9319 108.477C99.2583 108.477 99.5223 108.213 99.5223 107.887C99.5223 107.561 99.2583 107.296 98.9319 107.296ZM97.1588 105.523C96.8324 105.523 96.5679 105.787 96.5679 106.114C96.5679 106.439 96.8324 106.704 97.1588 106.704C97.4847 106.704 97.7487 106.439 97.7487 106.114C97.7487 105.787 97.4847 105.523 97.1588 105.523ZM98.9319 103.75C98.6055 103.75 98.341 104.014 98.341 104.34C98.341 104.666 98.6055 104.93 98.9319 104.93C99.2583 104.93 99.5223 104.666 99.5223 104.34C99.5223 104.014 99.2583 103.75 98.9319 103.75ZM97.1588 101.976C96.8324 101.976 96.5679 102.24 96.5679 102.567C96.5679 102.893 96.8324 103.157 97.1588 103.157C97.4847 103.157 97.7487 102.893 97.7487 102.567C97.7487 102.24 97.4847 101.976 97.1588 101.976ZM98.9319 100.203C98.6055 100.203 98.341 100.467 98.341 100.793C98.341 101.12 98.6055 101.384 98.9319 101.384C99.2583 101.384 99.5223 101.12 99.5223 100.793C99.5223 100.467 99.2583 100.203 98.9319 100.203ZM97.1588 98.4292C96.8324 98.4292 96.5679 98.6942 96.5679 99.0201C96.5679 99.346 96.8324 99.6105 97.1588 99.6105C97.4847 99.6105 97.7487 99.346 97.7487 99.0201C97.7487 98.6942 97.4847 98.4292 97.1588 98.4292ZM98.9319 96.6561C98.6055 96.6561 98.341 96.9206 98.341 97.2465C98.341 97.5729 98.6055 97.8374 98.9319 97.8374C99.2583 97.8374 99.5223 97.5729 99.5223 97.2465C99.5223 96.9206 99.2583 96.6561 98.9319 96.6561ZM97.1588 94.883C96.8324 94.883 96.5679 95.147 96.5679 95.4734C96.5679 95.7993 96.8324 96.0638 97.1588 96.0638C97.4847 96.0638 97.7487 95.7993 97.7487 95.4734C97.7487 95.147 97.4847 94.883 97.1588 94.883ZM98.9319 93.1094C98.6055 93.1094 98.341 93.3739 98.341 93.6998C98.341 94.0262 98.6055 94.2907 98.9319 94.2907C99.2583 94.2907 99.5223 94.0262 99.5223 93.6998C99.5223 93.3739 99.2583 93.1094 98.9319 93.1094ZM97.1588 91.3363C96.8324 91.3363 96.5679 91.6003 96.5679 91.9267C96.5679 92.2531 96.8324 92.5171 97.1588 92.5171C97.4847 92.5171 97.7487 92.2531 97.7487 91.9267C97.7487 91.6003 97.4847 91.3363 97.1588 91.3363ZM98.9319 89.5627C98.6055 89.5627 98.341 89.8272 98.341 90.1535C98.341 90.4795 98.6055 90.7439 98.9319 90.7439C99.2583 90.7439 99.5223 90.4795 99.5223 90.1535C99.5223 89.8272 99.2583 89.5627 98.9319 89.5627ZM97.1588 87.7896C96.8324 87.7896 96.5679 88.054 96.5679 88.38C96.5679 88.7064 96.8324 88.9704 97.1588 88.9704C97.4847 88.9704 97.7487 88.7064 97.7487 88.38C97.7487 88.054 97.4847 87.7896 97.1588 87.7896ZM98.9319 86.016C98.6055 86.016 98.341 86.2804 98.341 86.6064C98.341 86.9328 98.6055 87.1972 98.9319 87.1972C99.2583 87.1972 99.5223 86.9328 99.5223 86.6064C99.5223 86.2804 99.2583 86.016 98.9319 86.016ZM97.1588 84.2428C96.8324 84.2428 96.5679 84.5073 96.5679 84.8332C96.5679 85.1596 96.8324 85.4241 97.1588 85.4241C97.4847 85.4241 97.7487 85.1596 97.7487 84.8332C97.7487 84.5073 97.4847 84.2428 97.1588 84.2428ZM98.9319 82.4692C98.6055 82.4692 98.341 82.7337 98.341 83.0601C98.341 83.386 98.6055 83.6505 98.9319 83.6505C99.2583 83.6505 99.5223 83.386 99.5223 83.0601C99.5223 82.7337 99.2583 82.4692 98.9319 82.4692ZM97.1588 80.6961C96.8324 80.6961 96.5679 80.9606 96.5679 81.2865C96.5679 81.6129 96.8324 81.8769 97.1588 81.8769C97.4847 81.8769 97.7487 81.6129 97.7487 81.2865C97.7487 80.9606 97.4847 80.6961 97.1588 80.6961ZM98.9319 78.923C98.6055 78.923 98.341 79.187 98.341 79.5134C98.341 79.8393 98.6055 80.1038 98.9319 80.1038C99.2583 80.1038 99.5223 79.8393 99.5223 79.5134C99.5223 79.187 99.2583 78.923 98.9319 78.923ZM97.1588 77.1494C96.8324 77.1494 96.5679 77.4139 96.5679 77.7398C96.5679 78.0662 96.8324 78.3307 97.1588 78.3307C97.4847 78.3307 97.7487 78.0662 97.7487 77.7398C97.7487 77.4139 97.4847 77.1494 97.1588 77.1494ZM98.9319 75.3763C98.6055 75.3763 98.341 75.6403 98.341 75.9667C98.341 76.2931 98.6055 76.5571 98.9319 76.5571C99.2583 76.5571 99.5223 76.2931 99.5223 75.9667C99.5223 75.6403 99.2583 75.3763 98.9319 75.3763ZM97.1588 73.6027C96.8324 73.6027 96.5679 73.8671 96.5679 74.1936C96.5679 74.5195 96.8324 74.784 97.1588 74.784C97.4847 74.784 97.7487 74.5195 97.7487 74.1936C97.7487 73.8671 97.4847 73.6027 97.1588 73.6027ZM98.9319 71.8296C98.6055 71.8296 98.341 72.094 98.341 72.4199C98.341 72.7463 98.6055 73.0104 98.9319 73.0104C99.2583 73.0104 99.5223 72.7463 99.5223 72.4199C99.5223 72.094 99.2583 71.8296 98.9319 71.8296ZM97.1588 70.056C96.8324 70.056 96.5679 70.3204 96.5679 70.6464C96.5679 70.9727 96.8324 71.2372 97.1588 71.2372C97.4847 71.2372 97.7487 70.9727 97.7487 70.6464C97.7487 70.3204 97.4847 70.056 97.1588 70.056ZM98.9319 68.2828C98.6055 68.2828 98.341 68.5468 98.341 68.8732C98.341 69.1996 98.6055 69.4641 98.9319 69.4641C99.2583 69.4641 99.5223 69.1996 99.5223 68.8732C99.5223 68.5468 99.2583 68.2828 98.9319 68.2828ZM97.1588 66.5092C96.8324 66.5092 96.5679 66.7737 96.5679 67.1001C96.5679 67.426 96.8324 67.6905 97.1588 67.6905C97.4847 67.6905 97.7487 67.426 97.7487 67.1001C97.7487 66.7737 97.4847 66.5092 97.1588 66.5092ZM98.9319 64.7361C98.6055 64.7361 98.341 65.0006 98.341 65.3265C98.341 65.6529 98.6055 65.9169 98.9319 65.9169C99.2583 65.9169 99.5223 65.6529 99.5223 65.3265C99.5223 65.0006 99.2583 64.7361 98.9319 64.7361ZM97.1588 62.963C96.8324 62.963 96.5679 63.227 96.5679 63.5534C96.5679 63.8793 96.8324 64.1438 97.1588 64.1438C97.4847 64.1438 97.7487 63.8793 97.7487 63.5534C97.7487 63.227 97.4847 62.963 97.1588 62.963ZM98.9319 61.1894C98.6055 61.1894 98.341 61.4539 98.341 61.7798C98.341 62.1062 98.6055 62.3707 98.9319 62.3707C99.2583 62.3707 99.5223 62.1062 99.5223 61.7798C99.5223 61.4539 99.2583 61.1894 98.9319 61.1894ZM100.541 57.0172L100.124 56.4599L100.117 56.4503C100.117 56.4537 100.115 56.4566 100.115 56.4599C100.115 56.7278 100.297 56.9452 100.541 57.0172ZM97.1588 59.4163C96.8324 59.4163 96.5679 59.6803 96.5679 60.0067C96.5679 60.3326 96.8324 60.5971 97.1588 60.5971C97.4847 60.5971 97.7487 60.3326 97.7487 60.0067C97.7487 59.6803 97.4847 59.4163 97.1588 59.4163ZM98.9319 57.6427C98.6055 57.6427 98.341 57.9072 98.341 58.2336C98.341 58.5595 98.6055 58.8239 98.9319 58.8239C99.2583 58.8239 99.5223 58.5595 99.5223 58.2336C99.5223 57.9072 99.2583 57.6427 98.9319 57.6427ZM97.1588 55.8696C96.8324 55.8696 96.5679 56.134 96.5679 56.4599C96.5679 56.7863 96.8324 57.0504 97.1588 57.0504C97.4847 57.0504 97.7487 56.7863 97.7487 56.4599C97.7487 56.134 97.4847 55.8696 97.1588 55.8696ZM98.9319 55.2772C99.0255 55.2772 99.1105 55.2508 99.1892 55.2124L98.4994 54.2908C98.4034 54.396 98.341 54.5332 98.341 54.6863C98.341 55.0127 98.6055 55.2772 98.9319 55.2772ZM100.705 162.27C100.414 162.27 100.182 162.485 100.134 162.763L100.657 162.86L100.705 162.869L101.272 162.975C101.28 162.936 101.296 162.901 101.296 162.86C101.296 162.534 101.031 162.27 100.705 162.27ZM102.479 160.496C102.152 160.496 101.888 160.761 101.888 161.087C101.888 161.413 102.152 161.677 102.479 161.677C102.805 161.677 103.069 161.413 103.069 161.087C103.069 160.761 102.805 160.496 102.479 160.496ZM100.705 158.723C100.379 158.723 100.115 158.987 100.115 159.314C100.115 159.639 100.379 159.904 100.705 159.904C101.031 159.904 101.296 159.639 101.296 159.314C101.296 158.987 101.031 158.723 100.705 158.723ZM102.479 156.95C102.152 156.95 101.888 157.214 101.888 157.54C101.888 157.866 102.152 158.131 102.479 158.131C102.805 158.131 103.069 157.866 103.069 157.54C103.069 157.214 102.805 156.95 102.479 156.95ZM100.705 155.176C100.379 155.176 100.115 155.441 100.115 155.767C100.115 156.093 100.379 156.357 100.705 156.357C101.031 156.357 101.296 156.093 101.296 155.767C101.296 155.441 101.031 155.176 100.705 155.176ZM102.479 153.403C102.152 153.403 101.888 153.668 101.888 153.994C101.888 154.319 102.152 154.584 102.479 154.584C102.805 154.584 103.069 154.319 103.069 153.994C103.069 153.668 102.805 153.403 102.479 153.403ZM100.705 151.63C100.379 151.63 100.115 151.894 100.115 152.22C100.115 152.546 100.379 152.811 100.705 152.811C101.031 152.811 101.296 152.546 101.296 152.22C101.296 151.894 101.031 151.63 100.705 151.63ZM102.479 149.856C102.152 149.856 101.888 150.12 101.888 150.447C101.888 150.773 102.152 151.037 102.479 151.037C102.805 151.037 103.069 150.773 103.069 150.447C103.069 150.12 102.805 149.856 102.479 149.856ZM100.705 148.083C100.379 148.083 100.115 148.347 100.115 148.674C100.115 149 100.379 149.264 100.705 149.264C101.031 149.264 101.296 149 101.296 148.674C101.296 148.347 101.031 148.083 100.705 148.083ZM102.479 146.31C102.152 146.31 101.888 146.574 101.888 146.9C101.888 147.227 102.152 147.491 102.479 147.491C102.805 147.491 103.069 147.227 103.069 146.9C103.069 146.574 102.805 146.31 102.479 146.31ZM100.705 144.536C100.379 144.536 100.115 144.801 100.115 145.127C100.115 145.453 100.379 145.717 100.705 145.717C101.031 145.717 101.296 145.453 101.296 145.127C101.296 144.801 101.031 144.536 100.705 144.536ZM102.479 142.763C102.152 142.763 101.888 143.027 101.888 143.354C101.888 143.679 102.152 143.944 102.479 143.944C102.805 143.944 103.069 143.679 103.069 143.354C103.069 143.027 102.805 142.763 102.479 142.763ZM100.705 140.99C100.379 140.99 100.115 141.254 100.115 141.58C100.115 141.906 100.379 142.171 100.705 142.171C101.031 142.171 101.296 141.906 101.296 141.58C101.296 141.254 101.031 140.99 100.705 140.99ZM102.479 139.216C102.152 139.216 101.888 139.481 101.888 139.807C101.888 140.133 102.152 140.397 102.479 140.397C102.805 140.397 103.069 140.133 103.069 139.807C103.069 139.481 102.805 139.216 102.479 139.216ZM100.705 137.443C100.379 137.443 100.115 137.707 100.115 138.034C100.115 138.359 100.379 138.624 100.705 138.624C101.031 138.624 101.296 138.359 101.296 138.034C101.296 137.707 101.031 137.443 100.705 137.443ZM102.479 135.67C102.152 135.67 101.888 135.934 101.888 136.26C101.888 136.586 102.152 136.851 102.479 136.851C102.805 136.851 103.069 136.586 103.069 136.26C103.069 135.934 102.805 135.67 102.479 135.67ZM100.705 133.896C100.379 133.896 100.115 134.16 100.115 134.487C100.115 134.813 100.379 135.077 100.705 135.077C101.031 135.077 101.296 134.813 101.296 134.487C101.296 134.16 101.031 133.896 100.705 133.896ZM102.479 132.123C102.152 132.123 101.888 132.387 101.888 132.714C101.888 133.04 102.152 133.304 102.479 133.304C102.805 133.304 103.069 133.04 103.069 132.714C103.069 132.387 102.805 132.123 102.479 132.123ZM100.705 130.35C100.379 130.35 100.115 130.614 100.115 130.94C100.115 131.267 100.379 131.531 100.705 131.531C101.031 131.531 101.296 131.267 101.296 130.94C101.296 130.614 101.031 130.35 100.705 130.35ZM102.479 128.576C102.152 128.576 101.888 128.841 101.888 129.167C101.888 129.493 102.152 129.757 102.479 129.757C102.805 129.757 103.069 129.493 103.069 129.167C103.069 128.841 102.805 128.576 102.479 128.576ZM100.705 126.803C100.379 126.803 100.115 127.067 100.115 127.393C100.115 127.719 100.379 127.984 100.705 127.984C101.031 127.984 101.296 127.719 101.296 127.393C101.296 127.067 101.031 126.803 100.705 126.803ZM102.479 125.029C102.152 125.029 101.888 125.294 101.888 125.62C101.888 125.946 102.152 126.211 102.479 126.211C102.805 126.211 103.069 125.946 103.069 125.62C103.069 125.294 102.805 125.029 102.479 125.029ZM100.705 123.256C100.379 123.256 100.115 123.52 100.115 123.847C100.115 124.173 100.379 124.437 100.705 124.437C101.031 124.437 101.296 124.173 101.296 123.847C101.296 123.52 101.031 123.256 100.705 123.256ZM102.479 121.483C102.152 121.483 101.888 121.747 101.888 122.074C101.888 122.399 102.152 122.664 102.479 122.664C102.805 122.664 103.069 122.399 103.069 122.074C103.069 121.747 102.805 121.483 102.479 121.483ZM100.705 119.71C100.379 119.71 100.115 119.974 100.115 120.3C100.115 120.626 100.379 120.891 100.705 120.891C101.031 120.891 101.296 120.626 101.296 120.3C101.296 119.974 101.031 119.71 100.705 119.71ZM102.479 117.936C102.152 117.936 101.888 118.2 101.888 118.527C101.888 118.853 102.152 119.117 102.479 119.117C102.805 119.117 103.069 118.853 103.069 118.527C103.069 118.2 102.805 117.936 102.479 117.936ZM100.705 116.163C100.379 116.163 100.115 116.427 100.115 116.754C100.115 117.08 100.379 117.344 100.705 117.344C101.031 117.344 101.296 117.08 101.296 116.754C101.296 116.427 101.031 116.163 100.705 116.163ZM102.479 114.39C102.152 114.39 101.888 114.654 101.888 114.98C101.888 115.306 102.152 115.571 102.479 115.571C102.805 115.571 103.069 115.306 103.069 114.98C103.069 114.654 102.805 114.39 102.479 114.39ZM100.705 112.616C100.379 112.616 100.115 112.881 100.115 113.207C100.115 113.533 100.379 113.797 100.705 113.797C101.031 113.797 101.296 113.533 101.296 113.207C101.296 112.881 101.031 112.616 100.705 112.616ZM102.479 110.843C102.152 110.843 101.888 111.107 101.888 111.433C101.888 111.759 102.152 112.024 102.479 112.024C102.805 112.024 103.069 111.759 103.069 111.433C103.069 111.107 102.805 110.843 102.479 110.843ZM100.705 109.069C100.379 109.069 100.115 109.334 100.115 109.66C100.115 109.986 100.379 110.251 100.705 110.251C101.031 110.251 101.296 109.986 101.296 109.66C101.296 109.334 101.031 109.069 100.705 109.069ZM102.479 107.296C102.152 107.296 101.888 107.561 101.888 107.887C101.888 108.213 102.152 108.477 102.479 108.477C102.805 108.477 103.069 108.213 103.069 107.887C103.069 107.561 102.805 107.296 102.479 107.296ZM100.705 105.523C100.379 105.523 100.115 105.787 100.115 106.114C100.115 106.439 100.379 106.704 100.705 106.704C101.031 106.704 101.296 106.439 101.296 106.114C101.296 105.787 101.031 105.523 100.705 105.523ZM102.479 103.75C102.152 103.75 101.888 104.014 101.888 104.34C101.888 104.666 102.152 104.93 102.479 104.93C102.805 104.93 103.069 104.666 103.069 104.34C103.069 104.014 102.805 103.75 102.479 103.75ZM100.705 101.976C100.379 101.976 100.115 102.24 100.115 102.567C100.115 102.893 100.379 103.157 100.705 103.157C101.031 103.157 101.296 102.893 101.296 102.567C101.296 102.24 101.031 101.976 100.705 101.976ZM102.479 100.203C102.152 100.203 101.888 100.467 101.888 100.793C101.888 101.12 102.152 101.384 102.479 101.384C102.805 101.384 103.069 101.12 103.069 100.793C103.069 100.467 102.805 100.203 102.479 100.203ZM100.705 98.4292C100.379 98.4292 100.115 98.6942 100.115 99.0201C100.115 99.346 100.379 99.6105 100.705 99.6105C101.031 99.6105 101.296 99.346 101.296 99.0201C101.296 98.6942 101.031 98.4292 100.705 98.4292ZM102.479 96.6561C102.152 96.6561 101.888 96.9206 101.888 97.2465C101.888 97.5729 102.152 97.8374 102.479 97.8374C102.805 97.8374 103.069 97.5729 103.069 97.2465C103.069 96.9206 102.805 96.6561 102.479 96.6561ZM100.705 94.883C100.379 94.883 100.115 95.147 100.115 95.4734C100.115 95.7993 100.379 96.0638 100.705 96.0638C101.031 96.0638 101.296 95.7993 101.296 95.4734C101.296 95.147 101.031 94.883 100.705 94.883ZM102.479 93.1094C102.152 93.1094 101.888 93.3739 101.888 93.6998C101.888 94.0262 102.152 94.2907 102.479 94.2907C102.805 94.2907 103.069 94.0262 103.069 93.6998C103.069 93.3739 102.805 93.1094 102.479 93.1094ZM100.705 91.3363C100.379 91.3363 100.115 91.6003 100.115 91.9267C100.115 92.2531 100.379 92.5171 100.705 92.5171C101.031 92.5171 101.296 92.2531 101.296 91.9267C101.296 91.6003 101.031 91.3363 100.705 91.3363ZM102.479 89.5627C102.152 89.5627 101.888 89.8272 101.888 90.1535C101.888 90.4795 102.152 90.7439 102.479 90.7439C102.805 90.7439 103.069 90.4795 103.069 90.1535C103.069 89.8272 102.805 89.5627 102.479 89.5627ZM100.705 87.7896C100.379 87.7896 100.115 88.054 100.115 88.38C100.115 88.7064 100.379 88.9704 100.705 88.9704C101.031 88.9704 101.296 88.7064 101.296 88.38C101.296 88.054 101.031 87.7896 100.705 87.7896ZM102.479 86.016C102.152 86.016 101.888 86.2804 101.888 86.6064C101.888 86.9328 102.152 87.1972 102.479 87.1972C102.805 87.1972 103.069 86.9328 103.069 86.6064C103.069 86.2804 102.805 86.016 102.479 86.016ZM100.705 84.2428C100.379 84.2428 100.115 84.5073 100.115 84.8332C100.115 85.1596 100.379 85.4241 100.705 85.4241C101.031 85.4241 101.296 85.1596 101.296 84.8332C101.296 84.5073 101.031 84.2428 100.705 84.2428ZM102.479 82.4692C102.152 82.4692 101.888 82.7337 101.888 83.0601C101.888 83.386 102.152 83.6505 102.479 83.6505C102.805 83.6505 103.069 83.386 103.069 83.0601C103.069 82.7337 102.805 82.4692 102.479 82.4692ZM100.705 80.6961C100.379 80.6961 100.115 80.9606 100.115 81.2865C100.115 81.6129 100.379 81.8769 100.705 81.8769C101.031 81.8769 101.296 81.6129 101.296 81.2865C101.296 80.9606 101.031 80.6961 100.705 80.6961ZM102.479 78.923C102.152 78.923 101.888 79.187 101.888 79.5134C101.888 79.8393 102.152 80.1038 102.479 80.1038C102.805 80.1038 103.069 79.8393 103.069 79.5134C103.069 79.187 102.805 78.923 102.479 78.923ZM100.705 77.1494C100.379 77.1494 100.115 77.4139 100.115 77.7398C100.115 78.0662 100.379 78.3307 100.705 78.3307C101.031 78.3307 101.296 78.0662 101.296 77.7398C101.296 77.4139 101.031 77.1494 100.705 77.1494ZM102.479 75.3763C102.152 75.3763 101.888 75.6403 101.888 75.9667C101.888 76.2931 102.152 76.5571 102.479 76.5571C102.805 76.5571 103.069 76.2931 103.069 75.9667C103.069 75.6403 102.805 75.3763 102.479 75.3763ZM100.705 73.6027C100.379 73.6027 100.115 73.8671 100.115 74.1936C100.115 74.5195 100.379 74.784 100.705 74.784C101.031 74.784 101.296 74.5195 101.296 74.1936C101.296 73.8671 101.031 73.6027 100.705 73.6027ZM102.479 71.8296C102.152 71.8296 101.888 72.094 101.888 72.4199C101.888 72.7463 102.152 73.0104 102.479 73.0104C102.805 73.0104 103.069 72.7463 103.069 72.4199C103.069 72.094 102.805 71.8296 102.479 71.8296ZM100.705 70.056C100.379 70.056 100.115 70.3204 100.115 70.6464C100.115 70.9727 100.379 71.2372 100.705 71.2372C101.031 71.2372 101.296 70.9727 101.296 70.6464C101.296 70.3204 101.031 70.056 100.705 70.056ZM102.479 68.2828C102.152 68.2828 101.888 68.5468 101.888 68.8732C101.888 69.1996 102.152 69.4641 102.479 69.4641C102.805 69.4641 103.069 69.1996 103.069 68.8732C103.069 68.5468 102.805 68.2828 102.479 68.2828ZM100.705 66.5092C100.379 66.5092 100.115 66.7737 100.115 67.1001C100.115 67.426 100.379 67.6905 100.705 67.6905C101.031 67.6905 101.296 67.426 101.296 67.1001C101.296 66.7737 101.031 66.5092 100.705 66.5092ZM102.479 64.7361C102.152 64.7361 101.888 65.0006 101.888 65.3265C101.888 65.6529 102.152 65.9169 102.479 65.9169C102.805 65.9169 103.069 65.6529 103.069 65.3265C103.069 65.0006 102.805 64.7361 102.479 64.7361ZM100.705 62.963C100.379 62.963 100.115 63.227 100.115 63.5534C100.115 63.8793 100.379 64.1438 100.705 64.1438C101.031 64.1438 101.296 63.8793 101.296 63.5534C101.296 63.227 101.031 62.963 100.705 62.963ZM102.479 61.1894C102.152 61.1894 101.888 61.4539 101.888 61.7798C101.888 62.1062 102.152 62.3707 102.479 62.3707C102.805 62.3707 103.069 62.1062 103.069 61.7798C103.069 61.4539 102.805 61.1894 102.479 61.1894ZM100.705 59.4163C100.379 59.4163 100.115 59.6803 100.115 60.0067C100.115 60.3326 100.379 60.5971 100.705 60.5971C101.031 60.5971 101.296 60.3326 101.296 60.0067C101.296 59.6803 101.031 59.4163 100.705 59.4163ZM104.252 162.27C103.926 162.27 103.661 162.534 103.661 162.86C103.661 163.187 103.926 163.451 104.252 163.451C104.578 163.451 104.842 163.187 104.842 162.86C104.842 162.534 104.578 162.27 104.252 162.27ZM106.025 160.496C105.699 160.496 105.434 160.761 105.434 161.087C105.434 161.413 105.699 161.677 106.025 161.677C106.351 161.677 106.616 161.413 106.616 161.087C106.616 160.761 106.351 160.496 106.025 160.496ZM104.252 158.723C103.926 158.723 103.661 158.987 103.661 159.314C103.661 159.639 103.926 159.904 104.252 159.904C104.578 159.904 104.842 159.639 104.842 159.314C104.842 158.987 104.578 158.723 104.252 158.723ZM106.025 156.95C105.699 156.95 105.434 157.214 105.434 157.54C105.434 157.866 105.699 158.131 106.025 158.131C106.351 158.131 106.616 157.866 106.616 157.54C106.616 157.214 106.351 156.95 106.025 156.95ZM104.252 155.176C103.926 155.176 103.661 155.441 103.661 155.767C103.661 156.093 103.926 156.357 104.252 156.357C104.578 156.357 104.842 156.093 104.842 155.767C104.842 155.441 104.578 155.176 104.252 155.176ZM106.025 153.403C105.699 153.403 105.434 153.668 105.434 153.994C105.434 154.319 105.699 154.584 106.025 154.584C106.351 154.584 106.616 154.319 106.616 153.994C106.616 153.668 106.351 153.403 106.025 153.403ZM104.252 151.63C103.926 151.63 103.661 151.894 103.661 152.22C103.661 152.546 103.926 152.811 104.252 152.811C104.578 152.811 104.842 152.546 104.842 152.22C104.842 151.894 104.578 151.63 104.252 151.63ZM106.025 149.856C105.699 149.856 105.434 150.12 105.434 150.447C105.434 150.773 105.699 151.037 106.025 151.037C106.351 151.037 106.616 150.773 106.616 150.447C106.616 150.12 106.351 149.856 106.025 149.856ZM104.252 148.083C103.926 148.083 103.661 148.347 103.661 148.674C103.661 149 103.926 149.264 104.252 149.264C104.578 149.264 104.842 149 104.842 148.674C104.842 148.347 104.578 148.083 104.252 148.083ZM106.025 146.31C105.699 146.31 105.434 146.574 105.434 146.9C105.434 147.227 105.699 147.491 106.025 147.491C106.351 147.491 106.616 147.227 106.616 146.9C106.616 146.574 106.351 146.31 106.025 146.31ZM104.252 144.536C103.926 144.536 103.661 144.801 103.661 145.127C103.661 145.453 103.926 145.717 104.252 145.717C104.578 145.717 104.842 145.453 104.842 145.127C104.842 144.801 104.578 144.536 104.252 144.536ZM106.025 142.763C105.699 142.763 105.434 143.027 105.434 143.354C105.434 143.679 105.699 143.944 106.025 143.944C106.351 143.944 106.616 143.679 106.616 143.354C106.616 143.027 106.351 142.763 106.025 142.763ZM104.252 140.99C103.926 140.99 103.661 141.254 103.661 141.58C103.661 141.906 103.926 142.171 104.252 142.171C104.578 142.171 104.842 141.906 104.842 141.58C104.842 141.254 104.578 140.99 104.252 140.99ZM106.025 139.216C105.699 139.216 105.434 139.481 105.434 139.807C105.434 140.133 105.699 140.397 106.025 140.397C106.351 140.397 106.616 140.133 106.616 139.807C106.616 139.481 106.351 139.216 106.025 139.216ZM104.252 137.443C103.926 137.443 103.661 137.707 103.661 138.034C103.661 138.359 103.926 138.624 104.252 138.624C104.578 138.624 104.842 138.359 104.842 138.034C104.842 137.707 104.578 137.443 104.252 137.443ZM106.025 135.67C105.699 135.67 105.434 135.934 105.434 136.26C105.434 136.586 105.699 136.851 106.025 136.851C106.351 136.851 106.616 136.586 106.616 136.26C106.616 135.934 106.351 135.67 106.025 135.67ZM104.252 133.896C103.926 133.896 103.661 134.16 103.661 134.487C103.661 134.813 103.926 135.077 104.252 135.077C104.578 135.077 104.842 134.813 104.842 134.487C104.842 134.16 104.578 133.896 104.252 133.896ZM106.025 132.123C105.699 132.123 105.434 132.387 105.434 132.714C105.434 133.04 105.699 133.304 106.025 133.304C106.351 133.304 106.616 133.04 106.616 132.714C106.616 132.387 106.351 132.123 106.025 132.123ZM104.252 130.35C103.926 130.35 103.661 130.614 103.661 130.94C103.661 131.267 103.926 131.531 104.252 131.531C104.578 131.531 104.842 131.267 104.842 130.94C104.842 130.614 104.578 130.35 104.252 130.35ZM106.025 128.576C105.699 128.576 105.434 128.841 105.434 129.167C105.434 129.493 105.699 129.757 106.025 129.757C106.351 129.757 106.616 129.493 106.616 129.167C106.616 128.841 106.351 128.576 106.025 128.576ZM104.252 126.803C103.926 126.803 103.661 127.067 103.661 127.393C103.661 127.719 103.926 127.984 104.252 127.984C104.578 127.984 104.842 127.719 104.842 127.393C104.842 127.067 104.578 126.803 104.252 126.803ZM106.025 125.029C105.699 125.029 105.434 125.294 105.434 125.62C105.434 125.946 105.699 126.211 106.025 126.211C106.351 126.211 106.616 125.946 106.616 125.62C106.616 125.294 106.351 125.029 106.025 125.029ZM104.252 123.256C103.926 123.256 103.661 123.52 103.661 123.847C103.661 124.173 103.926 124.437 104.252 124.437C104.578 124.437 104.842 124.173 104.842 123.847C104.842 123.52 104.578 123.256 104.252 123.256ZM106.025 121.483C105.699 121.483 105.434 121.747 105.434 122.074C105.434 122.399 105.699 122.664 106.025 122.664C106.351 122.664 106.616 122.399 106.616 122.074C106.616 121.747 106.351 121.483 106.025 121.483ZM104.252 119.71C103.926 119.71 103.661 119.974 103.661 120.3C103.661 120.626 103.926 120.891 104.252 120.891C104.578 120.891 104.842 120.626 104.842 120.3C104.842 119.974 104.578 119.71 104.252 119.71ZM106.025 117.936C105.699 117.936 105.434 118.2 105.434 118.527C105.434 118.853 105.699 119.117 106.025 119.117C106.351 119.117 106.616 118.853 106.616 118.527C106.616 118.2 106.351 117.936 106.025 117.936ZM104.252 116.163C103.926 116.163 103.661 116.427 103.661 116.754C103.661 117.08 103.926 117.344 104.252 117.344C104.578 117.344 104.842 117.08 104.842 116.754C104.842 116.427 104.578 116.163 104.252 116.163ZM106.025 114.39C105.699 114.39 105.434 114.654 105.434 114.98C105.434 115.306 105.699 115.571 106.025 115.571C106.351 115.571 106.616 115.306 106.616 114.98C106.616 114.654 106.351 114.39 106.025 114.39ZM104.252 112.616C103.926 112.616 103.661 112.881 103.661 113.207C103.661 113.533 103.926 113.797 104.252 113.797C104.578 113.797 104.842 113.533 104.842 113.207C104.842 112.881 104.578 112.616 104.252 112.616ZM106.025 110.843C105.699 110.843 105.434 111.107 105.434 111.433C105.434 111.759 105.699 112.024 106.025 112.024C106.351 112.024 106.616 111.759 106.616 111.433C106.616 111.107 106.351 110.843 106.025 110.843ZM104.252 109.069C103.926 109.069 103.661 109.334 103.661 109.66C103.661 109.986 103.926 110.251 104.252 110.251C104.578 110.251 104.842 109.986 104.842 109.66C104.842 109.334 104.578 109.069 104.252 109.069ZM106.025 107.296C105.699 107.296 105.434 107.561 105.434 107.887C105.434 108.213 105.699 108.477 106.025 108.477C106.351 108.477 106.616 108.213 106.616 107.887C106.616 107.561 106.351 107.296 106.025 107.296ZM104.252 105.523C103.926 105.523 103.661 105.787 103.661 106.114C103.661 106.439 103.926 106.704 104.252 106.704C104.578 106.704 104.842 106.439 104.842 106.114C104.842 105.787 104.578 105.523 104.252 105.523ZM106.025 103.75C105.699 103.75 105.434 104.014 105.434 104.34C105.434 104.666 105.699 104.93 106.025 104.93C106.351 104.93 106.616 104.666 106.616 104.34C106.616 104.014 106.351 103.75 106.025 103.75ZM104.252 101.976C103.926 101.976 103.661 102.24 103.661 102.567C103.661 102.893 103.926 103.157 104.252 103.157C104.578 103.157 104.842 102.893 104.842 102.567C104.842 102.24 104.578 101.976 104.252 101.976ZM106.025 100.203C105.699 100.203 105.434 100.467 105.434 100.793C105.434 101.12 105.699 101.384 106.025 101.384C106.351 101.384 106.616 101.12 106.616 100.793C106.616 100.467 106.351 100.203 106.025 100.203ZM104.252 98.4292C103.926 98.4292 103.661 98.6942 103.661 99.0201C103.661 99.346 103.926 99.6105 104.252 99.6105C104.578 99.6105 104.842 99.346 104.842 99.0201C104.842 98.6942 104.578 98.4292 104.252 98.4292ZM106.025 96.6561C105.699 96.6561 105.434 96.9206 105.434 97.2465C105.434 97.5729 105.699 97.8374 106.025 97.8374C106.351 97.8374 106.616 97.5729 106.616 97.2465C106.616 96.9206 106.351 96.6561 106.025 96.6561ZM104.252 94.883C103.926 94.883 103.661 95.147 103.661 95.4734C103.661 95.7993 103.926 96.0638 104.252 96.0638C104.578 96.0638 104.842 95.7993 104.842 95.4734C104.842 95.147 104.578 94.883 104.252 94.883ZM106.025 93.1094C105.699 93.1094 105.434 93.3739 105.434 93.6998C105.434 94.0262 105.699 94.2907 106.025 94.2907C106.351 94.2907 106.616 94.0262 106.616 93.6998C106.616 93.3739 106.351 93.1094 106.025 93.1094ZM104.252 91.3363C103.926 91.3363 103.661 91.6003 103.661 91.9267C103.661 92.2531 103.926 92.5171 104.252 92.5171C104.578 92.5171 104.842 92.2531 104.842 91.9267C104.842 91.6003 104.578 91.3363 104.252 91.3363ZM106.025 89.5627C105.699 89.5627 105.434 89.8272 105.434 90.1535C105.434 90.4795 105.699 90.7439 106.025 90.7439C106.351 90.7439 106.616 90.4795 106.616 90.1535C106.616 89.8272 106.351 89.5627 106.025 89.5627ZM104.252 87.7896C103.926 87.7896 103.661 88.054 103.661 88.38C103.661 88.7064 103.926 88.9704 104.252 88.9704C104.578 88.9704 104.842 88.7064 104.842 88.38C104.842 88.054 104.578 87.7896 104.252 87.7896ZM106.025 86.016C105.699 86.016 105.434 86.2804 105.434 86.6064C105.434 86.9328 105.699 87.1972 106.025 87.1972C106.351 87.1972 106.616 86.9328 106.616 86.6064C106.616 86.2804 106.351 86.016 106.025 86.016ZM104.252 84.2428C103.926 84.2428 103.661 84.5073 103.661 84.8332C103.661 85.1596 103.926 85.4241 104.252 85.4241C104.578 85.4241 104.842 85.1596 104.842 84.8332C104.842 84.5073 104.578 84.2428 104.252 84.2428ZM106.025 82.4692C105.699 82.4692 105.434 82.7337 105.434 83.0601C105.434 83.386 105.699 83.6505 106.025 83.6505C106.351 83.6505 106.616 83.386 106.616 83.0601C106.616 82.7337 106.351 82.4692 106.025 82.4692ZM104.252 80.6961C103.926 80.6961 103.661 80.9606 103.661 81.2865C103.661 81.6129 103.926 81.8769 104.252 81.8769C104.578 81.8769 104.842 81.6129 104.842 81.2865C104.842 80.9606 104.578 80.6961 104.252 80.6961ZM106.025 78.923C105.699 78.923 105.434 79.187 105.434 79.5134C105.434 79.8393 105.699 80.1038 106.025 80.1038C106.351 80.1038 106.616 79.8393 106.616 79.5134C106.616 79.187 106.351 78.923 106.025 78.923ZM104.252 77.1494C103.926 77.1494 103.661 77.4139 103.661 77.7398C103.661 78.0662 103.926 78.3307 104.252 78.3307C104.578 78.3307 104.842 78.0662 104.842 77.7398C104.842 77.4139 104.578 77.1494 104.252 77.1494ZM106.025 75.3763C105.699 75.3763 105.434 75.6403 105.434 75.9667C105.434 76.2931 105.699 76.5571 106.025 76.5571C106.351 76.5571 106.616 76.2931 106.616 75.9667C106.616 75.6403 106.351 75.3763 106.025 75.3763ZM104.252 73.6027C103.926 73.6027 103.661 73.8671 103.661 74.1936C103.661 74.5195 103.926 74.784 104.252 74.784C104.578 74.784 104.842 74.5195 104.842 74.1936C104.842 73.8671 104.578 73.6027 104.252 73.6027ZM106.025 71.8296C105.699 71.8296 105.434 72.094 105.434 72.4199C105.434 72.7463 105.699 73.0104 106.025 73.0104C106.351 73.0104 106.616 72.7463 106.616 72.4199C106.616 72.094 106.351 71.8296 106.025 71.8296ZM107.798 67.6905C108.019 67.6905 108.205 67.5643 108.306 67.3843L108.093 67.1001L107.798 66.707L107.67 66.5356C107.408 66.5956 107.208 66.8193 107.208 67.1001C107.208 67.426 107.472 67.6905 107.798 67.6905ZM104.252 70.056C103.926 70.056 103.661 70.3204 103.661 70.6464C103.661 70.9727 103.926 71.2372 104.252 71.2372C104.578 71.2372 104.842 70.9727 104.842 70.6464C104.842 70.3204 104.578 70.056 104.252 70.056ZM106.025 68.2828C105.699 68.2828 105.434 68.5468 105.434 68.8732C105.434 69.1996 105.699 69.4641 106.025 69.4641C106.351 69.4641 106.616 69.1996 106.616 68.8732C106.616 68.5468 106.351 68.2828 106.025 68.2828ZM104.252 66.5092C103.926 66.5092 103.661 66.7737 103.661 67.1001C103.661 67.426 103.926 67.6905 104.252 67.6905C104.578 67.6905 104.842 67.426 104.842 67.1001C104.842 66.7737 104.578 66.5092 104.252 66.5092ZM106.025 64.7361C105.699 64.7361 105.434 65.0006 105.434 65.3265C105.434 65.6529 105.699 65.9169 106.025 65.9169C106.351 65.9169 106.616 65.6529 106.616 65.3265C106.616 65.0006 106.351 64.7361 106.025 64.7361ZM104.252 62.963C103.926 62.963 103.661 63.227 103.661 63.5534C103.661 63.8793 103.926 64.1438 104.252 64.1438C104.578 64.1438 104.842 63.8793 104.842 63.5534C104.842 63.227 104.578 62.963 104.252 62.963ZM109.572 164.043C109.322 164.043 109.111 164.199 109.025 164.417L110.162 164.629C110.159 164.305 109.897 164.043 109.572 164.043ZM107.798 162.27C107.472 162.27 107.208 162.534 107.208 162.86C107.208 163.187 107.472 163.451 107.798 163.451C108.125 163.451 108.389 163.187 108.389 162.86C108.389 162.534 108.125 162.27 107.798 162.27ZM109.572 160.496C109.246 160.496 108.981 160.761 108.981 161.087C108.981 161.413 109.246 161.677 109.572 161.677C109.898 161.677 110.162 161.413 110.162 161.087C110.162 160.761 109.898 160.496 109.572 160.496ZM107.798 158.723C107.472 158.723 107.208 158.987 107.208 159.314C107.208 159.639 107.472 159.904 107.798 159.904C108.125 159.904 108.389 159.639 108.389 159.314C108.389 158.987 108.125 158.723 107.798 158.723ZM109.572 156.95C109.246 156.95 108.981 157.214 108.981 157.54C108.981 157.866 109.246 158.131 109.572 158.131C109.898 158.131 110.162 157.866 110.162 157.54C110.162 157.214 109.898 156.95 109.572 156.95ZM107.798 155.176C107.472 155.176 107.208 155.441 107.208 155.767C107.208 156.093 107.472 156.357 107.798 156.357C108.125 156.357 108.389 156.093 108.389 155.767C108.389 155.441 108.125 155.176 107.798 155.176ZM109.572 153.403C109.246 153.403 108.981 153.668 108.981 153.994C108.981 154.319 109.246 154.584 109.572 154.584C109.898 154.584 110.162 154.319 110.162 153.994C110.162 153.668 109.898 153.403 109.572 153.403ZM107.798 151.63C107.472 151.63 107.208 151.894 107.208 152.22C107.208 152.546 107.472 152.811 107.798 152.811C108.125 152.811 108.389 152.546 108.389 152.22C108.389 151.894 108.125 151.63 107.798 151.63ZM109.572 149.856C109.246 149.856 108.981 150.12 108.981 150.447C108.981 150.773 109.246 151.037 109.572 151.037C109.898 151.037 110.162 150.773 110.162 150.447C110.162 150.12 109.898 149.856 109.572 149.856ZM107.798 148.083C107.472 148.083 107.208 148.347 107.208 148.674C107.208 149 107.472 149.264 107.798 149.264C108.125 149.264 108.389 149 108.389 148.674C108.389 148.347 108.125 148.083 107.798 148.083ZM109.572 146.31C109.246 146.31 108.981 146.574 108.981 146.9C108.981 147.227 109.246 147.491 109.572 147.491C109.898 147.491 110.162 147.227 110.162 146.9C110.162 146.574 109.898 146.31 109.572 146.31ZM107.798 144.536C107.472 144.536 107.208 144.801 107.208 145.127C107.208 145.453 107.472 145.717 107.798 145.717C108.125 145.717 108.389 145.453 108.389 145.127C108.389 144.801 108.125 144.536 107.798 144.536ZM109.572 142.763C109.246 142.763 108.981 143.027 108.981 143.354C108.981 143.679 109.246 143.944 109.572 143.944C109.898 143.944 110.162 143.679 110.162 143.354C110.162 143.027 109.898 142.763 109.572 142.763ZM107.798 140.99C107.472 140.99 107.208 141.254 107.208 141.58C107.208 141.906 107.472 142.171 107.798 142.171C108.125 142.171 108.389 141.906 108.389 141.58C108.389 141.254 108.125 140.99 107.798 140.99ZM109.572 139.216C109.246 139.216 108.981 139.481 108.981 139.807C108.981 140.133 109.246 140.397 109.572 140.397C109.898 140.397 110.162 140.133 110.162 139.807C110.162 139.481 109.898 139.216 109.572 139.216ZM107.798 137.443C107.472 137.443 107.208 137.707 107.208 138.034C107.208 138.359 107.472 138.624 107.798 138.624C108.125 138.624 108.389 138.359 108.389 138.034C108.389 137.707 108.125 137.443 107.798 137.443ZM109.572 135.67C109.246 135.67 108.981 135.934 108.981 136.26C108.981 136.586 109.246 136.851 109.572 136.851C109.898 136.851 110.162 136.586 110.162 136.26C110.162 135.934 109.898 135.67 109.572 135.67ZM107.798 133.896C107.472 133.896 107.208 134.16 107.208 134.487C107.208 134.813 107.472 135.077 107.798 135.077C108.125 135.077 108.389 134.813 108.389 134.487C108.389 134.16 108.125 133.896 107.798 133.896ZM109.572 132.123C109.246 132.123 108.981 132.387 108.981 132.714C108.981 133.04 109.246 133.304 109.572 133.304C109.898 133.304 110.162 133.04 110.162 132.714C110.162 132.387 109.898 132.123 109.572 132.123ZM107.798 130.35C107.472 130.35 107.208 130.614 107.208 130.94C107.208 131.267 107.472 131.531 107.798 131.531C108.125 131.531 108.389 131.267 108.389 130.94C108.389 130.614 108.125 130.35 107.798 130.35ZM109.572 128.576C109.246 128.576 108.981 128.841 108.981 129.167C108.981 129.493 109.246 129.757 109.572 129.757C109.898 129.757 110.162 129.493 110.162 129.167C110.162 128.841 109.898 128.576 109.572 128.576ZM107.798 126.803C107.472 126.803 107.208 127.067 107.208 127.393C107.208 127.719 107.472 127.984 107.798 127.984C108.125 127.984 108.389 127.719 108.389 127.393C108.389 127.067 108.125 126.803 107.798 126.803ZM109.572 125.029C109.246 125.029 108.981 125.294 108.981 125.62C108.981 125.946 109.246 126.211 109.572 126.211C109.898 126.211 110.162 125.946 110.162 125.62C110.162 125.294 109.898 125.029 109.572 125.029ZM107.798 123.256C107.472 123.256 107.208 123.52 107.208 123.847C107.208 124.173 107.472 124.437 107.798 124.437C108.125 124.437 108.389 124.173 108.389 123.847C108.389 123.52 108.125 123.256 107.798 123.256ZM109.572 121.483C109.246 121.483 108.981 121.747 108.981 122.074C108.981 122.399 109.246 122.664 109.572 122.664C109.898 122.664 110.162 122.399 110.162 122.074C110.162 121.747 109.898 121.483 109.572 121.483ZM107.798 119.71C107.472 119.71 107.208 119.974 107.208 120.3C107.208 120.626 107.472 120.891 107.798 120.891C108.125 120.891 108.389 120.626 108.389 120.3C108.389 119.974 108.125 119.71 107.798 119.71ZM109.572 117.936C109.246 117.936 108.981 118.2 108.981 118.527C108.981 118.853 109.246 119.117 109.572 119.117C109.898 119.117 110.162 118.853 110.162 118.527C110.162 118.2 109.898 117.936 109.572 117.936ZM107.798 116.163C107.472 116.163 107.208 116.427 107.208 116.754C107.208 117.08 107.472 117.344 107.798 117.344C108.125 117.344 108.389 117.08 108.389 116.754C108.389 116.427 108.125 116.163 107.798 116.163ZM109.572 114.39C109.246 114.39 108.981 114.654 108.981 114.98C108.981 115.306 109.246 115.571 109.572 115.571C109.898 115.571 110.162 115.306 110.162 114.98C110.162 114.654 109.898 114.39 109.572 114.39ZM107.798 112.616C107.472 112.616 107.208 112.881 107.208 113.207C107.208 113.533 107.472 113.797 107.798 113.797C108.125 113.797 108.389 113.533 108.389 113.207C108.389 112.881 108.125 112.616 107.798 112.616ZM109.572 110.843C109.246 110.843 108.981 111.107 108.981 111.433C108.981 111.759 109.246 112.024 109.572 112.024C109.898 112.024 110.162 111.759 110.162 111.433C110.162 111.107 109.898 110.843 109.572 110.843ZM107.798 109.069C107.472 109.069 107.208 109.334 107.208 109.66C107.208 109.986 107.472 110.251 107.798 110.251C108.125 110.251 108.389 109.986 108.389 109.66C108.389 109.334 108.125 109.069 107.798 109.069ZM109.572 107.296C109.246 107.296 108.981 107.561 108.981 107.887C108.981 108.213 109.246 108.477 109.572 108.477C109.898 108.477 110.162 108.213 110.162 107.887C110.162 107.561 109.898 107.296 109.572 107.296ZM107.798 105.523C107.472 105.523 107.208 105.787 107.208 106.114C107.208 106.439 107.472 106.704 107.798 106.704C108.125 106.704 108.389 106.439 108.389 106.114C108.389 105.787 108.125 105.523 107.798 105.523ZM109.572 103.75C109.246 103.75 108.981 104.014 108.981 104.34C108.981 104.666 109.246 104.93 109.572 104.93C109.898 104.93 110.162 104.666 110.162 104.34C110.162 104.014 109.898 103.75 109.572 103.75ZM107.798 101.976C107.472 101.976 107.208 102.24 107.208 102.567C107.208 102.893 107.472 103.157 107.798 103.157C108.125 103.157 108.389 102.893 108.389 102.567C108.389 102.24 108.125 101.976 107.798 101.976ZM109.572 100.203C109.246 100.203 108.981 100.467 108.981 100.793C108.981 101.12 109.246 101.384 109.572 101.384C109.898 101.384 110.162 101.12 110.162 100.793C110.162 100.467 109.898 100.203 109.572 100.203ZM107.798 98.4292C107.472 98.4292 107.208 98.6942 107.208 99.0201C107.208 99.346 107.472 99.6105 107.798 99.6105C108.125 99.6105 108.389 99.346 108.389 99.0201C108.389 98.6942 108.125 98.4292 107.798 98.4292ZM109.572 96.6561C109.246 96.6561 108.981 96.9206 108.981 97.2465C108.981 97.5729 109.246 97.8374 109.572 97.8374C109.898 97.8374 110.162 97.5729 110.162 97.2465C110.162 96.9206 109.898 96.6561 109.572 96.6561ZM107.798 94.883C107.472 94.883 107.208 95.147 107.208 95.4734C107.208 95.7993 107.472 96.0638 107.798 96.0638C108.125 96.0638 108.389 95.7993 108.389 95.4734C108.389 95.147 108.125 94.883 107.798 94.883ZM109.572 93.1094C109.246 93.1094 108.981 93.3739 108.981 93.6998C108.981 94.0262 109.246 94.2907 109.572 94.2907C109.898 94.2907 110.162 94.0262 110.162 93.6998C110.162 93.3739 109.898 93.1094 109.572 93.1094ZM107.798 91.3363C107.472 91.3363 107.208 91.6003 107.208 91.9267C107.208 92.2531 107.472 92.5171 107.798 92.5171C108.125 92.5171 108.389 92.2531 108.389 91.9267C108.389 91.6003 108.125 91.3363 107.798 91.3363ZM109.572 89.5627C109.246 89.5627 108.981 89.8272 108.981 90.1535C108.981 90.4795 109.246 90.7439 109.572 90.7439C109.898 90.7439 110.162 90.4795 110.162 90.1535C110.162 89.8272 109.898 89.5627 109.572 89.5627ZM107.798 87.7896C107.472 87.7896 107.208 88.054 107.208 88.38C107.208 88.7064 107.472 88.9704 107.798 88.9704C108.125 88.9704 108.389 88.7064 108.389 88.38C108.389 88.054 108.125 87.7896 107.798 87.7896ZM109.572 86.016C109.246 86.016 108.981 86.2804 108.981 86.6064C108.981 86.9328 109.246 87.1972 109.572 87.1972C109.898 87.1972 110.162 86.9328 110.162 86.6064C110.162 86.2804 109.898 86.016 109.572 86.016ZM107.798 84.2428C107.472 84.2428 107.208 84.5073 107.208 84.8332C107.208 85.1596 107.472 85.4241 107.798 85.4241C108.125 85.4241 108.389 85.1596 108.389 84.8332C108.389 84.5073 108.125 84.2428 107.798 84.2428ZM109.572 82.4692C109.246 82.4692 108.981 82.7337 108.981 83.0601C108.981 83.386 109.246 83.6505 109.572 83.6505C109.898 83.6505 110.162 83.386 110.162 83.0601C110.162 82.7337 109.898 82.4692 109.572 82.4692ZM107.798 80.6961C107.472 80.6961 107.208 80.9606 107.208 81.2865C107.208 81.6129 107.472 81.8769 107.798 81.8769C108.125 81.8769 108.389 81.6129 108.389 81.2865C108.389 80.9606 108.125 80.6961 107.798 80.6961ZM109.572 78.923C109.246 78.923 108.981 79.187 108.981 79.5134C108.981 79.8393 109.246 80.1038 109.572 80.1038C109.898 80.1038 110.162 79.8393 110.162 79.5134C110.162 79.187 109.898 78.923 109.572 78.923ZM107.798 77.1494C107.472 77.1494 107.208 77.4139 107.208 77.7398C107.208 78.0662 107.472 78.3307 107.798 78.3307C108.125 78.3307 108.389 78.0662 108.389 77.7398C108.389 77.4139 108.125 77.1494 107.798 77.1494ZM109.572 75.3763C109.246 75.3763 108.981 75.6403 108.981 75.9667C108.981 76.2931 109.246 76.5571 109.572 76.5571C109.898 76.5571 110.162 76.2931 110.162 75.9667C110.162 75.6403 109.898 75.3763 109.572 75.3763ZM111.164 71.2008L110.757 70.6564C110.761 70.9142 110.931 71.1244 111.164 71.2008ZM107.798 73.6027C107.472 73.6027 107.208 73.8671 107.208 74.1936C107.208 74.5195 107.472 74.784 107.798 74.784C108.125 74.784 108.389 74.5195 108.389 74.1936C108.389 73.8671 108.125 73.6027 107.798 73.6027ZM109.572 71.8296C109.246 71.8296 108.981 72.094 108.981 72.4199C108.981 72.7463 109.246 73.0104 109.572 73.0104C109.898 73.0104 110.162 72.7463 110.162 72.4199C110.162 72.094 109.898 71.8296 109.572 71.8296ZM107.798 70.056C107.472 70.056 107.208 70.3204 107.208 70.6464C107.208 70.9727 107.472 71.2372 107.798 71.2372C108.125 71.2372 108.389 70.9727 108.389 70.6464C108.389 70.3204 108.125 70.056 107.798 70.056ZM109.572 69.4641C109.661 69.4641 109.744 69.4411 109.819 69.4055L109.132 68.4878C109.041 68.592 108.981 68.7244 108.981 68.8732C108.981 69.1996 109.246 69.4641 109.572 69.4641ZM113.119 164.043C112.792 164.043 112.528 164.307 112.528 164.634C112.528 164.842 112.642 165.016 112.805 165.121L113.233 165.201C113.502 165.146 113.709 164.919 113.709 164.634C113.709 164.307 113.445 164.043 113.119 164.043ZM111.345 162.27C111.019 162.27 110.755 162.534 110.755 162.86C110.755 163.187 111.019 163.451 111.345 163.451C111.671 163.451 111.936 163.187 111.936 162.86C111.936 162.534 111.671 162.27 111.345 162.27ZM113.119 160.496C112.792 160.496 112.528 160.761 112.528 161.087C112.528 161.413 112.792 161.677 113.119 161.677C113.445 161.677 113.709 161.413 113.709 161.087C113.709 160.761 113.445 160.496 113.119 160.496ZM111.345 158.723C111.019 158.723 110.755 158.987 110.755 159.314C110.755 159.639 111.019 159.904 111.345 159.904C111.671 159.904 111.936 159.639 111.936 159.314C111.936 158.987 111.671 158.723 111.345 158.723ZM113.119 156.95C112.792 156.95 112.528 157.214 112.528 157.54C112.528 157.866 112.792 158.131 113.119 158.131C113.445 158.131 113.709 157.866 113.709 157.54C113.709 157.214 113.445 156.95 113.119 156.95ZM111.345 155.176C111.019 155.176 110.755 155.441 110.755 155.767C110.755 156.093 111.019 156.357 111.345 156.357C111.671 156.357 111.936 156.093 111.936 155.767C111.936 155.441 111.671 155.176 111.345 155.176ZM113.119 153.403C112.792 153.403 112.528 153.668 112.528 153.994C112.528 154.319 112.792 154.584 113.119 154.584C113.445 154.584 113.709 154.319 113.709 153.994C113.709 153.668 113.445 153.403 113.119 153.403ZM111.345 151.63C111.019 151.63 110.755 151.894 110.755 152.22C110.755 152.546 111.019 152.811 111.345 152.811C111.671 152.811 111.936 152.546 111.936 152.22C111.936 151.894 111.671 151.63 111.345 151.63ZM113.119 149.856C112.792 149.856 112.528 150.12 112.528 150.447C112.528 150.773 112.792 151.037 113.119 151.037C113.445 151.037 113.709 150.773 113.709 150.447C113.709 150.12 113.445 149.856 113.119 149.856ZM111.345 148.083C111.019 148.083 110.755 148.347 110.755 148.674C110.755 149 111.019 149.264 111.345 149.264C111.671 149.264 111.936 149 111.936 148.674C111.936 148.347 111.671 148.083 111.345 148.083ZM113.119 146.31C112.792 146.31 112.528 146.574 112.528 146.9C112.528 147.227 112.792 147.491 113.119 147.491C113.445 147.491 113.709 147.227 113.709 146.9C113.709 146.574 113.445 146.31 113.119 146.31ZM111.345 144.536C111.019 144.536 110.755 144.801 110.755 145.127C110.755 145.453 111.019 145.717 111.345 145.717C111.671 145.717 111.936 145.453 111.936 145.127C111.936 144.801 111.671 144.536 111.345 144.536ZM113.119 142.763C112.792 142.763 112.528 143.027 112.528 143.354C112.528 143.679 112.792 143.944 113.119 143.944C113.445 143.944 113.709 143.679 113.709 143.354C113.709 143.027 113.445 142.763 113.119 142.763ZM111.345 140.99C111.019 140.99 110.755 141.254 110.755 141.58C110.755 141.906 111.019 142.171 111.345 142.171C111.671 142.171 111.936 141.906 111.936 141.58C111.936 141.254 111.671 140.99 111.345 140.99ZM113.119 139.216C112.792 139.216 112.528 139.481 112.528 139.807C112.528 140.133 112.792 140.397 113.119 140.397C113.445 140.397 113.709 140.133 113.709 139.807C113.709 139.481 113.445 139.216 113.119 139.216ZM111.345 137.443C111.019 137.443 110.755 137.707 110.755 138.034C110.755 138.359 111.019 138.624 111.345 138.624C111.671 138.624 111.936 138.359 111.936 138.034C111.936 137.707 111.671 137.443 111.345 137.443ZM113.119 135.67C112.792 135.67 112.528 135.934 112.528 136.26C112.528 136.586 112.792 136.851 113.119 136.851C113.445 136.851 113.709 136.586 113.709 136.26C113.709 135.934 113.445 135.67 113.119 135.67ZM111.345 133.896C111.019 133.896 110.755 134.16 110.755 134.487C110.755 134.813 111.019 135.077 111.345 135.077C111.671 135.077 111.936 134.813 111.936 134.487C111.936 134.16 111.671 133.896 111.345 133.896ZM113.119 132.123C112.792 132.123 112.528 132.387 112.528 132.714C112.528 133.04 112.792 133.304 113.119 133.304C113.445 133.304 113.709 133.04 113.709 132.714C113.709 132.387 113.445 132.123 113.119 132.123ZM111.345 130.35C111.019 130.35 110.755 130.614 110.755 130.94C110.755 131.267 111.019 131.531 111.345 131.531C111.671 131.531 111.936 131.267 111.936 130.94C111.936 130.614 111.671 130.35 111.345 130.35ZM113.119 128.576C112.792 128.576 112.528 128.841 112.528 129.167C112.528 129.493 112.792 129.757 113.119 129.757C113.445 129.757 113.709 129.493 113.709 129.167C113.709 128.841 113.445 128.576 113.119 128.576ZM111.345 126.803C111.019 126.803 110.755 127.067 110.755 127.393C110.755 127.719 111.019 127.984 111.345 127.984C111.671 127.984 111.936 127.719 111.936 127.393C111.936 127.067 111.671 126.803 111.345 126.803ZM113.119 125.029C112.792 125.029 112.528 125.294 112.528 125.62C112.528 125.946 112.792 126.211 113.119 126.211C113.445 126.211 113.709 125.946 113.709 125.62C113.709 125.294 113.445 125.029 113.119 125.029ZM111.345 123.256C111.019 123.256 110.755 123.52 110.755 123.847C110.755 124.173 111.019 124.437 111.345 124.437C111.671 124.437 111.936 124.173 111.936 123.847C111.936 123.52 111.671 123.256 111.345 123.256ZM113.119 121.483C112.792 121.483 112.528 121.747 112.528 122.074C112.528 122.399 112.792 122.664 113.119 122.664C113.445 122.664 113.709 122.399 113.709 122.074C113.709 121.747 113.445 121.483 113.119 121.483ZM111.345 119.71C111.019 119.71 110.755 119.974 110.755 120.3C110.755 120.626 111.019 120.891 111.345 120.891C111.671 120.891 111.936 120.626 111.936 120.3C111.936 119.974 111.671 119.71 111.345 119.71ZM113.119 117.936C112.792 117.936 112.528 118.2 112.528 118.527C112.528 118.853 112.792 119.117 113.119 119.117C113.445 119.117 113.709 118.853 113.709 118.527C113.709 118.2 113.445 117.936 113.119 117.936ZM111.345 116.163C111.019 116.163 110.755 116.427 110.755 116.754C110.755 117.08 111.019 117.344 111.345 117.344C111.671 117.344 111.936 117.08 111.936 116.754C111.936 116.427 111.671 116.163 111.345 116.163ZM113.119 114.39C112.792 114.39 112.528 114.654 112.528 114.98C112.528 115.306 112.792 115.571 113.119 115.571C113.445 115.571 113.709 115.306 113.709 114.98C113.709 114.654 113.445 114.39 113.119 114.39ZM111.345 112.616C111.019 112.616 110.755 112.881 110.755 113.207C110.755 113.533 111.019 113.797 111.345 113.797C111.671 113.797 111.936 113.533 111.936 113.207C111.936 112.881 111.671 112.616 111.345 112.616ZM113.119 110.843C112.792 110.843 112.528 111.107 112.528 111.433C112.528 111.759 112.792 112.024 113.119 112.024C113.445 112.024 113.709 111.759 113.709 111.433C113.709 111.107 113.445 110.843 113.119 110.843ZM111.345 109.069C111.019 109.069 110.755 109.334 110.755 109.66C110.755 109.986 111.019 110.251 111.345 110.251C111.671 110.251 111.936 109.986 111.936 109.66C111.936 109.334 111.671 109.069 111.345 109.069ZM113.119 107.296C112.792 107.296 112.528 107.561 112.528 107.887C112.528 108.213 112.792 108.477 113.119 108.477C113.445 108.477 113.709 108.213 113.709 107.887C113.709 107.561 113.445 107.296 113.119 107.296ZM111.345 105.523C111.019 105.523 110.755 105.787 110.755 106.114C110.755 106.439 111.019 106.704 111.345 106.704C111.671 106.704 111.936 106.439 111.936 106.114C111.936 105.787 111.671 105.523 111.345 105.523ZM113.119 103.75C112.792 103.75 112.528 104.014 112.528 104.34C112.528 104.666 112.792 104.93 113.119 104.93C113.445 104.93 113.709 104.666 113.709 104.34C113.709 104.014 113.445 103.75 113.119 103.75ZM111.345 101.976C111.019 101.976 110.755 102.24 110.755 102.567C110.755 102.893 111.019 103.157 111.345 103.157C111.671 103.157 111.936 102.893 111.936 102.567C111.936 102.24 111.671 101.976 111.345 101.976ZM113.119 100.203C112.792 100.203 112.528 100.467 112.528 100.793C112.528 101.12 112.792 101.384 113.119 101.384C113.445 101.384 113.709 101.12 113.709 100.793C113.709 100.467 113.445 100.203 113.119 100.203ZM111.345 98.4292C111.019 98.4292 110.755 98.6942 110.755 99.0201C110.755 99.346 111.019 99.6105 111.345 99.6105C111.671 99.6105 111.936 99.346 111.936 99.0201C111.936 98.6942 111.671 98.4292 111.345 98.4292ZM113.119 96.6561C112.792 96.6561 112.528 96.9206 112.528 97.2465C112.528 97.5729 112.792 97.8374 113.119 97.8374C113.445 97.8374 113.709 97.5729 113.709 97.2465C113.709 96.9206 113.445 96.6561 113.119 96.6561ZM111.345 94.883C111.019 94.883 110.755 95.147 110.755 95.4734C110.755 95.7993 111.019 96.0638 111.345 96.0638C111.671 96.0638 111.936 95.7993 111.936 95.4734C111.936 95.147 111.671 94.883 111.345 94.883ZM113.119 93.1094C112.792 93.1094 112.528 93.3739 112.528 93.6998C112.528 94.0262 112.792 94.2907 113.119 94.2907C113.445 94.2907 113.709 94.0262 113.709 93.6998C113.709 93.3739 113.445 93.1094 113.119 93.1094ZM111.345 91.3363C111.019 91.3363 110.755 91.6003 110.755 91.9267C110.755 92.2531 111.019 92.5171 111.345 92.5171C111.671 92.5171 111.936 92.2531 111.936 91.9267C111.936 91.6003 111.671 91.3363 111.345 91.3363ZM113.119 89.5627C112.792 89.5627 112.528 89.8272 112.528 90.1535C112.528 90.4795 112.792 90.7439 113.119 90.7439C113.445 90.7439 113.709 90.4795 113.709 90.1535C113.709 89.8272 113.445 89.5627 113.119 89.5627ZM111.345 87.7896C111.019 87.7896 110.755 88.054 110.755 88.38C110.755 88.7064 111.019 88.9704 111.345 88.9704C111.671 88.9704 111.936 88.7064 111.936 88.38C111.936 88.054 111.671 87.7896 111.345 87.7896ZM113.119 86.016C112.792 86.016 112.528 86.2804 112.528 86.6064C112.528 86.9328 112.792 87.1972 113.119 87.1972C113.445 87.1972 113.709 86.9328 113.709 86.6064C113.709 86.2804 113.445 86.016 113.119 86.016ZM111.345 84.2428C111.019 84.2428 110.755 84.5073 110.755 84.8332C110.755 85.1596 111.019 85.4241 111.345 85.4241C111.671 85.4241 111.936 85.1596 111.936 84.8332C111.936 84.5073 111.671 84.2428 111.345 84.2428ZM113.119 82.4692C112.792 82.4692 112.528 82.7337 112.528 83.0601C112.528 83.386 112.792 83.6505 113.119 83.6505C113.445 83.6505 113.709 83.386 113.709 83.0601C113.709 82.7337 113.445 82.4692 113.119 82.4692ZM111.345 80.6961C111.019 80.6961 110.755 80.9606 110.755 81.2865C110.755 81.6129 111.019 81.8769 111.345 81.8769C111.671 81.8769 111.936 81.6129 111.936 81.2865C111.936 80.9606 111.671 80.6961 111.345 80.6961ZM113.119 78.923C112.792 78.923 112.528 79.187 112.528 79.5134C112.528 79.8393 112.792 80.1038 113.119 80.1038C113.445 80.1038 113.709 79.8393 113.709 79.5134C113.709 79.187 113.445 78.923 113.119 78.923ZM111.345 77.1494C111.019 77.1494 110.755 77.4139 110.755 77.7398C110.755 78.0662 111.019 78.3307 111.345 78.3307C111.671 78.3307 111.936 78.0662 111.936 77.7398C111.936 77.4139 111.671 77.1494 111.345 77.1494ZM113.119 75.3763C112.792 75.3763 112.528 75.6403 112.528 75.9667C112.528 76.2931 112.792 76.5571 113.119 76.5571C113.445 76.5571 113.709 76.2931 113.709 75.9667C113.709 75.6403 113.445 75.3763 113.119 75.3763ZM111.345 73.6027C111.019 73.6027 110.755 73.8671 110.755 74.1936C110.755 74.5195 111.019 74.784 111.345 74.784C111.671 74.784 111.936 74.5195 111.936 74.1936C111.936 73.8671 111.671 73.6027 111.345 73.6027ZM116.665 164.043C116.339 164.043 116.075 164.307 116.075 164.634C116.075 164.96 116.339 165.224 116.665 165.224C116.991 165.224 117.256 164.96 117.256 164.634C117.256 164.307 116.991 164.043 116.665 164.043ZM114.892 162.27C114.566 162.27 114.301 162.534 114.301 162.86C114.301 163.187 114.566 163.451 114.892 163.451C115.218 163.451 115.482 163.187 115.482 162.86C115.482 162.534 115.218 162.27 114.892 162.27ZM116.665 160.496C116.339 160.496 116.075 160.761 116.075 161.087C116.075 161.413 116.339 161.677 116.665 161.677C116.991 161.677 117.256 161.413 117.256 161.087C117.256 160.761 116.991 160.496 116.665 160.496ZM114.892 158.723C114.566 158.723 114.301 158.987 114.301 159.314C114.301 159.639 114.566 159.904 114.892 159.904C115.218 159.904 115.482 159.639 115.482 159.314C115.482 158.987 115.218 158.723 114.892 158.723ZM116.665 156.95C116.339 156.95 116.075 157.214 116.075 157.54C116.075 157.866 116.339 158.131 116.665 158.131C116.991 158.131 117.256 157.866 117.256 157.54C117.256 157.214 116.991 156.95 116.665 156.95ZM114.892 155.176C114.566 155.176 114.301 155.441 114.301 155.767C114.301 156.093 114.566 156.357 114.892 156.357C115.218 156.357 115.482 156.093 115.482 155.767C115.482 155.441 115.218 155.176 114.892 155.176ZM116.665 153.403C116.339 153.403 116.075 153.668 116.075 153.994C116.075 154.319 116.339 154.584 116.665 154.584C116.991 154.584 117.256 154.319 117.256 153.994C117.256 153.668 116.991 153.403 116.665 153.403ZM114.892 151.63C114.566 151.63 114.301 151.894 114.301 152.22C114.301 152.546 114.566 152.811 114.892 152.811C115.218 152.811 115.482 152.546 115.482 152.22C115.482 151.894 115.218 151.63 114.892 151.63ZM116.665 149.856C116.339 149.856 116.075 150.12 116.075 150.447C116.075 150.773 116.339 151.037 116.665 151.037C116.991 151.037 117.256 150.773 117.256 150.447C117.256 150.12 116.991 149.856 116.665 149.856ZM114.892 148.083C114.566 148.083 114.301 148.347 114.301 148.674C114.301 149 114.566 149.264 114.892 149.264C115.218 149.264 115.482 149 115.482 148.674C115.482 148.347 115.218 148.083 114.892 148.083ZM116.665 146.31C116.339 146.31 116.075 146.574 116.075 146.9C116.075 147.227 116.339 147.491 116.665 147.491C116.991 147.491 117.256 147.227 117.256 146.9C117.256 146.574 116.991 146.31 116.665 146.31ZM114.892 144.536C114.566 144.536 114.301 144.801 114.301 145.127C114.301 145.453 114.566 145.717 114.892 145.717C115.218 145.717 115.482 145.453 115.482 145.127C115.482 144.801 115.218 144.536 114.892 144.536ZM116.665 142.763C116.339 142.763 116.075 143.027 116.075 143.354C116.075 143.679 116.339 143.944 116.665 143.944C116.991 143.944 117.256 143.679 117.256 143.354C117.256 143.027 116.991 142.763 116.665 142.763ZM114.892 140.99C114.566 140.99 114.301 141.254 114.301 141.58C114.301 141.906 114.566 142.171 114.892 142.171C115.218 142.171 115.482 141.906 115.482 141.58C115.482 141.254 115.218 140.99 114.892 140.99ZM116.665 139.216C116.339 139.216 116.075 139.481 116.075 139.807C116.075 140.133 116.339 140.397 116.665 140.397C116.991 140.397 117.256 140.133 117.256 139.807C117.256 139.481 116.991 139.216 116.665 139.216ZM114.892 137.443C114.566 137.443 114.301 137.707 114.301 138.034C114.301 138.359 114.566 138.624 114.892 138.624C115.218 138.624 115.482 138.359 115.482 138.034C115.482 137.707 115.218 137.443 114.892 137.443ZM116.665 135.67C116.339 135.67 116.075 135.934 116.075 136.26C116.075 136.586 116.339 136.851 116.665 136.851C116.991 136.851 117.256 136.586 117.256 136.26C117.256 135.934 116.991 135.67 116.665 135.67ZM114.892 133.896C114.566 133.896 114.301 134.16 114.301 134.487C114.301 134.813 114.566 135.077 114.892 135.077C115.218 135.077 115.482 134.813 115.482 134.487C115.482 134.16 115.218 133.896 114.892 133.896ZM116.665 132.123C116.339 132.123 116.075 132.387 116.075 132.714C116.075 133.04 116.339 133.304 116.665 133.304C116.991 133.304 117.256 133.04 117.256 132.714C117.256 132.387 116.991 132.123 116.665 132.123ZM114.892 130.35C114.566 130.35 114.301 130.614 114.301 130.94C114.301 131.267 114.566 131.531 114.892 131.531C115.218 131.531 115.482 131.267 115.482 130.94C115.482 130.614 115.218 130.35 114.892 130.35ZM116.665 128.576C116.339 128.576 116.075 128.841 116.075 129.167C116.075 129.493 116.339 129.757 116.665 129.757C116.991 129.757 117.256 129.493 117.256 129.167C117.256 128.841 116.991 128.576 116.665 128.576ZM114.892 126.803C114.566 126.803 114.301 127.067 114.301 127.393C114.301 127.719 114.566 127.984 114.892 127.984C115.218 127.984 115.482 127.719 115.482 127.393C115.482 127.067 115.218 126.803 114.892 126.803ZM116.665 125.029C116.339 125.029 116.075 125.294 116.075 125.62C116.075 125.946 116.339 126.211 116.665 126.211C116.991 126.211 117.256 125.946 117.256 125.62C117.256 125.294 116.991 125.029 116.665 125.029ZM114.892 123.256C114.566 123.256 114.301 123.52 114.301 123.847C114.301 124.173 114.566 124.437 114.892 124.437C115.218 124.437 115.482 124.173 115.482 123.847C115.482 123.52 115.218 123.256 114.892 123.256ZM116.665 121.483C116.339 121.483 116.075 121.747 116.075 122.074C116.075 122.399 116.339 122.664 116.665 122.664C116.991 122.664 117.256 122.399 117.256 122.074C117.256 121.747 116.991 121.483 116.665 121.483ZM114.892 119.71C114.566 119.71 114.301 119.974 114.301 120.3C114.301 120.626 114.566 120.891 114.892 120.891C115.218 120.891 115.482 120.626 115.482 120.3C115.482 119.974 115.218 119.71 114.892 119.71ZM116.665 117.936C116.339 117.936 116.075 118.2 116.075 118.527C116.075 118.853 116.339 119.117 116.665 119.117C116.991 119.117 117.256 118.853 117.256 118.527C117.256 118.2 116.991 117.936 116.665 117.936ZM114.892 116.163C114.566 116.163 114.301 116.427 114.301 116.754C114.301 117.08 114.566 117.344 114.892 117.344C115.218 117.344 115.482 117.08 115.482 116.754C115.482 116.427 115.218 116.163 114.892 116.163ZM116.665 114.39C116.339 114.39 116.075 114.654 116.075 114.98C116.075 115.306 116.339 115.571 116.665 115.571C116.991 115.571 117.256 115.306 117.256 114.98C117.256 114.654 116.991 114.39 116.665 114.39ZM114.892 112.616C114.566 112.616 114.301 112.881 114.301 113.207C114.301 113.533 114.566 113.797 114.892 113.797C115.218 113.797 115.482 113.533 115.482 113.207C115.482 112.881 115.218 112.616 114.892 112.616ZM116.665 110.843C116.339 110.843 116.075 111.107 116.075 111.433C116.075 111.759 116.339 112.024 116.665 112.024C116.991 112.024 117.256 111.759 117.256 111.433C117.256 111.107 116.991 110.843 116.665 110.843ZM114.892 109.069C114.566 109.069 114.301 109.334 114.301 109.66C114.301 109.986 114.566 110.251 114.892 110.251C115.218 110.251 115.482 109.986 115.482 109.66C115.482 109.334 115.218 109.069 114.892 109.069ZM116.665 107.296C116.339 107.296 116.075 107.561 116.075 107.887C116.075 108.213 116.339 108.477 116.665 108.477C116.991 108.477 117.256 108.213 117.256 107.887C117.256 107.561 116.991 107.296 116.665 107.296ZM114.892 105.523C114.566 105.523 114.301 105.787 114.301 106.114C114.301 106.439 114.566 106.704 114.892 106.704C115.218 106.704 115.482 106.439 115.482 106.114C115.482 105.787 115.218 105.523 114.892 105.523ZM116.665 103.75C116.339 103.75 116.075 104.014 116.075 104.34C116.075 104.666 116.339 104.93 116.665 104.93C116.991 104.93 117.256 104.666 117.256 104.34C117.256 104.014 116.991 103.75 116.665 103.75ZM114.892 101.976C114.566 101.976 114.301 102.24 114.301 102.567C114.301 102.893 114.566 103.157 114.892 103.157C115.218 103.157 115.482 102.893 115.482 102.567C115.482 102.24 115.218 101.976 114.892 101.976ZM116.665 100.203C116.339 100.203 116.075 100.467 116.075 100.793C116.075 101.12 116.339 101.384 116.665 101.384C116.991 101.384 117.256 101.12 117.256 100.793C117.256 100.467 116.991 100.203 116.665 100.203ZM114.892 98.4292C114.566 98.4292 114.301 98.6942 114.301 99.0201C114.301 99.346 114.566 99.6105 114.892 99.6105C115.218 99.6105 115.482 99.346 115.482 99.0201C115.482 98.6942 115.218 98.4292 114.892 98.4292ZM116.665 96.6561C116.339 96.6561 116.075 96.9206 116.075 97.2465C116.075 97.5729 116.339 97.8374 116.665 97.8374C116.991 97.8374 117.256 97.5729 117.256 97.2465C117.256 96.9206 116.991 96.6561 116.665 96.6561ZM114.892 94.883C114.566 94.883 114.301 95.147 114.301 95.4734C114.301 95.7993 114.566 96.0638 114.892 96.0638C115.218 96.0638 115.482 95.7993 115.482 95.4734C115.482 95.147 115.218 94.883 114.892 94.883ZM116.665 93.1094C116.339 93.1094 116.075 93.3739 116.075 93.6998C116.075 94.0262 116.339 94.2907 116.665 94.2907C116.991 94.2907 117.256 94.0262 117.256 93.6998C117.256 93.3739 116.991 93.1094 116.665 93.1094ZM114.892 91.3363C114.566 91.3363 114.301 91.6003 114.301 91.9267C114.301 92.2531 114.566 92.5171 114.892 92.5171C115.218 92.5171 115.482 92.2531 115.482 91.9267C115.482 91.6003 115.218 91.3363 114.892 91.3363ZM116.665 89.5627C116.339 89.5627 116.075 89.8272 116.075 90.1535C116.075 90.4795 116.339 90.7439 116.665 90.7439C116.991 90.7439 117.256 90.4795 117.256 90.1535C117.256 89.8272 116.991 89.5627 116.665 89.5627ZM114.892 87.7896C114.566 87.7896 114.301 88.054 114.301 88.38C114.301 88.7064 114.566 88.9704 114.892 88.9704C115.218 88.9704 115.482 88.7064 115.482 88.38C115.482 88.054 115.218 87.7896 114.892 87.7896ZM116.665 86.016C116.339 86.016 116.075 86.2804 116.075 86.6064C116.075 86.9328 116.339 87.1972 116.665 87.1972C116.991 87.1972 117.256 86.9328 117.256 86.6064C117.256 86.2804 116.991 86.016 116.665 86.016ZM118.439 81.8769C118.655 81.8769 118.836 81.755 118.939 81.5812L118.718 81.2865L118.439 80.9131L118.298 80.7249C118.041 80.7892 117.848 81.0105 117.848 81.2865C117.848 81.6129 118.112 81.8769 118.439 81.8769ZM114.892 84.2428C114.566 84.2428 114.301 84.5073 114.301 84.8332C114.301 85.1596 114.566 85.4241 114.892 85.4241C115.218 85.4241 115.482 85.1596 115.482 84.8332C115.482 84.5073 115.218 84.2428 114.892 84.2428ZM116.665 82.4692C116.339 82.4692 116.075 82.7337 116.075 83.0601C116.075 83.386 116.339 83.6505 116.665 83.6505C116.991 83.6505 117.256 83.386 117.256 83.0601C117.256 82.7337 116.991 82.4692 116.665 82.4692ZM114.892 80.6961C114.566 80.6961 114.301 80.9606 114.301 81.2865C114.301 81.6129 114.566 81.8769 114.892 81.8769C115.218 81.8769 115.482 81.6129 115.482 81.2865C115.482 80.9606 115.218 80.6961 114.892 80.6961ZM117.072 79.0881C116.966 78.9868 116.823 78.923 116.665 78.923C116.339 78.923 116.075 79.187 116.075 79.5134C116.075 79.8393 116.339 80.1038 116.665 80.1038C116.991 80.1038 117.256 79.8393 117.256 79.5134C117.256 79.3819 117.205 79.2667 117.132 79.1687L117.072 79.0881ZM114.892 77.1494C114.566 77.1494 114.301 77.4139 114.301 77.7398C114.301 78.0662 114.566 78.3307 114.892 78.3307C115.218 78.3307 115.482 78.0662 115.482 77.7398C115.482 77.4139 115.218 77.1494 114.892 77.1494ZM118.439 165.816C118.236 165.816 118.066 165.925 117.96 166.08L118.439 166.17L119.002 166.275C118.941 166.014 118.718 165.816 118.439 165.816ZM120.212 164.043C119.886 164.043 119.621 164.307 119.621 164.634C119.621 164.96 119.886 165.224 120.212 165.224C120.538 165.224 120.803 164.96 120.803 164.634C120.803 164.307 120.538 164.043 120.212 164.043ZM118.439 162.27C118.112 162.27 117.848 162.534 117.848 162.86C117.848 163.187 118.112 163.451 118.439 163.451C118.765 163.451 119.029 163.187 119.029 162.86C119.029 162.534 118.765 162.27 118.439 162.27ZM120.212 160.496C119.886 160.496 119.621 160.761 119.621 161.087C119.621 161.413 119.886 161.677 120.212 161.677C120.538 161.677 120.803 161.413 120.803 161.087C120.803 160.761 120.538 160.496 120.212 160.496ZM118.439 158.723C118.112 158.723 117.848 158.987 117.848 159.314C117.848 159.639 118.112 159.904 118.439 159.904C118.765 159.904 119.029 159.639 119.029 159.314C119.029 158.987 118.765 158.723 118.439 158.723ZM120.212 156.95C119.886 156.95 119.621 157.214 119.621 157.54C119.621 157.866 119.886 158.131 120.212 158.131C120.538 158.131 120.803 157.866 120.803 157.54C120.803 157.214 120.538 156.95 120.212 156.95ZM118.439 155.176C118.112 155.176 117.848 155.441 117.848 155.767C117.848 156.093 118.112 156.357 118.439 156.357C118.765 156.357 119.029 156.093 119.029 155.767C119.029 155.441 118.765 155.176 118.439 155.176ZM120.212 153.403C119.886 153.403 119.621 153.668 119.621 153.994C119.621 154.319 119.886 154.584 120.212 154.584C120.538 154.584 120.803 154.319 120.803 153.994C120.803 153.668 120.538 153.403 120.212 153.403ZM118.439 151.63C118.112 151.63 117.848 151.894 117.848 152.22C117.848 152.546 118.112 152.811 118.439 152.811C118.765 152.811 119.029 152.546 119.029 152.22C119.029 151.894 118.765 151.63 118.439 151.63ZM120.212 149.856C119.886 149.856 119.621 150.12 119.621 150.447C119.621 150.773 119.886 151.037 120.212 151.037C120.538 151.037 120.803 150.773 120.803 150.447C120.803 150.12 120.538 149.856 120.212 149.856ZM118.439 148.083C118.112 148.083 117.848 148.347 117.848 148.674C117.848 149 118.112 149.264 118.439 149.264C118.765 149.264 119.029 149 119.029 148.674C119.029 148.347 118.765 148.083 118.439 148.083ZM120.212 146.31C119.886 146.31 119.621 146.574 119.621 146.9C119.621 147.227 119.886 147.491 120.212 147.491C120.538 147.491 120.803 147.227 120.803 146.9C120.803 146.574 120.538 146.31 120.212 146.31ZM118.439 144.536C118.112 144.536 117.848 144.801 117.848 145.127C117.848 145.453 118.112 145.717 118.439 145.717C118.765 145.717 119.029 145.453 119.029 145.127C119.029 144.801 118.765 144.536 118.439 144.536ZM120.212 142.763C119.886 142.763 119.621 143.027 119.621 143.354C119.621 143.679 119.886 143.944 120.212 143.944C120.538 143.944 120.803 143.679 120.803 143.354C120.803 143.027 120.538 142.763 120.212 142.763ZM118.439 140.99C118.112 140.99 117.848 141.254 117.848 141.58C117.848 141.906 118.112 142.171 118.439 142.171C118.765 142.171 119.029 141.906 119.029 141.58C119.029 141.254 118.765 140.99 118.439 140.99ZM120.212 139.216C119.886 139.216 119.621 139.481 119.621 139.807C119.621 140.133 119.886 140.397 120.212 140.397C120.538 140.397 120.803 140.133 120.803 139.807C120.803 139.481 120.538 139.216 120.212 139.216ZM118.439 137.443C118.112 137.443 117.848 137.707 117.848 138.034C117.848 138.359 118.112 138.624 118.439 138.624C118.765 138.624 119.029 138.359 119.029 138.034C119.029 137.707 118.765 137.443 118.439 137.443ZM120.212 135.67C119.886 135.67 119.621 135.934 119.621 136.26C119.621 136.586 119.886 136.851 120.212 136.851C120.538 136.851 120.803 136.586 120.803 136.26C120.803 135.934 120.538 135.67 120.212 135.67ZM118.439 133.896C118.112 133.896 117.848 134.16 117.848 134.487C117.848 134.813 118.112 135.077 118.439 135.077C118.765 135.077 119.029 134.813 119.029 134.487C119.029 134.16 118.765 133.896 118.439 133.896ZM120.212 132.123C119.886 132.123 119.621 132.387 119.621 132.714C119.621 133.04 119.886 133.304 120.212 133.304C120.538 133.304 120.803 133.04 120.803 132.714C120.803 132.387 120.538 132.123 120.212 132.123ZM118.439 130.35C118.112 130.35 117.848 130.614 117.848 130.94C117.848 131.267 118.112 131.531 118.439 131.531C118.765 131.531 119.029 131.267 119.029 130.94C119.029 130.614 118.765 130.35 118.439 130.35ZM120.212 128.576C119.886 128.576 119.621 128.841 119.621 129.167C119.621 129.493 119.886 129.757 120.212 129.757C120.538 129.757 120.803 129.493 120.803 129.167C120.803 128.841 120.538 128.576 120.212 128.576ZM118.439 126.803C118.112 126.803 117.848 127.067 117.848 127.393C117.848 127.719 118.112 127.984 118.439 127.984C118.765 127.984 119.029 127.719 119.029 127.393C119.029 127.067 118.765 126.803 118.439 126.803ZM120.212 125.029C119.886 125.029 119.621 125.294 119.621 125.62C119.621 125.946 119.886 126.211 120.212 126.211C120.538 126.211 120.803 125.946 120.803 125.62C120.803 125.294 120.538 125.029 120.212 125.029ZM118.439 123.256C118.112 123.256 117.848 123.52 117.848 123.847C117.848 124.173 118.112 124.437 118.439 124.437C118.765 124.437 119.029 124.173 119.029 123.847C119.029 123.52 118.765 123.256 118.439 123.256ZM120.212 121.483C119.886 121.483 119.621 121.747 119.621 122.074C119.621 122.399 119.886 122.664 120.212 122.664C120.538 122.664 120.803 122.399 120.803 122.074C120.803 121.747 120.538 121.483 120.212 121.483ZM118.439 119.71C118.112 119.71 117.848 119.974 117.848 120.3C117.848 120.626 118.112 120.891 118.439 120.891C118.765 120.891 119.029 120.626 119.029 120.3C119.029 119.974 118.765 119.71 118.439 119.71ZM120.212 117.936C119.886 117.936 119.621 118.2 119.621 118.527C119.621 118.853 119.886 119.117 120.212 119.117C120.538 119.117 120.803 118.853 120.803 118.527C120.803 118.2 120.538 117.936 120.212 117.936ZM118.439 116.163C118.112 116.163 117.848 116.427 117.848 116.754C117.848 117.08 118.112 117.344 118.439 117.344C118.765 117.344 119.029 117.08 119.029 116.754C119.029 116.427 118.765 116.163 118.439 116.163ZM120.212 114.39C119.886 114.39 119.621 114.654 119.621 114.98C119.621 115.306 119.886 115.571 120.212 115.571C120.538 115.571 120.803 115.306 120.803 114.98C120.803 114.654 120.538 114.39 120.212 114.39ZM118.439 112.616C118.112 112.616 117.848 112.881 117.848 113.207C117.848 113.533 118.112 113.797 118.439 113.797C118.765 113.797 119.029 113.533 119.029 113.207C119.029 112.881 118.765 112.616 118.439 112.616ZM120.212 110.843C119.886 110.843 119.621 111.107 119.621 111.433C119.621 111.759 119.886 112.024 120.212 112.024C120.538 112.024 120.803 111.759 120.803 111.433C120.803 111.107 120.538 110.843 120.212 110.843ZM118.439 109.069C118.112 109.069 117.848 109.334 117.848 109.66C117.848 109.986 118.112 110.251 118.439 110.251C118.765 110.251 119.029 109.986 119.029 109.66C119.029 109.334 118.765 109.069 118.439 109.069ZM120.212 107.296C119.886 107.296 119.621 107.561 119.621 107.887C119.621 108.213 119.886 108.477 120.212 108.477C120.538 108.477 120.803 108.213 120.803 107.887C120.803 107.561 120.538 107.296 120.212 107.296ZM118.439 105.523C118.112 105.523 117.848 105.787 117.848 106.114C117.848 106.439 118.112 106.704 118.439 106.704C118.765 106.704 119.029 106.439 119.029 106.114C119.029 105.787 118.765 105.523 118.439 105.523ZM120.212 103.75C119.886 103.75 119.621 104.014 119.621 104.34C119.621 104.666 119.886 104.93 120.212 104.93C120.538 104.93 120.803 104.666 120.803 104.34C120.803 104.014 120.538 103.75 120.212 103.75ZM118.439 101.976C118.112 101.976 117.848 102.24 117.848 102.567C117.848 102.893 118.112 103.157 118.439 103.157C118.765 103.157 119.029 102.893 119.029 102.567C119.029 102.24 118.765 101.976 118.439 101.976ZM120.212 100.203C119.886 100.203 119.621 100.467 119.621 100.793C119.621 101.12 119.886 101.384 120.212 101.384C120.538 101.384 120.803 101.12 120.803 100.793C120.803 100.467 120.538 100.203 120.212 100.203ZM118.439 98.4292C118.112 98.4292 117.848 98.6942 117.848 99.0201C117.848 99.346 118.112 99.6105 118.439 99.6105C118.765 99.6105 119.029 99.346 119.029 99.0201C119.029 98.6942 118.765 98.4292 118.439 98.4292ZM120.212 96.6561C119.886 96.6561 119.621 96.9206 119.621 97.2465C119.621 97.5729 119.886 97.8374 120.212 97.8374C120.538 97.8374 120.803 97.5729 120.803 97.2465C120.803 96.9206 120.538 96.6561 120.212 96.6561ZM118.439 94.883C118.112 94.883 117.848 95.147 117.848 95.4734C117.848 95.7993 118.112 96.0638 118.439 96.0638C118.765 96.0638 119.029 95.7993 119.029 95.4734C119.029 95.147 118.765 94.883 118.439 94.883ZM120.212 93.1094C119.886 93.1094 119.621 93.3739 119.621 93.6998C119.621 94.0262 119.886 94.2907 120.212 94.2907C120.538 94.2907 120.803 94.0262 120.803 93.6998C120.803 93.3739 120.538 93.1094 120.212 93.1094ZM118.439 91.3363C118.112 91.3363 117.848 91.6003 117.848 91.9267C117.848 92.2531 118.112 92.5171 118.439 92.5171C118.765 92.5171 119.029 92.2531 119.029 91.9267C119.029 91.6003 118.765 91.3363 118.439 91.3363ZM120.212 89.5627C119.886 89.5627 119.621 89.8272 119.621 90.1535C119.621 90.4795 119.886 90.7439 120.212 90.7439C120.538 90.7439 120.803 90.4795 120.803 90.1535C120.803 89.8272 120.538 89.5627 120.212 89.5627ZM121.787 85.3838L121.402 84.8697C121.418 85.1088 121.571 85.306 121.787 85.3838ZM118.439 87.7896C118.112 87.7896 117.848 88.054 117.848 88.38C117.848 88.7064 118.112 88.9704 118.439 88.9704C118.765 88.9704 119.029 88.7064 119.029 88.38C119.029 88.054 118.765 87.7896 118.439 87.7896ZM120.212 86.016C119.886 86.016 119.621 86.2804 119.621 86.6064C119.621 86.9328 119.886 87.1972 120.212 87.1972C120.538 87.1972 120.803 86.9328 120.803 86.6064C120.803 86.2804 120.538 86.016 120.212 86.016ZM118.439 84.2428C118.112 84.2428 117.848 84.5073 117.848 84.8332C117.848 85.1596 118.112 85.4241 118.439 85.4241C118.765 85.4241 119.029 85.1596 119.029 84.8332C119.029 84.5073 118.765 84.2428 118.439 84.2428ZM120.212 83.6505C120.297 83.6505 120.377 83.6308 120.45 83.5987L119.766 82.6852C119.679 82.7875 119.621 82.9156 119.621 83.0601C119.621 83.386 119.886 83.6505 120.212 83.6505ZM121.985 165.816C121.659 165.816 121.394 166.08 121.394 166.407C121.394 166.534 121.443 166.645 121.512 166.741L121.985 166.83L122.306 166.89C122.465 166.784 122.576 166.612 122.576 166.407C122.576 166.08 122.311 165.816 121.985 165.816ZM123.758 164.043C123.432 164.043 123.168 164.307 123.168 164.634C123.168 164.96 123.432 165.224 123.758 165.224C124.085 165.224 124.349 164.96 124.349 164.634C124.349 164.307 124.085 164.043 123.758 164.043ZM121.985 162.27C121.659 162.27 121.394 162.534 121.394 162.86C121.394 163.187 121.659 163.451 121.985 163.451C122.311 163.451 122.576 163.187 122.576 162.86C122.576 162.534 122.311 162.27 121.985 162.27ZM123.758 160.496C123.432 160.496 123.168 160.761 123.168 161.087C123.168 161.413 123.432 161.677 123.758 161.677C124.085 161.677 124.349 161.413 124.349 161.087C124.349 160.761 124.085 160.496 123.758 160.496ZM121.985 158.723C121.659 158.723 121.394 158.987 121.394 159.314C121.394 159.639 121.659 159.904 121.985 159.904C122.311 159.904 122.576 159.639 122.576 159.314C122.576 158.987 122.311 158.723 121.985 158.723ZM123.758 156.95C123.432 156.95 123.168 157.214 123.168 157.54C123.168 157.866 123.432 158.131 123.758 158.131C124.085 158.131 124.349 157.866 124.349 157.54C124.349 157.214 124.085 156.95 123.758 156.95ZM121.985 155.176C121.659 155.176 121.394 155.441 121.394 155.767C121.394 156.093 121.659 156.357 121.985 156.357C122.311 156.357 122.576 156.093 122.576 155.767C122.576 155.441 122.311 155.176 121.985 155.176ZM123.758 153.403C123.432 153.403 123.168 153.668 123.168 153.994C123.168 154.319 123.432 154.584 123.758 154.584C124.085 154.584 124.349 154.319 124.349 153.994C124.349 153.668 124.085 153.403 123.758 153.403ZM121.985 151.63C121.659 151.63 121.394 151.894 121.394 152.22C121.394 152.546 121.659 152.811 121.985 152.811C122.311 152.811 122.576 152.546 122.576 152.22C122.576 151.894 122.311 151.63 121.985 151.63ZM123.758 149.856C123.432 149.856 123.168 150.12 123.168 150.447C123.168 150.773 123.432 151.037 123.758 151.037C124.085 151.037 124.349 150.773 124.349 150.447C124.349 150.12 124.085 149.856 123.758 149.856ZM121.985 148.083C121.659 148.083 121.394 148.347 121.394 148.674C121.394 149 121.659 149.264 121.985 149.264C122.311 149.264 122.576 149 122.576 148.674C122.576 148.347 122.311 148.083 121.985 148.083ZM123.758 146.31C123.432 146.31 123.168 146.574 123.168 146.9C123.168 147.227 123.432 147.491 123.758 147.491C124.085 147.491 124.349 147.227 124.349 146.9C124.349 146.574 124.085 146.31 123.758 146.31ZM121.985 144.536C121.659 144.536 121.394 144.801 121.394 145.127C121.394 145.453 121.659 145.717 121.985 145.717C122.311 145.717 122.576 145.453 122.576 145.127C122.576 144.801 122.311 144.536 121.985 144.536ZM123.758 142.763C123.432 142.763 123.168 143.027 123.168 143.354C123.168 143.679 123.432 143.944 123.758 143.944C124.085 143.944 124.349 143.679 124.349 143.354C124.349 143.027 124.085 142.763 123.758 142.763ZM121.985 140.99C121.659 140.99 121.394 141.254 121.394 141.58C121.394 141.906 121.659 142.171 121.985 142.171C122.311 142.171 122.576 141.906 122.576 141.58C122.576 141.254 122.311 140.99 121.985 140.99ZM123.758 139.216C123.432 139.216 123.168 139.481 123.168 139.807C123.168 140.133 123.432 140.397 123.758 140.397C124.085 140.397 124.349 140.133 124.349 139.807C124.349 139.481 124.085 139.216 123.758 139.216ZM121.985 137.443C121.659 137.443 121.394 137.707 121.394 138.034C121.394 138.359 121.659 138.624 121.985 138.624C122.311 138.624 122.576 138.359 122.576 138.034C122.576 137.707 122.311 137.443 121.985 137.443ZM123.758 135.67C123.432 135.67 123.168 135.934 123.168 136.26C123.168 136.586 123.432 136.851 123.758 136.851C124.085 136.851 124.349 136.586 124.349 136.26C124.349 135.934 124.085 135.67 123.758 135.67ZM121.985 133.896C121.659 133.896 121.394 134.16 121.394 134.487C121.394 134.813 121.659 135.077 121.985 135.077C122.311 135.077 122.576 134.813 122.576 134.487C122.576 134.16 122.311 133.896 121.985 133.896ZM123.758 132.123C123.432 132.123 123.168 132.387 123.168 132.714C123.168 133.04 123.432 133.304 123.758 133.304C124.085 133.304 124.349 133.04 124.349 132.714C124.349 132.387 124.085 132.123 123.758 132.123ZM121.985 130.35C121.659 130.35 121.394 130.614 121.394 130.94C121.394 131.267 121.659 131.531 121.985 131.531C122.311 131.531 122.576 131.267 122.576 130.94C122.576 130.614 122.311 130.35 121.985 130.35ZM123.758 128.576C123.432 128.576 123.168 128.841 123.168 129.167C123.168 129.493 123.432 129.757 123.758 129.757C124.085 129.757 124.349 129.493 124.349 129.167C124.349 128.841 124.085 128.576 123.758 128.576ZM121.985 126.803C121.659 126.803 121.394 127.067 121.394 127.393C121.394 127.719 121.659 127.984 121.985 127.984C122.311 127.984 122.576 127.719 122.576 127.393C122.576 127.067 122.311 126.803 121.985 126.803ZM123.758 125.029C123.432 125.029 123.168 125.294 123.168 125.62C123.168 125.946 123.432 126.211 123.758 126.211C124.085 126.211 124.349 125.946 124.349 125.62C124.349 125.294 124.085 125.029 123.758 125.029ZM121.985 123.256C121.659 123.256 121.394 123.52 121.394 123.847C121.394 124.173 121.659 124.437 121.985 124.437C122.311 124.437 122.576 124.173 122.576 123.847C122.576 123.52 122.311 123.256 121.985 123.256ZM123.758 121.483C123.432 121.483 123.168 121.747 123.168 122.074C123.168 122.399 123.432 122.664 123.758 122.664C124.085 122.664 124.349 122.399 124.349 122.074C124.349 121.747 124.085 121.483 123.758 121.483ZM121.985 119.71C121.659 119.71 121.394 119.974 121.394 120.3C121.394 120.626 121.659 120.891 121.985 120.891C122.311 120.891 122.576 120.626 122.576 120.3C122.576 119.974 122.311 119.71 121.985 119.71ZM123.758 117.936C123.432 117.936 123.168 118.2 123.168 118.527C123.168 118.853 123.432 119.117 123.758 119.117C124.085 119.117 124.349 118.853 124.349 118.527C124.349 118.2 124.085 117.936 123.758 117.936ZM121.985 116.163C121.659 116.163 121.394 116.427 121.394 116.754C121.394 117.08 121.659 117.344 121.985 117.344C122.311 117.344 122.576 117.08 122.576 116.754C122.576 116.427 122.311 116.163 121.985 116.163ZM123.758 114.39C123.432 114.39 123.168 114.654 123.168 114.98C123.168 115.306 123.432 115.571 123.758 115.571C124.085 115.571 124.349 115.306 124.349 114.98C124.349 114.654 124.085 114.39 123.758 114.39ZM121.985 112.616C121.659 112.616 121.394 112.881 121.394 113.207C121.394 113.533 121.659 113.797 121.985 113.797C122.311 113.797 122.576 113.533 122.576 113.207C122.576 112.881 122.311 112.616 121.985 112.616ZM123.758 110.843C123.432 110.843 123.168 111.107 123.168 111.433C123.168 111.759 123.432 112.024 123.758 112.024C124.085 112.024 124.349 111.759 124.349 111.433C124.349 111.107 124.085 110.843 123.758 110.843ZM121.985 109.069C121.659 109.069 121.394 109.334 121.394 109.66C121.394 109.986 121.659 110.251 121.985 110.251C122.311 110.251 122.576 109.986 122.576 109.66C122.576 109.334 122.311 109.069 121.985 109.069ZM123.758 107.296C123.432 107.296 123.168 107.561 123.168 107.887C123.168 108.213 123.432 108.477 123.758 108.477C124.085 108.477 124.349 108.213 124.349 107.887C124.349 107.561 124.085 107.296 123.758 107.296ZM121.985 105.523C121.659 105.523 121.394 105.787 121.394 106.114C121.394 106.439 121.659 106.704 121.985 106.704C122.311 106.704 122.576 106.439 122.576 106.114C122.576 105.787 122.311 105.523 121.985 105.523ZM123.758 103.75C123.432 103.75 123.168 104.014 123.168 104.34C123.168 104.666 123.432 104.93 123.758 104.93C124.085 104.93 124.349 104.666 124.349 104.34C124.349 104.014 124.085 103.75 123.758 103.75ZM121.985 101.976C121.659 101.976 121.394 102.24 121.394 102.567C121.394 102.893 121.659 103.157 121.985 103.157C122.311 103.157 122.576 102.893 122.576 102.567C122.576 102.24 122.311 101.976 121.985 101.976ZM123.758 100.203C123.432 100.203 123.168 100.467 123.168 100.793C123.168 101.12 123.432 101.384 123.758 101.384C124.085 101.384 124.349 101.12 124.349 100.793C124.349 100.467 124.085 100.203 123.758 100.203ZM121.985 98.4292C121.659 98.4292 121.394 98.6942 121.394 99.0201C121.394 99.346 121.659 99.6105 121.985 99.6105C122.311 99.6105 122.576 99.346 122.576 99.0201C122.576 98.6942 122.311 98.4292 121.985 98.4292ZM123.758 96.6561C123.432 96.6561 123.168 96.9206 123.168 97.2465C123.168 97.5729 123.432 97.8374 123.758 97.8374C124.085 97.8374 124.349 97.5729 124.349 97.2465C124.349 96.9206 124.085 96.6561 123.758 96.6561ZM121.985 94.883C121.659 94.883 121.394 95.147 121.394 95.4734C121.394 95.7993 121.659 96.0638 121.985 96.0638C122.311 96.0638 122.576 95.7993 122.576 95.4734C122.576 95.147 122.311 94.883 121.985 94.883ZM123.758 93.1094C123.432 93.1094 123.168 93.3739 123.168 93.6998C123.168 94.0262 123.432 94.2907 123.758 94.2907C124.085 94.2907 124.349 94.0262 124.349 93.6998C124.349 93.3739 124.085 93.1094 123.758 93.1094ZM121.985 91.3363C121.659 91.3363 121.394 91.6003 121.394 91.9267C121.394 92.2531 121.659 92.5171 121.985 92.5171C122.311 92.5171 122.576 92.2531 122.576 91.9267C122.576 91.6003 122.311 91.3363 121.985 91.3363ZM123.758 89.5627C123.432 89.5627 123.168 89.8272 123.168 90.1535C123.168 90.4795 123.432 90.7439 123.758 90.7439C124.085 90.7439 124.349 90.4795 124.349 90.1535C124.349 89.8272 124.085 89.5627 123.758 89.5627ZM121.985 87.7896C121.659 87.7896 121.394 88.054 121.394 88.38C121.394 88.7064 121.659 88.9704 121.985 88.9704C122.311 88.9704 122.576 88.7064 122.576 88.38C122.576 88.054 122.311 87.7896 121.985 87.7896ZM127.305 167.59C127.153 167.59 127.016 167.651 126.911 167.747L127.827 167.917C127.729 167.725 127.535 167.59 127.305 167.59ZM125.532 165.816C125.206 165.816 124.941 166.08 124.941 166.407C124.941 166.733 125.206 166.997 125.532 166.997C125.858 166.997 126.122 166.733 126.122 166.407C126.122 166.08 125.858 165.816 125.532 165.816ZM127.305 164.043C126.979 164.043 126.715 164.307 126.715 164.634C126.715 164.96 126.979 165.224 127.305 165.224C127.631 165.224 127.896 164.96 127.896 164.634C127.896 164.307 127.631 164.043 127.305 164.043ZM125.532 162.27C125.206 162.27 124.941 162.534 124.941 162.86C124.941 163.187 125.206 163.451 125.532 163.451C125.858 163.451 126.122 163.187 126.122 162.86C126.122 162.534 125.858 162.27 125.532 162.27ZM127.305 160.496C126.979 160.496 126.715 160.761 126.715 161.087C126.715 161.413 126.979 161.677 127.305 161.677C127.631 161.677 127.896 161.413 127.896 161.087C127.896 160.761 127.631 160.496 127.305 160.496ZM125.532 158.723C125.206 158.723 124.941 158.987 124.941 159.314C124.941 159.639 125.206 159.904 125.532 159.904C125.858 159.904 126.122 159.639 126.122 159.314C126.122 158.987 125.858 158.723 125.532 158.723ZM127.305 156.95C126.979 156.95 126.715 157.214 126.715 157.54C126.715 157.866 126.979 158.131 127.305 158.131C127.631 158.131 127.896 157.866 127.896 157.54C127.896 157.214 127.631 156.95 127.305 156.95ZM125.532 155.176C125.206 155.176 124.941 155.441 124.941 155.767C124.941 156.093 125.206 156.357 125.532 156.357C125.858 156.357 126.122 156.093 126.122 155.767C126.122 155.441 125.858 155.176 125.532 155.176ZM127.305 153.403C126.979 153.403 126.715 153.668 126.715 153.994C126.715 154.319 126.979 154.584 127.305 154.584C127.631 154.584 127.896 154.319 127.896 153.994C127.896 153.668 127.631 153.403 127.305 153.403ZM125.532 151.63C125.206 151.63 124.941 151.894 124.941 152.22C124.941 152.546 125.206 152.811 125.532 152.811C125.858 152.811 126.122 152.546 126.122 152.22C126.122 151.894 125.858 151.63 125.532 151.63ZM127.305 149.856C126.979 149.856 126.715 150.12 126.715 150.447C126.715 150.773 126.979 151.037 127.305 151.037C127.631 151.037 127.896 150.773 127.896 150.447C127.896 150.12 127.631 149.856 127.305 149.856ZM125.532 148.083C125.206 148.083 124.941 148.347 124.941 148.674C124.941 149 125.206 149.264 125.532 149.264C125.858 149.264 126.122 149 126.122 148.674C126.122 148.347 125.858 148.083 125.532 148.083ZM127.305 146.31C126.979 146.31 126.715 146.574 126.715 146.9C126.715 147.227 126.979 147.491 127.305 147.491C127.631 147.491 127.896 147.227 127.896 146.9C127.896 146.574 127.631 146.31 127.305 146.31ZM125.532 144.536C125.206 144.536 124.941 144.801 124.941 145.127C124.941 145.453 125.206 145.717 125.532 145.717C125.858 145.717 126.122 145.453 126.122 145.127C126.122 144.801 125.858 144.536 125.532 144.536ZM127.305 142.763C126.979 142.763 126.715 143.027 126.715 143.354C126.715 143.679 126.979 143.944 127.305 143.944C127.631 143.944 127.896 143.679 127.896 143.354C127.896 143.027 127.631 142.763 127.305 142.763ZM125.532 140.99C125.206 140.99 124.941 141.254 124.941 141.58C124.941 141.906 125.206 142.171 125.532 142.171C125.858 142.171 126.122 141.906 126.122 141.58C126.122 141.254 125.858 140.99 125.532 140.99ZM127.305 139.216C126.979 139.216 126.715 139.481 126.715 139.807C126.715 140.133 126.979 140.397 127.305 140.397C127.631 140.397 127.896 140.133 127.896 139.807C127.896 139.481 127.631 139.216 127.305 139.216ZM125.532 137.443C125.206 137.443 124.941 137.707 124.941 138.034C124.941 138.359 125.206 138.624 125.532 138.624C125.858 138.624 126.122 138.359 126.122 138.034C126.122 137.707 125.858 137.443 125.532 137.443ZM127.305 135.67C126.979 135.67 126.715 135.934 126.715 136.26C126.715 136.586 126.979 136.851 127.305 136.851C127.631 136.851 127.896 136.586 127.896 136.26C127.896 135.934 127.631 135.67 127.305 135.67ZM125.532 133.896C125.206 133.896 124.941 134.16 124.941 134.487C124.941 134.813 125.206 135.077 125.532 135.077C125.858 135.077 126.122 134.813 126.122 134.487C126.122 134.16 125.858 133.896 125.532 133.896ZM127.305 132.123C126.979 132.123 126.715 132.387 126.715 132.714C126.715 133.04 126.979 133.304 127.305 133.304C127.631 133.304 127.896 133.04 127.896 132.714C127.896 132.387 127.631 132.123 127.305 132.123ZM125.532 130.35C125.206 130.35 124.941 130.614 124.941 130.94C124.941 131.267 125.206 131.531 125.532 131.531C125.858 131.531 126.122 131.267 126.122 130.94C126.122 130.614 125.858 130.35 125.532 130.35ZM127.305 128.576C126.979 128.576 126.715 128.841 126.715 129.167C126.715 129.493 126.979 129.757 127.305 129.757C127.631 129.757 127.896 129.493 127.896 129.167C127.896 128.841 127.631 128.576 127.305 128.576ZM125.532 126.803C125.206 126.803 124.941 127.067 124.941 127.393C124.941 127.719 125.206 127.984 125.532 127.984C125.858 127.984 126.122 127.719 126.122 127.393C126.122 127.067 125.858 126.803 125.532 126.803ZM127.305 125.029C126.979 125.029 126.715 125.294 126.715 125.62C126.715 125.946 126.979 126.211 127.305 126.211C127.631 126.211 127.896 125.946 127.896 125.62C127.896 125.294 127.631 125.029 127.305 125.029ZM125.532 123.256C125.206 123.256 124.941 123.52 124.941 123.847C124.941 124.173 125.206 124.437 125.532 124.437C125.858 124.437 126.122 124.173 126.122 123.847C126.122 123.52 125.858 123.256 125.532 123.256ZM127.305 121.483C126.979 121.483 126.715 121.747 126.715 122.074C126.715 122.399 126.979 122.664 127.305 122.664C127.631 122.664 127.896 122.399 127.896 122.074C127.896 121.747 127.631 121.483 127.305 121.483ZM125.532 119.71C125.206 119.71 124.941 119.974 124.941 120.3C124.941 120.626 125.206 120.891 125.532 120.891C125.858 120.891 126.122 120.626 126.122 120.3C126.122 119.974 125.858 119.71 125.532 119.71ZM127.305 117.936C126.979 117.936 126.715 118.2 126.715 118.527C126.715 118.853 126.979 119.117 127.305 119.117C127.631 119.117 127.896 118.853 127.896 118.527C127.896 118.2 127.631 117.936 127.305 117.936ZM125.532 116.163C125.206 116.163 124.941 116.427 124.941 116.754C124.941 117.08 125.206 117.344 125.532 117.344C125.858 117.344 126.122 117.08 126.122 116.754C126.122 116.427 125.858 116.163 125.532 116.163ZM127.305 114.39C126.979 114.39 126.715 114.654 126.715 114.98C126.715 115.306 126.979 115.571 127.305 115.571C127.631 115.571 127.896 115.306 127.896 114.98C127.896 114.654 127.631 114.39 127.305 114.39ZM125.532 112.616C125.206 112.616 124.941 112.881 124.941 113.207C124.941 113.533 125.206 113.797 125.532 113.797C125.858 113.797 126.122 113.533 126.122 113.207C126.122 112.881 125.858 112.616 125.532 112.616ZM127.305 110.843C126.979 110.843 126.715 111.107 126.715 111.433C126.715 111.759 126.979 112.024 127.305 112.024C127.631 112.024 127.896 111.759 127.896 111.433C127.896 111.107 127.631 110.843 127.305 110.843ZM125.532 109.069C125.206 109.069 124.941 109.334 124.941 109.66C124.941 109.986 125.206 110.251 125.532 110.251C125.858 110.251 126.122 109.986 126.122 109.66C126.122 109.334 125.858 109.069 125.532 109.069ZM127.305 107.296C126.979 107.296 126.715 107.561 126.715 107.887C126.715 108.213 126.979 108.477 127.305 108.477C127.631 108.477 127.896 108.213 127.896 107.887C127.896 107.561 127.631 107.296 127.305 107.296ZM125.532 105.523C125.206 105.523 124.941 105.787 124.941 106.114C124.941 106.439 125.206 106.704 125.532 106.704C125.858 106.704 126.122 106.439 126.122 106.114C126.122 105.787 125.858 105.523 125.532 105.523ZM127.305 103.75C126.979 103.75 126.715 104.014 126.715 104.34C126.715 104.666 126.979 104.93 127.305 104.93C127.631 104.93 127.896 104.666 127.896 104.34C127.896 104.014 127.631 103.75 127.305 103.75ZM125.532 101.976C125.206 101.976 124.941 102.24 124.941 102.567C124.941 102.893 125.206 103.157 125.532 103.157C125.858 103.157 126.122 102.893 126.122 102.567C126.122 102.24 125.858 101.976 125.532 101.976ZM127.305 100.203C126.979 100.203 126.715 100.467 126.715 100.793C126.715 101.12 126.979 101.384 127.305 101.384C127.631 101.384 127.896 101.12 127.896 100.793C127.896 100.467 127.631 100.203 127.305 100.203ZM129.079 96.0638C129.29 96.0638 129.468 95.9462 129.572 95.7782L129.344 95.4734L129.079 95.1196L128.925 94.9142C128.675 94.9828 128.488 95.2017 128.488 95.4734C128.488 95.7993 128.752 96.0638 129.079 96.0638ZM125.532 98.4292C125.206 98.4292 124.941 98.6942 124.941 99.0201C124.941 99.346 125.206 99.6105 125.532 99.6105C125.858 99.6105 126.122 99.346 126.122 99.0201C126.122 98.6942 125.858 98.4292 125.532 98.4292ZM127.305 96.6561C126.979 96.6561 126.715 96.9206 126.715 97.2465C126.715 97.5729 126.979 97.8374 127.305 97.8374C127.631 97.8374 127.896 97.5729 127.896 97.2465C127.896 96.9206 127.631 96.6561 127.305 96.6561ZM125.532 94.883C125.206 94.883 124.941 95.147 124.941 95.4734C124.941 95.7993 125.206 96.0638 125.532 96.0638C125.858 96.0638 126.122 95.7993 126.122 95.4734C126.122 95.147 125.858 94.883 125.532 94.883ZM127.682 93.2553C127.579 93.168 127.451 93.1094 127.305 93.1094C126.979 93.1094 126.715 93.3739 126.715 93.6998C126.715 94.0262 126.979 94.2907 127.305 94.2907C127.631 94.2907 127.896 94.0262 127.896 93.6998C127.896 93.6225 127.879 93.5491 127.851 93.4814L127.682 93.2553ZM125.532 91.3363C125.206 91.3363 124.941 91.6003 124.941 91.9267C124.941 92.2531 125.206 92.5171 125.532 92.5171C125.858 92.5171 126.122 92.2531 126.122 91.9267C126.122 91.6003 125.858 91.3363 125.532 91.3363ZM130.852 167.59C130.526 167.59 130.262 167.854 130.262 168.18C130.262 168.25 130.279 168.315 130.301 168.377L131.294 168.562C131.383 168.458 131.442 168.328 131.442 168.18C131.442 167.854 131.178 167.59 130.852 167.59ZM129.079 165.816C128.752 165.816 128.488 166.08 128.488 166.407C128.488 166.733 128.752 166.997 129.079 166.997C129.405 166.997 129.669 166.733 129.669 166.407C129.669 166.08 129.405 165.816 129.079 165.816ZM130.852 164.043C130.526 164.043 130.262 164.307 130.262 164.634C130.262 164.96 130.526 165.224 130.852 165.224C131.178 165.224 131.442 164.96 131.442 164.634C131.442 164.307 131.178 164.043 130.852 164.043ZM129.079 162.27C128.752 162.27 128.488 162.534 128.488 162.86C128.488 163.187 128.752 163.451 129.079 163.451C129.405 163.451 129.669 163.187 129.669 162.86C129.669 162.534 129.405 162.27 129.079 162.27ZM130.852 160.496C130.526 160.496 130.262 160.761 130.262 161.087C130.262 161.413 130.526 161.677 130.852 161.677C131.178 161.677 131.442 161.413 131.442 161.087C131.442 160.761 131.178 160.496 130.852 160.496ZM129.079 158.723C128.752 158.723 128.488 158.987 128.488 159.314C128.488 159.639 128.752 159.904 129.079 159.904C129.405 159.904 129.669 159.639 129.669 159.314C129.669 158.987 129.405 158.723 129.079 158.723ZM130.852 156.95C130.526 156.95 130.262 157.214 130.262 157.54C130.262 157.866 130.526 158.131 130.852 158.131C131.178 158.131 131.442 157.866 131.442 157.54C131.442 157.214 131.178 156.95 130.852 156.95ZM129.079 155.176C128.752 155.176 128.488 155.441 128.488 155.767C128.488 156.093 128.752 156.357 129.079 156.357C129.405 156.357 129.669 156.093 129.669 155.767C129.669 155.441 129.405 155.176 129.079 155.176ZM130.852 153.403C130.526 153.403 130.262 153.668 130.262 153.994C130.262 154.319 130.526 154.584 130.852 154.584C131.178 154.584 131.442 154.319 131.442 153.994C131.442 153.668 131.178 153.403 130.852 153.403ZM129.079 151.63C128.752 151.63 128.488 151.894 128.488 152.22C128.488 152.546 128.752 152.811 129.079 152.811C129.405 152.811 129.669 152.546 129.669 152.22C129.669 151.894 129.405 151.63 129.079 151.63ZM130.852 149.856C130.526 149.856 130.262 150.12 130.262 150.447C130.262 150.773 130.526 151.037 130.852 151.037C131.178 151.037 131.442 150.773 131.442 150.447C131.442 150.12 131.178 149.856 130.852 149.856ZM129.079 148.083C128.752 148.083 128.488 148.347 128.488 148.674C128.488 149 128.752 149.264 129.079 149.264C129.405 149.264 129.669 149 129.669 148.674C129.669 148.347 129.405 148.083 129.079 148.083ZM130.852 146.31C130.526 146.31 130.262 146.574 130.262 146.9C130.262 147.227 130.526 147.491 130.852 147.491C131.178 147.491 131.442 147.227 131.442 146.9C131.442 146.574 131.178 146.31 130.852 146.31ZM129.079 144.536C128.752 144.536 128.488 144.801 128.488 145.127C128.488 145.453 128.752 145.717 129.079 145.717C129.405 145.717 129.669 145.453 129.669 145.127C129.669 144.801 129.405 144.536 129.079 144.536ZM130.852 142.763C130.526 142.763 130.262 143.027 130.262 143.354C130.262 143.679 130.526 143.944 130.852 143.944C131.178 143.944 131.442 143.679 131.442 143.354C131.442 143.027 131.178 142.763 130.852 142.763ZM129.079 140.99C128.752 140.99 128.488 141.254 128.488 141.58C128.488 141.906 128.752 142.171 129.079 142.171C129.405 142.171 129.669 141.906 129.669 141.58C129.669 141.254 129.405 140.99 129.079 140.99ZM130.852 139.216C130.526 139.216 130.262 139.481 130.262 139.807C130.262 140.133 130.526 140.397 130.852 140.397C131.178 140.397 131.442 140.133 131.442 139.807C131.442 139.481 131.178 139.216 130.852 139.216ZM129.079 137.443C128.752 137.443 128.488 137.707 128.488 138.034C128.488 138.359 128.752 138.624 129.079 138.624C129.405 138.624 129.669 138.359 129.669 138.034C129.669 137.707 129.405 137.443 129.079 137.443ZM130.852 135.67C130.526 135.67 130.262 135.934 130.262 136.26C130.262 136.586 130.526 136.851 130.852 136.851C131.178 136.851 131.442 136.586 131.442 136.26C131.442 135.934 131.178 135.67 130.852 135.67ZM129.079 133.896C128.752 133.896 128.488 134.16 128.488 134.487C128.488 134.813 128.752 135.077 129.079 135.077C129.405 135.077 129.669 134.813 129.669 134.487C129.669 134.16 129.405 133.896 129.079 133.896ZM130.852 132.123C130.526 132.123 130.262 132.387 130.262 132.714C130.262 133.04 130.526 133.304 130.852 133.304C131.178 133.304 131.442 133.04 131.442 132.714C131.442 132.387 131.178 132.123 130.852 132.123ZM129.079 130.35C128.752 130.35 128.488 130.614 128.488 130.94C128.488 131.267 128.752 131.531 129.079 131.531C129.405 131.531 129.669 131.267 129.669 130.94C129.669 130.614 129.405 130.35 129.079 130.35ZM130.852 128.576C130.526 128.576 130.262 128.841 130.262 129.167C130.262 129.493 130.526 129.757 130.852 129.757C131.178 129.757 131.442 129.493 131.442 129.167C131.442 128.841 131.178 128.576 130.852 128.576ZM129.079 126.803C128.752 126.803 128.488 127.067 128.488 127.393C128.488 127.719 128.752 127.984 129.079 127.984C129.405 127.984 129.669 127.719 129.669 127.393C129.669 127.067 129.405 126.803 129.079 126.803ZM130.852 125.029C130.526 125.029 130.262 125.294 130.262 125.62C130.262 125.946 130.526 126.211 130.852 126.211C131.178 126.211 131.442 125.946 131.442 125.62C131.442 125.294 131.178 125.029 130.852 125.029ZM129.079 123.256C128.752 123.256 128.488 123.52 128.488 123.847C128.488 124.173 128.752 124.437 129.079 124.437C129.405 124.437 129.669 124.173 129.669 123.847C129.669 123.52 129.405 123.256 129.079 123.256ZM130.852 121.483C130.526 121.483 130.262 121.747 130.262 122.074C130.262 122.399 130.526 122.664 130.852 122.664C131.178 122.664 131.442 122.399 131.442 122.074C131.442 121.747 131.178 121.483 130.852 121.483ZM129.079 119.71C128.752 119.71 128.488 119.974 128.488 120.3C128.488 120.626 128.752 120.891 129.079 120.891C129.405 120.891 129.669 120.626 129.669 120.3C129.669 119.974 129.405 119.71 129.079 119.71ZM130.852 117.936C130.526 117.936 130.262 118.2 130.262 118.527C130.262 118.853 130.526 119.117 130.852 119.117C131.178 119.117 131.442 118.853 131.442 118.527C131.442 118.2 131.178 117.936 130.852 117.936ZM129.079 116.163C128.752 116.163 128.488 116.427 128.488 116.754C128.488 117.08 128.752 117.344 129.079 117.344C129.405 117.344 129.669 117.08 129.669 116.754C129.669 116.427 129.405 116.163 129.079 116.163ZM130.852 114.39C130.526 114.39 130.262 114.654 130.262 114.98C130.262 115.306 130.526 115.571 130.852 115.571C131.178 115.571 131.442 115.306 131.442 114.98C131.442 114.654 131.178 114.39 130.852 114.39ZM129.079 112.616C128.752 112.616 128.488 112.881 128.488 113.207C128.488 113.533 128.752 113.797 129.079 113.797C129.405 113.797 129.669 113.533 129.669 113.207C129.669 112.881 129.405 112.616 129.079 112.616ZM130.852 110.843C130.526 110.843 130.262 111.107 130.262 111.433C130.262 111.759 130.526 112.024 130.852 112.024C131.178 112.024 131.442 111.759 131.442 111.433C131.442 111.107 131.178 110.843 130.852 110.843ZM129.079 109.069C128.752 109.069 128.488 109.334 128.488 109.66C128.488 109.986 128.752 110.251 129.079 110.251C129.405 110.251 129.669 109.986 129.669 109.66C129.669 109.334 129.405 109.069 129.079 109.069ZM130.852 107.296C130.526 107.296 130.262 107.561 130.262 107.887C130.262 108.213 130.526 108.477 130.852 108.477C131.178 108.477 131.442 108.213 131.442 107.887C131.442 107.561 131.178 107.296 130.852 107.296ZM129.079 105.523C128.752 105.523 128.488 105.787 128.488 106.114C128.488 106.439 128.752 106.704 129.079 106.704C129.405 106.704 129.669 106.439 129.669 106.114C129.669 105.787 129.405 105.523 129.079 105.523ZM130.852 103.75C130.526 103.75 130.262 104.014 130.262 104.34C130.262 104.666 130.526 104.93 130.852 104.93C131.178 104.93 131.442 104.666 131.442 104.34C131.442 104.014 131.178 103.75 130.852 103.75ZM132.41 99.5668L132.048 99.0835C132.072 99.3043 132.21 99.4886 132.41 99.5668ZM129.079 101.976C128.752 101.976 128.488 102.24 128.488 102.567C128.488 102.893 128.752 103.157 129.079 103.157C129.405 103.157 129.669 102.893 129.669 102.567C129.669 102.24 129.405 101.976 129.079 101.976ZM130.852 100.203C130.526 100.203 130.262 100.467 130.262 100.793C130.262 101.12 130.526 101.384 130.852 101.384C131.178 101.384 131.442 101.12 131.442 100.793C131.442 100.467 131.178 100.203 130.852 100.203ZM129.079 98.4292C128.752 98.4292 128.488 98.6942 128.488 99.0201C128.488 99.346 128.752 99.6105 129.079 99.6105C129.405 99.6105 129.669 99.346 129.669 99.0201C129.669 98.6942 129.405 98.4292 129.079 98.4292ZM130.852 97.8374C130.933 97.8374 131.009 97.8206 131.08 97.7913L130.399 96.8822C130.317 96.9835 130.262 97.1064 130.262 97.2465C130.262 97.5729 130.526 97.8374 130.852 97.8374ZM135.921 169.423L136.172 169.47L136.598 169.549C136.491 169.436 136.341 169.363 136.172 169.363C136.082 169.363 135.998 169.387 135.921 169.423ZM134.399 167.59C134.072 167.59 133.808 167.854 133.808 168.18C133.808 168.506 134.072 168.771 134.399 168.771C134.725 168.771 134.989 168.506 134.989 168.18C134.989 167.854 134.725 167.59 134.399 167.59ZM132.626 165.816C132.299 165.816 132.035 166.08 132.035 166.407C132.035 166.733 132.299 166.997 132.626 166.997C132.951 166.997 133.216 166.733 133.216 166.407C133.216 166.08 132.951 165.816 132.626 165.816ZM134.399 164.043C134.072 164.043 133.808 164.307 133.808 164.634C133.808 164.96 134.072 165.224 134.399 165.224C134.725 165.224 134.989 164.96 134.989 164.634C134.989 164.307 134.725 164.043 134.399 164.043ZM132.626 162.27C132.299 162.27 132.035 162.534 132.035 162.86C132.035 163.187 132.299 163.451 132.626 163.451C132.951 163.451 133.216 163.187 133.216 162.86C133.216 162.534 132.951 162.27 132.626 162.27ZM134.399 160.496C134.072 160.496 133.808 160.761 133.808 161.087C133.808 161.413 134.072 161.677 134.399 161.677C134.725 161.677 134.989 161.413 134.989 161.087C134.989 160.761 134.725 160.496 134.399 160.496ZM132.626 158.723C132.299 158.723 132.035 158.987 132.035 159.314C132.035 159.639 132.299 159.904 132.626 159.904C132.951 159.904 133.216 159.639 133.216 159.314C133.216 158.987 132.951 158.723 132.626 158.723ZM134.399 156.95C134.072 156.95 133.808 157.214 133.808 157.54C133.808 157.866 134.072 158.131 134.399 158.131C134.725 158.131 134.989 157.866 134.989 157.54C134.989 157.214 134.725 156.95 134.399 156.95ZM132.626 155.176C132.299 155.176 132.035 155.441 132.035 155.767C132.035 156.093 132.299 156.357 132.626 156.357C132.951 156.357 133.216 156.093 133.216 155.767C133.216 155.441 132.951 155.176 132.626 155.176ZM134.399 153.403C134.072 153.403 133.808 153.668 133.808 153.994C133.808 154.319 134.072 154.584 134.399 154.584C134.725 154.584 134.989 154.319 134.989 153.994C134.989 153.668 134.725 153.403 134.399 153.403ZM132.626 151.63C132.299 151.63 132.035 151.894 132.035 152.22C132.035 152.546 132.299 152.811 132.626 152.811C132.951 152.811 133.216 152.546 133.216 152.22C133.216 151.894 132.951 151.63 132.626 151.63ZM134.399 149.856C134.072 149.856 133.808 150.12 133.808 150.447C133.808 150.773 134.072 151.037 134.399 151.037C134.725 151.037 134.989 150.773 134.989 150.447C134.989 150.12 134.725 149.856 134.399 149.856ZM132.626 148.083C132.299 148.083 132.035 148.347 132.035 148.674C132.035 149 132.299 149.264 132.626 149.264C132.951 149.264 133.216 149 133.216 148.674C133.216 148.347 132.951 148.083 132.626 148.083ZM134.399 146.31C134.072 146.31 133.808 146.574 133.808 146.9C133.808 147.227 134.072 147.491 134.399 147.491C134.725 147.491 134.989 147.227 134.989 146.9C134.989 146.574 134.725 146.31 134.399 146.31ZM132.626 144.536C132.299 144.536 132.035 144.801 132.035 145.127C132.035 145.453 132.299 145.717 132.626 145.717C132.951 145.717 133.216 145.453 133.216 145.127C133.216 144.801 132.951 144.536 132.626 144.536ZM134.399 142.763C134.072 142.763 133.808 143.027 133.808 143.354C133.808 143.679 134.072 143.944 134.399 143.944C134.725 143.944 134.989 143.679 134.989 143.354C134.989 143.027 134.725 142.763 134.399 142.763ZM132.626 140.99C132.299 140.99 132.035 141.254 132.035 141.58C132.035 141.906 132.299 142.171 132.626 142.171C132.951 142.171 133.216 141.906 133.216 141.58C133.216 141.254 132.951 140.99 132.626 140.99ZM134.399 139.216C134.072 139.216 133.808 139.481 133.808 139.807C133.808 140.133 134.072 140.397 134.399 140.397C134.725 140.397 134.989 140.133 134.989 139.807C134.989 139.481 134.725 139.216 134.399 139.216ZM132.626 137.443C132.299 137.443 132.035 137.707 132.035 138.034C132.035 138.359 132.299 138.624 132.626 138.624C132.951 138.624 133.216 138.359 133.216 138.034C133.216 137.707 132.951 137.443 132.626 137.443ZM134.399 135.67C134.072 135.67 133.808 135.934 133.808 136.26C133.808 136.586 134.072 136.851 134.399 136.851C134.725 136.851 134.989 136.586 134.989 136.26C134.989 135.934 134.725 135.67 134.399 135.67ZM132.626 133.896C132.299 133.896 132.035 134.16 132.035 134.487C132.035 134.813 132.299 135.077 132.626 135.077C132.951 135.077 133.216 134.813 133.216 134.487C133.216 134.16 132.951 133.896 132.626 133.896ZM134.399 132.123C134.072 132.123 133.808 132.387 133.808 132.714C133.808 133.04 134.072 133.304 134.399 133.304C134.725 133.304 134.989 133.04 134.989 132.714C134.989 132.387 134.725 132.123 134.399 132.123ZM132.626 130.35C132.299 130.35 132.035 130.614 132.035 130.94C132.035 131.267 132.299 131.531 132.626 131.531C132.951 131.531 133.216 131.267 133.216 130.94C133.216 130.614 132.951 130.35 132.626 130.35ZM134.399 128.576C134.072 128.576 133.808 128.841 133.808 129.167C133.808 129.493 134.072 129.757 134.399 129.757C134.725 129.757 134.989 129.493 134.989 129.167C134.989 128.841 134.725 128.576 134.399 128.576ZM132.626 126.803C132.299 126.803 132.035 127.067 132.035 127.393C132.035 127.719 132.299 127.984 132.626 127.984C132.951 127.984 133.216 127.719 133.216 127.393C133.216 127.067 132.951 126.803 132.626 126.803ZM134.399 125.029C134.072 125.029 133.808 125.294 133.808 125.62C133.808 125.946 134.072 126.211 134.399 126.211C134.725 126.211 134.989 125.946 134.989 125.62C134.989 125.294 134.725 125.029 134.399 125.029ZM132.626 123.256C132.299 123.256 132.035 123.52 132.035 123.847C132.035 124.173 132.299 124.437 132.626 124.437C132.951 124.437 133.216 124.173 133.216 123.847C133.216 123.52 132.951 123.256 132.626 123.256ZM134.399 121.483C134.072 121.483 133.808 121.747 133.808 122.074C133.808 122.399 134.072 122.664 134.399 122.664C134.725 122.664 134.989 122.399 134.989 122.074C134.989 121.747 134.725 121.483 134.399 121.483ZM132.626 119.71C132.299 119.71 132.035 119.974 132.035 120.3C132.035 120.626 132.299 120.891 132.626 120.891C132.951 120.891 133.216 120.626 133.216 120.3C133.216 119.974 132.951 119.71 132.626 119.71ZM134.399 117.936C134.072 117.936 133.808 118.2 133.808 118.527C133.808 118.853 134.072 119.117 134.399 119.117C134.725 119.117 134.989 118.853 134.989 118.527C134.989 118.2 134.725 117.936 134.399 117.936ZM132.626 116.163C132.299 116.163 132.035 116.427 132.035 116.754C132.035 117.08 132.299 117.344 132.626 117.344C132.951 117.344 133.216 117.08 133.216 116.754C133.216 116.427 132.951 116.163 132.626 116.163ZM134.399 114.39C134.072 114.39 133.808 114.654 133.808 114.98C133.808 115.306 134.072 115.571 134.399 115.571C134.725 115.571 134.989 115.306 134.989 114.98C134.989 114.654 134.725 114.39 134.399 114.39ZM132.626 112.616C132.299 112.616 132.035 112.881 132.035 113.207C132.035 113.533 132.299 113.797 132.626 113.797C132.951 113.797 133.216 113.533 133.216 113.207C133.216 112.881 132.951 112.616 132.626 112.616ZM134.399 110.843C134.072 110.843 133.808 111.107 133.808 111.433C133.808 111.759 134.072 112.024 134.399 112.024C134.725 112.024 134.989 111.759 134.989 111.433C134.989 111.107 134.725 110.843 134.399 110.843ZM132.626 109.069C132.299 109.069 132.035 109.334 132.035 109.66C132.035 109.986 132.299 110.251 132.626 110.251C132.951 110.251 133.216 109.986 133.216 109.66C133.216 109.334 132.951 109.069 132.626 109.069ZM134.399 107.296C134.072 107.296 133.808 107.561 133.808 107.887C133.808 108.213 134.072 108.477 134.399 108.477C134.725 108.477 134.989 108.213 134.989 107.887C134.989 107.561 134.725 107.296 134.399 107.296ZM132.626 105.523C132.299 105.523 132.035 105.787 132.035 106.114C132.035 106.439 132.299 106.704 132.626 106.704C132.951 106.704 133.216 106.439 133.216 106.114C133.216 105.787 132.951 105.523 132.626 105.523ZM134.399 103.75C134.072 103.75 133.808 104.014 133.808 104.34C133.808 104.666 134.072 104.93 134.399 104.93C134.725 104.93 134.989 104.666 134.989 104.34C134.989 104.014 134.725 103.75 134.399 103.75ZM132.626 101.976C132.299 101.976 132.035 102.24 132.035 102.567C132.035 102.893 132.299 103.157 132.626 103.157C132.951 103.157 133.216 102.893 133.216 102.567C133.216 102.24 132.951 101.976 132.626 101.976ZM137.945 167.59C137.619 167.59 137.354 167.854 137.354 168.18C137.354 168.506 137.619 168.771 137.945 168.771C138.271 168.771 138.536 168.506 138.536 168.18C138.536 167.854 138.271 167.59 137.945 167.59ZM136.172 165.816C135.846 165.816 135.581 166.08 135.581 166.407C135.581 166.733 135.846 166.997 136.172 166.997C136.498 166.997 136.763 166.733 136.763 166.407C136.763 166.08 136.498 165.816 136.172 165.816ZM137.945 164.043C137.619 164.043 137.354 164.307 137.354 164.634C137.354 164.96 137.619 165.224 137.945 165.224C138.271 165.224 138.536 164.96 138.536 164.634C138.536 164.307 138.271 164.043 137.945 164.043ZM136.172 162.27C135.846 162.27 135.581 162.534 135.581 162.86C135.581 163.187 135.846 163.451 136.172 163.451C136.498 163.451 136.763 163.187 136.763 162.86C136.763 162.534 136.498 162.27 136.172 162.27ZM137.945 160.496C137.619 160.496 137.354 160.761 137.354 161.087C137.354 161.413 137.619 161.677 137.945 161.677C138.271 161.677 138.536 161.413 138.536 161.087C138.536 160.761 138.271 160.496 137.945 160.496ZM136.172 158.723C135.846 158.723 135.581 158.987 135.581 159.314C135.581 159.639 135.846 159.904 136.172 159.904C136.498 159.904 136.763 159.639 136.763 159.314C136.763 158.987 136.498 158.723 136.172 158.723ZM137.945 156.95C137.619 156.95 137.354 157.214 137.354 157.54C137.354 157.866 137.619 158.131 137.945 158.131C138.271 158.131 138.536 157.866 138.536 157.54C138.536 157.214 138.271 156.95 137.945 156.95ZM136.172 155.176C135.846 155.176 135.581 155.441 135.581 155.767C135.581 156.093 135.846 156.357 136.172 156.357C136.498 156.357 136.763 156.093 136.763 155.767C136.763 155.441 136.498 155.176 136.172 155.176ZM137.945 153.403C137.619 153.403 137.354 153.668 137.354 153.994C137.354 154.319 137.619 154.584 137.945 154.584C138.271 154.584 138.536 154.319 138.536 153.994C138.536 153.668 138.271 153.403 137.945 153.403ZM136.172 151.63C135.846 151.63 135.581 151.894 135.581 152.22C135.581 152.546 135.846 152.811 136.172 152.811C136.498 152.811 136.763 152.546 136.763 152.22C136.763 151.894 136.498 151.63 136.172 151.63ZM137.945 149.856C137.619 149.856 137.354 150.12 137.354 150.447C137.354 150.773 137.619 151.037 137.945 151.037C138.271 151.037 138.536 150.773 138.536 150.447C138.536 150.12 138.271 149.856 137.945 149.856ZM136.172 148.083C135.846 148.083 135.581 148.347 135.581 148.674C135.581 149 135.846 149.264 136.172 149.264C136.498 149.264 136.763 149 136.763 148.674C136.763 148.347 136.498 148.083 136.172 148.083ZM137.945 146.31C137.619 146.31 137.354 146.574 137.354 146.9C137.354 147.227 137.619 147.491 137.945 147.491C138.271 147.491 138.536 147.227 138.536 146.9C138.536 146.574 138.271 146.31 137.945 146.31ZM136.172 144.536C135.846 144.536 135.581 144.801 135.581 145.127C135.581 145.453 135.846 145.717 136.172 145.717C136.498 145.717 136.763 145.453 136.763 145.127C136.763 144.801 136.498 144.536 136.172 144.536ZM137.945 142.763C137.619 142.763 137.354 143.027 137.354 143.354C137.354 143.679 137.619 143.944 137.945 143.944C138.271 143.944 138.536 143.679 138.536 143.354C138.536 143.027 138.271 142.763 137.945 142.763ZM136.172 140.99C135.846 140.99 135.581 141.254 135.581 141.58C135.581 141.906 135.846 142.171 136.172 142.171C136.498 142.171 136.763 141.906 136.763 141.58C136.763 141.254 136.498 140.99 136.172 140.99ZM137.945 139.216C137.619 139.216 137.354 139.481 137.354 139.807C137.354 140.133 137.619 140.397 137.945 140.397C138.271 140.397 138.536 140.133 138.536 139.807C138.536 139.481 138.271 139.216 137.945 139.216ZM136.172 137.443C135.846 137.443 135.581 137.707 135.581 138.034C135.581 138.359 135.846 138.624 136.172 138.624C136.498 138.624 136.763 138.359 136.763 138.034C136.763 137.707 136.498 137.443 136.172 137.443ZM137.945 135.67C137.619 135.67 137.354 135.934 137.354 136.26C137.354 136.586 137.619 136.851 137.945 136.851C138.271 136.851 138.536 136.586 138.536 136.26C138.536 135.934 138.271 135.67 137.945 135.67ZM136.172 133.896C135.846 133.896 135.581 134.16 135.581 134.487C135.581 134.813 135.846 135.077 136.172 135.077C136.498 135.077 136.763 134.813 136.763 134.487C136.763 134.16 136.498 133.896 136.172 133.896ZM137.945 132.123C137.619 132.123 137.354 132.387 137.354 132.714C137.354 133.04 137.619 133.304 137.945 133.304C138.271 133.304 138.536 133.04 138.536 132.714C138.536 132.387 138.271 132.123 137.945 132.123ZM136.172 130.35C135.846 130.35 135.581 130.614 135.581 130.94C135.581 131.267 135.846 131.531 136.172 131.531C136.498 131.531 136.763 131.267 136.763 130.94C136.763 130.614 136.498 130.35 136.172 130.35ZM137.945 128.576C137.619 128.576 137.354 128.841 137.354 129.167C137.354 129.493 137.619 129.757 137.945 129.757C138.271 129.757 138.536 129.493 138.536 129.167C138.536 128.841 138.271 128.576 137.945 128.576ZM136.172 126.803C135.846 126.803 135.581 127.067 135.581 127.393C135.581 127.719 135.846 127.984 136.172 127.984C136.498 127.984 136.763 127.719 136.763 127.393C136.763 127.067 136.498 126.803 136.172 126.803ZM137.945 125.029C137.619 125.029 137.354 125.294 137.354 125.62C137.354 125.946 137.619 126.211 137.945 126.211C138.271 126.211 138.536 125.946 138.536 125.62C138.536 125.294 138.271 125.029 137.945 125.029ZM136.172 123.256C135.846 123.256 135.581 123.52 135.581 123.847C135.581 124.173 135.846 124.437 136.172 124.437C136.498 124.437 136.763 124.173 136.763 123.847C136.763 123.52 136.498 123.256 136.172 123.256ZM137.945 121.483C137.619 121.483 137.354 121.747 137.354 122.074C137.354 122.399 137.619 122.664 137.945 122.664C138.271 122.664 138.536 122.399 138.536 122.074C138.536 121.747 138.271 121.483 137.945 121.483ZM136.172 119.71C135.846 119.71 135.581 119.974 135.581 120.3C135.581 120.626 135.846 120.891 136.172 120.891C136.498 120.891 136.763 120.626 136.763 120.3C136.763 119.974 136.498 119.71 136.172 119.71ZM137.945 117.936C137.619 117.936 137.354 118.2 137.354 118.527C137.354 118.853 137.619 119.117 137.945 119.117C138.271 119.117 138.536 118.853 138.536 118.527C138.536 118.2 138.271 117.936 137.945 117.936ZM136.172 116.163C135.846 116.163 135.581 116.427 135.581 116.754C135.581 117.08 135.846 117.344 136.172 117.344C136.498 117.344 136.763 117.08 136.763 116.754C136.763 116.427 136.498 116.163 136.172 116.163ZM137.945 114.39C137.619 114.39 137.354 114.654 137.354 114.98C137.354 115.306 137.619 115.571 137.945 115.571C138.271 115.571 138.536 115.306 138.536 114.98C138.536 114.654 138.271 114.39 137.945 114.39ZM139.718 110.251C139.926 110.251 140.1 110.137 140.205 109.976L139.969 109.66L139.718 109.326L139.552 109.103C139.309 109.176 139.128 109.393 139.128 109.66C139.128 109.986 139.392 110.251 139.718 110.251ZM136.172 112.616C135.846 112.616 135.581 112.881 135.581 113.207C135.581 113.533 135.846 113.797 136.172 113.797C136.498 113.797 136.763 113.533 136.763 113.207C136.763 112.881 136.498 112.616 136.172 112.616ZM137.945 110.843C137.619 110.843 137.354 111.107 137.354 111.433C137.354 111.759 137.619 112.024 137.945 112.024C138.271 112.024 138.536 111.759 138.536 111.433C138.536 111.107 138.271 110.843 137.945 110.843ZM136.172 109.069C135.846 109.069 135.581 109.334 135.581 109.66C135.581 109.986 135.846 110.251 136.172 110.251C136.498 110.251 136.763 109.986 136.763 109.66C136.763 109.334 136.498 109.069 136.172 109.069ZM138.292 107.422C138.194 107.348 138.078 107.296 137.945 107.296C137.619 107.296 137.354 107.561 137.354 107.887C137.354 108.213 137.619 108.477 137.945 108.477C138.271 108.477 138.536 108.213 138.536 107.887C138.536 107.819 138.518 107.756 138.497 107.695L138.292 107.422ZM136.172 105.523C135.846 105.523 135.581 105.787 135.581 106.114C135.581 106.439 135.846 106.704 136.172 106.704C136.498 106.704 136.763 106.439 136.763 106.114C136.763 105.787 136.498 105.523 136.172 105.523ZM139.718 169.363C139.392 169.363 139.128 169.628 139.128 169.954C139.128 169.978 139.139 169.999 139.142 170.023L139.718 170.13L140.234 170.226C140.278 170.144 140.309 170.054 140.309 169.954C140.309 169.628 140.045 169.363 139.718 169.363ZM141.492 167.59C141.166 167.59 140.901 167.854 140.901 168.18C140.901 168.506 141.166 168.771 141.492 168.771C141.818 168.771 142.082 168.506 142.082 168.18C142.082 167.854 141.818 167.59 141.492 167.59ZM139.718 165.816C139.392 165.816 139.128 166.08 139.128 166.407C139.128 166.733 139.392 166.997 139.718 166.997C140.045 166.997 140.309 166.733 140.309 166.407C140.309 166.08 140.045 165.816 139.718 165.816ZM141.492 164.043C141.166 164.043 140.901 164.307 140.901 164.634C140.901 164.96 141.166 165.224 141.492 165.224C141.818 165.224 142.082 164.96 142.082 164.634C142.082 164.307 141.818 164.043 141.492 164.043ZM139.718 162.27C139.392 162.27 139.128 162.534 139.128 162.86C139.128 163.187 139.392 163.451 139.718 163.451C140.045 163.451 140.309 163.187 140.309 162.86C140.309 162.534 140.045 162.27 139.718 162.27ZM141.492 160.496C141.166 160.496 140.901 160.761 140.901 161.087C140.901 161.413 141.166 161.677 141.492 161.677C141.818 161.677 142.082 161.413 142.082 161.087C142.082 160.761 141.818 160.496 141.492 160.496ZM139.718 158.723C139.392 158.723 139.128 158.987 139.128 159.314C139.128 159.639 139.392 159.904 139.718 159.904C140.045 159.904 140.309 159.639 140.309 159.314C140.309 158.987 140.045 158.723 139.718 158.723ZM141.492 156.95C141.166 156.95 140.901 157.214 140.901 157.54C140.901 157.866 141.166 158.131 141.492 158.131C141.818 158.131 142.082 157.866 142.082 157.54C142.082 157.214 141.818 156.95 141.492 156.95ZM139.718 155.176C139.392 155.176 139.128 155.441 139.128 155.767C139.128 156.093 139.392 156.357 139.718 156.357C140.045 156.357 140.309 156.093 140.309 155.767C140.309 155.441 140.045 155.176 139.718 155.176ZM141.492 153.403C141.166 153.403 140.901 153.668 140.901 153.994C140.901 154.319 141.166 154.584 141.492 154.584C141.818 154.584 142.082 154.319 142.082 153.994C142.082 153.668 141.818 153.403 141.492 153.403ZM139.718 151.63C139.392 151.63 139.128 151.894 139.128 152.22C139.128 152.546 139.392 152.811 139.718 152.811C140.045 152.811 140.309 152.546 140.309 152.22C140.309 151.894 140.045 151.63 139.718 151.63ZM141.492 149.856C141.166 149.856 140.901 150.12 140.901 150.447C140.901 150.773 141.166 151.037 141.492 151.037C141.818 151.037 142.082 150.773 142.082 150.447C142.082 150.12 141.818 149.856 141.492 149.856ZM139.718 148.083C139.392 148.083 139.128 148.347 139.128 148.674C139.128 149 139.392 149.264 139.718 149.264C140.045 149.264 140.309 149 140.309 148.674C140.309 148.347 140.045 148.083 139.718 148.083ZM141.492 146.31C141.166 146.31 140.901 146.574 140.901 146.9C140.901 147.227 141.166 147.491 141.492 147.491C141.818 147.491 142.082 147.227 142.082 146.9C142.082 146.574 141.818 146.31 141.492 146.31ZM139.718 144.536C139.392 144.536 139.128 144.801 139.128 145.127C139.128 145.453 139.392 145.717 139.718 145.717C140.045 145.717 140.309 145.453 140.309 145.127C140.309 144.801 140.045 144.536 139.718 144.536ZM141.492 142.763C141.166 142.763 140.901 143.027 140.901 143.354C140.901 143.679 141.166 143.944 141.492 143.944C141.818 143.944 142.082 143.679 142.082 143.354C142.082 143.027 141.818 142.763 141.492 142.763ZM139.718 140.99C139.392 140.99 139.128 141.254 139.128 141.58C139.128 141.906 139.392 142.171 139.718 142.171C140.045 142.171 140.309 141.906 140.309 141.58C140.309 141.254 140.045 140.99 139.718 140.99ZM141.492 139.216C141.166 139.216 140.901 139.481 140.901 139.807C140.901 140.133 141.166 140.397 141.492 140.397C141.818 140.397 142.082 140.133 142.082 139.807C142.082 139.481 141.818 139.216 141.492 139.216ZM139.718 137.443C139.392 137.443 139.128 137.707 139.128 138.034C139.128 138.359 139.392 138.624 139.718 138.624C140.045 138.624 140.309 138.359 140.309 138.034C140.309 137.707 140.045 137.443 139.718 137.443ZM141.492 135.67C141.166 135.67 140.901 135.934 140.901 136.26C140.901 136.586 141.166 136.851 141.492 136.851C141.818 136.851 142.082 136.586 142.082 136.26C142.082 135.934 141.818 135.67 141.492 135.67ZM139.718 133.896C139.392 133.896 139.128 134.16 139.128 134.487C139.128 134.813 139.392 135.077 139.718 135.077C140.045 135.077 140.309 134.813 140.309 134.487C140.309 134.16 140.045 133.896 139.718 133.896ZM141.492 132.123C141.166 132.123 140.901 132.387 140.901 132.714C140.901 133.04 141.166 133.304 141.492 133.304C141.818 133.304 142.082 133.04 142.082 132.714C142.082 132.387 141.818 132.123 141.492 132.123ZM139.718 130.35C139.392 130.35 139.128 130.614 139.128 130.94C139.128 131.267 139.392 131.531 139.718 131.531C140.045 131.531 140.309 131.267 140.309 130.94C140.309 130.614 140.045 130.35 139.718 130.35ZM141.492 128.576C141.166 128.576 140.901 128.841 140.901 129.167C140.901 129.493 141.166 129.757 141.492 129.757C141.818 129.757 142.082 129.493 142.082 129.167C142.082 128.841 141.818 128.576 141.492 128.576ZM139.718 126.803C139.392 126.803 139.128 127.067 139.128 127.393C139.128 127.719 139.392 127.984 139.718 127.984C140.045 127.984 140.309 127.719 140.309 127.393C140.309 127.067 140.045 126.803 139.718 126.803ZM141.492 125.029C141.166 125.029 140.901 125.294 140.901 125.62C140.901 125.946 141.166 126.211 141.492 126.211C141.818 126.211 142.082 125.946 142.082 125.62C142.082 125.294 141.818 125.029 141.492 125.029ZM139.718 123.256C139.392 123.256 139.128 123.52 139.128 123.847C139.128 124.173 139.392 124.437 139.718 124.437C140.045 124.437 140.309 124.173 140.309 123.847C140.309 123.52 140.045 123.256 139.718 123.256ZM141.492 121.483C141.166 121.483 140.901 121.747 140.901 122.074C140.901 122.399 141.166 122.664 141.492 122.664C141.818 122.664 142.082 122.399 142.082 122.074C142.082 121.747 141.818 121.483 141.492 121.483ZM139.718 119.71C139.392 119.71 139.128 119.974 139.128 120.3C139.128 120.626 139.392 120.891 139.718 120.891C140.045 120.891 140.309 120.626 140.309 120.3C140.309 119.974 140.045 119.71 139.718 119.71ZM141.492 117.936C141.166 117.936 140.901 118.2 140.901 118.527C140.901 118.853 141.166 119.117 141.492 119.117C141.818 119.117 142.082 118.853 142.082 118.527C142.082 118.2 141.818 117.936 141.492 117.936ZM143.03 113.747L142.693 113.297C142.725 113.498 142.849 113.669 143.03 113.747ZM139.718 116.163C139.392 116.163 139.128 116.427 139.128 116.754C139.128 117.08 139.392 117.344 139.718 117.344C140.045 117.344 140.309 117.08 140.309 116.754C140.309 116.427 140.045 116.163 139.718 116.163ZM141.492 114.39C141.166 114.39 140.901 114.654 140.901 114.98C140.901 115.306 141.166 115.571 141.492 115.571C141.818 115.571 142.082 115.306 142.082 114.98C142.082 114.654 141.818 114.39 141.492 114.39ZM139.718 112.616C139.392 112.616 139.128 112.881 139.128 113.207C139.128 113.533 139.392 113.797 139.718 113.797C140.045 113.797 140.309 113.533 140.309 113.207C140.309 112.881 140.045 112.616 139.718 112.616ZM141.492 112.024C141.568 112.024 141.64 112.007 141.707 111.981L141.032 111.079C140.955 111.179 140.901 111.298 140.901 111.433C140.901 111.759 141.166 112.024 141.492 112.024ZM143.265 169.363C142.939 169.363 142.675 169.628 142.675 169.954C142.675 170.279 142.939 170.544 143.265 170.544C143.591 170.544 143.856 170.279 143.856 169.954C143.856 169.628 143.591 169.363 143.265 169.363ZM145.039 167.59C144.712 167.59 144.448 167.854 144.448 168.18C144.448 168.506 144.712 168.771 145.039 168.771C145.365 168.771 145.629 168.506 145.629 168.18C145.629 167.854 145.365 167.59 145.039 167.59ZM143.265 165.816C142.939 165.816 142.675 166.08 142.675 166.407C142.675 166.733 142.939 166.997 143.265 166.997C143.591 166.997 143.856 166.733 143.856 166.407C143.856 166.08 143.591 165.816 143.265 165.816ZM145.039 164.043C144.712 164.043 144.448 164.307 144.448 164.634C144.448 164.96 144.712 165.224 145.039 165.224C145.365 165.224 145.629 164.96 145.629 164.634C145.629 164.307 145.365 164.043 145.039 164.043ZM143.265 162.27C142.939 162.27 142.675 162.534 142.675 162.86C142.675 163.187 142.939 163.451 143.265 163.451C143.591 163.451 143.856 163.187 143.856 162.86C143.856 162.534 143.591 162.27 143.265 162.27ZM145.039 160.496C144.712 160.496 144.448 160.761 144.448 161.087C144.448 161.413 144.712 161.677 145.039 161.677C145.365 161.677 145.629 161.413 145.629 161.087C145.629 160.761 145.365 160.496 145.039 160.496ZM143.265 158.723C142.939 158.723 142.675 158.987 142.675 159.314C142.675 159.639 142.939 159.904 143.265 159.904C143.591 159.904 143.856 159.639 143.856 159.314C143.856 158.987 143.591 158.723 143.265 158.723ZM145.039 156.95C144.712 156.95 144.448 157.214 144.448 157.54C144.448 157.866 144.712 158.131 145.039 158.131C145.365 158.131 145.629 157.866 145.629 157.54C145.629 157.214 145.365 156.95 145.039 156.95ZM143.265 155.176C142.939 155.176 142.675 155.441 142.675 155.767C142.675 156.093 142.939 156.357 143.265 156.357C143.591 156.357 143.856 156.093 143.856 155.767C143.856 155.441 143.591 155.176 143.265 155.176ZM145.039 153.403C144.712 153.403 144.448 153.668 144.448 153.994C144.448 154.319 144.712 154.584 145.039 154.584C145.365 154.584 145.629 154.319 145.629 153.994C145.629 153.668 145.365 153.403 145.039 153.403ZM143.265 151.63C142.939 151.63 142.675 151.894 142.675 152.22C142.675 152.546 142.939 152.811 143.265 152.811C143.591 152.811 143.856 152.546 143.856 152.22C143.856 151.894 143.591 151.63 143.265 151.63ZM145.039 149.856C144.712 149.856 144.448 150.12 144.448 150.447C144.448 150.773 144.712 151.037 145.039 151.037C145.365 151.037 145.629 150.773 145.629 150.447C145.629 150.12 145.365 149.856 145.039 149.856ZM143.265 148.083C142.939 148.083 142.675 148.347 142.675 148.674C142.675 149 142.939 149.264 143.265 149.264C143.591 149.264 143.856 149 143.856 148.674C143.856 148.347 143.591 148.083 143.265 148.083ZM145.039 146.31C144.712 146.31 144.448 146.574 144.448 146.9C144.448 147.227 144.712 147.491 145.039 147.491C145.365 147.491 145.629 147.227 145.629 146.9C145.629 146.574 145.365 146.31 145.039 146.31ZM143.265 144.536C142.939 144.536 142.675 144.801 142.675 145.127C142.675 145.453 142.939 145.717 143.265 145.717C143.591 145.717 143.856 145.453 143.856 145.127C143.856 144.801 143.591 144.536 143.265 144.536ZM145.039 142.763C144.712 142.763 144.448 143.027 144.448 143.354C144.448 143.679 144.712 143.944 145.039 143.944C145.365 143.944 145.629 143.679 145.629 143.354C145.629 143.027 145.365 142.763 145.039 142.763ZM143.265 140.99C142.939 140.99 142.675 141.254 142.675 141.58C142.675 141.906 142.939 142.171 143.265 142.171C143.591 142.171 143.856 141.906 143.856 141.58C143.856 141.254 143.591 140.99 143.265 140.99ZM145.039 139.216C144.712 139.216 144.448 139.481 144.448 139.807C144.448 140.133 144.712 140.397 145.039 140.397C145.365 140.397 145.629 140.133 145.629 139.807C145.629 139.481 145.365 139.216 145.039 139.216ZM143.265 137.443C142.939 137.443 142.675 137.707 142.675 138.034C142.675 138.359 142.939 138.624 143.265 138.624C143.591 138.624 143.856 138.359 143.856 138.034C143.856 137.707 143.591 137.443 143.265 137.443ZM145.039 135.67C144.712 135.67 144.448 135.934 144.448 136.26C144.448 136.586 144.712 136.851 145.039 136.851C145.365 136.851 145.629 136.586 145.629 136.26C145.629 135.934 145.365 135.67 145.039 135.67ZM143.265 133.896C142.939 133.896 142.675 134.16 142.675 134.487C142.675 134.813 142.939 135.077 143.265 135.077C143.591 135.077 143.856 134.813 143.856 134.487C143.856 134.16 143.591 133.896 143.265 133.896ZM145.039 132.123C144.712 132.123 144.448 132.387 144.448 132.714C144.448 133.04 144.712 133.304 145.039 133.304C145.365 133.304 145.629 133.04 145.629 132.714C145.629 132.387 145.365 132.123 145.039 132.123ZM143.265 130.35C142.939 130.35 142.675 130.614 142.675 130.94C142.675 131.267 142.939 131.531 143.265 131.531C143.591 131.531 143.856 131.267 143.856 130.94C143.856 130.614 143.591 130.35 143.265 130.35ZM145.039 128.576C144.712 128.576 144.448 128.841 144.448 129.167C144.448 129.493 144.712 129.757 145.039 129.757C145.365 129.757 145.629 129.493 145.629 129.167C145.629 128.841 145.365 128.576 145.039 128.576ZM143.265 126.803C142.939 126.803 142.675 127.067 142.675 127.393C142.675 127.719 142.939 127.984 143.265 127.984C143.591 127.984 143.856 127.719 143.856 127.393C143.856 127.067 143.591 126.803 143.265 126.803ZM145.039 125.029C144.712 125.029 144.448 125.294 144.448 125.62C144.448 125.946 144.712 126.211 145.039 126.211C145.365 126.211 145.629 125.946 145.629 125.62C145.629 125.294 145.365 125.029 145.039 125.029ZM143.265 123.256C142.939 123.256 142.675 123.52 142.675 123.847C142.675 124.173 142.939 124.437 143.265 124.437C143.591 124.437 143.856 124.173 143.856 123.847C143.856 123.52 143.591 123.256 143.265 123.256ZM145.039 121.483C144.712 121.483 144.448 121.747 144.448 122.074C144.448 122.399 144.712 122.664 145.039 122.664C145.365 122.664 145.629 122.399 145.629 122.074C145.629 121.747 145.365 121.483 145.039 121.483ZM143.265 119.71C142.939 119.71 142.675 119.974 142.675 120.3C142.675 120.626 142.939 120.891 143.265 120.891C143.591 120.891 143.856 120.626 143.856 120.3C143.856 119.974 143.591 119.71 143.265 119.71ZM145.039 117.936C144.712 117.936 144.448 118.2 144.448 118.527C144.448 118.853 144.712 119.117 145.039 119.117C145.365 119.117 145.629 118.853 145.629 118.527C145.629 118.2 145.365 117.936 145.039 117.936ZM143.265 116.163C142.939 116.163 142.675 116.427 142.675 116.754C142.675 117.08 142.939 117.344 143.265 117.344C143.591 117.344 143.856 117.08 143.856 116.754C143.856 116.427 143.591 116.163 143.265 116.163ZM148.586 171.136C148.278 171.136 148.034 171.373 148.006 171.673L149.144 171.885C149.159 171.833 149.176 171.783 149.176 171.727C149.176 171.401 148.911 171.136 148.586 171.136ZM146.812 169.363C146.486 169.363 146.222 169.628 146.222 169.954C146.222 170.279 146.486 170.544 146.812 170.544C147.138 170.544 147.403 170.279 147.403 169.954C147.403 169.628 147.138 169.363 146.812 169.363ZM148.586 167.59C148.259 167.59 147.995 167.854 147.995 168.18C147.995 168.506 148.259 168.771 148.586 168.771C148.911 168.771 149.176 168.506 149.176 168.18C149.176 167.854 148.911 167.59 148.586 167.59ZM146.812 165.816C146.486 165.816 146.222 166.08 146.222 166.407C146.222 166.733 146.486 166.997 146.812 166.997C147.138 166.997 147.403 166.733 147.403 166.407C147.403 166.08 147.138 165.816 146.812 165.816ZM148.586 164.043C148.259 164.043 147.995 164.307 147.995 164.634C147.995 164.96 148.259 165.224 148.586 165.224C148.911 165.224 149.176 164.96 149.176 164.634C149.176 164.307 148.911 164.043 148.586 164.043ZM146.812 162.27C146.486 162.27 146.222 162.534 146.222 162.86C146.222 163.187 146.486 163.451 146.812 163.451C147.138 163.451 147.403 163.187 147.403 162.86C147.403 162.534 147.138 162.27 146.812 162.27ZM148.586 160.496C148.259 160.496 147.995 160.761 147.995 161.087C147.995 161.413 148.259 161.677 148.586 161.677C148.911 161.677 149.176 161.413 149.176 161.087C149.176 160.761 148.911 160.496 148.586 160.496ZM146.812 158.723C146.486 158.723 146.222 158.987 146.222 159.314C146.222 159.639 146.486 159.904 146.812 159.904C147.138 159.904 147.403 159.639 147.403 159.314C147.403 158.987 147.138 158.723 146.812 158.723ZM148.586 156.95C148.259 156.95 147.995 157.214 147.995 157.54C147.995 157.866 148.259 158.131 148.586 158.131C148.911 158.131 149.176 157.866 149.176 157.54C149.176 157.214 148.911 156.95 148.586 156.95ZM146.812 155.176C146.486 155.176 146.222 155.441 146.222 155.767C146.222 156.093 146.486 156.357 146.812 156.357C147.138 156.357 147.403 156.093 147.403 155.767C147.403 155.441 147.138 155.176 146.812 155.176ZM148.586 153.403C148.259 153.403 147.995 153.668 147.995 153.994C147.995 154.319 148.259 154.584 148.586 154.584C148.911 154.584 149.176 154.319 149.176 153.994C149.176 153.668 148.911 153.403 148.586 153.403ZM146.812 151.63C146.486 151.63 146.222 151.894 146.222 152.22C146.222 152.546 146.486 152.811 146.812 152.811C147.138 152.811 147.403 152.546 147.403 152.22C147.403 151.894 147.138 151.63 146.812 151.63ZM148.586 149.856C148.259 149.856 147.995 150.12 147.995 150.447C147.995 150.773 148.259 151.037 148.586 151.037C148.911 151.037 149.176 150.773 149.176 150.447C149.176 150.12 148.911 149.856 148.586 149.856ZM146.812 148.083C146.486 148.083 146.222 148.347 146.222 148.674C146.222 149 146.486 149.264 146.812 149.264C147.138 149.264 147.403 149 147.403 148.674C147.403 148.347 147.138 148.083 146.812 148.083ZM148.586 146.31C148.259 146.31 147.995 146.574 147.995 146.9C147.995 147.227 148.259 147.491 148.586 147.491C148.911 147.491 149.176 147.227 149.176 146.9C149.176 146.574 148.911 146.31 148.586 146.31ZM146.812 144.536C146.486 144.536 146.222 144.801 146.222 145.127C146.222 145.453 146.486 145.717 146.812 145.717C147.138 145.717 147.403 145.453 147.403 145.127C147.403 144.801 147.138 144.536 146.812 144.536ZM148.586 142.763C148.259 142.763 147.995 143.027 147.995 143.354C147.995 143.679 148.259 143.944 148.586 143.944C148.911 143.944 149.176 143.679 149.176 143.354C149.176 143.027 148.911 142.763 148.586 142.763ZM146.812 140.99C146.486 140.99 146.222 141.254 146.222 141.58C146.222 141.906 146.486 142.171 146.812 142.171C147.138 142.171 147.403 141.906 147.403 141.58C147.403 141.254 147.138 140.99 146.812 140.99ZM148.586 139.216C148.259 139.216 147.995 139.481 147.995 139.807C147.995 140.133 148.259 140.397 148.586 140.397C148.911 140.397 149.176 140.133 149.176 139.807C149.176 139.481 148.911 139.216 148.586 139.216ZM146.812 137.443C146.486 137.443 146.222 137.707 146.222 138.034C146.222 138.359 146.486 138.624 146.812 138.624C147.138 138.624 147.403 138.359 147.403 138.034C147.403 137.707 147.138 137.443 146.812 137.443ZM148.586 135.67C148.259 135.67 147.995 135.934 147.995 136.26C147.995 136.586 148.259 136.851 148.586 136.851C148.911 136.851 149.176 136.586 149.176 136.26C149.176 135.934 148.911 135.67 148.586 135.67ZM146.812 133.896C146.486 133.896 146.222 134.16 146.222 134.487C146.222 134.813 146.486 135.077 146.812 135.077C147.138 135.077 147.403 134.813 147.403 134.487C147.403 134.16 147.138 133.896 146.812 133.896ZM148.586 132.123C148.259 132.123 147.995 132.387 147.995 132.714C147.995 133.04 148.259 133.304 148.586 133.304C148.911 133.304 149.176 133.04 149.176 132.714C149.176 132.387 148.911 132.123 148.586 132.123ZM146.812 130.35C146.486 130.35 146.222 130.614 146.222 130.94C146.222 131.267 146.486 131.531 146.812 131.531C147.138 131.531 147.403 131.267 147.403 130.94C147.403 130.614 147.138 130.35 146.812 130.35ZM148.586 128.576C148.259 128.576 147.995 128.841 147.995 129.167C147.995 129.493 148.259 129.757 148.586 129.757C148.911 129.757 149.176 129.493 149.176 129.167C149.176 128.841 148.911 128.576 148.586 128.576ZM150.359 124.437C150.562 124.437 150.732 124.329 150.838 124.173L150.594 123.847L150.359 123.532L150.179 123.293C149.942 123.37 149.768 123.584 149.768 123.847C149.768 124.173 150.032 124.437 150.359 124.437ZM146.812 126.803C146.486 126.803 146.222 127.067 146.222 127.393C146.222 127.719 146.486 127.984 146.812 127.984C147.138 127.984 147.403 127.719 147.403 127.393C147.403 127.067 147.138 126.803 146.812 126.803ZM148.586 125.029C148.259 125.029 147.995 125.294 147.995 125.62C147.995 125.946 148.259 126.211 148.586 126.211C148.911 126.211 149.176 125.946 149.176 125.62C149.176 125.294 148.911 125.029 148.586 125.029ZM146.812 123.256C146.486 123.256 146.222 123.52 146.222 123.847C146.222 124.173 146.486 124.437 146.812 124.437C147.138 124.437 147.403 124.173 147.403 123.847C147.403 123.52 147.138 123.256 146.812 123.256ZM148.903 121.589C148.81 121.527 148.705 121.483 148.586 121.483C148.259 121.483 147.995 121.747 147.995 122.074C147.995 122.399 148.259 122.664 148.586 122.664C148.911 122.664 149.176 122.399 149.176 122.074C149.176 122.015 149.158 121.961 149.142 121.908L148.903 121.589ZM146.812 119.71C146.486 119.71 146.222 119.974 146.222 120.3C146.222 120.626 146.486 120.891 146.812 120.891C147.138 120.891 147.403 120.626 147.403 120.3C147.403 119.974 147.138 119.71 146.812 119.71ZM152.132 171.136C151.806 171.136 151.541 171.401 151.541 171.727C151.541 172.053 151.806 172.317 152.132 172.317C152.458 172.317 152.723 172.053 152.723 171.727C152.723 171.401 152.458 171.136 152.132 171.136ZM150.359 169.363C150.032 169.363 149.768 169.628 149.768 169.954C149.768 170.279 150.032 170.544 150.359 170.544C150.685 170.544 150.949 170.279 150.949 169.954C150.949 169.628 150.685 169.363 150.359 169.363ZM152.132 167.59C151.806 167.59 151.541 167.854 151.541 168.18C151.541 168.506 151.806 168.771 152.132 168.771C152.458 168.771 152.723 168.506 152.723 168.18C152.723 167.854 152.458 167.59 152.132 167.59ZM150.359 165.816C150.032 165.816 149.768 166.08 149.768 166.407C149.768 166.733 150.032 166.997 150.359 166.997C150.685 166.997 150.949 166.733 150.949 166.407C150.949 166.08 150.685 165.816 150.359 165.816ZM152.132 164.043C151.806 164.043 151.541 164.307 151.541 164.634C151.541 164.96 151.806 165.224 152.132 165.224C152.458 165.224 152.723 164.96 152.723 164.634C152.723 164.307 152.458 164.043 152.132 164.043ZM150.359 162.27C150.032 162.27 149.768 162.534 149.768 162.86C149.768 163.187 150.032 163.451 150.359 163.451C150.685 163.451 150.949 163.187 150.949 162.86C150.949 162.534 150.685 162.27 150.359 162.27ZM152.132 160.496C151.806 160.496 151.541 160.761 151.541 161.087C151.541 161.413 151.806 161.677 152.132 161.677C152.458 161.677 152.723 161.413 152.723 161.087C152.723 160.761 152.458 160.496 152.132 160.496ZM150.359 158.723C150.032 158.723 149.768 158.987 149.768 159.314C149.768 159.639 150.032 159.904 150.359 159.904C150.685 159.904 150.949 159.639 150.949 159.314C150.949 158.987 150.685 158.723 150.359 158.723ZM152.132 156.95C151.806 156.95 151.541 157.214 151.541 157.54C151.541 157.866 151.806 158.131 152.132 158.131C152.458 158.131 152.723 157.866 152.723 157.54C152.723 157.214 152.458 156.95 152.132 156.95ZM150.359 155.176C150.032 155.176 149.768 155.441 149.768 155.767C149.768 156.093 150.032 156.357 150.359 156.357C150.685 156.357 150.949 156.093 150.949 155.767C150.949 155.441 150.685 155.176 150.359 155.176ZM152.132 153.403C151.806 153.403 151.541 153.668 151.541 153.994C151.541 154.319 151.806 154.584 152.132 154.584C152.458 154.584 152.723 154.319 152.723 153.994C152.723 153.668 152.458 153.403 152.132 153.403ZM150.359 151.63C150.032 151.63 149.768 151.894 149.768 152.22C149.768 152.546 150.032 152.811 150.359 152.811C150.685 152.811 150.949 152.546 150.949 152.22C150.949 151.894 150.685 151.63 150.359 151.63ZM152.132 149.856C151.806 149.856 151.541 150.12 151.541 150.447C151.541 150.773 151.806 151.037 152.132 151.037C152.458 151.037 152.723 150.773 152.723 150.447C152.723 150.12 152.458 149.856 152.132 149.856ZM150.359 148.083C150.032 148.083 149.768 148.347 149.768 148.674C149.768 149 150.032 149.264 150.359 149.264C150.685 149.264 150.949 149 150.949 148.674C150.949 148.347 150.685 148.083 150.359 148.083ZM152.132 146.31C151.806 146.31 151.541 146.574 151.541 146.9C151.541 147.227 151.806 147.491 152.132 147.491C152.458 147.491 152.723 147.227 152.723 146.9C152.723 146.574 152.458 146.31 152.132 146.31ZM150.359 144.536C150.032 144.536 149.768 144.801 149.768 145.127C149.768 145.453 150.032 145.717 150.359 145.717C150.685 145.717 150.949 145.453 150.949 145.127C150.949 144.801 150.685 144.536 150.359 144.536ZM152.132 142.763C151.806 142.763 151.541 143.027 151.541 143.354C151.541 143.679 151.806 143.944 152.132 143.944C152.458 143.944 152.723 143.679 152.723 143.354C152.723 143.027 152.458 142.763 152.132 142.763ZM150.359 140.99C150.032 140.99 149.768 141.254 149.768 141.58C149.768 141.906 150.032 142.171 150.359 142.171C150.685 142.171 150.949 141.906 150.949 141.58C150.949 141.254 150.685 140.99 150.359 140.99ZM152.132 139.216C151.806 139.216 151.541 139.481 151.541 139.807C151.541 140.133 151.806 140.397 152.132 140.397C152.458 140.397 152.723 140.133 152.723 139.807C152.723 139.481 152.458 139.216 152.132 139.216ZM150.359 137.443C150.032 137.443 149.768 137.707 149.768 138.034C149.768 138.359 150.032 138.624 150.359 138.624C150.685 138.624 150.949 138.359 150.949 138.034C150.949 137.707 150.685 137.443 150.359 137.443ZM152.132 135.67C151.806 135.67 151.541 135.934 151.541 136.26C151.541 136.586 151.806 136.851 152.132 136.851C152.458 136.851 152.723 136.586 152.723 136.26C152.723 135.934 152.458 135.67 152.132 135.67ZM150.359 133.896C150.032 133.896 149.768 134.16 149.768 134.487C149.768 134.813 150.032 135.077 150.359 135.077C150.685 135.077 150.949 134.813 150.949 134.487C150.949 134.16 150.685 133.896 150.359 133.896ZM152.132 132.123C151.806 132.123 151.541 132.387 151.541 132.714C151.541 133.04 151.806 133.304 152.132 133.304C152.458 133.304 152.723 133.04 152.723 132.714C152.723 132.387 152.458 132.123 152.132 132.123ZM153.641 127.915L153.338 127.511C153.375 127.688 153.484 127.835 153.641 127.915ZM150.359 130.35C150.032 130.35 149.768 130.614 149.768 130.94C149.768 131.267 150.032 131.531 150.359 131.531C150.685 131.531 150.949 131.267 150.949 130.94C150.949 130.614 150.685 130.35 150.359 130.35ZM152.132 128.576C151.806 128.576 151.541 128.841 151.541 129.167C151.541 129.493 151.806 129.757 152.132 129.757C152.458 129.757 152.723 129.493 152.723 129.167C152.723 128.841 152.458 128.576 152.132 128.576ZM150.359 126.803C150.032 126.803 149.768 127.067 149.768 127.393C149.768 127.719 150.032 127.984 150.359 127.984C150.685 127.984 150.949 127.719 150.949 127.393C150.949 127.067 150.685 126.803 150.359 126.803ZM152.132 126.211C152.204 126.211 152.27 126.193 152.334 126.17L151.665 125.276C151.592 125.374 151.541 125.489 151.541 125.62C151.541 125.946 151.806 126.211 152.132 126.211ZM155.678 171.136C155.353 171.136 155.088 171.401 155.088 171.727C155.088 172.053 155.353 172.317 155.678 172.317C156.005 172.317 156.269 172.053 156.269 171.727C156.269 171.401 156.005 171.136 155.678 171.136ZM153.905 169.363C153.579 169.363 153.314 169.628 153.314 169.954C153.314 170.279 153.579 170.544 153.905 170.544C154.231 170.544 154.496 170.279 154.496 169.954C154.496 169.628 154.231 169.363 153.905 169.363ZM155.678 167.59C155.353 167.59 155.088 167.854 155.088 168.18C155.088 168.506 155.353 168.771 155.678 168.771C156.005 168.771 156.269 168.506 156.269 168.18C156.269 167.854 156.005 167.59 155.678 167.59ZM153.905 165.816C153.579 165.816 153.314 166.08 153.314 166.407C153.314 166.733 153.579 166.997 153.905 166.997C154.231 166.997 154.496 166.733 154.496 166.407C154.496 166.08 154.231 165.816 153.905 165.816ZM155.678 164.043C155.353 164.043 155.088 164.307 155.088 164.634C155.088 164.96 155.353 165.224 155.678 165.224C156.005 165.224 156.269 164.96 156.269 164.634C156.269 164.307 156.005 164.043 155.678 164.043ZM153.905 162.27C153.579 162.27 153.314 162.534 153.314 162.86C153.314 163.187 153.579 163.451 153.905 163.451C154.231 163.451 154.496 163.187 154.496 162.86C154.496 162.534 154.231 162.27 153.905 162.27ZM155.678 160.496C155.353 160.496 155.088 160.761 155.088 161.087C155.088 161.413 155.353 161.677 155.678 161.677C156.005 161.677 156.269 161.413 156.269 161.087C156.269 160.761 156.005 160.496 155.678 160.496ZM153.905 158.723C153.579 158.723 153.314 158.987 153.314 159.314C153.314 159.639 153.579 159.904 153.905 159.904C154.231 159.904 154.496 159.639 154.496 159.314C154.496 158.987 154.231 158.723 153.905 158.723ZM155.678 156.95C155.353 156.95 155.088 157.214 155.088 157.54C155.088 157.866 155.353 158.131 155.678 158.131C156.005 158.131 156.269 157.866 156.269 157.54C156.269 157.214 156.005 156.95 155.678 156.95ZM153.905 155.176C153.579 155.176 153.314 155.441 153.314 155.767C153.314 156.093 153.579 156.357 153.905 156.357C154.231 156.357 154.496 156.093 154.496 155.767C154.496 155.441 154.231 155.176 153.905 155.176ZM155.678 153.403C155.353 153.403 155.088 153.668 155.088 153.994C155.088 154.319 155.353 154.584 155.678 154.584C156.005 154.584 156.269 154.319 156.269 153.994C156.269 153.668 156.005 153.403 155.678 153.403ZM153.905 151.63C153.579 151.63 153.314 151.894 153.314 152.22C153.314 152.546 153.579 152.811 153.905 152.811C154.231 152.811 154.496 152.546 154.496 152.22C154.496 151.894 154.231 151.63 153.905 151.63ZM155.678 149.856C155.353 149.856 155.088 150.12 155.088 150.447C155.088 150.773 155.353 151.037 155.678 151.037C156.005 151.037 156.269 150.773 156.269 150.447C156.269 150.12 156.005 149.856 155.678 149.856ZM153.905 148.083C153.579 148.083 153.314 148.347 153.314 148.674C153.314 149 153.579 149.264 153.905 149.264C154.231 149.264 154.496 149 154.496 148.674C154.496 148.347 154.231 148.083 153.905 148.083ZM155.678 146.31C155.353 146.31 155.088 146.574 155.088 146.9C155.088 147.227 155.353 147.491 155.678 147.491C156.005 147.491 156.269 147.227 156.269 146.9C156.269 146.574 156.005 146.31 155.678 146.31ZM153.905 144.536C153.579 144.536 153.314 144.801 153.314 145.127C153.314 145.453 153.579 145.717 153.905 145.717C154.231 145.717 154.496 145.453 154.496 145.127C154.496 144.801 154.231 144.536 153.905 144.536ZM155.678 142.763C155.353 142.763 155.088 143.027 155.088 143.354C155.088 143.679 155.353 143.944 155.678 143.944C156.005 143.944 156.269 143.679 156.269 143.354C156.269 143.027 156.005 142.763 155.678 142.763ZM153.905 140.99C153.579 140.99 153.314 141.254 153.314 141.58C153.314 141.906 153.579 142.171 153.905 142.171C154.231 142.171 154.496 141.906 154.496 141.58C154.496 141.254 154.231 140.99 153.905 140.99ZM155.678 139.216C155.353 139.216 155.088 139.481 155.088 139.807C155.088 140.133 155.353 140.397 155.678 140.397C156.005 140.397 156.269 140.133 156.269 139.807C156.269 139.481 156.005 139.216 155.678 139.216ZM153.905 137.443C153.579 137.443 153.314 137.707 153.314 138.034C153.314 138.359 153.579 138.624 153.905 138.624C154.231 138.624 154.496 138.359 154.496 138.034C154.496 137.707 154.231 137.443 153.905 137.443ZM155.678 135.67C155.353 135.67 155.088 135.934 155.088 136.26C155.088 136.586 155.353 136.851 155.678 136.851C156.005 136.851 156.269 136.586 156.269 136.26C156.269 135.934 156.005 135.67 155.678 135.67ZM153.905 133.896C153.579 133.896 153.314 134.16 153.314 134.487C153.314 134.813 153.579 135.077 153.905 135.077C154.231 135.077 154.496 134.813 154.496 134.487C154.496 134.16 154.231 133.896 153.905 133.896ZM155.678 132.123C155.353 132.123 155.088 132.387 155.088 132.714C155.088 133.04 155.353 133.304 155.678 133.304C156.005 133.304 156.269 133.04 156.269 132.714C156.269 132.387 156.005 132.123 155.678 132.123ZM153.905 130.35C153.579 130.35 153.314 130.614 153.314 130.94C153.314 131.267 153.579 131.531 153.905 131.531C154.231 131.531 154.496 131.267 154.496 130.94C154.496 130.614 154.231 130.35 153.905 130.35ZM157.452 172.91C157.188 172.91 156.971 173.087 156.896 173.327L157.452 173.431L157.826 173.5L158.035 173.539C158.035 173.526 158.042 173.514 158.042 173.5C158.042 173.174 157.778 172.91 157.452 172.91ZM159.225 171.136C158.899 171.136 158.635 171.401 158.635 171.727C158.635 172.053 158.899 172.317 159.225 172.317C159.551 172.317 159.816 172.053 159.816 171.727C159.816 171.401 159.551 171.136 159.225 171.136ZM157.452 169.363C157.126 169.363 156.862 169.628 156.862 169.954C156.862 170.279 157.126 170.544 157.452 170.544C157.778 170.544 158.042 170.279 158.042 169.954C158.042 169.628 157.778 169.363 157.452 169.363ZM159.225 167.59C158.899 167.59 158.635 167.854 158.635 168.18C158.635 168.506 158.899 168.771 159.225 168.771C159.551 168.771 159.816 168.506 159.816 168.18C159.816 167.854 159.551 167.59 159.225 167.59ZM157.452 165.816C157.126 165.816 156.862 166.08 156.862 166.407C156.862 166.733 157.126 166.997 157.452 166.997C157.778 166.997 158.042 166.733 158.042 166.407C158.042 166.08 157.778 165.816 157.452 165.816ZM159.225 164.043C158.899 164.043 158.635 164.307 158.635 164.634C158.635 164.96 158.899 165.224 159.225 165.224C159.551 165.224 159.816 164.96 159.816 164.634C159.816 164.307 159.551 164.043 159.225 164.043ZM157.452 162.27C157.126 162.27 156.862 162.534 156.862 162.86C156.862 163.187 157.126 163.451 157.452 163.451C157.778 163.451 158.042 163.187 158.042 162.86C158.042 162.534 157.778 162.27 157.452 162.27ZM159.225 160.496C158.899 160.496 158.635 160.761 158.635 161.087C158.635 161.413 158.899 161.677 159.225 161.677C159.551 161.677 159.816 161.413 159.816 161.087C159.816 160.761 159.551 160.496 159.225 160.496ZM157.452 158.723C157.126 158.723 156.862 158.987 156.862 159.314C156.862 159.639 157.126 159.904 157.452 159.904C157.778 159.904 158.042 159.639 158.042 159.314C158.042 158.987 157.778 158.723 157.452 158.723ZM159.225 156.95C158.899 156.95 158.635 157.214 158.635 157.54C158.635 157.866 158.899 158.131 159.225 158.131C159.551 158.131 159.816 157.866 159.816 157.54C159.816 157.214 159.551 156.95 159.225 156.95ZM157.452 155.176C157.126 155.176 156.862 155.441 156.862 155.767C156.862 156.093 157.126 156.357 157.452 156.357C157.778 156.357 158.042 156.093 158.042 155.767C158.042 155.441 157.778 155.176 157.452 155.176ZM159.225 153.403C158.899 153.403 158.635 153.668 158.635 153.994C158.635 154.319 158.899 154.584 159.225 154.584C159.551 154.584 159.816 154.319 159.816 153.994C159.816 153.668 159.551 153.403 159.225 153.403ZM157.452 151.63C157.126 151.63 156.862 151.894 156.862 152.22C156.862 152.546 157.126 152.811 157.452 152.811C157.778 152.811 158.042 152.546 158.042 152.22C158.042 151.894 157.778 151.63 157.452 151.63ZM159.225 149.856C158.899 149.856 158.635 150.12 158.635 150.447C158.635 150.773 158.899 151.037 159.225 151.037C159.551 151.037 159.816 150.773 159.816 150.447C159.816 150.12 159.551 149.856 159.225 149.856ZM157.452 148.083C157.126 148.083 156.862 148.347 156.862 148.674C156.862 149 157.126 149.264 157.452 149.264C157.778 149.264 158.042 149 158.042 148.674C158.042 148.347 157.778 148.083 157.452 148.083ZM159.225 146.31C158.899 146.31 158.635 146.574 158.635 146.9C158.635 147.227 158.899 147.491 159.225 147.491C159.551 147.491 159.816 147.227 159.816 146.9C159.816 146.574 159.551 146.31 159.225 146.31ZM157.452 144.536C157.126 144.536 156.862 144.801 156.862 145.127C156.862 145.453 157.126 145.717 157.452 145.717C157.778 145.717 158.042 145.453 158.042 145.127C158.042 144.801 157.778 144.536 157.452 144.536ZM159.225 142.763C158.899 142.763 158.635 143.027 158.635 143.354C158.635 143.679 158.899 143.944 159.225 143.944C159.551 143.944 159.816 143.679 159.816 143.354C159.816 143.027 159.551 142.763 159.225 142.763ZM160.999 138.624C161.197 138.624 161.365 138.519 161.471 138.37L161.22 138.034L160.999 137.738L160.807 137.482C160.576 137.562 160.408 137.776 160.408 138.034C160.408 138.359 160.672 138.624 160.999 138.624ZM157.452 140.99C157.126 140.99 156.862 141.254 156.862 141.58C156.862 141.906 157.126 142.171 157.452 142.171C157.778 142.171 158.042 141.906 158.042 141.58C158.042 141.254 157.778 140.99 157.452 140.99ZM159.225 139.216C158.899 139.216 158.635 139.481 158.635 139.807C158.635 140.133 158.899 140.397 159.225 140.397C159.551 140.397 159.816 140.133 159.816 139.807C159.816 139.481 159.551 139.216 159.225 139.216ZM157.452 137.443C157.126 137.443 156.862 137.707 156.862 138.034C156.862 138.359 157.126 138.624 157.452 138.624C157.778 138.624 158.042 138.359 158.042 138.034C158.042 137.707 157.778 137.443 157.452 137.443ZM159.514 135.755C159.427 135.706 159.332 135.67 159.225 135.67C158.899 135.67 158.635 135.934 158.635 136.26C158.635 136.586 158.899 136.851 159.225 136.851C159.551 136.851 159.816 136.586 159.816 136.26C159.816 136.211 159.799 136.167 159.788 136.121L159.514 135.755ZM157.452 133.896C157.126 133.896 156.862 134.16 156.862 134.487C156.862 134.813 157.126 135.077 157.452 135.077C157.778 135.077 158.042 134.813 158.042 134.487C158.042 134.16 157.778 133.896 157.452 133.896ZM160.999 172.91C160.672 172.91 160.408 173.174 160.408 173.5C160.408 173.826 160.671 174.09 160.997 174.091H160.999V174.091C161.325 174.091 161.589 173.826 161.589 173.5C161.589 173.174 161.325 172.91 160.999 172.91ZM162.772 171.136C162.446 171.136 162.182 171.401 162.182 171.727C162.182 172.053 162.446 172.317 162.772 172.317C163.098 172.317 163.363 172.053 163.363 171.727C163.363 171.401 163.098 171.136 162.772 171.136ZM160.999 169.363C160.672 169.363 160.408 169.628 160.408 169.954C160.408 170.279 160.672 170.544 160.999 170.544C161.325 170.544 161.589 170.279 161.589 169.954C161.589 169.628 161.325 169.363 160.999 169.363ZM162.772 167.59C162.446 167.59 162.182 167.854 162.182 168.18C162.182 168.506 162.446 168.771 162.772 168.771C163.098 168.771 163.363 168.506 163.363 168.18C163.363 167.854 163.098 167.59 162.772 167.59ZM160.999 165.816C160.672 165.816 160.408 166.08 160.408 166.407C160.408 166.733 160.672 166.997 160.999 166.997C161.325 166.997 161.589 166.733 161.589 166.407C161.589 166.08 161.325 165.816 160.999 165.816ZM162.772 164.043C162.446 164.043 162.182 164.307 162.182 164.634C162.182 164.96 162.446 165.224 162.772 165.224C163.098 165.224 163.363 164.96 163.363 164.634C163.363 164.307 163.098 164.043 162.772 164.043ZM160.999 162.27C160.672 162.27 160.408 162.534 160.408 162.86C160.408 163.187 160.672 163.451 160.999 163.451C161.325 163.451 161.589 163.187 161.589 162.86C161.589 162.534 161.325 162.27 160.999 162.27ZM162.772 160.496C162.446 160.496 162.182 160.761 162.182 161.087C162.182 161.413 162.446 161.677 162.772 161.677C163.098 161.677 163.363 161.413 163.363 161.087C163.363 160.761 163.098 160.496 162.772 160.496ZM160.999 158.723C160.672 158.723 160.408 158.987 160.408 159.314C160.408 159.639 160.672 159.904 160.999 159.904C161.325 159.904 161.589 159.639 161.589 159.314C161.589 158.987 161.325 158.723 160.999 158.723ZM162.772 156.95C162.446 156.95 162.182 157.214 162.182 157.54C162.182 157.866 162.446 158.131 162.772 158.131C163.098 158.131 163.363 157.866 163.363 157.54C163.363 157.214 163.098 156.95 162.772 156.95ZM160.999 155.176C160.672 155.176 160.408 155.441 160.408 155.767C160.408 156.093 160.672 156.357 160.999 156.357C161.325 156.357 161.589 156.093 161.589 155.767C161.589 155.441 161.325 155.176 160.999 155.176ZM162.772 153.403C162.446 153.403 162.182 153.668 162.182 153.994C162.182 154.319 162.446 154.584 162.772 154.584C163.098 154.584 163.363 154.319 163.363 153.994C163.363 153.668 163.098 153.403 162.772 153.403ZM160.999 151.63C160.672 151.63 160.408 151.894 160.408 152.22C160.408 152.546 160.672 152.811 160.999 152.811C161.325 152.811 161.589 152.546 161.589 152.22C161.589 151.894 161.325 151.63 160.999 151.63ZM162.772 149.856C162.446 149.856 162.182 150.12 162.182 150.447C162.182 150.773 162.446 151.037 162.772 151.037C163.098 151.037 163.363 150.773 163.363 150.447C163.363 150.12 163.098 149.856 162.772 149.856ZM160.999 148.083C160.672 148.083 160.408 148.347 160.408 148.674C160.408 149 160.672 149.264 160.999 149.264C161.325 149.264 161.589 149 161.589 148.674C161.589 148.347 161.325 148.083 160.999 148.083ZM162.772 146.31C162.446 146.31 162.182 146.574 162.182 146.9C162.182 147.227 162.446 147.491 162.772 147.491C163.098 147.491 163.363 147.227 163.363 146.9C163.363 146.574 163.098 146.31 162.772 146.31ZM164.251 142.081L163.984 141.724C164.023 141.877 164.118 142.003 164.251 142.081ZM160.999 144.536C160.672 144.536 160.408 144.801 160.408 145.127C160.408 145.453 160.672 145.717 160.999 145.717C161.325 145.717 161.589 145.453 161.589 145.127C161.589 144.801 161.325 144.536 160.999 144.536ZM162.772 142.763C162.446 142.763 162.182 143.027 162.182 143.354C162.182 143.679 162.446 143.944 162.772 143.944C163.098 143.944 163.363 143.679 163.363 143.354C163.363 143.027 163.098 142.763 162.772 142.763ZM160.999 140.99C160.672 140.99 160.408 141.254 160.408 141.58C160.408 141.906 160.672 142.171 160.999 142.171C161.325 142.171 161.589 141.906 161.589 141.58C161.589 141.254 161.325 140.99 160.999 140.99ZM162.772 140.397C162.839 140.397 162.902 140.38 162.962 140.359L162.298 139.473C162.23 139.569 162.182 139.68 162.182 139.807C162.182 140.133 162.446 140.397 162.772 140.397ZM166.319 174.683C166.099 174.683 165.914 174.809 165.813 174.987L166.892 175.187C166.849 174.904 166.614 174.683 166.319 174.683ZM164.546 172.91C164.219 172.91 163.955 173.174 163.955 173.5C163.955 173.826 164.219 174.091 164.546 174.091C164.871 174.091 165.136 173.826 165.136 173.5C165.136 173.174 164.871 172.91 164.546 172.91ZM166.319 171.136C165.992 171.136 165.728 171.401 165.728 171.727C165.728 172.053 165.992 172.317 166.319 172.317C166.645 172.317 166.909 172.053 166.909 171.727C166.909 171.401 166.645 171.136 166.319 171.136ZM164.546 169.363C164.219 169.363 163.955 169.628 163.955 169.954C163.955 170.279 164.219 170.544 164.546 170.544C164.871 170.544 165.136 170.279 165.136 169.954C165.136 169.628 164.871 169.363 164.546 169.363ZM166.319 167.59C165.992 167.59 165.728 167.854 165.728 168.18C165.728 168.506 165.992 168.771 166.319 168.771C166.645 168.771 166.909 168.506 166.909 168.18C166.909 167.854 166.645 167.59 166.319 167.59ZM164.546 165.816C164.219 165.816 163.955 166.08 163.955 166.407C163.955 166.733 164.219 166.997 164.546 166.997C164.871 166.997 165.136 166.733 165.136 166.407C165.136 166.08 164.871 165.816 164.546 165.816ZM166.319 164.043C165.992 164.043 165.728 164.307 165.728 164.634C165.728 164.96 165.992 165.224 166.319 165.224C166.645 165.224 166.909 164.96 166.909 164.634C166.909 164.307 166.645 164.043 166.319 164.043ZM164.546 162.27C164.219 162.27 163.955 162.534 163.955 162.86C163.955 163.187 164.219 163.451 164.546 163.451C164.871 163.451 165.136 163.187 165.136 162.86C165.136 162.534 164.871 162.27 164.546 162.27ZM166.319 160.496C165.992 160.496 165.728 160.761 165.728 161.087C165.728 161.413 165.992 161.677 166.319 161.677C166.645 161.677 166.909 161.413 166.909 161.087C166.909 160.761 166.645 160.496 166.319 160.496ZM164.546 158.723C164.219 158.723 163.955 158.987 163.955 159.314C163.955 159.639 164.219 159.904 164.546 159.904C164.871 159.904 165.136 159.639 165.136 159.314C165.136 158.987 164.871 158.723 164.546 158.723ZM166.319 156.95C165.992 156.95 165.728 157.214 165.728 157.54C165.728 157.866 165.992 158.131 166.319 158.131C166.645 158.131 166.909 157.866 166.909 157.54C166.909 157.214 166.645 156.95 166.319 156.95ZM164.546 155.176C164.219 155.176 163.955 155.441 163.955 155.767C163.955 156.093 164.219 156.357 164.546 156.357C164.871 156.357 165.136 156.093 165.136 155.767C165.136 155.441 164.871 155.176 164.546 155.176ZM166.319 153.403C165.992 153.403 165.728 153.668 165.728 153.994C165.728 154.319 165.992 154.584 166.319 154.584C166.645 154.584 166.909 154.319 166.909 153.994C166.909 153.668 166.645 153.403 166.319 153.403ZM164.546 151.63C164.219 151.63 163.955 151.894 163.955 152.22C163.955 152.546 164.219 152.811 164.546 152.811C164.871 152.811 165.136 152.546 165.136 152.22C165.136 151.894 164.871 151.63 164.546 151.63ZM166.319 149.856C165.992 149.856 165.728 150.12 165.728 150.447C165.728 150.773 165.992 151.037 166.319 151.037C166.645 151.037 166.909 150.773 166.909 150.447C166.909 150.12 166.645 149.856 166.319 149.856ZM164.546 148.083C164.219 148.083 163.955 148.347 163.955 148.674C163.955 149 164.219 149.264 164.546 149.264C164.871 149.264 165.136 149 165.136 148.674C165.136 148.347 164.871 148.083 164.546 148.083ZM166.319 146.31C165.992 146.31 165.728 146.574 165.728 146.9C165.728 147.227 165.992 147.491 166.319 147.491C166.645 147.491 166.909 147.227 166.909 146.9C166.909 146.574 166.645 146.31 166.319 146.31ZM164.546 144.536C164.219 144.536 163.955 144.801 163.955 145.127C163.955 145.453 164.219 145.717 164.546 145.717C164.871 145.717 165.136 145.453 165.136 145.127C165.136 144.801 164.871 144.536 164.546 144.536ZM169.865 174.683C169.539 174.683 169.274 174.947 169.274 175.274C169.274 175.423 169.335 175.556 169.426 175.659L170.135 175.791C170.323 175.692 170.456 175.501 170.456 175.274C170.456 174.947 170.191 174.683 169.865 174.683ZM168.092 172.91C167.766 172.91 167.501 173.174 167.501 173.5C167.501 173.826 167.766 174.091 168.092 174.091C168.418 174.091 168.683 173.826 168.683 173.5C168.683 173.174 168.418 172.91 168.092 172.91ZM169.865 171.136C169.539 171.136 169.274 171.401 169.274 171.727C169.274 172.053 169.539 172.317 169.865 172.317C170.191 172.317 170.456 172.053 170.456 171.727C170.456 171.401 170.191 171.136 169.865 171.136ZM168.092 169.363C167.766 169.363 167.501 169.628 167.501 169.954C167.501 170.279 167.766 170.544 168.092 170.544C168.418 170.544 168.683 170.279 168.683 169.954C168.683 169.628 168.418 169.363 168.092 169.363ZM169.865 167.59C169.539 167.59 169.274 167.854 169.274 168.18C169.274 168.506 169.539 168.771 169.865 168.771C170.191 168.771 170.456 168.506 170.456 168.18C170.456 167.854 170.191 167.59 169.865 167.59ZM168.092 165.816C167.766 165.816 167.501 166.08 167.501 166.407C167.501 166.733 167.766 166.997 168.092 166.997C168.418 166.997 168.683 166.733 168.683 166.407C168.683 166.08 168.418 165.816 168.092 165.816ZM169.865 164.043C169.539 164.043 169.274 164.307 169.274 164.634C169.274 164.96 169.539 165.224 169.865 165.224C170.191 165.224 170.456 164.96 170.456 164.634C170.456 164.307 170.191 164.043 169.865 164.043ZM168.092 162.27C167.766 162.27 167.501 162.534 167.501 162.86C167.501 163.187 167.766 163.451 168.092 163.451C168.418 163.451 168.683 163.187 168.683 162.86C168.683 162.534 168.418 162.27 168.092 162.27ZM169.865 160.496C169.539 160.496 169.274 160.761 169.274 161.087C169.274 161.413 169.539 161.677 169.865 161.677C170.191 161.677 170.456 161.413 170.456 161.087C170.456 160.761 170.191 160.496 169.865 160.496ZM168.092 158.723C167.766 158.723 167.501 158.987 167.501 159.314C167.501 159.639 167.766 159.904 168.092 159.904C168.418 159.904 168.683 159.639 168.683 159.314C168.683 158.987 168.418 158.723 168.092 158.723ZM169.865 156.95C169.539 156.95 169.274 157.214 169.274 157.54C169.274 157.866 169.539 158.131 169.865 158.131C170.191 158.131 170.456 157.866 170.456 157.54C170.456 157.214 170.191 156.95 169.865 156.95ZM171.638 152.811C171.833 152.811 171.997 152.711 172.105 152.566L171.845 152.22L171.638 151.944L171.434 151.671C171.209 151.755 171.048 151.967 171.048 152.22C171.048 152.546 171.313 152.811 171.638 152.811ZM168.092 155.176C167.766 155.176 167.501 155.441 167.501 155.767C167.501 156.093 167.766 156.357 168.092 156.357C168.418 156.357 168.683 156.093 168.683 155.767C168.683 155.441 168.418 155.176 168.092 155.176ZM169.865 153.403C169.539 153.403 169.274 153.668 169.274 153.994C169.274 154.319 169.539 154.584 169.865 154.584C170.191 154.584 170.456 154.319 170.456 153.994C170.456 153.668 170.191 153.403 169.865 153.403ZM168.092 151.63C167.766 151.63 167.501 151.894 167.501 152.22C167.501 152.546 167.766 152.811 168.092 152.811C168.418 152.811 168.683 152.546 168.683 152.22C168.683 151.894 168.418 151.63 168.092 151.63ZM170.124 149.922C170.045 149.883 169.959 149.856 169.865 149.856C169.539 149.856 169.274 150.12 169.274 150.447C169.274 150.773 169.539 151.037 169.865 151.037C170.191 151.037 170.456 150.773 170.456 150.447C170.456 150.407 170.441 150.372 170.433 150.335L170.124 149.922ZM168.092 148.083C167.766 148.083 167.501 148.347 167.501 148.674C167.501 149 167.766 149.264 168.092 149.264C168.418 149.264 168.683 149 168.683 148.674C168.683 148.347 168.418 148.083 168.092 148.083ZM173.412 174.683C173.086 174.683 172.822 174.947 172.822 175.274C172.822 175.6 173.086 175.864 173.412 175.864C173.738 175.864 174.002 175.6 174.002 175.274C174.002 174.947 173.738 174.683 173.412 174.683ZM171.638 172.91C171.313 172.91 171.048 173.174 171.048 173.5C171.048 173.826 171.313 174.091 171.638 174.091C171.965 174.091 172.229 173.826 172.229 173.5C172.229 173.174 171.965 172.91 171.638 172.91ZM173.412 171.136C173.086 171.136 172.822 171.401 172.822 171.727C172.822 172.053 173.086 172.317 173.412 172.317C173.738 172.317 174.002 172.053 174.002 171.727C174.002 171.401 173.738 171.136 173.412 171.136ZM171.638 169.363C171.313 169.363 171.048 169.628 171.048 169.954C171.048 170.279 171.313 170.544 171.638 170.544C171.965 170.544 172.229 170.279 172.229 169.954C172.229 169.628 171.965 169.363 171.638 169.363ZM173.412 167.59C173.086 167.59 172.822 167.854 172.822 168.18C172.822 168.506 173.086 168.771 173.412 168.771C173.738 168.771 174.002 168.506 174.002 168.18C174.002 167.854 173.738 167.59 173.412 167.59ZM171.638 165.816C171.313 165.816 171.048 166.08 171.048 166.407C171.048 166.733 171.313 166.997 171.638 166.997C171.965 166.997 172.229 166.733 172.229 166.407C172.229 166.08 171.965 165.816 171.638 165.816ZM173.412 164.043C173.086 164.043 172.822 164.307 172.822 164.634C172.822 164.96 173.086 165.224 173.412 165.224C173.738 165.224 174.002 164.96 174.002 164.634C174.002 164.307 173.738 164.043 173.412 164.043ZM171.638 162.27C171.313 162.27 171.048 162.534 171.048 162.86C171.048 163.187 171.313 163.451 171.638 163.451C171.965 163.451 172.229 163.187 172.229 162.86C172.229 162.534 171.965 162.27 171.638 162.27ZM173.412 160.496C173.086 160.496 172.822 160.761 172.822 161.087C172.822 161.413 173.086 161.677 173.412 161.677C173.738 161.677 174.002 161.413 174.002 161.087C174.002 160.761 173.738 160.496 173.412 160.496ZM174.862 156.248L174.629 155.937C174.669 156.068 174.751 156.173 174.862 156.248ZM171.638 158.723C171.313 158.723 171.048 158.987 171.048 159.314C171.048 159.639 171.313 159.904 171.638 159.904C171.965 159.904 172.229 159.639 172.229 159.314C172.229 158.987 171.965 158.723 171.638 158.723ZM173.412 156.95C173.086 156.95 172.822 157.214 172.822 157.54C172.822 157.866 173.086 158.131 173.412 158.131C173.738 158.131 174.002 157.866 174.002 157.54C174.002 157.214 173.738 156.95 173.412 156.95ZM171.638 155.176C171.313 155.176 171.048 155.441 171.048 155.767C171.048 156.093 171.313 156.357 171.638 156.357C171.965 156.357 172.229 156.093 172.229 155.767C172.229 155.441 171.965 155.176 171.638 155.176ZM173.412 154.584C173.474 154.584 173.532 154.567 173.589 154.548L172.931 153.67C172.868 153.764 172.822 153.871 172.822 153.994C172.822 154.319 173.086 154.584 173.412 154.584ZM175.186 176.456C175.013 176.456 174.861 176.533 174.753 176.651L175.186 176.731L175.732 176.833C175.647 176.614 175.435 176.456 175.186 176.456ZM176.959 174.683C176.632 174.683 176.368 174.947 176.368 175.274C176.368 175.6 176.632 175.864 176.959 175.864C177.285 175.864 177.549 175.6 177.549 175.274C177.549 174.947 177.285 174.683 176.959 174.683ZM175.186 172.91C174.859 172.91 174.595 173.174 174.595 173.5C174.595 173.826 174.859 174.091 175.186 174.091C175.511 174.091 175.776 173.826 175.776 173.5C175.776 173.174 175.511 172.91 175.186 172.91ZM176.959 171.136C176.632 171.136 176.368 171.401 176.368 171.727C176.368 172.053 176.632 172.317 176.959 172.317C177.285 172.317 177.549 172.053 177.549 171.727C177.549 171.401 177.285 171.136 176.959 171.136ZM175.186 169.363C174.859 169.363 174.595 169.628 174.595 169.954C174.595 170.279 174.859 170.544 175.186 170.544C175.511 170.544 175.776 170.279 175.776 169.954C175.776 169.628 175.511 169.363 175.186 169.363ZM176.959 167.59C176.632 167.59 176.368 167.854 176.368 168.18C176.368 168.506 176.632 168.771 176.959 168.771C177.285 168.771 177.549 168.506 177.549 168.18C177.549 167.854 177.285 167.59 176.959 167.59ZM175.186 165.816C174.859 165.816 174.595 166.08 174.595 166.407C174.595 166.733 174.859 166.997 175.186 166.997C175.511 166.997 175.776 166.733 175.776 166.407C175.776 166.08 175.511 165.816 175.186 165.816ZM176.959 164.043C176.632 164.043 176.368 164.307 176.368 164.634C176.368 164.96 176.632 165.224 176.959 165.224C177.285 165.224 177.549 164.96 177.549 164.634C177.549 164.307 177.285 164.043 176.959 164.043ZM175.186 162.27C174.859 162.27 174.595 162.534 174.595 162.86C174.595 163.187 174.859 163.451 175.186 163.451C175.511 163.451 175.776 163.187 175.776 162.86C175.776 162.534 175.511 162.27 175.186 162.27ZM176.959 160.496C176.632 160.496 176.368 160.761 176.368 161.087C176.368 161.413 176.632 161.677 176.959 161.677C177.285 161.677 177.549 161.413 177.549 161.087C177.549 160.761 177.285 160.496 176.959 160.496ZM175.186 158.723C174.859 158.723 174.595 158.987 174.595 159.314C174.595 159.639 174.859 159.904 175.186 159.904C175.511 159.904 175.776 159.639 175.776 159.314C175.776 158.987 175.511 158.723 175.186 158.723ZM178.732 176.456C178.406 176.456 178.142 176.721 178.142 177.047C178.142 177.135 178.164 177.216 178.198 177.292L178.732 177.392L179.145 177.468C179.254 177.361 179.323 177.213 179.323 177.047C179.323 176.721 179.058 176.456 178.732 176.456ZM180.506 174.683C180.179 174.683 179.915 174.947 179.915 175.274C179.915 175.6 180.179 175.864 180.506 175.864C180.831 175.864 181.096 175.6 181.096 175.274C181.096 174.947 180.831 174.683 180.506 174.683ZM178.732 172.91C178.406 172.91 178.142 173.174 178.142 173.5C178.142 173.826 178.406 174.091 178.732 174.091C179.058 174.091 179.323 173.826 179.323 173.5C179.323 173.174 179.058 172.91 178.732 172.91ZM180.506 171.136C180.179 171.136 179.915 171.401 179.915 171.727C179.915 172.053 180.179 172.317 180.506 172.317C180.831 172.317 181.096 172.053 181.096 171.727C181.096 171.401 180.831 171.136 180.506 171.136ZM182.279 166.997C182.469 166.997 182.63 166.902 182.738 166.763L182.471 166.407L182.279 166.151L182.061 165.86C181.843 165.947 181.688 166.158 181.688 166.407C181.688 166.733 181.952 166.997 182.279 166.997ZM178.732 169.363C178.406 169.363 178.142 169.628 178.142 169.954C178.142 170.279 178.406 170.544 178.732 170.544C179.058 170.544 179.323 170.279 179.323 169.954C179.323 169.628 179.058 169.363 178.732 169.363ZM180.506 167.59C180.179 167.59 179.915 167.854 179.915 168.18C179.915 168.506 180.179 168.771 180.506 168.771C180.831 168.771 181.096 168.506 181.096 168.18C181.096 167.854 180.831 167.59 180.506 167.59ZM178.732 165.816C178.406 165.816 178.142 166.08 178.142 166.407C178.142 166.733 178.406 166.997 178.732 166.997C179.058 166.997 179.323 166.733 179.323 166.407C179.323 166.08 179.058 165.816 178.732 165.816ZM180.735 164.089C180.664 164.059 180.587 164.043 180.506 164.043C180.179 164.043 179.915 164.307 179.915 164.634C179.915 164.96 180.179 165.224 180.506 165.224C180.831 165.224 181.096 164.96 181.096 164.634C181.096 164.603 181.083 164.577 181.079 164.548L180.735 164.089ZM178.732 162.27C178.406 162.27 178.142 162.534 178.142 162.86C178.142 163.187 178.406 163.451 178.732 163.451C179.058 163.451 179.323 163.187 179.323 162.86C179.323 162.534 179.058 162.27 178.732 162.27ZM184.052 178.23C183.939 178.23 183.839 178.27 183.749 178.325L184.513 178.467C184.406 178.327 184.243 178.23 184.052 178.23ZM182.279 176.456C181.952 176.456 181.688 176.721 181.688 177.047C181.688 177.373 181.952 177.637 182.279 177.637C182.605 177.637 182.869 177.373 182.869 177.047C182.869 176.721 182.605 176.456 182.279 176.456ZM184.052 174.683C183.726 174.683 183.461 174.947 183.461 175.274C183.461 175.6 183.726 175.864 184.052 175.864C184.378 175.864 184.643 175.6 184.643 175.274C184.643 174.947 184.378 174.683 184.052 174.683ZM185.473 170.415L185.274 170.151C185.313 170.258 185.383 170.346 185.473 170.415ZM182.279 172.91C181.952 172.91 181.688 173.174 181.688 173.5C181.688 173.826 181.952 174.091 182.279 174.091C182.605 174.091 182.869 173.826 182.869 173.5C182.869 173.174 182.605 172.91 182.279 172.91ZM184.052 171.136C183.726 171.136 183.461 171.401 183.461 171.727C183.461 172.053 183.726 172.317 184.052 172.317C184.378 172.317 184.643 172.053 184.643 171.727C184.643 171.401 184.378 171.136 184.052 171.136ZM182.279 169.363C181.952 169.363 181.688 169.628 181.688 169.954C181.688 170.279 181.952 170.544 182.279 170.544C182.605 170.544 182.869 170.279 182.869 169.954C182.869 169.628 182.605 169.363 182.279 169.363ZM184.052 168.771C184.11 168.771 184.163 168.754 184.216 168.737L183.564 167.867C183.505 167.959 183.461 168.062 183.461 168.18C183.461 168.506 183.726 168.771 184.052 168.771ZM187.598 178.23C187.273 178.23 187.009 178.494 187.009 178.82C187.009 178.861 187.023 178.897 187.031 178.936L188.088 179.133C188.147 179.04 188.189 178.937 188.189 178.82C188.189 178.494 187.925 178.23 187.598 178.23ZM185.825 176.456C185.499 176.456 185.234 176.721 185.234 177.047C185.234 177.373 185.499 177.637 185.825 177.637C186.151 177.637 186.416 177.373 186.416 177.047C186.416 176.721 186.151 176.456 185.825 176.456ZM187.598 174.683C187.273 174.683 187.009 174.947 187.009 175.274C187.009 175.6 187.273 175.864 187.598 175.864C187.925 175.864 188.189 175.6 188.189 175.274C188.189 174.947 187.925 174.683 187.598 174.683ZM185.825 172.91C185.499 172.91 185.234 173.174 185.234 173.5C185.234 173.826 185.499 174.091 185.825 174.091C186.151 174.091 186.416 173.826 186.416 173.5C186.416 173.174 186.151 172.91 185.825 172.91ZM191.724 178.762L191.358 178.273C191.291 178.247 191.221 178.23 191.146 178.23C190.819 178.23 190.555 178.494 190.555 178.82C190.555 179.147 190.819 179.411 191.146 179.411C191.471 179.411 191.736 179.147 191.736 178.82C191.736 178.799 191.726 178.782 191.724 178.762ZM189.962 177.047C189.962 177.373 189.698 177.637 189.372 177.637C189.046 177.637 188.782 177.373 188.782 177.047C188.782 176.721 189.046 176.456 189.372 176.456C189.698 176.456 189.962 176.721 189.962 177.047Z",fill:"#DCDCDC"}))),i.createElement("mask",{id:"mask2_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},Qn||(Qn=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),i.createElement("g",{mask:"url(#mask2_1_381)"},Xn||(Xn=i.createElement("path",{d:"M42.6416 146.343C36.369 152.485 35.3158 161.986 36.6378 170.307C36.6718 170.496 36.9642 170.445 36.9642 170.267C36.9642 168.373 36.9066 166.495 36.9123 164.624C36.9469 164.538 36.9752 164.458 37.0098 164.372C38.6466 163.181 40.1518 161.836 41.085 159.993C42.1318 157.934 42.5442 155.61 43.3453 153.458C43.4202 153.252 43.2003 153.312 43.0563 153.418C39.2408 156.232 38.0245 159.261 36.9296 163.308C36.981 161.207 37.1413 159.107 37.5934 157.006C38.4176 153.166 40.0491 149.359 42.8077 146.51C42.9109 146.401 42.7506 146.235 42.6416 146.343Z",fill:"#C6C6C6"})),Jn||(Jn=i.createElement("path",{d:"M43.8201 147.059C44.8992 147.096 45.576 148.821 46.4169 149.324C46.8614 149.592 47.2948 149.575 47.6078 149.137C48.4411 147.973 47.2977 146.538 46.2225 145.736C46.9915 146.052 47.6294 146.608 48.4584 146.766C48.96 146.857 49.3502 146.671 49.4678 146.161C49.8331 144.575 47.844 143.869 46.4793 143.836C47.1408 143.376 49.0372 142.126 48.0297 141.511C47.0088 140.894 44.7835 142.682 44.0577 143.27C42.9912 144.136 41.7192 145.429 41.6707 146.783C41.6083 148.363 42.9897 147.39 43.8201 147.059Z",fill:"#009368"})),i.createElement("mask",{id:"mask3_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:41,y:141,width:9,height:9},$n||($n=i.createElement("path",{d:"M41.6686 141.383H49.5116V149.501H41.6686V141.383Z",fill:"white"}))),er||(er=i.createElement("g",{mask:"url(#mask3_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M43.8207 147.059C44.8998 147.096 45.5766 148.821 46.4175 149.324C46.862 149.592 47.2955 149.575 47.6084 149.137C48.4417 147.973 47.2983 146.538 46.2231 145.736C46.9921 146.052 47.63 146.608 48.459 146.766C48.9606 146.857 49.3508 146.671 49.4684 146.161C49.8337 144.575 47.8446 143.869 46.4799 143.836C47.1414 143.376 49.0379 142.126 48.0303 141.511C47.0094 140.894 44.7841 142.682 44.0583 143.27C42.9918 144.136 41.7198 145.429 41.6713 146.783C41.6089 148.363 42.9903 147.39 43.8207 147.059Z",fill:"black"})))),tr||(tr=i.createElement("path",{d:"M43.5076 147.325C44.8876 146.698 47.5377 147.601 47.7633 147.079C48.2202 146.016 46.102 145.287 44.9586 145.146C46.0118 144.86 48.0292 144.406 47.9673 143.39C47.8914 142.151 44.8727 143.217 43.3449 144.388C41.4201 145.864 41.4326 147.289 41.7508 147.574C42.1876 147.965 43.2801 147.429 43.5076 147.325Z",fill:"#009368"})),nr||(nr=i.createElement("path",{d:"M28.355 145.735C34.8566 151.634 36.2707 161.087 35.2656 169.454C35.2387 169.644 34.9449 169.603 34.9382 169.426C34.8662 167.533 34.8523 165.655 34.775 163.785C34.7376 163.7 34.7059 163.622 34.6685 163.537C32.9875 162.409 31.4323 161.123 30.4296 159.316C29.3049 157.298 28.8048 154.991 27.9221 152.871C27.84 152.668 28.0617 152.72 28.2096 152.821C32.1293 155.488 33.4598 158.468 34.7078 162.47C34.5763 160.373 34.3363 158.28 33.8049 156.198C32.8353 152.392 31.0603 148.651 28.1952 145.907C28.0881 145.803 28.2422 145.631 28.355 145.735Z",fill:"#C6C6C6"})),rr||(rr=i.createElement("path",{d:"M27.2045 146.496C26.1274 146.573 25.5168 148.322 24.6955 148.857C24.2616 149.142 23.8277 149.142 23.4984 148.716C22.6214 147.585 23.7096 146.107 24.7536 145.265C23.9971 145.61 23.3808 146.189 22.5586 146.378C22.0603 146.489 21.6634 146.318 21.5266 145.812C21.1013 144.242 23.0621 143.461 24.4243 143.376C23.7461 142.941 21.8035 141.764 22.7866 141.111C23.7835 140.456 26.075 142.157 26.8229 142.718C27.9216 143.543 29.2421 144.786 29.3414 146.138C29.4643 147.714 28.0469 146.795 27.2045 146.496Z",fill:"#009368"})),i.createElement("mask",{id:"mask4_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:21,y:140,width:9,height:10},ir||(ir=i.createElement("path",{d:"M21.4674 140.963H29.3489V149.056H21.4674V140.963Z",fill:"white"}))),or||(or=i.createElement("g",{mask:"url(#mask4_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M27.2044 146.496C26.1273 146.573 25.5167 148.323 24.6955 148.857C24.2615 149.142 23.8276 149.142 23.4983 148.716C22.6214 147.585 23.7095 146.107 24.7535 145.265C23.9971 145.61 23.3807 146.189 22.5585 146.378C22.0603 146.489 21.6633 146.318 21.5265 145.812C21.1012 144.242 23.062 143.461 24.4243 143.376C23.746 142.941 21.8035 141.764 22.7865 141.111C23.7835 140.456 26.075 142.157 26.8228 142.719C27.9215 143.543 29.242 144.786 29.3414 146.138C29.4643 147.714 28.0468 146.795 27.2044 146.496Z",fill:"black"})))),ar||(ar=i.createElement("path",{d:"M27.5268 146.75C26.1242 146.176 23.5097 147.178 23.2649 146.665C22.7676 145.62 24.8565 144.811 25.9937 144.626C24.9305 144.381 22.8972 144.004 22.9207 142.987C22.949 141.745 26.0066 142.696 27.5777 143.808C29.5572 145.21 29.5989 146.634 29.2917 146.931C28.8703 147.339 27.7581 146.844 27.5268 146.75Z",fill:"#009368"})),sr||(sr=i.createElement("path",{d:"M35.004 161.313C35.484 164.421 36.0792 167.635 37.0229 170.639C37.1132 170.912 37.5192 170.842 37.4775 170.547C37.0503 167.673 36.2717 164.852 35.8445 161.978C35.4106 159.07 35.1788 156.123 35.3453 153.181C35.6189 148.338 36.9341 143.187 40.094 139.397C40.1636 139.308 40.0162 139.181 39.9447 139.264C33.6178 146.641 34.6244 155.685 34.6301 156.496C33.7344 153.442 32.8119 149.942 29.4236 146.832C29.2776 146.698 29.1634 146.762 29.1879 146.989C29.7936 152.654 31.3685 155.611 34.6527 158.64C34.7458 159.537 34.8615 160.431 35.004 161.313Z",fill:"#C6C6C6"})),lr||(lr=i.createElement("path",{d:"M40.1513 140.246C41.2894 139.74 42.8594 141.19 43.9855 141.289C44.5817 141.343 45.0228 141.108 45.1265 140.496C45.4058 138.869 43.4974 137.955 41.9777 137.664C42.9348 137.604 43.8761 137.86 44.8154 137.606C45.3828 137.449 45.6938 137.059 45.5585 136.471C45.1394 134.641 42.7207 134.911 41.2879 135.563C41.7425 134.753 43.0807 132.501 41.7262 132.371C40.3562 132.244 38.9474 135.218 38.4905 136.195C37.8194 137.63 37.1508 139.613 37.782 141.041C38.5126 142.712 39.4562 141.008 40.1513 140.246Z",fill:"#009368"})),i.createElement("mask",{id:"mask5_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:37,y:132,width:9,height:10},cr||(cr=i.createElement("path",{d:"M37.529 132.366H45.5901V141.751H37.529V132.366Z",fill:"white"}))),ur||(ur=i.createElement("g",{mask:"url(#mask5_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M40.1516 140.246C41.2897 139.74 42.8598 141.19 43.9858 141.289C44.582 141.343 45.0231 141.107 45.1268 140.495C45.4062 138.869 43.4977 137.955 41.978 137.663C42.9351 137.604 43.8764 137.86 44.8158 137.606C45.3831 137.449 45.6942 137.059 45.5588 136.471C45.1398 134.641 42.721 134.911 41.2882 135.563C41.7428 134.753 43.081 132.501 41.7265 132.371C40.3566 132.244 38.9478 135.218 38.4908 136.195C37.8198 137.63 37.1511 139.613 37.7823 141.041C38.5129 142.712 39.4566 141.008 40.1516 140.246Z",fill:"black"})))),dr||(dr=i.createElement("path",{d:"M39.9615 140.679C41.0775 139.334 44.282 138.937 44.2527 138.281C44.1918 136.949 41.6271 137.258 40.37 137.687C41.319 136.861 43.1833 135.374 42.6078 134.352C41.905 133.103 39.3097 135.729 38.3142 137.714C37.0599 140.214 37.79 141.686 38.2638 141.821C38.9137 142.008 39.7772 140.902 39.9615 140.679Z",fill:"#009368"})),hr||(hr=i.createElement("path",{d:"M30.8418 163.017L28.0515 184.337H45.0311C44.6811 182.448 41.5208 162.993 41.5208 162.993L30.8418 163.017Z",fill:"#009368"}))),pr||(pr=i.createElement("path",{d:"M70.4099 184.25L45.6145 184.292L20.8192 184.409L45.6145 184.526L70.4099 184.568L120 184.649L169.591 184.568L194.385 184.526L219.18 184.409L194.385 184.291L169.591 184.249L120 184.17L70.4099 184.25Z",fill:"#C6C6C6"})),i.createElement("mask",{id:"mask6_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},fr||(fr=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),mr||(mr=i.createElement("g",{mask:"url(#mask6_1_381)"},i.createElement("path",{d:"M191.547 216.039C191.547 221.627 159.514 226.155 120 226.155C80.4858 226.155 48.453 221.627 48.453 216.039C48.453 210.452 80.4858 205.923 120 205.923C159.514 205.923 191.547 210.452 191.547 216.039Z",fill:"#ECECEC"}))),i.createElement("mask",{id:"mask7_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},gr||(gr=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),vr||(vr=i.createElement("g",{mask:"url(#mask7_1_381)"},i.createElement("path",{d:"M96.1699 28.3008C96.1699 28.8956 96.2601 29.4711 96.4411 30.0264C96.622 30.5823 96.8841 31.0738 97.2268 31.5005C97.5691 31.9268 97.9896 32.2695 98.4873 32.5282C98.9846 32.7869 99.55 32.9156 100.184 32.9156C100.83 32.9156 101.402 32.7831 101.9 32.5181C102.397 32.2536 102.817 31.9008 103.16 31.4612C103.502 31.022 103.761 30.5276 103.936 29.9784C104.11 29.4288 104.197 28.8701 104.197 28.3008C104.197 27.7066 104.103 27.1311 103.916 26.5752C103.729 26.0194 103.463 25.5284 103.121 25.1012C102.779 24.6749 102.359 24.3356 101.861 24.0836C101.363 23.8316 100.804 23.7053 100.184 23.7053C99.5371 23.7053 98.962 23.8383 98.458 24.1028C97.9536 24.3682 97.5336 24.7172 97.1976 25.1501C96.8611 25.5831 96.6062 26.0741 96.4315 26.6237C96.2572 27.1733 96.1699 27.732 96.1699 28.3008ZM100.164 35.2815C99.156 35.2815 98.2411 35.0842 97.4203 34.6901C96.5995 34.296 95.8953 33.7724 95.3073 33.1196C94.7188 32.4668 94.2628 31.7204 93.9398 30.8799C93.6168 30.0399 93.4555 29.1802 93.4555 28.3008C93.4555 27.3831 93.6264 26.5042 93.9691 25.6637C94.3113 24.8237 94.7836 24.0807 95.3846 23.4341C95.9856 22.7876 96.6998 22.274 97.5273 21.8924C98.3544 21.5112 99.2529 21.3207 100.223 21.3207C101.218 21.3207 102.126 21.5237 102.947 21.9312C103.768 22.3383 104.469 22.8716 105.05 23.5306C105.632 24.1901 106.085 24.9399 106.408 25.7804C106.731 26.6208 106.893 27.4738 106.893 28.3397C106.893 29.258 106.725 30.133 106.389 30.9672C106.052 31.801 105.587 32.5378 104.992 33.1776C104.398 33.8175 103.687 34.3282 102.86 34.7093C102.032 35.0909 101.134 35.2815 100.164 35.2815Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M110.732 30.1236C110.732 30.5762 110.8 30.9866 110.935 31.3548C111.071 31.7234 111.258 32.0431 111.498 32.3148C111.737 32.586 112.018 32.7962 112.341 32.9445C112.664 33.0933 113.013 33.1677 113.388 33.1677C113.763 33.1677 114.112 33.0933 114.435 32.9445C114.758 32.7962 115.04 32.586 115.279 32.3148C115.518 32.0431 115.705 31.7201 115.841 31.3452C115.977 30.9703 116.045 30.557 116.045 30.1039C116.045 29.6647 115.977 29.2577 115.841 28.8828C115.705 28.5079 115.518 28.1844 115.279 27.9132C115.04 27.6415 114.758 27.4317 114.435 27.2829C114.112 27.1341 113.763 27.0597 113.388 27.0597C113.013 27.0597 112.664 27.1375 112.341 27.2925C112.018 27.4476 111.737 27.6612 111.498 27.9324C111.258 28.2041 111.071 28.5271 110.935 28.902C110.8 29.2769 110.732 29.6844 110.732 30.1236ZM113.388 35.3781C112.561 35.3781 111.817 35.2361 111.158 34.9519C110.499 34.6677 109.94 34.2828 109.481 33.798C109.022 33.3132 108.67 32.754 108.424 32.1209C108.179 31.4877 108.056 30.8215 108.056 30.1236C108.056 29.4127 108.179 28.7407 108.424 28.1071C108.67 27.4735 109.022 26.9143 109.481 26.43C109.94 25.9447 110.499 25.5607 111.158 25.2761C111.817 24.9919 112.561 24.8493 113.388 24.8493C114.216 24.8493 114.956 24.9919 115.608 25.2761C116.261 25.5607 116.817 25.9447 117.276 26.43C117.735 26.9143 118.087 27.4735 118.332 28.1071C118.578 28.7407 118.701 29.4127 118.701 30.1236C118.701 30.8215 118.578 31.4877 118.332 32.1209C118.087 32.754 117.738 33.3132 117.286 33.798C116.833 34.2828 116.278 34.6677 115.618 34.9519C114.959 35.2361 114.216 35.3781 113.388 35.3781Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M125.662 33.1679C126.05 33.1679 126.409 33.0839 126.738 32.9159C127.068 32.7479 127.349 32.5218 127.582 32.2372C127.814 31.953 127.995 31.6233 128.125 31.2479C128.254 30.8735 128.318 30.4857 128.318 30.0849C128.318 29.6581 128.247 29.2607 128.105 28.8925C127.963 28.5239 127.766 28.2042 127.513 27.9325C127.261 27.6609 126.964 27.4477 126.622 27.2927C126.279 27.1377 125.907 27.0599 125.507 27.0599C125.261 27.0599 125.009 27.1021 124.751 27.1861C124.492 27.2701 124.253 27.3897 124.033 27.5447C123.813 27.6997 123.616 27.8812 123.442 28.0876C123.267 28.2945 123.134 28.521 123.044 28.7663V31.1514C123.277 31.7332 123.632 32.2146 124.111 32.5957C124.589 32.9773 125.106 33.1679 125.662 33.1679ZM126.534 35.3783C125.733 35.3783 125.035 35.2007 124.441 34.845C123.846 34.4898 123.38 34.0084 123.044 33.4007V39.3148H120.446V25.0242H122.714V26.769C123.09 26.1748 123.574 25.7058 124.169 25.3631C124.764 25.0209 125.449 24.8495 126.224 24.8495C126.91 24.8495 127.543 24.9882 128.125 25.2666C128.706 25.5445 129.207 25.9189 129.627 26.3908C130.047 26.8631 130.377 27.4185 130.616 28.0583C130.855 28.6981 130.975 29.374 130.975 30.0849C130.975 30.8217 130.865 31.5133 130.645 32.1594C130.426 32.806 130.118 33.3685 129.724 33.8466C129.33 34.3252 128.861 34.6996 128.318 34.9713C127.776 35.2425 127.181 35.3783 126.534 35.3783Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M136.579 35.3783C135.726 35.3783 134.892 35.2425 134.078 34.9713C133.263 34.6996 132.565 34.3118 131.983 33.8078L132.953 32.1791C133.573 32.6183 134.178 32.9514 134.766 33.1775C135.354 33.4041 135.939 33.5169 136.521 33.5169C137.037 33.5169 137.445 33.4199 137.742 33.226C138.04 33.0321 138.188 32.7542 138.188 32.3922C138.188 32.0303 138.014 31.7654 137.665 31.5974C137.316 31.4294 136.747 31.2354 135.958 31.0156C135.299 30.8346 134.737 30.6599 134.271 30.4919C133.806 30.3244 133.431 30.1334 133.147 29.9198C132.862 29.7066 132.655 29.4614 132.526 29.1834C132.397 28.9055 132.332 28.5724 132.332 28.1846C132.332 27.6681 132.432 27.2025 132.633 26.7882C132.833 26.375 133.114 26.0226 133.476 25.7318C133.838 25.4409 134.262 25.2182 134.747 25.0626C135.231 24.9076 135.758 24.8298 136.327 24.8298C137.089 24.8298 137.803 24.9398 138.469 25.1596C139.135 25.3794 139.746 25.7351 140.302 26.2262L139.254 27.7967C138.738 27.4089 138.237 27.1247 137.752 26.9438C137.267 26.7628 136.786 26.6721 136.308 26.6721C135.868 26.6721 135.499 26.7628 135.202 26.9438C134.905 27.1247 134.756 27.4156 134.756 27.8164C134.756 27.9974 134.791 28.1457 134.863 28.2623C134.934 28.3785 135.047 28.4822 135.202 28.5724C135.357 28.6631 135.561 28.75 135.813 28.834C136.065 28.9185 136.378 29.0058 136.753 29.0961C137.451 29.277 138.049 29.458 138.547 29.639C139.045 29.8199 139.451 30.0268 139.769 30.2591C140.085 30.4919 140.318 30.7602 140.467 31.0641C140.615 31.3679 140.689 31.7332 140.689 32.1594C140.689 33.1554 140.321 33.9402 139.584 34.5158C138.848 35.0908 137.846 35.3783 136.579 35.3783Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M142.88 32.2566H145.479V35.1846H142.88V32.2566ZM142.88 21.2814H145.479V30.0074H142.88V21.2814Z",fill:"#C6C6C6"}))),Cr||(Cr=i.createElement("path",{d:"M129.889 152.543H112.843V151.146H129.889V152.543Z",fill:"#2B454E"})),yr||(yr=i.createElement("path",{d:"M129.889 154.361H112.843V152.965H129.889V154.361Z",fill:"#2B454E"})),br||(br=i.createElement("path",{d:"M129.889 156.18H112.843V154.784H129.889V156.18Z",fill:"#2B454E"})),wr||(wr=i.createElement("path",{d:"M129.889 157.999H112.843V156.602H129.889V157.999Z",fill:"#2B454E"})),xr||(xr=i.createElement("path",{d:"M129.889 159.817H112.843V158.421H129.889V159.817Z",fill:"#2B454E"})),Ar||(Ar=i.createElement("path",{d:"M137.268 196.102H104.86V194.705H137.268V196.102Z",fill:"#2B454E"})),Er||(Er=i.createElement("path",{d:"M137.268 197.92H104.86V196.524H137.268V197.92Z",fill:"#2B454E"})),_r||(_r=i.createElement("path",{d:"M137.268 199.739H104.86V198.343H137.268V199.739Z",fill:"#2B454E"})),Tr||(Tr=i.createElement("path",{d:"M137.268 201.558H104.86V200.162H137.268V201.558Z",fill:"#2B454E"})),Sr||(Sr=i.createElement("path",{d:"M137.268 203.377H104.86V201.981H137.268V203.377Z",fill:"#2B454E"})),kr||(kr=i.createElement("path",{d:"M78.4034 63.6819L77.4432 89.6819H69.0227L68.0625 63.6819H78.4034ZM73.233 102.091C71.8049 102.091 70.58 101.592 69.5582 100.595C68.5488 99.5858 68.0502 98.3609 68.0625 96.9205C68.0502 95.5171 68.5488 94.3168 69.5582 93.3197C70.58 92.3225 71.8049 91.8239 73.233 91.8239C74.5871 91.8239 75.7813 92.3225 76.8153 93.3197C77.8617 94.3168 78.3911 95.5171 78.4034 96.9205C78.3911 97.8808 78.1387 98.7548 77.6463 99.5427C77.1662 100.318 76.5384 100.94 75.7628 101.408C74.9872 101.863 74.1439 102.091 73.233 102.091ZM92.5298 89.6819V88.7955C92.5298 86.7643 92.6899 85.1454 93.0099 83.939C93.33 82.7326 93.804 81.7662 94.4318 81.0398C95.0597 80.3012 95.8291 79.6364 96.7401 79.0455C97.5279 78.5285 98.2296 78.0299 98.8452 77.5498C99.473 77.0697 99.9654 76.5588 100.322 76.0171C100.692 75.4755 100.876 74.8599 100.876 74.1705C100.876 73.555 100.729 73.0133 100.433 72.5455C100.138 72.0777 99.7377 71.7146 99.233 71.456C98.7282 71.1975 98.1681 71.0683 97.5526 71.0683C96.8878 71.0683 96.2723 71.2221 95.706 71.5299C95.152 71.8377 94.7027 72.2624 94.358 72.8041C94.0256 73.3457 93.8594 73.9736 93.8594 74.6876H84.4048C84.4295 71.9792 85.045 69.7818 86.2514 68.0952C87.4579 66.3964 89.0582 65.153 91.0526 64.3651C93.0469 63.5649 95.2382 63.1648 97.6264 63.1648C100.261 63.1648 102.612 63.5526 104.68 64.3282C106.749 65.0915 108.38 66.2487 109.574 67.7998C110.768 69.3386 111.365 71.2652 111.365 73.5796C111.365 75.0692 111.107 76.3803 110.589 77.5129C110.085 78.6331 109.377 79.6241 108.466 80.4859C107.567 81.3353 106.515 82.1109 105.308 82.8126C104.422 83.3296 103.677 83.8651 103.074 84.4191C102.471 84.9608 102.015 85.5825 101.707 86.2842C101.4 86.9736 101.246 87.8107 101.246 88.7955V89.6819H92.5298ZM97.0355 102.091C95.6075 102.091 94.3826 101.592 93.3608 100.595C92.3513 99.5858 91.8527 98.3609 91.8651 96.9205C91.8527 95.5171 92.3513 94.3168 93.3608 93.3197C94.3826 92.3225 95.6075 91.8239 97.0355 91.8239C98.3897 91.8239 99.5838 92.3225 100.618 93.3197C101.664 94.3168 102.194 95.5171 102.206 96.9205C102.194 97.8808 101.941 98.7548 101.449 99.5427C100.969 100.318 100.341 100.94 99.5653 101.408C98.7898 101.863 97.9465 102.091 97.0355 102.091ZM128.067 63.6819L127.107 89.6819H118.687L117.727 63.6819H128.067ZM122.897 102.091C121.469 102.091 120.244 101.592 119.222 100.595C118.213 99.5858 117.714 98.3609 117.727 96.9205C117.714 95.5171 118.213 94.3168 119.222 93.3197C120.244 92.3225 121.469 91.8239 122.897 91.8239C124.251 91.8239 125.445 92.3225 126.479 93.3197C127.526 94.3168 128.055 95.5171 128.067 96.9205C128.055 97.8808 127.803 98.7548 127.31 99.5427C126.83 100.318 126.202 100.94 125.427 101.408C124.651 101.863 123.808 102.091 122.897 102.091ZM142.194 89.6819V88.7955C142.194 86.7643 142.354 85.1454 142.674 83.939C142.994 82.7326 143.468 81.7662 144.096 81.0398C144.724 80.3012 145.493 79.6364 146.404 79.0455C147.192 78.5285 147.894 78.0299 148.509 77.5498C149.137 77.0697 149.629 76.5588 149.987 76.0171C150.356 75.4755 150.54 74.8599 150.54 74.1705C150.54 73.555 150.393 73.0133 150.097 72.5455C149.802 72.0777 149.402 71.7146 148.897 71.456C148.392 71.1975 147.832 71.0683 147.217 71.0683C146.552 71.0683 145.936 71.2221 145.37 71.5299C144.816 71.8377 144.367 72.2624 144.022 72.8041C143.69 73.3457 143.523 73.9736 143.523 74.6876H134.069C134.094 71.9792 134.709 69.7818 135.915 68.0952C137.122 66.3964 138.722 65.153 140.717 64.3651C142.711 63.5649 144.902 63.1648 147.29 63.1648C149.925 63.1648 152.276 63.5526 154.344 64.3282C156.413 65.0915 158.044 66.2487 159.238 67.7998C160.432 69.3386 161.029 71.2652 161.029 73.5796C161.029 75.0692 160.771 76.3803 160.254 77.5129C159.749 78.6331 159.041 79.6241 158.13 80.4859C157.231 81.3353 156.179 82.1109 154.972 82.8126C154.086 83.3296 153.341 83.8651 152.738 84.4191C152.135 84.9608 151.679 85.5825 151.371 86.2842C151.064 86.9736 150.91 87.8107 150.91 88.7955V89.6819H142.194ZM146.7 102.091C145.272 102.091 144.047 101.592 143.025 100.595C142.015 99.5858 141.517 98.3609 141.529 96.9205C141.517 95.5171 142.015 94.3168 143.025 93.3197C144.047 92.3225 145.272 91.8239 146.7 91.8239C148.054 91.8239 149.248 92.3225 150.282 93.3197C151.328 94.3168 151.858 95.5171 151.87 96.9205C151.858 97.8808 151.605 98.7548 151.113 99.5427C150.633 100.318 150.005 100.94 149.229 101.408C148.454 101.863 147.611 102.091 146.7 102.091ZM177.732 63.6819L176.771 89.6819H168.351L167.391 63.6819H177.732ZM172.561 102.091C171.133 102.091 169.908 101.592 168.886 100.595C167.877 99.5858 167.378 98.3609 167.391 96.9205C167.378 95.5171 167.877 94.3168 168.886 93.3197C169.908 92.3225 171.133 91.8239 172.561 91.8239C173.915 91.8239 175.109 92.3225 176.143 93.3197C177.19 94.3168 177.719 95.5171 177.732 96.9205C177.719 97.8808 177.467 98.7548 176.974 99.5427C176.494 100.318 175.866 100.94 175.091 101.408C174.315 101.863 173.472 102.091 172.561 102.091Z",fill:"#C6C6C6"})),i.createElement("mask",{id:"mask8_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},Pr||(Pr=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),i.createElement("g",{mask:"url(#mask8_1_381)"},Dr||(Dr=i.createElement("path",{d:"M90.6404 139.604C90.6562 139.415 83.5469 137.034 83.5469 137.034L83.9669 112.608L93.3936 110.585L90.6404 139.604Z",fill:"#009368"})),i.createElement("mask",{id:"mask9_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:83,y:110,width:11,height:30},Nr||(Nr=i.createElement("path",{d:"M83.5469 110.585H93.3936V139.603H83.5469V110.585Z",fill:"white"}))),Fr||(Fr=i.createElement("g",{mask:"url(#mask9_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M90.6408 139.603C90.6567 139.414 83.5474 137.034 83.5474 137.034L83.9674 112.608L93.3941 110.585L90.6408 139.603Z",fill:"black"})))),Ir||(Ir=i.createElement("path",{d:"M155.755 149.191C155.805 149.008 163.3 149.219 163.3 149.219L171.311 126.141L163.156 120.998L155.755 149.191Z",fill:"#009368"})),i.createElement("mask",{id:"mask10_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:155,y:120,width:17,height:30},Rr||(Rr=i.createElement("path",{d:"M155.755 120.998H171.311V149.219H155.755V120.998Z",fill:"white"}))),Mr||(Mr=i.createElement("g",{mask:"url(#mask10_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M155.755 149.191C155.805 149.008 163.3 149.219 163.3 149.219L171.311 126.141L163.156 120.998L155.755 149.191Z",fill:"black"})))),Or||(Or=i.createElement("path",{d:"M89.2718 148.597C89.2718 148.597 91.9075 109.095 94.2192 96.099C94.2192 96.099 141.939 99.7081 167.7 109.555C167.7 109.555 154.419 155.696 153.732 157.986C153.732 157.986 120.128 151.366 89.2718 148.597Z",fill:"#009368"})),i.createElement("mask",{id:"mask11_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:126,y:101,width:33,height:37},jr||(jr=i.createElement("path",{d:"M126.658 101.375H158.853V137.388H126.658V101.375Z",fill:"white"}))),Lr||(Lr=i.createElement("g",{mask:"url(#mask11_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M131.867 101.374C131.091 106.131 130.306 110.886 129.493 115.636L127.033 129.882L126.9 129.68L142.89 133.479L150.876 135.415L158.854 137.388L150.834 135.594L142.823 133.761L126.82 130.022L126.658 129.984L126.687 129.821L129.234 115.59C130.09 110.848 130.974 106.111 131.867 101.374Z",fill:"black"})))),i.createElement("mask",{id:"mask12_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:128,y:103,width:3,height:3},Br||(Br=i.createElement("path",{d:"M128.257 103.153H130.112V105.017H128.257V103.153Z",fill:"white"}))),Ur||(Ur=i.createElement("g",{mask:"url(#mask12_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M130.113 104.086C130.11 103.866 130.013 103.65 129.849 103.511C129.685 103.372 129.47 103.316 129.275 103.338C128.872 103.385 128.611 103.746 128.617 104.086C128.61 104.425 128.871 104.788 129.275 104.834C129.47 104.856 129.686 104.8 129.849 104.661C130.013 104.522 130.11 104.306 130.113 104.086ZM130.113 104.086C130.122 104.522 129.774 104.97 129.275 105.014C129.033 105.036 128.77 104.959 128.573 104.787C128.376 104.616 128.259 104.353 128.257 104.086C128.258 103.819 128.375 103.555 128.572 103.383C128.769 103.211 129.033 103.135 129.275 103.157C129.774 103.201 130.121 103.65 130.113 104.086Z",fill:"black"})))),i.createElement("mask",{id:"mask13_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:127,y:109,width:3,height:2},Vr||(Vr=i.createElement("path",{d:"M127.418 109.031H129.275V110.895H127.418V109.031Z",fill:"white"}))),Hr||(Hr=i.createElement("g",{mask:"url(#mask13_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M129.274 109.963C129.272 109.743 129.175 109.527 129.011 109.389C128.846 109.25 128.631 109.193 128.436 109.216C128.033 109.262 127.772 109.623 127.778 109.963C127.772 110.303 128.032 110.666 128.436 110.712C128.631 110.734 128.847 110.677 129.011 110.538C129.175 110.399 129.272 110.183 129.274 109.963ZM129.274 109.963C129.283 110.399 128.935 110.847 128.436 110.891C128.194 110.914 127.931 110.837 127.734 110.665C127.537 110.494 127.42 110.23 127.418 109.963C127.42 109.697 127.537 109.433 127.734 109.261C127.93 109.088 128.194 109.012 128.436 109.035C128.936 109.079 129.283 109.527 129.274 109.963Z",fill:"black"})))),i.createElement("mask",{id:"mask14_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:126,y:115,width:3,height:3},zr||(zr=i.createElement("path",{d:"M126.386 115.242H128.242V117.106H126.386V115.242Z",fill:"white"}))),Zr||(Zr=i.createElement("g",{mask:"url(#mask14_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M128.242 116.174C128.24 115.954 128.143 115.738 127.979 115.599C127.815 115.461 127.599 115.404 127.404 115.426C127.002 115.473 126.74 115.834 126.746 116.174C126.74 116.513 127.001 116.876 127.404 116.922C127.6 116.944 127.815 116.888 127.979 116.749C128.143 116.61 128.24 116.394 128.242 116.174ZM128.242 116.174C128.251 116.61 127.904 117.058 127.404 117.101C127.163 117.124 126.899 117.048 126.703 116.876C126.506 116.704 126.388 116.44 126.387 116.174C126.388 115.908 126.505 115.643 126.702 115.472C126.899 115.299 127.163 115.223 127.404 115.246C127.904 115.289 128.251 115.738 128.242 116.174Z",fill:"black"})))),i.createElement("mask",{id:"mask15_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:125,y:121,width:3,height:3},Wr||(Wr=i.createElement("path",{d:"M125.355 121.453H127.211V123.316H125.355V121.453Z",fill:"white"}))),qr||(qr=i.createElement("g",{mask:"url(#mask15_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M127.21 122.385C127.208 122.165 127.111 121.949 126.947 121.81C126.783 121.672 126.568 121.615 126.372 121.637C125.97 121.684 125.708 122.045 125.714 122.385C125.708 122.724 125.969 123.088 126.372 123.134C126.568 123.155 126.783 123.099 126.947 122.959C127.111 122.821 127.208 122.605 127.21 122.385ZM127.21 122.385C127.22 122.821 126.872 123.269 126.372 123.313C126.13 123.335 125.867 123.258 125.671 123.087C125.474 122.915 125.356 122.652 125.355 122.385C125.356 122.118 125.473 121.854 125.67 121.683C125.866 121.51 126.13 121.434 126.372 121.456C126.872 121.5 127.22 121.949 127.21 122.385Z",fill:"black"})))),i.createElement("mask",{id:"mask16_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:128,y:131,width:3,height:3},Gr||(Gr=i.createElement("path",{d:"M128.871 131.357H130.727V133.221H128.871V131.357Z",fill:"white"}))),Yr||(Yr=i.createElement("g",{mask:"url(#mask16_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M130.727 132.289C130.725 132.069 130.627 131.853 130.463 131.715C130.299 131.576 130.084 131.519 129.889 131.542C129.486 131.588 129.225 131.95 129.231 132.289C129.224 132.629 129.485 132.992 129.889 133.038C130.084 133.06 130.299 133.003 130.464 132.864C130.627 132.725 130.725 132.509 130.727 132.289ZM130.727 132.289C130.736 132.725 130.388 133.173 129.889 133.217C129.647 133.24 129.384 133.163 129.187 132.991C128.99 132.82 128.872 132.556 128.871 132.289C128.872 132.023 128.989 131.759 129.186 131.587C129.383 131.415 129.647 131.338 129.889 131.361C130.389 131.405 130.736 131.854 130.727 132.289Z",fill:"black"})))),i.createElement("mask",{id:"mask17_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:134,y:132,width:3,height:3},Kr||(Kr=i.createElement("path",{d:"M134.733 132.787H136.589V134.651H134.733V132.787Z",fill:"white"}))),Qr||(Qr=i.createElement("g",{mask:"url(#mask17_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M136.589 133.719C136.586 133.5 136.489 133.284 136.325 133.145C136.161 133.006 135.946 132.949 135.751 132.972C135.348 133.019 135.087 133.38 135.093 133.719C135.086 134.059 135.347 134.422 135.751 134.468C135.946 134.49 136.162 134.433 136.325 134.294C136.489 134.155 136.586 133.939 136.589 133.719ZM136.589 133.719C136.598 134.155 136.25 134.604 135.751 134.647C135.509 134.669 135.246 134.593 135.049 134.421C134.852 134.249 134.735 133.986 134.733 133.719C134.735 133.453 134.851 133.189 135.048 133.017C135.245 132.845 135.509 132.769 135.751 132.791C136.25 132.835 136.597 133.284 136.589 133.719Z",fill:"black"})))),i.createElement("mask",{id:"mask18_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:140,y:134,width:3,height:3},Xr||(Xr=i.createElement("path",{d:"M140.596 134.217H142.452V136.081H140.596V134.217Z",fill:"white"}))),Jr||(Jr=i.createElement("g",{mask:"url(#mask18_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M142.451 135.15C142.449 134.93 142.352 134.714 142.188 134.575C142.024 134.436 141.809 134.38 141.614 134.402C141.211 134.448 140.949 134.81 140.956 135.15C140.949 135.489 141.21 135.852 141.614 135.898C141.809 135.92 142.024 135.863 142.188 135.724C142.352 135.585 142.449 135.369 142.451 135.15ZM142.451 135.15C142.46 135.585 142.112 136.034 141.614 136.077C141.371 136.099 141.109 136.023 140.912 135.851C140.715 135.679 140.597 135.416 140.596 135.15C140.597 134.883 140.714 134.619 140.911 134.447C141.108 134.274 141.371 134.199 141.614 134.221C142.113 134.265 142.46 134.714 142.451 135.15Z",fill:"black"})))),i.createElement("mask",{id:"mask19_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:146,y:135,width:3,height:3},$r||($r=i.createElement("path",{d:"M146.458 135.647H148.314V137.511H146.458V135.647Z",fill:"white"}))),ei||(ei=i.createElement("g",{mask:"url(#mask19_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M148.314 136.58C148.312 136.36 148.215 136.144 148.051 136.005C147.886 135.867 147.671 135.81 147.476 135.832C147.073 135.879 146.812 136.24 146.818 136.58C146.812 136.919 147.072 137.282 147.476 137.328C147.671 137.35 147.887 137.294 148.051 137.154C148.215 137.016 148.312 136.8 148.314 136.58ZM148.314 136.58C148.323 137.016 147.975 137.463 147.476 137.507C147.234 137.53 146.971 137.453 146.774 137.282C146.577 137.11 146.46 136.846 146.458 136.58C146.46 136.313 146.576 136.049 146.774 135.877C146.97 135.705 147.234 135.629 147.476 135.651C147.976 135.695 148.323 136.144 148.314 136.58Z",fill:"black"})))),i.createElement("mask",{id:"mask20_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:152,y:137,width:3,height:2},ti||(ti=i.createElement("path",{d:"M152.321 137.071H154.177V138.935H152.321V137.071Z",fill:"white"}))),ni||(ni=i.createElement("g",{mask:"url(#mask20_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M154.173 138.074C154.188 137.855 154.107 137.632 153.955 137.481C153.802 137.33 153.592 137.257 153.395 137.264C152.99 137.28 152.702 137.62 152.682 137.959C152.649 138.297 152.882 138.679 153.28 138.756C153.473 138.793 153.693 138.753 153.866 138.627C154.041 138.501 154.154 138.293 154.173 138.074ZM154.173 138.074C154.148 138.509 153.767 138.929 153.266 138.934C153.023 138.939 152.767 138.842 152.584 138.655C152.401 138.469 152.304 138.197 152.323 137.931C152.344 137.666 152.482 137.411 152.691 137.255C152.901 137.099 153.17 137.043 153.409 137.084C153.904 137.166 154.215 137.641 154.173 138.074Z",fill:"black"})))),i.createElement("mask",{id:"mask21_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:124,y:127,width:3,height:3},ri||(ri=i.createElement("path",{d:"M124.322 127.663H126.179V129.527H124.322V127.663Z",fill:"white"}))),ii||(ii=i.createElement("g",{mask:"url(#mask21_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M126.178 128.595C126.176 128.375 126.079 128.16 125.915 128.021C125.75 127.882 125.535 127.825 125.341 127.848C124.938 127.894 124.676 128.256 124.682 128.595C124.676 128.935 124.937 129.298 125.341 129.344C125.536 129.366 125.751 129.309 125.915 129.17C126.079 129.031 126.176 128.815 126.178 128.595ZM126.178 128.595C126.187 129.031 125.839 129.479 125.341 129.523C125.099 129.546 124.836 129.469 124.639 129.297C124.441 129.126 124.324 128.862 124.322 128.595C124.324 128.329 124.441 128.065 124.638 127.893C124.835 127.721 125.098 127.644 125.341 127.667C125.84 127.711 126.187 128.16 126.178 128.595Z",fill:"black"})))),i.createElement("mask",{id:"mask22_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:93,y:115,width:28,height:28},oi||(oi=i.createElement("path",{d:"M93.6952 115.255H120.801V142.362H93.6952V115.255Z",fill:"white"}))),ai||(ai=i.createElement("g",{mask:"url(#mask22_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M120.625 130.976C119.428 138.363 112.469 143.382 105.081 142.185C97.6935 140.988 92.6751 134.029 93.8718 126.641C95.0684 119.254 102.028 114.235 109.416 115.432C116.803 116.628 121.822 123.588 120.625 130.976Z",fill:"black"})))),si||(si=i.createElement("path",{d:"M117.976 130.547C117.016 136.472 111.435 140.496 105.51 139.536C99.5856 138.576 95.5608 132.995 96.5204 127.071C97.4804 121.146 103.062 117.121 108.986 118.08C114.911 119.04 118.936 124.621 117.976 130.547Z",fill:"#C6C6C6"})),li||(li=i.createElement("path",{d:"M106.179 127.361L103.639 126.949L104.05 124.409L106.591 124.82L106.179 127.361Z",fill:"#009368"})),ci||(ci=i.createElement("path",{d:"M104.05 124.409L101.51 123.997L101.921 121.457L104.462 121.868L104.05 124.409Z",fill:"#009368"})),ui||(ui=i.createElement("path",{d:"M114.213 126.055L111.672 125.644L112.083 123.103L114.624 123.515L114.213 126.055Z",fill:"#009368"})),di||(di=i.createElement("path",{d:"M102.413 134.514L99.8724 134.103L100.284 131.562L102.824 131.973L102.413 134.514Z",fill:"#009368"})),hi||(hi=i.createElement("path",{d:"M112.575 136.161L110.035 135.749L110.446 133.209L112.987 133.62L112.575 136.161Z",fill:"#009368"})),pi||(pi=i.createElement("path",{d:"M105.365 132.385L102.825 131.973L103.236 129.433L105.777 129.844L105.365 132.385Z",fill:"#009368"})),fi||(fi=i.createElement("path",{d:"M108.313 130.285L105.772 129.873L106.184 127.333L108.725 127.744L108.313 130.285Z",fill:"#009368"})),mi||(mi=i.createElement("path",{d:"M111.26 128.185L108.72 127.773L109.131 125.232L111.672 125.644L111.26 128.185Z",fill:"#009368"})),gi||(gi=i.createElement("path",{d:"M110.447 133.208L107.906 132.797L108.317 130.256L110.858 130.667L110.447 133.208Z",fill:"#009368"})),vi||(vi=i.createElement("path",{d:"M156.796 137.62C155.065 144.902 147.76 149.401 140.479 147.671C133.198 145.941 128.698 138.635 130.428 131.354C132.158 124.073 139.464 119.573 146.745 121.304C154.026 123.034 158.526 130.339 156.796 137.62Z",fill:"#009368"})),i.createElement("mask",{id:"mask23_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:130,y:120,width:28,height:29},Ci||(Ci=i.createElement("path",{d:"M130.058 120.933H157.166V148.042H130.058V120.933Z",fill:"white"}))),yi||(yi=i.createElement("g",{mask:"url(#mask23_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M156.796 137.62C155.065 144.902 147.76 149.401 140.479 147.671C133.197 145.941 128.697 138.635 130.428 131.354C132.158 124.073 139.464 119.573 146.745 121.304C154.026 123.034 158.526 130.339 156.796 137.62Z",fill:"black"})))),i.createElement("mask",{id:"mask24_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:130,y:120,width:28,height:19},bi||(bi=i.createElement("path",{d:"M130.17 120.933H157.167V138.405H130.17V120.933Z",fill:"white"}))),wi||(wi=i.createElement("g",{mask:"url(#mask24_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M156.797 137.623C156.734 137.89 156.663 138.148 156.584 138.405L130.17 132.772C130.232 132.3 130.317 131.829 130.428 131.353C132.157 124.073 139.464 119.573 146.747 121.303C154.027 123.033 158.527 130.339 156.797 137.623Z",fill:"black"})))),xi||(xi=i.createElement("path",{d:"M154.185 137C152.797 142.839 146.938 146.449 141.099 145.061C135.26 143.673 131.651 137.814 133.039 131.975C134.427 126.135 140.285 122.526 146.125 123.914C151.964 125.302 155.573 131.161 154.185 137Z",fill:"#C6C6C6"})),Ai||(Ai=i.createElement("path",{d:"M143.383 141.017L140.879 140.422L143.841 127.958L146.345 128.553L143.383 141.017Z",fill:"#009368"})),Ei||(Ei=i.createElement("path",{d:"M157.584 137.368L129.839 130.774C131.659 123.115 139.347 118.382 147.007 120.202C154.667 122.023 159.404 129.708 157.584 137.368Z",fill:"#009368"})),i.createElement("mask",{id:"mask25_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:129,y:119,width:29,height:19},_i||(_i=i.createElement("path",{d:"M129.839 119.812H157.973V137.368H129.839V119.812Z",fill:"white"}))),Ti||(Ti=i.createElement("g",{mask:"url(#mask25_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M157.583 137.368L129.838 130.774C131.659 123.115 139.347 118.382 147.007 120.202C154.667 122.023 159.404 129.708 157.583 137.368Z",fill:"black"})))),i.createElement("mask",{id:"mask26_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:120,y:138,width:8,height:6},Si||(Si=i.createElement("path",{d:"M120.034 138.284H127.731V143.67H120.034V138.284Z",fill:"white"}))),ki||(ki=i.createElement("g",{mask:"url(#mask26_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M120.034 142.543C120.104 141.459 120.503 140.361 121.287 139.492C121.675 139.054 122.192 138.71 122.762 138.501C123.333 138.291 123.951 138.253 124.538 138.304C125.134 138.373 125.744 138.584 126.241 138.959C126.728 139.344 127.102 139.844 127.322 140.383C127.774 141.457 127.824 142.606 127.605 143.671C127.424 142.606 127.149 141.573 126.65 140.724C126.154 139.87 125.369 139.338 124.435 139.255C123.482 139.137 122.551 139.393 121.802 140.026C121.053 140.657 120.481 141.562 120.034 142.543Z",fill:"black"})))),Pi||(Pi=i.createElement("path",{d:"M92.984 114.903C93.0963 113.455 93.259 112.015 93.3963 110.57C93.5504 109.128 93.7088 107.687 93.884 106.248C94.051 104.808 94.2382 103.371 94.4225 101.933C94.603 100.495 94.8113 99.0608 95.0043 97.6242L95.0561 97.2407L95.4449 97.2651C98.5717 97.4619 101.692 97.7144 104.807 98.0351C106.364 98.1949 107.921 98.3754 109.474 98.5755C111.025 98.7987 112.578 99.0037 114.12 99.2859L104.751 98.7061L95.3931 98.1008L95.8333 97.7418C95.6206 99.1751 95.4229 100.611 95.1977 102.043C94.976 103.475 94.7576 104.908 94.5185 106.338C94.2881 107.769 94.0409 109.198 93.7889 110.626C93.5206 112.052 93.2773 113.481 92.984 114.903Z",fill:"white"})),Di||(Di=i.createElement("path",{d:"M95.2376 125.855C95.552 124.115 96.3431 122.456 97.4058 121.012C97.6698 120.649 97.9712 120.313 98.2607 119.968C98.5741 119.645 98.9 119.332 99.2216 119.014C99.5725 118.729 99.9267 118.446 100.287 118.172C100.669 117.929 101.047 117.676 101.436 117.444C101.846 117.247 102.252 117.044 102.666 116.857L103.953 116.412L105.286 116.137C105.733 116.071 106.187 116.058 106.637 116.024C108.443 115.977 110.221 116.363 111.854 117.024C110.117 116.698 108.386 116.517 106.679 116.681C104.977 116.839 103.323 117.348 101.844 118.181C100.354 118.995 99.0339 120.117 97.9184 121.421C96.8077 122.731 95.8885 124.215 95.2376 125.855Z",fill:"white"})),Ni||(Ni=i.createElement("path",{d:"M132.618 129.516C133.17 127.835 134.182 126.302 135.434 125.018C135.746 124.695 136.09 124.404 136.425 124.102C136.78 123.825 137.146 123.56 137.508 123.29C137.895 123.056 138.286 122.825 138.68 122.603C139.092 122.415 139.501 122.217 139.918 122.041C140.351 121.902 140.782 121.757 141.217 121.629L142.554 121.366L143.912 121.278C144.364 121.274 144.816 121.324 145.265 121.352C147.061 121.556 148.769 122.183 150.294 123.063C148.618 122.501 146.929 122.083 145.217 122.008C143.509 121.931 141.801 122.206 140.221 122.827C138.632 123.427 137.17 124.357 135.886 125.494C134.605 126.638 133.489 127.981 132.618 129.516Z",fill:"white"})),Fi||(Fi=i.createElement("path",{d:"M90.7882 172.941C87.3168 172.941 79.7174 172.161 74.8277 165.873C68.5709 157.83 70.8322 142.394 70.9315 141.741L73.6478 142.153C73.6253 142.302 71.4662 157.077 76.9958 164.187C82.4021 171.138 92.208 170.14 92.3064 170.128L92.6155 172.858C92.508 172.87 91.836 172.941 90.7882 172.941Z",fill:"#009368"})),i.createElement("mask",{id:"mask27_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:70,y:141,width:23,height:32},Ii||(Ii=i.createElement("path",{d:"M70.4532 141.741H92.6158V172.941H70.4532V141.741Z",fill:"white"}))),Ri||(Ri=i.createElement("g",{mask:"url(#mask27_1_381)"},i.createElement("g",{opacity:.399994},i.createElement("path",{d:"M90.7882 172.941C87.3169 172.941 79.7175 172.161 74.8277 165.873C68.5709 157.83 70.8322 142.394 70.9316 141.741L73.6479 142.153C73.6253 142.302 71.4663 157.077 76.9959 164.187C82.4021 171.138 92.2081 170.14 92.3065 170.128L92.6156 172.858C92.5081 172.87 91.8361 172.941 90.7882 172.941Z",fill:"white"})))),Mi||(Mi=i.createElement("path",{d:"M74.4471 144.023C73.9517 144.023 73.4458 143.981 72.9307 143.898C68.3487 143.156 66.3202 140.413 65.425 138.244C64.5279 136.07 64.3205 133.44 64.8087 130.427L70.6195 131.369C70.3171 133.235 70.405 134.88 70.8672 135.999C71.1965 136.798 71.8359 137.757 73.872 138.087C74.8023 138.237 75.8079 138.158 76.861 136.57C77.6741 135.344 78.1623 133.675 78.3336 132.618L84.1445 133.56C84.0096 134.391 83.4403 137.3 81.7671 139.823C79.9474 142.567 77.3866 144.023 74.4471 144.023Z",fill:"#009368"})),Oi||(Oi=i.createElement("path",{d:"M96.5281 180.804C96.5181 180.679 91.6053 179.894 91.6053 179.894L89.2206 163.859L95.1707 161.509L96.5281 180.804Z",fill:"#009368"})),i.createElement("mask",{id:"mask28_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:89,y:161,width:8,height:20},ji||(ji=i.createElement("path",{d:"M89.2206 161.509H96.5281V180.804H89.2206V161.509Z",fill:"white"}))),Li||(Li=i.createElement("g",{mask:"url(#mask28_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M96.5275 180.804C96.5174 180.679 91.6046 179.894 91.6046 179.894L89.22 163.859L95.1701 161.509L96.5275 180.804Z",fill:"black"})))),Bi||(Bi=i.createElement("path",{d:"M145.102 180.834C145.115 180.709 150.044 180.033 150.044 180.033L152.783 164.055L146.886 161.574L145.102 180.834Z",fill:"#009368"})),i.createElement("mask",{id:"mask29_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:145,y:161,width:8,height:20},Ui||(Ui=i.createElement("path",{d:"M145.102 161.573H152.783V180.834H145.102V161.573Z",fill:"white"}))),Vi||(Vi=i.createElement("g",{mask:"url(#mask29_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M145.102 180.833C145.115 180.709 150.044 180.033 150.044 180.033L152.783 164.055L146.886 161.573L145.102 180.833Z",fill:"black"})))),Hi||(Hi=i.createElement("path",{d:"M94.4839 157.919C94.4839 157.919 134.221 156.219 147.644 158.457C147.644 158.457 143.703 196.908 143.489 197.653C143.489 197.653 103.961 197.547 97.782 197.653C97.782 197.653 94.433 172.085 94.4839 157.919Z",fill:"#009368"})),i.createElement("mask",{id:"mask30_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:106,y:168,width:30,height:21},zi||(zi=i.createElement("path",{d:"M106.554 168.144H135.574V188.491H106.554V168.144Z",fill:"white"}))),Zi||(Zi=i.createElement("g",{mask:"url(#mask30_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M106.553 168.455C106.553 168.455 128.246 167.599 135.574 168.726C135.574 168.726 133.422 188.116 133.306 188.491C133.306 188.491 111.727 188.438 108.353 188.491C108.353 188.491 106.871 175.221 106.553 168.455Z",fill:"black"})))),i.createElement("mask",{id:"mask31_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:106,y:168,width:4,height:21},Wi||(Wi=i.createElement("path",{d:"M106.552 168.406H109.519V188.493H106.552V168.406Z",fill:"white"}))),qi||(qi=i.createElement("g",{mask:"url(#mask31_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M109.519 188.483C109.022 188.483 108.628 188.49 108.353 188.493C108.353 188.493 106.872 175.22 106.552 168.453C106.552 168.453 107.046 168.434 107.907 168.406L109.519 188.483Z",fill:"black"})))),Gi||(Gi=i.createElement("path",{d:"M117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239ZM117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239ZM117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133ZM117.765 176.24C117.324 177.643 115.824 178.425 114.422 177.983C113.021 177.541 112.239 176.042 112.681 174.639C113.123 173.237 114.624 172.456 116.025 172.898C117.426 173.339 118.208 174.839 117.765 176.24ZM116.686 170.802C114.122 169.995 111.393 171.418 110.585 173.979C109.778 176.539 111.2 179.272 113.762 180.078C116.322 180.885 119.054 179.462 119.861 176.901C120.668 174.341 119.246 171.608 116.686 170.802ZM117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239ZM117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239ZM117.155 176.048C116.818 177.117 115.682 177.709 114.615 177.373C113.547 177.037 112.955 175.9 113.291 174.831C113.628 173.764 114.765 173.172 115.833 173.508C116.899 173.844 117.492 174.981 117.155 176.048ZM115.917 173.239C114.701 172.856 113.406 173.531 113.023 174.746C112.639 175.963 113.315 177.258 114.531 177.641C115.746 178.024 117.04 177.349 117.423 176.133C117.806 174.918 117.132 173.622 115.917 173.239Z",fill:"#009368"})),Yi||(Yi=i.createElement("path",{d:"M114.714 180.167L112.931 179.605L112.632 180.898L114.218 181.398L114.714 180.167Z",fill:"#009368"})),Ki||(Ki=i.createElement("path",{d:"M111.509 178.496L110.645 176.838L109.519 177.541L110.287 179.016L111.509 178.496Z",fill:"#009368"})),Qi||(Qi=i.createElement("path",{d:"M110.424 175.049L110.986 173.265L109.692 172.966L109.193 174.552L110.424 175.049Z",fill:"#009368"})),Xi||(Xi=i.createElement("path",{d:"M112.094 171.843L113.753 170.98L113.05 169.853L111.575 170.622L112.094 171.843Z",fill:"#009368"})),Ji||(Ji=i.createElement("path",{d:"M115.542 170.758L117.325 171.32L117.625 170.027L116.038 169.527L115.542 170.758Z",fill:"#009368"})),$i||($i=i.createElement("path",{d:"M118.747 172.429L119.611 174.087L120.737 173.384L119.969 171.909L118.747 172.429Z",fill:"#009368"})),eo||(eo=i.createElement("path",{d:"M119.832 175.877L119.27 177.66L120.564 177.959L121.064 176.373L119.832 175.877Z",fill:"#009368"})),to||(to=i.createElement("path",{d:"M118.162 179.081L116.503 179.945L117.206 181.071L118.681 180.303L118.162 179.081Z",fill:"#009368"})),no||(no=i.createElement("path",{d:"M124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026ZM124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026ZM124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175ZM124.417 182.307C123.877 183.136 122.763 183.372 121.934 182.832C121.105 182.292 120.869 181.179 121.409 180.349C121.949 179.519 123.064 179.284 123.893 179.824C124.721 180.364 124.957 181.478 124.417 182.307ZM124.7 178.584C123.184 177.597 121.156 178.027 120.169 179.541C119.183 181.057 119.611 183.085 121.126 184.072C122.641 185.057 124.67 184.629 125.656 183.114C126.643 181.6 126.215 179.57 124.7 178.584ZM124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026ZM124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026ZM124.056 182.072C123.645 182.704 122.8 182.882 122.168 182.471C121.538 182.06 121.359 181.216 121.77 180.583C122.181 179.953 123.026 179.774 123.658 180.185C124.288 180.596 124.467 181.441 124.056 182.072ZM123.761 180.026C123.042 179.558 122.079 179.762 121.611 180.48C121.143 181.2 121.347 182.162 122.066 182.63C122.785 183.098 123.746 182.895 124.214 182.175C124.682 181.457 124.479 180.494 123.761 180.026Z",fill:"#DCDCDC"})),ro||(ro=i.createElement("path",{d:"M121.728 184.301L120.673 183.614L120.245 184.399L121.184 185.01L121.728 184.301Z",fill:"#DCDCDC"})),io||(io=i.createElement("path",{d:"M119.951 182.638L119.691 181.407L118.833 181.659L119.065 182.754L119.951 182.638Z",fill:"#DCDCDC"})),oo||(oo=i.createElement("path",{d:"M119.871 180.206L120.558 179.151L119.773 178.723L119.162 179.661L119.871 180.206Z",fill:"#DCDCDC"})),ao||(ao=i.createElement("path",{d:"M121.534 178.43L122.765 178.169L122.513 177.312L121.418 177.543L121.534 178.43Z",fill:"#DCDCDC"})),so||(so=i.createElement("path",{d:"M123.966 178.349L125.021 179.037L125.449 178.252L124.511 177.64L123.966 178.349Z",fill:"#DCDCDC"})),lo||(lo=i.createElement("path",{d:"M125.743 180.012L126.003 181.243L126.86 180.991L126.629 179.896L125.743 180.012Z",fill:"#DCDCDC"})),co||(co=i.createElement("path",{d:"M125.823 182.444L125.136 183.499L125.921 183.927L126.532 182.989L125.823 182.444Z",fill:"#DCDCDC"})),uo||(uo=i.createElement("path",{d:"M124.16 184.221L122.928 184.481L123.18 185.338L124.276 185.107L124.16 184.221Z",fill:"#DCDCDC"})),ho||(ho=i.createElement("path",{d:"M146.686 193.179L148.213 193.463L152.581 163.882L150.84 163.562L146.686 193.179Z",fill:"#009368"})),po||(po=i.createElement("path",{d:"M133.306 188.491L135.574 168.726L150.84 163.562C150.84 163.562 146.685 193.499 146.685 193.179L133.306 188.491Z",fill:"#009368"})),i.createElement("mask",{id:"mask32_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:133,y:163,width:18,height:31},fo||(fo=i.createElement("path",{d:"M133.306 163.562H150.84V193.181H133.306V163.562Z",fill:"white"}))),mo||(mo=i.createElement("g",{mask:"url(#mask32_1_381)"},i.createElement("g",{opacity:.399994},i.createElement("path",{d:"M133.306 188.491L135.574 168.726L150.84 163.562C150.84 163.562 146.685 193.499 146.685 193.179L133.306 188.491Z",fill:"white"})))),go||(go=i.createElement("path",{d:"M96.3073 169.527C96.0586 167.889 95.9242 166.239 95.822 164.587C95.7754 163.761 95.7543 162.933 95.7361 162.105C95.7193 161.277 95.7049 160.449 95.7293 159.621L95.7361 159.404L95.9477 159.393C98.9804 159.23 102.011 159.031 105.046 158.898C108.079 158.748 111.113 158.613 114.148 158.517C111.122 158.792 108.094 159.025 105.065 159.244C102.038 159.481 99.0063 159.651 95.977 159.857L96.1954 159.629L96.1829 162.1L96.2117 164.573C96.2161 165.398 96.2309 166.223 96.2549 167.048L96.3073 169.527Z",fill:"white"})),vo||(vo=i.createElement("path",{d:"M137.704 169.016C138.649 168.567 139.61 168.149 140.582 167.764C141.551 167.369 142.529 166.996 143.518 166.653C144.509 166.314 145.503 165.984 146.514 165.703C147.523 165.418 148.541 165.156 149.582 164.986L149.838 164.944L149.792 165.188C149.552 166.467 149.301 167.746 149.005 169.016C149.116 167.716 149.273 166.424 149.44 165.132L149.65 165.335C148.642 165.575 147.642 165.856 146.644 166.151C145.648 166.449 144.654 166.763 143.663 167.086L137.704 169.016Z",fill:"white"})),i.createElement("mask",{id:"mask33_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:102,y:157,width:3,height:41},Co||(Co=i.createElement("path",{d:"M102.914 157.999H104.271V197.572H102.914V157.999Z",fill:"white"}))),yo||(yo=i.createElement("g",{mask:"url(#mask33_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M102.913 157.999L103.17 162.943L103.39 167.888L103.771 177.779L104.069 187.674L104.188 192.622L104.271 197.572L104.013 192.629L103.793 187.683L103.412 177.791L103.115 167.897L102.995 162.948L102.913 157.999Z",fill:"black"})))),i.createElement("mask",{id:"mask34_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:99,y:160,width:3,height:3},bo||(bo=i.createElement("path",{d:"M99.6611 160.229H101.517V162.093H99.6611V160.229Z",fill:"white"}))),wo||(wo=i.createElement("g",{mask:"url(#mask34_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M101.497 160.979C101.452 160.764 101.314 160.571 101.126 160.468C100.937 160.364 100.715 160.351 100.528 160.411C100.143 160.537 99.9581 160.943 100.031 161.274C100.092 161.608 100.419 161.913 100.824 161.878C101.02 161.861 101.22 161.763 101.353 161.594C101.486 161.426 101.539 161.195 101.497 160.979ZM101.497 160.979C101.592 161.404 101.34 161.912 100.859 162.053C100.627 162.124 100.354 162.1 100.127 161.971C99.9 161.842 99.7325 161.607 99.6782 161.346C99.6269 161.084 99.6893 160.802 99.8486 160.595C100.007 160.387 100.251 160.26 100.492 160.234C100.991 160.178 101.42 160.549 101.497 160.979Z",fill:"black"})))),i.createElement("mask",{id:"mask35_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:100,y:166,width:2,height:3},xo||(xo=i.createElement("path",{d:"M100.001 166.156H101.857V168.02H100.001V166.156Z",fill:"white"}))),Ao||(Ao=i.createElement("g",{mask:"url(#mask35_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M101.837 166.907C101.792 166.692 101.654 166.499 101.466 166.395C101.277 166.292 101.055 166.279 100.868 166.339C100.483 166.465 100.298 166.871 100.371 167.202C100.432 167.536 100.759 167.841 101.164 167.806C101.36 167.789 101.56 167.691 101.693 167.522C101.826 167.353 101.878 167.122 101.837 166.907ZM101.837 166.907C101.932 167.332 101.68 167.84 101.199 167.981C100.966 168.051 100.694 168.028 100.467 167.899C100.24 167.77 100.072 167.534 100.018 167.273C99.9671 167.012 100.029 166.729 100.188 166.523C100.347 166.315 100.591 166.188 100.833 166.162C101.331 166.106 101.76 166.477 101.837 166.907Z",fill:"black"})))),i.createElement("mask",{id:"mask36_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:100,y:172,width:3,height:3},Eo||(Eo=i.createElement("path",{d:"M100.217 172.448H102.074V174.312H100.217V172.448Z",fill:"white"}))),_o||(_o=i.createElement("g",{mask:"url(#mask36_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M102.054 173.198C102.008 172.983 101.87 172.79 101.682 172.687C101.494 172.584 101.271 172.571 101.085 172.631C100.699 172.756 100.514 173.162 100.587 173.494C100.648 173.828 100.976 174.133 101.38 174.098C101.576 174.081 101.776 173.983 101.909 173.814C102.043 173.645 102.095 173.414 102.054 173.198ZM102.054 173.198C102.149 173.624 101.896 174.132 101.415 174.273C101.183 174.343 100.91 174.32 100.683 174.191C100.456 174.062 100.289 173.826 100.235 173.565C100.183 173.304 100.246 173.021 100.405 172.814C100.564 172.607 100.807 172.479 101.049 172.454C101.547 172.398 101.976 172.769 102.054 173.198Z",fill:"black"})))),i.createElement("mask",{id:"mask37_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:100,y:178,width:3,height:3},To||(To=i.createElement("path",{d:"M100.434 178.741H102.29V180.605H100.434V178.741Z",fill:"white"}))),So||(So=i.createElement("g",{mask:"url(#mask37_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M102.27 179.491C102.224 179.276 102.087 179.083 101.898 178.979C101.71 178.876 101.488 178.863 101.301 178.923C100.915 179.049 100.731 179.455 100.804 179.786C100.865 180.12 101.192 180.425 101.597 180.39C101.792 180.373 101.993 180.275 102.126 180.106C102.259 179.938 102.311 179.706 102.27 179.491ZM102.27 179.491C102.365 179.916 102.113 180.424 101.632 180.565C101.399 180.635 101.126 180.612 100.9 180.483C100.673 180.354 100.505 180.118 100.451 179.857C100.399 179.596 100.462 179.314 100.621 179.107C100.78 178.899 101.023 178.772 101.265 178.746C101.764 178.69 102.193 179.062 102.27 179.491Z",fill:"black"})))),i.createElement("mask",{id:"mask38_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:100,y:185,width:3,height:2},ko||(ko=i.createElement("path",{d:"M100.649 185.032H102.505V186.896H100.649V185.032Z",fill:"white"}))),Po||(Po=i.createElement("g",{mask:"url(#mask38_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M102.486 185.783C102.44 185.568 102.302 185.375 102.114 185.271C101.925 185.168 101.703 185.155 101.517 185.215C101.131 185.34 100.946 185.747 101.019 186.078C101.08 186.412 101.408 186.717 101.812 186.682C102.008 186.665 102.208 186.567 102.341 186.398C102.475 186.229 102.527 185.998 102.486 185.783ZM102.486 185.783C102.58 186.208 102.328 186.716 101.847 186.857C101.615 186.928 101.342 186.904 101.115 186.775C100.888 186.646 100.721 186.41 100.666 186.149C100.615 185.888 100.677 185.605 100.837 185.399C100.995 185.191 101.239 185.064 101.481 185.038C101.979 184.982 102.408 185.353 102.486 185.783Z",fill:"black"})))),i.createElement("mask",{id:"mask39_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:100,y:191,width:3,height:3},Do||(Do=i.createElement("path",{d:"M100.865 191.325H102.721V193.188H100.865V191.325Z",fill:"white"}))),No||(No=i.createElement("g",{mask:"url(#mask39_1_381)"},i.createElement("g",{opacity:.100006},i.createElement("path",{d:"M102.702 192.075C102.656 191.86 102.518 191.667 102.33 191.563C102.142 191.46 101.92 191.447 101.733 191.507C101.347 191.632 101.162 192.039 101.235 192.37C101.296 192.704 101.624 193.009 102.028 192.974C102.224 192.957 102.424 192.859 102.557 192.69C102.691 192.521 102.743 192.291 102.702 192.075ZM102.702 192.075C102.797 192.5 102.544 193.008 102.064 193.149C101.831 193.22 101.558 193.196 101.331 193.067C101.104 192.938 100.937 192.702 100.883 192.441C100.831 192.18 100.894 191.897 101.053 191.691C101.212 191.483 101.455 191.356 101.697 191.33C102.195 191.274 102.624 191.645 102.702 192.075Z",fill:"black"})))),Fo||(Fo=i.createElement("path",{d:"M82.9507 211.142L82.1539 208.513L104.654 201.695L105.451 204.324L82.9507 211.142Z",fill:"#009368"})),i.createElement("mask",{id:"mask40_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:82,y:201,width:24,height:11},Io||(Io=i.createElement("path",{d:"M82.1535 201.695H105.451V211.142H82.1535V201.695Z",fill:"white"}))),Ro||(Ro=i.createElement("g",{mask:"url(#mask40_1_381)"},i.createElement("g",{opacity:.399994},i.createElement("path",{d:"M82.9501 211.142L82.1533 208.513L104.654 201.694L105.451 204.324L82.9501 211.142Z",fill:"white"})))),Mo||(Mo=i.createElement("path",{d:"M92.4932 208.779L91.2562 204.891L93.8742 204.058L95.1111 207.947L92.4932 208.779Z",fill:"#009368"})),Oo||(Oo=i.createElement("path",{d:"M82.765 214.995L76.9589 189.853L59.4341 194.007L68.0636 218.51L82.765 214.995Z",fill:"#009368"})),jo||(jo=i.createElement("path",{d:"M86.6535 213.716L82.765 214.995L76.9589 189.853L82.5519 191.184L86.6535 213.716Z",fill:"#009368"})),i.createElement("mask",{id:"mask41_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:76,y:189,width:11,height:26},Lo||(Lo=i.createElement("path",{d:"M76.9589 189.852H86.6535V214.994H76.9589V189.852Z",fill:"white"}))),Bo||(Bo=i.createElement("g",{mask:"url(#mask41_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M86.6535 213.716L82.7651 214.995L76.959 189.853L82.5519 191.184L86.6535 213.716Z",fill:"black"})))),Uo||(Uo=i.createElement("path",{d:"M108.036 203.01C108.036 204.657 106.7 205.992 105.053 205.992C103.405 205.992 102.07 204.657 102.07 203.01C102.07 201.362 103.405 200.026 105.053 200.026C106.7 200.026 108.036 201.362 108.036 203.01Z",fill:"#009368"})),Vo||(Vo=i.createElement("path",{d:"M157.434 211.12L134.948 204.254L135.75 201.627L158.237 208.492L157.434 211.12Z",fill:"#009368"})),i.createElement("mask",{id:"mask42_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:134,y:201,width:25,height:11},Ho||(Ho=i.createElement("path",{d:"M134.948 201.627H158.237V211.12H134.948V201.627Z",fill:"white"}))),zo||(zo=i.createElement("g",{mask:"url(#mask42_1_381)"},i.createElement("g",{opacity:.399994},i.createElement("path",{d:"M157.435 211.12L134.949 204.254L135.751 201.627L158.237 208.492L157.435 211.12Z",fill:"white"})))),Zo||(Zo=i.createElement("path",{d:"M147.896 208.737L145.28 207.898L146.526 204.013L149.142 204.851L147.896 208.737Z",fill:"#009368"})),Wo||(Wo=i.createElement("path",{d:"M157.612 214.973L163.471 189.843L180.987 194.035L172.305 218.52L157.612 214.973Z",fill:"#009368"})),qo||(qo=i.createElement("path",{d:"M153.726 213.686L157.612 214.973L163.471 189.843L157.875 191.163L153.726 213.686Z",fill:"#009368"})),i.createElement("mask",{id:"mask43_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:153,y:189,width:11,height:26},Go||(Go=i.createElement("path",{d:"M153.726 189.843H163.471V214.973H153.726V189.843Z",fill:"white"}))),Yo||(Yo=i.createElement("g",{mask:"url(#mask43_1_381)"},i.createElement("g",{opacity:.199997},i.createElement("path",{d:"M153.725 213.686L157.612 214.972L163.471 189.843L157.875 191.163L153.725 213.686Z",fill:"black"})))),Ko||(Ko=i.createElement("path",{d:"M132.366 202.934C132.363 204.581 133.696 205.92 135.343 205.924C136.991 205.926 138.329 204.594 138.332 202.947C138.336 201.299 137.003 199.961 135.356 199.957C133.709 199.954 132.37 201.286 132.366 202.934Z",fill:"#009368"})),Qo||(Qo=i.createElement("path",{d:"M154.878 171.923C154.948 171.857 162.176 165.154 170.677 167.447C179.371 169.793 186.549 182.887 186.62 183.019L189.037 181.713C188.723 181.132 181.236 167.446 171.392 164.795C161.381 162.095 153.324 169.611 152.986 169.932L154.878 171.923Z",fill:"#009368"})),i.createElement("mask",{id:"mask44_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:152,y:164,width:38,height:20},Xo||(Xo=i.createElement("path",{d:"M152.986 164.211H189.036V183.019H152.986V164.211Z",fill:"white"}))),Jo||(Jo=i.createElement("g",{mask:"url(#mask44_1_381)"},i.createElement("g",{opacity:.399994},i.createElement("path",{d:"M154.878 171.923C154.949 171.857 162.176 165.154 170.677 167.447C179.371 169.793 186.549 182.887 186.621 183.019L189.037 181.713C188.723 181.132 181.236 167.445 171.393 164.794C161.381 162.094 153.324 169.611 152.986 169.932L154.878 171.923Z",fill:"white"})))),$o||($o=i.createElement("path",{d:"M183.416 196.202L188.623 193.453C188.123 192.507 187.507 190.881 187.418 189.412C187.302 187.51 188.057 186.841 188.89 186.401C190.715 185.438 191.803 185.82 192.546 186.257C193.589 186.873 194.65 188.133 195.533 189.806L200.739 187.057C199.314 184.359 197.565 182.384 195.539 181.188C193.517 179.997 190.247 179.029 186.142 181.195C182.942 182.885 181.308 185.93 181.542 189.771C181.726 192.792 183.023 195.457 183.416 196.202Z",fill:"#009368"})),ea||(ea=i.createElement("path",{d:"M155.976 162.751C157.104 161.971 158.259 161.237 159.418 160.509C160.574 159.777 161.75 159.078 162.926 158.378C164.107 157.688 165.289 156.999 166.49 156.342L168.291 155.358C168.902 155.045 169.502 154.718 170.12 154.418C169.558 154.812 168.98 155.179 168.411 155.561L166.677 156.66C165.521 157.392 164.345 158.092 163.169 158.791C161.988 159.48 160.806 160.169 159.605 160.826C158.406 161.487 157.205 162.141 155.976 162.751Z",fill:"#C6C6C6"})),ta||(ta=i.createElement("path",{d:"M152.986 173.984C154.602 174.904 156.133 175.943 157.644 177.011C159.146 178.091 160.627 179.2 162.024 180.43C160.407 179.51 158.876 178.471 157.365 177.402C155.863 176.321 154.382 175.211 152.986 173.984Z",fill:"#C6C6C6"})),na||(na=i.createElement("path",{d:"M155.64 172.602C156.887 172.981 158.115 173.409 159.34 173.844C160.566 174.274 161.779 174.74 162.993 175.205C164.202 175.681 165.41 176.159 166.606 176.67L168.398 177.439C168.989 177.712 169.586 177.97 170.172 178.256C169.547 178.071 168.932 177.857 168.313 177.659L166.472 177.014C165.246 176.584 164.032 176.118 162.819 175.652C161.61 175.175 160.401 174.698 159.207 174.187C158.01 173.679 156.815 173.165 155.64 172.602Z",fill:"#C6C6C6"})),ra||(ra=i.createElement("path",{d:"M159.182 163.805C160.377 163.494 161.582 163.235 162.788 162.984C163.992 162.728 165.203 162.509 166.414 162.29C167.627 162.082 168.84 161.875 170.06 161.705L171.89 161.451C172.503 161.384 173.113 161.3 173.729 161.247C173.132 161.408 172.53 161.537 171.931 161.683L170.124 162.069C168.92 162.324 167.708 162.544 166.497 162.762C165.284 162.97 164.071 163.176 162.851 163.346C161.632 163.522 160.412 163.689 159.182 163.805Z",fill:"#C6C6C6"}))),i.createElement("mask",{id:"mask45_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:240,height:241},ia||(ia=i.createElement("path",{d:"M0 0.500076H240V240.5H0V0.500076Z",fill:"white"}))),oa||(oa=i.createElement("g",{mask:"url(#mask45_1_381)"},i.createElement("path",{d:"M130.378 171.278C130.581 170.307 130.907 169.36 131.328 168.459C131.75 167.557 132.267 166.692 132.914 165.924C133.565 165.164 134.364 164.493 135.327 164.122C136.289 163.763 137.391 163.766 138.356 164.151C139.333 164.532 140.103 165.353 140.518 166.296C140.733 166.768 140.869 167.273 140.924 167.79C140.973 168.306 140.952 168.843 140.747 169.358C140.642 169.611 140.479 169.868 140.216 170.038C140.089 170.127 139.935 170.176 139.783 170.2C139.632 170.222 139.479 170.215 139.304 170.154C138.983 170.018 138.823 169.759 138.685 169.527C138.561 169.285 138.466 169.037 138.401 168.787C138.131 167.786 138.104 166.766 138.152 165.759C138.295 163.752 138.822 161.745 139.903 160.017C140.449 159.164 141.133 158.379 141.984 157.804C142.824 157.227 143.808 156.829 144.812 156.713C145.306 156.593 145.816 156.605 146.321 156.58C146.573 156.554 146.825 156.615 147.076 156.628C147.327 156.662 147.583 156.657 147.826 156.729C148.823 156.908 149.761 157.309 150.636 157.793C151.507 158.295 152.282 158.939 152.989 159.638C153.691 160.344 154.328 161.116 154.841 161.967C153.706 160.347 152.244 158.94 150.521 157.998C149.653 157.548 148.737 157.178 147.772 157.028C147.536 156.962 147.289 156.973 147.048 156.947C146.806 156.939 146.564 156.884 146.322 156.916C145.837 156.952 145.349 156.95 144.877 157.077C143.909 157.213 143.012 157.602 142.221 158.145C141.428 158.688 140.787 159.434 140.273 160.25C139.254 161.9 138.755 163.85 138.63 165.788C138.576 166.755 138.6 167.746 138.842 168.665C138.958 169.105 139.166 169.6 139.468 169.739C139.508 169.743 139.533 169.764 139.58 169.765C139.628 169.761 139.677 169.771 139.722 169.76C139.813 169.745 139.902 169.72 139.978 169.666C140.136 169.567 140.261 169.391 140.345 169.19C140.513 168.782 140.544 168.298 140.501 167.832C140.454 167.363 140.334 166.898 140.14 166.466C139.76 165.603 139.087 164.856 138.214 164.49C137.347 164.122 136.33 164.092 135.429 164.406C134.524 164.73 133.742 165.355 133.09 166.078C131.784 167.542 130.903 169.373 130.378 171.278Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M86.0245 183.718C86.4877 182.845 87.1689 182.089 87.9647 181.492C88.7586 180.895 89.6711 180.432 90.6527 180.205C91.6285 179.971 92.6773 179.967 93.6541 180.264C94.6314 180.556 95.5117 181.129 96.2164 181.859C96.9258 182.588 97.4557 183.475 97.8205 184.417C98.1781 185.361 98.3927 186.373 98.3169 187.408C98.265 187.916 98.1623 188.465 97.7596 188.906C97.5599 189.122 97.2517 189.265 96.9513 189.269C96.6623 189.267 96.3887 189.224 96.1237 189.083C95.8607 188.947 95.649 188.711 95.5285 188.449C95.4061 188.188 95.3605 187.911 95.3481 187.643C95.3293 187.106 95.445 186.595 95.6034 186.109C95.925 185.136 96.4545 184.26 97.0727 183.465C97.6943 182.671 98.4258 181.965 99.2452 181.377C100.872 180.196 102.943 179.54 104.964 179.804C105.962 179.939 106.952 180.227 107.825 180.736C108.705 181.228 109.469 181.911 110.092 182.691C110.714 183.475 111.199 184.356 111.572 185.273C111.945 186.192 112.221 187.15 112.356 188.129C111.953 186.206 111.162 184.337 109.902 182.847C109.278 182.102 108.526 181.462 107.673 181.012C106.826 180.545 105.877 180.293 104.921 180.187C103.001 179.978 101.053 180.59 99.5044 181.736C97.9573 182.874 96.6916 184.462 96.0517 186.259C95.901 186.707 95.7954 187.175 95.8098 187.626C95.8204 188.074 95.9773 188.505 96.3369 188.686C96.5063 188.784 96.7362 188.822 96.9369 188.825C97.1317 188.82 97.3045 188.742 97.4428 188.598C97.7231 188.306 97.8431 187.828 97.8858 187.369C97.9612 186.431 97.7673 185.462 97.4317 184.565C97.0914 183.667 96.5869 182.828 95.9341 182.128C95.2833 181.428 94.4625 180.881 93.5538 180.584C92.6471 180.282 91.653 180.257 90.7089 180.458C88.8186 180.859 87.0671 182.041 86.0245 183.718Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M63.8174 67.7998C63.7631 65.8246 63.3441 63.836 62.4249 62.1027C61.9641 61.2449 61.354 60.452 60.5524 59.9201C59.7522 59.4008 58.7582 59.1877 57.8274 59.3384C56.8929 59.4848 56.061 60.0493 55.486 60.7966C55.1946 61.1696 54.9666 61.5929 54.8092 62.0374C54.657 62.48 54.5711 62.9571 54.6374 63.3934C54.6705 63.6094 54.7497 63.8096 54.8793 63.943C54.9407 64.0145 55.0209 64.0597 55.1058 64.0957C55.1466 64.1173 55.1975 64.1197 55.2426 64.1341C55.2882 64.1441 55.3185 64.1297 55.3574 64.1355C55.6842 64.0731 56.0044 63.6416 56.2214 63.2422C56.6759 62.4075 56.9361 61.4513 57.1142 60.4985C57.4554 58.5877 57.4362 56.575 56.8406 54.7289C56.5362 53.8136 56.0918 52.9366 55.4505 52.2195C54.813 51.5043 54.0345 50.912 53.1273 50.5491C52.6982 50.3125 52.2244 50.1987 51.7622 50.0485C51.5342 49.9592 51.287 49.9549 51.0494 49.904C50.8089 49.8723 50.5718 49.8027 50.3274 49.8099C49.3545 49.7254 48.3758 49.8661 47.4263 50.0965C45.5279 50.6 43.773 51.6166 42.2841 52.9189C42.9844 52.2157 43.7879 51.6176 44.638 51.0997C45.4919 50.5899 46.3982 50.1493 47.363 49.8699C48.3282 49.6083 49.3348 49.4432 50.3462 49.5075C50.5996 49.495 50.8473 49.5603 51.0978 49.5881C51.346 49.6352 51.6042 49.6357 51.8438 49.7221C52.3276 49.8665 52.8258 49.9774 53.277 50.2112C54.2246 50.563 55.0847 51.1841 55.7625 51.9454C56.4518 52.7062 56.9289 53.6326 57.2553 54.5912C57.8932 56.5265 57.9263 58.6016 57.586 60.5849C57.3916 61.5742 57.1218 62.5577 56.6207 63.4659C56.4978 63.6934 56.3466 63.9113 56.169 64.1168C55.9794 64.3097 55.7615 64.5224 55.4174 64.5785C55.233 64.5953 55.0823 64.5651 54.9422 64.5085C54.7996 64.4494 54.6614 64.3635 54.5596 64.2473C54.346 64.0198 54.2476 63.7318 54.2068 63.4606C54.13 62.9115 54.238 62.3854 54.4084 61.8958C54.5855 61.4072 54.8375 60.9488 55.1591 60.5422C55.7874 59.7248 56.7316 59.1118 57.7708 58.975C58.8004 58.831 59.8708 59.0912 60.7199 59.6696C61.5662 60.2595 62.1825 61.1014 62.6322 61.9952C63.0777 62.8961 63.3729 63.859 63.5678 64.8349C63.7617 65.8112 63.8524 66.8086 63.8174 67.7998Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M169.81 92.8384C167.877 92.4299 165.845 92.3737 163.945 92.8633C163.003 93.1105 162.09 93.519 161.386 94.1747C160.695 94.8313 160.255 95.7481 160.184 96.6884C160.109 97.6312 160.463 98.572 161.057 99.3054C161.351 99.676 161.709 99.9961 162.104 100.253C162.5 100.504 162.943 100.699 163.383 100.737C163.601 100.755 163.814 100.724 163.975 100.63C164.058 100.587 164.12 100.519 164.176 100.445C164.206 100.41 164.22 100.361 164.245 100.321C164.265 100.279 164.259 100.246 164.273 100.21C164.288 99.8776 163.944 99.4652 163.606 99.1609C162.9 98.5244 162.031 98.0483 161.146 97.6528C159.368 96.8752 157.406 96.424 155.472 96.5723C154.511 96.6548 153.555 96.8824 152.707 97.3384C151.863 97.792 151.106 98.4107 150.541 99.2084C150.211 99.5699 149.99 100.004 149.736 100.419C149.596 100.62 149.534 100.859 149.429 101.078C149.342 101.305 149.219 101.519 149.169 101.758C148.86 102.685 148.768 103.669 148.771 104.646C148.818 106.609 149.396 108.553 150.316 110.305C149.795 109.459 149.401 108.538 149.095 107.592C148.799 106.642 148.582 105.658 148.536 104.655C148.507 103.655 148.58 102.638 148.879 101.669C148.927 101.42 149.048 101.195 149.133 100.957C149.237 100.727 149.298 100.476 149.438 100.263C149.691 99.8267 149.915 99.3678 150.247 98.9838C150.811 98.1443 151.615 97.4531 152.514 96.9716C153.415 96.4787 154.426 96.231 155.435 96.1369C157.466 95.9684 159.491 96.4206 161.34 97.214C162.258 97.634 163.15 98.126 163.917 98.8249C164.109 98.9972 164.286 99.1955 164.444 99.4163C164.587 99.6452 164.743 99.9068 164.718 100.255C164.691 100.438 164.626 100.577 164.539 100.701C164.448 100.825 164.332 100.94 164.196 101.012C163.924 101.166 163.621 101.195 163.349 101.171C162.797 101.118 162.31 100.89 161.874 100.61C161.44 100.323 161.053 99.9716 160.733 99.5636C160.084 98.762 159.708 97.7012 159.818 96.6587C159.919 95.6243 160.421 94.6436 161.181 93.9529C161.952 93.268 162.915 92.8652 163.889 92.6363C164.869 92.4131 165.874 92.3507 166.868 92.3891C167.863 92.4284 168.854 92.5729 169.81 92.8384Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M140.093 61.7825C139.765 60.6449 139.721 59.4291 139.905 58.2541C140.089 57.08 140.488 55.9241 141.138 54.9123C141.778 53.8995 142.671 53.0235 143.752 52.4653C144.829 51.9027 146.057 51.6584 147.266 51.6953C148.478 51.7285 149.669 52.0419 150.765 52.5425C151.858 53.0499 152.884 53.7353 153.679 54.6781C154.058 55.1528 154.423 55.7057 154.445 56.4013C154.455 56.744 154.315 57.1112 154.069 57.3593C153.825 57.5926 153.559 57.7822 153.223 57.8797C152.894 57.9809 152.526 57.956 152.212 57.836C151.895 57.7169 151.629 57.5216 151.398 57.3056C150.938 56.8664 150.611 56.336 150.343 55.7907C149.808 54.6934 149.527 53.5045 149.391 52.3107C149.259 51.115 149.293 49.9016 149.502 48.715C149.902 46.3501 151.122 44.0653 153.063 42.6027C154.026 41.8841 155.109 41.3024 156.279 41.0057C157.44 40.6885 158.662 40.6323 159.847 40.7768C161.034 40.9237 162.186 41.2678 163.275 41.7377C164.363 42.2081 165.404 42.7942 166.342 43.5142C164.392 42.1952 162.151 41.2505 159.82 41.0201C158.66 40.9021 157.476 40.9817 156.363 41.3096C155.242 41.6168 154.213 42.1971 153.3 42.9061C152.398 43.6285 151.63 44.5169 151.068 45.5273C150.503 46.5353 150.133 47.6494 149.937 48.7913C149.563 51.0699 149.804 53.4977 150.767 55.5843C151.015 56.0974 151.32 56.5904 151.716 56.971C152.105 57.3507 152.618 57.5989 153.099 57.4467C153.335 57.3848 153.567 57.2225 153.748 57.0507C153.919 56.8765 154.006 56.6513 154.004 56.4027C153.998 55.8987 153.694 55.3846 153.343 54.9526C152.617 54.079 151.634 53.4089 150.591 52.9203C149.543 52.4341 148.403 52.1369 147.252 52.0846C146.102 52.0318 144.935 52.2531 143.904 52.7643C142.87 53.2707 141.995 54.0867 141.355 55.0534C140.073 56.9902 139.571 59.4752 140.093 61.7825Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823ZM85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823ZM85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383ZM86.0555 186.478C85.6643 187.718 84.3381 188.41 83.0978 188.019C81.8579 187.629 81.1662 186.302 81.5574 185.061C81.9486 183.82 83.2758 183.13 84.5157 183.521C85.755 183.912 86.4462 185.238 86.0555 186.478ZM85.1003 181.667C82.8328 180.952 80.4174 182.212 79.7032 184.477C78.9894 186.742 80.2466 189.159 82.5136 189.873C84.7782 190.586 87.195 189.328 87.9088 187.062C88.623 184.798 87.3654 182.379 85.1003 181.667ZM85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823ZM85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823ZM85.5155 186.308C85.2179 187.253 84.2118 187.777 83.2677 187.479C82.324 187.182 81.7998 186.176 82.0974 185.231C82.395 184.287 83.4006 183.763 84.3458 184.06C85.289 184.358 85.8131 185.364 85.5155 186.308ZM84.4202 183.823C83.3445 183.483 82.1987 184.081 81.8598 185.156C81.5205 186.233 82.1181 187.378 83.1938 187.717C84.2685 188.055 85.4133 187.458 85.7522 186.383C86.091 185.308 85.4949 184.161 84.4202 183.823Z",fill:"#375A64"}),i.createElement("path",{d:"M83.3556 189.951L81.7779 189.453L81.5134 190.598L82.9164 191.04L83.3556 189.951Z",fill:"#375A64"}),i.createElement("path",{d:"M80.5201 188.473L79.7559 187.006L78.7599 187.627L79.4396 188.933L80.5201 188.473Z",fill:"#375A64"}),i.createElement("path",{d:"M79.5599 185.423L80.0572 183.845L78.9129 183.581L78.4703 184.984L79.5599 185.423Z",fill:"#375A64"}),i.createElement("path",{d:"M81.038 182.588L82.5054 181.823L81.8833 180.827L80.5782 181.507L81.038 182.588Z",fill:"#375A64"}),i.createElement("path",{d:"M84.088 181.628L85.6658 182.125L85.9303 180.98L84.5272 180.538L84.088 181.628Z",fill:"#375A64"}),i.createElement("path",{d:"M86.9229 183.106L87.687 184.573L88.683 183.951L88.0038 182.646L86.9229 183.106Z",fill:"#375A64"}),i.createElement("path",{d:"M87.883 186.155L87.3858 187.733L88.5301 187.997L88.9726 186.594L87.883 186.155Z",fill:"#375A64"}),i.createElement("path",{d:"M86.4049 188.991L84.9381 189.755L85.5597 190.751L86.8648 190.072L86.4049 188.991Z",fill:"#375A64"}),i.createElement("path",{d:"M161.189 168.019C160.178 169.382 158.255 169.667 156.893 168.656C155.531 167.645 155.246 165.722 156.258 164.359C157.268 162.998 159.191 162.713 160.553 163.725C161.915 164.735 162.199 166.658 161.189 168.019ZM164.003 170.108C166.167 167.192 165.557 163.074 162.642 160.91C159.725 158.746 155.606 159.355 153.443 162.27C151.279 165.187 151.888 169.306 154.804 171.47C157.72 173.634 161.839 173.025 164.003 170.108Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M155.983 172.004L153.953 170.497L152.998 172.018L154.804 173.358L155.983 172.004Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M152.626 168.452L152.256 165.951L150.505 166.351L150.835 168.576L152.626 168.452Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M152.764 163.566L154.271 161.536L152.75 160.582L151.41 162.387L152.764 163.566Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M156.316 160.21L158.817 159.84L158.417 158.089L156.192 158.419L156.316 160.21Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M161.201 160.348L163.231 161.855L164.186 160.334L162.38 158.994L161.201 160.348Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M164.558 163.9L164.928 166.401L166.679 166.001L166.349 163.776L164.558 163.9Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M164.421 168.785L162.913 170.816L164.434 171.77L165.774 169.964L164.421 168.785Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M160.867 172.142L158.367 172.512L158.767 174.263L160.992 173.933L160.867 172.142Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M159.016 165.603C159.333 165.839 159.399 166.284 159.164 166.6C158.929 166.916 158.484 166.983 158.166 166.748C157.851 166.514 157.785 166.067 158.019 165.751C158.254 165.434 158.701 165.37 159.016 165.603ZM156.368 166.505L157.765 168.266L159.989 167.936L160.815 165.847L159.419 164.086L157.194 164.414L156.368 166.505Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688ZM169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688ZM169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309ZM170.364 44.392C170.022 45.4778 168.862 46.083 167.776 45.7408C166.691 45.399 166.086 44.2384 166.428 43.1522C166.77 42.0664 167.932 41.4626 169.017 41.8043C170.102 42.1461 170.706 43.3067 170.364 44.392ZM169.528 40.1819C167.544 39.557 165.431 40.659 164.806 42.641C164.182 44.6234 165.282 46.7378 167.265 47.3627C169.247 47.9867 171.362 46.8856 171.986 44.9032C172.611 42.9218 171.51 40.8059 169.528 40.1819ZM169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688ZM169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688ZM169.892 44.2432C169.631 45.0702 168.751 45.5286 167.925 45.2685C167.099 45.0083 166.64 44.128 166.901 43.301C167.162 42.4749 168.041 42.0165 168.868 42.2766C169.694 42.5368 170.152 43.4171 169.892 44.2432ZM168.933 42.0688C167.992 41.7722 166.989 42.2944 166.693 43.2352C166.396 44.1774 166.919 45.1792 167.86 45.4758C168.801 45.7725 169.802 45.2502 170.099 44.309C170.395 43.3686 169.874 42.365 168.933 42.0688Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M168.001 47.431L166.621 46.9961L166.39 47.9974L167.617 48.3842L168.001 47.431Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M165.521 46.1377L164.852 44.8537L163.98 45.398L164.575 46.54L165.521 46.1377Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M164.68 43.469L165.115 42.0885L164.114 41.8571L163.727 43.085L164.68 43.469Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M165.974 40.9878L167.258 40.3192L166.714 39.4475L165.572 40.0422L165.974 40.9878Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M168.642 40.1478L170.023 40.5827L170.254 39.5814L169.027 39.1946L168.642 40.1478Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M171.123 41.4409L171.792 42.7249L172.663 42.1805L172.069 41.0386L171.123 41.4409Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M171.964 44.1096L171.529 45.4901L172.53 45.7215L172.917 44.4936L171.964 44.1096Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M170.671 46.5908L169.387 47.2595L169.931 48.1312L171.073 47.5364L170.671 46.5908Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644ZM151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644ZM151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884ZM152.02 112.967C151.678 114.053 150.517 114.658 149.432 114.316C148.347 113.974 147.742 112.814 148.084 111.727C148.426 110.642 149.588 110.038 150.673 110.38C151.758 110.721 152.362 111.882 152.02 112.967ZM151.184 108.757C149.2 108.132 147.087 109.234 146.462 111.216C145.837 113.199 146.937 115.313 148.921 115.938C150.903 116.562 153.018 115.461 153.642 113.478C154.267 111.497 153.166 109.381 151.184 108.757ZM151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644ZM151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644ZM151.548 112.818C151.287 113.646 150.407 114.104 149.581 113.844C148.755 113.583 148.296 112.703 148.557 111.876C148.818 111.05 149.697 110.591 150.524 110.852C151.35 111.112 151.808 111.992 151.548 112.818ZM150.589 110.644C149.648 110.347 148.645 110.87 148.349 111.81C148.052 112.752 148.575 113.754 149.516 114.051C150.457 114.348 151.458 113.826 151.755 112.884C152.051 111.944 151.53 110.94 150.589 110.644Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M149.658 116.006L148.277 115.571L148.046 116.573L149.274 116.959L149.658 116.006Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M147.177 114.713L146.508 113.429L145.636 113.973L146.231 115.115L147.177 114.713Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M146.337 112.044L146.771 110.664L145.77 110.432L145.384 111.66L146.337 112.044Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M147.63 109.563L148.913 108.894L148.369 108.023L147.228 108.617L147.63 109.563Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M150.299 108.723L151.679 109.158L151.911 108.157L150.683 107.77L150.299 108.723Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M152.78 110.016L153.448 111.3L154.32 110.756L153.726 109.614L152.78 110.016Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M153.62 112.685L153.185 114.066L154.186 114.297L154.573 113.069L153.62 112.685Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M152.327 115.166L151.043 115.835L151.587 116.706L152.729 116.112L152.327 115.166Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M42.6783 55.9427C42.3322 57.3625 40.9027 58.2323 39.4839 57.8862C38.064 57.5406 37.1947 56.1107 37.5403 54.6908C37.8859 53.2724 39.3159 52.4027 40.7357 52.7487C42.1541 53.0943 43.0239 54.5238 42.6783 55.9427ZM45.6101 56.6569C46.3503 53.6199 44.4874 50.5566 41.4499 49.8164C38.4115 49.0763 35.3482 50.9391 34.6085 53.9766C33.8683 57.015 35.7307 60.0783 38.7696 60.8185C41.8071 61.5587 44.8699 59.6953 45.6101 56.6569Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M39.8821 60.8474L37.7667 60.3319L37.519 61.8578L39.4006 62.3162L39.8821 60.8474Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M36.0302 59.1539L34.8988 57.2939L33.6446 58.1973L34.6507 59.8519L36.0302 59.1539Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M34.5031 55.232L35.0186 53.1166L33.4927 52.869L33.0343 54.7501L34.5031 55.232Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M36.197 51.3792L38.057 50.2479L37.1536 48.9936L35.4991 49.9997L36.197 51.3792Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M40.1189 49.853L42.2342 50.3685L42.4819 48.8426L40.6008 48.3842L40.1189 49.853Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M43.9713 51.5466L45.1027 53.4066L46.3569 52.5032L45.3509 50.8486L43.9713 51.5466Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M45.4981 55.4682L44.9826 57.5835L46.5085 57.8312L46.9669 55.9501L45.4981 55.4682Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M43.8046 59.3209L41.9446 60.4523L42.8479 61.7065L44.5025 60.7004L43.8046 59.3209Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M40.1455 54.7542C40.4753 54.8343 40.6769 55.1655 40.5963 55.4958C40.5161 55.8241 40.1849 56.0271 39.8551 55.9465C39.5259 55.8663 39.3238 55.5342 39.4039 55.2049C39.4846 54.8751 39.8167 54.674 40.1455 54.7542ZM38.3465 56.3559L40.0447 57.2857L41.6983 56.2787L41.6537 54.3447L39.9569 53.4155L38.3023 54.4206L38.3465 56.3559Z",fill:"#C6C6C6"}))),i.createElement("mask",{id:"mask46_1_381",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:5,y:0,width:240,height:241},aa||(aa=i.createElement("path",{d:"M5 0.500076H245V240.5H5V0.500076Z",fill:"white"}))),sa||(sa=i.createElement("g",{mask:"url(#mask46_1_381)"},i.createElement("path",{d:"M173.563 115.191C172.272 113.224 171.546 111.013 171.546 108.676C171.546 100.422 180.61 93.729 191.784 93.729C202.958 93.729 212.013 100.422 212.013 108.676C212.013 116.929 202.958 123.621 191.784 123.621C186.366 123.621 181.454 122.052 177.825 119.486L170.854 121.259L173.563 115.191Z",fill:"white"}),i.createElement("path",{d:"M173.563 115.191L170.902 121.281L170.841 121.208L177.798 119.381L177.846 119.368L177.888 119.397C181.477 121.875 185.807 123.165 190.14 123.396C192.311 123.531 194.495 123.353 196.629 122.967C198.759 122.571 200.859 121.938 202.8 120.969C204.742 120.012 206.552 118.769 208.054 117.219C209.554 115.675 210.74 113.806 211.339 111.741C211.957 109.683 211.898 107.448 211.26 105.407C210.626 103.356 209.413 101.508 207.893 99.9844C206.371 98.4556 204.548 97.2344 202.597 96.2994C202.1 96.0853 201.617 95.8352 201.107 95.6504L199.576 95.1042L198.006 94.677C197.482 94.5359 196.942 94.4624 196.412 94.3516C194.273 93.9892 192.092 93.8572 189.922 93.9964C187.755 94.15 185.605 94.544 183.538 95.2141C181.471 95.8804 179.488 96.8356 177.725 98.1071C175.962 99.3709 174.409 100.95 173.289 102.813C172.149 104.668 171.579 106.849 171.604 109.028C171.649 111.21 172.373 113.357 173.563 115.191ZM173.563 115.191C172.345 113.376 171.581 111.233 171.501 109.031C171.441 106.834 171.982 104.611 173.11 102.71C174.213 100.794 175.786 99.1799 177.562 97.8805C179.339 96.5744 181.342 95.5885 183.431 94.8944C185.521 94.1965 187.699 93.7775 189.895 93.6018C192.095 93.441 194.31 93.5778 196.484 93.9368C197.024 94.0477 197.572 94.1216 198.106 94.2632L199.704 94.6933L201.265 95.2448C201.785 95.432 202.278 95.685 202.786 95.902C204.779 96.85 206.648 98.0922 208.219 99.6604C209.786 101.222 211.051 103.131 211.717 105.266C212.383 107.394 212.431 109.73 211.784 111.87C211.153 114.017 209.918 115.945 208.372 117.527C206.822 119.116 204.969 120.381 202.986 121.35C201.003 122.331 198.867 122.97 196.701 123.364C194.531 123.736 192.317 123.896 190.119 123.741C187.922 123.602 185.739 123.201 183.649 122.51C181.56 121.822 179.551 120.862 177.762 119.576L177.852 119.592L170.867 121.31L170.761 121.336L170.806 121.237L173.563 115.191Z",fill:"#C6C6C6"}),i.createElement("path",{d:"M181.374 111.123V112.234H176.845V105.712H181.291V106.823H178.113V108.395H180.86V109.423H178.113V111.123H181.374Z",fill:"#7B7B7B"}),i.createElement("path",{d:"M183.634 108.936H185.223C185.339 108.936 185.448 108.909 185.549 108.854C185.65 108.799 185.737 108.724 185.811 108.629C185.884 108.534 185.943 108.422 185.985 108.294C186.028 108.165 186.05 108.027 186.05 107.88C186.05 107.727 186.025 107.586 185.976 107.457C185.927 107.329 185.862 107.217 185.778 107.122C185.696 107.027 185.601 106.954 185.494 106.902C185.386 106.85 185.278 106.824 185.167 106.824H183.634V108.936ZM182.366 112.234V105.712H185.25C185.55 105.712 185.827 105.775 186.082 105.9C186.336 106.026 186.555 106.191 186.738 106.396C186.922 106.602 187.066 106.834 187.17 107.095C187.274 107.355 187.326 107.617 187.326 107.88C187.326 108.303 187.221 108.687 187.009 109.033C186.798 109.379 186.512 109.628 186.15 109.782L187.639 112.234H186.215L184.883 110.048H183.634V112.234H182.366Z",fill:"#7B7B7B"}),i.createElement("path",{d:"M189.743 108.936H191.332C191.448 108.936 191.556 108.909 191.657 108.854C191.759 108.799 191.846 108.724 191.919 108.629C191.993 108.534 192.051 108.422 192.094 108.294C192.137 108.165 192.158 108.027 192.158 107.88C192.158 107.727 192.133 107.586 192.085 107.457C192.035 107.329 191.97 107.217 191.887 107.122C191.805 107.027 191.71 106.954 191.603 106.902C191.495 106.85 191.387 106.824 191.276 106.824H189.743V108.936ZM188.474 112.234V105.712H191.359C191.659 105.712 191.936 105.775 192.191 105.9C192.444 106.026 192.663 106.191 192.847 106.396C193.031 106.602 193.175 106.834 193.279 107.095C193.383 107.355 193.435 107.617 193.435 107.88C193.435 108.303 193.33 108.687 193.118 109.033C192.907 109.379 192.621 109.628 192.259 109.782L193.748 112.234H192.323L190.992 110.048H189.743V112.234H188.474Z",fill:"#7B7B7B"}),i.createElement("path",{d:"M195.474 108.973C195.474 109.255 195.517 109.528 195.603 109.791C195.688 110.054 195.812 110.287 195.975 110.489C196.137 110.691 196.336 110.853 196.572 110.976C196.808 111.098 197.075 111.16 197.376 111.16C197.682 111.16 197.953 111.097 198.188 110.971C198.424 110.846 198.623 110.679 198.786 110.471C198.948 110.262 199.07 110.028 199.153 109.768C199.236 109.507 199.277 109.243 199.277 108.973C199.277 108.692 199.232 108.419 199.144 108.156C199.055 107.893 198.93 107.659 198.767 107.457C198.605 107.255 198.406 107.094 198.17 106.975C197.935 106.856 197.67 106.796 197.376 106.796C197.069 106.796 196.797 106.859 196.558 106.985C196.319 107.11 196.12 107.275 195.961 107.48C195.802 107.686 195.681 107.919 195.598 108.179C195.515 108.439 195.474 108.704 195.474 108.973ZM197.366 112.28C196.889 112.28 196.456 112.187 196.066 112C195.678 111.813 195.344 111.565 195.065 111.256C194.786 110.947 194.571 110.593 194.418 110.195C194.264 109.797 194.188 109.39 194.188 108.973C194.188 108.538 194.269 108.122 194.432 107.724C194.594 107.326 194.817 106.974 195.102 106.668C195.387 106.362 195.725 106.118 196.117 105.937C196.509 105.757 196.935 105.666 197.394 105.666C197.865 105.666 198.296 105.763 198.684 105.955C199.074 106.148 199.406 106.401 199.681 106.713C199.957 107.026 200.171 107.381 200.324 107.779C200.478 108.177 200.554 108.582 200.554 108.992C200.554 109.426 200.474 109.842 200.315 110.236C200.156 110.632 199.935 110.981 199.654 111.283C199.372 111.587 199.035 111.829 198.644 112.009C198.251 112.19 197.826 112.28 197.366 112.28Z",fill:"#7B7B7B"}),i.createElement("path",{d:"M202.795 108.936H204.385C204.501 108.936 204.609 108.909 204.71 108.854C204.811 108.799 204.899 108.724 204.972 108.629C205.046 108.534 205.104 108.422 205.146 108.294C205.19 108.165 205.211 108.027 205.211 107.88C205.211 107.727 205.186 107.586 205.138 107.457C205.088 107.329 205.023 107.217 204.94 107.122C204.858 107.027 204.762 106.954 204.655 106.902C204.548 106.85 204.439 106.824 204.329 106.824H202.795V108.936ZM201.527 112.234V105.712H204.412C204.712 105.712 204.989 105.775 205.243 105.9C205.497 106.026 205.716 106.191 205.9 106.396C206.084 106.602 206.227 106.834 206.332 107.095C206.436 107.355 206.488 107.617 206.488 107.88C206.488 108.303 206.382 108.687 206.171 109.033C205.96 109.379 205.674 109.628 205.312 109.782L206.801 112.234H205.376L204.045 110.048H202.795V112.234H201.527Z",fill:"#7B7B7B"}))))}const ua=i.forwardRef(ca);n.p;var da=n(59238),ha=n(799),pa=n.n(ha);const fa=e=>{let{transactionID:t,isMainnet:n,error:r}=e;const{title:o,description:s,swalAlertOptions:l}=(0,da.parseError)(null!==r&&void 0!==r?r:"");return(0,i.useEffect)((()=>{if(!l)return;(async()=>{await pa().fire({background:"#031021",color:"#FFFFFF",confirmButtonColor:"#FF6969",icon:"error",showConfirmButton:!0,text:s,timer:5e3})})()}),[l]),(0,a.jsxs)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[8px]",children:[(0,a.jsx)(ua,{className:"w-[240px] h-[240px]"}),(0,a.jsx)("p",{className:"text-white text-[16px] font-semibold text-center",children:o})]}),(0,a.jsxs)("div",{className:"flex flex-col h-[100px] text-[#F8F9FA] text-center font-normal text-[14px]",children:[(0,a.jsx)("div",{className:"pb-[10px] ",children:s}),(0,a.jsxs)("div",{children:["Need help? Please open a support ticket in"," ",(0,a.jsx)(Zn,{text:"Discord",href:T.flowtyDiscordLink})]}),(0,a.jsx)(Wn,{transactionID:t,isMainnet:n})]})]})},ma=n.p+"static/media/flowty-loading2.ae3fb70212438613c88e.gif",ga=e=>{let{transactionID:t,isMainnet:n}=e;return(0,a.jsxs)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsx)("img",{className:"w-[7.75rem] md:h-[7.75rem]",src:ma,alt:"Transaction Loading GIF"}),(0,a.jsx)("div",{className:"text-[16px] font-semibold text-[#F8F9FA]",children:"Transaction Processing..."}),(0,a.jsx)("div",{className:"h-[88px]",children:(0,a.jsx)(Wn,{transactionID:t,isMainnet:n})})]})},va=e=>{let{href:t}=e;return(0,a.jsx)("a",{className:"bg-sky-400 rounded-md px-6 py-2 hover:bg-sky-500 group",target:"_blank",rel:"noreferrer",href:t,children:(0,a.jsxs)("div",{className:"flex justify-center items-center text-white group-hover:opacity-70 px-1",children:[(0,a.jsx)("p",{className:"font-bold text-base mx-1",children:"Share"}),(0,a.jsx)("svg",{className:"footer-social-logos filter-white h-7 w-7 ",width:"34",height:"28",viewBox:"0 0 34 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M32.6363 1.25C31.2797 2.20693 29.7776 2.93882 28.188 3.4175C27.3348 2.43648 26.2009 1.74115 24.9396 1.42556C23.6784 1.10998 22.3506 1.18936 21.1359 1.65298C19.9213 2.11659 18.8783 2.94207 18.148 4.01777C17.4178 5.09346 17.0356 6.36748 17.053 7.6675V9.08417C14.5634 9.14872 12.0965 8.59657 9.87191 7.47688C7.64737 6.3572 5.73427 4.70474 4.30298 2.66667C4.30298 2.66667 -1.36368 15.4167 11.3863 21.0833C8.46873 23.0638 4.99312 24.0568 1.46965 23.9167C14.2196 31 29.803 23.9167 29.803 7.625C29.8017 7.23039 29.7637 6.83676 29.6896 6.44917C31.1355 5.02328 32.1558 3.22301 32.6363 1.25Z",fill:"white",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})},Ca=e=>{const t=null===e||void 0===e?void 0:e.num;if(null!==e&&void 0!==e&&e.additionalDetails){return" "+(null===e||void 0===e?void 0:e.additionalDetails.map((e=>e.includes("#")?e.replace("#","%23"):e))).join(" ").trim()}if(!t)return;const n="%23".concat(t);return null!==e&&void 0!==e&&e.title.includes("#")?"":" "+n},ya=(e,t)=>{var n;const r=null===t||void 0===t?void 0:t.includes(T.SupportedTokens.DUC),i=e?r?"$".concat(e.toLocaleString()):e.toLocaleString():void 0,o=r?"":"".concat(null!==(n=null===T.TOKEN_TO_READABLE_TOKEN||void 0===T.TOKEN_TO_READABLE_TOKEN?void 0:T.TOKEN_TO_READABLE_TOKEN[t])&&void 0!==n?n:""," ");return"".concat([i,o].filter(Boolean).join(" "))},ba=e=>{if("number"!==typeof e||e<=0)return"0 Days";if(e/60<60)return"".concat((e/60).toFixed(2)," Mins");const t=e/86400;return"".concat(t," ").concat(t>1?"Days":"Day")};const wa=e=>{let{isMainnet:t,listingType:n,completedOrder:r}=e;const i=function(e){var t;let{listingType:n,isMainnet:r,completedOrder:i}=e;const o=(0,T.nftTypeAndIdToLocationData)((null===i||void 0===i?void 0:i.nftType)||"",(null===i||void 0===i?void 0:i.nftID)||""),a=r?"flowty.io":"testnet.flowty.io",s=null===i||void 0===i?void 0:i.card,l="".concat(a,"/asset/").concat(o.contract.address,"/").concat(o.contract.name,"/").concat(o.resourceName,"/").concat(o.nftID," "),c=null!==s&&void 0!==s&&null!==(t=s.title)&&void 0!==t&&t.includes("#")?null===s||void 0===s?void 0:s.title.replace("#","%23"):null===s||void 0===s?void 0:s.title,u="".concat(c).concat(Ca(s));if("purchase"===n){const{salePrice:e,paymentTokenName:t}=i;return"https://twitter.com/intent/tweet?text=I%20just%20purchased%20".concat(u,"%20for%20").concat(ya(e,t).trim(),"%20on%20@flowty_io!%0A%0ACheck%20out%20my%20new%20NFT%20here:%20https://").concat(l)}return""}({completedOrder:r,isMainnet:t,listingType:n});return(0,a.jsx)(va,{href:i})};function xa(e){var t,n;let{listingType:r,isMainnet:i,order:o,nft:a,values:s,isNewListing:l,collectionDisplayName:c}=e;const u=(0,T.nftTypeAndIdToLocationData)((null===a||void 0===a?void 0:a.type)||"",(null===a||void 0===a?void 0:a.id)||""),d=i?"flowty.io":"testnet.flowty.io",h=null===a||void 0===a?void 0:a.card,p="".concat(d,"/asset/").concat(u.contract.address,"/").concat(u.contract.name,"/").concat(u.resourceName,"/").concat(u.nftID," "),f=null!==h&&void 0!==h&&null!==(t=h.title)&&void 0!==t&&t.includes("#")?null===h||void 0===h?void 0:h.title.replace("#","%23"):null===h||void 0===h?void 0:h.title,m=a?"%0A%0A\ud83d\uddbc\ufe0f ".concat("loan"===r?"Collateral":"NFT",": ").concat(f).concat(Ca(h),"%0A\ud83c\udf0e Collection: ").concat(null!==c&&void 0!==c?c:null===a||void 0===a||null===(n=a.card)||void 0===n?void 0:n.collectionName):"";switch(r){case"sale":case"storefront":{let e,t;if(l){const n=s;e=+n.salePrice,t=n.paymentTokenName}else{const n=o;e=null===n||void 0===n?void 0:n.amount,t=null===n||void 0===n?void 0:n.paymentTokenName}const n="".concat(m,"%0A\ud83d\udcb5 Sale Price: ").concat(ya(e,t),"%0A");return"https://twitter.com/intent/tweet?text=Check%20out%20my%20new%20listing%20on%20@flowty_io%20".concat(n,"https://").concat(p)}case"rental":{let e,t,n,r,i;if(l){const o=s;e=+o.amount,t=+o.deposit,n=o.paymentTokenName,r=+o.term,i=ba(60*r*60*24)}else{const a=o;e=a.amount,t=a.deposit,n=a.paymentTokenName,r=a.term,i=ba(r)}const a="".concat(m,"%0A\ud83d\udcb5 Rental Fee: ").concat(ya(e,n),"%0A\ud83d\udcb0 Refundable Deposit: ").concat(ya(t,n),"%0A\u23f2\ufe0f Duration: ").concat(i,"%0A");return"https://twitter.com/intent/tweet?text=Check%20out%20my%20new%20rental%20listing%20on%20@flowty_io%20".concat(a,"https://").concat(p)}case"loan":{let e,t,n,r,i;if(l){if(!s)return"";const o=s;e=null===o||void 0===o?void 0:o.derivations.calculatedValues.marketplaceAmount,t=o.derivations.calculatedValues.repayment,n=o.paymentTokenName,r=+o.term,i=ba(60*r*60*24)}else{var g,v,C,y,b,w;const a=o;e=null!==(g=null===(v=a.derivations)||void 0===v||null===(C=v.calculatedValues)||void 0===C?void 0:C.marketplaceAmount)&&void 0!==g?g:0,t=null!==(y=null===(b=a.derivations)||void 0===b||null===(w=b.calculatedValues)||void 0===w?void 0:w.totalRepayment)&&void 0!==y?y:0,n=(null===a||void 0===a?void 0:a.paymentTokenName)||T.SupportedTokens.FLOW,r=Number(a.term),i=ba(r)}const a="".concat(m,"%0A\ud83d\udcb0 Loan: ").concat(ya(e,n),"%0A\ud83d\udcb5 Repayment: ").concat(ya(t,n),"%0A\u23f2\ufe0f Duration: ").concat(i,"%0A");return"https://twitter.com/intent/tweet?text=Check%20out%20my%20new%20loan%20listing%20on%20@flowty_io%20".concat(a,"https://").concat(p)}default:return""}}const Aa=e=>{let{isMainnet:t,listingID:n,listingType:r,nft:i,values:o,collectionDisplayName:s}=e;if(!i)return null;const l=xa({collectionDisplayName:s,isMainnet:t,isNewListing:!0,listingType:r,nft:i,values:o});return null!==n?(0,a.jsx)(va,{href:l}):null},Ea=e=>{let{listingType:t,order:n,collectionDisplayName:r,nft:i,isMainnet:o}=e;const s=xa({collectionDisplayName:r,isMainnet:o,listingType:t,nft:i,order:n});return(0,a.jsx)(va,{href:s})};const _a=e=>{let{isMainnet:t,listingType:n,fundedOrder:r,nft:i}=e;if(!i)return null;const o=function(e){var t,n;let{listingType:r,isMainnet:i,fundedOrder:o,nft:a}=e;const s=(0,T.nftTypeAndIdToLocationData)((null===o||void 0===o?void 0:o.nftType)||"",null!==(t=null===o||void 0===o?void 0:o.nftID)&&void 0!==t?t:""),l=i?"flowty.io":"testnet.flowty.io",c=null===a||void 0===a?void 0:a.card,u="".concat(l,"/asset/").concat(s.contract.address,"/").concat(s.contract.name,"/").concat(s.resourceName,"/").concat(s.nftID," "),d=null!==c&&void 0!==c&&null!==(n=c.title)&&void 0!==n&&n.includes("#")?null===c||void 0===c?void 0:c.title.replace("#","%23"):null===c||void 0===c?void 0:c.title,h="".concat(d).concat(Ca(c));if("fundLoan"===r){const e=null===o||void 0===o?void 0:o.derivations.calculatedValues.marketplaceAmount,{paymentTokenName:t}=o;return"https://twitter.com/intent/tweet?text=I%20just%20funded%20a%20".concat(ya(Number(e),t).trim(),"%20loan%20backed%20by%20").concat(h,"%20on%20@flowty_io!%0A%0A%20https://").concat(u)}return""}({fundedOrder:r,isMainnet:t,listingType:n,nft:i});return(0,a.jsx)(va,{href:o})},Ta=e=>{let{type:t,isMainnet:n,transactionID:r,orderData:i,nft:o,isDelist:s,collectionDisplayName:l}=e;return(0,a.jsxs)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsx)("svg",{className:"w-[7.75rem] h-[7.75rem]",width:"124",height:"124",viewBox:"0 0 124 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.9999 111.6C89.3932 111.6 111.6 89.3933 111.6 62C111.6 34.6067 89.3932 12.4 61.9999 12.4C34.6066 12.4 12.3999 34.6067 12.3999 62C12.3999 89.3933 34.6066 111.6 61.9999 111.6ZM84.984 53.9841C87.4052 51.5628 87.4052 47.6372 84.984 45.216C82.5627 42.7947 78.6371 42.7947 76.2158 45.216L55.7999 65.6319L47.784 57.616C45.3627 55.1947 41.4371 55.1947 39.0158 57.616C36.5946 60.0372 36.5946 63.9628 39.0158 66.3841L51.4158 78.7841C53.8371 81.2053 57.7627 81.2053 60.184 78.7841L84.984 53.9841Z",fill:"#04E5A3"})}),(0,a.jsx)("div",{className:"text-[16px] font-semibold text-[#F8F9FA]",children:"Transaction Successful!"}),(0,a.jsx)(Wn,{transactionID:r,isMainnet:n}),(0,a.jsx)("div",{className:"h-[70px] flex items-start",children:!s&&"transfer"!==t&&"cancelOffer"!==t&&"makeOffer"!==t&&"acceptOffer"!==t&&"lostAndFound"!==t&&"fundRental"!==t&&(0,a.jsx)(a.Fragment,{children:"sale"===t||"loan"===t||"rent"===t?(0,a.jsx)(Aa,{listingType:t,nft:o,values:i,isMainnet:n,collectionDisplayName:l}):"fundLoan"===t?(0,a.jsx)(_a,{listingType:t,isMainnet:n,fundedOrder:i,nft:o}):(0,a.jsx)(wa,{listingType:t,completedOrder:i,isMainnet:n})})})]})};var Sa,ka=n(78336);function Pa(){return Pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pa.apply(null,arguments)}function Da(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Pa({baseProfile:"tiny",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 2000 2000",overflow:"visible",xmlSpace:"preserve",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Sa||(Sa=i.createElement("g",null,i.createElement("path",{fill:"#04F48C",d:"M1000,8C452.1,8,8,452.1,8,1000s444.1,992,992,992s992-444.1,992-992S1547.9,8,1000,8z M1728.8,1433 c-5.6-1.6-10.8-4.3-16.2-6.5c-24.5-9.9-48.7-20.9-73.6-29.7c-123.3-43.5-251-55.6-380.3-46.3c-112.8,8.1-225.1,21.7-337.7,32.5 c-103.3,10-206.7,14.1-310-0.2c-30.8-4.2-61.3-10.4-92-15.7c-26.4-7.9-52.9-15.8-79.3-23.7c-16.9-7.2-33.7-15.1-50.9-21.6 c-60.1-22.6-92.5-66.6-99.6-129.3c-11.8-103.8-22.5-207.8-33.9-311.6C245,786.6,234.4,692.4,224.1,598c2.1-7.1,4.3-14.2,6.4-21.3 c18.8-18.4,38.8-13.5,59.7-3.7c62.7,29.6,128.4,50.1,196.4,62.7c88.9,16.4,178.8,20.4,268.6,13c114.2-9.4,228.2-22.6,342.3-33.4 c177.5-16.8,351.9-9.4,518.8,63.3c57.1,24.8,89.8,66.2,96.7,126.8c18.2,159.6,35.1,319.4,52.3,479.1c4.1,37.9,8.9,75.7,10.8,113.6 C1777.5,1427.6,1757.2,1441.4,1728.8,1433z"}),i.createElement("path",{fill:"#FFFFFF",d:"M1776.1,1398.1c-1.9-37.9-6.7-75.7-10.8-113.6c-17.2-159.7-34.1-319.5-52.3-479.1 c-6.9-60.6-39.6-102-96.7-126.8c-166.9-72.7-341.3-80.1-518.8-63.3c-114.1,10.8-228.1,24-342.3,33.4c-89.8,7.4-179.7,3.4-268.6-13 c-68-12.6-133.7-33.1-196.4-62.7c-20.9-9.8-40.9-14.7-59.7,3.7c-2.1,7.1-4.3,14.2-6.4,21.3c10.3,94.4,20.9,188.6,31.2,282.9 c11.4,103.8,22.1,207.8,33.9,311.6c7.1,62.7,39.5,106.7,99.6,129.3c17.2,6.5,34,14.4,50.9,21.6c26.4,7.9,52.9,15.8,79.3,23.7 c30.7,5.3,61.2,11.5,92,15.7c103.3,14.3,206.7,10.2,310,0.2c112.6-10.8,224.9-24.4,337.7-32.5c129.3-9.3,257,2.8,380.3,46.3 c24.9,8.8,49.1,19.8,73.6,29.7c5.4,2.2,10.6,4.9,16.2,6.5C1757.2,1441.4,1777.5,1427.6,1776.1,1398.1z M1000,1213.7L786.3,999.9 L1000,786.1l213.8,213.8L1000,1213.7z"}),i.createElement("rect",{x:848.9,y:848.8,transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -414.1326 1000.0044)",fill:"#04F48C",width:302.3,height:302.3}))))}const Na=i.forwardRef(Da);n.p;function Fa(){return Fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fa.apply(null,arguments)}function Ia(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Fa({xmlns:"http://www.w3.org/2000/svg",width:"1024px",height:"1024px",viewBox:"0 0 1024 1024",style:{shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",imageRendering:"optimizeQuality",fillRule:"evenodd",clipRule:"evenodd"},xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#43a451",d:"M 709.5,191.5 C 710.154,187.414 708.988,184.081 706,181.5C 704.438,177.986 703.605,174.319 703.5,170.5C 702.325,170.719 701.325,170.386 700.5,169.5C 699.811,167.556 699.311,165.556 699,163.5C 698.439,162.978 697.772,162.645 697,162.5C 692.518,163.709 688.351,165.375 684.5,167.5C 688.417,168.974 688.417,170.308 684.5,171.5C 682.032,170.957 679.532,170.624 677,170.5C 671.57,171.868 666.07,172.368 660.5,172C 659.773,170.601 659.273,169.101 659,167.5C 657.989,166.663 656.822,166.33 655.5,166.5C 655.16,168.991 654.16,171.158 652.5,173C 652.955,176.742 652.955,180.575 652.5,184.5C 653.5,184.5 654.5,184.5 655.5,184.5C 655.5,185.833 655.5,187.167 655.5,188.5C 654.167,188.5 652.833,188.5 651.5,188.5C 650.241,191.366 649.241,194.366 648.5,197.5C 649.302,200.449 649.636,203.449 649.5,206.5C 648.609,207.11 647.609,207.443 646.5,207.5C 644.167,207.5 641.833,207.5 639.5,207.5C 639.657,208.873 639.49,210.207 639,211.5C 637.562,208.722 637.562,206.056 639,203.5C 639.667,200.833 639.667,198.167 639,195.5C 637.92,197.996 636.586,200.33 635,202.5C 634.5,209.492 634.334,216.492 634.5,223.5C 633.351,223.209 632.684,222.376 632.5,221C 631.446,215.194 631.28,209.361 632,203.5C 633.336,199.369 634.836,195.369 636.5,191.5C 637.5,191.5 638.5,191.5 639.5,191.5C 639.351,190.448 639.517,189.448 640,188.5C 642.69,185.815 645.69,183.482 649,181.5C 648.595,177.879 648.595,174.213 649,170.5C 650.353,169.315 651.52,167.981 652.5,166.5C 654.765,165.353 657.098,165.186 659.5,166C 660.833,168.33 662.667,170.163 665,171.5C 673.815,168.673 682.315,165.173 690.5,161C 694.751,159.805 699.085,159.305 703.5,159.5C 703.335,162.85 703.502,166.183 704,169.5C 706.647,174.793 709.313,180.127 712,185.5C 712.495,187.473 712.662,189.473 712.5,191.5C 711.5,191.5 710.5,191.5 709.5,191.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c0e6c7",d:"M 687.5,197.5 C 684.34,199.063 681.174,200.729 678,202.5C 676.504,204.45 676.337,206.45 677.5,208.5C 686.296,209.14 694.962,209.807 703.5,210.5C 694.494,210.666 685.494,210.5 676.5,210C 675.484,208.323 674.484,206.657 673.5,205C 675.779,202.208 678.445,200.041 681.5,198.5C 683.5,198.167 685.5,197.833 687.5,197.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#36a445",d:"M 709.5,191.5 C 703.019,193.619 696.352,194.786 689.5,195C 688.244,195.417 687.577,196.25 687.5,197.5C 685.5,197.833 683.5,198.167 681.5,198.5C 674.486,199.005 671.32,202.672 672,209.5C 673.255,210.211 674.421,211.044 675.5,212C 682.17,212.389 688.836,212.223 695.5,211.5C 703.685,211.856 711.685,212.856 719.5,214.5C 724.828,215.996 729.828,218.329 734.5,221.5C 743.126,237.246 741.959,252.246 731,266.5C 730.506,268.134 730.34,269.801 730.5,271.5C 732.857,271.337 735.19,271.503 737.5,272C 738.275,277.676 736.608,282.676 732.5,287C 728.129,287.828 723.795,287.661 719.5,286.5C 718.408,284.404 716.741,283.071 714.5,282.5C 711.385,284.439 708.385,286.606 705.5,289C 703.323,290.202 700.989,290.702 698.5,290.5C 694.774,290.177 691.107,290.511 687.5,291.5C 688.433,295.429 688.766,299.429 688.5,303.5C 687.5,303.5 686.5,303.5 685.5,303.5C 681.208,300.543 677.208,297.21 673.5,293.5C 672.4,292.395 671.733,291.062 671.5,289.5C 674.245,289.627 676.245,288.46 677.5,286C 686.485,284.325 695.151,281.825 703.5,278.5C 703.5,277.167 703.5,275.833 703.5,274.5C 705.591,274.682 707.591,274.348 709.5,273.5C 709.88,271.979 710.046,270.313 710,268.5C 711.892,267.87 713.559,266.87 715,265.5C 716.255,261.959 716.422,258.459 715.5,255C 716.02,251.596 717.187,248.429 719,245.5C 719.5,237.507 719.666,229.507 719.5,221.5C 723.116,222.543 726.783,223.043 730.5,223C 728.167,221 725.833,219 723.5,217C 716.629,216.442 709.962,215.275 703.5,213.5C 703.5,214.5 703.5,215.5 703.5,216.5C 696.492,216.334 689.492,216.5 682.5,217C 677.883,219.988 672.883,221.322 667.5,221C 665.065,217.453 662.398,214.119 659.5,211C 661.829,207.51 662.829,203.677 662.5,199.5C 666.273,200.178 669.106,198.844 671,195.5C 671.333,195.833 671.667,196.167 672,196.5C 673.269,195.095 673.769,193.429 673.5,191.5C 678.578,189.195 683.912,187.362 689.5,186C 690.551,184.615 691.884,183.615 693.5,183C 694.444,180.281 694.777,177.448 694.5,174.5C 690.699,173.03 687.032,173.363 683.5,175.5C 681.823,177.76 679.657,179.427 677,180.5C 674.869,183.102 673.035,185.768 671.5,188.5C 672.552,188.351 673.552,188.517 674.5,189C 668.223,191.949 663.223,196.282 659.5,202C 655.617,202.454 652.284,203.954 649.5,206.5C 649.636,203.449 649.302,200.449 648.5,197.5C 649.241,194.366 650.241,191.366 651.5,188.5C 652.833,188.5 654.167,188.5 655.5,188.5C 655.5,187.167 655.5,185.833 655.5,184.5C 654.5,184.5 653.5,184.5 652.5,184.5C 652.955,180.575 652.955,176.742 652.5,173C 654.16,171.158 655.16,168.991 655.5,166.5C 656.822,166.33 657.989,166.663 659,167.5C 659.273,169.101 659.773,170.601 660.5,172C 666.07,172.368 671.57,171.868 677,170.5C 679.532,170.624 682.032,170.957 684.5,171.5C 688.417,170.308 688.417,168.974 684.5,167.5C 688.351,165.375 692.518,163.709 697,162.5C 697.772,162.645 698.439,162.978 699,163.5C 699.311,165.556 699.811,167.556 700.5,169.5C 701.325,170.386 702.325,170.719 703.5,170.5C 703.605,174.319 704.438,177.986 706,181.5C 708.988,184.081 710.154,187.414 709.5,191.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#35a444",d:"M 646.5,207.5 C 644.712,215.057 647.712,219.391 655.5,220.5C 657.479,225.983 660.813,230.483 665.5,234C 677.222,234.366 688.888,234.033 700.5,233C 705.435,238.31 708.769,244.477 710.5,251.5C 710.16,255.558 709.493,259.558 708.5,263.5C 707.305,265.297 705.638,266.297 703.5,266.5C 703.439,268.592 702.439,270.092 700.5,271C 693.818,270.606 687.818,272.272 682.5,276C 679.635,276.837 676.802,277.67 674,278.5C 672.414,277.624 670.914,276.624 669.5,275.5C 666.894,278.649 666.894,281.816 669.5,285C 669.43,285.765 669.097,286.265 668.5,286.5C 663.609,281.384 663.275,275.884 667.5,270C 672.439,270.319 676.773,268.986 680.5,266C 685.614,265.711 690.614,264.877 695.5,263.5C 699.455,261.936 701.122,258.936 700.5,254.5C 700.167,252.833 699.833,251.167 699.5,249.5C 698.026,248.564 697.026,247.23 696.5,245.5C 687.954,244.303 679.454,244.636 671,246.5C 664.537,245.093 658.037,243.76 651.5,242.5C 649.801,242.66 648.134,242.494 646.5,242C 640.574,236.957 636.574,230.791 634.5,223.5C 634.334,216.492 634.5,209.492 635,202.5C 636.586,200.33 637.92,197.996 639,195.5C 639.667,198.167 639.667,200.833 639,203.5C 637.562,206.056 637.562,208.722 639,211.5C 639.49,210.207 639.657,208.873 639.5,207.5C 641.833,207.5 644.167,207.5 646.5,207.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#529d60",d:"M 681.5,198.5 C 678.445,200.041 675.779,202.208 673.5,205C 674.484,206.657 675.484,208.323 676.5,210C 685.494,210.5 694.494,210.666 703.5,210.5C 708.232,210.378 712.898,210.878 717.5,212C 718.756,212.417 719.423,213.25 719.5,214.5C 711.685,212.856 703.685,211.856 695.5,211.5C 688.836,212.223 682.17,212.389 675.5,212C 674.421,211.044 673.255,210.211 672,209.5C 671.32,202.672 674.486,199.005 681.5,198.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#51a15e",d:"M 651.5,242.5 C 658.037,243.76 664.537,245.093 671,246.5C 679.454,244.636 687.954,244.303 696.5,245.5C 697.026,247.23 698.026,248.564 699.5,249.5C 699.833,251.167 700.167,252.833 700.5,254.5C 701.122,258.936 699.455,261.936 695.5,263.5C 699.858,258.915 700.191,254.248 696.5,249.5C 696.389,248.883 696.056,248.383 695.5,248C 693.667,247.833 691.833,247.667 690,247.5C 680.513,248.507 671.013,248.673 661.5,248C 657.602,247.004 654.269,245.171 651.5,242.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e42949",d:"M 431.5,244.5 C 436.833,245.167 442.167,245.833 447.5,246.5C 447.5,247.5 447.5,248.5 447.5,249.5C 444.873,250.831 442.54,252.664 440.5,255C 439.552,255.483 438.552,255.649 437.5,255.5C 435.182,260.768 432.849,266.102 430.5,271.5C 426.393,288.049 424.393,304.716 424.5,321.5C 426.124,321.64 427.29,320.973 428,319.5C 428.86,314.063 430.027,308.729 431.5,303.5C 435.387,298.626 438.387,293.293 440.5,287.5C 443.833,283.663 447,279.663 450,275.5C 454.044,272.694 458.21,270.027 462.5,267.5C 463.386,266.675 463.719,265.675 463.5,264.5C 466.676,263.66 469.342,261.993 471.5,259.5C 476.925,260.106 481.592,262.273 485.5,266C 490.01,268.299 494.677,270.299 499.5,272C 504.331,275.919 509.664,279.086 515.5,281.5C 517.678,283.745 520.012,285.745 522.5,287.5C 523.292,289.257 524.625,290.591 526.5,291.5C 527.452,293.045 527.785,294.712 527.5,296.5C 526.5,296.5 525.5,296.5 524.5,296.5C 512.067,295.582 500.401,297.915 489.5,303.5C 485.671,302.931 482.337,303.598 479.5,305.5C 472.262,305.893 465.262,307.393 458.5,310C 454.377,313.273 449.711,315.606 444.5,317C 443.748,317.671 443.414,318.504 443.5,319.5C 440.619,320.683 437.619,321.683 434.5,322.5C 431.058,322.032 428.391,323.198 426.5,326C 415.844,327.663 405.178,329.33 394.5,331C 391.814,334.865 388.147,336.699 383.5,336.5C 383.5,335.833 383.167,335.5 382.5,335.5C 378.231,330.733 373.231,326.9 367.5,324C 355.331,318.848 342.998,318.348 330.5,322.5C 325.063,325.148 319.396,327.314 313.5,329C 308.965,332.768 303.965,335.768 298.5,338C 296.5,338.667 294.5,338.667 292.5,338C 286.962,331.136 281.462,324.303 276,317.5C 275.516,315.087 275.85,312.754 277,310.5C 280.652,309.005 282.652,310.339 283,314.5C 288.724,320.496 295.557,321.996 303.5,319C 311.21,314.813 319.21,311.147 327.5,308C 328.059,307.275 328.392,306.442 328.5,305.5C 325.363,297.893 321.696,290.56 317.5,283.5C 315.121,281.958 312.454,281.291 309.5,281.5C 293.849,282.716 278.849,286.383 264.5,292.5C 263.558,292.392 262.725,292.059 262,291.5C 261.667,289.5 261.333,287.5 261,285.5C 258.31,283.973 256.143,281.973 254.5,279.5C 253.766,278.292 253.433,276.959 253.5,275.5C 257.648,274.901 261.315,273.568 264.5,271.5C 266.833,270.833 269.167,270.167 271.5,269.5C 276.277,268.78 280.61,266.947 284.5,264C 290.817,263.761 296.651,261.928 302,258.5C 303.766,259.233 305.599,259.567 307.5,259.5C 307.433,258.041 307.766,256.708 308.5,255.5C 325.447,250.913 342.447,247.246 359.5,244.5C 362.167,244.5 364.833,244.5 367.5,244.5C 372.833,244.5 378.167,244.5 383.5,244.5C 383.5,245.5 383.5,246.5 383.5,247.5C 388.323,244.508 393.656,243.008 399.5,243C 410.265,242.098 420.931,242.598 431.5,244.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#623f2a",d:"M 443.5,211.5 C 483.315,218.5 519.315,234.333 551.5,259C 556.613,264.289 561.779,269.456 567,274.5C 571.167,280 575.333,285.5 579.5,291C 624.47,300.835 668.803,312.502 712.5,326C 736.158,332.231 759.824,338.398 783.5,344.5C 791.306,348.32 799.306,351.32 807.5,353.5C 807.062,353.435 806.728,353.601 806.5,354C 810.97,356.047 815.637,357.714 820.5,359C 823.064,362.018 822.064,363.518 817.5,363.5C 811.576,361.981 805.576,360.981 799.5,360.5C 799.646,362.942 798.813,363.609 797,362.5C 795.556,364.155 793.722,364.822 791.5,364.5C 791.649,363.448 791.483,362.448 791,361.5C 787.28,360.275 784.78,357.941 783.5,354.5C 780.579,354.854 778.246,353.854 776.5,351.5C 773.358,353.921 770.025,354.088 766.5,352C 766.957,351.586 767.291,351.086 767.5,350.5C 764.966,349.223 762.466,349.223 760,350.5C 759.274,347.712 757.44,346.212 754.5,346C 747.78,346.252 741.446,344.919 735.5,342C 730.93,341.538 726.43,340.704 722,339.5C 719.846,340.252 717.68,340.419 715.5,340C 716.696,339.346 716.696,338.846 715.5,338.5C 713.253,339.374 710.92,339.708 708.5,339.5C 685.784,333.837 663.118,327.504 640.5,320.5C 634.801,319.114 629.135,317.281 623.5,315C 606.263,310.952 588.929,307.286 571.5,304C 569.93,302.603 568.596,301.103 567.5,299.5C 561.764,290.923 555.431,282.757 548.5,275C 538.215,267.716 528.215,260.05 518.5,252C 507.249,245.577 495.583,239.91 483.5,235C 475.23,232.074 466.897,229.574 458.5,227.5C 452.028,224.193 445.028,222.693 437.5,223C 436.833,222.667 436.167,222.333 435.5,222C 436.759,221.077 438.092,220.243 439.5,219.5C 439.192,218.692 438.692,218.025 438,217.5C 432.31,219.952 426.643,219.952 421,217.5C 419.612,218.554 418.112,218.72 416.5,218C 419.009,215.5 422.009,213.834 425.5,213C 431.523,212.641 437.523,212.141 443.5,211.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#684532",d:"M 443.5,211.5 C 437.523,212.141 431.523,212.641 425.5,213C 422.009,213.834 419.009,215.5 416.5,218C 418.112,218.72 419.612,218.554 421,217.5C 426.643,219.952 432.31,219.952 438,217.5C 438.692,218.025 439.192,218.692 439.5,219.5C 438.092,220.243 436.759,221.077 435.5,222C 436.167,222.333 436.833,222.667 437.5,223C 445.028,222.693 452.028,224.193 458.5,227.5C 441.554,224.674 424.554,222.174 407.5,220C 394.5,219.333 381.5,219.333 368.5,220C 351.719,222.362 335.052,225.362 318.5,229C 304.5,233 290.5,237 276.5,241C 260.811,247.834 244.811,254.168 228.5,260C 210.333,269.584 192,278.917 173.5,288C 156.361,298.072 139.694,308.905 123.5,320.5C 119.421,324.253 115.421,327.919 111.5,331.5C 108.053,333.397 104.72,335.563 101.5,338C 93.9368,345.395 86.6035,352.895 79.5,360.5C 80.3231,357.649 81.6565,354.982 83.5,352.5C 85.1965,351.636 86.3632,350.303 87,348.5C 87.3333,348.833 87.6667,349.167 88,349.5C 89.5068,346.996 91.0068,344.496 92.5,342C 91.4799,339.141 89.4799,337.641 86.5,337.5C 85.7999,341.999 83.2999,343.665 79,342.5C 78.0754,343.047 77.2421,343.713 76.5,344.5C 74.5925,348.414 72.2592,352.08 69.5,355.5C 69.8333,356.167 70.1667,356.833 70.5,357.5C 68.1535,358.238 65.8202,359.238 63.5,360.5C 65.1396,356.559 67.3063,352.892 70,349.5C 84.5542,333.283 100.721,318.783 118.5,306C 170.469,272.349 225.802,245.682 284.5,226C 304.11,220.482 323.777,215.482 343.5,211C 360.638,209.097 377.805,207.597 395,206.5C 403.848,206.739 412.681,207.239 421.5,208C 428.969,208.966 436.302,210.133 443.5,211.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#aea998",d:"M 538.5,286.5 C 537.481,288.507 535.815,289.84 533.5,290.5C 531.021,288.924 528.354,287.924 525.5,287.5C 524.5,287.5 523.5,287.5 522.5,287.5C 520.012,285.745 517.678,283.745 515.5,281.5C 509.664,279.086 504.331,275.919 499.5,272C 494.677,270.299 490.01,268.299 485.5,266C 481.592,262.273 476.925,260.106 471.5,259.5C 472.609,258.71 473.942,258.21 475.5,258C 471.381,256.636 467.381,254.969 463.5,253C 458.418,250.96 453.084,249.793 447.5,249.5C 447.5,248.5 447.5,247.5 447.5,246.5C 442.167,245.833 436.833,245.167 431.5,244.5C 428.754,243.749 426.087,242.749 423.5,241.5C 398.479,240.245 373.312,239.578 348,239.5C 343.127,239.705 338.461,240.705 334,242.5C 323.001,241.014 322.835,242.014 333.5,245.5C 338.342,243.966 343.175,242.633 348,241.5C 352.179,241.712 356.013,242.712 359.5,244.5C 342.447,247.246 325.447,250.913 308.5,255.5C 302.109,256.483 296.109,258.65 290.5,262C 283.572,263.031 277.239,265.531 271.5,269.5C 269.167,270.167 266.833,270.833 264.5,271.5C 262.801,271.34 261.134,271.506 259.5,272C 251.781,275.958 243.781,279.291 235.5,282C 233.167,283.667 230.833,285.333 228.5,287C 222.961,288.708 217.627,290.708 212.5,293C 210.602,294.417 208.936,295.917 207.5,297.5C 204.687,297.025 202.687,298.025 201.5,300.5C 200.127,300.343 198.793,300.51 197.5,301C 192.418,304.305 187.084,307.139 181.5,309.5C 178.999,309.489 178.832,308.822 181,307.5C 182.137,303.63 180.637,301.797 176.5,302C 178.993,300.581 181.326,299.081 183.5,297.5C 192.465,290.758 202.465,285.591 213.5,282C 240.68,265.673 269.847,253.839 301,246.5C 304.222,244.424 307.722,242.924 311.5,242C 324.095,239.842 336.761,238.176 349.5,237C 350.833,236.333 352.167,235.667 353.5,235C 389.843,229.902 425.676,232.069 461,241.5C 474.739,247.282 488.572,252.949 502.5,258.5C 515.257,266.876 527.257,276.21 538.5,286.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6dab79",d:"M 942.5,267.5 C 938.481,263.82 933.814,261.153 928.5,259.5C 924.932,260.783 921.932,262.783 919.5,265.5C 919.751,263.83 920.418,262.33 921.5,261C 925.372,256.972 929.706,256.472 934.5,259.5C 935.779,261.146 937.445,262.313 939.5,263C 941.141,264.129 942.141,265.629 942.5,267.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dbf3de",d:"M 696.5,249.5 C 700.191,254.248 699.858,258.915 695.5,263.5C 690.614,264.877 685.614,265.711 680.5,266C 676.773,268.986 672.439,270.319 667.5,270C 663.275,275.884 663.609,281.384 668.5,286.5C 669.9,287.1 670.9,288.1 671.5,289.5C 671.733,291.062 672.4,292.395 673.5,293.5C 672.417,293.539 671.417,293.873 670.5,294.5C 663.712,287.512 661.212,279.178 663,269.5C 663.5,269 664,268.5 664.5,268C 668.5,267.667 672.5,267.333 676.5,267C 677.167,266.333 677.833,265.667 678.5,265C 685.618,265.902 691.451,263.735 696,258.5C 696.498,255.518 696.665,252.518 696.5,249.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3fb148",d:"M 671.5,289.5 C 670.9,288.1 669.9,287.1 668.5,286.5C 669.097,286.265 669.43,285.765 669.5,285C 666.894,281.816 666.894,278.649 669.5,275.5C 670.914,276.624 672.414,277.624 674,278.5C 676.802,277.67 679.635,276.837 682.5,276C 687.818,272.272 693.818,270.606 700.5,271C 702.439,270.092 703.439,268.592 703.5,266.5C 705.638,266.297 707.305,265.297 708.5,263.5C 709.493,259.558 710.16,255.558 710.5,251.5C 708.769,244.477 705.435,238.31 700.5,233C 688.888,234.033 677.222,234.366 665.5,234C 660.813,230.483 657.479,225.983 655.5,220.5C 647.712,219.391 644.712,215.057 646.5,207.5C 647.609,207.443 648.609,207.11 649.5,206.5C 652.284,203.954 655.617,202.454 659.5,202C 663.223,196.282 668.223,191.949 674.5,189C 673.552,188.517 672.552,188.351 671.5,188.5C 673.035,185.768 674.869,183.102 677,180.5C 679.657,179.427 681.823,177.76 683.5,175.5C 687.032,173.363 690.699,173.03 694.5,174.5C 694.777,177.448 694.444,180.281 693.5,183C 691.884,183.615 690.551,184.615 689.5,186C 683.912,187.362 678.578,189.195 673.5,191.5C 673.769,193.429 673.269,195.095 672,196.5C 671.667,196.167 671.333,195.833 671,195.5C 669.106,198.844 666.273,200.178 662.5,199.5C 662.829,203.677 661.829,207.51 659.5,211C 662.398,214.119 665.065,217.453 667.5,221C 672.883,221.322 677.883,219.988 682.5,217C 689.492,216.5 696.492,216.334 703.5,216.5C 703.5,215.5 703.5,214.5 703.5,213.5C 709.962,215.275 716.629,216.442 723.5,217C 725.833,219 728.167,221 730.5,223C 726.783,223.043 723.116,222.543 719.5,221.5C 719.666,229.507 719.5,237.507 719,245.5C 717.187,248.429 716.02,251.596 715.5,255C 716.422,258.459 716.255,261.959 715,265.5C 713.559,266.87 711.892,267.87 710,268.5C 710.046,270.313 709.88,271.979 709.5,273.5C 707.591,274.348 705.591,274.682 703.5,274.5C 703.5,275.833 703.5,277.167 703.5,278.5C 695.151,281.825 686.485,284.325 677.5,286C 676.245,288.46 674.245,289.627 671.5,289.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3cae49",d:"M 964.5,287.5 C 962.909,290.431 960.909,293.098 958.5,295.5C 953.389,298.469 948.555,301.802 944,305.5C 941.108,304.18 939.775,301.846 940,298.5C 938.374,295.872 936.374,293.539 934,291.5C 933.517,290.552 933.351,289.552 933.5,288.5C 929.881,287.756 926.215,287.423 922.5,287.5C 921.504,287.414 920.671,287.748 920,288.5C 918.971,298.43 922.471,305.43 930.5,309.5C 929.975,310.192 929.308,310.692 928.5,311C 930.286,311.785 931.786,312.951 933,314.5C 934.321,318.784 935.488,323.117 936.5,327.5C 936.875,335.911 937.875,344.078 939.5,352C 937.443,355.3 936.443,355.133 936.5,351.5C 932.611,351.376 929.278,352.709 926.5,355.5C 925.334,353.635 925.667,351.968 927.5,350.5C 926.902,349.205 926.402,347.872 926,346.5C 925.29,347.973 924.124,348.64 922.5,348.5C 922.5,346.833 922.5,345.167 922.5,343.5C 921.167,343.5 919.833,343.5 918.5,343.5C 918.313,345.564 917.813,347.564 917,349.5C 915.088,347.006 913.254,347.173 911.5,350C 913.023,352.452 914.69,354.786 916.5,357C 914.866,357.494 913.199,357.66 911.5,357.5C 911.5,356.167 911.5,354.833 911.5,353.5C 909.856,353.286 908.356,353.62 907,354.5C 906.517,353.552 906.351,352.552 906.5,351.5C 905.325,351.719 904.325,351.386 903.5,350.5C 905.473,348.719 906.807,346.552 907.5,344C 903.541,344.158 899.541,344.325 895.5,344.5C 895.5,343.167 895.5,341.833 895.5,340.5C 902.383,340.934 909.05,340.267 915.5,338.5C 916.035,332.757 915.368,327.257 913.5,322C 913.905,321.055 914.572,320.388 915.5,320C 913.167,319.667 910.833,319.333 908.5,319C 906.717,317.261 905.05,315.428 903.5,313.5C 900.822,312.445 898.322,311.112 896,309.5C 889.911,300.167 889.244,290.501 894,280.5C 897.944,279.057 900.777,276.391 902.5,272.5C 909.49,267.7 916.823,267.366 924.5,271.5C 926.135,271.122 927.635,270.456 929,269.5C 931.935,271.192 935.102,271.858 938.5,271.5C 938.948,275.524 939.614,279.524 940.5,283.5C 941.812,278.42 944.979,275.42 950,274.5C 955.032,275.544 959.866,277.044 964.5,279C 965.679,281.796 965.679,284.629 964.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d45864",d:"M 440.5,287.5 C 438.387,293.293 435.387,298.626 431.5,303.5C 432.993,297.166 435.993,291.833 440.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#93c69c",d:"M 698.5,290.5 C 695.713,291.477 692.713,291.81 689.5,291.5C 689.5,295.833 689.5,300.167 689.5,304.5C 687.901,304.768 686.568,304.434 685.5,303.5C 686.5,303.5 687.5,303.5 688.5,303.5C 688.766,299.429 688.433,295.429 687.5,291.5C 691.107,290.511 694.774,290.177 698.5,290.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#beb6a9",d:"M 447.5,249.5 C 453.084,249.793 458.418,250.96 463.5,253C 467.381,254.969 471.381,256.636 475.5,258C 473.942,258.21 472.609,258.71 471.5,259.5C 469.342,261.993 466.676,263.66 463.5,264.5C 463.719,265.675 463.386,266.675 462.5,267.5C 458.21,270.027 454.044,272.694 450,275.5C 447,279.663 443.833,283.663 440.5,287.5C 435.993,291.833 432.993,297.166 431.5,303.5C 430.027,308.729 428.86,314.063 428,319.5C 427.29,320.973 426.124,321.64 424.5,321.5C 424.393,304.716 426.393,288.049 430.5,271.5C 432.849,266.102 435.182,260.768 437.5,255.5C 438.552,255.649 439.552,255.483 440.5,255C 442.54,252.664 444.873,250.831 447.5,249.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e32949",d:"M 244.5,287.5 C 244.167,288.833 243.833,290.167 243.5,291.5C 242.226,295.856 242.226,300.356 243.5,305C 242.2,306.58 240.866,308.08 239.5,309.5C 236.079,312.093 233.079,315.259 230.5,319C 229.552,319.483 228.552,319.649 227.5,319.5C 227.657,320.873 227.49,322.207 227,323.5C 225.624,324.705 224.458,326.038 223.5,327.5C 222.178,327.33 221.011,327.663 220,328.5C 218.956,330.715 218.29,333.048 218,335.5C 217.333,344.167 217.333,352.833 218,361.5C 218.414,361.957 218.914,362.291 219.5,362.5C 220.164,366.654 221.331,370.654 223,374.5C 223.986,373.829 225.153,373.829 226.5,374.5C 229.796,380.622 234.796,384.789 241.5,387C 252.639,386.642 263.639,384.975 274.5,382C 285.331,377.416 295.998,372.582 306.5,367.5C 307.442,367.608 308.275,367.941 309,368.5C 312.707,374.027 316.874,379.027 321.5,383.5C 325.132,387.095 327.465,391.428 328.5,396.5C 328.33,397.822 328.663,398.989 329.5,400C 326.174,400.172 322.841,400.005 319.5,399.5C 315.611,398.274 312.611,395.941 310.5,392.5C 307.273,387.592 302.94,384.259 297.5,382.5C 295.813,382.76 294.313,383.427 293,384.5C 291.953,387.881 290.453,391.047 288.5,394C 282.844,395.941 277.178,397.774 271.5,399.5C 271.082,402.439 269.582,404.772 267,406.5C 266.047,409.432 265.547,412.432 265.5,415.5C 266.873,415.343 268.207,415.51 269.5,416C 272.665,420.659 275.998,425.159 279.5,429.5C 279.66,431.199 279.494,432.866 279,434.5C 276.657,437.207 274.323,439.874 272,442.5C 271.506,444.134 271.34,445.801 271.5,447.5C 270.5,447.5 269.5,447.5 268.5,447.5C 264.659,455.6 261.325,464.1 258.5,473C 257.991,474.169 257.158,475.002 256,475.5C 255.824,478.882 255.324,482.215 254.5,485.5C 252.227,486.375 251.227,488.042 251.5,490.5C 247.21,490.198 243.21,490.864 239.5,492.5C 223.707,494.826 207.707,496.493 191.5,497.5C 175.483,497.7 159.483,497.366 143.5,496.5C 138.5,496.011 133.833,494.344 129.5,491.5C 128.449,490.778 127.782,489.778 127.5,488.5C 125.222,480.344 124.888,472.011 126.5,463.5C 128.833,463.5 131.167,463.5 133.5,463.5C 132.098,458.661 132.598,453.995 135,449.5C 136.117,450.949 136.784,452.616 137,454.5C 136.299,450.168 136.633,445.835 138,441.5C 140.401,439.218 143.234,437.718 146.5,437C 152.464,428.711 160.131,422.877 169.5,419.5C 171.325,420.651 173.325,421.318 175.5,421.5C 175.5,420.5 175.5,419.5 175.5,418.5C 174.5,418.5 173.5,418.5 172.5,418.5C 172.5,417.5 172.5,416.5 172.5,415.5C 177.536,415.47 182.536,414.97 187.5,414C 188.833,413.333 190.167,412.667 191.5,412C 188.937,411.082 186.77,411.582 185,413.5C 183.578,413.406 182.078,413.072 180.5,412.5C 183.221,410.75 185.888,409.083 188.5,407.5C 190.279,406.33 191.279,404.664 191.5,402.5C 184.506,402.137 177.506,401.803 170.5,401.5C 164.728,401.706 159.061,402.539 153.5,404C 142.159,410.576 130.492,416.409 118.5,421.5C 114.565,420.276 111.399,417.942 109,414.5C 104.679,404.291 104.346,393.958 108,383.5C 110.803,376.992 114.136,370.659 118,364.5C 122.247,359.659 126.247,354.659 130,349.5C 134.038,345.461 138.371,341.794 143,338.5C 143.483,337.552 143.649,336.552 143.5,335.5C 148.589,332.783 153.589,329.783 158.5,326.5C 159.429,325.311 159.762,323.978 159.5,322.5C 162.686,321.229 166.02,320.229 169.5,319.5C 173.543,317.436 177.876,316.103 182.5,315.5C 182.167,314.833 181.833,314.167 181.5,313.5C 183.737,312.868 185.403,311.535 186.5,309.5C 188.882,307.929 191.549,307.096 194.5,307C 196.104,303.896 198.437,301.729 201.5,300.5C 202.687,298.025 204.687,297.025 207.5,297.5C 209.833,297.5 212.167,297.5 214.5,297.5C 214.33,296.178 214.663,295.011 215.5,294C 219.338,292.526 223.338,291.526 227.5,291C 230.87,287.458 234.87,284.958 239.5,283.5C 239.281,284.675 239.614,285.675 240.5,286.5C 241.731,285.349 241.731,284.183 240.5,283C 241.563,281.812 242.897,281.312 244.5,281.5C 244.5,283.5 244.5,285.5 244.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#853d37",d:"M 524.5,296.5 C 520.833,297.167 517.167,297.833 513.5,298.5C 505.749,300.766 497.749,302.433 489.5,303.5C 500.401,297.915 512.067,295.582 524.5,296.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#df6179",d:"M 243.5,291.5 C 243.117,296.343 243.783,301.009 245.5,305.5C 244.157,307.737 242.157,309.07 239.5,309.5C 240.866,308.08 242.2,306.58 243.5,305C 242.226,300.356 242.226,295.856 243.5,291.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d34c5b",d:"M 201.5,300.5 C 198.437,301.729 196.104,303.896 194.5,307C 191.549,307.096 188.882,307.929 186.5,309.5C 185.403,311.535 183.737,312.868 181.5,313.5C 181.833,314.167 182.167,314.833 182.5,315.5C 177.876,316.103 173.543,317.436 169.5,319.5C 173.5,316.167 177.5,312.833 181.5,309.5C 187.084,307.139 192.418,304.305 197.5,301C 198.793,300.51 200.127,300.343 201.5,300.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#983536",d:"M 479.5,305.5 C 467.182,309.165 455.182,313.832 443.5,319.5C 443.414,318.504 443.748,317.671 444.5,317C 449.711,315.606 454.377,313.273 458.5,310C 465.262,307.393 472.262,305.893 479.5,305.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#faf9fb",d:"M 254.5,279.5 C 256.143,281.973 258.31,283.973 261,285.5C 261.333,287.5 261.667,289.5 262,291.5C 262.725,292.059 263.558,292.392 264.5,292.5C 278.849,286.383 293.849,282.716 309.5,281.5C 312.454,281.291 315.121,281.958 317.5,283.5C 321.696,290.56 325.363,297.893 328.5,305.5C 328.392,306.442 328.059,307.275 327.5,308C 319.21,311.147 311.21,314.813 303.5,319C 295.557,321.996 288.724,320.496 283,314.5C 282.652,310.339 280.652,309.005 277,310.5C 275.85,312.754 275.516,315.087 276,317.5C 281.462,324.303 286.962,331.136 292.5,338C 294.5,338.667 296.5,338.667 298.5,338C 303.965,335.768 308.965,332.768 313.5,329C 319.396,327.314 325.063,325.148 330.5,322.5C 342.998,318.348 355.331,318.848 367.5,324C 373.231,326.9 378.231,330.733 382.5,335.5C 382.719,336.675 382.386,337.675 381.5,338.5C 376.777,341.756 372.443,345.422 368.5,349.5C 366.49,351.171 364.157,351.838 361.5,351.5C 361.762,352.978 361.429,354.311 360.5,355.5C 355.893,358.969 350.893,361.636 345.5,363.5C 344.513,360.854 343.513,358.188 342.5,355.5C 340.926,354.369 339.259,354.202 337.5,355C 334.142,357.203 330.642,359.037 327,360.5C 326.968,363.668 328.468,366.001 331.5,367.5C 332.833,369.167 334.167,370.833 335.5,372.5C 331.413,376.922 326.746,380.589 321.5,383.5C 316.874,379.027 312.707,374.027 309,368.5C 308.275,367.941 307.442,367.608 306.5,367.5C 295.998,372.582 285.331,377.416 274.5,382C 263.639,384.975 252.639,386.642 241.5,387C 234.796,384.789 229.796,380.622 226.5,374.5C 225.308,371.438 223.808,368.438 222,365.5C 217.123,352.61 217.623,339.943 223.5,327.5C 224.458,326.038 225.624,324.705 227,323.5C 227.49,322.207 227.657,320.873 227.5,319.5C 228.552,319.649 229.552,319.483 230.5,319C 233.079,315.259 236.079,312.093 239.5,309.5C 242.157,309.07 244.157,307.737 245.5,305.5C 243.783,301.009 243.117,296.343 243.5,291.5C 243.833,290.167 244.167,288.833 244.5,287.5C 246.003,284.759 247.669,281.925 249.5,279C 251.197,278.616 252.863,278.782 254.5,279.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7465e",d:"M 223.5,327.5 C 217.623,339.943 217.123,352.61 222,365.5C 223.808,368.438 225.308,371.438 226.5,374.5C 225.153,373.829 223.986,373.829 223,374.5C 221.331,370.654 220.164,366.654 219.5,362.5C 218.914,362.291 218.414,361.957 218,361.5C 217.333,352.833 217.333,344.167 218,335.5C 218.29,333.048 218.956,330.715 220,328.5C 221.011,327.663 222.178,327.33 223.5,327.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ab1f37",d:"M 434.5,322.5 C 428.964,326.373 422.964,329.706 416.5,332.5C 415.614,333.325 415.281,334.325 415.5,335.5C 411.267,336.106 407.267,337.606 403.5,340C 399.249,342.945 395.249,346.112 391.5,349.5C 390.5,349.5 389.5,349.5 388.5,349.5C 387.628,344.774 385.962,340.44 383.5,336.5C 388.147,336.699 391.814,334.865 394.5,331C 405.178,329.33 415.844,327.663 426.5,326C 428.391,323.198 431.058,322.032 434.5,322.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#51a75f",d:"M 876.5,323.5 C 875.265,323.279 874.265,322.612 873.5,321.5C 872.208,324.619 870.708,327.619 869,330.5C 867.556,332.155 865.722,332.822 863.5,332.5C 863.5,333.5 863.5,334.5 863.5,335.5C 862.167,335.5 860.833,335.5 859.5,335.5C 861.77,332.633 864.27,329.967 867,327.5C 868.786,324.92 870.286,322.253 871.5,319.5C 873.167,319.5 874.833,319.5 876.5,319.5C 876.5,320.833 876.5,322.167 876.5,323.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dcceb7",d:"M 640.5,320.5 C 663.118,327.504 685.784,333.837 708.5,339.5C 734.442,348.135 760.775,355.969 787.5,363C 789.275,364.439 791.275,365.439 793.5,366C 801.459,367.915 809.459,369.915 817.5,372C 836.079,379.027 855.079,384.527 874.5,388.5C 891.41,394.805 908.41,400.638 925.5,406C 933.621,409.894 941.621,414.061 949.5,418.5C 949.351,419.552 949.517,420.552 950,421.5C 953.5,424.333 956.667,427.5 959.5,431C 960.448,431.483 961.448,431.649 962.5,431.5C 962.372,433.655 962.872,435.655 964,437.5C 966.795,439.751 969.128,442.418 971,445.5C 972.762,450.453 975.095,455.12 978,459.5C 984.625,476.253 986.791,493.587 984.5,511.5C 981.528,519.574 977.695,527.241 973,534.5C 963.702,542.042 953.535,548.208 942.5,553C 939.872,554.626 937.539,556.626 935.5,559C 925.886,562.808 916.552,567.142 907.5,572C 903.378,575.394 898.711,577.728 893.5,579C 883.397,583.811 873.397,588.811 863.5,594C 853.945,596.634 844.945,600.634 836.5,606C 823.435,610.027 810.435,614.36 797.5,619C 787.49,623.121 777.49,627.455 767.5,632C 751.068,636.144 735.068,641.477 719.5,648C 715.981,648.377 712.481,648.877 709,649.5C 700.931,652.48 692.764,655.147 684.5,657.5C 675.981,658.27 667.648,659.937 659.5,662.5C 657.772,662.41 656.106,662.077 654.5,661.5C 651.798,663.347 648.798,664.513 645.5,665C 637.586,666.124 629.753,667.624 622,669.5C 613.838,670.277 605.671,670.944 597.5,671.5C 594.833,671.5 592.167,671.5 589.5,671.5C 576.167,671.5 562.833,671.5 549.5,671.5C 548.5,671.5 547.5,671.5 546.5,671.5C 527.141,670.063 507.808,667.897 488.5,665C 471.77,659.261 454.77,654.261 437.5,650C 419.34,642.668 401.673,634.334 384.5,625C 367.475,614.302 352.142,601.469 338.5,586.5C 333.297,577.463 327.131,569.129 320,561.5C 317.868,555.239 315.202,549.239 312,543.5C 301.137,509.724 303.137,476.724 318,444.5C 325.908,430.096 334.908,416.43 345,403.5C 350.161,399.547 354.661,394.88 358.5,389.5C 365.909,384.133 372.909,378.299 379.5,372C 393.66,363.728 407.326,354.728 420.5,345C 433.394,339.103 446.06,332.769 458.5,326C 471.783,320.837 485.449,316.837 499.5,314C 529.363,309.172 559.363,308.172 589.5,311C 600.589,314.4 611.923,317.067 623.5,319C 628.501,319.058 633.335,319.891 638,321.5C 638.902,321.257 639.735,320.923 640.5,320.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#539e60",d:"M 945.5,320.5 C 947.902,325.44 948.902,330.773 948.5,336.5C 948.333,339.5 948.167,342.5 948,345.5C 947.878,347.437 947.045,348.77 945.5,349.5C 946.668,339.84 946.668,330.174 945.5,320.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b5b6aa",d:"M 863.5,400.5 C 863.5,401.5 863.5,402.5 863.5,403.5C 859.923,401.433 855.923,400.266 851.5,400C 843.822,399.523 836.155,399.69 828.5,400.5C 802.745,393.976 777.079,386.809 751.5,379C 742.28,377.624 733.28,375.624 724.5,373C 720.615,370.931 716.615,369.264 712.5,368C 697.802,365.127 683.135,362.127 668.5,359C 658.952,355.697 649.286,353.197 639.5,351.5C 638.848,350.275 637.681,349.608 636,349.5C 631.916,348.305 627.75,347.639 623.5,347.5C 621.05,347.702 618.717,347.369 616.5,346.5C 616.389,345.883 616.056,345.383 615.5,345C 609.859,343.858 604.193,342.858 598.5,342C 598.833,341.667 599.167,341.333 599.5,341C 594.511,340.501 589.511,340.334 584.5,340.5C 576.181,339.876 567.848,339.543 559.5,339.5C 554.544,338.172 549.211,337.505 543.5,337.5C 535.493,337.667 527.493,338 519.5,338.5C 516.41,338.522 513.743,339.188 511.5,340.5C 500.267,340.572 489.6,342.572 479.5,346.5C 472.985,347.171 467.152,349.504 462,353.5C 454.467,356.124 446.967,358.957 439.5,362C 430.598,366.95 421.598,371.617 412.5,376C 407.991,379.021 403.658,382.188 399.5,385.5C 394.167,389.167 388.833,392.833 383.5,396.5C 383.343,395.127 383.51,393.793 384,392.5C 386.172,391.491 387.338,389.824 387.5,387.5C 388.833,387.5 390.167,387.5 391.5,387.5C 391.567,386.041 391.234,384.708 390.5,383.5C 407.518,372.138 424.851,360.972 442.5,350C 448.233,346.801 454.233,344.135 460.5,342C 466.087,341.399 471.087,339.399 475.5,336C 491.155,330.87 507.155,327.037 523.5,324.5C 546.265,322.669 568.932,323.502 591.5,327C 611.914,331.186 632.247,335.853 652.5,341C 669.266,346.279 686.266,350.779 703.5,354.5C 721.946,360.898 740.613,366.398 759.5,371C 786.19,379.394 812.857,387.561 839.5,395.5C 847.448,397.423 855.448,399.09 863.5,400.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c9a19b",d:"M 584.5,340.5 C 589.511,340.334 594.511,340.501 599.5,341C 599.167,341.333 598.833,341.667 598.5,342C 604.193,342.858 609.859,343.858 615.5,345C 616.056,345.383 616.389,345.883 616.5,346.5C 605.639,344.953 594.972,342.953 584.5,340.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc5664",d:"M 559.5,339.5 C 543.491,339.5 527.491,339.834 511.5,340.5C 513.743,339.188 516.41,338.522 519.5,338.5C 527.493,338 535.493,337.667 543.5,337.5C 549.211,337.505 554.544,338.172 559.5,339.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc4a5c",d:"M 511.5,340.5 C 501.111,343.512 490.445,345.512 479.5,346.5C 489.6,342.572 500.267,340.572 511.5,340.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ea2f4e",d:"M 260.5,326.5 C 262.39,326.297 263.89,326.963 265,328.5C 270.028,335.362 274.862,342.362 279.5,349.5C 277.376,351.121 275.376,352.954 273.5,355C 272.167,355.667 270.833,355.667 269.5,355C 264.966,350.801 260.799,346.301 257,341.5C 256.002,337.527 255.669,333.527 256,329.5C 258.026,329.085 259.526,328.085 260.5,326.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3aa648",d:"M 919.5,265.5 C 921.932,262.783 924.932,260.783 928.5,259.5C 933.814,261.153 938.481,263.82 942.5,267.5C 950.215,269.555 957.548,272.722 964.5,277C 968.251,280.498 968.251,283.998 964.5,287.5C 965.679,284.629 965.679,281.796 964.5,279C 959.866,277.044 955.032,275.544 950,274.5C 944.979,275.42 941.812,278.42 940.5,283.5C 939.614,279.524 938.948,275.524 938.5,271.5C 935.102,271.858 931.935,271.192 929,269.5C 927.635,270.456 926.135,271.122 924.5,271.5C 916.823,267.366 909.49,267.7 902.5,272.5C 900.777,276.391 897.944,279.057 894,280.5C 889.244,290.501 889.911,300.167 896,309.5C 898.322,311.112 900.822,312.445 903.5,313.5C 905.05,315.428 906.717,317.261 908.5,319C 910.833,319.333 913.167,319.667 915.5,320C 914.572,320.388 913.905,321.055 913.5,322C 915.368,327.257 916.035,332.757 915.5,338.5C 909.05,340.267 902.383,340.934 895.5,340.5C 895.5,341.833 895.5,343.167 895.5,344.5C 899.541,344.325 903.541,344.158 907.5,344C 906.807,346.552 905.473,348.719 903.5,350.5C 904.325,351.386 905.325,351.719 906.5,351.5C 906.351,352.552 906.517,353.552 907,354.5C 908.356,353.62 909.856,353.286 911.5,353.5C 911.5,354.833 911.5,356.167 911.5,357.5C 913.199,357.66 914.866,357.494 916.5,357C 914.69,354.786 913.023,352.452 911.5,350C 913.254,347.173 915.088,347.006 917,349.5C 917.813,347.564 918.313,345.564 918.5,343.5C 919.833,343.5 921.167,343.5 922.5,343.5C 922.5,345.167 922.5,346.833 922.5,348.5C 924.124,348.64 925.29,347.973 926,346.5C 926.402,347.872 926.902,349.205 927.5,350.5C 925.667,351.968 925.334,353.635 926.5,355.5C 929.278,352.709 932.611,351.376 936.5,351.5C 936.443,355.133 937.443,355.3 939.5,352C 937.875,344.078 936.875,335.911 936.5,327.5C 935.488,323.117 934.321,318.784 933,314.5C 931.786,312.951 930.286,311.785 928.5,311C 929.308,310.692 929.975,310.192 930.5,309.5C 922.471,305.43 918.971,298.43 920,288.5C 920.671,287.748 921.504,287.414 922.5,287.5C 920.054,293.309 921.554,297.642 927,300.5C 927.483,301.448 927.649,302.448 927.5,303.5C 928.873,303.343 930.207,303.51 931.5,304C 937.189,308.838 941.856,314.338 945.5,320.5C 946.668,330.174 946.668,339.84 945.5,349.5C 943.816,353.366 941.482,356.866 938.5,360C 934.827,362.342 931.161,364.676 927.5,367C 924,367.167 920.5,367.333 917,367.5C 910.66,367.312 904.493,366.312 898.5,364.5C 898.5,365.5 898.5,366.5 898.5,367.5C 897.5,367.5 896.5,367.5 895.5,367.5C 895.862,372.099 894.529,376.099 891.5,379.5C 888.364,379.397 885.698,378.397 883.5,376.5C 881.631,370.394 879.465,364.394 877,358.5C 874.034,356.966 870.867,355.8 867.5,355C 863.551,352.683 859.717,350.183 856,347.5C 853.262,342.166 854.429,338.166 859.5,335.5C 860.833,335.5 862.167,335.5 863.5,335.5C 863.5,334.5 863.5,333.5 863.5,332.5C 865.722,332.822 867.556,332.155 869,330.5C 870.708,327.619 872.208,324.619 873.5,321.5C 874.265,322.612 875.265,323.279 876.5,323.5C 880.043,328.209 884.376,332.042 889.5,335C 910.497,338.173 912.83,333.007 896.5,319.5C 894.885,318.846 893.218,318.346 891.5,318C 887.256,312.977 883.256,307.644 879.5,302C 876.544,292.967 877.044,284.134 881,275.5C 886.759,267.062 894.259,260.895 903.5,257C 906.482,256.502 909.482,256.335 912.5,256.5C 913.241,259.634 914.241,262.634 915.5,265.5C 916.833,265.5 918.167,265.5 919.5,265.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf8e90",d:"M 623.5,347.5 C 627.75,347.639 631.916,348.305 636,349.5C 637.681,349.608 638.848,350.275 639.5,351.5C 633.411,352.26 628.078,350.926 623.5,347.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e32a49",d:"M 559.5,339.5 C 567.848,339.543 576.181,339.876 584.5,340.5C 594.972,342.953 605.639,344.953 616.5,346.5C 618.717,347.369 621.05,347.702 623.5,347.5C 628.078,350.926 633.411,352.26 639.5,351.5C 649.286,353.197 658.952,355.697 668.5,359C 683.135,362.127 697.802,365.127 712.5,368C 716.615,369.264 720.615,370.931 724.5,373C 733.28,375.624 742.28,377.624 751.5,379C 777.079,386.809 802.745,393.976 828.5,400.5C 851.113,408.738 874.113,416.071 897.5,422.5C 898.29,423.794 899.29,424.961 900.5,426C 905.482,427.332 910.482,428.832 915.5,430.5C 916.833,431.833 916.833,433.167 915.5,434.5C 913.018,435.067 910.684,435.734 908.5,436.5C 898.017,439.407 888.684,444.407 880.5,451.5C 879.614,452.325 879.281,453.325 879.5,454.5C 876.612,454.22 875.112,455.553 875,458.5C 873.488,459.257 872.154,460.257 871,461.5C 869.3,464.52 867.634,467.52 866,470.5C 865.219,471.944 865.386,473.277 866.5,474.5C 873.526,470.326 880.859,466.826 888.5,464C 899.848,462.33 911.181,462.33 922.5,464C 929.105,466.427 934.438,470.593 938.5,476.5C 946.121,489.697 948.621,504.031 946,519.5C 942.744,521.585 939.911,524.252 937.5,527.5C 927.487,533.017 917.487,538.85 907.5,545C 896.483,549.019 886.15,554.352 876.5,561C 868.087,564.138 859.754,567.471 851.5,571C 850.495,572.507 849.162,573.673 847.5,574.5C 843.396,575.467 839.396,576.634 835.5,578C 832.194,580.261 828.86,582.428 825.5,584.5C 814.527,588.315 803.527,592.149 792.5,596C 789.197,597.059 786.197,598.559 783.5,600.5C 762.401,608.422 741.068,615.755 719.5,622.5C 661.872,637.704 603.205,645.037 543.5,644.5C 527.459,642.991 511.459,640.491 495.5,637C 490.136,634.155 485.136,630.655 480.5,626.5C 479.614,625.675 479.281,624.675 479.5,623.5C 478.5,623.5 477.5,623.5 476.5,623.5C 476.657,622.127 476.49,620.793 476,619.5C 473.886,616.907 472.053,614.24 470.5,611.5C 470.5,610.833 470.5,610.167 470.5,609.5C 470.101,597.995 471.101,586.662 473.5,575.5C 474.5,575.5 475.5,575.5 476.5,575.5C 476.292,573.08 476.626,570.747 477.5,568.5C 477.043,567.702 476.376,567.369 475.5,567.5C 466.87,567.355 458.37,568.355 450,570.5C 448.624,570.684 447.791,571.351 447.5,572.5C 442.417,574.469 437.417,576.802 432.5,579.5C 427.83,584.167 422.83,588.501 417.5,592.5C 414.5,597.167 411.5,601.833 408.5,606.5C 405.743,607.866 403.577,607.199 402,604.5C 401.195,594.62 401.695,584.954 403.5,575.5C 404.655,568.345 404.822,561.012 404,553.5C 403.434,551.277 402.6,549.277 401.5,547.5C 400.438,543.259 398.772,539.259 396.5,535.5C 393.435,532.76 390.435,530.093 387.5,527.5C 387.5,526.5 387.5,525.5 387.5,524.5C 384.173,523.463 380.839,522.296 377.5,521C 364.154,520.833 350.821,520.333 337.5,519.5C 341.349,515.904 343.683,511.571 344.5,506.5C 346.55,503.942 348.883,501.442 351.5,499C 352.448,498.517 353.448,498.351 354.5,498.5C 354.5,497.5 354.5,496.5 354.5,495.5C 355.978,495.762 357.311,495.429 358.5,494.5C 364.144,489.756 368.644,484.09 372,477.5C 384.832,463.914 390.166,447.581 388,428.5C 384.786,420.55 381.286,412.716 377.5,405C 377.667,404.167 377.833,403.333 378,402.5C 380.182,401.064 382.016,399.397 383.5,397.5C 384.552,397.649 385.552,397.483 386.5,397C 391.027,393.301 395.361,389.468 399.5,385.5C 403.658,382.188 407.991,379.021 412.5,376C 421.598,371.617 430.598,366.95 439.5,362C 446.967,358.957 454.467,356.124 462,353.5C 467.152,349.504 472.985,347.171 479.5,346.5C 490.445,345.512 501.111,343.512 511.5,340.5C 527.491,339.834 543.491,339.5 559.5,339.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8d8d91",d:"M 382.5,335.5 C 383.167,335.5 383.5,335.833 383.5,336.5C 385.962,340.44 387.628,344.774 388.5,349.5C 389.5,349.5 390.5,349.5 391.5,349.5C 389.723,350.6 387.723,351.434 385.5,352C 377.622,360.376 368.955,367.876 359.5,374.5C 358.311,375.429 356.978,375.762 355.5,375.5C 354.908,378.127 354.575,380.794 354.5,383.5C 353.5,383.5 352.5,383.5 351.5,383.5C 352.488,375.808 350.488,369.142 345.5,363.5C 350.893,361.636 355.893,358.969 360.5,355.5C 361.429,354.311 361.762,352.978 361.5,351.5C 364.157,351.838 366.49,351.171 368.5,349.5C 372.443,345.422 376.777,341.756 381.5,338.5C 382.386,337.675 382.719,336.675 382.5,335.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db485e",d:"M 584.5,367.5 C 584.577,371.215 584.244,374.881 583.5,378.5C 575.425,376.912 567.425,375.079 559.5,373C 548.619,371.811 537.952,372.644 527.5,375.5C 529.1,374.356 530.767,373.189 532.5,372C 544.5,371.667 556.5,371.333 568.5,371C 569.025,370.308 569.692,369.808 570.5,369.5C 572.395,371.632 574.562,371.966 577,370.5C 577.5,370.833 578,371.167 578.5,371.5C 575.851,375.575 577.185,377.575 582.5,377.5C 582.336,374.813 582.503,372.146 583,369.5C 583.278,368.584 583.778,367.918 584.5,367.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#fbfafb",d:"M 645.5,444.5 C 643.647,446.375 641.813,448.375 640,450.5C 636.167,447.333 632.333,444.167 628.5,441C 622.852,439.671 617.185,438.504 611.5,437.5C 610.081,436.549 608.415,436.216 606.5,436.5C 607.374,428.293 605.041,421.293 599.5,415.5C 597.898,411.991 595.398,410.658 592,411.5C 589.753,418.049 587.753,424.715 586,431.5C 582.51,436.313 579.677,441.48 577.5,447C 577.645,447.772 577.978,448.439 578.5,449C 582.363,450.732 586.363,452.066 590.5,453C 601.64,458.724 611.806,465.891 621,474.5C 625.192,480.21 627.692,486.543 628.5,493.5C 627.399,509.531 621.066,523.031 609.5,534C 601.708,539.9 593.041,543.567 583.5,545C 572.839,545.5 562.172,545.667 551.5,545.5C 550.446,550.107 549.779,554.773 549.5,559.5C 547.01,563.323 545.677,567.657 545.5,572.5C 535.64,571.049 525.974,569.049 516.5,566.5C 514.656,564.721 513.99,562.388 514.5,559.5C 517.981,551.263 521.314,542.929 524.5,534.5C 516.663,531.778 508.663,529.445 500.5,527.5C 487.907,524.038 476.574,518.204 466.5,510C 474.12,496.37 480.62,482.203 486,467.5C 487.34,466.132 488.674,464.799 490,463.5C 491.406,464.414 492.906,465.08 494.5,465.5C 502.01,466.791 509.344,468.958 516.5,472C 517.698,474.664 519.031,477.164 520.5,479.5C 519.572,487.332 519.572,494.999 520.5,502.5C 520.261,504.467 520.594,506.301 521.5,508C 525.887,510.245 530.554,511.411 535.5,511.5C 537.493,507.818 538.66,503.818 539,499.5C 543.304,493.495 546.304,486.829 548,479.5C 551.111,475.656 552.944,471.323 553.5,466.5C 548.294,464.851 542.961,463.351 537.5,462C 522.222,454.553 510.888,443.387 503.5,428.5C 500.193,416.822 501.026,405.488 506,394.5C 509.073,390.939 511.906,387.272 514.5,383.5C 518.241,381.12 522.241,379.12 526.5,377.5C 527.298,377.043 527.631,376.376 527.5,375.5C 537.952,372.644 548.619,371.811 559.5,373C 567.425,375.079 575.425,376.912 583.5,378.5C 584.244,374.881 584.577,371.215 584.5,367.5C 585.902,363.376 586.902,359.042 587.5,354.5C 591.459,353.34 595.459,353.173 599.5,354C 605.297,355.694 610.964,357.527 616.5,359.5C 616.66,361.199 616.494,362.866 616,364.5C 610.721,371.4 606.221,378.733 602.5,386.5C 619.109,389.313 633.276,396.646 645,408.5C 647.853,413.08 649.02,418.08 648.5,423.5C 647.288,430.381 646.288,437.381 645.5,444.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c91c39",d:"M 345.5,363.5 C 350.488,369.142 352.488,375.808 351.5,383.5C 351.167,383.5 350.833,383.5 350.5,383.5C 347.753,383.813 345.086,383.48 342.5,382.5C 340.079,379.104 337.746,375.771 335.5,372.5C 334.167,370.833 332.833,369.167 331.5,367.5C 328.468,366.001 326.968,363.668 327,360.5C 330.642,359.037 334.142,357.203 337.5,355C 339.259,354.202 340.926,354.369 342.5,355.5C 343.513,358.188 344.513,360.854 345.5,363.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f71a3d",d:"M 331.5,367.5 C 330.597,365.391 329.763,363.391 329,361.5C 333,360.167 337,358.833 341,357.5C 342.847,360.406 344.014,363.573 344.5,367C 341.937,369.281 338.937,370.448 335.5,370.5C 335.5,369.5 335.5,368.5 335.5,367.5C 334.167,367.5 332.833,367.5 331.5,367.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d8435b",d:"M 514.5,383.5 C 511.906,387.272 509.073,390.939 506,394.5C 501.026,405.488 500.193,416.822 503.5,428.5C 500.061,424.962 498.728,420.629 499.5,415.5C 500.33,408.514 500.997,401.514 501.5,394.5C 504.85,394.349 506.516,392.515 506.5,389C 506.415,387.893 506.081,386.893 505.5,386C 504.062,385.781 502.729,385.281 501.5,384.5C 503.396,383.534 505.396,383.201 507.5,383.5C 507.5,384.5 507.5,385.5 507.5,386.5C 508.833,386.5 510.167,386.5 511.5,386.5C 511.5,385.5 511.5,384.5 511.5,383.5C 512.5,383.5 513.5,383.5 514.5,383.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#84828e",d:"M 335.5,372.5 C 337.746,375.771 340.079,379.104 342.5,382.5C 345.086,383.48 347.753,383.813 350.5,383.5C 345.71,386.456 341.71,390.289 338.5,395C 337.552,395.483 336.552,395.649 335.5,395.5C 335.5,396.833 335.5,398.167 335.5,399.5C 333.678,399.831 332.011,400.498 330.5,401.5C 330.88,399.302 330.213,397.635 328.5,396.5C 327.465,391.428 325.132,387.095 321.5,383.5C 326.746,380.589 331.413,376.922 335.5,372.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dbcdb6",d:"M 458.5,227.5 C 466.897,229.574 475.23,232.074 483.5,235C 495.583,239.91 507.249,245.577 518.5,252C 528.215,260.05 538.215,267.716 548.5,275C 555.431,282.757 561.764,290.923 567.5,299.5C 567.565,299.938 567.399,300.272 567,300.5C 557.232,296.2 547.732,291.533 538.5,286.5C 527.257,276.21 515.257,266.876 502.5,258.5C 488.572,252.949 474.739,247.282 461,241.5C 425.676,232.069 389.843,229.902 353.5,235C 352.167,235.667 350.833,236.333 349.5,237C 336.761,238.176 324.095,239.842 311.5,242C 307.722,242.924 304.222,244.424 301,246.5C 269.847,253.839 240.68,265.673 213.5,282C 202.465,285.591 192.465,290.758 183.5,297.5C 180.833,298.167 178.167,298.833 175.5,299.5C 175.5,300.833 175.5,302.167 175.5,303.5C 168.243,304.636 162.243,308.136 157.5,314C 122.504,332.345 98.0042,360.178 84,397.5C 79.5487,413.914 78.382,430.581 80.5,447.5C 82.8224,453.161 85.1558,458.828 87.5,464.5C 93.0045,470.333 98.3378,476.333 103.5,482.5C 109.546,486.517 115.546,490.517 121.5,494.5C 129.119,495.161 136.453,496.828 143.5,499.5C 143.5,500.5 143.5,501.5 143.5,502.5C 164.857,505.32 186.19,504.986 207.5,501.5C 205.138,500.729 202.804,499.895 200.5,499C 205.729,498.651 210.896,499.151 216,500.5C 225.16,499.024 234.327,497.358 243.5,495.5C 245.619,495.598 247.286,496.431 248.5,498C 247.787,503.143 246.954,508.31 246,513.5C 245.667,512.833 245.333,512.167 245,511.5C 243.933,512.191 242.766,512.691 241.5,513C 242.737,513.232 243.737,513.732 244.5,514.5C 241.275,515.237 237.941,515.903 234.5,516.5C 227.651,517.47 220.818,517.47 214,516.5C 174.978,524.798 137.811,519.965 102.5,502C 60.6979,471.715 50.5312,432.881 72,385.5C 75.2613,379.879 78.428,374.212 81.5,368.5C 91.2623,355.762 101.262,343.429 111.5,331.5C 115.421,327.919 119.421,324.253 123.5,320.5C 139.694,308.905 156.361,298.072 173.5,288C 192,278.917 210.333,269.584 228.5,260C 244.811,254.168 260.811,247.834 276.5,241C 290.5,237 304.5,233 318.5,229C 335.052,225.362 351.719,222.362 368.5,220C 381.5,219.333 394.5,219.333 407.5,220C 424.554,222.174 441.554,224.674 458.5,227.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b0756e",d:"M 522.5,287.5 C 523.5,287.5 524.5,287.5 525.5,287.5C 525.369,288.376 525.702,289.043 526.5,289.5C 531.385,290.563 532.719,293.397 530.5,298C 524.843,298.499 519.176,298.666 513.5,298.5C 517.167,297.833 520.833,297.167 524.5,296.5C 525.5,296.5 526.5,296.5 527.5,296.5C 527.785,294.712 527.452,293.045 526.5,291.5C 524.625,290.591 523.292,289.257 522.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d44556",d:"M 264.5,271.5 C 261.315,273.568 257.648,274.901 253.5,275.5C 253.433,276.959 253.766,278.292 254.5,279.5C 252.863,278.782 251.197,278.616 249.5,279C 247.669,281.925 246.003,284.759 244.5,287.5C 244.5,285.5 244.5,283.5 244.5,281.5C 242.897,281.312 241.563,281.812 240.5,283C 241.731,284.183 241.731,285.349 240.5,286.5C 239.614,285.675 239.281,284.675 239.5,283.5C 234.87,284.958 230.87,287.458 227.5,291C 223.338,291.526 219.338,292.526 215.5,294C 214.663,295.011 214.33,296.178 214.5,297.5C 212.167,297.5 209.833,297.5 207.5,297.5C 208.936,295.917 210.602,294.417 212.5,293C 217.627,290.708 222.961,288.708 228.5,287C 230.833,285.333 233.167,283.667 235.5,282C 243.781,279.291 251.781,275.958 259.5,272C 261.134,271.506 262.801,271.34 264.5,271.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc515e",d:"M 308.5,255.5 C 307.766,256.708 307.433,258.041 307.5,259.5C 305.599,259.567 303.766,259.233 302,258.5C 296.651,261.928 290.817,263.761 284.5,264C 280.61,266.947 276.277,268.78 271.5,269.5C 277.239,265.531 283.572,263.031 290.5,262C 296.109,258.65 302.109,256.483 308.5,255.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d34357",d:"M 423.5,241.5 C 426.087,242.749 428.754,243.749 431.5,244.5C 420.931,242.598 410.265,242.098 399.5,243C 393.656,243.008 388.323,244.508 383.5,247.5C 383.5,246.5 383.5,245.5 383.5,244.5C 378.167,244.5 372.833,244.5 367.5,244.5C 372.642,243.353 377.975,242.52 383.5,242C 396.829,241.5 410.163,241.333 423.5,241.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b5a499",d:"M 423.5,241.5 C 410.163,241.333 396.829,241.5 383.5,242C 377.975,242.52 372.642,243.353 367.5,244.5C 364.833,244.5 362.167,244.5 359.5,244.5C 356.013,242.712 352.179,241.712 348,241.5C 343.175,242.633 338.342,243.966 333.5,245.5C 322.835,242.014 323.001,241.014 334,242.5C 338.461,240.705 343.127,239.705 348,239.5C 373.312,239.578 398.479,240.245 423.5,241.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#664531",d:"M 807.5,353.5 C 819.128,356.727 830.795,359.894 842.5,363C 856.167,367.5 869.834,372 883.5,376.5C 885.698,378.397 888.364,379.397 891.5,379.5C 905.374,383.97 919.374,388.137 933.5,392C 940.337,396.253 947.337,400.253 954.5,404C 968.695,414.886 979.695,428.386 987.5,444.5C 988.912,451.892 990.578,459.225 992.5,466.5C 991.5,466.5 990.5,466.5 989.5,466.5C 984.479,456.138 978.645,446.138 972,436.5C 964.743,430.131 957.243,424.131 949.5,418.5C 941.621,414.061 933.621,409.894 925.5,406C 908.41,400.638 891.41,394.805 874.5,388.5C 855.079,384.527 836.079,379.027 817.5,372C 809.459,369.915 801.459,367.915 793.5,366C 791.275,365.439 789.275,364.439 787.5,363C 760.775,355.969 734.442,348.135 708.5,339.5C 710.92,339.708 713.253,339.374 715.5,338.5C 716.696,338.846 716.696,339.346 715.5,340C 717.68,340.419 719.846,340.252 722,339.5C 726.43,340.704 730.93,341.538 735.5,342C 741.446,344.919 747.78,346.252 754.5,346C 757.44,346.212 759.274,347.712 760,350.5C 762.466,349.223 764.966,349.223 767.5,350.5C 767.291,351.086 766.957,351.586 766.5,352C 770.025,354.088 773.358,353.921 776.5,351.5C 778.246,353.854 780.579,354.854 783.5,354.5C 784.78,357.941 787.28,360.275 791,361.5C 791.483,362.448 791.649,363.448 791.5,364.5C 793.722,364.822 795.556,364.155 797,362.5C 798.813,363.609 799.646,362.942 799.5,360.5C 805.576,360.981 811.576,361.981 817.5,363.5C 822.064,363.518 823.064,362.018 820.5,359C 815.637,357.714 810.97,356.047 806.5,354C 806.728,353.601 807.062,353.435 807.5,353.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f8f7f8",d:"M 310.5,392.5 C 310.657,393.873 310.49,395.207 310,396.5C 307.8,397.836 305.967,399.502 304.5,401.5C 305.351,405.241 306.351,408.908 307.5,412.5C 302.489,412.334 297.489,412.501 292.5,413C 290.443,417.054 288.609,421.221 287,425.5C 285.008,426.328 283.508,427.661 282.5,429.5C 281.833,429.5 281.167,429.5 280.5,429.5C 280.167,429.5 279.833,429.5 279.5,429.5C 275.998,425.159 272.665,420.659 269.5,416C 268.207,415.51 266.873,415.343 265.5,415.5C 265.547,412.432 266.047,409.432 267,406.5C 269.582,404.772 271.082,402.439 271.5,399.5C 277.178,397.774 282.844,395.941 288.5,394C 290.453,391.047 291.953,387.881 293,384.5C 294.313,383.427 295.813,382.76 297.5,382.5C 302.94,384.259 307.273,387.592 310.5,392.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d97580",d:"M 399.5,385.5 C 395.361,389.468 391.027,393.301 386.5,397C 385.552,397.483 384.552,397.649 383.5,397.5C 383.5,397.167 383.5,396.833 383.5,396.5C 388.833,392.833 394.167,389.167 399.5,385.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#913349",d:"M 328.5,396.5 C 330.213,397.635 330.88,399.302 330.5,401.5C 330.5,401.833 330.5,402.167 330.5,402.5C 326.206,403.193 322.539,402.193 319.5,399.5C 322.841,400.005 326.174,400.172 329.5,400C 328.663,398.989 328.33,397.822 328.5,396.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bdb6ac",d:"M 183.5,297.5 C 181.326,299.081 178.993,300.581 176.5,302C 180.637,301.797 182.137,303.63 181,307.5C 178.832,308.822 178.999,309.489 181.5,309.5C 177.5,312.833 173.5,316.167 169.5,319.5C 166.02,320.229 162.686,321.229 159.5,322.5C 159.762,323.978 159.429,325.311 158.5,326.5C 153.589,329.783 148.589,332.783 143.5,335.5C 143.649,336.552 143.483,337.552 143,338.5C 138.371,341.794 134.038,345.461 130,349.5C 126.247,354.659 122.247,359.659 118,364.5C 114.136,370.659 110.803,376.992 108,383.5C 104.346,393.958 104.679,404.291 109,414.5C 111.399,417.942 114.565,420.276 118.5,421.5C 130.492,416.409 142.159,410.576 153.5,404C 159.061,402.539 164.728,401.706 170.5,401.5C 177.506,401.803 184.506,402.137 191.5,402.5C 191.279,404.664 190.279,406.33 188.5,407.5C 187.127,407.343 185.793,407.51 184.5,408C 174.739,414.361 164.406,420.028 153.5,425C 151.027,426.561 149.027,428.561 147.5,431C 146.207,431.49 144.873,431.657 143.5,431.5C 140.676,436.516 137.176,441.183 133,445.5C 131.323,449.316 129.489,452.982 127.5,456.5C 126.178,456.33 125.011,456.663 124,457.5C 123.333,467.167 123.333,476.833 124,486.5C 124.129,490.118 125.962,491.785 129.5,491.5C 133.833,494.344 138.5,496.011 143.5,496.5C 144.952,497.302 146.618,497.802 148.5,498C 163.006,498.827 177.339,498.661 191.5,497.5C 207.707,496.493 223.707,494.826 239.5,492.5C 243.81,491.92 248.143,491.586 252.5,491.5C 249.808,498.919 248.141,506.586 247.5,514.5C 246.5,514.5 245.5,514.5 244.5,514.5C 243.737,513.732 242.737,513.232 241.5,513C 242.766,512.691 243.933,512.191 245,511.5C 245.333,512.167 245.667,512.833 246,513.5C 246.954,508.31 247.787,503.143 248.5,498C 247.286,496.431 245.619,495.598 243.5,495.5C 234.327,497.358 225.16,499.024 216,500.5C 210.896,499.151 205.729,498.651 200.5,499C 202.804,499.895 205.138,500.729 207.5,501.5C 186.19,504.986 164.857,505.32 143.5,502.5C 143.5,501.5 143.5,500.5 143.5,499.5C 136.453,496.828 129.119,495.161 121.5,494.5C 115.546,490.517 109.546,486.517 103.5,482.5C 98.3378,476.333 93.0045,470.333 87.5,464.5C 85.1558,458.828 82.8224,453.161 80.5,447.5C 78.382,430.581 79.5487,413.914 84,397.5C 98.0042,360.178 122.504,332.345 157.5,314C 162.243,308.136 168.243,304.636 175.5,303.5C 175.5,302.167 175.5,300.833 175.5,299.5C 178.167,298.833 180.833,298.167 183.5,297.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#84868b",d:"M 310.5,392.5 C 312.611,395.941 315.611,398.274 319.5,399.5C 322.539,402.193 326.206,403.193 330.5,402.5C 328.842,403.181 327.175,404.015 325.5,405C 328.264,406.544 328.097,407.711 325,408.5C 324.693,411.876 322.86,413.21 319.5,412.5C 319.5,413.5 319.5,414.5 319.5,415.5C 318.167,415.5 316.833,415.5 315.5,415.5C 315.278,418.504 314.278,421.171 312.5,423.5C 309.45,422.923 307.45,424.09 306.5,427C 298.297,427.557 290.297,428.39 282.5,429.5C 283.508,427.661 285.008,426.328 287,425.5C 288.609,421.221 290.443,417.054 292.5,413C 297.489,412.501 302.489,412.334 307.5,412.5C 306.351,408.908 305.351,405.241 304.5,401.5C 305.967,399.502 307.8,397.836 310,396.5C 310.49,395.207 310.657,393.873 310.5,392.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e8304d",d:"M 573.5,402.5 C 574.748,403.334 575.415,404.667 575.5,406.5C 574.18,411.05 573.346,415.716 573,420.5C 570.527,425.92 568.86,431.586 568,437.5C 567.313,439.555 566.146,441.221 564.5,442.5C 558.493,438.326 553.327,433.326 549,427.5C 548.333,424.167 548.333,420.833 549,417.5C 554.09,412.801 559.59,408.635 565.5,405C 568.457,404.721 571.123,403.887 573.5,402.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db7181",d:"M 599.5,415.5 C 605.041,421.293 607.374,428.293 606.5,436.5C 608.415,436.216 610.081,436.549 611.5,437.5C 609.396,437.799 607.396,437.466 605.5,436.5C 605.611,430.129 603.777,424.463 600,419.5C 599.51,418.207 599.343,416.873 599.5,415.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d73e53",d:"M 188.5,407.5 C 185.888,409.083 183.221,410.75 180.5,412.5C 182.078,413.072 183.578,413.406 185,413.5C 186.77,411.582 188.937,411.082 191.5,412C 190.167,412.667 188.833,413.333 187.5,414C 182.536,414.97 177.536,415.47 172.5,415.5C 172.5,416.5 172.5,417.5 172.5,418.5C 173.5,418.5 174.5,418.5 175.5,418.5C 175.5,419.5 175.5,420.5 175.5,421.5C 173.325,421.318 171.325,420.651 169.5,419.5C 160.131,422.877 152.464,428.711 146.5,437C 143.234,437.718 140.401,439.218 138,441.5C 136.633,445.835 136.299,450.168 137,454.5C 136.784,452.616 136.117,450.949 135,449.5C 132.598,453.995 132.098,458.661 133.5,463.5C 131.167,463.5 128.833,463.5 126.5,463.5C 124.888,472.011 125.222,480.344 127.5,488.5C 126.034,487.653 125.2,486.32 125,484.5C 123.881,474.945 124.714,465.612 127.5,456.5C 129.489,452.982 131.323,449.316 133,445.5C 137.176,441.183 140.676,436.516 143.5,431.5C 144.873,431.657 146.207,431.49 147.5,431C 149.027,428.561 151.027,426.561 153.5,425C 164.406,420.028 174.739,414.361 184.5,408C 185.793,407.51 187.127,407.343 188.5,407.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8b6d77",d:"M 312.5,423.5 C 310.825,426.245 309.158,428.912 307.5,431.5C 299.038,431.523 290.371,431.356 281.5,431C 280.944,430.617 280.611,430.117 280.5,429.5C 281.167,429.5 281.833,429.5 282.5,429.5C 290.297,428.39 298.297,427.557 306.5,427C 307.45,424.09 309.45,422.923 312.5,423.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e6b1b7",d:"M 793.5,420.5 C 793.793,416.563 793.46,412.73 792.5,409C 787.816,408.539 783.149,408.705 778.5,409.5C 778.5,416.167 778.5,422.833 778.5,429.5C 775.807,429.572 773.14,429.905 770.5,430.5C 764.29,428.766 757.956,428.099 751.5,428.5C 760.008,427.396 768.675,427.396 777.5,428.5C 777.5,421.5 777.5,414.5 777.5,407.5C 783.167,407.5 788.833,407.5 794.5,407.5C 794.818,412.032 794.485,416.366 793.5,420.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f9f8fa",d:"M 793.5,420.5 C 792.518,423.962 792.185,427.629 792.5,431.5C 799.607,433.404 806.773,435.404 814,437.5C 818.127,439.634 821.627,442.467 824.5,446C 826.608,446.36 828.608,447.027 830.5,448C 828.418,454.101 825.418,459.768 821.5,465C 812.773,464.417 804.107,463.251 795.5,461.5C 795.472,456.862 796.139,452.362 797.5,448C 795.091,446.293 792.425,445.46 789.5,445.5C 789.5,446.833 789.5,448.167 789.5,449.5C 787.192,457.627 785.192,465.96 783.5,474.5C 783.543,475.416 783.876,476.083 784.5,476.5C 795.796,478.909 806.796,482.743 817.5,488C 820.704,490.869 823.537,494.035 826,497.5C 827.7,513.085 822.533,525.751 810.5,535.5C 799.558,542.23 787.558,545.563 774.5,545.5C 774.504,554.889 772.837,563.889 769.5,572.5C 768.817,572.137 768.15,571.804 767.5,571.5C 764.854,570.836 762.021,570.502 759,570.5C 754.867,570.286 751.034,570.952 747.5,572.5C 746.275,571.848 745.608,570.681 745.5,569C 746.749,562.923 748.582,557.09 751,551.5C 751.497,548.854 751.664,546.187 751.5,543.5C 739.497,541.84 727.497,539.506 715.5,536.5C 714.592,534.548 714.759,532.548 716,530.5C 721.584,521.332 726.084,511.665 729.5,501.5C 735.884,501.757 742.218,502.423 748.5,503.5C 747.926,509.484 747.593,515.484 747.5,521.5C 751.474,522.805 755.474,524.138 759.5,525.5C 760.442,525.392 761.275,525.059 762,524.5C 764.57,514.257 766.403,503.924 767.5,493.5C 756.687,491.162 746.02,487.995 735.5,484C 724.591,476.673 720.425,466.506 723,453.5C 727.479,439.213 736.979,430.88 751.5,428.5C 757.956,428.099 764.29,428.766 770.5,430.5C 773.14,429.905 775.807,429.572 778.5,429.5C 778.5,422.833 778.5,416.167 778.5,409.5C 783.149,408.705 787.816,408.539 792.5,409C 793.46,412.73 793.793,416.563 793.5,420.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bdb6ab",d:"M 863.5,400.5 C 875.42,404.629 887.42,408.463 899.5,412C 905.806,412.105 911.806,413.439 917.5,416C 925.189,420.456 932.522,425.456 939.5,431C 940.793,431.49 942.127,431.657 943.5,431.5C 943.822,435.511 945.822,438.511 949.5,440.5C 953.825,445.811 957.658,451.478 961,457.5C 966.293,475.098 968.293,493.098 967,511.5C 966.3,516.733 964.133,521.233 960.5,525C 956.571,526.929 953.238,529.596 950.5,533C 948.559,534.903 946.226,535.736 943.5,535.5C 943.5,536.5 943.5,537.5 943.5,538.5C 939.947,539.397 936.614,540.897 933.5,543C 931.527,543.495 929.527,543.662 927.5,543.5C 927.64,545.124 926.973,546.29 925.5,547C 921.091,549.383 916.424,551.05 911.5,552C 885.733,564.54 860.066,577.373 834.5,590.5C 828.254,593.125 821.921,595.459 815.5,597.5C 815.5,596.167 815.5,594.833 815.5,593.5C 813.076,593.808 810.743,593.474 808.5,592.5C 812.731,590.523 817.065,589.856 821.5,590.5C 825.081,588.841 825.081,587.675 821.5,587C 822.858,586.066 824.192,585.232 825.5,584.5C 828.86,582.428 832.194,580.261 835.5,578C 839.396,576.634 843.396,575.467 847.5,574.5C 849.162,573.673 850.495,572.507 851.5,571C 859.754,567.471 868.087,564.138 876.5,561C 886.15,554.352 896.483,549.019 907.5,545C 917.487,538.85 927.487,533.017 937.5,527.5C 939.606,526.217 941.94,525.384 944.5,525C 945.893,523.829 946.727,522.329 947,520.5C 947.667,510.167 947.667,499.833 947,489.5C 944.629,486.281 945.296,483.948 949,482.5C 949.483,481.552 949.649,480.552 949.5,479.5C 946.753,479.813 944.086,479.48 941.5,478.5C 940.995,477.081 939.995,476.415 938.5,476.5C 934.438,470.593 929.105,466.427 922.5,464C 911.181,462.33 899.848,462.33 888.5,464C 880.859,466.826 873.526,470.326 866.5,474.5C 865.386,473.277 865.219,471.944 866,470.5C 867.634,467.52 869.3,464.52 871,461.5C 872.154,460.257 873.488,459.257 875,458.5C 875.112,455.553 876.612,454.22 879.5,454.5C 879.281,453.325 879.614,452.325 880.5,451.5C 888.684,444.407 898.017,439.407 908.5,436.5C 911.518,436.665 914.518,436.498 917.5,436C 920.07,433.085 919.737,430.419 916.5,428C 911.279,427.728 906.279,426.728 901.5,425C 900.529,423.519 899.196,422.685 897.5,422.5C 874.113,416.071 851.113,408.738 828.5,400.5C 836.155,399.69 843.822,399.523 851.5,400C 855.923,400.266 859.923,401.433 863.5,403.5C 863.5,402.5 863.5,401.5 863.5,400.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ad9e8b",d:"M 111.5,331.5 C 101.262,343.429 91.2623,355.762 81.5,368.5C 78.428,374.212 75.2613,379.879 72,385.5C 50.5312,432.881 60.6979,471.715 102.5,502C 137.811,519.965 174.978,524.798 214,516.5C 220.818,517.47 227.651,517.47 234.5,516.5C 225.755,518.55 216.755,519.55 207.5,519.5C 207.5,520.833 207.5,522.167 207.5,523.5C 192.232,523.423 176.898,522.923 161.5,522C 156.556,521.278 151.722,520.112 147,518.5C 142.378,519.459 142.378,520.459 147,521.5C 147.72,523.112 147.554,524.612 146.5,526C 144.671,526.273 143.171,527.107 142,528.5C 138.665,527.166 135.499,527.499 132.5,529.5C 126.156,527.829 119.823,525.996 113.5,524C 103.156,517.83 93.156,511.163 83.5,504C 77.4489,497.404 71.2822,490.904 65,484.5C 63.9811,481.128 62.4811,478.128 60.5,475.5C 59.6285,473.437 58.4618,471.437 57,469.5C 55.2578,461.942 52.9245,454.608 50,447.5C 49.3333,439.167 49.3333,430.833 50,422.5C 53.5496,406.927 59.2162,392.26 67,378.5C 71.8021,372.878 75.9688,366.878 79.5,360.5C 86.6035,352.895 93.9368,345.395 101.5,338C 104.72,335.563 108.053,333.397 111.5,331.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#942134",d:"M 279.5,429.5 C 279.833,429.5 280.167,429.5 280.5,429.5C 280.611,430.117 280.944,430.617 281.5,431C 290.371,431.356 299.038,431.523 307.5,431.5C 301.238,442.72 296.572,454.72 293.5,467.5C 291.449,473.555 289.449,479.722 287.5,486C 275.574,488.157 263.574,489.657 251.5,490.5C 251.227,488.042 252.227,486.375 254.5,485.5C 255.324,482.215 255.824,478.882 256,475.5C 257.158,475.002 257.991,474.169 258.5,473C 261.325,464.1 264.659,455.6 268.5,447.5C 269.5,447.5 270.5,447.5 271.5,447.5C 271.34,445.801 271.506,444.134 272,442.5C 274.323,439.874 276.657,437.207 279,434.5C 279.494,432.866 279.66,431.199 279.5,429.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#623d29",d:"M 79.5,360.5 C 75.9688,366.878 71.8021,372.878 67,378.5C 59.2162,392.26 53.5496,406.927 50,422.5C 49.3333,430.833 49.3333,439.167 50,447.5C 52.9245,454.608 55.2578,461.942 57,469.5C 58.4618,471.437 59.6285,473.437 60.5,475.5C 60.6551,482.297 61.6551,488.963 63.5,495.5C 61.8333,495.5 60.1667,495.5 58.5,495.5C 58.7989,493.396 58.4656,491.396 57.5,489.5C 53.7966,486.423 51.9632,482.423 52,477.5C 50.7321,474.407 48.8988,471.74 46.5,469.5C 34.7697,479.497 32.4364,491.497 39.5,505.5C 40.8924,504.395 42.059,503.061 43,501.5C 44.0429,504.757 44.5429,508.09 44.5,511.5C 45.5,511.5 46.5,511.5 47.5,511.5C 47.5,512.5 47.5,513.5 47.5,514.5C 46.325,514.281 45.325,514.614 44.5,515.5C 45.3094,517.071 45.6427,518.738 45.5,520.5C 48.7553,520.014 51.422,521.014 53.5,523.5C 54.2281,526.212 55.0615,528.879 56,531.5C 59.5502,531.842 60.7169,533.509 59.5,536.5C 55.9044,533.083 52.0711,529.75 48,526.5C 34.071,511.777 30.4044,494.777 37,475.5C 40.8984,470.37 43.7317,464.703 45.5,458.5C 37.5057,423.146 43.5057,390.48 63.5,360.5C 65.8202,359.238 68.1535,358.238 70.5,357.5C 70.1667,356.833 69.8333,356.167 69.5,355.5C 72.2592,352.08 74.5925,348.414 76.5,344.5C 77.2421,343.713 78.0754,343.047 79,342.5C 83.2999,343.665 85.7999,341.999 86.5,337.5C 89.4799,337.641 91.4799,339.141 92.5,342C 91.0068,344.496 89.5068,346.996 88,349.5C 87.6667,349.167 87.3333,348.833 87,348.5C 86.3632,350.303 85.1965,351.636 83.5,352.5C 81.6565,354.982 80.3231,357.649 79.5,360.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf9496",d:"M 127.5,456.5 C 124.714,465.612 123.881,474.945 125,484.5C 125.2,486.32 126.034,487.653 127.5,488.5C 127.782,489.778 128.449,490.778 129.5,491.5C 125.962,491.785 124.129,490.118 124,486.5C 123.333,476.833 123.333,467.167 124,457.5C 125.011,456.663 126.178,456.33 127.5,456.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#9b7775",d:"M 293.5,467.5 C 292.556,475.088 290.889,482.421 288.5,489.5C 285.454,488.115 282.454,488.281 279.5,490C 270.503,490.625 261.503,491.125 252.5,491.5C 248.143,491.586 243.81,491.92 239.5,492.5C 243.21,490.864 247.21,490.198 251.5,490.5C 263.574,489.657 275.574,488.157 287.5,486C 289.449,479.722 291.449,473.555 293.5,467.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#7d8079",d:"M 288.5,489.5 C 288.5,495.167 288.5,500.833 288.5,506.5C 275.001,510 261.334,512.667 247.5,514.5C 248.141,506.586 249.808,498.919 252.5,491.5C 261.503,491.125 270.503,490.625 279.5,490C 282.454,488.281 285.454,488.115 288.5,489.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#be6d76",d:"M 143.5,496.5 C 159.483,497.366 175.483,497.7 191.5,497.5C 177.339,498.661 163.006,498.827 148.5,498C 146.618,497.802 144.952,497.302 143.5,496.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#68341f",d:"M 63.5,495.5 C 65.7633,500.525 67.4299,505.859 68.5,511.5C 69.5,511.5 70.5,511.5 71.5,511.5C 73.7244,519.914 77.5577,527.58 83,534.5C 83.5323,537.264 84.3657,539.93 85.5,542.5C 87.396,543.466 89.396,543.799 91.5,543.5C 90.9999,547.164 92.1666,550.164 95,552.5C 95.4966,554.81 95.6633,557.143 95.5,559.5C 94.1779,559.67 93.0113,559.337 92,558.5C 89.7115,553.98 86.8782,549.813 83.5,546C 76.7694,544.697 70.4361,545.53 64.5,548.5C 61.5342,550.569 58.7009,552.902 56,555.5C 55.51,556.793 55.3433,558.127 55.5,559.5C 51.5962,559.061 49.0962,560.728 48,564.5C 46.8653,568.79 46.0319,573.123 45.5,577.5C 45.8012,584.098 48.4678,589.431 53.5,593.5C 57.1588,597.175 61.4921,599.509 66.5,600.5C 89.115,613.976 113.782,621.309 140.5,622.5C 140.5,622.833 140.5,623.167 140.5,623.5C 127.444,623.62 114.777,621.787 102.5,618C 91.0222,616.956 79.6888,615.123 68.5,612.5C 62.3956,609.614 56.3956,606.447 50.5,603C 46.2792,598.779 42.1126,594.613 38,590.5C 30.9984,577.843 32.3317,566.176 42,555.5C 47.7815,549.114 54.7815,544.78 63,542.5C 63.3494,539.669 62.1827,537.669 59.5,536.5C 60.7169,533.509 59.5502,531.842 56,531.5C 55.0615,528.879 54.2281,526.212 53.5,523.5C 51.422,521.014 48.7553,520.014 45.5,520.5C 45.6427,518.738 45.3094,517.071 44.5,515.5C 45.325,514.614 46.325,514.281 47.5,514.5C 47.5,513.5 47.5,512.5 47.5,511.5C 46.5,511.5 45.5,511.5 44.5,511.5C 44.5429,508.09 44.0429,504.757 43,501.5C 42.059,503.061 40.8924,504.395 39.5,505.5C 32.4364,491.497 34.7697,479.497 46.5,469.5C 48.8988,471.74 50.7321,474.407 52,477.5C 51.9632,482.423 53.7966,486.423 57.5,489.5C 58.4656,491.396 58.7989,493.396 58.5,495.5C 60.1667,495.5 61.8333,495.5 63.5,495.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a29080",d:"M 244.5,514.5 C 245.5,514.5 246.5,514.5 247.5,514.5C 247.177,520.8 245.844,526.8 243.5,532.5C 216.007,536.213 188.34,537.713 160.5,537C 150.797,535.593 141.463,533.093 132.5,529.5C 135.499,527.499 138.665,527.166 142,528.5C 143.171,527.107 144.671,526.273 146.5,526C 147.554,524.612 147.72,523.112 147,521.5C 142.378,520.459 142.378,519.459 147,518.5C 151.722,520.112 156.556,521.278 161.5,522C 176.898,522.923 192.232,523.423 207.5,523.5C 207.5,522.167 207.5,520.833 207.5,519.5C 216.755,519.55 225.755,518.55 234.5,516.5C 237.941,515.903 241.275,515.237 244.5,514.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bfb6ac",d:"M 390.5,383.5 C 391.234,384.708 391.567,386.041 391.5,387.5C 390.167,387.5 388.833,387.5 387.5,387.5C 387.338,389.824 386.172,391.491 384,392.5C 383.51,393.793 383.343,395.127 383.5,396.5C 383.5,396.833 383.5,397.167 383.5,397.5C 382.016,399.397 380.182,401.064 378,402.5C 377.833,403.333 377.667,404.167 377.5,405C 381.286,412.716 384.786,420.55 388,428.5C 390.166,447.581 384.832,463.914 372,477.5C 368.644,484.09 364.144,489.756 358.5,494.5C 357.311,495.429 355.978,495.762 354.5,495.5C 354.5,496.5 354.5,497.5 354.5,498.5C 353.448,498.351 352.448,498.517 351.5,499C 348.883,501.442 346.55,503.942 344.5,506.5C 339.453,510.353 336.453,515.353 335.5,521.5C 346.172,521.333 356.839,521.5 367.5,522C 374.103,524.139 380.769,525.972 387.5,527.5C 390.435,530.093 393.435,532.76 396.5,535.5C 398.772,539.259 400.438,543.259 401.5,547.5C 403.273,556.718 403.94,566.051 403.5,575.5C 401.695,584.954 401.195,594.62 402,604.5C 403.577,607.199 405.743,607.866 408.5,606.5C 411.5,601.833 414.5,597.167 417.5,592.5C 422.83,588.501 427.83,584.167 432.5,579.5C 437.417,576.802 442.417,574.469 447.5,572.5C 451.529,572.047 455.529,571.38 459.5,570.5C 461.384,570.716 463.051,571.383 464.5,572.5C 465.429,571.311 465.762,569.978 465.5,568.5C 468.247,568.187 470.914,568.52 473.5,569.5C 471.611,571.432 469.611,573.265 467.5,575C 468.448,575.483 469.448,575.649 470.5,575.5C 468.448,587.028 467.948,598.695 469,610.5C 469.383,611.056 469.883,611.389 470.5,611.5C 472.053,614.24 473.886,616.907 476,619.5C 476.49,620.793 476.657,622.127 476.5,623.5C 477.5,623.5 478.5,623.5 479.5,623.5C 479.281,624.675 479.614,625.675 480.5,626.5C 485.136,630.655 490.136,634.155 495.5,637C 511.459,640.491 527.459,642.991 543.5,644.5C 538.167,644.5 532.833,644.5 527.5,644.5C 527.5,645.5 527.5,646.5 527.5,647.5C 523.501,647.091 519.834,647.925 516.5,650C 523.192,650.453 529.859,650.119 536.5,649C 534.608,648.027 532.608,647.36 530.5,647C 540.161,646.5 549.828,646.334 559.5,646.5C 559.5,647.5 559.5,648.5 559.5,649.5C 554.167,649.5 548.833,649.5 543.5,649.5C 543.5,650.5 543.5,651.5 543.5,652.5C 532.742,653.223 522.075,653.889 511.5,654.5C 492.203,652.14 473.536,647.307 455.5,640C 451.442,639.66 447.442,638.993 443.5,638C 430.779,631.639 418.112,625.306 405.5,619C 399.708,615.042 394.375,610.542 389.5,605.5C 382.07,602.46 375.737,597.96 370.5,592C 366.822,591.991 364.655,590.157 364,586.5C 352.808,576.309 343.475,564.643 336,551.5C 335.503,548.854 335.336,546.187 335.5,543.5C 334.167,543.5 332.833,543.5 331.5,543.5C 328.79,535.693 326.457,527.693 324.5,519.5C 323.334,508.849 323.168,498.182 324,487.5C 326.37,477.347 329.037,467.347 332,457.5C 334.124,451.697 337.124,446.363 341,441.5C 341.333,439.833 341.667,438.167 342,436.5C 345.434,431.284 349.101,426.284 353,421.5C 361.973,413.86 370.306,405.527 378,396.5C 379.039,394.254 380.206,392.087 381.5,390C 383.134,389.506 384.801,389.34 386.5,389.5C 387.253,387.12 388.587,385.12 390.5,383.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#403025",d:"M 288.5,506.5 C 288.232,508.099 288.566,509.432 289.5,510.5C 289.808,512.924 289.474,515.257 288.5,517.5C 281.076,527.678 277.742,539.178 278.5,552C 278.767,556.512 279.101,561.012 279.5,565.5C 276.977,566.384 274.31,567.218 271.5,568C 261.555,569.706 251.555,570.872 241.5,571.5C 241.167,571.5 240.833,571.5 240.5,571.5C 239.879,558.317 240.879,545.317 243.5,532.5C 245.844,526.8 247.177,520.8 247.5,514.5C 261.334,512.667 275.001,510 288.5,506.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6a5345",d:"M 60.5,475.5 C 62.4811,478.128 63.9811,481.128 65,484.5C 71.2822,490.904 77.4489,497.404 83.5,504C 93.156,511.163 103.156,517.83 113.5,524C 119.823,525.996 126.156,527.829 132.5,529.5C 141.463,533.093 150.797,535.593 160.5,537C 188.34,537.713 216.007,536.213 243.5,532.5C 240.879,545.317 239.879,558.317 240.5,571.5C 200.499,571.667 160.499,571.5 120.5,571C 114.68,570.725 109.013,569.725 103.5,568C 100.726,565.746 99.0593,562.913 98.5,559.5C 97.5,559.5 96.5,559.5 95.5,559.5C 95.6633,557.143 95.4966,554.81 95,552.5C 92.1666,550.164 90.9999,547.164 91.5,543.5C 89.396,543.799 87.396,543.466 85.5,542.5C 84.3657,539.93 83.5323,537.264 83,534.5C 77.5577,527.58 73.7244,519.914 71.5,511.5C 70.5,511.5 69.5,511.5 68.5,511.5C 67.4299,505.859 65.7633,500.525 63.5,495.5C 61.6551,488.963 60.6551,482.297 60.5,475.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#846e5e",d:"M 987.5,444.5 C 989.159,445.834 990.492,447.501 991.5,449.5C 994.764,459.008 998.264,468.342 1002,477.5C 1002.67,490.167 1002.67,502.833 1002,515.5C 999.713,526.011 996.213,536.011 991.5,545.5C 990.609,544.89 989.609,544.557 988.5,544.5C 990.45,534.805 992.617,525.138 995,515.5C 998.072,498.439 996.238,482.106 989.5,466.5C 990.5,466.5 991.5,466.5 992.5,466.5C 990.578,459.225 988.912,451.892 987.5,444.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6a5244",d:"M 289.5,510.5 C 293.239,533.663 301.239,555.329 313.5,575.5C 317.818,580.14 321.651,585.14 325,590.5C 327.382,592.259 329.548,594.259 331.5,596.5C 332.386,597.325 332.719,598.325 332.5,599.5C 341.21,607.031 349.876,614.864 358.5,623C 364.846,625.574 370.179,629.574 374.5,635C 401.04,651.925 429.706,664.591 460.5,673C 462.527,675.681 465.193,677.347 468.5,678C 479.502,680.739 490.502,683.405 501.5,686C 515.597,688.012 529.597,690.512 543.5,693.5C 538.695,694.487 533.695,694.821 528.5,694.5C 528.012,697.711 528.679,700.544 530.5,703C 528.185,708.954 525.685,714.787 523,720.5C 521.666,723.589 519.499,725.922 516.5,727.5C 515.548,729.045 515.215,730.712 515.5,732.5C 513.517,732.157 512.183,732.824 511.5,734.5C 506.328,732.665 500.995,731.665 495.5,731.5C 495.5,729.833 495.5,728.167 495.5,726.5C 490.479,724.245 485.146,722.911 479.5,722.5C 479.5,721.5 479.5,720.5 479.5,719.5C 476.15,719.665 472.817,719.498 469.5,719C 468.5,718 467.5,717 466.5,716C 452.834,709.261 438.5,704.928 423.5,703C 421.506,700.28 418.839,698.78 415.5,698.5C 415.5,697.5 415.5,696.5 415.5,695.5C 411.831,696.303 409.164,695.136 407.5,692C 404.883,691.178 402.216,690.678 399.5,690.5C 399.5,689.5 399.5,688.5 399.5,687.5C 395.719,688.211 392.719,687.045 390.5,684C 388.26,683.023 385.927,682.523 383.5,682.5C 383.5,681.167 383.5,679.833 383.5,678.5C 377.238,679.33 372.904,676.997 370.5,671.5C 369.5,671.5 368.5,671.5 367.5,671.5C 367.5,670.5 367.5,669.5 367.5,668.5C 359.809,666.989 353.476,663.155 348.5,657C 338.988,651.165 330.321,644.165 322.5,636C 321.552,635.517 320.552,635.351 319.5,635.5C 318.093,631.56 315.593,628.226 312,625.5C 304.057,615.91 297.391,605.577 292,594.5C 291.092,592.561 289.592,591.561 287.5,591.5C 288.036,588.335 287.203,585.669 285,583.5C 283.634,577.243 281.8,571.243 279.5,565.5C 279.101,561.012 278.767,556.512 278.5,552C 277.742,539.178 281.076,527.678 288.5,517.5C 289.474,515.257 289.808,512.924 289.5,510.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#90442c",d:"M 95.5,559.5 C 97.2432,563.288 98.5766,567.288 99.5,571.5C 108.922,571.709 118.255,572.709 127.5,574.5C 165.494,575.5 203.494,575.833 241.5,575.5C 243.935,582.168 245.435,589.168 246,596.5C 248.032,599.368 249.865,602.368 251.5,605.5C 252.524,606.853 253.857,607.52 255.5,607.5C 255.5,609.833 255.5,612.167 255.5,614.5C 244.498,615.83 233.831,617.497 223.5,619.5C 212.767,619.747 202.1,620.747 191.5,622.5C 174.513,623.499 157.513,623.833 140.5,623.5C 140.5,623.167 140.5,622.833 140.5,622.5C 148.84,622.666 157.173,622.5 165.5,622C 165.167,621.667 164.833,621.333 164.5,621C 150.618,619.123 136.951,616.457 123.5,613C 115.204,609.132 106.537,606.132 97.5,604C 89.0839,599.973 80.5839,596.139 72,592.5C 68.9279,594.31 67.0946,596.976 66.5,600.5C 61.4921,599.509 57.1588,597.175 53.5,593.5C 48.4678,589.431 45.8012,584.098 45.5,577.5C 46.0319,573.123 46.8653,568.79 48,564.5C 49.0962,560.728 51.5962,559.061 55.5,559.5C 55.3433,558.127 55.51,556.793 56,555.5C 58.7009,552.902 61.5342,550.569 64.5,548.5C 70.4361,545.53 76.7694,544.697 83.5,546C 86.8782,549.813 89.7115,553.98 92,558.5C 93.0113,559.337 94.1779,559.67 95.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#785e50",d:"M 943.5,617.5 C 936.896,620.014 930.229,622.847 923.5,626C 919.582,627.156 915.582,627.656 911.5,627.5C 911.5,628.5 911.5,629.5 911.5,630.5C 906.213,631.342 900.88,631.676 895.5,631.5C 895.5,633.167 895.5,634.833 895.5,636.5C 892.813,636.341 890.48,637.175 888.5,639C 885.518,639.498 882.518,639.665 879.5,639.5C 879.5,640.5 879.5,641.5 879.5,642.5C 872.564,645.498 865.23,647.331 857.5,648C 856.449,649.385 855.116,650.385 853.5,651C 849.511,651.551 845.844,652.884 842.5,655C 838.848,655.499 835.182,655.665 831.5,655.5C 831.5,656.5 831.5,657.5 831.5,658.5C 829.396,658.201 827.396,658.534 825.5,659.5C 818.692,662.056 812.025,664.889 805.5,668C 803.527,668.495 801.527,668.662 799.5,668.5C 799.5,669.5 799.5,670.5 799.5,671.5C 794.167,671.5 788.833,671.5 783.5,671.5C 783.5,672.5 783.5,673.5 783.5,674.5C 776.073,676.891 768.573,679.224 761,681.5C 759.831,682.009 758.998,682.842 758.5,684C 749.084,685.616 739.751,687.616 730.5,690C 726.848,690.499 723.182,690.665 719.5,690.5C 719.5,691.5 719.5,692.5 719.5,693.5C 714.233,694.816 708.9,695.816 703.5,696.5C 703.5,697.5 703.5,698.5 703.5,699.5C 699.894,699.309 696.894,700.476 694.5,703C 689.5,703.333 684.5,703.667 679.5,704C 677.091,705.707 674.425,706.54 671.5,706.5C 671.5,707.833 671.5,709.167 671.5,710.5C 662.466,711.143 653.633,713.143 645,716.5C 637.88,717.935 630.714,718.935 623.5,719.5C 623.5,720.5 623.5,721.5 623.5,722.5C 609.873,723.938 596.539,726.771 583.5,731C 573.423,732.477 563.423,734.144 553.5,736C 545.473,740.619 536.806,743.119 527.5,743.5C 527.5,742.167 527.5,740.833 527.5,739.5C 523.733,740.074 520.733,738.907 518.5,736C 516.19,735.503 513.857,735.337 511.5,735.5C 511.5,735.167 511.5,734.833 511.5,734.5C 512.183,732.824 513.517,732.157 515.5,732.5C 515.215,730.712 515.548,729.045 516.5,727.5C 519.499,725.922 521.666,723.589 523,720.5C 525.685,714.787 528.185,708.954 530.5,703C 528.679,700.544 528.012,697.711 528.5,694.5C 533.695,694.821 538.695,694.487 543.5,693.5C 556.846,693.666 570.179,693.333 583.5,692.5C 597.523,690.107 611.523,687.607 625.5,685C 640.299,683.469 654.966,680.969 669.5,677.5C 704.396,667.48 739.229,657.147 774,646.5C 779.372,643.153 785.206,640.986 791.5,640C 834.501,624.227 877.168,607.894 919.5,591C 936.581,582.899 953.581,574.565 970.5,566C 973.567,563.352 976.734,560.852 980,558.5C 980.49,557.207 980.657,555.873 980.5,554.5C 983.248,554.598 983.914,553.598 982.5,551.5C 983.15,551.196 983.817,550.863 984.5,550.5C 984.984,553.626 986.317,556.293 988.5,558.5C 987.751,568.134 987.084,577.801 986.5,587.5C 984.301,592.204 982.968,597.204 982.5,602.5C 980.382,603.946 978.049,604.613 975.5,604.5C 975.5,605.5 975.5,606.5 975.5,607.5C 965.659,610.328 955.659,612.995 945.5,615.5C 944.287,615.747 943.62,616.414 943.5,617.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#7f4933",d:"M 95.5,559.5 C 96.5,559.5 97.5,559.5 98.5,559.5C 99.0593,562.913 100.726,565.746 103.5,568C 109.013,569.725 114.68,570.725 120.5,571C 160.499,571.5 200.499,571.667 240.5,571.5C 240.833,571.5 241.167,571.5 241.5,571.5C 241.5,572.833 241.5,574.167 241.5,575.5C 203.494,575.833 165.494,575.5 127.5,574.5C 118.255,572.709 108.922,571.709 99.5,571.5C 98.5766,567.288 97.2432,563.288 95.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5c2d1b",d:"M 279.5,565.5 C 281.8,571.243 283.634,577.243 285,583.5C 287.203,585.669 288.036,588.335 287.5,591.5C 289.592,591.561 291.092,592.561 292,594.5C 297.391,605.577 304.057,615.91 312,625.5C 315.593,628.226 318.093,631.56 319.5,635.5C 320.552,635.351 321.552,635.517 322.5,636C 330.321,644.165 338.988,651.165 348.5,657C 353.476,663.155 359.809,666.989 367.5,668.5C 367.5,669.5 367.5,670.5 367.5,671.5C 368.5,671.5 369.5,671.5 370.5,671.5C 369.544,673.516 368.21,675.349 366.5,677C 363.061,677.441 360.394,679.108 358.5,682C 356.19,682.497 353.857,682.663 351.5,682.5C 347.283,678.556 342.283,675.889 336.5,674.5C 335.614,673.675 335.281,672.675 335.5,671.5C 332.021,670.796 328.688,669.63 325.5,668C 319.37,665.066 313.704,661.399 308.5,657C 306.975,655.991 305.308,655.491 303.5,655.5C 303.719,654.325 303.386,653.325 302.5,652.5C 296.473,648.791 290.473,645.124 284.5,641.5C 282,644.375 279.333,647.041 276.5,649.5C 276.666,643.491 276.499,637.491 276,631.5C 271.097,628.465 266.93,624.632 263.5,620C 258.087,619.755 252.587,619.255 247,618.5C 239.18,619.187 231.347,619.52 223.5,619.5C 233.831,617.497 244.498,615.83 255.5,614.5C 255.5,612.167 255.5,609.833 255.5,607.5C 253.857,607.52 252.524,606.853 251.5,605.5C 249.865,602.368 248.032,599.368 246,596.5C 245.435,589.168 243.935,582.168 241.5,575.5C 241.5,574.167 241.5,572.833 241.5,571.5C 251.555,570.872 261.555,569.706 271.5,568C 274.31,567.218 276.977,566.384 279.5,565.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c67c69",d:"M 140.5,622.5 C 113.782,621.309 89.115,613.976 66.5,600.5C 67.0946,596.976 68.9279,594.31 72,592.5C 80.5839,596.139 89.0839,599.973 97.5,604C 106.537,606.132 115.204,609.132 123.5,613C 136.951,616.457 150.618,619.123 164.5,621C 164.833,621.333 165.167,621.667 165.5,622C 157.173,622.5 148.84,622.666 140.5,622.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5c3825",d:"M 68.5,612.5 C 79.6888,615.123 91.0222,616.956 102.5,618C 114.777,621.787 127.444,623.62 140.5,623.5C 157.513,623.833 174.513,623.499 191.5,622.5C 202.1,620.747 212.767,619.747 223.5,619.5C 231.347,619.52 239.18,619.187 247,618.5C 252.587,619.255 258.087,619.755 263.5,620C 266.93,624.632 271.097,628.465 276,631.5C 276.499,637.491 276.666,643.491 276.5,649.5C 277.002,653.764 278.002,657.93 279.5,662C 278.472,665.221 277.306,668.388 276,671.5C 275.667,671.167 275.333,670.833 275,670.5C 274.121,682.566 273.621,694.566 273.5,706.5C 275.012,711.882 276.846,717.215 279,722.5C 280.667,723.5 282.333,724.5 284,725.5C 284.483,726.448 284.649,727.448 284.5,728.5C 285.93,728.421 287.264,728.754 288.5,729.5C 290.488,728.711 290.821,727.545 289.5,726C 297.126,725.737 298.126,727.904 292.5,732.5C 291.614,733.325 291.281,734.325 291.5,735.5C 293.76,736.139 295.76,737.306 297.5,739C 300.233,739.758 302.733,739.258 305,737.5C 308.539,738.173 312.039,739.006 315.5,740C 315.957,740.414 316.291,740.914 316.5,741.5C 315.372,742.262 314.205,742.929 313,743.5C 310.165,742.58 307.332,741.58 304.5,740.5C 303.571,741.689 303.238,743.022 303.5,744.5C 308.456,744.436 312.623,746.102 316,749.5C 317.011,748.663 318.178,748.33 319.5,748.5C 319.5,749.5 319.5,750.5 319.5,751.5C 298.322,745.644 282.488,732.977 272,713.5C 268.908,706.207 267.408,698.54 267.5,690.5C 269.139,675.217 271.473,660.05 274.5,645C 273.207,637.084 269.54,630.417 263.5,625C 259.343,623.335 255.01,622.502 250.5,622.5C 226.107,624.425 201.774,626.758 177.5,629.5C 153.528,630.724 129.861,628.724 106.5,623.5C 95.9775,621.786 85.6442,619.286 75.5,616C 73.1417,614.724 70.8084,613.558 68.5,612.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e3d8d4",d:"M 106.5,623.5 C 129.861,628.724 153.528,630.724 177.5,629.5C 162.473,630.375 147.64,631.042 133,631.5C 130.343,630.923 127.843,629.923 125.5,628.5C 124.158,629.902 123.324,629.569 123,627.5C 120.333,628.167 117.667,628.833 115,629.5C 112.347,627.12 109.514,625.12 106.5,623.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#38a447",d:"M 76.5,628.5 C 80.3317,628.895 82.665,630.895 83.5,634.5C 82.0929,641.213 80.5929,647.88 79,654.5C 76.0916,658.461 75.2583,662.795 76.5,667.5C 79.6599,665.172 82.3266,662.339 84.5,659C 88.0185,655.982 91.6852,653.149 95.5,650.5C 94.9305,653.335 93.2639,655.001 90.5,655.5C 88.4675,662.365 83.9675,666.699 77,668.5C 75.8926,668.415 74.8926,668.081 74,667.5C 74.1596,670.047 75.3263,672.214 77.5,674C 80.9499,674.175 84.2832,674.342 87.5,674.5C 86.91,675.799 85.91,676.632 84.5,677C 85.1667,677.667 85.8333,678.333 86.5,679C 84.8333,679.667 83.1667,679.667 81.5,679C 81.9574,678.586 82.2907,678.086 82.5,677.5C 81.1349,676.544 79.6349,675.878 78,675.5C 76.2626,676.62 74.4292,677.62 72.5,678.5C 71.6143,677.675 71.281,676.675 71.5,675.5C 72.5,675.5 73.5,675.5 74.5,675.5C 74.5,674.5 74.5,673.5 74.5,672.5C 72.5,672.167 70.5,671.833 68.5,671.5C 70.2649,670.21 71.7649,668.21 73,665.5C 73.3148,662.628 73.8148,659.795 74.5,657C 73.2127,654.336 73.546,651.836 75.5,649.5C 75.2907,648.914 74.9574,648.414 74.5,648C 76.0441,647.71 77.3774,647.044 78.5,646C 78.1667,645.667 77.8333,645.333 77.5,645C 81.0954,642.12 81.9287,638.62 80,634.5C 76.7954,636.181 73.2954,637.181 69.5,637.5C 65.4322,645.868 62.4322,654.701 60.5,664C 58.0442,667.156 56.0442,670.656 54.5,674.5C 52.783,677.281 50.6163,679.614 48,681.5C 47.6667,679.5 47.3333,677.5 47,675.5C 43.8314,675.913 41.3314,677.413 39.5,680C 40.1161,682.359 41.6161,683.859 44,684.5C 44.4828,685.448 44.6495,686.448 44.5,687.5C 41.1332,686.658 38.7998,684.658 37.5,681.5C 39.7664,678.215 42.0997,674.881 44.5,671.5C 46.2391,665.559 48.9057,660.226 52.5,655.5C 53.5862,655.38 54.2528,654.713 54.5,653.5C 54.5309,648.093 57.0309,644.427 62,642.5C 62.1273,640.366 61.9607,638.199 61.5,636C 62.4176,633.239 63.0843,630.406 63.5,627.5C 67.8244,627.927 72.1578,628.261 76.5,628.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#90432c",d:"M 961.5,671.5 C 965.85,667.238 965.017,664.238 959,662.5C 954.394,663.761 950.227,665.928 946.5,669C 932.378,671.89 918.378,674.89 904.5,678C 905.056,678.383 905.389,678.883 905.5,679.5C 900.821,679.334 896.155,679.501 891.5,680C 887.471,681.276 883.471,682.442 879.5,683.5C 879.5,684.833 879.5,686.167 879.5,687.5C 878.022,687.238 876.689,687.571 875.5,688.5C 868.276,699.1 860.442,709.1 852,718.5C 850.644,719.38 849.144,719.714 847.5,719.5C 847.762,720.978 847.429,722.311 846.5,723.5C 843.268,724.73 840.601,726.73 838.5,729.5C 836.49,731.171 834.157,731.838 831.5,731.5C 831.5,732.833 831.5,734.167 831.5,735.5C 828.813,735.336 826.146,735.503 823.5,736C 802.726,746.874 780.559,752.04 757,751.5C 743.093,751.21 729.26,750.21 715.5,748.5C 700.658,749.855 685.992,752.188 671.5,755.5C 671.5,756.833 671.5,758.167 671.5,759.5C 669.396,759.201 667.396,759.534 665.5,760.5C 659.849,763.831 654.182,767.165 648.5,770.5C 645.034,773.926 641.367,777.093 637.5,780C 636.552,780.483 635.552,780.649 634.5,780.5C 634.5,781.5 634.5,782.5 634.5,783.5C 632.076,783.192 629.743,783.526 627.5,784.5C 621.617,790.398 614.951,795.065 607.5,798.5C 605.961,791.948 605.294,785.281 605.5,778.5C 604.209,778.263 603.209,778.596 602.5,779.5C 587.183,785.325 572.183,791.825 557.5,799C 543.565,803.212 529.565,807.212 515.5,811C 522.48,812.833 529.48,814.333 536.5,815.5C 536.611,816.117 536.944,816.617 537.5,817C 544.799,818.488 552.132,819.655 559.5,820.5C 543.582,824.311 527.582,824.311 511.5,820.5C 509.664,818.991 507.664,817.491 505.5,816C 503.5,815.667 501.5,815.333 499.5,815C 493.869,812.182 488.535,808.849 483.5,805C 481.122,804.489 478.788,803.822 476.5,803C 468.334,798.414 460.667,793.081 453.5,787C 445.753,783.704 438.42,779.871 431.5,775.5C 431.5,774.5 431.5,773.5 431.5,772.5C 428.299,770.823 424.965,769.323 421.5,768C 419.527,767.505 417.527,767.338 415.5,767.5C 415.439,765.408 414.439,763.908 412.5,763C 408.167,760.5 403.833,758 399.5,755.5C 392.525,752.92 385.525,750.42 378.5,748C 363.213,746.002 347.88,744.336 332.5,743C 326.881,741.012 321.214,739.179 315.5,737.5C 311.116,733.993 306.116,731.493 300.5,730C 299.87,728.108 298.87,726.441 297.5,725C 294.539,722.356 291.206,720.522 287.5,719.5C 287.908,716.401 286.741,714.067 284,712.5C 279.653,697.142 278.319,681.475 280,665.5C 282.38,657.702 283.88,649.702 284.5,641.5C 290.473,645.124 296.473,648.791 302.5,652.5C 303.386,653.325 303.719,654.325 303.5,655.5C 305.308,655.491 306.975,655.991 308.5,657C 313.704,661.399 319.37,665.066 325.5,668C 328.688,669.63 332.021,670.796 335.5,671.5C 335.281,672.675 335.614,673.675 336.5,674.5C 342.283,675.889 347.283,678.556 351.5,682.5C 355.956,686.365 361.289,688.032 367.5,687.5C 367.5,689.5 367.5,691.5 367.5,693.5C 374.822,694.828 381.488,697.662 387.5,702C 391.418,703.156 395.418,703.656 399.5,703.5C 399.626,706.595 401.293,708.428 404.5,709C 420.114,715.926 436.114,721.926 452.5,727C 457.773,728.457 463.106,729.124 468.5,729C 470.991,728.374 470.991,727.541 468.5,726.5C 468.919,725.328 469.585,724.328 470.5,723.5C 473.156,725.166 475.823,726.832 478.5,728.5C 479.429,729.689 479.762,731.022 479.5,732.5C 483.817,732.535 487.817,733.535 491.5,735.5C 494.021,734.911 496.521,734.245 499,733.5C 503.02,734.956 507.187,735.622 511.5,735.5C 513.857,735.337 516.19,735.503 518.5,736C 520.733,738.907 523.733,740.074 527.5,739.5C 527.5,740.833 527.5,742.167 527.5,743.5C 536.806,743.119 545.473,740.619 553.5,736C 563.423,734.144 573.423,732.477 583.5,731C 596.539,726.771 609.873,723.938 623.5,722.5C 623.5,721.5 623.5,720.5 623.5,719.5C 630.714,718.935 637.88,717.935 645,716.5C 653.633,713.143 662.466,711.143 671.5,710.5C 671.5,709.167 671.5,707.833 671.5,706.5C 674.425,706.54 677.091,705.707 679.5,704C 684.5,703.667 689.5,703.333 694.5,703C 696.894,700.476 699.894,699.309 703.5,699.5C 703.5,698.5 703.5,697.5 703.5,696.5C 708.9,695.816 714.233,694.816 719.5,693.5C 719.5,692.5 719.5,691.5 719.5,690.5C 723.182,690.665 726.848,690.499 730.5,690C 739.751,687.616 749.084,685.616 758.5,684C 758.998,682.842 759.831,682.009 761,681.5C 768.573,679.224 776.073,676.891 783.5,674.5C 783.5,673.5 783.5,672.5 783.5,671.5C 788.833,671.5 794.167,671.5 799.5,671.5C 799.5,670.5 799.5,669.5 799.5,668.5C 801.527,668.662 803.527,668.495 805.5,668C 812.025,664.889 818.692,662.056 825.5,659.5C 827.396,658.534 829.396,658.201 831.5,658.5C 831.5,657.5 831.5,656.5 831.5,655.5C 835.182,655.665 838.848,655.499 842.5,655C 845.844,652.884 849.511,651.551 853.5,651C 855.116,650.385 856.449,649.385 857.5,648C 865.23,647.331 872.564,645.498 879.5,642.5C 879.5,641.5 879.5,640.5 879.5,639.5C 882.518,639.665 885.518,639.498 888.5,639C 890.48,637.175 892.813,636.341 895.5,636.5C 895.5,634.833 895.5,633.167 895.5,631.5C 900.88,631.676 906.213,631.342 911.5,630.5C 911.5,629.5 911.5,628.5 911.5,627.5C 915.582,627.656 919.582,627.156 923.5,626C 930.229,622.847 936.896,620.014 943.5,617.5C 954.201,615.688 964.868,613.354 975.5,610.5C 975.5,612.833 975.5,615.167 975.5,617.5C 969.714,617.931 964.047,618.931 958.5,620.5C 955.493,618.937 953.159,619.77 951.5,623C 950.552,623.483 949.552,623.649 948.5,623.5C 948.423,626.012 949.423,628.012 951.5,629.5C 955.391,630.551 959.058,632.051 962.5,634C 964.285,637.452 966.785,640.286 970,642.5C 971.276,645.28 972.776,647.947 974.5,650.5C 975.452,652.045 975.785,653.712 975.5,655.5C 974.5,655.5 973.5,655.5 972.5,655.5C 972.782,663.617 969.115,668.95 961.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#49a059",d:"M 76.5,628.5 C 72.1578,628.261 67.8244,627.927 63.5,627.5C 63.0843,630.406 62.4176,633.239 61.5,636C 61.9607,638.199 62.1273,640.366 62,642.5C 57.0309,644.427 54.5309,648.093 54.5,653.5C 54.2528,654.713 53.5862,655.38 52.5,655.5C 55.696,645.126 58.8627,634.792 62,624.5C 62.5613,623.978 63.228,623.645 64,623.5C 67.8102,624.744 71.6436,625.911 75.5,627C 76.056,627.383 76.3893,627.883 76.5,628.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#339945",d:"M 159.5,671.5 C 159.799,669.396 159.466,667.396 158.5,665.5C 154.889,664.371 151.389,663.038 148,661.5C 147.308,662.025 146.808,662.692 146.5,663.5C 147.309,665.071 147.643,666.738 147.5,668.5C 146.167,668.5 144.833,668.5 143.5,668.5C 140.729,663.797 138.062,658.963 135.5,654C 136.294,651.976 135.961,649.976 134.5,648C 126.328,645.718 117.995,645.051 109.5,646C 108.396,647.131 108.729,647.965 110.5,648.5C 111.429,649.689 111.762,651.022 111.5,652.5C 107.019,653.037 105.686,651.37 107.5,647.5C 104.211,648.374 100.877,649.041 97.5,649.5C 106.331,642.816 116.331,640.649 127.5,643C 133.127,645.117 138.127,648.283 142.5,652.5C 143.386,653.325 143.719,654.325 143.5,655.5C 146.787,656.264 149.454,658.097 151.5,661C 153.788,661.822 156.122,662.489 158.5,663C 161.885,665.743 162.218,668.576 159.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#745342",d:"M 977.5,639.5 C 979.955,642.708 982.455,646.041 985,649.5C 985.667,653.833 985.667,658.167 985,662.5C 984.246,665.684 982.746,668.351 980.5,670.5C 980.903,666.358 981.903,662.358 983.5,658.5C 981.9,652.033 979.9,645.7 977.5,639.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6e3722",d:"M 988.5,544.5 C 989.609,544.557 990.609,544.89 991.5,545.5C 1008.77,556.802 1014.93,572.468 1010,592.5C 1007.77,596.458 1004.93,599.958 1001.5,603C 989.584,612.376 976.417,619.543 962,624.5C 961.837,626.387 962.671,627.887 964.5,629C 969.33,632.008 973.664,635.508 977.5,639.5C 979.9,645.7 981.9,652.033 983.5,658.5C 981.903,662.358 980.903,666.358 980.5,670.5C 976.773,676.069 971.773,679.902 965.5,682C 964.5,683 963.5,684 962.5,685C 957.762,685.519 953.095,686.352 948.5,687.5C 934.27,689.268 919.937,689.768 905.5,689C 904.027,688.29 903.36,687.124 903.5,685.5C 907.852,687.486 910.519,686.152 911.5,681.5C 899.993,681.264 889.326,681.931 879.5,683.5C 883.471,682.442 887.471,681.276 891.5,680C 896.155,679.501 900.821,679.334 905.5,679.5C 924.968,682.311 943.635,679.645 961.5,671.5C 969.115,668.95 972.782,663.617 972.5,655.5C 973.5,655.5 974.5,655.5 975.5,655.5C 975.785,653.712 975.452,652.045 974.5,650.5C 972.776,647.947 971.276,645.28 970,642.5C 966.785,640.286 964.285,637.452 962.5,634C 959.058,632.051 955.391,630.551 951.5,629.5C 949.423,628.012 948.423,626.012 948.5,623.5C 949.552,623.649 950.552,623.483 951.5,623C 953.159,619.77 955.493,618.937 958.5,620.5C 964.047,618.931 969.714,617.931 975.5,617.5C 975.5,615.167 975.5,612.833 975.5,610.5C 964.868,613.354 954.201,615.688 943.5,617.5C 943.62,616.414 944.287,615.747 945.5,615.5C 955.659,612.995 965.659,610.328 975.5,607.5C 975.5,606.5 975.5,605.5 975.5,604.5C 978.049,604.613 980.382,603.946 982.5,602.5C 982.968,597.204 984.301,592.204 986.5,587.5C 987.084,577.801 987.751,568.134 988.5,558.5C 986.317,556.293 984.984,553.626 984.5,550.5C 983.817,550.863 983.15,551.196 982.5,551.5C 980.535,551.052 980.202,550.052 981.5,548.5C 983.1,545.904 985.433,544.57 988.5,544.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8d4329",d:"M 989.5,559.5 C 991.796,562.986 994.796,565.986 998.5,568.5C 1002.83,576.552 1002.49,584.218 997.5,591.5C 996.5,591.5 995.5,591.5 994.5,591.5C 994.5,592.833 994.5,594.167 994.5,595.5C 993.5,595.5 992.5,595.5 991.5,595.5C 991.254,598.47 989.588,599.803 986.5,599.5C 988.529,586.36 989.529,573.027 989.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#df9686",d:"M 961.5,671.5 C 943.635,679.645 924.968,682.311 905.5,679.5C 905.389,678.883 905.056,678.383 904.5,678C 918.378,674.89 932.378,671.89 946.5,669C 950.227,665.928 954.394,663.761 959,662.5C 965.017,664.238 965.85,667.238 961.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3bab47",d:"M 95.5,650.5 C 95.8417,649.662 96.5084,649.328 97.5,649.5C 100.877,649.041 104.211,648.374 107.5,647.5C 105.686,651.37 107.019,653.037 111.5,652.5C 111.762,651.022 111.429,649.689 110.5,648.5C 108.729,647.965 108.396,647.131 109.5,646C 117.995,645.051 126.328,645.718 134.5,648C 135.961,649.976 136.294,651.976 135.5,654C 138.062,658.963 140.729,663.797 143.5,668.5C 144.833,668.5 146.167,668.5 147.5,668.5C 147.643,666.738 147.309,665.071 146.5,663.5C 146.808,662.692 147.308,662.025 148,661.5C 151.389,663.038 154.889,664.371 158.5,665.5C 159.466,667.396 159.799,669.396 159.5,671.5C 159.768,673.099 159.434,674.432 158.5,675.5C 157.022,675.238 155.689,675.571 154.5,676.5C 154.032,678.134 153.032,679.3 151.5,680C 149.567,680.251 147.734,680.751 146,681.5C 144.242,690.069 143.076,698.736 142.5,707.5C 139.732,709.428 138.898,712.095 140,715.5C 141.011,716.337 142.178,716.67 143.5,716.5C 143.5,718.833 143.5,721.167 143.5,723.5C 136.986,723.866 130.986,722.533 125.5,719.5C 125.719,718.325 125.386,717.325 124.5,716.5C 121.428,715.13 118.261,714.13 115,713.5C 115.619,710.292 116.119,706.958 116.5,703.5C 118.96,703.301 121.293,702.635 123.5,701.5C 122.865,696.913 121.865,692.413 120.5,688C 121.597,685.567 123.097,683.4 125,681.5C 127.633,677.421 126.967,674.088 123,671.5C 117.134,675.382 111.3,679.215 105.5,683C 105.966,684.299 105.966,685.799 105.5,687.5C 102.167,690.5 98.8333,693.5 95.5,696.5C 77.2053,700.063 60.2053,697.063 44.5,687.5C 44.6495,686.448 44.4828,685.448 44,684.5C 41.6161,683.859 40.1161,682.359 39.5,680C 41.3314,677.413 43.8314,675.913 47,675.5C 47.3333,677.5 47.6667,679.5 48,681.5C 50.6163,679.614 52.783,677.281 54.5,674.5C 56.0442,670.656 58.0442,667.156 60.5,664C 62.4322,654.701 65.4322,645.868 69.5,637.5C 73.2954,637.181 76.7954,636.181 80,634.5C 81.9287,638.62 81.0954,642.12 77.5,645C 77.8333,645.333 78.1667,645.667 78.5,646C 77.3774,647.044 76.0441,647.71 74.5,648C 74.9574,648.414 75.2907,648.914 75.5,649.5C 73.546,651.836 73.2127,654.336 74.5,657C 73.8148,659.795 73.3148,662.628 73,665.5C 71.7649,668.21 70.2649,670.21 68.5,671.5C 70.5,671.833 72.5,672.167 74.5,672.5C 74.5,673.5 74.5,674.5 74.5,675.5C 73.5,675.5 72.5,675.5 71.5,675.5C 71.281,676.675 71.6143,677.675 72.5,678.5C 74.4292,677.62 76.2626,676.62 78,675.5C 79.6349,675.878 81.1349,676.544 82.5,677.5C 82.2907,678.086 81.9574,678.586 81.5,679C 83.1667,679.667 84.8333,679.667 86.5,679C 85.8333,678.333 85.1667,677.667 84.5,677C 85.91,676.632 86.91,675.799 87.5,674.5C 84.2832,674.342 80.9499,674.175 77.5,674C 75.3263,672.214 74.1596,670.047 74,667.5C 74.8926,668.081 75.8926,668.415 77,668.5C 83.9675,666.699 88.4675,662.365 90.5,655.5C 93.2639,655.001 94.9305,653.335 95.5,650.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ac9c8a",d:"M 538.5,286.5 C 547.732,291.533 557.232,296.2 567,300.5C 567.399,300.272 567.565,299.938 567.5,299.5C 568.596,301.103 569.93,302.603 571.5,304C 588.929,307.286 606.263,310.952 623.5,315C 629.135,317.281 634.801,319.114 640.5,320.5C 639.735,320.923 638.902,321.257 638,321.5C 633.335,319.891 628.501,319.058 623.5,319C 611.923,317.067 600.589,314.4 589.5,311C 559.363,308.172 529.363,309.172 499.5,314C 485.449,316.837 471.783,320.837 458.5,326C 446.06,332.769 433.394,339.103 420.5,345C 407.326,354.728 393.66,363.728 379.5,372C 372.909,378.299 365.909,384.133 358.5,389.5C 354.661,394.88 350.161,399.547 345,403.5C 334.908,416.43 325.908,430.096 318,444.5C 303.137,476.724 301.137,509.724 312,543.5C 315.202,549.239 317.868,555.239 320,561.5C 327.131,569.129 333.297,577.463 338.5,586.5C 352.142,601.469 367.475,614.302 384.5,625C 401.673,634.334 419.34,642.668 437.5,650C 454.77,654.261 471.77,659.261 488.5,665C 507.808,667.897 527.141,670.063 546.5,671.5C 544.167,671.5 541.833,671.5 539.5,671.5C 539.5,675.167 539.5,678.833 539.5,682.5C 548.339,683.991 551.672,680.325 549.5,671.5C 562.833,671.5 576.167,671.5 589.5,671.5C 586.713,672.477 583.713,672.81 580.5,672.5C 580.318,674.591 580.652,676.591 581.5,678.5C 586.792,679.495 592.125,679.828 597.5,679.5C 597.5,676.833 597.5,674.167 597.5,671.5C 605.671,670.944 613.838,670.277 622,669.5C 629.753,667.624 637.586,666.124 645.5,665C 648.798,664.513 651.798,663.347 654.5,661.5C 656.106,662.077 657.772,662.41 659.5,662.5C 667.648,659.937 675.981,658.27 684.5,657.5C 692.764,655.147 700.931,652.48 709,649.5C 712.481,648.877 715.981,648.377 719.5,648C 735.068,641.477 751.068,636.144 767.5,632C 777.49,627.455 787.49,623.121 797.5,619C 810.435,614.36 823.435,610.027 836.5,606C 844.945,600.634 853.945,596.634 863.5,594C 873.397,588.811 883.397,583.811 893.5,579C 898.711,577.728 903.378,575.394 907.5,572C 916.552,567.142 925.886,562.808 935.5,559C 937.539,556.626 939.872,554.626 942.5,553C 953.535,548.208 963.702,542.042 973,534.5C 977.695,527.241 981.528,519.574 984.5,511.5C 986.791,493.587 984.625,476.253 978,459.5C 975.095,455.12 972.762,450.453 971,445.5C 969.128,442.418 966.795,439.751 964,437.5C 962.872,435.655 962.372,433.655 962.5,431.5C 961.448,431.649 960.448,431.483 959.5,431C 956.667,427.5 953.5,424.333 950,421.5C 949.517,420.552 949.351,419.552 949.5,418.5C 957.243,424.131 964.743,430.131 972,436.5C 978.645,446.138 984.479,456.138 989.5,466.5C 996.238,482.106 998.072,498.439 995,515.5C 992.617,525.138 990.45,534.805 988.5,544.5C 985.433,544.57 983.1,545.904 981.5,548.5C 980.202,550.052 980.535,551.052 982.5,551.5C 983.914,553.598 983.248,554.598 980.5,554.5C 980.657,555.873 980.49,557.207 980,558.5C 976.734,560.852 973.567,563.352 970.5,566C 953.581,574.565 936.581,582.899 919.5,591C 877.168,607.894 834.501,624.227 791.5,640C 785.206,640.986 779.372,643.153 774,646.5C 739.229,657.147 704.396,667.48 669.5,677.5C 654.966,680.969 640.299,683.469 625.5,685C 611.523,687.607 597.523,690.107 583.5,692.5C 570.179,693.333 556.846,693.666 543.5,693.5C 529.597,690.512 515.597,688.012 501.5,686C 490.502,683.405 479.502,680.739 468.5,678C 465.193,677.347 462.527,675.681 460.5,673C 429.706,664.591 401.04,651.925 374.5,635C 370.179,629.574 364.846,625.574 358.5,623C 349.876,614.864 341.21,607.031 332.5,599.5C 332.719,598.325 332.386,597.325 331.5,596.5C 329.548,594.259 327.382,592.259 325,590.5C 321.651,585.14 317.818,580.14 313.5,575.5C 301.239,555.329 293.239,533.663 289.5,510.5C 288.566,509.432 288.232,508.099 288.5,506.5C 288.5,500.833 288.5,495.167 288.5,489.5C 290.889,482.421 292.556,475.088 293.5,467.5C 296.572,454.72 301.238,442.72 307.5,431.5C 309.158,428.912 310.825,426.245 312.5,423.5C 314.278,421.171 315.278,418.504 315.5,415.5C 316.833,415.5 318.167,415.5 319.5,415.5C 319.5,414.5 319.5,413.5 319.5,412.5C 322.86,413.21 324.693,411.876 325,408.5C 328.097,407.711 328.264,406.544 325.5,405C 327.175,404.015 328.842,403.181 330.5,402.5C 330.5,402.167 330.5,401.833 330.5,401.5C 332.011,400.498 333.678,399.831 335.5,399.5C 335.5,398.167 335.5,396.833 335.5,395.5C 336.552,395.649 337.552,395.483 338.5,395C 341.71,390.289 345.71,386.456 350.5,383.5C 350.833,383.5 351.167,383.5 351.5,383.5C 352.5,383.5 353.5,383.5 354.5,383.5C 354.575,380.794 354.908,378.127 355.5,375.5C 356.978,375.762 358.311,375.429 359.5,374.5C 368.955,367.876 377.622,360.376 385.5,352C 387.723,351.434 389.723,350.6 391.5,349.5C 395.249,346.112 399.249,342.945 403.5,340C 407.267,337.606 411.267,336.106 415.5,335.5C 415.281,334.325 415.614,333.325 416.5,332.5C 422.964,329.706 428.964,326.373 434.5,322.5C 437.619,321.683 440.619,320.683 443.5,319.5C 455.182,313.832 467.182,309.165 479.5,305.5C 482.337,303.598 485.671,302.931 489.5,303.5C 497.749,302.433 505.749,300.766 513.5,298.5C 519.176,298.666 524.843,298.499 530.5,298C 532.719,293.397 531.385,290.563 526.5,289.5C 525.702,289.043 525.369,288.376 525.5,287.5C 528.354,287.924 531.021,288.924 533.5,290.5C 535.815,289.84 537.481,288.507 538.5,286.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#887765",d:"M 546.5,671.5 C 547.5,671.5 548.5,671.5 549.5,671.5C 551.672,680.325 548.339,683.991 539.5,682.5C 539.5,678.833 539.5,675.167 539.5,671.5C 541.833,671.5 544.167,671.5 546.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bab9ae",d:"M 815.5,597.5 C 815.5,598.833 815.5,600.167 815.5,601.5C 811.418,601.344 807.418,601.844 803.5,603C 792.701,606.981 781.701,610.648 770.5,614C 767.833,615.667 765.167,617.333 762.5,619C 749.244,621.946 736.244,625.613 723.5,630C 721.482,631.398 719.316,632.565 717,633.5C 693.212,638.888 668.712,644.388 643.5,650C 599.546,656.788 555.546,658.288 511.5,654.5C 522.075,653.889 532.742,653.223 543.5,652.5C 543.5,651.5 543.5,650.5 543.5,649.5C 548.833,649.5 554.167,649.5 559.5,649.5C 559.5,648.5 559.5,647.5 559.5,646.5C 549.828,646.334 540.161,646.5 530.5,647C 532.608,647.36 534.608,648.027 536.5,649C 529.859,650.119 523.192,650.453 516.5,650C 519.834,647.925 523.501,647.091 527.5,647.5C 527.5,646.5 527.5,645.5 527.5,644.5C 532.833,644.5 538.167,644.5 543.5,644.5C 603.205,645.037 661.872,637.704 719.5,622.5C 741.068,615.755 762.401,608.422 783.5,600.5C 788.568,600.867 792.902,599.367 796.5,596C 803.028,595.239 809.361,595.739 815.5,597.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c5aaa4",d:"M 825.5,584.5 C 824.192,585.232 822.858,586.066 821.5,587C 825.081,587.675 825.081,588.841 821.5,590.5C 817.065,589.856 812.731,590.523 808.5,592.5C 810.743,593.474 813.076,593.808 815.5,593.5C 815.5,594.833 815.5,596.167 815.5,597.5C 809.361,595.739 803.028,595.239 796.5,596C 792.902,599.367 788.568,600.867 783.5,600.5C 786.197,598.559 789.197,597.059 792.5,596C 803.527,592.149 814.527,588.315 825.5,584.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0475c",d:"M 475.5,567.5 C 476.376,567.369 477.043,567.702 477.5,568.5C 476.626,570.747 476.292,573.08 476.5,575.5C 475.5,575.5 474.5,575.5 473.5,575.5C 471.101,586.662 470.101,597.995 470.5,609.5C 469.343,601.01 469.176,592.343 470,583.5C 471.027,577.804 472.86,572.47 475.5,567.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e08c99",d:"M 767.5,571.5 C 760.798,571.336 754.131,571.669 747.5,572.5C 751.034,570.952 754.867,570.286 759,570.5C 762.021,570.502 764.854,570.836 767.5,571.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d65f71",d:"M 549.5,559.5 C 548.814,563.884 547.814,568.217 546.5,572.5C 544.667,572.833 542.833,573.167 541,573.5C 535.493,572.749 529.993,571.915 524.5,571C 521.714,569.499 519.047,567.999 516.5,566.5C 525.974,569.049 535.64,571.049 545.5,572.5C 545.677,567.657 547.01,563.323 549.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0a29f",d:"M 475.5,567.5 C 472.86,572.47 471.027,577.804 470,583.5C 469.176,592.343 469.343,601.01 470.5,609.5C 470.5,610.167 470.5,610.833 470.5,611.5C 469.883,611.389 469.383,611.056 469,610.5C 467.948,598.695 468.448,587.028 470.5,575.5C 469.448,575.649 468.448,575.483 467.5,575C 469.611,573.265 471.611,571.432 473.5,569.5C 470.914,568.52 468.247,568.187 465.5,568.5C 465.762,569.978 465.429,571.311 464.5,572.5C 463.051,571.383 461.384,570.716 459.5,570.5C 455.529,571.38 451.529,572.047 447.5,572.5C 447.791,571.351 448.624,570.684 450,570.5C 458.37,568.355 466.87,567.355 475.5,567.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf747f",d:"M 401.5,547.5 C 402.6,549.277 403.434,551.277 404,553.5C 404.822,561.012 404.655,568.345 403.5,575.5C 403.94,566.051 403.273,556.718 401.5,547.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7425b",d:"M 500.5,527.5 C 508.663,529.445 516.663,531.778 524.5,534.5C 521.314,542.929 517.981,551.263 514.5,559.5C 514.67,557.152 515.003,554.818 515.5,552.5C 514.077,549.725 513.411,546.725 513.5,543.5C 514.5,543.5 515.5,543.5 516.5,543.5C 516.281,544.675 516.614,545.675 517.5,546.5C 518.969,542.957 519.969,539.291 520.5,535.5C 514.535,533.538 508.535,531.538 502.5,529.5C 501.287,529.253 500.62,528.586 500.5,527.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d3556a",d:"M 715.5,536.5 C 727.497,539.506 739.497,541.84 751.5,543.5C 739.342,543.304 727.342,541.971 715.5,539.5C 715.5,538.5 715.5,537.5 715.5,536.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7475e",d:"M 777.5,497.5 C 789.573,498.776 794.073,505.443 791,517.5C 787.699,523.733 782.533,526.733 775.5,526.5C 776.689,516.88 777.356,507.213 777.5,497.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db4359",d:"M 344.5,506.5 C 343.683,511.571 341.349,515.904 337.5,519.5C 350.821,520.333 364.154,520.833 377.5,521C 380.839,522.296 384.173,523.463 387.5,524.5C 387.5,525.5 387.5,526.5 387.5,527.5C 380.769,525.972 374.103,524.139 367.5,522C 356.839,521.5 346.172,521.333 335.5,521.5C 336.453,515.353 339.453,510.353 344.5,506.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ee2447",d:"M 778.5,499.5 C 782.95,499.142 786.45,500.808 789,504.5C 789.606,507.076 789.106,509.41 787.5,511.5C 788.528,513.56 788.528,515.56 787.5,517.5C 786.808,516.975 786.308,516.308 786,515.5C 785.505,517.473 785.338,519.473 785.5,521.5C 782.412,521.639 779.745,522.639 777.5,524.5C 778.185,516.184 778.518,507.851 778.5,499.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d4929c",d:"M 520.5,479.5 C 521.898,481.596 522.898,483.929 523.5,486.5C 521.349,491.592 520.349,496.925 520.5,502.5C 519.572,494.999 519.572,487.332 520.5,479.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ed3352",d:"M 571.5,477.5 C 572.496,477.414 573.329,477.748 574,478.5C 576.381,482.968 578.381,487.635 580,492.5C 581.964,503.746 577.797,511.579 567.5,516C 563.514,516.499 559.514,516.666 555.5,516.5C 558.929,502.652 564.262,489.652 571.5,477.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cda6a2",d:"M 938.5,476.5 C 939.995,476.415 940.995,477.081 941.5,478.5C 944.086,479.48 946.753,479.813 949.5,479.5C 949.649,480.552 949.483,481.552 949,482.5C 945.296,483.948 944.629,486.281 947,489.5C 947.667,499.833 947.667,510.167 947,520.5C 946.727,522.329 945.893,523.829 944.5,525C 941.94,525.384 939.606,526.217 937.5,527.5C 939.911,524.252 942.744,521.585 946,519.5C 948.621,504.031 946.121,489.697 938.5,476.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d54961",d:"M 494.5,465.5 C 501.278,465.514 507.945,466.347 514.5,468C 515.748,469.959 517.415,471.459 519.5,472.5C 520.374,474.747 520.708,477.08 520.5,479.5C 519.031,477.164 517.698,474.664 516.5,472C 509.344,468.958 502.01,466.791 494.5,465.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ed7588",d:"M 789.5,449.5 C 788.552,458.718 786.885,467.718 784.5,476.5C 783.876,476.083 783.543,475.416 783.5,474.5C 785.192,465.96 787.192,457.627 789.5,449.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e2334e",d:"M 763.5,463.5 C 764.5,463.5 765.5,463.5 766.5,463.5C 767.496,459.446 767.162,455.446 765.5,451.5C 764.178,451.33 763.011,451.663 762,452.5C 761.501,456.152 761.335,459.818 761.5,463.5C 759.036,459.722 758.87,455.722 761,451.5C 765.104,446.76 770.271,444.427 776.5,444.5C 775.172,453.122 774.172,461.789 773.5,470.5C 769.06,469.724 765.727,467.39 763.5,463.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#eb2546",d:"M 763.5,463.5 C 762.833,463.5 762.167,463.5 761.5,463.5C 761.335,459.818 761.501,456.152 762,452.5C 763.011,451.663 764.178,451.33 765.5,451.5C 767.162,455.446 767.496,459.446 766.5,463.5C 765.5,463.5 764.5,463.5 763.5,463.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e24a64",d:"M 611.5,437.5 C 617.185,438.504 622.852,439.671 628.5,441C 632.333,444.167 636.167,447.333 640,450.5C 641.813,448.375 643.647,446.375 645.5,444.5C 645.467,450.819 642.467,453.319 636.5,452C 635.072,449.815 633.405,447.815 631.5,446C 624.76,444.545 618.093,442.878 611.5,441C 610.829,440.014 610.829,438.847 611.5,437.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d89c9a",d:"M 897.5,422.5 C 899.196,422.685 900.529,423.519 901.5,425C 906.279,426.728 911.279,427.728 916.5,428C 919.737,430.419 920.07,433.085 917.5,436C 914.518,436.498 911.518,436.665 908.5,436.5C 910.684,435.734 913.018,435.067 915.5,434.5C 916.833,433.167 916.833,431.833 915.5,430.5C 910.482,428.832 905.482,427.332 900.5,426C 899.29,424.961 898.29,423.794 897.5,422.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8c7c6a",d:"M 589.5,671.5 C 592.167,671.5 594.833,671.5 597.5,671.5C 597.5,674.167 597.5,676.833 597.5,679.5C 592.125,679.828 586.792,679.495 581.5,678.5C 580.652,676.591 580.318,674.591 580.5,672.5C 583.713,672.81 586.713,672.477 589.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e4f6e3",d:"M 119.5,691.5 C 118.38,687.983 118.38,684.316 119.5,680.5C 118.448,680.351 117.448,680.517 116.5,681C 115.636,682.697 114.303,683.863 112.5,684.5C 111.614,685.325 111.281,686.325 111.5,687.5C 110.5,687.5 109.5,687.5 108.5,687.5C 108.762,688.978 108.429,690.311 107.5,691.5C 103.879,694.133 99.8786,695.8 95.5,696.5C 98.8333,693.5 102.167,690.5 105.5,687.5C 109.589,684.917 113.256,681.75 116.5,678C 118.78,677.767 120.78,676.934 122.5,675.5C 123.11,678.714 122.277,681.714 120,684.5C 119.503,686.81 119.337,689.143 119.5,691.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#47a554",d:"M 158.5,675.5 C 154.926,678.784 151.593,682.284 148.5,686C 150.507,688.854 151.84,692.021 152.5,695.5C 152,697.5 151.5,699.5 151,701.5C 148.386,703.903 145.886,706.403 143.5,709C 142.552,709.483 141.552,709.649 140.5,709.5C 140.716,712.256 141.716,714.59 143.5,716.5C 142.178,716.67 141.011,716.337 140,715.5C 138.898,712.095 139.732,709.428 142.5,707.5C 143.076,698.736 144.242,690.069 146,681.5C 147.734,680.751 149.567,680.251 151.5,680C 153.032,679.3 154.032,678.134 154.5,676.5C 155.689,675.571 157.022,675.238 158.5,675.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#9b8474",d:"M 529.5,695.5 C 548.17,695.333 566.836,695.5 585.5,696C 576.848,697.166 568.181,698.499 559.5,700C 549.49,700.5 539.49,700.333 529.5,699.5C 529.5,698.167 529.5,696.833 529.5,695.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0897a",d:"M 305.5,694.5 C 307.564,694.687 309.564,695.187 311.5,696C 322.872,705.011 334.206,714.011 345.5,723C 353.6,726.771 361.934,729.771 370.5,732C 367.833,733 365.167,734 362.5,735C 354.167,735.667 345.833,735.667 337.5,735C 333.388,731.95 328.721,729.95 323.5,729C 317.59,723.761 312.423,717.928 308,711.5C 307.197,708.756 306.197,706.089 305,703.5C 304.264,700.408 304.431,697.408 305.5,694.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5caa66",d:"M 125.5,719.5 C 121.675,718.926 118.009,717.759 114.5,716C 112.59,715.592 111.59,714.425 111.5,712.5C 112.184,709.275 113.351,706.275 115,703.5C 117.719,701.781 119.719,699.447 121,696.5C 121.599,694.465 121.099,692.799 119.5,691.5C 119.337,689.143 119.503,686.81 120,684.5C 122.277,681.714 123.11,678.714 122.5,675.5C 120.78,676.934 118.78,677.767 116.5,678C 113.256,681.75 109.589,684.917 105.5,687.5C 105.966,685.799 105.966,684.299 105.5,683C 111.3,679.215 117.134,675.382 123,671.5C 126.967,674.088 127.633,677.421 125,681.5C 123.097,683.4 121.597,685.567 120.5,688C 121.865,692.413 122.865,696.913 123.5,701.5C 121.293,702.635 118.96,703.301 116.5,703.5C 116.119,706.958 115.619,710.292 115,713.5C 118.261,714.13 121.428,715.13 124.5,716.5C 125.386,717.325 125.719,718.325 125.5,719.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#833d25",d:"M 370.5,671.5 C 372.904,676.997 377.238,679.33 383.5,678.5C 383.5,679.833 383.5,681.167 383.5,682.5C 385.927,682.523 388.26,683.023 390.5,684C 392.719,687.045 395.719,688.211 399.5,687.5C 399.5,688.5 399.5,689.5 399.5,690.5C 402.216,690.678 404.883,691.178 407.5,692C 409.164,695.136 411.831,696.303 415.5,695.5C 415.5,696.5 415.5,697.5 415.5,698.5C 418.839,698.78 421.506,700.28 423.5,703C 438.5,704.928 452.834,709.261 466.5,716C 467.5,717 468.5,718 469.5,719C 472.817,719.498 476.15,719.665 479.5,719.5C 479.5,720.5 479.5,721.5 479.5,722.5C 485.146,722.911 490.479,724.245 495.5,726.5C 495.5,728.167 495.5,729.833 495.5,731.5C 500.995,731.665 506.328,732.665 511.5,734.5C 511.5,734.833 511.5,735.167 511.5,735.5C 507.187,735.622 503.02,734.956 499,733.5C 496.521,734.245 494.021,734.911 491.5,735.5C 487.817,733.535 483.817,732.535 479.5,732.5C 479.762,731.022 479.429,729.689 478.5,728.5C 475.823,726.832 473.156,725.166 470.5,723.5C 469.585,724.328 468.919,725.328 468.5,726.5C 470.991,727.541 470.991,728.374 468.5,729C 463.106,729.124 457.773,728.457 452.5,727C 436.114,721.926 420.114,715.926 404.5,709C 401.293,708.428 399.626,706.595 399.5,703.5C 395.418,703.656 391.418,703.156 387.5,702C 381.488,697.662 374.822,694.828 367.5,693.5C 367.5,691.5 367.5,689.5 367.5,687.5C 361.289,688.032 355.956,686.365 351.5,682.5C 353.857,682.663 356.19,682.497 358.5,682C 360.394,679.108 363.061,677.441 366.5,677C 368.21,675.349 369.544,673.516 370.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#613521",d:"M 948.5,687.5 C 938.724,689.478 928.724,690.812 918.5,691.5C 906.841,690.564 895.175,690.398 883.5,691C 872.659,715.506 855.326,733.84 831.5,746C 814.152,753.172 796.152,758.172 777.5,761C 753.155,760.998 728.822,760.665 704.5,760C 686.225,763.646 669.225,770.312 653.5,780C 630.479,795.697 607.479,811.363 584.5,827C 580.725,828.606 577.058,830.44 573.5,832.5C 569.893,833.489 566.226,833.823 562.5,833.5C 565.83,829.848 570.164,828.181 575.5,828.5C 575.5,827.5 575.5,826.5 575.5,825.5C 577.857,825.663 580.19,825.497 582.5,825C 584.032,824.3 585.032,823.134 585.5,821.5C 583.589,819.298 581.255,817.631 578.5,816.5C 587.49,812.69 596.156,808.19 604.5,803C 605.305,801.887 605.972,800.721 606.5,799.5C 607.167,799.5 607.5,799.167 607.5,798.5C 614.951,795.065 621.617,790.398 627.5,784.5C 629.743,783.526 632.076,783.192 634.5,783.5C 634.5,782.5 634.5,781.5 634.5,780.5C 635.552,780.649 636.552,780.483 637.5,780C 641.367,777.093 645.034,773.926 648.5,770.5C 654.182,767.165 659.849,763.831 665.5,760.5C 667.396,759.534 669.396,759.201 671.5,759.5C 671.5,758.167 671.5,756.833 671.5,755.5C 685.992,752.188 700.658,749.855 715.5,748.5C 729.26,750.21 743.093,751.21 757,751.5C 780.559,752.04 802.726,746.874 823.5,736C 826.146,735.503 828.813,735.336 831.5,735.5C 831.5,734.167 831.5,732.833 831.5,731.5C 834.157,731.838 836.49,731.171 838.5,729.5C 840.601,726.73 843.268,724.73 846.5,723.5C 847.429,722.311 847.762,720.978 847.5,719.5C 849.144,719.714 850.644,719.38 852,718.5C 860.442,709.1 868.276,699.1 875.5,688.5C 876.689,687.571 878.022,687.238 879.5,687.5C 879.5,686.167 879.5,684.833 879.5,683.5C 889.326,681.931 899.993,681.264 911.5,681.5C 910.519,686.152 907.852,687.486 903.5,685.5C 903.36,687.124 904.027,688.29 905.5,689C 919.937,689.768 934.27,689.268 948.5,687.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#613320",d:"M 284.5,641.5 C 283.88,649.702 282.38,657.702 280,665.5C 278.319,681.475 279.653,697.142 284,712.5C 286.741,714.067 287.908,716.401 287.5,719.5C 291.206,720.522 294.539,722.356 297.5,725C 298.87,726.441 299.87,728.108 300.5,730C 306.116,731.493 311.116,733.993 315.5,737.5C 321.214,739.179 326.881,741.012 332.5,743C 347.88,744.336 363.213,746.002 378.5,748C 385.525,750.42 392.525,752.92 399.5,755.5C 403.833,758 408.167,760.5 412.5,763C 414.439,763.908 415.439,765.408 415.5,767.5C 417.527,767.338 419.527,767.505 421.5,768C 424.965,769.323 428.299,770.823 431.5,772.5C 431.5,773.5 431.5,774.5 431.5,775.5C 438.42,779.871 445.753,783.704 453.5,787C 460.667,793.081 468.334,798.414 476.5,803C 478.788,803.822 481.122,804.489 483.5,805C 488.535,808.849 493.869,812.182 499.5,815C 501.5,815.333 503.5,815.667 505.5,816C 507.664,817.491 509.664,818.991 511.5,820.5C 515.941,821.996 519.775,824.663 523,828.5C 524.473,828.868 525.973,828.368 527.5,827C 534.833,826.333 542.167,826.333 549.5,827C 552.035,827.928 553.035,829.762 552.5,832.5C 555.881,832.46 559.214,832.793 562.5,833.5C 558.03,834.486 553.363,834.819 548.5,834.5C 548.5,833.5 548.5,832.5 548.5,831.5C 543.588,831.898 538.921,832.898 534.5,834.5C 527.159,834.666 519.826,834.5 512.5,834C 504.792,832.1 497.459,829.433 490.5,826C 468.279,813.093 446.613,799.426 425.5,785C 420.905,783.543 417.239,780.876 414.5,777C 404.505,772.897 394.838,768.231 385.5,763C 371.205,758.396 356.539,756.396 341.5,757C 333.977,755.786 326.644,753.953 319.5,751.5C 319.5,750.5 319.5,749.5 319.5,748.5C 318.178,748.33 317.011,748.663 316,749.5C 312.623,746.102 308.456,744.436 303.5,744.5C 303.238,743.022 303.571,741.689 304.5,740.5C 307.332,741.58 310.165,742.58 313,743.5C 314.205,742.929 315.372,742.262 316.5,741.5C 316.291,740.914 315.957,740.414 315.5,740C 312.039,739.006 308.539,738.173 305,737.5C 302.733,739.258 300.233,739.758 297.5,739C 295.76,737.306 293.76,736.139 291.5,735.5C 291.281,734.325 291.614,733.325 292.5,732.5C 298.126,727.904 297.126,725.737 289.5,726C 290.821,727.545 290.488,728.711 288.5,729.5C 287.264,728.754 285.93,728.421 284.5,728.5C 284.649,727.448 284.483,726.448 284,725.5C 282.333,724.5 280.667,723.5 279,722.5C 276.846,717.215 275.012,711.882 273.5,706.5C 273.621,694.566 274.121,682.566 275,670.5C 275.333,670.833 275.667,671.167 276,671.5C 277.306,668.388 278.472,665.221 279.5,662C 278.002,657.93 277.002,653.764 276.5,649.5C 279.333,647.041 282,644.375 284.5,641.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a8543a",d:"M 602.5,779.5 C 603.209,778.596 604.209,778.263 605.5,778.5C 605.294,785.281 605.961,791.948 607.5,798.5C 607.5,799.167 607.167,799.5 606.5,799.5C 598.721,803.442 591.054,807.609 583.5,812C 575.457,814.957 567.457,817.79 559.5,820.5C 552.132,819.655 544.799,818.488 537.5,817C 536.944,816.617 536.611,816.117 536.5,815.5C 542.518,816.778 548.518,816.611 554.5,815C 559.624,812.737 564.957,811.07 570.5,810C 579.201,805 587.867,800 596.5,795C 599.096,793.864 601.763,793.031 604.5,792.5C 605.097,787.706 604.43,783.373 602.5,779.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ca7e6c",d:"M 602.5,779.5 C 604.43,783.373 605.097,787.706 604.5,792.5C 601.763,793.031 599.096,793.864 596.5,795C 587.867,800 579.201,805 570.5,810C 564.957,811.07 559.624,812.737 554.5,815C 548.518,816.611 542.518,816.778 536.5,815.5C 529.48,814.333 522.48,812.833 515.5,811C 529.565,807.212 543.565,803.212 557.5,799C 572.183,791.825 587.183,785.325 602.5,779.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#63301d",d:"M 606.5,799.5 C 605.972,800.721 605.305,801.887 604.5,803C 596.156,808.19 587.49,812.69 578.5,816.5C 581.255,817.631 583.589,819.298 585.5,821.5C 585.032,823.134 584.032,824.3 582.5,825C 580.19,825.497 577.857,825.663 575.5,825.5C 575.5,826.5 575.5,827.5 575.5,828.5C 570.164,828.181 565.83,829.848 562.5,833.5C 559.214,832.793 555.881,832.46 552.5,832.5C 553.035,829.762 552.035,827.928 549.5,827C 542.167,826.333 534.833,826.333 527.5,827C 525.973,828.368 524.473,828.868 523,828.5C 519.775,824.663 515.941,821.996 511.5,820.5C 527.582,824.311 543.582,824.311 559.5,820.5C 567.457,817.79 575.457,814.957 583.5,812C 591.054,807.609 598.721,803.442 606.5,799.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a8a095",d:"M 548.5,834.5 C 543.833,834.5 539.167,834.5 534.5,834.5C 538.921,832.898 543.588,831.898 548.5,831.5C 548.5,832.5 548.5,833.5 548.5,834.5 Z"})))}const Ra=i.forwardRef(Ia);n.p;var Ma,Oa,ja;function La(){return La=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},La.apply(null,arguments)}function Ba(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",La({"data-name":"86977684-12db-4850-8f30-233a7c267d11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2000 2000",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Ma||(Ma=i.createElement("path",{d:"M1000 2000c554.17 0 1000-445.83 1000-1000S1554.17 0 1000 0 0 445.83 0 1000s445.83 1000 1000 1000z",fill:"#2775ca"})),Oa||(Oa=i.createElement("path",{d:"M1275 1158.33c0-145.83-87.5-195.83-262.5-216.66-125-16.67-150-50-150-108.34s41.67-95.83 125-95.83c75 0 116.67 25 137.5 87.5 4.17 12.5 16.67 20.83 29.17 20.83h66.66c16.67 0 29.17-12.5 29.17-29.16v-4.17c-16.67-91.67-91.67-162.5-187.5-170.83v-100c0-16.67-12.5-29.17-33.33-33.34h-62.5c-16.67 0-29.17 12.5-33.34 33.34v95.83c-125 16.67-204.16 100-204.16 204.17 0 137.5 83.33 191.66 258.33 212.5 116.67 20.83 154.17 45.83 154.17 112.5s-58.34 112.5-137.5 112.5c-108.34 0-145.84-45.84-158.34-108.34-4.16-16.66-16.66-25-29.16-25h-70.84c-16.66 0-29.16 12.5-29.16 29.17v4.17c16.66 104.16 83.33 179.16 220.83 200v100c0 16.66 12.5 29.16 33.33 33.33h62.5c16.67 0 29.17-12.5 33.34-33.33v-100c125-20.84 208.33-108.34 208.33-220.84z",fill:"#fff"})),ja||(ja=i.createElement("path",{d:"M787.5 1595.83c-325-116.66-491.67-479.16-370.83-800 62.5-175 200-308.33 370.83-370.83 16.67-8.33 25-20.83 25-41.67V325c0-16.67-8.33-29.17-25-33.33-4.17 0-12.5 0-16.67 4.16-395.83 125-612.5 545.84-487.5 941.67 75 233.33 254.17 412.5 487.5 487.5 16.67 8.33 33.34 0 37.5-16.67 4.17-4.16 4.17-8.33 4.17-16.66v-58.34c0-12.5-12.5-29.16-25-37.5zM1229.17 295.83c-16.67-8.33-33.34 0-37.5 16.67-4.17 4.17-4.17 8.33-4.17 16.67v58.33c0 16.67 12.5 33.33 25 41.67 325 116.66 491.67 479.16 370.83 800-62.5 175-200 308.33-370.83 370.83-16.67 8.33-25 20.83-25 41.67V1700c0 16.67 8.33 29.17 25 33.33 4.17 0 12.5 0 16.67-4.16 395.83-125 612.5-545.84 487.5-941.67-75-237.5-258.34-416.67-487.5-491.67z",fill:"#fff"})))}const Ua=i.forwardRef(Ba);n.p;function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(null,arguments)}function Ha(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Va({id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 339.43 295.27",ref:t,"aria-labelledby":r},o),void 0===n?i.createElement("title",{id:r},"tether-usdt-logo"):n?i.createElement("title",{id:r},n):null,i.createElement("path",{d:"M62.15,1.45l-61.89,130a2.52,2.52,0,0,0,.54,2.94L167.95,294.56a2.55,2.55,0,0,0,3.53,0L338.63,134.4a2.52,2.52,0,0,0,.54-2.94l-61.89-130A2.5,2.5,0,0,0,275,0H64.45a2.5,2.5,0,0,0-2.3,1.45h0Z",style:{fill:"#50af95",fillRule:"evenodd"}}),i.createElement("path",{d:"M191.19,144.8v0c-1.2.09-7.4,0.46-21.23,0.46-11,0-18.81-.33-21.55-0.46v0c-42.51-1.87-74.24-9.27-74.24-18.13s31.73-16.25,74.24-18.15v28.91c2.78,0.2,10.74.67,21.74,0.67,13.2,0,19.81-.55,21-0.66v-28.9c42.42,1.89,74.08,9.29,74.08,18.13s-31.65,16.24-74.08,18.12h0Zm0-39.25V79.68h59.2V40.23H89.21V79.68H148.4v25.86c-48.11,2.21-84.29,11.74-84.29,23.16s36.18,20.94,84.29,23.16v82.9h42.78V151.83c48-2.21,84.12-11.73,84.12-23.14s-36.09-20.93-84.12-23.15h0Zm0,0h0Z",style:{fill:"#fff",fillRule:"evenodd"}}))}const za=i.forwardRef(Ha),Za=(n.p,e=>{let t,{token:n="fusd",isLarge:r}=e;switch(n.toLowerCase()){case"fusd":t=(0,a.jsx)(Na,{className:(0,o.cn)("flex-shrink-0 w-[0.875rem] h-[0.875rem]",r&&"w-[24px] h-[24px] ")});break;case"flow":t=(0,a.jsx)(ka.h,{className:(0,o.cn)("flex-shrink-0 w-[0.875rem] h-[0.875rem]",r&&"w-[24px] h-[24px] ")});break;case"usdc":t=(0,a.jsx)(Ua,{className:(0,o.cn)("flex-shrink-0 w-[0.875rem] h-[0.875rem]",r&&"w-[24px] h-[24px] ")});break;case"duc":t=(0,a.jsx)("div",{children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:[(0,a.jsx)("rect",{y:"0.5",width:"14",height:"14",rx:"7",fill:"#762FBE"}),(0,a.jsx)("path",{d:"M7.1945 5.42609C6.33539 5.42609 5.63894 5.89039 5.63894 6.46313C5.63894 7.03587 6.33539 7.50016 7.1945 7.50016C8.05361 7.50016 8.75007 7.96446 8.75007 8.5372C8.75007 9.10994 8.05362 9.57424 7.19451 9.57424M7.1945 5.42609C7.77027 5.42609 8.27299 5.63464 8.54195 5.94461M7.1945 5.42609V4.90757M7.1945 5.42609L7.19451 9.57424M7.19451 9.57424L7.1945 10.0928M7.19451 9.57424C6.61874 9.57424 6.11602 9.36569 5.84706 9.05572M11.8612 7.50016C11.8612 10.0775 9.77183 12.1668 7.1945 12.1668C4.61717 12.1668 2.52783 10.0775 2.52783 7.50016C2.52783 4.92283 4.61717 2.8335 7.1945 2.8335C9.77183 2.8335 11.8612 4.92283 11.8612 7.50016Z",stroke:"white",strokeLinecap:"round"})]})});break;case"sloppy":case"sloppystakes":t=(0,a.jsx)(Ra,{className:(0,o.cn)("flex-shrink-0 w-[0.875rem] h-[0.875rem]",r&&"w-[24px] h-[24px] ")});break;case"usdt":t=(0,a.jsx)(za,{className:(0,o.cn)("flex-shrink-0 w-[0.875rem] h-[0.875rem]",r&&"w-[24px] h-[24px] ")});break;default:return null}return t}),Wa=e=>{let{value:t,includeParenthesis:n,classNames:r}=e;const i=an()(t).format("0,0.00");return(0,a.jsx)("span",{className:"".concat(r),children:n?"($".concat(i,")"):"$".concat(i,"}")})};var qa=n(39744);const Ga=e=>{let{price:t,spotPriceValue:n,token:r,toolTipCustomId:i,isCreatorHub:o}=e;if(!r)return null;const s=r!==T.SupportedTokens.DUC&&r!==T.SupportedTokens.USDC;let l;switch(r){case T.SupportedTokens.FLOW:l="FLOW";break;case T.SupportedTokens.USDC:l="USDC";break;case T.SupportedTokens.DUC:l="Dapper Balance";break;default:return null}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(i,"-").concat(r,"-").concat(t,"-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.875rem",fontWeight:500,zIndex:10}}),(0,a.jsxs)("div",{"data-tooltip-id":"".concat(i,"-").concat(r,"-").concat(t,"-tooltip"),"data-tooltip-content":l,"data-tooltip-place":"right",className:"flex flex-col justify-center",children:[(0,a.jsxs)("div",{className:"flex items-center flex-shrink-0 w-auto justify-end gap-[0.25rem]",children:[(0,a.jsx)(Za,{token:r}),(0,a.jsx)("span",{className:"text-white font-montserrat ".concat(o?"text-[9.33px] 3xl:text-[16px]":"text-[1rem]"," font-[700]"),children:an()(t).format("0,0.00")})]}),s&&(n||0===n)?(0,a.jsx)("div",{className:"ml-auto text-white flex",children:(0,a.jsx)(Wa,{includeParenthesis:!0,value:Number(n||0),classNames:"".concat(o?"text-[8px] 3xl:text-[12px]":"text-[.75rem]"," font-montserrat font-normal text-[#ADB5BD]")})}):null]})]})},Ya=e=>{var t,n,r,o,s;let{accountSummaries:l,offerListingError:c,flowty:u}=e;const{hasChildAccounts:d,selectedAccount:h,setSelectedAccount:p,spotPrice:f,isDapper:m,flowNft:g,bestOffer:v,selectedOffer:C,isParentDapper:y,isLoadingCollectionRoyalty:b,isNftOnDapperChild:w,isNftOnNonDapperChild:x}=On(),A=(0,i.useRef)(null);(0,i.useEffect)((()=>{var e,t;c&&(null!==A&&void 0!==A&&null!==(e=A.current)&&void 0!==e&&e.scrollIntoView&&(null===A||void 0===A||null===(t=A.current)||void 0===t||t.scrollIntoView({behavior:"smooth"})))}),[c]);const E=C||v;let{fees:_,isLoading:S}=(0,Wt.useGetFees)({flowty:u,nft:g||null,price:(null===E||void 0===E?void 0:E.amount)||0,token:null===E||void 0===E?void 0:E.paymentTokenName});({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}).IS_STORYBOOK&&(S=!1,_={dapper:.01*Number(null===E||void 0===E?void 0:E.amount),flowty:.02*Number(null===E||void 0===E?void 0:E.amount),royalties:.06*Number(null===E||void 0===E?void 0:E.amount),seller:Number(null===E||void 0===E?void 0:E.amount)-.09*Number(null===E||void 0===E?void 0:E.amount)});const k=null===(t=_)||void 0===t?void 0:t.flowty,P=(k||0)/((null===E||void 0===E?void 0:E.amount)||0),D=null===(n=_)||void 0===n?void 0:n.royalties,N=(D||0)/((null===E||void 0===E?void 0:E.amount)||0),F=null===(r=_)||void 0===r?void 0:r.seller;return(0,a.jsx)("div",{className:"w-full h-full flex flex-col",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between h-full",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[d&&!y&&(0,a.jsx)(en,{selected:h,setSelected:p,label:"Pay To",summaries:l,listingType:"acceptOffer",disabledMessage:tn,selectorFilter:new Xt({flowty:u,listingType:"storefront"})}),(0,a.jsxs)("div",{className:"flex justify-between text-white items-start",children:[(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Offer Price"}),(0,a.jsx)(Ga,{price:(null===E||void 0===E?void 0:E.amount)||0,token:(null===E||void 0===E?void 0:E.paymentTokenName)||T.SupportedTokens.FLOW,spotPriceValue:Number(null===f||void 0===f?void 0:f.value)*((null===E||void 0===E?void 0:E.amount)||0),toolTipCustomId:"saleListingReceivedValue"})]}),(0,a.jsx)("div",{ref:A,children:b||S||0===k?(0,a.jsxs)("div",{className:"flex flex-col gap-[11px]",children:[(0,a.jsx)("div",{className:"w-full h-[50px] animate-pulse bg-[#edf3f60a] rounded-lg"}),(0,a.jsx)("div",{className:"w-full h-[50px] animate-pulse bg-[#edf3f60a] rounded-lg"})]}):(0,a.jsx)(H,{items:[{addOn:(0,a.jsxs)("div",{className:"flex items-start font-montserrat space-x-2",children:[(0,a.jsx)("span",{className:"font-bold",children:"-"}),D&&(0,a.jsx)(Ga,{price:D,token:(null===E||void 0===E?void 0:E.paymentTokenName)||T.SupportedTokens.FLOW,spotPriceValue:Number(null===f||void 0===f?void 0:f.value)*D,toolTipCustomId:"saleListingCreatorRoyalty"})]}),content:(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat",children:["Transferred directly to the creator of an NFT collection. This is not a Flowty fee."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-1",notDisplay:!D,title:"Creator Royalty (".concat((100*N).toFixed(2),"%)")},{addOn:(0,a.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,a.jsx)("span",{className:"font-bold font-montserrat",children:"-"}),k&&(0,a.jsx)(Ga,{price:k,token:(null===E||void 0===E?void 0:E.paymentTokenName)||T.SupportedTokens.FLOW,spotPriceValue:Number(null===f||void 0===f?void 0:f.value)*k,toolTipCustomId:"saleListingFlowtyFee"})]}),content:(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat",children:["A fee charged by Flowty for providing the services on the platform."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-2",title:"Flowty Fee (".concat((100*P).toFixed(2),"%)")}]})}),(0,a.jsx)("hr",{className:"border-[#495057]"}),b||S||0===k?(0,a.jsx)("div",{className:"flex flex-col gap-[11px]",children:(0,a.jsx)("div",{className:"w-full h-[40px] animate-pulse bg-[#edf3f60a] rounded-lg"})}):(0,a.jsxs)("div",{className:"flex justify-between text-white items-start",children:[(0,a.jsx)("p",{children:"You'll Receive"}),F?(0,a.jsx)(Ga,{price:F,token:(null===E||void 0===E?void 0:E.paymentTokenName)||T.SupportedTokens.FLOW,spotPriceValue:Number(null===f||void 0===f?void 0:f.value)*F,toolTipCustomId:"saleListingReceivedValue"}):"-"]})]}),m&&!(null!==E&&void 0!==E&&null!==(o=E.paymentTokenName)&&void 0!==o&&o.includes(T.SupportedTokens.DUC))&&(0,a.jsx)("div",{"data-testid":"non-dapper-offer-warning",className:"text-orange-500 text-sm font-normal pb-3",children:x?"Log in with Child Non-Dapper Account to accept offer.":"Warning: Transfer NFT to Non-Dapper Wallet to accept offer."}),!m&&(null===E||void 0===E||null===(s=E.paymentTokenName)||void 0===s?void 0:s.includes(T.SupportedTokens.DUC))&&(0,a.jsx)("div",{"data-testid":"dapper-offer-warning",className:"text-orange-500 text-sm font-normal pb-3",children:w?"Log in with Child Dapper Account to accept offer.":"Warning: Transfer NFT to Dapper Wallet to accept offer."})]})})};function Ka(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function Qa(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:Ka(t[n])&&Ka(e[n])&&Object.keys(t[n]).length>0&&Qa(e[n],t[n])}))}const Xa={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ja(){const e="undefined"!==typeof document?document:{};return Qa(e,Xa),e}const $a={document:Xa,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function es(){const e="undefined"!==typeof window?window:{};return Qa(e,$a),e}function ts(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function ns(){return Date.now()}function rs(e,t){void 0===t&&(t="x");const n=es();let r,i,o;const a=function(e){const t=es();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function is(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function os(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function as(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!os(r)){const n=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,i=n.length;t<i;t+=1){const i=n[t],o=Object.getOwnPropertyDescriptor(r,i);void 0!==o&&o.enumerable&&(is(e[i])&&is(r[i])?r[i].__swiper__?e[i]=r[i]:as(e[i],r[i]):!is(e[i])&&is(r[i])?(e[i]={},r[i].__swiper__?e[i]=r[i]:as(e[i],r[i])):e[i]=r[i])}}}return e}function ss(e,t,n){e.style.setProperty(t,n)}function ls(e){let{swiper:t,targetPosition:n,side:r}=e;const i=es(),o=-t.translate;let a,s=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=n>o?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{a=(new Date).getTime(),null===s&&(s=a);const e=Math.max(Math.min((a-s)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let h=o+c*(n-o);if(u(h,n)&&(h=n),t.wrapperEl.scrollTo({[r]:h}),u(h,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:h})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function cs(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function us(e){try{return void console.warn(e)}catch(t){}}function ds(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),n}function hs(e,t){return es().getComputedStyle(e,null).getPropertyValue(t)}function ps(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function fs(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function ms(e,t,n){const r=es();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function gs(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let vs,Cs,ys;function bs(){return vs||(vs=function(){const e=es(),t=Ja();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),vs}function ws(e){return void 0===e&&(e={}),Cs||(Cs=function(e){let{userAgent:t}=void 0===e?{}:e;const n=bs(),r=es(),i=r.navigator.platform,o=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let u=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i;let f="MacIntel"===i;return!u&&f&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(s,"x").concat(l))>=0&&(u=o.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!p&&(a.os="android",a.android=!0),(u||h||d)&&(a.os="ios",a.ios=!0),a}(e)),Cs}function xs(){return ys||(ys=function(){const e=es(),t=ws();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));n=e<16||16===e&&r<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r();return{isSafari:n||o,needPerspectiveFix:n,need3dFix:o||i&&t.ios,isWebView:i}}()),ys}var As={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];"string"===typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),r=e):(t=o[0].events,n=o[0].data,r=o[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}};const Es=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const _s=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const Ts=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(n){let t=n.querySelector(".".concat(e.params.lazyPreloaderClass));!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)),t&&t.remove())}))),t&&t.remove()}},Ss=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},ks=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,o=[n-t];return o.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{o.includes(t.column)&&Ss(e,n)}))}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=o+t;a+=1){const t=(a%n+n)%n;(t<i||t>o)&&Ss(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(o+t,n-1);a+=1)a!==i&&(a>o||a<i)&&Ss(e,a)};var Ps={updateSize:function(){const e=this;let t,n;const r=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(hs(r,"padding-left")||0,10)-parseInt(hs(r,"padding-right")||0,10),n=n-parseInt(hs(r,"padding-top")||0,10)-parseInt(hs(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=cs(i,".".concat(e.params.slideClass,", swiper-slide")),d=l?e.virtual.slides.length:u.length;let h=[];const p=[],f=[];let m=n.slidesOffsetBefore;"function"===typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"===typeof g&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,C=e.slidesGrid.length;let y=n.spaceBetween,b=-m,w=0,x=0;if("undefined"===typeof o)return;"string"===typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*o:"string"===typeof y&&(y=parseFloat(y)),e.virtualSize=-y,u.forEach((e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&(ss(r,"--swiper-centered-offset-before",""),ss(r,"--swiper-centered-offset-after",""));const A=n.grid&&n.grid.rows>1&&e.grid;let E;A?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const _="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>"undefined"!==typeof n.breakpoints[e].slidesPerView)).length>0;for(let T=0;T<d;T+=1){let r;if(E=0,u[T]&&(r=u[T]),A&&e.grid.updateSlide(T,r,u),!u[T]||"none"!==hs(r,"display")){if("auto"===n.slidesPerView){_&&(u[T].style[e.getDirectionLabel("width")]="");const i=getComputedStyle(r),o=r.style.transform,a=r.style.webkitTransform;if(o&&(r.style.transform="none"),a&&(r.style.webkitTransform="none"),n.roundLengths)E=e.isHorizontal()?ms(r,"width",!0):ms(r,"height",!0);else{const e=t(i,"width"),n=t(i,"padding-left"),o=t(i,"padding-right"),a=t(i,"margin-left"),s=t(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+a+s;else{const{clientWidth:t,offsetWidth:i}=r;E=e+n+o+a+s+(i-t)}}o&&(r.style.transform=o),a&&(r.style.webkitTransform=a),n.roundLengths&&(E=Math.floor(E))}else E=(o-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(E=Math.floor(E)),u[T]&&(u[T].style[e.getDirectionLabel("width")]="".concat(E,"px"));u[T]&&(u[T].swiperSlideSize=E),f.push(E),n.centeredSlides?(b=b+E/2+w/2+y,0===w&&0!==T&&(b=b-o/2-y),0===T&&(b=b-o/2-y),Math.abs(b)<.001&&(b=0),n.roundLengths&&(b=Math.floor(b)),x%n.slidesPerGroup===0&&h.push(b),p.push(b)):(n.roundLengths&&(b=Math.floor(b)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&h.push(b),p.push(b),b=b+E+y),e.virtualSize+=E+y,w=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+g,a&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width="".concat(e.virtualSize+y,"px")),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+y,"px")),A&&e.grid.updateWrapperSize(E,h),!n.centeredSlides){const t=[];for(let r=0;r<h.length;r+=1){let i=h[r];n.roundLengths&&(i=Math.floor(i)),h[r]<=e.virtualSize-o&&t.push(i)}h=t,Math.floor(e.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-o)}if(l&&n.loop){const t=f[0]+y;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)h.push(h[h.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+t),p.push(p[p.length-1]+t),e.virtualSize+=t}if(0===h.length&&(h=[0]),0!==y){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1)).forEach((e=>{e.style[t]="".concat(y,"px")}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=e-o;h=h.map((e=>e<=0?-m:e>t?t+g:e))}if(n.centerInsufficientSlides){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<o){const n=(o-e-t)/2;h.forEach(((e,t)=>{h[t]=e-n})),p.forEach(((e,t)=>{p[t]=e+n}))}}if(Object.assign(e,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){ss(r,"--swiper-centered-offset-before","".concat(-h[0],"px")),ss(r,"--swiper-centered-offset-after","".concat(e.size/2-f[f.length-1]/2,"px"));const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==C&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){const t="".concat(n.containerModifierClass,"backface-hidden"),r=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if("undefined"!==typeof n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height="".concat(o,"px"))},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"===typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"===typeof s&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const e=r[l];let c=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const u=(a+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+s),d=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+s),h=-(a-c),p=h+t.slidesSizesGrid[l],f=h>=0&&h<=t.size-t.slidesSizesGrid[l],m=h>=0&&h<t.size-1||p>1&&p<=t.size||h<=0&&p>=t.size;m&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l)),Es(e,m,n.slideVisibleClass),Es(e,f,n.slideFullyVisibleClass),e.progress=i?-u:u,e.originalProgress=i?-d:d}},updateProgress:function(e){const t=this;if("undefined"===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a,progressLoop:s}=t;const l=o,c=a;if(0===r)i=0,o=!0,a=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;o=n||i<=0,a=s||i>=1,n&&(i=0),s&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],o=t.slidesGrid[r],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=i?(l-i)/a:(l+a-o)/a,s>1&&(s-=1)}Object.assign(t,{progress:i,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=e=>cs(r,".".concat(n.slideClass).concat(e,", swiper-slide").concat(e))[0];let l,c,u;if(o)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=s('[data-swiper-slide-index="'.concat(t,'"]'))}else l=s('[data-swiper-slide-index="'.concat(i,'"]'));else a?(l=t.filter((e=>e.column===i))[0],u=t.filter((e=>e.column===i+1))[0],c=t.filter((e=>e.column===i-1))[0]):l=t[i];l&&(a||(u=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&!u&&(u=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{_s(e,e===l,n.slideActiveClass),_s(e,e===u,n.slideNextClass),_s(e,e===c,n.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:a,snapIndex:s}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if("undefined"===typeof c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let o=0;o<t.length;o+=1)"undefined"!==typeof t[o+1]?r>=t[o]&&r<t[o+1]-(t[o+1]-t[o])/2?i=o:r>=t[o]&&r<t[o+1]&&(i=o+1):r>=t[o]&&(i=o);return n.normalizeSlideIndex&&(i<0||"undefined"===typeof i)&&(i=0),i}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===o&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&i.grid&&i.grid.rows>1;let h;if(t.virtual&&i.virtual.enabled&&i.loop)h=u(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),h=Math.floor(n/i.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");h=e?parseInt(e,10):c}else h=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:h,previousIndex:o,activeIndex:c}),t.initialized&&ks(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==h&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(".".concat(r.slideClass,", swiper-slide"));!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(".".concat(r.slideClass,", swiper-slide"))&&(i=e)}));let o,a=!1;if(i)for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===i){a=!0,o=s;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var Ds={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=rs(i,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:o,progress:a}=n;let s,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform="translate3d(".concat(l,"px, ").concat(c,"px, ").concat(0,"px)"));const u=n.maxTranslate()-n.minTranslate();s=0===u?0:(e-n.minTranslate())/u,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return ls({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}};function Ns(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:o,previousIndex:a}=t;let s=r;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit("transition".concat(i)),n&&o!==a){if("reset"===s)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===s?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}var Fs={setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration="".concat(e,"ms"),n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),Ns({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),Ns({swiper:n,runCallbacks:e,direction:t,step:"End"}))}};var Is={slideTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"===typeof e&&(e=parseInt(e,10));const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:f}=o;if(!f&&!r&&!i||o.destroyed||o.animating&&s.preventInteractionOnTransition)return!1;"undefined"===typeof t&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(s.normalizeSlideIndex)for(let y=0;y<c.length;y+=1){const e=-Math.floor(100*v),t=Math.floor(100*c[y]),n=Math.floor(100*c[y+1]);"undefined"!==typeof c[y+1]?e>=t&&e<n-(n-t)/2?a=y:e>=t&&e<n&&(a=y+1):e>=t&&(a=y)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&(h?v>o.translate&&v>o.minTranslate():v<o.translate&&v<o.minTranslate()))return!1;if(!o.allowSlidePrev&&v>o.translate&&v>o.maxTranslate()&&(d||0)!==a)return!1}let C;if(a!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(v),C=a>d?"next":a<d?"prev":"reset",h&&-v===o.translate||!h&&v===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(v),"reset"!==C&&(o.transitionStart(n,C),o.transitionEnd(n,C)),!1;if(s.cssMode){const e=o.isHorizontal(),n=h?v:-v;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),t&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[e?"scrollLeft":"scrollTop"]=n}))):p[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1}))}else{if(!o.support.smoothScroll)return ls({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,C),0===t?o.transitionEnd(n,C):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,C))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"===typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;"undefined"===typeof t&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(o){const t=a*i.params.grid.rows;e=i.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=i.getSlideIndexByData(a);const t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params;let s=i.params.slidesPerView;"auto"===s?s=i.slidesPerViewDynamic():(s=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&s%2===0&&(s+=1));let l=t-e<s;if(n&&(l=l||e<Math.ceil(s/2)),r&&n&&"auto"!==i.params.slidesPerView&&!o&&(l=!1),l){const r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(o){const e=a*i.params.grid.rows;a=i.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame((()=>{i.slideTo(a,t,n,r)})),i},slideNext:function(e,t,n){void 0===t&&(t=!0);const r=this,{enabled:i,params:o,animating:a}=r;if(!i||r.destroyed)return r;"undefined"===typeof e&&(e=r.params.speed);let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<o.slidesPerGroupSkip?1:s,c=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame((()=>{r.slideTo(r.activeIndex+l,e,t,n)})),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;"undefined"===typeof e&&(e=r.params.speed);const u=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=d(s?r.translate:-r.translate),p=o.map((e=>d(e)));let f=o[p.indexOf(h)-1];if("undefined"===typeof f&&i.cssMode){let e;o.forEach(((t,n)=>{h>=t&&(e=n)})),"undefined"!==typeof e&&(f=o[e>0?e-1:e])}let m=0;if("undefined"!==typeof f&&(m=a.indexOf(f),m<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{r.slideTo(m,e,t,n)})),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const r=this;if(!r.destroyed)return"undefined"===typeof e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===t&&(t=!0),void 0===r&&(r=.5);const i=this;if(i.destroyed)return;"undefined"===typeof e&&(e=i.params.speed);let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;const a=e.isElement?"swiper-slide":".".concat(t.slideClass);if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=e.getSlideIndex(cs(n,"".concat(a,'[data-swiper-slide-index="').concat(i,'"]'))[0]),ts((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=e.getSlideIndex(cs(n,"".concat(a,'[data-swiper-slide-index="').concat(i,'"]'))[0]),ts((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var Rs={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{cs(r,".".concat(n.slideClass,", swiper-slide")).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},o=t.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(o?n.grid.rows:1),s=t.slides.length%a!==0,l=o&&t.slides.length%n.grid.rows!==0,c=e=>{for(let r=0;r<e;r+=1){const e=t.isElement?ds("swiper-slide",[n.slideBlankClass]):ds("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(s){if(n.loopAddBlankSlides){c(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()}else us("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(l){if(n.loopAddBlankSlides){c(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else us("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:o,byController:a,byMousewheel:s}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:h,params:p}=l,{centeredSlides:f}=p;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled)return n&&(p.centeredSlides||0!==l.snapIndex?p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,void l.emit("loopFix");let m=p.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),f&&m%2===0&&(m+=1));const g=p.slidesPerGroupAuto?m:p.slidesPerGroup;let v=g;v%g!==0&&(v+=g-v%g),v+=p.loopAdditionalSlides,l.loopedSlides=v;const C=l.grid&&p.grid&&p.grid.rows>1;c.length<m+v?us("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):C&&"row"===p.grid.fill&&us("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],b=[];let w=l.activeIndex;"undefined"===typeof o?o=l.getSlideIndex(c.filter((e=>e.classList.contains(p.slideActiveClass)))[0]):w=o;const x="next"===r||!r,A="prev"===r||!r;let E=0,_=0;const T=C?Math.ceil(c.length/p.grid.rows):c.length,S=(C?c[o].column:o)+(f&&"undefined"===typeof i?-m/2+.5:0);if(S<v){E=Math.max(v-S,g);for(let e=0;e<v-S;e+=1){const t=e-Math.floor(e/T)*T;if(C){const e=T-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&y.push(t)}else y.push(T-t-1)}}else if(S+m>T-v){_=Math.max(S-(T-2*v),g);for(let e=0;e<_;e+=1){const t=e-Math.floor(e/T)*T;C?c.forEach(((e,n)=>{e.column===t&&b.push(n)})):b.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),A&&y.forEach((e=>{c[e].swiperLoopMoveDOM=!0,h.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&b.forEach((e=>{c[e].swiperLoopMoveDOM=!0,h.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():C&&(y.length>0&&A||b.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),p.watchSlidesProgress&&l.updateSlidesOffset(),n)if(y.length>0&&A){if("undefined"===typeof t){const e=l.slidesGrid[w],t=l.slidesGrid[w+E]-e;s?l.setTranslate(l.translate-t):(l.slideTo(w+Math.ceil(E),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(i){const e=C?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(b.length>0&&x)if("undefined"===typeof t){const e=l.slidesGrid[w],t=l.slidesGrid[w-_]-e;s?l.setTranslate(l.translate-t):(l.slideTo(w-_,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=C?b.length/p.grid.rows:b.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!a){const e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===p.slidesPerView&&n})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};var Ms={setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}};function Os(e,t,n){const r=es(),{params:i}=e,o=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return!o||!(n<=a||n>=r.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function js(e){const t=this,n=Ja();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if("pointerdown"===r.type){if(null!==i.pointerId&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(i.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void Os(t,r,r.targetTouches[0].pageX);const{params:o,touches:a,enabled:s}=t;if(!s)return;if(!o.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=r.target;if("wrapper"===o.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(i.isTouched&&i.isMoved)return;const c=!!o.noSwipingClass&&""!==o.noSwipingClass,u=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&u&&(l=u[0]);const d=o.noSwipingSelector?o.noSwipingSelector:".".concat(o.noSwipingClass),h=!(!r.target||!r.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===Ja()||n===es())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(d,l):l.closest(d)))return void(t.allowClick=!0);if(o.swipeHandler&&!l.closest(o.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const p=a.currentX,f=a.currentY;if(!Os(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=f,i.touchStartTime=ns(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const g=m&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!g||l.isContentEditable||r.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function Ls(e){const t=Ja(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==r.touchId)return;if(c.pointerId!==r.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===r.touchId))[0],!l||l.identifier!==r.touchId)return}else l=c;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return c.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=ns()));if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",c),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=d;const h=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+p**2)<n.params.threshold)return;if("undefined"===typeof r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:h*h+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),"undefined"===typeof r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===c.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();let f=n.isHorizontal()?h:p,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(f=Math.abs(f)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=f,f*=i.touchRatio,a&&(f=-f,m=-m);const g=n.touchesDirection;n.swipeDirection=f>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const v=n.params.loop&&!i.cssMode,C="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(v&&C&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&g!==n.touchesDirection&&v&&C&&Math.abs(f)>=1)return Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=f+r.startTranslate;let y=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),f>0?(v&&C&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(y=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+f)**b))):f<0&&(v&&C&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===i.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(y=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-f)**b))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(f)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Bs(e){const t=this,n=t.touchEventsData;let r,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(r=[...i.changedTouches].filter((e=>e.identifier===n.touchId))[0],!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:s,slidesGrid:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);o.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=ns(),d=u-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=ns(),ts((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=o.followFinger?s?t.translate:-t.translate:-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const p=h>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let b=0;b<l.length;b+=b<o.slidesPerGroupSkip?1:o.slidesPerGroup){const e=b<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;"undefined"!==typeof l[b+e]?(p||h>=l[b]&&h<l[b+e])&&(f=b,m=l[b+e]-l[b]):(p||h>=l[b])&&(f=b,m=l[l.length-1]-l[l.length-2])}let g=null,v=null;o.rewind&&(t.isBeginning?v=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const C=(h-l[f])/m,y=f<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(d>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(C>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(C>1-o.longSwipesRatio?t.slideTo(f+y):null!==v&&C<0&&Math.abs(C)>o.longSwipesRatio?t.slideTo(v):t.slideTo(f))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f))}}function Us(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function Vs(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Hs(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function zs(e){const t=this;Ts(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Zs(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Ws=(e,t)=>{const n=Ja(),{params:r,el:i,wrapperEl:o,device:a}=e,s=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i&&"string"!==typeof i&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Us,!0):e[c]("observerUpdate",Us,!0),i[l]("load",e.onLoad,{capture:!0}))};var qs={attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=js.bind(e),e.onTouchMove=Ls.bind(e),e.onTouchEnd=Bs.bind(e),e.onDocumentTouchStart=Zs.bind(e),t.cssMode&&(e.onScroll=Hs.bind(e)),e.onClick=Vs.bind(e),e.onLoad=zs.bind(e),Ws(e,"on")},detachEvents:function(){Ws(this,"off")}};const Gs=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Ys={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const s=(a in o?o[a]:void 0)||e.originalParams,l=Gs(e,r),c=Gs(e,s),u=e.params.grabCursor,d=s.grabCursor,h=r.enabled;l&&!c?(i.classList.remove("".concat(r.containerModifierClass,"grid"),"".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&c&&(i.classList.add("".concat(r.containerModifierClass,"grid")),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===r.grid.fill)&&i.classList.add("".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()),u&&!d?e.unsetGrabCursor():!u&&d&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof s[t])return;const n=r[t]&&r[t].enabled,i=s[t]&&s[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const p=s.direction&&s.direction!==r.direction,f=r.loop&&(s.slidesPerView!==r.slidesPerView||p),m=r.loop;p&&n&&e.changeDirection(),as(e.params,s);const g=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",s),n&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&v?(e.loopCreate(t),e.updateSlides()):m&&!v&&e.loopDestroy()),e.emit("breakpoint",s)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const i=es(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let s=0;s<a.length;s+=1){const{point:e,value:o}=a[s];"window"===t?i.matchMedia("(min-width: ".concat(o,"px)")).matches&&(r=e):o<=n.clientWidth&&(r=e)}return r||"max"}};var Ks={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"===typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!==typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}};var Qs={checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},Xs={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Js(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],i=n[r];"object"===typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),as(t,n)):as(t,n)):as(t,n)}}const $s={eventsEmitter:As,update:Ps,translate:Ds,transition:Fs,slide:Is,loop:Rs,grabCursor:Ms,events:qs,breakpoints:Ys,checkOverflow:Qs,classes:Ks},el={};class tl{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=as({},t),e&&!t.el&&(t.el=e);const o=Ja();if(t.el&&"string"===typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((n=>{const r=as({},t,{el:n});e.push(new tl(r))})),e}const a=this;a.__swiper__=!0,a.support=bs(),a.device=ws({userAgent:t.userAgent}),a.browser=xs(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const s={};a.modules.forEach((e=>{e({params:t,swiper:a,extendParams:Js(t,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const l=as({},Xs,s);return a.params=as({},l,el,t),a.originalParams=as({},a.params),a.passedParams=as({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=ps(cs(t,".".concat(n.slideClass,", swiper-slide"))[0]);return ps(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=cs(e,".".concat(t.slideClass,", swiper-slide"))}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if("number"===typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[s]?Math.ceil(r[s].swiperSlideSize):0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let c=s+1;c<r.length;c+=1){(t?i[c]+o[c]-i[s]<a:i[c]-i[s]<a)&&(l+=1)}else for(let c=s-1;c>=0;c-=1){i[s]-i[c]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&Ts(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove("".concat(n.params.containerModifierClass).concat(r)),n.el.classList.add("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"===typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>".".concat((t.params.wrapperClass||"").trim().split(" ").join("."));let i=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return cs(n,r())[0]})();return!i&&t.params.createElements&&(i=ds("div",t.params.wrapperClass),n.append(i),cs(n,".".concat(t.params.slideClass)).forEach((e=>{i.append(e)}))),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===hs(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===hs(n,"direction")),wrongRTL:"-webkit-box"===hs(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?Ts(t,e):e.addEventListener("load",(e=>{Ts(t,e.target)}))})),ks(t),t.initialized=!0,ks(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:i,wrapperEl:o,slides:a}=n;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!==typeof i&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el&&"string"!==typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){as(el,e)}static get extendedDefaults(){return el}static get defaults(){return Xs}static installModule(e){tl.prototype.__modules__||(tl.prototype.__modules__=[]);const t=tl.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>tl.installModule(e))),tl):(tl.installModule(e),tl)}}Object.keys($s).forEach((e=>{Object.keys($s[e]).forEach((t=>{tl.prototype[t]=$s[e][t]}))})),tl.use([function(e){let{swiper:t,on:n,emit:r}=e;const i=es();let o=null,a=null;const s=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{a=i.requestAnimationFrame((()=>{const{width:n,height:r}=t;let i=n,o=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:a}=e;a&&a!==t.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||s()}))})),o.observe(t.el)):(i.addEventListener("resize",s),i.addEventListener("orientationchange",l))})),n("destroy",(()=>{a&&i.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=[],a=es(),s=function(e,n){void 0===n&&(n={});const r=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const n=function(){i("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)}));r.observe(e,{attributes:"undefined"===typeof n.attributes||n.attributes,childList:"undefined"===typeof n.childList||n.childList,characterData:"undefined"===typeof n.characterData||n.characterData}),o.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=fs(t.hostEl);for(let t=0;t<e.length;t+=1)s(e[t])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}})),r("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);const nl=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function rl(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function il(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:rl(t[n])&&rl(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:il(e[n],t[n]):e[n]=t[n]}))}function ol(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function al(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function sl(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function ll(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function cl(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:"swiper-wrapper ".concat(e):"swiper-wrapper"}function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ul.apply(this,arguments)}function dl(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function hl(e){const t=[];return i.Children.toArray(e).forEach((e=>{dl(e)?t.push(e):e.props&&e.props.children&&hl(e.props.children).forEach((e=>t.push(e)))})),t}function pl(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return i.Children.toArray(e).forEach((e=>{if(dl(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=hl(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function fl(e,t){return"undefined"===typeof window?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)}const ml=(0,i.createContext)(null),gl=(0,i.createContext)(null),vl=()=>(0,i.useContext)(gl),Cl=(0,i.forwardRef)((function(e,t){let{className:n,tag:r="div",wrapperTag:o="div",children:a,onSwiper:s,...l}=void 0===e?{}:e,c=!1;const[u,d]=(0,i.useState)("swiper"),[h,p]=(0,i.useState)(null),[f,m]=(0,i.useState)(!1),g=(0,i.useRef)(!1),v=(0,i.useRef)(null),C=(0,i.useRef)(null),y=(0,i.useRef)(null),b=(0,i.useRef)(null),w=(0,i.useRef)(null),x=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(null),{params:_,passedParams:T,rest:S,events:k}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},i={};il(n,Xs),n._emitClasses=!0,n.init=!1;const o={},a=nl.map((e=>e.replace(/_/,""))),s=Object.assign({},e);return Object.keys(s).forEach((s=>{"undefined"!==typeof e[s]&&(a.indexOf(s)>=0?rl(e[s])?(n[s]={},i[s]={},il(n[s],e[s]),il(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"===typeof e[s]?t?r["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:n.on["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:o[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:o,events:r}}(l),{slides:P,slots:D}=pl(a),N=()=>{m(!f)};Object.assign(_.on,{_containerClasses(e,t){d(t)}});const F=()=>{Object.assign(_.on,k),c=!0;const e={..._};if(delete e.wrapperClass,C.current=new tl(e),C.current.virtual&&C.current.params.virtual.enabled){C.current.virtual.slides=P;const e={cache:!1,slides:P,renderExternal:p,renderExternalUpdate:!1};il(C.current.params.virtual,e),il(C.current.originalParams.virtual,e)}};v.current||F(),C.current&&C.current.on("_beforeBreakpoint",N);return(0,i.useEffect)((()=>()=>{C.current&&C.current.off("_beforeBreakpoint",N)})),(0,i.useEffect)((()=>{!g.current&&C.current&&(C.current.emitSlidesClasses(),g.current=!0)})),fl((()=>{if(t&&(t.current=v.current),v.current)return C.current.destroyed&&F(),function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:a,swiper:s}=e;ol(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),al(t)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),sl(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:v.current,nextEl:w.current,prevEl:x.current,paginationEl:A.current,scrollbarEl:E.current,swiper:C.current},_),s&&!C.current.destroyed&&s(C.current),()=>{C.current&&!C.current.destroyed&&C.current.destroy(!0,!1)}}),[]),fl((()=>{!c&&k&&C.current&&Object.keys(k).forEach((e=>{C.current.on(e,k[e])}));const e=function(e,t,n,r,i){const o=[];if(!t)return o;const a=e=>{o.indexOf(e)<0&&o.push(e)};if(n&&r){const e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return nl.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if(rl(e[n])&&rl(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?a(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})),i.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})))}else e[n]!==t[n]&&a(n)})),o}(T,y.current,P,b.current,(e=>e.key));return y.current=T,b.current=P,e.length&&C.current&&!C.current.destroyed&&function(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:l}=e;const c=i.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:u,pagination:d,navigation:h,scrollbar:p,virtual:f,thumbs:m}=t;let g,v,C,y,b,w,x,A;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(g=!0),i.includes("controller")&&r.controller&&r.controller.control&&u.controller&&!u.controller.control&&(v=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(C=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(u.scrollbar||!1===u.scrollbar)&&p&&!p.el&&(y=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||o)&&(u.navigation||!1===u.navigation)&&h&&!h.prevEl&&!h.nextEl&&(b=!0);const E=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),u[e].prevEl=void 0,u[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),u[e].el=void 0,t[e].el=void 0))};i.includes("loop")&&t.isElement&&(u.loop&&!r.loop?w=!0:!u.loop&&r.loop?x=!0:A=!0),c.forEach((e=>{if(rl(u[e])&&rl(r[e]))Object.assign(u[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||E(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=r[e]:!1===t&&E(e)}})),c.includes("controller")&&!v&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),i.includes("children")&&n&&f&&u.virtual.enabled?(f.slides=n,f.update(!0)):i.includes("virtual")&&f&&u.virtual.enabled&&(n&&(f.slides=n),f.update(!0)),i.includes("children")&&n&&u.loop&&(A=!0),g&&m.init()&&m.update(!0);v&&(t.controller.control=u.controller.control),C&&(!t.isElement||l&&"string"!==typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(u.pagination.el=l),d.init(),d.render(),d.update()),y&&(!t.isElement||s&&"string"!==typeof s||(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),t.el.appendChild(s)),s&&(u.scrollbar.el=s),p.init(),p.updateSize(),p.setTranslate()),b&&(t.isElement&&(o&&"string"!==typeof o||(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=t.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),t.el.appendChild(a))),o&&(u.navigation.nextEl=o),a&&(u.navigation.prevEl=a),h.init(),h.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(w||A)&&t.loopDestroy(),(x||A)&&t.loopCreate(),t.update()}({swiper:C.current,slides:P,passedParams:T,changedParams:e,nextEl:w.current,prevEl:x.current,scrollbarEl:E.current,paginationEl:A.current}),()=>{k&&C.current&&Object.keys(k).forEach((e=>{C.current.off(e,k[e])}))}})),fl((()=>{(e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())})(C.current)}),[h]),i.createElement(r,ul({ref:v,className:ll("".concat(u).concat(n?" ".concat(n):""))},S),i.createElement(gl.Provider,{value:C.current},D["container-start"],i.createElement(o,{className:cl(_.wrapperClass)},D["wrapper-start"],_.virtual?function(e,t,n){if(!n)return null;const r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},o=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:"".concat(n.offset,"px")}:{top:"".concat(n.offset,"px")},{from:a,to:s}=n,l=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let i=l;i<c;i+=1)i>=a&&i<=s&&u.push(t[r(i)]);return u.map(((t,n)=>i.cloneElement(t,{swiper:e,style:o,key:t.props.virtualIndex||t.key||"slide-".concat(n)})))}(C.current,P,h):P.map(((e,t)=>i.cloneElement(e,{swiper:C.current,swiperSlideIndex:t}))),D["wrapper-end"]),ol(_)&&i.createElement(i.Fragment,null,i.createElement("div",{ref:x,className:"swiper-button-prev"}),i.createElement("div",{ref:w,className:"swiper-button-next"})),sl(_)&&i.createElement("div",{ref:E,className:"swiper-scrollbar"}),al(_)&&i.createElement("div",{ref:A,className:"swiper-pagination"}),D["container-end"]))}));Cl.displayName="Swiper";const yl=(0,i.forwardRef)((function(e,t){let{tag:n="div",children:r,className:o="",swiper:a,zoom:s,lazy:l,virtualIndex:c,swiperSlideIndex:u,...d}=void 0===e?{}:e;const h=(0,i.useRef)(null),[p,f]=(0,i.useState)("swiper-slide"),[m,g]=(0,i.useState)(!1);function v(e,t,n){t===h.current&&f(n)}fl((()=>{if("undefined"!==typeof u&&(h.current.swiperSlideIndex=u),t&&(t.current=h.current),h.current&&a){if(!a.destroyed)return a.on("_slideClass",v),()=>{a&&a.off("_slideClass",v)};"swiper-slide"!==p&&f("swiper-slide")}})),fl((()=>{a&&h.current&&!a.destroyed&&f(a.getSlideClasses(h.current))}),[a]);const C={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},y=()=>"function"===typeof r?r(C):r;return i.createElement(n,ul({ref:h,className:ll("".concat(p).concat(o?" ".concat(o):"")),"data-swiper-slide-index":c,onLoad:()=>{g(!0)}},d),s&&i.createElement(ml.Provider,{value:C},i.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof s?s:void 0},y(),l&&!m&&i.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&i.createElement(ml.Provider,{value:C},y(),l&&!m&&i.createElement("div",{className:"swiper-lazy-preloader"})))}));yl.displayName="SwiperSlide";var bl=n(33744),wl=n(71993),xl=n(49413);const Al={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK,El=async e=>{var t,n,r;let{listingType:i,openSearchFlowNFT:o,nftOrders:a,singleListing:s,selectedOrder:l,mixPanelFn:c,nftReceiverAddress:u,nftProviderPathIdentifier:d,isLostAndFound:h,ticketID:p,lostAndFoundCatalogIdentifier:f,enabledAutoReturn:m,ftProviderAddress:g,offer:v,offerAmount:C,offerDuration:y,privateFTPath:b,txAvailableCallback:w,token:x,setIsLoading:A,setError:E,setIsSealed:_,loanRentalActionsData:S,flowty:k}=e;if(h)try{var P,D;if(A((e=>({...e,lostAndFound:!0}))),E((e=>({...e,lostAndFound:!1}))),_((e=>({...e,lostAndFound:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{A((e=>({...e,lostAndFound:!1}))),"ERROR_TYPE_MOCK"===o.type?E((e=>({...e,lostAndFound:!0}))):_((e=>({...e,lostAndFound:!0})))}),3e3);const e=await k.redeemLostAndFound({catalogIdentifier:null!==f&&void 0!==f?f:"",nftTypeIdentifier:o.type,receiverAddress:u,ticketID:null!==p&&void 0!==p?p:"",txAvailableCallback:w});if(4===(null===e||void 0===e?void 0:e.status))return _((e=>({...e,lostAndFound:!0}))),A((e=>({...e,lostAndFound:!1}))),void c("Successful Lost And Found redeem transaction",{listingData:o,ticketID:null!==p&&void 0!==p?p:"",transferRecipient:u});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(P=e.toString())&&void 0!==P&&P.includes("Error")||null!==e&&void 0!==e&&null!==(D=e.toString())&&void 0!==D&&D.includes("Declined"))throw new Error(e)}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),lostAndFound:!0}))),A((e=>({...e,lostAndFound:!1}))),c("Error transfer listing transaction",{err:K,listingData:o})}switch(i){case"purchase":const e=s||(l.purchase?l.purchase:null===a||void 0===a||null===(t=a.storefront)||void 0===t?void 0:t[0]);try{var N,F,I;if(e.nftID!==o.id)throw new Error("Order NFT is not the same as the selected NFT.");if(A((e=>({...e,purchase:!0}))),E((e=>({...e,purchase:!1}))),_((e=>({...e,purchase:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{A((e=>({...e,purchase:!1}))),_((e=>({...e,purchase:!0})))}),3e3);const t=k.tokens.getTokenInfo(e.paymentTokenName),n=await k.purchaseStorefrontListing({ftProviderAddress:g,listing:s||(l.purchase?l.purchase:null===a||void 0===a||null===(N=a.storefront)||void 0===N?void 0:N[0]),nftReceiverAddress:u,privateFTPath:b,token:t,txAvailableCallback:w});if(4===(null===n||void 0===n?void 0:n.status))return _((e=>({...e,purchase:!0}))),A((e=>({...e,purchase:!1}))),void c("Successful purchase storefront transaction",{listingData:e,token:e.paymentTokenName});if(4!==(null===n||void 0===n?void 0:n.status)&&null!==n&&void 0!==n&&null!==(F=n.toString())&&void 0!==F&&F.includes("Error")||null!==n&&void 0!==n&&null!==(I=n.toString())&&void 0!==I&&I.includes("Declined"))throw new Error(n)}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),purchase:!0}))),A((e=>({...e,purchase:!1}))),c("Error purchase storefront transaction",{err:K,listingData:e,token:e.paymentTokenName})}break;case"makeOffer":try{var R,M;if(A((e=>({...e,makeOffer:!0}))),E((e=>({...e,makeOffer:!1}))),_((e=>({...e,makeOffer:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{A((e=>({...e,makeOffer:!1}))),"ERROR_TYPE_MOCK"!==o.id?_((e=>({...e,makeOffer:!0}))):E((e=>({...e,makeOffer:!0})))}),6e3);const e=new Date,t=(0,bl.default)(e,y),n=function(e){return(0,xl.A)(1,arguments),Math.floor((0,wl.default)(e)/1e3)}(t),r=k.tokens.getTokenIdentifier(x),i=k.tokens.getTokenInfo(x),a=await k.makeOffer({expiry:n,ftProviderAddress:g,ftProviderPathIdentifier:b,nftData:{contractAddress:null===o||void 0===o?void 0:o.contractAddress,contractName:null===o||void 0===o?void 0:o.contractName,id:null===o||void 0===o?void 0:o.id.toString(),nftOwner:null===o||void 0===o?void 0:o.owner,type:null===o||void 0===o?void 0:o.type},nftReceiverAddress:u,offerAmount:C,token:i,tokenIdentifier:r,txAvailableCallback:w});if(4===(null===a||void 0===a?void 0:a.status))return _((e=>({...e,makeOffer:!0}))),A((e=>({...e,makeOffer:!1}))),void c("Storefront offer created successful transaction",{currencyToken:x,expiry:t,listingData:o,salePrice:C});if(4!==(null===a||void 0===a?void 0:a.status)&&null!==a&&void 0!==a&&null!==(R=a.toString())&&void 0!==R&&R.includes("Error")||null!==a&&void 0!==a&&null!==(M=a.toString())&&void 0!==M&&M.includes("Declined"))throw new Error(a)}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),makeOffer:!0}))),A((e=>({...e,makeOffer:!1}))),c("Storefront offer created failed transaction",{currencyToken:x,err:K,listingData:o,salePrice:C})}break;case"cancelOffer":try{var O,j;if(A((e=>({...e,cancelOffer:!0}))),E((e=>({...e,cancelOffer:!1}))),_((e=>({...e,cancelOffer:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{A((e=>({...e,cancelOffer:!1}))),_((e=>({...e,cancelOffer:!0})))}),6e3);const e=await k.cancelOffer({offerResourceID:(null===v||void 0===v?void 0:v.offerResourceID)||"",token:x,txAvailableCallback:w});if(4===(null===e||void 0===e?void 0:e.status))return _((e=>({...e,cancelOffer:!0}))),A((e=>({...e,cancelOffer:!1}))),void c("Storefront offer cancel successful transaction",{listingData:o,offer:null===v||void 0===v?void 0:v.offerResourceID});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(O=e.toString())&&void 0!==O&&O.includes("Error")||null!==e&&void 0!==e&&null!==(j=e.toString())&&void 0!==j&&j.includes("Declined"))throw new Error(e)}catch(K){E((e=>({...e,cancelOffer:!0,errorMessage:(0,T.getMessageFromError)(K)}))),A((e=>({...e,cancelOffer:!1}))),c("Storefront offer cancel failed transaction",{err:K,listingData:o,offer:null===v||void 0===v?void 0:v.offerResourceID})}break;case"fundLoan":const i=s||(l.fundLoan?l.fundLoan:null===a||void 0===a||null===(n=a.loan)||void 0===n?void 0:n[0]);if(i.nftID!==o.id)throw new Error("Order NFT is not the same as the selected NFT.");try{var L,B,U;if(A((e=>({...e,fundLoan:!0}))),E((e=>({...e,fundLoan:!1}))),_((e=>({...e,fundLoan:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{A((e=>({...e,fundLoan:!1}))),_((e=>({...e,fundLoan:!0})))}),6e3);const e=s||(l.fundLoan?l.fundLoan:null===a||void 0===a||null===(L=a.loan)||void 0===L?void 0:L[0]),t=k.tokens.getTokenInfo(e.paymentTokenName),n=await k.fundLoanListing({ftPrivatePathIdentifier:b,ftProviderAddress:g,listingData:e,nftData:{contractAddress:o.contractAddress,contractName:o.contractName,id:o.id.toString(),nftOwner:o.owner,type:o.type},nftReceiverAddress:u,token:t,txAvailableCallback:w});if(4===(null===n||void 0===n?void 0:n.status))return _((e=>({...e,fundLoan:!0}))),A((e=>({...e,fundLoan:!1}))),void c("Successful fund transaction",{listingData:i,token:i.paymentTokenName});if(4!==(null===n||void 0===n?void 0:n.status)&&null!==n&&void 0!==n&&null!==(B=n.toString())&&void 0!==B&&B.includes("Error")||null!==n&&void 0!==n&&null!==(U=n.toString())&&void 0!==U&&U.includes("Declined"))throw new Error(n)}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),fundLoan:!0}))),A((e=>({...e,fundLoan:!1}))),c("Error fund transaction",{err:K,listingData:i,token:i.paymentTokenName})}break;case"fundRental":const h=s||(l.fundRental?l.fundRental:null===a||void 0===a||null===(r=a.rental)||void 0===r?void 0:r[0]);if(h.nftID!==o.id)throw new Error("Order NFT is not the same as the selected NFT.");try{var V,H,z;if(A((e=>({...e,fundRental:!0}))),E((e=>({...e,fundRental:!1}))),_((e=>({...e,fundRental:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{_((e=>({...e,fundRental:!0}))),A((e=>({...e,fundRental:!1})))}),6e3);const e=k.tokens.getTokenInfo(h.paymentTokenName),t=await k.fundRentalListing({enabledAutoReturn:m,ftPrivatePathIdentifier:b,ftProviderAddress:g,listingData:s||(l.fundRental?l.fundRental:null===a||void 0===a||null===(V=a.rental)||void 0===V?void 0:V[0]),nftData:{contractAddress:o.contractAddress,contractName:o.contractName,id:o.id.toString(),nftOwner:o.owner,type:o.type},nftProviderPathIdentifier:d,nftReceiverAddress:u,token:e,txAvailableCallback:w});if(4===(null===t||void 0===t?void 0:t.status))return _((e=>({...e,fundRental:!0}))),A((e=>({...e,fundRental:!1}))),void c("Successful rent transaction",{listingData:h,token:h.paymentTokenName});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(H=t.toString())&&void 0!==H&&H.includes("Error")||null!==t&&void 0!==t&&null!==(z=t.toString())&&void 0!==z&&z.includes("Declined"))throw new Error(t)}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),fundRental:!0}))),A((e=>({...e,fundRental:!1}))),c("Error rent transaction",{err:K,listingData:h,token:h.paymentTokenName})}break;case"rentalBorrower":if((null===S||void 0===S?void 0:S.nftID)!==o.id)throw new Error("Order NFT is not the same as the selected NFT.");try{var Z,W,q;if(A((e=>({...e,rentalBorrower:!0}))),E((e=>({...e,rentalBorrower:!1}))),_((e=>({...e,rentalBorrower:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{_((e=>({...e,rentalBorrower:!0}))),A((e=>({...e,rentalBorrower:!1})))}),6e3);const e=k.tokens.getTokenInfo(null===S||void 0===S?void 0:S.paymentTokenName),t=await k.returnRental(S,e,w,null!==(Z=S.renterAddress)&&void 0!==Z?Z:"",d);if(4===(null===t||void 0===t?void 0:t.status))return _((e=>({...e,rentalBorrower:!0}))),A((e=>({...e,rentalBorrower:!1}))),void c("Successful rent transaction",{listingData:S,token:S.paymentTokenName});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(W=t.toString())&&void 0!==W&&W.includes("Error")||null!==t&&void 0!==t&&null!==(q=t.toString())&&void 0!==q&&q.includes("Declined"))throw new Error(t.toString())}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),rentalBorrower:!0}))),A((e=>({...e,rentalBorrower:!1}))),c("Error rent transaction",{err:K,listingData:S,token:S.paymentTokenName})}break;case"loanBorrower":if((null===S||void 0===S?void 0:S.nftID)!==o.id)throw new Error("Order NFT is not the same as the selected NFT.");try{var G,Y;if(A((e=>({...e,loanBorrower:!0}))),E((e=>({...e,loanBorrower:!1}))),_((e=>({...e,loanBorrower:!1}))),Al)return w("mockTxId"),void setTimeout((()=>{_((e=>({...e,loanBorrower:!0}))),A((e=>({...e,loanBorrower:!1})))}),6e3);const e=k.tokens.getTokenInfo(null===S||void 0===S?void 0:S.paymentTokenName),t=await k.repayLoan({address:"0x5c57f79c6694797f",ftPrivatePathIdentifier:b,ftProviderAddress:g,fundItemID:Number(null===S||void 0===S?void 0:S.fundingResourceID),token:e,txAvailableCallback:w});if(4===(null===t||void 0===t?void 0:t.status))return _((e=>({...e,loanBorrower:!0}))),A((e=>({...e,loanBorrower:!1}))),void c("Successful rent transaction",{listingData:S,token:S.paymentTokenName});if(4!==(null===t||void 0===t?void 0:t.status)&&null!==t&&void 0!==t&&null!==(G=t.toString())&&void 0!==G&&G.includes("Error")||null!==t&&void 0!==t&&null!==(Y=t.toString())&&void 0!==Y&&Y.includes("Declined"))throw new Error(t.toString())}catch(K){E((e=>({...e,errorMessage:(0,T.getMessageFromError)(K),loanBorrower:!0}))),A((e=>({...e,loanBorrower:!1}))),c("Error rent transaction",{err:K,listingData:S,token:S.paymentTokenName})}break;default:return}},_l={activeTab:"1",closeBtnProps:{onClick:()=>{},text:""},collectionImage:null,confirmBtnProps:{onClick:()=>{},text:""},dapperOffer:null,dapperWalletNoOrder:!1,error:{fundLoan:!1,fundRental:!1,loanBorrower:!1,makeOffer:!1,purchase:!1,rentalBorrower:!1},hasBalance:!0,hasChildAccounts:!1,hasNftReceiver:new Qt,isCancelOffer:!1,isDapper:!1,isFormError:{fundLoan:!1,fundRental:!1,loanBorrower:!1,makeOffer:!1,purchase:!1,rentalBorrower:!1},isLoading:{fundLoan:!1,fundRental:!1,loanBorrower:!1,makeOffer:!1,purchase:!1,rentalBorrower:!1},isMainnet:!1,isMakeOffer:!1,isOrderListedByLoggedAccount:!1,isPrivateListing:!1,listingType:"purchase",mainAccount:void 0,mixPanelFn:()=>{},nftOwnerAccountSummary:void 0,nonCustodialOffer:null,nonDapperNoOrder:!1,offerDuration:void 0,offerTokenType:T.SupportedTokens.FLOW,offerValue:"",onCloseModal:()=>{},payWithSelectedAccount:void 0,resetModal:()=>{},royaltyRate:null,sealed:{fundLoan:!1,fundRental:!1,loanBorrower:!1,makeOffer:!1,purchase:!1,rentalBorrower:!1},selectedOrder:{fundLoan:null,fundRental:null,purchase:null},sendToSelectedAccount:void 0,setActiveTab:e=>{},setSelectedOrder:()=>{},singleOffer:void 0,strapiUrl:"",tokenProviderFilter:new Qt,transactionID:null,updateSelectedAccount:()=>{},updateSelectedOrder:()=>{},valuationData:{percentage:null,source:"",usdValue:0}},Tl=(0,i.createContext)(_l),Sl=e=>{var t,n,r,o,s,l,c,u,d,h,p,f,m,g,v;let{accountSummaries:C,addressesWithCollectionPublic:y,children:b,collectionImage:w,flowNft:x,isLoggedUser:A,mainAccount:E,mixPanelFn:_,nftOrders:S,nftProviderPathIdentifier:k,isLostAndFound:P,isLoadingOrders:D,loanRentalActionsData:N,lostAndFoundTicketID:F,lostAndFoundCatalogIdentifier:I,offer:R,singleOffer:M,openSearchFlowNFT:O,onClose:j,purchaseType:L,resetForm:B,singleListing:U,createTransactionNotification:V,spotPrice:H,strapiUrl:z,values:Z,valuation:W,isLoadingValuation:q,flowty:G}=e;const[Y,K]=(0,i.useState)("purchase"===L?"1":"loan"===L?"2":"rental"===L||"rental"===(null===O||void 0===O||null===(t=O.orders)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.listingKind)?"3":"loan"===(null===O||void 0===O||null===(r=O.orders)||void 0===r||null===(o=r[0])||void 0===o?void 0:o.listingKind)?"2":"1"),[Q,X]=(0,i.useState)(E||Object.values(C||{})[0]),[J,$]=(0,i.useState)(E||Object.values(C||{})[0]),[ee,te]=(0,i.useState)(null),[ne,re]=(0,i.useState)({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),[ie,oe]=(0,i.useState)({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),[ae,se]=(0,i.useState)({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),[le,ce]=(0,i.useState)({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),[ue,de]=(0,i.useState)("make-offer"===M),he="mainnet"===G.config.network,pe=null===Q||void 0===Q?void 0:Q.isDapper,fe=null===C||void 0===C?void 0:C[null===O||void 0===O?void 0:O.owner],me=(0,i.useMemo)((()=>"cancel-offer"===M),[M]),ge=(0,i.useMemo)((()=>Object.values(C||{}).length>1),[C]),ve=e=>te(e),Ce=(0,i.useMemo)((()=>P?"lostAndFound":ue?"makeOffer":me?"cancelOffer":N?"loan"===N.type?"loanBorrower":"rentalBorrower":Boolean(U)?"storefront"===(null===U||void 0===U?void 0:U.listingKind)?"purchase":"loan"===(null===U||void 0===U?void 0:U.listingKind)?"fundLoan":"fundRental":"1"===Y?"purchase":"2"===Y?"fundLoan":"fundRental"),[Y,L,ue,N]),[ye,be]=(0,i.useState)({fundLoan:U||((null===S||void 0===S||null===(s=S.loan)||void 0===s?void 0:s[0])||null),fundRental:U||((null===S||void 0===S||null===(l=S.rental)||void 0===l?void 0:l[0])||null),purchase:U||((null===S||void 0===S||null===(c=S.storefront)||void 0===c?void 0:c[0])||null)}),we=(0,i.useMemo)((()=>{var e,t,n;return"1"===Y?(null===ye||void 0===ye?void 0:ye.purchase)||(null===S||void 0===S||null===(e=S.storefront)||void 0===e?void 0:e[0]):"2"===Y?(null===ye||void 0===ye?void 0:ye.fundLoan)||(null===S||void 0===S||null===(t=S.loan)||void 0===t?void 0:t[0]):(null===ye||void 0===ye?void 0:ye.fundRental)||(null===S||void 0===S||null===(n=S.rental)||void 0===n?void 0:n[0])}),[Y,ye,S]),xe=(0,i.useMemo)((()=>{if(ue){const e=G.tokens.getTokenIdentifier(Z.offerTokenType);return Z.offerTokenType===T.SupportedTokens.DUC&&null!==E&&void 0!==E&&E.isDapper?new Qt:new Jt({tokenIdentifier:e})}return(null===we||void 0===we?void 0:we.paymentTokenName)===T.SupportedTokens.DUC&&null!==E&&void 0!==E&&E.isDapper?new Qt:new Jt({tokenIdentifier:G.tokens.getTokenIdentifier((null===we||void 0===we?void 0:we.paymentTokenName)||T.SupportedTokens.FLOW)})}),[we,ue,Z]),Ae=(0,i.useMemo)((()=>new $t(y||[])),[y]),Ee=(0,i.useMemo)((()=>{var e,t;const n=ue?Wt.PaymentTokenToIdentifier[Z.offerTokenType]:(null===we||void 0===we?void 0:we.paymentTokenType)||"";return(null===Q||void 0===Q||null===(e=Q.tokens)||void 0===e||null===(t=e[n])||void 0===t?void 0:t.providerPaths)||[]}),[ue,we,Q]),_e=(0,i.useMemo)((()=>{try{if(!we)return"";const e=(0,T.getContractNameFromType)((null===we||void 0===we?void 0:we.paymentTokenType)||""),t=(0,T.getContractAddressFromType)((null===we||void 0===we?void 0:we.paymentTokenType)||"");return((e,t,n)=>{var r;if(!e||!e.length)return"";if(t&&n){const r="".concat(n).concat(t,"FtProviderForFlowty"),i=e.find((e=>e.identifier.includes(r)));if(i)return i.identifier}const i=e.find((e=>e.identifier.includes("ForFlowty")));return i?i.identifier:(null===e||void 0===e||null===(r=e[0])||void 0===r?void 0:r.identifier)||""})(Ee,t,e)}catch(e){return""}}),[we,Q]),Te=(null===E||void 0===E?void 0:E.address)===(null===R||void 0===R?void 0:R.flowtyStorefrontAddress),Se=(0,i.useMemo)((()=>{var e,t,n;return N?{listingKind:"loan"===N.type?"loanBorrower":"rentalBorrower",...N}:U?ue?{currentOrderSalePrice:U.amount,currentOrderTokenName:U.paymentTokenName,listingKind:"makeOffer",offerAmount:Z.offerAmount,paymentTokenName:Z.offerTokenType}:U:"purchase"===Ce?ye.purchase||(null===S||void 0===S||null===(e=S.storefront)||void 0===e?void 0:e[0]):"fundRental"===Ce?ye.fundRental||(null===S||void 0===S||null===(t=S.rental)||void 0===t?void 0:t[0]):"fundLoan"===Ce?ye.fundLoan||(null===S||void 0===S||null===(n=S.loan)||void 0===n?void 0:n[0]):"cancelOffer"===Ce?{listingKind:"cancelOffer",...R}:{currentOrderSalePrice:ye.purchase?ye.purchase.amount:null,currentOrderTokenName:ye.purchase?ye.purchase.paymentTokenName:null,listingKind:"makeOffer",offerAmount:Z.offerAmount,paymentTokenName:Z.offerTokenType}}),[N,U,Ce,ye,S,Z,R,ue]),{royaltyRate:ke}=(0,Wt.useGetCollectionRoyalty)({flowty:G,mixPanelFn:_,nft:x||null});(0,i.useEffect)((()=>{var e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v;if(ee&&V)switch(Ce){case"purchase":const w=Se;V({amount:Number(null!==(e=null===w||void 0===w?void 0:w.amount)&&void 0!==e?e:0),collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(t=O.card.images)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(r=O.card.title)&&void 0!==r?r:"",token:w.paymentTokenName,transactionID:ee,type:T.NotificationType.Transaction});break;case"makeOffer":const x=Se;V({amount:x.offerAmount,collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(i=O.card.images)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(a=O.card.title)&&void 0!==a?a:"",token:x.paymentTokenName,transactionID:ee,type:T.NotificationType.Transaction});break;case"cancelOffer":const A=Se;V({amount:Number(A.amount),collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(s=O.card.images)||void 0===s||null===(l=s[0])||void 0===l?void 0:l.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(c=O.card.title)&&void 0!==c?c:"",token:A.paymentTokenName,transactionID:ee,type:T.NotificationType.Transaction});break;case"loanBorrower":const E=Se;V({amount:null!==(u=E.loanAmount)&&void 0!==u?u:0,collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(d=O.card.images)||void 0===d||null===(h=d[0])||void 0===h?void 0:h.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(p=O.card.title)&&void 0!==p?p:"",token:E.paymentTokenName,transactionID:ee,type:T.NotificationType.Transaction});break;case"fundLoan":const _=Se;V({amount:null!==(f=null===_||void 0===_?void 0:_.derivations.calculatedValues.marketplaceAmount)&&void 0!==f?f:0,collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(m=O.card.images)||void 0===m||null===(g=m[0])||void 0===g?void 0:g.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(v=O.card.title)&&void 0!==v?v:"",token:_.paymentTokenType,transactionID:ee,type:T.NotificationType.Transaction});break;case"fundRental":var C,y,b;V({amount:Number(Se.amount),collectionAddress:O.contractAddress,collectionName:O.contractName,imageUrl:(null===(C=O.card.images)||void 0===C||null===(y=C[0])||void 0===y?void 0:y.url)||"",listingType:Ce,nftId:O.id,nftType:O.type,status:"PROCESSING",timestamp:Date.now(),title:null!==(b=O.card.title)&&void 0!==b?b:"",transactionID:ee,type:T.NotificationType.Transaction})}}),[ee,O,Ce,Se,V]);const Pe=async()=>{await El({enabledAutoReturn:Z.automaticReturn,flowty:G,ftProviderAddress:Q.address,isLostAndFound:P,listingType:Ce,loanRentalActionsData:N,lostAndFoundCatalogIdentifier:I,mixPanelFn:_,nftOrders:S,nftProviderPathIdentifier:k,nftReceiverAddress:J.address,offer:R,offerAmount:+Z.offerAmount,offerDuration:+Z.offerDuration,openSearchFlowNFT:O,privateFTPath:_e,selectedOrder:ye,setError:re,setIsLoading:se,setIsSealed:oe,singleListing:U,ticketID:F,token:Z.offerTokenType,txAvailableCallback:ve})},De=()=>{de(!0)},Ne=()=>{ae.purchase||ae.fundLoan||ae.fundRental||ae.makeOffer||(re({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),oe({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),ce({fundLoan:!1,fundRental:!1,makeOffer:!1,purchase:!1}),K("purchase"===L?"1":"loan"===L?"2":"3")),B(),j()},Fe=(0,i.useMemo)((()=>{if(pe)return!0;if(ue)return(0,mn.V8)(+Z.offerAmount,Z.offerTokenType,Q,G);if(N)return"loan"!==N.type||(0,mn.Ng)(Q,Number(null===N||void 0===N?void 0:N.repaymentDue),null===N||void 0===N?void 0:N.paymentTokenName,G);if("fundLoan"===Ce){var e,t,n;const r=U||ye.fundLoan||(null===S||void 0===S||null===(e=S.loan)||void 0===e?void 0:e[0]),i=null===r||void 0===r||null===(t=r.derivations)||void 0===t||null===(n=t.calculatedValues)||void 0===n?void 0:n.marketplaceAmount;return(0,mn.R5)(Q,null===r||void 0===r?void 0:r.paymentTokenType,i)}if("fundRental"===Ce){var r;const e=U||ye.fundRental||(null===S||void 0===S||null===(r=S.rental)||void 0===r?void 0:r[0]);return(0,mn.fy)(Q,null===e||void 0===e?void 0:e.deposit,null===e||void 0===e?void 0:e.amount,(null===e||void 0===e?void 0:e.paymentTokenName)||T.SupportedTokens.FLOW,G)}if("purchase"===Ce){var i;const e=U||ye.purchase||(null===S||void 0===S||null===(i=S.storefront)||void 0===i?void 0:i[0]);return(0,mn.Ng)(Q,+(null===e||void 0===e?void 0:e.amount),(null===e||void 0===e?void 0:e.paymentTokenName)||T.SupportedTokens.FLOW,G)}return!0}),[N,Q,Z,U,ye,S,Q,ue]),Ie=(0,i.useMemo)((()=>{const e=(0,T.nftTypeAndIdToLocationData)(O.type,O.id),t=window.location.origin;return"".concat(t,"/asset/").concat(e.contract.address,"/").concat(e.contract.name,"/").concat(e.resourceName,"/").concat(e.nftID)}),[O]),Re=(0,i.useMemo)((()=>{const e=window.location.origin;return"".concat(e,"/user/profile?tab=1&offersTab=1")}),[]),Me=()=>{window.open(Re,"_blank")},Oe=()=>{window.open(Ie,"_blank")},je=()=>{const e=window.location.origin,t="".concat(e,"/user/profile?tab=3");window.open(t,"_blank")},Le=()=>{const e=window.location.origin,t="".concat(e,"/user-profile/loans");window.open(t,"_blank")},Be=()=>{ce((e=>({...e,[Ce]:!0})))},Ue=(0,i.useMemo)((()=>{var e,t;return!(null===ye||void 0===ye||null===(e=ye.fundRental)||void 0===e||!e.renter)&&(null===ye||void 0===ye||null===(t=ye.fundRental)||void 0===t?void 0:t.renter)!==(null===E||void 0===E?void 0:E.address)}),[ye]),Ve=(null===we||void 0===we?void 0:we.paymentTokenName)!==T.SupportedTokens.DUC&&pe,He=(null===we||void 0===we?void 0:we.paymentTokenName)===T.SupportedTokens.DUC&&!pe&&A,ze=xn(he),Ze=+Z.offerAmount<=0||+Z.offerAmount>1e7,We=!(null!==Z&&void 0!==Z&&Z.offerDuration)||+(null===Z||void 0===Z?void 0:Z.offerDuration)<ze||+(null===Z||void 0===Z?void 0:Z.offerDuration)>An,qe=Ze||We,Ge=(0,qt.zy)(),Ye=(0,i.useMemo)((()=>Ge.pathname.includes("/asset/")),[Ge.pathname]),Ke=(0,i.useMemo)((()=>{var e,t,n;return P?{bgColor:"primary",disabled:Boolean(ae.lostAndFound),onClick:ie.lostAndFound?Oe:Pe,text:ie.lostAndFound?"VIEW ITEM":ne.lostAndFound?"TRY AGAIN":ae.lostAndFound?"CLAIMING":"CLAIM"}:"1"===Y?N?{bgColor:"primary",disabled:ae.loanBorrower||ae.rentalBorrower||!Fe&&A,onClick:ie.loanBorrower||ie.rentalBorrower?Oe:Pe,text:ie.loanBorrower||ie.rentalBorrower?"VIEW ITEM":ae.loanBorrower?"REPAYING":ae.rentalBorrower?"RETURNING":ne.loanBorrower||ne.rentalBorrower?"TRY AGAIN":"loan"===N.type?"REPAY":"RETURN"}:ue?{bgColor:"primary",disabled:ae.makeOffer||!Fe&&A,onClick:A?ie.makeOffer?Me:qe?Be:Pe:Wt.connectWallet,text:ie.makeOffer?"VIEW OFFERS":ae.makeOffer?"MAKING OFFER":ne.makeOffer?"TRY AGAIN":"SUBMIT OFFER"}:me?{bgColor:"primary",disabled:ae.cancelOffer||!Te,onClick:ie.cancelOffer?Me:Pe,text:ie.cancelOffer?"VIEW OFFERS":ae.cancelOffer?"CANCELING OFFER":ne.cancelOffer?"TRY AGAIN":"CANCEL OFFER"}:{bgColor:"primary",disabled:!Boolean(U)&&(!Boolean(null===S||void 0===S?void 0:S.storefront)||0===(null===S||void 0===S||null===(e=S.storefront)||void 0===e?void 0:e.length))||ae.purchase||Ve||He||!Fe&&A,notDisplay:ie.purchase&&Ye,onClick:A?ie.purchase?Oe:Pe:Wt.connectWallet,text:ie.purchase?"VIEW ITEM":ae.purchase?"BUYING ITEM":ne.purchase?"TRY AGAIN":"BUY"}:"2"===Y?{bgColor:"primary",disabled:!Boolean(U)&&(!Boolean(null===S||void 0===S?void 0:S.loan)||0===(null===S||void 0===S||null===(t=S.loan)||void 0===t?void 0:t.length))||ae.fundLoan||pe||!Fe&&A,notDisplay:ie.fundLoan&&Ye,onClick:A?ie.fundLoan?Le:Pe:Wt.connectWallet,text:ie.fundLoan?"VIEW LOANS":ae.fundLoan?"FUNDING LOAN":ne.fundLoan?"TRY AGAIN":"FUND LOAN"}:{bgColor:"primary",disabled:!Boolean(U)&&(!Boolean(null===S||void 0===S?void 0:S.rental)||0===(null===S||void 0===S||null===(n=S.rental)||void 0===n?void 0:n.length))||ae.fundRental||pe||Ue||!Fe&&A,notDisplay:ie.fundRental&&Ye,onClick:A?ie.fundRental?je:Pe:Wt.connectWallet,text:ie.fundRental?"VIEW RENTALS":ae.fundRental?"RENTING ITEM":ne.fundRental?"TRY AGAIN":"RENT"}}),[Y,Z,ae,ie,ne,ue,me,pe,S,U,Ue,Fe,N,J,Q,ye,P]),Qe=(0,i.useMemo)((()=>P?{bgColor:"white",notDisplay:ae.lostAndFound,onClick:Ne,text:ie.lostAndFound?"CLOSE":"CANCEL"}:"1"===Y?N?{bgColor:"white",notDisplay:ae.loanBorrower||ae.rentalBorrower,onClick:()=>Ne(),text:ie.loanBorrower||ie.rentalBorrower?"CLOSE":"CANCEL"}:ue?{bgColor:"white",notDisplay:ae.makeOffer,onClick:!ie.makeOffer&&A&&"make-offer"!==M||ne.makeOffer?ne.makeOffer?()=>{re((e=>({...e,makeOffer:!1})))}:()=>de(!1):()=>Ne(),text:!ie.makeOffer&&"make-offer"!==M&&A||ne.makeOffer?"BACK":"CLOSE"}:me?{bgColor:"white",notDisplay:ae.cancelOffer,onClick:()=>Ne(),text:"CLOSE"}:{bgColor:"white",notDisplay:ae.purchase,onClick:ie.purchase||ne.purchase||!A?()=>Ne():De,text:ie.purchase||ne.purchase||!A?"CLOSE":"MAKE OFFER"}:"2"===Y?{bgColor:"white",notDisplay:ae.fundLoan,onClick:Ne,text:"CLOSE"}:{bgColor:"white",notDisplay:ae.fundRental,onClick:Ne,text:"CLOSE"}),[Y,ie,ae,ie,ne,Z,ue,N,P]),Xe=ue?(0,mn.R9)({salePrice:+Z.offerAmount,spotPrice:(null===H||void 0===H?void 0:H.value)||0,token:Z.offerTokenType||T.SupportedTokens.FLOW,valuation:(null===W||void 0===W?void 0:W.usdValue)||0}):(0,mn.R9)({salePrice:+(null!==ye&&void 0!==ye&&null!==(u=ye.purchase)&&void 0!==u&&u.amount?null===ye||void 0===ye||null===(d=ye.purchase)||void 0===d?void 0:d.amount:(null===S||void 0===S||null===(h=S.storefront)||void 0===h||null===(p=h[0])||void 0===p?void 0:p.amount)||0),spotPrice:(null===H||void 0===H?void 0:H.value)||0,token:null!==ye&&void 0!==ye&&null!==(f=ye.purchase)&&void 0!==f&&f.paymentTokenName?(null===ye||void 0===ye||null===(m=ye.purchase)||void 0===m?void 0:m.paymentTokenName)||T.SupportedTokens.FLOW:(null===S||void 0===S||null===(g=S.storefront)||void 0===g||null===(v=g[0])||void 0===v?void 0:v.paymentTokenName)||T.SupportedTokens.FLOW,valuation:(null===W||void 0===W?void 0:W.usdValue)||0}),Je={percentage:null!==W&&void 0!==W&&W.usdValue?Xe:null,source:(null===W||void 0===W?void 0:W.source)||"",usdValue:(null===W||void 0===W?void 0:W.usdValue)||0},$e=(0,i.useMemo)((()=>Z.offerAmount),[Z]),et=(0,i.useMemo)((()=>Z.offerTokenType),[Z]),tt=(0,i.useMemo)((()=>Z.offerDuration),[Z]),nt=(0,i.useMemo)((()=>null===O||void 0===O?void 0:O.bestDapperOffer),[O]),rt=(0,i.useMemo)((()=>null===O||void 0===O?void 0:O.bestNonCustodialOffer),[O]);return(0,a.jsx)(Tl.Provider,{value:{activeTab:Y,closeBtnProps:Qe,collectionImage:w,confirmBtnProps:Ke,dapperOffer:nt,dapperWalletNoOrder:Ve,error:ne,hasBalance:Fe,hasChildAccounts:ge,hasNftReceiver:Ae,isCancelOffer:me,isDapper:pe,isFormError:le,isLoading:ae,isLoadingOrders:D,isLoadingValuation:q,isLoggedUser:A,isLostAndFound:P,isMainnet:he,isMakeOffer:ue,isOrderListedByLoggedAccount:Te,isPrivateListing:Ue,listingType:Ce,loanRentalActionsData:N,mainAccount:E,mixPanelFn:_,nftOwnerAccountSummary:fe,nonCustodialOffer:rt,nonDapperNoOrder:He,offerDuration:tt,offerTokenType:et,offerValue:$e,onCloseModal:Ne,openSearchFlowNFT:O,orderData:Se,payWithSelectedAccount:Q,resetModal:()=>{de(!1)},royaltyRate:100*Number(ke),sealed:ie,selectedOrder:ye,sendToSelectedAccount:J,setActiveTab:K,setSelectedOrder:be,singleOffer:M,spotPrice:H,strapiUrl:z,tokenProviderFilter:xe,transactionID:ee,updateSelectedAccount:(e,t)=>{"payWith"===t?X(e):$(e)},updateSelectedOrder:e=>{be("1"===Y?t=>({...t,purchase:e}):"2"===Y?t=>({...t,fundLoan:e}):t=>({...t,fundRental:e}))},valuationData:Je},children:b})},kl=()=>(0,i.useContext)(Tl),Pl=e=>{var t,n,r,i,s,l,c,u,d,h,p,f,m,g,v;let{order:C,selectedOrder:y}=e;const{spotPrice:b}=kl();return(0,a.jsx)("div",{className:(0,o.cn)("w-[288px] h-[270px] flex flex-col justify-between space-y-2 p-6 rounded-lg border border-[#495057] bg-[#ffffff14] font-montserrat cursor-pointer",{"border-primary":(null===y||void 0===y?void 0:y.listingResourceID)===C.listingResourceID}),children:(0,a.jsxs)("div",{className:"w-full flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Loan Amount"}),(0,a.jsx)("div",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:(null===C||void 0===C||null===(t=C.derivations)||void 0===t||null===(n=t.calculatedValues)||void 0===n?void 0:n.marketplaceAmount)||0,token:null===C||void 0===C?void 0:C.paymentTokenName,spotPriceValue:b?b.value*Number(null===C||void 0===C||null===(r=C.derivations)||void 0===r||null===(i=r.calculatedValues)||void 0===i?void 0:i.marketplaceAmount):void 0})})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Repayment Amount"}),(0,a.jsx)("div",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:(null===(s=C.derivations)||void 0===s||null===(l=s.calculatedValues)||void 0===l?void 0:l.totalRepayment)||0,token:C.paymentTokenName,spotPriceValue:b?b.value*Number(null===C||void 0===C||null===(c=C.derivations)||void 0===c||null===(u=c.calculatedValues)||void 0===u?void 0:u.totalRepayment):void 0})})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Loan Rate"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[(100*(null!==(d=null===C||void 0===C||null===(h=C.derivations)||void 0===h||null===(p=h.calculatedValues)||void 0===p?void 0:p.periodicInterest)&&void 0!==d?d:0)).toFixed(2),"%"]})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"APR"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[an()((0,T.calcAPRInterest)(C?Number(null===C||void 0===C||null===(f=C.derivations)||void 0===f||null===(m=f.calculatedValues)||void 0===m?void 0:m.periodicInterest):0,C?Number(C.term):0)).format("0,0.00"),"%"]})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Duration"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:sn(Number(null===C||void 0===C?void 0:C.term))})]}),(0,a.jsx)("div",{className:"flex w-full justify-between items-center",children:(null===C||void 0===C?void 0:C.valuations)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Blended LTV"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[an()(100*(null===(g=C.valuations)||void 0===g||null===(v=g.aggregate)||void 0===v?void 0:v.loanToValueRatio)).format("0,0.0"),"%"]})]})})]})})},Dl=e=>{let{order:t,selectedOrder:n}=e;const{spotPrice:r}=kl();return(0,a.jsx)("div",{className:(0,o.cn)("w-[288px] h-[130px] flex flex-col justify-between space-y-2 p-6 rounded-lg border border-[#495057] bg-[#ffffff14] font-montserrat cursor-pointer",{"border-primary":(null===n||void 0===n?void 0:n.listingResourceID)===t.listingResourceID}),children:(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Purchase Price"}),(0,a.jsx)("div",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:t.amount,token:t.paymentTokenName,spotPriceValue:r?r.value*Number(null===t||void 0===t?void 0:t.amount):void 0})})]})})},Nl=e=>{var t,n,r,i;let{order:s,selectedOrder:l}=e;const{spotPrice:c}=kl();return(0,a.jsx)("div",{className:(0,o.cn)("w-[288px] h-[270px] flex flex-col justify-between p-6 rounded-lg border border-[#495057] bg-[#ffffff14] font-montserrat cursor-pointer",{"border-primary":(null===l||void 0===l?void 0:l.listingResourceID)===(null===s||void 0===s?void 0:s.listingResourceID)}),children:(0,a.jsxs)("div",{className:"w-full flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Rental Fee"}),(0,a.jsx)("div",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:null===s||void 0===s?void 0:s.amount,token:null===s||void 0===s?void 0:s.paymentTokenName,spotPriceValue:c?c.value*Number(null===s||void 0===s?void 0:s.amount):void 0})})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Refundable Deposit"}),(0,a.jsx)("div",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:null===s||void 0===s?void 0:s.deposit,token:null===s||void 0===s?void 0:s.paymentTokenName,spotPriceValue:c?c.value*Number(null===s||void 0===s?void 0:s.amount):void 0})})]}),(0,a.jsx)("div",{className:"border-gradient js-show-on-scroll"}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-start",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Total Due Upfront"}),(0,a.jsx)("span",{className:"text-white font-semibold",children:(0,a.jsx)(Ga,{price:Number(null===s||void 0===s?void 0:s.deposit)+Number(null===s||void 0===s?void 0:s.amount),token:null===s||void 0===s?void 0:s.paymentTokenName,spotPriceValue:c?c.value*Number(null===s||void 0===s?void 0:s.amount):void 0})})]}),(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"Duration"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:sn(Number(null===s||void 0===s?void 0:s.term))})]}),(null===s||void 0===s||null===(t=s.valuations)||void 0===t||null===(n=t.aggregate)||void 0===n?void 0:n.depositToValueRatio)&&(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsx)("span",{className:"text-base text-white",children:"DTV"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[null===s||void 0===s||null===(r=s.valuations)||void 0===r||null===(i=r.aggregate)||void 0===i?void 0:i.depositToValueRatio,"X"]})]})]})})},Fl=e=>{let{order:t,selectedOrder:n,index:r,updateSelectedOrder:o}=e;const s=vl(),l=(0,i.useCallback)((()=>{s.slideTo(r),o(t)}),[n,r,t,o,s]),c=(0,i.useMemo)((()=>{const e=null===t||void 0===t?void 0:t.listingKind;return"loan"===e?(0,a.jsx)(Pl,{order:t,selectedOrder:n}):"rental"===e?(0,a.jsx)(Nl,{order:t,selectedOrder:n}):"storefront"===e?(0,a.jsx)(Dl,{order:t,selectedOrder:n}):null}),[t,n]);return(0,a.jsx)("div",{onClick:l,"data-testid":"carousel-card",children:c})};var Il;function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rl.apply(null,arguments)}function Ml(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Rl({width:8,height:8,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Il||(Il=i.createElement("g",{id:"Dot indictaor \xe2\x80\x94 2",opacity:.5},i.createElement("circle",{id:"Dot indictaor",cx:4,cy:4,r:4,fill:"#6C757D"}))))}const Ol=i.forwardRef(Ml);n.p;var jl;function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ll.apply(null,arguments)}function Bl(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Ll({width:6,height:10,viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,jl||(jl=i.createElement("path",{id:"Icon",fillRule:"evenodd",clipRule:"evenodd",d:"M5.70711 0.292893C6.09763 0.683417 6.09763 1.31658 5.70711 1.70711L2.41421 5L5.70711 8.29289C6.09763 8.68342 6.09763 9.31658 5.70711 9.70711C5.31658 10.0976 4.68342 10.0976 4.29289 9.70711L0.292893 5.70711C-0.0976315 5.31658 -0.0976315 4.68342 0.292893 4.29289L4.29289 0.292893C4.68342 -0.0976305 5.31658 -0.0976305 5.70711 0.292893Z",fill:"#F8F9FA"})))}const Ul=i.forwardRef(Bl);n.p;var Vl;function Hl(){return Hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hl.apply(null,arguments)}function zl(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Hl({width:6,height:10,viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Vl||(Vl=i.createElement("path",{id:"Icon",fillRule:"evenodd",clipRule:"evenodd",d:"M0.292894 9.70711C-0.0976307 9.31658 -0.0976307 8.68342 0.292894 8.29289L3.58579 5L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292894C0.683417 -0.0976312 1.31658 -0.0976312 1.70711 0.292894L5.70711 4.29289C6.09763 4.68342 6.09763 5.31658 5.70711 5.70711L1.70711 9.70711C1.31658 10.0976 0.683418 10.0976 0.292894 9.70711Z",fill:"#F8F9FA"})))}const Zl=i.forwardRef(zl);n.p;var Wl;function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ql.apply(null,arguments)}function Gl(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ql({width:8,height:8,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Wl||(Wl=i.createElement("g",{id:"Dot indictaor \xe2\x80\x94 1"},i.createElement("circle",{id:"Dot indictaor",cx:4,cy:4,r:4,fill:"white"}))))}const Yl=i.forwardRef(Gl),Kl=(n.p,e=>{let{itemsLength:t,setIsFirstIndex:n,hiddeArrows:r}=e;const o=vl(),[s,l]=(0,i.useState)(o.activeIndex),c=0===s,u=s===t-1;return o.on("slideChange",(()=>{l(o.activeIndex),n(0===o.activeIndex)})),(0,a.jsxs)("div",{className:"flex items-center justify-center space-x-2 pt-3",children:[(0,a.jsx)("div",{className:"w-[25px]",children:!c&&!r&&(0,a.jsx)("div",{className:"p-2 backdrop-blur-[6px] border-2 border-[#6c757d40] bg-[#ffffff14] cursor-pointer",onClick:()=>o.slidePrev(),children:(0,a.jsx)(Ul,{})})}),Array.from({length:t}).map(((e,t)=>(0,a.jsx)("div",{className:"flex space-x-3 cursor-pointer",onClick:()=>o.slideTo(t),children:s===t?(0,a.jsx)(Yl,{}):(0,a.jsx)(Ol,{})},t))),(0,a.jsx)("div",{className:"w-[25px]",children:!u&&!r&&(0,a.jsx)("div",{className:"p-2 backdrop-blur-[6px] border-2 border-[#6c757d40] bg-[#ffffff14] cursor-pointer",onClick:()=>o.slideNext(),children:(0,a.jsx)(Zl,{})})})]})});function Ql(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,"."))}function Xl(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o="swiper-pagination";let a;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:"".concat(o,"-bullet"),bulletActiveClass:"".concat(o,"-bullet-active"),modifierClass:"".concat(o,"-"),currentClass:"".concat(o,"-current"),totalClass:"".concat(o,"-total"),hiddenClass:"".concat(o,"-hidden"),progressbarFillClass:"".concat(o,"-progressbar-fill"),progressbarOppositeClass:"".concat(o,"-progressbar-opposite"),clickableClass:"".concat(o,"-clickable"),lockClass:"".concat(o,"-lock"),horizontalClass:"".concat(o,"-horizontal"),verticalClass:"".concat(o,"-vertical"),paginationDisabledClass:"".concat(o,"-disabled")}}),t.pagination={el:null,bullets:[]};let s=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:r}=t.params.pagination;e&&(e=e["".concat("prev"===n?"previous":"next","ElementSibling")])&&(e.classList.add("".concat(r,"-").concat(n)),(e=e["".concat("prev"===n?"previous":"next","ElementSibling")])&&e.classList.add("".concat(r,"-").concat(n,"-").concat(n)))}function u(e){const n=e.target.closest(Ql(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const r=ps(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===r)return;t.slideToLoop(r)}else t.slideTo(r)}function d(){const e=t.rtl,n=t.params.pagination;if(l())return;let r,o,u=t.pagination.el;u=gs(u);const d=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(d/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,r=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):"undefined"!==typeof t.snapIndex?(r=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,r=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let l,d,h;if(n.dynamicBullets&&(a=ms(i[0],t.isHorizontal()?"width":"height",!0),u.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]="".concat(a*(n.dynamicMainBullets+4),"px")})),n.dynamicMainBullets>1&&void 0!==o&&(s+=r-(o||0),s>n.dynamicMainBullets-1?s=n.dynamicMainBullets-1:s<0&&(s=0)),l=Math.max(r-s,0),d=l+(Math.min(i.length,n.dynamicMainBullets)-1),h=(d+l)/2),i.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>"".concat(n.bulletActiveClass).concat(e)))].map((e=>"string"===typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),u.length>1)i.forEach((e=>{const i=ps(e);i===r?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(i>=l&&i<=d&&e.classList.add(..."".concat(n.bulletActiveClass,"-main").split(" ")),i===l&&c(e,"prev"),i===d&&c(e,"next"))}));else{const e=i[r];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&i.forEach(((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")})),n.dynamicBullets){const e=i[l],t=i[d];for(let r=l;r<=d;r+=1)i[r]&&i[r].classList.add(..."".concat(n.bulletActiveClass,"-main").split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const r=Math.min(i.length,n.dynamicMainBullets+4),o=(a*r-a)/2-h*a,s=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?s:"top"]="".concat(o,"px")}))}}u.forEach(((e,o)=>{if("fraction"===n.type&&(e.querySelectorAll(Ql(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(r+1)})),e.querySelectorAll(Ql(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(h)}))),"progressbar"===n.type){let i;i=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(r+1)/h;let a=1,s=1;"horizontal"===i?a=o:s=o,e.querySelectorAll(Ql(n.progressbarFillClass)).forEach((e=>{e.style.transform="translate3d(0,0,0) scaleX(".concat(a,") scaleY(").concat(s,")"),e.style.transitionDuration="".concat(t.params.speed,"ms")}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,r+1,h),0===o&&i("paginationRender",e)):(0===o&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)}))}function h(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let r=t.pagination.el;r=gs(r);let o="";if("bullets"===e.type){let r=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+="<".concat(e.bulletElement," ").concat(t.isElement?'part="bullet"':"",' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">")}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>')),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>')),t.pagination.bullets=[],r.forEach((n=>{"custom"!==e.type&&(n.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(Ql(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",r[0])}function p(){t.params.pagination=function(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach((i=>{if(!n[i]&&!0===n.auto){let o=cs(e.el,".".concat(r[i]))[0];o||(o=ds("div",r[i]),o.className=r[i],e.el.append(o)),n[i]=o,t[i]=o}})),n}(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"===typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!==typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"===typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.filter((e=>fs(e,".swiper")[0]===t.el))[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=gs(n),n.forEach((n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add("".concat(e.modifierClass).concat(e.type,"-dynamic")),s=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",u),t.enabled||n.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=gs(n),n.forEach((n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",u))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}r("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=gs(n),n.forEach((n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),r("init",(()=>{!1===t.params.pagination.enabled?m():(p(),h(),d())})),r("activeIndexChange",(()=>{"undefined"===typeof t.snapIndex&&d()})),r("snapIndexChange",(()=>{d()})),r("snapGridLengthChange",(()=>{h(),d()})),r("destroy",(()=>{f()})),r("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=gs(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),r("lock unlock",(()=>{d()})),r("click",((e,n)=>{const r=n.target,o=gs(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!r.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=gs(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=gs(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),p(),h(),d()},disable:m,render:h,update:d,init:p,destroy:f})}const Jl=e=>{let{orders:t,selectedOrder:n,updateSelectedOrder:r}=e;const[o,s]=(0,i.useState)(!0);return(0,a.jsx)("div",{className:"max-w-[400px]",children:(0,a.jsxs)(Cl,{slidesPerView:"auto",spaceBetween:10,effect:"slide",speed:800,centeredSlides:!o,modules:[Xl],children:[t.length>1&&(0,a.jsx)("span",{slot:"container-end",className:"h-32 w-32",children:(0,a.jsx)(Kl,{itemsLength:t.length,setIsFirstIndex:s})}),t.map(((e,t)=>(0,a.jsx)(yl,{className:"!w-auto",children:(0,a.jsx)(Fl,{index:t,order:e,selectedOrder:n,updateSelectedOrder:r})},e.listingResourceID)))]})})},$l=e=>{var t,n,r,i,o,s,l,c,u,d,h,p,f,m,g;let{listing:v}=e;const{spotPrice:C}=kl();return(0,a.jsxs)("div",{className:"w-full flex flex-col gap-3 justify-between mt-4",children:[(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Loan Amount"}),(0,a.jsx)(Ga,{token:v.paymentTokenName,price:(null===v||void 0===v||null===(t=v.derivations)||void 0===t||null===(n=t.calculatedValues)||void 0===n?void 0:n.marketplaceAmount)||0,spotPriceValue:C?C.value*Number(null===v||void 0===v||null===(r=v.derivations)||void 0===r||null===(i=r.calculatedValues)||void 0===i?void 0:i.marketplaceAmount):void 0})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Repayment Amount"}),(0,a.jsx)(Ga,{token:v.paymentTokenName,price:(null===v||void 0===v||null===(o=v.derivations)||void 0===o||null===(s=o.calculatedValues)||void 0===s?void 0:s.totalRepayment)||0,spotPriceValue:C?C.value*Number(null===v||void 0===v||null===(l=v.derivations)||void 0===l||null===(c=l.calculatedValues)||void 0===c?void 0:c.totalRepayment):void 0})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Loan Rate"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[(100*(null!==(u=null===v||void 0===v||null===(d=v.derivations)||void 0===d||null===(h=d.calculatedValues)||void 0===h?void 0:h.periodicInterest)&&void 0!==u?u:0)).toFixed(2),"%"]})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"APR Rate"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[an()((0,T.calcAPRInterest)(v?Number(null===v||void 0===v||null===(p=v.derivations)||void 0===p||null===(f=p.calculatedValues)||void 0===f?void 0:f.periodicInterest):0,v?Number(v.term):0)).format("0,0.00"),"%"]})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Duration"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:sn(Number(v.term))})]}),(0,a.jsx)("div",{className:"w-full flex justify-between",children:(null===v||void 0===v?void 0:v.valuations)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Blended LTV"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold",children:[an()(100*(null===(m=v.valuations)||void 0===m||null===(g=m.aggregate)||void 0===g?void 0:g.loanToValueRatio)).format("0,0.0"),"%"]})]})})]})},ec=e=>{var t,n;let{loanOrder:r,selectedOrder:i}=e;const{updateSelectedOrder:o,isDelist:s,openSearchFlowNFT:l,orderFromChildAccount:c,isMainnet:u,collectionDisplayName:d}=On(),h=r?null===r||void 0===r||null===(t=r[0])||void 0===t?void 0:t.flowtyStorefrontAddress:null===i||void 0===i?void 0:i.flowtyStorefrontAddress;return(0,a.jsxs)("div",{className:"flex flex-col gap-3 h-full w-full md:w-[400px]",children:[r&&r.length>1?(0,a.jsxs)(a.Fragment,{children:[s.loan&&(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Loan listing will be removed from the marketplace."}),(0,a.jsx)(Jl,{updateSelectedOrder:o,orders:r,selectedOrder:i})]}):(0,a.jsxs)(a.Fragment,{children:[s.loan&&(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Loan listing will be removed from the marketplace."}),(0,a.jsx)($l,{listing:i})]}),s.loan&&c&&(0,a.jsxs)("div",{className:"text-orange-500 text-sm font-normal py-2",children:["NFT was listed while connected with"," ".concat(h)," as Main. Please sign in with "," ".concat(h)," ","to delist."]}),!s.loan&&(0,a.jsx)(Ea,{nft:l,order:i,listingType:null!==(n=null===i||void 0===i?void 0:i.listingKind)&&void 0!==n?n:"loan",isMainnet:u,collectionDisplayName:d})]})},tc={"A.0b2a3299cc857e29.TopShot":"ad3260ba-a87c-4359-a8b0-def2cc36310b","A.329feb3ab062d289.UFC_NFT":"24ed5274-68f4-42bc-8600-4a6f5fa17359","A.427ceada271aa0b1.SturdyItems":"fb3cebea-cb28-4231-9d56-ea4ecd2f8ff7","A.427ceada271aa0b1.SturdyTokens":"35c53829-12f1-4f0d-ac7f-9a9d2b7bc172","A.87ca73a41bb50ad5.Golazos":"44924327-dea6-4915-a18d-85a827c5eb51","A.8b148183c28ff88f.Gaia":"75dc054b-e405-4fbd-91c3-6dbfc0e691ca","A.e4cf4bdc1751c65d.AllDay":"567226a0-f1fe-4c9a-ba85-423d020d646a"},nc=e=>{var t;if(!e)return null;const[n,r,i]=e.type.split("."),o="A.".concat(r,".").concat(i),a=null!==(t=tc[o])&&void 0!==t?t:null;if(!a)return null;return"https://accounts.meetdapper.com/inventory?page=1&sort=DESC&token=".concat(e.id,"&contract=").concat(o,"&dapp=").concat(a)},rc=e=>{var t,n;let{isDapper:r,childAccounts:o,openSearchFlowNFT:c,transferFormError:u,transferReceiver:d}=e;const{transferWalletSelected:h,setTransferWalletSelected:p,transferInvalidAddress:f,setTransferInvalidAddress:m,transferSuggestedAccounts:g,hasNftReceiver:v}=On(),C=(0,i.useRef)(null),y=(0,i.useRef)(null);(0,i.useEffect)((()=>{var e,t,n,r;if(u&&(u||f)&&(null!==C&&void 0!==C&&null!==(e=C.current)&&void 0!==e&&e.scrollIntoView))return void(null===C||void 0===C||null===(t=C.current)||void 0===t||t.scrollIntoView({behavior:"smooth"}));u&&(null!==C&&void 0!==C&&null!==(n=C.current)&&void 0!==n&&n.scrollIntoView&&(null===y||void 0===y||null===(r=y.current)||void 0===r||r.scrollIntoView({behavior:"smooth"})))}),[u]);const[,b,w]=(0,l.Mt)({name:"transferReceiver"}),{setValue:x}=w,{value:A}=b,E=nc(c),_=(0,i.useCallback)((async()=>{if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK)return;const e=await(0,Wt.verifyAddress)(d);m(!e)}),[d]);(0,i.useEffect)((()=>{""!=h&&A!==h?p(""):m(!1)}),[h,A]),(0,i.useEffect)((()=>{""!=d&&_()}),[_,A,d]);const S=(0,i.useMemo)((()=>Object.values(g||{}).reduce(((e,t)=>{if((null===c||void 0===c?void 0:c.owner)===t.address)return e;return!(null!==v&&void 0!==v&&v.apply(t))?{invalid:[t,...e.invalid],valid:e.valid}:{invalid:e.invalid,valid:[t,...e.valid]}}),{invalid:[],valid:[]})),[g,v]);return(0,a.jsx)(a.Fragment,{children:r?(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-base font-normal text-white",children:"NFTs in Dapper Wallet can only be transferred via Dapper's Inventory."}),(0,a.jsx)(s,{text:"VIEW IN DAPPER INVENTORY",variant:"secondary",btnSize:"small",onClick:()=>{window.open(E||"https://accounts.meetdapper.com/inventory","_blank")}})]}):(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-4",ref:C,children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"Recipient"}),(0,a.jsx)(Zt,{name:"transferReceiver",valueError:u&&f,inputError:u&&f,placeholder:"Enter Wallet Address",textLeft:!0,errorMessage:u&&f?"Address Not Found":null}),o&&(null===o||void 0===o?void 0:o.length)>0&&g&&(0,a.jsxs)("div",{className:"flex flex-col gap-3 p-3 bg-[#FFFFFF14] rounded-md",children:[(0,a.jsx)("p",{className:"text-white font-normal text-xs",children:"Linked Accounts"}),null===(t=S.valid)||void 0===t?void 0:t.map(((e,t)=>{var n,r;return(0,a.jsxs)("button",{onClick:()=>{if(h===(null===e||void 0===e?void 0:e.address))return p(""),void x("");p(null===e||void 0===e?void 0:e.address),x(null===e||void 0===e?void 0:e.address)},"data-testid":"transfer-wallet-checkbox",className:"border border-[#FFFFFF1F] bg-[#606E7D33] py-3 w-full flex rounded-md group px-2 cursor-pointer",children:[(0,a.jsx)("div",{className:"flex h-full justify-center items-center px-2",children:(0,a.jsx)("div",{className:"w-5 h-5 rounded-full border-2  border-neutral-700 hover:border-white  ".concat(h===(null===e||void 0===e?void 0:e.address)?"bg-primary border-none":"bg-transparent!"," flex items-center justify-center"),children:(0,a.jsx)("div",{className:"p-[0.25rem] rounded-full absolute ".concat(h===(null===e||void 0===e?void 0:e.address)?"bg-[#031021]":"bg-transparent")})})}),(0,a.jsxs)("div",{className:"flex flex-col px-3 py-1 items-start",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"leading-none text-sm font-bold text-white",children:(0,T.truncateString)(null===e||void 0===e||null===(n=e.display)||void 0===n?void 0:n.name,20)||(e.isMain?"Main Account":"Child Account")}),(0,a.jsx)("img",{src:null===e||void 0===e||null===(r=e.display)||void 0===r?void 0:r.thumbnail,alt:"Wallet",className:"h-6 w-6 rounded-lg mx-2"}),(0,a.jsx)(Yt,{isMainWallet:e.isMain})]}),(0,a.jsx)("div",{className:"text-xs mt-1 text-white",children:null===e||void 0===e?void 0:e.address})]})]},"valid-".concat(null===e||void 0===e?void 0:e.address,"-").concat(t))})),null===(n=S.invalid)||void 0===n?void 0:n.map(((e,t)=>{var n,r;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{"aria-disabled":!0,className:"cursor-not-allowed items-center opacity-50 border border-[#FFFFFF1F] bg-[#606E7D33] py-3 w-full flex rounded-md group px-2",children:[(0,a.jsx)("div",{className:"flex h-full justify-center items-center px-2",children:(0,a.jsx)("div",{className:"w-5 h-5 rounded-full border-2  border-neutral-700 hover:border-white  ".concat(h===(null===e||void 0===e?void 0:e.address)?"bg-primary border-none":"bg-transparent!"," flex items-center justify-center"),children:(0,a.jsx)("div",{className:"p-[0.25rem] rounded-full absolute ".concat(h===(null===e||void 0===e?void 0:e.address)?"bg-[#031021]":"bg-transparent")})})}),(0,a.jsxs)("div",{className:"flex flex-col px-3 py-1",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"leading-none text-sm font-bold text-white",children:(0,T.truncateString)(null===e||void 0===e||null===(n=e.display)||void 0===n?void 0:n.name,20)||(e.isMain?"Main Account":"Child Account")}),(0,a.jsx)("img",{src:null===e||void 0===e||null===(r=e.display)||void 0===r?void 0:r.thumbnail,alt:"Wallet",className:"h-6 w-6 rounded-lg mx-2"}),(0,a.jsx)(Yt,{isMainWallet:e.isMain})]}),(0,a.jsx)("div",{className:"text-xs mt-1 text-white",children:null===e||void 0===e?void 0:e.address})]})]}),t===S.invalid.length-1&&rn?(0,a.jsx)("div",{className:"w-full border-gray-500 h-8 text-danger text-xs grid place-items-center",children:rn}):null]},"invalid-".concat(null===e||void 0===e?void 0:e.address,"-").concat(t))}))]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-4 text-white font-normal",ref:y,children:(0,a.jsx)("p",{className:"text-xs text-white",children:"Note: Flowty is not responsible for any loss of assets or unexpected outcomes resulting from NFT transfers"})})]})})},ic=e=>{let{openSearchFlowNFT:t}=e;const n=nc(t);return(0,a.jsxs)("div",{className:"w-full flex flex-col py-4 px-3 justify-center text-white",children:[(0,a.jsx)("span",{className:"py-2 text-med font-bold",children:"Feature can only be accessed via a non-Dapper Wallet or using Account Linking"}),(0,a.jsx)("span",{className:"py-2 font-semibold text-sm md:text-nowrap",children:"Account Linking:"}),(0,a.jsx)(Zn,{size:"small",href:"https://flowty.substack.com/p/account-linking-on-flowty",text:"How to sign up for Account Linking"}),(0,a.jsx)("span",{className:"py-2 font-semibold text-sm md:text-nowrap",children:"Transfer to Non-Dapper Wallet:"}),(0,a.jsx)("span",{className:"py-2 text-xs md:text-nowrap",children:"Use button to transfer an NFT to non-Dapper Wallet via Dapper inventory"}),(0,a.jsx)("div",{className:"w-full flex justify-center pt-3",children:(0,a.jsx)(s,{text:"VIEW IN DAPPER INVENTORY",variant:"secondary",btnSize:"small",onClick:()=>{window.open(n||"https://accounts.meetdapper.com/inventory","_blank")}})})]})};const oc=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),ac=e=>{let{title:t,text:n}=e;return(0,a.jsxs)("div",{className:"w-full flex gap-3 justify-start items-center p-5 border border-warning bg-[#ffffff1a] rounded",children:[(0,a.jsx)(oc,{className:"w-[40px] h-[40px] text-warning"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-white",children:t}),(0,a.jsx)("p",{className:"text-xs font-normal text-white",children:n})]})]})};var sc=n(35032);const lc=T.SUPPORTED_TOKEN_LIST,cc=T.SUPPORTED_NON_DAPPER_TOKENS,uc=T.SUPPORTED_NON_DAPPER_TOKENS,dc=T.SUPPORTED_DAPPER_TOKENS,hc=[T.SupportedTokens.DUC],pc=(e,t)=>{switch(e){case"loan":case"rental":return cc;case"storefront":return t?dc:uc;case"offer":return t?hc:uc;default:return[]}};class fc{constructor(e){this.params=void 0,this.params=e}apply(e){var t,n;return!(null===e||void 0===e||null===(t=e.tokens)||void 0===t||null===(n=t[this.params.tokenIdentifier])||void 0===n||!n.receiverPath)||e.isMain}}const mc=e=>{let{name:t,selectedAccount:n,isDapper:r,orderType:o,flowty:a}=e;const s=r?T.SupportedTokens.DUC:T.SupportedTokens.USDC,[c]=(0,l.Mt)(t),u=(0,i.useMemo)((()=>n?lc.reduce(((e,t)=>({...e,[t]:new fc({tokenIdentifier:a.tokens.getTokenIdentifier(t)}).apply(n)&&pc(o,n.isDapper).includes(t)})),{}):{}),[n,o,r]);return(0,i.useEffect)((()=>{const e=lc.filter((e=>u[e]));if(e.includes(c.value))return;const n=e[0];c.onChange({target:{name:t,value:n}})}),[n,r]),(0,i.useEffect)((()=>{const e=lc.filter((e=>u[e]));if(!e.includes(c.value))if(r){const e=T.SupportedTokens.DUC;c.onChange({target:{name:t,value:e}})}else{const e=T.SupportedTokens.USDC;c.onChange({target:{name:t,value:e}})}}),[r]),{allTokens:lc,defaultToken:s,field:c,supportedTokensMap:u}},gc=e=>{let{name:t,selectedAccount:n,isDapper:r,orderType:i,flowty:o}=e;const{supportedTokensMap:s,field:l,defaultToken:c,allTokens:u}=mc({flowty:o,isDapper:r,name:t,orderType:i,selectedAccount:n});function d(e){return e===T.SupportedTokens.DUC?"Dapper Balance":e}return(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(sc.W,{value:l.value||c,onChange:e=>{l.onChange({target:{name:t,value:e}})},children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(sc.W.Button,{className:"w-full text-[12px] font-bold","data-testid":"token-selector",children:e=>{let{open:t}=e;return(0,a.jsxs)("div",{className:"w-full flex justify-between font-bold h-[37px] font-montserrat-bold bg-[#606E7D33] border border-[#FFFFFF1F] hover:bg-[#606E7D4D] rounded-md p-4 items-center group gap-2 text-[#F8F9FA] ".concat(t&&"border-[#FFFFFF7A]"),children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(Za,{token:l.value||c}),(0,a.jsx)("span",{className:"whitespace-nowrap font-bold font-montserrat-bold h-full flex justify-center items-center group-hover:text-white pl-2",children:d(l.value||c)})]}),(0,a.jsx)(U.A,{className:"h-7 w-7 transition-transform duration-300  ".concat(t&&"rotate-180 transform")})]})}}),(0,a.jsx)(sc.W.Options,{className:"absolute z-10 bg-[#232D39] rounded-md mt-1 text-[#F8F9FA] border border-[#FFFFFF7A] overflow-hidden w-full p-2 text-[12px] font-bold",children:u.map((e=>s[e]?(0,a.jsx)(sc.W.Option,{value:e,disabled:!1,className:"hover:bg-[#6C757D40] hover:text-white cursor-pointer transition-all ease-in-out duration-300 w-full py-1 flex flex-col items-end rounded-md",children:(0,a.jsxs)("div",{className:"flex w-full px-3 items-center","data-testid":"".concat(e,"-token-selector"),children:[(0,a.jsx)(Za,{token:e}),(0,a.jsx)("span",{className:"grow p-2 font-bold font-montserrat-bold text-nowrap",children:d(e)})]})},e):null))})]})})})},vc=()=>{(0,i.useEffect)((()=>{const e=e=>{e.preventDefault()},t=document.querySelectorAll('input[type="number"]');return t.forEach((t=>{t.addEventListener("wheel",e,{passive:!1})})),()=>{t.forEach((t=>{t.removeEventListener("wheel",e)}))}}),[])},Cc=e=>{let{name:t,inputError:n=!1,valueError:r=!1,placeholder:o,textLeft:s,disabled:c,validateFn:u,errorMessage:d,decimalsAllowed:h=!0,inputErrorRef:p,dataTestId:f,className:m,value:g,onChange:v,onFocus:C,min:y=0}=e;vc();(0,i.useEffect)((()=>{var e,t;r&&(null!==p&&void 0!==p&&null!==(e=p.current)&&void 0!==e&&e.scrollIntoView&&(null===p||void 0===p||null===(t=p.current)||void 0===t||t.scrollIntoView({behavior:"smooth"})))}),[r]);const b=null!==m&&void 0!==m?m:"h-[37px] w-full text-[14px] bg-[#606E7D33] border font-semibold justify-end rounded-md px-3 hover:bg-[#606E7D4D] focus:border-[#FFFFFF7A] focus:outline-none ".concat(n?"border-red-500 focus:border-red-500":"border-[#FFFFFF1F]","\n                ").concat(r?"text-[#FF6E25]":"text-white","\n                ").concat(s?"text-left":"text-right","\n                ").concat(c?"cursor-not-allowed border-none":"cursor-pointer"," \n                ");return(0,a.jsxs)("div",{className:"w-full relative",children:[(0,a.jsx)(l.D0,{"data-testid":null!==f&&void 0!==f?f:t,disabled:c,className:b,placeholder:o,name:t,type:"number",min:y,validate:u,onKeyDown:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.preventDefault(),h||"."!==e.key&&","!==e.key||e.preventDefault()},onFocus:C,...g&&{value:g},...v&&{onChange:v}}),(0,a.jsx)("p",{className:"w-full text-end text-[#FF6E25] text-xs leading-[15px] absolute whitespace-nowrap",children:d})]})},yc=()=>(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-[#FFFFFF14] rounded-lg p-3",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:"w-fit min-w-[18px]",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43135 2.78911C8.1195 1.56574 9.88088 1.56574 10.569 2.78911L15.5913 11.7176C16.2662 12.9175 15.3991 14.4001 14.0225 14.4001H3.97791C2.60123 14.4001 1.73414 12.9175 2.40908 11.7176L7.43135 2.78911ZM9.90011 11.7002C9.90011 12.1972 9.49717 12.6002 9.00011 12.6002C8.50305 12.6002 8.10011 12.1972 8.10011 11.7002C8.10011 11.2031 8.50305 10.8002 9.00011 10.8002C9.49717 10.8002 9.90011 11.2031 9.90011 11.7002ZM9.00011 4.50017C8.50305 4.50017 8.10011 4.90311 8.10011 5.40017V8.10017C8.10011 8.59723 8.50305 9.00017 9.00011 9.00017C9.49717 9.00017 9.90011 8.59723 9.90011 8.10017V5.40017C9.90011 4.90311 9.49717 4.50017 9.00011 4.50017Z",fill:"#FF6E25"})}),(0,a.jsx)("p",{className:"text-[12px] text-[#ADB5BD] leading-4",children:"Warning: You\u2019re listing for your child account. Delisting can only be done from the account that listed the NFT."})]}),bc=e=>{let{isDapper:t,accountSummaries:n,selectedAccount:r,setSelectedAccount:o,hasChildAccounts:s,loanFormValues:c,loanFormError:u,spotPrice:d,flowty:h}=e;const p=(0,i.useRef)(null),f="mainnet"===h.config.network,m=bn(f),g=xn(f);(0,i.useEffect)((()=>{var e,t;if(u&&(null!==p&&void 0!==p&&null!==(e=p.current)&&void 0!==e&&e.scrollIntoView))return void(null===p||void 0===p||null===(t=p.current)||void 0===t||t.scrollIntoView({behavior:"smooth"}))}),[u]);const{isChildAccountAsset:v,royaltyRate:C,listingType:y}=On(),[b]=(0,l.Mt)({name:"tokenType"}),[w]=(0,l.Mt)({name:"amountToBorrow"}),[x]=(0,l.Mt)({name:"amountToRepay"}),A=x.value-w.value,E=A>0?T.FLOWTY_INTEREST_FEE*A:0,_=(C||0)*w.value,S=w.value+(_+E),k=(null===c||void 0===c?void 0:c.amountToBorrow)<.1||(null===c||void 0===c?void 0:c.amountToBorrow)>Cn,P=(null===c||void 0===c?void 0:c.amountToRepay)<.1||(null===c||void 0===c?void 0:c.amountToRepay)>yn,D=Number(null===c||void 0===c?void 0:c.loanDuration)<m||""===(null===c||void 0===c?void 0:c.loanDuration)||Number(null===c||void 0===c?void 0:c.loanDuration)>365,N=Number(null===c||void 0===c?void 0:c.listingDuration)<g||""===(null===c||void 0===c?void 0:c.listingDuration)||Number(null===c||void 0===c?void 0:c.listingDuration)>An;return(0,a.jsx)("div",{className:"h-full",ref:p,children:(0,a.jsxs)("div",{className:"h-full flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[s&&"loan"===y&&(0,a.jsx)(en,{selected:r,setSelected:o,label:"Pay To",summaries:n,listingType:"loan",disabledMessage:tn}),s&&v&&(0,a.jsx)(yc,{}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Token Received"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(gc,{name:"tokenType",orderType:"loan",isDapper:t,selectedAccount:r,flowty:h})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Amount to Borrow"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(Cc,{name:"amountToBorrow",valueError:u&&k,inputError:u&&k,errorMessage:u&&k?"Between ".concat(an()(.1).format("$0,0.0")," and ").concat(an()(Cn).format("$0,0.00")):null})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Amount to Repay"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(Cc,{name:"amountToRepay",valueError:u&&((null===c||void 0===c?void 0:c.amountToRepay)<=(null===c||void 0===c?void 0:c.amountToBorrow)||P),inputError:u&&((null===c||void 0===c?void 0:c.amountToRepay)<=(null===c||void 0===c?void 0:c.amountToBorrow)||P),errorMessage:u&&P?"Between ".concat(an()(.1).format("$0,0.0")," and ").concat(an()(yn).format("$0,0.00")):u&&(null===c||void 0===c?void 0:c.amountToRepay)<=(null===c||void 0===c?void 0:c.amountToBorrow)?"Must be greater than borrowed amount":null})})]}),(0,a.jsxs)("div",{className:"w-full flex items-start",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Loan Duration"})}),(0,a.jsxs)("div",{className:"w-1/2 flex gap-3 items-center",children:[(0,a.jsx)(Cc,{name:"loanDuration",valueError:u&&D,inputError:u&&D,errorMessage:u&&D?"Between ".concat(m," and ").concat(365," days"):null}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(H,{items:[{addOn:(0,a.jsx)("div",{className:"flex items-start space-x-2",children:(0,a.jsx)(Ga,{price:Number(S),token:b.value,spotPriceValue:Number(S)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"lender-funds"})}),content:(0,a.jsxs)("div",{className:"text-xs text-neutral-500 font-montserrat",children:["The amount that a lender transfers to fund your loan."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-1",title:"Lender Funds"},{addOn:(0,a.jsxs)("div",{className:"flex items-start font-montserrat space-x-2",children:[(0,a.jsx)("span",{className:"font-bold",children:"-"}),(0,a.jsx)(Ga,{price:_,token:b.value,spotPriceValue:_*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"royaltyFee"})]}),badge:"Refundable",content:(0,a.jsxs)("div",{className:"text-xs text-neutral-500 font-montserrat",children:["If loan is repaid, royalty is returned to the lender. If the loan defaults, the royalty is transferred to the NFT creator."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-2",title:"Creator Royalty (".concat((100*(C||0)).toFixed(2),"%)")},{addOn:(0,a.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,a.jsx)("span",{className:"font-bold font-montserrat",children:"-"}),(0,a.jsx)(Ga,{price:E,token:b.value,spotPriceValue:E*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"flowtyFee"})]}),content:(0,a.jsxs)("div",{className:"text-xs text-neutral-500 font-montserrat",children:["A fee charged by Flowty for providing the services on the platform."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-3",title:"Flowty Fee"}]}),(0,a.jsx)("hr",{className:"border-[#495057]"}),(0,a.jsxs)("div",{className:"flex justify-between text-white pt-3",children:[(0,a.jsx)("p",{children:"If Funded, You'll Receive"}),(0,a.jsx)("div",{className:"flex flex-col items-end",children:(0,a.jsx)(Ga,{price:Number(w.value),token:b.value,spotPriceValue:Number(w.value)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"amountToBorrow"})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center mt-2 justify-between",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Listing Duration"})}),(0,a.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,a.jsx)("div",{className:"w-[9.125rem]",children:(0,a.jsx)(Cc,{name:"listingDuration",valueError:u&&N,inputError:u&&N,decimalsAllowed:En(vn),errorMessage:u&&N?"Between ".concat(g," and ").concat(An," days"):null})}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]})]})]})})},wc=e=>{let{listingDuration:t,text:n}=e;return t?(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"text-base font-semibold mt-6 text-white",children:["If Your ",n]}),(0,a.jsx)("div",{className:"flex flex-col mt-4",children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Your Listing Will Expire On"}),(0,a.jsxs)("p",{className:"text-sm font-bold text-white",children:[" ",(0,mn.tE)(t)]})]})})]})," "]}):null},xc=e=>{let{loanFormError:t,spotPrice:n,loanStep:r,listingDuration:o}=e;const s=(0,i.useRef)(null);(0,i.useEffect)((()=>{var e,n;t&&(null!==s&&void 0!==s&&null!==(e=s.current)&&void 0!==e&&e.scrollIntoView&&(null===s||void 0===s||null===(n=s.current)||void 0===n||n.scrollIntoView({behavior:"smooth"})))}),[t,r]);const[u]=(0,l.Mt)({name:"tokenType"}),[d]=(0,l.Mt)({name:"amountToBorrow"}),[h]=(0,l.Mt)({name:"amountToRepay"}),[p]=(0,l.Mt)({name:"loanDuration"});return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-4",ref:s,children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"If Your Loan is Funded"}),(0,a.jsxs)("div",{className:"flex flex-col mt-4 mb-6 gap-2",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"You'll Receive"}),(0,a.jsx)(Ga,{price:d.value,token:u.value,spotPriceValue:d.value*((null===n||void 0===n?void 0:n.value)||0)})]}),(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsxs)("p",{className:"text-sm font-normal text-white",children:["You'll Have"," ",(0,a.jsxs)("span",{className:"font-bold",children:[p.value," Days"]})," to Repay"]}),(0,a.jsx)(Ga,{price:h.value,token:u.value,spotPriceValue:h.value*((null===n||void 0===n?void 0:n.value)||0)})]})]}),(0,a.jsx)("hr",{className:"border-[#495057]"}),(0,a.jsx)(wc,{listingDuration:o,text:"Loan is Not Funded"})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 text-white font-normal",children:[(0,a.jsx)("p",{className:"text-xs text-white",children:"Note: Failure to fully repay this loan will lead to a loan default and forfeiture of collateral"}),(0,a.jsx)("div",{className:"flex flex-col gap-4",children:(0,a.jsx)(c,{label:(0,a.jsx)("span",{className:"text-[#ADB5BD]",children:"Enable automatic repayment if funds available"}),name:"loanEnableAutoRepayment",id:"loanEnableAutoRepayment"})})]})]})},Ac=e=>{let{isCatalog:t,isDapper:n,accountSummaries:r,selectedAccount:i,setSelectedAccount:o,hasChildAccounts:s,loanStep:l,loanFormValues:c,loanFormError:u,openSearchFlowNFT:d,flowty:h}=e;const{spotPrice:p,isParentDapper:f}=On();return(0,a.jsx)(a.Fragment,{children:t?!s&&n||f?(0,a.jsx)(ic,{openSearchFlowNFT:d}):(0,a.jsx)("div",{className:"w-full h-full flex flex-col justify-between",children:1===l?(0,a.jsx)(bc,{isDapper:n,hasChildAccounts:s,selectedAccount:i,setSelectedAccount:o,accountSummaries:r,loanFormValues:c,loanFormError:u,spotPrice:p,flowty:h}):(0,a.jsx)(xc,{loanFormError:u,spotPrice:p,loanStep:l,listingDuration:Number(c.listingDuration)})}):(0,a.jsx)(ac,{text:"Loan listings are not permitted for this NFT collection"})})},Ec=e=>{let{isDapper:t,accountSummaries:n,selectedAccount:r,setSelectedAccount:o,hasChildAccounts:s,rentData:c,rentFormError:u,flowty:d}=e;const h=(0,i.useRef)(null);(0,i.useEffect)((()=>{var e,t;u&&(null!==h&&void 0!==h&&null!==(e=h.current)&&void 0!==e&&e.scrollIntoView&&(null===h||void 0===h||null===(t=h.current)||void 0===t||t.scrollIntoView({behavior:"smooth"})))}),[u]);const[p]=(0,l.Mt)({name:"privateListingAddr"}),{isChildAccountAsset:f,privateRentInvalidAddress:m,setPrivateRentInvalidAddress:g,mainAccount:v,listingType:C,isMainnet:y}=On(),b=wn(y),w=xn(y),x=(0,i.useCallback)((async()=>{if(""!=p.value){const e=await(0,Wt.verifyAddress)(p.value);g(!e)}}),[p.value]);(0,i.useEffect)((()=>{p.value&&Boolean(p.value)&&p.value!==(null===v||void 0===v?void 0:v.address)?x():g(!1)}),[x,p.value]);const A=Number(null===c||void 0===c?void 0:c.term)<b||""===(null===c||void 0===c?void 0:c.term)||Number(null===c||void 0===c?void 0:c.term)>375,E=Number(null===c||void 0===c?void 0:c.rentalListingDuration)<w||void 0===(null===c||void 0===c?void 0:c.rentalListingDuration)||Number(null===c||void 0===c?void 0:c.rentalListingDuration)>An;return(0,a.jsx)("div",{className:"h-full",ref:h,children:(0,a.jsxs)("div",{className:"h-full flex flex-col justify-between gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[14px]",children:[s&&"rental"===C&&(0,a.jsx)(en,{selected:r,setSelected:o,label:"Pay To",summaries:n,listingType:"rental",disabledMessage:tn}),s&&f&&(0,a.jsx)(yc,{}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Token Received"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(gc,{name:"tokenType",orderType:"rental",isDapper:t,selectedAccount:r,flowty:d})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Rental Fee"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(Cc,{name:"rentalFee",valueError:u&&(Number(c.amount)<.01||""===c.amount||Number(c.amount)>5e4),inputError:u&&(Number(c.amount)<.01||""===c.amount||Number(c.amount)>5e4),errorMessage:u&&(Number(c.amount)<.01||""===c.amount||Number(c.amount)>5e4)?"Between $0.01 - $50000":null})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Refundable Deposit"})}),(0,a.jsx)("div",{className:"w-1/2 flex gap-3 items-center",children:(0,a.jsx)(Cc,{name:"refundableDeposit",valueError:u&&(Number(c.deposit)<.01||Number(c.deposit)>1e6||""===c.deposit),inputError:u&&(Number(c.deposit)<.01||Number(c.deposit)>1e6||""===c.deposit),errorMessage:u&&(Number(c.deposit)<.01||Number(c.deposit)>1e6||""===c.deposit)?"Between $0.01 - $1000000":null})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Rental Duration"})}),(0,a.jsxs)("div",{className:"w-1/2 flex gap-3 items-center",children:[(0,a.jsx)(Cc,{name:"rentalDuration",valueError:u&&A,inputError:u&&A,errorMessage:u&&A?"Between ".concat(b," and ").concat(375," days"):null}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[14px]",children:[(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Listing Duration"})}),(0,a.jsxs)("div",{className:"w-1/2 flex gap-3 items-center",children:[(0,a.jsx)(Cc,{name:"rentalListingDuration",valueError:u&&E,inputError:u&&E,decimalsAllowed:En(vn),errorMessage:u&&E?"Between ".concat(w," and ").concat(An," days"):null}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]}),(0,a.jsxs)("div",{className:"w-full flex items-center",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Private Listing"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(Zt,{name:"privateListingAddr",valueError:m,inputError:m,placeholder:"Wallet Address"})})]})]})]})})},_c=e=>{let{rentalFees:t,rentFormError:n,rentalListingDuration:r}=e;const o=(0,i.useRef)(null),s=(0,i.useRef)(null);(0,i.useEffect)((()=>{var e,t,r,i;n?null!==o&&void 0!==o&&null!==(e=o.current)&&void 0!==e&&e.scrollIntoView&&(null===o||void 0===o||null===(t=o.current)||void 0===t||t.scrollIntoView({behavior:"smooth"})):null!==s&&void 0!==s&&null!==(r=s.current)&&void 0!==r&&r.scrollIntoView&&(null===s||void 0===s||null===(i=s.current)||void 0===i||i.scrollIntoView({behavior:"smooth"}))}),[n,s]);const[c]=(0,l.Mt)({name:"tokenType"}),[u]=(0,l.Mt)({name:"privateListingAddr"}),{spotPrice:d}=On();return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between",ref:s,children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[40px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[18px]",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"Payout if Your NFT is Rented"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"text-sm text-white font-normal ml-1",children:"Rental Fee"}),(0,a.jsx)(Ga,{price:Number(t.rentalFee),token:c.value,spotPriceValue:Number(t.rentalFee)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"rentalFeeTooltip"})]}),(0,a.jsx)(H,{items:[{addOn:(0,a.jsxs)("div",{className:"flex items-start font-montserrat space-x-2",children:[(0,a.jsx)("span",{className:"font-bold",children:"-"}),(0,a.jsx)(Ga,{price:Number(t.rentalFeeRoyalty),token:c.value,spotPriceValue:Number(t.rentalFeeRoyalty)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"rentalListingCreatorRoyalty"})]}),content:(0,a.jsx)("div",{className:"text-xs text-neutral-500 font-montserrat",children:(0,a.jsxs)("p",{className:"text-gray text-sm font-normal ml-2",children:["Transferred directly to the creator of an NFT collection. This is not a Flowty fee."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]})}),id:"item-1",title:"Creator Royalty (".concat(Number(t.rentalFeeRoyalty).toFixed(2),"%)")},{addOn:(0,a.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,a.jsx)("span",{className:"font-bold font-montserrat",children:"-"}),(0,a.jsx)(Ga,{price:Number(t.flowtyFee),token:c.value,spotPriceValue:Number(t.flowtyFee)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"rentalListingFlowtyFee"})]}),content:(0,a.jsx)("div",{className:"text-xs text-neutral-500 font-montserrat",children:(0,a.jsxs)("p",{className:"text-gray text-sm font-normal ml-2",children:["A fee charged by Flowty for providing the services on the platform."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]})}),id:"item-2",title:"Flowty Fee (".concat(Number(t.flowtyFee).toFixed(2),"%)")}]}),(0,a.jsx)("hr",{className:"border-[#495057]"}),(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-white",children:"You'll Receive"}),(0,a.jsx)(Ga,{price:t.rentalFeeReceived,token:c.value,spotPriceValue:t.rentalFeeReceived*((null===d||void 0===d?void 0:d.value)||0)})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[18px]",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"Payout if Your NFT is Rented but not Returned"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"w-full flex items-start",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-sm text-white font-normal ml-1",children:"Refundable Deposit"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(Ga,{price:Number(t.refundableDeposit),token:c.value,spotPriceValue:Number(t.refundableDeposit)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"refundableDeposit"})})]}),(0,a.jsx)(H,{items:[{addOn:(0,a.jsxs)("div",{className:"flex items-start font-montserrat space-x-2",children:[(0,a.jsx)("span",{className:"font-bold",children:"-"}),(0,a.jsx)(Ga,{price:Number(t.rentalDepositRoyalty),token:c.value,spotPriceValue:Number(null===t||void 0===t?void 0:t.rentalDepositRoyalty)*((null===d||void 0===d?void 0:d.value)||0),toolTipCustomId:"rentalDepositRoyalty"})]}),badge:"Refundable",content:(0,a.jsxs)("div",{className:"text-xs text-neutral-500 font-montserrat",children:[(0,a.jsx)("p",{className:"text-gray text-sm font-normal ml-2",children:"Royalty on Refundable Deposit ONLY applies if a rented NFT is not returned."}),(0,a.jsxs)("p",{className:"text-gray text-sm font-normal ml-2",children:["Transferred directly to the creator of an NFT collection. This is not a Flowty fee."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]})]}),id:"item-1",title:"Creator Royalty (".concat(Number(t.rentalFeeRoyalty).toFixed(2),"%)")}]})]}),(0,a.jsx)("hr",{className:"border-[#495057]"}),(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-white ",children:"You'll Receive"}),(0,a.jsx)(Ga,{price:t.rentalDepositReceived,token:c.value,spotPriceValue:t.rentalDepositReceived*((null===d||void 0===d?void 0:d.value)||0)})]})]})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"text-sm text-white font-normal ml-1",children:"Your Listing Will Expire On"}),(0,a.jsx)("p",{className:"text-sm font-bold text-white",children:(0,mn.tE)(r)})]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-4 text-white font-normal",ref:o,children:u.value?(0,a.jsx)("div",{className:"py-2",children:(0,a.jsxs)("div",{className:"flex w-full justify-between text-sm md:text-lg bg-[#FFFFFF14] rounded-lg p-3",children:[(0,a.jsx)("span",{className:"text-sm md:text-base",children:"Private Listing Address:"}),(0,a.jsx)("span",{className:"text-sm md:text-base",children:u.value})]})}):null})]})},Tc=e=>{let{isCatalog:t,isDapper:n,accountSummaries:r,selectedAccount:o,setSelectedAccount:s,hasChildAccounts:c,rentStep:u,rentData:d,rentFormError:h,openSearchFlowNFT:p,flowty:f}=e;const[m]=(0,l.Mt)({name:"rentalFee"}),[g]=(0,l.Mt)({name:"refundableDeposit"}),{royaltyRate:v,isParentDapper:C}=On(),y=(0,i.useMemo)((()=>m.value*(v||0)),[m,v]),b=(0,i.useMemo)((()=>g.value*(v||0)),[g,v]),w=(0,i.useMemo)((()=>g.value-b),[g]),x=(0,i.useMemo)((()=>.05*m.value),[m]),A=(0,i.useMemo)((()=>m.value-(y+x)),[m]);return(0,a.jsx)(a.Fragment,{children:t?!c&&n||C?(0,a.jsx)(ic,{openSearchFlowNFT:p}):(0,a.jsx)("div",{className:"w-full h-full flex flex-col justify-between",children:1===u?(0,a.jsx)(Ec,{isDapper:n,hasChildAccounts:c,selectedAccount:o,setSelectedAccount:s,accountSummaries:r,rentData:d,rentFormError:h,flowty:f}):(0,a.jsx)(_c,{rentalFees:{flowtyFee:x,refundableDeposit:g.value,rentalDepositReceived:w,rentalDepositRoyalty:b,rentalFee:m.value,rentalFeeReceived:A,rentalFeeRoyalty:y},rentalListingDuration:Number(d.rentalListingDuration),rentFormError:h})}):(0,a.jsx)(ac,{text:"Rental listings are not permitted for this NFT collection"})})},Sc=e=>{var t,n,r,i;let{order:o}=e;return(0,a.jsxs)("div",{className:"w-full flex flex-col gap-3 justify-between mt-4",children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Rental Fee"}),(0,a.jsx)(Ga,{price:null===o||void 0===o?void 0:o.amount,token:null===o||void 0===o?void 0:o.paymentTokenName})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Refundable Deposit"}),(0,a.jsx)(Ga,{price:null===o||void 0===o?void 0:o.deposit,token:null===o||void 0===o?void 0:o.paymentTokenName})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Total Due Upfront"}),(0,a.jsx)(Ga,{price:Number(null===o||void 0===o?void 0:o.deposit)+Number(null===o||void 0===o?void 0:o.amount),token:null===o||void 0===o?void 0:o.paymentTokenName})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Duration"}),(0,a.jsx)("span",{className:"text-base text-white font-bold pr-1",children:sn(Number(null===o||void 0===o?void 0:o.term))})]}),(null===o||void 0===o||null===(t=o.valuations)||void 0===t||null===(n=t.aggregate)||void 0===n?void 0:n.depositToValueRatio)&&(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"DTV"}),(0,a.jsxs)("span",{className:"text-base text-white font-bold pr-1",children:[null===o||void 0===o||null===(r=o.valuations)||void 0===r||null===(i=r.aggregate)||void 0===i?void 0:i.depositToValueRatio,"X"]})]})]})},kc=e=>{var t,n;let{rentalOrder:r,selectedOrder:i}=e;const{isDelist:o,openSearchFlowNFT:s,updateSelectedOrder:l,orderFromChildAccount:c,isMainnet:u,collectionDisplayName:d}=On(),h=r?null===r||void 0===r||null===(t=r[0])||void 0===t?void 0:t.flowtyStorefrontAddress:null===i||void 0===i?void 0:i.flowtyStorefrontAddress;return(0,a.jsxs)("div",{className:"flex flex-col gap-3 h-full w-full md:w-[400px]",children:[r&&r.length>1?(0,a.jsxs)(a.Fragment,{children:[o.rent&&(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Rent listing will be removed from the marketplace."}),(0,a.jsx)(Jl,{updateSelectedOrder:l,orders:r,selectedOrder:i})]}):(0,a.jsxs)(a.Fragment,{children:[o.rent&&(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Rent listing will be removed from the marketplace."}),(0,a.jsx)(Sc,{order:i})]}),o.rent&&c&&(0,a.jsxs)("div",{className:"text-orange-500 text-sm font-normal py-2",children:["NFT was listed while connected with"," ".concat(h)," as Main. Please sign in with "," ".concat(h)," ","to delist."]}),!o.rent&&(0,a.jsx)(Ea,{nft:s,order:i,listingType:null!==(n=null===i||void 0===i?void 0:i.listingKind)&&void 0!==n?n:"rental",isMainnet:u,collectionDisplayName:d})]})},Pc=e=>{var t,n,r,i;let{storefrontOrder:o,selectedOrder:l}=e;const{isDelist:c,updateSelectedOrder:u,spotPrice:d,openSearchFlowNFT:h,hasOffer:p,acceptOffer:f,singleOrder:m,orderFromChildAccount:g,isMainnet:v,collectionDisplayName:C}=On(),y=o?null===o||void 0===o||null===(t=o[0])||void 0===t?void 0:t.flowtyStorefrontAddress:null===l||void 0===l?void 0:l.flowtyStorefrontAddress;return(0,a.jsxs)("div",{className:"flex flex-col gap-3 h-full w-full md:w-[400px] justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(null===o||void 0===o?void 0:o.length)>1?(0,a.jsxs)(a.Fragment,{children:[c.sale&&(0,a.jsx)("p",{className:"text-sm font-normal text-white",children:"Sale listing will be removed from the marketplace."}),(0,a.jsx)(Jl,{updateSelectedOrder:u,orders:o,selectedOrder:l})]}):(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between mt-4",children:[c.sale&&(0,a.jsx)("p",{className:"text-sm font-normal mb-4 text-white",children:"Sale listing will be removed from the marketplace."}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Purchase Price"}),(0,a.jsx)(Ga,{token:(null===o||void 0===o||null===(n=o[0])||void 0===n?void 0:n.paymentTokenName)||T.SupportedTokens.FLOW,price:(null===o||void 0===o||null===(r=o[0])||void 0===r?void 0:r.amount)||0,spotPriceValue:d?d.value*Number((null===o||void 0===o||null===(i=o[0])||void 0===i?void 0:i.amount)||0):void 0})]})]}),c.sale&&g&&(0,a.jsxs)("div",{className:"text-orange-500 text-sm font-normal py-2",children:["NFT was listed while connected with"," ".concat(y)," as Main. Please sign in with"," "," ".concat(y)," to delist."]}),!c.sale&&(0,a.jsx)(Ea,{isMainnet:v,nft:h,collectionDisplayName:C,order:l,listingType:"storefront"})]}),c.sale||!p||Boolean(m)?null:(0,a.jsx)(s,{onClick:f,text:"ACCEPT BEST OFFER",variant:"secondary",bgColor:"white",btnSize:"small"})]})};var Dc,Nc;function Fc(){return Fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fc.apply(null,arguments)}function Ic(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Fc({width:59,height:35,viewBox:"0 0 59 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Dc||(Dc=i.createElement("path",{d:"M29.5 35L3.95225 26L55.0477 26L29.5 35Z"})),Nc||(Nc=i.createElement("rect",{x:55,y:26,width:51,height:26,transform:"rotate(180 55 26)"})))}const Rc=i.forwardRef(Ic),Mc=(n.p,e=>{let{percent:t,source:n,tooltip:r=!1}=e;return t<5?null:(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsx)(Rc,{className:" fill-[#5308B2] drop-shadow-[0_0_2px_#5308B2]"}),(0,a.jsxs)("div",{className:"absolute top-[46%] left-[54%] transform -translate-x-1/2 -translate-y-1/2 text-white font-montserrat-bold font-bold",children:[t,"%"]}),r&&(0,a.jsx)("div",{onClick:e=>{e.stopPropagation()},className:"absolute hidden group-hover:block",children:(0,a.jsx)("div",{className:'relative -left-3/4 top-3 bg-[#F8F9FA] rounded-md min-w-[18rem] z-10 cursor-default before:content-[""] before:absolute before:border-[6px] before:border-transparent before:border-b-[#F8F9FA] before:bottom-full before:right-[10%]',children:(0,a.jsx)("div",{className:"p-[12px]",children:(0,a.jsxs)("p",{className:"text-sm font-normal text-black",children:["Listed Purchase Price is ",t,"% lower than Fair Market Value (FMV) per ",cn("".concat(n)),". FMV is an estimate and is not financial advice."]})})})})]})}),Oc=e=>{let{percent:t,source:n,isOffer:r=!1}=e;const i=un(n),o=cn(n);return t<5?null:(0,a.jsxs)("div",{className:"w-full p-[1.12rem] bg-[#ffffff] text-white bg-opacity-10 rounded-md flex items-center",children:[(0,a.jsx)("div",{className:"pr-3 height-[2.625rem]",children:(0,a.jsx)(Mc,{percent:t})}),(0,a.jsxs)("div",{className:"flex flex-col py-1",children:[(0,a.jsx)("div",{className:"text-xs font-bold pb-1 pr-3",children:"Discount to Fair Market Value (FMV)"}),(0,a.jsxs)("div",{className:"text-[0.6875rem] font-normal leading-normal",children:[r?"Your Offer":"Purchase Price"," is ",t,"% lower than FMV per"," ",(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:i,className:"text-primary",children:o}),". FMV is an estimate and is not financial advice. Tag only appears if discount is 5%+."]})]})]})},jc=e=>{let{value:t,source:n}=e;const r=un(n);return(0,a.jsxs)("div",{className:"w-full flex justify-between text-white text-[14px]",children:[(0,a.jsxs)("p",{className:"font-[400]",children:["FMV (Per"," ",(0,a.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",className:"text-primary cursor-pointer",children:n.toUpperCase()}),")"]}),(0,a.jsxs)("p",{className:"font-[700]",children:["$",t.toFixed(2)]})]})},Lc=e=>{var t,n;let{isDapper:r,accountSummaries:o,valuationData:c,saleListingError:u,orderData:d,flowty:h}=e;const p=(0,i.useRef)(null),f=(0,i.useRef)(null),m=Number(d.salePrice);(0,i.useEffect)((()=>{var e,t,n,r;u&&(m<=.01||m>1e7)?null!==p&&void 0!==p&&null!==(e=p.current)&&void 0!==e&&e.scrollIntoView&&(null===p||void 0===p||null===(t=p.current)||void 0===t||t.scrollIntoView({behavior:"smooth"})):u&&null!==p&&void 0!==p&&null!==(n=p.current)&&void 0!==n&&n.scrollIntoView&&(null===f||void 0===f||null===(r=f.current)||void 0===r||r.scrollIntoView({behavior:"smooth"}))}),[u]);const[g]=(0,l.Mt)({name:"tokenType"}),[v]=(0,l.Mt)({name:"saleListingValue"}),{saleFees:C,isChildAccountAsset:y,hasChildAccounts:b,selectedAccount:w,setSelectedAccount:x,spotPrice:A,hasOffer:E,acceptOffer:_,isLoadingValuation:T,isLoadingGetFees:S,isMainnet:k}=On(),P=xn(k),D=v.value,N=D&&null!==(t=Number(null===C||void 0===C?void 0:C.flowty))&&void 0!==t?t:0,F=D>0?N/D:0,I=D&&null!==(n=Number(null===C||void 0===C?void 0:C.royalties))&&void 0!==n?n:0,R=D>0?I/D:0,M=D-(I+N),O=Number(null===d||void 0===d?void 0:d.storefrontListingDuration)<P||void 0===(null===d||void 0===d?void 0:d.storefrontListingDuration)||Number(null===d||void 0===d?void 0:d.storefrontListingDuration)>An;return(0,a.jsx)("div",{className:"w-full h-full flex flex-col",ref:p,children:(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[b&&(0,a.jsx)(en,{selected:w,setSelected:x,label:"Pay To",summaries:o,listingType:"storefront",disabledMessage:tn,selectorFilter:new Xt({flowty:h,listingType:"storefront"})}),b&&y&&(0,a.jsx)(yc,{}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"Listing Price"}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(gc,{name:"tokenType",orderType:"storefront",isDapper:r,selectedAccount:w,flowty:h})}),(0,a.jsx)(Cc,{name:"saleListingValue",valueError:u&&(m<.01||m>1e7),inputError:u&&(m<.01||m>1e7),errorMessage:u&&(m<.01||m>1e7)?"Between 0.01 - 10000000":null})]})]}),(0,a.jsx)("div",{children:(0,a.jsx)(H,{items:[{addOn:(0,a.jsx)("div",{className:"flex items-start font-montserrat space-x-2",children:S?(0,a.jsx)("div",{className:"w-[60px] h-[15px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"font-bold",children:"-"}),(0,a.jsx)(Ga,{price:I,token:g.value,spotPriceValue:Number(null===A||void 0===A?void 0:A.value)*I,toolTipCustomId:"saleListingCreatorRoyalty"})]})}),content:(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat",children:["Transferred directly to the creator of an NFT collection. This is not a Flowty fee."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-1",title:"Creator Royalty (".concat((100*R).toFixed(2),"%)")},{addOn:(0,a.jsx)("div",{className:"flex items-start space-x-2",children:S?(0,a.jsx)("div",{className:"w-[60px] h-[15px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"font-bold font-montserrat",children:"-"}),(0,a.jsx)(Ga,{price:N,token:g.value,spotPriceValue:Number(null===A||void 0===A?void 0:A.value)*N,toolTipCustomId:"saleListingFlowtyFee"})]})}),content:(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat",children:["A fee charged by Flowty for providing the services on the platform."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]}),id:"item-2",title:"Flowty Fee (".concat((100*F).toFixed(2),"%)")}]})}),(0,a.jsx)("hr",{className:"border-[#495057]"}),(0,a.jsxs)("div",{className:"flex justify-between text-white text-sm font-normal ml-1",children:[(0,a.jsx)("p",{children:"You'll Receive"}),(0,a.jsx)("div",{className:"flex flex-col items-end",children:S?(0,a.jsx)("div",{className:"w-[60px] h-[15px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(Ga,{price:M,token:g.value,spotPriceValue:Number(null===A||void 0===A?void 0:A.value)*M,toolTipCustomId:"saleListingReceivedValue"})})]}),(0,a.jsxs)("div",{className:"w-full flex items-center mt-auto justify-between",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Listing Duration"})}),(0,a.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,a.jsx)("div",{className:"w-[9.125rem]",children:(0,a.jsx)(Cc,{name:"storefrontListingDuration",valueError:u&&O,inputError:u&&O,decimalsAllowed:En(vn),errorMessage:u&&O?"Between ".concat(P," and ").concat(An," days"):null})}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-6",ref:f,children:[T?(0,a.jsx)("div",{className:"w-full h-[28px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(a.Fragment,{children:null!==c&&void 0!==c&&c.usdValue?(0,a.jsx)(jc,{source:c.source,value:null===c||void 0===c?void 0:c.usdValue}):null}),null!==c&&void 0!==c&&c.percentage?(0,a.jsx)(Oc,{source:c.source,percent:(null===c||void 0===c?void 0:c.percentage)||0}):null,E?(0,a.jsx)(s,{onClick:_,text:"ACCEPT BEST OFFER",variant:"secondary",bgColor:"white",btnSize:"small"}):null]})]})})};var Bc;function Uc(){return Uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uc.apply(null,arguments)}function Vc(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Uc({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Bc||(Bc=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 9V7C5 4.23858 7.23858 2 10 2C12.7614 2 15 4.23858 15 7V9C16.1046 9 17 9.89543 17 11V16C17 17.1046 16.1046 18 15 18H5C3.89543 18 3 17.1046 3 16V11C3 9.89543 3.89543 9 5 9ZM13 7V9H7V7C7 5.34315 8.34315 4 10 4C11.6569 4 13 5.34315 13 7Z",fill:"#D8D8D8"})))}const Hc=i.forwardRef(Vc),zc=(n.p,()=>(0,a.jsx)("div",{className:"flex flex-col gap-3 w-full md:w-[400px] justify-between",children:(0,a.jsxs)("div",{className:"p-4 bg-[#FFFFFF] bg-opacity-10 w-full h-full rounded-md flex",children:[(0,a.jsx)("div",{className:"h-full pl-2",children:(0,a.jsx)(Hc,{className:"h-6 w-6"})}),(0,a.jsx)("div",{className:"w-full px-6",children:(0,a.jsxs)("div",{className:"leading-4",children:[(0,a.jsxs)("span",{className:"text-white text-xs font-normal",children:["Icon indicates that an NFT is"," "]}),(0,a.jsx)("span",{className:"text-white text-xs font-bold",children:"Locked"}),(0,a.jsxs)("span",{className:"text-white text-xs font-normal",children:[", meaning that a user cannot perform any Flowty actions on the NFT. This is usually an action taken by users on the NBA Top Shot platform",(0,a.jsx)("br",{})]})]})})]})}));var Zc=n(78394);const Wc=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Gc={};function Yc(e,t){return((t||Gc).jsx?qc:Wc).test(e)}const Kc=/[ \t\n\f\r]/g;function Qc(e){return""===e.replace(Kc,"")}var Xc=n(91814),Jc=n(43551),$c=n(1214),eu=n(61861),tu=n(73151);const nu=tu.default||tu,ru=ou("end"),iu=ou("start");function ou(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}function au(e){return e&&"object"===typeof e?"position"in e||"type"in e?lu(e.position):"start"in e||"end"in e?lu(e):"line"in e||"column"in e?su(e):"":""}function su(e){return cu(e&&e.line)+":"+cu(e&&e.column)}function lu(e){return su(e&&e.start)+"-"+su(e&&e.end)}function cu(e){return e&&"number"===typeof e?e:1}class uu extends Error{constructor(e,t,n){super(),"string"===typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"===typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=au(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"===typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}uu.prototype.file="",uu.prototype.name="",uu.prototype.reason="",uu.prototype.message="",uu.prototype.stack="",uu.prototype.column=void 0,uu.prototype.line=void 0,uu.prototype.ancestors=void 0,uu.prototype.cause=void 0,uu.prototype.fatal=void 0,uu.prototype.place=void 0,uu.prototype.ruleId=void 0,uu.prototype.source=void 0;const du={}.hasOwnProperty,hu=new Map,pu=/[A-Z]/g,fu=/-([a-z])/g,mu=new Set(["table","tbody","thead","tfoot","tr"]),gu=new Set(["td","th"]),vu="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Cu(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,i,o){const a=Array.isArray(i.children),s=iu(n);return t(r,i,o,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,i,o){const a=Array.isArray(i.children)?n:t;return o?a(r,i,o):a(r,i)}}(0,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Xc.JW:Xc.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},o=yu(i,e,void 0);return o&&"string"!==typeof o?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function yu(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=Xc.JW,e.schema=i);e.ancestors.push(t);const o=Eu(e,t.tagName,!1),a=function(e,t){const n={};let r,i;for(i in t.properties)if("children"!==i&&du.call(t.properties,i)){const o=Au(e,i,t.properties[i]);if(o){const[i,a]=o;e.tableCellAlignToStyle&&"align"===i&&"string"===typeof a&&gu.has(t.tagName)?r=a:n[i]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let s=xu(e,t);mu.has(t.tagName)&&(s=s.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&Qc(t.value):Qc(t));var t})));return bu(e,a,o,t),wu(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}_u(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.name&&"html"===r.space&&(i=Xc.JW,e.schema=i);e.ancestors.push(t);const o=null===t.name?e.Fragment:Eu(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const i=t.expression;i.type;const o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else _u(e,t.position);else{const i=r.name;let o;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,o=e.evaluater.evaluateExpression(t.expression)}else _u(e,t.position);else o=null===r.value||r.value;n[i]=o}return n}(e,t),s=xu(e,t);return bu(e,a,o,t),wu(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);_u(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return wu(r,xu(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function bu(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function wu(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function xu(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:hu;for(;++r<t.children.length;){const o=t.children[r];let a;if(e.passKeys){const e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){const t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}const s=yu(e,o,a);void 0!==s&&n.push(s)}return n}function Au(e,t,n){const r=(0,Jc.I)(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,Zc.A)(n):(0,eu.A)(n)),"style"===r.property){let t="object"===typeof n?n:function(e,t){const n={};try{nu(t,r)}catch(i){if(!e.ignoreInvalidStyle){const t=i,n=new uu("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=vu+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(fu,Su)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)du.call(e,n)&&(t[Tu(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?$c.H[r.property]||r.property:r.attribute,n]}}function Eu(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,i=-1;for(;++i<e.length;){const t=Yc(e[i])?{type:"Identifier",name:e[i]}:{type:"Literal",value:e[i]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(i&&"Literal"===t.type),optional:!1}:t}r=n}else r=Yc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return du.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);_u(e)}function _u(e,t){const n=new uu("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=vu+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Tu(e){let t=e.replace(pu,ku);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Su(e,t){return t.toUpperCase()}function ku(e){return"-"+e.toLowerCase()}const Pu={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Du={};function Nu(e,t){const n=t||Du;return Fu(e,"boolean"!==typeof n.includeImageAlt||n.includeImageAlt,"boolean"!==typeof n.includeHtml||n.includeHtml)}function Fu(e,t,n){if(function(e){return Boolean(e&&"object"===typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Iu(e.children,t,n)}return Array.isArray(e)?Iu(e,t,n):""}function Iu(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Fu(e[i],t,n);return r.join("")}function Ru(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Mu(e,t){return e.length>0?(Ru(e,e.length,0,t),e):t}class Ou{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=null===t||void 0===t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&ju(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ju(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ju(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);ju(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ju(this.left,t.reverse())}}}function ju(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Lu(e){const t={};let n,r,i,o,a,s,l,c=-1;const u=new Ou(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Bu(u,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=u.get(i),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},u.get(r)[1].start),a=u.slice(r,c),a.unshift(n),u.splice(r,c-r+1,a))}}return Ru(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function Bu(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,d,h=-1,p=n,f=0,m=0;const g=[m];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++h<s.length;)"exit"===s[h][0]&&"enter"===s[h-1][0]&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){const t=s.slice(g[h],g[h+1]),n=o.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}for(l.reverse(),h=-1;++h<l.length;)c[f+l[h][0]]=f+l[h][1],f+=l[h][1]-l[h][0]-1;return c}const Uu={}.hasOwnProperty;function Vu(e){const t={};let n=-1;for(;++n<e.length;)Hu(t,e[n]);return t}function Hu(e,t){let n;for(n in t){const r=(Uu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Uu.call(r,o)||(r[o]=[]);const e=i[o];zu(r[o],Array.isArray(e)?e:e?[e]:[])}}}function zu(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ru(e,0,0,r)}const Zu=nd(/[A-Za-z]/),Wu=nd(/[\dA-Za-z]/),qu=nd(/[#-'*+\--9=?A-Z^-~]/);function Gu(e){return null!==e&&(e<32||127===e)}const Yu=nd(/\d/),Ku=nd(/[\dA-Fa-f]/),Qu=nd(/[!-/:-@[-`{-~]/);function Xu(e){return null!==e&&e<-2}function Ju(e){return null!==e&&(e<0||32===e)}function $u(e){return-2===e||-1===e||32===e}const ed=nd(/\p{P}|\p{S}/u),td=nd(/\s/);function nd(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function rd(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if($u(r))return e.enter(n),a(r);return t(r)};function a(r){return $u(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const id={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),rd(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Xu(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const od={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&C();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}v(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return Ru(t.events,o+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(i){if(a===n.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return f(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ad,u,d)(i)}function u(e){return r&&C(),v(a),h(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,f(e)}function h(n){return t.containerState={},e.attempt(ad,p,f)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),h(e)}function f(n){return null===n?(r&&C(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):Xu(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;Ru(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function C(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ad={tokenize:function(e,t,n){return rd(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const sd={tokenize:function(e,t,n){return function(t){return $u(t)?rd(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Xu(e)?t(e):n(e)}},partial:!0};const ld={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):Xu(t)?e.check(cd,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Lu(e),e}},cd={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rd(e,i,"linePrefix")};function i(i){if(null===i||Xu(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const ud={tokenize:function(e){const t=this,n=e.attempt(sd,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,rd(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ld,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const dd={resolveAll:md()},hd=fd("string"),pd=fd("text");function fd(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:md("text"===e?gd:void 0)}}function md(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function gd(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"===typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function vd(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function Cd(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(e){Xu(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:C((function(e,t){y(e,t.from)})),check:C(v),interrupt:C(v,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"===typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(p(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,b()},write:function(e){if(a=Mu(a,e),m(),null!==a[a.length-1])return[];return y(t,0),u.events=vd(o,u.events,u),u.events}};let d,h=t.tokenize.call(u,c);return t.resolveAll&&o.push(t),u;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"===typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function f(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function m(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){l=void 0,d=e,h=h(e)}function v(e,t){t.restore()}function C(e,t){return function(n,i,o){let a,d,h,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?o:g(e[d])}function g(e){return function(n){p=function(){const e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,b()}}(),h=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return C(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,v,C)(n)}}function v(t){return l=!0,e(h,p),i}function C(e){return l=!0,p.restore(),++d<a.length?g(a[d]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&Ru(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const yd={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||Xu(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),$u(t)?rd(e,o,"whitespace")(t):o(t))}}};const bd={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:Yu(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(yd,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Yu(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(sd,r.interrupt?n:c,e.attempt(wd,d,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return $u(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(sd,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,rd(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!$u(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(xd,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,rd(e,e.attempt(bd,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},wd={tokenize:function(e,t,n){const r=this;return rd(e,(function(e){const i=r.events[r.events.length-1];return!$u(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},xd={tokenize:function(e,t,n){const r=this;return rd(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Ad={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return $u(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if($u(t))return rd(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(Ad,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Ed(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d;if(null===t||32===t||41===t||Gu(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t)};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||Xu(t)?n(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function f(i){return u||null!==i&&41!==i&&!Ju(i)?u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||Gu(i)?n(i):(e.consume(i),92===i?m:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function _d(e,t,n,r,i,o){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):Xu(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||Xu(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!$u(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Td(e,t,n,r,i,o){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):Xu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rd(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||Xu(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Sd(e,t){let n;return function r(i){if(Xu(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if($u(i))return rd(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function kd(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pd={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return _d.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=kd(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Ju(t)?Sd(e,s)(t):s(t)}function s(t){return Ed(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Dd,c,c)(t)}function c(t){return $u(t)?rd(e,u,"whitespace")(t):u(t)}function u(o){return null===o||Xu(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Dd={tokenize:function(e,t,n){return function(t){return Ju(t)?Sd(e,r)(t):n(t)};function r(t){return Td(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return $u(t)?rd(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Xu(e)?t(e):n(e)}},partial:!0};const Nd={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),rd(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):Xu(t)?e.attempt(Fd,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Xu(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},Fd={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Xu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):rd(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Xu(e)?i(e):n(e)}},partial:!0};const Id={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||Ju(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Xu(n)?(e.exit("atxHeading"),t(n)):$u(n)?rd(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||Ju(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},Ru(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Rd={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),$u(t)?rd(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Xu(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Md=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Od=["pre","script","style","textarea"],jd={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,p):63===s?(e.consume(s),i=3,r.interrupt?t:R):Zu(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(o){return 45===o?(e.consume(o),i=2,d):91===o?(e.consume(o),i=5,s=0,h):Zu(o)?(e.consume(o),i=4,r.interrupt?t:R):n(o)}function d(i){return 45===i?(e.consume(i),r.interrupt?t:R):n(i)}function h(i){const o="CDATA[";return i===o.charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:T:h):n(i)}function p(t){return Zu(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||Ju(s)){const l=47===s,c=a.toLowerCase();return l||o||!Od.includes(c)?Md.includes(a.toLowerCase())?(i=6,l?(e.consume(s),m):r.interrupt?t(s):T(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):v(s)):(i=1,r.interrupt?t(s):T(s))}return 45===s||Wu(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:T):n(i)}function g(t){return $u(t)?(e.consume(t),g):E(t)}function v(t){return 47===t?(e.consume(t),E):58===t||95===t||Zu(t)?(e.consume(t),C):$u(t)?(e.consume(t),v):E(t)}function C(t){return 45===t||46===t||58===t||95===t||Wu(t)?(e.consume(t),C):y(t)}function y(t){return 61===t?(e.consume(t),b):$u(t)?(e.consume(t),y):v(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):$u(t)?(e.consume(t),b):x(t)}function w(t){return t===l?(e.consume(t),l=null,A):null===t||Xu(t)?n(t):(e.consume(t),w)}function x(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Ju(t)?y(t):(e.consume(t),x)}function A(e){return 47===e||62===e||$u(e)?v(e):n(e)}function E(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||Xu(t)?T(t):$u(t)?(e.consume(t),_):n(t)}function T(t){return 45===t&&2===i?(e.consume(t),D):60===t&&1===i?(e.consume(t),N):62===t&&4===i?(e.consume(t),M):63===t&&3===i?(e.consume(t),R):93===t&&5===i?(e.consume(t),I):!Xu(t)||6!==i&&7!==i?null===t||Xu(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),T):(e.exit("htmlFlowData"),e.check(Ld,O,S)(t))}function S(t){return e.check(Bd,k,O)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||Xu(t)?S(t):(e.enter("htmlFlowData"),T(t))}function D(t){return 45===t?(e.consume(t),R):T(t)}function N(t){return 47===t?(e.consume(t),a="",F):T(t)}function F(t){if(62===t){const n=a.toLowerCase();return Od.includes(n)?(e.consume(t),M):T(t)}return Zu(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),F):T(t)}function I(t){return 93===t?(e.consume(t),R):T(t)}function R(t){return 62===t?(e.consume(t),M):45===t&&2===i?(e.consume(t),R):T(t)}function M(t){return null===t||Xu(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),M)}function O(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ld={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(sd,t,n)}},partial:!0},Bd={tokenize:function(e,t,n){const r=this;return function(t){if(Xu(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ud={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Vd={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),$u(t)?rd(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(i++,e.consume(t),u):i>=s?(e.exit("codeFencedFenceSequence"),$u(t)?rd(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||Xu(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),$u(t)?rd(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Xu(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ud,p,C)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Xu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):$u(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),rd(e,d,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function d(t){return null===t||Xu(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||Xu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),h)}function p(t){return e.attempt(i,C,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&$u(t)?rd(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Xu(t)?e.check(Ud,p,C)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Xu(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function C(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var Hd=n(87566);const zd={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=Wu,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Ku,c):(e.enter("characterReferenceValue"),i=7,o=Yu,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==Wu||(0,Hd.s)(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++<i?(e.consume(s),c):n(s)}}};const Zd={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Qu(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Wd={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),rd(e,t,"linePrefix")}}};const qd={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){if(!i)return n(t);if(i._inactive)return u(t);return o=r.parser.defined.includes(kd(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s};function s(t){return 40===t?e.attempt(Gd,c,o?c:u)(t):91===t?e.attempt(Yd,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(Kd,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=Mu(o,e.slice(r+1,r+s+3)),o=Mu(o,[["enter",u,t]]),o=Mu(o,vd(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=Mu(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=Mu(o,e.slice(i+1)),o=Mu(o,[["exit",l,t]]),Ru(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Gd={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Ju(t)?Sd(e,i)(t):i(t)}function i(t){return 41===t?c(t):Ed(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return Ju(t)?Sd(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?Td(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return Ju(t)?Sd(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Yd={tokenize:function(e,t,n){const r=this;return function(t){return _d.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(kd(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Kd={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Qd={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:qd.resolveAll};function Xd(e){return null===e||Ju(e)||td(e)?1:ed(e)?2:void 0}const Jd={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Xd(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=Xd(s),u=!c||2===c&&i||n.includes(s),d=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!d)),l._close=Boolean(42===o?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,i,o,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),h=Object.assign({},e[u][1].start);$d(d,-s),$d(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:h},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Mu(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Mu(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=Mu(l,vd(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Mu(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Mu(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Ru(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function $d(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const eh={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return Zu(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(e){return 43===e||45===e||46===e||Wu(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||Wu(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Gu(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):qu(t)?(e.consume(t),l):n(t)}function c(e){return Wu(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Wu(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}};const th={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),C):Zu(t)?(e.consume(t),A):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,p):Zu(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):Xu(t)?(a=u,F(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?N(e):45===e?d(e):u(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),6===o?f:p):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):Xu(t)?(a=f,F(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?N(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?N(t):Xu(t)?(a=v,F(t)):(e.consume(t),v)}function C(t){return null===t?n(t):63===t?(e.consume(t),y):Xu(t)?(a=C,F(t)):(e.consume(t),C)}function y(e){return 62===e?N(e):C(e)}function b(t){return Zu(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||Wu(t)?(e.consume(t),w):x(t)}function x(t){return Xu(t)?(a=x,F(t)):$u(t)?(e.consume(t),x):N(t)}function A(t){return 45===t||Wu(t)?(e.consume(t),A):47===t||62===t||Ju(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),N):58===t||95===t||Zu(t)?(e.consume(t),_):Xu(t)?(a=E,F(t)):$u(t)?(e.consume(t),E):N(t)}function _(t){return 45===t||46===t||58===t||95===t||Wu(t)?(e.consume(t),_):T(t)}function T(t){return 61===t?(e.consume(t),S):Xu(t)?(a=T,F(t)):$u(t)?(e.consume(t),T):E(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,k):Xu(t)?(a=S,F(t)):$u(t)?(e.consume(t),S):(e.consume(t),P)}function k(t){return t===i?(e.consume(t),i=void 0,D):null===t?n(t):Xu(t)?(a=k,F(t)):(e.consume(t),k)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Ju(t)?E(t):(e.consume(t),P)}function D(e){return 47===e||62===e||Ju(e)?E(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function F(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return $u(t)?rd(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),a(t)}}};const nh={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:qd.resolveAll};const rh={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Xu(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const ih={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):Xu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Xu(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const oh={42:bd,43:bd,45:bd,48:bd,49:bd,50:bd,51:bd,52:bd,53:bd,54:bd,55:bd,56:bd,57:bd,62:Ad},ah={91:Pd},sh={[-2]:Nd,[-1]:Nd,32:Nd},lh={35:Id,42:yd,45:[Rd,yd],60:jd,61:Rd,95:yd,96:Vd,126:Vd},ch={38:zd,92:Zd},uh={[-5]:Wd,[-4]:Wd,[-3]:Wd,33:Qd,38:zd,42:Jd,60:[eh,th],91:nh,92:[rh,Zd],93:qd,95:Jd,96:ih},dh={null:[Jd,dd]},hh={null:[42,95]},ph={null:[]};const fh=/[\0\t\n\r]/g;function mh(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gh=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vh(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mh(n.slice(t?2:1),t?16:10)}return(0,Hd.s)(n)||e}const Ch={}.hasOwnProperty;function yh(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:_,autolinkEmail:_,atxHeading:o(X),blockQuote:o(q),characterEscape:_,characterReference:_,codeFenced:o(G),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(G,a),codeText:o(Y,a),codeTextData:_,data:_,codeFlowValue:_,definition:o(K),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Q),hardBreakEscape:o(J),hardBreakTrailing:o(J),htmlFlow:o($,a),htmlFlowData:_,htmlText:o($,a),htmlTextData:_,image:o(ee),label:a,link:o(te),listItem:o(re),listItemValue:h,listOrdered:o(ne,d),listUnordered:o(ne),paragraph:o(ie),reference:B,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(X),strong:o(oe),thematicBreak:o(se)},exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:W,autolinkProtocol:Z,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:H,characterReference:z,codeFenced:l(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:f,codeFlowValue:T,codeIndented:l(v),codeText:l(N),codeTextData:T,data:T,definition:l(),definitionDestinationString:b,definitionLabelString:C,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(k),hardBreakTrailing:l(k),htmlFlow:l(P),htmlFlowData:T,htmlText:l(D),htmlTextData:T,image:l(I),label:M,labelText:R,lineEnding:S,link:l(F),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:U,resourceDestinationString:O,resourceTitleString:j,resource:L,setextHeading:l(E),setextHeadingLineSequence:A,setextHeadingText:x,strong:l(),thematicBreak:l()}};wh(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:a,resume:u,data:n},l=[];let d=-1;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{d=i(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]];Ch.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},o),e[d][1])}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||Ah).call(o,void 0,e[0])}for(r.position={start:bh(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:bh(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r,i,o,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=c,n}function o(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:bh(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+au({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||Ah).call(this,e,r[0])}n.position.end=bh(e.end)}function u(){return Nu(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function h(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function f(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function C(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=kd(this.sliceSerialize(e)).toLowerCase()}function y(){const e=this.resume();this.stack[this.stack.length-1].title=e}function b(){const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function _(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ae(),n.position={start:bh(e.start),end:void 0},t.push(n)),this.stack.push(n)}function T(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=bh(e.end)}function S(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=bh(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(_.call(this,e),T.call(this,e))}function k(){this.data.atHardBreak=!0}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function N(){const e=this.resume();this.stack[this.stack.length-1].value=e}function F(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(gh,vh)}(t),n.identifier=kd(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function O(){const e=this.resume();this.stack[this.stack.length-1].url=e}function j(){const e=this.resume();this.stack[this.stack.length-1].title=e}function L(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function U(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=kd(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function V(e){this.data.characterReferenceType=e.type}function H(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=mh(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=(0,Hd.s)(t)}this.stack[this.stack.length-1].value+=r}function z(e){this.stack.pop().position.end=bh(e.end)}function Z(e){T.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){T.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function q(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:0,children:[]}}function J(){return{type:"break"}}function $(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",title:null,url:"",children:[]}}function ne(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ie(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Lu(e););return e}(function(e){const t={defined:[],lazy:{},constructs:Vu([r,...(e||{}).extensions||[]]),content:n(id),document:n(od),flow:n(ud),string:n(hd),text:n(pd)};return t;function n(e){return function(n){return Cd(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,d,h;for(i=n+("string"===typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(fh.lastIndex=u,l=fh.exec(i),d=l&&void 0!==l.index?l.index:i.length,h=i.charCodeAt(d),!l){n=i.slice(u);break}if(10===h&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(i.slice(u,d)),t+=d-u),h){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function bh(e){return{line:e.line,column:e.column,offset:e.offset}}function wh(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?wh(e,r):xh(e,r)}}function xh(e,t){let n;for(n in t)if(Ch.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ah(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+au({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+au({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+au({start:t.start,end:t.end})+") is still open")}function Eh(e){const t=this;t.parser=function(n){return yh(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const _h="object"===typeof self?self:globalThis,Th=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);const[o,a]=t[i];switch(o){case 0:case-1:return n(a,i);case 1:{const e=n([],i);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},i);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{const e=n(new Map,i);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,i);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new _h[e](t),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new _h[o](a),i)};return r})(new Map,e)(0),Sh="",{toString:kh}={},{keys:Ph}=Object,Dh=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=kh.call(e).slice(8,-1);switch(n){case"Array":return[1,Sh];case"Object":return[2,Sh];case"Date":return[3,Sh];case"RegExp":return[4,Sh];case"Map":return[5,Sh];case"Set":return[6,Sh]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Nh=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},Fh=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,s]=Dh(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([a,t],r)}case 1:{if(s)return i([s,[...r]],r);const e=[],t=i([a,e],r);for(const n of r)e.push(o(n));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],l=i([a,n],r);for(const t of Ph(r))!e&&Nh(Dh(r[t]))||n.push([o(t),o(r[t])]);return l}case 3:return i([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return i([a,{source:e,flags:t}],r)}case 5:{const t=[],n=i([a,t],r);for(const[i,a]of r)(e||!Nh(Dh(i))&&!Nh(Dh(a)))&&t.push([o(i),o(a)]);return n}case 6:{const t=[],n=i([a,t],r);for(const i of r)!e&&Nh(Dh(i))||t.push(o(i));return n}}const{message:l}=r;return i([a,{name:s,message:l}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},Ih="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Th(Fh(e,t)):structuredClone(e):(e,t)=>Th(Fh(e,t));function Rh(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&Wu(e.charCodeAt(n+1))&&Wu(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="\ufffd"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Mh(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Oh(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const jh=function(e){if(null===e||void 0===e)return Bh;if("function"===typeof e)return Lh(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=jh(e[n]);return Lh(r);function r(){let e=-1;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;)if(t[e].apply(this,r))return!0;return!1}}(e):function(e){const t=e;return Lh(n);function n(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0}}(e);if("string"===typeof e)return function(e){return Lh(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Lh(e){return function(t,n,r){return Boolean(Uh(t)&&e.call(this,t,"number"===typeof n?n:void 0,r||void 0))}}function Bh(){return!0}function Uh(e){return null!==e&&"object"===typeof e&&"type"in e}const Vh=[],Hh=!0,zh=!1,Zh="skip";function Wh(e,t,n,r){let i;"function"===typeof t&&"function"!==typeof n?(r=n,n=t):i=t;const o=jh(i),a=r?-1:1;!function e(i,s,l){const c=i&&"object"===typeof i?i:{};if("string"===typeof c.type){const e="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,h=Vh;if((!t||o(i,s,l[l.length-1]||void 0))&&(h=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[Hh,e];return null===e||void 0===e?Vh:[e]}(n(i,l)),h[0]===zh))return h;if("children"in i&&i.children){const t=i;if(t.children&&h[0]!==Zh)for(u=(r?t.children.length:-1)+a,d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===zh)return c;u="number"===typeof c[1]?c[1]:u+a}}return h}}(e,void 0,[])()}function qh(e,t,n,r){let i,o,a;"function"===typeof t&&"function"!==typeof n?(o=void 0,a=t,i=n):(o=t,a=n,i=r),Wh(e,o,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)}),i)}function Gh(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function Yh(e){const t=e.spread;return null===t||void 0===t?e.children.length>1:t}var Kh=n(44106);const Qh={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Rh(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=o+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Gh(e,t);const i={src:Rh(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Rh(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Gh(e,t);const i={href:Rh(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Rh(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Yh(n[r])}return t}(n):Yh(t),o={},a=[];if("boolean"===typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=iu(t.children[1]),a=ru(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:(0,Kh.E)(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Xh,yaml:Xh,definition:Xh,footnoteDefinition:Xh};function Xh(){}const Jh={}.hasOwnProperty,$h={};function ep(e,t){e.position&&(t.position=function(e){const t=iu(e),n=ru(e);if(t&&n)return{start:t,end:n}}(e))}function tp(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;if("string"===typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&i&&Object.assign(n.properties,Ih(i)),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function np(e,t){const n=t.data||{},r=!("value"in t)||Jh.call(n,"hProperties")||Jh.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function rp(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ip(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function op(e,t){const n=function(e,t){const n=t||$h,r=new Map,i=new Map,o=new Map,a={...Qh,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ip(i.value)),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=ip(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:tp,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=s.handlers[n];if(Jh.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Ih(n);return r.children=s.all(e),r}return Ih(e)}return(s.options.unknownHandler||np)(s,e,t)},options:n,patch:ep,wrap:rp};return qh(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),i=function(e){const t="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Mh,r=e.options.footnoteBackLabel||Oh,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;const o=e.all(i),a=String(i.identifier).toUpperCase(),c=Rh(a.toLowerCase());let u=0;const d=[],h=e.footnoteCounts.get(a);for(;void 0!==h&&++u<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"===typeof n?n:n(l,u);"string"===typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else o.push(...d);const f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(i,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Ih(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function ap(e,t){return e&&"run"in e?async function(n,r){const i=op(n,{file:r,...t});await e.run(i,r)}:function(n,r){return op(n,{file:r,...t||e})}}var sp=n(16e3),lp=n(98043);function cp(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var up=n(27841);const dp={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');hp(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(hp(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){hp(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++t<r.length;)hp(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":function(e){hp(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function hp(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const pp={cwd:function(){return"/"}};function fp(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function mp(e){if("string"===typeof e)e=new URL(e);else if(!fp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const gp=["history","path","basename","stem","extname","dirname"];class vp{constructor(e){let t;t=e?fp(e)?{path:e}:"string"===typeof e||function(e){return Boolean(e&&"object"===typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=pp.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<gp.length;){const e=gp[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)gp.includes(n)||(this[n]=t[n])}get basename(){return"string"===typeof this.path?dp.basename(this.path):void 0}set basename(e){yp(e,"basename"),Cp(e,"basename"),this.path=dp.join(this.dirname||"",e)}get dirname(){return"string"===typeof this.path?dp.dirname(this.path):void 0}set dirname(e){bp(this.basename,"dirname"),this.path=dp.join(e||"",this.basename)}get extname(){return"string"===typeof this.path?dp.extname(this.path):void 0}set extname(e){if(Cp(e,"extname"),bp(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=dp.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){fp(e)&&(e=mp(e)),yp(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"===typeof this.path?dp.basename(this.path,this.extname):void 0}set stem(e){yp(e,"stem"),Cp(e,"stem"),this.path=dp.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new uu(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"===typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function Cp(e,t){if(e&&e.includes(dp.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+dp.sep+"`")}function yp(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function bp(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const wp=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},xp={}.hasOwnProperty;class Ap extends wp{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=(0,up.S)()}copy(){const e=new Ap;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(lp(!0,{},this.namespace)),e}data(e,t){return"string"===typeof e?2===arguments.length?(Sp("data",this.frozen),this.namespace[e]=t,this):xp.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Sp("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"===typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Dp(e),n=this.parser||this.Parser;return _p("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),_p("process",this.parser||this.Parser),Tp("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const o=Dp(e),a=n.parse(o);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(a,o,(function(e,t,r){if(e||!t||!r)return s(e);const i=t,o=n.stringify(i,r);var a;"string"===typeof(a=o)||function(e){return Boolean(e&&"object"===typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=o:r.result=o,s(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),_p("processSync",this.parser||this.Parser),Tp("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,(0,sp.V)(e),t=r})),Pp("processSync","process",n),t}run(e,t,n){kp(e),this.freeze();const r=this.transformers;return n||"function"!==typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const a=Dp(t);r.run(e,a,(function(t,r,a){const s=r||e;t?o(t):i?i(s):n(void 0,s,a)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){(0,sp.V)(e),n=t,r=!0})),Pp("runSync","run",r),n}stringify(e,t){this.freeze();const n=Dp(t),r=this.compiler||this.Compiler;return Tp("stringify",r),kp(e),r(e,n)}use(e){const t=this.attachers,n=this.namespace;if(Sp("use",this.frozen),null===e||void 0===e);else if("function"===typeof e){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];c(e,i)}else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}return this;function a(e){if("function"===typeof e)c(e,[]);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,n)}else s(e)}}function s(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(n.settings=lp(!0,n.settings,e.settings))}function l(e){let t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){a(e[t])}}}function c(e,n){let r=-1,i=-1;for(;++r<t.length;)if(t[r][0]===e){i=r;break}if(-1===i)t.push([e,...n]);else if(n.length>0){let[r,...o]=n;const a=t[i][1];cp(a)&&cp(r)&&(r=lp(!0,a,r)),t[i]=[e,r,...o]}}}}const Ep=(new Ap).freeze();function _p(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Tp(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Sp(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function kp(e){if(!cp(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Pp(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Dp(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new vp(e)}const Np=[],Fp={allowDangerousHtml:!0},Ip=/^(https?|ircs?|mailto|xmpp)$/i,Rp=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Mp(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,l=e.rehypePlugins||Np,c=e.remarkPlugins||Np,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Fp}:Fp,d=e.skipHtml,h=e.unwrapDisallowed,p=e.urlTransform||Op,f=Ep().use(Eh).use(c).use(ap,u).use(l),m=new vp;"string"===typeof r&&(m.value=r);for(const a of Rp)Object.hasOwn(e,a.from)&&(a.from,a.to&&a.to,a.id);const g=f.parse(m);let v=f.runSync(g,m);return i&&(v={type:"element",tagName:"div",properties:{className:i},children:"root"===v.type?v.children:[v]}),qh(v,(function(e,r,i){if("raw"===e.type&&i&&"number"===typeof r)return d?i.children.splice(r,1):i.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in Pu)if(Object.hasOwn(Pu,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Pu[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=p(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!o&&n&&"number"===typeof r&&(o=!n(e,r,i)),o&&i&&"number"===typeof r)return h&&e.children?i.children.splice(r,1,...e.children):i.children.splice(r,1),r}})),Cu(v,{Fragment:a.Fragment,components:o,ignoreInvalidStyle:!0,jsx:a.jsx,jsxs:a.jsxs,passKeys:!0,passNode:!0})}function Op(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||Ip.test(e.slice(0,t))?e:""}var jp=n(50768);function Lp(e,t,n){const r=jh((n||{}).ignore||[]),i=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([Bp(e[0]),Up(e[1])])}return t}(t);let o=-1;for(;++o<i.length;)Wh(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=i[o][0],a=i[o][1];let s=0;const l=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,i={index:d.index,input:d.input,stack:[...t,e]};let o=a(...d,i);if("string"===typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e];return l+u.length}(e,t)}}function Bp(e){return"string"===typeof e?new RegExp(function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Up(e){return"function"===typeof e?e:function(){return e}}const Vp="phrasing",Hp=["autolink","link","image","label"];function zp(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Zp(e){this.config.enter.autolinkProtocol.call(this,e)}function Wp(e){this.config.exit.autolinkProtocol.call(this,e)}function qp(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Gp(e){this.config.exit.autolinkEmail.call(this,e)}function Yp(e){this.exit(e)}function Kp(e){Lp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Qp],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Xp]],{ignore:["link","linkReference"]})}function Qp(e,t,n,r,i){let o="";if(!Jp(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=(0,jp.D)(e,"(");let o=(0,jp.D)(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Xp(e,t,n,r){return!(!Jp(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Jp(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||td(n)||ed(n))&&(!t||47!==n)}function $p(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ef(){this.buffer()}function tf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=kd(this.sliceSerialize(e)).toLowerCase()}function nf(e){this.exit(e)}function rf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function of(){this.buffer()}function af(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=kd(this.sliceSerialize(e)).toLowerCase()}function sf(e){this.exit(e)}function lf(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}function cf(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(e,i.current()),uf)),a(),o}function uf(e,t,n){return 0===t?e:(n?"":"    ")+e}lf.peek=function(){return"["};const df=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function hf(e){this.enter({type:"delete",children:[]},e)}function pf(e){this.exit(e)}function ff(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}ff.peek=function(){return"~"};var mf=n(55744);function gf(e,t,n){return">"+(n?"":" ")+e}function vf(e,t,n){if("string"===typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Cf(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&(o=n.stack,a=n.unsafe[i],vf(o,a.inConstruct,!0)&&!vf(o,a.notInConstruct,!1)))return/[ \t]/.test(r.before)?"":" ";var o,a;return"\\\n"}function yf(e,t,n){return(n?"":"    ")+e}function bf(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function wf(e,t,n,r){const i=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),a=n.createTracker(r);let s=a.move(i);return s+=a.move(n.containerPhrasing(e,{before:s,after:i,...a.current()})),s+=a.move(i),o(),s}function xf(e){return e.value||""}function Af(e,t,n,r){const i=bf(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter("title".concat(o)),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function Ef(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function _f(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=n.compilePattern(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Tf(e,t){const n=Nu(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function Sf(e,t,n,r){const i=bf(n),o='"'===i?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(Tf(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<");return r+=a.move(n.containerPhrasing(e,{before:r,after:">",...a.current()})),r+=a.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter("title".concat(o)),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function kf(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function Pf(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Df(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}wf.peek=function(e,t,n){return n.options.emphasis||"*"},xf.peek=function(){return"<"},Af.peek=function(){return"!"},Ef.peek=function(){return"!"},_f.peek=function(){return"`"},Sf.peek=function(e,t,n){return Tf(e,n)?"<":"["},kf.peek=function(){return"["};const Nf=jh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ff(e,t,n,r){const i=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),a=n.createTracker(r);let s=a.move(i+i);return s+=a.move(n.containerPhrasing(e,{before:s,after:i,...a.current()})),s+=a.move(i+i),o(),s}Ff.peek=function(e,t,n){return n.options.strong||"*"};const If={blockquote:function(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(e,o.current()),gf);return i(),a},break:Cf,code:function(e,t,n,r){const i=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",a="`"===i?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(o,yf);return e(),t}const s=n.createTracker(r),l=i.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,a=0;if("string"!==typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}(o,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const t=n.enter("codeFencedLang".concat(a));u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter("codeFencedMeta".concat(a));u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){const i=bf(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter("title".concat(o)),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),a(),c},emphasis:wf,hardBreak:Cf,heading:function(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(function(e,t){let n=!1;return qh(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,zh})),Boolean((!e.depth||e.depth<3)&&Nu(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c},html:xf,image:Af,imageReference:Ef,inlineCode:_f,link:Sf,linkReference:kf,list:function(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Pf(n);const s=e.ordered?"."===a?")":".":function(e){const t=Pf(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),Df(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),c},listItem:function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||Pf(n);t&&"list"===t.type&&t.ordered&&(o=("number"===typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e}));return l(),c},paragraph:function(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a},root:function(e,t,n,r){const i=e.children.some((function(e){return Nf(e)}));return(i?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:Ff,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Df(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function Rf(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Mf(e){this.exit(e),this.data.inTable=void 0}function Of(e){this.enter({type:"tableRow",children:[]},e)}function jf(e){this.exit(e)}function Lf(e){this.enter({type:"tableCell",children:[]},e)}function Bf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Uf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Uf(e,t){return"|"===t?t:e}function Vf(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=If.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const i=l(e,n,r),o=s([i]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:o,after:o});return a(),i(),s}function s(e,t){return(0,mf.Q)(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function Hf(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function zf(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"===typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Zf(e,t,n,r){const i=e.children[0],o="boolean"===typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=If.listItem(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}const Wf={tokenize:function(e,t,n){let r=0;return function t(o){if((87===o||119===o)&&r<3)return r++,e.consume(o),t;if(46===o&&3===r)return e.consume(o),i;return n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},qf={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(Yf,l,s)(t):null===t||Ju(t)||td(t)||45!==t&&ed(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Gf={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Yf,t,o)(a):null===a||Ju(a)||td(a)?t(a):(e.consume(a),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},Yf={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),o):93===a?(e.consume(a),i):60===a||null===a||Ju(a)||td(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||Ju(e)||td(e)?t(e):r(e)}function o(e){return Zu(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Zu(t)?(e.consume(t),a):n(t)}},partial:!0},Kf={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Wu(e)?n(e):t(e)}},partial:!0},Qf={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!tm.call(r,r.previous)||om(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Wf,e.attempt(qf,e.attempt(Gf,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:tm},Xf={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){if((72===t||104===t)&&nm.call(r,r.previous)&&!om(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(Zu(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){return null===t||Gu(t)||Ju(t)||td(t)||ed(t)?n(t):e.attempt(qf,e.attempt(Gf,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:nm},Jf={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let i,o;return function(t){if(!im(t)||!rm.call(r,r.previous)||om(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return im(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Kf,c,l)(t):45===t||95===t||Wu(t)?(o=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),i=!0,s}function c(a){return o&&i&&Zu(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:rm},$f={};let em=48;for(;em<123;)$f[em]=Jf,em++,58===em?em=65:91===em&&(em=97);function tm(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Ju(e)}function nm(e){return!Zu(e)}function rm(e){return!(47===e||im(e))}function im(e){return 43===e||45===e||46===e||95===e||Wu(e)}function om(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}$f[43]=Jf,$f[45]=Jf,$f[46]=Jf,$f[95]=Jf,$f[72]=[Jf,Xf],$f[104]=[Jf,Xf],$f[87]=[Jf,Qf],$f[119]=[Jf,Qf];const am={tokenize:function(e,t,n){const r=this;return rd(e,(function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function sm(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=kd(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!o.includes(s.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function lm(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function cm(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||Ju(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(kd(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Ju(s)||(o=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function um(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||Ju(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=kd(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Ju(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),rd(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function dm(e,t,n){return e.check(sd,t,e.attempt(am,t,n))}function hm(e){e.exit("gfmFootnoteDefinition")}function pm(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const l=Xd(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=Xd(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&Ru(a,a.length,0,vd(s,e.slice(r+1,n),t)),Ru(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),Ru(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null!==t&&void 0!==t||(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class fm{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0===n&&0===r.length)return;for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort((function(e,t){return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function mm(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}function gm(e,t,n){const r=this;let i,o=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?b:s;if(o===b&&r.parser.lazy[r.now().line])return n(e);return o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return i=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):Xu(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):$u(t)?rd(e,l,"whitespace")(t):(a+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Ju(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,$u(t)?rd(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t))}function h(t){return 45===t||58===t?f(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):y(t)}function p(t){return $u(t)?rd(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||Xu(t)?C(t):y(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return $u(t)?rd(e,C,"whitespace")(t):C(t)}function C(n){return 124===n?h(n):(null===n||Xu(n))&&i&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function b(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Xu(n)?(e.exit("tableRow"),t(n)):$u(n)?rd(e,w,"whitespace")(n):(e.enter("data"),x(n))}function x(t){return null===t||124===t||Ju(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?A:x)}function A(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function vm(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const h=new fm;for(;++o<e.length;){const p=e[o],f=p[1];"enter"===p[0]?"tableHead"===f.type?(u=!1,0!==d&&(ym(h,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=Cm(h,t,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=Cm(h,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,0!==l[1]?(c[0]=c[1],i=Cm(h,t,l,s,o,i)):0!==c[1]&&(i=Cm(h,t,c,s,o,i)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)}for(0!==d&&ym(h,t,d,n,r),h.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=mm(t.events,o))}return e}function Cm(e,t,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},bm(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=bm(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=bm(t.events,n[2]),o=bm(t.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},bm(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function ym(e,t,n,r,i){const o=[],a=bm(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function bm(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const wm={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return Ju(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Xu(r)?t(r):$u(r)?e.check({tokenize:xm},t,n)(r):n(r)}}};function xm(e,t,n){return rd(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const Am={};function Em(e){const t=e||Am,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Vu([{text:$f},{document:{91:{name:"gfmFootnoteDefinition",tokenize:um,continuation:{tokenize:dm},exit:hm}},text:{91:{name:"gfmFootnoteCall",tokenize:cm},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:sm,resolveTo:lm}}},pm(e),{flow:{null:{name:"table",tokenize:gm,resolveAll:vm}}},{text:{91:wm}}])}(t)),i.push([{transforms:[Kp],enter:{literalAutolink:zp,literalAutolinkEmail:Zp,literalAutolinkHttp:Zp,literalAutolinkWww:Zp},exit:{literalAutolink:Yp,literalAutolinkEmail:Gp,literalAutolinkHttp:Wp,literalAutolinkWww:qp}},{enter:{gfmFootnoteDefinition:$p,gfmFootnoteDefinitionLabelString:ef,gfmFootnoteCall:rf,gfmFootnoteCallString:of},exit:{gfmFootnoteDefinition:nf,gfmFootnoteDefinitionLabelString:tf,gfmFootnoteCall:sf,gfmFootnoteCallString:af}},{canContainEols:["delete"],enter:{strikethrough:hf},exit:{strikethrough:pf}},{enter:{table:Rf,tableData:Lf,tableHeader:Lf,tableRow:Of},exit:{codeText:Bf,table:Mf,tableData:jf,tableHeader:jf,tableRow:jf}},{exit:{taskListCheckValueChecked:Hf,taskListCheckValueUnchecked:Hf,paragraph:zf}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Vp,notInConstruct:Hp},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Vp,notInConstruct:Hp},{character:":",before:"[ps]",after:"\\/",inConstruct:Vp,notInConstruct:Hp}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:cf,footnoteReference:lf}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:df}],handlers:{delete:ff}},Vf(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Zf}}]}}(t))}const _m=e=>{let{...t}=e;return(0,a.jsx)("a",{...t,target:"_blank",rel:"noopener noreferrer","aria-label":"link"})},Tm=e=>{let{...t}=e;return(0,a.jsx)("p",{className:"text-sm md:text-base leading-normal",...t})},Sm=e=>{let{strapiUrl:t,mixPanelFn:n}=e;const{selectedMessage:r,renderTitle:o}=((e,t)=>{const[n,r]=(0,i.useState)(),o=(0,i.useRef)(!1);return(0,i.useEffect)((()=>{o.current||(o.current=!0,(async()=>{const n=await hn("".concat(e,"/api/loading-messages"),t);if(!n||!n.data)return void(o.current=!1);const i=n.data.map((e=>({Message:e.attributes.Message,category:e.attributes.category,id:e.id}))),a=Math.floor(Math.random()*i.length);r(i[a]),o.current=!1})())}),[]),{renderTitle:()=>"Tip"===(null===n||void 0===n?void 0:n.category)||"Fact"===(null===n||void 0===n?void 0:n.category)?"Flowty ".concat(n.category,":"):"Fun ".concat(null===n||void 0===n?void 0:n.category," Fact"),selectedMessage:n}})(t,n);return(0,a.jsx)("div",{className:"".concat(r?"opacity-100":"opacity-0"," transition-opacity duration-500 ease-in-out flex flex-col justify-center w-auto md:w-[28rem] bg-[#ffffff] bg-opacity-[8%] backdrop-blur-lg rounded-lg py-2 p-4 gap-2 leading-normal"),children:r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("h2",{className:"text-base font-bold text-gray-300 leading-normal",children:[o()," "]}),(0,a.jsx)(Mp,{remarkPlugins:[Em],components:{a:_m,p:Tm},className:"text-gray-300 markdown-messages",children:r.Message})]})})},km=e=>{let{openSearchFlowNFT:t,accountSummaries:n,flowty:r,strapiUrl:o}=e;const{activeTab:s,listingType:l,onTabChange:c,loanStep:u,rentStep:d,selectedAccount:h,setSelectedAccount:p,selectedOrder:f,hasChildAccounts:m,hasProvider:g,childAccounts:v,isCatalog:C,isDapper:y,isFormError:b,valuationData:w,isLoading:x,isUpdateListing:A,sealed:E,error:_,transactionID:T,existingPurchaseOrder:S,existingLoanOrder:k,existingRentalOrder:P,orderData:D,loanFormValues:N,transferReceiver:F,isAcceptOffer:I,selectedOffer:R,singleOrder:M,singleAction:O,isLocked:j,isDelist:L,isMainnet:B,collectionDisplayName:U,mixPanelFn:V}=On();let H=(0,i.useMemo)((()=>"storefront"===l?"sale":"rental"===l?"rent":l),[l]);if("rental"===l&&(H="rent"),j&&!L.sale)return(0,a.jsx)(zc,{});if(Boolean(R)&&!_.acceptOffer&&!E.acceptOffer&&!x.acceptOffer)return(0,a.jsx)("div",{className:"h-full md:w-[400px] flex flex-col items-center justify-center",children:(0,a.jsx)(Ya,{accountSummaries:n,offerListingError:Boolean(b.acceptOffer),flowty:r})});if(Boolean(M)&&!_.delist&&!E.delist&&!x.delist){if("delistSale"===O)return(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(Pc,{storefrontOrder:[M]})});if("delistLoan"===O)return(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(ec,{selectedOrder:M})});if("delistRental"===O)return(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(kc,{selectedOrder:M})})}return _[H]||_.delist||_.acceptOffer?(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(fa,{transactionID:T,isMainnet:B,error:_.errorMessage})}):E[H]||E.delist||E.acceptOffer?(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(Ta,{isMainnet:B,type:H,transactionID:T,orderData:D,nft:t,isDelist:E.delist,collectionDisplayName:U})}):x[H]||x.delist||x.acceptOffer?(0,a.jsxs)("div",{className:"h-full flex flex-col items-center relative",children:[(0,a.jsx)("div",{className:"flex-grow flex flex-col justify-center items-center",children:(0,a.jsx)(ga,{transactionID:T,isMainnet:B})}),(0,a.jsx)("div",{className:"md:absolute bottom-0 w-full",children:(0,a.jsx)(Sm,{strapiUrl:o,mixPanelFn:V})})]}):g?(0,a.jsx)("div",{className:"md:w-[400px] h-full flex flex-col gap-4",children:(0,a.jsx)(q,{activeTab:s,condensed:!0,tabs:[{content:I?(0,a.jsx)(Ya,{accountSummaries:n,offerListingError:Boolean(b.acceptOffer),flowty:r}):S&&!A?(0,a.jsx)(Pc,{storefrontOrder:S,selectedOrder:f.purchase}):(0,a.jsx)(Lc,{accountSummaries:n,isDapper:Boolean(y),valuationData:w,saleListingError:b.sale,orderData:D,flowty:r}),id:"1",label:"Sale"},{content:k&&k.length>0&&!A?(0,a.jsx)(ec,{loanOrder:k,selectedOrder:f.fundLoan}):(0,a.jsx)(Ac,{isCatalog:C,isDapper:Boolean(y),hasChildAccounts:m,selectedAccount:h,setSelectedAccount:p,accountSummaries:n,loanStep:u,loanFormValues:N,loanFormError:b.loan,openSearchFlowNFT:t,flowty:r}),id:"2",label:"Loan"},{content:P&&!A?(0,a.jsx)(kc,{rentalOrder:P,selectedOrder:f.fundRental}):(0,a.jsx)(Tc,{isCatalog:C,isDapper:Boolean(y),hasChildAccounts:m,selectedAccount:h,setSelectedAccount:p,accountSummaries:n,rentStep:d,rentData:D,rentFormError:b.rent,openSearchFlowNFT:t,flowty:r}),id:"3",label:"Rent"},{content:(0,a.jsx)(rc,{isDapper:y,childAccounts:v,openSearchFlowNFT:t,transferFormError:b.transfer,transferReceiver:F||""}),id:"4",label:"Transfer"}],onChange:e=>{c(e)},type:"secondary"})}):(0,a.jsx)(zn,{})};var Pm,Dm,Nm=n(51572),Fm=n(46855),Im=n(67687);function Rm(){return Rm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rm.apply(null,arguments)}function Mm(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Rm({width:15,height:16,viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Pm||(Pm=i.createElement("g",{id:"Frame",clipPath:"url(#clip0_10301_3203)"},i.createElement("path",{id:"Vector",d:"M7.85209 13.6724L5.69836 11.5151L4.99501 12.2194L7.8726 15.1023L10.7422 12.2265L10.0183 11.5018L7.85209 13.6724ZM12.1203 5.09494L11.4099 5.80721L13.5556 7.95738L11.3822 10.1361L12.1132 10.8671L14.997 7.97877L12.1203 5.09494ZM4.30146 5.80186L3.60346 5.10207L0.733887 7.97788L3.61059 10.8608L4.3282 10.1414L2.14861 7.95738L4.30146 5.80186ZM4.98787 3.72924L5.67875 4.42101L7.85209 2.2432L10.0388 4.43349L10.7493 3.72211L7.8726 0.839172L4.98787 3.72924Z",fill:"#6687FF"}),i.createElement("path",{id:"Vector_2",d:"M7.74695 11.705L9.58154 9.86597V6.04969L7.74695 4.21063L4.00732 7.95828H6.1673L7.75853 6.31712L7.74695 7.95739V11.705Z",fill:"#6687FF"}))),Dm||(Dm=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_10301_3203"},i.createElement("rect",{width:14.2632,height:14.2632,fill:"white",transform:"translate(0.733887 0.839172)"})))))}const Om=i.forwardRef(Mm);n.p;var jm;function Lm(){return Lm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lm.apply(null,arguments)}function Bm(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Lm({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,jm||(jm=i.createElement("g",{id:"Frame"},i.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M4.91156 4.99926C4.91156 5.47212 4.72372 5.9256 4.38936 6.25996C4.055 6.59432 3.60152 6.78216 3.12866 6.78216V11.5365H12.6374V6.78216C12.1646 6.78216 11.7111 6.59432 11.3767 6.25996C11.0424 5.9256 10.8545 5.47212 10.8545 4.99926V2.02777H9.66594C9.66594 2.50062 9.4781 2.95411 9.14375 3.28847C8.80939 3.62283 8.3559 3.81067 7.88305 3.81067C7.41019 3.81067 6.95671 3.62283 6.62235 3.28847C6.28799 2.95411 6.10015 2.50062 6.10015 2.02777H4.91156V4.99926ZM12.6374 12.7251H3.12866V13.9137H12.6374V12.7251Z",fill:"#6687FF"}))))}const Um=i.forwardRef(Bm);n.p;var Vm,Hm;function zm(){return zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zm.apply(null,arguments)}function Zm(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",zm({width:15,height:16,viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Vm||(Vm=i.createElement("g",{id:"Frame",clipPath:"url(#clip0_10301_3196)"},i.createElement("path",{id:"Vector",d:"M7.43355 5.36595C7.0911 5.37168 6.7532 5.44539 6.43948 5.58282C6.12576 5.72024 5.84248 5.91863 5.60609 6.16647C5.36841 6.41262 5.18196 6.7035 5.05755 7.02225C4.93314 7.341 4.87324 7.68128 4.88134 8.02336C4.89609 8.71369 5.18405 9.37 5.68207 9.84829C6.18008 10.3266 6.84748 10.5878 7.53785 10.5747C7.88009 10.5689 8.21778 10.4953 8.53133 10.3581C8.84489 10.2208 9.12806 10.0226 9.36443 9.77505C9.84581 9.27316 10.1043 8.61438 10.0901 7.91816C10.0756 7.22767 9.78769 6.57114 9.28965 6.09265C8.7916 5.61416 8.12408 5.35281 7.43355 5.36595Z",fill:"#6687FF"}),i.createElement("path",{id:"Vector_2",d:"M10.9103 4.51195C10.4565 4.0613 9.91811 3.70485 9.32603 3.46312C8.73395 3.2214 8.09991 3.09916 7.4604 3.10347C6.8212 3.10512 6.18867 3.23335 5.59929 3.48075C5.00992 3.72816 4.47539 4.08985 4.02654 4.54494C3.57589 4.9987 3.21944 5.53712 2.97771 6.1292C2.73598 6.72128 2.61375 7.35533 2.61805 7.99484C2.61982 8.63431 2.74827 9.26709 2.99599 9.85663C3.24371 10.4462 3.60579 10.9808 4.06131 11.4296C4.97146 12.3334 6.20265 12.8399 7.48536 12.8381H7.51032C8.14993 12.8364 8.78288 12.708 9.37259 12.4603C9.96229 12.2126 10.497 11.8504 10.946 11.3948C11.3966 10.9411 11.7531 10.4026 11.9948 9.81055C12.2365 9.21847 12.3587 8.58443 12.3544 7.94492C12.352 7.30555 12.2233 6.67296 11.9756 6.0835C11.7279 5.49405 11.3662 4.95936 10.9112 4.51017M10.461 10.9143C10.075 11.3061 9.61512 11.6174 9.10805 11.8304C8.60098 12.0434 8.05673 12.1538 7.50675 12.1552H7.48536C6.38212 12.1575 5.32309 11.7218 4.54091 10.9437C4.14928 10.5578 3.838 10.0981 3.62501 9.5912C3.41203 9.08429 3.30157 8.54022 3.30001 7.99038C3.29595 7.44036 3.40092 6.89499 3.60885 6.38578C3.81679 5.87656 4.12358 5.4136 4.51149 5.02364C4.89743 4.63202 5.35713 4.32073 5.86403 4.10775C6.37094 3.89477 6.91502 3.78431 7.46485 3.78275H7.48714C8.59699 3.78275 9.64177 4.21243 10.4316 4.99423C10.8232 5.38017 11.1345 5.83987 11.3475 6.34677C11.5605 6.85368 11.6709 7.39776 11.6725 7.94759C11.6765 8.49761 11.5716 9.04298 11.3636 9.5522C11.1557 10.0614 10.8489 10.5244 10.461 10.9143ZM14.0562 5.1948C13.876 4.76873 13.6548 4.3612 13.3957 3.97798L12.9036 4.47006C13.4749 5.35311 13.8215 6.36256 13.913 7.41033C14.0045 8.4581 13.8382 9.51235 13.4286 10.4811C13.2845 10.8243 13.11 11.154 12.9071 11.4661L13.3992 11.9582C14.1933 10.78 14.6173 9.39154 14.6169 7.97077C14.6187 7.01715 14.428 6.07298 14.0562 5.1948ZM4.97504 2.02749C5.7693 1.6918 6.62307 1.51959 7.48536 1.52115C8.72678 1.51905 9.94218 1.87701 10.9843 2.55166L11.4764 2.05958C10.2982 1.26242 8.90787 0.837281 7.48536 0.839191C6.06168 0.835906 4.67001 1.26148 3.49167 2.06047L3.98375 2.55255C4.29775 2.34813 4.62952 2.1724 4.97504 2.02749ZM9.99656 13.9141C9.20202 14.2499 8.34795 14.4221 7.48536 14.4204C6.24572 14.4224 5.03201 14.0654 3.99088 13.3926L3.49791 13.8846C4.67538 14.6802 6.06434 15.1043 7.48536 15.1024C8.91053 15.1056 10.3036 14.679 11.4826 13.8784L10.9905 13.3863C10.6755 13.5919 10.3425 13.7685 9.99567 13.9141M1.03573 7.97077C1.03337 6.72943 1.39102 5.51404 2.06536 4.47184L1.57328 3.97887C0.776263 5.15739 0.351425 6.54805 0.353778 7.97077C0.350565 9.39595 0.777112 10.789 1.57773 11.968L2.06981 11.4759C1.39275 10.4324 1.03349 9.21468 1.03573 7.97077Z",fill:"#6687FF"}))),Hm||(Hm=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_10301_3196"},i.createElement("rect",{width:14.2632,height:14.2632,fill:"white",transform:"translate(0.35376 0.839172)"})))))}const Wm=i.forwardRef(Zm),qm=(n.p,{"#1 Serial":Om,"Jersey Match":Um,"Perfect Serial":Wm}),Gm=e=>{let{specialTsTraits:t}=e;return(0,a.jsx)(a.Fragment,{children:Object.entries(t).map((e=>{let[t,n]=e;const r=qm[t];return n&&r&&(0,a.jsxs)("div",{className:"rounded-[100px] backdrop-blur-[6px] flex w-[20px] h-[20px] md:w-[24px] md:h-[24px] px-[3px] py-[2px] md:px-[4px] md:py-[3px] gap-[10px] flex-shrink-0 justify-center items-center flex-col mr-[-4px] md:mr-[-6px]",style:{background:"rgba(255, 255, 255, 0.14)"},children:[(0,a.jsx)(qa.m_,{id:"".concat(t,"-tooltip"),style:{backgroundColor:"#F8F9FA",boxShadow:"none",color:"#031021",fontSize:"14px",fontWeight:500,zIndex:20},opacity:1,border:"none"}),(0,a.jsx)(r,{className:"h-[12px] w-[12px] md:h-[16px] md:w-[16px] flex-shrink-0","data-tooltip-id":"".concat(t,"-tooltip"),"data-tooltip-place":"top","data-tooltip-content":t})]},t)}))})},Ym=["#1 Serial","Jersey Match","Perfect Serial"],Km=e=>{let{traits:t=[]}=e;const n={"#1 Serial":!1,"Jersey Match":!1,"Perfect Serial":!1};return t.forEach((e=>{Ym.includes(e.name)&&"true"===String(e.value).toLowerCase()&&(n[e.name]=!0)})),n};const Qm=n.p+"static/media/new_fallback_image.756db11552689ed90e938269ce4485c4.svg",Xm=e=>{let{listingType:t}=e;const n="uppercase font-bold text-white text-[8px] md:text-sm z-10 absolute bg-gradient-to-r top-2 md:top-4 w-4/5 h-[18px] md:h-10 -left-[19px] pl-4 flex items-center";return(0,a.jsx)(a.Fragment,{children:"loan"===t||"fundLoan"===t?(0,a.jsx)("div",{className:"".concat(n," loanListingBannerGradient"),children:"LOAN"}):"rental"===t||"fundRental"===t?(0,a.jsx)("div",{className:"".concat(n," rentalListingBannerGradient"),children:"RENT"}):null!==t&&void 0!==t&&t.includes("storefront")||"purchase"===t||"makeOffer"===t?(0,a.jsx)("div",{className:"".concat(n," buyListingBannerGradient"),children:"BUY NOW"}):null})},Jm=e=>{var t,n,r,i,o;let{accountSummaries:s,nft:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(l.uuid,"-nft-origin-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,a.jsx)("img",{"data-tooltip-id":"".concat(l.uuid,"-nft-origin-tooltip"),"data-tooltip-content":"From ".concat((null===s||void 0===s||null===(t=s[l.owner])||void 0===t||null===(n=t.display)||void 0===n?void 0:n.name)||(null===s||void 0===s||null===(r=s[l.owner])||void 0===r?void 0:r.address)," account"),"data-tooltip-place":"top",className:"rounded-full h-6 w-6 aspect-square",src:(0,T.getImageURL)((null===s||void 0===s||null===(i=s[l.owner])||void 0===i||null===(o=i.display)||void 0===o?void 0:o.thumbnail)||""),alt:"Account owner icon"})]})},$m=e=>{var t,n,r,o,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x;let{children:A,nft:E,listingType:_,valuationData:S,accountSummaries:k,hasProvider:P,collectionImage:D,isMainnet:N,mixPanelFn:F}=e;const[I,R]=(0,i.useState)(null),[M,O]=(0,i.useState)(!1),j=(0,T.getImageURL)((null===E||void 0===E||null===(t=E.card)||void 0===t||null===(n=t.images)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.url)||""),L=Object.keys(k||{}).length>1||!1,[B,U]=(0,i.useState)(!1),V=(0,i.useMemo)((()=>{var e,t,n;return Km({traits:null!==(e=null===(t=E.nftView)||void 0===t||null===(n=t.traits)||void 0===n?void 0:n.traits)&&void 0!==e?e:[]})}),[null===(o=E.nftView)||void 0===o||null===(s=o.traits)||void 0===s?void 0:s.traits]),H=(0,i.useMemo)((()=>{const e=N?"A.a45ead1cf1ca9eda.FlowRewards.NFT":"A.2e7cfb413f04382f.FlowRewards.NFT";return E.type===e}),[E]),z=(0,i.useMemo)((()=>{var e,t,n,r,i,o,s;return H?(0,a.jsx)("img",{src:null===E||void 0===E||null===(e=E.card)||void 0===e||null===(t=e.images)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.url,onError:()=>R(!0),alt:"".concat(null===E||void 0===E||null===(r=E.card)||void 0===r?void 0:r.title," asset"),className:"object-cover aspect-square w-[88px] h-[152px] sm:w-[178px] sm:h-[308px] m-auto"}):B?(0,a.jsx)("img",{src:Qm,onError:()=>R(!0),alt:"".concat(null===E||void 0===E||null===(i=E.card)||void 0===i?void 0:i.title," asset"),className:"object-cover aspect-square w-[152px] sm:w-full"}):I?M?(0,a.jsx)("img",{src:null!==D&&void 0!==D?D:"",onError:()=>{U(!0),R(!0)},alt:"".concat(null===E||void 0===E||null===(s=E.card)||void 0===s?void 0:s.title," asset"),className:"object-cover aspect-square w-[152px] sm:w-full"}):(0,a.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!1,className:"object-cover aspect-square w-[152px] sm:w-full",onMouseEnter:e=>{const t=e.target.play();void 0!==t&&t.then((e=>{})).catch((e=>F("ERROR_PLAYING_NFT_VIDEO",{error:e})))},onMouseLeave:e=>{const t=e.target;t.pause(),t.currentTime=0},onError:()=>{O(!0)},children:(0,a.jsx)("source",{type:"video/mp4",src:j})}):(0,a.jsx)("img",{src:j,onError:()=>R(!0),alt:"".concat(null===E||void 0===E||null===(o=E.card)||void 0===o?void 0:o.title," asset"),className:"object-cover aspect-square w-[152px] sm:w-full"})}),[B,I,M,j,E,D,H]);return(0,a.jsxs)("div",{className:"p-[16px] md:p-[19px] w-full relative flowty-nft-card rounded-lg border border-neutral-300",children:[null===S||void 0===S||!S.percentage||"storefront"!==_&&"purchase"!==_?null:(0,a.jsx)("div",{className:"absolute -top-1 right-[7%] z-40",children:(0,a.jsx)(Mc,{percent:(null===S||void 0===S?void 0:S.percentage)||0,tooltip:!0,source:(null===S||void 0===S?void 0:S.source)||""})}),(0,a.jsxs)("div",{className:"flex flex-row-reverse gap-6 sm:gap-3 md:flex-col justify-between sm:justify-start",children:[(0,a.jsxs)("div",{className:"flex flex-col flex-grow sm:flex-none sm:pl-0 col-span-2 sm:order-first min-w-[0px]",children:[(0,a.jsxs)("div",{className:"w-full flex flex-row justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-start gap-2 max-w-[307px]",children:[null!==E&&void 0!==E&&null!==(l=E.card)&&void 0!==l&&l.additionalDetails?(0,a.jsx)("p",{className:"max-w-[110px] sm:max-w-[286px] block text-sm sm:text-lg text-white font-montserrat font-extrabold truncate pointer-events-none uppercase",children:null===E||void 0===E||null===(c=E.card)||void 0===c?void 0:c.title}):(0,a.jsxs)("div",{className:"max-w-[110px] sm:max-w-[286px] flex truncate",children:[(0,a.jsx)("p",{className:"block text-sm sm:text-lg text-white font-montserrat font-extrabold truncate pointer-events-none uppercase",children:null===E||void 0===E||null===(u=E.card)||void 0===u?void 0:u.title}),(null===E||void 0===E||null===(d=E.card)||void 0===d?void 0:d.num)&&!(null!==E&&void 0!==E&&null!==(h=E.card)&&void 0!==h&&h.title.includes("#"))&&(0,a.jsxs)("p",{className:"block text-sm sm:text-lg text-white font-montserrat font-extrabold truncate pointer-events-none uppercase ml-2",children:["#",null===E||void 0===E||null===(p=E.card)||void 0===p?void 0:p.num]})]}),(0,a.jsx)("div",{children:(null===E||void 0===E?void 0:E.isNFTCatalog)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(E.uuid,"-verified-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem",zIndex:50}}),(0,a.jsx)("img",{"data-tooltip-id":"".concat(E.uuid,"-verified-tooltip"),"data-tooltip-content":"Verified Collection from the Flow NFT catalog","data-tooltip-place":"top",alt:"Verified Collection from the Flow NFT catalog",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAPfElEQVR4Ae1bW4ydVRVea//nTEuh3Cwt7cy0BRMCDxhNfBBMhEDECzx4S1Ho9JJGilpUiJFglBAt4P2BqAkSUtoOiAQVSRQEHzD4INiIgjcC0mhnOoVS0k5L7cz5/7381uU/MwRmOGdK58XZ7en5z/4ve69vrfWttdf+SzTX5tpcm2tz7f+3Mc1223vnwmY57+wsdDaTnEVZJ8HDlPOO1vI1O2iW26wBsEgeWHhg98G1IjxALCeQ4AgHwpKBgRSYCo6HOfODrUPj99DZGw7SLLRZAaBn973nZGn9QIh6kwpN9jdTYv8WnQmOSdQe9OTwvBZvPLxyYISOcTvmABT/uWs9F8UmSLcQPzP07JoXhrBwBBxjFjhWGEShyDG1A1Lwj6vTV/+UjmE7JgAcNzTYVyb5OMTBR5apdlMIqup1TZOKnCeEpwDCrlCQtLNC/4ik4ieNcuypsf71z9Fb3I4agFP3DZ548LCswsTPg5TnoKsPkrggFCau3y4gBBMXWIVXF8guuJpDMiD02uxg6JUMVnC3MNBwcjdo47kiNR8fW3bFw3SU7agAaO7adlVOfB0eshCalvBjFSLH07NqPktoHEI4B9AECPjm2jLCAtxFAqjXuYiPwWz9I7kst1b962cMxIwBKIa33YaJrlI2F9OSz5B9lqbNPDFp166qkZ0HiFNlYqtwbfBqF5hkQdy2oKwRg2vCNMvxa9D9s1bf2h/RDFqiGbTG0LbNGPhys+uk3mpTYZeRbIYW3p3erSdLm93QlRQoZpNUTCAVzK/EkbqGaZizxsmwDHyliBYTwjvC6WNpZPuXaAatawB6hu/+JCax0ZVttJY8pNvjvM/PGRDJ8hziWroQUW1cwcPNbIFBOLCzlmvYDCU3irAOqh3Hn+QPhMVluqRn9+BHqcvWNQAY/XrXK7xQJWQ7StYhkigAYH+2+4bdKGzwmEpNsInmWiUnzXAV8vzApOcQNNdW0iZYMvch97WK5Eras+146qJ1BUDP8PZPYQ7LKaAPq3WNSz03MkhqdapBk364bRRtEfx3/RhxYRO7X+ttHgFc2+79oowaxChmFZw8lHrUOL6o+P3UResKAIx6WYig0yzY2YlryzYxkzOWd7KBE45hDj35eTkHY1g/B4Q5zFs7w+Rd1dSOBkYxlGvEKeIKBlLzOpe6aF0CIOeaNtvsY6bO3idBhObTScxF9Dt5VK/PuaR2X0ocpB+kYQ/lIDiaMH0V2KNFDC0TiZP1K8roQzaBG87oQiRqUHdtZaBvYdjlkhqdZKJT5PhZQ37KHtZrVyGpydyDo56r9WhISLiEtJHxtUIInCJPoHAdpaRwpuw6wbnF1EXr2AJ69gyea8OycJCvaZ7V8PSvQWLOb+7hAcGF57AaB0Lce1XalKi28Xb4a8cCH8jiDBtUHgXst6XItQ3aecsyLbbguj3bOgahYwDKqnwf0SRhNIjxhJ/LpHPh0YXxt47hgpubJLV79xxpL3vs32B093MTGAcVFHx/Vcl3gMwjOL3HtOw0kaVOIzwi6M3KC1ha00WdytWxCxRcfK7mLNOLOp14ei/O0bZ+kZoTzH+zglDpxREYUpaAxTis9ml6rfm7Xx+E9NdS/9rndVDI/Bt64Y4lRc/8b+HyxTqiG53xolqC1IkUBrkIJnJvJ3J1ZAHN4e2bMMuVxv61P0sd643QCnL29wih/UGEpBpPNVGqs+hxTkx1quCT5lRrUQOdhPADz79mImd++kUo+RfqAuwugTSMKjw6R0KQ/SG8qBgavKwT2d4UgPm7B1dAV1+lOuZjtAjcYe4TfGBmbhQHQESTZBiO5Ib4tUkFh3RJ3SBTXOnWTL4uMF+G8PTF1wkfrcjFC1xbjd3NTiogSG6nJ9ryKtq5ZSUdDQAn79xyMuB9FPM7xQVwobmdAE30uY9zagPkWXD0WcXLjtUd8qSMkSh82PJ+Ga0q+sJUwjtaeYHWCdhtP3O9NrBYkWv3UXwXFM3Gl0keXEAzBeDQvMY1SK/OsHpGsLj7uPJMGwzXuAlngBTmEviILQrVChgfaeDOQs/rvclB8NRYtC6YRyvhz08n/BJNc5k2+F1KgJLreoKZfopvXTV6xFhUDO+/lGYKAIZYZ77KdlkSo29Jk+J6ksnWoIJD06pJHD+D7oPRBzBYgXEQrM+shU3zRKNVkzdNJ7zm+K9k/jpU+zbXsOWRWRMOicqS5YGIDLFkzhGqPjSdFUwJQGNk2wUQdaWnLzm0bWzuwroHp7COIsKcnt9c9a1ZWvYOnFeN8fmwmVtFrYBJuaCByTZxfROzbpjOCITXU3yWFk+v+WbFN+Gefjd9aDhzpMSSYx0epTRzrHbtEb8W9OwZXdk1AHjEhZHapkhhaxP33+LxXRd55Hm/WsO2ctnqze1nnLn63+WyNTcDpFsVU1zUgyt7cNs8fM8Dlv8tia+ixVdOWetbCu3tk3Qj5rLcoigiQHIBjflVA5Z9auFJP+1iDPuKEt9VWa3oGgBMdgVHgk+xHqvrcnGB+Mqv7QJq1Nve6FkAYTNuvhkPaULo+dD8AjXjspIB6h14dqo5qOnuHRn9GsTqN8FdIPCFRgtLyStzVPCqRuGIxJk8LLbrB3Dc7gGImytMtsRksdTW5bbGXGqR95W4Bh9qAYlxfI9jkidO9bTcN/ANoHUjhDkEuIaqRrqElq/565TDDz+4oDEy+hVc36fjpmD9ZGkwSFO/IbiSgbJ/jvNqk1mrNA6G96eJYlQXAPBTJjRzCcFKPLGlx1A1rJZbLjyr4C223zTOFb+XpmnlsoFbYFI3ViyX0umrn6FphO+h0eshSi+xCw8JyuxrgAhzUUVWea0moKCwVoZs0ZQtSkQluqKXpxpqylQYov8F1FVKrFU837EnRhmvdgJNYazMo50beoYHnxrvnXozI/euuY2maztuX9DDo9dVOS+Ff1eW+hvNhC6JvLoi5uOeUPranC0mJZ9vCqQS/rRS8fephpvSAsoT5j2NB73CE6ZfYhxYgFT6Ue1jDuMAoIVZtOBnY7huHNP8bs/Q4CdoJm3X949rLFlwDQZbqtYG3sCH4W65iiyxygqKLZSymzx56R1R1nICLQkkZ0OLEnjWS9R7xT+pWwDo1FUHcPqHZL6GScANkOrA1NUlILCYC7Qwkh7DFfANQGCdYxj7lmJ4+0eom7Zzy/wGL7oasizBrxKJbaaa+DRzzm3TV7/25XAskXOYQF0g0U4zBs/afj/dsNMmQuWRV28H4jtZU88slVqAGPmp36vmlQ/ADQ6MESGrZSQag05uKoa2drQgUeGbPcUGAL0E4R0UkaFpAKxqVgUoCQMEXUIkq/2J1MkvRYSiek/B62N6n4bMvRUdfoRmCgC9feOBRqtCNkiviBGgkqIY+7OSI7Su0SC5a7QgtIGgrgD4xxAXbyh2b//gtGPIr+elZloL9S3JpvHCs7pk2nTSM3eWbGlf9hBY7zUmSZP2Fjk2UWyZ/Gop+ZvUu/EwzRgAlWbFur8By++Z0B53lfHVP80d1BLgAi3vF7UIAKDAqEXwGCzi2sbQ4MVTCd/c/fJqENViit0fZ3rP8y3rs/IH1xp2C1AzTxL9bWtwy/DNdiQ/9EvqW7vvzeRj6rBhK+x3uHxZpJ5ufgmE5IsRi80WcMxCTHMGkGIoahWJ76iWrn6o/UA1+0ZzALxxGsV6wRdZqSBPr7X2UGhIz1ZtVLrPXGehmo5mT79iYRjFxWyVqn1l75obOpGr44oQVvH3IbpuCu24uWXKsXdXmdCsLgJeECdNEGTpv/HJcmVzeOtSSY2dOG7CRd4hVZ6fNLOzYoiatC5ns0OqFAajr9Qtsi3EkqvLYnDOUYpzHmBP+7MWYHRe/NtO5eoYAOzCPpA4fcb80+2u8rU3h69azK6CJEslTeUJFV4TqUQGxHsw9XdhqkdwfATIHcm2LjZ6l/b2uAHsBU/XNIfFO1J16Z1iQaL6T8Jh/cbMz3YqV+f7Av3rhslMWzQMlhYabawweQuLSobgBc0dPGMER4iSJIo8XFmRs05lRVk9WaKikbwuDpAvOCLX912g1N4x0jKoWCnczYWQIGRLdXMsgc2S+lYPdSpWt3uDQ+yT8/WBaZ1Rx7A02Y/b6TM+OZvQnktkIzfOtVBE7fpvSu4CHrnhbS5s4kkMD7HrOpqvzaO2rr+NAmw+2vdyNwJ1BQAG+0fs6yvg7vcQGEKpW9jCyb41W9RykIKi2reCj7qKVPUqLVstM+J2LuN1EIvgPlg2n8nGCR4hLPutrO4lDqQXpCMRsitwgndRF60rACDlH1Wrqk1Ph6Vsa1tqTfsHcyuzp8w5+ibe+DBGoyDvJD6RmEqKHWK1ALUO65eJXSCetIGqe4FWYpxwF9jc09RF6wqAqtnzK5jrATd11XhsUlpJSpOjZP3s6oyooGuJqNyIk2aul6eTNtBzCtfIXuevwTLyc6Q0+PkyV2LP2eN+1OOUBmUf9a95grpo3XHA4lWHAPGdsdmhQcc0TW72XqRk5QTlCGXuQjO29qLFhEoSO0KueX87SjkhVnwpSXtaSm4a8izSqHNM2i2W2IFPvousvAj8H6IuW9cvSFR9a+/H0A+T+7cWIi0XYKUiX766OSZfsWV2RjeiijQ1pdgWy/WGgRe7rKZlo4jVt4wg9VzyAOmTdcENDI4XqZIuIOix1tJ1T1KXbUbvCJX9a74NxH9uvm0bMux+L5GeWgUpyla59l32xWqEOvPjZLskFgnK5G+W+YTcDXKd29fEaKUvL0wUhpPtpyAuy5MorT1AM2gdp8Jv2IbuurhI6XLodBGmW1qejjzACBwEaPHf8gXwg3heoFkirByRAWsHzq2YBntmlyPNVY4sIuGpfEstcQQbjtcoLCEay1X5KC1f/zjNsB0dANEaI9svhJLejdkuhwAnW6jUHEXYkyT21WPUFgFE8rpisj6rcWu1x14oUHKPFynIq5tkFJEt3dVa134cjVRcvEDjYzvojPVH6CjaWwLA69q/ti5vzKezIMeFoKaTVHADoAbFLAOVKs8s/dWKWmjd6UzGCVre0xfqEHXkz2Wr+hOE3U9vcTs2AExue++5oDFWfgDyNS1viHwBC34AoIBoFii+15Di9Qdj1DyWi+IxFE//QMewHXsAtO2/+5TGYbkagp7kLlCvJTSV9/JuvF+V1GfgFKN5vLoPGt9Dx7jNDgDadt13XIPHz8fROxE0FhrxJ3sDRBfwWttBMUjGYOpPUv/iJ4g/PEaz0GYPgMltZMvKhjSXSy70/xBQVVQvwRhepGWnvThbgs+1uTbX5tpcm2tE/wPJ2jzt/ghtYQAAAABJRU5ErkJggg==",className:"w-[20px] h-[20px] min-w-[20px]"})]})})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[L&&(0,a.jsx)(Jm,{accountSummaries:k,nft:E}),!1===P&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(E.uuid,"-view-only-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem",zIndex:10}}),(0,a.jsx)(Hn,{"data-tooltip-id":"".concat(E.uuid,"-view-only-tooltip"),"data-tooltip-content":"This profile has view-only access to this item","data-tooltip-place":"right"})]})]})]}),null!==E&&void 0!==E&&null!==(f=E.card)&&void 0!==f&&f.additionalDetails?(0,a.jsxs)(a.Fragment,{children:[null!==E&&void 0!==E&&null!==(m=E.card)&&void 0!==m&&m.additionalDetails?null===E||void 0===E||null===(g=E.card)||void 0===g||null===(v=g.additionalDetails)||void 0===v?void 0:v.map((e=>(0,a.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4 truncate",children:(0,a.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e})},e))):(0,a.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"}),(null===E||void 0===E||null===(C=E.card)||void 0===C?void 0:C.additionalDetails)&&1===(null===E||void 0===E||null===(y=E.card)||void 0===y?void 0:y.additionalDetails.length)&&(0,a.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4 truncate",children:(null===E||void 0===E||null===(b=E.card)||void 0===b?void 0:b.headerTraits)&&(null===E||void 0===E||null===(w=E.card)||void 0===w||null===(x=w.headerTraits)||void 0===x?void 0:x.map((e=>(0,a.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e.value},e.displayType))))}),(0,a.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})]})]}),(0,a.jsxs)("div",{className:"relative sm:w-full",children:[(0,a.jsx)(Xm,{listingType:_}),(0,a.jsx)("div",{className:"flex flex-row absolute top-7 md:top-16 left-1 md:left-2 z-20",children:(0,a.jsx)(Gm,{specialTsTraits:V})}),z]})]}),(0,a.jsx)("div",{className:"min-h-[10rem]",children:A})]})},eg=e=>{let{onClick:t}=e;return(0,a.jsx)("svg",{onClick:t,className:"w-[2rem] h-[2rem] flex-shrink-0 cursor-pointer",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5313 26.7314C14.9065 27.3563 13.8934 27.3563 13.2686 26.7314L3.66858 17.1314C3.04374 16.5066 3.04374 15.4935 3.66858 14.8687L13.2686 5.26868C13.8934 4.64384 14.9065 4.64384 15.5313 5.26868C16.1562 5.89352 16.1562 6.90658 15.5313 7.53142L8.66269 14.4H27.2C28.0836 14.4 28.8 15.1164 28.8 16C28.8 16.8837 28.0836 17.6 27.2 17.6L8.66269 17.6L15.5313 24.4687C16.1562 25.0935 16.1562 26.1066 15.5313 26.7314Z",fill:"#F8F9FA"})})};var tg=n(20390);const ng=e=>{let{blockTimestamp:t,listingType:n}=e;return t?(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)("div",{className:"flex p-1 text-[#6C757D] text-sm h-[25px]",children:"Listing created on ".concat((0,tg.default)("fundRental"===n||"rental"===n?1e3*t:t,"dd MMM yyyy"))})," "]}):null},rg=e=>{let{listingType:t,nftName:n,isPurchase:r,hasProvider:o,isDelist:s,isLostAndFound:l}=e;const c=(0,i.useMemo)((()=>{if(l)return"Claim Item -";let e="";return e=r?"purchase"===t?"Buy Now -":"fundLoan"===t?"Loan -":"fundRental"===t?"Rental -":"makeOffer"===t?"Make Offer -":"cancelOffer"===t?"Cancel Offer -":"loanBorrower"===t?"Repay Loan -":"rentalBorrower"===t?"Return Rental -":"".concat(n):o?s?"Delist -":"storefront"===t?"New Sale Listing -":"rental"===t?"New Rental Listing -":"transfer"===t?"Transfer -":"loan"===t?"New Loan Listing -":"view-only"===t?"View Only -":"acceptOffer"===t?"Accept Offer -":"":"View Only -",e}),[t,r,n,s,o]);return(0,a.jsxs)("p",{className:"text-lg md:text-2xl leading-6 text-white font-black",children:[c," ",(0,a.jsx)("span",{className:"text-neutral-500 text-lg md:text-2xl",children:n})]})},ig=e=>{let{closeBtnProps:t,confirmBtnProps:n}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex w-full items-center justify-center lg:justify-end gap-6 md:px-[40px]",children:[!(null!==t&&void 0!==t&&t.notDisplay)&&(0,a.jsx)(s,{text:(null===t||void 0===t?void 0:t.text)||"",onClick:null===t||void 0===t?void 0:t.onClick,variant:"secondary",btnSize:"small",disabled:null===t||void 0===t?void 0:t.disabled,bgColor:null===t||void 0===t?void 0:t.bgColor}),!(null!==n&&void 0!==n&&n.notDisplay)&&(0,a.jsx)(s,{text:(null===n||void 0===n?void 0:n.text)||"",onClick:null===n||void 0===n?void 0:n.onClick,variant:"secondary",btnSize:"small",disabled:null===n||void 0===n?void 0:n.disabled,bgColor:null===n||void 0===n?void 0:n.bgColor})]})})},og=()=>(0,a.jsx)("div",{className:"rounded flex items-center gap-1 border px-[6px] py-[4px] bg-[#69FFC03D] border-[#69FFC085]",children:(0,a.jsx)("p",{className:"text-[10px] font-[600] leading-none text-[#69FFC0CC]",children:"CLAIMABLE"})});var ag;function sg(){return sg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sg.apply(null,arguments)}function lg(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",sg({width:16,height:9,viewBox:"0 0 16 9",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,ag||(ag=i.createElement("path",{d:"M0 8.5L16 8.5L8 0.5L0 8.5Z"})))}const cg=i.forwardRef(lg),ug=(n.p,e=>{let{valuationSource:t}=e;return(0,a.jsx)("div",{className:"absolute hidden group-hover:block",children:(0,a.jsxs)("div",{className:"relative right-0 -top-[9rem] bg-[#FFFFFF] rounded-md min-w-[18rem] z-10 cursor-default flex flex-col",children:[(0,a.jsxs)("div",{className:"p-3",children:[(0,a.jsx)("p",{className:"font-bold text-base mb-2 text-black",children:"Fair Market Value (FMV)"}),(0,a.jsxs)("p",{className:"text-sm text-black",children:["An estimate of an NFT's value based on"," ",(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:un(t),className:"text-sm text-primary",children:cn(t)}),". FMV is an estimate and is in no way meant to construe financial advice."]})]}),(0,a.jsx)(cg,{className:"fill-[#FFFFFF]  absolute h-6 w-6 -bottom-[10px] left-[13%] rotate-180"})]})})}),dg=e=>{var t;let{price:n,spotPriceValue:r,token:i,toolTipCustomId:o}=e;if(!i)return null;const s=i!==T.SupportedTokens.DUC&&i!==T.SupportedTokens.USDC;let l;switch(null!==(t=null===i||void 0===i?void 0:i.toLowerCase())&&void 0!==t?t:""){case"fusd":l="FUSD";break;case"flow":l="FLOW";break;case"fut":l="Dapper FLOW";break;case"usdc":l="USDC";break;case"duc":l="Dapper Balance";break;case"sloppy":case"sloppystakes":l="Sloppy Stakes";break;case"usdt":l="USDT";break;default:return null}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(o,"-").concat(i,"-").concat(n,"-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.875rem",fontWeight:500,zIndex:10}}),(0,a.jsxs)("div",{"data-tooltip-id":"".concat(o,"-").concat(i,"-").concat(n,"-tooltip"),"data-tooltip-content":l,"data-tooltip-place":"right",className:"flex flex-col ".concat(r&&s?"mt-[8px]":"justify-center"),children:[(0,a.jsxs)("div",{className:"flex items-center flex-shrink-0 w-auto justify-end gap-[0.25rem]",children:[(0,a.jsx)(Za,{token:i}),(0,a.jsx)("span",{className:"text-white font-montserrat text-[1rem] font-[700]",children:(c=n,ln(c,{shouldUseDecimals:!0}))})]}),r&&s?(0,a.jsx)("div",{className:"ml-auto text-white flex",children:(0,a.jsx)(Wa,{includeParenthesis:!0,value:Number(r||0)})}):null]})]});var c},hg=e=>{let{dapperOffer:t,nonCustodialOffer:n}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col items-end gap-2",children:[(0,a.jsx)("span",{className:"text-neutral-600 text-base font-montserrat text-right",children:"Best Offer"}),(0,a.jsxs)("div",{className:"flex flex-col text-neutral-600",children:[n&&n.amount?(0,a.jsxs)("div",{className:"flex flex-row gap-1 items-center justify-between text-bold",children:[(0,a.jsx)("div",{className:"bg-[#ffffff2e] rounded flex items-center justify-center p-1 mx-1",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 9 11",fill:"none",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_2479_1716)",children:[(0,a.jsx)("path",{d:"M4.3134 3.06307C3.37349 3.06307 2.45605 3.42549 1.7702 4.06839C1.01794 4.77374 0.54188 5.8154 0.268994 6.79528C0.090263 7.4362 0.000732422 8.10123 0.000732422 8.76693C0.000732422 8.96813 0.0089917 9.16767 0.0248495 9.3649C0.0443414 9.60475 0.277914 9.77093 0.510495 9.70816C0.713343 9.65365 0.926762 9.62424 1.14679 9.62424C1.59874 9.62424 2.02227 9.74714 2.38535 9.96188C2.39427 9.96717 2.40286 9.97245 2.41178 9.97741C3.00182 10.3293 3.69791 10.5225 4.44026 10.4977C6.37656 10.4337 7.95838 8.85811 8.02974 6.92214C8.10771 4.80413 6.41422 3.06274 4.31373 3.06274L4.3134 3.06307ZM4.3134 8.48083C3.37481 8.48083 2.61397 7.71998 2.61397 6.78173C2.61397 5.84348 3.37481 5.0823 4.3134 5.0823C5.25198 5.0823 6.01282 5.84315 6.01282 6.78173C6.01282 7.72031 5.25198 8.48083 4.3134 8.48083Z",fill:"#14AAFF"}),(0,a.jsx)("path",{d:"M2.78437 1.89218C2.78437 2.38212 2.52767 2.83671 2.10612 3.08647C1.84149 3.2434 1.59338 3.42874 1.36873 3.63985C0.870197 4.10699 0.498199 4.68018 0.22267 5.24842C0.168159 5.36009 0 5.32044 0 5.19622V1.89218C0 1.12341 0.62341 0.5 1.39218 0.5C2.16096 0.5 2.78437 1.12341 2.78437 1.89218Z",fill:"#0077FF"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2479_1716",children:(0,a.jsx)("rect",{width:"8.03198",height:"10",fill:"white",transform:"translate(0 0.5)"})})})]})}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(dg,{price:(null===n||void 0===n?void 0:n.amount)||0,token:null===n||void 0===n?void 0:n.paymentTokenName,toolTipCustomId:"make-offer-nonCustodial"})})]}):(0,a.jsxs)("div",{className:"flex flex-row gap-1 items-center justify-between text-bold",children:[(0,a.jsx)("div",{className:"bg-[#ffffff2e] rounded flex items-center justify-center p-1 mx-1",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 9 11",fill:"none",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_2479_1716)",children:[(0,a.jsx)("path",{d:"M4.3134 3.06307C3.37349 3.06307 2.45605 3.42549 1.7702 4.06839C1.01794 4.77374 0.54188 5.8154 0.268994 6.79528C0.090263 7.4362 0.000732422 8.10123 0.000732422 8.76693C0.000732422 8.96813 0.0089917 9.16767 0.0248495 9.3649C0.0443414 9.60475 0.277914 9.77093 0.510495 9.70816C0.713343 9.65365 0.926762 9.62424 1.14679 9.62424C1.59874 9.62424 2.02227 9.74714 2.38535 9.96188C2.39427 9.96717 2.40286 9.97245 2.41178 9.97741C3.00182 10.3293 3.69791 10.5225 4.44026 10.4977C6.37656 10.4337 7.95838 8.85811 8.02974 6.92214C8.10771 4.80413 6.41422 3.06274 4.31373 3.06274L4.3134 3.06307ZM4.3134 8.48083C3.37481 8.48083 2.61397 7.71998 2.61397 6.78173C2.61397 5.84348 3.37481 5.0823 4.3134 5.0823C5.25198 5.0823 6.01282 5.84315 6.01282 6.78173C6.01282 7.72031 5.25198 8.48083 4.3134 8.48083Z",fill:"#14AAFF"}),(0,a.jsx)("path",{d:"M2.78437 1.89218C2.78437 2.38212 2.52767 2.83671 2.10612 3.08647C1.84149 3.2434 1.59338 3.42874 1.36873 3.63985C0.870197 4.10699 0.498199 4.68018 0.22267 5.24842C0.168159 5.36009 0 5.32044 0 5.19622V1.89218C0 1.12341 0.62341 0.5 1.39218 0.5C2.16096 0.5 2.78437 1.12341 2.78437 1.89218Z",fill:"#0077FF"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2479_1716",children:(0,a.jsx)("rect",{width:"8.03198",height:"10",fill:"white",transform:"translate(0 0.5)"})})})]})}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"nft-price d-flex align-items-center justify-end small ",children:(0,a.jsx)("div",{className:"text-neutral-600 text-bold text-base font-montserrat d-inline-block ms-1 text-end",children:"-"})})})]}),t&&t.amount?(0,a.jsxs)("div",{className:"flex flex-row gap-1 items-center justify-between text-bold mt-1",children:[(0,a.jsx)("div",{className:"bg-[#ffffff2e] rounded flex items-center justify-center p-1 mx-1",children:(0,a.jsx)("img",{src:(0,T.getProviderImage)("dapper"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(dg,{price:(null===t||void 0===t?void 0:t.amount)||0,token:null===t||void 0===t?void 0:t.paymentTokenName,toolTipCustomId:"make-offer-dapper"})})]}):(0,a.jsxs)("div",{className:"flex flex-row gap-1 items-center justify-between text-bold mt-1",children:[(0,a.jsx)("div",{className:"bg-[#ffffff2e] rounded flex items-center justify-center p-1 mx-1",children:(0,a.jsx)("img",{src:(0,T.getProviderImage)("dapper"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"nft-price d-flex align-items-center justify-end small ",children:(0,a.jsx)("div",{className:"text-neutral-600 text-bold text-base font-montserrat d-inline-block ms-1 text-end",children:"-"})})})]})]})]})})},pg=()=>(0,a.jsx)("div",{className:"w-full h-[9.3rem] bg-gray-400 animate-pulse  cursor-wait rounded-md"}),fg=e=>{let{dapperOffer:t,isLoading:n,isLoadingValuation:r,nonCustodialOffer:i,purchaseOrder:o,valuationData:s}=e;const l=dn(s.source);return(0,a.jsx)("div",{className:"h-full flex flex-col justify-between",children:n?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-start border-gradient mb-3",children:[(0,a.jsx)("p",{className:"text-white text-[14px] leading-6 mb-2 font-normal",children:"Purchase Price"}),(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:o?(0,a.jsx)(Ga,{price:(null===o||void 0===o?void 0:o.salePrice)||0,token:(null===o||void 0===o?void 0:o.paymentTokenName)||T.SupportedTokens.FLOW,toolTipCustomId:"purchase-price-tooltip"}):"-"})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[r?(0,a.jsx)("div",{className:"w-[87px] h-[56px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(a.Fragment,{children:null!==s&&void 0!==s&&s.usdValue&&s.usdValue>0?(0,a.jsxs)("div",{className:"flex flex-col justify-start items-start h-24 relative group",children:[(0,a.jsx)("div",{className:"text-neutral-900 text-[12px] font-montserrat font-normal",children:"3rd Party FMV"}),(0,a.jsx)("div",{className:"self-center text-end py-1 w-full",children:(0,a.jsxs)("span",{className:"text-neutral-600 font-medium text-base font-montserrat w-full flex justify-start",children:["$",ln(s.usdValue,{shouldUseDecimals:!0})]})}),(0,a.jsx)(ug,{valuationSource:l})]}):(0,a.jsx)("div",{})}),(0,a.jsx)(hg,{dapperOffer:t,nonCustodialOffer:i})]})]})})},mg=e=>{let{dapperOffer:t,nonCustodialOffer:n,isLoading:r,valuationData:i,offer:o,isLoadingValuation:s}=e;const l=dn(i.source);return(0,a.jsx)("div",{className:"h-full flex flex-col justify-between",children:r?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-start border-gradient mb-3",children:[(0,a.jsx)("p",{className:"text-white text-[14px] leading-6 mb-2 font-normal",children:"Offer Price"}),(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:null!==o&&void 0!==o&&o.amount?(0,a.jsx)(Ga,{price:null===o||void 0===o?void 0:o.amount,token:null===o||void 0===o?void 0:o.paymentTokenName,toolTipCustomId:"cancel-offer-price-tooltip"}):"-"})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[s?(0,a.jsx)("div",{className:"w-[87px] h-[56px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(a.Fragment,{children:null!==i&&void 0!==i&&i.usdValue&&i.usdValue>0?(0,a.jsxs)("div",{className:"flex flex-col justify-start items-start h-24 relative group",children:[(0,a.jsx)("div",{className:"text-neutral-900 text-[12px] font-montserrat font-normal",children:"3rd Party FMV"}),(0,a.jsx)("div",{className:"self-center text-end py-1 w-full",children:(0,a.jsxs)("span",{className:"text-neutral-600 font-medium text-base font-montserrat w-full flex justify-start",children:["$",ln(i.usdValue,{shouldUseDecimals:!0})]})}),(0,a.jsx)(ug,{valuationSource:l})]}):(0,a.jsx)("div",{})}),(0,a.jsx)(hg,{dapperOffer:t,nonCustodialOffer:n})]})]})})},gg=e=>{var t,n,r,i;let{isLoading:o,order:s}=e;const l=(e,t)=>{const n=new Date(1e3*e),r=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long"}).format(n),i=new Intl.DateTimeFormat("en-US",{hour:"2-digit",hour12:!0,minute:"2-digit"}).format(n);return t?r:"".concat(r,", ").concat(i)};return(0,a.jsx)("div",{className:"h-[10rem] flex flex-col justify-between",children:o?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-[#AAAAAA] leading-6 text-base font-montserrat font-normal",children:"loan"===s.type?"Loan":"Rental Fee"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"self-center text-bold text-base font-montserrat",children:(0,a.jsx)(Ga,{price:"loan"===s.type?null!==(t=null===s||void 0===s?void 0:s.loanAmount)&&void 0!==t?t:0:null!==(n=s.rentalFee)&&void 0!==n?n:0,token:null===s||void 0===s?void 0:s.paymentTokenName,toolTipCustomId:"loanRental-price-tooltip"})})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-[#AAAAAA] leading-6 text-base font-montserrat font-normal",children:"loan"===s.type?"Repayment":"Deposit"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-bold text-base font-montserrat",children:(0,a.jsx)(Ga,{price:"loan"===s.type?null!==(r=null===s||void 0===s?void 0:s.repaymentDue)&&void 0!==r?r:0:null!==(i=s.rentalRefundableDeposit)&&void 0!==i?i:0,token:null===s||void 0===s?void 0:s.paymentTokenName,toolTipCustomId:"loanRental-repayment-price-tooltip"})})})]}),(0,a.jsx)("div",{className:"my-1 border-gradient"}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-[#AAAAAA] leading-6 text-base font-montserrat font-normal",children:"loan"===s.type?"Funded":"Rented"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"font-bold text-white text-base font-montserrat",children:l(+s.settleDeadline-s.term,!0)})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-[#AAAAAA] leading-6 text-base font-montserrat font-normal",children:"Due"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"font-bold text-white text-base font-montserrat",children:l(+s.settleDeadline)})})]})]})})},vg=e=>{var t,n,r,i,o,s,c,u,d,h;let{isLoading:p,order:f,blendedLTV:m}=e;const{royaltyRate:g}=On(),[v]=(0,l.Mt)({name:"amountToBorrow"}),[C]=(0,l.Mt)({name:"amountToRepay"}),y=C.value-v.value,b=y>0?T.FLOWTY_INTEREST_FEE*y:0,w=(g||0)*v.value,x=Number(v.value)+(w+b),A=(Number(C.value)+w)/x-1,E=m||100*Number(null===f||void 0===f||null===(t=f.valuations)||void 0===t||null===(n=t.aggregate)||void 0===n?void 0:n.loanToValueRatio);return(0,a.jsx)("div",{className:"h-[10rem] flex flex-col justify-between",children:p?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-center ",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-white leading-6 text-base font-montserrat font-normal",children:"Loan Amount"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:null!==f&&void 0!==f&&null!==(r=f.derivations)&&void 0!==r&&null!==(i=r.calculatedValues)&&void 0!==i&&i.marketplaceAmount&&0!=(null===f||void 0===f||null===(o=f.derivations)||void 0===o||null===(s=o.calculatedValues)||void 0===s?void 0:s.marketplaceAmount)?(0,a.jsx)(Ga,{price:null===f||void 0===f||null===(c=f.derivations)||void 0===c||null===(u=c.calculatedValues)||void 0===u?void 0:u.marketplaceAmount,token:null===f||void 0===f?void 0:f.paymentTokenName,toolTipCustomId:"loan-amount-tooltip"}):"-"})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center ",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-white text-base font-montserrat font-normal",children:"APR"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 font-medium text-base font-montserrat",children:null!==f&&void 0!==f&&f.term||C.value&&v.value&&f.term?"".concat(an()((0,T.calcAPRInterest)(null!==C&&void 0!==C&&C.value?Number(A):Number(null===f||void 0===f||null===(d=f.derivations)||void 0===d||null===(h=d.calculatedValues)||void 0===h?void 0:h.periodicInterest),f?"LISTED"===f.state?Number(f.term):Number(f.term)*T.ONE_DAY_IN_SECONDS:0)).format("0,0.00"),"% "):"-"})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("div",{className:"text-white text-base font-montserrat font-normal",children:"Duration"}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 font-medium text-base font-montserrat",children:null!==f&&void 0!==f&&f.term?sn("LISTED"===f.state?Number(f.term):Number(f.term)*T.ONE_DAY_IN_SECONDS):"-"})})]}),(0,a.jsx)("div",{className:"my-1 border-gradient"}),(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)("div",{className:"text-neutral-500 text-base font-montserrat font-normal",children:"Blended LTV"}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 font-medium text-base font-montserrat",children:E?"".concat(an()(E).format("0,0.0"),"%"):"-"})})]})]})})},Cg=e=>{let{dapperOffer:t,isLoading:n,nonCustodialOffer:r,order:o,valuationData:s,isDapper:l,isLoadingValuation:c}=e;const{spotPrice:u}=kl(),d=dn(s.source),h=(0,i.useMemo)((()=>({amount:o.offerAmount,paymentTokenName:o.paymentTokenName})),[o]),p=(0,i.useMemo)((()=>((null===r||void 0===r?void 0:r.paymentTokenName)===T.SupportedTokens.FLOW?Number(null===r||void 0===r?void 0:r.amount)*Number(null===u||void 0===u?void 0:u.value):Number(null===r||void 0===r?void 0:r.amount))>(o.paymentTokenName===T.SupportedTokens.FLOW?o.offerAmount*Number(null===u||void 0===u?void 0:u.value):o.offerAmount)),[u,o,r]);return(0,a.jsx)("div",{className:"h-full flex flex-col justify-between",children:n?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-center border-gradient mb-3",children:[(0,a.jsx)("p",{className:"text-white text-[14px] leading-6 mb-2 font-normal",children:"Purchase Price"}),(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:null!==o&&void 0!==o&&o.currentOrderSalePrice?(0,a.jsx)(Ga,{price:null===o||void 0===o?void 0:o.currentOrderSalePrice,token:(null===o||void 0===o?void 0:o.currentOrderTokenName)||T.SupportedTokens.FLOW,toolTipCustomId:"make-offer-price-tooltip"}):"-"})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[c?(0,a.jsx)("div",{className:"w-[87px] h-[56px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(a.Fragment,{children:null!==s&&void 0!==s&&s.usdValue&&s.usdValue>0?(0,a.jsxs)("div",{className:"flex flex-col justify-start items-start h-24 relative group",children:[(0,a.jsx)("div",{className:"text-neutral-900 text-[12px] font-montserrat font-normal",children:"3rd Party FMV"}),(0,a.jsx)("div",{className:"self-center text-end py-1 w-full",children:(0,a.jsxs)("span",{className:"text-neutral-600 font-medium text-base font-montserrat w-full flex justify-start",children:["$",ln(s.usdValue,{shouldUseDecimals:!0})]})}),(0,a.jsx)(ug,{valuationSource:d})]}):(0,a.jsx)("div",{})}),(0,a.jsx)(hg,{dapperOffer:Boolean(l)&&h.amount>((null===t||void 0===t?void 0:t.amount)||0)?h:t,nonCustodialOffer:Boolean(l)||p?r:h})]})]})})},yg=e=>{let{isLoading:t,order:n}=e;return(0,a.jsx)("div",{className:"h-[10rem] flex flex-col justify-between",children:t?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-white leading-6 text-base font-montserrat font-normal",children:"Rental Fee"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:null!==n&&void 0!==n&&n.amount?(0,a.jsx)(Ga,{price:Number(null===n||void 0===n?void 0:n.amount),token:null===n||void 0===n?void 0:n.paymentTokenName,toolTipCustomId:"rental-fee-tooltip"}):"-"})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-white leading-6 text-base font-montserrat font-normal",children:"Refundable Deposit"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 text-bold text-base font-montserrat",children:null!==n&&void 0!==n&&n.deposit?(0,a.jsx)(Ga,{price:Number(null===n||void 0===n?void 0:n.deposit),token:null===n||void 0===n?void 0:n.paymentTokenName,toolTipCustomId:"refundable-deposit-fee-tooltip"}):"-"})})]}),(0,a.jsx)("div",{className:"my-1 border-gradient"}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-white leading-6 text-base font-montserrat font-normal",children:"Total Upfront"})}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 text-bold text-base font-montserrat",children:null!==n&&void 0!==n&&n.amount&&null!==n&&void 0!==n&&n.deposit?(0,a.jsx)(Ga,{price:Number(n.deposit)+Number(n.amount),token:null===n||void 0===n?void 0:n.paymentTokenName,toolTipCustomId:"total-upfront-tooltip"}):"-"})})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,a.jsx)("span",{className:"text-neutral-500 leading-6 text-base font-montserrat font-normal",children:"Duration"}),(0,a.jsx)("div",{className:"self-center text-end",children:(0,a.jsx)("span",{className:"text-neutral-600 leading-6 font-medium",children:null!==n&&void 0!==n&&n.term?sn("LISTED"===n.state?Number(n.term):Number(n.term)*T.ONE_DAY_IN_SECONDS):"-"})})]})]})})},bg=e=>{let{dapperOffer:t,isLoading:n,nonCustodialOffer:r,order:i,valuationData:o,isLoadingValuation:s}=e;const l=dn(o.source);return(0,a.jsx)("div",{className:"h-full flex flex-col justify-between",children:n?(0,a.jsx)(pg,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-4 items-center border-gradient mb-3",children:[(0,a.jsx)("p",{className:"text-white text-[14px] leading-6 mb-2 font-normal",children:"Purchase Price"}),(0,a.jsx)("span",{className:"text-neutral-600 leading-6 text-bold mb-2",children:null!==i&&void 0!==i&&i.amount||null!==i&&void 0!==i&&i.salePrice?(0,a.jsx)(Ga,{price:(null===i||void 0===i?void 0:i.amount)||(null===i||void 0===i?void 0:i.salePrice),token:null===i||void 0===i?void 0:i.paymentTokenName,toolTipCustomId:"purchase-price-tooltip"}):"-"})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[s?(0,a.jsx)("div",{className:"w-[87px] h-[56px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,a.jsx)(a.Fragment,{children:null!==o&&void 0!==o&&o.usdValue&&o.usdValue>0?(0,a.jsxs)("div",{className:"flex flex-col justify-start items-start h-24 relative group",children:[(0,a.jsx)("div",{className:"text-neutral-900 text-[12px] font-montserrat font-normal",children:"3rd Party FMV"}),(0,a.jsx)("div",{className:"self-center text-end py-1 w-full",children:(0,a.jsxs)("span",{className:"text-neutral-600 font-medium text-base font-montserrat w-full flex justify-start",children:["$",ln(o.usdValue,{shouldUseDecimals:!0})]})}),(0,a.jsx)(ug,{valuationSource:l})]}):(0,a.jsx)("div",{})}),(0,a.jsx)(hg,{dapperOffer:t,nonCustodialOffer:r})]})]})})},wg=e=>{let{isLoading:t,isLoadingValuation:n,isDapper:r,nft:i,order:o,valuationData:s,blendedLTV:l,isTransfer:c,isLoadingOrders:u,isLostAndFound:d}=e;const h=null===o||void 0===o?void 0:o.listingKind;if(c)return null;if(d)return(0,a.jsx)("div",{className:"w-full h-[10rem] flex items-center justify-center",children:(0,a.jsx)(og,{})});switch(h){case"storefront":return(0,a.jsx)(bg,{isLoading:t,isLoadingValuation:n,order:o,nonCustodialOffer:null===i||void 0===i?void 0:i.bestNonCustodialOffer,dapperOffer:null===i||void 0===i?void 0:i.bestDapperOffer,valuationData:s});case"acceptOffer":return(0,a.jsx)(fg,{isLoading:t,isLoadingValuation:n,purchaseOrder:o.purchaseOrder,nonCustodialOffer:null===i||void 0===i?void 0:i.bestNonCustodialOffer,dapperOffer:null===i||void 0===i?void 0:i.bestDapperOffer,valuationData:s});case"makeOffer":return(0,a.jsx)(Cg,{isDapper:r,isLoading:t,isLoadingValuation:n,order:o,nonCustodialOffer:null===i||void 0===i?void 0:i.bestNonCustodialOffer,dapperOffer:null===i||void 0===i?void 0:i.bestDapperOffer,valuationData:s});case"cancelOffer":return(0,a.jsx)(mg,{isLoadingValuation:n,nonCustodialOffer:null===i||void 0===i?void 0:i.bestNonCustodialOffer,dapperOffer:null===i||void 0===i?void 0:i.bestDapperOffer,isLoading:t,offer:o,valuationData:s});case"loan":return(0,a.jsx)(vg,{order:o,isLoading:t,blendedLTV:l});case"rental":return(0,a.jsx)(yg,{order:o,isLoading:t});case"loanBorrower":case"rentalBorrower":return(0,a.jsx)(gg,{order:o,isLoading:t});default:return u?(0,a.jsx)("div",{className:"h-[10rem] flex justify-center items-center",children:(0,a.jsx)("div",{className:"w-full h-full mt-4 animate-pulse bg-[#edf3f60a] rounded-lg"})}):(0,a.jsx)("div",{className:"h-[10rem] flex justify-center items-center",children:(0,a.jsx)("p",{className:"text-sm font-normal text-[#ADB5BD]",children:"No Listing Available"})})}},xg=e=>{var t;let{isOpen:n,isDapper:r,isLostAndFound:o,collectionImage:s,blendedLTV:l,openSearchFlowNFT:c,hasProvider:u,orderContent:d,isPurchase:h=!1,valuationData:p,onCloseModal:f,listingType:m,resetModal:g,closeBtnProps:v,confirmBtnProps:C,orderData:y,isLoadingMakeOffer:b,isLoadingOrders:w,sealedMakeOffer:x,isSingleOffer:A,isDelist:E,isLoadingValuation:_,isMainnet:S,mixPanelFn:k}=e;const P=h?"flex-col lg:flex-row-reverse lg:justify-start":"flex-col lg:flex-row",D=h?"lg:border-l":"lg:border-r",[N,F]=(0,i.useState)(!1),I=()=>F(!1),R=(0,T.nftTypeAndIdToLocationData)(c.type,c.id);return(0,a.jsx)(Nm.e,{appear:!0,show:n,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",onClose:f,children:[(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{"data-testid":"flowty-listing-modal",className:"fixed max-md:h-full max-md:overflow-hidden inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center text-center",children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"modal-height transform md:rounded-xl bg-[#04070B] text-left align-middle shadow-xl transition-all w-full md:w-[33rem] lg:w-[65rem] max-md:min-h-[100svh] max-md:h-[100svh] md:border border-[#495057] max-md:flex max-md:flex-col",children:[(0,a.jsxs)(Fm.l.Title,{as:"div",className:"border-b border-[#495057] px-[40px] py-[21px] md:py-8 w-full flex justify-between items-center",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[24px]",children:["makeOffer"===m&&!A&&!b&&!x&&(0,a.jsx)(eg,{onClick:()=>g&&g()}),(0,a.jsx)(rg,{listingType:m,nftName:(null===c||void 0===c||null===(t=c.card)||void 0===t?void 0:t.title)||"",isPurchase:h,hasProvider:u,isDelist:E,isLostAndFound:o})]}),(0,a.jsx)(Im.A,{"data-testid":"close-modal-icon",onClick:f,className:"w-6 h-6 md:h-8 md:w-8 cursor-pointer fill-white"})]}),(0,a.jsxs)("div",{className:"flex ".concat(P," w-full max-md:flex-grow max-md:overflow-y-scroll max-md:overflow-x-hidden"),children:[(0,a.jsx)("div",{className:"w-full md:h-auto ".concat(D," border-[#495057] flex-col flex px-[40px] py-[24px] items-center"),children:(0,a.jsx)("div",{className:"flex w-full h-full flex-col",children:d})}),(0,a.jsxs)("div",{className:"w-full bg-[#04070B] ".concat(null!==y&&void 0!==y&&y.blockTimestamp||w&&"makeOffer"!==m?"px-[40px] md:px-[24px] pt-[24px] pb-0 md:pt-[21px] md:pb-0 min-w-[0px]":"px-[40px] md:px-[24px] py-[24px] md:pt-[21px] md:pb-[25px]"," md:px-[40px] flex justify-center items-center flex-col"),children:[(0,a.jsxs)("div",{className:"flex justify-between items-center w-full pb-4",children:[(0,a.jsx)("span",{className:"text-[16px] font-montserrat font-semibold text-neutral-500",children:"transfer"===m||"lostAndFound"===m?"NFT Preview":h?"Listing":"Listing Preview"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(qa.m_,{id:"copyUrl",style:{backgroundColor:"#F8F9FA",color:"#04070B",zIndex:50},className:"text-sm font-medium"}),(0,a.jsx)("div",{"data-tooltip-id":"copyUrl","data-tooltip-content":"Copy URL","data-tooltip-place":"bottom",onClick:()=>{navigator.clipboard.writeText("".concat(window.location.origin,"/asset/").concat(R.contract.address,"/").concat(R.contract.name,"/").concat(R.resourceName,"/").concat(R.nftID)),F(!0),setTimeout(I,3e3)},className:"p-2 ".concat("border-[#7C7C7C]"," border-[0.3px] border-opacity-80 rounded bg-[#FFFFFF14] hover:bg-[#ffffff33] cursor-pointer"),children:N?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-[16px] h-[16px] text-primary",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,a.jsx)("path",{d:"M10.0687 3.6686C10.6936 3.04377 11.7066 3.04377 12.3315 3.6686C12.9563 4.29344 12.9563 5.30651 12.3315 5.93135L9.93145 8.33135C9.30661 8.95619 8.29355 8.95619 7.66871 8.33135C7.35629 8.01893 6.84976 8.01893 6.53734 8.33135C6.22492 8.64377 6.22492 9.1503 6.53734 9.46272C7.78702 10.7124 9.81315 10.7124 11.0628 9.46272L13.4628 7.06272C14.7125 5.81304 14.7125 3.78691 13.4628 2.53723C12.2131 1.28756 10.187 1.28756 8.93734 2.53723L7.73734 3.73723C7.42492 4.04965 7.42492 4.55619 7.73734 4.8686C8.04976 5.18102 8.55629 5.18102 8.86871 4.8686L10.0687 3.6686Z",fill:"#F8F9FA"}),(0,a.jsx)("path",{d:"M6.06873 7.6686C6.69356 7.04377 7.70663 7.04377 8.33147 7.6686C8.64389 7.98102 9.15042 7.98102 9.46284 7.6686C9.77526 7.35618 9.77526 6.84965 9.46284 6.53723C8.21316 5.28756 6.18703 5.28756 4.93736 6.53723L2.53736 8.93723C1.28768 10.1869 1.28768 12.213 2.53736 13.4627C3.78703 14.7124 5.81316 14.7124 7.06284 13.4627L8.26284 12.2627C8.57526 11.9503 8.57526 11.4438 8.26284 11.1313C7.95042 10.8189 7.44389 10.8189 7.13147 11.1313L5.93147 12.3313C5.30663 12.9562 4.29357 12.9562 3.66873 12.3313C3.04389 11.7065 3.04389 10.6934 3.66873 10.0686L6.06873 7.6686Z",fill:"#F8F9FA"})]})}),(0,a.jsxs)("a",{target:"_blank",rel:"noreferrer",href:"/asset/".concat(R.contract.address,"/").concat(R.contract.name,"/").concat(R.resourceName,"/").concat(R.nftID),children:[(0,a.jsx)(qa.m_,{id:"moreInfo",style:{backgroundColor:"#F8F9FA",color:"#04070B",zIndex:50},className:"text-sm font-medium"}),(0,a.jsx)("div",{"data-tooltip-id":"moreInfo","data-tooltip-content":"More Info","data-tooltip-place":"bottom",className:"p-2 border-[0.3px] border-[#7C7C7C] border-opacity-80 rounded bg-[#FFFFFF14] hover:bg-[#ffffff33] cursor-pointer",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,a.jsx)("path",{d:"M8.0001 1.59998C7.55827 1.59998 7.2001 1.95815 7.2001 2.39998V3.19998C7.2001 3.6418 7.55827 3.99998 8.0001 3.99998C8.44192 3.99998 8.8001 3.6418 8.8001 3.19998V2.39998C8.8001 1.95815 8.44192 1.59998 8.0001 1.59998Z",fill:"#F8F9FA"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.2001 3.19998H5.6001C5.6001 4.52546 6.67461 5.59998 8.0001 5.59998C9.32558 5.59998 10.4001 4.52546 10.4001 3.19998H12.8001C13.6838 3.19998 14.4001 3.91632 14.4001 4.79998V12C14.4001 12.8836 13.6838 13.6 12.8001 13.6H3.2001C2.31644 13.6 1.6001 12.8836 1.6001 12V4.79998C1.6001 3.91632 2.31644 3.19998 3.2001 3.19998ZM5.2001 8.79998C5.86284 8.79998 6.4001 8.26272 6.4001 7.59998C6.4001 6.93723 5.86284 6.39998 5.2001 6.39998C4.53736 6.39998 4.0001 6.93723 4.0001 7.59998C4.0001 8.26272 4.53736 8.79998 5.2001 8.79998ZM7.16048 12C7.18672 11.8707 7.20049 11.737 7.20049 11.6C7.20049 10.4954 6.30506 9.59998 5.20049 9.59998C4.09592 9.59998 3.20049 10.4954 3.20049 11.6C3.20049 11.737 3.21426 11.8707 3.2405 12H7.16048ZM9.6001 7.19998C9.15827 7.19998 8.8001 7.55815 8.8001 7.99998C8.8001 8.4418 9.15827 8.79998 9.6001 8.79998H12.0001C12.4419 8.79998 12.8001 8.4418 12.8001 7.99998C12.8001 7.55815 12.4419 7.19998 12.0001 7.19998H9.6001ZM8.8001 10.4C8.8001 9.95815 9.15827 9.59998 9.6001 9.59998H11.2001C11.6419 9.59998 12.0001 9.95815 12.0001 10.4C12.0001 10.8418 11.6419 11.2 11.2001 11.2H9.6001C9.15827 11.2 8.8001 10.8418 8.8001 10.4Z",fill:"#F8F9FA"})]})})]})]})]}),(0,a.jsx)($m,{collectionImage:s,listingType:m,nft:c,valuationData:p,hasProvider:u,isMainnet:S,mixPanelFn:k,children:(0,a.jsx)(wg,{isLostAndFound:o,isTransfer:"transfer"===m,isDapper:r,order:y,isLoading:!1,nft:c,valuationData:p,blendedLTV:l,isLoadingValuation:_,isLoadingOrders:w})}),w&&"makeOffer"!==m?(0,a.jsx)("div",{className:"flex p-1 text-[#6C757D] text-sm h-[25px]",children:(0,a.jsx)("div",{className:"w-[200px] h-[18px] animate-pulse bg-[#edf3f60a] rounded-lg"})}):(0,a.jsx)(a.Fragment,{children:(null===y||void 0===y?void 0:y.blockTimestamp)&&!w&&(0,a.jsx)(ng,{blockTimestamp:Number(null===y||void 0===y?void 0:y.blockTimestamp),listingType:m})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row w-full items-center justify-between gap-[24px] md:gap-6 px-[40px] md:px-0 py-8 border-t border-[#495057]",children:[(0,a.jsxs)("div",{className:"w-auto hidden lg:flex gap-2 items-center lg:pl-[40px]",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] font-medium text-[16px]",children:"Need Help?"}),(0,a.jsx)("a",{href:"https://discord.gg/Fpv5sDnHWS",target:"_blank",rel:"noreferrer",className:"text-white text-[16px] font-semibold underline cursor-pointer",children:"Contact Us"})]}),(0,a.jsx)("div",{className:"w-full ".concat(h?"md:w-[480px]":"md:w-[429px]"," "),children:(0,a.jsx)(ig,{closeBtnProps:v,confirmBtnProps:C})})]})]})})})})]})})},Ag=e=>{let{isOpen:t,openSearchFlowNFT:n,hasProvider:r,orderContent:i,mixPanelFn:o}=e;const{blendedLTV:s,valuationData:l,onCloseModal:c,listingType:u,closeBtnProps:d,confirmBtnProps:h,orderData:p,singleAction:f,collectionImage:m,isDelist:g,isDapper:v,isLoadingValuation:C,isMainnet:y}=On();return(0,a.jsx)(xg,{collectionImage:m,isDelist:Boolean(f)||g.sale||g.loan||g.rent,blendedLTV:s,isOpen:t,openSearchFlowNFT:n,hasProvider:r,valuationData:l,onCloseModal:c,listingType:u,closeBtnProps:d,confirmBtnProps:h,orderData:p,orderContent:i,isDapper:v,isLoadingValuation:C,mixPanelFn:o,isMainnet:y})},Eg=e=>{let{isOpen:t,initialListingType:n,onClose:r,accountSummaries:o,openSearchFlowNFT:s,flowNFT:c,selectedOffer:u,singleAction:d,singleOrder:h,createTransactionNotification:p,collectionDisplayName:f,nftProviderPathIdentifier:m,valuation:g,isLoadingValuation:v,hasProvider:C,collectionImage:y,spotPrice:b,strapiUrl:w,mixPanelFn:x,addressesWithCollectionPublic:A,flowty:E}=e;const _=Object.values(o||{}),S=null===_||void 0===_?void 0:_.find((e=>e.isMain)),k=(0,i.useMemo)((()=>{var e,t,n;if(s)return{loan:null===(e=s.orders)||void 0===e?void 0:e.filter((e=>"loan"===e.listingKind)),rental:null===(t=s.orders)||void 0===t?void 0:t.filter((e=>"rental"===e.listingKind)),storefront:null===(n=s.orders)||void 0===n?void 0:n.filter((e=>"storefront"===e.listingKind))}}),[s]);return(0,a.jsx)(l.l1,{initialValues:{amountToBorrow:"",amountToRepay:"",isLoadingValuation:!1,listingDuration:30,loanDuration:"",loanEnableAutoRepayment:!1,privateListingAddr:"",refundableDeposit:"",rentalDuration:"",rentalFee:"",rentalListingDuration:30,saleListingValue:"",storefrontListingDuration:30,tokenType:null!==S&&void 0!==S&&S.isDapper?T.SupportedTokens.DUC:T.SupportedTokens.USDC,transferReceiver:""},onSubmit:()=>{},validate:()=>({}),children:e=>{let{values:i,resetForm:l}=e;return(0,a.jsx)(Mn,{flowNft:c,createTransactionNotification:p,collectionDisplayName:f,nftProviderPathIdentifier:m,accountSummaries:o,addressesWithCollectionPublic:A,mainAccount:S,openSearchFlowNFT:s,nftOrders:k,selectedOffer:u,onClose:r,resetForm:l,collectionImage:null!==y&&void 0!==y?y:"",spotPrice:b,values:i,valuation:g,isLoadingValuation:v,hasProvider:C,initialListingType:n,singleAction:d,singleOrder:h,mixPanelFn:x,flowty:E,children:(0,a.jsx)(Ag,{isOpen:t,openSearchFlowNFT:s,hasProvider:C,orderContent:(0,a.jsx)(km,{openSearchFlowNFT:s,accountSummaries:o,flowty:E,strapiUrl:w}),mixPanelFn:x})})}})},_g=e=>{let{isLoanOrRental:t,isDapper:n=!1,isNonDapper:r=!1}=e;return(0,a.jsx)("div",{"data-testid":"dapper-warning-message",className:"dapper-warning bg-[#FFFFFF14] flex flex-col px-[0.75rem] py-[0.5rem] self-stretch rounded-[0.5rem]",children:(0,a.jsxs)("div",{className:"flex items-center gap-[0.5rem] self-stretch text-warning font-montserrat text-[0.75rem] font-[400] leading-[0.75rem]",children:[(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43123 2.78899C8.11938 1.56562 9.88075 1.56562 10.5689 2.78899L15.5912 11.7175C16.2661 12.9174 15.399 14.3999 14.0223 14.3999H3.97779C2.6011 14.3999 1.73402 12.9174 2.40896 11.7175L7.43123 2.78899ZM9.89999 11.7C9.89999 12.1971 9.49704 12.6 8.99999 12.6C8.50293 12.6 8.09999 12.1971 8.09999 11.7C8.09999 11.203 8.50293 10.8 8.99999 10.8C9.49704 10.8 9.89999 11.203 9.89999 11.7ZM8.99999 4.50005C8.50293 4.50005 8.09999 4.90299 8.09999 5.40005V8.10005C8.09999 8.59711 8.50293 9.00005 8.99999 9.00005C9.49704 9.00005 9.89999 8.59711 9.89999 8.10005V5.40005C9.89999 4.90299 9.49704 4.50005 8.99999 4.50005Z",fill:"#FF6E25"})}),t?(0,a.jsxs)("span",{className:"w-fit",children:["Loans and Rentals are not supported on Dapper Wallet. Please connect with a non-Dapper Wallet to use those features. For more information on Wallets, see our"," ",(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",className:"underline",href:"https://docs.flowty.io/reference/general-platform/supported-crypto-wallets",children:"supported wallets FAQ"}),"."]}):(0,a.jsxs)("span",{className:"w-fit","data-testid":"warning-wallet-message",children:["A ",n&&"non-Dapper",r&&"Dapper"," Wallet with sufficient funds is required to proceed with this transaction. Learn more"," ",(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",className:"underline",href:"https://docs.flowty.io/reference/general-platform/supported-crypto-wallets",children:"here"}),"."]})]})})},Tg=e=>{let{listings:t,selectedListing:n,updateSelectedOrder:r}=e;return(0,a.jsx)(Jl,{orders:t,selectedOrder:n,updateSelectedOrder:r})},Sg=e=>{let{fundLoanOrders:t,selectedOrder:n,singleLoanOrder:r,updateSelectedOrder:i}=e;return(0,a.jsxs)(a.Fragment,{children:[(r||t&&1===t.length)&&(0,a.jsx)("div",{className:"flex flex-col gap-2",children:(0,a.jsx)($l,{listing:t?t[0]:r})}),t&&t.length>1&&(0,a.jsx)(Tg,{listings:t,selectedListing:n,updateSelectedOrder:i})]})},kg=e=>{let{rentalOrders:t,singleRentalOrder:n,selectedOrder:r,updateSelectedOrder:i,isDapper:o,isPrivateListing:s}=e;return(0,a.jsxs)("div",{className:"flex flex-col justify-between h-full gap-2",children:[t&&t.length>1&&(0,a.jsx)(Jl,{orders:t,selectedOrder:r,updateSelectedOrder:i}),(n||t&&1===t.length)&&(0,a.jsx)(Sc,{order:t?t[0]:n}),s&&(0,a.jsxs)("div",{className:"w-full flex gap-3 justify-between items-center p-5 border border-warning bg-[#ffffff1a] rounded",children:[(0,a.jsx)(oc,{className:"w-[40px] h-[40px] text-warning"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-white",children:"Private Listing"}),(0,a.jsxs)("p",{className:"text-xs font-normal text-white",children:["This is a private listing and can only be filled by the address"," ",r.renter]})]})]}),!o&&(0,a.jsx)("div",{className:"mt-auto flex flex-col gap-[0.75rem] justify-end items-center self-stretch",children:(0,a.jsxs)("div",{className:"text-white text-[14px] font-montserrat font-[400] flex flex-col gap-1",children:[(0,a.jsx)("span",{children:"Notes:"}),(0,a.jsxs)("ul",{className:"list-disc list-inside px-3",children:[(0,a.jsxs)("li",{className:"leading-normal list-none",children:[(0,a.jsx)("span",{className:"mr-3",children:"\u2022"}),"Failure to return the NFT(s) before the end of the rental period will lead to forfeiture of your deposit."]}),(0,a.jsxs)("li",{className:"leading-normal list-none",children:[(0,a.jsx)("span",{className:"mr-3",children:"\u2022"}),"Flowty cannot assist if there are Flowty or third-party outages or technical problems that prevent or delay transfer of the rented NFT(s) back to your account or back to the Owner."]})]})]})})]})},Pg=e=>{let{storefrontOrders:t,singleStorefrontOrder:n,selectedOrder:r}=e;const{spotPrice:i,updateSelectedOrder:o,valuationData:s}=kl();return(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&t.length>1&&(0,a.jsx)(Jl,{orders:t,selectedOrder:r,updateSelectedOrder:o}),(n||t&&1===t.length)&&(0,a.jsx)("div",{className:"w-full flex flex-col justify-between my-4 gap-3",children:(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Purchase Price"}),(0,a.jsx)(Ga,{token:n?n.paymentTokenName:(null===t||void 0===t?void 0:t[0].paymentTokenName)||T.SupportedTokens.FLOW,price:n?n.amount:(null===t||void 0===t?void 0:t[0].amount)||0,spotPriceValue:i?i.value*Number(n?n.amount:(null===t||void 0===t?void 0:t[0].amount)||0):void 0})]})}),null!==s&&void 0!==s&&s.percentage?(0,a.jsx)(Oc,{source:s.source,percent:(null===s||void 0===s?void 0:s.percentage)||0}):null]})},Dg=e=>{let{royalty:t}=e;return(0,a.jsx)("div",{className:"dapper-warning bg-[#FFFFFF14] flex flex-col px-[0.75rem] py-[0.5rem] self-stretch rounded-[0.5rem]",children:(0,a.jsxs)("div",{className:"flex items-center gap-[0.5rem] self-stretch font-montserrat text-[0.75rem] font-[400] leading-[0.75rem]",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1998 8.99999C16.1998 12.9764 12.9763 16.2 8.9998 16.2C5.02335 16.2 1.7998 12.9764 1.7998 8.99999C1.7998 5.02354 5.02335 1.79999 8.9998 1.79999C12.9763 1.79999 16.1998 5.02354 16.1998 8.99999ZM9.89981 5.39999C9.89981 5.89704 9.49686 6.29999 8.9998 6.29999C8.50275 6.29999 8.0998 5.89704 8.0998 5.39999C8.0998 4.90293 8.50275 4.49999 8.9998 4.49999C9.49686 4.49999 9.89981 4.90293 9.89981 5.39999ZM8.0998 8.09999C7.60275 8.09999 7.1998 8.50293 7.1998 8.99999C7.1998 9.49704 7.60275 9.89999 8.0998 9.89999V12.6C8.0998 13.097 8.50275 13.5 8.9998 13.5H9.89981C10.3969 13.5 10.7998 13.097 10.7998 12.6C10.7998 12.1029 10.3969 11.7 9.89981 11.7V8.99999C9.89981 8.50293 9.49686 8.09999 8.9998 8.09999H8.0998Z",fill:"#F8F9FA"})}),(0,a.jsxs)("span",{className:"w-fit text-[#ADB5BD] text-[12px]",children:["If you sell this NFT, there will be a ",t.toFixed(1),"% creator royalty assessed"]})]})})},Ng=e=>{let{accountSummaries:t,fundLoanOrders:n,singleLoanOrder:r,rentalOrders:i,singleRentalOrder:o,storefrontOrders:s,singleStorefrontOrder:l,isDapper:c}=e;const{payWithSelectedAccount:u,sendToSelectedAccount:d,selectedOrder:h,listingType:p,updateSelectedAccount:f,hasChildAccounts:m,updateSelectedOrder:g,isPrivateListing:v,hasBalance:C,tokenProviderFilter:y,hasNftReceiver:b,dapperWalletNoOrder:w,nonDapperNoOrder:x,isLoggedUser:A,royaltyRate:E}=kl();return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-5",children:[(0,a.jsxs)("div",{className:"h-full flex flex-col gap-3",children:[m&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(en,{selected:u,setSelected:e=>f(e,"payWith"),label:"Pay With",summaries:t,listingType:"storefront",selectorFilter:y,disabledMessage:nn}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)(en,{selected:d,setSelected:e=>f(e,"sendTo"),label:"Send To",summaries:t,listingType:"storefront",selectorFilter:b,disabledMessage:rn}),"fundLoan"===p?(0,a.jsx)("p",{className:"text-white text-xs",children:"Account to receive collateral (NFT) if loan is not repaid"}):(0,a.jsx)("p",{className:"h-[14px]"})]})]}),("purchase"===p||"makeOffer"===p)&&(0,a.jsx)(Pg,{storefrontOrders:s,singleStorefrontOrder:l,selectedOrder:h.purchase?h.purchase:null===s||void 0===s?void 0:s[0]}),"fundLoan"===p&&(0,a.jsx)(Sg,{updateSelectedOrder:g,fundLoanOrders:n,singleLoanOrder:r,selectedOrder:h.fundLoan?h.fundLoan:null===n||void 0===n?void 0:n[0]}),"fundRental"===p&&(0,a.jsx)(kg,{updateSelectedOrder:g,rentalOrders:i,singleRentalOrder:o,selectedOrder:h.fundRental?h.fundRental:null===i||void 0===i?void 0:i[0],isDapper:c,isPrivateListing:v})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[Boolean(E)&&Number(E)>0?(0,a.jsx)(Dg,{royalty:Number(E)}):(0,a.jsx)(a.Fragment,{}),!1===C&&!w&&!x&&A&&(0,a.jsx)("p",{className:"w-full text-[#FF6E25] text-sm",children:"Insufficient funds to complete the transaction!"}),(0,a.jsx)("div",{className:"mt-auto flex flex-col gap-[0.75rem] justify-end self-stretch",children:(w||x)&&(0,a.jsx)(_g,{isLoanOrRental:"fundLoan"===p||"fundRental"===p,isDapper:c,isNonDapper:x})})]})]})},Fg=e=>{var t,n,r,i,o,s,l,c,u,d,h,p;let{activeTab:f,accountSummaries:m,setActiveTab:g,nftOrders:v,isDapper:C,setSelectedOrder:y}=e;return(0,a.jsx)(q,{activeTab:f,condensed:!0,tabs:[{badgeNotification:((null===v||void 0===v||null===(t=v.storefront)||void 0===t?void 0:t.length)||0)>1?null===v||void 0===v||null===(n=v.storefront)||void 0===n||null===(r=n.length)||void 0===r?void 0:r.toString():void 0,content:Boolean(0===((null===v||void 0===v||null===(i=v.storefront)||void 0===i?void 0:i.length)||0))?(0,a.jsx)("p",{className:"w-[400px] pt-[18px] text-base font-semibold text-white",children:"No Purchase Listings available"}):(0,a.jsx)(Ng,{isDapper:C,storefrontOrders:null===v||void 0===v?void 0:v.storefront,accountSummaries:m}),id:"1",label:"Sale"},{badgeNotification:((null===v||void 0===v||null===(o=v.loan)||void 0===o?void 0:o.length)||0)>1?null===v||void 0===v||null===(s=v.loan)||void 0===s||null===(l=s.length)||void 0===l?void 0:l.toString():void 0,content:Boolean(0===((null===v||void 0===v||null===(c=v.loan)||void 0===c?void 0:c.length)||0))?(0,a.jsx)("p",{className:"w-[400px] pt-[18px] text-base font-semibold text-white",children:"No Loan Listings available"}):(0,a.jsx)(Ng,{isDapper:C,fundLoanOrders:null===v||void 0===v?void 0:v.loan,accountSummaries:m}),id:"2",label:"Loan"},{badgeNotification:((null===v||void 0===v||null===(u=v.rental)||void 0===u?void 0:u.length)||0)>1?null===v||void 0===v||null===(d=v.rental)||void 0===d||null===(h=d.length)||void 0===h?void 0:h.toString():void 0,content:Boolean(0===((null===v||void 0===v||null===(p=v.rental)||void 0===p?void 0:p.length)||0))?(0,a.jsx)("p",{className:"w-[400px] pt-[18px] text-base font-semibold text-white",children:"No Rental Listings available"}):(0,a.jsx)(Ng,{isDapper:C,rentalOrders:null===v||void 0===v?void 0:v.rental,accountSummaries:m}),id:"3",label:"Rental"}],onChange:e=>{var t,n,r;g(e),y({fundLoan:"2"===e?null===v||void 0===v||null===(t=v.loan)||void 0===t?void 0:t[0]:null,fundRental:"3"===e?null===v||void 0===v||null===(n=v.rental)||void 0===n?void 0:n[0]:null,purchase:"1"===e?null===v||void 0===v||null===(r=v.storefront)||void 0===r?void 0:r[0]:null})},type:"secondary"})},Ig=e=>{let{singleListing:t,isDapper:n,accountSummaries:r}=e;return(0,a.jsx)(a.Fragment,{children:"rental"===t.listingKind?(0,a.jsx)(Ng,{isDapper:n,accountSummaries:r,singleRentalOrder:t}):"storefront"===t.listingKind?(0,a.jsx)(Ng,{isDapper:n,accountSummaries:r,singleStorefrontOrder:t}):(0,a.jsx)(Ng,{isDapper:n,accountSummaries:r,singleLoanOrder:t})})},Rg=e=>{let{text:t}=e;return(0,a.jsx)("div",{"data-testid":"modal-warning",className:"dapper-warning bg-[#FFFFFF14] flex flex-col px-[0.75rem] py-[0.5rem] self-stretch rounded-[0.5rem]",children:(0,a.jsxs)("div",{className:"flex items-center gap-[0.5rem] self-stretch text-warning font-montserrat text-[0.75rem] font-[400] leading-[0.75rem]",children:[(0,a.jsx)("div",{children:(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43123 2.78899C8.11938 1.56562 9.88075 1.56562 10.5689 2.78899L15.5912 11.7175C16.2661 12.9174 15.399 14.3999 14.0223 14.3999H3.97779C2.6011 14.3999 1.73402 12.9174 2.40896 11.7175L7.43123 2.78899ZM9.89999 11.7C9.89999 12.1971 9.49704 12.6 8.99999 12.6C8.50293 12.6 8.09999 12.1971 8.09999 11.7C8.09999 11.203 8.50293 10.8 8.99999 10.8C9.49704 10.8 9.89999 11.203 9.89999 11.7ZM8.99999 4.50005C8.50293 4.50005 8.09999 4.90299 8.09999 5.40005V8.10005C8.09999 8.59711 8.50293 9.00005 8.99999 9.00005C9.49704 9.00005 9.89999 8.59711 9.89999 8.10005V5.40005C9.89999 4.90299 9.49704 4.50005 8.99999 4.50005Z",fill:"#FF6E25"})})}),(0,a.jsx)("p",{className:"text-[10px] leading-[12px]",children:t})]})})},Mg=e=>{let{spotPrice:t,offerData:n,isOrderListedByLoggedAccount:r,nftOwnerAddress:i}=e;return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-6",children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-white font-montserrat",children:"Offer Price"}),(0,a.jsx)(Ga,{price:(null===n||void 0===n?void 0:n.amount)||0,token:null===n||void 0===n?void 0:n.paymentTokenName,spotPriceValue:Number(null===t||void 0===t?void 0:t.value)*((null===n||void 0===n?void 0:n.amount)||0)})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-white font-montserrat",children:"To"}),(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:"/user/".concat(i),className:"text-eletric-green-900 font-montserrat font-bold underline",children:i})]}),(0,a.jsx)("div",{className:"mt-auto flex flex-col gap-6",children:!r&&(0,a.jsx)(Rg,{text:"Offer was made while connected with\n\t\t\t\t\t".concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress," as Main. Please sign in\n\t\t\t\t\twith ").concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress," to cancel Offer.")})})]})},Og=()=>(0,a.jsx)("div",{className:"mt-auto flex flex-col gap-[0.75rem] justify-end items-center self-stretch",children:(0,a.jsxs)("div",{className:"text-white text-[14px] font-montserrat font-[400] flex flex-col gap-3",children:["Notes:",(0,a.jsxs)("ul",{className:"list-disc list-inside",children:[(0,a.jsx)("li",{className:"leading-normal",children:"Cancel your offers anytime from your profile"}),(0,a.jsx)("li",{className:"leading-normal",children:"To ensure a successful transaction, please maintain a sufficient token balance in your account"})]})]})}),jg=()=>(0,a.jsxs)("div",{className:"flex items-center self-end gap-[0.25rem] text-warning font-montserrat text-[10px] font-[400] leading-[0.75rem]",children:[(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43123 2.78899C8.11938 1.56562 9.88075 1.56562 10.5689 2.78899L15.5912 11.7175C16.2661 12.9174 15.399 14.3999 14.0223 14.3999H3.97779C2.6011 14.3999 1.73402 12.9174 2.40896 11.7175L7.43123 2.78899ZM9.89999 11.7C9.89999 12.1971 9.49704 12.6 8.99999 12.6C8.50293 12.6 8.09999 12.1971 8.09999 11.7C8.09999 11.203 8.50293 10.8 8.99999 10.8C9.49704 10.8 9.89999 11.203 9.89999 11.7ZM8.99999 4.50005C8.50293 4.50005 8.09999 4.90299 8.09999 5.40005V8.10005C8.09999 8.59711 8.50293 9.00005 8.99999 9.00005C9.49704 9.00005 9.89999 8.59711 9.89999 8.10005V5.40005C9.89999 4.90299 9.49704 4.50005 8.99999 4.50005Z",fill:"#FF6E25"})}),(0,a.jsx)("p",{className:"text-[10px]",children:"Your offer is above the listing price for this item"})]}),Lg=e=>{let{isDapper:t,payWithSelectedAccount:n,setPayWithSelectedAccount:r,sendToSelectedAccount:o,setSendToSelectedAccount:s,selectedAccount:l,offerDuration:c,offerValue:u,offerToken:d,accountSummaries:h,hasChildAccounts:p,isMakeOfferFormError:f,spotPrice:m,nonCustodialOffer:g,dapperOffer:v,storefrontOrders:C,flowty:y}=e;const{hasBalance:b,tokenProviderFilter:w,hasNftReceiver:x,orderData:A,valuationData:E,isMainnet:_,royaltyRate:S}=kl(),k=xn(_),P=(0,i.useRef)(null),D=Number(c)<k||void 0===c||Number(c)>An;(0,i.useEffect)((()=>{var e,t;if(f&&(u<=0||u>1e7)&&(null!==P&&void 0!==P&&null!==(e=P.current)&&void 0!==e&&e.scrollIntoView))return void(null===P||void 0===P||null===(t=P.current)||void 0===t||t.scrollIntoView({behavior:"smooth"}))}),[f]);const N=(0,i.useMemo)((()=>{if(t)return Number(null===v||void 0===v?void 0:v.amount)>u;return((null===g||void 0===g?void 0:g.paymentTokenName)===T.SupportedTokens.FLOW?Number(null===g||void 0===g?void 0:g.amount)*Number(null===m||void 0===m?void 0:m.value):Number(null===g||void 0===g?void 0:g.amount))>(d===T.SupportedTokens.FLOW?u*Number(null===m||void 0===m?void 0:m.value):u)}),[A,v,g,m]);return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-5",ref:P,children:[p&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(en,{selected:n,setSelected:r,label:"Pay With",summaries:h,listingType:"storefront",selectorFilter:w,disabledMessage:nn}),(0,a.jsx)("div",{className:"flex flex-col gap-1",children:(0,a.jsx)(en,{selected:o,setSelected:s,label:"Send To",summaries:h,listingType:"storefront",selectorFilter:x,disabledMessage:rn})})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"font-montserrat text-base font-[600] text-white",children:"Your Offer"}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(gc,{name:"offerTokenType",orderType:"offer",isDapper:t,selectedAccount:l,flowty:y}),(0,a.jsx)(Cc,{name:"offerAmount",valueError:f&&(u<=0||u>1e7)||!b,inputError:f&&(u<=0||u>1e7)||!b,errorMessage:b?f&&(u<=0||u>1e7)?"Between 0.01 - 10000000":null:"Insufficient funds to place offer"})]}),(()=>{if(!b)return!1;if(C){const e=C[0];if(d===(null===e||void 0===e?void 0:e.paymentTokenName))return(null===e||void 0===e?void 0:e.amount)<u;{const t=(null===e||void 0===e?void 0:e.paymentTokenName)===T.SupportedTokens.FLOW?Number(null===e||void 0===e?void 0:e.amount)*Number(null===m||void 0===m?void 0:m.value):Number(null===e||void 0===e?void 0:e.amount);return(d===T.SupportedTokens.FLOW?u*Number(null===m||void 0===m?void 0:m.value):u)>t}}return!1})()&&(0,a.jsx)(jg,{})]}),(0,a.jsxs)("div",{className:"flex gap-3 flex-row items-center",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Offer Duration"})}),(0,a.jsxs)("div",{className:"w-full flex gap-3 items-center",children:[(0,a.jsx)(Cc,{name:"offerDuration",valueError:f&&D,inputError:f&&D,decimalsAllowed:En(_),errorMessage:f&&D?"Between ".concat(k," and ").concat(An," days"):null}),(0,a.jsx)("p",{className:"text-base font-semibold text-white whitespace-nowrap",children:"Days"})]})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-white text-sm font-normal font-montserrat",children:"Your Offer"}),(0,a.jsx)(Ga,{price:u,token:d,spotPriceValue:Number(null===m||void 0===m?void 0:m.value)*u})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-5 mt-4",children:[(0,a.jsx)(hg,{dapperOffer:v,nonCustodialOffer:g}),N&&u>0&&(0,a.jsx)("div",{className:"flex justify-center w-full",children:(0,a.jsx)(Rg,{text:"Your offer is lower than the current best offer."})}),null!==E&&void 0!==E&&E.percentage?(0,a.jsx)(Oc,{source:E.source,percent:(null===E||void 0===E?void 0:E.percentage)||0}):null]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[Boolean(S)&&Number(S)>0?(0,a.jsx)(Dg,{royalty:Number(S)}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)("div",{className:"mt-auto flex flex-col gap-10",children:(0,a.jsx)(Og,{})})]})]})]})},Bg=e=>{const t=Math.floor(e/864e5),n=Math.floor(e%864e5/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%6e4/1e3);return t>=1?{days:t>=0?t:0,hours:n>=0?n:0}:n>=1?{hours:n>=0?n:0,mins:r>=0?r:0,secs:i>=0?i:0}:{mins:r>=0?r:0,secs:i>=0?i:0}},Ug=e=>{let{countdownCurrentValue:t,isCustomColor:n}=e;const r=(0,i.useMemo)((()=>Object.entries(t).map(((e,t)=>{let[r,i]=e;return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"flex flex-col justify-center",children:(0,a.jsx)("div",{className:"flex justify-center items-center gap-6",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("div",{className:"w-[40px] h-[40px] flex items-center justify-center flex-col border rounded-[4px] ".concat(n?"border-[#FF696985]":"border-[#DEE2E6]"),children:(0,a.jsx)("div",{className:"".concat(n?"text-[#FF6969]":"text-white"," text-[14px] font-[700]"),"data-testid":"".concat(r,"-value"),children:i})}),(0,a.jsx)("div",{className:"".concat(n?"text-[#FF6969]":"text-neutral-400"," text-[12px] font-[400] capitalize text-center"),children:r})]})})})},"".concat(i,"-").concat(t))}))),[t]);return(0,a.jsx)("div",{className:"flex gap-[14px] items-center",children:r})},Vg=e=>{let{accountSummaries:t,loanRentalActionsData:n}=e;const{payWithSelectedAccount:r,updateSelectedAccount:o,hasChildAccounts:s,hasBalance:l,tokenProviderFilter:c,isLoggedUser:u,spotPrice:d}=kl(),h=(e,t)=>{const n=new Date(1e3*e),r=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long",year:"numeric"}).format(n),i=new Intl.DateTimeFormat("en-US",{hour:"2-digit",hour12:!0,minute:"2-digit"}).format(n);return t?r:"".concat(r,", ").concat(i)},p=1e3*(n.settleDeadline-(new Date).getTime()/1e3),[f,m]=(0,i.useState)(p);(0,i.useEffect)((()=>{const e=setInterval((()=>{const e=1e3*(n.settleDeadline-(new Date).getTime()/1e3);m(e)}),1e3);return()=>clearInterval(e)}),[f]);const g=(0,i.useMemo)((()=>Bg(p)),[p]),v="loan"===n.type?null===n||void 0===n?void 0:n.loanAmount:n.rentalFee,C="loan"===n.type?null===n||void 0===n?void 0:n.repaymentDue:n.rentalRefundableDeposit;return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col justify-between gap-5",children:[(0,a.jsxs)("div",{className:"h-full flex flex-col gap-3",children:[s&&"loan"===n.type&&(0,a.jsx)("div",{className:"flex flex-col gap-3",children:(0,a.jsx)(en,{selected:r,setSelected:e=>o(e,"payWith"),label:"Pay With",summaries:t,listingType:"storefront",selectorFilter:c,disabledMessage:nn})}),(0,a.jsxs)("div",{className:"w-full flex flex-col gap-3 justify-between mt-4",children:[(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"loan"===n.type?"Loan Amount":"Rental Fee"}),(0,a.jsx)(Ga,{token:n.paymentTokenName,price:Number(v),spotPriceValue:d?d.value*Number(v):void 0})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"loan"===n.type?"Repayment Amount":"Refundable Deposit"}),(0,a.jsx)(Ga,{token:n.paymentTokenName,price:Number(C),spotPriceValue:d?d.value*Number(C):void 0})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"loan"===n.type?"Loan Funded Date":"Date of Rental"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:h(+n.settleDeadline-n.term,!0)})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"loan"===n.type?"Repayment Due":"Rental Due Back"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:h(+n.settleDeadline)})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"loan"===n.type?"Auto Repayment":"Auto Return"}),(0,a.jsx)("span",{className:"text-base text-white font-bold",children:n.enabledAutoRepayment?"On":"Off"})]}),(0,a.jsxs)("div",{className:"w-full flex justify-between",children:[(0,a.jsx)("p",{className:"font-[400] text-[14px] text-white",children:"Time Left"}),(0,a.jsx)(Ug,{countdownCurrentValue:g,isCustomColor:!Boolean(g.days)})]})]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-3",children:!l&&u&&(0,a.jsx)("p",{className:"w-full text-[#FF6E25] text-sm",children:"Insufficient funds to complete the transaction!"})})]})},Hg=()=>(0,a.jsxs)("div",{className:"flex flex-col gap-6 w-full md:w-[400px] justify-between bg-[#FFFFFF14] p-3 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-white text-[15px] font-bold",children:"Why Is This NFT here? "}),(0,a.jsx)("span",{className:"text-[#ADB5BD] text-[12px] font-normal",children:"On Flow, a wallet needs to approve a collection before it can receive NFTs from that collection. This NFT is from a collection that you have not approved. To claim the NFT and approve the collection, click the Claim button."})]}),(0,a.jsx)("a",{className:"underline text-white text-[16px] font-semibold",href:"https://x.com/austin_flowty/status/1559184554090323968",target:"_blank",rel:"noreferrer",children:"Learn More"})]}),zg=e=>{let{nftOrders:t,singleListing:n,accountSummaries:r,flowty:i,strapiUrl:o}=e;const{activeTab:s,setActiveTab:l,isMakeOffer:c,isLoading:u,error:d,sealed:h,isDapper:p,payWithSelectedAccount:f,updateSelectedAccount:m,sendToSelectedAccount:g,hasChildAccounts:v,offerDuration:C,offerValue:y,offerTokenType:b,listingType:w,isFormError:x,setSelectedOrder:A,transactionID:E,orderData:_,spotPrice:T,dapperOffer:S,nonCustodialOffer:k,isCancelOffer:P,isOrderListedByLoggedAccount:D,openSearchFlowNFT:N,isLoadingOrders:F,loanRentalActionsData:I,isMainnet:R,mixPanelFn:M,isLostAndFound:O}=kl();return F&&!c?(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsxs)("div",{className:"w-full h-full md:w-[400px] flex flex-col justify-between",children:[(0,a.jsxs)("div",{className:"w-full flex flex-col gap-[32px]",children:[(0,a.jsx)("div",{className:"w-[234px] h-[32px] animate-pulse bg-[#edf3f60a] rounded-lg"}),(0,a.jsx)("div",{className:"w-full h-[153px] animate-pulse bg-[#edf3f60a] rounded-lg"})]}),(0,a.jsx)("div",{className:"w-full h-[32px] animate-pulse bg-[#edf3f60a] rounded-lg"})]})}):d[w]?(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(fa,{transactionID:E,isMainnet:R,error:d.errorMessage})}):h[w]?(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(Ta,{isMainnet:R,type:w,transactionID:E,orderData:_,nft:N})}):u[w]?(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center mt-48 ",children:[(0,a.jsx)(ga,{transactionID:E,isMainnet:R}),(0,a.jsx)("div",{className:"flex-grow "}),(0,a.jsx)(Sm,{strapiUrl:o,mixPanelFn:M})]}):O?(0,a.jsx)(Hg,{}):(0,a.jsx)("div",{className:"w-full md:w-[400px] h-full flex flex-col gap-4 flex-shrink-0 relative",children:I?(0,a.jsx)(Vg,{accountSummaries:r,loanRentalActionsData:I}):c?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Lg,{isDapper:Boolean(p),selectedAccount:f,offerValue:Number(y),offerDuration:C,offerToken:b,accountSummaries:r,hasChildAccounts:v,payWithSelectedAccount:f,setPayWithSelectedAccount:e=>m(e,"payWith"),setSendToSelectedAccount:e=>m(e,"sendTo"),sendToSelectedAccount:g,isMakeOfferFormError:x.makeOffer,spotPrice:T,dapperOffer:S,nonCustodialOffer:k,storefrontOrders:null===t||void 0===t?void 0:t.storefront,flowty:i})}):P?(0,a.jsx)(Mg,{spotPrice:T,offerData:_,isOrderListedByLoggedAccount:D,nftOwnerAddress:(null===N||void 0===N?void 0:N.owner)||""}):(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(Fg,{setSelectedOrder:A,activeTab:s,accountSummaries:r,setActiveTab:l,nftOrders:t,isDapper:Boolean(p)}),n&&(0,a.jsx)(Ig,{singleListing:n,isDapper:Boolean(p),accountSummaries:r})]})})},Zg=e=>{let{isOpen:t,openSearchFlowNFT:n,hasProvider:r,orderContent:i,mixPanelFn:o}=e;const{valuationData:s,onCloseModal:l,listingType:c,collectionImage:u,resetModal:d,closeBtnProps:h,confirmBtnProps:p,orderData:f,isLoading:m,sealed:g,singleOffer:v,isDapper:C,isLoadingValuation:y,isLoadingOrders:b,isMainnet:w,isLostAndFound:x}=kl();return(0,a.jsx)(xg,{isLostAndFound:x,collectionImage:u,isOpen:t,openSearchFlowNFT:n,hasProvider:r,valuationData:s,onCloseModal:l,listingType:c,resetModal:d,closeBtnProps:h,confirmBtnProps:p,orderData:f,isLoadingMakeOffer:m.makeOffer,sealedMakeOffer:g.makeOffer,orderContent:i,isPurchase:!0,isSingleOffer:Boolean(v),isDapper:C,isLoadingValuation:y,isLoadingOrders:b,mixPanelFn:o,isMainnet:w})},Wg=e=>{let{addressesWithCollectionPublic:t,isOpen:n,isLostAndFound:r,lostAndFoundTicketID:i,lostAndFoundCatalogIdentifier:o,isLoggedUser:s,onClose:c,flowNft:u,openSearchFlowNFT:d,accountSummaries:h,purchaseType:p,mixPanelFn:f,hasProvider:m,createTransactionNotification:g,valuation:v,isLoadingValuation:C,singleListing:y,nftOrders:b,nftProviderPathIdentifier:w,collectionImage:x,isLoadingOrders:A,offer:E,singleOffer:_,spotPrice:S,strapiUrl:k,loanRentalActionsData:P,flowty:D}=e;const N=Object.values(h||{}),F=null===N||void 0===N?void 0:N.find((e=>e.isMain));return(0,a.jsx)(l.l1,{initialValues:{automaticReturn:!1,offerAmount:"",offerDuration:30,offerTokenType:null!==F&&void 0!==F&&F.isDapper?T.SupportedTokens.DUC:T.SupportedTokens.USDC},onSubmit:()=>{},validate:()=>{},children:e=>{let{values:l,resetForm:T}=e;return(0,a.jsx)(Sl,{createTransactionNotification:g,accountSummaries:h,collectionImage:x,addressesWithCollectionPublic:t,isLoggedUser:s,resetForm:T,nftOrders:b,singleListing:y,offer:E,singleOffer:_,purchaseType:p,values:l,mainAccount:F,nftProviderPathIdentifier:w,openSearchFlowNFT:d,flowNft:u,valuation:v,isLoadingValuation:C,onClose:c,spotPrice:S,strapiUrl:k,mixPanelFn:f,isLoadingOrders:A,loanRentalActionsData:P,isLostAndFound:r,lostAndFoundTicketID:i,lostAndFoundCatalogIdentifier:o,flowty:D,children:(0,a.jsx)(Zg,{isOpen:n,openSearchFlowNFT:d,hasProvider:m,orderContent:(0,a.jsx)(zg,{accountSummaries:h,singleListing:y,nftOrders:b,flowty:D,strapiUrl:k}),mixPanelFn:f})})}})};n(71408);n.p;n.p;var qg,Gg;function Yg(){return Yg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yg.apply(null,arguments)}function Kg(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Yg({width:71,height:55,viewBox:"0 0 71 55",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,qg||(qg=i.createElement("g",{clipPath:"url(#clip0)"},i.createElement("path",{d:"M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z",fill:"#ffffff"}))),Gg||(Gg=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0"},i.createElement("rect",{width:71,height:55,fill:"white"})))))}const Qg=i.forwardRef(Kg);n.p;var Xg;function Jg(){return Jg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jg.apply(null,arguments)}function $g(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Jg({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Xg||(Xg=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.00483 3.00483C3.2782 2.73146 3.72141 2.73146 3.99478 3.00483L6.9998 6.00986L10.0048 3.00483C10.2782 2.73146 10.7214 2.73146 10.9948 3.00483C11.2681 3.2782 11.2681 3.72141 10.9948 3.99478L7.98975 6.9998L10.9948 10.0048C11.2681 10.2782 11.2681 10.7214 10.9948 10.9948C10.7214 11.2681 10.2782 11.2681 10.0048 10.9948L6.9998 7.98975L3.99478 10.9948C3.72141 11.2681 3.2782 11.2681 3.00483 10.9948C2.73146 10.7214 2.73146 10.2782 3.00483 10.0048L6.00986 6.9998L3.00483 3.99478C2.73146 3.72141 2.73146 3.2782 3.00483 3.00483Z",fill:"#F8F9FA"})))}const ev=i.forwardRef($g),tv=(n.p,e=>{let{discordHandle:t,walletAddress:n,handleDiscordDisconnect:r}=e;const o=(0,i.useMemo)((()=>"undefined"!==typeof window?window.location.host.startsWith("flowty-test")?"https://testnet.flowty.io/_discord-oauth":window.location.host.startsWith("flowty-prod")?"https://www.flowty.io/_discord-oauth":"".concat(window.location.origin,"/_discord-oauth"):null),[]);return(0,a.jsxs)("div",{className:"flex justify-between w-full mt-[2rem]",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(Qg,{className:"mr-2 w-[1.5rem]"}),(0,a.jsx)("div",{className:"text-md font-semibold",children:"Discord"})]}),(0,a.jsx)("div",{className:"flex items-center transition-transform duration-300 ease-in-out",children:t?(0,a.jsxs)("div",{className:"flex h-[2rem] px-[.875rem] items-center gap-[.5rem] bg-[#ffffff14] rounded-md border border-[#6C757D]/25",children:[(0,a.jsxs)("div",{className:"text-[#ADB5BD] text-xs font-extrabold",children:["@",t]}),(0,a.jsx)("button",{onClick:r,children:(0,a.jsx)(ev,{})})]}):(0,a.jsx)("a",{href:"https://discord.com/api/oauth2/authorize?client_id=1166104751847526512&redirect_uri=".concat(o,"&response_type=code&scope=identify"),target:"_blank",rel:"noreferrer",children:(0,a.jsx)(s,{text:"Connect",variant:"secondary",btnSize:"small",bgColor:"white",onClick:()=>pe("DISCORD_CONNECT_CLICKED",{discordHandle:t,walletAddress:n})})})})]})}),nv=e=>{let{walletAddress:t,twitterHandle:n,handleTwitterDisconnect:r}=e;const o=(0,i.useMemo)((()=>"undefined"!==typeof window?window.location.host.startsWith("flowty-test")?"https://testnet.flowty.io/_twitter-oauth":window.location.host.startsWith("flowty-prod")?"https://www.flowty.io/_twitter-oauth":"".concat(window.location.origin,"/_twitter-oauth"):null),[]);return(0,a.jsxs)("div",{className:"flex justify-between w-full mt-[2rem]",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(De,{className:"mr-2 w-[1.5rem]"}),(0,a.jsx)("div",{className:"text-md font-semibold",children:"Twitter"})]}),(0,a.jsx)("div",{className:"flex items-center transition-transform duration-300 ease-in-out",children:n?(0,a.jsxs)("div",{className:"flex h-[2rem] px-[.875rem] items-center gap-[.5rem] bg-[#ffffff14] rounded-md border border-[#6C757D]/25",children:[(0,a.jsx)("a",{href:"https://twitter.com/".concat(n),target:"_blank",rel:"noreferrer",children:(0,a.jsxs)("div",{className:"text-[#ADB5BD] text-xs font-extrabold",children:["@",n]})}),(0,a.jsx)("button",{onClick:r,children:(0,a.jsx)(ev,{})})]}):(0,a.jsx)("a",{href:"https://twitter.com/i/oauth2/authorize?response_type=code&client_id=eVpUT3cyQ0doaGJYdzF3Mk4xdUk6MTpjaQ&redirect_uri=".concat(o,"&scope=tweet.read%20users.read%20follows.read%20offline.access&state=state&code_challenge=challenge&code_challenge_method=plain"),target:"_blank",rel:"noreferrer",children:(0,a.jsx)(s,{text:"Connect",variant:"secondary",btnSize:"small",bgColor:"white",onClick:()=>pe("TWITTER_CONNECT_CLICKED",{twitterHandle:n,walletAddress:t})})})})]})},rv=e=>{let{onSignIn:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-center gap-[0.5rem] w-[248px]",children:[(0,a.jsxs)("svg",{width:"248",height:"77",viewBox:"0 0 248 77",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"max-h-[4.78863rem] flex-shrink-0",children:[(0,a.jsx)("mask",{id:"mask0_36923_544",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"249",height:"77",children:(0,a.jsx)("path",{d:"M248.527 0H0.526855V76.6175H248.527V0Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask0_36923_544)",children:[(0,a.jsx)("path",{d:"M19.1105 18.3768C20.768 12.6914 24.5086 9.44467 30.3325 8.63867H45.8015L43.3835 18.6868H32.6802C31.99 18.6868 31.3452 18.9286 30.7458 19.4122C30.1692 19.8958 29.8014 20.5055 29.6402 21.2433L27.776 28.0447H35.4062L33.0584 38.0928H25.3229L21.0759 55.2544H9.89111L19.1105 18.3768Z",fill:"white"}),(0,a.jsx)("path",{d:"M52.9128 8.63867H64.3084L55.4693 43.307C55.4011 43.8836 55.5375 44.4003 55.8826 44.8611C56.2505 45.322 56.7465 45.5514 57.3685 45.5514H63.583L61.1319 55.2544H53.3633C50.2096 55.2544 47.7007 54.0578 45.8365 51.6625C43.9724 49.2693 43.34 46.4835 43.9373 43.3049L52.9128 8.63867Z",fill:"white"}),(0,a.jsx)("path",{d:"M74.9084 52.4231C73.1827 51.1108 71.8807 49.3272 71.0065 47.0704C69.0494 42.1662 69.4648 36.6772 72.2486 30.5991C75.979 23.8308 82.0095 20.2988 90.3423 19.9992C92.3676 19.8834 94.4281 19.9082 96.5237 20.0674C99.9295 20.367 102.509 21.202 104.259 22.5701C106.008 23.9403 107.332 25.7528 108.229 28.0096C110.186 32.9365 109.771 38.4256 106.987 44.4809C103.282 51.272 97.1333 54.839 88.5484 55.1842C86.7979 55.2999 84.8181 55.2648 82.6088 55.0808C79.2009 54.62 76.6361 53.7334 74.9084 52.421M97.9745 38.4028C98.6875 35.7782 98.7102 33.7756 98.0427 32.395C97.3752 31.0145 95.7301 30.2085 93.1054 29.977C89.6975 29.7249 86.8909 30.3118 84.6796 31.7378C82.9539 33.0729 81.8131 34.72 81.2613 36.6751C79.6721 41.9017 81.2965 44.7103 86.1304 45.1009C90.0901 45.1918 92.8988 44.6049 94.5562 43.3401C96.2819 42.0278 97.4227 40.3827 97.9745 38.4028Z",fill:"white"}),(0,a.jsx)("path",{d:"M113.65 43.3422L119.313 20.1377H130.638L124.976 43.3422C124.907 43.9188 125.044 44.4355 125.391 44.8964C125.736 45.3572 126.23 45.5866 126.875 45.5866H131.779C131.802 44.8261 131.905 44.08 132.089 43.3422L137.752 20.1377H149.077L143.414 43.3422C143.321 43.9188 143.46 44.4355 143.828 44.8964C144.173 45.3572 144.669 45.5866 145.314 45.5866H150.148L156.155 20.1377H167.687L159.193 55.2214H148.904V55.2566H141.168C136.747 55.2566 133.745 52.9894 132.155 48.4552L130.566 55.2235H126.699V55.2586H122.762C119.654 55.2586 117.191 54.062 115.372 51.6668C113.53 49.2963 112.954 46.5208 113.646 43.3443",fill:"white"}),(0,a.jsx)("path",{d:"M167.896 43.307L176.425 8.63867H187.612C185.725 16.0291 184.746 19.8503 184.677 20.1025H192.93L190.443 30.2891H182.226C181.627 32.7525 181.133 34.7944 180.743 36.4188C180.35 38.0411 179.994 39.5147 179.672 40.8394C179.35 42.1641 179.153 42.9867 179.085 43.307C179.017 43.8836 179.153 44.4003 179.5 44.8611C179.846 45.322 180.329 45.5514 180.951 45.5514H186.752L184.405 55.2544H176.878C173.792 55.2544 171.364 54.0578 169.593 51.6625C167.797 49.2693 167.233 46.4835 167.9 43.3049",fill:"white"}),(0,a.jsx)("path",{d:"M201.285 58.5362H207.225C207.847 58.5362 208.444 58.3068 209.02 57.8459C209.595 57.385 209.988 56.8663 210.194 56.2918L210.436 55.3246H202.322C199.214 55.3246 196.751 54.128 194.932 51.7327C193.113 49.3395 192.562 46.5536 193.275 43.3772L198.902 20.1375H210.263L204.635 43.3772C204.567 43.9538 204.693 44.4704 205.015 44.9313C205.36 45.3922 205.867 45.6216 206.534 45.6216H212.645L218.827 20.1375H218.895L218.93 20.0342H230.291L221.588 56.2918C220.714 59.4682 218.779 62.2541 215.787 64.6473C212.771 67.0405 209.709 68.2392 206.6 68.2392H198.832L201.283 58.5362H201.285Z",fill:"white"}),(0,a.jsx)("path",{d:"M239.434 51.024C239.434 54.4505 236.656 57.2281 233.23 57.2281C229.803 57.2281 227.025 54.4505 227.025 51.024C227.025 47.5974 229.803 44.8198 233.23 44.8198C236.656 44.8198 239.434 47.5974 239.434 51.024Z",fill:"#5BC096"})]})]}),(0,a.jsxs)("div",{className:"inline-flex flex-col items-center gap-[1.5rem] w-full",children:[(0,a.jsx)("span",{className:"font-montserrat w-ful w-[248px] text-[#ADB5BD] text-[0.75rem] font-normal text-center",children:"Sign in to view your NFTs and user profile"}),(0,a.jsx)(s,{className:"max-w-[248px] w-[90%]",onClick:t,variant:"primary",btnSize:"small",text:"SIGN IN"})]})]})};var iv=n(52027),ov=n.n(iv);const av=e=>{let{duration:t=5e3}=e;const[n,r]=(0,i.useState)(!0);return(0,i.useEffect)((()=>{const e=setTimeout((()=>{r(!1)}),t);return()=>clearTimeout(e)}),[t]),(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsx)(ov(),{width:1e3,style:{height:"80vh",maxWidth:"1000px",position:"fixed"},autorun:{speed:1}})})},sv={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK,lv={collectionDisplayName:"",contractName:"",dropPageLink:"",dropStartDateFormat:"",error:{drop:!1},isFormError:{drop:!1},isLoading:{drop:!1},isMainnet:!1,maxPerMint:10,modalNavbarProps:void 0,onCloseModal:()=>{},resetModal:()=>{},sealed:{drop:!1},submitTransaction:()=>{},transactionID:null},cv=(0,i.createContext)(lv),uv=e=>{let{children:t,onClose:n,resetForm:r,updateMintCount:o,showNoFundsMessage:s,maxPerMint:l,collectionDisplayName:c,contractAddress:u,contractName:d,dropID:h,phasePrice:p,mintCount:f,nftIdentifier:m,flowty:g,dropStartDateFormat:v}=e;const[C,y]=(0,i.useState)(null),[b,w]=(0,i.useState)({drop:!1}),[x,A]=(0,i.useState)({drop:!1}),[E,_]=(0,i.useState)({drop:!1}),[T,S]=(0,i.useState)({drop:!1}),k="mainnet"===g.config.network,P=k?"flowty.io":"testnet.flowty.io",D=(0,i.useMemo)((()=>"https://".concat(P,"/collection/").concat(u,"/").concat(d,"/?page=drop")),[u,d]),N=async()=>{f<1?S((e=>({...e,drop:!0}))):(async e=>{let{setIsLoading:t,setError:n,setIsFormError:r,setIsSealed:i,mixPanelFn:o,txAvailableCallback:a,contractAddress:s,contractName:l,numToMint:c,totalCost:u,paymentIdentifier:d,paymentStoragePath:h,paymentReceiverPath:p,dropID:f,dropPhaseIndex:m,nftIdentifier:g,commissionAddress:v,flowty:C}=e;if(t((e=>({...e,drop:!0}))),n((e=>({...e,drop:!1}))),r((e=>({...e,drop:!1}))),i((e=>({...e,drop:!1}))),sv)return a("mockTxId"),void("ERROR_TYPE_MOCK"===f?setTimeout((()=>{t((e=>({...e,drop:!1}))),n((e=>({...e,drop:!0})))}),3e3):setTimeout((()=>{t((e=>({...e,drop:!1}))),i((e=>({...e,drop:!0})))}),3e3));try{var y,b;const e=await C.dropMint({commissionAddress:v,contractAddress:s,contractName:l,dropID:f,dropPhaseIndex:m,nftIdentifier:g,numToMint:c,paymentIdentifier:d,paymentReceiverPath:p,paymentStoragePath:h,totalCost:u,txAvailableCallback:a});if(4===(null===e||void 0===e?void 0:e.status))return i((e=>({...e,drop:!0}))),t((e=>({...e,drop:!1}))),void o("Drop mint successful transaction",{dropID:f,nftIdentifier:g});if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(y=e.toString())&&void 0!==y&&y.includes("Error")||null!==e&&void 0!==e&&null!==(b=e.toString())&&void 0!==b&&b.includes("Declined"))throw new Error(e)}catch(w){n((e=>({...e,drop:!0}))),t((e=>({...e,drop:!1}))),o("Drop mint failed transaction",{dropID:f,err:w,nftIdentifier:g})}})({commissionAddress:g.config.contractAddresses.FlowtyDrops,contractAddress:u,contractName:d,dropID:h,dropPhaseIndex:0,flowty:g,mixPanelFn:()=>{},nftIdentifier:m,numToMint:f,paymentIdentifier:g.config.getIdentifier("FlowToken","Vault"),paymentReceiverPath:"flowTokenReceiver",paymentStoragePath:"flowTokenVault",setError:w,setIsFormError:S,setIsLoading:A,setIsSealed:_,totalCost:f*p,txAvailableCallback:e=>{y(e)}})},F=(0,i.useMemo)((()=>{const e=window.location.origin,t="".concat(e,"/user/profile?collectionFilters="),n="".concat(u,".").concat(d),r={[n]:{}};return t+encodeURIComponent(JSON.stringify(r))}),[u]),I=()=>{window.open(F,"_blank")},R=()=>{w({drop:!1}),S({drop:!1}),A({drop:!1}),_({drop:!1}),y(null)},M=()=>{o&&o(1),R(),r()},O=(0,i.useMemo)((()=>{var e;return b.drop||x.drop||E.drop?x.drop?{bgColor:"primary",disabled:!0,onClick:()=>{},text:"Purchasing"}:E.drop?[{bgColor:"white",className:"w-[14rem] text-base",disabled:!1,onClick:M,text:"Buy More"},{bgColor:"primary",className:"w-[14rem] text-base",disabled:!1,onClick:I,text:"View NFT"}]:b.drop?[{bgColor:"white",className:"w-[14rem] text-lg",disabled:!1,onClick:R,text:"Back"},{bgColor:"primary",className:"w-[14rem] text-lg",disabled:!1,onClick:N,text:"Try Again"}]:void 0:{bgColor:"primary",disabled:null!==(e=f>l||s)&&void 0!==e&&e,onClick:N,text:"Confirm Purchase"}}),[x,b,E,N]);return(0,a.jsx)(cv.Provider,{value:{collectionDisplayName:c,contractName:d,dropPageLink:D,dropStartDateFormat:v,error:b,isFormError:T,isLoading:x,isMainnet:k,maxPerMint:l,modalNavbarProps:O,onCloseModal:()=>{x.drop||(w({drop:!1}),S({drop:!1}),_({drop:!1})),r(),n()},resetModal:R,sealed:E,showNoFundsMessage:s,submitTransaction:N,transactionID:C},children:t})},dv=()=>(0,i.useContext)(cv),hv=e=>{let{imgUrl:t,price:n,name:r}=e;const[o,s]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:"flex space-x-3",children:[!o&&(0,a.jsx)("div",{className:"flex w-[48px] h-[48px] rounded-md ".concat(o?"hidden":"")}),(0,a.jsx)("img",{onLoad:()=>{s(!0)},src:t,alt:"Drop Avatar",className:"w-[48px] h-[48px] rounded-md ".concat(o?"object-fill aspect-square":"hidden")}),(0,a.jsxs)("div",{className:"flex flex-col text-white text-xl",children:[(0,a.jsx)("div",{className:" font-bold",children:r}),(0,a.jsxs)("div",{className:"text-lg font-bold space-x-2 flex flex-row",children:[(0,a.jsx)("span",{className:"text-gray-500 font-normal",children:"Price:"}),n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ka.h,{className:"w-[16px] h-[16px] mr-1"}),(0,a.jsx)("span",{className:"text-[14px] font-semibold",children:n.toFixed(2)})," "]}):(0,a.jsx)("span",{className:"text-[14px] font-semibold",children:"Free"})]})]})]})},pv=()=>(0,a.jsxs)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[8px]",children:[(0,a.jsx)("svg",{className:"w-[7.75rem] h-[7.75rem]",width:"124",height:"125",viewBox:"0 0 124 125",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.9999 112.1C89.3932 112.1 111.6 89.8933 111.6 62.5C111.6 35.1067 89.3932 12.9 61.9999 12.9C34.6066 12.9 12.3999 35.1067 12.3999 62.5C12.3999 89.8933 34.6066 112.1 61.9999 112.1ZM53.984 45.716C51.5627 43.2947 47.6371 43.2947 45.2158 45.716C42.7946 48.1372 42.7946 52.0628 45.2158 54.4841L53.2318 62.5L45.2158 70.516C42.7946 72.9372 42.7946 76.8628 45.2158 79.2841C47.6371 81.7053 51.5627 81.7053 53.984 79.2841L61.9999 71.2681L70.0158 79.2841C72.4371 81.7053 76.3627 81.7053 78.784 79.2841C81.2052 76.8628 81.2052 72.9372 78.784 70.516L70.768 62.5L78.784 54.4841C81.2052 52.0628 81.2052 48.1372 78.784 45.716C76.3627 43.2947 72.4371 43.2947 70.0158 45.716L61.9999 53.7319L53.984 45.716Z",fill:"#FF6969"})}),(0,a.jsx)("p",{className:"text-white text-[16px] font-semibold text-center",children:"Transaction Failed"})]}),(0,a.jsxs)("div",{className:"text-white text-center text-[14px]",children:["Your transaction failed. Please try again. If you continue to have issues, please open a support in"," ",(0,a.jsx)(Zn,{text:"Discord",href:T.flowtyDiscordLink})]})]}),fv=e=>{let{transactionID:t,isMainnet:n}=e;return(0,a.jsxs)("div",{className:"w-full flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsx)("img",{className:"w-[124px] h-[124px]",src:ma,alt:"Processing Transaction GIF "}),(0,a.jsx)("div",{className:"text-[16px] font-semibold text-[#F8F9FA]",children:"Transaction Processing..."}),(0,a.jsx)(Wn,{transactionID:t,isMainnet:n})]})};const mv=e=>{let{collectionDisplayName:t,dropPageLink:n}=e;const r=function(e){let{collectionDisplayName:t,dropPageLink:n}=e;const r=encodeURIComponent(null!==t&&void 0!==t?t:"");return"https://twitter.com/intent/tweet?text=I%20just%20minted%20an%20NFT%20from%20%22".concat(r,"%22%20on%20%40flowty_io%0A%0AMinting%20is%20LIVE%20here%3A&url=").concat(n," ")}({collectionDisplayName:t,dropPageLink:n});return(0,a.jsx)(va,{href:r})},gv=e=>{let{transactionID:t,dropPageLink:n,collectionDisplayName:r,isMainnet:i}=e;return(0,a.jsxs)("div",{className:"w-full flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsx)("svg",{className:"w-[124px] h-[124px]",width:"124",height:"124",viewBox:"0 0 124 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.9999 111.6C89.3932 111.6 111.6 89.3933 111.6 62C111.6 34.6067 89.3932 12.4 61.9999 12.4C34.6066 12.4 12.3999 34.6067 12.3999 62C12.3999 89.3933 34.6066 111.6 61.9999 111.6ZM84.984 53.9841C87.4052 51.5628 87.4052 47.6372 84.984 45.216C82.5627 42.7947 78.6371 42.7947 76.2158 45.216L55.7999 65.6319L47.784 57.616C45.3627 55.1947 41.4371 55.1947 39.0158 57.616C36.5946 60.0372 36.5946 63.9628 39.0158 66.3841L51.4158 78.7841C53.8371 81.2053 57.7627 81.2053 60.184 78.7841L84.984 53.9841Z",fill:"#04E5A3"})}),(0,a.jsx)("div",{className:"text-[16px] font-semibold text-[#F8F9FA]",children:"Transaction Successful!"}),(0,a.jsx)(Wn,{transactionID:t,isMainnet:i}),(0,a.jsx)(mv,{dropPageLink:null!==n&&void 0!==n?n:"",collectionDisplayName:r})]})},vv=()=>(0,a.jsxs)("div",{className:"flex justify-end gap-[4px] items-center text-lightDanger",children:[(0,a.jsx)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.93135 2.78911C8.6195 1.56574 10.3809 1.56574 11.069 2.78911L16.0913 11.7176C16.7662 12.9175 15.8991 14.4001 14.5225 14.4001H4.47791C3.10123 14.4001 2.23414 12.9175 2.90908 11.7176L7.93135 2.78911ZM10.4001 11.7002C10.4001 12.1972 9.99717 12.6002 9.50011 12.6002C9.00305 12.6002 8.60011 12.1972 8.60011 11.7002C8.60011 11.2031 9.00305 10.8002 9.50011 10.8002C9.99717 10.8002 10.4001 11.2031 10.4001 11.7002ZM9.50011 4.50017C9.00305 4.50017 8.60011 4.90311 8.60011 5.40017V8.10017C8.60011 8.59723 9.00305 9.00017 9.50011 9.00017C9.99717 9.00017 10.4001 8.59723 10.4001 8.10017V5.40017C10.4001 4.90311 9.99717 4.50017 9.50011 4.50017Z",fill:"#FF6969"})}),(0,a.jsx)("div",{className:"text-[12px] font-[400] leading-[12px]",children:"Insufficient Funds"})]}),Cv=()=>{const{modalNavbarProps:e,showNoFundsMessage:t}=(0,i.useContext)(cv);return e?Array.isArray(e)?(0,a.jsx)("div",{className:"w-full flex items-center gap-[24px]",children:e.map(((e,t)=>(0,a.jsx)(s,{text:e.text,onClick:e.onClick,variant:"secondary",btnSize:"large",disabled:e.disabled,bgColor:e.bgColor},t)))}):(0,a.jsxs)("div",{className:"w-full flex flex-col gap-1",children:[(0,a.jsx)(s,{text:e.text,onClick:e.onClick,variant:"secondary",btnSize:"large",disabled:e.disabled}),t&&(0,a.jsx)(vv,{})]}):null};var yv,bv;function wv(){return wv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wv.apply(null,arguments)}function xv(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",wv({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,yv||(yv=i.createElement("path",{d:"M12.1903 1.80995C11.6436 1.26322 10.7572 1.26322 10.2104 1.80995L4.90039 7.12V9.09991H6.88029L12.1903 3.78985C12.7371 3.24312 12.7371 2.35669 12.1903 1.80995Z",fill:"#ADB5BD"})),bv||(bv=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.40039 4.1999C1.40039 3.4267 2.02719 2.7999 2.80039 2.7999H5.60039C5.98699 2.7999 6.30039 3.1133 6.30039 3.4999C6.30039 3.8865 5.98699 4.1999 5.60039 4.1999H2.80039V11.1999H9.80039V8.3999C9.80039 8.0133 10.1138 7.6999 10.5004 7.6999C10.887 7.6999 11.2004 8.0133 11.2004 8.3999V11.1999C11.2004 11.9731 10.5736 12.5999 9.80039 12.5999H2.80039C2.02719 12.5999 1.40039 11.9731 1.40039 11.1999V4.1999Z",fill:"#ADB5BD"})))}const Av=i.forwardRef(xv);n.p;var Ev;function _v(){return _v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_v.apply(null,arguments)}function Tv(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",_v({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Ev||(Ev=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.00039 11.5999C9.09319 11.5999 11.6004 9.0927 11.6004 5.9999C11.6004 2.90711 9.09319 0.399902 6.00039 0.399902C2.9076 0.399902 0.400391 2.90711 0.400391 5.9999C0.400391 9.0927 2.9076 11.5999 6.00039 11.5999ZM5.09537 4.10493C4.822 3.83156 4.37878 3.83156 4.10542 4.10493C3.83205 4.37829 3.83205 4.82151 4.10542 5.09488L5.01044 5.9999L4.10542 6.90493C3.83205 7.17829 3.83205 7.62151 4.10542 7.89488C4.37878 8.16824 4.822 8.16824 5.09537 7.89488L6.00039 6.98985L6.90542 7.89488C7.17878 8.16824 7.622 8.16824 7.89537 7.89488C8.16873 7.62151 8.16873 7.17829 7.89537 6.90493L6.99034 5.9999L7.89537 5.09488C8.16873 4.82151 8.16873 4.37829 7.89537 4.10493C7.622 3.83156 7.17878 3.83156 6.90542 4.10493L6.00039 5.00995L5.09537 4.10493Z",fill:"#ADB5BD"})))}const Sv=i.forwardRef(Tv),kv=(n.p,e=>{let{mintCount:t,increaseMintCount:n,decreaseMintCount:r,updateMintCount:i,maxPerMint:o}=e;return vc(),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"flex text-white h-[2.75rem]",children:[(0,a.jsx)("button",{onClick:r,className:"rounded-l-md bg-[#606E7D33] border border-[#495057] px-4 py-3 click-effect","data-testid":"decrease-mint-count",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 10C5.5 9.44772 5.94772 9 6.5 9L14.5 9C15.0523 9 15.5 9.44772 15.5 10C15.5 10.5523 15.0523 11 14.5 11L6.5 11C5.94772 11 5.5 10.5523 5.5 10Z",fill:"#F8F9FA"})})}),(0,a.jsx)("div",{className:"bg-[#606E7D33] border-y border-[#495057] w-[90px] text-center",children:(0,a.jsx)("input",{className:"bg-transparent text-white w-full h-full p-0 text-center font-montserrat py-3",type:"number",value:t,onChange:e=>i(+e.target.value),"data-testid":"mint-count",min:1,max:o>0?o:void 0})}),(0,a.jsx)("button",{onClick:n,className:"rounded-r-md bg-[#606E7D33] border border-[#495057] px-4 py-3 click-effect","data-testid":"increase-mint-count",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 5C11.0523 5 11.5 5.44772 11.5 6V9L14.5 9C15.0523 9 15.5 9.44772 15.5 10C15.5 10.5523 15.0523 11 14.5 11H11.5V14C11.5 14.5523 11.0523 15 10.5 15C9.94771 15 9.5 14.5523 9.5 14V11H6.5C5.94772 11 5.5 10.5523 5.5 10C5.5 9.44771 5.94772 9 6.5 9L9.5 9V6C9.5 5.44772 9.94771 5 10.5 5Z",fill:"#F8F9FA"})})})]}),(0,a.jsxs)("div",{className:"text-[#FF6E25] text-[10px] text-end h-[15px]",children:[t<1&&"Mint count should be greater than 0",o>0&&t>o&&"Max of ".concat(o," per transaction")]})]})}),Pv=e=>{let{price:t,spotPrice:n,mintCount:r,increaseMintCount:o,decreaseMintCount:s,updateMintCount:l}=e;const{maxPerMint:c}=dv(),[u,d]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:"flex flex-col justify-start items-start gap-4",children:[(0,a.jsxs)("div",{className:"h-[44px] flex justify-between w-full",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[.375rem] text-sm font-normal text-white",children:[(0,a.jsx)("span",{children:"Quantity"}),(0,a.jsx)("button",{className:"cursor-pointer",onClick:()=>{d((e=>!e))},"data-testid":u?"drop-quantity-close":"drop-quantity-edit",children:u?(0,a.jsx)(Sv,{height:14,width:14}):(0,a.jsx)(Av,{height:14,width:14})})]}),(0,a.jsx)("div",{className:"".concat(u?"":"hidden"),children:(0,a.jsx)(kv,{mintCount:r,increaseMintCount:o,decreaseMintCount:s,updateMintCount:l,maxPerMint:c})}),(0,a.jsxs)("div",{className:"flex items-center text-sm font-semibold text-white ".concat(u?"hidden":""),children:["x",r]})]}),(0,a.jsxs)("div",{className:"flex justify-between w-full",children:[(0,a.jsx)("div",{className:"text-sm font-normal text-white",children:"Total"}),(0,a.jsx)("div",{className:"text-sm font-bold text-white",children:(0,a.jsx)(Ga,{price:t*r,token:T.SupportedTokens.FLOW,spotPriceValue:((null===n||void 0===n?void 0:n.value)||0)*t*r,toolTipCustomId:"drop-quantity-total"})})]})]})},Dv=e=>{let{isOpen:t,phasePrice:n,spotPrice:r,dropImage:o,mintCount:s,increaseMintCount:l,decreaseMintCount:c,updateMintCount:u}=e;const{error:d,sealed:h,isLoading:p,transactionID:f,dropPageLink:m,collectionDisplayName:g,isMainnet:v,onCloseModal:C}=dv();return(0,a.jsx)(Nm.e,{appear:!0,show:t,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",onClose:C,children:[(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{"data-testid":"flowty-listing-modal",className:"fixed max-md:top-[40px] inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center text-center",children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"w-full md:w-[511px] h-full flex flex-col transform rounded-lg bg-[#04070B] text-left align-middle shadow-xl transition-all border border-[#495057]",children:[(0,a.jsxs)(Fm.l.Title,{as:"div",className:"border-b border-[#495057] px-[40px] py-[30px] md:py-8 w-full flex justify-between items-center",children:[(0,a.jsxs)("p",{className:"text-lg md:text-2xl leading-6 text-white font-black",children:["Purchase Confirmation"," "]}),(0,a.jsx)(Im.A,{onClick:C,className:"w-6 h-6 md:h-8 md:w-8 cursor-pointer fill-white"})]}),(0,a.jsxs)("div",{className:"w-full py-[32px] px-[40px] h-[300px] flex justify-center items-center",children:[!d.drop&&!p.drop&&!h.drop&&(0,a.jsxs)("div",{className:"flex flex-col w-full gap-[32px] py-[8px]",children:[(0,a.jsx)(hv,{imgUrl:o,price:n,name:g}),(0,a.jsx)(Pv,{price:n,spotPrice:r,mintCount:s,increaseMintCount:l,decreaseMintCount:c,updateMintCount:u})]}),p.drop&&(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(fv,{transactionID:f,isMainnet:v})}),h.drop&&(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,a.jsx)(gv,{transactionID:f,isMainnet:v,dropPageLink:m,collectionDisplayName:g}),(0,a.jsx)(av,{})]}),d.drop&&(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(pv,{})})]}),(0,a.jsx)("div",{className:"h-full w-full flex justify-center items-center border-t border-[#495057] px-[40px] py-[20px]",children:(0,a.jsx)(Cv,{})})]})})})})]})})},Nv=e=>{let{isOpen:t,onClose:n,collectionDisplayName:r,contractAddress:i,contractName:o,dropID:s,dropImage:c,nftIdentifier:u,phasePrice:d,flowty:h,spotPrice:p,mintCount:f,maxPerMint:m,increaseMintCount:g,decreaseMintCount:v,updateMintCount:C,showNoFundsMessage:y}=e;return(0,a.jsx)(l.l1,{initialValues:{mintCount:null!==f&&void 0!==f?f:1},onSubmit:()=>{},validate:()=>{},children:e=>{let{resetForm:l}=e;return(0,a.jsx)(uv,{onClose:n,resetForm:l,updateMintCount:C,showNoFundsMessage:y,maxPerMint:m,contractAddress:i,contractName:o,collectionDisplayName:r,dropID:s,phasePrice:d,mintCount:f,nftIdentifier:u,flowty:h,children:(0,a.jsx)(Dv,{dropImage:c,isOpen:t,phasePrice:d,spotPrice:p,mintCount:f,increaseMintCount:g,decreaseMintCount:v,updateMintCount:C})})}})};var Fv=n(97776);const Iv=e=>{var t,n,r;let{flowTokenBalance:o,dropData:a,flowty:s,loggedUser:l}=e;const c=null===a||void 0===a||null===(t=a.phases)||void 0===t?void 0:t[0],u=Number(null===c||void 0===c?void 0:c.maxPerMint),[d,h]=(0,i.useState)(!1),[p,f]=(0,i.useState)(1),[m,g]=(0,i.useState)(!1),[v,C]=(0,i.useState)(null===c||void 0===c?void 0:c.hasStarted),[y,b]=(0,i.useState)(null===c||void 0===c?void 0:c.hasEnded),[w,x]=(0,i.useState)(!1),A=null===c||void 0===c?void 0:c.start,E=null===c||void 0===c?void 0:c.end,_=(0,i.useMemo)((()=>c?v||y?v&&!y?c.start||null!==c&&void 0!==c&&c.end?"ACTIVE":"NEVER_ENDING":"ENDED":"PENDING":"NO_PHASES"),[a,v,y]),T=(0,i.useMemo)((()=>"PENDING"===_?1e3*new Date(+A).getTime():1e3*new Date(+E).getTime()),[A,E,_]),[S,k]=(0,i.useState)(T-(new Date).getTime());(0,i.useEffect)((()=>{if("ENDED"===_||"NEVER_ENDING"===_)return;const e=setInterval((()=>{const e=T-(new Date).getTime();k(e),e<=1e3&&("PENDING"===_?(C(!0),k(1e3*new Date(+E).getTime()-(new Date).getTime())):b(!0))}),1e3);return()=>clearInterval(e)}),[T,S,_]);const P=(0,i.useMemo)((()=>Bg(S)),[S]);function D(e){var t,n;const r=new Date(1e3*e),i=r.getDate(),o={hour:"2-digit",hour12:!0,minute:"2-digit",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,timeZoneName:"short"},a=null===(t=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long"}))||void 0===t?void 0:t.format(r),s=null===(n=new Intl.DateTimeFormat("en-US",o))||void 0===n?void 0:n.format(r),l=a.replace(/\d+/,"".concat(i).concat((e=>{if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(i)));return"".concat(l," at ").concat(s.replace(/^0/,""))}const N=A?D(Number(A)):"",F=E?D(Number(E)):"",I=null===c||void 0===c||null===(n=c.quotes)||void 0===n||null===(r=n[s.config.getIdentifier("FlowToken","Vault")])||void 0===r?void 0:r.price,R=(0,i.useMemo)((()=>o<Number(I)*Number(p)),[o,I,p]);(0,i.useEffect)((()=>{g(R||!1)}),[o,I,p]);const M=e=>{e>0&&f(e)};return(0,i.useEffect)((()=>{(async()=>{try{const e=await s.scripts.getAccountCollections(null!==l&&void 0!==l?l:""),[t,n,r]=a.nftType.split(".")||[],i=e.address==="0x".concat(n)&&e.contracts.some((e=>(null===e||void 0===e?void 0:e.name)===r));x(i)}catch(e){console.log("error",e)}})()}),[l]),{closeModal:()=>{M(1),h(!1)},countdownCurrentValue:P,decreaseMintCount:()=>{1!==p&&f((e=>e>1?e-1:e))},dropEndDateFormat:F,dropPhasePrice:I,dropStartDate:A,dropStartDateFormat:N,dropStatus:_,increaseMintCount:()=>{f((e=>e+1))},isDropOwner:w,isModalOpen:d,maxPerMint:u,mintCount:p,openModal:()=>{h(!0)},setShowNoFundsMessage:g,showNoFundsMessage:m,updateMintCount:M}};var Rv=n(81221),Mv=n(42463);function Ov(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)}function jv(e,t){var n=function(e){if(!Bv[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===t;Bv[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return Bv[e]}(t);return n.formatToParts?function(e,t){try{for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=Lv[n[i].type];o>=0&&(r[o]=parseInt(n[i].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}(n,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,e)}var Lv={year:0,month:1,day:2,hour:3,minute:4,second:5};var Bv={};function Uv(e,t,n,r,i,o,a){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,i,o,a),s}var Vv=36e5,Hv=6e4,zv={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function Zv(e,t,n){var r,i,o;if(!e)return 0;if(r=zv.timezoneZ.exec(e))return 0;if(r=zv.timezoneHH.exec(e))return qv(o=parseInt(r[1],10))?-o*Vv:NaN;if(r=zv.timezoneHHMM.exec(e)){o=parseInt(r[1],10);var a=parseInt(r[2],10);return qv(o,a)?(i=Math.abs(o)*Vv+a*Hv,o>0?-i:i):NaN}if(function(e){if(Gv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Gv[e]=!0,!0}catch(t){return!1}}(e)){t=new Date(t||Date.now());var s=n?t:function(e){return Uv(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),l=Wv(s,e),c=n?l:function(e,t,n){var r=e.getTime(),i=r-t,o=Wv(new Date(i),n);if(t===o)return t;i-=o-t;var a=Wv(new Date(i),n);if(o===a)return o;return Math.max(o,a)}(t,l,e);return-c}return NaN}function Wv(e,t){var n=jv(e,t),r=Uv(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),o=i%1e3;return r-(i-=o>=0?o:1e3+o)}function qv(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var Gv={};var Yv={X:function(e,t,n,r){var i=Kv(r.timeZone,r._originalDate||e);if(0===i)return"Z";switch(t){case"X":return Jv(i);case"XXXX":case"XX":return Xv(i);default:return Xv(i,":")}},x:function(e,t,n,r){var i=Kv(r.timeZone,r._originalDate||e);switch(t){case"x":return Jv(i);case"xxxx":case"xx":return Xv(i);default:return Xv(i,":")}},O:function(e,t,n,r){var i=Kv(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+Qv(o,2)}(i,":");default:return"GMT"+Xv(i,":")}},z:function(e,t,n,r){var i=r._originalDate||e;switch(t){case"z":case"zz":case"zzz":return Ov("short",i,r);default:return Ov("long",i,r)}}};function Kv(e,t){var n=e?Zv(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function Qv(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function Xv(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+Qv(Math.floor(i/60),2)+n+Qv(Math.floor(i%60),2)}function Jv(e,t){return e%60===0?(e>0?"-":"+")+Qv(Math.abs(e)/60,2):Xv(e,t)}const $v=Yv;var eC=n(52550),tC=n(83974);var nC=36e5,rC=6e4,iC=2,oC={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function aC(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=null==n.additionalDigits?iC:eC(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"===typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i=function(e){var t,n={},r=oC.dateTimePattern.exec(e);r?(n.date=r[1],t=r[3]):(r=oC.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e);if(t){var i=oC.timeZone.exec(t);i?(n.time=t.replace(i[1],""),n.timeZone=i[1].trim()):n.time=t}return n}(e),o=function(e,t){var n,r=oC.YYY[t],i=oC.YYYYY[t];if(n=oC.YYYY.exec(e)||i.exec(e),n){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=oC.YY.exec(e)||r.exec(e),n){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(i.date,r),a=o.year,s=function(e,t){if(null===t)return null;var n,r,i,o;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=oC.MM.exec(e),n)return r=new Date(0),dC(t,i=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,i),r):new Date(NaN);if(n=oC.DDD.exec(e),n){r=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=uC(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=oC.MMDD.exec(e),n){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return dC(t,i,s)?(r.setUTCFullYear(t,i,s),r):new Date(NaN)}if(n=oC.Www.exec(e),n)return hC(t,o=parseInt(n[1],10)-1)?sC(t,o):new Date(NaN);if(n=oC.WwwD.exec(e),n){o=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return hC(t,o,l)?sC(t,o,l):new Date(NaN)}return null}(o.restDateString,a);if(isNaN(s))return new Date(NaN);if(s){var l,c=s.getTime(),u=0;if(i.time&&(u=function(e){var t,n,r;if(t=oC.HH.exec(e),t)return pC(n=parseFloat(t[1].replace(",",".")))?n%24*nC:NaN;if(t=oC.HHMM.exec(e),t)return pC(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*nC+r*rC:NaN;if(t=oC.HHMMSS.exec(e),t){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return pC(n,r,i)?n%24*nC+r*rC+1e3*i:NaN}return null}(i.time),isNaN(u)))return new Date(NaN);if(i.timeZone||n.timeZone){if(l=Zv(i.timeZone||n.timeZone,new Date(c+u)),isNaN(l))return new Date(NaN)}else l=tC(new Date(c+u)),l=tC(new Date(c+u+l));return new Date(c+u+l)}return new Date(NaN)}function sC(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var lC=[31,28,31,30,31,30,31,31,30,31,30,31],cC=[31,29,31,30,31,30,31,31,30,31,30,31];function uC(e){return e%400===0||e%4===0&&e%100!==0}function dC(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=uC(e);if(r&&n>cC[t])return!1;if(!r&&n>lC[t])return!1}return!0}function hC(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function pC(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}var fC=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function mC(e,t,n,r){var i=Rv(r);return i.timeZone=t,function(e,t,n){var r=String(t),i=n||{},o=r.match(fC);if(o){var a=aC(e,i);r=o.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],o=e.replace(t,"'"+$v[t[0]](a,t,null,i)+"'");return r?o.substring(0,n-1)+o.substring(n+1):o}),r)}return Mv(e,r,i)}(function(e,t,n){var r=aC(e,n),i=Zv(t,r,!0),o=new Date(r.getTime()-i),a=new Date(0);return a.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),a.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),a}(e,t),n,i)}const gC=e=>{let{collectionDisplayName:t,dropPageLink:n,dropStartDate:r,dropStatus:i,isDropOwner:o}=e;const s=function(e){let{collectionDisplayName:t,dropPageLink:n,dropStartDate:r,dropStatus:i,isDropOwner:o}=e,a="";r&&(a=mC(new Date(1e3*parseInt(r,10)),"UTC","MMMM do, yyyy 'at' h:mm a 'UTC'"));const s=encodeURIComponent(null!==t&&void 0!==t?t:""),l="https://twitter.com/intent/tweet?text=",c={active:"Minting%20for%20%22".concat(s,"%22%20is%20LIVE%20on%20%40flowty_io%0A%0ACheck%20out%20the%20drop%20here%3A%20").concat(n),owner:"I%20just%20created%20a%20new%20collection%20called%20%22".concat(s,"%22%20using%20the%20NFT%20Launchpad%20on%20%40flowty_io!%20%F0%9F%8E%A8%0A%0AMinting%20goes%20live%20on%20").concat(a,"%20here%3A%20").concat(n),pending:"Excited%20to%20mint%20a%20new%20NFT%20from%20%22".concat(s,"%22%20on%20%40flowty_io!!%0A%0AJoin%20me%20for%20the%20drop%20on%20").concat(a,"%20here%3A%20").concat(n)};if(o)return"".concat(l).concat(c.owner);const u={ACTIVE:c.active,PENDING:c.pending};return i&&u[i]?"".concat(l).concat(u[i]):""}({collectionDisplayName:t,dropPageLink:n,dropStartDate:r,dropStatus:i,isDropOwner:o}),l="tweet-drop-page";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(l,"-tooltip"),className:"flex items-center",style:{backgroundColor:"#F8F9FA",color:"#031021",fontSize:"14px",fontWeight:500,height:"33.999px",lineHeight:"normal",padding:"12px",pointerEvents:"auto",textAlign:"center",zIndex:40},opacity:100,clickable:!1,render:()=>(0,a.jsx)(a.Fragment,{children:"Share on Twitter"})}),(0,a.jsx)("div",{"data-tooltip-id":"".concat(l,"-tooltip"),"data-tooltip-place":"top",children:(0,a.jsx)("button",{className:"border rounded p-[8px]",style:{border:"1px solid var(--Neutral-300, #495057)"},onClick:()=>{window.open(s,"_blank")},rel:"noreferrer",children:(0,a.jsx)(De,{className:"h-5 w-5"})})})]})};var vC,CC;function yC(){return yC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yC.apply(null,arguments)}function bC(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",yC({xmlns:"http://www.w3.org/2000/svg",width:21,height:21,viewBox:"0 0 21 21",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,vC||(vC=i.createElement("path",{d:"M13.3187 4.93173C14.0997 4.15069 15.3661 4.15069 16.1471 4.93173C16.9282 5.71278 16.9282 6.97911 16.1471 7.76016L13.1471 10.7602C12.3661 11.5412 11.0997 11.5412 10.3187 10.7602C9.92815 10.3696 9.29499 10.3696 8.90447 10.7602C8.51394 11.1507 8.51394 11.7839 8.90447 12.1744C10.4666 13.7365 12.9992 13.7365 14.5613 12.1744L17.5613 9.17437C19.1234 7.61228 19.1234 5.07962 17.5613 3.51752C15.9992 1.95542 13.4666 1.95542 11.9045 3.51752L10.4045 5.01752C10.0139 5.40804 10.0139 6.04121 10.4045 6.43173C10.795 6.82226 11.4282 6.82226 11.8187 6.43173L13.3187 4.93173Z",fill:"#F8F9FA"})),CC||(CC=i.createElement("path",{d:"M8.3187 9.93173C9.09974 9.15069 10.3661 9.15069 11.1471 9.93173C11.5376 10.3223 12.1708 10.3223 12.5613 9.93173C12.9519 9.54121 12.9519 8.90804 12.5613 8.51752C10.9992 6.95542 8.46658 6.95542 6.90448 8.51752L3.90448 11.5175C2.34239 13.0796 2.34239 15.6123 3.90448 17.1744C5.46658 18.7365 7.99924 18.7365 9.56134 17.1744L11.0613 15.6744C11.4519 15.2839 11.4519 14.6507 11.0613 14.2602C10.6708 13.8696 10.0376 13.8696 9.64712 14.2602L8.14712 15.7602C7.36608 16.5412 6.09975 16.5412 5.3187 15.7602C4.53765 14.9791 4.53765 13.7128 5.3187 12.9317L8.3187 9.93173Z",fill:"#F8F9FA"})))}const wC=i.forwardRef(bC),xC=(n.p,e=>{let{href:t}=e;const[n,r]=(0,i.useState)(!1),o=()=>r(!1),s="share-drop-page";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(s,"-tooltip"),className:"flex items-center",style:{backgroundColor:"#F8F9FA",color:"#031021",fontSize:"14px",fontWeight:500,height:"33.999px",lineHeight:"normal",padding:"12px",pointerEvents:"auto",textAlign:"center",zIndex:40},opacity:100,clickable:!1,render:()=>(0,a.jsx)(a.Fragment,{children:"Copy Drop Page URL"})}),(0,a.jsx)("div",{"data-tooltip-id":"".concat(s,"-tooltip"),"data-tooltip-place":"top",children:(0,a.jsx)("button",{className:"border rounded p-[8px]",style:{border:"1px solid var(--Neutral-300, #495057)"},onClick:()=>{r(!0),setTimeout(o,5e3),navigator.clipboard.writeText(t)},children:n?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 text-primary",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75"})}):(0,a.jsx)(wC,{className:"w-5 h-5"})})})]})}),AC=e=>{var t,n;let{isDapper:r,flowTokenBalance:o,spotPrice:l,dropData:c,collectionDisplayName:u,contractAddress:d,contractName:h,sendToCollectionPage:p,flowty:f,loggedUser:m}=e;const{dropStatus:g,dropStartDateFormat:v,dropStartDate:C,dropEndDateFormat:y,dropPhasePrice:b,openModal:w,showNoFundsMessage:x,isDropOwner:A,isModalOpen:E,closeModal:_,mintCount:S,maxPerMint:k,increaseMintCount:P,decreaseMintCount:D,updateMintCount:N,countdownCurrentValue:F}=Iv({dropData:c,flowTokenBalance:o,flowty:f,loggedUser:m}),[I,R]=(0,i.useState)(!1),M="ACTIVE"===g,O="PENDING"===g,j="ENDED"===g,L=M&&r,B=M||j,U="mainnet"===f.config.network,V="https://".concat(U?"flowty.io":"testnet.flowty.io","/collection/").concat(d,"/").concat(h,"/?page=drop");return(0,a.jsxs)("div",{className:"py-2 mb-8 md:py-16 flex max-lg:flex-col justify-center items-center gap-20 max-lg:gap-8","data-testid":"flowty-drop-page",children:[!I&&(0,a.jsx)("div",{className:"flex w-full h-full max-w-[648px] tablet:w-[648px] tablet:h-[648px] animate-pulse bg-[#43ff640a] rounded-[2.5rem] ".concat(I?"hidden":"object-fill aspect-square")}),(0,a.jsx)("div",{className:"my-auto w-full tablet:w-[480px] 3xl:w-[648px] ".concat(I?"object-fill aspect-square":"hidden"),children:(0,a.jsx)("img",{src:(0,T.getImageURL)(null===c||void 0===c||null===(t=c.display)||void 0===t?void 0:t.url),alt:"Drop Custom",className:"rounded-[2.5rem] w-full h-full max-w-[648px] tablet:w-[480px] tablet:h-[480px] 3xl:w-[648px] 3xl:h-[648px]",onLoad:()=>{R(!0)}})}),(0,a.jsxs)("div",{className:"flex flex-col justify-center gap-10 w-full tablet:w-[480px] 3xl:w-[648px]",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,a.jsx)(Fv.X,{dropStatus:g}),(0,a.jsxs)("div",{className:"flex flex-row gap-[12px] h-[42px]",children:[(0,a.jsx)(xC,{href:V}),(0,a.jsx)(gC,{collectionDisplayName:u,dropPageLink:V,dropStartDate:C,dropStatus:g,isDropOwner:A})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:O?"Drop Starts (Local Time Zone)":"Drop Started (Local Time Zone)"}),(0,a.jsx)("div",{className:"flex flex-col gap-2",children:(0,a.jsx)("p",{className:"text-white text-[20px] max-tablet:text-[18px] font-bold",children:v})})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:j?"Ended On":"Drop Ends (Local Time Zone)"}),(0,a.jsx)("div",{className:"flex flex-col gap-2",children:(0,a.jsx)("p",{className:"text-white text-[20px] max-tablet:text-[18px] font-bold",children:y})})]})]}),B&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:"Total Purchased"}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)("p",{className:"text-white text-[24px] max-tablet:text-[18px] font-bold leading-none",children:null===c||void 0===c?void 0:c.totalMinted}),M&&(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[14px] flex items-end leading-none",children:"/ unlimited"})]})]}),(0,a.jsxs)("div",{className:"flex max-tablet:flex-col gap-14 max-tablet:gap-4 justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:"Price"}),(0,a.jsx)("div",{className:"flex flex-col gap-1",children:b?(0,a.jsx)("div",{className:"flex items-center w-auto justify-start gap-x-[0.75rem]",children:0===parseFloat(b)?(0,a.jsx)("span",{className:"text-white font-montserrat text-5xl max-tablet:text-[34px] font-[700]",children:"FREE"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ka.h,{className:"w-[2rem] h-[2rem]"}),(0,a.jsxs)("div",{className:"flex items-end gap-1",children:[(0,a.jsx)("span",{className:"text-white font-montserrat text-5xl max-tablet:text-[34px] font-[700]",children:an()(b).format("0,0.00")}),(0,a.jsx)("h4",{className:"text-[#ADB5BD] text-1xl font-normal leading-normal",children:"FLOW"})]})]})}):"-"})]}),M&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:"Quantity"}),(0,a.jsx)(kv,{mintCount:S,increaseMintCount:P,decreaseMintCount:D,updateMintCount:N,maxPerMint:k})]})]}),(M||O)&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[18px] max-tablet:text-[14px]",children:M?"Time Left":"Countdown"}),(0,a.jsx)(Ug,{countdownCurrentValue:F})]}),(0,a.jsx)("div",{className:"h-[35px] flex flex-col gap-1",children:j?(0,a.jsx)(s,{variant:"secondary",bgColor:"white",text:"VIEW LISTINGS",onClick:p}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s,{variant:"secondary",bgColor:"white",text:O?"BUY NOW \u2022 COMING SOON":"Buy now",disabled:S>k||O||M&&r||x,onClick:w}),!r&&x&&(0,a.jsx)(vv,{}),L&&(0,a.jsx)(_g,{isLoanOrRental:!1,isDapper:!0})]})})]}),(0,a.jsx)(Nv,{isOpen:E,onClose:_,collectionDisplayName:u,contractAddress:d,contractName:h,dropID:(null===c||void 0===c?void 0:c.id)||"",dropImage:(0,T.getImageURL)(null===c||void 0===c||null===(n=c.display)||void 0===n?void 0:n.url),nftIdentifier:(null===c||void 0===c?void 0:c.nftType)||"",phasePrice:+b,flowty:f,spotPrice:l,mintCount:S,increaseMintCount:P,decreaseMintCount:D,updateMintCount:N,showNoFundsMessage:x,maxPerMint:k})]})};var EC,_C;function TC(){return TC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TC.apply(null,arguments)}function SC(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",TC({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,EC||(EC=i.createElement("path",{d:"M12 2.39999C8.02356 2.39999 4.80001 5.62354 4.80001 9.59999V13.9029L3.95148 14.7515C3.60828 15.0947 3.50562 15.6108 3.69136 16.0592C3.87709 16.5076 4.31466 16.8 4.80001 16.8H19.2C19.6854 16.8 20.1229 16.5076 20.3087 16.0592C20.4944 15.6108 20.3917 15.0947 20.0485 14.7515L19.2 13.9029V9.59999C19.2 5.62354 15.9765 2.39999 12 2.39999Z",fill:"#DEE2E6"})),_C||(_C=i.createElement("path",{d:"M12 21.6C10.0118 21.6 8.39998 19.9882 8.39998 18H15.6C15.6 19.9882 13.9882 21.6 12 21.6Z",fill:"#DEE2E6"})))}const kC=i.forwardRef(SC);n.p;var PC,DC,NC,FC,IC,RC,MC,OC,jC,LC,BC,UC,VC,HC,zC,ZC;function WC(){return WC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WC.apply(null,arguments)}function qC(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",WC({width:159,height:132,viewBox:"0 0 159 132",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,PC||(PC=i.createElement("path",{d:"M140.088 99.6C141.911 99.6 143.388 98.1225 143.388 96.3C143.388 94.4775 141.911 93 140.088 93C138.266 93 136.788 94.4775 136.788 96.3C136.788 98.1225 138.266 99.6 140.088 99.6Z",fill:"#E3E3E3"})),DC||(DC=i.createElement("path",{d:"M79.4409 132C115.889 132 145.441 102.449 145.441 66C145.441 29.5515 115.889 0 79.4409 0C42.9924 0 13.4409 29.5515 13.4409 66C13.4409 102.449 42.9924 132 79.4409 132Z",fill:"#6C757D",fillOpacity:.4})),NC||(NC=i.createElement("path",{d:"M105.923 32H54.6527C49.7569 32 45.7881 35.3269 45.7881 39.4308V96.5692C45.7881 100.673 49.7569 104 54.6527 104H105.923C110.819 104 114.788 100.673 114.788 96.5692V39.4308C114.788 35.3269 110.819 32 105.923 32Z",fill:"#F8F9FA",fillOpacity:.14})),FC||(FC=i.createElement("path",{d:"M155.423 9.58105H122.379C120.839 9.58105 119.591 10.8956 119.591 12.5126V28.8586C119.591 30.4811 120.839 31.7956 122.379 31.7956H155.423C156.963 31.7956 158.212 30.4811 158.212 28.8586V12.5126C158.212 10.8901 156.963 9.58105 155.423 9.58105Z",fill:"#575A5D"})),IC||(IC=i.createElement("path",{d:"M101.545 42.6841L101.811 41.3681L107.201 36.1041L107.551 36.8321H102.833L103.169 35.1521H109.637L109.385 36.4681L103.995 41.7321L103.617 41.0041H108.601L108.265 42.6841H101.545Z",fill:"white"})),RC||(RC=i.createElement("path",{d:"M94.7881 45.6841L94.9401 44.9321L98.0201 41.9241L98.2201 42.3401H95.5241L95.7161 41.3801H99.4121L99.2681 42.1321L96.1881 45.1401L95.9721 44.7241H98.8201L98.6281 45.6841H94.7881Z",fill:"white"})),MC||(MC=i.createElement("path",{d:"M111.383 37.684L111.725 35.992L118.655 29.224L119.105 30.16H113.039L113.471 28H121.787L121.463 29.692L114.533 36.46L114.047 35.524H120.455L120.023 37.684H111.383Z",fill:"white"})),OC||(OC=i.createElement("path",{d:"M127.841 24.2001C129.662 24.2001 131.141 22.7206 131.141 20.9001C131.141 19.0796 129.662 17.6001 127.841 17.6001C126.021 17.6001 124.541 19.0796 124.541 20.9001C124.541 22.7206 126.021 24.2001 127.841 24.2001Z",fill:"#989EA1"})),jC||(jC=i.createElement("path",{d:"M138.841 17.6001H149.841C151.661 17.6001 153.141 19.0796 153.141 20.9001C153.141 22.7206 151.661 24.2001 149.841 24.2001H138.841C137.02 24.2001 135.541 22.7206 135.541 20.9001C135.541 19.0796 137.02 17.6001 138.841 17.6001Z",fill:"#D5D5D5"})),LC||(LC=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.9114 34.1936C27.9004 33.4071 27.8014 32.6206 27.6089 31.8231C26.9159 29.0291 23.8414 27.2361 20.5634 26.8126C17.2854 26.3891 13.8809 27.3516 12.5664 29.7826C11.8129 31.1741 11.7139 32.3731 12.0164 33.3796C12.3244 34.3861 13.0449 35.2166 14.0294 35.8656C16.7739 37.6751 21.5754 38.0436 23.7699 37.2846C24.7819 36.9326 25.7719 36.5146 26.7399 36.0306C26.1899 39.1931 24.1329 42.1851 21.3939 44.8801C15.4319 50.7431 6.18641 55.1926 1.14841 56.8316C0.878907 56.9196 0.724906 57.2166 0.812906 57.5026C0.895406 57.7831 1.18691 57.9426 1.45641 57.8546C6.59341 56.1881 16.0204 51.6396 22.0979 45.6611C25.2384 42.5701 27.4769 39.0941 27.8564 35.4421C34.9514 31.4821 40.7814 24.2936 45.7644 18.2491C45.9514 18.0291 45.9239 17.6881 45.7094 17.4956C45.4949 17.3031 45.1704 17.3251 44.9834 17.5506C40.2039 23.3531 34.6544 30.2501 27.9114 34.1936ZM26.8829 34.7711C26.9214 33.8911 26.8389 32.9946 26.6134 32.0926C26.0139 29.6726 23.2749 28.2426 20.4369 27.8796C18.6989 27.6541 16.9114 27.8411 15.5089 28.4956C14.6289 28.9081 13.9029 29.5021 13.4629 30.3161C12.8909 31.3776 12.7644 32.2906 13.0009 33.0606C13.2374 33.8361 13.8204 34.4631 14.5849 34.9636C17.0874 36.6136 21.4599 36.9601 23.4564 36.2726C24.6334 35.8656 25.7774 35.3596 26.8884 34.7711H26.8829Z",fill:"#BDBDBD"})),BC||(BC=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.0492 108.015C29.6377 107.795 30.2592 107.503 30.7377 107.074C31.3042 106.568 31.5352 105.919 31.6892 105.237C31.8872 104.357 31.9697 103.422 32.2117 102.542C32.2997 102.212 32.4702 102.091 32.5472 102.036C32.7342 101.899 32.9212 101.86 33.0972 101.877C33.3062 101.893 33.5977 101.976 33.7847 102.35C33.8122 102.405 33.8452 102.482 33.8727 102.597C33.8892 102.68 33.9002 102.933 33.9222 103.037C33.9662 103.296 34.0047 103.554 34.0432 103.813C34.1642 104.676 34.2302 105.408 34.6097 106.2C35.1212 107.278 35.6327 107.932 36.3312 108.224C37.0022 108.504 37.8107 108.455 38.8392 108.229C38.9382 108.202 39.0317 108.185 39.1307 108.163C39.5817 108.081 40.0162 108.394 40.1042 108.867C40.1922 109.34 39.9062 109.802 39.4552 109.907C39.3617 109.929 39.2682 109.951 39.1802 109.967C37.7887 110.33 36.1827 111.623 35.2477 112.75C34.9617 113.097 34.5382 114.076 34.1092 114.697C33.7902 115.154 33.4327 115.456 33.1357 115.566C32.9322 115.638 32.7672 115.627 32.6242 115.588C32.4207 115.533 32.2502 115.418 32.1237 115.236C32.0522 115.137 31.9862 115 31.9587 114.829C31.9422 114.747 31.9422 114.538 31.9422 114.439C31.8542 114.12 31.7497 113.812 31.6672 113.493C31.4802 112.728 31.1172 112.244 30.6827 111.606C30.2757 111.007 29.8412 110.633 29.1977 110.33C29.1152 110.308 28.4442 110.138 28.2077 110.039C27.8612 109.896 27.6962 109.648 27.6357 109.516C27.5312 109.296 27.5257 109.098 27.5422 108.939C27.5697 108.697 27.6742 108.493 27.8557 108.328C27.9657 108.224 28.1362 108.125 28.3617 108.075C28.5377 108.037 28.9942 108.015 29.0602 108.015H29.0492ZM32.9927 106.772C33.0257 106.843 33.0587 106.92 33.0917 106.992C33.8397 108.57 34.6812 109.45 35.6987 109.874L35.7317 109.89C35.0497 110.424 34.4337 111.018 33.9607 111.59C33.7682 111.826 33.5097 112.316 33.2292 112.816C32.9762 111.953 32.5637 111.342 32.0467 110.578C31.6507 109.995 31.2327 109.555 30.7212 109.197C31.1172 108.983 31.4967 108.73 31.8267 108.438C32.3767 107.949 32.7397 107.388 32.9872 106.772H32.9927Z",fill:"#CCC6D9"})),UC||(UC=i.createElement("path",{d:"M79.7882 43.4C69.1843 43.4 60.5882 51.9961 60.5882 62.6V74.0745L58.3254 76.3372C57.4102 77.2524 57.1364 78.6288 57.6317 79.8246C58.127 81.0203 59.2939 81.8 60.5882 81.8H98.9882C100.282 81.8 101.449 81.0203 101.945 79.8246C102.44 78.6288 102.166 77.2524 101.251 76.3372L98.9882 74.0745V62.6C98.9882 51.9961 90.392 43.4 79.7882 43.4Z",fill:"#DEE2E6"})),VC||(VC=i.createElement("path",{d:"M79.7881 94.6C74.4861 94.6 70.1881 90.3019 70.1881 85H89.3881C89.3881 90.3019 85.09 94.6 79.7881 94.6Z",fill:"#DEE2E6"})),HC||(HC=i.createElement("path",{d:"M67.7881 60C69.3754 62.2639 73.5976 65.4333 77.7881 60",stroke:"#3D4144",strokeWidth:2})),zC||(zC=i.createElement("path",{d:"M81.7881 60C83.3754 62.2639 87.5976 65.4333 91.7881 60",stroke:"#3D4144",strokeWidth:2})),ZC||(ZC=i.createElement("ellipse",{cx:79.7881,cy:71,rx:2,ry:1,fill:"#3D4144"})))}const GC=i.forwardRef(qC),YC=(n.p,e=>{let{onMouseEnter:t,onMouseLeave:n}=e;return(0,a.jsx)("div",{"data-testid":"empty-notification-menu",onMouseEnter:t,onMouseLeave:n,className:"flex px-[28px] py-[24px] flex-col justify-center items-start gap-[10px] rounded-[6px] border-[1px] border-neutral-400 bg-notifications backdrop-blur-[50px] min-w-[339px] max-w-[339px]",children:(0,a.jsxs)("div",{className:"flex flex-col items-start gap-[32px]",children:[(0,a.jsxs)("div",{className:"inline-flex gap-[8px] items-center w-[168px]",children:[(0,a.jsx)(kC,{}),(0,a.jsx)("span",{className:"text-neutral-700 text-[16px] font-[900] leading-[16px] text-center",children:"NOTIFICATIONS"})]}),(0,a.jsxs)("div",{className:"mx-auto flex flex-col items-center gap-[14px]",children:[(0,a.jsx)(GC,{}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-[8px]",children:[(0,a.jsx)("span",{className:"text-[14px] text-neutral-500 font-[700]",children:"No Notifications"}),(0,a.jsx)("span",{className:"text-[12px] text-neutral-500 font-[400] text-center",children:"You will find notifications and transaction status here"})]})]})]})})});var KC,QC;function XC(){return XC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XC.apply(null,arguments)}function JC(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",XC({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,KC||(KC=i.createElement("path",{d:"M12 2.39999C8.02356 2.39999 4.80001 5.62354 4.80001 9.59999V13.9029L3.95148 14.7515C3.60828 15.0947 3.50562 15.6108 3.69136 16.0592C3.87709 16.5076 4.31466 16.8 4.80001 16.8H19.2C19.6854 16.8 20.1229 16.5076 20.3087 16.0592C20.4944 15.6108 20.3917 15.0947 20.0485 14.7515L19.2 13.9029V9.59999C19.2 5.62354 15.9765 2.39999 12 2.39999Z",fill:"#DEE2E6"})),QC||(QC=i.createElement("path",{d:"M12 21.6C10.0118 21.6 8.39998 19.9882 8.39998 18H15.6C15.6 19.9882 13.9882 21.6 12 21.6Z",fill:"#DEE2E6"})))}const $C=i.forwardRef(JC);n.p;var ey,ty;function ny(){return ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ny.apply(null,arguments)}function ry(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ny({width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,ey||(ey=i.createElement("circle",{cx:6.00907,cy:6.00907,r:6.00907,fill:"#04E5A3"})),ty||(ty=i.createElement("circle",{cx:6.00907,cy:6.00907,r:6.00907,fill:"#04E5A3"})))}const iy=i.forwardRef(ry),oy=(n.p,e=>{let{onClick:t,isActive:n,isPulsing:r,onMouseEnter:i,onMouseLeave:s}=e;return(0,a.jsx)("button",{onMouseEnter:i,onMouseLeave:s,onClick:t,className:(0,o.cn)("rounded-[6px] cursor-pointer border-2 border-neutral-300 flex p-[8px] justify-center items-center gap-[10px] flex-shrink-0 shadow-[0px_4px_18px_0px_rgba(0, 0, 0, 0.25)] hover:bg-dropStatusIndicatorBackground",{"bg-dropStatusIndicatorBackground":n}),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)($C,{className:"w-[24px] h-[24px] md:w-[28px] md:h-[28px]"}),r?(0,a.jsx)("div",{className:"absolute -top-1 -right-0","data-testid":"pulse",children:(0,a.jsx)(iy,{className:"animate-pulse"})}):null]})})}),ay=oy,sy=(e,t)=>{const n=(0,i.useRef)(null),r=(0,i.useRef)(null),o=(0,i.useCallback)((n=>{n[0].isIntersecting&&t&&e()}),[e,t]);return(0,i.useEffect)((()=>(r.current&&r.current.disconnect(),r.current=new IntersectionObserver(o,{rootMargin:"0px"}),n.current&&r.current.observe(n.current),()=>{r.current&&r.current.disconnect()})),[o]),n};var ly,cy;function uy(){return uy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uy.apply(null,arguments)}function dy(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",uy({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,ly||(ly=i.createElement("path",{d:"M12 2.39999C8.02356 2.39999 4.80001 5.62354 4.80001 9.59999V13.9029L3.95148 14.7515C3.60828 15.0947 3.50562 15.6108 3.69136 16.0592C3.87709 16.5076 4.31466 16.8 4.80001 16.8H19.2C19.6854 16.8 20.1229 16.5076 20.3087 16.0592C20.4944 15.6108 20.3917 15.0947 20.0485 14.7515L19.2 13.9029V9.59999C19.2 5.62354 15.9765 2.39999 12 2.39999Z",fill:"#DEE2E6"})),cy||(cy=i.createElement("path",{d:"M12 21.6C10.0118 21.6 8.39998 19.9882 8.39998 18H15.6C15.6 19.9882 13.9882 21.6 12 21.6Z",fill:"#DEE2E6"})))}const hy=i.forwardRef(dy);n.p;var py,fy;function my(){return my=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},my.apply(null,arguments)}function gy(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",my({width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,py||(py=i.createElement("circle",{cx:6.00907,cy:6.00907,r:6.00907,fill:"#04E5A3"})),fy||(fy=i.createElement("circle",{cx:6.00907,cy:6.00907,r:6.00907,fill:"#04E5A3"})))}const vy=i.forwardRef(gy);n.p;function Cy(e){const t=Date.now()-e;if(t<6e4)return"Just now";if(t>6e4&&t<12e4)return"1 min ago";if(t<36e5)return"".concat(Math.floor(t/6e4)," mins ago");if(t>36e5&&t<72e5)return"1 hour ago";if(t<864e5)return"".concat(Math.floor(t/36e5)," hours ago");if(t>864e5&&t<1728e5)return"1 day ago";if(t<6048e5)return"".concat(Math.floor(t/864e5)," days ago");return new Date(e).toLocaleDateString()}const yy=e=>{var t,n;let{amount:r,transactionID:o,listingType:s,imageUrl:l,status:c,timestamp:u,title:d,transferAddress:h,id:p,token:f,nftId:m,nftType:g,queueMessage:v}=e;null!==(t=f)&&void 0!==t&&t.includes("A.")&&(f=Wt.IdentifierToPaymentToken[f]);const C=function(e){let{listingType:t,amount:n,title:r,token:i,transferAddress:o}=e;const s=(0,a.jsx)("strong",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-black",children:r}),l=(0,a.jsx)(Za,{token:null===i||void 0===i?void 0:i.toLowerCase()}),c=(0,a.jsxs)("strong",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-black",children:[" ",o," "]}),u=(0,a.jsxs)("span",{className:"inline-flex items-center gap-[4px]",children:[l,(0,a.jsx)("strong",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-black",children:an()(n).format("0,0.00")})]});switch(t){case"bulkDelisting":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Bulk Delisted ",s," for sale"]});case"bulkListing":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Bulk Listed ",s," for sale at ",u]});case"storefront":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Listed ",s," for sale at ",u]});case"purchase":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Bought ",s," for ",u]});case"rental":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Listed ",s," for rent"]});case"rent":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Rented ",s," for ",u]});case"loan":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Listed ",s," for a ",u," loan"]});case"fundLoan":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Funded ",u," loan on ",s]});case"loanBorrower":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Repaid ",u," loan on ",s]});case"transfer":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Transfer ",s," to ",c]});case"makeOffer":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Make offer to buy ",s," for ",u]});case"acceptOffer":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Accepted offer ",s," for ",u]});case"cancelOffer":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Cancel offer to buy ",s," for ",u]});case"delistSale":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Delisted sale listing for ",s]});case"delistRental":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Delisted rental listing for ",s]});case"delistLoan":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Delisted loan listing for ",s]});case"fundRental":return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["You rented ",s]})}return""}({amount:null!==r&&void 0!==r?r:0,listingType:s,title:d,token:null!==(n=f)&&void 0!==n?n:"",transferAddress:h}),y=Cy(u),{contract:{address:b,name:w},resourceName:x,nftID:A}=(0,T.nftTypeAndIdToLocationData)(null!==g&&void 0!==g?g:"",null!==m&&void 0!==m?m:""),E=b&&w&&x&&A;return(0,i.useEffect)((()=>{var e;v&&("PROCESSING"===c&&v({id:null!==(e=null===p||void 0===p?void 0:p.toString())&&void 0!==e?e:"",type:T.NotificationType.Transaction}))}),[p,v,c]),(0,a.jsxs)("a",{href:E?"/asset/".concat(b,"/").concat(w,"/").concat(x,"/").concat(A):void 0,className:"inline-flex items-start gap-[16px] ".concat(E?"":"pointer-events-none"),"data-testid":"notification-item-".concat(o),children:[(0,a.jsxs)("div",{className:"hidden md:block md:relative",children:[(0,a.jsx)("img",{src:null!==l&&void 0!==l?l:Kt,className:"w-[48px] h-[48px] rounded-[8px]",alt:"Notification Icon"}),(0,a.jsx)("div",{className:"absolute -top-1 -right-1",children:"PROCESSING"===c?(0,a.jsx)(vy,{className:"animate-pulse"}):null})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] items-start flex-1",children:[(0,a.jsx)("div",{className:"flex flex-row items-center flex-wrap",children:C}),(0,a.jsxs)("div",{className:"flex gap-[8px]",children:[(0,a.jsx)(z,{text:null!==c&&void 0!==c?c:"",status:c}),(0,a.jsx)("span",{className:"text-neutral-500 text-[12px] font-[400]",children:y})]})]})]})},by=e=>{let{title:t,imageUrl:n,listingStatus:r,token:i,nftId:o,nftType:s,flowtyStorefrontAddress:l,listingResourceID:c,transactionID:u,timestamp:d,message:h}=e;const p=Cy(d),{contract:{address:f,name:m},resourceName:g,nftID:v}=(0,T.nftTypeAndIdToLocationData)(null!==s&&void 0!==s?s:"",null!==o&&void 0!==o?o:""),C=f&&m&&g&&v;return(0,a.jsxs)("a",{href:C?"/asset/".concat(f,"/").concat(m,"/").concat(g,"/").concat(v):void 0,className:"inline-flex items-start gap-[16px] ".concat(C?"":"pointer-events-none"),"data-testid":"notification-item-".concat(u),children:[(0,a.jsx)("div",{className:"hidden md:block md:relative",children:(0,a.jsx)("img",{src:null!==n&&void 0!==n?n:Kt,className:"w-[48px] h-[48px] rounded-[8px]",alt:"Notification Icon"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] items-start flex-1",children:[(0,a.jsx)("div",{className:"flex flex-row items-center flex-wrap",children:h}),(0,a.jsx)("div",{className:"flex gap-[8px]",children:(0,a.jsx)("span",{className:"text-neutral-500 text-[12px] font-[400]",children:p})})]})]})};function wy(e){let{type:t,amount:n,title:r,token:i,wallet:o,loggedUserAddress:s,timeRemaining:l,countdown:c}=e;const u=(0,a.jsx)("strong",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-black",children:r}),d=(0,a.jsx)(Za,{token:null===i||void 0===i?void 0:i.toLowerCase()}),h=(0,a.jsxs)("span",{className:"inline-flex items-center gap-[4px]",children:[d,(0,a.jsx)("strong",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-black",children:an()(n).format("0,0.00")})]});switch(t){case T.NotificationType.StorefrontPurchased:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Sold ",u," for ",h]});case T.NotificationType.OfferAccepted:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Your offer of ",h," on ",u," was accepted by"," ",o]});case T.NotificationType.OfferReceived:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["You have received a ",h," offer on ",u]});case T.NotificationType.OfferExpired:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Your offer for ",h," on ",u," has expired"]});case T.NotificationType.RentalFunded:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[u," was rented by ",o," for ",h]});case T.NotificationType.RentalReturned:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[u," was returned by ",o]});case T.NotificationType.RentalSettled:return o===s?(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["You did not return ",u," rental on time"]}):(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Your rented ",u," was not returned"]});case T.NotificationType.PrivateRental:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["A private rental listing for ",u," was created for you"]});case T.NotificationType.RentalExpirationWarning:return o===s?(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[l," to return ",u," or you will forfeit your refundable deposit"]}):(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Renter has ",l," to return ",u]});case T.NotificationType.LoanFunded:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[o," funded your ",u," loan"]});case T.NotificationType.LoanRepaid:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Borrower repaid ",h," loan on ",u]});case T.NotificationType.ListingInvalid:return(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[u," Loan listing for ",h," is no longer valid"]});case T.NotificationType.LoanSettled:return o===s?(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["You did not repay ",h," loan on ",u," on time"]}):(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Your ",h," funding of ",u," was not repaid"]});case T.NotificationType.LoanExpirationWarning:return o===s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:["Borrower has ",c," to repay loan"," "]}),(0,a.jsxs)("span",{className:"min-w-4  text-[14px] font-[400]",children:["on ",u]})]}):(0,a.jsxs)("span",{className:"text-[#DEDEDE] font-montserrat text-[14px] font-[400] flex flex-row gap-[4px] items-center flex-wrap",children:[c," to repay loan on ",u]});default:return null}}const xy=e=>{let{amount:t,transactionID:n,imageUrl:r,timestamp:i,title:o,id:s,token:l,nftId:c,nftType:u,flowtyStorefrontAddress:d,listingResourceID:h,type:p,listingStatus:f,listingType:m}=e;const g=wy({amount:t,title:o,token:l,type:p});return(0,a.jsx)(by,{title:o,imageUrl:r,listingStatus:f,token:l,nftId:c,nftType:u,flowtyStorefrontAddress:d,listingResourceID:h,transactionID:n,message:g,timestamp:i,listingType:m,type:p})},Ay=e=>{let{amount:t,transactionID:n,imageUrl:r,timestamp:i,title:o,token:s,nftId:l,nftType:c,payerAddress:u,type:d,listingType:h,offerResourceID:p}=e;const f=wy({amount:t,title:o,token:s,type:d,wallet:u});return(0,a.jsx)(by,{title:o,imageUrl:r,token:s,nftId:l,nftType:c,flowtyStorefrontAddress:u,listingResourceID:p,transactionID:n,message:f,timestamp:i,listingType:h,type:d})},Ey=e=>{let{rentalFee:t,transactionID:n,imageUrl:r,timestamp:i,title:o,token:s,nftId:l,nftType:c,renterAddress:u,type:d,listingType:h,listingResourceID:p,loggedUserAddress:f}=e;const m=wy({amount:t,loggedUserAddress:f,title:o,token:s,type:d,wallet:u});return(0,a.jsx)(by,{title:o,imageUrl:r,token:s,nftId:l,nftType:c,listingResourceID:p,transactionID:n,message:m,timestamp:i,listingType:h,type:d})},_y=e=>{let{rentalFee:t,transactionID:n,imageUrl:r,timestamp:i,title:o,token:s,nftId:l,nftType:c,renterAddress:u,type:d,timeRemaining:h,listingType:p,listingResourceID:f,loggedUserAddress:m}=e;const g=wy({amount:t,loggedUserAddress:m,timeRemaining:h,title:o,token:s,type:d,wallet:u});return(0,a.jsx)(by,{title:o,imageUrl:r,token:s,nftId:l,nftType:c,listingResourceID:f,transactionID:n,message:g,timestamp:i,listingType:p,type:d})},Ty=e=>{let{amount:t,transactionID:n,imageUrl:r,timestamp:i,title:o,token:s,marketplaceAmount:l,nftId:c,nftType:u,lenderAddress:d,type:h,listingType:p,listingResourceID:f,loggedUserAddress:m}=e;const g=m===d,v=wy({amount:T.NotificationType.LoanRepaid||T.NotificationType.LoanSettled&&g?l:t,loggedUserAddress:m,title:o,token:s,type:h,wallet:d});return(0,a.jsx)(by,{title:o,imageUrl:r,token:s,nftId:c,nftType:u,listingResourceID:f,transactionID:n,message:v,timestamp:i,listingType:p,type:h})};var Sy=n(50694),ky=n(40559),Py=n(50453),Dy=n(59513),Ny=n(42762),Fy=n(40485);const Iy=e=>e instanceof Fy.Dc?e.toDate():e,Ry=e=>{const[t,n]=(0,i.useState)("00:00:00"),r=Iy(e);return(0,i.useEffect)((()=>{const e=()=>{n(((e,t)=>{if((0,Sy.A)(e,t)<=0)return"Expired";const n=(0,ky.A)(e,t),r=(0,Py.A)(e,t)%60,i=(0,Dy.A)(e,t)%60,o=n>0?"".concat(String(n).padStart(2,"0"),"h "):"",a=n>0||r>0?"".concat(String(r).padStart(2,"0"),"m "):"",s=n>0||r>0||i>0?"".concat(String(i).padStart(2,"0"),"s"):"";return"".concat(o).concat(a).concat(s).trim()})(r,new Date))},t=setInterval(e,1e3);return e(),()=>clearInterval(t)}),[e]),t},My=e=>{let{amount:t,transactionID:n,imageUrl:r,timestamp:i,title:o,token:s,nftId:l,nftType:c,lenderAddress:u,type:d,listingType:h,listingResourceID:p,loggedUserAddress:f,expiresOn:m}=e;const g=Ry(m);if("Expired"===g)return null;const v=wy({amount:t,countdown:g,loggedUserAddress:f,title:o,token:s,type:d,wallet:u});return(0,a.jsx)(by,{title:o,imageUrl:r,token:s,nftId:l,nftType:c,listingResourceID:p,transactionID:n,message:v,timestamp:i,listingType:h,type:d})},Oy=(e,t,n,r)=>{switch(e){case"TRANSACTION":return(0,a.jsx)(yy,{...t,queueMessage:r});case T.NotificationType.StorefrontPurchased:return(0,a.jsx)(xy,{...t});case T.NotificationType.OfferAccepted:case T.NotificationType.OfferReceived:case T.NotificationType.OfferExpired:return(0,a.jsx)(Ay,{...t,queueMessage:r});case T.NotificationType.RentalFunded:case T.NotificationType.RentalReturned:case T.NotificationType.RentalSettled:case T.NotificationType.PrivateRental:return(0,a.jsx)(Ey,{...t,loggedUserAddress:n,queueMessage:r});case T.NotificationType.RentalExpirationWarning:return(0,a.jsx)(_y,{...t,loggedUserAddress:n});case T.NotificationType.LoanFunded:case T.NotificationType.LoanSettled:case T.NotificationType.LoanRepaid:case T.NotificationType.ListingInvalid:return(0,a.jsx)(Ty,{...t,loggedUserAddress:n,queueMessage:r});case T.NotificationType.LoanExpirationWarning:return(0,a.jsx)(My,{...t,loggedUserAddress:n});default:return null}},jy=e=>{let{notifications:t,queueMessage:n,label:r,loggedUserAddress:i}=e;return t.length<=0?null:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-[#DEE2E6] text-[14px] font-normal mb-[16px]",children:r}),t.map(((e,r)=>(0,a.jsx)("div",{className:"".concat(r===t.length-1?"mb-0":"mb-[24px]"),children:Oy(e.type,e,i,n)},"".concat(e.id,"-").concat(r))))]})},Ly=jy,By=e=>{let{notifications:t,queueMessage:n,onMouseEnter:r,hasMore:o,fetchMoreNotifications:s,onMouseLeave:l,loggedUserAddress:c}=e;const{notificationsFromToday:u,notificationsFromBeforeToday:d,pinnedNotifications:h}=(0,i.useMemo)((()=>(e=>{const t=Date.now()-864e5,n=[],r=[],i=[];return e.forEach((e=>{if(T.NotificationType.LoanExpirationWarning===e.type){const t=Iy(e.expiresOn),r=new Date;if(!(0,Ny.default)(t,r))return;n.push(e)}else e.timestamp>t?r.push(e):i.push(e)})),n.sort(((e,t)=>{const n=Iy(e.expiresOn).getTime();return Iy(t.expiresOn).getTime()-n})),r.sort(((e,t)=>t.timestamp-e.timestamp)),i.sort(((e,t)=>t.timestamp-e.timestamp)),{notificationsFromBeforeToday:i,notificationsFromToday:r,pinnedNotifications:n}})(t)),[t]),p=sy((()=>{s&&s()}),o);return(0,a.jsx)("div",{"data-testid":"notification-menu",onMouseEnter:r,onMouseLeave:l,className:"flex flex-col justify-center items-start gap-[10px] rounded-[6px] border-[1px] border-neutral-400 bg-notifications backdrop-blur-[50px] w-max",children:(0,a.jsxs)("div",{className:"max-h-[450px] md:max-h-[700px] flex flex-col items-start gap-[24px] overflow-auto py-[24px] px-[28px]",children:[(0,a.jsxs)("div",{className:"inline-flex gap-[8px] items-center w-full md:w-[168px]",children:[(0,a.jsx)(hy,{}),(0,a.jsx)("span",{className:"text-neutral-700 text-[16px] font-[900] leading-[16px] text-center",children:"NOTIFICATIONS"})]}),(0,a.jsx)("div",{className:"flex flex-col p-2 md:py-[18px] md:px-[24px] items-start gap-[16px] rounded-[4px] border-[1px] border-tipBorder bg-tipBg",children:(0,a.jsxs)("p",{className:"w-full md:w-[321px] text-[#DEDEDE] text-sm md:text-[14px] leading-normal",children:[(0,a.jsx)("strong",{children:"Tip:"})," Complete one transaction before starting another to limit failed transactions."]})}),(0,a.jsxs)("div",{className:"w-full md:w-[369px] flex flex-col items-start gap-[8px]",children:[h&&h.length>0&&(0,a.jsx)(Ly,{label:"Expiring Soon",notifications:h,queueMessage:n,loggedUserAddress:c||""}),(0,a.jsx)(Ly,{label:"Today",notifications:u,queueMessage:n,loggedUserAddress:c||""}),(0,a.jsx)(Ly,{label:"Past Notifications",notifications:d,queueMessage:n,loggedUserAddress:c||""}),(0,a.jsx)("div",{className:"border-2 border-transparent",ref:p})]})]})})},Uy=e=>{let{notifications:t,queueMessage:n,hasMore:r,fetchMoreNotifications:o,loading:s,loggedUserAddress:l}=e;const{setMouseExited:c,showMenuNotifications:u,toggleMenu:d}=(()=>{const[e,t]=(0,i.useState)(!1),[n,r]=(0,i.useState)(!1),o=(0,i.useCallback)((()=>{n&&e&&(t(!1),r(!1))}),[n,e]);return(0,i.useEffect)((()=>(window.addEventListener("click",o),()=>{window.removeEventListener("click",o)})),[o]),{closeMenu:o,setMouseExited:r,showMenuNotifications:e,toggleMenu:()=>{t(!e)}}})();return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:relative",children:[(0,a.jsx)(ay,{onMouseEnter:()=>c(!1),onMouseLeave:()=>c(!0),isPulsing:void 0!==(null===t||void 0===t?void 0:t.find((e=>"PROCESSING"===e.status))),onClick:d,isActive:u}),(0,a.jsxs)("div",{className:"mt-4 px-[32px] md:px-0 fixed md:absolute mx-auto w-screen md:w-auto left-1/2 -translate-x-1/2 md:left-0 md:translate-x-0 md:right-0 flex justify-end",children:[!s&&u&&t.length>0&&(0,a.jsx)(By,{notifications:t,queueMessage:n,hasMore:r,fetchMoreNotifications:o,onMouseEnter:()=>c(!1),onMouseLeave:()=>c(!0),loggedUserAddress:l}),!s&&u&&t.length<=0&&(0,a.jsx)(YC,{onMouseEnter:()=>c(!1),onMouseLeave:()=>c(!0)})]})]})})},Vy=e=>{let{onDismiss:t,connectDapperWallet:n}=e;return(0,a.jsxs)("div",{className:"w-full flex flex-row justify-between px-[18px] md:px-[64px] py-[18px] bg-[#e2e2e2] custom-opacity-dapperbar",children:[(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row justify-center items-center gap-[8px]",children:[(0,a.jsx)("h2",{className:"text-[#ADB5BD] font-montserrat text-[12px] md:text-[16px] font-black leading-normal tracking-[.125em] uppercase",children:"Top shot user?"}),(0,a.jsx)("button",{onClick:n,className:"uppercase text-[#F8F9FA] font-montserrat text-[12px] md:text-[16px] font-black leading-normal tracking-[.125em] underline underline-offset-[3px]",rel:"noopener noreferrer",children:"Sign in with your dapper wallet"})]}),(0,a.jsx)("button",{onClick:t,children:(0,a.jsx)("svg",{className:"justify-end",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#ADB5BD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},Hy=n.p+"static/media/BackgroundSquares.86c4b845130245523ec3.png";var zy;function Zy(){return Zy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zy.apply(null,arguments)}function Wy(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Zy({xmlns:"http://www.w3.org/2000/svg",width:33,height:8,viewBox:"0 0 33 8",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,zy||(zy=i.createElement("path",{d:"M32.3536 4.35355C32.5488 4.15829 32.5488 3.84171 32.3536 3.64645L29.1716 0.464466C28.9763 0.269204 28.6597 0.269204 28.4645 0.464466C28.2692 0.659728 28.2692 0.976311 28.4645 1.17157L31.2929 4L28.4645 6.82843C28.2692 7.02369 28.2692 7.34027 28.4645 7.53553C28.6597 7.7308 28.9763 7.7308 29.1716 7.53553L32.3536 4.35355ZM0 4.5H32V3.5H0V4.5Z",fill:"#F8F9FA"})))}const qy=i.forwardRef(Wy);n.p;var Gy,Yy,Ky,Qy;function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xy.apply(null,arguments)}function Jy(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Xy({xmlns:"http://www.w3.org/2000/svg",width:18,height:16,viewBox:"0 0 18 16",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Gy||(Gy=i.createElement("path",{d:"M17.9464 8.85192C17.901 8.7728 17.7885 8.73307 17.6982 8.71329C17.1786 8.71329 12.712 8.55504 12.712 3.99951C12.712 3.86104 12.5768 3.74219 12.4183 3.74219C12.261 3.74219 12.1256 3.86104 12.1256 3.99951C12.1256 8.55504 7.65842 8.71329 7.16195 8.71329C7.09435 8.71329 7.02656 8.73307 6.98149 8.7728C6.93624 8.79258 6.91352 8.83198 6.89136 8.85192C6.84611 8.93121 6.84611 9.03012 6.89136 9.1094C6.93643 9.18885 7.0491 9.24804 7.16195 9.24804C7.16195 9.24804 7.16195 9.24804 7.18448 9.24804C7.70349 9.24804 12.1481 9.40661 12.1481 13.9617C12.1481 14.1001 12.2833 14.2191 12.4416 14.2191C12.5995 14.2191 12.7346 14.1001 12.7346 13.9617C12.7346 9.42623 17.179 9.24804 17.6984 9.24804C17.8111 9.24804 17.9012 9.18885 17.9692 9.1094C18.0139 9.03012 18.0139 8.93137 17.9464 8.85192Z",fill:"url(#paint0_linear_10301_3261)"})),Yy||(Yy=i.createElement("path",{d:"M5.7327 12.0638C5.48609 12.0638 3.26696 11.9775 3.26696 9.26093C3.26696 9.10984 3.14366 8.98047 3 8.98047C2.85617 8.98047 2.73287 9.10967 2.73287 9.26093C2.73287 11.9775 0.513738 12.0638 0.26713 12.0638C0.246608 12.0638 0.246608 12.0638 0.246608 12.0638C0.102781 12.0853 0 12.1928 0 12.3439C0 12.495 0.123304 12.6243 0.26713 12.6243C0.53426 12.6243 2.73287 12.7103 2.73287 15.4268C2.73287 15.5776 2.85617 15.7073 3 15.7073C3.1233 15.7504 3.24661 15.6212 3.24661 15.4486C3.24661 12.7318 5.46574 12.6457 5.71235 12.6457H5.73287C5.8767 12.6457 6 12.5165 6 12.3439C5.99983 12.1928 5.87653 12.0638 5.7327 12.0638Z",fill:"url(#paint1_linear_10301_3261)"})),Ky||(Ky=i.createElement("path",{d:"M8.30398 3.66842C8.44798 3.66842 8.57129 3.53892 8.57129 3.36631C8.57129 3.21525 8.44798 3.08593 8.30398 3.08593C8.0577 3.08593 5.83834 2.99954 5.83834 0.280555C5.83834 0.129501 5.71504 0 5.5712 0C5.42737 0 5.30424 0.129501 5.30424 0.280555C5.30424 2.99971 3.08487 3.08593 2.83843 3.08593C2.81774 3.08593 2.81774 3.08593 2.81774 3.08593C2.6739 3.10748 2.57129 3.21525 2.57129 3.36631C2.57129 3.51736 2.6946 3.64686 2.83843 3.64686C3.10556 3.64686 5.30424 3.73308 5.30424 6.45224C5.30424 6.60329 5.42737 6.73279 5.5712 6.73279C5.69451 6.75452 5.81782 6.62502 5.81782 6.47379C5.81782 3.75463 8.03685 3.66842 8.28363 3.66842H8.30398Z",fill:"url(#paint2_linear_10301_3261)"})),Qy||(Qy=i.createElement("defs",null,i.createElement("linearGradient",{id:"paint0_linear_10301_3261",x1:6.85742,y1:8.98066,x2:18.0003,y2:8.98066,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#AA4FFF"}),i.createElement("stop",{offset:1,stopColor:"#40FFC7"})),i.createElement("linearGradient",{id:"paint1_linear_10301_3261",x1:0,y1:12.3481,x2:6,y2:12.3481,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#AA4FFF"}),i.createElement("stop",{offset:1,stopColor:"#40FFC7"})),i.createElement("linearGradient",{id:"paint2_linear_10301_3261",x1:2.57129,y1:3.36759,x2:8.57129,y2:3.36759,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#AA4FFF"}),i.createElement("stop",{offset:1,stopColor:"#40FFC7"})))))}const $y=i.forwardRef(Jy),eb=(n.p,n.p+"static/media/AllDay.f774f346f02f3c5deddc.png"),tb=n.p+"static/media/ballerz.abced4c19a5339e7e9d7.png",nb=n.p+"static/media/JollyJokers.2d5ebc9b791e4ac5a3ad.png",rb=n.p+"static/media/ufc.a47b6148bd8785e3552b.png",ib=n.p+"static/media/TopShot.159b45f779c7409f3d6f.png";const ob=n.p+"static/media/GrayHover.74cc9dd72e59858b9f06f2d6e71faaae.svg",ab=()=>{const e=[{image:ib,url:"/collection/0x0b2a3299cc857e29/TopShot"},{image:eb,url:"/collection/0xe4cf4bdc1751c65d/AllDay"},{image:rb,url:"/collection/0x329feb3ab062d289/UFC_NFT"},{image:tb,url:"/collection/0x8b148183c28ff88f/Gaia"},{image:nb,url:"/collection/0x699bf284101a76f1/JollyJokers"}];return(0,a.jsxs)("div",{style:{backgroundImage:"url(".concat(Hy,")")},className:"bg-cover bg-center bg-no-repeat flex flex-col justify-center items-center container pt-[40px] pb-[76px] relative z-10 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("h2",{className:"text-center font-montserrat text-[40px] lg:text-[64px] font-extrabold pb-[3px] md:pb-[12] lg:pb-[18px] leading-normal",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #FFF 0%, #AEAEAE 100%)",backgroundClip:"text",lineHeight:"normal !important"},children:["Buy, Sell,"," ",(0,a.jsxs)("div",{className:"block md:inline",children:[" ",(0,a.jsx)("span",{className:"font-montserrat text-[40px] lg:text-[64px] font-extrabold leading-normal",children:"Rent,"})," ",(0,a.jsx)("span",{className:"font-montserrat text-[40px] lg:text-[64px] font-normal leading-normal",children:"&"})," ",(0,a.jsx)("span",{className:"font-montserrat text-[40px] lg:text-[64px] font-extrabold leading-normal",children:"Loan"})]})]}),(0,a.jsxs)("div",{className:"mb-[3px] md:mb-[12] lg:mb-[18px] flex flex-row gap-[2px] md:gap-[4px] justify-center text-center",children:[(0,a.jsx)("h1",{className:"text-center font-montserrat text-[12px] lg:text-[18px] font-medium leading-normal",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #AA4FFF 0%, #40FFC7 100%)",backgroundClip:"text"},children:"on the highest volume marketplace for Flow NFTs"}),(0,a.jsx)($y,{})]}),(0,a.jsxs)("h4",{className:"text-center leading-normal font-montserrat text-[#ADB5BD] text-[12px] lg:text-[16px] font-normal",children:["In 2023, the"," ",(0,a.jsx)("span",{className:"text-center leading-normal font-montserrat text-[#ADB5BD] text-[12px] lg:text-[16px] font-bold",children:"top 5 sales"})," ","across the entire Flow Blockchain took place on Flowty"]})]}),(0,a.jsxs)("div",{className:"mt-[28px] md:mt-[50px] lg:mt-[80px]",children:[(0,a.jsx)("div",{className:"flex flex-row justify-center flex-wrap gap-[18px] md:gap-[15px] lg:gap-x-[24px]",children:e.map((e=>(0,a.jsx)("a",{href:e.url,className:"custom-bg-collections-landing rounded-[8px] border-[#343A40] hover:border-[#5E5E5E] backdrop-blur-xl w-[90px] h-[90px] md:w-[80px] md:h-[80px] lg:w-[124px] lg:h-[124px] p-[12px]",children:(0,a.jsx)("img",{src:e.image,alt:e.url,className:"w-full h-full"})},e.url)))}),(0,a.jsxs)("a",{href:"/marketplace",className:"flex flex-row justify-center items-center gap-[8px] mt-[24px] cursor-pointer",children:[(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAORSURBVHgB5VVLbE1BGP7/mTn3etUGFa3WeyMSERGJBCESsfCMVIKKhgULNhYSsZSwsGIpRKuNsPDYSFhIEAsRW89EqN62QkW0vb0958z8vpnbXldvtbUUkzuZM6/v+x/fP5foX2880YNRV+sqcbLRETnH6iHV7HsxkXvjE8jlKpPLHmeWRmFOAW+Z2QrxnTSRSzS/sevvCXJX6gyZwwDZhBNzyIkDaIrDVoRSrKUkFIicyCtheuOMvkqz934enyB3vU5Rclsx13oQoWEwjOFbQKASrCdMYrFmse9AkrNGnxhJokbiA/ykIp6HS6q4LwpkqmQMYoU14Ilfcb5L0btqZe2OSrwKl3g5Bi1+j0ljRTtyiotzfwKRYxcsdz54GEnCHDurxybI3awHyHIPDCyDeIOAjCf0SYDR7K3Hz+G7k5Scxd7bkHQJBDOpu2XqHwk0x6dxqAxYIiCicwT1RADW3lrsd6SZ9Hhac+A+3GqRkBffyUbCDaMTdLatY5GDADEgARhlMGYQktfoWVzOImw+ZLlJmewxqm7q9teg2nnwICHh1CsMvm3JdLUurSAwzu70g/i4M6xHZ1JH0tr9a4jdeXhRpZT6nrHx0f7qhgCuO5p3k+KdwhLjfOLlizg6K7yyhPsruQrrMsgSMumj7ZxQj58gFGeijmtfDOl7+fpDnQG8vW07KbcVIYoh5pB1KIGLYoMvJdxhpvZra2H7XSxB+0EVsIZ7UkoaqLbpdXlcTWfLZgh1G8AjZFt57aqipAORpvRcPHSnFKK0vvEJhgsAz+NcH5h7vSGGoovZ9quLSuhdLetRFxuQrxgVNgjsRCHBjl0CMgvSx3GZQb9X8rvW6WYKPStWK8XwcwAH8qit7iRxzWR0FRSwDPqfhGqOvAgAHGqFgvKELU07RXN39VSqyLcl+39Abu9xIY9ZP9TR70dCEWjDOxTJiqH82PCMwHL2+ic8gr6alfpQDl5JgIYYPkABFfBZQIQK3gtXTH4C912o5JBEV6zmQIYXnJxVlj6NxKsgmGyyNwDTDoxBAA0qIa9xyNA/bCjhgMtOwYpQ0UoFEiX8NabMvZF4oz/X3beqI9u7B7GogfuzgDnAWvoQKoTOWdJK4xUykLEGcK9E8tIm8VOqO/xtYgTlraN5Bh6mzSx6Gd62PIrNYgSFfj43Hz/6sKCpMNb1Cf9lZj+2LbScLNaZCMKhd4WafR/pv2g/Ae+twi162FdHAAAAAElFTkSuQmCC",alt:"Flowty Verified Collection",className:"w-[16px] h-[16px] lg:w-[24px] lg:h-[24px]"}),(0,a.jsx)("span",{className:"text-[#F8F9FA] font-montserrat leading-normal text-[14px] sm:text-[18px] font-semibold",children:"View 200+ verified collections"}),(0,a.jsx)(qy,{})]})]}),(0,a.jsx)("img",{src:ob,alt:"Gray Hover",className:"h-[640px] absolute bottom-[-150px] md:bottom-[-320px] rounded-[1177px] -z-50",style:{background:"radial-gradient(50% 50% at 50% 50%, rgba(157, 157, 157, 0.19) 0%, rgba(3, 16, 33, 0.10) 99.99%, rgba(3, 16, 33, 0.00) 100%)"}})]})},sb=()=>{const e=1440,t=1024,n=640,r=768,o=1440,a=i=>i<n?"xs":i<r?"mobile":i<t?"tablet":i<e?"laptop":i<o?"desktop":"xl",[s,l]=(0,i.useState)(a(window.innerWidth));return(0,i.useEffect)((()=>{const e=()=>{l(a(window.innerWidth))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),s};var lb;function cb(){return cb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cb.apply(null,arguments)}function ub(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",cb({width:21,height:21,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,lb||(lb=i.createElement("path",{d:"M12.1667 4.46507L18 10.2984M18 10.2984L12.1667 16.1317M18 10.2984L3 10.2984",stroke:"#031021",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})))}const db=i.forwardRef(ub);n.p;var hb,pb;function fb(){return fb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fb.apply(null,arguments)}function mb(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",fb({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,hb||(hb=i.createElement("rect",{width:22,height:22,fill:"url(#pattern0_8466_48)"})),pb||(pb=i.createElement("defs",null,i.createElement("pattern",{id:"pattern0_8466_48",patternContentUnits:"objectBoundingBox",width:1,height:1},i.createElement("use",{xlinkHref:"#image0_8466_48",transform:"scale(0.003125)"})),i.createElement("image",{id:"image0_8466_48",width:320,height:320,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAgAElEQVR4Ae2dB7huT1ndEwHRIKKCCoKggAVEjCIIKFZEo1FQFLugIIKAjRjBhl0E7CU27A2l2EtQURQ7sYAlil1jQcQWNaZM9m//37WfdebM/sq59577fees/TznvFP3nlnzzvqmz7/5N3mCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCBwtAq21f0viXWLWn/zc/2gzm4QHgSAQBBwBJzaRnkvCul3h/R0xB4EgEASOEoGe3Hq7MhXiExKRQSAIXAgEerLr7ZsyuU/YTe+JXxAIAkHguiDQk1hvX0tUH87ta3HiHgSCQBA4KAScuK7A/AqtNf6WiRPMB5XRJCYIBIEg0CPQk9aKXQS3qwwR9kDHHgSCwOEhsEJ4IjAI70b294qtNf5uUm4eTmGdJOWf1uDhFX1SFASCAAiIBIVGa+1mrbXXb63du7X2Lq21B7XWHtxae7/W2vu31t63tfaerbV3bq3dt7X2eq21m1Y32AkQ80yCendkEAgCQeCqIiCSkdzn5cRR+Grd3b619h6ttadMBPeC1tpLW2v/2lr7v+3k88/l98cTAX5ja+0DW2t3aa29SqXDiXD5hn3rlJv8IoNAEAgCOyMg4htJf4n83U3m1tpbttY+rbX2s621v2utQXD/u4jv/01+m/4gR/x/eyLAp7XW7tdae6XR93DjmyM/S8vSdd4UTuEjg0AQuMQIFEmou6mW1ykSGZFJa+1erbXHtda+v1p0/8tafCI9EZzsI0kYSPNvp67yb7XWvri1dv/qTt9IxUMaMCstku5fbsrHnC/5RwaBIBAEFgREIB1piPxEirIjGaujm/rmrbXHt9a+rbX2J9bCg8hGfyPSG7mpo/yyqSv9wsnypNba27bWbqlEW5pvPFo+MxhLnNOv+JFBIAgEgRkBIxMnOW89yYw/hMOExWOnlt8Ptdb+3IhPZDYiP9zkv4sUCSL/aZpM+ZHW2hNba28tIqy0MKM8ImnSqnTP/inuIBAEgsAqAitEKFJkKctrttYeOZHQc1trf1OE1pNdT27b/AmvMH3c3g4ZMqny6Nba3VtrtxilWRns/eQeGQSCQBA4gYDI4oTjDeNstPhuNY3tPaa19vxprI9u6b8Mxvh6spJ9G7nJX1LxJOWO/D/1XWaUXzKtJfyc1trd6JKTbuVBUnnBLnNkEAgCFwwBVXjJq5W91tobt9Y+vrX2fa21vyjygZhESiKpqy31/k2SyZK/LlJ+ao0R3sTzfrXx8HfHHASCwAEgoEreyz5p+OPWh5O7wrfWXnmazb1Ha+2jpoXM39Rae3G1+Oh+rhGdj9eNzGvxtrk7AfZh/TssuaFb/tmttXdg+YzlR1341VagMFGcyCAQBI4EAVXekstkwCj5XVhNEoggmNVljO8h02LkZ7TWWJx8rZ+e1Nwu8pPbLmkh7E9PhP2E1tpbMVlS2+00GXKKBA2T1TAjLOMWBILAASAwqMCrM54WVqRHWJa0vNrU0nuf1toP1ho8kQ1jbpDKeT8iPclt31c4SFNp/rUiQsYImcBRXk+QoGEiApzxM3dhdSLeARR9khAEggAIVGWl4urQgbnSjtBRxa54r9Fa+9BpB8cPTF3ev6qxPchGhII8hkfpVasRyQ4UyJCdJWyzu88GPJz8enMIcARc3ILAoSAgUltbD9ens7V2h2lS41GttW9vrdFSgix4RCQuy+tghadVBOhuJJx1hL/eWvvqSb53aw3in1t0HXY9+WEPAfYKFHsQOCQEvJJuMHP81BtMy0c+uLX2NdUyEqs5YfRmhTlk2afZ7Z5utuj94rR+8Iuqy38bO5Jrjfzkni7wISl90hIEHIGO+Lzl8qp1LBVHT33rtJD5fxQjOElsMzuJHKJ51/QTjod1jL/cWvuCiRDfbfpBeJ06n1Bk5zItQFe0mIPAtUBABNa/W+4u+zDYzZ+Fy/+ujqViVvdDWmvPqjE+FhCLLOguyixicLvcijMOWpBWxvt8gbbyR8L7fLmdrXzf0lr7gCJC8FtIz80j3OMWBILAFSKwVsncfWTms+ZOq0WTIMzqcgDpM3cgPieDkfmgmc/ITeN/Ltfyg7sewkOe7Cz5zulQh4dPhHinmh0/RYQqauEue2QQCAJnRECVSVKvkX2TtLCM8XGY6Ie31r65KjQtIs2GqkU0IoU1N5HEIcs+7SLA3l128oK5f3CjhfybrbXvqsMe3rSO4gLbU2TobiqHyCAQBPZEwCsSZkXv3Xs74arVx1q3h7XWnj515f57VWRaNSKDnvz6yu92Jwp3P1Sz0rsmle7eX+6S8hduf9Ba+47aEcN5h69eeEOEGmOVnMlR5RYZBILAnggUuZ2oUEZ4vTtdXRYw37Hu2PiK6Tj531FNLqkK7bILcmGs5NEf5dndMPfh3F9xXNJ6pmv8HDuBhuEFHcHVl8vGViLluadaJHgQuBwIGNmdak0YOb4CaNTODcb4GLz/y2rpecV187aK7yRw2c0j3HCjBc1aQpbQfEodEiHyk1zIrS9L2S+HJieXQeAMCKiSSI5e0Vq7de3ceHYdPa8urldcN192Qjtr/h1DmfUuzkHkgIgvb629PWOEKiuV3ZpUuMggEAR2RKDG+G5bkxscUsDYlCY3VDnXpCpt5O4IrGEpd72JlvfP1b0lXPF5W4p0jfxw37HIEywIHCcCrvyjHKgSSI7CyK2Oe79za+3DplNaGOOj1cGYlCpiLzXRIdn7q+JGriPQY7Zm9zdwgZOI8L1aa7djksTK8cS4oNwjg8CFQsDJz2YJTyh/F2ZtrI8lFxzjxIXhdLN+t9apqTKq27tGdArXS6+0MZ9GoMdrzX465g0u/Dj9Sm2zeyAtwvoRY4xwGSd0HbhQFSCZudwIuGKXwqP0OobJK4Cb525RxSUslw1xECknMLNljSUZVMSe9DaRH9WROJJekcs5YgUBx2rNvBJ1cSbey6fzCH+4tfYIypSa4SSomuI6I7fIIHC0CJRCi+CQXOxNiw6zu8uuWV3u3OCQAnYiMManrq6Ib60yyn2pfQMDYfLshoDwdKmYwlFS7i49Hma22fFjxg16t5di98Qnu/wjg8BRIiBFRpIBsy+EJyIs/9ea1u994FQ5vr5OZ3Hi04LcEQl6pYv56iMgItv3zcRTean1zjuYMPnxutaTk6rnS95LP6Qbp4ZEjrISJNFBwBEwElwUvMaHmDnkfLrfGLT41MVVZTprhdy3Aif82RBQ+ai8VH5y11s5dPZ7W2ufUHeX0PI/MU7suhNzEDgqBFyZ+4RPRy/dvK6XfEBr7Sun9Xy/bwuYveK4ua9AqkiRh4WAykmyJ0C5e6p/prX2cdNp3G9ZesEJPhomOUGK6FWvT7EHgYNDYESANQbICcQQH+v4XrplKYsIcFRpvALFfDgIqKyQa+SnMKQasx72bn9Za+3tWmtcTAX5QYSMHWv8OAR4cLX9AiXIiWvbr63C9tmXu2Z+8Z+6uJw4/NDpCPpvmGYE/7QWMKsiSKrChPhECccnVZabJLnCX4/CYmd3CUTINaSMCaM3agVChqwQ2EiCCt/rZenhxrijOHG7RAhIeUZSMGzyUxjJOoGZWV3G+H61tfaPpfWu9DL3UhUk8ngR6MvU7coVbjz64UP+z1rw/m3TMqhHTsdy3XVaV3iLuqt5lcRGujlyk35GBoEFgYGinJiVw5/Ag3DzL7RexHFJdufG17bWfql+2VFyrwAy36D++X8REVAZ99Lz2vvJThhWAzBGzJ5vxgk5jgsiXN1hYvop/XWp1uQqiUqPIy8hAqU8UhiNwWBfFGeD+ZWnuzbYssbqf7q67NyQMiPVxXU3zHkuLgJ9Wcve51juI0lYLnHigvrnTmsKP3I64ZtzHxlPZsJkGR8c6OZQly9h1U6Wd0HAFGhX0pOC0erjQvHvbq29zLozm9bwoex5Lj4CPamt5bgPJ7vCY9eP6AunH9dPmxZXv4VNmGz6kZ71WXUAPZc5MggsCBgBeuvvFBkqQi1b4EJxVvn/UWvtH6rb4uM5vVmKjcwTBEBAOuG6IrcRQvgxnswdx1ztyX7xW0kvkZ0uL+ToYWIOAicQ6JRGrTuXKBIzcVyWw+A0LT5OCuZYqr61J2WWIiNxk32k2HG7vAhIL6Q3u+gKYVhU/fNFhFz2/rpS6k6fZxKUX2QQOIWAKcypVl9disNlQ1yb+I119LyT2khxe6WWHZknCPQIuH705j5sb//rIsKnTRc6PaROq56XzfjC6lNKH4eLi4AR2k5jHhZerT4UiD/OduOaRA4pYAEzDzN0Tnoy94q7Zq/XRASBEwi4vqBTbsfcP70bPZE/rKVXnFT9qjVRwiTdTIgXt8YnZzMCHZHtNP7RxRHxoTzv3lr79upqoHyukCK9XnqYTeZemWMPAq4vIwJ0f8z9gxskyHg0R6mxhGa+7H2NHkz3d6ora++J+wEgYIWpVtxSqOZ3qkVYfiwp4JY1Fp5yHh/Kw1FGUrRe+aSgZyHAXnFjDwIg4Dom/XI3N/eIuR9m4rOomt1HLKH5JJbQeDUtvVddkTxVPzxOzAeMgJNcjX1QqKdIcJSF1hoXYNPVZQU+5/GhRDy9Yo3s25TV49RrI4LAKQRcT7aZT0XuHBQf3WQtIeOEz5vCPGk6lut+2lli9eREXaGOUHdUV1SPZI88MARUQH2BkkwVpMIo6TUuwgJmTu1lcoPxE3+kRPtIxR/FkV9kEFhDoNcbhXN3uW2SHt7NrFr46dbap7fW3rEWVXNo7ykCVN1RvVE9Uv2JPBAEvIBUkH3SBmFYTf/+deH135cmuaK4mV9R/3O/3rxJKeMXBM4bgV4/1VthIu8XpsTQIrxPDf8wDDS3+lRfqEe9ua9bsR8AAn3BeaF58mo/JS2+51fXAAXxdXyuME56vdnDufm8FTzfCwLbEJB+SoexY9bzZzXZxwG9N6e+qP6UzPigk8ghmrsC83E/ZnU5Y42j5z+mtfZf63hyFMAVozdLWSSdJD2u4klKqSKDwKEgIN2UlE5jx0xr8J9qRxPnEs6TJTactNSnQ6z7SdP4F4tCo0nP5nGI71vqkAKUUoogBRChScpfitJL+Y/koSh90hEEhMCanro7JMjzF1ODgQXVb9y3/rCHbA4EAbX4lBwvnLqJ7Y0mwvug6e4NjqXioEkKm6cnOVeCTeZd49VnIoLAwSDgej3SYxLqYTic9VO1eNqIMAQowrlWUsTmhNZ/y8OYma4uK95fs7X2fnX0fD+r2xe0Fzrm0dOH2WQfxY9bELjeCKzprKdLYdQS5OKmW1v9mrvBfV2M/Soi0IONnddL6lMWbh6crTDM6rLqnYJjAbM/FC6PCnkkK0hEELhwCOyq74RjmQzjgT837S9+V62q6Oug6mLkVULASG0hPXcbmYv47tBa+9jaucH2Hz2jQsctTxC4bAj0dcHz3/tpvPsXJxJ8lxDfVSK4ba/pCO7EokyfjSrSo7t7x+m4+Y+uru6vVYlSmCpAFWxvxz1PELhMCKguuCT/blc9QeLO9rm7V31L93cbgV2Jf0d+y5T7wJ3lLOzVZR2ftqxRkBQay1R8qYrMFKYKVwV+mZQ/eQ0C0nuRm+wuvY7QBeawVY7dpz7O95BgvpJ6nrgbEBiQ3fKrU5MbXBMI8f1AXTRE4f2rEZ8IUFIFKumFnSoRBC4LAq73o7qAv9yZAMH849OJ0xywSk+LvyyE3sBdO3lt+/XQL02t3WNvolqCt68xvh+twVkKCeJTwUF4MuOnlp8KFelKcFkUP/m8nAi4ru9j/ueaAGESkWP2af1BfCHAnRjOAonsjMREZsMmtIXT2B8LmLn0hesAOXqedXw0y0V8KliR3C6tPsW5nNUiub4MCEjHXZJv2VVfZEfixmkxHJBAD+tN6gT0GxcBzl1g1Wmr5jGOEDAyE3AitSH5+TvqXl3G+B5dhxRwvSTE5wXWm/sWXu8v+2WoAMnj5UZAuu7SCdDdMbPg+Seqh3Wfri4ujZaQnyOzwWzkpzGDhfzWQKw4dHkhvocW8bGAedTa6wuwt6uwJd3/cleN5P4yIIC+9628vi4wTMTZgJwE8xmttXu21l5xQ7WO164IiOSK1ER+kksLsPzp5nKnLufxfch0JA9jfJxgK9KiWwsJ8qdxvr4wFVbuIyUnTJ4gcBkQcF1X3UBCihob55L1z9eBB9Ttqo9L/dy1vidch4AR36kWoAetcExuPLaOpaKbyyBs3+pT4elXTdILV+bLoODJYxBYQ0D1QJJwmHloWEB8HIJKg4Mto1z/kHE+J6YrNa8QICDfRO+ezh17w+l2tcfUzg0KBdITsSFVgJLuJ7P8VMBVzhFB4NIi4HXC68WLpzr1aa21t6rTn5nV9fE9NVZmN9XTyD0RMFAB1NcPAewrGvF9ff0aoakUFKSm5rkKUX6yj4jRC/nSan0yHgQMAdUJboV7wXQq0pNbaw9srd2e6lx1VMtaRILLEBX+e1b7BBcCHQECLhMbHFBwp1pU+dTpXL6XV2HtSmwKtyat7GMMAhcWAdf/TZn8y+mah9+eCI9GBle63rLqobq7apjQK8NNJDhL1eXILQjol6IHsNYNAe7NpsuZ2blBIXxzzTpRcN6Sw07Bqlvb+40KmvB5gsBlQkB1xOVa/lkzy1FwbBmF1DTGp27uSIb8tvDdKe8V4hPgt6tZXS4U1+ksI5IT4cmPAg7Bral23C86AiPdV50YDRHhxuQGS8aeUb2smcy6+rlKegp3qoLHYR0BgVYScDWo+qqttQe31r6mjp4XwakQkT3ZuZ+bUXbseYLAZUDAdb83qx45CeLGhecQH6eevzaXGXV1c0SGQ7f12h6fEwgY6TmQrOV7h1pb9N+MuLwgVYjutma+DAqfPAYBR2BUF9RYQEJ+hGERM9tC6V09vrX2pnZQQT+54XX0lPlExY5lNwT6vYE1yPrhrbWfXCE+FawXptzWpCtGzEHgMiDQ1wXlWe7s1WU4iRsNP1mLmK1Bom7uKaJbaxXuVuMTakHAgARsgH616fSIJ1TBqKBcqtXn5Cezh+vNKvzIIHDZEOjrAnbIj21rrKJ4s5rYYHKDOujEp3q5EwkuFTuG3RGwFiBH5XB13svscnEVnkiOZrv/yV1S4Xt52ZQ++Q0CPQKqE5x0zolIXPswmtEV2e1FfmrM7F7zE3JGoCY82ML2BTUI2+/iEOGJ5GR3KT8Vci97ZYg9CBwLAq7L29KssH24f6wTWv7TtD/+PrZ7Q2v4zkR2Ij2XobUVBAQS3p2Zhc0MvnLrGgUoMpN0ouvNCuNSStDLXiliDwKHjkCvw7Ir3bL3Uv7IH5sWKH9ea+0BRXzq5mqCw7u8av2dWa5U/8vrLLJbGVvg9Jb3ba1xWxSFyIN0QoP03L7N3CuD7PX6iCBwNAhId6XzskvKHYkbkh7U37bWfrW19uWttfvbsjInPTfPLcCepazu7kSIffzYrbVnBDj/4gDO1Cx/29bad1ShoZUqRBXsWclP8SWlMEej+UnopUdAOut1oneTHT1XOBYxf0Vr7R5GYKfIrvyGxCfisvghQIGyrzQQZ7CLCCkQtrZp0kPkp0KU9IIVmcnN40gRXPbh8csTBI4JAekzDQFmbtUgwF36Lb3+namL+6XT1ZNvXUdTUcdEfJIniGxbXba6S7y54WLyxLsUdts7L6V/geMAAh4XJL/QtFGFKimi6+3ubtEXo4d3JcE9TxA4NgTQW+m0zJLkhbV8X91ae8/W2q2LoHrCOkFW+5KQyG2b3Pe9lyp8Bx6/SP+l9h1SiCpgEZaTXO/nhe9mV+xRHPePOQgcEwLSc9ULWoOM8XFCy8PqdCSt4ztBdl7vzkI4Hr/M3pCRWYQ7f/ss37kUcQpAyI9both+w+NkJTPS/dzd/RjvYF3Ti1prv1mbuNnMrbgetpxPCcIo3CnPOASBa4CAdG5XvVN4iI/9utxjzW6p17FurpPRKRI8K8F0BKhv9HL53lm/c6HjdSCyz5eLU/5lC/mhdxS8WoVSAtw57v6Hpub/I1trr18btzmW+wNaa09vrXFirYhwTX/1Pv2qYvdH/r27h4k5COyLAPo00um197j+sXvjUbacZT5stOrXK0Ai6gKLUFT3ZN9HKm6RLCs2OO+PMzk5/l5/uHE4Mf5zGvb5xqUJa2C+0TReoQMOpAwuVeBI/bnC8CvIYO9dCnh+jfQLdIvWGifIcG4givIza1rVkauToL7Zyw2vilcQ2AkBdEq6LCk92/QCfuw5k48W36zvThym/6e6oJv8/B29uS4Xe8vaJ8wmhe+axu1/rnpuv1enMzHxQg/sB6tO0h1/46qX9PQgxxv1775U9q4A+JV41yppCp6nJ59yXsjPlYaW3xdzCQsg1i8TQPMnEkTyHfYVs8/xY+uCZlbD8+h7roAjs8LtoqD16oggsCAgvXEpPXMp/yViGdD1Z9ddN2/RWuPHfTle3s2bCKWrF15HlndVXcKP46/uNc02f0pr7Xtaa788XSv7B7WukIZH/5B28kJvi5OjX1LH5n9T7el/UN8qHKVnU/qP2m+Q2deajrD/mA7FNQUgmPyQFMDPt9bewgpMBeqtQHejac5JtqyJ+swqHBaJ6t1SRBUkdjfLjlueILAPAuiM/qRn0qfeLv1Cop/Pm240/MTph/udqtW3XAC2DyFU/fPxurluDOoPjYV7T2T2qa21H2+t/VENMyn9LoWBp1n5wg8zhMjlZM8vMp2X5tR3VVcllzTtk7ejCDsogLtPm7C/QQiWFJCd82IV+Fy8/MRB4Z0A0r4pIpSEDFkVzxghTXcueWFdld4vKeXE7uYlQTEEgR0QcH2SWTrV29EziI8W1+fUxeIaczvRUvOKj667vTdbXaCO0EtSXZll1aU3qKtkf7bOBiRtPEojaZNZcs3/hpg3/PewPzK1JB/aWnu96p2pTio9G/PR5+to7F0BkFl+0RjI5QGgXR+I6rkc1liFtgBX3xCgmyRxGMClK/E2dco0pMrTF7ITnxdkBY8IAlsRkN6MdEl+vIShGVYwcM0k4+MndPtKKntX/0SAej+TGG839ai+r+7X8fqIWemWVJrXpAPSh8Hvr6ahq2+tRojSIDnX2yvJ60HGNXJSRt+npvEBVSA5cGtmxkOeXOQnkpvfqYzbt+S//Kp0fsRjrIMBZS5Y+jq7YInvK10u19IV9yCwhoDrj5sVHuL7rall9lnTshYmG3T8vOqK5KLH0vV95IAEqR+3qhUUTGqwd5j0+SM7krrqO1BGeXE3mfU+tzOMxfrFR9RECWlZ8kla98nbUYS1AiCzzMxS8N71FFCbJDNNH0GG7X0AN4PnQJT/QoKdXXGQ/CLSzdDyGX6dGLfYl5w3pTt+x48AFfgsjyq+S3SL8bFfr+seOKHlNqXXrpta0jLrsev3vmbT/7mu1BKax06HkPxGZcrTp7wiRXwiv75e9PF6O+H9T+/ms79ScwEsiVO+lzq7bx6PInytG6KZL3AF2C7K9RwOTiCjRoAANhdqD4AV+gIqYQfx5Q8ZMn3/EdPMMd9iexGFt++jPHlh7/uOhD8cBLw8t5n7VCu8iIMfflo/XzWNQX+gXSzO2HRPAifsvX7va7f6QK/no4qASG9PUEqz5Mhf+VSYTXJTfDZCkBYmRpe6rLTum8eDD1/N7i8adDEF6Jqkif4ltbZPhLVVQQRkJ2fClBugyVwSIrxba+3jp/PTGBT+m7VErbj3yrASLM5HgEBfltvsa1mixffSWivHQv1X6/TOdfKEXqOTV6tit9Y4cf3DaryRtHIZkhPUqKVHnj0M5m044K9H8Udx6A6zHviBlbYTJHi18n0w76n9iuxd7MEQWGuSgmF6nl9KEeAst2WuD+92xXU3MzNZQtf4Q2oxNQW/y9PnDXue40RgVJbuNiKDPqcc8suifW44fN06AemEDqsXY7q3+EtH95W8S3HqvfywM87IDinqk8iO/JAPdxvlS2GQI3/HBbMevd+lhyUcB6L8B9Lr63mV/gshqxDevFaTOwCYtz2E4SjvM22zkWKtASn/TupXGcVh3/Ljigj51dz2KH+E2yV/294X/+uDgMoR2Vd6EcHIndRyr823ULFrqyZrUdElyE26tRBdp3uz+5q+jtw9Pv6yK2wN73D7G0u/2IKqdCsfIkTZPe/K/5pfH3Zk1/dGfrQE2WXCD8SCidJ+IWRl7L415d6DsKbeCkcX+DHXGggHv8xSVCSzZiwZgIh/qlsk6ulXmiXdL+bjQkBlOJLkBHcnBdxePq11+8bqOdy1ZnYhPnRIf0sld507q377O3oz75xWOdxu0tf/XOlVS8/zpDxIup/M8kPK7Uqk8NM7WAPJbLhIcP6xOCsmBxevCv8day2fMi25rVr8c2vt4eeVqV6J9ItdysSsFUtnvrBm8v6+a+UpT1IY2ZF5jgsBLzuZyYHMkrj9xekgDuYAACAASURBVLTb6PtZqN9ao6czd0FLl1aJ70p1utNVvnOCXEtnuXKCyRcaEiO9VD7WyE1x1vwVf1cpLfDwvJuTnbTLazna60oxuq7xrUAoHAiQZjgZdzAFSC8FEAT4sPPMSJdu0q5fcSk2BcS4DrtaKDjSyON5U7dC+UDmOR4EVG4iANk9B0xwvKAu9bqTdHSgP6eISWGvRNp3eP8JAuS9tej/KUZ8qneS5KnPn/LZu2PXxAkYEG70KP5Ievjen/d/ZC3TuRgtQCsgEeCP2gAsGXYQHBw3M2bBKRPXRInWFNC+R9pZLzgXirmTHoiQawYhQla685CnXnmUzwoScQQI9GWG3R/W8tG15ErXUyeeoCdFQgs5renaWd07XRwR4DvXQSDKi/Lg+ilzXx9ll7+/Q+9xPPY1+/v0LdYHvpvhtkzmnBWj6xrPCojCuV+NAepXZASsgyiAaElBgLxDhSx5TQGy9J8iX/ODBOka0yJkuQ7jGaRd4y0q3F2VRvneNbxjFvP+CAhvjyk3l/hTpiyPYiyYfe03VWXtK5rpx6w7vf+V2vv3Y1dayo+VDAzV/J3t8fX8yKx6KCl3yX3113HcZNb7XRKeH5UzHf5wpZhe9fhdIXEixPfWWIS6hw4uQPgjYESA6oY6EV5TAhQgyofsyIHCcfbZHercNo4DYlcJaVc+PG+Y5b5N9vFiPzsCjvWuZaCvqavLfnbu3lAPYP4xdt04D7N0UlLfLDu6yAJjzsNUXfO8yyzSQ24Kx/gh2/aeWTtYOKnmEyZgntRa+7Y6Bks47SqVBpekg7rDBNK51G3hdk2kCqckZ/NxBaZagALcSdDBEzD4s2IcAnQSXFpl1yTxO7y0yx/pIX3cdscJGyx6/doaIF/LF3nz/JNn7MJGGHj8mM+GgLAcSd6oshD+hGP3Bot1adlzXNSyFMvK/lx6I7062vdPtDDLnR7JB9dZfuRtlGfc+jzLrvDEZTPAN9f+XerwLdnVRXrq8GEmfT5uOqjkWbXNj3covuRaiclfkri/NE0wvrfnr8/7UdprrISLkESAAtsBc6AcFLbQMQ6n1t+idAB1vQHxwqo0ighZTP3Rdb4bJ8+w5qnPL/l0N8dF7o5LzGdDQPq0SYI3rR2Ij/3nLGnh9sJTY3xFAMuP8PXQQ+ldr/9FUpx/ySGlPNvyTL77ekkcFnKDwR0rvwz3eB2kpQkGuLGVlNYgek5c6S7mtUfpIix//PCTZmbTqe8nyL3P51HZa0bqcyujyqwyLiAcKLkRhrGM16xCuK5Ktwl0FZgpBYoBGbK+6dG1hpAZY/KmvCOVV7mrBeh+jk3M+yMgjIWppNx5IxNuHPfOjiXOjrzxpvI+VL9at8qyHIjc8yezS3BA33oCxJ3F3HeoeiddFgGqHmKfcarv0stjHFzLbvjW2qN08C2lg7BMKs6n4xwqxnunq87iY9xArSCv5GS+fxwcfoXu5h+FZNx+aOYBGXIOIfuMIcIfK6VTHqUkSCkDUv49NrHvj4CwHOGLLrI5n73qTGbRzTto/dqk7zQWWmu/3+kYiEnPZBYW5J8/6R+Sw1m5h0TDTmrpYde2VJHi3BIkTa21t69urN7t3+xLDT/9eXgOUGV2/WjL4FT5VDOZzdiMKXhmMW8D6SfoihTAR9EsHhAg6UZ5XntaD8muGGa7OPqcX0s94CA8pJCbsFG8yO0IeEXzCk+LjzMhGbN9wyojVfajrIDT2PNtV1p/jpJ0DX0DD9VJ6d/n1QEkavFJzvVvoN/4023lj6EuWoDbHpWJ0iI7E073OkUix+jQAcUuit/ufmmU6TWw8GexsZ8HeIwkqEolRWF7HefBPW1a+/SLRYSqmFJC8p7nyhCQfrmka8iaM05DpkUu4lNrhzJaKvoh1zul09NYk3C6dnZNh4SHE5/r3XvxTr3f5BoRzu4Vh0kRfli2PUqDS9KgU2KO8gdoKQtA60Bk0TDdPx7PNObRozAo7FPtur1ZQZcPHaDBFGYh696t7BxTxKb5r64fB8YIpZTK/wibuG1GQNghwRNc2bnBxeLcePZwBu5ddao8vCIvZefhDsVs+tSTErO1nKIuDEZIyU9SOodkTzPXRiw/Ap15+R5YmB9rD2kBcuIzXehtj77tkjg0krj4/fgJ0MABTH5pv2YbKuYvYCgUrghkel+/0gcPTpf3U5Wp/JlZw487Gt6t7k1gVwl5Z2AaeVkflb/krjgoPFJDCXTJOMiCJVWvt4nEarjmVHltinM9/EpvFjKydHP0FWPtwmETbgpDHQMrdI7ZXw7/kG7OWJg+883FzUhQaXlwHXPFu9cefdelwnIr3TU/AOWal5mDVGYIjObxJmAEQi9ZlsA4zVIo1zwDV+EDjkH/OvcrYidvLGB9j/qh4PY6VeAej4tu94rh5m35JiyVmYoM6XFQAcct0SrhaDNa3LRS5kq8qUx6v0Ozl/6IdCAkERP3CGu1wS54CTMRIC1AxqkXktvDTAOFczS56IlyWHu8TGVWWO4iftSh4b13enrQeEGdpqLmuTK8SQIODyevfIUV8sG3ACu/sxJtAq/DCQWCCJnJo0XIkgyO6Ec5L9OjSkG+qUiy9xjIXRJ/zJzJR6/h8XXZN2fygatIYlgulMWmsjokP9Mb8rT0jFprd7EtmT1evV24qQUI3rQeaWzQK5nxkHSdtu8vRFn+n171tf+W2/muylVS/jR2HnxIWJ8pLQJIoJVkD+Xv7tgKVOEgeRhX0CUyR6Oou4AnrEyKCFk688g6bomu8S6zawXXUQsv+95MxtxNFUjdNy7kZhaTbWuvIv0zbL3VNCTCXcrseoex/JAH5QnJLDBbMVVvNimCwiDBUX9MzmkB9Im6Vt/17+n7SFY5sJ1t29N/T+kgHpOCdMFPfPd6473391VARFRmalHwd1YXZRNIAOIgYWbJyIfaUoXjBmgLosKs8GP8lNaM7ioZjQ8Ks024HpOf8rNJUmHBgokyBs9ZgjFfoOXwShf7FqDcPeyxmJX2khCSiIgVBiwlAZtdHzAW+WHm1jiOpzq1C8a+4ySoFihDXFrpsenba2VKHO4AZ2fJsvXwWMrkRDqtgAQUBfSq1aLRKvU1kASQCgVJ05wjteZFknr/iY9eQAv5VLbqbpVPmroILyo81vC7KO7SA0n0QGbySIuYZVLsFmLwn4qIni2YGXaze/mLMIZhFeeQpfLZSfLFYQ1c88qs9y6P8PS6RjyI6J5sYhAO9i2+w753YcrODZZ10UvT+1z26XA/NxOOLXUMAZ0qQ6XjaGQBJGVDMgD9pnWCBBlfewSKCkUDtLQCGdBmyn1+79GAccaEmpJRucEPZWMogcXUnPhxkbvF6IF0wMmPMeGX1DpKdh+we2Oe3FiD2XBUpT1a8iOPnh/Pc7lzsyH7cnd9hLHwRjIZwjgqY9HzAQj9d+sH59VqzJCF/dRT1d1e9mnp/bHTMPocTXZ6vo7SXIXhBIjSMRPHXkW6Lv4IENxkltL7YPgPFAFcjHPDVkrWFbwb45l/GavSc9I29ymwsBeM9nnA+FAflT9SOoAZsievbFtjtvHOK/ANnTtMj4IAlWbPkNxcdv50X1nzuMsjjIWz1zXqKGOqT64rLDnpiC72baY7tFlvyKkzn21dbi+33rwtLYRnS+Lc9VbePF9HZ1YmvLVWblTaPzNERmDJTb9OkszwMdaw/Co5MPbNo1BwT7ub+3wM7PywMLPJoPd71rFNLJ0BJz1gOHqEbS8Vdi2e/K+l7NOEnYpIV5clLVxgvxCf65bjdxHMfZkrT+aODiw9oWn5FJefM/nz9B1mYr0MhbnqmOxIHvD/ydqQwOlM/H2ZHblFGOIqHnbMvdv8spV/fIN9wOzHnusuUnk+SukZ8czUSnP2+ApgASfpGAlIFQ6SsQYq/dwK7L9TdrU8jxLEPk9SgN5dFaB2ynCKCad4sHSG1tKoVSiM16Swx/9Kn/4bm97nYUk327lYz8bfd09HVL1Xjf9e8eA4GArPY5Er5a7JB4YA2FHEsim1/PYtP+HvpLXPOxR/k1wrf+Lw3c+vH/SLQYAoV19w5UbBsVSBgdpdABNAIkF+LTh65441HrgAVt9byA+COBYl93Q6bu4us/mrFUBrkD/Wb71rtZZoLYOdP4638HQ3mT3OWc1610jyzpE7ZauHFh8/dPOViZ53mS+ytDLu9Vt2ypsWH0dI6RRylSkSfPd9+jLZN77C9+8ZpcXD8KP9QTWWO+fvQpRtX4jKVDV1ma5H4QXEpsIjjPszEE4Feb2q+Po1FCG4PLpffOE0kh2mp/JZePDj8JA60ZfKoafH2nGVn6TinEXqHZQZrVG1SFUx5e+S73Bi0LfXonmuGVC5qtJfnMoxKlxzs3I+UcbV6mfW+0vr8FbqgsbuvI4I233KT3GQV/L4e9zs75Q7bnTbGVekvC9WGStDkpRxddk+uWsFUngUJJVFFUWAAZbcJOkmMRZxp1IKfhFdWTAD5ixNt47aaHka5dWJgrPbwOahRYTMnOoHBwz9z5UR85U+ep++Maqg8uNb7EFlCQQLv+eDCoz8VI4X6odsFyWssoYU+GNHy1u11tht8ePdsVeqH8JU+F+NsjyrLnga3Kz3yY2ypyWrU6YvVjmL+CRV8LVNiU3qAoLCWyNAQCMcYZCEozLz68dMFFuA9OvhxCBCuDAkKByN7JVHkb3nH0wgQi2m5n5mJhTAT7j3Ugp6JVLvVIWUVLlhp/xonVKZmWm8i+mG5+mUWeEuqrQyJu+UIUufWN7CWliWi/A4xjIjhbXcKvh1E0rHSP5Da+0r607gi/tD1xXozPB1VP7HVCtQhYakkvCHeQSa3CXZX/zlOjm6+9YC6kVqCXZ5XAgCQig/J8HFv1qEXO3407VnFnx5hHNZr1jofZSR/nDDzKJ2Jjd+YZrseALkXOmmovPn6d1ovuAEyJKx16/lJj9YE0PC0OuI8JUU9shDePr0uJ3dTRzgsJT7hSxTKbUqaEm6rCyM5nBKHeFDIfaF64DJrMJG0pIgPhupqdy30Hc6MlitTMcEurDcIE+RvsIWLiymZk0XLQqIkHG30QPWa4/KYRTG/XozP1YsmuVaxTeq1ulquSjda/IQy22U1n3SWfE5vYZzC2nx6QARdB08vY6orqjBoHoh3FV+skviLrNLhd9VelzMa4+HUz7Ycve40smL1e0dFTgF65mtgmYKn/sHNFAPUCpEL1QHUGaFQ0KCKArvYb8xhyqyaNMrlxODuw/NozwcgluXp1OK0/vLXtjPGJSZu0oYOqAVzmG1HLigRxhLyh0pt30k3TYW1XI3DAP4bHdi94bGbYdloLRvkterTJQmfV/2kqd0TeHWZMWjxcdiYHZhcJwXKyUYE++xRufXyE/1oo+zZld45FqYfcrfw0pfJPV+vvWp6vquYXLh3CnkPlO1q4GN7Gy/EVAUOqTmhaMCUhiBKYlCEI9xBU6d4b4HVqvT2jmxcNqb3DaWhtKeUNw+rYdg7yraKTxJo8IovbKv4M8pHu9cS5OYmVeLUHgL3xtKZ72SEJ4yU4UlPNsXf67G+BjAh3Tp2i1dHqXJ0yjzKP2HVEZK5zapfPSycFBXl8M+uASMyap+L6+Xgcx93VizK7ykwmGnzlBmSPn3UuW+qd4Rf9PDN/WwYJ8TZyB7fgSHOtxjdaHtNbtF5eOhAADMCwI7IKug+nA3xLwhDmFUCbmfALDZNkaLcN5HDJgd8dESUWtkaSVdaNA7oqwfov9Y46m/agcuUA7942Ujs8qI8T2I74V13D8b5ZnBhPT0I7P80PQYr1WInmT6eOdtH6WnczuRR89XheNwEP7Yz/yUOuTCiaLHXHbhLUmctT+F6aXKSu+EBDUMhRsrLPgTOSocknf18XHHDb+1h/ez3Y2VG4z7Ud8uH/n1maZioLzT7OTDquUmAL3QVMBOgB6uB9/DY+ZX5wtqFwpKN//ydBVSlXPpjp13pTrv71VFJN8zOVU58EPBpeCcKoLCgt/o8fKRGfJjLJa47E5gaQOKrhbfCYzPO79X63uF26InnV15RG4KAwkw+80JyjxgKD3GvPYIa5fSd0n3czMkxAJ5ygl3HqS+S/1yIqwgJ4TiyRE78fjb9HDa88fS7b1a5XCU73GlIAO1ewFFoSvAPl91hVUYSApo2+MF2Yfll4xxKG6d4sQJxqGknEOFPUpwd0j0Sr6FAZhghrD4oYAI+eGgNUel6R9h/nd178YTa3kTxCfSE87zr72+v0NSDzqI8jGQM/GR+M4PPPjhvesEIpNAHP4JptJvsBz9jTAfhdtGfvizp/cTayyWs/v4tt7l8ZUm/3YfjvBy83Ay8w4ewjD++76tNU6PuelBF+x5Ja6U4xX1vap4LNzlqCfW9+lRIQH4ro8KRlLx+HWje8YSDFbSs75KLdClokpxlbaLJJW3ldavyI/KqgrL6R/3mlrRHziBSMX92pq5ZycOwwvMvLPr5B41zMC6w5kE7FsLthcUyyV/Ha64gwV/6Npn1Mw7P/LopohG5CNSQV973ZUOS+LPg1R8xXGJ37NqspHdFqwCYCyW+2c4wZnJFoWHkL11WJ84IRQWybvJg/6w+8MyFyY7GP9lGES3x6Fbs45cJH3YKy+qHESqyqauEoOj3CAHWelhTE/KIrcrkbyb/YcsDKYC39MOebzQBSPcS6py0jKh1YZd5OdmKjL7jDlxhJljrk5EqSmr+eh5FX73/gs3xtPnTxXZ3Gf9wV66/ebVs4GEdE6fxtc2EZeIZqTn8pPkPTIjefihZ5E5BATxqX6JrClvFshzWx4/Zkwcivz0rnrVRkFY6qYeutg0MLjHh1Yfl33N432Gyaxj0plLK0tp1AKTRIHoJrAnFDD1API+BaN4a1JKQ9eY9VZsGWPG+ESF3rVwrAIcfKX3tJoZ3Gm9oawiP+ReB0rofbvidqjhyIenTfkqOePSkR9uIheGc9inzqQSLeZ+iVFPfGs6KnfpvUv83C4zvSdODf+q+mFXurxsZzflr9ZkPqpmoTlzkeVkrKagoaCGB+9XuhlS0gQJ9YfwjBcz4w/xMaPNUW1p6QnkkTSFGSkbi6Q56eIvpQUlKRAKhlYhBaJHhYNdhYUcPYonpSEM7+XAVU4gmS9gGqVZbqTdzZ4X91OYY5F9Po45L2fBXPknrue9yE7E561kdXNnfajZdH7An2FLivzHWzrncqSj7uZhR2b1kFjCxJFoD6yuLukUKS/pLDcRo+vxa9T4+KNrNQA7UBj//f2qh7yfliUtWbZUQrQccEzX/r2rpck7ThCsyqHc5zTJ7VJLL5weiGqJsEbtM02RpBQolH6BIDOUAjdXNLkrjsuREuFGHMZnfr025r8W6SKdkkqzp1duLt3/GM3K8zGm/UrSrHx7WZZZhIFUy0ZECLlg5igyCIgZT39G+ub+vXkUXm7oqHRbZsbx2AAACXFfh9Lq5HeCAHuMKo/kgeEQxupoxWq8kHu9ITY2LugPN8b1GBqhO0084vffdLuwW0i3T0fshYCBSSEwyM62LQq8f2gN+sJRKQfhUJrRI2XqpRSKd7Ig9YeKCNm5sBSeCpmkyuwyhXj8CHh5llnlL9JTZWfIgKsc6eq+uHYkjXQOtzV99PC9Trpd+qkfenpHnKLDFQG3KxJaIz8nop0IaAsGGlPc6Xv+ruPXjnPIQQHGuAUFBwk+qN1wcgTrzFAKKYMrz1nMrmD+Xsx0LWgNslOFLXtMAniBY3b7omTnAFE+cU4IlA5SzpCeyptW0lvX8VSMfbEVUz++0qmroY96l7+bLijdUyY4mH0XGUsflcZFH52AZL4S+PSOXeSVfOfSx0XhBEIdi/64Knx+/egG+4OS7PpIsdakCFbjK7QIGeu4b10CreUec/rWFEFpjzxOBKpcRX60euhi3rnuJ2EVATqIDklfJHE7y+P6SHzZMTPhANlyoroOEEUPRcwiPhHhKgGOSmNNh8/iPnp/3M6IQI0xLAsop5YgU+vMNHE1JLNVdAn82UUJpVguFQ/JO2UnjMx/MrVIWRx8z1osrF/fRdnOmM1EO0AEjAApX8a9OKWF9W38MOrHUbqB5JG+IPd9XB8Vn+8wy8q6SyYHSQtkLJ0T4bnET4SocIvcBWp7/xJvm9su702YMyDAr5xHq1Xl3BfB9D3jg1rDxPidJkikQL0Soqi9omF3Re4J0MPjx8yYiPDGpK1XDk9vzMeLQI2vsV6OHQ0sM0G/ICXXl5FZOiP9w77v80fTwmWuAr13TUyMyAii44fYW4Kr5IeeHm9pXPKUe+HVoC+r2jlbjmOE6JKICCEp/kZKNyLAkQIrnKQUGokbky9saeKXmYHw+SxCisjJcJ8iU7x94pxH2ENN17XMew25fFjtpGDhPI/KXvrV6wZ2/bm+yFyvWd4ld0k86OrS4oP42FPND73vmupXJXjLz80jslx1A0uvX9cS27z7KiNQ3RMNSj+3FlFLSVEufzYprZS3l1JQl7yTcIxHMmPMPSd0jW+m7Ik4eil/yd7/kBTxkNMm/EZS6R75bXOrlQf8sLFnVo/K3nVDbi7l724y4zcy48ZECt9ji9ojpitB32SUTuVrIHcmv9F7R26Db8wEOgobt3NAgAJZ+0x1AdhwzUkbHLvDqbO00qRwklLQs0i9Q5UCKTcuePnhIkJ2lbA2irEaV0yZF0VaU7JNeV3D4Gq4d+lRel2ulsHV+P7VeEeXhxPp7f2Ec61rY/cGB2ZwJJjKVpJydp1RuSM9jLvLrHj6UXY7wzb8iLIjiUm+5X6UXbFYy9Ou8RPuAiFgysBMGRcu86uKkjFuo1k7KSZSyoiUXf7uJ3/5ld6fUH7CsEyBgXK65RwmAHlooSjm1W6I+12PIrHvO+G5eSFupc/inMiX/K+HHKVpLR21BZCDODixmmVPo0dlLv1wXfDwHk5m1yHFhwhxRy9/ua4o4EfzFL5r6e7dFVey93e7wrjEH7uHi/kIEVAhFvGwWv3fT2Z2lKDcu2xEl8JKgSXX3OVPRcDMg2JzTNRPTL/ubC1ibyTKDZn4YPWZFf5qF41XhkqniM8H2E+l1+Ip/BzG3E/Fudpp79+3y7crDIc7sJ6OLV/ohspyH1lFPhS8R3rTT87RyuQwDsawWVeo3sI1x2sXfHpMYz8SBKry3kTJtW113D/K6buspUIp91FyhR3F6zVfSs+vPJWKGeNnTi3Dx9YJHCg4ZKFW4fKr64qp9J+ntO+LqJ38cDtVOctN5OdyCat4kueZp/5bhf3dph7BJ9UPFJv5nZxU1rvIvuyxj+KhC7gzSQfZPnU6Q/EdWndaivBB9umOPQjsjEApEgSzECGRaxEzeyY5tYKTL2ip9Uo7IrmRUuPWPwqnX323s4uFcwg/gAHuagnOJGGKf4JAds7wVQxoaenThn0hQQt3Is3mfiK+koi/zOcpq5XF2YYMTbBnVzO7KiuNz6l7qrLrZV/mvd3DS5d4JzO7jE2ztZM1hcJtiNN5YpNvXWAEqkJqQmKufEWEENHTbYwQRXbl3cXsyu/hcVfFwl0VAXfOXmN73bvZrhI2lNMFOtE9vp7FYkRGRfWW4IkK24Wb/UbptnDnSoC1YZ8xvgfXZVngz0OrT2WEFAGqrLw8Me/zKDySFiYnDbGkhkX8wnMNx1UMR7jGLQgMEagKN//KKkC5QTbaZ8ysMafjfsfUMmAWlxbhWgXoK4SU3CuGwqhi4Yeb7Jg1EfOndewQy3e0ta4nwnMlC+EkaaQFAULQ/JCQVv5IK6eG8MepIPhfUXrte6sk4GGUzpGscKSTU1q4p8TPl+zLSeUzav15+e5jprvLnl1O09Y+cvRxGfrwvPTmUZ7iFgTOhEApF8rnv7pSRhSSo7foGnOsENvrVEF2laoYHl6VShI/HuyYmZVm7ReXNtE15vY6BsP7dHqaV4nhTMCsRAIn96qWy/0nbB4/dd++pA6sfU7dKcxOHO6b4Gw41rDhz3gn+6ZXD5gdfEP5JP8LBl06FOaU9HCYq4VNerh4iHPs+sfLCrOXk/z6OLvaWRfKWr471g+F8iR5Kv2um31eYg8CeyHQVy4iS8HMLGWkdQMJ0orhJF/GaDiM9aUb9gSLxFRRkHrcTeF6qTDEodVBBf2l2lXCZUScgEMlIV0LGSgPknuBsiGw3kfLTsHqR+F9avM95EbXkbPnmN2GuGnh0GKGyPnDjDt54UpSlgJ9z5QH1tWxvu7WfMfeP5vt2yIFlctsV3ikhSWMWqVqkRIed/BjrI3jqcC2f4S9l5nCuF9vVpg1Sf7ZLsePBEfh0zJWOpFK34KB8mb5OuWnMJFB4Koi4EpniioiZE3WI6c9mD9iXScqhIisrxy72D3uqBLhzxrCn5rSxskzdI05fcSJQeZZXikg9m5/L+NUEB9rKNnqB4lsyl+fF8L6wyGzkOHnTiT/7tUqgrz8myJDiEJ/Sx67sCIV/XAhIUFu+/usugtDtwt6Otzcp1F+fT4pk23lRhxuHAQv7vnlRj2lEUk+JENwV6q0iX91EbDKhZLqTwccvPHU0uEqQSowdzvQwtE4UV85+sqzya4K10viMEbI82N1+ghr1fqTfucKdVYkLM8iIZ0CzC4abn+jW05ayKuWiDgRbMobfv64nUW/vP8+tfPCSU4koTIQKYpA5K+WH2OOjEOy2JwJBvaC9y0+pbNPj6dp5KeyVZ5V5h6PXUbM7H5zdbdZc0paSRd/pPNEXs5aXokXBK45AgNSmCscH66u8WOKCLkbgQqhyqVK4fZdzF7xZFY8VTwkt2xxGsltKy1ULBHXmVsU9Q5aTrwLIuFkHbYPqvKfhfyUD5fKE5J3817GDSGtucvt+XFz5deJUKSiiReORXuBTSz5t0gDdkmZy2koPL7KQOSnySsicioMt6k9oFqfImnSpzQu+nPNlTcfCAJXCwGvgJh5b7nRPWaMEKJghwendlBJ9Hjl2cWseJJrcfCnwj2viJDTQeZL8UbjfQAAEOZJREFUppW+s+a98sWaxK+ziQLSIaLS9kEqvwhhLZ24rz19HN7FOOGTpzWZXDkgQl9Iw9zkB7FQBvwxYcXSEmZ2edeVpM3TPEonbvrBowdAS5MrH7kWlHFjkR9pF/md+YfprGWZeEHgqiKAYuuFVhlRcFpLLKh9Qh3KSqVQ5e8r0Ca7Kp6HGVVmhUOyVOe7pwkaWqOcTExLaEmn0ruLrDxxxy9LgDRLqrSo1YOUWX7bJOkkjORaeEiV/HCFI7OlEJsIZCZCz1stJfnwWrvJCd28V2nbRoCVnJ1Fn2Ymf7iqlfs3OJSUdIqYSav+Zrdd8E+YIHCwCHjFUyJN4RkvQ9EZ8+EcQPYZ/3zdKEeLaVtlVOVSbcQu4pNUmF4Sh+11HJQJcXFXCfuM5+UzpNXSuUqMVWHvV2fdMXvJo2/JrLR4fuSnsEiFc7ferHcQ38Njh3zZGkbrGlwZPxMBQjSsoWOtJkuF1EWH+Pzb/s7+23xj7dkWlkkpWnxMrty3x9ewDgGqokQeNwIotRR9lJNO6UWErOGjErPdjRnIvmJts6sCu1QcKi9mScJgh7g46YbdLNwFyzITyGNuhUiu5IEZU7qQemcZF6Fv61uyu5Sf0ux+bpa/S/xll5kTtt+wupWMTd5qmtGFpPmBYYkQLUYef/eu5oq6Ma7CIFniwww4pDsTX+nETMzSjyJqkfXiN8I8bkHgKBDYRoDKhAimJC0VxrJYLMxyD2aM9exSSUUGLhWP98jcS32Di6q5mpFdD3SLl1bUIL20GJ89IGq9yyXf80ff93S6Wf6S7jcyEw53JPfpMkPMKd86ykzn8pEGvXMXuS28vulpUj5pkX5xDXNQpnTN9aOilp5ID/fFLKwjg8ClQsAqCERIy4U1fAzwv0i1yqQqcF9JvTJ6GEWV20gShmUZHPDAImC6jCcOgqBA6pj3J9akikhA799F9t/2NOt9u4RRPIXFTouWiRG2rXF0GRM//k7FkVRcSdIvM1Lh9A7Z+zDYeRhXpBVKq5PWNGO9Ir5TsvA84X6plD6ZDQIjBKg0uE9EdMta+MvdDhCTllF4BXSzKqgqrPyqfs5CbiOpcBCJum/cKfFKlR5aheySoNvs31C8XaR/dy29HsbN/k3cFd/DMLancVTSIz+lbRTP/RSed/Mu/9P3/bvEZU82ref3n7ZCsu6Tmd2lVScSHJV13IJAEBgg4JWmWhNsiGd7HftSIcJNZNhXUFVwpFfwTeEUhzWEHPjJZA0tG06h4dF7yrqXUFyXIhd329e8lgi9R/mVlLviyY4kjJMfZo9HHM5pfNbU0vz4OjRXk1tzq25QrHEKAkFgGwJFfhorokusy9Nfo04GodIxZkeXlYrJo8pLJdWDW/94OMLK7uHkJn/27nKHMmsX6ebxTYXxeGcx6z1nlf03/T3uJ3eRmPKGuz/YFcYJkB8cxWEWHTw4jfnOlKeV2Vxe2LeVc/yDQBAYIKDWn1UqyJCKxcwmkpYGhwM8o9bBqQJ7JZdZfpJy76X8ke6nSu9ubvZ4Mm/zV7g16fH3Met9Hqd3E7kpjPwl5U44J0DhwNAAWxvvqpNqrJwynjfQ5zgFgb0QMAJUK3AZT+JFVuHYNP9etZ6Pk2f0qBLL7lJ+vezDiCggAZldKr7Hwyz3XvbhZFc42Te9g7CeBjfrPb3Ue3t3tyuMf5t3e945rIBrS9nrzPrNG1lZnCA+ymevAk/gIBAETiJgJDgcTzISpDKy0JcFzd9WR05pYfKoYqviU8FlllR47E4uMsu9D+/x5OdxcOsfZmiZqWU5DQuy6V6zjIXtgWvjm3rnmtS3r5aEAFlGw2w8p9DcTuXipSU3SfeLOQgEgTMiQIXaFlVhauaRPblsceMMPd1XAfFACCINb9XIbUQY8htJhe9Jzb9DPL6lsEge7q/l8NPPrllTLvbhCChmm7n9jkkWupk8isu7ZJYcpcvDjfwVd5Pku6SbCY7vrQMXtNd4bomPykTlMPKLWxAIAmdEYJeKRZj6o4KyiJnxKc4DZHsde2VZFkKlF0EgeyIckYJIZOSHW//oG4qnb8idxd2sMXyrNTjqsh8OKuAoeCYblGZ9T+8eScLoD//++/KTVPplp+XM5BKHt34wB0aQTi1pWUtz3INAELjOCBgJLl3m6rKxRIM1hCIDupeY+VPFF5lgd7P816QIRFLh9A7cMeNOy4+j7llLOG+32wRZ7aJgCY7eidR7R9LDjcL2/m7X+zgW66FGfEw4LXhuSm/8gkAQuI4IUFH5vCqsWi01YM+xSw+vcTZaVSJBVXxJEYeTwyaziK+X/Xvw/8paz6iJnRPde0v34l63sNGKJX2eDqVX0v3cLP8+fh+GJS2cC8iJMlwlMB8MIUyvY7Hm00EgCPQIOFl4Je3cF6IpMmQc6961hIMLdyBCiGATOThRjMw98bndw3OKM1eI0pqax9FMevd9STN5rj20bC1TWpXeXYlN4ZSWPq+QK2v57tEtaVGaFjLuyyD2IBAErgMCHcktFXXFXWQzhyO5dVAA+3w/r05CZjaWRySxj6yop4TeAeFw1iETG3fbQICkk32z/NHtnNNd6YU4IVC9U7Ins97d/d3MLPNv1cX2nIBzq/rOguV1KNZ8MggEgV0RGJEdcc/g/qA6OIC9vZxg4kThhIK7/uSO3PQoHBMwH1vdSpHM0tIrssNOt1MLvRUOSeuMZTI+Zql3r0mlVZK4dPsZh+RdHKU/r+Mz3LTbJq2+XRUx4YLA9UZgRHq9m6fR/OZWVnUzOZ2ac+t0BJevwxOJQDaYnXR2IUDicAWAWnb6rkhQEn+FgfjkzuEC37JhbaCnx818l1ldus+czcftfNxUN7xn2HCZydcxizkIBIEDRoDKu0vyukoughHxsKvkbSeCeFoduECriWeNAMt7VYiMiP8Rdr4g33WCk30mHksj7qSNG+043goy87To/WuSsJAfJzJzuTnXlK7OPtt3d8JyF7wTJggEgQNEwCq7yEdkA+FAhJxF+IU1VqauZ08+q8xXHiIm4nHRt26PE9Hp27K7xI8/COu+dXsaY4m0TD0dm9Kg77MgnPt2ydv8jQMskiQpCASB80agCEFkI6kW4Z1aa1wgxG1vf2zrCEUsm8gHP4WDsDgr783In0hIEx1mdwJUGjhJmTRwTYCIT5L3b3rkz/a6T9B3zhvjfC8IBIEDR0DkYBIyhISYlaXr+DXTOB63mkE+IrZt5KNwSAj00cCwgfj4JiQo8qP19+o1W+utUH8v5tGjMPix3xgSdYJNN/fAdTLJCwLnjkBHEiIkuq5MHnAQK0QkEhwRD24iH5fE+c7pOk72KkNEevcJUip3+XGqMpMnEJhPyvh7d0kDi5zZawyx6t0hwHPXrnwwCBwRAkaGtAK5bpJu6C5jcE5Q6q4Sj/WGrAfkXTez90NKCzHhDkytNW7Jg/x4n0jX3y3zJhLkuxwe+1oi13p3CPCIdDFJDQLnjoARFK00WoE/XIcqqBUoUuoJSISFP4/C4c5aQ7rTD6ltZ3Rx6eoy1gfRchkU5+09biLA59fylVHrj3fqvfWZmSjdrO9xn4panUsr8NwBzQeDQBA4LgSsZQZJcWcxy0p6AoRo9GDmTwTlUn6E5bgr3sfYHLtSOAqLE2A4afmZdSIL4RSnl3pv7+52wrDj45GVD0h2bmkeVykktUEgCFwXBKwVSMuJI/g5nQViGZFgTz7bSErvoYXHbhH+MOPu75JZhKj3SpKWUXp4F+ci3qeIDxIPAV4XTcpHg8CRImAkyIVMLInhGRGOiAopclojsz6Mwvs7MPNIlvVEC1Pk16eH9+H26b7+j7wcaTEk2UEgCFwPBIwA2avL1ZwvHnRze+KSfY0A5S6iEpFhl5/eMSJA3DbFhSy5w+MBlv60/q6HAuWbQeDYESgSoRt8m+nE6adUU8xbXWvE5STm5hHJuX9vVutP0v09HXIn3BPrmgB1fZeZ5mMvj6Q/CASBc0LAWlAQILPBbE3joiCN2XnrTQS0jxSp9VLv6N1ll79L+XGy890r7RCf/81rD88JvnwmCASBY0egiETLVRgL/Oi6dAnyEQFK7tsaHBGYiGxNehw3E57DDx5Ry2q00FoEqOUwGQs8dqVM+oPAtUTAWn5OIpAgrUDW6339dMjBP9R4IDOua0tknKB2Mfek18fBHzc98od4Oc6Lo/dJ39LlHeQlBHgtlSfvDgLHjgCkQR7WyKO2l2lxNCTkY3H7jvGJxERsbt/FzPcg4B+o47Porp/q6o7cjr2ckv4gEASuEQK0oja9ui4LZ60dB47yQFYiQhFXeS1C7kh1lyXlp3fJznijHidXvsWDG9dovtOm9MYvCASBIHBVELAWIgukn1stMMhIpCWiuoGibviPH6RFl1lE6f4en7BOfApHPNxFfuwx5qL191PGlDbZI4NAEAgCVxUBjbHx0jpAlbs2/k4sZURoTnNLjZOd+XMS8zAiUAiOQ1D500McyJM/Hlqez5v+3q7ScdOrmsm8LAgEgSAwQkDjaSWZcOCoK47T/0NrnRVPnRBqBdJCXHvwUwtPYdQiREKAXHDE6TJ3rt0eNxmlM25BIAgEgWuCQLfNjNNcblsXjD+ntfZyGxOkpUarD/La9ODPHwToBCk3JC1CLjjiovfba7kLGVTX11un1yTjeWkQCAKXFwG1uLpWoHZcsGWOO0WeVEdo/UnXHRbJuVwjRcLQEkS+rI7I4r28/+aUgE/U6OKly1syyXkQCALngkCRH2sCtU4QyZFTsr9Ka+1taksaLcIXVbeVlqDG8fpurogQf8YTIU+Oznp2XWzEIaknZqbdrm+fCwD5SBAIApcPgSIZ1tnxx9jfvOYOJKxliNuNyw1CvEWtG6T1xnKVl0y7Nf607hmhZcdBqX/TWvvz1trv1fH731+tyPtzU902pEnXtjDxDwJBIAhcEQJFgCI+5NwiM2Kc3Yoc18x0kzmmnuPx32g6BPVu9YcZNw5duPk+pLZP2CsCIJGDQBAIArsiUMSobvGaFFGeasWtxd/1+wkXBIJAEDgYBJzQ1hLlYUbmtXhxDwJBIAgcNAJOaGsJ9TAyr4WNexAIAkHgaBAQoSFHiV7zd3eZR/HjFgSCQBC4MAjYZMqQMC9MRpORIBAELj4Car0ZsTEBoskRTYbM8uKjkRwGgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEjhiB/w+HafN2er0wSQAAAABJRU5ErkJggg=="}))))}const gb=i.forwardRef(mb);n.p;var vb=n(93322),Cb=n(519),yb=n(36854),bb=n(99155),wb=n(75064),xb=n(27869),Ab=n(29823),Eb=n(70114),_b=n(17192);function Tb(e){let{onFocus:t}=e,[n,r]=(0,i.useState)(!0),o=(0,Eb.a)();return n?i.createElement(_b.j,{as:"button",type:"button",features:_b.O.Focusable,onFocus:e=>{e.preventDefault();let n,i=50;n=requestAnimationFrame((function e(){if(i--<=0)n&&cancelAnimationFrame(n);else if(t()){if(cancelAnimationFrame(n),!o.current)return;r(!1)}else n=requestAnimationFrame(e)}))}}):null}var Sb=n(33498),kb=n(9417),Pb=n(61484),Db=n(43139),Nb=n(21150);const Fb=i.createContext(null);function Ib(e){let{children:t}=e,n=i.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return i.createElement(Fb.Provider,{value:n},t)}function Rb(e){let t=i.useContext(Fb);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let r=null!=(n=null==(t=null==(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let o=[],a=r;for(;a;)o.push(a.index),a=a.return;return"$."+o.join(".")}(),[r,o]=t.current.get(e,n);return i.useEffect((()=>o),[]),r}var Mb=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Mb||{}),Ob=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Ob||{}),jb=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(jb||{});let Lb={0(e,t){var n;let r=(0,Sb.wl)(e.tabs,(e=>e.current)),i=(0,Sb.wl)(e.panels,(e=>e.current)),o=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),a={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,kb.Y)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,kb.Y)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===o.length)return a;let i=(0,kb.Y)(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])});return{...a,selectedIndex:-1===i?e.selectedIndex:i}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find((e=>o.includes(e)));if(!l)return a;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...a,selectedIndex:c}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,Sb.wl)([...e.tabs,t.tab],(e=>e.current)),i=e.selectedIndex;return e.info.current.isControlled||(i=r.indexOf(n),-1===i&&(i=e.selectedIndex)),{...e,tabs:r,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,Sb.wl)([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},Bb=(0,i.createContext)(null);function Ub(e){let t=(0,i.useContext)(Bb);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,Ub),t}return t}Bb.displayName="TabsDataContext";let Vb=(0,i.createContext)(null);function Hb(e){let t=(0,i.useContext)(Vb);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,Hb),t}return t}function zb(e,t){return(0,kb.Y)(t.type,Lb,e,t)}Vb.displayName="TabsActionsContext";let Zb=i.Fragment;let Wb=Nb.O5.RenderStrategy|Nb.O5.Static;let qb=(0,Nb.FX)((function(e,t){var n,r;let o=(0,yb.B)(),{id:a="headlessui-tabs-tab-".concat(o),...s}=e,{orientation:l,activation:c,selectedIndex:u,tabs:d,panels:h}=Ub("Tab"),p=Hb("Tab"),f=Ub("Tab"),m=(0,i.useRef)(null),g=(0,Ab.P)(m,t);(0,bb.s)((()=>p.registerTab(m)),[p,m]);let v=Rb("tabs"),C=d.indexOf(m);-1===C&&(C=v);let y=C===u,b=(0,Cb._)((e=>{var t;let n=e();if(n===Sb.Me.Success&&"auto"===c){let e=null==(t=(0,Db.T)(m))?void 0:t.activeElement,n=f.tabs.findIndex((t=>t.current===e));-1!==n&&p.change(n)}return n})),w=(0,Cb._)((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===vb.D.Space||e.key===vb.D.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(C);switch(e.key){case vb.D.Home:case vb.D.PageUp:return e.preventDefault(),e.stopPropagation(),b((()=>(0,Sb.CU)(t,Sb.BD.First)));case vb.D.End:case vb.D.PageDown:return e.preventDefault(),e.stopPropagation(),b((()=>(0,Sb.CU)(t,Sb.BD.Last)))}return b((()=>(0,kb.Y)(l,{vertical:()=>e.key===vb.D.ArrowUp?(0,Sb.CU)(t,Sb.BD.Previous|Sb.BD.WrapAround):e.key===vb.D.ArrowDown?(0,Sb.CU)(t,Sb.BD.Next|Sb.BD.WrapAround):Sb.Me.Error,horizontal:()=>e.key===vb.D.ArrowLeft?(0,Sb.CU)(t,Sb.BD.Previous|Sb.BD.WrapAround):e.key===vb.D.ArrowRight?(0,Sb.CU)(t,Sb.BD.Next|Sb.BD.WrapAround):Sb.Me.Error})))===Sb.Me.Success?e.preventDefault():void 0})),x=(0,i.useRef)(!1),A=(0,Cb._)((()=>{var e;x.current||(x.current=!0,null==(e=m.current)||e.focus({preventScroll:!0}),p.change(C),(0,Pb._)((()=>{x.current=!1})))})),E=(0,Cb._)((e=>{e.preventDefault()})),_=(0,i.useMemo)((()=>{var t;return{selected:y,disabled:null!=(t=e.disabled)&&t}}),[y,e.disabled]),T={ref:g,onKeyDown:w,onMouseDown:E,onClick:A,id:a,role:"tab",type:(0,xb.c)(e,m),"aria-controls":null==(r=null==(n=h[C])?void 0:n.current)?void 0:r.id,"aria-selected":y,tabIndex:y?0:-1};return(0,Nb.XX)({ourProps:T,theirProps:s,slot:_,defaultTag:"button",name:"Tabs.Tab"})})),Gb=(0,Nb.FX)((function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:o=!1,onChange:a,selectedIndex:s=null,...l}=e;const c=r?"vertical":"horizontal",u=o?"manual":"auto";let d=null!==s,h=(0,wb.Y)({isControlled:d}),p=(0,Ab.P)(t),[f,m]=(0,i.useReducer)(zb,{info:h,selectedIndex:null!=s?s:n,tabs:[],panels:[]}),g=(0,i.useMemo)((()=>({selectedIndex:f.selectedIndex})),[f.selectedIndex]),v=(0,wb.Y)(a||(()=>{})),C=(0,wb.Y)(f.tabs),y=(0,i.useMemo)((()=>({orientation:c,activation:u,...f})),[c,u,f]),b=(0,Cb._)((e=>(m({type:1,tab:e}),()=>m({type:2,tab:e})))),w=(0,Cb._)((e=>(m({type:3,panel:e}),()=>m({type:4,panel:e})))),x=(0,Cb._)((e=>{A.current!==e&&v.current(e),d||m({type:0,index:e})})),A=(0,wb.Y)(d?e.selectedIndex:f.selectedIndex),E=(0,i.useMemo)((()=>({registerTab:b,registerPanel:w,change:x})),[]);(0,bb.s)((()=>{m({type:0,index:null!=s?s:n})}),[s]),(0,bb.s)((()=>{if(void 0===A.current||f.tabs.length<=0)return;let e=(0,Sb.wl)(f.tabs,(e=>e.current));e.some(((e,t)=>f.tabs[t]!==e))&&x(e.indexOf(f.tabs[A.current]))}));let _={ref:p};return i.createElement(Ib,null,i.createElement(Vb.Provider,{value:E},i.createElement(Bb.Provider,{value:y},y.tabs.length<=0&&i.createElement(Tb,{onFocus:()=>{var e,t;for(let n of C.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),(0,Nb.XX)({ourProps:_,theirProps:l,slot:g,defaultTag:Zb,name:"Tabs"}))))})),Yb=(0,Nb.FX)((function(e,t){let{orientation:n,selectedIndex:r}=Ub("Tab.List"),i=(0,Ab.P)(t);return(0,Nb.XX)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})})),Kb=(0,Nb.FX)((function(e,t){let{selectedIndex:n}=Ub("Tab.Panels"),r=(0,Ab.P)(t),o=(0,i.useMemo)((()=>({selectedIndex:n})),[n]);return(0,Nb.XX)({ourProps:{ref:r},theirProps:e,slot:o,defaultTag:"div",name:"Tabs.Panels"})})),Qb=(0,Nb.FX)((function(e,t){var n,r,o,a;let s=(0,yb.B)(),{id:l="headlessui-tabs-panel-".concat(s),tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:h,panels:p}=Ub("Tab.Panel"),f=Hb("Tab.Panel"),m=(0,i.useRef)(null),g=(0,Ab.P)(m,t);(0,bb.s)((()=>f.registerPanel(m)),[f,m,l]);let v=Rb("panels"),C=p.indexOf(m);-1===C&&(C=v);let y=C===d,b=(0,i.useMemo)((()=>({selected:y})),[y]),w={ref:g,id:l,role:"tabpanel","aria-labelledby":null==(r=null==(n=h[C])?void 0:n.current)?void 0:r.id,tabIndex:y?c:-1};return y||null!=(o=u.unmount)&&!o||null!=(a=u.static)&&a?(0,Nb.XX)({ourProps:w,theirProps:u,slot:b,defaultTag:"div",features:Wb,visible:y,name:"Tabs.Panel"}):i.createElement(_b.j,{as:"span","aria-hidden":"true",...w})})),Xb=Object.assign(qb,{Group:Gb,List:Yb,Panels:Kb,Panel:Qb});const Jb=e=>{let{text:t}=e;return(0,a.jsx)("div",{className:"flex flex-shrink-0 items-center justify-center min-w-[47px] min-h-[47px] 2xl:min-w-[64px] 2xl:min-h-[64px] border-[1px] border-[#FAFAFA] rounded-full",children:(0,a.jsx)("span",{className:"text-[17px] lg:text-[24px] text-neutral-900 custom-shadow-steps font-[700]",children:t})})},$b=e=>{let{step:t,text:n,subText:r,isCurrentStep:i,onClick:o}=e;return(0,a.jsxs)(Xb,{className:"ui-not-focus-visible:outline-none focus:outline-none focus-visible:outline-none flex flex-1 border-[1px] border-transparent items-center gap-[24px] p-[12px] 2xl:py-[18px] 2xl:px-[24px] z-30 ".concat(i?"bg-carouselButtonBackgroundGradient border-[1px] border-[#343A40] backdrop-blur-[21px]":"cursor-pointer customStepsBg"," rounded-[12px]"),children:[(0,a.jsx)(Jb,{text:t}),(0,a.jsxs)("div",{className:"flex flex-col items-start",children:[(0,a.jsx)("span",{className:"leading-normal text-[#F8F9FA] text-[17.6px] 2xl:text-[24px] font-[700] text-left",children:n}),(0,a.jsx)("span",{className:"leading-normal text-[#A4A4A4] text-[10.3px] 2xl:text-[14px] font-[400] text-left",children:r})]})]})},ew=n.p+"static/media/step-01-image.475200a3546fbcb39141.png",tw=n.p+"static/media/getting-started-step-02.a158778252d755091f49.png",nw=n.p+"static/media/getting-started-step-03.d645ff2ddfb929ff137b.png",rw=e=>{let{direction:t,handleSeek:n}=e;return(0,a.jsx)("button",{"aria-label":t,onKeyDown:()=>n(t),className:"flex items-center justify-center w-[41px] h-[41px] rounded-full p-[8px] bg-seekStepBackground hover:opacity-80",onClick:()=>n(t),children:(0,a.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",transform:"rotate(".concat("left"===t?180:0,")"),children:(0,a.jsx)("path",{d:"M9 5.29834L16 12.2983L9 19.2983",stroke:"#F8F9FA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})};var iw=n(23220);const ow=[{image:ew,step:"01",subText:"Flowty supports 5 different wallet types",text:"Sign in / Register"},{image:tw,step:"02",subText:"Check out thousands of listings from Top Shot, All Day and other collections",text:"Visit"},{image:nw,step:"03",subText:"Use our advanced filter and sort options to find NFTs to buy!",text:"Buy Now!"}],aw=()=>{const[e,t]=(0,i.useState)(0),n=e=>{t("left"===e?e=>0===e?ow.length-1:e-1:e=>e===ow.length-1?0:e+1)};return(0,a.jsx)("div",{children:(0,a.jsx)(Xb.Group,{selectedIndex:e,onChange:t,children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex justify-between items-center",children:(0,a.jsx)(Xb.List,{className:"inline-flex gap-[64px] items-stretch justify-between w-full container 2xl:px-[192px]",children:ow.map(((t,n)=>(0,a.jsx)($b,{step:t.step,text:t.text,subText:t.subText,isCurrentStep:n===e},t.step)))})}),(0,a.jsx)(Xb.Panels,{className:"px-[192px] mt-[63px]",children:(0,a.jsxs)("div",{className:"flex flex-col items-start rounded-[25px] relative shadow-gettingStartedBoxShadow p-[18px]",style:{background:"rgba(255, 255, 255, 0.08)",boxShadow:"0px 4px 4px 0px rgba(0, 0, 0, 0.25)"},children:[(0,a.jsx)("div",{className:"absolute -right-6 top-1/2 transform -translate-y-1/2 cursor-pointer",children:(0,a.jsx)(rw,{handleSeek:n,direction:"right"})}),(0,a.jsx)("div",{className:"absolute -left-6 top-1/2 transform -translate-y-1/2 cursor-pointer",children:(0,a.jsx)(rw,{handleSeek:n,direction:"left"})}),ow.map(((t,n)=>(0,a.jsx)(Xb.Panel,{static:!0,className:(0,iw.A)("transition duration-500 ease-in-out ui-not-focus-visible:outline-none",n!==e&&"opacity-0"),"aria-hidden":n!==e,children:(0,a.jsx)("img",{alt:t.subText,src:t.image,className:"w-full rounded-[25px] ".concat(n!==e?"h-[0px]":"h-full"),style:{boxShadow:"8.194px 8.194px 40.968px 0px rgba(55, 55, 55, 0.54)"}})},t.subText)))]})})]})})})},sw=aw,lw=e=>{let{isUserLoggedIn:t,connectWallet:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-center pt-[61px] gap-[53px] 2xl:max-w-[1920px] mx-auto rounded-[24px] relative",children:[(0,a.jsx)("div",{style:{background:"rgba(255, 255, 255, 0.04)",height:"65%"},className:"absolute top-0 left-0 w-full h-full bg-cover bg-center rounded-[24px] z-0"}),(0,a.jsxs)("div",{className:"flex flex-col items-center leading-normal z-10",children:[(0,a.jsx)("div",{className:"text-[#FFF] text-[48px] font-[800]",children:"3 Steps To Get Started"}),(0,a.jsx)("div",{className:"text-neutral-500 text-[24px] font-[400]",children:"Don't miss out on great deals and awesome features only available on Flowty!"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-start gap-[24px] z-10",children:[(0,a.jsxs)("a",{href:"https://docs.flowty.io/reference",className:"flex w-[340px] flex-1 py-[12px] px-[24px] gap-[16px] items-center justify-center rounded-[6px] border-2 border-neutral-300 hover:opacity-80",target:"_blank",rel:"noreferrer noopener",children:[(0,a.jsx)("span",{className:"text-neutral-900 text-center text-[18px] font-[900] leading-[16px]",children:"LEARN MORE"}),(0,a.jsx)(gb,{})]}),!t&&(0,a.jsxs)("button",{onClick:n,className:"flex w-[340px] flex-1 bg-neutral-900 py-[12px] px-[24px] gap-[16px] items-center justify-center rounded-[6px] hover:opacity-80",children:[(0,a.jsx)("span",{className:"text-center text-[18px] font-[900] leading-[16px] text-navy-blue-900",children:"SIGN IN"}),(0,a.jsx)(db,{})]})]}),(0,a.jsx)(sw,{})]})};var cw=n(19388);const uw=e=>{let{isUserLoggedIn:t}=e;const[n,r]=(0,i.useState)(0);return(0,a.jsx)(Xb.Group,{selectedIndex:n,onChange:r,children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:"flex flex-col flex-shrink-0 gap-[52px] items-center py-[61px] px-[18px] sm:px-[44px] pb-[200px] rounded-[24px]",style:{background:"rgba(255, 255, 255, 0.08)"},children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("div",{className:"text-[#FFF] text-[24px] font-[800] text-center",children:"3 Steps To Get Started"}),(0,a.jsx)("div",{className:"text-neutral-500 text-[10px] sm:text-[12px] font-[400] text-center leading-normal",children:"Don't miss out on great deals and awesome features only available on Flowty!"})]}),(0,a.jsx)(Xb.List,{className:"flex flex-col gap-[32px] self-center",children:ow.map(((e,t)=>(0,a.jsx)($b,{step:e.step,text:e.text,subText:e.subText,isCurrentStep:t===n},e.step)))}),(0,a.jsxs)("div",{className:"flex flex-col items-center justify-start gap-[12px] md:gap-[24px] w-full",children:[(0,a.jsxs)("a",{href:"https://docs.flowty.io/reference",className:"flex w-full flex-1 py-[12px] px-[24px] gap-[16px] items-center justify-center rounded-[6px] border-2 border-neutral-300",target:"_blank",rel:"noreferrer noopener",children:[(0,a.jsx)("span",{className:"text-neutral-900 text-center text-[13.8px] sm:text-[18px] font-[900] leading-[16px]",children:"LEARN MORE"}),(0,a.jsx)(gb,{})]}),!t&&(0,a.jsxs)("button",{onClick:()=>{cw.authenticate()},className:"flex w-full flex-1 bg-neutral-900 py-[12px] px-[24px] gap-[16px] items-center justify-center rounded-[6px]",children:[(0,a.jsx)("span",{className:"text-center text-[13.8px] sm:text-[18px] font-[900] leading-[16px] text-navy-blue-900",children:"SIGN IN"}),(0,a.jsx)(db,{})]})]})]}),(0,a.jsx)("div",{className:"w-full rounded-[12px] px-[22px] -mt-[140px]",children:(0,a.jsx)(Xb.Panels,{children:ow.map(((e,t)=>(0,a.jsx)(Xb.Panel,{static:!0,className:(0,iw.$)("transition duration-500 ease-in-out ui-not-focus-visible:outline-none",t!==n&&"opacity-0"),"aria-hidden":t!==n,children:(0,a.jsx)("img",{alt:e.subText,src:e.image,className:"w-full border-2 rounded-[12px] object-cover ".concat(t!==n?"h-[0px]":"h-full"),style:{boxShadow:"8.194px 8.194px 40.968px 0px rgba(55, 55, 55, 0.54)"}})},e.subText)))})})]})})},dw=e=>{let{isUserLoggedIn:t,connectWallet:n}=e;const[r,o]=(0,i.useState)(0);return(0,a.jsx)(Xb.Group,{selectedIndex:r,onChange:o,children:(0,a.jsxs)("div",{className:"inline-flex flex-col items-center container pt-[61px] gap-[53px]",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"text-[#FFF] text-[40px] font-[800] leading-normal",children:"3 Steps To Get Started"}),(0,a.jsx)("div",{className:"text-neutral-500 text-[18px] font-[400] leading-normal",children:"Don't miss out on great deals and awesome features only available on Flowty!"})]}),(0,a.jsx)(Xb.List,{className:"flex gap-[32px] w-full justify-center",children:ow.map(((e,t)=>(0,a.jsx)($b,{step:e.step,text:e.text,subText:e.subText,isCurrentStep:t===r},e.step)))}),(0,a.jsxs)("div",{className:"flex items-center justify-start gap-[24px]",children:[(0,a.jsxs)("a",{href:"https://docs.flowty.io/reference",className:"flex w-[261px] flex-1 py-[9.2px] px-[18.5px] gap-[16px] items-center justify-center rounded-[6px] border-2 border-neutral-300",target:"_blank",rel:"noreferrer noopener",children:[(0,a.jsx)("span",{className:"text-neutral-900 text-center text-[13px] font-[900] leading-[16px]",children:"LEARN MORE"}),(0,a.jsx)(gb,{})]}),!t&&(0,a.jsxs)("button",{onClick:n,className:"flex w-[261px] flex-1 bg-neutral-900 py-[9.2px] px-[18.5px] gap-[16px] items-center justify-center rounded-[6px]",children:[(0,a.jsx)("span",{className:"text-center text-[13px] font-[900] leading-[16px] text-navy-blue-900",children:"SIGN IN"}),(0,a.jsx)(db,{})]})]}),(0,a.jsx)(Xb.Panels,{children:ow.map(((e,t)=>(0,a.jsx)(Xb.Panel,{static:!0,className:(0,iw.$)("transition duration-500 ease-in-out ui-not-focus-visible:outline-none",t!==r&&"opacity-0"),"aria-hidden":t!==r,children:(0,a.jsx)("img",{alt:e.subText,src:e.image,className:"w-full rounded-[25px] ".concat(t!==r?"h-[0px]":"h-full"),style:{boxShadow:"8.194px 8.194px 40.968px 0px rgba(55, 55, 55, 0.54)"}})},e.subText)))})]})})},hw=e=>{let{isUserLoggedIn:t,connectWallet:n}=e;const r=sb();return["xl","desktop","laptop"].includes(r)?(0,a.jsx)(lw,{connectWallet:n,isUserLoggedIn:t}):["tablet"].includes(r)?(0,a.jsx)(dw,{connectWallet:n,isUserLoggedIn:t}):(0,a.jsx)(uw,{connectWallet:n,isUserLoggedIn:t})},pw=n.p+"static/media/SaleTag.18f8a3d5f59b7bfbaf36.png",fw=n.p+"static/media/BackgroundSquares.86c4b845130245523ec3.png";var mw,gw;function vw(){return vw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vw.apply(null,arguments)}function Cw(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",vw({width:23,height:24,viewBox:"0 0 23 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,mw||(mw=i.createElement("rect",{x:.046875,y:.914062,width:22.7334,height:22.7334,rx:11.3667,fill:"url(#pattern0_10301_3038)"})),gw||(gw=i.createElement("defs",null,i.createElement("pattern",{id:"pattern0_10301_3038",patternContentUnits:"objectBoundingBox",width:1,height:1},i.createElement("use",{xlinkHref:"#image0_10301_3038",transform:"scale(0.0025)"})),i.createElement("image",{id:"image0_10301_3038",width:400,height:400,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAgAElEQVR4AeydB5xjVfX4b3p9Ncm0lFdSZmYrnUV6UUBAmqh0EaWpSFMU+QkIiCgiCoI/RGAb9S/+EEUELBTpHZZd2GX7sr3NTJLX3/9z3kuymdlZWHYnk3mZm8/9vHnJJK+ce+/3nXvuuecgDy3ggiWAJYAl4AgJIEdcJb5ILAEsASwBDy1gYGEFE0sAS8AxEsDAckxV4QcslgCWAAYWBhaWAJaAYySAgeWYqsJPVywBLAEMLAwsLAEsAcdIAAPLMVWFn65YAlgCGFgYWFgCWAKOkQAGlmOqCj9dsQSwBDCwMLCwBLAEHCMBDCzHVBV+umIJYAlgYGFgYQlgCThGAhhYjqkq/HTFEsASwMDCwMISwBJwjAQwsBxTVfjpiiWAJYCBhYGFJYAl4BgJYGA5pqrw0xVLAEsAAwsDC0sAS8AxEsDAckxV4acrlgCWAAYWBhaWAJaAYySAgeWYqsJPVywBLAEMLAwsLAEsAcdIAAPLMVWFn65YAlgCGFgYWFgCWAKOkQAGlmOqCj9dsQSwBDCwMLCwBLAEHCMBDCzHVBV+umIJYAlgYGFgYQlgCThGAhhYjqkq/HTFEsASwMDCwMISwBJwjAQwsBxTVfjpiiWAJYCBhYGFJYAl4BgJYGA5pqrw0xVLAEsAAwsDC0sAS8AxEsDAckxV4acrlgCWAAYWBhaWAJaAYySAgeWYqsJPVywBLAEMLAwsLAEsAcdIAAPLMVWFn65YAlgCGFgYWFgCWAKOkQAGlmOqCj9dsQSwBDCwMLCwBLAEHCMBDCzHVBV+umIJYAlgYGFgYQlgCThGAhhYjqkq/HTFEsASwMDCwMISwBJwjAQwsBxTVfjpiiWAJYCBhYGFJYAl4BgJYGA5pqrw0xVLAEsAAwsDC0sAS8AxEsDAckxV4acrlgCWAAYWBhaWAJaAYySAgeWYqsJPVywBLAEMLAwsLAEsAcdIAAPLMVWFn65YAlgCGFgYWFgCWAKOkQAGlmOqCj9dsQSwBDCwMLCwBLAEHCMBDCzHVBV+umIJYAlgYGFgYQlgCThGAhhYjqkq/HTFEsASwMDCwMISwBJwjAQwsBxTVfjpiiWAJYCBhYGFJYAl4BgJYGA5pqrw0xVLAEsAAwsDC0sAS8AxEsDAckxV4acrlgCWAAYWBhaWAJaAYySAgeWYqsJPVywBLAEMLAwsLAEsAcdIAAPLMVWFn65YAlgCGFgYWFgCWAKOkQAGlmOqCj9dsQSwBDCwMLCwBLAEHCMBDCzHVBV+umIJYAlgYGFgYQlgCThGAhhYjqkq/HTFEsASwMDCwMISwBJwjAQwsBxTVU5/unqpelFnrdtx4hbuYvC91N8X3m+sBDCwGitfp1NmO64/66EHFS8F/XlQoXkvzfsp3urnWRedddF5J249dBbuy74X66a81W29oFyMUCv1n+P9nZcABhYG1k5KYBCtKl16MLD8FNCqHlgeCoDluK19d5V7qaLKZlZ9V6zRysXspGzxz4dKAANrqETqWx7e3w4JDAXWYIULxDtI27IGhl4KBoOO29bfyHZIBjetkZcABtbIy3ScNeVPB5YtEC9ljacGK1/1CHDK/jir37HVQTCwxlZ9OLYzDMWWZaKyzVWVrYfK1w+pauNEB+3YtvYht1bVKHFDGg0JYGCNhpQdi6HtF84nAytvWdnBbgVqVNVoDVYtZ+1TwhBagSWuUrZfVvibOy4BDKwdl904wNCOCKe+SyMmX1+s7g3HtFUVJ25ddBYxgzRH+37rG0P92Lb+c7y/8xLAwNqRPrnzcm/hI3wysGrMcqIEtkz/gWfGoFJ/OxhY9dIY2X0MLAysnZIAiqbdFO9lRLtdehnRH8v5YzlE8IgSPWzeGyt42LybybmZXG0H9BRKRJToZnLeWMGf6BnS/8foW0bwxnNey1nBy4j2Xbsp3kMLKNgZ7ZzgZ7JuggPNkeTdBOdnbM/YnZLwyHZ4px8NAws3pp2SgI/N+tisP5YLxPPQb6NpFEm5SM7HZj0xsO8gmneRnIsRAGRtBUSkEcWBMSue88W7PTGLXGQGiMYCv8by1suIPlb0MZyXzniYjJfmPbY3FnwOQkCRtIfkg7G8h+RRJO2jKxx3OibGzvVjYO1Udx07FdmsK/Eyoq1i+GM5H5t1kZyH5kMWmFxkBgZHjOBjBDfFuYg0iqYC8Zw/BoyDns9mbW3FTXHW9YOq4gEKjN2tn07ZxUunfGTaQ6X9VMZn3aOLSLuiGUuxyntI0U0IHhIDa4T7FwbWCAu0WeBo1nntYZGL5BCRQUTGRWYs+vCBWNbP8j6G85FpKFQywKRDMQ5Fu7x0JpTIRjsKdiE6u8munkh7fuwXoj1LtglUh0B3imQ7D/vtObojT7YXwjERRVPBWN5NcG5CcBOCj84BswC+uIyYBDCwRkyU47NdIlIAQ1U852IEHytGOnoi7d0+hvNEkz4qGWQzYTYdZtNEgmc7colkd7owddKeBxx05AlHn3TGl7769aO+fPqRJ5x65AmnHvXl08d+OfrE0485/pRjv3zKsSeedtQJpxx94ulfOunMo0844/BjT9t9v6OCjBiM5b0UoAqFM7bf2fhsFY27awwsDKydkkANWJatKmPZdDIuIkm0Z+mObCxZyOSn7jrtkBO+cuYPrrj+V7+5c+YDjzz6+NPPvvj6q2+9/8qbc1587Z0XX3vn5Tfee+XNOWO/vPrGu6+8/o69fen1d195c86rb8574ZU5Tz/7xnkX/Q/V0e2Jgt0q2j4RBVMoIviYbstLa6ck3LjO78QjY2DhxrRTEvDFu10sqFcuRkDRFCLSdGpCbvJ+e+7/xeNP/uaV1/5q1gOP/vu5196Zs2DJ8vXr1xf7B6RyWVYUTVE0SVIkSVFV3TBMVdWdUhTVlGS9KOmSasqGuWnAXLpq4JIrbiDbC14i441y4UQvCvMeqttLFzCwRhaLGFg71V1HtjKccrSKn5E1QeZnRRTp9LN8mzglO3mfPQ444uvnXfrr2+997pX33v9w2brNZVkzJdUsS7okG5pq6rppaLqh6aZu1Aq8NUxnFBNemm6qmqmZUPrL5vJV/aee9d0wI0QTBRRMuqI8iorhtkkuwvaDx21sxCSAgTViohybuKl3Yhy8n7VWIw/ZCn5WdJMZF5H2UuCIEIh3e2MFb6yAAl0+Nm9P2PtILkDyfiIdplNsG8dnJ+z9uYPPOOuc2+6465XX31m9bnOxpAzhj9XNW2FjGIZpoVWSdUU1i5KpGObbcxbvd8iXyETeE02HmJyH5L1MzsvkHO0lOzbbMwYWBlY9s0BHCLGw3M8VzaBICoXTKJJBUS4Q74ZPAp2eaDrMZEMU19bZM2WX/U4/4+wbbrjxySefXrBg4fr1G0slSZZlSZKqcNJNc0ip/seZfw1D0zTF0rAAXUXJlHXzyX+9PHn3A/1k0hVO+llwZQAPD8sVfmx2e+deFQbWuAWWHaaqnlawMhlFU16aD7C5AAt+VbbbOnS/aCbS3h1isyjQHmIyU/Y46IILf3TXPQ+89vrbS5YsKxbLMNYzoAx+DaGVPvi/Tnyny3JZ1WAUq1nAKsrmLbfdk8nt4gq1uSOpGrAQzaOKT1mLt7HRxB8GVos3psHDwKGx9LYaFQquaMZDweKSyspkyy8URZIeigsyfJjlhO7dz/jW9+576LH3P1i8fkO/aUHKtqCrKvDIMAxFUaooajVgGYamqrKmm5Ks2sBas6F81rmXJtITPNGknwIHNFjdzYiI4jCwRpxlGFjjHFhDERaM5X206IpmKuSqBALORNvEZHbKoUef9Mvf3vn+/CWyZqqmqaimomhVNsFfwxoyqapa/+HgUeHg/zjtnarKhqHBYLAkSSrMJ8ydv/ygL5xAted8ZDrEZi23flhciSjObQ0PR7zTjucDYmBhYA1ilpvgXFFYUhOM52B0Q6XDbbkOccr+nz/uh1fd8OQzL65ct0m29IuSVNYMXdPADG0YpqYZsvXStEEIs4hUr2c5DVGDr1eSSibMbprFkiKpZlEx//b0C5P3PChIgU9/IJaFFUhExsfCIkpvPDee4dKIe8fAGt/AGpxJAVbzUpybzPhZMZTIe4lUKMZNmXbIyd/49gN//vvcBYuLil5S1GK5JMtlRYVtTauyp8/st1tpWIM7vZPf2cBSNUNWDFkz124q/eI3f+B7dvdGrPEgm4OZCiITiOfdFO+PYWCNcP/CwBphgTbiqbIzx/wUG9ZWwAol8rAAkOFCrBBtE3eZduj1N98xd+HHm0tKWTUkTVd1zTR13ZAVtWiYCuzruqZpuq4b1svJOPr0a1dV2TR1WVVU05Q186Pl68793hUJbqInCupVqK3bjrcTTBRcJFeLurMzNYh/Wy8BDKyWB5Y9Dzho3OelBBeR9rOi7XXlJlMuIukikl4646cy4TgfinHxVPfRJ51x/yOPL129cUN/WbUGQpZ/p26aqgE+3rINrE/v5S30DUNXdV01TLOsGopuvjV3yWFHn8wmJ1ihZoTB4ZIh+Ex9Z8P7Oy8BDKxxCiywDZMZFE2FEnk/y7uIZCiRdZNdASaNAmw7N+Eb51/6t6efX7mur2y5dINfumVStyzoNrCU8QcsXVNlXYcphZKiby5p//jPK7vve0SkvbvaFetd2zGwRr5zYWCNvEyrbXdMHHmw44KlZ1nDwEAsawGrKxATULgDBduiHTk/naI6hF32PvDC7//Psy++DkqUbm7aXJQVMK3D7JgB40FL2VJ0WKBSeVudB2whVWr4W9ENoBV4byiGuWZj8c6Z/y/Ts0fQMq7XoqRWGwAG1sh3AQyskZdptb2OiSN/ArDA34rOuMmUXVC0I8imeneZdsNNv53z4eK+oiJp5kCx3N9ftEzpQKsasHTTsEsVVfY84PC9vIU+rU13AqqXrlx/5fU3U515LzMom061AWBgjXwXwMAaeZlW2+uYOPK2gBWMw6LlUCLrpTPRjlwgxqFgfOo+h15346/nfLBAM01Z0UolSdetVcowHNRMAFZlJV1t5bIFo1o3bnlsgYalwqgQFK133l905rmXwICazFjqlZ3NrBLHfesU9mOqYTj0YjCwxgRWGtd6tgUsL51BkU6iE4LtoWgHinbkd93/lv+dsXzlOvDh1k1JknRVM3RVkcuaKg8BlmqC46hqLQMerGS1wOKbT9AIgciKIhmGUVaNfz7zymFHfzUQE9wUPxhYlrO7NfRuXM2OzyNjYI1TYNlzgsE4H4hxHirZvfuBP7v1rkWrNiuGWSwW+/r6FLkMKpVSNpSyaaimPkjDUg2YKVQNCAkz3oClabDwaGN/6d77/zxhjwPAYY0RrXyFkISxmloVFpBXpw5bvI2NJjoxsFq8MQ3vh0XzbjIDo8JgnOrM9uy23w+u+vmSNf0biqBbqaoKpmVDUxVJ1yRT10DD0jXTcrQCe5bl1zBegaWqimSY5serN/ziN39o4yf5WMhXNljDshsVtmGNfOfCwBp5mY7mA+fTzsWjcFeoHRLVuEjOSm+T9bGQKAGFOom2PJEQ29Ldl1z+P3M/XDRQlBVr9fLgEZHlemVTqu4ftXBXdZ+Nh11dVUq6psiK9tHSVd+57KqEsCsKJu28ikOcsOworJ9WQa3d/Eb+7jCwRl6mY6mN8i4q5WEgmY2XEexQfP5YwU3xRFs3cjFd/KSzz73o70/+e9PmflVWrEVy44E7O3yPerl/E3i6K8acD5YefvzpVmYzwUXnbVpVo1zwLoaHmNFWytWx1B4c39oxsBxfhZ/YH3h/XEBk0k1xPlZ0U6KLrNwv2d6DPPRhR530+FPP9JVkwzRtE/sOd+Xx8UNdk4qmqfcPSM++8Gb3rvujUBeENqwHluXdDuoVnUU48/NIpzjDwGptYEHqLRRN+WNZCHgSTiIi46GtSAxUZureh9xyx/SV6/qAVqZh6CrYqvDrUySgq7KyZu2mO+6+ryu7G6wcZHK+eK+dbAI0LAyskYZU/SMZA6vFgeWmeBRJ2cEDXCQXauv20WIglu0Qp1x5/c3vf7SirJkQe0BVaj7cn9Jhx/u/dUVRVqxaf+Y5F9KdPfAYCKW8sR4MrHqsNG4fA6vFgeWP5VA0Df0qkvKx2WhHDwp1hljhhFO+9fRzr5ZUWHyj6pqiSJpatjyrWtuRamdxWy6WTNP8aPGK3fY51EtDGBkUBiWrAqw6VwZ7pU7juu74PDIGVosDK9TW66ZEL5ND4aSfgXiYXiK12+cO/+N9f166eqOkm9bcYAVYhg6xU3a2T7f076VSWZGNx596Jl2Y6iKSPjbrYYf3vcLAagRSMbBaHFheuuAmc8FEDyIgLJ+fynSJUy+6/Jp3P1wqGyasFiwV7Wh8sJ4XA+vTaKurxqrV62+46bcd/ERYPU6k/e29iKq0onpnUQwsDKwWh0sjKhiSD1N5NyH4mWyAFoj27HFfO/vPj/+rqEBEJ1k3NEO3gpQrhi5hYH0ar+D/S5auPO7Lpye4iSiacrOiN9GNaEjtBbkn8JCwkRZ3Dy1gDavFIYiinD9WCMULHoqjO3viqe4rrvnlijWbJM2s0KqSN1A1DaxhfTqvZEl/9dV3P3fwUeE4j4IdiMy42BwUcLmCtTi15TguestQsRGPovF5TAysFgeWh85CFmIr4SDRnj3smK888e8X7XXLVR/2ulgLEO4Kvz5JAn390kN/erwwaZqfyqBoEtG8i8154oV6YNkZ0jCwGoFUDKwWB5bt1+6huHBMJBL8b35/75qNxQEJgvxCDNH6YsBqwU/qrOP+f4Zhrlm76Zc339GRmRCgOU9MdLEiYkQUE62FOLyXzkABk1bWQ0G0GXv2sBFdd3weEwOrxYHlpiBHXqS9m+4q7HvYMa+9+4Gkm5C5GOhTBywrwBWkM8avbUjAMAxdNxctWvndi68k2wSIfQi0yiKKR9ZCHBeDgdXw3oSB1XARN/dJ6KZ4txVZtDM79da7Zm8cUOyFOFVagekKFCuwvEPMK/waVgIWrWDx0htvvH/Syd+MxIBNiMwAsGI5dwJsWBhYo9DUMbBaHFg+VnSRGR/DHXHCaXMWrpANc0CSNcPWrSxbVhVYFX1r2P46/j6spVm0b70GrEcf/cd+Bx0ViUFKekRm3LG8t70HA2sUUGWfAgOrxYHlprhgXEwVdrvpd3ev3DAwIMNg0EqAalveIe5VxXSF7Vd1XN4aWJqmKar5m9/dm5+4T5DhQ4k8ItLuWN4dgx3b6F6ZKMQ2rIY5N2BgOQxY9sT5oC0FuXB8tFiJbULynmrxQqC+FNGV3f/w4/7x7Mt9ZVUzIfaxFe9YMXXFGgSC3WpwjPa6jjvSu7VAWvaOnXqnLvuOdb7q/0ARtOIFDvnVJ7ytHXB7dippNezBcHVrp4O1s8NCdhxFqZ1u5ZqNl1xxQ5u4G+RzpHhYl0PzoGexFT+swYpGfcovhzWzwTcyhi4eA2sMVcb2tJJBqLIdfyxgDRtZ1McIPibdIU4896LLP1yysiSDVR3yyINWNRRYtsY10oAaejzDhHwzVQToNaxUbWqDgAWj1C1frv3qk3ZqB9yenYrdrooqi+N2QjOjBiyIv2rnNVP1eR8tOfns7xFdE2FFDi1YwbA4RGTst9tTffg7OykBDKwWAZatVdmqlo8WK4URAkyysMs+t/1x1mZZKym6JEMSUKBD84BVpRX4VVjFTshadQ6zrs++RhtYtQ+2Z8dWmrZ/a0Oqflv9LTDLNE1Ng0G0Zuglqfzsi6/uc+ixPjbrYyFcD+SeIDkXyfljuZ3sh/jn2ykBDKzWBFZleEhx0Tb+yBNOfvKZF0sqrBxUIZeECZFkxgywqvl3asCy1KraMHV7KDXoO3W+GvV+G595H/Jcw1UAt2Cvb6D/vof/LE6a5iI5G1iIyFhRpwUvM+yQ0GFNazuR0dyvYWA5rFUNO/Tb+kMPybsJzk1m2FThyutv+mj5mqJiKFa6eU2p5JioqBWWGqMblbRdg/p+w9/UTVZWzr8FWxUD02cGzUgCy9atYLmlaa5dv+7an9/Uxk+y8QQRe6LpmqrV3G48fs6OgdUiwBrW6O6nMu187wN//ltfWZWsyUDdMGXZiiFTM9xYVBo9o7thqSsVFNbgYnOqtoXPmw6sWnZrDTxGjYWLF518xjforgKEGLPsVhAAI5azx4bjBxnNvVMMrJYClofirAT0vI8RArFsOCbuud9hr7z57oAMmYoVVdd0GOMALixg1SbvoXNa9qTGK1VVy1XFi6LGLAtSW6YrK/b4hl9PRYOrnKfOvgZ2K82av5R1o6Sor7zx5pTd9w7FwGJlB3G1gdXcDjzezo6B1ZrAAlq1FciO3NkXXPLx2g1FWbOzz9trb0DJGgwscIxsDrC2EMmGhe0VppmQGdE2HtlkG4VtjVb2PKaswyAaHEE0c3NJ/uczz9PtaTtoHwonQ23dLpKz1Stswxo1bmJgOQ5Y2brs8+CBZReisxcFOyC2CcWBT2OgPRATxEl7Pfr40yvXbjBMs1SWrfkuy4psK1lbWAF7dncd/NnIvysXS7oKhn/TMFVVV22lz7DiyutGWdWKqixplj5ommVdhxlEw9T0oVvb6Day29qIVDHN/rKimqakm/2SqprmivWbrr7+RqIt7aUhiwcuzZIABpbDGl8drbI1WnkpwW9lxwnEsh5wbc+hSDIQE/Y44Ii5CxbLCkzMlyVFs16SJNVGgvVAGh1ggS+DqimSak3BAbhUDUIJggJomJuK0vJ1G+YvWzFv8dIPlixbsHzlgiUrFixZuXX5YOHybZSlHyz8zOXDjwb9ZO6ipYuWr1mwbPXchcvnLlw+f+mqp55/+RvnXxygOzGwmoUq+7wYWI4Glq1tgZLlItK23QpFUz6G89KZSHv+jHMu3thXhjUlilIul3Vdl2W5VII0Cs16qbKiyookKcViuVRUZMXUNFPRzXkLVjz+z//++va7v/+T68+7+IdnXXDx6ed897RvfefUb377tLOHKWeec+Gw5YxvffczlTPP+c6Z53znrG8NOtoZ51542tnfPuXsC0771oVfP/+SM8+7+KiTzujZ9XNBNlWLz9fcfjtuz46B1SLAcpMZW71CkaSHSvsYrj276y2/n9lXkmVZLpfL1uQguLlvS8MaHYTJZdDvNM0olhRJNsqKuWjp2n8/98YFF135+WO+xvfsTnVmo218MJEJxNPBRCaS4IYt4Xhm50sklonE01BiGbuE47ATjmeIBB9JcNE2MdKeDcU4F9Hpo5LhtpzHSjs4bnnR9BvHwHIisPJbDww9FGeNCrs8FNhZ3GSqe/eDH3vqhbJkR43RwcpugjOkqqqKoowOnrY+i6YZiqKVS2pZ0jZvll9+bc5Pfnrzvgcfy7R3BynOE03bE50okkREOpjI+xhu2FIJlWcHzBu0TXnpz1D8dKq+eOmUn4IgfJF41sdwIEwWhtj+GCQcclNc03vsOL8ADCzHASvvpYYBlotIe2neRSSDcTEQEzxU+pAvnfbCm/NgLQ6gSjd0FZbFVb23t0bJ6HxSLJZlRVM1c/nKdQ8/8vfTz/pOStwFeeO+aMYdTrsJLhDvtpK/ZxEpuBgBURyiMi5y6NZDQ/yprbdeRnCz3HZuvSxnrc3MbL1CE0XSLhLwZEdADMTzPjZvfzLOkdHc28fAciiw6rG1xYblJsGA5WO4cFvu/O9fM2/JGklWFbmsa4quKbIsa+DeAK9RMrFvRUFJhrXEa9dteuDh/zvuxNPYNtEb7iIT3SEm5yYEFOJQRHAzBW+i1x3rRnTOit8Cuf/csUFbF51FjDDMlhEQywPptmNrI2/YUZ6XyQXbJ4Q7J3nYPIpyKMq5mYI/0dPc7orPjoHlOGBlLQ2romTVWrCb4oPxnIfiUKTTHemKZybcdPu9azbLMA2nSHYaetv6bs8VNgtYmmmu3TTwyGP/OPGrX2c6RE8o4SfSnmgahVM+OheI9XrpAiJEKFQBUTlECogShtlSIqJFtNUWUAXBP7dr64JRHl9XRDdVLUzOTiwIWZ3Zbm+s4I31eGOFmsDxTlMkgIHlRGBtCbRkRea1+icpeJmcK5rxRNMhJtO9yz4P/t8Tm4oArAa/6l3V4VQ2Cm1VzjaZ2R9J5SK4g+nma+8vOvz4UzrESe5oW4BJ+6mM7Z1f9dKw7w6SOFgZHLJWbDy4R2sAOJLb7e5yEEwGp5PYbnE1sE9hYDVQuI2oYNvcbh/ZBbkPeGRpE26m4It3uwkhyIhUe+7QL375X8+9WE020VBkDQ+smrHMCr9lGpoulYu6YX708frrf/sHNjMhEON8TNpFdKJoV7gtV7EiVfxgtzjHNkKG+JjOlQAGVosAy0XnvbECCmeCjBhLFs757vffmTtfMUC5afBrKLBqp7Nj4AGwdENTVFVWypL2xDOvHHrsqchNomhHKJFFkU4U6QzEKjmTa0pWbRrUuV0LX3kjJICB1SLAQpTojxVQsCvIiJ3CpJ//+o5lH6+1g/XVCNKYnW0CS9M0XYe5SUPTFUk2dWPjpoHrb76Dm7i3i+gEBwKW91BpPwuTm1jDakT3br1jYmC1CLBcdDYQ70aRdCSe79ll3/sfeXxDX3FUsnZtE1igW5mwYFDTDEkCz68Fi5Z/5czzwm2iNQYEZ7FATCC7Jtg+GcAsPCTECxU/UQIYWI4DFswP2gbgehsWokRwFIpmqLbCwYef+PxLb/eXlVHJi/opwFIUTddNWVY1zXjqX88dfOSXvTT4XtgOrj6Gi7R3b3GDwsD6xO7aehrTZ70jDCzHA8ueKEQEjwjeFc3EkxPP/NbFC5etLqtGJcFzY4aC9lEHu0cMgpftTy9JkHVGVoxNm4u/uf2uKdMO8TEcinb5GC4Qy9q6lZ+tpPypalh2CAowvX/WBo2/39oSwMBqEWB56KwrmgnQQiq36xU/ubG/BFF9G29xrzgxVJE4FFi6bhZLkmGFlFqxav2ll18dS/d6qDQKd/hZK5aNVPYAACAASURBVBdpJOki0sF4bjCqMLAc1ixHjZIYWE5rGVXvJHtVij0qBOeGUFe0vZdo6y5M2ff+hx/vKyoqRPatJnSoEmXE/w7G4hZg2epVWVLs4DabB+RX35hzwslnhePAKR8D04L2ssFavp/hmOW02sEDugZLAAPLaV1iG8AKtXX7WTFA8vsdctzLr82RZIhDPgqvbQGrkiNLNxXVlFSzr6w//tQzk3bfP8RC6C4MrFFTSVrsRBhYLQKsSEcvhO6jhFPP+t6yjzcqKqQs1rWGR2WoJUa14GhrWBC509BVO6OfYZoDZW3d5vJtf5jZlukN0FwtX8awKtWQD1usv+Hb2UkJYGC1CLBc0Uwknm9LT/7pz367dkNR1UxFkjVVbqiSZatXtUzO1ezNACwdggYq4NNgmkXFfG/+snO+98N4pqfOd8E2VMH2ExC2k+0b/7zFJICB5UhgwbpcWOILS3PsgsKpaKKQn7TfQ488uXkAIiKoimQRpIHIGh5Yhmoaqs1KSVLKilnWzKefe/Vzhx4dSWyxpnuprI/OWQXyVA9RrGpvW6y/4dvZSQlgYLUIsKCHE5m9D/jSq2/Ol1SYIFTkspVUuTnAkspF0zQlWe0rKiXVfPAvTxV2+Zw72uEheXvZTZVWw84PblG+drJ945+3mAQwsFoEWD5G8JHcmef8YNGyjYpiyhJE7NPUcgNxVQvMUN2xFDpQr0xDlaUShGrQjJJqfry+/6e/vC2Zn+omU5bqVNOtQMMCZysSa1hOa4cNng3cFmcxsBzXUMDNvTokhKArVhQ6WJTHpnp+des9azaUy5Le3180Db1cGmioL9ZwQ0ILWJB3Xi+VSjAyNc235i464dRvhiA8AzcEWDatMLC21T/x50MkgIHlMGAhmnezoofNQ7BNCoLMeRnRywgolOjMTnrq2ZeKsmY7uPdv3AR5lBvpPDo8sEzFwpQVklkzNw4oL735weQ9DwrHxEAMUpMNaYL4LZbA9ksAA8th/QfRnIvh3ZV4mHkXbUe540Ox9L6HHfXKO+/JkF/dME1dLpaG+KGP+PBwG8CyZgl1tSyDj/uAbN72h9mdwhRwaGDAOLX9rRN/E0tgiAQwsBzWfyrTgtao0M0UXHTeTYkuMsOmCudfcvmC5R/LugbZlHVVl5VKjuURB1X1gJ8ALNPUJQXinfaV9VPO+jaRECPxrO3TMKQJ4rdYAtsvAQwshwHLzQqI5hAluuisBaysmwIDVjI/5da7pq/d1C/rmqLJiiKZuqHKjXUcHQ5YujUeBBuWrCpl1Zj30bJpBx5JJESqo9tN4jzvDmtv24+S0fkmBpbTGlBMBGCRgpvJ+ZhuDw1WIT/LT9rrwMf/8+yAoiiGrkHuQdlOCl9Vhhry95OBpWrGxr7yQ4/8vWfK50JMJsjwkOS1SbNL+LytIQEMLGcCiwK7u5cuuCnRz2SJ9uzhx3319Tnziqoq63ZyHMk0TE1peMzR2tIcy7hfW5qjAzlNc+WajVdcc2M6v4s72mGlpMaJSJ3W3sbYAwYDy2kNyNKwXDQk6QP/BhKiSsXSvededPlHK1bawFJVWZJK4IYlNzzmqK1k2dvq0hzAFuSXVs335i488ZRvsl15H5VEkaSPFVvjOY/volkSwMByHrAgmx6Ts3LkQQysSDzfzk249he3rNs8YGed0GAdn6QpupWdviGDwdpBtwEscKjY0Fd8+pkX9znoi0E6HW7LuciM10rV1ay2js/bAhLAwHIYsFCoM9Q1AZywAl3h9glugguxwu77fuG+Pz22sVhUTUPRZMPQyuWiaVg56mtoacyObhqWF4Vpq1eGAYkndF1XVH3thv7f3zVbnLhHkM0EYkIwkUcUHhI6rL2NNcZhYDmpAUEy0VjWxYqIhLyefibvCqUirHjYUSf989kXJA2ijKq6Ypq6DSyz8SGxqsCqhO6rAgvCYC1eturKq29MpHtQuM1FpeDKsYY1xkxCY41Hn3o9GFgOA5a/rYCItIvOBhM9KJT0UzzTWTjznIvmfLhQAyVHU7Qy+EBJpdEJ4Kebmm5aZ7boaBgQOFDXTVUz33zng5NPPy8a51C4zU2nwUE/hmO0O6m9fSo+Rv8LGFhOakAuRkAUhxgBpgiZHPJ3UG09XfyUn/7s1yvXbtBMU1YlWS2ZJkzSNRFYmm7Kivn4k89NO/DISIz30hkPzBVAkurRb+L4jK0kAQwsJ3UhABaR9sRzkCCHFNwER8QL6ezU2Q/+pa8k66Yhy2XV0rCsrMuNXEZYtYhZGhYMQq1i2hqWppsDReX2O2fy3bsGmLSXzoC/K5lBNN9KnQffy+hLAAPLYcCC8AysiIJJD50NxvIBkp+02wH/ffmdygJCXTVg7THYrhTFjlFcRUtD/urDAEuDUeK6dQOQI6cz7yW7PFTaExNdrOjGZixsw9o5CWBgOQxYbtYaWxE85FIleSKeO+nUcxcsXg3Lna01zzVg2SmXG4KpLQfdJrA++GDJMcefQsb5GrA88RwG1uirJC12RgwshwELEWl3LBvs6EFEBnkTyewu11x/y8o1m8H0rYHxW9MlXQcHd103jcYPCg1DqyIS1DrDsIzwuvnsf9+YsueBQTrtJVIu0hoS0jxMF3xmM1YlzXW14w0ZVNr/xbZ8JzXjalXuyDVjYO2I1HZG4jvzWxgP0llEpH2JvD+WdUXaM/mpT/3rv8WSAmwCr4aKe4E9KtyiCTVszwA46qodGcKKiVySjc0l7Ze/vTM3eS8flfSyHCLTwa4eFBNRNIUo0T1cAYVxuILIrFWs2QYqgyjAHxCQAiuejy54qTwK825CCLA5P4PJ5aT2vAN9AQPLSRUM6gmb98RzHloIxAQ/3bXX/p9/+70PqqQaAqyKIbxhsIIDy8UBU1NVWVFlRZbVsqQVJX3lur5Tzjqf7hT9bCbckUdk0pPIIhZmCX1s1sdm/cx2bq31kkzOy4huVvCynJdNW4VDkRQieA+Z89O9wVhvKN7jpbIohBdXO6k9Y2C1eG1Zs4S8r62Awkkfw1Ht4plnf2flmo0w8gM6NQFYhiKDr7sV2tSw4psWJf3t9xdM2n1fFGT8dFekPYuiHR4m46JSboqzsz37SNip33qJjJvMbL11E5yL5NxkxkV1uamOSiG7yK4J0faJHjKHQpyHtLPv5AIsoByXFpYA1rAc1r5RJAN292jKQ6XT+V1+fetdm/oliIncJGBpoFmVpVJZU1RNA3KuW7/5L397cte99ot1ie18b1ducoLrTeantolTmHRvGz+pjZ/Uzg3dtmUmJriJW28TmclQuIkJrgcKX0hwPTG+l0r2Rtt7PaToiop+pttLwbJKDKwWRpV9axhYDgOWPUvoY0Uv2bXbvoc99Z8X+opKVbVqgoalQqxAWS5LEJ5BgeAQmzYXn/7389dcd+OlP/zJZT+66pIfXXPxD6/+/k+uv+TH1114+dWXXnn9pVdef9mPt2sLX/uRVa647tIrrr7kx1dfcuVPLvnx1Rf/+LqLrvjZEcd/ozM3LcAWwIeW4FE03fLdFd8gBpbDgOVL5L2M4GM4H5U89itfn/Ph4v4SpE2FQVmVW6NpeoeQW9W5SEXRYGrSNNes3bh6zYa1G/o3bC6t21xcs7HfKsV1m8vbKuv7pOHLJnn9pvL6TeV1m4vrNg+s6RtY01dc3Sev2qT+7Nd39+z+eR+dQ5EMIngvI/pYbHR3WHv+rAjGwHJYBbvITLi9G0W7mGT+sh9fv3TlekmzSWUHZ9gyS2gBrOGrnyVJ0jRNkkDDkiSpWCwa1ok3be7XrBWFkmbKulmUtaKsKYYpaZ+hKKqpyKYiG7JiyIpWVpWSppQ0bUAzV2woX3TFz9qzu/to0UNnfWzel8jDMgBsw2ppCWBgOQxYKNgR4ya7Iu25SXvf9ofZazcUYRwIC46bAyx7CrJYLMI1gHu9Yluy7ARjigqpKEyIIaHJMriy1sfPqt8HBdE0hmwtX43KfALEgTA1FYqhmOYHi1edef73qY5eHy2iKIeinL+t8NmdvBxW+xjHGFhOa7Iw0ZaOJIRJex7wt6ef39hXroRBHgZYtbFaQx0bPuHgtn5nx8uqbuHr1c8/fd80NL00ULQdYk1TVbSyYugDsvbMS299/tiTQ6zgItI+NgsGrFgWr1VseaJhYDkLWLyX5kMxjuksHHHsyS+++l5R0sFyZduwIMBo/ZCwucDaciX1V/WZ9w1TGug3DU2Ri7ohqbpkmHq/LM948NE9DjjCR6Y9FBdMFFwkB8DCWXlaejzooQUMLIcBy01mgmyG7eo+/6Ir5i1YIdsGrLEFrBFClQ1fw1RKxRqwdFMxTH31xo1X/ezm7OS9PdG0h+SDiR7wnoe4hjiNmLPa82e+WgyszyyypmrdvCea9NOpRLrnxlvu/Hh1HwRpgIB5OoRDHisa1ggCC4aEVnZF3VqxqGpgf9fnLlj0re9clirs4iM5VzTjY/Pg9R7LQozAVlcxxvkNYmA5DFgBmgsw6dykvWc9/NjGPkitDEuONd3UNShNGBLW48m6mhHdGJoJIXMM0wq+rCqaLGn6i6+9ddQJp8QzE4KM6IpmPHQWRTlYtASZhJxVofhqP5sEMLA+m7ya2x+8NB+guUgsc+Dnj//nM6/0Qyov0KvgT4sCy7RRrJuyqsiqImlqv6Q++o+nJ+15QDjOh1iIseNj8zAkZHKQ/QwDq6UlgIHlMGD5qQzTmTv7/O+/N29JWTElWVdlDbw3xwSwQNuqd1bY+X1IB6uasqzKqqIZuqxrqzdsvvXOezv4iZ5oMsTk3ITgZ3s8VN7N5BCFh4ROas878HTBwHJSBdsaVqcw6aqf3bJy7QAEcVcMBTqyupUNC6YIqy7oIzpIG3qw+iHhCAMLTmWYqmJKEiw/gvs1zQXLV15+9Q1sV94d6QqwORThgFZkzsd0WwFqnFShO9Bjx/lPMLCa3L69lDBsAcWBycNCOSrrJgQvlfXROZgRYzOT9jjw/kee2DigyJo5UCwbpinLkCnHNCE0lVWGQsXB7w1TU1TDMBQVTHSbivIHS1cfeeJpfjrlpTNeCtKdeal8rWBmtTbRMLDGKLA8pOhn8n4m76WyHlL00TmLXJw32rn/F4594fU5Jd1UdLOsapIiW7Ea1KHAGhX9quEoVBWpXFRlRZJVzTT7ZPM/L7+1y+cO81rAsjunTSs/0W3tYDNWk5t0Q4mJgdXk2h1WvQLFgeR9dIVTVfVKRJF0kE6fce5FS1dvLptmWQVHhv7iQGsDS5HLpg4alqybmyXj7vsfSRV2GQZYpK1nYWA1uUljYLVyBWwLWNXPszatrPGg6ImmU7mpv7j1zg1FtagYNrDKsqRosqVeDR4StoSGZSiyrilgydKMvqKycsPAFdfeFM/0wHiwmjTMS8Go0A/AGhIAvpVbTkO5MGYPjjWsJrfpKpiGsWR5SN5D8rUvgM5FclP3PuSvTz1XVEzJcvrWLMu6qspV69UWG9ZoGd0bOyg0FFlTZdMwZUXrKyrzFq34ypnnheMZSM46CFi2JQsDq8ntudGkw8BqcgXXeLT1zlBa0WI4Jh78xRPfmDNf0sHALutGsSSZpqlptVSmW+LJtAawTF1T5LKmgKuZrJkvvD5n2sFfRJH2bQOryRXa6B47zo+PgdXk9r01p2qfALBo3scIHgqCmgdiWbqz57zvXb54xWrFBpailcqyqqp2gq8h84MtAixD1zVFU3RNN8uKOfv//ZXr3s1NdtUBq5JuxxoYYgNWk9tzo3mKgdXkCq7hadgdHwQXFSAFA5EOxnOxdO9v/3f6+r6iBhZ3TdUgYJQsy8aWwFFbBmitASxNlQ1NN2BIaKxZP3DtL35LJPhwW646HtySHAwDq9GwGAvHx8BqOrDArL41rYLxnK1VQXiGuOilM24ylZ+6z3MvvdFfVjTdlGQ7W6q1NhiC+NkhklsNWBAJC/ywwGt0Q596xPGnRBKQ4swGlovO1pbj2DIcC50KX0PjJICBNUaBFYhlbWBZebHSXjoTiAmHfelrr709p6xqurEFWNa6HDse8qB5wdbQsAxdla1YpUVJf+u9jz53yDF+OgXDZGvFHAZW49AwNo+MgTVGgFWnZ9EV05WLSPtZ3sdwKNzhYziyq3DRFdd+uGipTSJZVSAKlq5bK58HAcv+QmsACzQseBkb+8r3P/zXCbvt7yVSgRjYqmxa1TQsS+caksi+yZU7Nvu8o68KA6vJbdq2vFS3lnODBSwvzbvJjI/hgnERhdqDcbE9O/W2u+9fuXaDlczLqAHLii3TusAC31jw3Vi1dtNV196Uzu/iJVJWdhwYDNZrWBhYjibRdl48BtYYBZaPgdjtHiodbsuhaEe0I9ezx0F/+vt/NvaDX7umKYoiQZQoiOBXNWBVgiVXlj23hoYFA14TghR++NHyU8+8IJbs8UTTEBAZaJW3Sm1mkK9a4ptcp9vZ9/DXdkACGFhNbtxV3WrrISHnYzg3mQolsl46xaR7v3DCGc+//n5/GYKaq6oMzqK6UUkLaFvcWxFYMOCF5BPmCy+/dfDnjyMSop/iIb4oZdMqbw0JsxX1isEhkpvcnneAQZ/pJxhYTa7gbQHLS8PkoIvo9LMZH5NuE6ec/4OrFqxYVwKNAzQsAwL3GRA+2DBNiDi6xQ2rpWxY1kRCf1/5kUefmLTLviEmAzGwKLEeWDAwZCz1CgOrpaP34SQUTaaVh4a4MdUCBizraQN9z01xoUQeRbs8VDLApJP5qdf+6vYNZU1RgUy6bi0bNExFAj3Lsru3JrAMw1BVffWaDXf+cVZSmOwOdQbYnIuojQdBw3IxQgVY1cU6n+mhjb/sIAlgDavJzLJpVWsxLoa3up+AKNHL5FzRTIDmyLbs5L0OfPgvT2wcgOhX4+ylq7q2ZPnqy354DdNZ8JOCj+l2MwUXnUdMHjE2rcAty0vDusuaJPFOS0oAA6vJTbweWBateMQIUKicN1YIxrpRsJNqzx1x7MmvvT2npKjjDViaoQ5I5Tfefv/kr18QYUVXlPfSBURWaGXLyjZgYcfRliTUkJvCwBq7wEKkEIr3oGBnPNV9zne/v3z1ehnWqIyvl24a/WXpiaee3e/QY4IU5yaEQKwXA2tINx4/bzGwxiiwIKVCKOUh+XAslyns+tMbf7N2Q78y3nBlBc/pL0v3zHqoMGlakBLchBCMT0BUzh4PIrBe2ct0KnF4xk/XHZ93ioE1RoHlsVJXoUia7pzQu+t+sx5+bNNA2fKhHGcalmGu29R/7Q23dGQmBCkBRTgf043IbJ0Bq+LdXj+4Hp+deTzcNQZW04G1JU7mIBsWARnYUTgVovl9Dz7mpdfmlCBxzPh6GVYc1cUrVn3j/IuZzpyVhVAEGxYFKQht9cqaH4RKxMDCwGpyZx4PFVDNm2AtjoMpwuosYZQLxLthlpDMnHXupYuWrykp+ngjlmGakmG8PmfewUecQCTEEJODrBx0wZolrMwP1oBl5cupeb3jptuaEsAaVpPrdVvACsS7PSQfoAW6I//LX9+5bmOpWBp3JizDNPvKytP/faUwdZqPSnpI3s9ACkI3CRqW7X6FgTUenuu1e8TAajKwPFS+phrYQ8LKwJCApHshNst0Fp7+z6sbNpc03VRVWFjXki/whVUh/6CuV6I8K4pSlpT1RemGW+7IFHZFgbYAmwuwBRTivHShHli251pNjLXGjXdaTwIYWGMUWP5YzkNxIVrcc98j33xnvmb14hYGlhWZHuLIqNbLhrJhmivWbzrj/O/RXTkU7fLRIuTFofLgUlunYVWAVYf+1uuo+I5sCWBgjV1guYh0NJa/4KKfLFq61ja3Q/6Y1n1Zca80XdcVRbHRrJnm+4uWT93vMDfZBUH7SFj2HEpMrClTVZ0UnBuqkRuwGavZTbqR6xkxsJpdu3V6QbX7gendR0MWwqS42/TZj65a26eopiorkKGvRV/WmkHVHg+qKkQZNQxwGX3yuZcS4gQ32eVnYa0SinLB+ARY/Ay9wp6jqExTYGCNBy0MA2tMAGvwAAf6oZ/JQhbCvb7w4qtz+4oahGOA1DEtCyxbvbLS/4CpTlHgTleu3fDL2+8iU3lfjHeRGX+s4CIqQ0IbWPaiHHtIiIGFgdXsztxI3XKs1K6lYW0NrAALbkdHHHvmvAWrJNXy+DZ1RS62qIIFASgMw7A5JcuyTa75i5Z+7ezzI505f1xAkZSPzXsomCWEHUvD8jAZD5OxxoOV+A3WaBG325aVANawml212wCWjxESmanf+8HPVqwugrYBRqwWB5ZZTVkmSRLEqtf1/7782q4HHOZr4wFMtOAiBQ+V9zHdVSpZn2NgjYfnevUeMbCaDSwaMutVNSzLeGzFovMxXH7qvrff9UBfyVRUU5IUiBNsWgGRm6pl1UcHrO1bUdfhsuzJgR3YKooGfu0q+MbKsqpo6sBA6ZHHHhem7OViMi4yE27vQZGMh86GEhMh4qitYUEALMuGVY2YXGVZ06sVX0BDJICB1RCxbv940wWRZDhECm4m52G7gVwk56Y4L53a59Cj//rUM30lGUKKapppgN29goSGMWtwJHg7jClsZVUCoOjagCTLhinpZlE3y5op66asG5BHfue2sgLZJvoHJFk3ypImafqmzcWbfnMHneoJt3dDqEkiY4VyFzx01k0Nmx3HTqra5Ard/qrH39wBCWBgNbl9uxge0RyiRDeTczPWKjlScFNcJMEd+7Uzn33ltaIMpIAQo3ZkUVt7GQ1g1WilmqZalkuKppZVra+sLFm97t0PF785b9Hr7y14f/6S9+cv2vny8hvvfLho2Ttz58/5cKFdnvz3c6ecdT7R2R1MFKzxIFfjVG1nB1o8/omjJYCB1WRguVlhCLCsOXueTRUuvPzKuYuWlFVYkQMR3GGm0BhFDcsGFtDKNFVJKQ+Uiv1l6ZU337nsx9cc+IUv7XPIUVAO+uKIlAO/cNx+hx6z9wFH7HfoMfsecvQ+B31x2oFHCr17hBJ5Hwsqla1eeRlwaMDAcjR0dubiMbCaDyxwv6KzbvDezsPYkOL9LJ/MT/nV7X9Yu6lf1jXDyjABgdsbrF7ZRij7dFaI+AqtYCxoaiVFlnXzsSee3uegIzzRRJBOhphMkB2ZEo7zHqLTT6fCcT7ApFEogUIJorPbx4BArGEyDAMxsHamt7fAbzGwxgqwgFlkzkVCKopgXJywx/73P/rYgKIohq4ZVqYcBUaFDRsL1g48aCRoq1emqcqqtLG/b9W6jbf+/u78pL1CTIpsy3qJlJsEi/jOFw/Nh9oK0c5eyL7RVmAyU9wUh8JdLpKzi61V2cBqgY6Hb2HHJICB1WRg2TYssLVXgeVnskR79gvHfuVfL7wsGYZi6JAzFfxGVUib2vCXXoNUbcfKK21qprlizYYrrrmhLdMbYiA7BvK3gXUJlsVYsRN2YouinIuBmQcU7kKkEGjv9rB5bzxn61Z4DLhj3bv1foWB1WRggQHLMroDsCjRTfGBWJbqzJ938Q/f+XCBAswwJKkEyZ3t5IOjByzFNOH8BhS9b6C/ryS/NWf+qd+4IBLjI6wYZEQ/k/XCXAFMF+zk1vZT98V7o8kpvngvCiZRKGMlSW1yBbVen3f0HWFgNbk/WLSCWUIbWHYQd6Yzd83Pb17y8WrN8mwql4tgUdKrbk4NZFbN0G7TygYWDEQ10xyQtaefefGwo04KMRmyHaKhoihnA8sKqpfbma2P6fbGCijMoyiHojBnGu2YYh1f9DJQbFu7m+KxtuVo4uzkxWNgNRtYkaS/vRtRIiIFOyZyOCZy3bs99OjfV2/cCJgo9dtpU0sDZU1p9JBQh+lIa1qwtjVMXTfh0w395dkP/qV36r7eSNJHcn7G9nuC6AgQ9aUx251s3/jnLSYBDKxmAsv2GnXHsogEf0gPKfoInkzkp+x54Euvv91fBg+s/mKfClFldFXWABsNfm0LWLJurly36bpf3prMTvFEk26C87F5e4rAzmDakC1OjFpdktJi3Nnh28HAajKw3KyIaB7MzPFuFEmH2Gw81XviKd9ctmqdpIHxqCwP2MAyDFOD5SuNfVnAqk0Uwg64rZqGrJuLlq857exvU+1igOZgKjPR46ZEL837qYyfasjWi1PPY2ANlgAGVpOBhWjexYoQl66t101AiNGkMPWW2/64aaA8IJU1Q9VNxRoSAqcUpeEqlgGpWocCSzVhCc7r73047cDDA0wyGIfJgWCix0Nnq8DKWNga4S0G1g5rIq36QwysZgOLzIANi+AD8W5Ith5JFyZNe+GVd0uKXpLKFqpUXa9EthstYA1S4uxcW30l+eG/PMF3T/WSHYEYBHux1vSBhtXQ0qodD9/XjkkAA6vZwKK4YGcvIniI8UTyvmjm4MNPXLG6DybmjIoJXFEkcCA1zFFIVL/1KWxgfbx6w5XX3sgmRR/VCcAi0jCSrQzZarET7CTMI7htZu3sWI/Cv2qoBDCwmtklKqEyWZgiBBt2NBNPTrzwsqs39KmVyC2GpumSpimaplWzyQxSf0b8zbaANWfeR0ce95VwrMtPdwVinI8V3axYuf6RcBzdlutpQ1s/PrjjJICB1WRgeWJZ8O2m+WCi4AonsxOn/e5/Z23sk1XLvq7rqqaDm7uVVMYYBWZB0K06y77NTdU0//vKG7mJu7sjcXe0w0OlA/EcLJ2hOCsDM7jpI2bkt9hx1HFAafQFY2A1GVi1lOs+VvTTqV2nHfLP/7yo6dboz56g22ICH3F1argDGqYCAbhMWYY4erIVK2Llmo2/v2t2SpwSIDOucNLPiiiS9MFcQdpemtOgbaNbPz6+4ySAgdV8YLlj4HUZiAlEu3DMl0974+33ARg1j4ItwLIn74ajzMh9ZuiVuUjItaUrqq5pprl05drLfngtkRD9BOcj+GAsj8IpfyzrIiFyMS5YAqMmAQysZvY3cBwlLLeGaNpLZ2LJwiU/uGrJbabJywAAIABJREFU8tVNBJauVby9IJ+prtg+7u/M/eiY40/3RpJBSghQsIQQhVOBeM7LNFN6o9ZJ8InGjgQwsJrc5VCUA9/RSNJFJNP5XW69495N/VJ1LDjUJco2Zo2cOjXMkXStMhdpA0sz9KKs/f3pZ/fc93A/AX6tflJwExwKp4KJvN/SDcdOa8ZX0vISwMBqNrBo3pfIuykODFifO/TRx58u23HbmzQk1K2UYpZXPVjSdMNcv3ng93+cWZg0LcwIISbnJ7MekncTnD+WxRpWywNirN0gBlaTgeViBC8j+Fk+HOeP/crXX3r93bJiL4exg1ANcjofBQ1LlTVTh5wXmrUOSLUMWD/4n2sT6Z4gw/tJwUfnAmzOR4teRsA2rLHWn1v+ejCwmgwsD80jIh2ICUwyf8mPrl2wZGVJ0SFOH4Rv12zbe9UCr1vBi4cZx43gRxAQwjDB4m6l3Cqr2rvzFpx4yjeIhBhis+5w2kfngjGIs25nXW75HoJvcExJAAOrycAKxHMo2kW0Z5PZKb+67e71m8qKavGnScDSVchzIUmSpMiQa6soPf/am5879OhIQgi3FVA4AyElLFp5GSGQgDBVuGAJjJoEMLCa3N8CsSwKtUcSwrSDv/jg/z2xYXPJyiQqD6dh1Xt0jqBSNfhQkP0Qlljb84ObitLtf5w5ea8D/VQGljpC3CtwwvBUlhBit4Ymt59RI8UYOREGVnMbHB9uK3iIzmhcOOyok954Z37RmiEEhAyjYY0GsDTFCrxlGIqmyrqxbO36H193Iz9hDyvcVdZD5aEAs+w1zxhYzW0/4+7sGFjNrXLeTWYiCSGRnnDy1y9Yu1GSVEg/2ERggXplLc2xgfX+wiVfO+u8BNdrRXrBwGpua8FnFzCwmtsIeOSNMcnu/ORpP7n+131FyPluuW5qYHEfanQfDQ0LIvWBuV+3gGU+9+ob0w4+ItzOWyb2emAJXjrjpTPW582VIT77OJIABlZzK5t3R7qibeLUvQ/501+fHihXYiVYCXIsdNWty7HXIQ82OI38O0NRYZZQgoWEm0vyrEf+T5i4h5dOwWpByEWWd9H2kBADq7ktZ5yeHQOrmRXvpfloIueNtu978DHvzVsiAStMcCwAB4bmAAtGpLqhKaqiqSvWrP/Jz3/RLkzwstYiZ6BVNwALzFgYWM1sOWPEBD76l4GB1cxm56X5IMNT7eLXz7lk5doB23wk256jzQKWYeoqmLE0Q5/z4UcnnXkWm8r7YmBct9QrDKxmNpjRB8RYOyMGVjPbn5fmUaC9e/I+N936xw19qr0oR1Ut7/ahNqyRH/0Ne0SwXkmyaZqqZvz3lTf2PujwaBvvpm0Nyx4SVjwbLDM8b8fws3J8CX6yUrzVbDfWf+E7tqnLcowQtrW1DzKkh9jH91Jw5CABJWCdpf4gdnAbxAiIgTTUQ46A37aSBDCwRrh913ek+n3wt6RzfiYPrkyk6KWyXioboMQAkeyZNO2Jp18sqaasmYqql2VJlsuWd7tacYeyXdztVTrDYmYkP9RlGQJibdhcmv3//lqYsk80AbH6bCi4GN7F2AGRIS8ZBPNiARMQHocUwlEhEhXCBB8kwOnBxfCI5VEsg1jexWSsdBW8n+D9UbFWfBHBG4XiI0Qry1lFMrZ84PhxEbGCL8qFgxnKl6H9HBkWooRok8veAvdZHiWsgoHV0q68GFijByy7E9a2wC9SCNOZI4/52itvzJUNyK4s6waEoDLUah5Ty3/TRpW9UGck2TTMsQxDg+QXhrl89cbrfnF7GzfFTl1jo8rFZFxMzfcKgFXTgGxghaNCkOD9FMwqVmgFwIJf+alMgOQDUT4UEQNRqxBZPwnghsLkvEzOR+fst34y6yNENyWimIBYwU/w0SBH+zkmwJNhIGOABE3Nb223wBHIOMIV2krqSQvcCwbWCLfveq1qyL6H5G3dykdXeqaP4ENU+vIf/2zxsnWyBsCSIHS7MTywRkXDMgxNVhXdMOfOX37K1y8MMuApFojnhwUWKInWSK02TPPQAnDKLjEexWDfUspA5wqQfCjChyO8TRwfbQWGZ0VXPFspLGSlh6ElAd8MREGbczHWeJASI1XFyjqLACyzcOaxjkxEeCICy7NboFviW9iWBDCwRrh9D4FU7a2PFm1g1WgFIyCSi7KZe2f9aWMfmNo10yxbIYmbCCxIMa3DROXzL7299/5HeaJJD8lvBSx7VAiaUZDYou9APEJWAEjFLVRZtKoBq2bGqqhFjAgJGWMiDPpqJSbaA0xIIERAAaHRgpsVIS5rLOtmYfUiJOyBEwkoDlsXA4NQNsgzIT5IjHCFbqvn4M+bIgEMrBFu3zVCDdkJsDkwRZO8jxar8IKhk5Df9ZnnX5dU0waWrEPyCR3YZStUVqavyq712TDDuJH8SDcNRdX7S+qsBx4Vuvf0EimIfkWBlmQVe0i4BVh+UgiQcCNbxmWW8ds2gdcM4ZW3MQG1Z1GHiNpF1CaghEU3m2sMh+zCcojlUMwuPKI50NfaRNSRhQLLrXkfCamna3qWi4ERIhWGEsAaFrZhNQWlDj3pEE7V3gZjeXvfz2RhKERAl4smcl/44klz5i0CYKlguKobEtaAZQXGqjFrJOk0zLEM0PK0tRv6f3jVDR385CADAZFdJLcVsHhI+wzLoYX6RKo1x3fbtmVvK7RisqATJXNQOi36tNkmKkChm+IgDY+NJ1tHS4Ca5iIzYLxvF1FXFkq7BaxoxjKWAbPsU3ipiskfDwkd2nG287KxhjVKGpafgUCdMFPGij5GcJOZYDwXS038/o9+umLV+rJiShp4EkiyKquQ+qGqYZlG9VVRuYaBzEh+ZJhmSVGXrlh3zJfPYDt7g4wYihcsLtjWqJqGxVvW8S3A8lNgogJtyzKE2yhBTCX9l5WwCyz07q4C6sq6O7LeNtGXEAMxIcQKIZoPUZxdghQXoDkfw3lZ2PqiGT/Fw9CvIwuYawMPCX8kY1uswlEwb9nn2s4Wj7/maAlgYI0SsLwUhEK3geWlwZIdbit0iFP+cM8Dm4uSasIgUNPBrcHOrNUsYGmGvrlYmrtg6eQ9DoiwootI+9isZTMaHlhgIKdgSFgrttpV0X0s1wdrTY+dtVDwdOZQUrT0LEtpSgoomUVJAXWKqJN3twnueMYT471s2scAuULRNDhJMIIrLqKEiOJgsfJQXJDgw0TFeG8PD21Vy9G9EV/8p0oAA2vEgWXP0w91j4RcfqFOHyME4zkUavcxnJ/l9/38sf989qWNmwYgBpaiQRB101S0atrnkdSctvdYsqKtWL3u9jtn9u66n4/kwoluf6wA2V7ZYYAVIIVQmAuFM4Eo5yM5Nyu4wW2KR1TaTXGBGIwZYThpG9cTWVe6B6VFJIio0I0m96I9pqL9dkOHTENf2AcdvDc6aE+0925oUg8SsiiZcSUyHiYVpIBZoWg6bK0K8DAZMHXFLXM7ay3JpiDzGJjSrHQ+n9ri8RccLQEMrFECViCWdRFpPysCsKJdfpanUxOOP/Vbb707b6BYBsuRBMGJDdNULbv76Cx1HoIxWMlomguWLL/sx9d2CpNc4WSordtDZxHBgx3K8v+0/LCAFLZPQzjCRwkhRIueWEUDsqftvETGT3DeSNrNCl5+IuqZgiZPRXvtjg7eN3LiEclvn9F93SWTbr968oyfT3no5il//k3vQzcVpl/P/+oH7d8/mzrzhMAXD0Z774p6CojP+VPdoUTWF0n6Q11hRgh0dqNkAYaHMEIUXTEYFYJfhTWrWHOyd3S3xBe/LQlgYDUIWHV6ViXWHQwDvXTGx3BuMuWh0p35XS/84TUfr1mvaKqqa2VZquSFrwOW/Un9dghiRvatDaw335t3wslnM50FdyQVTBTAe5MCb4OtgQXmqkgGdKu4CNN/bRyKpRGdDpAZmuCpKOePplAbj6ZMRUcciM79CnnddzJ3/iR3/w2Tnvjd1OfvnvDq9NybM8T378t9+KA47/7ce7MLr97b+8ydvY/9Rpx+bfzGCyOXnI6OPwztswcS8/52gSD5aCQNsU87siiVh9KVQ+3g6+ClwBveE4GwqNtq6/jzFpAABtYIt++K37btvV03ieYi0h6K81BpDwU5U1Gks7DbATf97u6iDANBCD5leWAN0bDqUWXvjyyhhhzNMM3NRekfzzy/90FH0l0FICwjIlLwxgpVYMEiG2sqsGJ0R0QG0RkYo3XmUIeA2LSLSvmjKZISwizn7hRcu00NnnYMed0F7Q/fUHh1eu+793XPfSA374H03NmJuTOoedPJhbPoJfdHF8xgFszqnH+fMP/Bng8f6n33PvG/d2b+enPs9z8KXfZ1dORBaPJkX2fOT6RdRBKxmYoN3vJ1cMcscz7BuaI1L/wRrtYW6OqtcQsYWCPcsrcFLA+V9rO8n+XBlhzjXETnPp8//oFHn1QM0zA0XVcNCNdn6rpePyQcfWCt3rD5nvv+H9+7W7QNfC9AvYoKLjY3LLDAU7QtBx5VbaK7I+/tyLpZzk12uaguFEu5coXAIfu1XXxmYfYN3S/8MT1nZttH99Ef3ksvmM4unBlbPDu27P7YsvvZpffRi2exi6yyYAb7wb3xD6Z3fTQ79dF9mQ/vz753H//079ibL0GnfhHtNhVlsu42wQMrhMCmBsPPuOV9GoMlhwgWMI5whbZGP2+Zu8DAGuH2/QnAsseDXjoTiHE+Jn3caec988q7sm7okLwU/KwMw1BVVYPspWB9H7YM0YlG9q1hmivXbfzpL2+hO0U32QVe5mweUTlECeCgYC2yqdOwwAfK3dkN/p8sD7YqOuOiUiiWQmkOTeoOnXIU98tLJz7260lvzhA/nBWff2904T2hJTP8S6b7Ft8bWjIjunRWdOms8MLpofl3hxfcQy6eySyZTS6eSSyaQS2ZRS27j116X2rl/3XOmZl65g7hgZ/HfvBNtP+eKA1TjW4KzPz2okVInW17zMdEDKyWYdOwN4KBNUrAgs5MJEH7IDr9bCbakTv/B1fNXbxSMcwasDTrZXm6g/V92DKyhBpyNMM035+/8OzvXByJp2vA8sZ6bHeqrYEFAWHiOTcFjlEwVxjsAmDlutGBe3q++9X2mVfnX7s7PW9629y743P/0P7BH9sXTadWzA4un+VfOsO3ZHpw2czwitnRlfdTKx8ILZlBfnw/u+ohauUD0eWzgWsL7vbO+wO96P7wnLsTc2dOnP+nnqfvDF/5LXTofmjSVHdcjFJilBAiVrSZqtvXCNfmsH0Gf9hECWBgjXATr9OwwLPBNvfA6tx4zkUkPRSAIBzn24WJV93429V9EBehBixVVcFLdPBE4RBsDUHMyL41TPMf/3nhyBNOjbbxYGiLplGU88YKnnjB9nJyMeCVXrVhwQ36aNFPcESYI8JpMLF3CeiAvdA3j0n+6efc2/d0LnswvOgecvH0tuWzuj6aTs+7M7Dobs/yGf4Vs/wrZvmWz/Qum+FdNsO3fGb44/tCK2YHls30LLrHs+ie4PJZxKoHqDUPBRbOoD9+iFj+YPSD6dy7syb9566Oa78Hp8jkIvEsTQkURG6AxUPgLEbba4ZGuE6b2D/xqYdIAANrhBu3DSxLytCx7R4OBhcS7MEBNucKd4bZtDBh94ce/fvmEkSeavCrtqjHzsZTVdys8PG6Dh/qqqarmqbKsmJMf/Cv+V0PjHb0QHyYSMrHZr3MJ42zfIxAJrojwbTX1+7vyqJdJqGzvpScfW3h7Vkd82dSi2ZGlswML54RWXwvuXh6dCmwybNipne7i2fpdADc2ocCy2bH5tw74b37ex+/lfrRN9BB01A6S9IcHbEGhoksYgTb+j6kieO3rSQBDKxGAMs+JkyouRgIXweDKTrrZqz1z9E03ZHda//Pv/Dqm2BxbzCuqh7zNrbgZLbKZp9W08DSbxn9AVh9/eUbb72nq3taMAHLcRCRsZI8C26IbzW8oGCNESOGiQwiO1G2EDrh8PRtP5zwwt3JeTOYhRatls4MLJ0RWDojuGxmcPks7woA1vYX78ez0NJ70OpZvpWzqfn35uc/MOGtGdmHb6AuPAXtOskXy4SjSRTucsUEbyKPgbWtamqZzzGwhu+HO1zBloY1DLAQJQKzCM5HpmPJwilnnb9o+UpZt/ScxjJrqIZVO5thGDawTCuOu6HpKz5ee+7F/0N0TfQyopuCcZaPzUKoBhIijg5bYOUzI/jbsigloD127fr+N/f4+x2T37m/44MZ5OKZoeWDxn3+FZ8ZWKE1D6DFd6OVM4Kr76fm39s1d3rug/smvXZvfsZ1rpO+gLLdXjqFwl0+VvS3ge8FNroPW00t8yEG1vD9cIcreJvAIkFPAaOPBaxf3XbXuk39/WWpho+G7WwTWLoO85Jw3mriiTnvz//8sadC/CkLUl4GwunZ5NqWQHyM4EkIKJ1DUyeHTj2m93+v2e35e8Q3pyc+nBFZMhMI9fEsz4qZ7uUzvCtm+qz97VevPCtmBlbdh5bc4149O7LmQeajGbH37+74YAY/Z0bP83dR153vOXg/1Mm5mEykvRt8LLANaxvPlW1Vn+M+x8AaJWC5aDAGBdicj0ynC1P/8+Lr/WWlpKgN41TtwJ8ErC1fspYF/f3Jf0/a6xBEZMCGHU17GYiW98kF4ql3WMsDD99PuPny3f5514TXZwgfzGY+mhFeOtO3crZ79WzXqlmuj2d6Vsy2ymcZD66Y6Vk63b1sumfV7PDqB2KLZ8cXzgIHro9mdr0/M/23myPnfg3lIPYD2V5A4S5P7NMv+JNvB/93jEsAA+tTOuRnrb9taVguRgCFheZ9RNd+hx6z5ON1UiUnfA0aDdoZHli18aBldjd13RwYKP3y5t91ZXdzkRw4uFsW90+7fXCFhfXMUwrom8f2Pvbbqe/cz719D7f0IXLhDJjyWzUbrZmNVs9CK3cQWIFlMwMfz3avnOVZPoNYNINdNItYMiu8eAaxcBb/3qy2my9F++yKUrlQIouCHYF2ML3h0sISwMAa4fa9NbAqE4UkBwZsiqM78pdecd3qDX2aZf9uEKVqh603sQ8xwGuaZhimolgxTg1z+YrVXz31m8T/b+9MoNuqzjx+Ze3be9p36b0nybLjELIDoWyFMpNSoGUpBMIWlrY0MKct3eaUoTOlHbaWMgMdKCS2dieETksZehg6nXY6DFDWtiEQ24pt2ZK8hBBKFi/a5nzv2YohC1KQVT3z5dyjo0jP7139v/t+97v3ffe7NtgkVWEOEq1HaWkVnKyjT7qzKoufcK3k06dp7rs1+PxmdmfSsqPTOpDQD4SVGfCMJLuTZBycLGk2IcskahoPyrIxbXaLamQLGY2RTFg9ENGlwqoURJ/KMwnHwBb2l/e3XPc50tbRYmGJ3qO0BBfwvYo/DR4EoQr1VeAYwNLYQmpTgFt0UvLxp3a/s0+It6qQZZ7eHANYEFVfKB2cgNCKfLn8Zk//ijWflBn48AtLK9F61LY24Snh0SfdYaUR8fvJ9Rc6t/2zd3vUtitu6Y8bdkU1g2FVNioAq2UsIcvFZZmagQXxWemEcjhBRqNkHEJMIQg+FTGPPK7MdVP98eAfusw/uIWsXk4cnMTMCduR1degeLamUgCBVWcPS2oIzBp4JqxB8LDAbTH5lQbu5DPPf+HlNw5MwvobPmR0nkg1c9qjAWtyEub784XSgYOQJeLdfZP//uQzTGiZAKzZn/Ch4rAaR4AwXsVtV3G/fwQWM6fj1qFuqj+sTUeUmUjLSFwyCvPuMOOeSciGa3tKCMAajAOwdsfJ2wnFSMIwlLCn4tYUBEwYBuPe17vanvgRLI12eYmFgeXlOCRc0AogsD70nqz1gJmNkfmoUYjDEoAlM0ImLMraeumVX9jZl5mdbZ8J5pw/aB0DWLDQulCamIRYrKGRPT+49wGdFRLg1HLPs2pXkCxZRN+1MfhaxJCKqNNRYzqmS3VqhiLyTESWi7eMQFA7TEUNfzRg7UlIRxPUUMLVF3f1xIz9MfNA3LsjFnrmwZYrPk2CQeLwS2hPJal8Lb+iVhPj8X81BRBYdZf+yMCSUD6lOWBxL/72HfeO7t6fL0BihjKfoWH+aCWEic6ZLBMm4GGX1lIxn8/ni6Xy1HQpXypv39l/6fob5HqHsG1qlXe7xMjKnSw5bZX70dvbd2417Iqq01HDYFTbt7kCLFkurh5OCiO74/Cw1BUPaw/M3+syCXdflHkrYu+N2lNx385k2+8f1WxcR5YtJh4/odwIrCptJ9LDEFj1Bhbdyo8KA7PrcmY8LEhDbmQ9gZWPdW3bd7BYKJYL+alyaZqfCJ8vZAnulQAsPuDqELDK5eLk5GSxCNuL7Zss/ea5V5ae8km12VsTsCCI3+GR/c1pbPIHob4tdCqiGZzxsGDGPQdDQnkurh1KatMJeSYhHYaYrOqLPBObAdYYDAnJ7oQyl3Cmot6dEfubYUdP1NuTbHt+s/nvbyQnL4OHlXonAkukJKqy2giseQEWv4e7sJBQGBWCe6W1BJad/Le/evb5KT6goViY5ie753FUeGRglfJl2FGseODAgXy+OJkvj+89ENnyCwfXobXCnl1VNh1+W0CWeHyKz53DbbsrsBOWzuiHouZ0TD8QlmUjZCQiGQVg6XhgyTIJkq0NWLJsTJmOq4YSslySjHWT3TAqNA1GHX0Re2/YvrPL1xNf9Pxjru9tJKcuJz6WGJz82ux623RBzwpVb+5mOBKBVe/GzXtYhwNLYfJT9tCFl93wh1d3wiY55XIhP/HXBFapMDEBueQL5fJAZvyOux6gHH650VuThwI7PLcGlVeex/38Hu6tuKG3kx6ImAei+oGwJBchYxEyBjPuArAkuQTJCRGk1TpZsmxMMQTAUg8n5SPdgpOlzkTpgYilP+roCft7kx3/9xh3z9fI6SsJyxGLB4HVDFiZvzogsBoELCnNWH1LbvvO3X0D41PTsNvE1OT+UnGq4UNC3r3iPSyIw+KR+cr2nvU33mpw8QlwavKwrCxpC8qvOY958l72zZipp5Pe1WVIbdYPhclIhIwfApYmnSC5BJkJea8NWJp0Qp9OqrM8sPYkyFhUmYnQ6ai1Lxzo6z7hucfafvQt8okVhGWJzUtgK5162xRP2DQKILDq3rhh0n1u9ijo840+Ke31tq184KfRsXf2F/hR4PTUBA+s+ZrAEs4rjApnc0IUAVBAKxgS5vP5icnC/qnis//zh7POu8ToayMaR80eFsfI1q/1/eIe5q0Y3dOl7dtM93Uah6MArN0RMg5PCT+KhyUbhrAG9XBSMQJzWOTtmGQ0Ks9ENINhY18XD6zN7fd/m5y6AoaEFpgxRGAtYAUQWHUGFtHDlnyzAeL+FhoWD0tgvxzPqZ+6IP6zX468vbdQLh88eLAMuftmSTK/1KqcnZ90LxXg6WSxVCyX9k1MvzddjDz+5NI1Z+ucfqJz1QYsEwtJGs5d4//l/Y4dXaahpCK1yT6cpPr5IeF4hIzHJKNxfTpJDUD853GtJYzB5Nd4guxJkt0xyUiXeqhTO9hpzCXNA1HnG11LX4p677qNnLKK+EIyOyQaXMC3K/40BFZ92zcLwdawrwwkPGihgpUnhrQzsPaidc+98tpkCSa9D05OTE1MF2HL1Eb+OwQsIaZhMl9+e9/UnT/8ibt1qcLkg/3HahoSmlhi95GzTvE/ca/nzbhpKKkdiLqHuqnezfIMP4c1HiNj8JRQN5iYiWyo5SkhhJumYREi2ZMge5OS0ahquMvQ32no71QPdJmHE543422//Sl12wZy0mriayd6BoG1sKGGwKozsGRGfk8XipFQjAAsmTEoM3IWX/tVN325bzibL5cn8tOFUnF6Mj//YVjvS9c3s5aQ97CKkFymPF0sD+Tevn7j12lnQGHy8aitYUgFYQ12H/nESuem2wPbIQDdPBD3DSRNOyEOC+bdx2NkPC7PJlVDACzVUELIOFplZIMsC2EN8kwCptvfTiiyUWowYkl1mnZ1KtJdhlzSszPR/uy/KTZcTE5cTrztBDI419egeLbmUgCBVV97sHKTHzahohh+wTDMZ8Eb2utuPfGuB36S3bN339TU5DQs3ytBFqp597CEOaxZL27Ww+KHolPTpQOTxZf+1LP2oit1Tr/GFuQjxWsQBDKpujiyfLH2zi+FXg67ehKWvqinL2HvDdMDEOkOi5Z3x8loUpYBWtUKrENLc3hgqTNRU3/E3gvAUmWj2mGIdO/4jwflF68l/hCxB5SuRQgs9LBqaMELW6wqfh2k32wxeCFXH2S/C0ooDnb3pL3tKz7x2xdf/ctUfu+BA/lioVCCifd8XgjCEuI55+P1SB4WP3cGIaOThXf3TT7x1K+Xn3qO0uJVmjmid1XxGw+1B4h0twdIKEBuvqTtNw+HUtusvVFbT8SZipt3RXTpiCQHHhaUUVhLCKtzahkSCsBSDydhun08oU1HLH1hR0/YmorIMzHdUNz/eoTd9I/kjDXE5iNGRu6ANH41/QQ8WFwKoIdV3/YNwJLQHiG5sMwYhGR4lE9tZtac/ZnBkT35cnn/5FShVDwwcbAEW6gKHtZ8oGrmnEfwsHhg5fPFfKG8972pex54hG1fSXQO2JW6lgksvqHz2Rp8HPncOd7onctTP3f0Jsy9EfOumDUV4Z0smMMCYI3FJLnjydagTcMjQiGpljYdMaXC9t6weRcsWnQObet4vkv7jQ1k8RJ+O1WOGHAOq77tuenOhsCqr0lgP1FSARYdkOh8alPA5Gm/4ZZvjP1l/zQ/gZUvFianp2aHabBtzfyV9wFL+M+sh1UoltOZ3dd98atWbwfRuVoon9ICybCqL5CPUOeRegJkzUrlt65d8krMvhM2Q9Wn46Z+WJ8sZEkGZo3FyEhCkqstH5aQXgaABWeIq4ZjVH/UvCsGpT/peyMW2vZD8pkziL9dYQ5ILAEEVvW2E+mRCKwa7s/L9HA+AAAR6klEQVRqbAzAMsAEFkQ2ULDbu97W5vIvebgzuXc/hLjny6Xpwszc1XwPCYW4iUPzZLPAAueuXN4/UXjljz1nnPtZg6MVMh3P7pFTzc8UjoEU9TqfxtNOQovIZ8/uePoh12ud1uw2bS5JDcIeXzp+HwrJKAwJSa5mYMmyMZj5yiSFNDWwtDANe1tYUzGmp5v59UPsvd8kS9rl3kUyvY/QjMQCEXDV1x+PFJ0CCKx6t2/YLR22mdHY2+UGP1G7pBrX0pPPfu7lP+1+d1++XJooQP6pUrk8NZUvFsuFUrFQyh9eimVYH119OfwMwif5Qmm6JFwFHgzy/8qFQum9fROFcnnbz5+xeNooe0hh8hOdV2GuOcWwzMAqHEHiYMnJK8x3buR+97ClL67JbYFdnYdi+mySGtuqGt8COY6H4Xlf9TsSCkcCpEa7lWPdsrGkYvcWxUhCPRCz98RDL3Se0H2f5rLzidMtswR01hDRufm9qett0FpcTtHd/6KrMAKrzu1bbg2Ck6VxE71PQXFKA6e3BC+49JregeGJYhFCRvMT/IYP5QK/opCHlxBC+r7XowHoaJ/zztT7ziC4VwV+taCAyEODUN7D2vPuxEOPxJzcCRKNk6hcKmu71rG4phYMG9XQXqktCFPvTCu56FzP5u/6/hzVpaL6bFKTTcgHwyS1iQx2KkYSuuFu1UAMdnuuehdVPu0fAEs70i0bjkqGI+rRbkvmcW5HYvV/bXJ/+wtkxXJi55SWoNLAEdonMeM2X3VuzzW1hwYcjMCqs4GJDjp8paVVbgqoDAGpzqs1sxu/dntu994871gdmNg/lZ/OFwtT0yUATBkizg8vAmKqfz38DMIn06UyeFhFCKovlUqCh1UslPcfmP7zjtRNN3+dtgcVNAs7zptDRFdbxk5i5IiNI3YIiSAWhoSC9K3rW599yLsjRvV2aQajmiwkhIHN6AfDdCpiGIR5qJqApRpJSvs7temYafRxfWaLcWiLN7V18QvhRQ9+V3bumcTJaZ0hfjzrlVkCxIiT7nVuzw1gUE2XQGDV28Bmv9wahO3ddT6VIaDQM2xoVXzLk+/85aAArOkCH4RVnhnvVY+k4ztSWDco/K3gYcEEVrGcL5Tf7Bn61NpLiNSgMvqVljaiZlqMoTkpnj9cGWLiIL7cDJs/66xB4mLIWSfb7/nKCb/fxG2PmN7qMgzGTePb9GNbFf1d+p5Oy2CiJmDJMzH96BZlX6exP2YbTJr64mxqa/tLEX/k+/LPn0cWdSgcQdjgS+chtE9pDxG6pnSpH/4Da7qX8OAGKIDAqnOrVdhaiYEhKmeLnlGbAiqaWbr6k//5m+ffOwBeVRGmj2DGHfK6FMvT+Zk4qcNhdPjo7tifHH4G4ZPpEr/QmR8f8oEUQKtiofzO3v1P/eq3i5askagcWnMIIjBUPrVjSW3AMnLE0UrMjETvVVsD8LjQz5ALzuJ+/M1Tnwt3vBp27QgbUhFtGmKmTANxqh82rK/ew1IOx+jhpG2o2z24xbZ9s+PFny57JX7izx6gvryedHS0MG0KW0BuZFpopsXESc1+eMUppwWtAAKrnk0c5nT0HhiYUIzW1i6nGI2Ru+jzG/60o18Y/fEzUBCHJdBHGKkdkURHA9DRPj/iSYo8rSAzwweAVSrv3Ttxx/fuM9n8tC2kNYfkplaFqUNiENKl1qAJoXwKWwiiz8xMiytIHG6yKKi6+Ny2+25b/fRDq3Zs9fTE1D2b9dmkKbdVm44pawGWajhmSSftvVGuf8uSXU8seTEcStxt+9oNkjNPJVyb3BkkOifROZXONqk1QCivgt+jDJm1gBVAYNVwc35oOxB2S5fbQkTvU1tCRGY1Otpv+crtL7++c3Rsz3A2k80O50aGhrOZ4UwumxvP5sYz2bEjlqHhkZrKEU+SyY4N5UaGciOZ7Eg2N5rLjWazI9nMWCY7/sYbqas33EKbAalE6Wqh/Vr7UkILq7Wr1URBcWotqzO2ymz8g0IXS9w+SPPS0SY/5xT29i+uePrB9tcjpp6wOhNXjialtUy3y7LwnNG2K2rb/pjvjciSP8aCj98D6dvXrCKBNoWnTWrliN5BDG6Fsw0qQPvQw/rQJir2AxBY1d6cVVq6xeRX2EJE7dLZFxGVU0Uzq08/74JLr1l39Q2XrFu/7qprr95w4xXXbFh39YYrr71p3VU3XXHNjUcsV157U03liCe54pobL1u/4bL1115+1fWXX3XduvXXr1t//eVXbrj8yhvWnn+5x3+iyuCVU15YPGQItFBBovfXNCRUUJyOChCli5hZ4g4Ri4c4Ga23TeZgWrig/IyTTd+4LvCz+wLb45aBbsVgrGUIPCzVkYpmCPCkTR8qOj7eyvvqptU7tp74XKfxoa+T6y8kp6+CfVtNnhYTIzWzUruf2ALEzMlsQZklSDTuKs2Eh4lUAQRWnYFVaQcyo19hDKgsQbW1VWtvpR1ttLP1fcXRBh82oDhnrz7nWhqzX2kOyI2clIYBLL9aG7J3VepfzRuJkWux+GFZjIUjFq7FxMkMPo0eCszBe1vJSatkN15m2fxPzIsRV98TdP8Ww2DSmE4Y0wl6ADYWtKSTpoG4IRUx9IbNO8OwDrE35k4lvKkkk0ou3pE847nYmu773bffLPns2WTZEuIPyRwBKS1slsFCuggTR4wQzSBsYSuj58ug1QiCx8y3Agis+W3fgC1zUGGG54ZNVRTmoNwUkBkhv2Cl1NraYAhs9RObn1g5cHOMnJJitTooGi0jM3KEaScnnUQu+4z0H76kD99pe+bBwEudwT+GW7dH2T+H3du7XG9F3L1xT1/C1xPn3oq37YifsD1x4mvRxf/7aODp+1uTd3m+u9G84VKYtFq0qMUbVDr8KiOr0HsVNCs1sBBXAcAKSAwBBQUFgVWrEcV1PAKrzsASco3OJPCbZYHUwAleTPO8CrSaW0+pgatUvspGDJmgzeBbAbCEAinVWQXNytQeFc2prK3EGSRsK1m5QnLhWv1NVwS+/9XFP7lj9eM/Xv3MIx2/ezT4wibmlU7v613M62HuxU2h/374hKf+dVn07o77vuX96gbztReTtaeTlSdCvnYXI7P5lQZGqfeqKN8MsEw8sEwBYgzwHlZl2+06m7VKQfCw+VYAgTVfLbvitghv5tuQtZ7/cDYJDmBN55HREMovBzeHhWksC1/MsL+ZyujXGgJ6Q0BNcS00Q8wcTHIF2smqZarzzrJu+Lzjtg3mf7xZd89G5f1/J3vgVuW/fEV5983q71yv2Xi59orzlZ86TbJ0CQkGyOLFpL2dcCGZOwC+ldqlUrt1NDARPCwTeHaEB5bUAMyqqf54sOgUQGDNF7BE1xSOA1hKiqM1LK1hNXoWws1Ns8wysbBchmJVaq9G6dGpfZSO0+k5mYmB4NKgnyxeRJZ1kNXLyBmryDmnknPXkLPXkDNXk1NWkuUn8ITiiBu8KmL3ELdf6WxVGVmlyqVRu3UaRq1jEFiia2B1qTACq87AqvhTH5ix+oDD9Vf/7+Gt5ziApdJzRiVjUTC0hlXpwbECP4svEiOrNHA62k/pOErLUlpWr2VVNCf1tRE2SHxB4mGJJ0CYIPG1ApucHOxn4W2FHefdAeLmJJ5WBRMiRleL2avQe2VKh1blNlIcpeNkSpeC5i83Z0iIHtbhNl14nyCw5h1YTd5ojoNTlV+kpDiDijErGUoNXs+MkwVP7lhiZKRmv8YW0thCkKzKCJ8QE0PsfmCTM0hsEIugtPqlNEPUjhatR6J3SygfMXiJwUfMXmJliZVRWDgVzai0Hq3GQ+s4AxXQ6TmpxiOj4ckgDAnf95QQh4R1bs8VWzfJGwRWnQ3Mp3KHc1YmifhtvmpbVNywxlFxA4UrVipfZQUUFKfRMsIYTU4xUoPg9bASMyyUAUhRXgj9N/hgYt4RJC5+Dt4RhEgIAwMpAw2chvarKXhV6Vk55MKHdTZwgD0gsfhbKJ9c69bofbTBr9NzCrVHrvFqzEGpAaIZhCLkwMKnhFVaTdSHIbDqDCxRt4ZaKw9xWCa/xOQnZj+BaCz+DR8VNfdUM66QmZ8g57+Fx4tHKUJQ1SyJYGpMSR0q8PyRj7SCc84W6B5oTklBwbCGucovvPcILATW8SsA1LD4IRTLOgssi5+YAEYCRGQ0EEQolZunwpRD0JmZijrkMQk4mzmJAbAlg3zzUA791SzyZDQHqccQWAt62bPQfhBYx3+7Vu7Aj+0bwIrgXpl538oMtBJcJIE1Akc0Ok7LF42OU1Cw9dnRisQAIaCHyiySBH5VXKpZ/+sQFoULKdDDWujMQmAhsD6SAnKDXygCtecO9CojNY2O02s5SgOvSv1MhKcQ51l5PSrCZsd9M7TigTiXiYL7pqDAyar4bh/bLmTB/3AE1ke6XRd8+zj2D1RQnFbv1+n9Wh2n0XEqPVADwvpnKTM7HQ5fzTpZAZU+oNQLy2jA1ZIYIE5dKEJogoKCA4TDZPSMw1U5Zu54U4BUhVPCV8euM34ragUQWAis41dARs8lETBLSXFSChYnVoZvc5ml0nMChirAEkZ/Aowk/FBRRgPLBGCp5nBNQBt/DHhSlTHgEREp6nsSK38MBRBYx3+7HkPWj89XcymjoAJyvV+uh/3N5vpNlWP4pTMzHtMHxoCVsaFwjPBtBV6zIQswnJzFGbBSyY8EZ0Ic+KeQ6GQt7LaHwEJgHb8C/NAPRnMCkqQUoEoA1gfGesIBh1NMGAMeTivB85LyORgEd0xglvCq1AeEZ4KVOAZw6GBR4cwDyoV9036cfx0C6/hv149zu6n89kr8QeWTyoySMJn1gQMqs/KV44/9phIVcbQ3wp/XetpjXxS/bVoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAggs0ZiqYZ0YXggVaFoFEFgILFQAFRCNAggs0ZiqaTs9rBgq0DAFEFgILFQAFRCNAv8PTRevV3JRknkAAAAASUVORK5CYII="}))))}const yw=i.forwardRef(Cw);n.p;var bw,ww;function xw(){return xw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xw.apply(null,arguments)}function Aw(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",xw({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,bw||(bw=i.createElement("rect",{x:.811523,y:.914062,width:22.7334,height:22.7334,rx:11.3667,fill:"url(#pattern0_10301_3039)"})),ww||(ww=i.createElement("defs",null,i.createElement("pattern",{id:"pattern0_10301_3039",patternContentUnits:"objectBoundingBox",width:1,height:1},i.createElement("use",{xlinkHref:"#image0_10301_3039",transform:"scale(0.0025)"})),i.createElement("image",{id:"image0_10301_3039",width:400,height:400,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAgAElEQVR4AeydB3xb1fX4r6y9t7xlTY9MwiaMAGkZhYZRUqBQ9t6z4QcFWmhpoaVQNpSUQstebdkriRNvx3GmndhOHO9tWfvt8//f9yTZzqAJBIidm8/9vDxLsiyd++73nXPuGUhu8ZJBJEAkQCQwJSSApsSnJB+SSIBIgEhAbvESYBEFk0iASGDKSIAAa8pMFbnBEgkQCRBgEWARCRAJTBkJEGBNmakid1ciASIBAiwCLCIBIoEpIwECrCkzVeTuSiRAJECARYBFJEAkMGUkQIA1ZaaK3F2JBIgECLAIsIgEiASmjAQIsKbMVJG7K5EAkQABFgEWkQCRwJSRAAHWlJkqcnclEiASIMAiwCISIBKYMhIgwJoyU0XurkQCRAIEWARYRAJEAlNGAgRYU2aqyN2VSIBIgACLAItIgEhgykiAAGvKTBW5uxIJEAkQYBFgEQkQCUwZCRBgTZmpIndXIgEiAQIsAiwiASKBKSMBAqwpM1Xk7kokQCRAgEWARSRAJDBlJECANWWmitxdiQSIBAiwCLCIBIgEpowECLCmzFSRuyuRAJEAARYBFpEAkcCUkQAB1pSZKnJ3JRIgEiDAIsAiEiASmDISIMCaMlNF7q5EAkQCBFgEWEQCRAJTRgIEWFNmqsjdlUiASIAAiwCLSIBIYMpIgABrykwVubsSCRAJEGARYBEJEAlMGQkQYE2ZqSJ3VyIBIgECLAIsIgEigSkjAQKsKTNV5O5KJEAkQIBFgEUkQCQwZSRAgDVlporcXYkEiAQIsAiwiASIBKaMBAiwpsxUkbsrkQCRAAEWARaRAJHAlJEAAdaUmSpydyUSIBIgwCLAIhIgEpgyEiDAmjJTdYDdXf1yizTIBBEJjEuAAGtcFgcYEfbHLy6z+NMjKLPgobAGVPZiucWPjJ4ssy/L7JNb/BpnqcLs3+Ugkzi9JUCAtT+u2+l9zX3Nt5tMqxKZJYj0bmQokpm8KnuxPmem1lWG4aV374pWQYXZ/zVvTp6aBhIgwCLA2q8kgM3AidhSO0rUjqDGWayw+pAmF2lyFdYA0bCmAXq+2VcgwNqvliv5MBOBhcmltPmRLh/pC+QWr9Lm17pK1I4SpCvclYaFjcRvtgzIb00VCRBgEUbs1xLQ2IMKiyfL5M4yuWXGQrm5SGnxyU2eXS0w4qTfr6dyV1O21x+YAGuvRbZP5E7e5H9JwCO34IG0uSqbR233K61elc0nNxfJjIUae3BXv06ANf0vZgKs6T/Hu1rb++m3Vlg86eFWWPBA+lx9tl9uLhRPgiqbB2mzNY6AhLP0cT/9OlNI8lPloxJgkWt9P5KASCsJVQUKS4HCmmfICVx9x73vfFrx8co1f1365oLTzpebC/GwutO02qV5uB99qanCginxOQmwyJX9PUtAsvWkPyoZcfiod5Uida7GEcCKlSnPWVR27MlntQ9EwiyMJGEwCWM89ETYiABdIfbeh5/OKz1EaffIzAUalx9pcnTZJUibI7f7psSqIx/yG0uAAOt7Xq7kz+0aWHKTx5BTKjPma51el2fGX//2r74wMxBjhpN8iIb+OB/ioC/G9cX4OMDWgXj7CHXc6ediPcvqthXNRUqnPn+G0hn4xiuB/OKUkAABFiHI9yoBmdUjs2aMOKxbSQEKGnsQaXIMzgBS2T74qioBMJrkkgAxgCRAf5QOMVjJ2j4SH0gIEYCuMLO6pevcK29R2AqRLhtZClUuP1K7psSqIx/yG0uAAOt7Xa7feJ6mzS/uDlhIX2jMLcvS562o2zgY4/siCcypSGwowUQF6BmLDcbZGMBgku+JMJ2hZG+MH0hCS380p3ie3O6R2z0yq1uXVzJtBEW+yC4lQIBFgPW9SkAClszqlVm9UnqzpGEhTb7G6rn61ntHkkABjNHCGMNFOH6UYsIsP0qzozQ/lGCGEkyIg4EE158UBmnYFkrWtXZpcv0yW4Hc6UVaomF9r7O5S6Z8pw8SYE3zCf5Or55v8Oa7AZZXby92ume/8s6nfWFmJMFTWL2KhllsFY4k6TGWj/DQH032RRLDNAZWb5zrS/ADDHTH+aN+cg4yZiNroTLbL24dkjmdthIgwJq2U/sNaPI9/MrugKWzBU887RdbOkYTAFEOhhNU5+AwDTCcSPaExvoiseEkPUqzYyy2Cvvj7Jb+0DCLNazW4diXDc3IlIOs+chSQID1PUziD/gnCLAIsL5GAlJq3u6OX/OLu31KMgZ3Mgm9ckPhxdcsiTAQoiDMQEyAGCcMRePDiWRcdL33RGP9ieQIK/REqN44N8pDc/9YGKAjwn3Z0CyzFSBDLnZm4fj43f518tRUlwABFrm4J0lgYlKx3BzEbqadjgozLuQijb1dABhV6XoM0u8qzF6FxaO2FF12w10xDgYidJSDgWg8xgljDDtKs0MMP0hzAxTbn2R6Ka4nyfYk+PYxqo+CrpjQNkzXt/bLrG5kdmeZi/b285DXTy0JEGBNWq5Ta/K+i0+bIRGufLATqqRHvhWw0rSS4YKiWPhSdLvSVHj+5TeGRI97XMAaVpTlB6KxYZFW/QzXR7MSrbqTfFeC74pDdwK2jbK9CShft90ROERu8ajspFrDNL+eCbCm+QR/O6jh9Y8VIkktSu3rSbt731BuGfVqB2DpHf4Lrrw5DjAYZ0eTXF84itUrhhmiOVG94gcovjcp9CREWiX49jDbGRNah6jOCNRs6skyF8lMbgX+hGRMZwkQYE3n2d0nq3ey1+nbimt3wFKZ3RdceXP3KIW3BRN8ArBVOMbyQ6IxOEDx/UmuJ8F3xzmsXiX4jig/yEFTb7Sfgop1HUjlUjsCRMPaJzO+P78JAda3XYH78+x+g8+W3sXD8eh7Mvb2T6Td7eNil0xCtd0bmDf/w2U1IQZGaRhKMHGA4SQ9SLF4WzAp9IvqVXec6xRHRxQrWe0hrisKv3l0qczkFjN7Cvf285DXTy0JEGCNr5ypNXPf0afdE0hNfM3efozdAMujtnuRxnHvH/4aYmAowXUMj1EYWJhWUphon6RexVgJWG2jVFccuqJYyVJYvTidUOVSEpNwulvEBFgEWJMkILN6UXpIYJpQxSWlc014waTf3Vt4pV8vFurTuLRO72Ennlbb1DaUwPGiveHocJIdSHADCaEvjkd3nO+KcZ1RvjPKD9DQMpjsCMPFN9+nsHpRls2cP1NNnO4EWOmrap9cmuRN9ncJZICVVoWkyCZcV08il0ixFNTE9Jpv/43wO2scPrW9CClNxYccHeagL5IYpXkRWMJAAvriQm+M742NA6s9xLWHuLv++Kw+f4bc4lFYvVkmN9Gwpv1qJRrWt19v0+odkNGDh8mbZcYRmBp7UG33YxaYivTZJUhfiIxuS+FBSJ2HjB65DZcqlpmKsswehdWXZfYgQ2GW2aNxFu9u5SBjoSG3TGnzIX2+tK+ncQaximTI1ecGNE7386+9N5Dg+uJUdyQ+wkCIg85RZiAO/QnYPkp3R/jtY3x3DHoTcM+fnisoOwoZChQWj9LqzTIW7abW+7SaoN0J9gB5nACLXM2TJICMHoU1oMueoXOWIF2B0VWCVDlmV7FCn48UTp09oLYFkDbfUniQwoL7mypteKjsAbUjqLT5s8wemalIZtptAKfaEUAql9zi0WWXKG0+EVUFSOXSZgeQIfugY05p7R8b42GYhjBAf5ztDFFDSVy0r2OEHkjCEA3bx/j/lK+57YHHcssOR+psfU5plsmNdHk6ZwnuTzHdbaID/AsSYE1argf41YDDOK0BvWsGUucjRbazYA7KsmlMBVpzoTU7qLO49VavwR5UmbxIk5dlxAFZE9mksPqUNr/C6pv44A4iVVi9MpNbn1MqNZhQWL1Km89cMAsZcrODBz39z/d6YuwwC62DoUGa64+zwxRUNW5bv214S0/0i9qmBx5feuEN9wQOXajLK0PaHKTOVtp8KptPYfGoTF6Zwb3DnyM/TjMJEGARYE2SgMYezNIX6OyBXM9BemvRa2993NMXbd06sKW1r71r9Ivl9f6yI0zOoNFVorMFVVYMLIUV6zXI6EZGt8LqU9kD0iO7XCpKm0+fU4r0+Uidrcsu0Thx3T5kKNDlBE/5+aWdY2xfXOiJsX0JdgygYyy+qrHVP+vooplH+ecea/fOUdo9uKyo3YfULk1OiT6nVCa6rtR2v8JQJDO4FeZJX2eXn4E8OHUlQIBFru9xCeCQKGOB3u7xlR5eWbtpLCJwADwPDAuxOCMIwLLACbBl68DsQxbo7R6lqRB337IHVHZcm1hyZn39YlDZ/SqHV9KMtK5ipM9X2f1qR8DinvnqB8uGGQjxMMDAIAetI+EBCq6980GkylZiJ1eBwupVO0RaWYrU2cW4iLvFq3WVIE2ezOA2Z89QWnwEWF8v/6n+LAHW+HKd6nP57T+/wuIxOj0XXHbD2o1bOQABIDwWZxgOQPwBIBFnGBY4gL6h2BPP/9Oc7cP+I6NbcrpLfnfJW7+bD+PBOTTmAl12iTFvBlK5kKHA6p6DdHm/uObOERYGkrj2cT8NHRG6J8m+++UqpHFprD6diDZT/kxkLESmQmR2Kxx+ZMHOMuzmNxapbQGdLUg0rN2Iffpc5ARY02cuv/3FqrC4F5xy1rauARYgwfCJBCVwPNaxOApYCoAfHR4BwMBiAIbGEo8+85IprxRvDmrzssweSc/KMnuUtt0lIXuw012LXexyK079k8xDfU7p1iGqJyoMstAV47aHqUEWepLsQQtOyjIV2PJnIW0u0uZaCmdLPi+V3Y8MhXbPPLUjiBROjT0oNt3JQ7oComF9+8tgf34HAiwCLKleAo60UlkKBsYSLEA0SfEC1quoZBzTCtj04FmWZnmO5rG1GGdg1uEn2txzcCt5c5HSht3tyOjePbC82GmlzdXlBCVsIX2OPrf43S9qhmjoHGNHWFxBdJCCraOJOx/8c5YlV+vEXbw0jgBWsrS5MvEPiYUZAkibh4xutSMoN3mQNl9u8uymIzSZ4ukjAQKs6TOXu7wxTkijwWXUM7nHSFeodZWorLgFvNyQr7G5kcJc09jMigoUJx5FZAEAVrJ2GikzsbVz0Jzrl+mz1faiLFOBHgcrSOrVeM/BiSVrsoxFeJjcartXYXHrs/3zjjt5c8/oEAW9UW6UxTGi3WNcbXP3gtPOx4FapCAfCdSYIAECrOkNLCmZxi2Fp6dpFZRZgllmn8ZZrDB7ZcZ8uT5H7yicfehxHb3DEqoywBJE51WaXDvCSwCIMnDuJddqbAV6Z5HMmK+244hT0Y21a2Bp7CU6Z4neVaqwuJXWImOe/+1Py/tiXIiD3ijbHxc6R5kRGm6991GkLyRxVbu8CR3IDxJgTXNg4Xwa6y6AJXas8SrM3ixTgdpcYM7x3nrXA0xasZI4hZWo8X87K1nYaqQAnnnpDaU5V2svRIY8pTUTMrprYGUZvUqLDymz5eZCtd276IIrOkaTg0noDCX7YtwIA0NJWNs2mFd8OIYaiVGYoFwcyJzKfHcCrOkNLG86AXCiPZjSsJDRrbL6FRa3xubW2Qpf/Oe77I761DiudjIJMb8EgLEk/9YHX8qN2RpbgaQ0SfHuUguviY28JMNQYy9R2wJSS/qimUctr2/uDFFjPG6YKjKL7x7j5sw/BXusNHlqG+nkPO2vz737ggRYeyevDOmnzomUtIy/5kSTUGkL4n09EVhKcz7S2l97/9MoJYjW3y6UqTSwJiIMxz0kBXjt/U+N2V6dI+WWUtqk8PedNSys0EkOcrXdLzPmn3LOZWEe+uNC1xjdE2HHeOge48obtuhcAZXNhzf+FKTP4LS/PvfuCxJg7Z28pg6nMt9r18BSWEXlxeSRm4tUZrfcmPvqu5/SKRztBbBogBdffc9WUKyyFKhsHoUFB7uLfvddA0th9pryZuhcxaa80v4Y9EVhlMWjL8Z3hqimztGimUfIzUVIn6+0YGZNQYFnJE9O9r0ECLD2vUz3szW2M7D8WNUyeXHSnwFvw2ltXq296KkX30wDi03rUxPJNa5bZTzxHAAN8MIr7xpcPpk+5ZbKMntwqAHuMZEauC9OehhySlGWTWXzvf5BueRfH2WhbSDSE2FHWbj/T8/Kzfn67BK5GceCIl3BfibMaX+17O9fkABrf5+hb71idwsstSOYZSxSWr0aq09pKrzr/sdG49jK2xWt+HFcpf1cguihj3Pwz7c/1tqLsgw5SqtYgkaXL+YS7gpYFhztpbC4L7zmV02dY8MU1rC6w8wIgw3D97+sLD74OENOscLiQZocbK4Spztxuk+WAAHWNAeWpNpMpJ7kycqy+bJsOFE5y1yElSynX2Es6A/RAkAoFBJEX1YymQQA6YjxxOPBcgLNcByPXe4swFCE++niS4zZfqRxqGy4LhXSF0ihWFLguz6nTPJbmfJmyIyFKptH5/ItffOjUQZ7rIYpfBxMQPtQ8vd/XSo3F2Kj0oINVaQv1Dp2W1dr4jci5weOBAiwDghgTVRVJgJLqgMjAiv4/9NrHnjk6UicwXt/4agAEIsnpXh3jodoLJGxBAVxgzBJMTQH73203JztkxtzlaZCqZCeVGFG2itUWH1Il2/ILtPYg0ifn2Uq0Ll8v7jqtu4xrjcijDK40FVXiO2LQsXaNkNOQJ8d1DhwbT9LwSxSkO/AwdCef1MCrAMFWBlmSbWPkcUjt6eKw8gMbrUtoDAUuYsPaW7rpHmcLRhJ0BxAjGI5Hh9ZgDjNJSkOZ0RHYuFIDHMtSh1/8llyfY5Ml6syu/XZJSqbD6lzpIqjCqsP5/qpc1Q2n9Iqtne2e23uGZ9VNY4w2G8VESAiwGACesL8eVfchrIsprwZWLcyFKjtfq2jGOlJF5xpfn3uOaqkVxJgTfMLQmXyqkwpn7c05SlgGQvluK4LrnGMtPkKs1dvL0Zq1xHHnTIcpWMs9qYnOUiweGT4xQvYKmRYrHhFY4nHn3wOqSxKY57K7HYVzUEKh9xcpHEWI0OhzIRPpHLJMmMhMhRoHAFkyLvy1nvjACMM3hlsH0q29cf6ovDKe58jbbbDM0dCG64Aoc/HDCU+rMkenL1d3tPv9QRYByqwLB6E6xSX4uIwOPo8oLIGtTa/3Jh90hnnrd7UNkbDSAznPdMAIxFKyn6OJhkpuHRoeCwUCgsA/hmHmrMDSJMtN+Rj/z0uxpCncRZLhiFS5xjzZmqdQezbklt9c+YPJKA/zm8fSQwmYSCO1avmrrBn1nxcGEss9G7MLUOGAq0ziHR5KhspeTzNr8+9RSoB1jS/IHanYSmdQWTCZRWQoVBtK1bbipG2ENdx1+dqnO7ig+b/5bmXaze0xQUYjvI0QCTJS6oWLdbzk7ILkxT/zgdfaa1uhbFAY/VkmdwaRwBrWEa36M73IKNbZipS2/1qu1/j8D37z/dHWegYTUhV2/ui2Id13yPPqWwetd2Py5DqMfVUYtVjMUF6d2Vqpvms7e0yPnBeT4A1zS99lcmvMuH4gIx5lerfZfcji0eMxgrILX6FNYD0XoXZLzqhbFqnFxmcs4844epb777ixl/dsuT+ex/44423/aqqdg0HEBqLxRMMAMQTbJKHCy67zeAMZOnz9NklOKVGnSN53KXmFEiXL24O+n5+2S3DFHSN0RHAoQzdYaYvCsvrmwtKD5ebC5E215w/UwpoENvz5Kvt+MMcOEuRfNM9kQAB1jQHVrq0y47AQqIPS2by6nNmIl2hzOTVOcuwbWj1KmxFcqsb79bpXFp7kUyfbc0NmJxFKqPzkceeDicYmsfhWgzLUxzEWHjzP8scBWVamxdpsjWOgMyA1SupKpZUrwrXcc8tfuW9L3HJ9hg/xEBniOqJcj1h/p6Hn1Jai1QOrz67RCFalEqbT1THAshQIDdnUqmn+TTtyVolr8H+ViIFIoGMBLAilortFCM80+HpqVrvTq/C6KrbsJkS/fGRRJIRIELjccPt9yqNOQp9vsFZnKXDZWGwR8xRasidgXAcqfey2+7vCuOCosMMbA9T3RG2K8Z9Vd+ETPliZfc8nOooNprfR81ZCeCmpwQIsKbnvGYYtLcnuO6o2ZM2ITPR6l7s3tJm6xzuRedfPJqgaYAYw8RZFp+wsLJ2Q+mc+SaXH5dpV7o0Fr/SEkByJ9Lkal3FeTOO+O+qhu447i7RFeM6IvSIAG0jyR8vvkyTE0Rmtza3VDJUpRixlNFKNsiIBHaSAAEWAdYkCaQ0rJTPaxxYSJePDHkGl09udD3+7FK8dRiNMgCDkXiMhSgH9//hCZUpX2Mu0juCKrNH7ypVWf0aZ7HGGbztgcf6aRgFaBmKDrL42E/Dg0/9HRlyVS7R167JTYNV+ouTPlL6KfIgkQAxCXdC+AG+PDLAEuWQAZbflD/LmF+KdC61Nf+I40/uHAjh0u8U1rCSAgzHuQSAxpKP1A5rXhlSZSNtLvada3OVds8ANgPpYR6GOFyyfZiH9V0js487RWZ1Y7eXsxin76QmggCLUOnrJEA0rK+TTnoVHVCvGU+Wxo2d0wMpnFnmIhx/YM1HastVN/9qLMmHaS7KCqNxNsrBYJRb39ZrzS+Rot6zTAUyc4E+t7i2ubsrJvTT0Doa707yHRFmWyh5/nV3IJ1D4/Kr7DhwAWENC6Nq4hZB2iw9oIRPvuz/kAAB1v8Q0IHHrHFgZWgls/h12aU6rDFlI0OOraB43vyFVQ2bogyMxKkwzcUFCDPQE6JO//klSOfSZwe12QGFrejkxZe1DMVDACMCbAsnO+NsZ5T9pGZtyZEnmtwzZSY37qCTXSpqWARY5FL83xIgwPrfMjqgmDWhy45novMbGd0YWIY8jcOjNOfqne6Lrr4lREEC8BiMUqNJISbAZ6sa5hz9I6RzIbWt7IgT311W00dBZ5RtCyW6Elx3km8fo352xU3YdWUuwB3n9Xk433BXGhb2/ZOWOcRlMVkCBFgEWJMksDtgYazgMPQiPa4kY9PaCx2Fxc3b+6IcDMWTERaSANuHwqMUNHUNN7R0rd020Li1v5+GraPUIA99DHQn+c44V9G0XZcfVDp9SOtSZxcrnQEp33Bnk5AA64C6U+7hlyXAmrRc91Bq0/hlCodfm1uKzG6ky1U7Arg3qrFQ6wyqxBOFscDg8inNuUpzbkHxQQt/+vMICxFOCDMwRgujNIzSMEThMZDEozcJPQmhK8F3JTCtOuPc4aec7So9VO70I2uR3BFA5iJk9insxTKTN8uMo7eMObOQMlvnFIPmDaTiKLk+J0mAAGuSOKYxifbwqyFjAbIUYWaZCnXZJTKTGyfr6PKQNtfoCuKyoubcwxaceu3t965qaB6IchEWwiwfZiDE7Ais/sSOwOqIC60h5uO6TRfefO/MY09DVi+yerU5M5EyR2kLIkMR0rnVtmKV1S834cxEkpqzh7N24LyMAIsAa5IEFI4AMhaqHalKpEiXp3f49Q6/1uY1Zwdc7pm/ffip+g3bRpMQEyAO2Ncu0UoC1hAlDFEwmIT+pNCbFHoSeEjqVUdc2B7jexnYnoCmYebzhrY7//i80TNPnTMjyx5UOUslPQvpcWYPLrJsxuWbD5ylSL7pnkiAAIssiUkSUDgCmFmGQrlYOlln98kNuDW0XJ9z4k8Wb+0KRVgYivEhCiIsDMbpDLBGaV6klYDrxlDQmwZWdzxlDG6P8dtjsHmUbY3C5lFu4yC1ZRQqNw8cctK5yOpH6lyFvViTPUNlL0baPJU9oLb7s0zuPbmIyWsOHAkQYE1argfOxO/umyJNPg5PtweRocCUXao2udXmguzCskuuuo0CGI2wYQp3ew4zGFgRFluCIQa7rkTvlTCY5PuTQv8E3QqrVzGhI8q3R4WtUWFbArZEYcuYsD0Jm4a5NV2x9hicdfkSR8mRMrFNjqnwIKTNFTMKxwMsdvdpyeMHmgQIsAiwdpCAHxmKDNllWfoCgz2IZKbjTzrnmRffiCYhweCuE/0jURoAx4tSzCjFZGg1QmFaTQRWdzzla++I8mlgQUsYNowwTWN8JweNvYntSWgaEtb2UH/82zvzfrQYKbMxtsTyzbieBAlrmLypf6DhaefvS4C1w3I90H/U58zERbLMXrXFq7P6Tzh58dvvfcUC0BwkaAgnuBjN94UicR7CNBvlRd2KgpEkHtgYTGD1qi/Bd8fx6IwJnTFhewzao0J7BNoi0BKDpoiwOQZ1vbHNEdgUEppGYP0Au2UUnn79i2MXXYLMXoUziKzeLJsXmYlJeKBfkDswiwBrf7ggPDvMyl7+KJXl3N1xT77geM4g0hVa8mcjdZ7JWZJbNHd55QZWtASjlBClOFwMCyDGQf9YlALoj8SwMSgCK+Nr70vwPQkBq1dxwMZgHLbHYGtUaItAaxRW90a3c7B2mNkUhqYINA6ym0KwaRTqOxIdFLz6eYM1cFiWPYg0OZqcUiTWw5JydCYe5Zbx8l67lFWmWuEun82Ussk8qzDvVnoT/+7/fNvMG5KT70gCBFh7sp6/w9eIyca4E9+OI1OLCp9kkux2eRLE680sNlve+YhtCskZtAMWxyGFfzczTD6NxS83FJqcwfc/Kg8lcG7zWJKPcdgMjLJChOEjNI66GqMhxGDFSkKVqF5BX1zojfHdE1C1DdMKo6olDFilCuOxYQzWh6AxJKwZgTUj0DAMjUOwYRQa+4VHX/lEXzgPmb3IUIS3C81elRlXvMFDbKgh9dQQy6juUhqYZZm+GxncSOsnVcRGDKeQziXZqkxYhgrzzkdcrzX1d8XPQJj1HZFoD9+WAOs7hNEezEGqE7LYPXQytr4fYGU4JZ4ozEG53p2lL1Cb3Evu//NgGBdjCNOc6LTioywfZYV01BWERN1KChNNGYMJDKzuOHTFoUMcEq3aYhhYmyOTgLV2DBpHoWEUVo/g0TAMtf38pjGoao9fefdjCtcMZPCoXWU7AyvNIEwrKT4+dZRgjZOov25OM8ySKimJz2sAACAASURBVAVKnBKBFRSBhY9yTC5pEGB9nTC/XtTfxbMEWD/sfGSAtaca1q4ugh3NGZy0bPVKx129XvrKk1d7uliC2uK1ZJf8/KLrt/WGMacYGIomQklapBWPacXykm41SsGwGNc+mPZe7Va9iqTUq+awsCkMG8eEDWOQAVbdCOAxCHUDwtph2BKDT9Z2n3zRLcgWRFbfRL7sfC6FnuKoiMyw+ZE00o9kUrgnZ/+k6txL1NuBfTJRGhNej7U2aexenj/shXSg/HUCrB94pvfSJNyjTztxYe9+gWWA5RVXJj7iNWksCM6e/8nyOgpgJMaMJmgKIM5DlOUjDIdpxXDSzuCOtErwono17mjPGIOtIrCaw0JzWNg4hkfGHlw9ItSNQO0wHg0jUN3LVHdR64bh75+tts1cgJylmD6iBfe1xzSwMKqC4tg1tiZUsJnUmCMjgYkVdSaQLlW+effC3KN5Ib/+7SVAgPUDX2o7uq4yzqz0LT1zb8/c4SfnJ3u+9kfp2329lST5tvBRYXHrnUXX3nbPUIzFFWMo7LGSgBVhuAjDjYkjHXWV8l7hnUHRGOyNQRfeFoSOKGyPYtcV9l6N0wqaxmBjCPuqMLBGsfdqtUirmhFYHYaKPrZ2GCp6qPpBYWVH/MwbfqsonIds4zW5MgSRlMeJXE6dW/zIGpw4ZJZgeqTeR9Kb0oTCJBIFmDlKj+CcocyQ4bfN/PoPfMF8+zU/pd+BAOsHvv72Clji9tbXE2rHZ8Wrc3fAEp3xVjf2ylvdcqtbYSkoKJ67prmNAlyDISFAQoBQkh6OJURasWMMN0rzmQzn8TgG7LpK+9qj0rbgOK02R6A5LDSNYWBtGMVj3WRaVQ9D7Sgs60qsiULlIL+yh64e5F+tbFH7j0TWnTYT0tbrDigXf5Qc5xkPVMohtYPeJNqPKR7tCvc7MyutwVl3J8kf+Cqa0gzaqw9PgPUDX2q7ANZudCtpf0o24c4vqQBpRWNHVElLUYoASK3tjPqWOnGLzv6C9LFAYc294ubbKYAoD0PxRIwTKIAYz8V4boxhxxg2RLOjND+SThgcSIKkW0nGYJcY0d4RxVFXW6M46iqtXmFUpbxXOwGrehiqhqFikF/Zz1YNw/IeZnkPUzHI14fg9Ot/gywlCnNQZSxRmdJHU1BlCqqNQbXRLw2N0Z8Zen1QGjpDUGfAj6uNKfe8JCgsNJsX2TzI7sFHG5bbhI3U8XNRgCK8xLKrouJGgPUDrxcCrB94Ar4psMY9O2lgSUZNavllFuFO7y9BKoOqAoU1LzNU1uyukRAF0BeOJAGXuBpNJobjsQjLiMAaV68G0gVk+uJCXxxnOEthoh1RnDCYibpqFXcGm8VQBgws0R5cNzq+P1gzAhKwVg0LFSPwRTe1YkhYOQSfdsQ/76I/bwkja5ncXKYwZUaJwoQHRphEsRS8MMI0Bkwrow6PNLYws6RWslL4FSa+yKnMMSMr+WSgT4izl+zBYNoZ/wNfM3ulkkyzFxNg/cAX367sGjEq0uRBmjytM6hxBHCBFz3uhIyM7ixrQG4LIqMP6fG50lGisOIaeFLjUrnFm2X2KC0+makIGQqUVm+Wya00FY4Pc77SnK+y5CnNuRpbgSUvkB+c45lxiG/WYbMOX3DkwpNjAsQEPspzeHBshGUme69S6tUAhXUrsdwV9CSgOz7uvWqPYGNwB/Uq47paNwprh1Peq/phqB4WqoaEShFSK4aE5QPw5YDwVR//eR/3eZ+wrJsNHnuue+6prpITXCUnOIIL9IWHKVxz5M7ZSO9HthkKx2xkLkXGYpl1hsIxU2kt01lmKLUBtb5YZypR6fxKrU/SwhSGIrUtoLEH5SaPzFiYZS5S2ny4orzdj8QUa5U9gB/XF6gtRTq7LxP5JVma2Oe1Z2ET0wwQ+9vXIcDaT4Glc5YoLZhTSJurtvulvu1Kiw/jyRrQOGZonKUykxcZcbt5pMmTmzwYbSavuOS8ekdQZw/oHX61tVBtLdRY8nEh9qN+dPaFV11x46+uuGnJlTctue/hx979+Kst3YMRFmLpQjEZYEU4dkdgiSX6hihhgII+XI9hErDEDOdJ3isp8KopAptEX/v6EPa1r0tHitYPQ82QUDXEi7TiyweFFUPCV4MYWF/0w2d9wqe9/Bc9fHkXV95Or9hGfdkSe3VV669f+O/Pbn342Atu//Hl95x4yV0Hn3lN3pFnqv1Ho9x5yDYD6X3IVILMpQrH7CzbTGQskdvKdK45KlupwhxU24rleo/C4DU5S3XWgFxXqLH4s8w+ZPZlWQNqR1BtC6jMHrmuQKbJUZs84sAxqOkgVdGb9r/ivPa3FT7NPg8B1n4KLGQo0LmKFRasDuD28RYP0uUprV5cR0HpQtpCqfEf0hWobQFH4RylqShLn6cyFpldxTqrF6lc2e45Pzr9/L888/JTS1974eW3X3v/05rG5qEYjgWNcjh+PcrhMKu4AHEOF+GLc7gMQ5QXorwQ4wQpjgGHMtB4hCg+REnudgwsqXpMdxKHiWL1Coe2483BjPdKimuXjMGNIqowrURfe8MIrB6G+iGoGYKqIQF7r4YwsJYP8iKw4HMMLPi0V/ikh/+sT/iwg/pve+LDDurDDuo/2+Lvb439d3vy/a3xtzaPvVCz/YH/1t689KMrnnr74kdf/cUfXyo96+qs0gXIWoZy5qCCQ5BrFrKU4mGbYcg7VGkuRcoirbHYZCnTav0aQ1BmKclyzECWEqT3yAw4mF5r8ZmcJRqjRxpqEVhivLuYUUCA9bVxud81Hwmw9l9gZZncSJcnx821fPrsEulHhdFtyZ2hsweQJldl9hjsfpWxUK7PMdg8KkPe3INPePjR5zc0d3X3x7r7Y1KJBRpwlQUKgAGgxWMoybCAdwApHj9OCzg9MEbjQHYJWFKYaITBjbzCNDdGCxNoxadpxWeAlaFVezpnMLUzKObiSIk4KdeVSKvVYuAV9l6JwFo1wK0Y4Jf1C18OgKhewae98HEPfNgL73VS73RR/+7jPhyEDwbgnW72je3JN7Yn3+7i3ukV3urmXtmW+HtLZOmW8NIt0aXNoWfW9Dxete3Z+q4/fdW06NdPaQ85HTnnorzDkWUmssySOw7SuA5RW2arTTO1plkK4wxkKkWOWchUjIx+lXOG1lWWZSxCmty0hoX1LJFWfil9JxMP8V2vTPL+u5QAAdYPDqyJCXHjEdVaZ1BuLtI6gzpXMa5QrM/XOv0aq0dpzNPbPVk6p9HpCc4+0lN88LELz3j48RfGYpBkgRWAAzwSNCQSgiBANMFGKZbiMJuSrBBneEbA/OJETiUYPs7wSVZIciA9jrMFsXqFI7DClBCmMKpCFIwmBSltUFKvehJ8d1KsHiMGXqWAFYFtYbEkQxiaxZExBiVa4cCrYRzXXovtQUyrykF+1QC3aoBb3s8t68fG4Oe9mFafdMNH3fBBD3w4DO8PwFvdzGvbqZe3xl/eGn+1g32zD5a2JJZupV5qZ5duY17cSr+4lX5hK/N8W/KF1uTTTZGnN4Wf2TD27IbQS02xlzeGX6juXXzfi3nHXSQPLFT5FyL7PGSem5V7JLLMRfY5soIjFO4jkHM2MvmRwYMsHl12qcKSTmDEOYzSHBGT8AdeLLiF5S4xRh783iQwObF5HFhKqxcpnUqrV2XzaRwBpM2VmwuRFnPqp+dcdPl1t/3fb/5Y29CEC7+IkGJ4EAAPlgOOBZbBR5AeAYHmOQlkSZZJMCwjAMXxNC9IkML6Fwcxih2LUxKwIjREaBw4OpaEEIVHJslZLM4n0YqTivNl1KsMrVpEWuFQhrFUnnPKGBwdp1X1IA65qhBptbKfXdbHL+vjv+wVPusRPu2Gj7vgo074bxe82c6+1cm+2yO81wfv9MAb3fBap/CvDjxe3g5/b4e/tXHPtXDPbmGf2sI8uZl+rg2e2sw+0UQ/sTHxxPr4c83UC03UX1cP/6OJerpu8MU1oQc+2LDw1idKzrk9/5SrUeBEVHgkcsxFrrnYC+aciezFyB5AuPnFhGQpKWmRON1/UGNQWpIEWD/wTWN3wFLZfJIliOR2a+FMl++gC66+8+9vfPjaux919A4yuE08JhJWlNKoYhguHo/zPA+AB4e9VTzLMwxHs1iv4qXB8hyNkQU8CAzLUzSbpBiG5Tkev1uMxsUYRFpBmIKxJIyKQyp3JRVr78FdcLiuBNORYFO+9ii0i+pVa1hoCeOColKYqOS9kmg1Htc+DNVDUJUBVj8rAeurXm4HYH3YBf/tgH+L493t/DvtwpvbhNe38f9q41/bBq9shZda4e8twostgEcbLG2DZ5rhsbXM002wdBs82Sz8qTH26LrEE030Q3UjjzSOPbox9vvVgw/W9T/eHL1n5bafPvrmL//8Rtmia2XBBSj7IGQOopxZWvc8ZN0hOIuENfzAyySjQBBg7fOZyEQejr+zWBgAJyTv7AGZFNYg3tXFDXW3ylKANA6903vcSWfVrd/a3h8eiGACseKQ1CWOxxCSFCuaprFCBTzLUDzHALACz3IszXEpVNEslaDiFEOzPMfyHEWzLCdIDGNYbC0mKS6aZKTqMRKwJPVqVCzON5wYby0hGoNcR4LtiHNSpfZMKENLRNgyhnMGpUjRTJKzWENGSCXipIFVMQirBoSV/fyKAX6XtPqgA/6zXfh3O//uNu6drfzbW4W3t8Nb7fD6VvhnK/yjBf7egpn1Ygu8sBmebcLj+S3wZBMej28Q/ryOfawZ/rIZfteY+MN6+pHN3ENN9G83Jn67MXH3mrEl9SMPro8+XDPw2483//Hz1hv/9mXBqVeh3INRzkEoZzZylCFHOi1RzMuR1owU15ZeP9hUTNWfkdq+Wt0yPKRrQAxP2Q+0kvSnHb8gp+4jBFj7dhY96UIxYr6LJRUnLWaiBXFdOmOqB5/CGkD6QpXVr3YEFDhaqkBt96osBTJ9tsnlzfPPKjvoyCeef2ksTnMA4TiVZDkBgEsrUxKkRELt7sDv8IQgCDz+BywnsJxA81g1o3mgWEgykGAhQQtxRvRepfsMSo52Ma491VqiPzGpz2BHHJdpz4SJtkSE5gjfNMZvCvNihjO/blRoDAkNw8LqEaF+mBfjGHDUlYSqFQP88n4h5brqEz7rg09EX/sHPfCfbvh3Fx7vdsI7HSBySnijXXitnX91q/DPbcI/RH3qxTb4Wys83wLPtMDTW4Snt8ATzXg81gR/2QR/3iQ8sgn+sFF4aJPw+438AxuE+9dz967j713H37Oe/7+17N1rmF9Vx+6pTd5Tk7ivJv77NcklX3Yd8+t/oCPPQ7NORZ6jkHMOcpQpsks1zqDaUqQwZGfpHWprvtLmQyYvMgTUphl6Q6lO49Eb3BpTntyWi+y5yJ4ns7qVFp/ajOt5TV067IefnABr315PErBwsovckmr1LmauBUVvbkDpmoH0bq2rTGUPaB3FSJ+vsnmQyqawFGjthdb84BHHn7rkvofKa9YkOVGZ4oR4MkHTSdHKY5OJyA4Y2sMfBQEEAXgeD5bDgxYHxWJgYVqxEGdwlAPuijreZ5AfZnAvnEE6E8ogAisVxyBIwGqLCbg+X0SYCKwNIX59CANrzSjfMIxpVT/M16UDr9LAgmX9wld9qZ3BT/qET3rxzuB/e+D9HnivG4+3O/F4qwPe3C68vl34Vzv/Srvw0jZs/b3YBi+0wbOtwtOt8FSL8FSL8ORmeHwzPNYMjzbh8cgm+OMmeGgTPLgRHtgAv1kP962He9fBPeK4ay3cuRbubIQ718HtDXBjNX1zdfKOeurOqvDty3oXP/Pl7Gv+qDliMfLOxxEStgBuoZgd0Ll8CkuBDMea+jXmMrWxRG8sNpoDWnOR2povAitPZiuQW90qk58Aa58jjwDruwAWLsU3GVh+fd5spC1AZp+5YDbSF+CgKlORwlhgySvW2DCtfnbhlf969+ONrV1JAZIcdicxQkqlAuAFgUubg3vIqEkvk4CFvVQTgIV1K26cVnFGdF2x/BjLi71wcGNUqc/gxLj27oQUdZWpfYy3BXGxdtEYbBrjU8agWJIBx7WP4Gqiq4egflCoGxKqB/nKQU7aHFzZzy/v577q47/o5z/t5T/pEz7ugQ96hP9i9Up4v5N/tytFq7c64I12/rV2/p/buJe38bsE1pOb4UmRVn8RgZVRr36/cRxY965LAev/1sFda+GORuH2Nfwtq9lbVvO3reFvqWdurInfVpu4u4F+YG3y3pUDN7y95rTf/rNo0Q3IdxxyzEE5c5GjVJlTpnWUKnQemSpPacDNE2V2L3L6kKNIZsf1XVUmr9rkTacx7tsL7EB/NwKsfXwFSKiSkmlTWX5S6qyuUJ9TprD6UJbNnD9T7/BrzEUmlx8pLIsWX7yqbv1onI8yOFQqYwbSvCCZfjzPsiydTMYjkbFJHNqzHzLqlUgrAatXoiU4UbeKMxCTfO1pYE3UraS49h4KJtAKt5bYHkvRqjUstIq+9s0hflNI2BQScA2ZEQHTalhYMwgNA0L9oFA7yNcMcFUDHN4c7GfL+7hlfazoveI+6+U/6eE+6uE+7OL/0yX8u5N/v5N/p5PDxmBKvcK0emUr/4824e9bhb+1Ci+0Cc+2Cs+08Fi32sI/0Sw8vlmQdCuRVjw2Bjfwv9sgZNSrX6+Fu9eCRKsljXD7Gn7JBripjr6uKn7jauaWRv76Ouqaiug1qyJXfNF/w/KhO8qH7lrRv+TTbec980XuOb9CrsNRzqE4sMtapjD79baA0RVUZnuRvRBl+5DLL7MV41RtQ0CtD6gNPqXRR0zCfatkEWDtY2BlpmdCTjL+E1miU1ZmzHe4ZyClTWPJNzu93tKDt2ztTYpBUpI3PU7j+IPRUFhyV/EgUAzN4cdSe397xqjxV6VoJSprknqFacXtZAmKtMIBoowwwgrDTMoYHKBwn0Gph3N3UsAR7Qlc/lgszpf2XoWhNQwtIdgcguZRATeVCMH6ETzWisXaRWDhgqK1A0LNAFfZz+4ArC962E97uI+7WQysbvY/Xdy/O9n3Ori3O9i32gXJGBTVK+HlNu4fbcLSNv6FFv75Vv6ZFv7pLdgSlGj1WDP/502CpFs9jGkFv18v/G49/HY93C/qVr9eC//XKNy1FpY0wh1rMLBuXcPcuoa5eQ1z4xr2utXsNav5a1bz1zbA1fX8jY1wXS19+bKRq78avqUict2XQ5e8vQkdcSEKnIRcByNbGTIWIrUVmRyyPC9y+ZGzJMsyQ2GcodKXqvXFSqNPbtqhjv53dbFlrrppf0KA9Z1cQzvQSmHxaJ1BpM1RmPJMLi9SWBaefPa7//kyyWDTLxqjBIBEkk0kWfGElhSrzJHn+WQymUjERGfWOIz25GxnYxDTaidLMBV1JQJLotUgzQ1QfB+N49p7KKE7KXQm+M4EtCeEbbEMsERUibTaMoaBtSkkbJQKyAxPNAYxreoGhJp+vrJ/XL1a0YvVqy96WKxedbMfd0vqFffvTv69Du7d7ezbHbxIq5QxiNWrrdzSNv5vbdwLLfxzEq1E3eqxZv6xZv7RZolWfMrXvgF+t0HAtFov3Lce7l4n/F+jsKSRX9KIvVe3N8CtDdz1NbGb1zC3rOOuW01fWctcVs9eVMOctyp5ST1cUMX9YhVzQQX7y0rmlyupX5bHL10eueCd1gUPvmU/9XrkPxoVztYE5qrcpcicl2UPZllLlaaZKsMslXGGwlSy847wtKfJ9/AFCbD2MbAmVsWU5k/cCHfLjblKY47GmqcxZ7/21gctW7s5AAqjCf+jKEo6SSaTPM9LMQrxeHxsbCzzlPSCvT1KgQuS9yqzLSgZg3hPUPRbpWmFu+DgwscMDNKTHO0Tdat2Ub1qiwlSawkpRnSLWJxvU2i8oKhUkqFBzBmsG4TaAajph6oBqOjHcQyi90pIRYr28p/2Ch918ZIx+D6mlfB2By/R6o12/vXteHPwla3sy23cS23si63c31qF57fsCKy/NAmPNgt/2ohpJapX/O/XCw+u53+zTrh/vXDvOmwM3rUG61Yp9aoBblnN37EWbmqgr6qOXVwRuayGvrIRrloHl66FC+rg3Bo4rxYubIQLVsM5lXDWSu68Vewvl0WvXj5yzhsN/pv+hA4+GTkCyOLVOEv1xmKTvlinL1MZcT0cnJxo8yN7QGp18T2s5APkTxBgfWfAwlFXOGlZYcFBVXq7W2fNX/iTsxvWbw5FMKhicYZjgWNYwA51HD/FMpQUVSXGH4zHJbAsS1EUy4qh63tJrB2AJRmDSQ7ijBjEMBlYo/QkYImuK6xbieoVNgbb43hsjYO0Myj1wmmKQFN4UkmGTPljKWcQZ+EMQuUAHqsGYMUALO+DZf3wZW8qEQenDXbhuPZMHIPot4I3OkCilei9YiX16sVWIa1ecZL36vHNwgT1Cscx/GEjjmMQ1SteUq/uwV52AaOqUcDGYCPc2gA3NfA3ruZuaGCub+CuWwNX1cPFtfwFtcIFdbC4SjivHn5eB4sq4fSVcGYVnFUNZ62CC2pg0Wcji1cMX1k7cspLXxgWXYPyDlU65+p1ZWYtrsOlNuKizLiuvCNAgLXPMUqAtY+BJbcFxXpVblyjCldcCGhsbqSxq02u3z7054HRGI5NZwSeE7NmMH14ENjxMe6rkpxWe8mn9MuF9D+Ox7uNjJCOuuLGdwZjLI5jiDIQZgA3wqFwG2cpiGGQhkEa15DpSfCdca4jxm6P8e1Rri3CY3swgZnVEhE2jbFNEdgo9hlcF4Z1Y7A2DGtCUC+m4ODifBlUDeGyopWjsGIQlg/AV30YVVLa4EfdGFUf9cP73Tje6o124Y3t8GYHHq93wqvb4V/tgI3BVvbFzQxOtdnCLd0Kz7Xwz7TAU1vwzuDjm3F0qORuf1ik1UOiMfjgOvjNOuG+tfDrtdgYHHddYWMQblkNN62GG+r46+v5a+v4q+qEK2r5S2uFi2rhwlo4vwZ+Xg2La+Bn1XB2FZxVicn10wrhzAo4o0r4SRX9k1Vji1cOnfPehllX/Qk5j8wyzlar/RZrsc7sw1Fadh8yuVX5s4iGtW+ZRYC1j4GFtAX6/JmSbmXMLUFys8qUWxiY85cnn+/pH+EAxsJxDgeBAk2zODtZmAwsgZ3gXx9XstIg2tP/JV7xIEwEFjWZVhKwwpOB1ROh+hKsBCycghNjuxJ8DwW9DHQlcSnR1jAnhVy1RATcGDUC6yOAaRXGtGocS9FKqsRQOZSOZRfdVaLHipeyBT/txhnOqSTnbnivA97rgvd74d+98G4PvNElcQr+0cqmxlbu5e3wSgf8rVV4YmNSDBOVAq8ETCvRe/WnJqxbiWGi8MAGAdNqHf/rtQI2BtNRV7c3wm1r4OYGTKsbG+D6euHaOri2Dq6qhStq4dJauLgGLqqFX1TDedWYWedUCz/DwBLOrOAXVcKpFXByJZxYISxYSZ1cSS2uiJz+j9WH3vK0quxUZCi25s5ByGJ0BVUusUeZq0QsUrqPr7F9i4Cp9W4EWPv4YtK6ShRWvD2UZXLL9NkGR1Hx7CNef/vDBJ2KUZBoBQAsy+LAcwlYqZQbaaswsyH4DYGV1q7wW0vAwmVk+Am6FQcSrSJsSr2SGuGMUEJYgJAAwywMUNAV4zqjbFccepLQGmLaxtitUexu3xaHtihsDvEbR1mxjTMOZ8cBoqP86hGufpivHmJrRnBfidpRqBkRdashwCX6RN1KsgQl9erTHrGMTA+834mD2t/qAClV8F9t/KvbU9j6VzvgncEt7Iutwj/acWj7k5uopzbzTzZzTzQLUpioFMfwyCYcyvD7jSDtDP5mHYjqFd4ZlBztd6zBtMLG4Gq4sR5uWA1X18PVaVpdXgOXVcPF1cJF1cIvq/gLqoTzq4Rzq/hzKvmzK7mzKtifVnA/qRROroSFlXDMCuGYFcJPauDsquTZH22be/fzyiPORI4yXOlBX6i3BbOsAWTxEWDtWyASYO1jYGWZcck9mbHQ6ArqbIXBWYe//f6ncdE3FYnGE4mUc51lRfUKK0x8OiJUotU+0LBS6hXPcwKfcrRPoJXUcR6729O0kvoMjlDCCCX0xbieGNsTY/uTwiAF/TSufbw1RPcz0ENDRwxaw8LmUa55lNsc4reITQY3iBHt60aFten2qGtCUD3IVw/yVQN4W3BVH1/ew0rdJZb1wrJe+LJX+KKH/6SL+6iD+7BD+KBT+M924f3OlA9LDBMVXtsGr22Dl9tSsVdLt7DPNtFPb6Ke2cw+1zKBVpJuhX3tKVo9kNkZHDcGBey6ahSwbrVGwJbgauGG1XBdvXBVPVxej3WrDK0uFml1YSV3QRV3XiX/80ruZ5XsWRXMGRX0TyuZUyv4kyqEUyrhxFVwxDI4coVwTCV9woqh0z/ZcuTDr6GyEzWB+UjrVpsDKmtQZtrHV9e+XfxT8d0IsPbxJSVVB1WaCnW2IpOz6NG/voCrUyW5eILBcOIhHA6Ldh1Ps/iRyQbgTrpVJrQhcyL+ztccxtWrNLAk3SrJ4Sp9mFZSCo5IqzCDdwZHacC0SsJwAkIc9rv3xfiuMINHjOtJYA2rZZhqGaXbQnxrWEiFtouBV1vGhE0hbsMIt26IaRxkG/rp+n6qro9uGMbR7bWDfHU/W93HVfdxVQNQPQjLOik8utkvO+lPt9Mfb0t+1E59uJ3+oJ15fxv1bhv1VlvyzTb67W04AuutDniphflbM710C/vyVpyO8/Qm6slN1LObhSebhZR6NTmUQYpj+O16uG8df2+jcE8jf9cafkkjj4PaRdeVpFtdXy9cXy9cXc9fXg+X1sNldXBprXBJDX9xNXdRFX9hJfeLSva8KvacKu7sSvbMSvanlczplcyplezJFcyJy5M/LocfV8Ix5XDoCuHgVdwh5dH5X/T8fGV/2Z3PoqLjkOOgLMsMrbVUYyaBo/t4fRFg7WOB6lzF2isX9AAAIABJREFUakuR1opTYe+460FWgEgUh1nhoi8AgiAwDCPm2WBrkGJwBZhdDok76ZIwmdowqTCI3QFrIq14EViS30pMwcGJzbjclRTRLrquJFpJwBpOYGD1RtmBhDBE4SapONU5ynVG+c4o30vhjByphgxuMBGGzSNC0xC3aYhe1xev3RZa2dz/2drOD+ra3q5ser18/asrNvxr+cZ/Lt/4annTGxUt79a2/3tN74cb+pe1R1Z0xJZ3JpZ3Jr7cLo5O+sseFsOri8E6Vxf7n+3MO63x1zZH/9kUfbcHXtkGoj2Ioxme28w93cThYFFsDPLYHmwW/tQkPLKJl9ztD64Tw0TXY+8VplUjt6SB+9UaiVaC5Lq6YbXkuuKvxqjiL62HS+qEi2v5i2q4X1azkm51biUj0WpRFfuTKu6USvbkKv6kSubUGvaE5ZHjv0ouLOeOWQFHroTDq+CQSuGw8sSxXwyd+VFH3lWPIPdxKPfQLKNfZ8b9paeiIrPffmYCrH18PSGVS2f3aSyFF191i1SviuWwnwoEGBkaFgOscGIgz+MYUYrZMUY0A6RvAywpKmIisKT0ZqmOaAZYYlx7Sr0aTvJSV9SRJPSF2c4Q1RNh+xPQOcau6xhdub790ZfevefRv1125+/OuuL20y668YzLbj376rsWX3fPGZfcctqFNyw854qjT7/wkJPOnX38WcVHL/IfeZr/qEWB+Wf4jzm7eMHimQsvOOiUSw5ddOURZ199/C9vXnjJLT++7I6Fl91x/KV4nHDFXSdeffdFDzx3y/Pv/uWThlcb+95rif67Lf7vtvh7W+mn1wy/uJn5+1Z4fjP79Cb62Wb2uS3w1Gb+iSb+L03cX5qEPzdhY/DhjdxDG/jfb+RTYaLr+HvXchlg3dnA37ZauLUBG4M3irrVtXX8NbXCVXXCJXXcxfXcRXXsL2uZC2voC6qY86u5c6tYbAZWcT+t4k+tEn5cBQurhAVVwvGV/Cl13AnlkeNWRI5fmThmGTV/GXdMORxRDsdWw6z/hk5aHjvr4079OUuQ71hk9BnMPhWxCvdpgR0CrH0JLIXFo3f49Xa32pSzrXNoZCye0a1YmsExVnhzMMnhelWpcnoZUy9zImlPOwJL4MTaVxNzdHaMe5B+hU9n4UjudskSxMZg2mk1vi1IQ4iGUbGaKC53lYCBOHy8cs1vH33++NPPc884vHDmkcFDji+cPd/mm2fzzdPml8lsPmQuktl8WXY/svqQwS234zpfyFwkDp9YmmJiv/hiZC1OtYGwliFbCS574Ayi7BKUXYqcxbjmlKsM5c5E+XOVgSONs0/UzzlRM/ME/Zwf5Rx9lu+Uiy9/7K1HPtv0Zgv1egu9dH34pab4S5uSz6yLPrsh+eSG5BMb6Mc2MI+uZx9Zxz68lnloHZsJE8WhDGv5X63hRNcVf/Ma4cYG/sYG/voG4brVOI7hmlruqjru0jrmkjrm4loMrF/UsOfVMIur2XOq+bOq2EVV7OmV3CmV2Gl1YoVwfCUsqOAXrkyeUB45sSpxYg27oJydv4ybvxwO+wJmfcIdVwtzPgqd8NnQya83ohk/QY5ZWgvRsPbl+iIlkvexNBUWXG1da8l59qVXKB4SDM0JrGQAjgMKYwsrWWJ0FCbXTvadSCKBE/i0A57nxEAtnqHjAo+r+Ak8jc9xrjTPA46SYDissvFivBXFQTTJJFkhweIeEyMUF+ZwI69RGmICRDjY2hde29K7fttgeUPrI8+8duKii0x5M2QGt8YenJi8PaEfMhbUxHyjzPkOtkPqcTHfe2LQv3SexpnUJn68/zsOCpeGVaqZN+Fox+GXyOJDFr+xbMFxF9155/MfPP3llkc/3/LosvanakaeX5d4qjH510bq8UbmD/XUg+vg7jXc/zUK92yAO9bxt64VblkPN64XbtggXLuWvaI+cd064YZ1cHUtc00de20te2UVfdHK2C9Wxi+q5X+5GhbXcmdVsWfV8mdUs2dUs4uqmJ9WcKetglNWwknSKGd+tDJ+TEXsyAr6qHI4bBnMWwYHLYd5y+GgZdwhy7lDP4uc8Elf0V3/QHlHyp0zZRbcfhWZ8Xah1FMSbyJPVjom9uXe4Sny4w4SIBrWvmSWwuLW292zD51fu2YdI1agEoDleIrlkmlgpeJFJVpJxNklsMSqoZhcNJWg45FUZCmwIOBqopnBCSzDpexKmsel/igePy0dYyyGVARwsdAVDZteeP39J//x5l2/e/xHZ16ocfhwr0MrVgGyjF6ZwSM3BZSWwA7Xxw/7o9gJwm1w+fTZQbnFg5ONzT5kLUHmEuSaZzvinGOveuj8379xyeMf3vRS9e8/6/hrffSR+vjvGhL31Ybvqh67Zy19XzMs2chfvzpxQyN9TQN9WW3s8rrk5bX0pZXJy6vpy6vpa1bD1avh0jo4v5o7exW7aBV9RjX3s3qQaIV3Biu4n6wUJGD9uBxOKucWrkweXZk4ooI5vBwOXg5zl8PsFTBnGTt3OVv2OX1wOX/o56GSx79C885EOfOQFYdiZYCVZQ0QYH2bi4oAax8DS2nMWXzhZZEkE2Mo0VXO8gLN8dTeACtFMI7jqGQ8o2fFY5FoZAw/IrrA4vFoPB7lMRYxoYbHorTYDocBXIovwcNwlK1o2Hjn/X+87OYlpyy+yH/QUQprntpeZMorlpsL1XY/1geNRXKTR2XFTUZV1qDctOPN/9tcW/vkd2XGQoXVq7T5smw+hbNElT9HkTcXZc9CeQej3ENQwREo9zCUc5h8xqn+0284/NLfzr/6oRuWfvFkTd8z60KP1I3cvaLzzvKeexuTd65O3tbI3rQG7wxeWQeX18FltThA9OeVzDk17OIaOKcWJ+KcWw8/q4SfLmfPXsWfVcGfsYo7rYI9uUJYWCEsqIAFFbCwnF2wkjqyijqkgj6kHOatwLTCYzk7ZwXr+zR+UAXM/jx01FtNljNvR3mHIXvpDsDaWSxEw9pZJrt7hABrHwNLYch+6NEnWYBQPCoAzwnYguMFem+BJfaSkNQxXBeZoWg6mU6QpimawWYgdttzPCXVJhUbDrIAvSPxR5/6+2HHnewtPdhdcpDB5UFaZ5Ypz5RXrLYXIY0L6XPVdq/Un1Vjx+2O5SZfltGrMPtxb+TJ1soP/qPKHlA4cAoxMhYhkwc7zsw+pPcgeykyBfCwz0COmShXbHtjLUPmoK7sOGXpcYZ5py369TNPVHY/tzZ8//Kuu8uH7qqK3VXP31DFXFnBXVkDl1TALyqEi9bBz9fC2XVwppiC87NqWFwNiyvhrHI4c6Vw+ir+lFXcwgp+QQV3TCUeC8rZY1eyh1XSB1eyB69MAWvWSphVzs4oZ7xfJEvK+eAXY0d/1F1821Oo4EjknIkjSEWTMGUVirWGJgqWAGuiNL7+nABrHwMr3z9nVd1a3KZU7P5AswkAlmETewssmk6lOjMMw7K4lB/HCYkEJZXfo3nspQrHaFqASJJv6ehr2Nh2xfW3W3N8OnuBwYHL9ZpcuEi8yoazr5XWIoXFnWUqUFg8SqtXbi7CXe+xMYg1LGnByAwepHN//eXy/T+LzAGZrTjLXoLrt9iDCmeJNLR5sxTOoMIZVDqDSKxGLbf7kcVjKZyN02KMRcg5AxcINZVp5i466Y5nlryz8VcftN+/KnJnefTWlfTtdXBtBXtFtbC4gl5UxZxdzZ9TgxMGT1/Bn7ESzq2DReWAXVer4Mer+BMquGMr2PlV7FEV7NErufkruYMr6bmVzEHlMHcFzFoJZSuFmSvZ4ArKt1LI+4ryLosf8vnA/Cc+RcULkXNWljWQUbKkwPcs86Q6WQRYe35dEWDtY2DNOnTBcBRzhMUaEM/yFG4V+I1MwniCSibFAjTp1jgC4IYRkgercyD0VXndM0tfPe/iay25PpPDo7MVqkz5Gps7y5CTpc/TO/xI7ZIZC3HHMKs/y+RWmL0aB26LgFQ5OD7IhE1C/KA9qHUUa+wl2CrcnzQsmcWvsJfK7TNktmJk9iNDETLiSvkqux/p85EuR2kq1NjcSmMeLt1jyVca85DaoTQVYiLbgrq8eTLnHGSZg3KOQM6jZLPPmX3pwyc/8N7FLzXc9lnfLZ8P3F4Zv6qGvrCKOr+COr+aO78GFlfBopVwWjmcugpOXgU/qhDTBiv4YyvYY1Yx81cxR5Xzh6+EuZXMnEpOAtbMcihbyZWUJ/0rkt5KcH1JFa5kZn8x8uPX1qKDz0bZcwmw9uFFRYC1j4FVNu+YGIubm9Kp/bu0gzwVxrBLp3tqozAT2SCdRJO4eyAHEE+w0QQrNg3EZddffefjq2+668eLzi30z0Uau9KYY80PKo15EqeMuSU6F268qrR6DdllKqtfbsKqk8zgVpjxudzk0zqK5SaP0oJBhvmlL0S6AqQvxArXfgYsbP2ZMbbUrpkaZynuNmR0I0OBJXeG2lIkoUqhc6lNOXpznlKfrXEEVPZipbVEbg5mmUqRsRSZZymch6gLjsbkyp2Pso9EM08vPnfJj5c8d9UrVTd90nlz+diNqyKXfjV6/lehX1TS51QLP1nF/agCTvh/7L0HeBzndf57ZmZ7b1gA2ysAEmCn2FVt2Y4T23KTVVySm+s4LpLtxE2OY/9txyV/J05xVaPYwC5SEsWKtlh0oncQhQRR2ESRRNs6s3Pv+WZ3uWyyLBEkLULPPGsYJJbY2Znfvud87/eeGv6Bav7+Kv6+qsT9lfH7A9H7ArE1FfyySn5hDVtYzS0KEIUVSBRWsv6KGX8wagmw5kAiu5LNK514aFcfrHwCcpcyhuRCoVAYCvGzmed5TmFlno23/noOWDcZWJ7590xEMHJhOhYh40vjuETIx29QEqad7thoTwNLGDgRiRNaxXDufJzna492fubz/zh/6b16a77C4JQbnZTcLNbYUUnJcyhFrsKcR2scoLBQKgejcaFHQesGhUOi90v0fpygp/eLdT5a7WY0SVQRfrlw2pjBJzX4xLo7rumevNs1XkrjprX464m0bqxqVXZGYZHpcAuURJUjUeUotaiwKI2b0heITYWMNp9S5kl0hTJtIUjcMtNCUPjk1mVgKgLjPLAsAvN8UdHDklVP3v/9Tf/8+uB3Ks78w+Hxvys7/0TV1EcCoQ+i94q/v4a/r5q/L8g/EOAeKo89WMGuLheAlbgKWL7yybwa1nAkklPL68rjnpLpVdu64Z7H54D11gD6c/90Dlg3GVjewhVR0v8WbA1C0/2tgUWMWhjeIAxGvTgVEuakXpiKToX54+Nv7jsY9M5fzsizpFqLRIczxCRaR+rx8kT1jPfeS/J5yaPWz1x16DL+9E7SUxm//7VvCirBqw4ycdaV+YiA1uWDfh7o5lHaeYw2X6LOl6oxVE+q9ko1+AxojzCQw+gAkxcXGfVLIO8DRZ//0eeeLfv6waF/KDvzRPnFT9VwDwfYByv5eyv5h2uxNry/lF1bgsBaXsEvDCaKgtyicn5hGV9UxhaURz2lk+5AOCeQ0JVzxiBvO3hp7a4BWPk5yF2a2cACreeqBpaAYHxpZIzuW56Ea0/LXfedOWDdzLdcpHP8ucASPApx8p+gsGIJfiIUGzx5evveg196+nsak0uqzgVZlsbsFamRVuS4zCnhNk5d6Jkwei8A6ypIvfWLxahPBFY+6BHTOMBG45WqvTK1W6Z2yTQOqQbTX0U6G6O3UQYLGBxMTiFkLcB1xuyF4FglWf3Y/K/+z189V/fRvWOfqeE/HOTXlSTuLedXlXLrAvx9VfyqMgTWgkqusJJdUM4vKOXnlycKiKRyByLZlbymLKEL8pYDF9fsHIRVn58DVurKvDk32hywbs55FN6VdwAsYecz2a+TdCpEOb62sfVvHnk81zVfY3KBxCjXuSRaB8hzsHFOJh5e7yK4BlVXKKlr//RmvvDr/T435/mJdzRJ59S/4k156P2gJ4cuPyWs8snfSf59idYl1aSPpCxl9A6GDJRP6iydA/ROSu/CzUamfPR2+T4Ai590fW3D4wcmHilLPFSGJeGSsvg9VTwe5fyycr4oyM0LsoXlfFEpX1DG+ys4d1nIURkzBRLKMk4TSOTuv7BmZz+snAPWzbkMUm+9ew5YN/OEvgNgoUWL51jigeCI/306yq3fvEOhtwKlkmisSpOXUdlJy9yttRSltstc+2tfi6S3/s61z3AnfkcIxc/EdGqXTwpV+hSt9PNA7xcS9NHPkT60SVQJT5LeVET2CbmZLLc0yyU32kUaXFoFrQ+yl4P9YVj+xcd3jX/iSPThCv6hOn5xgFtSwxdWxJeV4y4cXBYMxueVI618Zby7IuEoj1gr44YALyuNq8rZnP3n1+7sg1WfnVNYadbclC/mgHUz79J3ACyhJZ+Kj0laFv7wwiapJkdlcmKoVnYeyCygdEiMeSC1CAriprz3fyFPgjO0yRhtNDRcPpLbFRFbyUpQh5O1JDqbVGshzT6h34dT44mkSv345X2OfmSWIofR29RZLpXRrtJZZXoPmBZAzhpY/LkvHTz/qZLQQ0eia4L8wgC7uBaFFfatKhJ5wbg3yPoqeG857yznbQHeUhHNDsbUFZy4JKYoj2a/fnbtzm5Yg6uEcz2sm3ilzQHrNgNL2BWYQA9EIsolomQn4HMbd6jNGKoFIqPCnCfLKgCFXWEukmUV/PnASt7wN/GiuZVPRQjlovTCkQEsHEp0tYQUad0SLXaphKWJK0o/Pe64xmcjPyXCpCpcOdXaFklNPkaeJZIZVdocXY5flFsEOffA8s9+pfT8p0pm7js8s7qCXVbFL6pOLAiyC8q5wgrOG4w5g3FXBW8v560BPruSN5ZFDJUxeYBlSqKyimj266fX7uqENY9B7uI5YN3EC2YOWLcfWLF4KMFzMTYe5RLheCLC8c9v2glSg8LglOldoLTicr7WzxjmgQazXCh9mkHXfoEvJ7NRjfKESIxULZn+kWtfuHD/X/v92/Yd3JFzzSHAiyFrasLKWnqhkBR9yQ4XqichAcLoBqMbDPhUwnAQqcalULuUKpdC5aYVbrHao9C51Hq7TJsLmmz8y9alsPzTnzsw8tHSiftLQ2sD8bV1/NLy6MLy2IJyLj/Auqpi9uq4PUBoFeBNQV5TGlEHYpIAR5dGpYGI+cCptbvaYM2jc8C6ibSai5dJ3orCLKbURKarP7fJGfe+nfOOJWHRPYKtQXC6s+kpOEKgFUnyI9GjyXiZRIKdmprANlaCE2yiYZZ/cctusRpbKgpzHsgtsqwCiaEAFE5Z9vx3CKxkqz5Nqyu2hqRe2k0BVuY/IXyNJzl1bv80+66kLQoiodmU1EcZvE7RykGAhY8inYv8fdLeMpBYrnRwTRJYaIOQqV0KtUOpQmZJ1V6Ryi1WObE9r7dTRjtY8sC/Bu79/OMHTv512cTa0pmVJdH7avnFpdEllSiv8gKsMxi1VcVsFXxOBW8M8toqXlYallXGxBUsXRqVB6I5B06t2d0Gax8F60L8/cleQpSEGo9Yjb8DKXKxVk2Vq0kVKQCaSEWXRINeB3L2rvt+/emTmXpn3zt/865TWFfdD8K9hDeDzgs6D6hdoPHS+jzcEWJAt7TEUCDR+0HloTQ44Fdqyhd2ruEWNrUdNA5ZToHcnA8qu0jvEekcvsJlKW87GkFZDBvNDG5PJjFk2kQFfmGyFclRjnL8C5t3SLUWkc4hlDBCm/ldjD6f1cv9SkKRBThKWIbT2kBjBa0DNZERhSHo0Emf8RZ4SWmGj0JiBBqpZFZKbpPpvAqjDw2iGTlc1739EFuCiSkVRpxcQyTvKeH75UIy/a8j4zRuidYl1tglGrdYW0DGNXtA78SRgjkLYflnnjww/uChS6sr2DXliXtK2SWVfGFlIj/A+gJxV2XEVhm3lyOwtEFeWcOLysOiyqi4PCEqZVWBePbrp1ftbof7HsNsQoMLdB6RMQ9ppXDoNF6F0i7LddNZVkaXIzZYINsOZheYXPivm12Q5ZZqXCqlXaV2K/VukckLBjyHaVGZ0piCrey9A6Prvr9XffNuBBZ+cBEXonAuknWHwsaY8iTZhbhSrvZRunxKlw9KNyjdUkMeiTFAszUorKCy4/ZahQWvIZK3SWmcIr1HkV0gM3muBtbleL5rAkIzrO3og+c5kiTDx1l+/eYdEp2FfPa6QZ+sca565+68/0vIJQDLYKMNTsboEpncjNFFG9ygc4DGDmo7rXWhc1IjPHqw2tXgIwnk8kj0foXBL9f7ZDqvlOQLz2omOm4F11oJ8gpBWwS6PNC7aIMHzEWw7LEn95++7/DkqkBidRkCa1GAz6/k/RVxdyDmqozYA3FbGW8u45WVvLSKpwJhJpgElroCgbXy5U647wmwLwKdE3c+qT2U2itWujUqj1RhB20OmCxSk02qt4IuF7QW2uhVWBfgidLaxSoHQk1uFSksjNYuMXsposUEUSlU95nX8J13McwWRu9GYKU/4dPAEphF8n9RZFFqr8RQIDXOE+nyUJyT7XiM1qkw58mz/DgXx+CkNA5plkdq8on0blrjEMLwxBr7XQcswUaf7H+jjzzZNSNf4MnROimNE3QuidEnNc8T6X0kxC7jUZdH6/PI1j8fcXt6aTXuKAIlbsye1VtRABbRWYXUDYC1IpBYVZZYWhpfUInA8lawrkDMHghbAzFLGW8q4+UVPFN5BbAEhZUElmMZ2fOUJzHMp01FoJvHqPNwWTPLC9leidGr0HtlOq9M49PI89WyPLXaL9d45HqfMjtfZfSLVQ6xwi7Ruii9I62zhJ7dbJ+cWT3z7/jJ54CVrBcYkw9LPJVTZMRVORRTMrxn5Aav2uyXG9y0xibWWmkN7jEW6Wwyk4vRWhmtVWby4B/p3SCziNS2uwxYXkabnzr8GUUrqV/0bpGedGFILAStxs2AoHFf7/CSKGE/rfHRGh+j84oNfqkpP7UqOlvYuh6wMClQUFhPHDh975HJFYHEylJuaSlXWMn7KxOu8rg9ELfiPudYThmvL+UlZTxVEacCISYYYSpYUWlMVRnL2j++Yg8pCY15lMqBLUhTEViWgG0Z5CwFzyrwLQfvErAQk72pSGxcqFIuUInzVRKPROJAXmudEr1XafApdV6Z1o3AMmJhKNJhD06mxkL47XcG3zEg7rQfnANWElhCSpywz4tWOymVQ2rI09mKGGWOSG1mVFnKLIencHnRivsLlqxxFy5fsPJBd+E9joKlOZ6FjMpqsM5XmvxKo+uuBNY8hmzcI+RCrwDZdG0TzK5yvU+o8iQaN35Hj0S4+iCJUdjlMfgRZ1ofY8gHjTflO5tVYOVKtA6xdj4qLG0e6ARgLYSlTzy+/9S6wxPLA9yKMm5xCVsQ4D0B3hFI2IJsbjCaXclmlSW0pby4PAEVMahMAospiynSwLr/MbAsQAIa88A8HxY8CA98ElY/Ag99Bt7/Cfjgp+CBj8OSD4BnDW5pNN0jNixX6RbojUVS4zzM0lE6JBq3Qu/Fj0Oy/5HRoXEf1zfV+JEABjSX3WlMmdXfZw5YSWCBDhtSIr0HyNxmRusElQ0kBkOud8mq+z73/37lN89taOkemIzyUR6P0xdwiHOE55/d/LI21w+MAaQ56qy7rYflJai6DrDkpjyF0SfTeyRqp0iJTRnUBXoPo3XS1z9cgKntDrKU4WZMeWJzASJsdrdnu8TaXAw4RGDNvwpYn9l/Zu3hqaWBxLKyRFEJl5ekVSInyGUFY8ZAzFjKqUt5piIBlVGonKaqQnQgxpRFFJUx04Hx5Xvb4f5HIXceaGxgzIe8tZav/uCBbYfW7apYd7BhyeGae0rqVu0pLfz91tzv/6fkyW/Amk+D9z7IWsjkLpZbl2DghAbDYPG06BxgRDwJtFIrEVi4iDEHrFm+Pm7/p8G1rUphIQkUFlDZpEavMtsv07topUWd7XXNW/rilp0NLe2XQiFh7S/McWESSUwSr3B21m9f3Koxe7XmPENuoUx3t/WwhJIQcxGEzca43kdW30CSJVJalUaXyuCSaWxiZa5cZZeTJrdQSl/1KDN5GD22AlW582RZefhpobQyxrflJnkXF+2NgbXk8c/sP7P6yNTiALe4PFFYynkCvLWSzwnypipWH4xoysPqkpj8CEdVxCEYhWASWFR5RB5MAeuBR8FaiGt/Bj84lyue/uGy/TUFB466yloMFc3G6hZbVZO3sik/UJ+/L2D54zbDD/4D1n0Q8pbjPDRNgVw3X6TLA5MbzB4woqRSqxxahUOtRHIJmmtOYd1+pryL6+9P//I3ApYqdx6lwRBhmcEBUqPB4v/G937af/JsmMVQKpbnw2yE5Tk8Elw4zrI8SelL8OuL90rVuZTcLNW4GGVO3vwrbQ3v8VVCr5BdI5SBSfeQ1iHV4v6YvAUrP/rpL3ztG//y7Wf+7Vvf++m3vvOTb33vp1//3o+f/t6Pv47HjzIef/xP//JvX/nWD7/+zE+/8YNffvILTzmKVtNaJ2nh/+n39F1cMDcG1tIksBZVcgvLufwy1klolVXF66o4dSCiKJtRHolLj7AQiEMwDMFJqJ6GyghVHpIHI4aDY8v3tgkKS5qdJ7MtB/+9km/+dP7ho5bDLYbKHmldj7i5X9rULa5tVtQcNTe0OGqa80ur5u/eLfny05C/CoyF4qyFtGEeGlmzEVgSrUujRGApVfg1Ass4VxLOrgKf1Yvv3T251inWu9GVo7MZrL6vfPOZaGpYFsez5IhxPB7CDFQOB28hyF7YsEOutYqVuTKtW6q1vQNg4ZAJYmsgo73uXFsDqLEDJTZ4QZqDj2qHxOhTZOWDJEeTXcCorCAz2XyLFq168A/rt0aSoWB8PJE8BFts2qQmnD3hwyBO6D9NpihOsfzgqUuM1ioxuGidfZaZdWNgLX/yE6+NrTw8Na8sPq+My69IWCsSWZW8vopXVXHyyrC0YkZeEpeUclDJQk0UqqeomhkqGKUFZknNAAAgAElEQVQrwpeB9eCjYCski3pFYFuj+e5/5h1sspd1G4L9ktoBaByE5n5o7WXaukUtbcrGFn1dva2uIm//XuM3vgeuJWBZqMpfB1k+yEKzvlTnVijtCqVdgsGwLjC6KZNnTmG9u9v+L5Z3lNoOsmxllluiyf3hz/4zzvOXZuJkkGkiTauEEH1MdihjjlUiCSzMulRaBWC9g6b7XwSwaK1LavJjy5wMUMCqTe0ApZVS5JodhcBosl3zvvSN7+589eC5ifBkOB5LTfHBc5iRSZ9OVSVjsJM2WuGbM1EWycXzTd3HRZqc5H5AYvV+Fxrqra/ntwLWx/eNLT88mV8WKyjn/AE+uyJhCCY0QV5RxUoqQ+LykKw0Li7jIJgCVu0UVRWhK0LyqpDp4MjyvS3w4KNgnS/WOKWaQrCuU3/3v/wHW2xlx4zBE7LaYerocWgZgvYB6OyBjm6mpUPa0qjqqMmqObRg32vZ3/sRLHsIBwVl50F2Pk45w467Q6LGxHpK8OKiHfetX+B77U/vuqb7lZf+5c0oYr1bbfZLtZb/+eOmCM9fnI6wxNjJ8Qis5JTmRJQnB/7fBMvxCUFhXQaW5hqn+9soCf8igCXoKdIUd8iysBeOFlCNQ6630XL90tUP/ua5DZci8VA8ESUcjwuzqvHs4eTETDwJEWBXPyb4aDQeJ6Nl/+v3G2ilSazNpTWW26aw7nnykVcRWP7ymL+M9QR4cyChreLllbw4yDKBsKgiJC6JIbCqOKiNQvUElQKWIpgBLMd8QC9+IVjXyp/5L/fhFks5AktVPSyuG4bm49A2AB19ArBErU3S7nppc2leT2NRyUHtt5+B+SvAUkgbheEgLjCgG4sYssj+AbS/v9eQ9NavaA5Y2NYV6VwKow/E+h//4jeXwqigLk6FJianU3IgOVkepy6nmMUn2EQCb0WhJBQprVKdW/reBRZZP3WA0pasCuUWuTlfZvKojNb5i5YdLg+G4skaeWJm+sLkRJxn46SUTiXnpMktOP45jKlIpA+ENo4y4/gwy6996G8YpVlmsDHa21gSfu6RV8eWHp7wlcZ9pZyrgjeUs8pgArc3B2JUIESVzxBgxaEqLgCLrplggiE6MK0ITpsODi9/pQkeehTchWB004YicKxjfvBflrKWrMpj2qrjquphScMJaBmEjn7o6IF2VFhMawu010p6apn2sqyjJUWvv2L+5nfAvgDIdHtcFjQ5IcuJj2SzDmnzzQHrLmI2Kixsw+tclMJaeM+D9a3HhCYL7pTh2RhObxbUAYbrIbC4NLOuAyyJ9j2rsKQmP6hxaiFunFQ7aK0Lq0Kp2eaaF6xtYHH09EQkGsdBZFEceU1kaXJSUIr7aZ2VYhbKr/RBtl7yfDjOS7UWuREHKUpu4yrhss8SYE15SmOeUtZewWsr4vJKjqlgcVmwIkSVhySlcUk5S4AVhpqLArBEFdOq4HTWgeEVe5vgfY9C3mLI8eK0Mfda+PGvjZVN6uoueW2/rHZQfHQA5VVnH3R2Q0enqK1d1NoETTWqE23QW0m1HnHVH164YwssXwc5+UBcuJeBZXSADg0ib61H3nt/OqewksAy2gq/88NfvTGJbZQIK2xa5jgO70ChnMFREbhIGOPZKB5XKixGZRXrMYzpPdzDYnRuidEnMfpAlis351Map8Lo+ePzmyanwsJe7pmZmZlwKMHzochMWlhl0ip9MpMbwvHMorbCVQcOVxtiPN/eNwIKs8zkAYVFZPLN8i13nR4WaknzQlj22Y+8Orr40KS7LOYq4azlvKqclVYm6HIOlwUrQlAREpdlAKv6Il17SRScFlVMqoKTWQePI7AeehR8iyDbz5gWg2st/OTXmqqjstoOaX2vrKGfaeyD9l7o6obuLqqzQ9zaKm1tlrU3yvoaYagR+iql1a8srT1ifPrrkLcITB6x3k0bnGBEyzseeqewmXyWT9GdpeDuOmBlbt8nW0mSwHLkr2g/NoZz5Xn+zYnJmfA0z8dD4ckr7jGOTdIqCSy814SSEIGlw7boexVYoLQhqshCIcgtYgOW0v/w9R9OzrBkYGwiFmMJ3i/HUWQmUtwYW8kPhEiUi7L8DMt/6we/EOOt6MLpzXrM/5rNG/LGwFr6pAAsV2lUAJayLC4KcFQFBxUcBMJUICwpZ8UVKYVVfUEAljgTWA8+Cs4FoPfKNQvBvgZ+9B+6qnp5fYe4oVtytI9u6sF2e3cndHXQnS3S1mZFS5O2s51qrqZ76iUDdVTjPm9LyfKXt8DqdZDrk+s8cq0T0/0NdjDaib1rztZwF9SDaWYJe9+EmMrCZffFeX5iOh6JosWA57mJyTfJAldSYZHvJTBQgY3jIyqs5CqhTGd9V8DC9g3WoCwb43k+yvLrN+0S4mUwXIVE+s7mTft2iYDFoCwXO+5aJyitenth99AZJFGCj0RisUicT/AzU9PptBzSVhf00+VHwcdwxccAQdZMhIvzCCxHwXIc7Ky2S3Pm3wJg0bqk012knk9rfNggTyqsx//mlZEFhybsZXFLKWuu4BXlnCjA0xU8BBIQjEFlRFwRkwTiUBWF2jAkFdakuOKCqurNrEMDqLAefBQsRaB2KZTzIXcF9YNfGYN18vo2cWOXuLGLbsFKELo7oLuF6moWtzXJWo8qOptFbXVUV42kv1p6rFxRv+eephL4yAfAnifTexRql1RtB50NmZXcrPN237474RJ697/DXaewyKoTfi4JB+m4O6Ray8GS6smpCM/z4ZkQQRQXCk2ziWRJSG5LbLIjWRBVrMCyOM8/v2m7XG8TqW04rPQdKSzSL0NixTn0o0bi/Isbd0u1Nkykwxgc1IDknSZBCLP8iSIEVAkXFq6d44HnisaRyy65OR/DKtQ2Sm769e9evBTBedQZ9CGt9GQwfZysUeCJ4nnu4sU3eZ6PxKKZwBJ+UHiMsrjP6Y1pzlO0SmIi4Vl6txA99u6v8hs9A9ndYgOdU6IskCnnSzR+nCyrc0HuQrjniQ/vOTH/8ERukNOVxpRlnKiEh5LElcCKMIEIVEegNoQ+rNoJuuqCqPK0unbMfKQbgXX/Y2BfCFqnWFUA1uXif/n33ECtqqGVaemiW7ugrYtua4P2Fuhqgu6jos5GcWcDtAaZnhqmpwq6SuljR1THjuiqd9g2/C8ULACDW6J2yTVu/MDQYaLRtSMOb/RK3zPfv+uAlZ6/kgKWS6RzSHW5b1yYETTUzMQlYlfgYjGcFJ/qxWCvBWGV/I9NYEMLb83ntmzFpX1NGlj3pL2RaJVML46R+zazXsq8XYW1/yiHIAyz/PObdktxiJ5LovFKNMmiFVGrx7b3rB7XAisZUqzxynMKKZVLqnOL1RZ/0YrD5cHJCJo/UswSWunCq4/FYyE2jiOv4/FoIoGnKxqNCt5R4UeEn0o/CvJq78GgOtePCVBGLzqPZrmHRdbdbKBHYCmU82Uqv1jjFCGwFiCw9g4VHL5kqowry+Kycl5cylOlRGFVskmFFQgzgTDUEGDVEGBVnxMFR9R1x80l7Sv2tsD9TyCwdA5GjcCSPfMLW0W1qqGZbu2Ati5o62Ba25j2ZgFYdFcD3VVHddcyA7WiY1XQXQLHjiiGSg3d+wvKdkDhAjB5xQgsj1jjZLROHNONeJ3d6+FOe/45YCWBxRKWxLCVEhFEQRxdQXPAcqWBpbQsAIVDqnMrjY73ffgTo2fOR9A8KygsXBAUzht5RLtoKDSdSCSmZqanZ8KoHKNclGwUEDylMR4d8JcfeX4yyv/w5/+jzPYyWjtNNp/fYmBJ1X6G7AdCYK148q9eGco7fNFQEVWUxmTlGCNDl/F0IIHWdqEkTAIrhArrRsByLEoDS/4vP08Cq60N2jqgrY1pbUkCq6cRgdVdCz3V1LEgc6wSeo5A3wFp/0HjsQMrGvfPAUtA5xywksAKx/hwOMrG4rjQznPxeBRnx2POunDMosJCxzzpikU5tDLNXFZY7pTCEqrC26mwaL2P0rjFOvx41+f6Pv/Fp8KxtLZKYj0DWCgsEzwfi3MRlt/z6oFHPv3kY5/7+0c+9bmPfOqzGccTH/nUEx/7JH7nQx97/JOf/aItbynIs7Hq1LsxEMo8u2kN2AYyXVZYArBQduUuhFWf/dCe455Db2rLw9KSiLSCF5fzTLkArBgEIxAMiwNhpnIGakJQOw01E1TtJbr6jKhqOKWwmlBhOReB3inSzAPrcvm//NwaqFYfbcJKkByitmamA+tB6G2guusQWL1B6AswxyrogXLoP8T07NN0vbq07tU5YM0BS9jWcFlhsaywhYSLRkLRKC7Vk0rtVgArlgJWjOen4/xzG3eRkvAOApbImAcKu0TvlWhduhzv718sFjYDCgsUV6EK21WR2PRM9MTI6Yc//IhMlaU1u0BqkOttVxwGq9xgVejxUaTKlhkcyiy3wuxTmPOIT9UFmPo0iyVPGlhiVbKHhcrO4ALLQlj92ffvHXIeeENVOiMuDUkCqY57JQuVbwdYrSv2Hk0CS+e6Blgt0N5CdbQmgdXbAL11CKzeGmagGo4hsERD5aLjJeJj+9SdexfX7M0AFvaw6LmScFavjDvnyW/Uw8LmMO614fg4DtwidyAfY+O3RmHFEuj7DnNcJrAwpwUbWMlIPGG5YLbPpPDPCeunQtM9OccFo6m8tNop17nMtoLB4bPYwsM+XmYlmOzYCXXi/29T+PYzPxEps9RGJ6PMEdpDIp1DONIDBIUxgrrcApCalSYvtpDkVuL5ypOahNHzs8UsZFOWDQzYFJeq5ou0frRTGFw46mb1kw/tGbQdOCcvnWZKZ0QBjhGWCBFYEagKQ3BGHJhhKqdQXtVNQs1Fqu4CXX1aVHVCXTdoLiHAeuAxorBcOOHCdo/0Bz+3VVYpmxqZ9maqo5XqaBa1N4k6G6G3Dvpq6R4ElmiwBvorqF5sYFFDh6UD+3U9ry2p2wNFhWBCVAlN9zlgzdY1Mds32J/7/DcCVijKx2IsloSpmzCRSNwCYAn6jQCLfwtgkZd5a1YJkY+ZwBJWJ8QGv0jvYzQumda5cPkDMdJrTwFLaLQL5EouGp6/GBo4ceZ9f/VpDN7ROSUGj1jnw5ETqJjwhQjzFNKPtMYBKkyalhp8tNqpyMoXab04mWK2FVaWBQz2K4BlFID1xP17BiwHzsrKpkVlM7h/sJIYGlBehVPAmmIqJ6B2EuouQe0Fqu48XTMuqhpS1w+YS1pWvFIPDzwGrsWgTwJL9q+/IMBqoDqaoLMZOpuYjnq6qw56a6G/hu6toXurqGOVMFBG9R2GvgMwsF88uE/f92omsGTaOYU1m9fErF5w7+DJbwQsoelO7jYUWuHwTCQi7MuZ3ZIQG1gcfxWwnt2EJSGZ7oMKS8BH6laf3Y+WaxVWGlggt6rN+RKN9a8/9sTEdHoPQNrKcFlesTwG8WzbcyjXuUBt9oM4W26ex2j9oCS2squ9oOhBBblVZ11AqRxinQcUNpnRT6vdYt3sOt2JwkJgMWpUWPgbYmyLC2wLYdWT9+7pz9l/RlI+yZTPiIIshcCKo7wKzkDVDFRNiSsnmOBFqL0EdReh9jxVd46uGRVVD6jrj5lLm1a8UgcPPIrAMrhRYdmXy/7157ZgUNlUR3Uehc4m6DzKdNZi36qvGvqrCLAqobeUHioTnyhjho5Qx/dLj+/X9726oHYnLJgHWYiqOWDN7g3wDpgyqz9yI2DFyeZb0mFnBVtDyqh9k4CVwKdNuSLwf9PaKsrxEZaLJXgh6mAqxv9xwy7iaRBMWElgEXDMruLAM5/kI0Ik5cNCNxba3JV2SmHVZvua2gamw2yC52dmZkhJSGJ4sDbE/zgSgBXD+dW7lXonrbSB0ikxFIh0BTg5TWEXm/IxsFxhxwR3lVNtWwJyG4GyoOzSwwpnfe4eAstsvQJYehfGezoXw9rPr9nVm3PglCIYYspnqECYCnKkexWGqilyTEiCl0RVF6H+Ehy9CLXnoHqcrjkpqR1Q1fVklzWu3lcP938aHAsBB1bOB/ty6Q9+Zq2sULXU0l0NVFcj1d0g6qqlu6vhWBX0V9K9Vbg4OFAGg4epgUPU4AHq+D7x4Gvavj2L6nfDokIw46ZXuQ5jphmdS2zwzvmw3vvwumOBFUkkQvFEmMfY5T9u2EUmfQoNLL8AkdsLLJHeg6PM1E6p2joxzWHpjEsSQg/rOsA6fzHy5P/zNaXeiS+ETKKlNXm0vkCSVUDrfZKsApxirfOD0iU2zQNV2tAvbEcXmDXrwMIFwSwEllASosLC73jBuRTWfn7Vrl4zARZVMYXxDMG0vJqA6gmouigJXhRVvQn1F+Dom1B3BqpH6dphSd0xVX1XdlkDAdanbgisblwWFHVV091B6K+EgQBxM1TAQAkMEloNvk4df008+Iq2b/ei+p2waP4csO7GUfW3DVi45HhDhRXmOAFYoQTakf7w0s47DVigxsB1qca1eMX70fnJ8aFQ6Lodd0FhjZ+5aPMuUOgcYo0dU0kVdlrrERG7PNBGUNtxdLbSgVMgDXmMqUAY8yXoLMG8em2Y9U2X3ilgWa8DrHVJYMmrQilgRUn3agqqJqD6IlRfuBpYNWOXgVVet/r1Wrj/KmD91FpZpmqpIQZR9IiKuoNML9IKBsqpY5VUP8orGDxADb5OD+2jTrwiHtpzGVjZmGAh17lw1KN+TmHdHZ2sOwRYHMclc5cTfJTDdnskkZiKc6EEPxG7AljCfAdGh9uAybzyWVbBNygJabUTl/mU1l//7/pwDHt98WgsVTunFwqTJSGX4Dt7hhSabKXeLlLlqrJ8tMYhM2JgqczkI6ExLgSWzkXpvKD1gTY5lzADWFdM577pqBKeEIf9maygt0qUQg8rH/SepMJa9/mVu1FhyaumqYoJKjBNVaH3ihSDSCuoPi+pelNU/QbUn4ejb0D9GagZYepOSOr6VPWd2eV1a/bXwAOfAGcR6D00KQkl//rT3GCZsrWG7q6lumupnmpxTyXTi7SCoQqqv4LqR3kFx/cjrY6/RoC1W9u3c3HDTlhUANlORj8HrLuDU+kr/nYCi+eEHhZH/ouziTibiHIEWCwf4fi3ABZugb6FwEr/c+k2ltTgQ9Gntnf0jAgdd5RXyZJQaF4lHxPECfLLX/23TG1UaLIZhUmqtTDqXJxFpLGB1KzKyWO0dkqDkfCgdeIuRa0H9F7c6pyx01vIKUu/cbPxRSawZMr5Ik0+6DKB1XcNsGZQXlWlgfWGqPosNJy7Cljqho6ciro1+6vhwY9fCawf5wZLlK1VVE819FRDb5DpDdB95TBYAUNlVH8Z1V9CDR1OAuvEK9SJPZLjL+uO7coEFp7GOYU1G1fDnfmcdwiwWJZNAyvCYrs9zF4NLLQX4CD4fFIu3WZgSfRemd7j8N9zfOQCloS4I0BoXV1BKxLVgPkNCxctkyq0Sk2WSpcrVplFarNEkyvS5GhzvSDPopTZoMgRGzwgx9ArSVbBdYBFrA+zehVRegdFFJaUbH4mPqw0sP525e4MYFVOEoVFgFV9AWrOQ/U5SdXZJLAaz0H9KagdZuqGpPW96qNtORU1NwZWJQKrrwr6UF7RfaUwWAZDZfRAOT14hBo6CCf20UReUSf3So7v0vXvXHR0e1phzQFrlkuMO0zB3XZgCfKKRcsXF4vj9rpI/DKwZjj+UpT//fodJKrhWmDN/ptFSsJrFRZOQNC5H//bb4yenkok+Fg0EY8Jmy6xPMz8j6hI/ne//+Mfnl//wktb1m/e8bsXNv1uffHvX9r+hw07nvnJr2Q6qzrbLTE4pFkeUFqFSIbbCCxaZ5Ur8hRKwTh6Q2AxwQhdOZOUV1cA6ywIwKo7eR1gkVXCVEkoKKw0sAJMbzlzrIwAq4QeKM0EFj38KnVyr/hEBrBy7IzeMQes2b8H7iRmzT6w3mouYQKDC3CyYZxDYEVYAqwMhTWdQGD97qUd6KhEiyAuESYVFqkKZ1VxkCfHdboUsIQQHvR5Sgwuqd7+2+e2RklEKMcRlYUehqRTNM0soexNmULQYhZmcRZOhOfDPN/SO0zJTVK9nVLnio0uYc+g0MwS6kFKh44KIWifvFmzeH1iwWuy0jq7XOlTKOelFJYfHMvhqh5W5SRTNU3a7URe1Zyjq89Iqs+Iqs9Aw2loPAMNY1A/TNUPiBu6lY3XU1iOpZJ//XFu1RFlayXVE4S+Stwz2FfK9JfA0GE4cYQaOkIPHqaO74MTr9HDr9LDL1Mnd4mHd+r6t6PCWkx6WDqcnk1KQvecrWEWr4zZv83e7i+fypZK3pPEcm2T6nKJDwuzrkhqu7BaL9yKf54PK2/BPfjDpI+TjpfhOOxeCTt/YthlT0QSWANir53FQygJJ6LsFMtfjPK/3bBbpEsnySTdSSmn0tt9pe/snJNOWdJkIICSPI9LnuWWGazPbtjK8nwoHOXQ1MCHpmfSiTEpnSU04DEMi0vgDqcERk5j9Rgj+7q//2//LTFg/LEsyw8qGwbDyy3v7Fd99z+FwDJitpRU5ZGp0OJPelj5CKx7P7fy5U7zwXF51TRUoPGKrr0EtW+Q4yzUnqZrxmVVY9LqMaphFBpH4egINB6nmwdFRzsVTS25wbp1B2vhgY+TxFEXo80Hx2Lpj/6PtaZU1Rake7EehGPlomMlTP8hOH4Aj6HXYeg1OPEaDO+hTuymT+6kRraLh7dqB7YSYM2HbA+j88p0flpLxhEavXMRybN7M7z7K+zdP8MNgJV9Y2AJUQRvN62hoAiBxXJ4p2YCS5i1ECPzwpBWHDfD8TPEMioAa4bjJyKJSS4JLBJ9lbaJZjJrdt+jZJddEFk6FHcElC5KmVW4fG1Nc+t0JMySQAsOVwkxsOGaXdC4U4djwxyLeViYhBWPxRLcpVAoyvML13wIlDZa6wKVHcjoHWGA2Lt/Z9/BMyCdje4ksNQYiZEC1gq477MrX243HxxNA4uqO49mq7qzUHeGqj3FVI/Kqkak1SephhFoHMajaZBuHqAbO+UIrJp1h6oJsHBUvQAs2Q//j7XmiKo9QPeivCLAOswMHIATr8Pwa0iroVfhxCtwcjc1jLSiRraKT265Blj5c8Ca3XvgHVxJs/cjtwxYOLYwFeCHfSt0YaGdHeUVGWaVBlY4zobiiWkWgTXB8hci/G9e2nWnAUtldj3y+Oen2UQEN4SjoT0yPYOzuS4H+JF4C/S7pxMM40J0XyQWFbZ2h3keFDlobsjKE7CFw3iUNiEhfvbe9Bs989sD1qSgsFLAOiMAS1Qzdl1gMU0ZwHrwY+C8DCz5j35kqy0RgCW4rkTHLgOLOo5WBgTWyMv0yV03BtacwrqTekw3urZu1vdnG1j5hcsFhXUVsITW1VXAmmYTIZYNsexMjJtm+YsRbiJ+pwELO0roVzTanvj7f5wimcgxFkNEUXnGcYNOKnH0OsAiERhslGMjLI7RPhyopdRWuTlf2FOiyC5AqaW03aw39899nhSwXFgSXqGwlsN9T6zc00YUlgCsicvAqj8FdWOi2hFZ9Ukc4NwwDM0n8GgZoFuOMU2dipbm3GDNvYer4KFHUsDyg3MRAdZhdUeAQY8ouq5SwHoNTr4mGK+ok3szgSUZKdYNblvctA0WX1sSeuZKwve+1Lo1wBJKP3RXYvmUbLSnFRZ2r1h+Go/ETDyOR4ybiicuhNlLMf7NMP+/63feCQpL2BJE/FAOg83/vy+sFzKRI7Ewh2M4+Gg4PbcxTaukwopEQvh3SEue5fnpCKa5P/aFL0qNeI0Jc3eEMTxig5fS3J75eggsgwd0fwpYgQmomqDqzkHdKWyxN5yGujHmesBiWvuZ5nZFS5OlunrtkSp430fBNY+UhElg2euOaDorCbDKqIHDTP8hemg/DO+7Eli7SANrKz1WLBnZohsqvgZYZFiOcQ5Yd4HUmm1g+YtWxIl5PUbKJQFYOF2CLA5GuUSUw3a7UANOs/xMjJuJcZMxbirGXwgnLsX4NyIEWCSDJSUZbk8PKw0sic5m8xedOH0u2a4iflE2Fsf4MIKka/boCLOysWCMkQwaIa5+/pKVxDKKAxSEYhDUDkV2we0SWdcDlguySNM9qbBOyqsnAIF1kao/C3Vj0DAODeNUwyhTd1JeMyyrPU43noDmITxa+pnWPqa5lQCrau2RyiSwDHZan4cK68c/stcf0nRWiPoD6BEdOCQaPEgP7cMG1slXgDhFqZMvwwgCix7ddiWwCiDbnWq6zwHrLkCVcPPfAmDFeDSvC8v/QspynCXJgOhrT0RYjsgrbFpNE7PoZIydjHGTUQTWxSh/TlBYVwDr1infzKY7abdjQoBEZ/MWLZuMsVPR6GRohkgnDl9ScmkwvTUn/QV2uQSBGWHxVLA8P3rmvL9oubD6KcvKE4SViAxhF2ZKp+h8K1/stQrrSmAdOiGvvggBtLYjsOpHoGEUGkaphhFRPdJKVjtINw5BywA5+pjWHlFLi6LlaE5N5dojAXjfR1BhXQksbXe5eKCCGkKPqGhwP32c0GpkD3VyLz28F4E1uosZ2UGPFdNjWyQjm3RDWxY3FRNbwxyw3HdfpntyZNZVtoabtkroK7znRsBKyiuyPjjNJoGVptVEjD8f4t+M8edC/P+8uOvW5IteywgCrMvZCWRoo0uqtXzyib/NXA1k2RjJyxEiZdKcuhyJFYnGSWwOoioc46MJ/kBJhdnulxiwaYWHyi4356POEmYd3o6PzBsqLOdSuO+xlXtazElgvQnV56n609BwEoF1dIRqGBbVI62k9f104wC09EPrALT1Uu3dTGuTvK0hp6ZibUk5vP+vwZ1PgOUD10L5T/7VfvSgpqdUPFhGDR2mju8XDe6jj78CJ/cAARZ18mV6ZPdVwNIfL17SvDUFLDexNcwprNtxuVx7t9yC78y2wspbsDJOhqFGOVwti7DobyB7BlFe4T7nZPeKn2QTeJB68FI0kQms/7WwypoAACAASURBVF5/HWDdgvQCkoHlBr0bk6q0HkrjptU4alhhsLf3HT936RLxp7FxIUKaNN2JyOIikRBZEMQXG47EWEFjYu4zHhMhNs7zX376WzK9JcNfduuU1I2uK0qPLxZ0LpnaK9f4MDtQ7yYl4RK49zMr9zSZDx1X1Fyggm9SNW/QDafg6DDxWw1TR4+LGgbl9QM4cb55AFqPQdsxaOum2juZtkZZW21ObdnaklJ4/18hsExOPJ8EWI7GQ9reEsHRTh3fJxp6jT6OtIKR3dTJl8mxC0a3M1gPbmHGN0tGN+iGNi1u2gKL80hJOAesuwZVwlU7u8DSurGHJQCLvQ6wMtrtl4E1EecuRRMXY1gMvhnjz4b52wUsVBzC+FKdl9Z6ZMZ8icYtVtnEKvPF6UicVHkcj8BKrxJiqDSJdRcs7xenQiwSCr8b4vhwnHjcWf5SmP+Hp74rVufMtnn9Rmy67veTwNKia5QAy0eA5QdHBrBqz1PBN6jas/TRMTh6HJnVeBwaB0UN/fL6fllDH91yDNp68WjvotrbmbYGWVtNTm3p2pIjVwDLXST/yb84Gg9qewVH+34CrFfoE7sBVZUArF3UyE4CLKwHmfHN0rGNc8DKfO/mSkKXSGeT6m5SSUiAFeMxeiGSUliClSHdvRLa7VPxxGQck2QuRRPk4C/G+LOhxPkofybE/9eLO4VeUuZbdQsUlkArvGk1pF1i9Et1bqnWtnT1+4QQd6QVF2HZGIEUsWNxXDiMM2hjbPz0mXN//6WvPP3Pz3zxa//091/5py/849ef+LuvPvn/PvXk3z31uS9+I2/hapAY7jxgeeE6wFoE93165d6j5sODisvAGoXGQarxBDQOQmM/ffSYvKFPdrSHbumFjh5o74b2DrqzjWmvk7dX59QdWVN2CB7+4GWFhcB6xtG0X9t3iB46KLiu6ONoaoeRnTC2izpJjpHtMLaNGS1mxjczpzZeD1gYNErp3czcKmHm7fFe/foWKCwBWOGUwkp6r1JbcELxxBQ5JmJJYF2MJS5E+fNR/myIf+MOABZjwrwXscEPSrtU45Jr7f/92xcxUiIWjcTCLNlwk945yPN8NI4jsmMJvqd/SKzQgEQj0eaI1GaFyaE0uhQml0xnl+hsKqNXYfTc2cASSkI/ODKB9QZVdZaqPUMfPYmoahqC5gGqqZ9p7JM39Mgbu+mWbujohvYu6GijO1sQWB3BnLpDa8oOwsMfAE8eZDlpox/cRdKfPuNo2keAtV9wXdG4BWcXjO2E8Z0wkpRXMFbMjKK8IsB6SX9i45LmYlISYjKyDMUvhlYTYNnfq/fpjV7XnMK6yQrLt2BFhCisTGAJGwYFR7tguZqMcYK8uhDlL0TRe4XaaiZxLsKfnuH/44UdQvM78227NQqLNnhooxfULrl5HsitErVTosrpPjYibLchmchYA+IubsxPxRaWYOgPxxO/ffZFpSFHleVg1NlirVWkszEqq1jvlBvcIM+WogE1vdno9jewUg27TIWVCaxPrdxbbz7cr6jNBFY/NA8gsJr7mKYe2dEueWMX00aA1dEJna10Z7Ooo1beEchpOLy2/BB84IMpYHnBPV/60+85ml7V9h1AK8OJV2B4DzOMDgYCrO0wshPrwbEdMFYsGksrLAKsls2wxIcBfnPAyrwl7oavZ1theYvuwVgCYg3FoIJ4IpbA3b/hOBuOo6NdcF1NxrBvdSmK2upCFL1XbxBUnYvw4wisXUI7KfMduTXAYoxeLAmVDmVOIaNxSdROi6vo1LmpBMnrI531GMfFWcQVskrwNggrDGizUhlVZhetsUgMLkrjAIWF1jikBh+jdWIEoD6ZxJD5um7j16SHdSWwcFKhoLDSwDpLVZ2mak+h36qRAKulnwCrS97YLW0SgNUJne0IrK5GprOGAOvg2vIDbwEsCtNjXk4BazuMb4fRXfToDhjblgTWqY2i0xtk4xtQYc0BK9Vqn1NYN1lheYvuCZNAlTBLklXiuDIYYZFcIUKr6Si6ri7FWAFYb0YSb0YSArBOTWPHfWya/9XzO28XsPAe1jpB45aa8kVat1TjeOzzX3njYgQDnRMcpnixYdLDIkVhWmGRRrtIaaSVJlqVo8z2g8JC6d2yrDxlzjypidgX1K7b5be6ERPfBrD6FLWZwDpG/FZXAasTOrsIsJqZ7iams0bRGchpIMD64MPXU1ivYz5fElg76ZOEVqd2wNgOAVjUqWLR+GbR6U1zwLr2jbsbgUVE1lU+rLeIl8lMaxCynlhhWowQVPD8pu04aV1tk+hxavGNgCXQSpBXwrKgIK8IrRLnwqiwTk1zGcAijdXUB8u179xsfAdvYI0DdC6RyUdpHJTaKtHkPvvi9ihuHMTzQNIXYsSrgFVhJBLjOBRZMxGuLFgvN1h1ljyQmSVGL5aW5ED8yW3KnEKR1isx5hEQY2EoCMb0Y/o7ZBojFozXIvumv+TLwBJsDYLLwURWCe/79Ko99eYjPYq6cap6BOpH0CDaSIDVegxaeuhmrAdlzZ1Uezt0t0FnK3Q10T1Hmc4qRVd5TsP+tRWvwxXAKpD+23dsza+o+9F7RZ3cS53cxQwTYJ3aBqe2wdg2wd3OjBdTpzbTBFjysQ3moU3LmzbDYh/k2MGAsyeEyEOxAYOxbvo5ucOf8O4DVkbwLi614P91pPKwyIa4hGAeSnogM7vLgueIDL/B/g3OQOX55zZuk+kxs1ysd0p0Nn/R8hgpCUNxdHjPRNlwPDETZWdiiZlYYjqKjnbBxCA02t+I8GdTx/gUezbMn5rmf53sYSGz8EiGvQgbdGax+4P/ltENCrPE7GX0NlqVpcqybNq2i2wzSscwxEi2FebGYGZDJMLzfCia+MLfPy3XO1Q5uM9GZPKJs/zYC0OThJPWYhihVOuTGnz4/HobqGyYEK90ihUOudZPyR2IM41XpvYqVF6ZGnGGQwONs0ttHIGh94PWJ1O7lRq3VEdsWSYcKw/rHl21pz67tEPZcIKqGYCGIYq026FtEF1Xrb1MS5e0qUPa2ooznHuaobsZuuup7lqmq0LRVWo5un9d+evw/veBKw+MLiy0PXmyn/2zvXWXZuAV5uQeGN4JJ3eIh7czJ7fCeDGMY6NdNLpFTLpXcGYznMGmu/LkZsuxzasbimFpHlidkO2is/CsUno31teaO6sneAtgNwesPwdY5BbFkD8c2IUmSQKsHQRY2QRYFn/R8igpCa8LrMkorgxejGHf6jw5zkURWGfCibMR/k8CK53GOUtXBqV30yaPNNcP2lyx0SbWmZesXne0tSNGArAyc2OI1EJmsSwbjbGTM+zilQ8yKiuOm9f5GI0HvexqG+gclBFbxbTGQcttILOCxg56u0jnUBo8co1HrHBINF6FIV+i8UrVXqUSD4XqdgHLiZrLWAi2FbD2sVV767JLWxWNg1RtLxwdoJqw3Y7AauuH1l66tUva3CZuw4nz0NMIvQ3QXQs91UxXubK7jADrtauB9fNv2tt2aAb3MCO74eQOks+3nTm5BcaKYXyLaHSTZGSTeGwzM460QmCNb1YNb7b1FSOwFvvBaodsJ5iJs1fnluj9jMYzS1fCHfu0dy+wBPFytcLCyie90QTVlbAKltJZ5I9uDCyR3uItWhbm+RDGtBNTe5RkXUXZ6Sh3hbyKILDS8upMCO1X41OJMyGhh7Vd8GEJv2RaYd0CYFEGj8xSAIpsRmtVmOx//YnHLkyFo5gbmpnHgOeBEBvPTzie6B89k+MpVJq8YpVDpc+XKz1SFWbAi0xukdklMnskJrdM65aq0Dcv1TmlGodM65TpMKcB1C5ZVoEgrwitvFJ0gRGFZbjFCisDWOseTQGrXwAW3TwILYMIrPY+aO2mWztkLa3itmaqqzkJrJ6aq4H18PuvUFhJYO1mRnZTuCa4nSisy8CSjm6Wjm4WjW+G03iICLDMA8X3NBbDIh/k2sDkoE0uDOfRuIQPhjuWLLP0i92NwCLb9NItkisV1jsFFqVBhZUJrJkYpjJMYzHITRNgXV4ZTNHqHCkGz4QTp2cIqia5MyF+dIr/1fO3B1jJlX4yCZ1S52rM7r/90tdjZI8zOhgEVZmcVYbtPC6BYQwToeiLW3epct2M1i7RusQqp1jtkpj9tMWHVYwlFw+7E+w+2uITZ3mUBo9S42TkuXhNm/2gdVEmP+oslVAP4kqiUK0L79QsXfr4r1xdEl4FrJqc8hZFYz9d1wdHjxFgDaC8au/DPYPt7QRYTdBN5FVvHfTWQl+VqLtC2V1iObpvXflrcENgoeVKSEAWjaC8gvEt4jGklXR0syCymHH8Qnlys2GoGH1YC7xgtoLBITLg6cVD56MI2Wfv/NyBzzwHrGuAJdR9+JiUV6m08pTEuJ7CugpYJIYBgTUVIVlXkfhElJ2I4srgxQh3gZgYUF6FUVidCvPjocR4KDEyxY0TYP3f57bdFoXF6Nw4JVBtl2X5RTqHNtv32+eL08C6fGJwSD0eZJskPxNLfPmfnhHpLaDMYYwebLLkeMHlgwI/PLxK96VH1f/4KPz1Gljmg/k+yHaIdA6d0Scm83JE1nlg9oE5Lw0siYZ0vgxuidYl1ZBJHLO28nB9YAk9rHs/vfqVWgRWUx9d1wtH++jknsF+aO/BPYPtrbKWZkl7I3Q3wLF66KuH3mroqxT1lCl6SixNrxNgPZRSWB7w+GU//4a9bbtmcBdDPKLUyHbJyW1JYJ0qzgSWeAxpJR3drBjZrDxZvKCtGIq8lMHCaO0yrVOidErmgHUH0nQ2fiXiXcRWZbLa0hNgaS3Yj7k6LOXPBxaJYQklhNyY6wALaUUqwXNhpBW22Amtxma48VDi5CQ7HuJHJvnbCSwtrkORoV5Os63g2NCZWIznhKEc6VpZqIyFmHqen5iOP/q5L0n1VonZC2YPOPLA51M//rG1L/z7R2u2rSp5dnn5cw81bfft+r/wDx+DeT7Q5apNPqXGibHu2X4we8E6T6RNyiucBGF0AwGWTH1LgKXDprscm+5EYV0GVnVOeZOyuRfqu6GpV9gzSHUcg84e6Ghn2pulrU2SjgboqYNjddBXB30CsEqUfUcsTa/dG3gNHr4RsLCBRY9uk4wUi0aKqVPFcANgEc1VXNBRDIUekd4iUdvlWqdc6ZKoXSK9D3RkGsWsAX02bsB3+Zx3scLCcgCnk4p0DonOgrvjbgaw3EVLZxK8sPkGY9qj7FQ8gdoqEr8UiV+McILrSgAW9q1C/FiIH53BY3gyMTqDwPr3Z7feLoVFaZwSgwddGhrrklUPRTk+FsexqUReEagLzSssDLHdF43xDU3dK1d/QKy2iMweyHGB3wOPf+TBw+uXBtfPb16f37fF31/s6Nlg6VhfVL9B+pXHwOMBg0OlddEKO64kmtxgKcBoOjUeSWAZ3VKN67YBy74M7v3U6leqsysIsBo6oambae1DbdXRg66rjlamo0nW3ijpqIPeOuivwaMvCH0BurdE2XfY0vzKvYFX4IMPXqmwnra3bdUM7cC4q9EdVwDrNEoq2RgWhlcdzHhxXicCS6KzSNV2pQaBJdW4cbuPAS/gd4mAv6wfvzuBlTQKCMBi9NcHltBuv27TPZFgsRoiy2bPbcRVQkqTLTI4RTpbGliTJKZ9gthEBWAJ8urNCLqucGWQFINjdxiwpEYvrbGpTG6xyvzJz/xtOIY2K9JwxyVBhDpOQkNyJXtYPL9l+6smo1ukyAGNDfzzYd3SNa89u6B+g6d3i3Voo7b/efXA84bRTYaxYnv3xkWv/wHuXwEGi0rrUmu8qux5kOUFSz7o0dYgzQCWRHvrgCXVoMIS653opTDlgwCsV4PZFUeVzT3Q0A5NnVQb2eHc2QVdbVRXC9NxVNZeJ+mohd4a6K8iRyX0V9C9h5V9By3Ne+8N7IEP3g8uP7E1CCVhClijScsVKqzRLdQpbLFLxrcIwBKN4/ogM45NdzzGivM7sCRMKyypCoUnmPxAjCN/WcR5l7/tXQcs4XwJ625JYGGipuX8RDjB86FQiGyUwxIoFucIlTAPOIWtZFEkZD8Js/ae3bRDZrDS2hyx0cVorf7FKyZi/EyCxzCGOCckXgnaKhNYyWXBUGI8zJ+cwWM0jAprZJo/McH/+/PCXsKUD4v4bm7JXEIyMNVkp5UmscrUdexELMHPhMiEZ8ymF4RWSm4lUHjNJPjfPLfFqHfKlRZRth/sruwffG1Z1QZvX7G693nN8EuyoedUQ8/rRjZKB1+wnNi2uG2n+vtfAm8eiLN0So9OnwdGH1gKwIAuM6kasQUGLAmxLL0FPSxjHuh8EjWBo84BeicCy7Ec7vvE6teqcgINqtZu6mg71dJJtXdDRyd0tUFXC9XVLOpskHXUSrtqqGPVMBDEoz8AA2VM3yEBWOsq98CH7gdvAXGTucDllf7sKXv7FvXgVhjexIxvZcaLpaPF4jG0iQJRWNLRzXD8RfkbO2B0A3OmWHRqi/RUMdX3wtLe3VDolZjsqHzVdpnOi/ZRFKfY73uXCPjL+vE5YKF3VKKzxHl+ciqMjXYuHotFUD+QERJxVBRvF1i0LgmsaY4kMcRYAVgXo1gMXogK9WBC6LWPhxJYDBJgDU/zI6HLwPrlc1euEt5CYIl0NpDppLpcuc58YSosvHZSEAqCMvmI8xUTbCzBn5uJfuqzX1LJLVqdR26dB36f6z+/v6hxS85QsWJ8o/b8Nsnoi8qR9eY3dmjGtphHtrlatxh+/R1we8QqW5bSZ9bk4ShAM6ludEirdNMdo5mJ43T27ihsuqeBpcHVAARWVj5g4ugnVu8L5lTWK9o66aY2aG2n2juhox26WqC7mepuoLvqZB3Vku4q6A/CYCUeAxUwUMIcO6g8tt/S/PK6yt0ILE9+Elhuj/TnX7W3b9EMFcPwRma8+LrAok9uEJ8uhvGN9NlianSjYmRzzontK5q2wnwPnWWjNTaxxi7Re7GUFo45YM3e9XHnPDNZHkr2sARgBWtbL16aJsUPH4vFIhGcBxPDui8RxwUxZFaykYOuURxvhbkxCT5TYQnAuhTnpxL8pTh/iQBrIs5diMTSwDoXRu8C6bWT7lWYPzHDD0/xIzP8iUn84sQE/8vntqNHXLC539Ir0qXK8YE6S5PtWnX/w0IGVpxjo1EciZpxYE3I8RiLNXTmgt2/WKO0KZR2vNuLCvN+95PCps254zvhxB9h9DkYf0E88qLkxPPioResp/Z4O7bl/uFH4HHLTJ4spc8o99BqN4osA26WEoBFdswImxBm18n9VsC6/5Or9wVyKmsVbe10Uwu0tuIWnI5W4mhvpLrr6O5aeWeVpCcA/ZUwVAFDAcDg4yPMsf2KgdctrbvXBXfCh+5LAcsBBFiOjmLNUDF1chMBVtLEkKmwpKObqZENcHYL9cZWGF6vG9q0YGiPb/PPIN9NZdkorQ3HKSGqPGDwzvWw7gp5ieuDpOOeURLaPvHoF1gy4gVFViIR5xBJUQ5pdV1goQWJAOuPG7dL9RaKlIS0zupZdM/FWGIqwV+MJS5G47htMMZeiMTejLBvRthzYe5sJO1jIL32EH98GlE1MsMfn0BgHb+U+MWz224XsBitFftxmuz/+N0L0yxa+aOYeMwluDgnHDxOAIoluCjHhhJ8a/+wXO/Qad0ILJ0D8gt03/7iysZths4XZOObpBe3is5vkp/dbDi3QzdSnNW1YVnHbv1PngYfGrI0cpdGgk537B/rEVgiLR5pT++t8GGlFJY0qbDsmNbgXAwPfHz1vkBusE7R1ko3NUFbM93ZRnbhNEFPA/TU0t3V0u5KaW8F9FfA8XIYKoehEmroiKj/dcXAPkvr7nurdl0FLNkvvubo2Kw9UUyNbBC6VILrKg0sGfExwIn1zJvb4Y2tzImXLANbVjRtpb70cfC6IMsKWhuld1CmFLDIqtGdowNuwW9yN5aEKWD5Qe8n3nEMbHAXLL44GY6ziZkZzM8UJFWExfF7cVwNQ5EltLdQXiVYlsOtghGOzwQWo7d5Fq18M8bjxHmM5eMuxfGL8+H4mxH2fDiO8iqMlqvxEC4I4prgDAJraAp11vEJJNfQJf7nz942hSU2uqRGp8xg6x0+O8PipPm40GoXjKOpMyPIrTDPP7flZbHaIlPaNCafwjIPHB5Yt2ztgefmt282DWxghp+HkeeZ4RdVg+tzB7YWdW5f+eof4W8eAn8+leVCN7zMLtf6RdrkHDPhizSwZjs/K1NhXQ9Y5bnBGmV7GwKrvYXubIGuJug5Cr310FvD9FRJuwMIrIEyOF6Kx9BhaugwM0CA1bbz3qqd8KF1mQpL9ouvOTu3aE8U06MbU/l8G8VjG6lTG+H0RlwlHN2sPrlFdOIlBNbpTYqRzfmDO1bu/Q2sWQAuJxpH9XZK7yDyCiNhyem6K0RGGoV3LbCQVuTwUmjFspnt/ufXb8a+FY4oxhTNOItN5lgCmSVYjgRUkei6OEtodRWwKIPNvXDF+SgCi3SsWAFb58NxpFUkfiacEIA1NsONTCdOziCnhqb4wUmCrUuJE5P84MXEz/54uxSWW6R30zp7rnfRsZPnL4X56QiKLGQWi8uFwtpojMNaOMJhavua939UZnCIVTZaacGQBmc+WK253/y7+ypfWthTnDWwXjX0gn7gJXvf5mXdux8MbnX/05fBagNPAZidjNErVrsUujxG7hTa7YywzZvUwqKMberp6/XmfvGWwPrYmtcrEFgdrXRLI7Q30Z3NaGrvOYqWq94apreSAKuMGiS0QmYdgeOHmYHXFAOvWhBY2+HDay8Dy+OS//IpZ+dm3fBWZmwTc2qjkICcCSzFyGbd8Bb5iY1wdguMrteObi3qLJ73y2+hec1qhyxLElgmDBqUaHBwRirf7W7B1hywksCSabMfevjDJ4ZHhDbW1Mw0DhMkwIoluExgYXxdIh5n0RcaZvk/bNiWLgnTwJpgrwDWG6HYuUgSWKdD3NgMHmlgDaaANTCB5Lq9wJKb8ymNM9u15Itf+8E3vvNvX3n6mae/+f0v/uPXv/a1bz319D8/9dS3v/r0t7/69He//NR3vvzU97749HdBniUzu2mDEyRmkGarLDgkBgryzF95YuW+/7mnu9jfuX5e+4Z7O3aue/UPlq98Qb5wOaiyKZsfsuyQ7aNMXpnOL5E5FSpcImSSpTraem9x0/1qhfXgI2ter8iuugpYDSiv+mqgr4rpDch6KqS9KWANl8Dxw9SJQ8zAa8rB16ztO64LLFfXlgxgvSQdu0JhKU9uNp7YohkmewlHXzKMbHUe+W/JI++j3V7IsQnAwlNtRL+oXOlRqXySu2x3zl0HLKHcAD3JFUGRhTvXRDqHWJ1jd8/fVLwzFI4L64OEVqiw2CSwSK89wQrAinJsmOVnOAFYVlpjQVuD3iEorExgvRlhz4awe3UmzBJ5RWg1w6aBlVZY/ZcSg5N8/6WkwkpVRrf4w9NLadw66wJGZRerbNL/j73zAG+rvvr/uVfTsra8bU3v7BDCCGHvFt5CoS/tS4FOaKGU0r600MGmrDIKZZPlGSdx9nIc25L33lOWLMvyyo6zPKR7f//n/K7kOCHlpW9d/rzFz/N77nMtJ7J9pfvR95zf95yjSRArotR6Y7gmLlwTp9TGK7QJCm1CmCZe6NQu0hjFEVbQGCWRSWx4AhsWr8LywGiwmeH65fDwt0wfPGl57/fih+6Cay9HN4M8UhOZjAYIvREirRCVJNEmScOtctVZYAl/+JcELH3I1oA5rATQGdHfZF4CM4HVVAstdUw7rcJBRzsCi+0OAgvc+8GzD/r3gWcP49ktcm0Ld28NAuvWKyEpGSKwZQXYLPJXHzF3ZGn7s6S+tbLBNZKhNeKhYDzIDGNIqBjIVHkyNN4suS9T15eZ2pFl/PAPYIqVRJkgIh70GBKyeisYsEmDQmFTzwFrdiX3V+3ZcPtJbxHy2ZRZmOiluQCrXGdToEzQV9a2CbM/z/inDQ3cpH+Cp/mc0+MnJqZO0wgJ5dUZjrzzUWa4waKKSGLCEuQ6W/Liy49O4hbhMRw6zwtLaCAzTLNXg+PUzn6K957k+k9hlt11gqC2Okm6jgZ6jvM9x7iXPswVHMwz+9sJ3rEv7ZLij6ZBGQWHSaoJrukHQyGbRaQN9lQI/rb4pQWibRBvBUsi3rGJyWBOhjgs3KHtMfDfT+8qTLfuE6Kbmdbtf3W8gyGhPgU0NpnSrFDNAJZpCVz9Hyv3lESXlSla6sUttUxbLXaPwZrBKuipAGc50+OQdhZLuvaBex9490L/LvDuYL3bRe58hSs/viXvivINcMsKSE6GiARsAWZOYF/+mc25PnowT+z8WD+YKfV8AqOr4Xg2cyiLHVor9q0VDaxTHNsU5suJ681Z3pK3aPVLsCwd9FGa6CSpxkSvc/DdK1QyhYcnzimsL/nz/Ev9cUFghZgVohXdmQozybRWTVSKOXlpWVXzJDWyHz155uTpUzzhJqbGxyfPUK835nNOTJwa57iTfu4MRz5auyEMS1KtIItT6BKTF19+ZII/7hc6tSOwhP58w7RsEGl1hsNc+ym+/xQCC5NWJ4hzjDhPkY5jga4xvutoYCawznbgpPmdLw1Y/+QPYtTYtw9hpLMJ8+hx1ov6q9UhE6UcBVYYBZZUmwBaQWEthmu+hcAqLw1rrRW31EJ7NQLLWUlpVQa9pUyPQ9JVLOrGvBV4d4N3BwxsYwe2itwbFa6NIWBdCenpEGsVRZoh2SZ57RFTe6bOnaFwrdK71ob1fQoH18LxTBheK+pfJe9fI+9bC85VBhdWO8/PfBluXglxcYr4ZFFYLHpotZRWeivo8B0rNLeYA9aXSpB/8q74R//7NLBC0ZYgr3CXyhC/BGRxSkOyXGtMXnBJ3ta9uEdGQkMWpgLCduGxU8dPTYzjqFSC8eDpAFmVvRW3yTRWRh4v01qTFl02A1hnO14FA4AKVgAAIABJREFUi5zP4M6g97RAKwSW+yTKK+cY6TmJwOo8znUdDbz4QY7gYMZJ8WrsZjddrf2P/sn/v/49q6Ftm2bU5X72kf9fv9v0z/0fgRVTUYbAaq1mOqqgowJ6qbzqRWs74yyRdO0X9xRA3x4Y2AkDO8C3XeTbFgLWelRYN18JcWZQx7HKGDCZwl9+xNa0LtKZETWYEz+Qq/Gsg+G1cDBDPpITeWBTwmh+XG9OinPD8pa8iHd/C9+5HuKiIc4cFp0kDo+XIv0tWAOALVsRWEJ31jlg/TsDi972GLB8BljJIIqRqhMZeZw4PD7SmKaPT9qxr/TQiYkpjoxPkSNjpyY4akoiZILnsUUfj1UpxyfJxxn5rCJaYUiSaWxSjSVp0WWHxzkhHhRqBqnxCn0MQjA4DSzPyYDnJO8+SWl1nO85SdqO+T8HWAKzpm+2r/gJtnyg2mrmUYL1N1+hN9i5wEpAhaWLx9pG82K45vYr95bEVJQp2urEbTUIrM5K6K2AHpRX0OtgnCXS7qIgsHy7KLC2inxbxH0bFO4NCa15Kys2IrAS08OiUnDQmcWifuWx5NbsiN4snTdb0f6xyr0m7FCedDRH3v2poX2NsSMzpW7tyrKMxL8+CTdcDEkJYLJIjdjnJ0yPNlraM/ocYNFa8a/Q9fwSXtyvXdKdehGn/dPTCis5LGKeKmaBKjJNojaz4XHhkVaQ6X/6y991uAYnqNQam+CPn548McWNE3J0Yur4JGLr+BR5b00eq4yR6m1yQ7LMkJi48NLD49wRTGDh6PnpImdsdEWNV1ReEYoq3n0Ss+yYtzrOd59AYKHIOuJ/7oPszyqs/1vAEt67gqr6Cmor4df7PGBde/vKAgFYNeL2Koa2P0ZgOWkVjquUcRZJuwvFzr2MZzf4dsLANvAFgRXetzGhLXdlRR7cfAWYhDb2ZjAaJS8/Yu3K1Xvz5J7MqJF89UA2682Q9K6Jbls7r239RfU5l+35OOKRe2FBCliMYLGxsVbQxMojbIwqHtOCegvKK6qwhLpLWis+B6yv0mfgbDMbdTUWNwQnep4FFoRbQWZk6fiD8Ihkqd4CiihFhCU+cdGPHn4id/Perv4DJ6cIDkklWHlzkicCsN5ds1ETn86o4iE8HsKiExdeeuhM4PAk0mradTVtE/We5qeB5TrBCen2nuM8CquTpPXoVPvxQNuRqX8DYM1E1czz2X5B/6nbdRpYNOk+Q2FZFsJ1t68sKIqpcCjaq8XtVF51lYKrDHod4CoBl53tLZb2FIidu4PA8m0B32aRL1/syQvvywsC65aV2F5Gb1FEp0LyPN3TjyypzExryzM2rk1vzk6uX2drzZrfmruo+BPzJ8/Aw9+BFfPBbAS1IcyYxBrixXojhGMnW1DFIa0EYNEclihUxvSv3pf4Sr1e2Dj7q/YL/Yt/H8xcirUmPGqsQiGIGJ3WuMIi5imjF4LSrIyej73llAnotFbGy3RGfVzqFTfeef+Dj9/30OPf/dEj337goe/+9NF7fvLoD3/5uxW33MVqjaCOl0UkKWKSLQsvOXCGDwJL6NQe8rULPgaatwpqKyHd3n2MdB4nnSdI69FA2zGu7Ujg2fdyqN8icWYO6/+iwvoXv5r/FK2E6zm9SyhXJ1BbAw0Jp4FVZVe0V4rbaQ+ZLjvjLsMKZ6zCKWZ790t79kp6dzH9O8G3HQY3w1C+eChf7MmlwMpeWZGLTndTEkijlSobaIzMFSuVD3wn7Mf3yB64U3HP7ep779T89Lth990BV18K81IgJRWSUkEVo9FbtVFJIDVINSZ5hA3CYySRtiCwhArT4NY2ZrK+4ld41n+9rxuwhK36CwALFBZF5HyQGRVRCyAsQaxLwlntSiPtvWkFWYxYlaAw2NBvpTOGRZmxSFiiE+uNOA5La5QYLGKdldEkTANrRjAYzF5ReSUU4vCCvMLNwTGkVccYAqvl3whYwi6hsFGInZdpDv4ruEuIwNKirQGBpYsL5rCCwCqMqS6Wd5RLOtB4BT12xu0AFy3Ece9nXfukPbslrh1M/w4Y3AqDm2Bok3hoo6Q/J7wv19ieg8C6dSWkzANplEaXIlVZIMaG/DImQUKiKDYFtPEQbULDR3wSRFkZg5lRxWt0FgY0YeFxhthUkEfLIm2gNUoibTTxek4qQ6gKmHUifMWf8OsILKFpyQyFRT+pNMmi0GK0WGMYMj2ERn4KlSI6E0aUOlo0HzwXAsxgsGldvOLAODmIc+dxtATm2qmJYeAUQdcVbgtSd+gJ3nmCpq6Oka4x0naUtB4jLUf5tqOk+eDksx/kzimsL+HOobvG5wJLH4tdnq3z4bpvXFVYFFtTLO8sFXeUMj2lWOTs3g/uQqEEh3XvkTp3Slw4wxnllW8j+DawvjyxJ1vpWW9sz1pZmQ23XoY+rGgbzqbFlns2moHCAYjhSmu4EvU+o8N3jiD80eymMkpVRonaKNKZsGxQbxJQJbjepOoZu8ahlrlfwoX66vyIOWAhrVBah2gl0iRTYM1kFoZmoWTBjCxYMBdGH8GkGHW6L14xegabtY+c5oVO7b6g6ypIK/dJvvckcVJgdY3xHcdI5xjSSgBWy1G+6dAcsP7ZWO8L3mBB4+hMhTUNrOtvvWp/YWzNfnlnKdtpZ5y0yNm9D9wFaLzq28O6d0md2xFY3i0orwY3gA/btIv7M5X9OWeBlZSMwgqpZGX0WAMo1ljlGlu40iqMXwzRyiLVYEMuEYUU6E1gCC6BaMJIDtkMYAWdz19q96Ev6XX5nJfv6wcsip4ZAMKq9/OWIK+mRVbouzNfLUGcT0v06W9ZrBRYIxO0WftpPFJgTcurkE10jKBHNASslqOk6ShpOsYjsA76n/0gb05hfc67dra+FQJW0tmQEIFlAWs63HDzyqICCiwH21nCOIugt5Dx7AP3XvDsgb5drHuHrHe7xLWV8ebDUD4MrofBnLPA6shcWZkFt16KXn+Dlc6UtyCwcL5GIkQkYQuwCBuquUgbRFhZvVWiw8pzWq5kxWmpUVYwYKKdFudjE3dhTfvyZpYKzNYF+eo/z9cOWMJLEpJLAmimgRWE198B1hdJcFosiy4fOc0Pj5PB08R3SqjCQVqFfAwE5dUYWhm6xvjO46T9GGkfIwKwGo9yLUf5xgNTz7y/fg5YX8LNMw0sqSqUw9LHQvQ0sPbG1RWGddlFXcWMq5hx72M8e6FvN3gw0c72bZe5tkrcm9mBTTC8CYZw4jw7mC3uz1D2Z5s6s66syoZbEFhMCFis3ka7PydCZBION4tOQvEVbUM2RVgZwbIQY4NY+mAkOhgEWknU5vNoJewYzCxj+hIu11fhR3wNgSUkp6Y10cyTzyqmmd+dPp8G3PTJ9LcspkVXDNGGor5T2KB9Wl5hoytaNjiDVlznccxetR0jzUdI4xFSf4RvPEKCwKIdOOd2Cf+lNwkCK9jAzyzDZp5xMANYVxYXxArA6t7PuPYzbmzGAJ5d4NnB9O8UeXbIXJsl7k2sbyMMbxCAJRrKCQEr48qqTLj1ErBaIdIMOjOjs6C1GOsWEnH4oyEJsRVN2RQtSCozRJlDCLMxBhRcNBK0SlWWaWEV8jwHU6v/0uvzFXzyrx2wguop2CX9LGhChlKaivofnGjTnJo+Ofs8xoUrBoVIEMubiZBr99BEO7quaNkg1VZc53Gu4xjfegSBhZwKAathdPLp93KFlsHTwJquzvkKvof+7/5KnwesG28RgCXvxoJBlFcIrN3g2QFe3BkUebbJXJulfRsRWCPrYTgXaJt2iReb8Jk6LwAsucamUGJfChzarA9FhZE2DAMjrNiWJ8IsnLN6TMzLVRYFTsfAYBAtSFi6TxfNW81MwP/ffQn+0d/86wgsoRsvkivYND24U0O3/zDrKezICMcLgWyaU8GEfcjPhfUTArAGz2B582eBNVNedRzDjLsArIbDpOEwKqyGw3z9gck/vn9BYH0RmE6jc+7kf74CfwdYJrCmwk03X1myJ7a+YAaw9rD9e2YAa4vcnR8E1mjeDGCtCwKreh18YzlYzIzBCDqjSGsJU2OuHRvpaJJoNBqceSMMNFMpTeFKk1SDYkquwm1EtQJXuBKBhRuaBso1OmVWpMUH5dTn/I/e8/+n//3XEVhnU1SfBRbd7JsVYHlPct6TZ7NXKK9o9mqmvGo/RlqOkNajSKuGw6QOj3z9AT8FltCrK7hBiVJLQze/aSH0F3vPYdItyOWzdMa3/rn/XeDg9PG8737Ol/T5g9dwepL2BU6EhMv0Dz13x+P85w99igSfR9jxoA7J8z4ehCtz/hFv+NDC1/Gcy4WfNIJbRTjiRltkEuhtEjW2l5GrE0QaI2bBrfPh5lsud+yJatgj69nP9GLvY9a9R4zx4HbwboMB3ByU9m2UetDKwIzkwVA2DOGEQda3LtyXldCVcU11FuawzLS7IQWWXGOTq2YAi/Zio3iyqMItGoVFHY5to6UqS1i4RRWOtFKF42aidBpYQp4LSwuDOfhz/8DzL+b0Nf+3OfnaAetzX7kvmMP6nLeFJX7+ZQf9NHV1BqcN9p8hrlOk47i/+wTpPMF3nkCPaPtxvu0Y13qEbz3CNx7ERwRglQ2ONxwllUPjT72fgyFhVKooIoVRW+XaRHG4SRpu1kamyzS28Kg0RmlilKawiBSJFqfOSLRJckOqSG2T6pLDItIk2iSR2ibWJLMaG7aBxvEqwhHnrISG8ZzVldT6j92gPlMDcD4jQhumVGOi/wMnD/2PS/hnAjoF8gbhK1jbaAA+zalQtzIh9kG7iViTLFUHj1I1nodWIj1JlKmSZdj/LxmFidqsVBsVKhMFEAoW5KPOJotIFRvSWF0KqJNBlQTqVFCnQUQKZrhjbSKN2aBJUTNGgypdHDEfkpfBzTctrymM6NjHdO8G927o3i7r3SXr3cF6sCsDDG2Fwc2igY2S/vWMN5vxZoYd2ABDGezhXPCt0RzdEt229qryTOyHZUzElntaM/ZQ1dkEWEu02IFvuuWZlO4ACqGfkKsSwj3BxDAzezVzZ/Dzuf+57/PPeQN/1b81B6zZfYUstouu7j0yPjRO+k74e8cCrlO8Z5z0nCJdJxFY7WOkTaDV0UDrER5z7QdJ8zFSM8o1HiXVBwLVh/i6w+Tjgjpl+hXY+jLcxBqSRdpEdVR6uC4VxNGM0iTR2hiliVWZpbpEidYm06coItMZpQXCzRBmBHkCq7IqItOVEemCMDmHMujhwD+ZzncIqSqMgoPAClVZXviyBLEidF6fPtIpRPgtQcfNONIfLey9Bo8zs3IhdYCqR1hB9tEBVsExVp8xnUwH4MIdK9zbQiQlU1sUKgysBFrJ1BRYtG4Uwk2gMoPGCtok0KewEWniqAWiuHlgSmUt80BjFoWZFep0WfQSMC6Bi6+E//5FStO+8Pad4NrN+grAvV3avS3MhakrQOPVZhjcJBrYKPLlsgNZ7ECm2JeB47lGMmFwrfLQJkPr6msrc+GGy8CYjJuDtMchq8fWxkKPsJlAEf6QryeAZl6HL3I+B6wL35lf5Npd6N9Y0i+/qXP0xAE/6T/FOY/7e8b8nnHSfZKn8ioILMEj2nyEa8ZEO6k9QkqHJuuOk+ojpHRksvYYKfQce31T0c9e/ijl2rvF8QtBGoeDsDRJiuh5Yl0SFr4aUqSGFKHeRaLFz22JyhJuSFHok+XaRDlWxlrF4SaZ0qJWWHVhVo0ClxBiCJZF4fM8hIzpOI5W2Or/geO0oVGmFrxCn3ekYiFZpEmdXow2ldGmwmeXLhVwJdMOUGddlGin1CfgMsTRFcvo6TJE05M4kcYs3Pl4WXQ2VDf0z2EjE5noJCbaBpEWiDDhbqAuDrRxoDaByiQ1LgbTIohPh+VXiR59lHnteemWTw0d+6BzO+PZKxvaL+rfxXbmKzw72L6tjHcL481nfRvFA3msD3PtGAwOrBX7MlgfdjpWjWwwtK6+qWETdokxzQFrNm+xOWDN5tUUaS2WJVd6jk8NYjyIBYO9Jzn3aQwJO0/wHWOcoLCmgYUZqyOk9hgpHZmqPkqqjpB9vtOOQ/7qY6TmONnaMbK5aSCrrOvib/0IItJAYRbHLsJ7OMwo0qdKIlJBbRUZElmNBcLiWJWZUZogLE6iNodpbYw8DmSxWkOKOtyiC8N1AWDRufBC4bdg9KeZYAvarPEmn3FETFgoLM45MjrMEAvZ3y9ylKoxxBMgdaGj8K2zRxRchgSIjD27gpwSaHXuEUFmwoBXj3twrCGZ0dvQq4kNZukGnEHojB4Lhmh8wgQzY06FqBSITgdjGlyyMuHFF1I3ZCSWbDM271O37ZF27WGdu1jPbsnAHnH/TujZJB/YzvZtZj2bJJ6NUu9G8UCuaCgHDmTDAZq6Gs6R9K9VDGUrfbkRbWtubtkC1y+bA9aFPtf/9zfdHLD+99fuQq+EJSpl2UE/6T0ySa0MnOsU7zpFOscCSKsTXNtxvvUYukObj3BNh3FPEGPA46TiIFdxiK84SgqHx/ePTJQe4YsPTDWcQX6VDE0U9p0o6Dn6wDN/0y283pB+DUSkQ+Q80Ngg3CyOTpNEpYn0yeEx6WKdDRRxgN0pg/3Xw/Q4XyO0hII1oU0FDokSMkEyVer0oqki3Oukf9oXOVop6VLFahRNX+CI4e2Frht1FWkRf0JwJxyxVEUfzRgMjCGSrmiRPjZYyIm/pFBQlSrSpIvU80TqBYxmHmbrhMw09o2yArYVNuOEV3UCGKziuGSxOY0xpdAKZBsWHq+4Dr5z77wPP7i8ZO+ChqKYxr3R7lKmebvCvR86dyrc+2S9u0TOrWL3VujLl/i2Mp5N4r4NYe4NCk+e1JvLDOXAoSw4nMEMrFYOZkrcnyoGcL58VMea6+o3wM2XzgHrgi/3//rBOWDNMrCMC1ccmCKeMa7vBK6eMX/3Sb5jLIC0GgtQWgUorQJNh/n6Q1zVQb7mKKk8TEoPceVHiOMwV3hgsnDUX3gwsKXvxN6hqfpJsstz2n6AlIzy2zuPvrmp/CdPv7fyPx9VpV0J2hTQp4LSCrokUJkYfVJ4/PywqFRQGcU6nAUPyliqjGaEeKH+JLhNJvTVUadKVbhk9EgF1/m59lDa6AKPzyi9nK7B/JwTwUqC+X6hRG7aNSLWnp1zIVObgkuDHRQopOJEurjpbQF8u2Pt51lUidSLRKoloFkAOhsYzKA3g9aMtBKWPlGSsAAS5kN8KpjSYd5FcO3NEff9OP6J3168Me/i8sL5dSVRVbs0bYXQtB1ad4QNloucBdC5XeXZJ+3eJnJuBtcmEXa82sR6N0r6Nyjc6xXuHJk3mxnOhsMZcCRTNLhaObRO6l0TNpihHMmNd2atLFkDt1wxl8P6X7Ppgv9xDlizDKyEBZfbm91D48Q9Fug/STqPTnWN8W3H/JhrP843H8eCwcYj1L5wiKs/xNUcJpWHeAFYjoN86RGy/0Bg3wFu30G+5BjZ4ZvMd5/c4jmzwzu5tW+iYIgv9nFb249ubBh9Pb/ysbdyvvHzp9XzrkHBFbcQFCbQJ4ljF4DKBGqzNDoVsE1lyG0YPKEbhdNZ7bPjzoQ52EgBsfrvrtD2XHCfLtSPKZS8p6YQAUYXPCI9P7Nw9nqo74UgBqcVIua81Kli1Txc6nRUUrgw7RVMfgWn4YbG4uoTMW6NSMAZYloz7soZUiSRCyB+CRjSYP5K5vZ7Nb96KubNd8zZOUkFe2yVJdHN9rDGffK2IqWrnOncJ3M7wjxlbM8+mXOfpGtnWO9OtmeLdGA79G0QH9hGK5wxdRXWl6PwZEsH0MeAwDq8TjK8VjG0TjqUIRnOCD+YZ3RmLcx+Fa66GBLmclizeYvNAWs2r6ZIa5VGJb/6UY73JOk+PD5wGoGF43DGMBhsGTsfWHWHSdMxUj7irzzElx0IFA1PFR8IFI5y+0bJ7uHArhF+zwGycxjX9kFcOwb4XQNkm3uiYIDP7zyx3XlqZ8/JDwo7Vjl67vn928oF14LKhjdnzEIMG+MXYeZLL2SvQzns6TtcYFbQlBAauoW7dWdxIJwLgAilybEJj5h2tsAjxncWgTgzjzT/ha1RLrSoATLkJ0Ke0tlrdP9xZhAqlJ4ki1ULxKpFdC0QqReI1PMYTXowTx90bCQGoWywQAQdLxZlw0q9mFSInw+2iyDtclh89eKX/jb/vYz5G3akFRSbyioia6rVTfVhHfXQXcb0V0B3CTbn6ygSO+3QtkfcU6j0FIudu6F7C7jy5Qf3gjdPfHg7YIp9A+vLlQ5ky7xZ0gEc4AyH1sKhdZKhNVLfavFIBvhWy0dy4ppXmV77NTY7jpsD1mzeYnPAms2rifUTGtO9j/zeeXiq/yRxHgm0Hhjvpt6r1mME5dVR0nAUHe11h7naQ3ztIb56lKs8wFWMBspG/Y6RQPEIt2+ELxjh946SPRRVO4bItkGy1YdrywDZ7CX5/WSzh+T3BTa7/fmuiXzneH7PqQ1txzZ3Hs+sG/rBS2uUS78JthXyBTdA5CLQzgPDIohYDPqFoEkHXTqrny/Sp7O6FLEuiVVZWYVRojQpdIkKXaJYZcI8t5Yuwbqls2GQpU9kIhLBYMOFriIL6CxY0xthYyOw6g11k84srGARr9aEmSPhQT2N0XTCl8m4/adNAU0yLm0KfqlPERnmMfoUishgVh40KWiYUiRKtCkyfZpEm4Ks1KawOmoTl8Uy+iRZXLooCncS8deLotV5cYvAdiksvQ4uvRFuuVP37MtLd+1JKy4yV5RF1lQqG2rlTfWS5gZRSxPT0gI4fb4COksY2kNG0lEi6SgSdxayXXvYvr3QT5u1D22FkS0wkg+j+TBKywaH18NgtsiXRbcF18DwKhhaJR1eqzycw4xmwODq8OEcU82n0h/eAdZEiAhOPJk2mn020pmzNXz2mvy9R+aANcvAEkckXnzDXVU9I/0nyeA4dmVoOjDReoxrPUaDwWMXAFb1KAXWCFc6zBePcPuH+X3DZO8wAmv3ENkxRLaHaJU/QDb0kzwvyfOQ9R5+vZvLdQVyXf71vVOb3P51rcdzO09tdJ5Z33Eiq+Xo0xurr3vk1St+8Kf0b/xcs+h2SLgcoi+GmGWgmw8yC2jTQJUk1iSHG9LCtInisASRPF6mEZBkAWFzTW/BOX24xWalJwk04KI7bhFmPDcIu3I2Vm9jDYmsIVEUkSQsgW5MBCVdZCKOoolMZCIwvSXWpom1aSJ9OuVmGsolTQooE6mfMxn9nBq6tOmsLi1MlyRVmRlFPIQbGW0iG5kCUWkQM0+augIlZPQ8MC4F08VgvhgW3aC4+fvSO36ufvDpeW9lXppfOH9XSWplTXxTPVQU00mo9dDZAJ1N0NEE7S3QhsBiO6tEnWWSzjJph0PWYZd27pd2F4qce6FvF/TvgIGtMLgFhjbC8EYYysOawZH1MJoDw1kwnCH2ZYh9a1nfKta3Suz9lPV8LD+Uw/SviRvKT3d8DDdcDnEYAk+jSjj57K04B6zPXpO/98gcsGYZWLLoFFZvfXPNFueRQM9hf8fhqf4p0nBwAhtdHeMFeVVzmFQfwv3BqoNc9ShXNRIoR1oFHENc0XBg/zBfMMQXDJE9QxRYgwisbQNki5ds8pLcAZLtxZXlJVkektnHZ7i5LBeX00fWdE2s7hxf1Xnqk9ax1R2nVneceq/+0KrOU6+W9j+WU37v21u+9ezqFQ+9GHvNfWC9EmKXQ+QS0M1jdPMkunSpLlWuTZUbUqmSotNZIoR+TEYwWEXRNibSwkSa2AhcIrpYg1GsRy8FTu5QWkVqm0iNtntQWUBpZtRWRm0FNf1SZcEH1RZQmSRKc1g4lp7IlMGyXhl1VzBKtOZLdKlibRryS5PC6tJk+jRFuFERFhumMYdHpUniFkLMAohdDKZLIP16mHcTXH0v85MXNL//WPNsRsxb21JyK+eVdMUUNMSVtMZVdSlLGySVDbKWNratGVobob2Brnpoq2faakV04KCss1LWWYqryyHrKZY494t797HuPeDeDu5t4MmH/k3g3QDePPCtB18ODFNgHciGkQzRYIbUt1bqWy31rVaNZoUNrJa6Po3qz7G0Zhj+9ltIScSLhtsL0za3oLv9vLtxDljnXZDP+XIOWLMMLAiLUSbMT1/xjereg65jvOcMqfAcdY5j++PGo9xMYFUd5KoOorbCeJACyz7MFQ3xhUgrfu8g2T3I7xokOymttnrJ5n4EVo6XZA6QDC9Z108y+sg6N1nr4le7+Q86x1e5yFoPWe0mH3X7/9Z25oPOyTUe8m735Ntd42+2nXq79cQ7Lcffqj/00v7eP2xueGO/81efFlz+gz+J0q7HaDHmYohbBuoUTE7rktDtFZkOMekQmYLucJUR/UoRSaHQT5joiapKcK5TkwRWCFG7ZpJYZ5PokyV67KOC9m7qfceac51Vrk2WaZIkKhta85U2UCcinnSpELEAIhdA5EIMYyMXQsQiXFELwXYZJFyEkIpbCuZLYfEtzLcfjX7ir0s+2pO2piRlfXXytvbEApe5aMBYMhRVNqSs9kFpN1Q5Zc39bEMv1HdCcwc0tyCw2hqgrZZpqxa1VUqE1Y6oknY5xN0lYifOlWBdWDPIuneJXNtEri1i10aRO0/syWP7cxlvNniz0Xg1HPReiQYzZAMILNnAas1oltK1OtaZmdKStdSxGm5cBqlpoIydA9bn0Od/8a05YM0ysJSx80ASKYpIevXTja5jpPsYaTkUaDg4Fep4Rai8IlUH+cpDfMVBrnQUl2MEg0FKK64QacXt8fG7B/mdPrJjgCCtvHx+P9nYT7L7+Swvn9nPZXj4NX3candglYv71M2tcpOPnfybzSdfbzj+XmfgfSd5p5P7ayf3l5aJNzr8f2mferX19Cstp15rO/NG2+k32k4/Vz36WsvYX9rGXm48/ErToRdqhx/Mr7n11ezYm35quPQe2fxvitMBV+79AAAgAElEQVRukaTdJEq5gUm8GhVZzHKEWvQyPMYuwxVzEUQtZA3JYh3OmGDUJtCgmYDV20QG7AVMNwTpMYL21cSWdakQNR+iF0PMEohdgoiMXw6mS3HZVoLtSki8GtKuhyW3wcV3wiXfhsvvget/DPc/r3l5w6IN9ct2daVubbZubU7c223c22Uschv298p3dUj2doeXepUVgyJ7X1jdCFPlhUo3VPZCdbekqVfR4Qrr7GGbG9mWGlFbpaitQtJeKmm3Szvtkq5i6C3CuRLuQux97N4LfXuYvl1iNzbnk/duDuvdpHBtlPdtkHrWS/pzRN4ciS8naBYdzZQMZsp9mG6XDK1hnR/FerIWNmZcX5kT8/TPId0KiekQHneevPpM5Tm+/eYU1hcn1xywZhlYeOvqrJLIZKV5Udae6tYDk+10wITQ7qr2yFlgVRzkyg9y9gNcyUGueJQvEtLtwxzSaojb5eN2+rgdA3yIVtwmD7/Bw+d4prL6pzI9/nV9U2vdU6tc/k/d/k9cgfe6Jj/uI594yAdu8qGbvOMkr7f5X26ZeKV18tV2/6vtgVfa/H9u97/UNvVM4+kna4+/2Bl4unX8qcaTv2088dvGE080jD3RdOJPTadfrj7xaumRVxyH/1xy8I/b+374oeOaJ9bMe+Bl811/MN/1e8vdf8B151Nxtz2uu/5n6pX3y5bcJltwE5NyDVivQO4kLA+tiyHhYjAtB/MlYL0Mkq6A1Ksg/TpYfBssvxuuvk9y80Oy//il9M7H2Tt/DXf+Bv7zKfivP4l/+krEk5+mvrHjsrUVV+c1X7qte4HjcLz9SGzxoZiSQ5HFI6p9A+GF/aoSn9LuCyv1hpX7wqoH5bVDsppBcfUAVPUxVV5Jw6CseVDc4JE0uCSN3VDTDBWVoqZ6UUuVqK1C1O4Qd9gllFZs935w7gPXXnBRWrl3g3sn9G2Dvi3i/q3S/s0yzyZZ/0ZZf57UizZRqTc3rD9b5suBkWwYzZT5EFjikbWS4bXKwcwk1/rLilctfO1JWDwPElMhLpkK0nPiwTlgfXE2XfBfzgFrloEF4QnSqBQcqhoeF7fwqtzixoaRidZj1Hh1hBeyV4K2qjjIoZXhIFd4kN93gCsYDewd5vYMBZBWQ4GdPm6bL7DNx28d4Ki84jb0Bzb0B3I9E9me09me8Yy+M+vc42tcE5/2Tn3iCnzoDLzTOflWx+QbHf63ushbPeTtHvKWk7zWTV7u5J5vmfpT0/izLYEXO8iLXeS5NvKHhsDv6qaerON+30x+10B+VT31q+qp3zaQJ+rJY5WBXzgmHi2dfLySe7wy8BtcU4+Xjv+q9NRjJSd+WXzs0cLDD+4cum+j6+6sjps/qr7+vfKr3i657LWCi/68c9HzW+c9tzn92fx5z23Gk+dxpb2wZd5L2xa8vGP+a7vn/82x8KOqZRlNl27oumKbZ8VO36W7Ri7aPTJv+2DS9kHjVl/8jqH4PQfj9x6K3nNIt+ugfMeIdOeIbNdoeOFhtf2otuxouOOArGRIVX1IXjYgdvRJyvtElS6m3CmpdoU1eth6p7i5l23sgdo2UWO7tKVD3t4W3tUuaq5hW6qY9gq2o5TptLPddqbHwTiLxD04vVnas1fs3C3q3Ympq/6tMLAZhunO4Eg+jGyCoQ0wmCcayJN5c8M92QpvDjOczQxnyn2ZYYMZzGgGO5IRc3xbRPm7Cz96Di6aD0YbhEVKjOnYtf3cBNYcsC6IoS/+4BywZhlYYp2NUZslkcmsIRFUppu//+j2mt72o4QW4mDHq+pD6BQtP0jKDvCOg/z+A4HCg4F9B/wIrBH/nqEAOrCGAufTisqr9f3+HM8UpdVEkFauiU9cgY96uY/c5K8dU+92k/f7yFud5JWWqVdbudc7yYttgRc7+Ze6yHPt/DOt/DMt5A9N/JP1/t83kCcbye/qyW9qyRN15IlG8ngt+Xk592AN+Uk1ebCW/Kwejz+qJA+U8Q+U8XhSHvi+Y/L7jskHSv0PlE5+v2TinpIz95RO3e2Yuss+eUfJ+LeKz9xWNP7NYly37D99c+GpGwpPXrvv5DUFJ64pOHHtvpNXFZ5cvu/Esv0nF+8bm7/vRNq+k7bCU+bCU3FFZ7QFJ1T7ToXtPyMrHpfZJ2WOKUnplMwxJXeMh5eNK0rPSIqOifYfktiPyEqPyMoPsvYBacWApGpAXOUWVbnFNS5Jba+orptp6GRbukTNHWxTq6S1g2lqgIYacVsd21IFrRXQXgFdpdBlhx47Dp3vLRI5cXqzrGe3rGenrHeH2L0dPFthYBNaGQ7kw4FNcGADjGyAYZyIIx3IDvdkK1FkZct8meG+rLBBdIqGDWYZ2ldZd7wJN14mSVvAqhNUUcmgioUYark4l1mfvTnnQsLPXpO/98gcsGYZWEgrfSKEJ2DHEn2yJCL1tvsed7SNtB3g60cCdQdJxShfcYAUDfHFo6R4lJQc9JccmNw/NL7Xd2rf0EThKIqsbd6Jbb5ASFuRDYKJoY/k9JEMD78Ws1dktZv/pJf/2Ml/6OTed5L3esjfusg7XUirNzvIG+3kL23ktTbycjt5qZ282MY/10qeaeWfbiZ/pOupJvK7JvKbBvLrRvLrBvJ4PflVHXm0jjxcRx6sIz+tJT+pIT+sIQ9U47qvmvxXFfleJfluFbmnkr+7grurPPDtMu6OssB/lHLfLA1808Hf6uBucgRusAeus/uvsXNX2QNXlHCXlwQuLeEuKQ4sK/IvK/IvLfLPL5yYVziVWjSVWOQ3FU/FFE/pSyY1JVPyojOS4nFx8bjIPiGyj59djtMix0m6xkSlx9iyw2z5QbZ8hK0YgkovVPYz1W6m2s3WuNhaJ1PXwzR0QmM7NLVBcys0tzKtTUwrzbV31DAdldBZjsDqdiCweorBVQgD+6B/t9iFM7uk3dukzm1s31YYyAcfndw1mEfH4eSyg9iSQTyUKe9bGzGcq3atjhhcH+7JEPV8EjG6Mb4rK2n3X+E710FCnCjCxIbHiTRG1piGLY/Pb5c4y++3v3dj/7s+PgesWX4DSfSJsohkYeKxWJcEoih59IKrvvXj1Tuqm0axXV/LGCnyTjZPkD2+wL4RvmQ0UDw6UTI6ZT/A7Rua2O45tcM7sXeUbB3wnwOsPpLrpsDqI2v6yBo3+dRFPuklHznJhz3kfSfS6t3us8B6vZ283kZebSN/bqPAaiUIrBYiAOupJv7JZvJEE6VVI3msAdejdeSRWvLz2iCwflRLflBD7q+htKpBVH2nmtxdRb5dSb5VSf6jgtxeSW6r4G8p428u528q5W8o5a518Fc7uCsdZEUpf6mDXFxKljnIUgdZbCeLSsjCYjK/hKTu55OKeWsJMZaQ6BJeb+eUdr/cMSUunmRKJsE+Do4J1jHOOpBZrOM0W3oSyk5C2RiUHYPyo1B+GMoPQsUIVA5BlReq+qHGDTW9TK2TqXVCXQ80dlJatVNgNTOtTcLmIHTUQKcALCqveoR0ewF4d0P/TqZvh8i1Tdy7TeLayvZtxsldvo1YiDO4HoZyYTCbHcwSDWGWPeJYPnS8EzmyPmp4fVjPKvPgJkvzupjs55FWKRaITFDHJMm0ZpHOxMYkg854wRjw35UmX8LfNQesWQYWo8YSNuGoiE5DtaW2iiPTzUtvfO6DTTW+KYdnvHSQK+yfKhrii0ZIgW+ywDe5dyhQOEoKR8meIW7nwNS2/qmtA9wWb0DYHNzg4fP60Caa4w5kuUgGWhnIml6y2kk+7uY+7KHyKkSrNzrJ653ktQ6kVVBetZLn28izLSiv/tTE/6GJf6qJ/10T+e9GBNbjlFa/rCe/oPLqoVqUVz+tJTOB9b1qBNbdVfw0sARaBYFVRqaBdWUpd4WDF4C1zHEWWAvsZH4xSS8mycUksZiYi0l8CR9ZwmlK/OElAandz5Z8BliO0xcC1kGoGEVaVfqQVtWeaWBBnRPqu0LyigKrlXrZ2+qhvRo6q86XV71FTG8B7SO6nenbDv10DWxjvFvY/nwc3jW4EYbzYCQXRjBpJfNlKgYymb5Pwg+vh9FMcH4Y6cpe3Job//Zv4ZplEBcH+hiIMEsjrIzKyKpNUkOieE5e0W6RswiyOWDNMrBC2gqZhT5JfSI2rtLYQJ6gS7n8N3/JqB0ONB0j9gF/xQFS6AvYDxPHMVJ4gGzzTG7zTO4ZJntHyBZvYIs3kN/vz+/HXHteH7fejY72HHcgu5fL7OUznGRND7+qh0dgdfN/6+be6eLf7ubf7CZ/6SKvdJA/d/AvtXMvtXMvtvHPt1F51cpTWnFPNnIzafXLevLLevJoQ0he1SCqkFa1PA0GeQwGq8l3Kvm7q3gqr3iBVt8s524tR1TdWEblVWngage30hFYYecudZDlDnKRnRfk1QI7mWdHWqWWkKQSYpmWV8UBZfGUrDgor85XWBgMCgrrPHkVAla1lwKLyqu6HsB4sBuaOoRgEJqbgcorpr2OmZZX3Q7opsFgb5GQwJL3bA9zbmf7tsPANvBtQ1/7QD7j3SgeymeGNgR97SPZoqFsOQWWcnQ99H0adnyTYWTTgq4N8R/+HhYkMpZEWYxNGWUTa00QHsOGJ+AkQa1VqsdWyHNrFq/AHLBm+f0EGhNozbKIJKkhEfcKVUYsMFQZpdHpIE8ATVLU0ps21/aX9k9UDnPFA4EtvWd2DPB7hskuWtu8fZBs8/H5/ZywNnkCeR7/+r6pnL7JbPdEtmsqyxnIcHLrevjV3dyn3dxHXYEPurh3uwJ/7eTe6uL+0sW/2sX9uSPwQof/uY6p59oDz7Vyz7WSZ2kw+Kcm8vtG7slG8ttG/r9RW/G/qsdI8NE6Kq9qyIO1/E8osITs1f1V5Puh1NXdFeSuSnJnBQaDt1Xwt5Zzt5RhPHijg7uhlLvewdO8Fb/Czl3uIJfYeUorfrGdIK1KEFUpxUFaxdtpMFjMq4sCimK/pMjPFvsprc4NCWn2ii2ltBLiwYrDVF6NoLyqHhDkFVPrQm1V18PUOzGB1SwEg63BUsG2egazVyF51UOzV0irQpzk3LtX6qTzUPu2sf1bwIed2oVgkBneyIzkscN5OGpwMFuCC30M0oEM9VCeqnvtvK4Nujceh6XJYmuqQpWgVVm0KotMYZQojEpdslxjA6UR85hzwJrVKzAHrFkGFqOzgBpnOgkRgdSQKI9MlhqSIDxebV5KTeQpbPzSB5/9YH25s2qEVB0lBcNkp5cvGCYFo+hr3+xBH8MmT0CgVW5fIMftz3JPZbomM11TGU5uTQ+/pof/tDtAaeV/rzPwTnfgzc7AG12BV7u4l7sCL3YGnu/0P9sx9Uy7/9m26Vw7BoNPNnK/beR/08j9mqauEFWhYPDnteSn1eTH1Zi6ErQVpRV/TyX/nUr+2xX8nRX8DFoFbinjbypDWl1bGpiZZb/Ezl9s55aWcEFa2ZFWySUksZi3lBCklYMYSoimmFMU+6XFU5RWfrBP0jWdwzotsWO6nS0VUlc0e1UxIx6cIa8EbcU0dDMN7RRYzUxLC81e1VN5VYXp9u6ys7n23kJwFdBRg3uY/h1s/xaRZ4uoP5/tz4eBjbRykJYNDueIB3PkAzkKb7bCS0NCb7ahL8fUkR21/XV47C5YmgxGs1xvkouiVZI4ldykVJhV2kSlLlkUboLweGx5OhcVzgHrq/ypJY1Kxj7iqgRQxoM6ntEkMJoEUBlZjRnU2GNPEj0fS+2iF6Re8593/OLFPb2nCwdI0SDZ7fFvdY1v9wRQag2STZi34tZ7uBwPl9kXyHD717oDa138p738p07ySQ//UQ/3QTf/blfgnS7+ze6gtnqli3+xM/BCB/dce+CZdv8z7dzTrfzTreRP6Gbgft/I/a4h8EQD95sGTF1hJFhHHqnjH64jD9URNDScuzN4HrDuKOdCwCKYaC/jbizjrikNXFOKuXYhGLzMHlhewl1k55dgop2f7yBpdpJsJzY7jQQdJMrO6+1EW0LCS3hZUUCM2soPdgosx0yFJQBrjC0TUHUYgrSi8qpKCAbdgraC+i6moRNXI90cbGk8Nxik8mpmMCjYRPsKoH8XDO+AYcyyi/s2SPryJP3rsWZwOFeYM4g+Bm+2xoNL5c2Jcucs6NhgzHgJbr8KFqaLramgihNrTXKdTa6xhqltak2SUp0oVlpBaQadjY1MmQPW7N6tcwprlhUWqBLEEYlYm6LF/Kss0ibMZ2U1ZnlkMi1esYkj07FYT2kVxS6JXvbNX/wle3f3WOkw2eM6U+D17x7g8jpPbnL7N/ZxuX1cZh+/Dktw+NV0Z/BjF/nQRT7o5d/rJX91cjRvxb3RTV7r5l/p4l/uJC928i+0o+vq2TYyTas/NvNPNWP2CuUV0orHbcEGgVb8z+qDwPpxNeatgjuDGAzy91Ry36nk76rkqLzihGDw5nL+Rkqr68q4q8r4lWXcyjLuitLA5Q6Oyit+aQm3qIRfYOeRVg4eaWXnTXYS6yB6O1E5eKWdyEo4SUmALZ5BK8c47hKWBjcH0cqAPoajdFtQ0Fbnbw7itmCQVu0or5paoLmZ+hgasMI5GAxWhqwMxeDcj8EgLcGBvj3Yj+HAduwb49vI9OdJ+nIlnmx2IAcGs2EwCwYzpQNZ4Z4sgys71plt7MlZ0JI7L+cvcNPlYLaAzgjSKJUhUaK3gQ5DP7EGB7JJtDbQWJmIZFFUKp7MKaw5hTW7zJ7dZ6PFrkKNvmV6lHTwhPZKx+IyHOcnNMlMxU57umSp9ZIX1uza2jhc3D+5ue3IXi+3rc+f65zcMkyy+8kHbeOr3WSdFzn1bg/3jou81RN4x0U+8KGX/ZW2qdd7yOvdQqKd/LmLvNxNXmjHvNUzLei6+n0zoduCwWBQANajdfwv6tF1Na2tqLzi768h368h91LjFVoZkFZoZRB8DN+oILdUkJvLyI1lmGu/VkBVGfUxlAq0EuQVt9CBifYUqq2sdmJ0kHgHiXQQtZ0PcxC5nRdohfLKMQVlfiidgtIJKB2HUky0s6VjIgeVV2WHoHwkmLqqGoaqQajxQo0H6mjqappWqK3aKa2aoI32Y8BcexXbWQVdFcFg0CkU4hTgnEEswdmFO4PY7iofRrfgnqArk/FkyXw5TP866XAuDKwNG81VebOiuzOTWjIXlK5K/fR5SLdBQqLEYJGrLDKlWaI245yLSDrtUW8DQxKWiEfhUaxLkqqxOHx232Bf82ebU1iz/H46B1jav8Os4Bg+OohUY9ZYltA3eqrEdNE9v3n1tQ2OzW1Hdron13edzug4taGfbBomq3q4v7WOf9AT+GSQvOWcerPb/7aTvNY59VpH4C0neaOXvNlLXu0kLzTzzzT4n23kn2kmz7WQFzoQWE+1kCeb+Seauf9u4n/dyAny6hf15JF6amenNtEf1ZIf1vCC8ereagTW96rJf1Irw7cryR1V6Lr6ZiW5tZLcXEFuKifXl/PXlXHXlpErysjl5eSyMv6SUm65g7/IwS2xY/ZqvoOkOmiW3c4bHSSulEQ7eIODVzg4mYMX2znWHqDB4CSiqmwSaVWGtIIypBVbekywiULZAagcoWsIaVU9gLSqmQ4GO5iGdqaxjWlswc3BlmBLBuzKQJ2iLNJKyF4VY9lg716sHERabceh82hqzwdPDnhymOGN0oP5spE86VBO2FCufCRHMZwDnR9G9KxLaclaVPgh8/j3YDEOXlVpreE4Jt4iosXedE4PLfbGGm9Kq6gkMCTJNEly1RywZvn+mgPWLF/QGdX5oU7noYblqLNo1/PQhyTOj4GwGJBHh0Umy2PSsA4xYakydeWSOx66/qHn3it2buvjsjpOr2o9ta7Lv2EA7Vfvd0+965z6uJ+82+N/qXHsrz3k/X7ybM2JV1u519rJ6x3oaXilnbzURp5rJH+oQ8vVk83UddV0TjBI5RX/0AxT+w+pTRS1VU2QVt+pDO4MfquS3FZOUF6VB2l1LaXVVWX85eXk0jL+0jJycRm6roTs1UIHSXcEg0GTnSQ4SEwpibDzGgcnK/GL7FMi+xQTNF6dCyzqEWVpJMiWHWXRIyqYGKjxCmnlpbRyhYJBpJUQCaKPoQW1FbRXh4LB8iCtuu0YDDr3YTDo3k1ptR082xnPZrF3k2xws9i7EbHVnwXu1eBeJRrMUB3eKOr62Ny/cblr6xX2dXD/rTA/ESw2hdaiUVolQi8KgwX0wSlEjI62fo60QYSN0aO8osOo54A1y/fXHLBm+YLOAJbwzBRb08w6F1hijTUiIV2mipdSqyFat7Q2nIITsxDil7FJV0eu+M6j7+/c4pza0DWR1zWxru3U6p7xd5qOvtd+crWbf79z8vWG4681nnyrberVxvFXmwOvtPAvNnLPN5IXW3E9TYPBJ5q5J5rJb1BekccaeUxdNfAP1yGtHqwjP64LekSF7NW91eSemqC2oj4G/luVKK+CwWAFuaGCXFeOweA1pZi9urSMX17OI61K0cqwxH42eyVYruIFWpUSnQNN7eLiyaBHtHgiuC1YOgHlVF6VnRYc7YiqssNs2bSp3Rf0MZwbDEJ9R0hbNaO2wlVHtVUV0zFjZ7DbzjhLgvJKCAY9tGDQs5XxbIauLPXgVuXQZlFflnggVzayXjycIx/MUrjWxHWtu6Qr/5I9H8F1SyDVCqlp4rhkpcKsVJixDQMOZEVgyehkRgSW3kppZUNtpUZgzYWEoc/mWbvL5oA1a5cy9Nok0tEMqJ4ovIL5LCFUPFdh4bx4kEYptCa5xizXWcKjU6WGpLC4BaCyYlu72CWgScU+drHLLdfd9+Snuz9y9H5Q1re+62RG29hH9YfWdZ5Z3Tn+fvPpj7u5d9sm3+nAKsJX2rgXmvnnmsgzDdxTdf4nGzESnA4Gf9nA/aKef6SB/3ktJ8grGgyij+H+qrORoBAMCsA6Z2eQBoPXlpFrSvkrSzHXvrycX1ZGlpWRi0r5pQ5+sQOBNc/Opdh5awlvLMFEe6SD6Et5VQknL/GLiiaY4gkQlp1m2R3B1BUtwTlbfxOUV1gz6IPqUDBY20ezV1gzSLPsVF4hquqZ1gYmFAliFc50MOgsoU2vCmYEgxRYXjS1gzNH6lovc+XI+rLDhzYqRzfIvFmyrk8S2teuaM1L/uBPcFEypKdClBHnRevMrNqEG756s0ArsdYiU1swk4UDinCIhkxjU6psCiXm4Ocy7qGbYtbusjlgzdqlpK+NMNoTR8uIaJvN85j1WWDJdbZwvU2kiFNFpcojkoAx4PPok8WR6aLIdIhMk8YvwUnuhvTwpBWgS0u9+Qf/9ccPfv3etqezS1fXjmS2nHi71PfXqkNv1h59rfb4n+tOvdhw5rnGqT81Tj7TzD3XQX7bGAjRKkBpFXi4nnu4jn+wlv9pLT/taL+/iv9+FVY4f7dqWl6d3Rn8RgUtGCznrw9pK6SVI7CiNHBxGbmoXKAVh7SyB+aXcPPsaLyy2PkEdF1h6krj4LAEp3hKABbGg/Zxhu4JCon2GQWDgrAaZctHac2g4BGlwWBtfzDXTouczwaDQWBh4+OgtuoMBoNMjwMQWGi8AhfNtQvyqn8z0InzYb4tjDNb0pcn9+Uxrgy2Z5WhLyfFlbeo7BPJb/8LLk4XL1kKBqM8CucD0caEZmxyj53aLVIN0kqmxhMWPaIYHk5PwMZ4n26zzPpN+3V+wjlgfanACumssz9UrLEqI1IlKgsOmlckyPRJYREprMaCo+dpWaLUkBR86xsSQZcoiV4M6nRQp0Utve3S//zNigf++J1n175l967pmHy39fQbLWf+0old+p6qO/m7+tN/aOV+0+inifbAr+r9j9YHHqnzP1zP/byWo6Z2DhPttfz9Vfx91Qgs6mNAmyjuDFbwd5Rzt5cHBCuD4Lq6jhqvBNfVSkfg0lL/sjKyuJxfWsYvKT0LrDQ72kTNJVx8CS8AS+UIyEv84v0T4uJxtoQuLHLGOucZwDorrzB1VTECFaFEu5C9CgELS3CCRc6tNHXViPKqtZ5pqw4CKySvMBjEnqIheYWJdtrxyrsFaM1gmHcz48oRj2wRHc6H/kztYN5879ZlFavhR7fCIivEJzAGY5jeCrJYfF30NhRWBpyhLVdZFCq6V0iBJVHjjqEYh56h1AI9Rdic031WPQ14I3ydaf0v+Nv/B4X1WWBJdcmgMGFndF0iqzIro9MhLFaqt0n1NrHWwoYngBLFl0RnBml0eFQaq04SR8wXRS4EXTpOvjEsAuNlkHoDpN6gu+5HNzz10VM7299pOfFG09jzVaPPVB/6Y92Zp+qmflc3+dvayV/XTjxWO/lozdQjNYGHqv0/qeF+WBN4oIa7rzrwX9Xc9yp5wXh1TyV3dwX37YrAHRX+28sD3yz331rO3VTGXV/OXUuNV8EKZzt3aSl3UTlZXEaWOHBR7xU6RVPsvK140lwyGeOYMpT6NQ5O4UDXFVM0xZZM0gYyQVpRYJ2G0hOhfgxBeRWklVCCg6kramXAeNAZLMHBHjLouqKpq+BcCVrkTFsy0J1BoUUflVd7GdduxoU1g4xnK/Rvxs1BWjMYPrhF5MplhjYwAznS3sy0gW1JO9+Ge66FNAtjSZRGGOVao1RllutsYiUWh+IAIYNVqkFahSnNchXKK7EWo0KJGkUW0oom41kNRdicrWFWmTUHrLNiZ5b4dTaH9c8/IXXxYKAhhBuYF6OWCJweOD20WZ+K01KjFqClK3ohxC7CL03Ll9318M/+mv/U1p7Htrgf2+75XeHBpyvPPF3r/+/y0z8rPvZw5fhDNVM/qfX/sI77fi33vRr/3ZVT3y6fuLcmcG/VxH+Wj99dNnFn2fgdZZO3lU/eWjp5U5l/GlgrS8nlDnIpbcZwWQ1JKeAXFpHlFSS9gCTuDaSXk5RyYrGfSnCMGRwnlY4zUvskU8JBEYEiwtp51j6FKyiv0Mcg0IqpOMZUHGIqD0DVKKDlaooi7ecAACAASURBVJip8UE13RYMpq6QVtDYjS0ZqOsKadWKiXZhZxBbMnRXYGc+od1V0Hi1l3HtZJ04cV7m2iztyxd7N8tGtmGLvr5sSf96hXe91J2lc+XaWnIMnz4Nd1wHZjNjMCtUJrnaJNXgtgmjs0rVmJ+iMT7mp6RqXELvvem+7KHEZTB7NWfC+udvgfOeYQ5Ysw6sf+0TCjfMBY8420ZtEkckSSKTcdap1oJzaAwXQ/y1zMK7427+5fIH37r5j1m3v7L1G6/vuPXtffdkNf5839BjlWO/qBh7sOzYT8uP/6zm1PeLDt5fcvgB+5H7So5+t/jo3UVH7io5fpfj1DeLxr5RcuqWkvEbHeM32v03OPzXOwJXlfGpO44u2D+5uIRfXEyW0pYM8Xv9kXtOzwSWvMQvLSLi/bhEJWeBdV4wyFQcocASaDUIVYMUWB6o6Z2RupoRDCKt6gVaATbnq4KuSugpAyftx9CzH3r20Wbtu8G9Xdy/U9q3RdKTJ+vdKO/PB08e+DaEje3RHdoma/80ridnXlN22Gu/hOsvBlsSE2kJU1vDlaieMMSjLUMxOaWxzTHoPIJ8yV/OAetfy5dZfzkviCpGZ8VRpnobqLHmFjRmcQTO14Jwk0ifyurSGN08UeRCccwyJnYZRC0F/SI2+VrNJXeZvvFQ4rd/ZbnzcfOdv0763lNpP37pulc23fax/Qeb2x/Z532kaOihfYM/LPD+oMB3f+Hw9wtHvldw4O6CkW/vHv2PnUPf3Dl44y7ftaWHV1QcvbxsbGnR8XkFY+lFk8llxFJKEkom4krGDUUTmsJJbUFAu4fX7yLavURaHJhWWJ8B1iE4K68EYA2EXFfoaz8bDKJHtBlpFZJXtN1VFXSVC/JK1FUs6t4v7ilgevdC307wbANXvsy3Q9a7UdyZq/JtlWEbmfXYrL3901Tv1nn2T0S/uReWLwRbIsQlgt5IQz9qXDCgvMKyGxVWC84Ba9bf0v/QE84B698EWKAyiiOSZNGpaAhSm1i9TYJdIhKl6nipMk6qjpepTTItOh6FFD7WBuEwetx/RCEWvQjH/5lXgHElJN8EC26HxXfCom/Dojvhonvgsnth2T2w4gfiWx4zfPe5xIf/tuyP2Ve/su2ad/Ys/2Dntfk1N+913lQ4fG3R8YU7D1u3j6WUk5jigL44gA1k9gfC9wZUezntHl5dwCOwzqbbz8aDUH6YqRCARetvsHvMAFMzADRvFaIVtmwPdrwSgCU050N5RRe2P0Z5RWmFA5wZl2AT3Qb9mxnPJoknX+bZFObZJKelzoqe7ET35pTiD6W/vpe62E0iXQIoYxFYUVaIomYralYQAkDZnMKa1YTUP4Qq4R/PAevfBFg4r5RGLnQsII4sxQhREQvaONDGgC6W0SewBiMbYRFF4iRnHCWvs9DuXVYsDDKkgDYRFDZ57HJZzCWSqIvBsBR0S0C7GPRLIeIiiL0cYq+A2BUQcwVEr4DoyyFqBUTTEV7pV4HlSrj+Z1e+V/GtfScu2nrIuutkRBEfZidsKQFcPDh4kYMTOTjWPgWOCVy0bPCs96ri8DnyKgisaR9DKHuF/fmwZhCzV1gziNkrKq8w1852OURdxeKeQsYZ9DEwrp3i3m1i91bVgQLozYHBTfIjO8GZJWnLMPVsnt+0IX3rO3D/bZCWCEabTG2SSGOkGhP2Yo+yojVUjwl1GU1X4aRFw1y7mP/P98scsP4/vwD/6IfM3wsJ5TFpQUhpLUJ4KIlMVsSls1FWYTGRdAA93XEHgxVppbOyhmSRPpnVJdFcfrJYmwJSk0hukoUnhevS1RELwvULZOo0UCRKdPPF+gUiw0KRYSFrWCiKWCSKWCSOmI+9CtQmTPkbr4bF90Y/vPqqPM8Khz9iPyd1EKggUEmgikAVD5UBqPKHKpyDZYOYbhc6tVccpMCalldeqPYyNQKwhOZ8QvZKaCjaTDu1C1U4VcFm7bgzaBf34CCc0JzBnax7h7x3q8y1OWx4B/SvpzO7Nsl716e6dy6uzI5580m4/hJIT4EYo0iXEK40KVXm8IhEaUwSXiI95rDk6F3AkBAficSawX/0JZv797N4BeaA9W/y/gOVSaS1yiNTwqJSsZG80kgn99hoW4gU0NJx8LpU0KUyujRWn87o0kT6dFY7j1WnQXgyKFPEmvly/fxwQ4pMawZlAijiaMdUk9D0WVBwmMinjb1QvmHPr1hthFEWFqmKmy8xrwDtclh6X9IfN1y8qT9mz4SsmDBlBCp5CqwAVASgfDJY4UyLnENWhqMgtBINbg5SUztuDnqFeJB25psOBme2ZKilufaQjwG7iRaHusfsBs9O8ODYLnnvZplrE/RmsyObYXgjODOM3RuXVubEPv84XHIRRCQo41KlEVaJwaKMS8V4kNWHRSbLtFjeHK5E+4JMjbt+mNWaA9ZcSDiL9P06P5VYZxPrsIM4ozazGotYZ5PoE1ldkgjZNI/RpAeXNpXRpLPqFJEmnVEls8pUsTpVqk2XatMlyjRQYHGJWG9m6RIZbKzeSrfJcAY9doDSWxiDmTFY2QgLE2GTRpglck1sbCJIIkHx/9o789g4rvuO/+bYmd2day+ueOwu916Sok7LseLEdt02RRIgKRr0ANIATYE0NQoUSBqg+SdImrRIGyRoCzRN0zZJi1TxFeu2JFKieC+P5bkXj+UhWYpt2Ykl27FdJyiQ4vdmd0UrlJGIWptP+gGDwYoih4/fN+/z3vzm976/uNr1QWh9P+z//fu+Nxk69hN3L0ttH/4ZmjGM/Iw9Cb5h+zHUUxlweYW0ehH9GGz3GHwYtP350EPGDrRXN+LY9sd1S4bSBJSzbyktsdIH671wgdFqHbOu5LVjjrWn5PUnYf1R5fJhR+VQa/nx/eOP+f/mL2FfNwRDmjemq20OPQRGK5gtSmvKaO0CZ4tmxup5oXaygu3KQLtt3t1RRiusO2SFdbPbSDFxC+6GI8Y+33BmSUYsqwiXEr7NDtufAP8ryr7BPkdAb3I1xTAW5stA+0EI7oGuh5r+4msdR58LnHnTPPe6NvCac/ANdfBN58DPlAE052O0YrlXoyy13bYSrdMKF1YXcW2VWxemV6rGx9XEq7c4tbPQFaszaDu1L/fD2jm4dAYuHJUunXZf7pFXjsLqU3D5CFx4zPnCcVf5UPfC0b2n/xM+8VHoSEI8LTThAsrQMFBVT/isPQZGVQ8GraApIQQSshd3CGo6CnUzqenr74ACBKw7+f6z8xvZfrdYfdebYmFoxs7Plj1R2ROpH5ghed1cEC0GBU/9SNg5q/Uz2+ON6rmCGTCioCeE1r0Q6IBgAu77yO7DF3eced1/9prZ/7J74DWVMQtLDWKdwVdufBi0l1dV95gL7ElwVZheqy6vquZ8uAvHdmrHWDuW7WJWonYZZ7vO4FovvNAHz55SL59xrZ+ApSfkZ45IV47B6qNq+VDn0vHmb30RPvQgdO2E5ii4Ag5/dTNglVYsQ93eIYibbOyg1Y4ENKGPqM8d97owueEdGJb0K26mAAHrjr//mIlgzUpQ8EYEbwR8tcMfAX8IArUD3Z1Sqt5ZPYyMU9/0SDn1lFtPOfWM4k5pVreqpWV30uXvdgQ7wNcCbd17D6819fzU03fVPfSSNPIyZF+D7Jsw+jqMvgK4sLLXVnWn9md/yY+hYi+vWJ1BZs5XK9tVezPIQleLg9WyXeh9bO8ZPCldfBqWDgtLT7kunxTWfwjl7/tXDncVjrT8+1fgww9DSwg8IS2QUDHDNskWjFHcTMNoJXjtvHa2fvTHIBiHprjgizstpBUB62Ycece+TsC6C4BVNeHCpO361tzqQMWNbxE2XNnZG5PNTB1YTr2TAevGs1vL2IdTz8hq2ql1GWa3pncoetLtTxptIUjs3Xt4zd/7utl31Tn0kjD6Moy9BuNvwNhPGbCuXg9doT8fc2q/YXvzdC1N1E5iqOYxbHRqt4vOs6R226mdle1SV046cAvOMWX9qPvCUd/FE21LR5LZQy3f/BK8/wC0hNytGYezxelq87buBCuMm5nx/Sl7JLRfodpnP3stiGcMDjqNmOmOGRo9Er7L44WA9S53wK87Ndmb1371M4tYpRQTD9l6y4EeOMwG5/rZsh8AM4IHD8nKsO/55TP7QfzxjMPTLegdqtnl8nSBFhOMNndzM6T2dx+55On9udH3invwmowrrFdxkVVdXt0ArLqbaP1hcAUfBq/XGcSsK1ZaAhOvan4Mw4APg7W6EujH0CtXTvvWe5X5x42Lp4wLJ8TJ77XnD+/u/x/3X/857NkJoTj4oi5PXNEikjvE7BJrKylvDNOsfHVI4Yfq/kHmhqyaGOdi7kCc3TC/7g22zb+fgMXZ/fero6r2nVVabQSWza8bzqqBOGMxLHtn9Y1Bq3r0asOHlBrcBXoCtITizcietOgJK4EAxPZ0HnleP/sL9/n/dQ++rAy/Ko3gAdfrodYfBmuFcHKXqrH26hacJXF2WZxlWVeMVkLBphVWRRWqdlc2sNiGwdUeYa1XXj2jV05q5cPO8pPNKydT5eP+R78Bn/wY7NkNgbDe3KGZMYezTQuklCButxSbkvY+wfp7wOvMYttx3HrMrWGxiXpUnt4SvrtEI2DdycDaaB6wcaQxllVfHdrW46qRcBoJ1UQT1HoM/q0fcIlx42HFHL6UYMZAa5e9SUegUwzE5WAQkvcmj11V+n6hnv8/deg1ZfhVefhVZfhlabi+ttoArPFnYfwZQGChmyiGrnBttQRzy7VdODW7q2rRebvOIKaJVhOvbLur9V5h/ZRj/aT3Uo+vfDg2/dTO0/8Fn/44tEcglDZbu5xKmyK3uHQ0GoNAHFpS4MPyXHXfBXso2kKhN4MZU/WoqqN1DGZ1BNjWQkocfVdTsQhYdzywqtEZO4BlB5Vts5q6R4rtSs7OUcXCl4Y3PyPO2BtG+4xGg4o/6fAlkAJGFLPeAy3Q8UDy2EtK3y+U/p8rQ2/Iw6/Jw6/KIzawbFRtrDN4GSYu4vKKVe6yaSXOLsLcIu7CqW7BQTdRsTSJNZztl4OVIajg86Cw0itVeuTVM8L6KXn1pFY55p17oit/MvzYP8NHfgtSGTG5W/EmdHe7qUWb/B26PwWuVjBCQnNa2JGyPULrzKotS6t5HooRdRhoxYcuowxYG7n/7q417s7fTsDiDFi3cJsKXgzHbPqD9fF5/QOL1Njxmk3O1525qtViJBOTVHEB4onK3iRYccwIzzzUefyy3vemMoDl5vEYeZWF3l+qFnCux9qxchemiQq5dSFXYUXn0axdmC2Kc2zPYHkGFiahPAmlMbk05lgYEZZHYW0Y1s7DWi+sncXHwNUe80KPuHJMqxwLzx3eOfSo9nefgwfvhVgS2jIIHalFd0ddWtTOoqpme7DVU93T6gYbhuuCMAc+TE9jx6Yy0hffMQUIWJuP5HesA7j/RdeB1e7w2MDKQObh7uPrZt8ryuBPxeEqsCD7MowxYN1QZ5BZ9Am5VaFaxrlaZ1CcY3UGy1OwgCVwxPKoXBqVFofQQGZ1AC4NGddysHIGSkf0pZPuwmHP0vH20vH06e+Kn/1TOLgfUh3QmlHNmOGK+s2UTSs7sm5H0zUWn6JEUL7uQAIWAWtrCrwdsK4pg6/YNZwx4l4Flm3WXvdrt3fhrMBUpV50HuaKWBXVLoxaxgLOMi6vRrEQzvIQrAzBynlp6axQOuleOyuVj3mWT0VWz7YMHrp38IfwZx+HfbugNQxtGFZ3utu9VsrOUGf7ATGvyi7GVX8M5GvE3uWtJWBtbbi+qwHIbXHvbgKsVG2FtRFYL0P2GlthXYHss8LYc4Jdxtl2QEZP0SqwarSaRw+ZwrRQnhTLY47imKPMajhXhqEyIC2fl0qnXAtnPOtnWy/169kfJMefuvf0Ifjgb0AiAW0JiHQ6gmnJHXZrUdOTktxhdAHDfTZxzAUNoLuO6CM3Pv5ufgIWf322LThVJ/WmwOp4qPv4qtl3VRm8Zhedx2T3sZdg7MfC2BVp7DkbWML4M0ItelXNusLSEsWq3VVhDorTYgmBJS2MSwtZeXFUXhpSls4rS+fkSo9rpcdaOe2deGJX9kji378O998H7QloSSv+pOgOO9wRy5tW9ajoCjmb0pivgKXkqyssG1jbS8m6pPTh5goQsAhYW1PgLcCKs6B7CurAGroqjlyVhq9Jo9dgDA1FhbHnpLEfCeM/EsYviZMXxcl1jF7lWB5DvXJX1ax9Boo5uYSoEhezwvKovDSsLA2oS+fUpV79Qp88f9g78cTe3An/334e9u6GeIfU2uHyJDxmUpSaRbnF9GcUMwauVmVHppZgVVtbeXF5dUOgnfi1/RUgYG1tuN58Ktj+fX97WnhTYFXM8z9RhrDivDR8VRp9yTYUFcZ/JI1dwmP8mRqwKgIrjMpq4TCzdttApoT+fPhmsIy0gsqwXBl0VPqV5V51qcdVPhEundo18KTjM5+Gji7YEQVPRPHFRbnF0Jj5uo42O6I/gahiLzHt2jZ2DofTwG3MimFXJKJ7gBsFCFjcdNXt4cttJ+wNwMJSPQm2wqoBa/RFafgnUvbHdvEuYRxRtYFW1ZeDbJNzEUtLVJdX01DKQWmMPQ+OCMvDwsqwuNIvr5xVl3qs8tPh6aOxY9+BT30C3wbuQAN72RtzeuOepk5RbZO0CCsdhAmiYnMajLBoRRUj6tZjGjvcOiaFErC26U1187uUgEXA2poCmwPrge4TS+b5F5WhF8XRK9LIi1L2Bdufz45b2WsrcXJVnFoRp5mbaN2cj23BQaf28iQsjDlWc7A0BPleYfG8sH5eXe8zFk7HZ5/e+fh/wAd/B4LtjuaM7I0LZkQOJsGDtqsYX0f/9dqBHoRYoUsz4oaGG5g1nS2vmP8XdyP2Lm8wAWtrw/XmU8HdcmO9HbCuKMNXxNEr8ugLUvYKVF8LXoDJtXroSmQ7nIWZEstjYJW77EI4pTGhjGW7hLVRWD6vXxyXyz3OpZ5A+XR04mjgm38P994LTfhA5/GmQW0BrU1CYIXt9M5axIoxq1akS9Ov00q2kGL1jYR3S2fxf7sSsAhYW1NgE2DFoON93ScWzfM2sJ6XR/HNIFT9+dZww2CuXmdwSZgpVZPa87OQnxKKOaE4IZbGxTLz51s5D+t9UD7jXTjrHXh83/Dx5i9/AfbeA01xlzfpb+qyfCl0oPdFIZjEDTcsrb+KLfbZ3nyj6pjpjk+CzDK0muJAHu28IYyAtbXhylt/3/6lxNsAq/95dQRRJWfxzSArOo827TBdwayrGXwzKMwsiHOlalJ7HjcMCsUJoYihK7E8KiwMimsD8nKvtdDbkj38QPaM85FPQaobmlKeHV2GGRdVrJSB1qBYBygmB5J2ZN3+M+33gNWdkixi5TDQtF7wsVSsYBzNUW+yaen2C0W3yu1QgIBFwNqaAhuB5WXv45pwhbXr5II1cKUGLHwziDW7mB8DzFRgehlm31q2Kz8tFKalwoRUxD2Dcgk34qjlQff8Gc/Uscx8757eJ+EDH4DELi3YpTnDTi0imhEwQxCISoEklghyhvRAZ7Xiqe21sOGMqDKjIpaeZxmkfpbvHsACjsQmjhQgYNH9ujUFNgVW53sZsJ5TR3Bt5Ri/LGMZZ+bHMFOBGUaruQXA7c0semU7XhVzUgHzGJBW5WHHwohRGAznzuyf7Il8/1/hNx+ESAq8sWCg0yUEVSOs7khKbRloTsqBJC6m3FFVj29wnsDIul0DVbZiohXFGmW1uJXsjasWHpSKxRGt8HUKX82l1m47BUx0EGaJTu2O6gorCpsCq768mqvA3BLMLcB8GfJ2aYkZoYDPgzawHKVRpTyilEcCc/0Hs30tX/0yPPgwdB+A6E5HqAussBKIsapcbXb9RNFo1/wdhrfLZSZt94X6Osv+Z9VrwYePjZIHKabpaNBuuashrW2n6u14eroj/ygC1tbWF3f9jQVWXPQmsdiq1a56Ymgd1YTA6jy1oA09p4w+J48/K49fFicvYujq+tqqtrzKF6CAZZzt50FHfsyVHzXmB/1zgztm+rtGe1yf/Qy89yGI7oJwNwRToLeCvx18YTEQFT1hpzeu+dNoWeVuV/S4aiTsFZMdvbJpVXUx9GGOuw0sp4GvCwlYPBKNgEXAunUFwJuAQBp8aUXHmn26FUdzTl8Muh6InV2Wx15wjD0vjz8r5p6BmRXIL0KhJC8swsy8OJOX8yWYz2OmaGkeClhdAmZGzNK4f2agdaznPfmRrsM/gD/8A0h0QWsGmlLgr9oZgzdml3et2xDaeLLPGwfhxsc9++2hHbGqVT/D5dXG79n4s/R5eypAwLr14bo9e/SdbBUCqykNftxjbGhRy4irejsW5ul6X/TcsjDxgpp93pm97JhYF6crkC/hYmpqCmZmnKWyc2FByOehXJQqZVich/y4e2nKmB8MZk/vGni647v/5vjjT0B6F7RkbEdTCZdv+I4P3wOyGtfv5F9Kv2ubKEDAImDdugIYw25Kgj/pMNs1PWKZUZceVqwIdNyf7F10jD3vHrlkjlw0R1fdE0uO6aI4Py8XClKxKC+U0ZJhIueYmlbnZmB6VH1mHgrnreJA9+xQ/Fv/Ah/6KMT2iO17hEDKxhNuDCRgUQhim4CTmsGjAlVLPH9cssJOE4Hl1sKqGYHM/cmzRSV7yT3yjDG8Zo1U9LGyYzovzs9LxbL9JCgX5l1z855C3izPqvmsWBw0Cv0tA8flr34RHngYIt3QsguspF1f2qYVAYvHm+T2tplWWLe+vri9PcHp1URfXPTFsLqXJ2RYEZfepnhC0HEwca4gTlxyjF9Ux1e1sWVnjkWsMFyVh5lZx1zeKJb0+VlnflIpZ12FgR2zfbFzRx2f+yvYdQBCXUKwE7SoYOJj4MaDU5Wo2bdLAQIWAWtLCji8MRmzGcKSN6Jb7JHQE4LOg4lz88LkRSG3Kk9WXJNLjqkSFAuwUITFBaFYchZKzvlZITcszQxYpeFofiB94gn5kU9D1z0Q6dbC+7B0mCusBbvqtLpddzxdh2sFCFhbGq5c9/3WGy9b6IKgojtCO/iibguD7rInAh0HU315x+QFcWpFmkJgKdNlKJahXBQLJaVUkssFKGDNrqbKRDLXt/Px/1Y/9kcQ7QZ/Ug2kQAmCGdHadoKzZeuNpCvcSQoQsAhYt66AbKFVnmphCXjwxVxWStWx2Cp0HOw+O69NrDtyFXVq2ZhY1KYWoFCGUgly0+rcnFicEfKjZmE0MnHO+sZXMWgV6nAYUc2MGb6UhAlTUdEXr4802YvpqfWXg/VgVv0b6MNdogAB69aH611yi7zNn4krLCPhMOLgjYMv4TCSis4S3+P3dB+b9A1XXOOLem7Byhat8aJWWIbcrJafd87l5JmRpvlseqTP/eUvwf77IdQJvphiVQu4YsVpTLbCOhFv89vpv+5CBQhYBKxbV0AxY249pehJ8CbBl5HNjMNICoEEJA685+mZ4OCiNDSjzZaa5peNyYJzriTPzmqzucDMeHg6u3NoQP/CF6FzP3N6SYMvKngjgi8keUOKFcGkeV9c8MVpc/JdSKW3+ZMJWLc+XN9G1rvkvxQzpmkpl5YEKw2+DtnTJXhwNzJk7tl3NJuYveiaK8D0JEznYCYH5aJ7uWjlhsL9PbuPnRA/+QiEd0H7PjwHYhCMQjACvpDsCTnNiMskYNGduYkCBKxNRLlLcLP1P5MBK+HSkqKZFLwILPCloTUBnXvv+WFf+9C8MDoIhXHz4qJQzMFUVpvJpsYGOx87BB/6PYjuEaIHwIjh42QwgTsQmyLgi0jeiGJFVZbOXg9abb2pdIU7QwECFgHr1hWQrZhmxJ1GTLYSojft8KTBl4C2dsh0+z7/td1nJ6P5KXnirDI94C1OBPO5SH9f+tvfht33QHK/c+eDiCorCl40fpE9UQUT2aMYv0dDvrhqJZ0m+sbcGSON/orbogABi8bDlhTApZAHt/jJ3qRiJnAjYUsbxNNw74fT//T9AyND7UOnw/2nM8P96eNP7/iHf4TOfdB5AK2pfCm1uUswY1qww+1NanrMrWNLqnbsAQLWlvrlttBhG16EgEW3xa0rIHijQlMU/GipblunO/SQ5GuCliiEDsK+jzr+5JH93/nObz91tOMrX9d+91Ow82Fo6xKbUxIaxYRUK64bcQl2+I2MpiVUIyF5EgI70LLGm5S9aHlMBylQV4CARePh1hXA9RQCK4LA8kQVo13RQ6pnh+pvB6sbmt8D6QNw4EHY9wCkDwqh+8CdFOxELSMkmBG3lTD1uMedNJ1xt55QTASWfcgMWIIvSW8J62OVPpDj6K2PVbp7bAVwkYUHKomOVBiNikieqOTLCP5OCGZgRwrPwYzgz0i+zEbdNvpS1c32Nn4D0WqjGvSZgEXAapQC9dz0Gz7QqCMFtqIAPRI2asRupVfoZ0kBUmBTBQhYBCxSgBTgRgECFjddtemEs22/WLeFueHDtm0wNYwLBQhYBCxSgBTgRgECFjddxcUESI0kBRqqAAGLgEUKkALcKEDA4qarGjpx0cVJAS4UIGARsEgBUoAbBQhY3HQVFxMgNZIUaKgCBCwCFilACnCjAAGLm65q6MRFFycFuFCAgEXAIgVIAW4UIGBx01VcTIDUSFKgoQoQsAhYpAApwI0CBCxuuqqhExddnBTgQgECFgGLFCAFuFGAgMVNV3ExAVIjSYGGKkDAImCRAqQANwoQsLjpqoZOXHRxUoALBQhYBCxSgBTgRgECFjddxcUESI0kBRqqAAGLgEUKkALcKEDA4qarGjpx0cVJAS4UIGARsEgBUoAbBQhY3HQVFxMgNZIUaKgCBCwCFilACnCjAAGLm65q6MRFFycFuFCAgEXAIgVIAW4UIGBx01VcTIDUSFKgoQoQsAhYpAApwI0CBCxuuqqhExddnBTgQgECFgGLL7thLwAAAitJREFUFCAFuFGAgMVNV3ExAVIjSYGGKkDAImCRAqQANwoQsLjpqoZOXHRxUoALBQhYBCxSgBTgRgECFjddxcUESI0kBRqqAAGLgEUKkALcKEDA4qarGjpx0cVJAS4UIGARsEgBUoAbBQhY3HQVFxMgNZIUaKgCBCwCFilACnCjAAGLm65q6MRFFycFuFCAgEXAIgVIAW4UIGBx01VcTIDUSFKgoQoQsAhYpAApwI0CBCxuuqqhExddnBTgQgECFgGLFCAFuFGAgMVNV3ExAVIjSYGGKkDAImCRAqQANwoQsLjpqoZOXHRxUoALBQhYBCxSgBTgRgECFjddxcUESI0kBRqqAAGLgEUKkALcKEDA4qarGjpx0cVJAS4UIGARsEgBUoAbBQhY3HQVFxMgNZIUaKgCBCwCFilACnCjAAGLm65q6MRFFycFuFCAgEXAIgVIAW4UIGBx01VcTIDUSFKgoQoQsAhYpAApwI0CBCxuuqqhExddnBTgQgECFgGLFCAFuFGAgMVNV3ExAVIjSYGGKkDAImCRAqQANwoQsLjpqoZOXHRxUoALBQhYBCxSgBTgRgECFjddxcUESI0kBRqqAAGLgEUKkALcKEDA4qarGjpx0cVJAS4UIGARsEgBUoAbBQhY3HQVFxMgNZIUaKgCBCwCFilACnCjAAGLm65q6MRFFycFuFCAgEXAIgVIAW4UIGBx01VcTIDUSFKgoQoQsAhYpAApwI0C/w/9Tq/ll0etMwAAAABJRU5ErkJggg=="}))))}const Ew=i.forwardRef(Aw);n.p;const _w=n.p+"static/media/GreenHover.dbca8233d7dd03a4689afe3b645ea67e.svg";const Tw=n.p+"static/media/TopGreenHover.6d43ee798a8512983bda58f6b978b43c.svg",Sw=n.p+"static/media/backgroundGradient.6d6942058658fa5e0b7d.png",kw=e=>{var t;let{saleItem:n,isLoading:r}=e;return(0,a.jsxs)("div",{className:"grid md:grid-cols-2 mx-auto",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[16px] md:gap-[38px] relative z-10 overflow-hidden bg-cover bg-center bg-no-repeat py-[54px] rounded-t-[8px] md:rounded-l-[8px] 2xl:rounded-l-[0px]",style:{background:"\n\t\t\t\t\t  url(".concat(fw,"),\n\t\t\t\t\t  radial-gradient(50% 50% at 50% 50%, rgba(9, 185, 255, 0.08) 0%, rgba(3, 16, 33, 0.03) 99.99%, rgba(3, 16, 33, 0) 100%)\n\t\t\t\t\t")},children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row md:flex-col items-center md:items-start justify-start gap-x-[8px] flex-wrap sm:flex-nowrap",children:[(0,a.jsx)("p",{className:"recent-text text-[22px] md:text-[26px] tracking-[4px] leading-normal md:tracking-[5px] uppercase text-MontserratBold",children:"Featured"}),(0,a.jsx)("p",{className:"font-montserrat text-[22px] md:text-[44px] font-extrabold leading-normal tracking-[4px] md:tracking-[1.74px] uppercase",children:"Purchase"})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[7px]",children:[(0,a.jsx)("img",{src:Tw,alt:"Top Green Hover",className:"h-[640px] absolute top-[-320px] left-[-100px] rounded-[1177px] -z-50",style:{background:"radial-gradient(50% 50% at 50% 50%, rgba(9, 185, 255, 0.08) 0%, rgba(3, 16, 33, 0.03) 99.99%, rgba(3, 16, 33, 0.00) 100%)"}}),r?(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"w-[242px] lg:w-[200px] py-[2rem] bg-gray-400 animate-pulse"}),(0,a.jsx)("div",{className:"flex justify-start lg:justify-end",children:(0,a.jsx)("div",{className:"w-[100px] h-[25px] bg-gray-400 animate-pulse"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{className:"text-right ml-auto text-[14px] tracking-[0.5px] leading-normal font-normal text-white opacity-80 max-w-[16em] truncate",href:null===n||void 0===n?void 0:n.attributes.nft_detail_link,children:null===n||void 0===n?void 0:n.attributes.nft_name}),(0,a.jsx)("a",{className:"text-right ml-auto text-[12px] tracking-[0.5px] leading-normal font-normal text-white opacity-80 max-w-[16em] truncate",href:null===n||void 0===n?void 0:n.attributes.nft_detail_link,children:null===n||void 0===n?void 0:n.attributes.nft_description}),(0,a.jsx)("div",{style:{backgroundImage:"url(".concat(pw,")")},className:"bg-auto bg-center bg-no-repeat saleTagPadding",children:(0,a.jsx)("p",{className:"font-montserrat text-[28px] lg:text-[33px] font-bold leading-normal tracking-[1px] lg:tracking-[1.32px]",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #000 0%, #505050 100%)",backgroundClip:"text"},children:null===n||void 0===n?void 0:n.attributes.salePrice})}),(0,a.jsxs)("div",{className:"flex flex-col justify-end items-end",children:[(0,a.jsxs)("a",{className:"text-left lg:text-right text-[13px] tracking-[0.5px] leading-normal font-normal text-white opacity-80",href:null===n||void 0===n?void 0:n.attributes.buyerUrl,children:["Buyer: ",null===n||void 0===n?void 0:n.attributes.buyerName]}),(0,a.jsxs)("a",{className:"text-left lg:text-right text-[13px] tracking-[0.5px] leading-normal font-normal text-white opacity-80",href:null===n||void 0===n?void 0:n.attributes.nft_detail_link,children:["Purchased: ",null===n||void 0===n?void 0:n.attributes.purchase_date]})]})]})]}),r?(0,a.jsx)("div",{className:"h-[39px] bg-gray-400 animate-pulse w-[244px]"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"font-montserrat font-extrabold text-[22px] lg:text-[26px] leading-normal tracking-[0.64px] lg:tracking-[0.9px]",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"var(--text-gradient, linear-gradient(90deg, rgba(255, 255, 255, 0.78) 38.95%, rgba(255, 255, 255, 0.24) 99.95%))",backgroundClip:"text"},children:null===n||void 0===n?void 0:n.attributes.hashtag}),(0,a.jsx)("img",{src:_w,alt:"Green Hover",className:"h-[846px] absolute bottom-[-400px] rounded-[1177px] -z-50 left-[-100px]",style:{background:"radial-gradient(50% 50% at 50% 50%, rgba(157, 157, 157, 0.19) 0%, rgba(3, 16, 33, 0.10) 99.99%, rgba(3, 16, 33, 0.00) 100%)"}})]})]}),(0,a.jsxs)("div",{style:{backgroundImage:"url(".concat(Sw,")")},className:"bg-cover bg-center bg-no-repeat flex flex-row justify-around 2xl:justify-center items-center py-[54px] relative z-10 rounded-b-[8px] md:rounded-r-[8px] md:rounded-b-[0px]",children:[r?(0,a.jsx)("div",{className:"w-[185px] h-[320px] p-[9px] rounded-[8px] block md:absolute customPaddingVideo -mt-[83px] md:mt-[0px] animate-pulse bg-gray-400 cursor-wait"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{className:"w-[24px] h-[24px] z-0 md:z-10 hidden sm:block sm:absolute top-[8px] right-[8px] rounded-[3px]",src:null===n||void 0===n?void 0:n.attributes.collectionImage.data.attributes.url,alt:"Collection Name"}),(0,a.jsx)("div",{className:"p-[9px] rounded-[8px] block md:absolute customPaddingVideo -mt-[83px] md:mt-[0px] custom-video-border",style:{backdropFilter:"blur(19.63503074645996px)",background:"linear-gradient(153deg, rgba(205, 205, 205, 0.31) 0%, rgba(255, 255, 255, 0.19) 100%)"},children:(0,a.jsx)("video",{src:null===n||void 0===n||null===(t=n.attributes.videoUrl.data)||void 0===t?void 0:t[0].attributes.url,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"auto",className:"w-[169px] h-[300px] rounded-[8px]"})})]}),r?(0,a.jsx)("div",{className:"py-[43px] z-10 rounded-[8px] h-[320px] w-[80px] items-center gap-[43px] customPaddingAttr -mt-[83px] md:mt-[0px] bg-gray-400 animate-pulse cursor-wait"}):(0,a.jsx)("div",{className:"py-[43px] z-10 rounded-[8px] flex flex-col justify-center items-center gap-[43px] customPaddingAttr -mt-[83px] md:mt-[0px] custom-attributes-border",style:{backdropFilter:"blur(13px)",background:"linear-gradient(177deg, rgba(4, 7, 11, 0.80) 0.35%, rgba(41, 72, 113, 0.80) 99.69%)"},children:null===n||void 0===n?void 0:n.attributes.recent_big_sale_attributes.data.map(((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col gap-[7px] text-center mx-auto",children:[(0,a.jsx)("img",{src:e.attributes.imgUrl.data.attributes.url,alt:e.attributes.name,className:"h-[26px] w-[26px] mx-auto"}),(0,a.jsx)("p",{className:"text-white text-[7.6px] font-montserrat font-light tracking-[0.3px] leading-normal text-center w-[80px] px-1",children:e.attributes.name})]},t)))}),(0,a.jsxs)("div",{className:"absolute bottom-[8px] right-[8px] flex flex-row gap-x-[5px] items-center",children:[(0,a.jsx)("span",{className:"font-montserrat font-normal leading-[0.23px]",style:{color:"rgba(0, 0, 0, 0.75)"},children:"Powered By"}),(0,a.jsx)(yw,{}),(0,a.jsx)(Ew,{})]})]})]})};var Pw;function Dw(){return Dw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dw.apply(null,arguments)}function Nw(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Dw({width:59,height:15,viewBox:"0 0 59 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Pw||(Pw=i.createElement("path",{id:"Arrow 3",d:"M58.7071 8.33797C59.0976 7.94744 59.0976 7.31428 58.7071 6.92375L52.3431 0.559792C51.9526 0.169267 51.3195 0.169267 50.9289 0.559792C50.5384 0.950316 50.5384 1.58348 50.9289 1.97401L56.5858 7.63086L50.9289 13.2877C50.5384 13.6782 50.5384 14.3114 50.9289 14.7019C51.3195 15.0925 51.9526 15.0925 52.3431 14.7019L58.7071 8.33797ZM0 8.63086H58V6.63086H0V8.63086Z",fill:"white"})))}const Fw=i.forwardRef(Nw);n.p;var Iw,Rw;function Mw(){return Mw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mw.apply(null,arguments)}function Ow(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Mw({width:35,height:35,viewBox:"0 0 35 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Iw||(Iw=i.createElement("rect",{x:.84375,y:.837891,width:34,height:34,fill:"url(#pattern0_10669_294)"})),Rw||(Rw=i.createElement("defs",null,i.createElement("pattern",{id:"pattern0_10669_294",patternContentUnits:"objectBoundingBox",width:1,height:1},i.createElement("use",{xlinkHref:"#image0_10669_294",transform:"scale(0.00390625)"})),i.createElement("image",{id:"image0_10669_294",width:256,height:256,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7Z159CVFke8/wSLIvskui4oiOLIqiwrIoKA4ItvgqOM2uPH0CS7AE3gqo448RpZxXMZ5zwUUBUWwWURkhmUEFBRkUfalGwRaQLpbeqHp7u/8kfXjtc3vdzPq3qq6VffG55zf6T6n8kZGZWVFZUZmRkDQCJKeL+koSVdKelLSo5LOkLTZsHUbFpI2lfRNSQ9JmlW0zVGSnj9s3YJgYIqX/khJV0taosl5TNKBw9a1aSQdIunxKdpkiaRrirYLYxB0B+dLPxnflrTJsPWvm6J9vluiXZYUbRnGIGgnA7z0yzJX0j9J2mjY91Q1kjaRdLKkeQO0TxiDoB1U+NJPxkJJ35f0qmHf5yBIMkmvkXR2cU9VEsagAmzYCnQJSZsCBwOHArvTTPvNAC4BLgQuMbOnG6izbyQtD+wGvInUVi9qqOrfAz8EzjSzexqqs/OEAchQfF0mXvrdGG6bPQZcDvyq+LvBzOYNUR8krQLsBOwC7Aq8FlhnmCoB15KMwblm9sAQdWk9YQAmofjSH0I7XvpeLAJuBn4N3AHcBdwNzDCzuVVWJGlVYDPSF/3Fxd8rgL8CVqiyrgoJY5ChrR27cTr00nuZAzwIPArMBmYV/06MGJ4EJqYTKwKrFf9fBVgTWKv493nApsAajWhdH2EMJqHrnXwglpnT7wYsN1yNggYJnwFjaAAa/tI/CJwLbAgcVmM9o8jZwCMkA71pjfWM9chgLAyApPWAd9DcS/+j4u9aM1si6WjgpMzv5tD9YbYXz70ebWYnS1qO9MwOKf6aMgbfNbPHaqwrqBtJq0o6XYNtPvEwQ9KpknaX9CzjIukIh4xtJR0o6Seqfs28DSyUdL7SPW7rKP+hSdrRlNr4VKU2r5N5kk5Tcn4GXUPpoMntNXaQGZJOkbSbJnnpl9HlnQ55uyxV/nmS3ifpIkkLaruD+lmgdA+HK43CJu5vV8dv35FpU1Nq+1NUrzG4TWnaGHQFSatLuqPGTnG6Mi/9Mvq8wSHzDVP8dg1Jh0r6Ws33VBW3K+l6iKTVp7inNznk7FuifU1pVFAXt011L12nreu3g/JF0jp1XexgZipR/mFHmUkPApnZHNKc9IfwjBPz1cDOxd+OwLA655+BG4DrSXsRfmFmf3D8znPoydNmAJiZJG3vLd8HWwP/BHy4xjqGwsg5ASVtDNxPWtvuWwy922YRsIGZ/cmp0wYkj3YvPmdmJzj1W1r2csDzga1IRm8rYGNgI2AD0jr+2mXlktpgFmkfwUzgIdJLeSdpw9FdpA1HZQzhhM6fBz6VKba+mT3qlLdWoWevD9oSBlvmXQhsZmYzB5DROkZxBHAY/b38D5A89z8EDgQ+2aPsCsC+wPedsh8lGY1e7b25U9ZfYGZLgOnF32VTlZO0EmmTzwqFLpMxcW2emT3Vjz5Ocve6EHi8hLz9yPflU0nPa2IJ+IUl5AM8p/jdv5b8XdAkSqfovEzXJI48SXs6fntGSb1y8/drq2+NdiLpV5m2uK2kvDMcz2uvZX6zo9LR67scv53gzEobIqgeSZdlHuIcSV9S8kRPOsyXtIKkJzJy7i+p108y8v6sNJwfaSQtpxQSrRfnlZR5f0beE5KmHBVK2kHSF5TCkvXiZ4O3QLsYxQ431fB26eufNLNfTjV/NbNFwKUZOZur3Dn02zPXVwO2LCGvq7wQyK2t59rqGYpnkJtSXNrrGLWZ3QgcT77vLPbq1RVG0QD8PnN9bdIJthxXOMq82lFmgjscZV5eQl5X2c5Rxm0A8D2DKxxltgXWzZQpNTXpAqNoAK53lNnTUeZqR5kyEXt+6yjzmhLyuornhfW01QS7O8r8wlHG0yd+7SjTKUbRAFzhKON50W4Fcst8r3DImeAm0rp5L/YoIa+r7JW5PofU9l5embk+C/idQ47HAFzlKBMMG+U9uzPl2Mkn6eKMnCdVwnGnvINykaQ1B7v79iJpbUmLq3K0yedQvNghx4o+0Yu7Brv7djKKIwDIW+r1Sbu7ctyYub4q8AKXRonctGJ5YJ8S8rrGPuT73DUl5HkcirlnCKkvrJ8pc6VLo44xqgbA87A88/dbHGXKOO48c9FDSsjrGp578/heJvC0vecZevpCGIAO4Zmr7ego4+k82zrKTHAVaY7bizdJem4JmZ1AKXjo/plisyk3z36Zo8zNjjKevhAGoCuY2f2kcNq98BweuQPIbYl1byktttfm5qSrAW/0yuwQ+5Mfrl9kZgtLyMxNv54inV3IsUPm+n1mlutPnWQkDUBBbslmO6UY9lNSbAianpGzRRmlAM8utw+UlNkFnhXgYxLOLSkzt3Hq/uIZTknRB3JTCc/ScicZZQOQW0teBV/Sinsz18vu3rsYWJAps48kz2alTiBpO1K+gF7MB8putd0ic/0+h4ytSH2hF2X2JXSKUTYAHu/vSxxl7s9c30TScxxyADCzJ4GLcsWAo7wyO4DnXi4ok8ugaPONM8Xud4jyxI3w9KVOMsoG4CZHma0cZXJfkeVJUX/L8GVHmbdJ6uuIcJso7uGtjqKeNlmaDUlt3wvPCMBjAGIE0EEeJCW/6IXHAHgi0zzPUeYZzOxK8p1qJeDkMnJbyimke+nFDWbmWSJdmty6PfieXc4AzDazXDCXzjKyBqA46Xd3pphnCuCJSrNevsiz8HzxDpX0+j5ktwJJewMHOYqe1od4j9H9o6NM7iPgWUXoLCNrAApyJ/A8DjxPbPh+DMBZ+IzLl8r4GNpCobPHyM0EzumjCk+be9p3i8z1kdwCPMGoG4Dcw9tQ+TMBtYwAzGwB8M+Ooi8jhbPqGqcB2zjK/Z8+w48NbACKZ79RRkYYgA6TS/O0EvmAmbmde5Df4DIV/0JeR4AjJL2nzzoaRymmv2fdfzrwlT6r8URCnp25vi55/8RIbgCaYNQNgMd5k/sCeJamcuvIk1KMAo5zFv+KJM+W1aFS6PgNZ/FjBgg+urKjzLzMdc/qzcg6AGH0DYDHC9zTABRbU3Ohovreu29mZ9Ijmu8ydVwmabd+66obSTuTNvN42uNnZnb2ANXl6liY2wWILz+BJ89BZwkDkA8DBfkvyaCHdz6Eb6SxNnCppNYdGS5WKy7HNzefg2+K0Itcm+eeGfjyJcQIoMN4Yst75u+5Ayq5eWRPzOxu4CPO4qsBP5V0nFoQRbgIynE8aYvzas6fHWFmnk06vcitjEwZBHQpPM9+pDMED70D1YmZzScfydXTCXIrBUt8GvWowOxbwPecxVcAPgdcImlokYQlvYA05P9H8rvyJviWmXnvsxe5Nvdkvco9+wVmNnKRgJdmpA1AQW4o2AoDUPA+4Fclyr8O+J2kzzQZQ0DSKpJOJMXaKzMduYbBh/7PqFGBjJzz1jON6DTjYAByc2uPBz9nAKrojBMjlrcA95T42XOBTwP3STpeksen0ReS1pV0AmmP/Qn4PPET3AUcWGHKsSZGAO7DSV1lHAxAzop7OnEu71xVIwCKfed7kM9vsCwbkIbiMyT9QNLBVYwKiq/9IZJ+QFoTPxHfPvyluRXYw8w8W3PdqmWue/Je5nw3Iz8CGMXkoMuSM3KeCDS5UcJ8py4uzOwhpVx2l+ALV7U0q5ASpB4GLJB0A/BL0uGjGaRlramco+uRjthuRoqSs2tR/yBOzuuBN5hZmWSfHqqY2uWe/ch/IMfBAOQ6b09vsaSVyTu4cqcOS2NmjxaHab5Nmhb0w8qkxBme5Bl1cC7wHjPL5UPoh1ybryBppcyUI7dSMNDqThcYeQtH/iHm5qSeL0nlBgDAzGaTTtMdiW9Zqy0sAo4FDq3p5Qdfm+eeXW4E0LlDWGUZBwMwZVbYglwnWMNRRy0GANKxZjM7nRRSy5NfcNjcRprvnzRV8tWK8JzRyCVZyRn/MABdptgok90ymrnuOXeeO3QyMGZ2NSl45XG00zk1l/TV397Mrm2gPk+b555d7tn3dcajS4y0ASA5tXJ+jpxzyuPxbmS7qJktNLMvkHIRfBufA7NuFgL/D9im+Oo3pdNMR5mcAcjt8ltZkme7cGcZdQOQCxoJ+fMCHgPg6YyVYWb3m9l7SFGNT6XGKUgP/gx8CXiBmR0+hLj5niXFnAF4yCHDc2Cos4QByHeC3HFhaNgATGBmD5jZx0g6vh2YRn5eOwgLgPOBvwM2MrNPmNmwTst52jz37DwGwNOHOsuoLwNWMQLIReZdiO/QUW0UocbPAs6StBZpI9GrSMt/O1Nux97SzCclWLmatI33qmJlog08TloZ6eXk3SIjIwzAsBWomVzAxycdy1RbZK7PqNnbXQozm0UaCUyDZzLfbEgyZJuRPONrTfHzWcXfA6SY+o+YWWW7HKvEzJZIeoDe6cG2yMiYJ2kWU7cH+CJHd5ZRNwA7Za575q1bZK7nMgcNleI02x+KvzKpt7vAvQxgAApm0NsAtD4K0yCMrA+gCPiYS/rYM+OLpBXJTwFabQBGnGzatuIZ9iKXnyEMQEfZElgnUyaX8unF5DeDDBrYIuifnAFYkfwQPtcH1pc0sisBo2wAdnaUyT18T/752xxlgnq43VFm28z1GxwyPH2pk4yyAdgvc13kDUCu8wDc4lMnqAFP2+ee4W/JHy3O9aWgTUhaXtIf1Zvs3F3SRRkZsx2JRYKakGSS/px5Rhc65NyVkfHgqD7nUR0B7E5+F9iVvS4WD/yVGRm3tGkJcNwo2v7WTLFdHS/vVZnrmzCi04BRNQAHOMr8PHP9heRDXP/Gp05QI7lnsC69lwoh3xfA16c6x8gZAKWNL4dmii0h/9A9CTjKBPAM6sFz8vBVmes/Jx89+m9HcRowcgYA2J+0460XV5lZLumnJ9rtqG2s6SIeA7B3r4tFuLIrMjK2Av7aqVMwLCT9POPQkaQjHHIezMjwZB0KGkDSI5lnlT2wJOn9jn4zrYn7CfpE0i6Oh7hQ0gYZOds45PygqfsKeqMUBTlHz+VApZDnCzIylkjarqn7aoJRmwJ8xlHmPDPLHSX1OHwudZQJmsHjxOsZWLWYBvwoI8NIORiCtiHpdY6vgCS91iHrNw45z2/ivoI8kjZ1PK/sjj9Jezj70OuauK/AiaSVJd3ueHA3KuPJlbSF0lCvF7m156BhJP3O8fxzy4FIus4h5yblDxl1glGZApwIvMRR7vOOjTvvJJ9W6lyXVkGTnOco805HmS84yrwcON5RLqgbSa+RtMhhtW9VJp22Uqrr+xyyRsoRNApI2t7x3KYr7RPpJceURoo5npa0S1P3F0yCpE0kPex4WJL0Boe8fR1yuhCbfyyRdKfj+b3RIeevnX3qAWVWlIKakLSqpF85H9TFTpmXOmSFF7ilKKVJz3G5U9Z5zr71X2owNXsASHqO82WVpLmSsnHdJO3skLVI4f1vLZKeL990MJsrUckZPMfZxy5QR52CndvbrGRtzwb+xvmTo8zsNIfcnwBvzhS7yMze5KzXhZJf4gXk01hBCtLZVxhuSWuQtkh7ciVO7zenn1L0nA0dRWcD91YddFTp+O/+mWKXmtm+DlkfAL7urPpc4O2ZZKTBIEhaS9JVTqssSVco4/gr5O7tlJedP5a8n7crv+V4WW6S4wu2VB2rSfq2pKdK1PGUpG9KWq1EPbtLurnkvTwo6W39td6UerzRWbfHF2CSflrifi6TtHqV9xMUSNpa0u9LPIyHJWVjuisFD7nJIe8mVXgaTNIhyu83mIq5krZx1GHyT5Um4xLnvWxb6NQPSyQdPHiL/oU+no1ct8kxbJe0jqR7StzP7cpsOw5KIuldykd+WZoFknZ1yvYcApGkt1Z8T56NK734jqOO1wxYh+SbL58xYB2VhlWT9FZnvR92yttB0rwS9zNbFY9sxhKlLZ65sFzLsljSYU75a0ia6ZB5mzLrxyXva9VCz0H4naOeowasQ5I+6qjntgHrWCxp1Wpa95lRnWe0+JicyT8lHaC09l+G8yV5UssNjVbuBJS0iqQTSBF3y867P2xmZzvLnowv+edxRYKNqliRwdvek7u+Cs+0R8agCWasAhn/X1h6Vsc5iq4LnOKU+RPgcPIBRJfmAOB2SccqlgrzKH0ZP6zyjjEpzSWPLFHXAU6516qGSDDy7TjsxTmOOl4/YB2SlA2CIelHA9ZxTzWt+hc6mdKz8/C3JeS+X76lxmWZLulDCkPwbCRtLulESY/20bBSGpp59nlP1LeRs67Fqmm7Z9EZ+mWRHD4OpaGwxyE2FdfLt4qym/p7KSb4YDWt+iy9dpVvqvUnldjfIelQ5WMHTMVMSZ8uU99IImklSW9TWjoZZD78hEoszyl9GX7mlP1vNbfB/5I0v+T9/lHSQSXq2EjS5SXrkKT/kORZz5+o52DlQ7EvyzxJx/bXem69vuHU5XI5jN1Scl/bx/0uzWKlfvhWSZ7pXC0MZSOQpHcBJwGD7qO+BTjIzO4uUffRRd05HgO2LgJF1IakNYFXAB5n1MPAdWa2sI96tialOvNsBLrDzEqfeZC0EulePI6vJ0j3MqdsPSV1WpeUQSgX4Rng02Z2YgnZm5GCiLyiT/UmeBg42sy+O6CcdqN02s5rkXuxRNLXVdJzrPSV8o423l1TMwQNI+k9JfpVqeU7pZHsKSX6VS++qhKjkM4h6aQKGuk+ORxTk9S9u/xrubnQUEHHkHSu89kvkLRnH/J3ly8oTQ5PPILuUTTQIFZynqTPqcT21KXq3kp+B+N0OdeGg+6gtKNvhrMP/EnSS/uo47mSPiX/IaLJqM3xPFQkXTxAg5yhPr2mkjZWPvfbBIskvabqew/agVLMP+9qxX0D9Ln1JX1NKQJ1P1xQ9b0PFSXrW/brP19pnv+iAep9gcrt446z/iOOpM+W6A/TJb14gLo2U/IPlNnGLiUjtVaV9z1UJO1X4ubvkXSCBoy0onRA5Q8l6j1fo+yACYBnHNHTSvSLRyRtP2Cda0v6pMqd/3h9Vfc8dCS923HD50naUxXsupP0CqV93l5+qz58C0E3kbS6fCdAJ3hCUi6/oLfuVyodtc7xrirqawXynbjbq6K6DlY5J8z9kjatou6gOyhFD5peop/MlfR3FdW9uaO+91dRV46RGfJKWkHSF4EfAt6gDI8C+5nZg/VpFrQRM3uAlOzzEedPVgHOUnJIj8x+/pEwAEre2quAY/Dvbnwc2NfMbq9NsaDVFDtI30jqC17+HrhK0pb1aNUsnTcAkg4EbgB2K/GzmcBeZnZjPVoFXaHoA68l9QkvOwO/UcVBYoZBZw2AUtTWC4Af49vnPcEDwJ5mFum9AgDM7BZgL6DMVHBt4PtKB3r6XqoeNp0zAMVc/6Okg0BlI/TeDLyqn4MuwWhTTAV3AX5T8qevB34v6YuSVq5es3rpjAFQWr89BLgJOA0ou2w3Ddi9cP4EwbMws4dII4ELS/50RZL/6WalI+6VhY+rm9YbgOKL/w7gVpKHPxsNdxmWkJKHHmRmc6vWLxgtzOxJ4C3A50l9pwxbAd8jhQF7r4Z4zr9VqI99AEqbNd4n6W7Hb6dipiKXe9AnSjtYBwn6MV0pxN2ay8jd3PHbRvYBVBaIsQqUhk77kJZaDiStvfbLz4F3F8O6ziFpPdKc9KXA84C1gLmkjDp3Aje2ZQlT6eTc9qSAI2sCqwKzgD+SgnH8su7AKnVgZpdI2hH4DrB3HyI2A74MnCxpGnAm8LMKVewG8o0AfqJye/enYrbSyKGLac/WlnSkpF/LlzTkQUmnagiJKCS9TNJpkh5y6LlYKb7gR9XBQy5KYeQ+qMGO+U4wU9KZjnKNjAAaQf7kG4NysVKYpk6hFA35c+q/gy1ROkuRTYJaga4vUTLW/WY1mq10Im+Q0d1QUFp69saTHJQwACW4U9Khw77PflA6o35/Re2wQNIxqieM+XJKwS7K5BjsxX2SXl21nk0gaR+VS1PXD2EAHDwh6ePqqLdV0kdUPtuMh2mq8AurNEIpm6HJw9OS/kdVejaJUizAo5VGNHUQBqAHc5Q2XnQ2dJek4ytuk2W5WhWk21LKLnx1zbp+qoo2HQZK6eWOUfoYVUkYgEn4k6T/rWWWVbqGpA9U1B45fqoBNqUoJRZpas57eJVt3DRKDtzPqjpDEAZgKW5T8iBXlkByWEjaWdXNoz18dgBd/7FBPRcoLbl1GqUR0/tVLuDIZIy9AZgv6Sx11FE0GZJWlHRLnx3iyT5/97Sk7frQdQf1n+6rX11vktSqvSmDIGkvSeeoP4M/lgZgsaRfKH3t1x223lWjtCvMy5NK6+x7qBj5SHqO0jLcx+WPdCxJl/eh61Ul5N9Z6PQSFQ5ZpS/hnpJOV4qm4+VDVbf7sJG0lqR3SrpAfqfv2BmAkzRgINA2o/T198aln6ZMXvlC3jHyf6XdIyklo+PhaaVglz1TiCuFZr/QKXN6Tl6XUcrVeIKjHcbOAJTOxtIl5E9H/nWVS1K5v3xflTNLyPyeQ95ClUvKurz8aeH+xiu3i0ja0tEGERNwxPAElPxP4MNm5j6FZmYXAZ9wFD1QKXlnT5Ti3b3FIe9jZnaxoxwAZrYYOAK40lG885F2ukIYgAZQ2pn32kyxxcBHzGxRH1V8GciFN1sV2NUhazfyh7BuAr7qkPUXFPf2QSB3j/uog2c5ukibDICGrUCNbAGsnylzoZn9vh/hxYjhNEdRTxrrnR1l/rnMKGVpihOMP80UW590ki6omTYZgFHGc0hn0HxwF5IPYOFJc5Ursxi4yKXR1HjutfaDTUEYgKbwBC3t6+s/gZn9iXxkW8/Sak7XR8zsCZ9WU+K51zKBXoM+CQPQDFnnG/4EFb3IBd3w7KTMHax62KlLLzzBQTp3XLiLhAFohly46QVAFZGLcl/4eQ4Z92WuVxFR2fN19+gaDEibDMAoOwGvAv7Q4/qPzeypQSpQ2oGXczTOcoj6JlP7EgT83zJ6TYEnF6NH12BA2mQARpbi5X47MGeSy78Djqqgmr2B3Mm/e3JCzOw3wJE82wgION7MruhLu79kH0eZeyuoJ8gwMgcv2o6ZXakUu+9dwHbAk8AvgTPNbH4FVXgiIrkcjWb2ZUlXA+8FtgRmAGeY2bUD6AeAUvKMN2eKzScMQCOEAWiQIgvx56uWK2lrUiTlXiwB/ssr08xuIOVcrJqPkaIc9+IXfW6ICkrSpinAKPsAakPp+OzXSNlpenGdmT3WgEpTIunFwLGOopfUrUuQaJMBCPrjdFI6qxxn1KxHTyStQ9oAtHqm6CLgrPo1CiAMQGdRitJ7OumATY7Hge/WrNKUSNoY+A98OxHPNrMq9kQEDsIH0EEkrQF8CzjI+ZOTzezPNao0JZK2B84HNncUf5qUxzFoiDaNAMIH4EDSzqQU1t6X/w58B4UqRSmbzkdJKx2elx/SIaM7a1QrWIY2GYCgB0qx+U8GrgFe5PzZPOBtg24yKotSrsD/JBkezzZogOuJr3/jxBSgAxQRcr6M/0sKaUR1eLGc1whFMJFjSJ5+74sP6XzBQWa2oBbFgikJA9BiJG1BevHf1MfPTzSz71er0dRI2p+k65YlfzoXeEuxRyJomJgCtBCltFPHkbYJl335BRxnZp+pXLHJKku57n9MikdQ9uV/HNjHzK6rXrPAQ5tGAOEEBCTtDfwr8NI+fr4YOMLMvlGtVs9GKXLvEcDngNX6EPEQsJ+Z3VKpYkEp2mQAxhqltOan4vfuL8tDwDvMrHQOgLJI2g/4F/qP2vNz4O/NLBfAJKiZmAK0AEnvJA33+335LwN2qvvll7S6pH8jxfTr5+VfBHyW9OWPl78FxAhgiBQber4JHNyniFkkr/u/m1mtUyhJOwFnAy/sU8SNwPvN7NfVaRUMSpsMwFj5ACRtSgqu+fI+RZwDHGlmVYTo6kmxDPl9fCHFlmUu8BngtDjh1z7aZADGBkkvAq4ANunj57cB/9PMLqtUqSmQ9G5SFKB+0oyfA3zCzB6oVKmgMsIH0DCSnkeaQ5d9+ecAHwe2a/DlfyPw75R/+W8F9jazw+LlbzcxAmgQScuTDsZ4t/JCmhqdARzb5Cm5Yjvv2ZTrI7OATwNfjeF+NwgD0CwfAHYvUf4W4ANVhOIqQ5GW6yuUW9//DnC0mf2xHq2COmiTARhpJ6Ck9UibZlzFSbn3PjGk/fGHkc9lOMEskpE6p0Z9gppokwEYdT4IrO0o9xjwD2Y2rWZ9enG0s9x1pNOG2WjDQTsJA9AcnvTgkJbavi1VMiBaTIro+wPgdDNbmPuBpJcBOzjlbw1cX5Gu80nOwy+Z2aVVCAzyhAFoAEkbAds4iz+3+KuK9YAdgT0kHeDI6rt3Cdlr9K/Ws1gb2Bh4naR/MLNvVSg7mII2LQOOsg9g22ErQDpV6Nlx+LK6FclgwGnFLsmgZtpkAEaZDYatQMFejjJt0HUNYKdhKzEOhAFohrZMtTZylOmSrsGAhAFohtuHrUCBR48u6RoMSJsMwCj7AK4DGt3MMwmLSAd6cnydlK58mNwC/HbIOowFbTIAI0txVPcw0jLXMHiaFCkoG33HzO4C3kY6xTcMZgCHOVYrggpoy3xv5DGzByTtCBwC7EK1S31TsRiYDvyozGYdMztP0lYkQ/BC+jsJWJb5wM2kzEDDMj5jRxiABjGzp0nD8Mai9fZLEWfgS8PWI6iXmAIEwRjTJgMwyk7AIGglbTIAQRA0TBiAIBhjwgAEwRjTJgMQPoAgaJg2GYAgCBomDEAQjDFhAIJgjGmTAQgfQBA0TJsMQBAEDRMGIAjGmDAAQTDGhAEIgjGmTQYgnIBB0DBtMgBBEDRMGIAgGGPCAATBGNMmAxA+gCBomDYZgCAIGiYMQBCMMWEAgmCMaZMBCB9AEDRMmwxAEAQNEwYgCMaYMABBMMaEAQiCMaZNBiCcgEHQMG0yAEEQNEwYgCAYY8IABMEY0yYDED6AIGiYNhmAIAgaJgxAEIwxYQCCYIxpkwEIH0AQNEybDEAQBA0TIw+FjwAAAp1JREFUBiAIxpgwAEEwxoQBCIIxpk0GIJyAQdAwbTIAQRA0TBiAIBhjwgAEwRjTJgMQPoAgaJg2GYAgCBomDEAQjDFhAIJgjGmTAQgfQBA0TJsMQBAEDRMGIAjGmDAAQTDGhAEIgjGmTQYgnIBB0DBtMgBBEDRMGIAgGGPCAATBGNMmAxA+gCBomDYZgCAIGiYMQBCMMWEAgmCMCQMQBGNMmwxAOAGDoGHaZACCIGiYMABBMMaEAQiCMaZNBiB8AEHQMG0yAEEQNEwYgCAYY8IABMEY0yYDED6AIGiYNhmAIAgaJgxAEIwxYQCCYIwJAxAEY0ybDEA4AYOgYdpkAIIgaJgwAEEwxoQBCIIxpk0GIHwAQdAwbTIAQRA0TBiAIBhjwgAEwRjTJgMQPoAgaJg2GYAgCBomDEAQjDFhAIJgjAkDEARjTFMGYIGjzMq1axEE7eC5jjLza9eC5gzAw44yO9SuRRC0gx0dZTzvTDeQtI3y/FbSSsPWNQjqRNJKkm5yvA8vHbaulSFpOUmPOG76fEnrDFvfIKgDSetImuZ4Dx6W1MjofIUmKjGzJZIuAA7PFD0AuFfSJcAMYEntygVB/SwHbAbsB6zpKD/NzBrp+9ZEJQCSdgOuaaq+IOgoAnYzs181UVljy4Bmdi1wXlP1BUFH+VFTLz80OAIAkPQi4HpgrSbrDYKOMAvYyczubarCRjcCmdndwGHAoibrDYIOsBh4e5MvPwxhJ6CZXQq8F3iq6bqDoKU8BbzbzC5uuuJGpwBLI2l34IfAxsPSIQhawB+AQwsfWeMM7SyAmV0DbAUcC8welh5BMCTmAicBLx3Wyw9DHAEsjaTVSGukbwb+CtgQ2ICW6BcEAyJgJml77y3ABcAlZvbkULUC/hsUs+pYADEWDgAAAABJRU5ErkJggg=="}))))}const jw=i.forwardRef(Ow);n.p;var Lw;function Bw(){return Bw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bw.apply(null,arguments)}function Uw(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Bw({width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,Lw||(Lw=i.createElement("g",{id:"Icon/Solid/diamond-trait"},i.createElement("path",{id:"Vector",d:"M10.0006 6.99792C10.0006 6.99792 9.78892 6.99982 9.6453 7.14533L3.14438 13.6444C3.09821 13.6912 3.06175 13.7467 3.0371 13.8077C3.01245 13.8687 3.0001 13.9339 3.00076 13.9997C3.00076 14.1282 3.04611 14.2548 3.14438 14.353L15.6473 26.8541C15.7437 26.9524 15.8722 26.9996 16.0007 26.9996C16.0663 26.9999 16.1313 26.9872 16.1919 26.9622C16.2526 26.9372 16.3077 26.9005 16.3541 26.8541L28.8532 14.353C28.9003 14.3068 28.9376 14.2516 28.9631 14.1908C28.9886 14.13 29.0017 14.0647 29.0017 13.9987C29.0017 13.9327 28.9886 13.8675 28.9631 13.8066C28.9376 13.7458 28.9003 13.6906 28.8532 13.6444L22.3523 7.14343C22.2588 7.05092 22.1324 6.9993 22.0008 6.99983H10.0006V6.99792ZM10.4995 7.99952H14.8574L10.5014 12.7203L10.4995 7.99952ZM17.1421 7.99952H21.5V12.7203L17.1421 7.99952ZM16.0007 8.23765L20.8575 13.4988H11.1439L16.0007 8.23765ZM9.49978 8.70635V13.4988H4.70725L9.49978 8.70635ZM22.5016 8.70635L27.2942 13.4988H22.4997L22.5016 8.70635ZM4.70536 14.5004H9.68309L14.2791 24.0723L4.70536 14.5004ZM10.7943 14.5004H21.2033L15.9988 25.3441L10.7943 14.5004ZM22.3126 14.5004H27.2923L17.7185 24.0723L22.3126 14.5004Z",fill:"white"}),i.createElement("path",{id:"Vector_2",d:"M4.0005 26.5007C4 26.6332 3.94701 26.7601 3.85315 26.8536C3.75929 26.9471 3.63219 26.9996 3.4997 26.9996C3.36721 26.9996 3.24011 26.9471 3.14625 26.8536C3.05238 26.7601 2.9994 26.6332 2.9989 26.5007C2.9989 26.3679 3.05166 26.2405 3.14558 26.1466C3.2395 26.0526 3.36688 25.9999 3.4997 25.9999C3.56546 25.9999 3.63059 26.0128 3.69135 26.038C3.7521 26.0632 3.80731 26.1001 3.85382 26.1466C3.90032 26.1931 3.93721 26.2483 3.96237 26.309C3.98754 26.3698 4.0005 26.4349 4.0005 26.5007Z",fill:"white"}),i.createElement("path",{id:"Vector_3",d:"M5.00012 26.5006C5.00012 26.9996 5.49903 26.9996 5.49903 26.9996H10.4994C10.8339 26.9996 11.0002 26.7501 11.0002 26.5006C11.0002 26.2493 10.8339 25.9999 10.4994 25.9999H5.49903C5.49903 25.9999 5.00012 25.9998 5.00012 26.5006Z",fill:"white"}),i.createElement("path",{id:"Vector_4",d:"M10.0006 28.4982C10.0004 28.5639 10.0131 28.6291 10.038 28.69C10.0629 28.7508 10.0996 28.8062 10.146 28.8528C10.1923 28.8995 10.2474 28.9366 10.308 28.962C10.3687 28.9874 10.4338 29.0006 10.4995 29.0009C10.6323 29.0009 10.7597 28.9481 10.8536 28.8542C10.9476 28.7603 11.0003 28.6329 11.0003 28.5001C11.0003 28.3672 10.9476 28.2399 10.8536 28.1459C10.7597 28.052 10.6323 27.9993 10.4995 27.9993C10.367 27.9998 10.2401 28.0528 10.1466 28.1466C10.0531 28.2405 10.0006 28.3676 10.0006 28.5001V28.4982Z",fill:"white"}),i.createElement("path",{id:"Vector_5",d:"M9.00088 28.5001C9.00088 28.999 8.50009 28.999 8.50009 28.999H6.50068C6.16618 28.999 5.99988 28.7495 5.99988 28.5001C5.99988 28.2506 6.16618 27.9993 6.50068 27.9993H8.50009C8.50009 27.9993 9.00088 27.9993 9.00088 28.5001Z",fill:"white"}),i.createElement("path",{id:"Vector_6",d:"M28.001 5.49933C28.001 5.36684 28.0535 5.23975 28.147 5.14588C28.2405 5.05202 28.3674 4.99904 28.4999 4.99854C28.6327 4.99854 28.7601 5.0513 28.854 5.14522C28.9479 5.23913 29.0007 5.36651 29.0007 5.49933C29.0007 5.63215 28.9479 5.75953 28.854 5.85345C28.7601 5.94737 28.6327 6.00013 28.4999 6.00013C28.3674 5.99963 28.2405 5.94665 28.147 5.85278C28.0535 5.75892 28.001 5.63183 28.001 5.49933Z",fill:"white"}),i.createElement("path",{id:"Vector_7",d:"M26.9994 5.4993C26.9994 4.99851 26.5005 4.99854 26.5005 4.99854H21.5001C21.1675 4.99854 20.9993 5.24985 20.9993 5.4993C20.9993 5.74876 21.1675 6.00013 21.5001 6.00013H26.5005C26.5005 6.00013 26.9994 6.0001 26.9994 5.4993Z",fill:"white"}),i.createElement("path",{id:"Vector_8",d:"M22.0009 3.49994C22.0009 3.36712 21.9481 3.23974 21.8542 3.14583C21.7603 3.05191 21.6329 2.99915 21.5001 2.99915C21.3672 2.99915 21.2399 3.05191 21.1459 3.14583C21.052 3.23974 20.9993 3.36712 20.9993 3.49994C20.9998 3.63243 21.0527 3.75933 21.1466 3.85284C21.2405 3.94635 21.3676 3.99885 21.5001 3.99885C21.6326 3.99885 21.7597 3.94635 21.8535 3.85284C21.9474 3.75933 22.0004 3.63243 22.0009 3.49994Z",fill:"white"}),i.createElement("path",{id:"Vector_9",d:"M22.9987 3.49997C22.9987 2.99917 23.4995 2.99915 23.4995 2.99915H25.5008C25.8334 2.99915 25.9997 3.24863 25.9997 3.49997C25.9997 3.74942 25.8334 3.99889 25.5008 3.99889H23.4995C23.4995 3.99889 22.9987 3.99888 22.9987 3.49997Z",fill:"white"}),i.createElement("path",{id:"Vector_10",d:"M16.4996 5.49929C16.4996 5.63178 16.4471 5.75887 16.3536 5.85274C16.2601 5.9466 16.1332 5.99958 16.0007 6.00008C15.8679 6.00008 15.7405 5.94732 15.6466 5.8534C15.5527 5.75949 15.4999 5.63211 15.4999 5.49929C15.4999 5.36647 15.5527 5.23909 15.6466 5.14517C15.7405 5.05125 15.8679 4.99849 16.0007 4.99849C16.1332 4.99899 16.2601 5.05197 16.3536 5.14584C16.4471 5.2397 16.4996 5.36679 16.4996 5.49929ZM15.001 3.99879C15.001 4.13161 14.9483 4.25899 14.8543 4.3529C14.7604 4.44682 14.6331 4.49958 14.5002 4.49958C14.3674 4.49958 14.24 4.44682 14.1461 4.3529C14.0522 4.25899 13.9994 4.13161 13.9994 3.99879C13.9999 3.86629 14.0529 3.7394 14.1468 3.64589C14.2406 3.55238 14.3677 3.49988 14.5002 3.49988C14.6327 3.49988 14.7598 3.55238 14.8537 3.64589C14.9475 3.7394 15.0005 3.86629 15.001 3.99879ZM18.0001 3.99879C18.0001 4.13161 17.9474 4.25899 17.8535 4.3529C17.7595 4.44682 17.6322 4.49958 17.4993 4.49958C17.3669 4.49908 17.24 4.4461 17.1465 4.35224C17.0529 4.25837 17.0004 4.13128 17.0004 3.99879C17.0009 3.86662 17.0537 3.74001 17.1471 3.64655C17.2406 3.5531 17.3672 3.50038 17.4993 3.49988C17.6318 3.49988 17.7589 3.55238 17.8528 3.64589C17.9467 3.7394 17.9996 3.86629 18.0001 3.99879ZM4.0005 17.0006C4 17.1331 3.94701 17.26 3.85315 17.3535C3.75929 17.447 3.63219 17.4995 3.4997 17.4995C3.36688 17.4995 3.2395 17.4468 3.14558 17.3528C3.05166 17.2589 2.9989 17.1315 2.9989 16.9987C2.9994 16.8662 3.05238 16.7393 3.14625 16.6458C3.24011 16.5523 3.36721 16.4998 3.4997 16.4998C3.63219 16.4998 3.75929 16.5523 3.85315 16.6458C3.94701 16.7393 4 16.8662 4.0005 16.9987V17.0006ZM29.0007 17.0006C29.0002 17.1331 28.9472 17.26 28.8533 17.3535C28.7595 17.447 28.6324 17.4995 28.4999 17.4995C28.3674 17.499 28.2405 17.446 28.147 17.3522C28.0535 17.2583 28.001 17.1312 28.001 16.9987C28.0015 16.8666 28.0542 16.74 28.1476 16.6465C28.2411 16.553 28.3677 16.5003 28.4999 16.4998C28.6324 16.4998 28.7595 16.5523 28.8533 16.6458C28.9472 16.7393 29.0002 16.8662 29.0007 16.9987V17.0006ZM3.99861 10.9986C3.99861 11.1311 3.9461 11.2582 3.8526 11.3521C3.75909 11.4459 3.63219 11.4989 3.4997 11.4994C3.36688 11.4994 3.2395 11.4466 3.14558 11.3527C3.05166 11.2588 2.9989 11.1314 2.9989 10.9986C2.9994 10.8661 3.05238 10.7392 3.14625 10.6457C3.24011 10.5522 3.36721 10.4997 3.4997 10.4997C3.63219 10.4997 3.75929 10.5522 3.85315 10.6457C3.94701 10.7392 4 10.8661 4.0005 10.9986H3.99861ZM29.0007 10.9986C29.0007 11.1314 28.9479 11.2588 28.854 11.3527C28.7601 11.4466 28.6327 11.4994 28.4999 11.4994C28.3674 11.4989 28.2405 11.4459 28.147 11.3521C28.0535 11.2582 28.001 11.1311 28.001 10.9986C28.0015 10.8664 28.0542 10.7398 28.1476 10.6464C28.2411 10.5529 28.3677 10.5002 28.4999 10.4997C28.6324 10.4997 28.7595 10.5522 28.8533 10.6457C28.9472 10.7392 29.0002 10.8661 29.0007 10.9986ZM9.00091 6.00008C9.00041 6.13258 8.94743 6.25947 8.85356 6.35298C8.7597 6.44649 8.63261 6.49899 8.50011 6.49899C8.36762 6.49899 8.24053 6.44649 8.14666 6.35298C8.0528 6.25947 7.99981 6.13258 7.99931 6.00008C7.99931 5.93432 8.01227 5.8692 8.03744 5.80844C8.0626 5.74768 8.09949 5.69247 8.146 5.64597C8.1925 5.59946 8.24771 5.56258 8.30847 5.53741C8.36923 5.51224 8.43435 5.49929 8.50011 5.49929C8.63293 5.49929 8.76031 5.55205 8.85423 5.64597C8.94815 5.73989 9.00091 5.86727 9.00091 6.00008ZM9.00091 21.9991C9.00091 22.132 8.94815 22.2593 8.85423 22.3533C8.76031 22.4472 8.63293 22.4999 8.50011 22.4999C8.36729 22.4999 8.23991 22.4472 8.146 22.3533C8.05208 22.2593 7.99931 22.132 7.99931 21.9991C7.99981 21.8666 8.0528 21.7398 8.14666 21.6462C8.24053 21.5527 8.36762 21.5002 8.50011 21.5002C8.63261 21.5002 8.7597 21.5527 8.85356 21.6462C8.94743 21.7398 9.00041 21.8666 9.00091 21.9991ZM24.0003 21.9991C24.0003 22.132 23.9475 22.2593 23.8536 22.3533C23.7597 22.4472 23.6323 22.4999 23.4995 22.4999C23.367 22.4994 23.2401 22.4465 23.1466 22.3526C23.0531 22.2587 23.0006 22.1316 23.0006 21.9991C23.0011 21.867 23.0538 21.7404 23.1472 21.6469C23.2407 21.5535 23.3673 21.5007 23.4995 21.5002C23.632 21.5002 23.7591 21.5527 23.8529 21.6462C23.9468 21.7398 23.9998 21.8666 24.0003 21.9991ZM16.4996 28.5001C16.4996 28.6326 16.4471 28.7596 16.3536 28.8535C16.2601 28.9474 16.1332 29.0004 16.0007 29.0009C15.8679 29.0009 15.7405 28.9481 15.6466 28.8542C15.5527 28.7603 15.4999 28.6329 15.4999 28.5001C15.4999 28.4343 15.5129 28.3692 15.5381 28.3084C15.5632 28.2477 15.6001 28.1924 15.6466 28.1459C15.6931 28.0994 15.7483 28.0625 15.8091 28.0374C15.8698 28.0122 15.935 27.9993 16.0007 27.9993C16.1332 27.9998 16.2601 28.0527 16.3536 28.1466C16.4471 28.2405 16.4996 28.3676 16.4996 28.5001Z",fill:"white"}))))}const Vw=i.forwardRef(Uw),Hw=(n.p,e=>{let{sales:t,isLoading:n}=e;return(0,a.jsx)("div",{className:"flex flex-col gap-[18px]",children:n?null===t||void 0===t?void 0:t.map(((e,t)=>(0,a.jsx)("div",{className:"flex flex-row items-center bg-gray-400 animate-pulse cursor-wait h-[90px] rounded-[10px]"},t))):null===t||void 0===t?void 0:t.map(((e,t)=>(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between px-[24px] py-[11px] rounded-[10px]",style:{background:"rgba(255, 255, 255, 0.08)",boxShadow:"0px 4.11px 18.494px 0px rgba(0, 0, 0, 0.25)"},children:[(0,a.jsxs)("a",{href:e.attributes.assetDetailUrl,className:"flex flex-row items-center top-sales-spacing",children:[(0,a.jsx)("img",{src:e.attributes.image.data[0].attributes.url,alt:e.attributes.assetTitle,className:"top-sales-image rounded-[10px]"}),(0,a.jsxs)("div",{className:"flex flex-col gap-[6px] truncate",children:[(0,a.jsxs)("p",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{className:"text-[#ADB5BD] font-bold top-sales-title truncate leading-normal",children:e.attributes.assetTitle}),(0,a.jsx)("span",{className:"text-[#ADB5BD] font-bold top-sales-title leading-normal ml-1",children:e.attributes.serial})]}),(0,a.jsx)("p",{className:"text-[#ADB5BD] top-sales-subtitle leading-normal font-medium",children:e.attributes.series})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[6px] w-[70px] lg:w-[100px]",children:[(0,a.jsx)("p",{className:"text-[#A4A4A4] font-normal top-sales-describer leading-normal",children:"Sales Price"}),(0,a.jsxs)("p",{className:"text-[#ADB5BD] font-bold top-sales-value leading-normal",children:["$",an()(e.attributes.salePrice).format("0,0")]})]}),(0,a.jsxs)("a",{href:e.attributes.buyerUrl,className:"flex flex-col gap-[6px] w-[110px]",children:[(0,a.jsx)("p",{className:"text-[#A4A4A4] font-normal top-sales-describer leading-normal",children:"Buyer"}),(0,a.jsx)("p",{className:"text-[#ADB5BD] font-bold top-sales-value leading-normal",children:e.attributes.buyerName})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[6px] ",children:[(0,a.jsx)("p",{className:"text-[#A4A4A4] font-normal top-sales-describer leading-normal",children:"Purchased On"}),(0,a.jsx)("p",{className:"text-[#ADB5BD] font-bold top-sales-value leading-normal",children:e.attributes.purchasedOn})]})]},t)))})}),zw=e=>{let{sales:t,isLoading:n}=e;return(0,a.jsx)("div",{className:"flex flex-row gap-[8px] overflow-x-auto",children:n?null===t||void 0===t?void 0:t.map(((e,t)=>(0,a.jsx)("div",{className:"flex-shrink-0 flex flex-col items-start justify-between p-[12px] h-[190px] w-[224px] rounded-[12px] gap-[8px] whitespace-nowrap cursor-wait bg-gray-400 animate-pulse"},t))):null===t||void 0===t?void 0:t.map(((e,t)=>(0,a.jsxs)("div",{className:"flex-shrink-0 flex flex-col items-start justify-between p-[12px] rounded-[12px] gap-[8px] whitespace-nowrap",style:{backdropFilter:"blur(21.03209114074707px)",background:"linear-gradient(153deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%)",boxShadow:"0px 4.11px 18.494px 0px rgba(0, 0, 0, 0.25)"},children:[(0,a.jsxs)("a",{href:e.attributes.assetDetailUrl,className:"flex flex-row gap-x-[10px]",children:[(0,a.jsx)("img",{src:e.attributes.image.data[0].attributes.url,alt:e.attributes.assetTitle,className:"w-[54px] h-[54px] rounded-[4px]"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-[4px] justify-around",children:[(0,a.jsx)("p",{className:"text-[#F8F9FA] font-black uppercase text-[14px] tracking-[1.12px] leading-normal",children:e.attributes.assetTitle}),(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[11px] font-normal leading-normal",children:e.attributes.serial}),(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[11px] font-normal leading-normal",children:e.attributes.series})]})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-around gap-[8px] px-[12px] py-[8px] rounded-[12px] w-full min-w-[200px]",style:{background:"linear-gradient(153deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%)"},children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] font-semibold",children:"Price"}),(0,a.jsxs)("p",{className:"text-white font-bold text-[16px] leading-normal",children:["$",an()(e.attributes.salePrice).format("0,0")]})]}),(0,a.jsxs)("a",{href:e.attributes.buyerUrl,className:"flex flex-row items-center justify-between",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px] font-normal leading-normal",children:"Buyer"}),(0,a.jsx)("p",{className:"text-[#CED4DA] text-[12px] font-medium leading-normal",children:e.attributes.buyerName})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px] font-normal leading-normal",children:"Purchased On"}),(0,a.jsx)("p",{className:"text-[#CED4DA] text-[12px] font-medium leading-normal",children:e.attributes.purchasedOn})]})]})]},t)))})},Zw=e=>{let{topSalesData:t,isLoading:n,recentBigSaleData:r}=e;return(0,a.jsx)("div",{className:"container pt-[60px] 2xl:max-w-[1920px] mx-auto",children:(0,a.jsxs)("div",{className:"grid 2xl:grid-cols-2 gap-[26px] 2xl:gap-[36px] my-auto mx-auto",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(kw,{saleItem:r,isLoading:n}),(0,a.jsxs)("div",{className:"w-full overflow-x-scroll mt-[26px] lg:mt-[32px]",children:[(0,a.jsxs)("a",{href:"https://www.flowty.io/collection/0x0b2a3299cc857e29/TopShot",className:"flex flex-row items-center justify-start gap-x-[12px]",children:[(0,a.jsx)("span",{className:"text-white font-montserrat text-[21px] sm:text-[26px] font-bold leading-normal whitespace-nowrap",children:"Explore NBA Topshot"}),(0,a.jsx)(Fw,{})]}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-[13px] mt-[12px] lg:mt-[32px] 2xl:justify-between items-stretch",children:[(0,a.jsxs)("a",{href:"https://www.flowty.io/collection/0x0b2a3299cc857e29/TopShot?collectionFilters=%7B%220x0b2a3299cc857e29.TopShot%22%3A%7B%22%231+Serial%22%3A%7B%22True%22%3Atrue%7D%7D%7D",className:"p-[7.2px] flex flex-row items-center justify-center gap-[10px] rounded-[5px] customCollectionStyle min-h-[81px] lg:min-h-[75px] w-full",children:[(0,a.jsx)("div",{className:"px-[23.4px] py-[25.2px] flex flex-col items-center justify-center bg-[#04070B] rounded-[5px]",children:(0,a.jsx)("span",{className:"text-[#DEE2E6] text-[24px] font-montserrat font-black leading-[10px]",children:"#1"})}),(0,a.jsxs)("div",{className:"flex flex-col w-full gap-[8px] md:gap-[10px] justify-center",children:[(0,a.jsx)("span",{className:"text-[#CED4DA] text-[14px] font-montserrat font-black leading-[10px]",children:"Serial"}),(0,a.jsx)("span",{className:"text-[#A4A4A4] text-[11px] font-montserrat font-normal leading-normal",children:"View all #1 Top Shot moments"})]})]}),(0,a.jsxs)("a",{href:"https://www.flowty.io/collection/0x0b2a3299cc857e29/TopShot?collectionFilters=%7B%220x0b2a3299cc857e29.TopShot%22%3A%7B%22Jersey+Match%22%3A%7B%22True%22%3Atrue%7D%7D%7D",className:"p-[7.2px] flex flex-row items-center justify-center gap-[10px] rounded-[5px] customCollectionStyle min-h-[81px] lg:min-h-[75px] w-full",children:[(0,a.jsx)("div",{className:"px-[20px] py-[13px] flex flex-col items-center justify-center bg-[#04070B] rounded-[5px]",children:(0,a.jsx)(jw,{className:"w-[34px] h-[34px]"})}),(0,a.jsxs)("div",{className:"flex flex-col w-full gap-[8px] md:gap-[10px] justify-center",children:[(0,a.jsx)("span",{className:"text-[#CED4DA] text-[14px] font-montserrat font-black leading-[10px]",children:"Jersey Match"}),(0,a.jsx)("span",{className:"text-[#A4A4A4] text-[11px] font-montserrat font-normal leading-normal",children:"View all jersey serial Top Shot moments"})]})]}),(0,a.jsxs)("a",{href:"https://www.flowty.io/collection/0x0b2a3299cc857e29/TopShot?collectionFilters=%7B%220x0b2a3299cc857e29.TopShot%22%3A%7B%22Tier%22%3A%7B%22Rare%22%3Atrue%7D%7D%7D",className:"p-[7.2px] flex flex-row items-center justify-center gap-[10px] rounded-[5px] customCollectionStyle min-h-[81px] lg:min-h-[75px] w-full",children:[(0,a.jsx)("div",{className:"px-[20px] py-[14px] flex flex-col items-center justify-center bg-[#04070B] rounded-[5px]",children:(0,a.jsx)(Vw,{className:"w-[32px] h-[32px]"})}),(0,a.jsxs)("div",{className:"flex flex-col w-full gap-[8px] md:gap-[10px] justify-center",children:[(0,a.jsx)("span",{className:"text-[#CED4DA] text-[14px] font-montserrat font-black leading-[10px]",children:"Rares"}),(0,a.jsx)("span",{className:"text-[#A4A4A4] text-[11px] font-montserrat font-normal leading-normal",children:"View all rare tier Top Shot moments"})]})]})]})]})]}),(0,a.jsxs)("div",{className:"overflow-x-auto flex flex-col",children:[(0,a.jsx)("h4",{className:"text-white font-montserrat text-[26px] font-bold leading-normal",children:"Recent Top Sales"}),(0,a.jsx)("div",{className:"hidden 2xl:block mt-[12px] lg:mt-[26px] 2xl:mt-[4px]",children:(0,a.jsx)(Hw,{sales:t,isLoading:n})}),(0,a.jsx)("div",{className:"block 2xl:hidden mt-[12px]",children:(0,a.jsx)(zw,{sales:t,isLoading:n})})]})]})})},Ww=n.p+"static/media/Blocto_logo.8c13acccac6d07aa5401.png",qw=n.p+"static/media/Dapperlabs_logo.682a45fa243225584380.png",Gw=n.p+"static/media/DMX_logo.5b0b99bf2998e78ef013.png",Yw=n.p+"static/media/Doodles_logo.3af8586e089a40a83303.png",Kw=n.p+"static/media/Flow_logo.3c3ab2662ac1d8aacebf.png",Qw=n.p+"static/media/Flunks_logo.8916c7b49d9b08658b60.png",Xw=n.p+"static/media/LiveToken_logo.3a5cf0686beccbb1ac13.png",Jw=n.p+"static/media/NBATS_logo.e0a676dde272b72d9748.png";const $w=n.p+"static/media/NFLAD_logo.1eaffdbe9f9856370c318bc8c6d8114f.svg",ex=n.p+"static/media/UFCStrike_logo.21317637c212baf860ed.png",tx=e=>{let{direction:t="left",speed:n="fast",pauseOnHover:r=!0,className:s}=e;const l=i.useRef(null),c=i.useRef(null),u=[{alt:"Ballerz",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKcAAAApCAYAAABQrDlEAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABY0SURBVHhe7VwHjF5Vdj5/neYKJuDYrHEv2BgIARYrVAlIgAXTI9GLFhYIIV4jmmTjDcRgwLACIogQBmxwRO+4sSB2jQFD6BgCmF0J1tgz7mU8f7n5vvv+8+bM9ftnfq93o1lpvpk7t51z7rn3nXduee9NSkQcQg960O2QrsQ96EG3Q49x9qDbosc4e9Bt0WOcPei26DHOHnRb9BhnD7oteoyzB90WqVRanHNIIMOY9vqzf/pHOfvnV0qmoVEylVPQIkJWyqBJSQnEmRQqXAZ8Tvbc0ixZpNOkcln8gq5ESeUon3aSdmnZli7Kg0+/KPPmzkFditIi4cD9998vBx98sJRKJSiFunJZ0ulIOeYJmybq6+vl4YcfltmzZ3co9x2qoFevXnLffffJ2LFjfV7rSM9gaYlFixbJjTfeWMlFdKR59dVXZffdd/dlqkexWJTDDjvMl3UF0t99991yxBFHSFtbW6VUZNOmTXLJJZfId999F8sNdbK48sor5cILL/TjFEL5KINgnmPIsXzzzTfl2muv9eWMzzjjjA7taNshVB/K+fzzz+X888/foR3qf9VVV0lra6vPW4RyVZ4F84ccckgl1wEwm3SW1C6Vyrjjjz/WTX/la9f/ukWufsqrrmHKElc3hekFCIt8unHqItcw9XXXNGWh2+Oql91H4ya5lqHjEMa7NcPGuTVDJ7h1Q/d1zfuMdc0jJrqWkfu7ljET3fr9DnGbbvx3d9aZp/v2NEBht3jxYuiYDAyuD5pWMH3nnXd2kKXyGJju3bu3e//992P6atC6+fPn7yCP4YcffnAwCE+jKBQKcTsaa2AeF7RDHQx/Bx3WrVvn9t133w501QLrZ86cWeFsB2VW65uWP/vss7E+cAS+TOs0DvsXYvny5bGOVtebb765QpEMqxvTNq9QWaqjT+MPLLcYW/SDD82V6c+vkA3by1JMZ6VULoKyBJ/opOBQBppCqQivUZBWpEupVph3QUqFopRL28UV2iRVbJViCTHEO3Bm4J5z6Tzkp6TttcVy6fEnstkYbJftVwPrVD/G6FyHcoWli/obyVZYXiKsS4ot6D0I5dO2NFZoXtvSOp0VFCGv5pOgdCE/wTIrx8LSW32sLI3ZP61LkqX1hK239Emx1cGmCaVT2Gubjm4AdI7GioKmfn0whxckD0XSJQhOZ6SEkIKQLK5NlsJhtGQuw/iKxTwMsyx5CC3DINPFMujzkqnDkqA+L9l8gzgsDwrIS2MT8hkZUI+0gZdljIYIlbawg3TeeefJRx99JN98841cccUVvozy4FHliy++kHfffVdGjx7ty8mjBkaEA0Ucd9xx8uGHH/opbPLkyb4spGOesqizrdN0ku5JbbEslBHyhnw2H/IxH/JrXmmVRmMNhJZrUGg9x/Hjjz+Wr776Su69915fptdC6avFhMohNM16W65gWRrOjCmYJhJYKFJWKtPg15gu7SslUy74NWU5lSWfpMrwmCgb2CsnQwY0St2QvUV+Mljyg/eRzMgR0foTSpdgmOW6JinVw5gb8pLO56TckIOBejExbOes0hZKE3aE68D99ttPhg0bJnvttZevZxgyZIiMGTPGrzWbmpo8bdhGEvr27SsTJ070vJQdtqnyWa51mrd0IarRsExh0wqlD+MQyhu2oXkGTWcymThvaSythdI1NjbKhAkTZOTIkTJ06FBfFt5cSVB5pFN6y5PET/tJc+pFrRcAE5IcfpxsZxFaxtSMbUsZZWWB96wswtvQwMTBe8iSfzlIlt34DzLmxbnSZ8kr0u83i6Xfmwskd9YJInX1kqqDIcJ7pnJZGGZeio0N2MU0SIHLilTGywoRKrp69Wof1qxZE8cbNmzoQJc0oNVAfpWlYe3atZXadqjMUG44sIqu2udgJ11I2wbjJNkKrUtqS/v0448/duif5jlmKl/1sO0x3rhxo+ex/C0tLZ4ubFPz5Nu8ebMP4bhqaG5ujmXYmUvBcqsHQR1ByR04GkJZya8QQQiDpf04qceaEncZp/40pt0U1pzFkuw/qFFevnR/Gb17ozTCGzp4wzIMzzVgZw7BTf8xTerPwpSYg7fNZiXb0BseM40YRgqjzZZhsJXOEaqQQjtOTJo0yXsxDZxarr766g67VfJbGUyzc4QOCsEBPOigg7w3VVkjRoyQk08+2ddbWJmMVYbVTWHbDqF1frCDC0NZLEtqh2Deyta6kI4YP36879O4cePi/jFomrt8gnzKb2UTl112mQwfPjzmZTj22GP9zau0VgeCeZ6GcKYaNWqU56EOys8xPuCAAzx92J7Cltt+RdM6AFb8RN7MwQhBJZk0NkoY1FyZ6wqRAqYDzO2yR2Mf2atPztPSuHlchO7C4Aq0cUln6sSNHAXjhBH2zkixCWtQrDuL2wvifv+9FLdujdqoQBUKO05wYLCjjcP69ev9HW47QTBvB4wXXcu0nAZCfpXJNI9yKI9Ikqmx1cmC5SGfha0L0+TVm4gI5TAflqkeoT7si/aNgWk7brwxFWwzqT+k2bJlSwde9bgK5bNl27Zt822Slrz0tipD466Q1AbmmqiQO2lsZVCDwaqUFeEtScbzyBTqMjBMnnEW8MPSaDMV3fkp7OT9VF2m/4W8LHZbWOu5bL1kNm2U4tffiny2Qgqr/oDK9gtikTRgPBc8+uij5ZhjjvHxUUcd5deEIS3zdtDZ2ZAmvNAhktoPsbMyq0HlMN4ZGdVojzzySB/sODHWNNeKiqSpVRHqU8uYKMinvGzj0EMP9W3zGlooHW+Gt956S5YuXVqpiRDL8H8DZPBTxmYoDY8JFydl2hx26Fh0Sq4uK32xloRvonmivsLkO4U8dvZEOoO16sZmKXyzUkorVopbtx6FIIbS3l23979TPPPMM7J48WIflixZIq+//rpMmzYtXtQrmFZvWQ06hVrDUHTG191B3RcsWODHhg8ROE42sHzGjBmdGqWCskKD1LGxY5RktFZ+HnuMRx55xLf98ssv78DLsGLFCjn88MP90i1RXiUGIm/mj0ABb2dYe6bgPenoMlg/ZrG+HLJ7ncyavC81BTOI4Wm9x6WoSgO4L8S1bBD53z9ImlMmDLVIY0V5Kt4IdT1QRDhYYSd1WmS6Wp2WM9Zg6TWvUJruDtXR9iXsh4XOLDouIZTe8tm05Q1lE6FcpSGf1UsR6hrS+MOijoVpmJrDzM6jdzBl0pLDFN0AL9kH3rMhk5P+DTxyIhUNDJ6wslblLM+Delp2ulDCZgjmm4kGzh8vIdDosToA/46dS0KocJj/8ssv5dFHH5Wnn37an0+ynoFthp6irq7On4tefPHFctFFF/mYj+NOPfXUCkUEldHdEeoYGkxSH5LGRcHND8eD46JjdOaZZ/rHxOTj2nHevHkyf/58eeONNypcEXTMuIwg3wUXXCD9+vWr1LaDG9mHHnpIHn/8cf9IWEHeUH8Ak6x5FLVha9HJpS+6LB9RXvcb1/uGRW63ab91e0z/rdt7xjL3019/4FZv2e6cfwJViiLExTIffUWBZW0PzHEtfzvcrRkyxofVQ0a6NXuPds17j3QfPzJXJ/Y4JD2+xJ1YSXWELZ89e3YHORqefPLJCkU7LB/T1eQrcIFieXx8GYKPL22bXYXXXnutwtkOXHCH3W0ifVK47bbbKpzVEfaT4ONL8vNaY3fty6qh2rjwMXCoj7UdGL176qmnKtTJwDqzA78NKktjfwuBh5GHd8z5jNRnM1IHh1iXq5cGzPUN2bI0Ib+ltSDPfrIGpk7C6PUNxhmamwdEQl4hHW2MfAkSeR5P8e4AWYkklbrOACV9bPULwTqlS4LlDeUx35nsvyaE/Qz7yDW6pm19GBOsT0JYbuUQzBeLfHzTDlvPdDYbPV0krDwrS2PU0nTa1wrrthal//VLZI++DZLDlJzHBicHqlwmyxN7ccjwnZobjhgoF/zd4MjI+AoSjLKEBrCVogXLlum3Suv8/wY9pnPs/r3tcg2L3fz3v5omEy84h5wxuOHhTjPErFmz/FEFoR3g+dlpp53mB/y9996TV155xb99tHDhQh8IeE45/fTTfZo8yqsDEg9AJZ8Evm3DKYiA55SBAwf6tIIXIpfTI7WuAc/pH49a8KiFGwI+Lq0F8Jzx20UWt956a2wY2lcGTuGM+SiX0zHr+Ojx8ssvj2lD2HFSsIyH7A888ICf5j/99FO/nCI4lZ9wwgn+batTTjnFX58Q06dP94a5fft2ueWWW7w8QnUNEbWPOvyNw9ptRZeastANmvE7N+yWZW7EzKVuzO3vufF3LHUT7nnf/f29y93A6b9zv3r1a+/+S5gBGEcTQcm/2bL5yn91awcNc2uHjPZTestPxrjmoVE6mtbndWiTodpbSbvtttsOtJMnT058gwadjml0WtcpyutYZbqqVv7XNK1jd5xIbwMuuI/1rSTC9t2OVRJsOXbgsdwZM2ZUSpPBa6Vt2xCWhflow+130NEimd6xMZuThnxK6jCV16XziEtSj81EDlP1yuYtsgo78TIcBmWRq4Qdu7/Ptm6XbY8+JNuefBGV8KF0l6ki6rGBKsKdw2vSUWOrxJuiJiQt3nlXYaAquXYklZFWY02HqFZeK2wbnQHXqUNMhP0LZYSyLW8SutKBsDIsPdOss2VW56Rywj6tS4J67xBhmc2zLfDxZQ5e1OiYgcdH9Zi661N5uOEMAvJ1jbK9mJKPvt0oLau2imyHIM7t/lC+HL+Q3DJkrLReMx1b9m343QpjbMPtkJF8Cbv0TCsCphraJy/IjrruEtgxTvMhtMOM+TIspzPuJDWce+65ctNNN8U0doBqBXmSLixh85q2ZfaGUhkKzdtYeZXO0hNKp7Bp1iXd7CqDL23zNIM7dr7QzPG57rrr/BO0sN2uQIO94YYbYjnV0KmuHBxtkHGZxoYNUSbPdWZO+taVZFPrZlm1bqOceeAAOXvSQDlt0p4yfnATNj0YLLpAPlWCcWeOPUJy/3yaNJx1ujSed7bI3wyU1LY2KWHtWsagpMp5rEmRrq1/HlRYlQ5jC5bZC619srSYhv1RCA+HNcydO1deeOGFCkWy7K5AHj+YCR7C5qvJ1nLSJtFoeWeyLK/ShTwExyiJjuCBPcfjsccekzlz5vjx4REd14khbVdgO88//3wsx8LKsPppWm8g/I0uaHxWmS5j+s7xsbjU1adl7da0bN1SkF//bJQ8fs4EmXfORHny3APl1PF7it8KwNJSnOMhoc+8OdJ0/93SeO+d0uuu26Xfg/8puRE/oU+WdDGPv23+jDN6fLnjHZwEKqxKM6biaoRJHdOOhx6C5aRJGlwtUxrCyq6GkNbeHArVw8oOUe2msvTVyjVf7cZgvULTSbIsrZVDuVYGYeurQWWH14EI+UmrgdAbiKc7AB9FRgx8wbhXPod1Z17Wb2qVz75ZLf919gQ5+8Bop8qjI5gLJSJVQuPIo31yQx1v4ikuFbgzP3C81E39JZIlBNx9gh1/KXo+H619uwZ338uWLYsDn8POnDkzPhoh7MAqkgyYqGVgiVBeErhTpz7vvPOOD2+//bYPqusnn3wi55wTnUpou7Z9pvv06eN30aSnDNtPylq+fLnccccdiX3VPjLPZ9SktzIYVB/u8pP6Tl6VqSGEbdPSdgYa5RNPPBGPj+pjx0rz+mzd6qdp/OVxEoO4La0lN+7uD9zYWctcFrv21M+fd0t/v9nv1IrgIKJNmx7AI1+M0j5UEoxI3/raArd2n/Guecgo/03R6sFj3P889qhvy4Zqu/UQukunPgyaJsLduqUhsHby3xSxHoMb006YMKFCEUF5utqtK7SdpBOE66+/PpaxYMGCSml7G1a/asCyI5bR1SG86qLQ9HPPPRfLCL8hUpx44okxjYbhw4e75ubmCkU7XnrppZhm2rRpldJkaDuhboTmbZsMvD58vQNp3oEIuBlgZtKyfrN8/ccW2CvuKuzcxWEHBNArUk5008AzYnfj92kZpP2787wT+cf/Rl60TC+K3ToouVvPprBJouusYVqPdO4I3pHoUIc7mXmCa0p7R1sawvJZhGVJNNUQjUfkSZKmMCuL7asuWl5LWyqXtHZMmLZ5hcpU3QgdI+ZtWmFpLViW1E4SbRJUrsYhn83b8SN9tKVRAkSt2zbLj99v8OvIDOwtVTEk0sFFYs3YPkB8ETkyQCofyfB1+OWUD7OBhcJ8U1lsnrBjR+Cac0sbTToaoM6geulgarv2YvHT4MGDB/uXZO+5556YhmDadp5prbd0uwIrnwjl2jxpQ3oi1KmaDMZhfxgsfViv0HQoW2FpkxDyV5Oj0Hrlq0V+6Dwqb69REC54OS03/fLf5KKjRkihVJC2YsF/TSklGAfpYMreGCsCmPagicNQWerr8MsNFr1yuQiD3rxRMhu2iENcd+TRMu+DZRFfBeSxSoWwxhiCL7iuWrVKVq5c2eGlVivTxrZcoUdQSQMe0naFkN56A5u2UJ4wVlCvanVEUlkI0ihdNT06Q2fGliSvFp0sVH7HvsI+vYejd0xF26JfXP4LGXH4yX6abC3n5adDm6RvfR3MzUkBXjIDl0ozVW9ZDf7T4HWrpO2zbyWD5UKxLiMLf/yjzLr9TmlrK2Jh0T7N8Z8q8MN6O/V1BT5G41HFXXfd5TukHWPMx3l8VMhHehw8lvEt75NOOqnDW+EEP9XgI1A+SlTwURsfufGYiTL5TuKAAQNi+dpWZ+AHYdzMUEfS8p8q8IVgnreqTl2BevAfIlxzzTVeBr8wrfZPFZKgelLG1KlTfZn9pwraH34EyM80uLHSMmLQoEF+durfv39cxre7eOw0ZcoUn+djXn4GwseXvH619k3bJ/gPNQhtm3Gshw6zS+cwTcNjcmftn+VUGuHqFIQ8r/SeFPXR/wHpGvyIg98maY587IBO14QdkD8HbCeT5CbVVysjwvJaYPu4s7ydYWdkVaO1/SKS6MJrVA2hrFrRVT9gcj6C6SAg4w0TU3QWBhR/CkyvChmOZ0YwzEiZGgzTC+c/sUESmya2k0phU4RU2GkqqZ3UeFdQrdOUbQdFYy2zMcG0Ld8Z2D5amRp3BdIl8eyMHmG7mrYyWGbpFPbGsgjzO6OPRWd8bCNddt5UvAHCbcJ+8oj5Hz5QXvlgjfVcl6qoaDansXUODAUaibic97ZMOCmCP6nDOkB/SmeT5BGhLJsnTUiXpENSvhaEdLaNWkA6hlqnyWqw7Wra6sYy20et01jrCaXTvEJ5/5xI05PRAvlRMP2nK2MD5Pfw8IzYJ/gm4Um94TLJNJ8K+Vzn8GtOGLr/tJh5xEylHJYOsbxd72S1AQvzCm2DsfJZ2s500LZqgdJV06NW1NperdA+WLlMq55arrHts9JpXqG8GteKJHqVzxpHg6MRRcjCJot89gMbhbeDm6Tf9CI8E7ZC6bKUqFtH/apC5bNRrj8L3lO3d1CV+f+AbSupXZYRSfp0xfuXRGd6dQbVM4yTUK2u1rY7k/2ngM1C4ww8WRlrTAj20zzXk/RsnIqjXTxI0TCoPYcqUJmqu4D3tvSgPoPgvWZtvF2hlkFX7Mrg7Uw7Sah1c9EdsSvjtivwphIle9CD7gSR/wPho1Tx9CsUGgAAAABJRU5ErkJggg==",url:"/collection/0x8b148183c28ff88f/Gaia"},{alt:"Blocto",src:Ww,url:"https://blocto.io/"},{alt:"Dapperlabs",src:qw,url:"https://www.dapperlabs.com/"},{alt:"DMX",src:Gw,url:"/collection/0xe3ad6030cbaff1c2/DimensionX"},{alt:"Doodles",src:Yw,url:"/collection/0xe81193c424cfd3fb/Doodles"},{alt:"Flow",src:Kw,url:"https://flow.com/"},{alt:"Flunks",src:Qw,url:"/collection/0x807c3d470888cc48/Flunks"},{alt:"LiveToken",src:Xw,url:"https://livetoken.co/"},{alt:"NBATS",src:Jw,url:'/collection/0x0b2a3299cc857e29/TopShot?collectionFilters=%7B"0x0b2a3299cc857e29.TopShot"%3A%7B"%231+Serial"%3A%7B"True"%3Atrue%7D%7D%7D'},{alt:"NFLAD",src:$w,url:'/collection/0xe4cf4bdc1751c65d/AllDay?collectionFilters=%7B"0xe4cf4bdc1751c65d.AllDay"%3A%7B"%231+Serial"%3A%7B"True"%3Atrue%7D%7D%7D'},{alt:"UFCStrike",src:ex,url:"/collection/0x329feb3ab062d289/UFC_NFT"}];(0,i.useEffect)((()=>{!function(){if(l.current&&c.current){Array.from(c.current.children).forEach((e=>{const t=e.cloneNode(!0);c.current&&c.current.appendChild(t)})),p(),f(),h(!0)}}()}),[]);const[d,h]=(0,i.useState)(!1);const p=()=>{l.current&&("left"===t?l.current.style.setProperty("--animation-direction","forwards"):l.current.style.setProperty("--animation-direction","reverse"))},f=()=>{l.current&&("fast"===n?l.current.style.setProperty("--animation-duration","20s"):"normal"===n?l.current.style.setProperty("--animation-duration","40s"):l.current.style.setProperty("--animation-duration","80s"))};return(0,a.jsx)("div",{ref:l,className:(0,o.cn)("scroller relative overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)] opacity-80",s),children:(0,a.jsx)("ul",{ref:c,className:(0,o.cn)("flex flex-row items-center shrink-0 gap-[52px] flex-nowrap md:px-[120px] lg:px-[240px]",d&&"animate-scroll ",r&&"hover:[animation-play-state:paused]"),children:[...Array(2)].map(((e,t)=>(0,a.jsx)(i.Fragment,{children:u.map(((e,n)=>(0,a.jsx)("img",{src:e.src,alt:e.alt,className:"grayscale shrink-0 max-h-[32px] cursor-pointer",onClick:()=>{return t=e.url,void(window.location.href=t);var t}},"".concat(e.alt,"-").concat(n,"-").concat(t))))},t)))})})},nx=e=>{let{topSalesData:t,isLoadingTopSalesData:n}=e;return(0,a.jsx)("div",{className:"container py-[40px] md:py-[80px] lg:py-[128px]",children:(0,a.jsxs)("div",{className:"flex flex-col justify-start gap-[20px] md:gap-[60px] lg:gap-[80px]",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h4",{className:"font-extrabold text-[32px] md:text-[40px] lg:text-[48px] leading-normal text-montserrat",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #FFF 0%, #AEAEAE 100%)",backgroundClip:"text"},children:"Why Flowty?"}),(0,a.jsx)("p",{className:"text-white font-normal text-[11px] md:text-[18px] lg:text-[24px] leading-normal text-montserrat",children:"Best-in-class marketplace with low fees and dynamic features"})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 my-auto mx-auto md:px-[88px] gap-[20px] md:gap-[88px]",children:[(0,a.jsx)("div",{className:"flex flex-col gap-[24px] my-auto",children:[{description:"Save money by selling on Flowty",icon:"2.5%",style:"text-[20px] md:text-[40px] lg:text-[40px]",title:"Seller Fees"},{description:"Find liquidity by listing your NFTs for any price",icon:"<$1",style:"text-[20px] md:text-[40px] lg:text-[40px]",title:"List NFTs for <$1"},{description:"Save time by listing multiple NFTs in one transaction",icon:"75",style:"text-[20px] md:text-[40px] lg:text-[40px]",title:"Bulk List Up To 75 NFTs"},{description:"List with confidence using FMV for NBA Top Shot and NFL All Day",icon:"FMV",style:"text-[18px] md:text-[34px] lg:text-[38px]",title:"Fair Market Value"}].map((e=>(0,a.jsxs)("div",{className:"flex flex-row items-center gap-[32px]",children:[(0,a.jsx)("div",{className:"flex items-center justify-center p-[12px] md:p-[21px] lg:p-[24px] rounded-[9px] h-[59px] w-[69px] md:h-[108px] md:w-[126px] lg:h-[120px] lg:w-[140px] flex-shrink-0",style:{backdropFilter:"blur(21.80327796936035px)",border:"1.038px solid #343A40"},children:(0,a.jsx)("span",{className:"font-montserrat leading-normal font-bold text-[#F8F9FA] custom-shadow-feature ".concat(e.style),children:e.icon})}),(0,a.jsxs)("div",{className:"text-container",children:[(0,a.jsx)("h3",{className:"title text-[18px] font-semibold",children:e.title}),(0,a.jsx)("p",{className:"description text-[14px] text-[#a0a0a0]",children:e.description})]})]},e.title)))}),(0,a.jsx)("div",{className:"flex flex-col items-center justify-around xs:w-full lg:w-auto my-[26px] md:my-[0px]",children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-[26px] md:gap-[32px] xs:w-full lg:w-auto",children:[(0,a.jsx)("div",{className:"text-container",children:(0,a.jsx)("h3",{className:"title text-[18px] font-semibold",children:"Total Sales Volume"})}),(0,a.jsx)("div",{className:(0,o.cn)("flex items-center justify-center p-[12px] md:p-[21px] lg:p-[24px] rounded-[9px] flex-shrink-0 w-full",{"bg-gray-400 animate-pulse":n}),style:{backdropFilter:"blur(21.80327796936035px)",border:"1.038px solid #343A40"},children:(0,a.jsx)("span",{className:"font-montserrat leading-normal font-bold text-[#F8F9FA] text-[26px] md:text-[46px] lg:text-[52px] custom-shadow-feature",style:{opacity:n?0:1},children:n?an()(1e6).format("0,0"):"$".concat(an()(null===t||void 0===t?void 0:t["Total Sales Volume"]).format("0,0"))})}),(0,a.jsx)("div",{className:"text-container",children:(0,a.jsx)("h3",{className:"title text-[18px] font-semibold",children:"Total Transactions"})}),(0,a.jsx)("div",{className:(0,o.cn)("flex items-center justify-center p-[12px] md:p-[21px] lg:p-[24px] rounded-[9px] flex-shrink-0 w-full",{"bg-gray-400 animate-pulse":n}),style:{backdropFilter:"blur(21.80327796936035px)",border:"1.038px solid #343A40"},children:(0,a.jsx)("span",{className:"font-montserrat leading-normal font-bold text-[#F8F9FA] text-[26px] md:text-[46px] lg:text-[52px] custom-shadow-feature",style:{opacity:n?0:1},children:n?an()(1e6).format("0,0"):an()(null===t||void 0===t?void 0:t["Total Transactions"]).format("0,0")})})]})})]}),(0,a.jsx)("div",{className:"2xl:max-w-[1920px] mx-auto",children:(0,a.jsx)(tx,{})})]})})},rx=n.p+"static/media/ash.89b17291cd95ace86fad.png",ix=n.p+"static/media/austin.9277e4448e3df20dfd84.png",ox=n.p+"static/media/egt.470d5dbd867c3577cf52.png",ax=n.p+"static/media/felipe.9cddb944c220c8acee28.png",sx=n.p+"static/media/michael.1897498777e5c311d675.png",lx=()=>{const e=[{image:sx,name:"MBL267",twitterUrl:"https://twitter.com/mbl267_NFT"},{image:ix,name:"AUSTIN",twitterUrl:"https://twitter.com/austin_flowty"},{image:ax,name:"FRLABS33",twitterUrl:"https://twitter.com/Frlabs33"},{image:rx,name:"WEB3ASHLEE",twitterUrl:"https://twitter.com/web3ashlee"},{image:ox,name:"EGT",twitterUrl:"https://twitter.com/egt_flow"},{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAQJElEQVR4nO3cMcplSxXF8Z6LRsaC4ExEwcTUSMTMKZg4DDEQhQ42GDmIHT9wGH7Gjyf21XdPr3Xq/ApW2n1u1dr/s3ZVne/TfLMfZA54gAfmgXPwKf0AZA54gAcGAJkACHiAB1YCZAIg4AEeGC0wEwABD/DA2gNkAiDgAR4YhyBMAAQ8wAPrFJgJgIAHeGBcg2ECIOABHlj3AJkACHiAB8ZFaCYAAh7ggfUlCBMAAQ/wwPgUjgmAgAd4YH0LzARAwAP7+DnwxxCY4PFFwAP72DkAwIJFIHPAAwuATAAEPMADIwEyARDwAA+sFpgJgIAHeGDsATIBEPAAD6xDECboB8GnT5+qlZ4f2oo5cApcsAgnKg04AMx7YG4gACxYhBOVBhwA5j0wNxAAFizCiUoDDgDzHpgbCAALFuFEpQEHgHkPzA0EgAWLcKLSgAPAvAfmBgLAgkU4UWnAAWDeA3MDAWDBIpyoNOAAMO+BuYEAsGARTlQacACY98DcQABYsAgnKg04AMx7YG4gACxYhAa9GzA//8mPqgWoec81CAALFqFBAChRToEPAbBgUp4oAATAKfAhABZMyhMFgAA4BT4EwIJJeaIAEACnwIcAWDApTxQAAuAU+BAACybliQJAAJwCHwJgwaQ8UQAIgFPgQwAsmJQnCgABcAp8CIAFk/JEASAAToEPAbBgUk7SKV9utMsneHvP+kg/AAFgGl4AuI+tQwA8fYElQAAs8OGUCgALFgEA8wlOC7xxrwJgwYScJgkQANMenGJJgAWLAID5BCcBbtyrAFgwIadJAgTAtAenWBJgwSIAYD7BSYAb9yoAFkzIaZIAATDtwSmWBFiwCACYT3AS4Ma9CoAFE3IXSXb3lC9GNl4736qj9AMQAKahBID72DoEwLsunC884jCTADdeBwBYMIkAmAfLXaQF3q4gkX4A+j8XTgKMwwwA9/b1C4AFiwCAeTAB4MY9DYAFE3IXSYB5mEmAe/86Sj8AAWAaSgC4j61DALzrwtkDjMNMAtx4HQBgwSQCYB4sd5FT4O0KEukHoHslu9/89e9vVRpIrQLKBcAnwhEA8/BpEAAuAKZhBIDfLUwJEADnpMCRfgCSANNpq1ES4ALgE+GoBc7Dp0EAuACYhhEAfrcwtcAAOCcFjvQDkASYTluNkgAXAJ8IRy1wHj4NAsAFwDSMAPC7hakFBsA5KXCkH4AkwHTaapQEuAD4RDimWuBXk92v/vQ5ojSQAHDPrLf0AxAAAqAEOAAIhhKgBKgFXgnwyalQC6wFtge4WuA0iADQHqA9wD0/cKQfgCRAe4D2AAcAwVALbA/QHuBKgE9OhfYA7QHaA1wtcBpEAGgP0B7gnh840g9AEqA9QHuAA4Bnw7D9jxykvvDwxYhP5kYCzAMKAPPw8smcb4bna9dlGgxPkQQIgP5owsbrEAABUAt8kPzVmAXA9FtEAsy3vv5qzH/fW077f0qlBQZAhyAFSU4CXABMvw0kwHyCkwC1wCMBHhi1XYMBQAnwI12HWmAAdAhS0LpqgbcjmKQf4CmSACVAANx4HQIgAH6v6xTpPT6nwK7BDADm3xynJUAAzLezV65b2v9TKi0wAAJgAcgAcAEw/TaQALXAaaBJgCsBHhm1tcD2AAHwI12HWmAAtAdYkNwkwO0IJukHeIokQAkQADdehwAIgBJgQXKTALcjmKQf4CmSACVAANx4HQIgAEqABclNAtyOYJJ+gKcolQD/9Y8fvqT0Fxy+GHENZgAwDyoAzMPJJ3Ovw9CXIPv9gkkaDE+RBNildOuqBd54TQIgAGqBby4JcAEw/RaRAPOJTgL0xxBGAsyDTguch5sW2F+DGS1w2V6DU+A49OwB5utgyuQQBABdgynYy7MHuACYfhtIgPlkJgE6BBkJ8MCorQWOQ08LnK+DKZMW+KYA9IUHULoGswCYfoMAYD7NPTkpuge4EmAabhJgHlQA6B7gaIHzoNMC56ElAboHOK/WZRoMT5E9wDzMtMD5OpgyASAAxiHTrPQenz3ABcD0W0ICzIMIAB2CjAR446jtGkwcZhJgvg6mTFpgAIxDplnpFlcLvACYfktIgHkQAaAWeCTA81tgX3icrVd94ILzaoHT0ALAPDBOEwBuVzBJP8BTJAHm4dMgANx4LQIgAMZB8FQB4MahB4AAGAfBUwWAG4ceAAJgHARPFQBuHHoACIBxEDxVALhx6AEgAMZB8FQBYB56AAiAcRA8VQC4cegBIADGQfBUAeDGoQeAgYl+9QuPVwvk1YL7/S/+/JLagfDqv/frP/ztJaWezxceG4ceAAIgAALgRxo+DfIliAQoAUqAH2kQAeDh0gJrgbXAG69DCRAA7QHaA4yDZ0qkBZYAtcBa4I80iADwcGmBtcBa4I3XoQQIgFpgLXAcPFMiLbAEqAXWAn+kQQSAh0sLrAXWAm+8DiXAN0/gP3/7x5f08oIc8iXIj3/2y7cq9SXIu3+HL0E2Dr1v1Vv6Ae4uAARAANx4HQIgAEqAEmAcKHMzSYASoBZYC/yRBhEA3lRaYC2wFnjjdSgBAqAWWAscB8rcTFpgCVALrAX+SIMIAG8qLbAWWAu88TqUAAFQC6wFjgNlbiYtsASoBdYCf6RBBIAFk9Ggd38J8qp++oMfvKR3/7/v1m9/95eXlJo/X4JsV72lH4AAEAC/+4JTFwuATzSBBCgBAuBKgGkQAaAWWAu85weO9AOQBKgF1gIPAIKhFtghiD3AlQCfnArtAdoDtAe4WuA0iADQHqA9wD0/cKQfgCRAe4D2AAcAwVALbA/QHuBKgFLh+74YeVWvfsmQ+mIk9Xzv/n99CbJV9a0FvuvCASAAFvhwbi4ALFgEAJQAfQq3AJiGyp0kAUqAaQ/OAZIACxYBACVACXABMA2VO0kClADTHpwDJAEWLAIASoAS4AJgGip3kgQoAaY9OAdIAixYBACUACXABcA0VO4kCVACTHtwDpAEePoCh74EebfePVK/w5cgG68JACyYeAAEwP8Gw7Rv5iGSAE9fYAlQAizw4ZQKAAsWAQC1wBLgAmAaFidKApQA0x6cYkmABYsAgBKgBLgAmIbFiZIAJcC0B6dYEmDBIgCgBCgBLgCmYXGiJEAJMO3BZkmABYsAgBKgBLgAmIbFiTolAZ4iX4JsV32kH4AAMA0lANzH1iEAnr7AEmAcehLgxusAAAsmGwDzAEpLC7xdASH9AHTxAkuAcegB4NbWOQAWLAIA5sEEgBv3KgAWTMhpkgDz0JMAt7c+0g9AAJiGEgDuY+sQAE9fYHuAcehJgBuvAwAsmGwAzAMoLafA2xUQ0g9AFy+wBBiHHgBubZ0DYMEiAGAeTAC4ca8CYMGEnCYJMA89CXB76yP9AASAaSgB4D62DgHw9AW2BxiHngS48ToAwILJBsA8gNJyCrxdASH9AHTxAkuAcegB4NbWOQAWLAIA5sEEgBv3KgAWTMhpkgDz0JMAt7c+0g9AAJiGEgDuY+sQAE9f4Bf3ACVFyW4K/AqABZNykgBQa5v24BRLAixYBADMt6b29jbuVQAsmJDTJAECYNqDUywJsGARADCf4CTAjXsVAAsm5DRJgACY9uAUSwIsWAQAzCc4CXDjXgXAggk5TRIgAKY9OMWSAAsWAQDzCU4C3LhXAbBgQk6TBAiAaQ9OsSTAgkVoAOCv/vT5JT3tixF/vmrjHgbAgom6qwAQANMenGJJgAWLAID5pCcBbtyrAFgwIadJAgTAtAenWBJgwSIAYD7pSYAb9yoAFkzIaZIAATDtwSmWBFiwCACYT3oS4Ma9CoAFE3KaJEAATHtwiiUBFiwCAOaTngS4ca8CYMGEnCYJEADTHpxiSYAFi3AnAL77i5F2pdePFgCZAAABEAxHAmQCCVACFAhWC8wEWmAtsEAw9gCZwB6gPUCBYB2CMIFDEIcgAsE4BWYCp8BOgQWCdQ3m6SZwDcY1mLQHp1juARYsAgDm7/u5B7hxrwJgwYScJgkQANMenGJJgN8THCm9OlIATCk1fxLqxmEGgIHkBIB56AFgHiRzU0mAACgBSoAfaRABYNuboSDlaYElQIc0KwECoD1ALfB/fiGmg8LcXFpgCVALrAX+SIMIANveDAVtrhZYC6wFXgkQALXAWmAt8GiBJUD3AF2DsQe49gC1wC5CuwfoEGQcglyzt/e0i7zpC8zm71q/pPfUp1SPOwVuBwIAmj8AXAAEQAnQC0QCHAlQAtQCS9Ba4NUCa4HtAdpCsAc49gDtAToEsYfqEGQdgjgEcQr85EMkp8DrFNgp8H0L2Ck6AI5rMK7BPDXBACAADgACIAC6R6kFXhehT73g/O49nXeP9vkzL5Li+BIEAAHQi0FSXJ/CSYASoGT8/gQ9T/s09pgfUt7CafXMyx18NQW1DIAAaA/QHiAAfiMBSoAOQRyCSIAfWmAtsFNgp+Na4G/sAdoDdA3G9SB7gB8OQRyCuAf48PuRDkHWKbBT4PML3UVoABzXYO57DebdBfz58+e36t2gfLfaxyn+m4KrKa7BHHgNBgAB8A7+mwIoASAAfnFIgF3jlBfwFEAJAAHwiwMAuwYA7j25ccwPOeQN/OoAwK5xiv+moJYBEAC/OACwawDg3pMbx/yQQ97Arw4A7Bqn+G8KahkAAfCLAwC7BgDuPblxzA855A386gDArnGK/6aglgEQAL84ALBrAODekxvH/JBD3sDGPccp/puCWgZAADRuNgBw78mNY37IIW9g457jFP9NQS0DIAAaNxsAuPfkxjE/5JA3sHHPcYr/pqCWARAAjZsNANx7cuOYH3LIG9i45zjFf1NQywAIgMbNBgDuPblxzA855A1s3HOc4r8pqGUABEDjZgMA957cOOaHHPIGThXmu3XK8737d7T7bwpqGQAB8KsXJgB+nXkGwI1DTwIsfgO/ewBg1zwD4MahB4AAKAEC4IcW2B6gBKgFlgA/2QO8f5Q9pAVJJRN7gF9nntv9NwW1rAUGwLcNAOx60QDgxqFnD7D4DZwqTAnw68wzAG4cegAIgAD45gGAG4cZAB7wBk4VpgT4dea53X9TACUA/H+i7CEGbB/v/h3t/967/992/00BlAAQAGtHO7AAEADHHuB938Dtox1YAAiAA4AAeNVoBxYAAuAAIABeNdqBBYAAOAAIgFeNdmABIAAOAALgVaMdWAAIgAOAAHjVaAcWAALgACAAXjXagQWAADgACIBXjXZgASAADgAC4FWjHVgACIADgAB41WgHFgAC4AAgAF412oEFgAA4AAiAV412YAEgAA4AAuBVox1YAAiAA4AAeNVoBxYAAuAAIABeNdqBBYAAOAAIgFeNdmABIAAOAALgVaMdWAAIgAOAAHjVaAcWAALgACAAXjXagQWAADgACIBXjXZgASAADgAC4FWjHVgACIADgAB41WgHFgAC4AAgAF412oEFgAA4AAiAV412YAEgAA4AAuBVox1YAAiAA4AAeNVoBxYAAuAAIABeNdqBBYAAOAAIgFeNdmABIADO/wDAfwP19epPTL8KngAAAABJRU5ErkJggg==",name:"TREVOR",twitterUrl:"https://twitter.com/jamesdillonbond"}];return(0,a.jsxs)("div",{className:"container mx-auto py-[40px] md:py-[80px] lg:py-[128px] 2xl:max-w-[1920px]",children:[(0,a.jsx)("h2",{className:"text-center font-extrabold text-[18px] md:text-[32px] md:text-4xl leading-normal text-white",children:"Built For Collectors, By Collectors"}),(0,a.jsx)("div",{className:"mt-[40px] md:mt-[52px] lg-mt-[64px] grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-y-[24px] md:gap-[60px] justify-items-center",children:e.map((e=>(0,a.jsxs)("a",{target:"_blank",href:e.twitterUrl,rel:"noopener noreferrer",className:"flex flex-col items-center gap-[12px] md:gap-[16px] group opacity-60 hover:opacity-100",children:[(0,a.jsx)("img",{src:e.image,alt:e.name,className:"rounded-full w-[107px] h-[107px] md:w-[140px] md:h-[140px]"}),(0,a.jsxs)("div",{className:"flex flex-row justify-center items-center",children:[(0,a.jsx)("span",{className:"font-montserrat text-[#6C757D] text-[14px] md:text-[18px] leading-normal font-bold group-hover:text-[#CED4DA]",children:e.name}),(0,a.jsx)("span",{className:"font-montserrat text-[#6C757D] text-[14px] md:text-[18px] leading-normal mx-[8px] font-bold group-hover:text-[#CED4DA]",children:"|"}),(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",className:"hidden group-hover:block",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_10410_653)",children:(0,a.jsx)("path",{d:"M11.8608 9.06426L19.1424 0.599976H17.4169L11.0943 7.9494L6.04445 0.599976H0.220032L7.85641 11.7136L0.220032 20.5897H1.94564L8.62249 12.8285L13.9555 20.5897H19.7799L11.8604 9.06426H11.8608ZM9.49737 11.8115L8.72365 10.7048L2.5674 1.89899H5.21783L10.186 9.0056L10.9597 10.1123L17.4177 19.3498H14.7673L9.49737 11.8119V11.8115Z",fill:"#CED4DA"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_10410_653",children:(0,a.jsx)("rect",{width:"19.5599",height:"20",fill:"white",transform:"translate(0.220032 0.599976)"})})})]}),(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",className:"block group-hover:hidden",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_10772_360)",children:(0,a.jsx)("path",{d:"M12.1398 8.46429L19.4214 0H17.6959L11.3733 7.34942L6.32344 0H0.499023L8.13541 11.1136L0.499023 19.9897H2.22463L8.90149 12.2285L14.2345 19.9897H20.0589L12.1394 8.46429H12.1398ZM9.77637 11.2115L9.00264 10.1049L2.84639 1.29901H5.49682L10.465 8.40562L11.2387 9.51229L17.6967 18.7498H15.0463L9.77637 11.212V11.2115Z",fill:"#6C757D"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_10772_360",children:(0,a.jsx)("rect",{width:"19.5599",height:"20",fill:"white",transform:"translate(0.499023)"})})})]})]})]},e.name)))})]})},cx="tweet-container_root__Sxgvo",ux="tweet-container_article__e4JJt",dx=e=>{let{className:t,children:n}=e;return(0,a.jsx)("div",{className:(0,iw.A)("react-tweet-theme",cx,t),children:(0,a.jsx)("article",{className:ux,children:n})})},hx="skeleton_skeleton__gqg0q",px=e=>{let{style:t}=e;return(0,a.jsx)("span",{className:hx,style:t})},fx="tweet-skeleton_root__azpSu",mx=()=>(0,a.jsxs)(dx,{className:fx,children:[(0,a.jsx)(px,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,a.jsx)(px,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,a.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,a.jsx)(px,{style:{height:"2rem"}}),(0,a.jsx)(px,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]}),gx="tweet-not-found_root__QcNr6",vx=e=>(0,a.jsx)(dx,{children:(0,a.jsxs)("div",{className:gx,children:[(0,a.jsx)("h3",{children:"Tweet not found"}),(0,a.jsx)("p",{children:"The embedded tweet could not be found\u2026"})]})}),Cx=e=>(0,a.jsx)("img",{...e}),yx="tweet-header_header__T5Ru4",bx="tweet-header_avatar__RjCko",wx="tweet-header_avatarOverflow__btbFn",xx="tweet-header_avatarSquare__ikIus",Ax="tweet-header_avatarShadow__zRDOS",Ex="tweet-header_author__2i2H6",_x="tweet-header_authorLink__pL-2c",Tx="tweet-header_authorVerified__9qljv",Sx="tweet-header_authorLinkText__ws5jH",kx="tweet-header_authorMeta__NZig7",Px="tweet-header_authorFollow__ZAXOk",Dx="tweet-header_username__huB3P",Nx="tweet-header_follow__3VTPa",Fx="tweet-header_separator__B5ekw",Ix="tweet-header_brand__Z15oq",Rx="tweet-header_twitterIcon__LW2In",Mx="icons_verified__WrHff",Ox=()=>(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:Mx,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),jx=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Mx,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),Lx=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Mx,children:(0,a.jsxs)("g",{children:[(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,a.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,a.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,a.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,a.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,a.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,a.jsx)("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),(0,a.jsx)("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),(0,a.jsx)("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})}),Bx="verified-badge_verifiedOld__NiegU",Ux="verified-badge_verifiedBlue__jYFkW",Vx="verified-badge_verifiedGovernment__a+3-t",Hx=e=>{let{user:t,className:n}=e;const r=t.verified||t.is_blue_verified||t.verified_type;let i=(0,a.jsx)(Ox,{}),o=Ux;if(r)switch(t.is_blue_verified||(o=Bx),t.verified_type){case"Government":i=(0,a.jsx)(jx,{}),o=Vx;break;case"Business":i=(0,a.jsx)(Lx,{}),o=null}return r?(0,a.jsx)("div",{className:(0,iw.A)(n,o),children:i}):null},zx=e=>{let{tweet:t,components:n}=e;var r;const i=null!=(r=null==n?void 0:n.AvatarImg)?r:Cx,{user:o}=t;return(0,a.jsxs)("div",{className:yx,children:[(0,a.jsxs)("a",{href:t.url,className:bx,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:(0,iw.A)(wx,"Square"===o.profile_image_shape&&xx),children:(0,a.jsx)(i,{src:o.profile_image_url_https,alt:o.name,width:48,height:48})}),(0,a.jsx)("div",{className:wx,children:(0,a.jsx)("div",{className:Ax})})]}),(0,a.jsxs)("div",{className:Ex,children:[(0,a.jsxs)("a",{href:t.url,className:_x,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:Sx,children:(0,a.jsx)("span",{title:o.name,children:o.name})}),(0,a.jsx)(Hx,{user:o,className:Tx})]}),(0,a.jsxs)("div",{className:kx,children:[(0,a.jsx)("a",{href:t.url,className:Dx,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsxs)("span",{title:"@".concat(o.screen_name),children:["@",o.screen_name]})}),(0,a.jsxs)("div",{className:Px,children:[(0,a.jsx)("span",{className:Fx,children:"\xb7"}),(0,a.jsx)("a",{href:o.follow_url,className:Nx,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,a.jsx)("a",{href:t.url,className:Ix,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:Rx,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})},Zx="tweet-in-reply-to_root__kzkrx",Wx=e=>{let{tweet:t}=e;return(0,a.jsxs)("a",{href:t.in_reply_to_url,className:Zx,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]})},qx="tweet-link_root__NxGGl",Gx=e=>{let{href:t,children:n}=e;return(0,a.jsx)("a",{href:t,className:qx,target:"_blank",rel:"noopener noreferrer nofollow",children:n})},Yx="tweet-body_root__0LeXg",Kx=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:Yx,children:t.entities.map(((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,a.jsx)(Gx,{href:e.href,children:e.text},t);case"media":return;default:return(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}}))})},Qx=e=>"https://twitter.com/".concat(e.user.screen_name,"/status/").concat(e.id_str),Xx=e=>"https://twitter.com/".concat("string"===typeof e?e:e.user.screen_name),Jx=e=>"https://twitter.com/intent/like?tweet_id=".concat(e.id_str),$x=e=>"https://twitter.com/intent/tweet?in_reply_to=".concat(e.id_str),eA=e=>"https://twitter.com/intent/follow?screen_name=".concat(e.user.screen_name),tA=e=>"https://twitter.com/".concat(e.in_reply_to_screen_name,"/status/").concat(e.in_reply_to_status_id_str),nA=(e,t)=>{const n=new URL(e.media_url_https),r=n.pathname.split(".").pop();return r?(n.pathname=n.pathname.replace(".".concat(r),""),n.searchParams.set("format",r),n.searchParams.set("name",t),n.toString()):e.media_url_https},rA=e=>e>999999?"".concat((e/1e6).toFixed(1),"M"):e>999?"".concat((e/1e3).toFixed(1),"K"):e.toString();function iA(e){const t=Array.from(e.text),n=[{indices:e.display_text_range,type:"text"}];return oA(n,"hashtag",e.entities.hashtags),oA(n,"mention",e.entities.user_mentions),oA(n,"url",e.entities.urls),oA(n,"symbol",e.entities.symbols),e.entities.media&&oA(n,"media",e.entities.media),function(e,t){e.entities.media&&e.entities.media[0].indices[0]<e.display_text_range[1]&&(e.display_text_range[1]=e.entities.media[0].indices[0]);const n=t.at(-1);n&&n.indices[1]>e.display_text_range[1]&&(n.indices[1]=e.display_text_range[1])}(e,n),n.map((e=>{const n=t.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:(i=e,"https://twitter.com/hashtag/".concat(i.text)),text:n});case"mention":return Object.assign(e,{href:Xx(e.screen_name),text:n});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:(r=e,"https://twitter.com/search?q=%24".concat(r.text)),text:n});default:return Object.assign(e,{text:n})}var r,i}))}function oA(e,t,n){for(const r of n)for(const[n,i]of e.entries()){if(i.indices[0]>r.indices[0]||i.indices[1]<r.indices[1])continue;const o=[{...r,type:t}];i.indices[0]<r.indices[0]&&o.unshift({indices:[i.indices[0],r.indices[0]],type:"text"}),i.indices[1]>r.indices[1]&&o.push({indices:[r.indices[1],i.indices[1]],type:"text"}),e.splice(n,1,...o);break}}const aA="tweet-media_root__MvDCj",sA="tweet-media_rounded__mrLU-",lA="tweet-media_mediaWrapper__qXnM9",cA="tweet-media_grid2Columns__cfKn0",uA="tweet-media_grid3__jRcJj",dA="tweet-media_grid2x2__oMNuS",hA="tweet-media_mediaContainer__zfh3H",pA="tweet-media_mediaLink__bJbI7",fA="tweet-media_skeleton__oYegj",mA="tweet-media_image__cH5Ah",gA="tweet-media-video_anchor__5PODy",vA="tweet-media-video_videoButton__f96+H",CA="tweet-media-video_videoButtonIcon__mmq70",yA="tweet-media-video_watchOnTwitter__jV45L",bA="tweet-media-video_viewReplies__lVKK2",wA=e=>{let{tweet:t,media:n}=e;const[r,o]=(0,i.useState)(!0),[s,l]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),d=(e=>{const t=(e=>{const{variants:t}=e.video_info,n=t.filter((e=>"video/mp4"===e.content_type)).sort(((e,t)=>{var n,r;return(null!=(n=t.bitrate)?n:0)-(null!=(r=e.bitrate)?r:0)}));return n})(e);return t.length>1?t[1]:t[0]})(n);let h=0;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{className:mA,poster:nA(n,"small"),controls:!r,muted:!0,preload:"none",tabIndex:r?-1:0,onPlay:()=>{h&&window.clearTimeout(h),s||l(!0),c&&u(!1)},onPause:()=>{h&&window.clearTimeout(h),h=window.setTimeout((()=>{s&&l(!1),h=0}),100)},onEnded:()=>{u(!0)},children:(0,a.jsx)("source",{src:d.url,type:d.content_type})}),r&&(0,a.jsx)("button",{type:"button",className:vA,"aria-label":"View video on X",onClick:e=>{const t=e.currentTarget.previousSibling;e.preventDefault(),o(!1),l(!0),t.play(),t.focus()},children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:CA,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!s&&!c&&(0,a.jsx)("div",{className:yA,children:(0,a.jsx)("a",{href:t.url,className:gA,target:"_blank",rel:"noopener noreferrer",children:r?"Watch on X":"Continue watching on X"})}),c&&(0,a.jsx)("a",{href:t.url,className:(0,iw.A)(gA,bA),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},xA=e=>(0,a.jsx)("img",{...e}),AA=(e,t)=>{let n=56.25;return 1===t&&(n=100/e.original_info.width*e.original_info.height),2===t&&(n*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:"".concat(n,"%")}},EA=e=>{let{tweet:t,components:n,quoted:r}=e;var o,s,l;const c=null!=(l=null==(o=t.mediaDetails)?void 0:o.length)?l:0;var u;const d=null!=(u=null==n?void 0:n.MediaImg)?u:xA;return(0,a.jsx)("div",{className:(0,iw.A)(aA,!r&&sA),children:(0,a.jsx)("div",{className:(0,iw.A)(lA,c>1&&cA,3===c&&uA,c>4&&dA),children:null==(s=t.mediaDetails)?void 0:s.map((e=>(0,a.jsx)(i.Fragment,{children:"photo"===e.type?(0,a.jsxs)("a",{href:t.url,className:(0,iw.A)(hA,pA),target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:fA,style:AA(e,c)}),(0,a.jsx)(d,{src:nA(e,"small"),alt:e.ext_alt_text||"Image",className:mA,draggable:!0})]},e.media_url_https):(0,a.jsxs)("div",{className:hA,children:[(0,a.jsx)("div",{className:fA,style:AA(e,c)}),(0,a.jsx)(wA,{tweet:t,media:e})]},e.media_url_https)},e.media_url_https)))})})},_A=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"}),TA="tweet-info-created-at_root__MrWJK",SA=e=>{let{tweet:t}=e;const n=new Date(t.created_at),r=(e=>{const t=(e=>{const t={};for(const n of e)t[n.type]=n.value;return t})(_A.formatToParts(e)),n="".concat(t.hour,":").concat(t.minute," ").concat(t.dayPeriod),r="".concat(t.month," ").concat(t.day,", ").concat(t.year);return"".concat(n," \xb7 ").concat(r)})(n);return(0,a.jsx)("a",{className:TA,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":r,children:(0,a.jsx)("time",{dateTime:n.toISOString(),children:r})})},kA="tweet-info_info__eNBHK",PA="tweet-info_infoLink__gkCcM",DA="tweet-info_infoIcon__hw5BT",NA=e=>{let{tweet:t}=e;return(0,a.jsxs)("div",{className:kA,children:[(0,a.jsx)(SA,{tweet:t}),(0,a.jsx)("a",{className:PA,href:"https://help.twitter.com/en/twitter-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:DA,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]})},FA="tweet-actions_actions__W9K0e",IA="tweet-actions_like__XeZEh",RA="tweet-actions_reply__He+ag",MA="tweet-actions_copy__-nw4M",OA="tweet-actions_likeIconWrapper__512jd",jA="tweet-actions_likeCount__7QIQn",LA="tweet-actions_replyIconWrapper__FRWtD",BA="tweet-actions_copyIconWrapper__WOJoi",UA="tweet-actions_likeIcon__3ztQd",VA="tweet-actions_replyIcon__ZYnMi",HA="tweet-actions_copyIcon__RbyF0",zA="tweet-actions_replyText__Cdcu1",ZA="tweet-actions_copyText__J7Aqg",WA=e=>{let{tweet:t}=e;const[n,r]=(0,i.useState)(!1),[o,s]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{if(n){const e=setTimeout((()=>{r(!1),s(!0)}),6e3);return()=>clearTimeout(e)}}),[n]),(0,a.jsxs)("button",{type:"button",className:MA,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(t.url),r(!0)},children:[(0,a.jsx)("div",{className:BA,children:n?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:HA,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:HA,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),(0,a.jsx)("span",{className:ZA,children:n?"Copied!":o?"Copy link to Tweet":"Copy link"})]})},qA=e=>{let{tweet:t}=e;const n=rA(t.favorite_count);return(0,a.jsxs)("div",{className:FA,children:[(0,a.jsxs)("a",{className:IA,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Like. This Tweet has ".concat(n," likes"),children:[(0,a.jsx)("div",{className:OA,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:UA,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),(0,a.jsx)("span",{className:jA,children:n})]}),(0,a.jsxs)("a",{className:RA,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,a.jsx)("div",{className:LA,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:VA,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),(0,a.jsx)("span",{className:zA,children:"Reply"})]}),(0,a.jsx)(WA,{tweet:t})]})},GA="tweet-replies_replies__MFJYA",YA="tweet-replies_link__F2H2s",KA="tweet-replies_text__UK6tu",QA=e=>{let{tweet:t}=e;return(0,a.jsx)("div",{className:GA,children:(0,a.jsx)("a",{className:YA,href:t.url,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("span",{className:KA,children:0===t.conversation_count?"Read more on X":1===t.conversation_count?"Read ".concat(rA(t.conversation_count)," reply"):"Read ".concat(rA(t.conversation_count)," replies")})})})},XA="quoted-tweet-container_root__PJSCP",JA="quoted-tweet-container_article__rWv4X",$A=e=>{let{tweet:t,children:n}=e;return(0,a.jsx)("div",{className:XA,onClick:e=>{e.preventDefault(),window.open(t.url,"_blank")},children:(0,a.jsx)("article",{className:JA,children:n})})},eE={header:"quoted-tweet-header_header__6T5I6",avatar:"quoted-tweet-header_avatar__zUptr",avatarSquare:"quoted-tweet-header_avatarSquare__dPNVg",author:"quoted-tweet-header_author__tg5QZ",authorText:"quoted-tweet-header_authorText__hkMh+",username:"quoted-tweet-header_username__abup6"},tE=e=>{let{tweet:t}=e;const{user:n}=t;return(0,a.jsxs)("div",{className:eE.header,children:[(0,a.jsx)("a",{href:t.url,className:eE.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("div",{className:(0,iw.A)(eE.avatarOverflow,"Square"===n.profile_image_shape&&eE.avatarSquare),children:(0,a.jsx)(Cx,{src:n.profile_image_url_https,alt:n.name,width:20,height:20})})}),(0,a.jsxs)("div",{className:eE.author,children:[(0,a.jsx)("div",{className:eE.authorText,children:(0,a.jsx)("span",{title:n.name,children:n.name})}),(0,a.jsx)(Hx,{user:n}),(0,a.jsx)("div",{className:eE.username,children:(0,a.jsxs)("span",{title:"@".concat(n.screen_name),children:["@",n.screen_name]})})]})]})},nE="quoted-tweet-body_root__i-Tgv",rE=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:nE,children:t.entities.map(((e,t)=>(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)))})},iE=e=>{let{tweet:t}=e;var n;return(0,a.jsxs)($A,{tweet:t,children:[(0,a.jsx)(tE,{tweet:t}),(0,a.jsx)(rE,{tweet:t}),(null==(n=t.mediaDetails)?void 0:n.length)?(0,a.jsx)(EA,{quoted:!0,tweet:t}):null]})},oE=e=>{let{tweet:t,components:n}=e;var r;const o=(0,i.useMemo)((()=>(e=>({...e,url:Qx(e),user:{...e.user,url:Xx(e),follow_url:eA(e)},like_url:Jx(e),reply_url:$x(e),in_reply_to_url:e.in_reply_to_screen_name?tA(e):void 0,entities:iA(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:Qx(e.quoted_tweet),entities:iA(e.quoted_tweet)}:void 0}))(t)),[t]);return(0,a.jsxs)(dx,{children:[(0,a.jsx)(zx,{tweet:o,components:n}),o.in_reply_to_status_id_str&&(0,a.jsx)(Wx,{tweet:o}),(0,a.jsx)(Kx,{tweet:o}),(null==(r=o.mediaDetails)?void 0:r.length)?(0,a.jsx)(EA,{tweet:o,components:n}):null,o.quoted_tweet&&(0,a.jsx)(iE,{tweet:o.quoted_tweet}),(0,a.jsx)(NA,{tweet:o}),(0,a.jsx)(qA,{tweet:o}),(0,a.jsx)(QA,{tweet:o})]})};var aE=n(12898);const sE=()=>{},lE=sE(),cE=Object,uE=e=>e===lE,dE=e=>"function"==typeof e,hE=(e,t)=>({...e,...t}),pE=new WeakMap;let fE=0;const mE=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let i,o;if(cE(e)!==e||r||n==RegExp)i=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=pE.get(e),i)return i;if(i=++fE+"~",pE.set(e,i),n==Array){for(i="@",o=0;o<e.length;o++)i+=mE(e[o])+",";pE.set(e,i)}if(n==cE){i="#";const t=cE.keys(e).sort();for(;!uE(o=t.pop());)uE(e[o])||(i+=o+":"+mE(e[o])+",");pE.set(e,i)}}return i},gE=new WeakMap,vE={},CE={},yE="undefined",bE=typeof window!=yE,wE=typeof document!=yE,xE=(e,t)=>{const n=gE.get(e);return[()=>!uE(t)&&e.get(t)||vE,r=>{if(!uE(t)){const i=e.get(t);t in CE||(CE[t]=i),n[5](t,hE(i,r),i||vE)}},n[6],()=>!uE(t)&&t in CE?CE[t]:!uE(t)&&e.get(t)||vE]};let AE=!0;const[EE,_E]=bE&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[sE,sE],TE={isOnline:()=>AE,isVisible:()=>{const e=wE&&document.visibilityState;return uE(e)||"hidden"!==e}},SE={initFocus:e=>(wE&&document.addEventListener("visibilitychange",e),EE("focus",e),()=>{wE&&document.removeEventListener("visibilitychange",e),_E("focus",e)}),initReconnect:e=>{const t=()=>{AE=!0,e()},n=()=>{AE=!1};return EE("online",t),EE("offline",n),()=>{_E("online",t),_E("offline",n)}}},kE=!i.useId,PE=!bE||"Deno"in window,DE=e=>bE&&typeof window.requestAnimationFrame!=yE?window.requestAnimationFrame(e):setTimeout(e,1),NE=PE?i.useEffect:i.useLayoutEffect,FE="undefined"!==typeof navigator&&navigator.connection,IE=!PE&&FE&&(["slow-2g","2g"].includes(FE.effectiveType)||FE.saveData),RE=e=>{if(dE(e))try{e=e()}catch(n){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?mE(e):"",t]};let ME=0;const OE=()=>++ME;var jE=3,LE=0,BE=2,UE=1;async function VE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[r,i,o,a]=t,s=hE({populateCache:!0,throwOnError:!0},"boolean"===typeof a?{revalidate:a}:a||{});let l=s.populateCache;const c=s.rollbackOnError;let u=s.optimisticData;const d=s.throwOnError;if(dE(i)){const e=i,t=[],n=r.keys();for(const i of n)!/^\$(inf|sub)\$/.test(i)&&e(r.get(i)._k)&&t.push(i);return Promise.all(t.map(h))}return h(i);async function h(e){const[n]=RE(e);if(!n)return;const[i,a]=xE(r,n),[h,p,f,m]=gE.get(r),g=()=>{const t=h[n];return(dE(s.revalidate)?s.revalidate(i().data,e):!1!==s.revalidate)&&(delete f[n],delete m[n],t&&t[0])?t[0](2).then((()=>i().data)):i().data};if(t.length<3)return g();let v,C=o;const y=OE();p[n]=[y,0];const b=!uE(u),w=i(),x=w.data,A=w._c,E=uE(A)?x:A;if(b&&(u=dE(u)?u(E,x):u,a({data:u,_c:E})),dE(C))try{C=C(E)}catch(_){v=_}if(C&&(e=>dE(e.then))(C)){if(C=await C.catch((e=>{v=e})),y!==p[n][0]){if(v)throw v;return C}v&&b&&(e=>"function"===typeof c?c(e):!1!==c)(v)&&(l=!0,a({data:E,_c:lE}))}if(l&&!v)if(dE(l)){const e=l(C,E);a({data:e,error:lE,_c:lE})}else a({data:C,error:lE,_c:lE});if(p[n][1]=OE(),Promise.resolve(g()).then((()=>{a({_c:lE})})),!v)return C;if(d)throw v}}const HE=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},zE=(e,t)=>{if(!gE.has(e)){const n=hE(SE,t),r={},i=VE.bind(lE,e);let o=sE;const a={},s=(e,t)=>{const n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},l=(t,n,r)=>{e.set(t,n);const i=a[t];if(i)for(const e of i)e(n,r)},c=()=>{if(!gE.has(e)&&(gE.set(e,[r,{},{},{},i,l,s]),!PE)){const t=n.initFocus(setTimeout.bind(lE,HE.bind(lE,r,0))),i=n.initReconnect(setTimeout.bind(lE,HE.bind(lE,r,1)));o=()=>{t&&t(),i&&i(),gE.delete(e)}}};return c(),[e,i,c,o]}return[e,gE.get(e)[4]]},[ZE,WE]=zE(new Map),qE=hE({onLoadingSlow:sE,onSuccess:sE,onError:sE,onErrorRetry:(e,t,n,r,i)=>{const o=n.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!uE(o)&&a>o||setTimeout(r,s,i)},onDiscarded:sE,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:IE?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:IE?5e3:3e3,compare:(e,t)=>mE(e)==mE(t),isPaused:()=>!1,cache:ZE,mutate:WE,fallback:{}},TE),GE=(e,t)=>{const n=hE(e,t);if(t){const{use:r,fallback:i}=e,{use:o,fallback:a}=t;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=hE(i,a))}return n},YE=(0,i.createContext)({}),KE=bE&&window.__SWR_DEVTOOLS_USE__,QE=KE?window.__SWR_DEVTOOLS_USE__:[],XE=e=>dE(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],JE=QE.concat((e=>(t,n,r)=>e(t,n&&function(){const[e]=RE(t),[,,,r]=gE.get(ZE);if(e.startsWith("$inf$"))return n(...arguments);const i=r[e];return uE(i)?n(...arguments):(delete r[e],i)},r)));KE&&(window.__SWR_DEVTOOLS_REACT__=i);const $E=i.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),e_={dedupe:!0},t_=(cE.defineProperty((e=>{const{value:t}=e,n=(0,i.useContext)(YE),r=dE(t),o=(0,i.useMemo)((()=>r?t(n):t),[r,n,t]),a=(0,i.useMemo)((()=>r?o:GE(n,o)),[r,n,o]),s=o&&o.provider,l=(0,i.useRef)(lE);s&&!l.current&&(l.current=zE(s(a.cache||ZE),o));const c=l.current;return c&&(a.cache=c[0],a.mutate=c[1]),NE((()=>{if(c)return c[2]&&c[2](),c[3]}),[]),(0,i.createElement)(YE.Provider,hE(e,{value:a}))}),"defaultValue",{value:qE}),n_=(e,t,n)=>{const{cache:r,compare:o,suspense:a,fallbackData:s,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:h,keepPreviousData:p}=n,[f,m,g,v]=gE.get(r),[C,y]=RE(e),b=(0,i.useRef)(!1),w=(0,i.useRef)(!1),x=(0,i.useRef)(C),A=(0,i.useRef)(t),E=(0,i.useRef)(n),_=()=>E.current,T=()=>_().isVisible()&&_().isOnline(),[S,k,P,D]=xE(r,C),N=(0,i.useRef)({}).current,F=uE(s)?n.fallback[C]:s,I=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!uE(e[r]))return!1;if(!o(H,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},R=(0,i.useMemo)((()=>{const e=!!C&&!!t&&(uE(l)?!_().isPaused()&&!a&&(!!uE(c)||c):l),n=t=>{const n=hE(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=S(),i=D(),o=n(r),s=r===i?o:n(i);let u=o;return[()=>{const e=n(S());return I(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>s]}),[r,C]),M=(0,aE.useSyncExternalStore)((0,i.useCallback)((e=>P(C,((t,n)=>{I(n,t)||e()}))),[r,C]),R[0],R[1]),O=!b.current,j=f[C]&&f[C].length>0,L=M.data,B=uE(L)?F:L,U=M.error,V=(0,i.useRef)(B),H=p?uE(L)?V.current:L:B,z=!(j&&!uE(U))&&(O&&!uE(l)?l:!_().isPaused()&&(a?!uE(B)&&c:uE(B)||c)),Z=!!(C&&t&&O&&z),W=uE(M.isValidating)?Z:M.isValidating,q=uE(M.isLoading)?Z:M.isLoading,G=(0,i.useCallback)((async e=>{const t=A.current;if(!C||!t||w.current||_().isPaused())return!1;let r,i,a=!0;const s=e||{},l=!g[C]||!s.dedupe,c=()=>kE?!w.current&&C===x.current&&b.current:C===x.current,u={isValidating:!1,isLoading:!1},d=()=>{k(u)},h=()=>{const e=g[C];e&&e[1]===i&&delete g[C]},p={isValidating:!0};uE(S().data)&&(p.isLoading=!0);try{if(l&&(k(p),n.loadingTimeout&&uE(S().data)&&setTimeout((()=>{a&&c()&&_().onLoadingSlow(C,n)}),n.loadingTimeout),g[C]=[t(y),OE()]),[r,i]=g[C],r=await r,l&&setTimeout(h,n.dedupingInterval),!g[C]||g[C][1]!==i)return l&&c()&&_().onDiscarded(C),!1;u.error=lE;const e=m[C];if(!uE(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return d(),l&&c()&&_().onDiscarded(C),!1;const s=S().data;u.data=o(s,r)?s:r,l&&c()&&_().onSuccess(r,C,n)}catch(v){h();const e=_(),{shouldRetryOnError:t}=e;e.isPaused()||(u.error=v,l&&c()&&(e.onError(v,C,e),(!0===t||dE(t)&&t(v))&&(_().revalidateOnFocus&&_().revalidateOnReconnect&&!T()||e.onErrorRetry(v,C,e,(e=>{const t=f[C];t&&t[0]&&t[0](jE,e)}),{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return a=!1,d(),!0}),[C,r]),Y=(0,i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return VE(r,x.current,...t)}),[]);if(NE((()=>{A.current=t,E.current=n,uE(L)||(V.current=L)})),NE((()=>{if(!C)return;const e=G.bind(lE,e_);let t=0;const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(C,f,(function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n==LE){const n=Date.now();_().revalidateOnFocus&&n>t&&T()&&(t=n+_().focusThrottleInterval,e())}else if(n==UE)_().revalidateOnReconnect&&T()&&e();else{if(n==BE)return G();if(n==jE)return G(r)}}));return w.current=!1,x.current=C,b.current=!0,k({_k:y}),z&&(uE(B)||PE?e():DE(e)),()=>{w.current=!0,n()}}),[C]),NE((()=>{let e;function t(){const t=dE(u)?u(S().data):u;t&&-1!==e&&(e=setTimeout(n,t))}function n(){S().error||!d&&!_().isVisible()||!h&&!_().isOnline()?t():G(e_).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[u,d,h,C]),(0,i.useDebugValue)(H),a&&uE(B)&&C){if(!kE&&PE)throw new Error("Fallback data is required when using suspense in SSR.");A.current=t,E.current=n,w.current=!1;const e=v[C];if(!uE(e)){const t=Y(e);$E(t)}if(!uE(U))throw U;{const e=G(e_);uE(H)||(e.status="fulfilled",e.value=!0),$E(e)}}return{mutate:Y,get data(){return N.data=!0,H},get error(){return N.error=!0,U},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,q}}},function(){const e=hE(qE,(0,i.useContext)(YE));for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[o,a,s]=XE(n),l=GE(e,s);let c=n_;const{use:u}=l,d=(u||[]).concat(JE);for(let i=d.length;i--;)c=d[i](c);return c(o,a||l.fetcher||null,l)});var n_;class r_ extends Error{constructor(e){let{message:t,status:n,data:r}=e;super(t),this.name="TwitterApiError",this.status=n,this.data=r}}const i_=t_.default||t_;async function o_(e){let[t,n]=e;const r=await fetch(t,n),i=await r.json();if(r.ok)return i.data||null;throw new r_({message:'Failed to fetch tweet at "'.concat(t,'" with "').concat(r.status,'".'),data:i,status:r.status})}const a_=e=>{let{id:t,apiUrl:n,fallback:r=(0,a.jsx)(mx,{}),components:i,fetchOptions:o,onError:s}=e;const{data:l,error:c,isLoading:u}=((e,t,n)=>{const{isLoading:r,data:i,error:o}=i_((()=>t||e?[t||e&&"".concat("https://react-tweet.vercel.app","/api/tweet/").concat(e),n]:null),o_,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:Boolean(r||void 0===i&&!o),data:i,error:o}})(t,n,o);if(u)return r;if(c||!l){const e=(null==i?void 0:i.TweetNotFound)||vx;return(0,a.jsx)(e,{error:s?s(c):c})}return(0,a.jsx)(oE,{tweet:l,components:i})};var s_=n(62215);const l_=e=>{let{tweetIds:t,isLoading:n,className:r}=e;return(0,a.jsxs)("div",{className:"py-[40px] md:py-[80px] lg:py-[116px]",style:{background:"rgba(255, 255, 255, 0.04)"},children:[(0,a.jsx)("h4",{className:"container mx-auto md:px-[113px] lg:px-[178px] text-[18px] lg:text-[32px] md:text-[24px] font-montserrat text-white font-extrabold leading-normal",children:"Trusted and Loved by Many"}),(0,a.jsx)(s_.A,{className:(0,o.cn)("relative overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)]",r),children:(0,a.jsx)("ul",{className:(0,o.cn)("flex flex-row shrink-0 lg:gap-x-[28px] flex-nowrap gap-x-[24px] mt-[20px] md:mt-[40px] items-center md:items-start"),children:t.map((e=>(0,a.jsx)("div",{"data-theme":"dark",className:"px-[15px] md:py-[10px] rounded-[7px]",style:{border:"0.861px solid #343A40)"},children:(0,a.jsx)(a_,{id:e})},e)))})})]})};var c_,u_,d_=n(83906);function h_(){return h_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h_.apply(null,arguments)}function p_(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",h_({width:225,height:77,viewBox:"0 0 249 77",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,i.createElement("mask",{id:"mask0_35709_544",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:249,height:77},c_||(c_=i.createElement("path",{d:"M248.527 0H0.526855V76.6175H248.527V0Z",fill:"white"}))),u_||(u_=i.createElement("g",{mask:"url(#mask0_35709_544)"},i.createElement("path",{d:"M19.1105 18.3768C20.768 12.6914 24.5086 9.44467 30.3325 8.63867H45.8015L43.3835 18.6868H32.6802C31.99 18.6868 31.3452 18.9286 30.7458 19.4122C30.1692 19.8958 29.8014 20.5055 29.6402 21.2433L27.776 28.0447H35.4062L33.0584 38.0928H25.3229L21.0759 55.2544H9.89111L19.1105 18.3768Z",fill:"white"}),i.createElement("path",{d:"M52.9128 8.63867H64.3084L55.4693 43.307C55.4011 43.8836 55.5375 44.4003 55.8826 44.8611C56.2505 45.322 56.7465 45.5514 57.3685 45.5514H63.583L61.1319 55.2544H53.3633C50.2096 55.2544 47.7007 54.0578 45.8365 51.6625C43.9724 49.2693 43.34 46.4835 43.9373 43.3049L52.9128 8.63867Z",fill:"white"}),i.createElement("path",{d:"M74.9084 52.4231C73.1827 51.1108 71.8807 49.3272 71.0065 47.0704C69.0494 42.1662 69.4648 36.6772 72.2486 30.5991C75.9789 23.8308 82.0095 20.2988 90.3423 19.9992C92.3676 19.8834 94.4281 19.9082 96.5237 20.0674C99.9295 20.367 102.509 21.202 104.259 22.5701C106.008 23.9403 107.332 25.7528 108.229 28.0096C110.186 32.9365 109.771 38.4256 106.987 44.4809C103.282 51.272 97.1333 54.839 88.5484 55.1842C86.7979 55.2999 84.8181 55.2648 82.6088 55.0808C79.2009 54.62 76.6361 53.7334 74.9084 52.421M97.9745 38.4028C98.6875 35.7782 98.7102 33.7756 98.0427 32.395C97.3752 31.0145 95.7301 30.2085 93.1054 29.977C89.6975 29.7249 86.8909 30.3118 84.6796 31.7378C82.9539 33.0729 81.8131 34.72 81.2613 36.6751C79.6721 41.9017 81.2965 44.7103 86.1304 45.1009C90.0901 45.1918 92.8987 44.6049 94.5562 43.3401C96.2819 42.0278 97.4227 40.3827 97.9745 38.4028Z",fill:"white"}),i.createElement("path",{d:"M113.65 43.3422L119.313 20.1377H130.638L124.976 43.3422C124.907 43.9188 125.044 44.4355 125.391 44.8964C125.736 45.3572 126.23 45.5866 126.875 45.5866H131.779C131.802 44.8261 131.905 44.08 132.089 43.3422L137.752 20.1377H149.077L143.414 43.3422C143.321 43.9188 143.46 44.4355 143.828 44.8964C144.173 45.3572 144.669 45.5866 145.314 45.5866H150.148L156.155 20.1377H167.687L159.193 55.2214H148.904V55.2566H141.168C136.747 55.2566 133.745 52.9894 132.155 48.4552L130.566 55.2235H126.699V55.2586H122.762C119.654 55.2586 117.191 54.062 115.372 51.6668C113.53 49.2963 112.954 46.5208 113.646 43.3443",fill:"white"}),i.createElement("path",{d:"M167.896 43.307L176.425 8.63867H187.612C185.725 16.0291 184.746 19.8503 184.677 20.1025H192.93L190.443 30.2891H182.226C181.627 32.7525 181.133 34.7944 180.743 36.4188C180.35 38.0411 179.994 39.5147 179.672 40.8394C179.35 42.1641 179.153 42.9867 179.085 43.307C179.017 43.8836 179.153 44.4003 179.5 44.8611C179.846 45.322 180.329 45.5514 180.951 45.5514H186.752L184.405 55.2544H176.878C173.792 55.2544 171.364 54.0578 169.593 51.6625C167.797 49.2693 167.233 46.4835 167.9 43.3049",fill:"white"}),i.createElement("path",{d:"M201.285 58.5362H207.225C207.847 58.5362 208.444 58.3068 209.02 57.8459C209.595 57.385 209.988 56.8663 210.194 56.2918L210.436 55.3246H202.322C199.214 55.3246 196.751 54.128 194.932 51.7327C193.113 49.3395 192.562 46.5536 193.275 43.3772L198.902 20.1375H210.263L204.635 43.3772C204.567 43.9538 204.693 44.4704 205.015 44.9313C205.36 45.3922 205.867 45.6216 206.534 45.6216H212.645L218.827 20.1375H218.895L218.93 20.0342H230.291L221.588 56.2918C220.714 59.4682 218.779 62.2541 215.787 64.6473C212.771 67.0405 209.709 68.2392 206.6 68.2392H198.832L201.283 58.5362H201.285Z",fill:"white"}),i.createElement("path",{d:"M239.434 51.024C239.434 54.4505 236.656 57.2281 233.23 57.2281C229.803 57.2281 227.025 54.4505 227.025 51.024C227.025 47.5974 229.803 44.8198 233.23 44.8198C236.656 44.8198 239.434 47.5974 239.434 51.024Z",fill:"#5BC096"}))))}const f_=i.forwardRef(p_);n.p;var m_=n(30339),g_=n(61824),v_=n(44808),C_=n(71276),y_=n(27404),b_=n(50305);var w_=n(55197),x_=n(52661),A_=n(58566),E_=n(53703),__=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(__||{}),T_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(T_||{}),S_=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(S_||{});function k_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,Sb.wl)(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let P_={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=k_(e),i=(0,A_.X)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),o=i?e.items.indexOf(i):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=k_(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=k_(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},D_=(0,i.createContext)(null);function N_(e){let t=(0,i.useContext)(D_);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Menu /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,N_),t}return t}function F_(e,t){return(0,kb.Y)(t.type,P_,e,t)}D_.displayName="MenuContext";let I_=i.Fragment;let R_=Nb.O5.RenderStrategy|Nb.O5.Static;let M_=i.Fragment;let O_=(0,Nb.FX)((function(e,t){let{__demoMode:n=!1,...r}=e,o=(0,i.useReducer)(F_,{__demoMode:n,menuState:n?0:1,buttonRef:(0,i.createRef)(),itemsRef:(0,i.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:s,buttonRef:l},c]=o,u=(0,Ab.P)(t);(0,v_.j)([l,s],((e,t)=>{var n;c({type:1}),(0,Sb.Bm)(t,Sb.MZ.Loose)||(e.preventDefault(),null==(n=l.current)||n.focus())}),0===a);let d=(0,Cb._)((()=>{c({type:1})})),h=(0,i.useMemo)((()=>({open:0===a,close:d})),[a,d]),p={ref:u};return i.createElement(D_.Provider,{value:o},i.createElement(w_.El,{value:(0,kb.Y)(a,{0:w_.Uw.Open,1:w_.Uw.Closed})},(0,Nb.XX)({ourProps:p,theirProps:r,slot:h,defaultTag:I_,name:"Menu"})))})),j_=(0,Nb.FX)((function(e,t){var n;let r=(0,yb.B)(),{id:o="headlessui-menu-button-".concat(r),...a}=e,[s,l]=N_("Menu.Button"),c=(0,Ab.P)(s.buttonRef,t),u=(0,g_.L)(),d=(0,Cb._)((e=>{switch(e.key){case vb.D.Space:case vb.D.Enter:case vb.D.ArrowDown:e.preventDefault(),e.stopPropagation(),l({type:0}),u.nextFrame((()=>l({type:2,focus:A_.B.First})));break;case vb.D.ArrowUp:e.preventDefault(),e.stopPropagation(),l({type:0}),u.nextFrame((()=>l({type:2,focus:A_.B.Last})))}})),h=(0,Cb._)((e=>{if(e.key===vb.D.Space)e.preventDefault()})),p=(0,Cb._)((t=>{if((0,x_.l)(t.currentTarget))return t.preventDefault();e.disabled||(0===s.menuState?(l({type:1}),u.nextFrame((()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),l({type:0})))})),f=(0,i.useMemo)((()=>({open:0===s.menuState})),[s]),m={ref:c,id:o,type:(0,xb.c)(e,s.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=s.itemsRef.current)?void 0:n.id,"aria-expanded":0===s.menuState,onKeyDown:d,onKeyUp:h,onClick:p};return(0,Nb.XX)({ourProps:m,theirProps:a,slot:f,defaultTag:"button",name:"Menu.Button"})})),L_=(0,Nb.FX)((function(e,t){var n,r;let o=(0,yb.B)(),{id:a="headlessui-menu-items-".concat(o),...s}=e,[l,c]=N_("Menu.Items"),u=(0,Ab.P)(l.itemsRef,t),d=(0,C_.g)(l.itemsRef),h=(0,g_.L)(),p=(0,w_.O_)(),f=null!==p?(p&w_.Uw.Open)===w_.Uw.Open:0===l.menuState;(0,i.useEffect)((()=>{let e=l.itemsRef.current;e&&0===l.menuState&&e!==(null==d?void 0:d.activeElement)&&e.focus({preventScroll:!0})}),[l.menuState,l.itemsRef,d]),function(e){let{container:t,accept:n,walk:r,enabled:o=!0}=e,a=(0,i.useRef)(n),s=(0,i.useRef)(r);(0,i.useEffect)((()=>{a.current=n,s.current=r}),[n,r]),(0,bb.s)((()=>{if(!t||!o)return;let e=(0,Db.T)(t);if(!e)return;let n=a.current,r=s.current,i=Object.assign((e=>n(e)),{acceptNode:n}),l=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)r(l.currentNode)}),[t,o,a,s])}({container:l.itemsRef.current,enabled:0===l.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let m=(0,Cb._)((e=>{var t,n;switch(h.dispose(),e.key){case vb.D.Space:if(""!==l.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:3,value:e.key});case vb.D.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:1}),null!==l.activeItemIndex){let{dataRef:e}=l.items[l.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,Sb.Fh)(l.buttonRef.current);break;case vb.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:A_.B.Next});case vb.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:A_.B.Previous});case vb.D.Home:case vb.D.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:A_.B.First});case vb.D.End:case vb.D.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:A_.B.Last});case vb.D.Escape:e.preventDefault(),e.stopPropagation(),c({type:1}),(0,E_.e)().nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case vb.D.Tab:e.preventDefault(),e.stopPropagation(),c({type:1}),(0,E_.e)().nextFrame((()=>{(0,Sb.p9)(l.buttonRef.current,e.shiftKey?Sb.BD.Previous:Sb.BD.Next)}));break;default:1===e.key.length&&(c({type:3,value:e.key}),h.setTimeout((()=>c({type:4})),350))}})),g=(0,Cb._)((e=>{if(e.key===vb.D.Space)e.preventDefault()})),v=(0,i.useMemo)((()=>({open:0===l.menuState})),[l]),C={"aria-activedescendant":null===l.activeItemIndex||null==(n=l.items[l.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=l.buttonRef.current)?void 0:r.id,id:a,onKeyDown:m,onKeyUp:g,role:"menu",tabIndex:0,ref:u};return(0,Nb.XX)({ourProps:C,theirProps:s,slot:v,defaultTag:"div",features:R_,visible:f,name:"Menu.Items"})})),B_=(0,Nb.FX)((function(e,t){let n=(0,yb.B)(),{id:r="headlessui-menu-item-".concat(n),disabled:o=!1,...a}=e,[s,l]=N_("Menu.Item"),c=null!==s.activeItemIndex&&s.items[s.activeItemIndex].id===r,u=(0,i.useRef)(null),d=(0,Ab.P)(t,u);(0,bb.s)((()=>{if(s.__demoMode||0!==s.menuState||!c||0===s.activationTrigger)return;let e=(0,E_.e)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[s.__demoMode,u,c,s.menuState,s.activationTrigger,s.activeItemIndex]);let h=(0,y_.q)(u),p=(0,i.useRef)({disabled:o,domRef:u,get textValue(){return h()}});(0,bb.s)((()=>{p.current.disabled=o}),[p,o]),(0,bb.s)((()=>(l({type:5,id:r,dataRef:p}),()=>l({type:6,id:r}))),[p,r]);let f=(0,Cb._)((()=>{l({type:1})})),m=(0,Cb._)((e=>{if(o)return e.preventDefault();l({type:1}),(0,Sb.Fh)(s.buttonRef.current)})),g=(0,Cb._)((()=>{if(o)return l({type:2,focus:A_.B.Nothing});l({type:2,focus:A_.B.Specific,id:r})})),v=(0,b_.J)(),C=(0,Cb._)((e=>v.update(e))),y=(0,Cb._)((e=>{v.wasMoved(e)&&(o||c||l({type:2,focus:A_.B.Specific,id:r,trigger:0}))})),b=(0,Cb._)((e=>{v.wasMoved(e)&&(o||c&&l({type:2,focus:A_.B.Nothing}))})),w=(0,i.useMemo)((()=>({active:c,disabled:o,close:f})),[c,o,f]);return(0,Nb.XX)({ourProps:{id:r,ref:d,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,disabled:void 0,onClick:m,onFocus:g,onPointerEnter:C,onMouseEnter:C,onPointerMove:y,onMouseMove:y,onPointerLeave:b,onMouseLeave:b},theirProps:a,slot:w,defaultTag:M_,name:"Menu.Item"})})),U_=Object.assign(O_,{Button:j_,Items:L_,Item:B_});var V_;function H_(){return H_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H_.apply(null,arguments)}function z_(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",H_({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,V_||(V_=i.createElement("path",{d:"M6.66663 3.99996H3.99996C3.26358 3.99996 2.66663 4.59691 2.66663 5.33329V12C2.66663 12.7363 3.26358 13.3333 3.99996 13.3333H10.6666C11.403 13.3333 12 12.7363 12 12V9.33329M9.33329 2.66663H13.3333M13.3333 2.66663V6.66663M13.3333 2.66663L6.66663 9.33329",stroke:"#DEE2E6",strokeLinecap:"round",strokeLinejoin:"round"})))}const Z_=i.forwardRef(z_);n.p;var W_;function q_(){return q_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q_.apply(null,arguments)}function G_(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",q_({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,W_||(W_=i.createElement("g",{id:"Icon/Outline/external-link",opacity:.7},i.createElement("path",{id:"Icon",d:"M6.66669 3.99999H4.00002C3.26364 3.99999 2.66669 4.59694 2.66669 5.33332V12C2.66669 12.7364 3.26364 13.3333 4.00002 13.3333H10.6667C11.4031 13.3333 12 12.7364 12 12V9.33332M9.33335 2.66666H13.3334M13.3334 2.66666V6.66666M13.3334 2.66666L6.66669 9.33332",stroke:"#ADB5BD",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))))}const Y_=i.forwardRef(G_);n.p;var K_;function Q_(){return Q_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q_.apply(null,arguments)}function X_(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Q_({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,K_||(K_=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.70711 7.29289L10 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68342 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",fill:"#F8F9FA"})))}const J_=i.forwardRef(X_);n.p;var $_;function eT(){return eT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eT.apply(null,arguments)}function tT(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",eT({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,$_||($_=i.createElement("g",{id:"noun-wrench-888740 1"},i.createElement("path",{id:"Vector",d:"M18.2417 5.72914L16.5458 7.42497L14.9417 7.10414L14.6208 5.49997L16.3167 3.80414C15.4 3.57497 14.3917 3.80414 13.6583 4.49164C12.8333 5.31664 12.65 6.59997 13.1083 7.6083L7.60832 13.1083C6.59998 12.6041 5.31665 12.7875 4.49165 13.6583C3.75832 14.3916 3.52915 15.4 3.80415 16.3166L5.49998 14.6208L7.10415 14.9416L7.42498 16.5458L5.72915 18.2416C6.64582 18.4708 7.65415 18.2416 8.38748 17.5541C9.21248 16.7291 9.39582 15.4458 8.93748 14.4375L14.4375 8.93747C15.4458 9.44164 16.7292 9.2583 17.5542 8.38747C18.2417 7.65414 18.4708 6.6458 18.2417 5.72914Z",fill:"white"}))))}const nT=i.forwardRef(tT);n.p;var rT;function iT(){return iT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iT.apply(null,arguments)}function oT(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",iT({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,rT||(rT=i.createElement("g",{id:"noun-wrench-888740 1"},i.createElement("path",{id:"Vector",d:"M18.2417 5.72917L16.5458 7.425L14.9417 7.10417L14.6208 5.5L16.3167 3.80417C15.4 3.575 14.3917 3.80417 13.6583 4.49167C12.8333 5.31667 12.65 6.6 13.1083 7.60834L7.60832 13.1083C6.59998 12.6042 5.31665 12.7875 4.49165 13.6583C3.75832 14.3917 3.52915 15.4 3.80415 16.3167L5.49998 14.6208L7.10415 14.9417L7.42498 16.5458L5.72915 18.2417C6.64582 18.4708 7.65415 18.2417 8.38748 17.5542C9.21248 16.7292 9.39582 15.4458 8.93748 14.4375L14.4375 8.9375C15.4458 9.44167 16.7292 9.25834 17.5542 8.3875C18.2417 7.65417 18.4708 6.64584 18.2417 5.72917Z",fill:"white"}))))}const aT=i.forwardRef(oT);n.p;var sT,lT;function cT(){return cT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cT.apply(null,arguments)}function uT(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",cT({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,sT||(sT=i.createElement("rect",{id:"image 203",width:22,height:22,fill:"url(#pattern0_8307_5697)"})),lT||(lT=i.createElement("defs",null,i.createElement("pattern",{id:"pattern0_8307_5697",patternContentUnits:"objectBoundingBox",width:1,height:1},i.createElement("use",{xlinkHref:"#image0_8307_5697",transform:"scale(0.003125)"})),i.createElement("image",{id:"image0_8307_5697","data-name":"image.png",width:320,height:320,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAgAElEQVR4Ae2dB7huT1ndEwHRIKKCCoKggAVEjCIIKFZEo1FQFLugIIKAjRjBhl0E7CU27A2l2EtQURQ7sYAlil1jQcQWNaZM9m//37WfdebM/sq59577fees/TznvFP3nlnzzvqmz7/5N3mCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCBwtAq21f0viXWLWn/zc/2gzm4QHgSAQBBwBJzaRnkvCul3h/R0xB4EgEASOEoGe3Hq7MhXiExKRQSAIXAgEerLr7ZsyuU/YTe+JXxAIAkHguiDQk1hvX0tUH87ta3HiHgSCQBA4KAScuK7A/AqtNf6WiRPMB5XRJCYIBIEg0CPQk9aKXQS3qwwR9kDHHgSCwOEhsEJ4IjAI70b294qtNf5uUm4eTmGdJOWf1uDhFX1SFASCAAiIBIVGa+1mrbXXb63du7X2Lq21B7XWHtxae7/W2vu31t63tfaerbV3bq3dt7X2eq21m1Y32AkQ80yCendkEAgCQeCqIiCSkdzn5cRR+Grd3b619h6ttadMBPeC1tpLW2v/2lr7v+3k88/l98cTAX5ja+0DW2t3aa29SqXDiXD5hn3rlJv8IoNAEAgCOyMg4htJf4n83U3m1tpbttY+rbX2s621v2utQXD/u4jv/01+m/4gR/x/eyLAp7XW7tdae6XR93DjmyM/S8vSdd4UTuEjg0AQuMQIFEmou6mW1ykSGZFJa+1erbXHtda+v1p0/8tafCI9EZzsI0kYSPNvp67yb7XWvri1dv/qTt9IxUMaMCstku5fbsrHnC/5RwaBIBAEFgREIB1piPxEirIjGaujm/rmrbXHt9a+rbX2J9bCg8hGfyPSG7mpo/yyqSv9wsnypNba27bWbqlEW5pvPFo+MxhLnNOv+JFBIAgEgRkBIxMnOW89yYw/hMOExWOnlt8Ptdb+3IhPZDYiP9zkv4sUCSL/aZpM+ZHW2hNba28tIqy0MKM8ImnSqnTP/inuIBAEgsAqAitEKFJkKctrttYeOZHQc1trf1OE1pNdT27b/AmvMH3c3g4ZMqny6Nba3VtrtxilWRns/eQeGQSCQBA4gYDI4oTjDeNstPhuNY3tPaa19vxprI9u6b8Mxvh6spJ9G7nJX1LxJOWO/D/1XWaUXzKtJfyc1trd6JKTbuVBUnnBLnNkEAgCFwwBVXjJq5W91tobt9Y+vrX2fa21vyjygZhESiKpqy31/k2SyZK/LlJ+ao0R3sTzfrXx8HfHHASCwAEgoEreyz5p+OPWh5O7wrfWXnmazb1Ha+2jpoXM39Rae3G1+Oh+rhGdj9eNzGvxtrk7AfZh/TssuaFb/tmttXdg+YzlR1341VagMFGcyCAQBI4EAVXekstkwCj5XVhNEoggmNVljO8h02LkZ7TWWJx8rZ+e1Nwu8pPbLmkh7E9PhP2E1tpbMVlS2+00GXKKBA2T1TAjLOMWBILAASAwqMCrM54WVqRHWJa0vNrU0nuf1toP1ho8kQ1jbpDKeT8iPclt31c4SFNp/rUiQsYImcBRXk+QoGEiApzxM3dhdSLeARR9khAEggAIVGWl4urQgbnSjtBRxa54r9Fa+9BpB8cPTF3ev6qxPchGhII8hkfpVasRyQ4UyJCdJWyzu88GPJz8enMIcARc3ILAoSAgUltbD9ens7V2h2lS41GttW9vrdFSgix4RCQuy+tghadVBOhuJJx1hL/eWvvqSb53aw3in1t0HXY9+WEPAfYKFHsQOCQEvJJuMHP81BtMy0c+uLX2NdUyEqs5YfRmhTlk2afZ7Z5utuj94rR+8Iuqy38bO5Jrjfzkni7wISl90hIEHIGO+Lzl8qp1LBVHT33rtJD5fxQjOElsMzuJHKJ51/QTjod1jL/cWvuCiRDfbfpBeJ06n1Bk5zItQFe0mIPAtUBABNa/W+4u+zDYzZ+Fy/+ujqViVvdDWmvPqjE+FhCLLOguyixicLvcijMOWpBWxvt8gbbyR8L7fLmdrXzf0lr7gCJC8FtIz80j3OMWBILAFSKwVsncfWTms+ZOq0WTIMzqcgDpM3cgPieDkfmgmc/ITeN/Ltfyg7sewkOe7Cz5zulQh4dPhHinmh0/RYQqauEue2QQCAJnRECVSVKvkX2TtLCM8XGY6Ie31r65KjQtIs2GqkU0IoU1N5HEIcs+7SLA3l128oK5f3CjhfybrbXvqsMe3rSO4gLbU2TobiqHyCAQBPZEwCsSZkXv3Xs74arVx1q3h7XWnj515f57VWRaNSKDnvz6yu92Jwp3P1Sz0rsmle7eX+6S8hduf9Ba+47aEcN5h69eeEOEGmOVnMlR5RYZBILAnggUuZ2oUEZ4vTtdXRYw37Hu2PiK6Tj531FNLqkK7bILcmGs5NEf5dndMPfh3F9xXNJ6pmv8HDuBhuEFHcHVl8vGViLluadaJHgQuBwIGNmdak0YOb4CaNTODcb4GLz/y2rpecV187aK7yRw2c0j3HCjBc1aQpbQfEodEiHyk1zIrS9L2S+HJieXQeAMCKiSSI5e0Vq7de3ceHYdPa8urldcN192Qjtr/h1DmfUuzkHkgIgvb629PWOEKiuV3ZpUuMggEAR2RKDG+G5bkxscUsDYlCY3VDnXpCpt5O4IrGEpd72JlvfP1b0lXPF5W4p0jfxw37HIEywIHCcCrvyjHKgSSI7CyK2Oe79za+3DplNaGOOj1cGYlCpiLzXRIdn7q+JGriPQY7Zm9zdwgZOI8L1aa7djksTK8cS4oNwjg8CFQsDJz2YJTyh/F2ZtrI8lFxzjxIXhdLN+t9apqTKq27tGdArXS6+0MZ9GoMdrzX465g0u/Dj9Sm2zeyAtwvoRY4xwGSd0HbhQFSCZudwIuGKXwqP0OobJK4Cb525RxSUslw1xECknMLNljSUZVMSe9DaRH9WROJJekcs5YgUBx2rNvBJ1cSbey6fzCH+4tfYIypSa4SSomuI6I7fIIHC0CJRCi+CQXOxNiw6zu8uuWV3u3OCQAnYiMManrq6Ib60yyn2pfQMDYfLshoDwdKmYwlFS7i49Hma22fFjxg16t5di98Qnu/wjg8BRIiBFRpIBsy+EJyIs/9ea1u994FQ5vr5OZ3Hi04LcEQl6pYv56iMgItv3zcRTean1zjuYMPnxutaTk6rnS95LP6Qbp4ZEjrISJNFBwBEwElwUvMaHmDnkfLrfGLT41MVVZTprhdy3Aif82RBQ+ai8VH5y11s5dPZ7W2ufUHeX0PI/MU7suhNzEDgqBFyZ+4RPRy/dvK6XfEBr7Sun9Xy/bwuYveK4ua9AqkiRh4WAykmyJ0C5e6p/prX2cdNp3G9ZesEJPhomOUGK6FWvT7EHgYNDYESANQbICcQQH+v4XrplKYsIcFRpvALFfDgIqKyQa+SnMKQasx72bn9Za+3tWmtcTAX5QYSMHWv8OAR4cLX9AiXIiWvbr63C9tmXu2Z+8Z+6uJw4/NDpCPpvmGYE/7QWMKsiSKrChPhECccnVZabJLnCX4/CYmd3CUTINaSMCaM3agVChqwQ2EiCCt/rZenhxrijOHG7RAhIeUZSMGzyUxjJOoGZWV3G+H61tfaPpfWu9DL3UhUk8ngR6MvU7coVbjz64UP+z1rw/m3TMqhHTsdy3XVaV3iLuqt5lcRGujlyk35GBoEFgYGinJiVw5/Ag3DzL7RexHFJdufG17bWfql+2VFyrwAy36D++X8REVAZ99Lz2vvJThhWAzBGzJ5vxgk5jgsiXN1hYvop/XWp1uQqiUqPIy8hAqU8UhiNwWBfFGeD+ZWnuzbYssbqf7q67NyQMiPVxXU3zHkuLgJ9Wcve51juI0lYLnHigvrnTmsKP3I64ZtzHxlPZsJkGR8c6OZQly9h1U6Wd0HAFGhX0pOC0erjQvHvbq29zLozm9bwoex5Lj4CPamt5bgPJ7vCY9eP6AunH9dPmxZXv4VNmGz6kZ71WXUAPZc5MggsCBgBeuvvFBkqQi1b4EJxVvn/UWvtH6rb4uM5vVmKjcwTBEBAOuG6IrcRQvgxnswdx1ztyX7xW0kvkZ0uL+ToYWIOAicQ6JRGrTuXKBIzcVyWw+A0LT5OCuZYqr61J2WWIiNxk32k2HG7vAhIL6Q3u+gKYVhU/fNFhFz2/rpS6k6fZxKUX2QQOIWAKcypVl9disNlQ1yb+I119LyT2khxe6WWHZknCPQIuH705j5sb//rIsKnTRc6PaROq56XzfjC6lNKH4eLi4AR2k5jHhZerT4UiD/OduOaRA4pYAEzDzN0Tnoy94q7Zq/XRASBEwi4vqBTbsfcP70bPZE/rKVXnFT9qjVRwiTdTIgXt8YnZzMCHZHtNP7RxRHxoTzv3lr79upqoHyukCK9XnqYTeZemWMPAq4vIwJ0f8z9gxskyHg0R6mxhGa+7H2NHkz3d6ora++J+wEgYIWpVtxSqOZ3qkVYfiwp4JY1Fp5yHh/Kw1FGUrRe+aSgZyHAXnFjDwIg4Dom/XI3N/eIuR9m4rOomt1HLKH5JJbQeDUtvVddkTxVPzxOzAeMgJNcjX1QqKdIcJSF1hoXYNPVZQU+5/GhRDy9Yo3s25TV49RrI4LAKQRcT7aZT0XuHBQf3WQtIeOEz5vCPGk6lut+2lli9eREXaGOUHdUV1SPZI88MARUQH2BkkwVpMIo6TUuwgJmTu1lcoPxE3+kRPtIxR/FkV9kEFhDoNcbhXN3uW2SHt7NrFr46dbap7fW3rEWVXNo7ykCVN1RvVE9Uv2JPBAEvIBUkH3SBmFYTf/+deH135cmuaK4mV9R/3O/3rxJKeMXBM4bgV4/1VthIu8XpsTQIrxPDf8wDDS3+lRfqEe9ua9bsR8AAn3BeaF58mo/JS2+51fXAAXxdXyuME56vdnDufm8FTzfCwLbEJB+SoexY9bzZzXZxwG9N6e+qP6UzPigk8ghmrsC83E/ZnU5Y42j5z+mtfZf63hyFMAVozdLWSSdJD2u4klKqSKDwKEgIN2UlE5jx0xr8J9qRxPnEs6TJTactNSnQ6z7SdP4F4tCo0nP5nGI71vqkAKUUoogBRChScpfitJL+Y/koSh90hEEhMCanro7JMjzF1ODgQXVb9y3/rCHbA4EAbX4lBwvnLqJ7Y0mwvug6e4NjqXioEkKm6cnOVeCTeZd49VnIoLAwSDgej3SYxLqYTic9VO1eNqIMAQowrlWUsTmhNZ/y8OYma4uK95fs7X2fnX0fD+r2xe0Fzrm0dOH2WQfxY9bELjeCKzprKdLYdQS5OKmW1v9mrvBfV2M/Soi0IONnddL6lMWbh6crTDM6rLqnYJjAbM/FC6PCnkkK0hEELhwCOyq74RjmQzjgT837S9+V62q6Oug6mLkVULASG0hPXcbmYv47tBa+9jaucH2Hz2jQsctTxC4bAj0dcHz3/tpvPsXJxJ8lxDfVSK4ba/pCO7EokyfjSrSo7t7x+m4+Y+uru6vVYlSmCpAFWxvxz1PELhMCKguuCT/blc9QeLO9rm7V31L93cbgV2Jf0d+y5T7wJ3lLOzVZR2ftqxRkBQay1R8qYrMFKYKVwV+mZQ/eQ0C0nuRm+wuvY7QBeawVY7dpz7O95BgvpJ6nrgbEBiQ3fKrU5MbXBMI8f1AXTRE4f2rEZ8IUFIFKumFnSoRBC4LAq73o7qAv9yZAMH849OJ0xywSk+LvyyE3sBdO3lt+/XQL02t3WNvolqCt68xvh+twVkKCeJTwUF4MuOnlp8KFelKcFkUP/m8nAi4ru9j/ueaAGESkWP2af1BfCHAnRjOAonsjMREZsMmtIXT2B8LmLn0hesAOXqedXw0y0V8KliR3C6tPsW5nNUiub4MCEjHXZJv2VVfZEfixmkxHJBAD+tN6gT0GxcBzl1g1Wmr5jGOEDAyE3AitSH5+TvqXl3G+B5dhxRwvSTE5wXWm/sWXu8v+2WoAMnj5UZAuu7SCdDdMbPg+Seqh3Wfri4ujZaQnyOzwWzkpzGDhfzWQKw4dHkhvocW8bGAedTa6wuwt6uwJd3/cleN5P4yIIC+9628vi4wTMTZgJwE8xmttXu21l5xQ7WO164IiOSK1ER+kksLsPzp5nKnLufxfch0JA9jfJxgK9KiWwsJ8qdxvr4wFVbuIyUnTJ4gcBkQcF1X3UBCihob55L1z9eBB9Ttqo9L/dy1vidch4AR36kWoAetcExuPLaOpaKbyyBs3+pT4elXTdILV+bLoODJYxBYQ0D1QJJwmHloWEB8HIJKg4Mto1z/kHE+J6YrNa8QICDfRO+ezh17w+l2tcfUzg0KBdITsSFVgJLuJ7P8VMBVzhFB4NIi4HXC68WLpzr1aa21t6rTn5nV9fE9NVZmN9XTyD0RMFAB1NcPAewrGvF9ff0aoakUFKSm5rkKUX6yj4jRC/nSan0yHgQMAdUJboV7wXQq0pNbaw9srd2e6lx1VMtaRILLEBX+e1b7BBcCHQECLhMbHFBwp1pU+dTpXL6XV2HtSmwKtyat7GMMAhcWAdf/TZn8y+mah9+eCI9GBle63rLqobq7apjQK8NNJDhL1eXILQjol6IHsNYNAe7NpsuZ2blBIXxzzTpRcN6Sw07Bqlvb+40KmvB5gsBlQkB1xOVa/lkzy1FwbBmF1DTGp27uSIb8tvDdKe8V4hPgt6tZXS4U1+ksI5IT4cmPAg7Bral23C86AiPdV50YDRHhxuQGS8aeUb2smcy6+rlKegp3qoLHYR0BgVYScDWo+qqttQe31r6mjp4XwakQkT3ZuZ+bUXbseYLAZUDAdb83qx45CeLGhecQH6eevzaXGXV1c0SGQ7f12h6fEwgY6TmQrOV7h1pb9N+MuLwgVYjutma+DAqfPAYBR2BUF9RYQEJ+hGERM9tC6V09vrX2pnZQQT+54XX0lPlExY5lNwT6vYE1yPrhrbWfXCE+FawXptzWpCtGzEHgMiDQ1wXlWe7s1WU4iRsNP1mLmK1Bom7uKaJbaxXuVuMTakHAgARsgH616fSIJ1TBqKBcqtXn5Cezh+vNKvzIIHDZEOjrAnbIj21rrKJ4s5rYYHKDOujEp3q5EwkuFTuG3RGwFiBH5XB13svscnEVnkiOZrv/yV1S4Xt52ZQ++Q0CPQKqE5x0zolIXPswmtEV2e1FfmrM7F7zE3JGoCY82ML2BTUI2+/iEOGJ5GR3KT8Vci97ZYg9CBwLAq7L29KssH24f6wTWv7TtD/+PrZ7Q2v4zkR2Ij2XobUVBAQS3p2Zhc0MvnLrGgUoMpN0ouvNCuNSStDLXiliDwKHjkCvw7Ir3bL3Uv7IH5sWKH9ea+0BRXzq5mqCw7u8av2dWa5U/8vrLLJbGVvg9Jb3ba1xWxSFyIN0QoP03L7N3CuD7PX6iCBwNAhId6XzskvKHYkbkh7U37bWfrW19uWttfvbsjInPTfPLcCepazu7kSIffzYrbVnBDj/4gDO1Cx/29bad1ShoZUqRBXsWclP8SWlMEej+UnopUdAOut1oneTHT1XOBYxf0Vr7R5GYKfIrvyGxCfisvghQIGyrzQQZ7CLCCkQtrZp0kPkp0KU9IIVmcnN40gRXPbh8csTBI4JAekzDQFmbtUgwF36Lb3+namL+6XT1ZNvXUdTUcdEfJIniGxbXba6S7y54WLyxLsUdts7L6V/geMAAh4XJL/QtFGFKimi6+3ubtEXo4d3JcE9TxA4NgTQW+m0zJLkhbV8X91ae8/W2q2LoHrCOkFW+5KQyG2b3Pe9lyp8Bx6/SP+l9h1SiCpgEZaTXO/nhe9mV+xRHPePOQgcEwLSc9ULWoOM8XFCy8PqdCSt4ztBdl7vzkI4Hr/M3pCRWYQ7f/ss37kUcQpAyI9both+w+NkJTPS/dzd/RjvYF3Ti1prv1mbuNnMrbgetpxPCcIo3CnPOASBa4CAdG5XvVN4iI/9utxjzW6p17FurpPRKRI8K8F0BKhv9HL53lm/c6HjdSCyz5eLU/5lC/mhdxS8WoVSAtw57v6Hpub/I1trr18btzmW+wNaa09vrXFirYhwTX/1Pv2qYvdH/r27h4k5COyLAPo00um197j+sXvjUbacZT5stOrXK0Ai6gKLUFT3ZN9HKm6RLCs2OO+PMzk5/l5/uHE4Mf5zGvb5xqUJa2C+0TReoQMOpAwuVeBI/bnC8CvIYO9dCnh+jfQLdIvWGifIcG4givIza1rVkauToL7Zyw2vilcQ2AkBdEq6LCk92/QCfuw5k48W36zvThym/6e6oJv8/B29uS4Xe8vaJ8wmhe+axu1/rnpuv1enMzHxQg/sB6tO0h1/46qX9PQgxxv1775U9q4A+JV41yppCp6nJ59yXsjPlYaW3xdzCQsg1i8TQPMnEkTyHfYVs8/xY+uCZlbD8+h7roAjs8LtoqD16oggsCAgvXEpPXMp/yViGdD1Z9ddN2/RWuPHfTle3s2bCKWrF15HlndVXcKP46/uNc02f0pr7Xtaa788XSv7B7WukIZH/5B28kJvi5OjX1LH5n9T7el/UN8qHKVnU/qP2m+Q2deajrD/mA7FNQUgmPyQFMDPt9bewgpMBeqtQHejac5JtqyJ+swqHBaJ6t1SRBUkdjfLjlueILAPAuiM/qRn0qfeLv1Cop/Pm240/MTph/udqtW3XAC2DyFU/fPxurluDOoPjYV7T2T2qa21H2+t/VENMyn9LoWBp1n5wg8zhMjlZM8vMp2X5tR3VVcllzTtk7ejCDsogLtPm7C/QQiWFJCd82IV+Fy8/MRB4Z0A0r4pIpSEDFkVzxghTXcueWFdld4vKeXE7uYlQTEEgR0QcH2SWTrV29EziI8W1+fUxeIaczvRUvOKj667vTdbXaCO0EtSXZll1aU3qKtkf7bOBiRtPEojaZNZcs3/hpg3/PewPzK1JB/aWnu96p2pTio9G/PR5+to7F0BkFl+0RjI5QGgXR+I6rkc1liFtgBX3xCgmyRxGMClK/E2dco0pMrTF7ITnxdkBY8IAlsRkN6MdEl+vIShGVYwcM0k4+MndPtKKntX/0SAej+TGG839ai+r+7X8fqIWemWVJrXpAPSh8Hvr6ahq2+tRojSIDnX2yvJ60HGNXJSRt+npvEBVSA5cGtmxkOeXOQnkpvfqYzbt+S//Kp0fsRjrIMBZS5Y+jq7YInvK10u19IV9yCwhoDrj5sVHuL7rall9lnTshYmG3T8vOqK5KLH0vV95IAEqR+3qhUUTGqwd5j0+SM7krrqO1BGeXE3mfU+tzOMxfrFR9RECWlZ8kla98nbUYS1AiCzzMxS8N71FFCbJDNNH0GG7X0AN4PnQJT/QoKdXXGQ/CLSzdDyGX6dGLfYl5w3pTt+x48AFfgsjyq+S3SL8bFfr+seOKHlNqXXrpta0jLrsev3vmbT/7mu1BKax06HkPxGZcrTp7wiRXwiv75e9PF6O+H9T+/ms79ScwEsiVO+lzq7bx6PInytG6KZL3AF2C7K9RwOTiCjRoAANhdqD4AV+gIqYQfx5Q8ZMn3/EdPMMd9iexGFt++jPHlh7/uOhD8cBLw8t5n7VCu8iIMfflo/XzWNQX+gXSzO2HRPAifsvX7va7f6QK/no4qASG9PUEqz5Mhf+VSYTXJTfDZCkBYmRpe6rLTum8eDD1/N7i8adDEF6Jqkif4ltbZPhLVVQQRkJ2fClBugyVwSIrxba+3jp/PTGBT+m7VErbj3yrASLM5HgEBfltvsa1mixffSWivHQv1X6/TOdfKEXqOTV6tit9Y4cf3DaryRtHIZkhPUqKVHnj0M5m044K9H8Udx6A6zHviBlbYTJHi18n0w76n9iuxd7MEQWGuSgmF6nl9KEeAst2WuD+92xXU3MzNZQtf4Q2oxNQW/y9PnDXue40RgVJbuNiKDPqcc8suifW44fN06AemEDqsXY7q3+EtH95W8S3HqvfywM87IDinqk8iO/JAPdxvlS2GQI3/HBbMevd+lhyUcB6L8B9Lr63mV/gshqxDevFaTOwCYtz2E4SjvM22zkWKtASn/TupXGcVh3/Ljigj51dz2KH+E2yV/294X/+uDgMoR2Vd6EcHIndRyr823ULFrqyZrUdElyE26tRBdp3uz+5q+jtw9Pv6yK2wN73D7G0u/2IKqdCsfIkTZPe/K/5pfH3Zk1/dGfrQE2WXCD8SCidJ+IWRl7L415d6DsKbeCkcX+DHXGggHv8xSVCSzZiwZgIh/qlsk6ulXmiXdL+bjQkBlOJLkBHcnBdxePq11+8bqOdy1ZnYhPnRIf0sld507q377O3oz75xWOdxu0tf/XOlVS8/zpDxIup/M8kPK7Uqk8NM7WAPJbLhIcP6xOCsmBxevCv8day2fMi25rVr8c2vt4eeVqV6J9ItdysSsFUtnvrBm8v6+a+UpT1IY2ZF5jgsBLzuZyYHMkrj9xekgDuYAACAASURBVLTb6PtZqN9ao6czd0FLl1aJ70p1utNVvnOCXEtnuXKCyRcaEiO9VD7WyE1x1vwVf1cpLfDwvJuTnbTLazna60oxuq7xrUAoHAiQZjgZdzAFSC8FEAT4sPPMSJdu0q5fcSk2BcS4DrtaKDjSyON5U7dC+UDmOR4EVG4iANk9B0xwvKAu9bqTdHSgP6eISWGvRNp3eP8JAuS9tej/KUZ8qneS5KnPn/LZu2PXxAkYEG70KP5Ievjen/d/ZC3TuRgtQCsgEeCP2gAsGXYQHBw3M2bBKRPXRInWFNC+R9pZLzgXirmTHoiQawYhQla685CnXnmUzwoScQQI9GWG3R/W8tG15ErXUyeeoCdFQgs5renaWd07XRwR4DvXQSDKi/Lg+ilzXx9ll7+/Q+9xPPY1+/v0LdYHvpvhtkzmnBWj6xrPCojCuV+NAepXZASsgyiAaElBgLxDhSx5TQGy9J8iX/ODBOka0yJkuQ7jGaRd4y0q3F2VRvneNbxjFvP+CAhvjyk3l/hTpiyPYiyYfe03VWXtK5rpx6w7vf+V2vv3Y1dayo+VDAzV/J3t8fX8yKx6KCl3yX3113HcZNb7XRKeH5UzHf5wpZhe9fhdIXEixPfWWIS6hw4uQPgjYESA6oY6EV5TAhQgyofsyIHCcfbZHercNo4DYlcJaVc+PG+Y5b5N9vFiPzsCjvWuZaCvqavLfnbu3lAPYP4xdt04D7N0UlLfLDu6yAJjzsNUXfO8yyzSQ24Kx/gh2/aeWTtYOKnmEyZgntRa+7Y6Bks47SqVBpekg7rDBNK51G3hdk2kCqckZ/NxBaZagALcSdDBEzD4s2IcAnQSXFpl1yTxO7y0yx/pIX3cdscJGyx6/doaIF/LF3nz/JNn7MJGGHj8mM+GgLAcSd6oshD+hGP3Bot1adlzXNSyFMvK/lx6I7062vdPtDDLnR7JB9dZfuRtlGfc+jzLrvDEZTPAN9f+XerwLdnVRXrq8GEmfT5uOqjkWbXNj3covuRaiclfkri/NE0wvrfnr8/7UdprrISLkESAAtsBc6AcFLbQMQ6n1t+idAB1vQHxwqo0ighZTP3Rdb4bJ8+w5qnPL/l0N8dF7o5LzGdDQPq0SYI3rR2Ij/3nLGnh9sJTY3xFAMuP8PXQQ+ldr/9FUpx/ySGlPNvyTL77ekkcFnKDwR0rvwz3eB2kpQkGuLGVlNYgek5c6S7mtUfpIix//PCTZmbTqe8nyL3P51HZa0bqcyujyqwyLiAcKLkRhrGM16xCuK5Ktwl0FZgpBYoBGbK+6dG1hpAZY/KmvCOVV7mrBeh+jk3M+yMgjIWppNx5IxNuHPfOjiXOjrzxpvI+VL9at8qyHIjc8yezS3BA33oCxJ3F3HeoeiddFgGqHmKfcarv0stjHFzLbvjW2qN08C2lg7BMKs6n4xwqxnunq87iY9xArSCv5GS+fxwcfoXu5h+FZNx+aOYBGXIOIfuMIcIfK6VTHqUkSCkDUv49NrHvj4CwHOGLLrI5n73qTGbRzTto/dqk7zQWWmu/3+kYiEnPZBYW5J8/6R+Sw1m5h0TDTmrpYde2VJHi3BIkTa21t69urN7t3+xLDT/9eXgOUGV2/WjL4FT5VDOZzdiMKXhmMW8D6SfoihTAR9EsHhAg6UZ5XntaD8muGGa7OPqcX0s94CA8pJCbsFG8yO0IeEXzCk+LjzMhGbN9wyojVfajrIDT2PNtV1p/jpJ0DX0DD9VJ6d/n1QEkavFJzvVvoN/4023lj6EuWoDbHpWJ0iI7E073OkUix+jQAcUuit/ufmmU6TWw8GexsZ8HeIwkqEolRWF7HefBPW1a+/SLRYSqmFJC8p7nyhCQfrmka8iaM05DpkUu4lNrhzJaKvoh1zul09NYk3C6dnZNh4SHE5/r3XvxTr3f5BoRzu4Vh0kRfli2PUqDS9KgU2KO8gdoKQtA60Bk0TDdPx7PNObRozAo7FPtur1ZQZcPHaDBFGYh696t7BxTxKb5r64fB8YIpZTK/wibuG1GQNghwRNc2bnBxeLcePZwBu5ddao8vCIvZefhDsVs+tSTErO1nKIuDEZIyU9SOodkTzPXRiw/Ap15+R5YmB9rD2kBcuIzXehtj77tkjg0krj4/fgJ0MABTH5pv2YbKuYvYCgUrghkel+/0gcPTpf3U5Wp/JlZw487Gt6t7k1gVwl5Z2AaeVkflb/krjgoPFJDCXTJOMiCJVWvt4nEarjmVHltinM9/EpvFjKydHP0FWPtwmETbgpDHQMrdI7ZXw7/kG7OWJg+883FzUhQaXlwHXPFu9cefdelwnIr3TU/AOWal5mDVGYIjObxJmAEQi9ZlsA4zVIo1zwDV+EDjkH/OvcrYidvLGB9j/qh4PY6VeAej4tu94rh5m35JiyVmYoM6XFQAcct0SrhaDNa3LRS5kq8qUx6v0Ozl/6IdCAkERP3CGu1wS54CTMRIC1AxqkXktvDTAOFczS56IlyWHu8TGVWWO4iftSh4b13enrQeEGdpqLmuTK8SQIODyevfIUV8sG3ACu/sxJtAq/DCQWCCJnJo0XIkgyO6Ec5L9OjSkG+qUiy9xjIXRJ/zJzJR6/h8XXZN2fygatIYlgulMWmsjokP9Mb8rT0jFprd7EtmT1evV24qQUI3rQeaWzQK5nxkHSdtu8vRFn+n171tf+W2/muylVS/jR2HnxIWJ8pLQJIoJVkD+Xv7tgKVOEgeRhX0CUyR6Oou4AnrEyKCFk688g6bomu8S6zawXXUQsv+95MxtxNFUjdNy7kZhaTbWuvIv0zbL3VNCTCXcrseoex/JAH5QnJLDBbMVVvNimCwiDBUX9MzmkB9Im6Vt/17+n7SFY5sJ1t29N/T+kgHpOCdMFPfPd6473391VARFRmalHwd1YXZRNIAOIgYWbJyIfaUoXjBmgLosKs8GP8lNaM7ioZjQ8Ks024HpOf8rNJUmHBgokyBs9ZgjFfoOXwShf7FqDcPeyxmJX2khCSiIgVBiwlAZtdHzAW+WHm1jiOpzq1C8a+4ySoFihDXFrpsenba2VKHO4AZ2fJsvXwWMrkRDqtgAQUBfSq1aLRKvU1kASQCgVJ05wjteZFknr/iY9eQAv5VLbqbpVPmroILyo81vC7KO7SA0n0QGbySIuYZVLsFmLwn4qIni2YGXaze/mLMIZhFeeQpfLZSfLFYQ1c88qs9y6P8PS6RjyI6J5sYhAO9i2+w753YcrODZZ10UvT+1z26XA/NxOOLXUMAZ0qQ6XjaGQBJGVDMgD9pnWCBBlfewSKCkUDtLQCGdBmyn1+79GAccaEmpJRucEPZWMogcXUnPhxkbvF6IF0wMmPMeGX1DpKdh+we2Oe3FiD2XBUpT1a8iOPnh/Pc7lzsyH7cnd9hLHwRjIZwjgqY9HzAQj9d+sH59VqzJCF/dRT1d1e9mnp/bHTMPocTXZ6vo7SXIXhBIjSMRPHXkW6Lv4IENxkltL7YPgPFAFcjHPDVkrWFbwb45l/GavSc9I29ymwsBeM9nnA+FAflT9SOoAZsievbFtjtvHOK/ANnTtMj4IAlWbPkNxcdv50X1nzuMsjjIWz1zXqKGOqT64rLDnpiC72baY7tFlvyKkzn21dbi+33rwtLYRnS+Lc9VbePF9HZ1YmvLVWblTaPzNERmDJTb9OkszwMdaw/Co5MPbNo1BwT7ub+3wM7PywMLPJoPd71rFNLJ0BJz1gOHqEbS8Vdi2e/K+l7NOEnYpIV5clLVxgvxCf65bjdxHMfZkrT+aODiw9oWn5FJefM/nz9B1mYr0MhbnqmOxIHvD/ydqQwOlM/H2ZHblFGOIqHnbMvdv8spV/fIN9wOzHnusuUnk+SukZ8czUSnP2+ApgASfpGAlIFQ6SsQYq/dwK7L9TdrU8jxLEPk9SgN5dFaB2ynCKCad4sHSG1tKoVSiM16Swx/9Kn/4bm97nYUk327lYz8bfd09HVL1Xjf9e8eA4GArPY5Er5a7JB4YA2FHEsim1/PYtP+HvpLXPOxR/k1wrf+Lw3c+vH/SLQYAoV19w5UbBsVSBgdpdABNAIkF+LTh65441HrgAVt9byA+COBYl93Q6bu4us/mrFUBrkD/Wb71rtZZoLYOdP4638HQ3mT3OWc1610jyzpE7ZauHFh8/dPOViZ53mS+ytDLu9Vt2ypsWH0dI6RRylSkSfPd9+jLZN77C9+8ZpcXD8KP9QTWWO+fvQpRtX4jKVDV1ma5H4QXEpsIjjPszEE4Feb2q+Po1FCG4PLpffOE0kh2mp/JZePDj8JA60ZfKoafH2nGVn6TinEXqHZQZrVG1SFUx5e+S73Bi0LfXonmuGVC5qtJfnMoxKlxzs3I+UcbV6mfW+0vr8FbqgsbuvI4I233KT3GQV/L4e9zs75Q7bnTbGVekvC9WGStDkpRxddk+uWsFUngUJJVFFUWAAZbcJOkmMRZxp1IKfhFdWTAD5ixNt47aaHka5dWJgrPbwOahRYTMnOoHBwz9z5UR85U+ep++Maqg8uNb7EFlCQQLv+eDCoz8VI4X6odsFyWssoYU+GNHy1u11tht8ePdsVeqH8JU+F+NsjyrLnga3Kz3yY2ypyWrU6YvVjmL+CRV8LVNiU3qAoLCWyNAQCMcYZCEozLz68dMFFuA9OvhxCBCuDAkKByN7JVHkb3nH0wgQi2m5n5mJhTAT7j3Ugp6JVLvVIWUVLlhp/xonVKZmWm8i+mG5+mUWeEuqrQyJu+UIUufWN7CWliWi/A4xjIjhbXcKvh1E0rHSP5Da+0r607gi/tD1xXozPB1VP7HVCtQhYakkvCHeQSa3CXZX/zlOjm6+9YC6kVqCXZ5XAgCQig/J8HFv1qEXO3407VnFnx5hHNZr1jofZSR/nDDzKJ2Jjd+YZrseALkXOmmovPn6d1ovuAEyJKx16/lJj9YE0PC0OuI8JUU9shDePr0uJ3dTRzgsJT7hSxTKbUqaEm6rCyM5nBKHeFDIfaF64DJrMJG0pIgPhupqdy30Hc6MlitTMcEurDcIE+RvsIWLiymZk0XLQqIkHG30QPWa4/KYRTG/XozP1YsmuVaxTeq1ulquSjda/IQy22U1n3SWfE5vYZzC2nx6QARdB08vY6orqjBoHoh3FV+skviLrNLhd9VelzMa4+HUz7Ycve40smL1e0dFTgF65mtgmYKn/sHNFAPUCpEL1QHUGaFQ0KCKArvYb8xhyqyaNMrlxODuw/NozwcgluXp1OK0/vLXtjPGJSZu0oYOqAVzmG1HLigRxhLyh0pt30k3TYW1XI3DAP4bHdi94bGbYdloLRvkterTJQmfV/2kqd0TeHWZMWjxcdiYHZhcJwXKyUYE++xRufXyE/1oo+zZld45FqYfcrfw0pfJPV+vvWp6vquYXLh3CnkPlO1q4GN7Gy/EVAUOqTmhaMCUhiBKYlCEI9xBU6d4b4HVqvT2jmxcNqb3DaWhtKeUNw+rYdg7yraKTxJo8IovbKv4M8pHu9cS5OYmVeLUHgL3xtKZ72SEJ4yU4UlPNsXf67G+BjAh3Tp2i1dHqXJ0yjzKP2HVEZK5zapfPSycFBXl8M+uASMyap+L6+Xgcx93VizK7ykwmGnzlBmSPn3UuW+qd4Rf9PDN/WwYJ8TZyB7fgSHOtxjdaHtNbtF5eOhAADMCwI7IKug+nA3xLwhDmFUCbmfALDZNkaLcN5HDJgd8dESUWtkaSVdaNA7oqwfov9Y46m/agcuUA7942Ujs8qI8T2I74V13D8b5ZnBhPT0I7P80PQYr1WInmT6eOdtH6WnczuRR89XheNwEP7Yz/yUOuTCiaLHXHbhLUmctT+F6aXKSu+EBDUMhRsrLPgTOSocknf18XHHDb+1h/ez3Y2VG4z7Ud8uH/n1maZioLzT7OTDquUmAL3QVMBOgB6uB9/DY+ZX5wtqFwpKN//ydBVSlXPpjp13pTrv71VFJN8zOVU58EPBpeCcKoLCgt/o8fKRGfJjLJa47E5gaQOKrhbfCYzPO79X63uF26InnV15RG4KAwkw+80JyjxgKD3GvPYIa5fSd0n3czMkxAJ5ygl3HqS+S/1yIqwgJ4TiyRE78fjb9HDa88fS7b1a5XCU73GlIAO1ewFFoSvAPl91hVUYSApo2+MF2Yfll4xxKG6d4sQJxqGknEOFPUpwd0j0Sr6FAZhghrD4oYAI+eGgNUel6R9h/nd178YTa3kTxCfSE87zr72+v0NSDzqI8jGQM/GR+M4PPPjhvesEIpNAHP4JptJvsBz9jTAfhdtGfvizp/cTayyWs/v4tt7l8ZUm/3YfjvBy83Ay8w4ewjD++76tNU6PuelBF+x5Ja6U4xX1vap4LNzlqCfW9+lRIQH4ro8KRlLx+HWje8YSDFbSs75KLdClokpxlbaLJJW3ldavyI/KqgrL6R/3mlrRHziBSMX92pq5ZycOwwvMvLPr5B41zMC6w5kE7FsLthcUyyV/Ha64gwV/6Npn1Mw7P/LopohG5CNSQV973ZUOS+LPg1R8xXGJ37NqspHdFqwCYCyW+2c4wZnJFoWHkL11WJ84IRQWybvJg/6w+8MyFyY7GP9lGES3x6Fbs45cJH3YKy+qHESqyqauEoOj3CAHWelhTE/KIrcrkbyb/YcsDKYC39MOebzQBSPcS6py0jKh1YZd5OdmKjL7jDlxhJljrk5EqSmr+eh5FX73/gs3xtPnTxXZ3Gf9wV66/ebVs4GEdE6fxtc2EZeIZqTn8pPkPTIjefihZ5E5BATxqX6JrClvFshzWx4/Zkwcivz0rnrVRkFY6qYeutg0MLjHh1Yfl33N432Gyaxj0plLK0tp1AKTRIHoJrAnFDD1API+BaN4a1JKQ9eY9VZsGWPG+ESF3rVwrAIcfKX3tJoZ3Gm9oawiP+ReB0rofbvidqjhyIenTfkqOePSkR9uIheGc9inzqQSLeZ+iVFPfGs6KnfpvUv83C4zvSdODf+q+mFXurxsZzflr9ZkPqpmoTlzkeVkrKagoaCGB+9XuhlS0gQJ9YfwjBcz4w/xMaPNUW1p6QnkkTSFGSkbi6Q56eIvpQUlKRAKhlYhBaJHhYNdhYUcPYonpSEM7+XAVU4gmS9gGqVZbqTdzZ4X91OYY5F9Po45L2fBXPknrue9yE7E561kdXNnfajZdH7An2FLivzHWzrncqSj7uZhR2b1kFjCxJFoD6yuLukUKS/pLDcRo+vxa9T4+KNrNQA7UBj//f2qh7yfliUtWbZUQrQccEzX/r2rpck7ThCsyqHc5zTJ7VJLL5weiGqJsEbtM02RpBQolH6BIDOUAjdXNLkrjsuREuFGHMZnfr025r8W6SKdkkqzp1duLt3/GM3K8zGm/UrSrHx7WZZZhIFUy0ZECLlg5igyCIgZT39G+ub+vXkUXm7oqHRbZsbx2AAACXFfh9Lq5HeCAHuMKo/kgeEQxupoxWq8kHu9ITY2LugPN8b1GBqhO0084vffdLuwW0i3T0fshYCBSSEwyM62LQq8f2gN+sJRKQfhUJrRI2XqpRSKd7Ig9YeKCNm5sBSeCpmkyuwyhXj8CHh5llnlL9JTZWfIgKsc6eq+uHYkjXQOtzV99PC9Trpd+qkfenpHnKLDFQG3KxJaIz8nop0IaAsGGlPc6Xv+ruPXjnPIQQHGuAUFBwk+qN1wcgTrzFAKKYMrz1nMrmD+Xsx0LWgNslOFLXtMAniBY3b7omTnAFE+cU4IlA5SzpCeyptW0lvX8VSMfbEVUz++0qmroY96l7+bLijdUyY4mH0XGUsflcZFH52AZL4S+PSOXeSVfOfSx0XhBEIdi/64Knx+/egG+4OS7PpIsdakCFbjK7QIGeu4b10CreUec/rWFEFpjzxOBKpcRX60euhi3rnuJ2EVATqIDklfJHE7y+P6SHzZMTPhANlyoroOEEUPRcwiPhHhKgGOSmNNh8/iPnp/3M6IQI0xLAsop5YgU+vMNHE1JLNVdAn82UUJpVguFQ/JO2UnjMx/MrVIWRx8z1osrF/fRdnOmM1EO0AEjAApX8a9OKWF9W38MOrHUbqB5JG+IPd9XB8Vn+8wy8q6SyYHSQtkLJ0T4bnET4SocIvcBWp7/xJvm9su702YMyDAr5xHq1Xl3BfB9D3jg1rDxPidJkikQL0Soqi9omF3Re4J0MPjx8yYiPDGpK1XDk9vzMeLQI2vsV6OHQ0sM0G/ICXXl5FZOiP9w77v80fTwmWuAr13TUyMyAii44fYW4Kr5IeeHm9pXPKUe+HVoC+r2jlbjmOE6JKICCEp/kZKNyLAkQIrnKQUGokbky9saeKXmYHw+SxCisjJcJ8iU7x94pxH2ENN17XMew25fFjtpGDhPI/KXvrV6wZ2/bm+yFyvWd4ld0k86OrS4oP42FPND73vmupXJXjLz80jslx1A0uvX9cS27z7KiNQ3RMNSj+3FlFLSVEufzYprZS3l1JQl7yTcIxHMmPMPSd0jW+m7Ik4eil/yd7/kBTxkNMm/EZS6R75bXOrlQf8sLFnVo/K3nVDbi7l724y4zcy48ZECt9ji9ojpitB32SUTuVrIHcmv9F7R26Db8wEOgobt3NAgAJZ+0x1AdhwzUkbHLvDqbO00qRwklLQs0i9Q5UCKTcuePnhIkJ2lbA2irEaV0yZF0VaU7JNeV3D4Gq4d+lRel2ulsHV+P7VeEeXhxPp7f2Ec61rY/cGB2ZwJJjKVpJydp1RuSM9jLvLrHj6UXY7wzb8iLIjiUm+5X6UXbFYy9Ou8RPuAiFgysBMGRcu86uKkjFuo1k7KSZSyoiUXf7uJ3/5ld6fUH7CsEyBgXK65RwmAHlooSjm1W6I+12PIrHvO+G5eSFupc/inMiX/K+HHKVpLR21BZCDODixmmVPo0dlLv1wXfDwHk5m1yHFhwhxRy9/ua4o4EfzFL5r6e7dFVey93e7wrjEH7uHi/kIEVAhFvGwWv3fT2Z2lKDcu2xEl8JKgSXX3OVPRcDMg2JzTNRPTL/ubC1ibyTKDZn4YPWZFf5qF41XhkqniM8H2E+l1+Ip/BzG3E/Fudpp79+3y7crDIc7sJ6OLV/ohspyH1lFPhS8R3rTT87RyuQwDsawWVeo3sI1x2sXfHpMYz8SBKry3kTJtW113D/K6buspUIp91FyhR3F6zVfSs+vPJWKGeNnTi3Dx9YJHCg4ZKFW4fKr64qp9J+ntO+LqJ38cDtVOctN5OdyCat4kueZp/5bhf3dph7BJ9UPFJv5nZxU1rvIvuyxj+KhC7gzSQfZPnU6Q/EdWndaivBB9umOPQjsjEApEgSzECGRaxEzeyY5tYKTL2ip9Uo7IrmRUuPWPwqnX323s4uFcwg/gAHuagnOJGGKf4JAds7wVQxoaenThn0hQQt3Is3mfiK+koi/zOcpq5XF2YYMTbBnVzO7KiuNz6l7qrLrZV/mvd3DS5d4JzO7jE2ztZM1hcJtiNN5YpNvXWAEqkJqQmKufEWEENHTbYwQRXbl3cXsyu/hcVfFwl0VAXfOXmN73bvZrhI2lNMFOtE9vp7FYkRGRfWW4IkK24Wb/UbptnDnSoC1YZ8xvgfXZVngz0OrT2WEFAGqrLw8Me/zKDySFiYnDbGkhkX8wnMNx1UMR7jGLQgMEagKN//KKkC5QTbaZ8ysMafjfsfUMmAWlxbhWgXoK4SU3CuGwqhi4Yeb7Jg1EfOndewQy3e0ta4nwnMlC+EkaaQFAULQ/JCQVv5IK6eG8MepIPhfUXrte6sk4GGUzpGscKSTU1q4p8TPl+zLSeUzav15+e5jprvLnl1O09Y+cvRxGfrwvPTmUZ7iFgTOhEApF8rnv7pSRhSSo7foGnOsENvrVEF2laoYHl6VShI/HuyYmZVm7ReXNtE15vY6BsP7dHqaV4nhTMCsRAIn96qWy/0nbB4/dd++pA6sfU7dKcxOHO6b4Gw41rDhz3gn+6ZXD5gdfEP5JP8LBl06FOaU9HCYq4VNerh4iHPs+sfLCrOXk/z6OLvaWRfKWr471g+F8iR5Kv2um31eYg8CeyHQVy4iS8HMLGWkdQMJ0orhJF/GaDiM9aUb9gSLxFRRkHrcTeF6qTDEodVBBf2l2lXCZUScgEMlIV0LGSgPknuBsiGw3kfLTsHqR+F9avM95EbXkbPnmN2GuGnh0GKGyPnDjDt54UpSlgJ9z5QH1tWxvu7WfMfeP5vt2yIFlctsV3ikhSWMWqVqkRIed/BjrI3jqcC2f4S9l5nCuF9vVpg1Sf7ZLsePBEfh0zJWOpFK34KB8mb5OuWnMJFB4Koi4EpniioiZE3WI6c9mD9iXScqhIisrxy72D3uqBLhzxrCn5rSxskzdI05fcSJQeZZXikg9m5/L+NUEB9rKNnqB4lsyl+fF8L6wyGzkOHnTiT/7tUqgrz8myJDiEJ/Sx67sCIV/XAhIUFu+/usugtDtwt6Otzcp1F+fT4pk23lRhxuHAQv7vnlRj2lEUk+JENwV6q0iX91EbDKhZLqTwccvPHU0uEqQSowdzvQwtE4UV85+sqzya4K10viMEbI82N1+ghr1fqTfucKdVYkLM8iIZ0CzC4abn+jW05ayKuWiDgRbMobfv64nUW/vP8+tfPCSU4koTIQKYpA5K+WH2OOjEOy2JwJBvaC9y0+pbNPj6dp5KeyVZ5V5h6PXUbM7H5zdbdZc0paSRd/pPNEXs5aXokXBK45AgNSmCscH66u8WOKCLkbgQqhyqVK4fZdzF7xZFY8VTwkt2xxGsltKy1ULBHXmVsU9Q5aTrwLIuFkHbYPqvKfhfyUD5fKE5J3817GDSGtucvt+XFz5deJUKSiiReORXuBTSz5t0gDdkmZy2koPL7KQOSnySsicioMt6k9oFqfImnSpzQu+nPNlTcfCAJXCwGvgJh5b7nRPWaMEKJghwendlBJ9Hjl2cWseJJrcfCnwj2viJDTQeZL8UbjfQAAEOZJREFUppW+s+a98sWaxK+ziQLSIaLS9kEqvwhhLZ24rz19HN7FOOGTpzWZXDkgQl9Iw9zkB7FQBvwxYcXSEmZ2edeVpM3TPEonbvrBowdAS5MrH7kWlHFjkR9pF/md+YfprGWZeEHgqiKAYuuFVhlRcFpLLKh9Qh3KSqVQ5e8r0Ca7Kp6HGVVmhUOyVOe7pwkaWqOcTExLaEmn0ruLrDxxxy9LgDRLqrSo1YOUWX7bJOkkjORaeEiV/HCFI7OlEJsIZCZCz1stJfnwWrvJCd28V2nbRoCVnJ1Fn2Ymf7iqlfs3OJSUdIqYSav+Zrdd8E+YIHCwCHjFUyJN4RkvQ9EZ8+EcQPYZ/3zdKEeLaVtlVOVSbcQu4pNUmF4Sh+11HJQJcXFXCfuM5+UzpNXSuUqMVWHvV2fdMXvJo2/JrLR4fuSnsEiFc7ferHcQ38Njh3zZGkbrGlwZPxMBQjSsoWOtJkuF1EWH+Pzb/s7+23xj7dkWlkkpWnxMrty3x9ewDgGqokQeNwIotRR9lJNO6UWErOGjErPdjRnIvmJts6sCu1QcKi9mScJgh7g46YbdLNwFyzITyGNuhUiu5IEZU7qQemcZF6Fv61uyu5Sf0ux+bpa/S/xll5kTtt+wupWMTd5qmtGFpPmBYYkQLUYef/eu5oq6Ma7CIFniwww4pDsTX+nETMzSjyJqkfXiN8I8bkHgKBDYRoDKhAimJC0VxrJYLMxyD2aM9exSSUUGLhWP98jcS32Di6q5mpFdD3SLl1bUIL20GJ89IGq9yyXf80ff93S6Wf6S7jcyEw53JPfpMkPMKd86ykzn8pEGvXMXuS28vulpUj5pkX5xDXNQpnTN9aOilp5ID/fFLKwjg8ClQsAqCERIy4U1fAzwv0i1yqQqcF9JvTJ6GEWV20gShmUZHPDAImC6jCcOgqBA6pj3J9akikhA799F9t/2NOt9u4RRPIXFTouWiRG2rXF0GRM//k7FkVRcSdIvM1Lh9A7Z+zDYeRhXpBVKq5PWNGO9Ir5TsvA84X6plD6ZDQIjBKg0uE9EdMta+MvdDhCTllF4BXSzKqgqrPyqfs5CbiOpcBCJum/cKfFKlR5aheySoNvs31C8XaR/dy29HsbN/k3cFd/DMLancVTSIz+lbRTP/RSed/Mu/9P3/bvEZU82ref3n7ZCsu6Tmd2lVScSHJV13IJAEBgg4JWmWhNsiGd7HftSIcJNZNhXUFVwpFfwTeEUhzWEHPjJZA0tG06h4dF7yrqXUFyXIhd329e8lgi9R/mVlLviyY4kjJMfZo9HHM5pfNbU0vz4OjRXk1tzq25QrHEKAkFgGwJFfhorokusy9Nfo04GodIxZkeXlYrJo8pLJdWDW/94OMLK7uHkJn/27nKHMmsX6ebxTYXxeGcx6z1nlf03/T3uJ3eRmPKGuz/YFcYJkB8cxWEWHTw4jfnOlKeV2Vxe2LeVc/yDQBAYIKDWn1UqyJCKxcwmkpYGhwM8o9bBqQJ7JZdZfpJy76X8ke6nSu9ubvZ4Mm/zV7g16fH3Met9Hqd3E7kpjPwl5U44J0DhwNAAWxvvqpNqrJwynjfQ5zgFgb0QMAJUK3AZT+JFVuHYNP9etZ6Pk2f0qBLL7lJ+vezDiCggAZldKr7Hwyz3XvbhZFc42Te9g7CeBjfrPb3Ue3t3tyuMf5t3e945rIBrS9nrzPrNG1lZnCA+ymevAk/gIBAETiJgJDgcTzISpDKy0JcFzd9WR05pYfKoYqviU8FlllR47E4uMsu9D+/x5OdxcOsfZmiZqWU5DQuy6V6zjIXtgWvjm3rnmtS3r5aEAFlGw2w8p9DcTuXipSU3SfeLOQgEgTMiQIXaFlVhauaRPblsceMMPd1XAfFACCINb9XIbUQY8htJhe9Jzb9DPL6lsEge7q/l8NPPrllTLvbhCChmm7n9jkkWupk8isu7ZJYcpcvDjfwVd5Pku6SbCY7vrQMXtNd4bomPykTlMPKLWxAIAmdEYJeKRZj6o4KyiJnxKc4DZHsde2VZFkKlF0EgeyIckYJIZOSHW//oG4qnb8idxd2sMXyrNTjqsh8OKuAoeCYblGZ9T+8eScLoD//++/KTVPplp+XM5BKHt34wB0aQTi1pWUtz3INAELjOCBgJLl3m6rKxRIM1hCIDupeY+VPFF5lgd7P816QIRFLh9A7cMeNOy4+j7llLOG+32wRZ7aJgCY7eidR7R9LDjcL2/m7X+zgW66FGfEw4LXhuSm/8gkAQuI4IUFH5vCqsWi01YM+xSw+vcTZaVSJBVXxJEYeTwyaziK+X/Xvw/8paz6iJnRPde0v34l63sNGKJX2eDqVX0v3cLP8+fh+GJS2cC8iJMlwlMB8MIUyvY7Hm00EgCPQIOFl4Je3cF6IpMmQc6961hIMLdyBCiGATOThRjMw98bndw3OKM1eI0pqax9FMevd9STN5rj20bC1TWpXeXYlN4ZSWPq+QK2v57tEtaVGaFjLuyyD2IBAErgMCHcktFXXFXWQzhyO5dVAA+3w/r05CZjaWRySxj6yop4TeAeFw1iETG3fbQICkk32z/NHtnNNd6YU4IVC9U7Ins97d/d3MLPNv1cX2nIBzq/rOguV1KNZ8MggEgV0RGJEdcc/g/qA6OIC9vZxg4kThhIK7/uSO3PQoHBMwH1vdSpHM0tIrssNOt1MLvRUOSeuMZTI+Zql3r0mlVZK4dPsZh+RdHKU/r+Mz3LTbJq2+XRUx4YLA9UZgRHq9m6fR/OZWVnUzOZ2ac+t0BJevwxOJQDaYnXR2IUDicAWAWnb6rkhQEn+FgfjkzuEC37JhbaCnx818l1ldus+czcftfNxUN7xn2HCZydcxizkIBIEDRoDKu0vyukoughHxsKvkbSeCeFoduECriWeNAMt7VYiMiP8Rdr4g33WCk30mHksj7qSNG+043goy87To/WuSsJAfJzJzuTnXlK7OPtt3d8JyF7wTJggEgQNEwCq7yEdkA+FAhJxF+IU1VqauZ08+q8xXHiIm4nHRt26PE9Hp27K7xI8/COu+dXsaY4m0TD0dm9Kg77MgnPt2ydv8jQMskiQpCASB80agCEFkI6kW4Z1aa1wgxG1vf2zrCEUsm8gHP4WDsDgr783In0hIEx1mdwJUGjhJmTRwTYCIT5L3b3rkz/a6T9B3zhvjfC8IBIEDR0DkYBIyhISYlaXr+DXTOB63mkE+IrZt5KNwSAj00cCwgfj4JiQo8qP19+o1W+utUH8v5tGjMPix3xgSdYJNN/fAdTLJCwLnjkBHEiIkuq5MHnAQK0QkEhwRD24iH5fE+c7pOk72KkNEevcJUip3+XGqMpMnEJhPyvh7d0kDi5zZawyx6t0hwHPXrnwwCBwRAkaGtAK5bpJu6C5jcE5Q6q4Sj/WGrAfkXTez90NKCzHhDkytNW7Jg/x4n0jX3y3zJhLkuxwe+1oi13p3CPCIdDFJDQLnjoARFK00WoE/XIcqqBUoUuoJSISFP4/C4c5aQ7rTD6ltZ3Rx6eoy1gfRchkU5+09biLA59fylVHrj3fqvfWZmSjdrO9xn4panUsr8NwBzQeDQBA4LgSsZQZJcWcxy0p6AoRo9GDmTwTlUn6E5bgr3sfYHLtSOAqLE2A4afmZdSIL4RSnl3pv7+52wrDj45GVD0h2bmkeVykktUEgCFwXBKwVSMuJI/g5nQViGZFgTz7bSErvoYXHbhH+MOPu75JZhKj3SpKWUXp4F+ci3qeIDxIPAV4XTcpHg8CRImAkyIVMLInhGRGOiAopclojsz6Mwvs7MPNIlvVEC1Pk16eH9+H26b7+j7wcaTEk2UEgCFwPBIwA2avL1ZwvHnRze+KSfY0A5S6iEpFhl5/eMSJA3DbFhSy5w+MBlv60/q6HAuWbQeDYESgSoRt8m+nE6adUU8xbXWvE5STm5hHJuX9vVutP0v09HXIn3BPrmgB1fZeZ5mMvj6Q/CASBc0LAWlAQILPBbE3joiCN2XnrTQS0jxSp9VLv6N1ll79L+XGy890r7RCf/81rD88JvnwmCASBY0egiETLVRgL/Oi6dAnyEQFK7tsaHBGYiGxNehw3E57DDx5Ry2q00FoEqOUwGQs8dqVM+oPAtUTAWn5OIpAgrUDW6339dMjBP9R4IDOua0tknKB2Mfek18fBHzc98od4Oc6Lo/dJ39LlHeQlBHgtlSfvDgLHjgCkQR7WyKO2l2lxNCTkY3H7jvGJxERsbt/FzPcg4B+o47Porp/q6o7cjr2ckv4gEASuEQK0oja9ui4LZ60dB47yQFYiQhFXeS1C7kh1lyXlp3fJznijHidXvsWDG9dovtOm9MYvCASBIHBVELAWIgukn1stMMhIpCWiuoGibviPH6RFl1lE6f4en7BOfApHPNxFfuwx5qL191PGlDbZI4NAEAgCVxUBjbHx0jpAlbs2/k4sZURoTnNLjZOd+XMS8zAiUAiOQ1D500McyJM/Hlqez5v+3q7ScdOrmsm8LAgEgSAwQkDjaSWZcOCoK47T/0NrnRVPnRBqBdJCXHvwUwtPYdQiREKAXHDE6TJ3rt0eNxmlM25BIAgEgWuCQLfNjNNcblsXjD+ntfZyGxOkpUarD/La9ODPHwToBCk3JC1CLjjiovfba7kLGVTX11un1yTjeWkQCAKXFwG1uLpWoHZcsGWOO0WeVEdo/UnXHRbJuVwjRcLQEkS+rI7I4r28/+aUgE/U6OKly1syyXkQCALngkCRH2sCtU4QyZFTsr9Ka+1taksaLcIXVbeVlqDG8fpurogQf8YTIU+Oznp2XWzEIaknZqbdrm+fCwD5SBAIApcPgSIZ1tnxx9jfvOYOJKxliNuNyw1CvEWtG6T1xnKVl0y7Nf607hmhZcdBqX/TWvvz1trv1fH731+tyPtzU902pEnXtjDxDwJBIAhcEQJFgCI+5NwiM2Kc3Yoc18x0kzmmnuPx32g6BPVu9YcZNw5duPk+pLZP2CsCIJGDQBAIArsiUMSobvGaFFGeasWtxd/1+wkXBIJAEDgYBJzQ1hLlYUbmtXhxDwJBIAgcNAJOaGsJ9TAyr4WNexAIAkHgaBAQoSFHiV7zd3eZR/HjFgSCQBC4MAjYZMqQMC9MRpORIBAELj4Car0ZsTEBoskRTYbM8uKjkRwGgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCQSAIBIEgEASCQBAIAkEgCASBIBAEjhiB/w+HafN2er0wSQAAAABJRU5ErkJggg=="}))))}const dT=i.forwardRef(uT),hT=(n.p,()=>(0,a.jsxs)("div",{className:"flex flex-col rounded-t-[4px] rounded-b-[4px] bg-[#FFFFFF] bg-opacity-5 min-w-[218px]",children:[(0,a.jsxs)("a",{href:"https://docs.flowty.io/reference/",target:"_blank",rel:"noreferrer",id:"faq",className:"cursor-pointer flex justify-between items-center uppercase font-montserrat text-[12px] py-[12px] px-[16px] font-bold text-white group",onClick:()=>pe("Clicked on FAQ page link for guides"),children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-start gap-x-[8px]",children:[(0,a.jsx)(gb,{className:"w-[22px] h-[22px] group-hover:hidden"}),(0,a.jsx)(dT,{className:"w-[22px] h-[22px] opacity-70 hidden group-hover:block"}),(0,a.jsx)("span",{className:"group-hover:text-[#ADB5BD] text-white font-black tracking-wider",children:"Product Docs"})]}),(0,a.jsx)(Z_,{className:"w-[16px] h-[16px] group-hover:hidden"}),(0,a.jsx)(Y_,{className:"w-[16px] h-[16px] hidden group-hover:block"})]}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"200",height:"2",viewBox:"0 0 200 2",fill:"none",className:"w-3/4 mx-auto",children:(0,a.jsx)("path",{d:"M0 1H200",stroke:"#333333",strokeWidth:"1px"})}),(0,a.jsxs)("a",{href:"https://docs.flowty.io/reference/general-platform/troubleshooting",target:"_blank",rel:"noreferrer",id:"troubleshooting",className:"cursor-pointer flex justify-between items-center uppercase font-montserrat text-[12px] py-[12px] px-[16px] font-bold group",onClick:()=>{pe("Clicked on Troubleshooting page link")},children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-start gap-x-[8px] group-hover:text-white text-[#ADB5BD]",children:[(0,a.jsx)(nT,{className:"w-[22px] h-[22px] group-hover:hidden"}),(0,a.jsx)(aT,{className:"w-[22px] h-[22px] opacity-70 hidden group-hover:block"}),(0,a.jsx)("span",{className:"group-hover:text-[#ADB5BD] text-white font-black tracking-wider",children:"Troubleshoot"})]}),(0,a.jsx)(Z_,{className:"w-[16px] h-[16px] group-hover:hidden"}),(0,a.jsx)(Y_,{className:"w-[16px] h-[16px] hidden group-hover:block"})]})]})),pT=e=>{let{className:t}=e;const[n,r]=(0,i.useState)(!1),s=e=>{r(e)},l=(0,i.useRef)(null);return(0,i.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&r(!1)};return n&&(document.addEventListener("mousedown",e),document.addEventListener("touchstart",e)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[n]),(0,a.jsx)(Gt.A,{className:"relative ".concat(t),ref:l,children:(0,a.jsxs)(U_,{as:"div",className:"relative cursor-pointer text-left",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[(0,a.jsxs)(U_.Button,{className:"flex items-center justify-center transform cursor-pointer rounded-md p-0 duration-300 ease-in-out gap-x-[8px]",children:["HELP ",(0,a.jsx)(J_,{className:""})]}),(0,a.jsx)(Nm.e,{show:n,as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(U_.Items,{className:(0,o.cn)("absolute z-10 mt-[8px] inline-flex p-[4px] flex-col justify-center items-start border border-[#6C757D] border-opacity-25 bg-[#04070b] bg-opacity-80 rounded-[4px] backdrop-blur-sm"),children:(0,a.jsx)(hT,{})})})]})})},fT=e=>{let{selectedItem:t}=e;return(0,a.jsxs)("div",{className:(0,o.cn)("flex items-center flex-shrink-0"),children:[(0,a.jsx)("a",{href:"/",className:"flex items-center",children:(0,a.jsx)(f_,{className:"h-full w-28 mr-[16px] ml-[-6px]"})}),(0,a.jsx)("ul",{className:(0,o.cn)("flex list-none"),children:Object.entries(m_.C).map((e=>{let[n,r]=e;return(0,a.jsx)("li",{className:"py-[12px] ".concat(t===n?"pl-[12px] pr-[24px]":"px-[24px]"),children:(0,a.jsxs)(d_.N_,{to:r,className:"flex items-center hover-nav-item transform text-size-[.875rem] rounded-md tracking-wider whitespace-nowrap font-black uppercase text-white duration-300 ease-in-out gap-[8px]","aria-current":t===n?"page":void 0,children:[t===n&&(0,a.jsx)("div",{className:"rounded bg-[#04E5A3] h-[14px] w-1"}),n]})},n)}))}),(0,a.jsx)(pT,{className:"py-[12px] px-[24px]"})]})},mT=n.p+"static/media/WalletGrouped.ca76b06097a0b32ff829.png",gT=e=>{let{isLoading:t,logUser:n}=e;return(0,a.jsx)("button",{onClick:n,disabled:t,className:"inline-flex py-[8px] px-[18px] items-center gap-2 rounded-lg border-2 border-[var(--Neutral-300,#495057)] shadow-[0_4px_18px_rgba(0,0,0,0.25)] sm:min-w-[220px] mx-auto ".concat(!t&&"hover:border-[var(--Neutral-300,#6C757D)] hover:bg-opacity-5 hover:bg-white"),children:t?(0,a.jsx)("div",{className:"flex justify-center items-center h-full mx-auto py-1 min-w-[40px]",children:(0,a.jsx)("div",{className:"spinner w-[14px] h-[14px] sm:w-[24px] sm:h-[24px] border-4 border-gray-200 rounded-full border-t-transparent animate-spin"})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-[var(--Neutral-700,#DEE2E6)] text-center font-montserrat text-sm font-black leading-[16px]",children:["SIGN IN ",(0,a.jsx)("span",{className:"hidden sm:inline-block",children:"WITH"})]}),(0,a.jsx)("div",{className:"hidden sm:flex flex-row items-center h-[32px]",children:(0,a.jsx)("img",{src:mT,alt:"Dapper Wallet Icon",className:"max-w-[80px] rounded-full"})}),(0,a.jsx)("span",{className:"hidden sm:block text-[var(--Neutral-700,#DEE2E6)] text-center font-montserrat text-sm font-semibold leading-[16px]",children:"+2"})]})})};const vT=n.p+"static/media/defaultProfileImage.e70fd45310525e8aed61d90f67910926.svg";const CT=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));const yT=n.p+"static/media/missing-collection-image-icon.e324899d7a657fe78203a28ae205a218.svg",bT=e=>{let{childAccounts:t}=e;const n=(0,qt.zy)();return(0,a.jsx)("div",{children:t&&t.length>=1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center mt-[16px] md:mt-[24px] md:justify-between gap-3 md:gap-5 flex-wrap",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsxs)("span",{className:"mr-2 text-[1.125rem] text-white font-montserrat text-nowrap font-normal",children:["Linked Accounts (",t.length,")"]}),(0,a.jsx)("div",{className:"bg-[#ffffffba] rounded-md px-1.5 py-0.35",children:(0,a.jsx)("p",{className:"leading-[14px] text-[#031021] font-montserrat-bold font-black text-[0.625rem]",children:"CHILD"})})]}),(0,a.jsxs)("a",{className:"flex flex-row hover-filter-text",href:"/user/profile",children:[(0,a.jsx)("span",{className:"text-primary font-montserrat font-[1rem] mr-2 whitespace-nowrap",children:"View All"}),(0,a.jsx)(CT,{className:"w-[1.125rem] h-[1.125rem] text-primary"})]})]}),(0,a.jsx)("div",{className:"flex flex-row my-2 md:my-3 gap-3 mx-auto overflow-x-auto styled-scroll-wallet cursor-pointer",children:t.map((e=>{var t,r;let i=null===e||void 0===e||null===(t=e.display)||void 0===t?void 0:t.name;if(null!==e&&void 0!==e&&e.display){var o,s;i=(null===(o=e.display)||void 0===o?void 0:o.name.length)>8?(null===(s=e.display)||void 0===s?void 0:s.name.substring(0,8))+"...":i}return(0,a.jsxs)(d_.N_,{reloadDocument:n.pathname.includes("/profile"),className:"flex-shrink-0 bg-[#ffffff1f] border border-secondary rounded-lg my-auto flex flex-col items-center justify-center border-[#ffffff36] mb-1 visited:bg-[#ffffff33] hover:bg-[#ffffff33] hover:border p-[1rem] overflow-hidden text-center whitespace-nowrap cursor-pointer group gap",to:'/user/profile?walletAddresses=%5B"'.concat(e.address,'"%5D'),children:[(0,a.jsx)("img",{className:"w-[2.4rem] h-[2.4rem] rounded-[0.25rem]",src:null===(r=e.display)||void 0===r?void 0:r.thumbnail,alt:"thumbnail",onError:e=>{let{currentTarget:t}=e;t.onerror=null,t.src=yT}}),(0,a.jsx)("p",{className:"font-montserrat text-white text-[0.625rem] font-normal group-hover:text-white leading-3",children:i})]},e.address)}))})]})})},wT=e=>{let{address:t}=e;const[n,r]=(0,i.useState)(!1),o=()=>r(!1);return(0,a.jsxs)("button",{"data-tooltip-id":"copy-wallet-tooltip","data-tooltip-content":"Copy Wallet Address","data-tooltip-place":"right",className:"btn-copy flex items-center group text-white",onClick:()=>{r(!0),setTimeout(o,5e3),navigator.clipboard.writeText(null!==t&&void 0!==t?t:"")},children:[(0,a.jsx)("span",{className:"text-[#DEDEDE] font-normal text-[0.875rem] md:text-[14px] mr-[0.25rem]",children:t}),(0,a.jsx)("div",{className:"px-1",children:n?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-[14px] h-[14px] text-primary",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75"})}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:(0,a.jsx)("path",{d:"M9.1875 10.5625V12.5312C9.1875 12.8937 8.89369 13.1875 8.53125 13.1875H2.84375C2.48131 13.1875 2.1875 12.8937 2.1875 12.5312V5.09375C2.1875 4.73131 2.48131 4.4375 2.84375 4.4375H3.9375C4.23562 4.4375 4.52794 4.46235 4.8125 4.51009M9.1875 10.5625H11.1562C11.5187 10.5625 11.8125 10.2687 11.8125 9.90625V7.0625C11.8125 4.46113 9.9205 2.30166 7.4375 1.88509C7.15294 1.83735 6.86062 1.8125 6.5625 1.8125H5.46875C5.10631 1.8125 4.8125 2.10631 4.8125 2.46875V4.51009M9.1875 10.5625H5.46875C5.10631 10.5625 4.8125 10.2687 4.8125 9.90625V4.51009M11.8125 8.375V7.28125C11.8125 6.19394 10.9311 5.3125 9.84375 5.3125H8.96875C8.60631 5.3125 8.3125 5.01869 8.3125 4.65625V3.78125C8.3125 2.69394 7.43106 1.8125 6.34375 1.8125H5.6875",stroke:"#DEDEDE",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},xT=e=>{let{userFlowBalance:t,userUsdcBalance:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-start gap-y-[19px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{children:(0,a.jsx)(Za,{isLarge:!0,token:"FLOW"})}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:an()(t).format("0,0.00")}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:"FLOW"})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{children:(0,a.jsx)(Za,{isLarge:!0,token:"USDC"})}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:an()(n).format("0,0.00")}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:"USDC"})]})]})},AT=e=>{let{disconnectWallet:t,user:n,isDapper:r,childAccounts:o}=e;return(0,a.jsxs)(U_,{as:"div",id:"user-nav-dropdown",className:"relative inline-block text-left z-50",children:[(0,a.jsx)(U_.Button,{"data-testid":"logged-user-button",className:"inline-flex py-[8px] px-[12px] md:px-[18px] items-center gap-2 rounded-[6px] border-2 border-[var(--Neutral-300,#495057)] shadow-[0_4px_18px_rgba(0,0,0,0.25)] mx-auto hover:border-[var(--Neutral-300,#6C757D)] hover:bg-opacity-5 hover:bg-white max-h-[48px]",children:(0,a.jsxs)("div",{className:"flex flex-row items-center ",children:[(0,a.jsx)("span",{className:"text-[var(--Neutral-700,#DEE2E6)] text-center font-montserrat text-sm font-black leading-[16px] mr-4",children:"MY ACCOUNT"}),(0,a.jsx)("div",{className:"new-avatar-container w-[24px] h-[24px] md:w-[32px] md:h-[32px]",children:(0,a.jsx)("img",{src:(null===n||void 0===n?void 0:n.userAvatar)||vT,className:"rounded-[4px]",alt:"User Flowty Avatar"})}),(0,a.jsx)("div",{className:"ml-[4px]",children:(0,a.jsx)("svg",{className:"w-[18px] h-[18px] md:w-[20px] md:h-[20px]",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.70711 7.29289L10 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68342 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",fill:"white"})})})]})}),(0,a.jsx)(Nm.e,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsxs)(U_.Items,{className:"absolute right-[16px] max-w-[300px] translate-x-[16px] md:max-w-none md:right-0 md:origin-top-right md:translate-x-0 focus:outline-none mt-2 p-6 px-7 flex-col justify-center items-start gap-[var(--25,10px)] rounded-[6px] border border-[var(--Neutral-400,#6C757D)] bg-[#04070b] backdrop-blur-[50px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("div",{className:"new-avatar-container w-[35px] h-[35px] md:w-[48px] md:h-[48px]",children:(0,a.jsx)("img",{src:(null===n||void 0===n?void 0:n.userAvatar)||vT,className:"rounded-[8px]",alt:"User Flowty Avatar"})}),(0,a.jsx)(d_.N_,{className:"ml-3 font-bold text-white font-montserrat-bold",to:"/user/profile",children:(0,a.jsx)("span",{className:"text-white text-center font-montserrat text-[14px] md:text-[18px] font-black leading-normal truncate ".concat(!(null!==n&&void 0!==n&&n.userName)&&"lowercase"),children:(null===n||void 0===n?void 0:n.userName)||(null===n||void 0===n?void 0:n.userAddress)||""})})]}),(0,a.jsxs)("div",{className:"my-[24px] md:mb-[38px]",children:[(0,a.jsxs)("div",{className:"w-full md:w-96 px-[24px] py-[18px] md:mt-[16px] rounded-[10px] bg-[#ffffff1f] gap-[16px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("div",{className:"h-[36px] w-[36px] mr-2 flex items-center",children:(0,a.jsx)("img",{src:(0,T.getProviderImage)(String(null===n||void 0===n?void 0:n.authServiceUid)),className:"rounded-md",alt:"Provide Logo"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-base font-black text-white font-montserrat-bold",children:(0,T.getProviderName)(String(null===n||void 0===n?void 0:n.authServiceUid))}),(0,a.jsx)(wT,{address:null===n||void 0===n?void 0:n.userAddress})]})]}),!r&&(0,a.jsx)("div",{className:"mt-[19px]",children:(0,a.jsx)(xT,{userFlowBalance:null===n||void 0===n?void 0:n.userFlowBalance,userUsdcBalance:null===n||void 0===n?void 0:n.userUsdcBalance})})]}),(0,a.jsx)(bT,{childAccounts:o})]}),(0,a.jsx)("div",{className:"border-gradient"}),(0,a.jsxs)("div",{className:"flex flex-col pt-4",children:[(0,a.jsx)(d_.N_,{to:"/user/profile",className:"text-sm font-bold text-white uppercase duration-300 ease-in-out transform font-montserrat-bold hover-nav-item",children:"Profile"}),(0,a.jsxs)("div",{className:"flex flex-row gap-[6px] mt-2",children:[(0,a.jsx)(d_.N_,{to:"/user/creator-hub",className:"flex gap-[6px]  text-sm font-bold text-white uppercase duration-300 ease-in-out transform font-montserrat-bold hover-nav-item",children:"Creator Hub"}),(0,a.jsx)(z,{text:"NEW",type:"primary",size:"small"})]}),(0,a.jsx)(d_.N_,{to:"/user-profile",className:"mt-2 text-sm font-bold text-white uppercase duration-300 ease-in-out transform font-montserrat-bold hover-nav-item",children:"User Activity"}),(0,a.jsx)(d_.N_,{to:"/settings",className:"mt-2 text-sm font-bold text-white uppercase duration-300 ease-in-out transform font-montserrat-bold hover-nav-item",children:"Settings"}),(0,a.jsx)("button",{onClick:t,className:"mt-2 font-montserrat-bold text-[#ff2f2f] hover-nav-item-red uppercase font-bold transform duration-300 ease-in-out text-left text-sm",children:"Sign out"})]})]})})]})},ET=e=>{let{isLogged:t,isLoading:n,logUser:r,notifications:s,hasMore:l,queueNotification:c,loadingNotifications:u,fetchMoreNotifications:d,loggedUserAddress:h,disconnectWallet:p,user:f,isDapper:m,childAccounts:g}=e;const v=(0,i.useMemo)((()=>t?t&&!n?(0,a.jsx)(AT,{disconnectWallet:p,user:f,isDapper:m,childAccounts:g}):void 0:(0,a.jsx)(gT,{isLoading:n,logUser:r})),[t,n]);return(0,a.jsxs)("div",{className:(0,o.cn)("flex items-center justify-items-end flex-shrink-0 relative z-[999] gap-[12px] md:gap-[16px]"),children:[t&&!n&&(0,a.jsx)(Uy,{fetchMoreNotifications:d,loading:u,hasMore:l,notifications:s,queueMessage:c,loggedUserAddress:h}),v]})},_T=e=>{let{bgColor:t,isLogged:n=!1,authLoading:r,logUser:o,selectedItem:s,notificationData:l,registerHeight:c,loggedUserAddress:u,disconnectWallet:d,childAccounts:h,isDapper:p,user:f}=e;const m="".concat(t," bg-darkBg flex flex-col w-full items-center fixed top-0 left-1/2 -translate-x-1/2 z-40 font-black text-white py-[18px]"),g=(0,i.useRef)(null),v=()=>{g.current&&c&&c(g.current.offsetHeight)};return(0,i.useEffect)((()=>{v();const e=()=>{v()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[g,c]),(0,a.jsx)("div",{className:m,ref:g,"data-testid":"navbar-component",children:(0,a.jsxs)("nav",{className:"px-12 flex justify-between items-center w-full gap-[16px] relative h-[40px]",children:[(0,a.jsx)(fT,{selectedItem:s}),(0,a.jsx)(ET,{loadingNotifications:l.loadingNotifications,hasMore:l.hasMore,fetchMoreNotifications:l.fetchMoreNotifications,notifications:l.notifications,queueNotification:l.queueNotification,isLoading:r,isLogged:n,logUser:o,loggedUserAddress:u||"",disconnectWallet:d,childAccounts:h,isDapper:p,user:f})]})})},TT=e=>{let{bgColor:t,isLogged:n=!1,authLoading:r,logUser:o,registerHeight:s,notificationData:l,selectedItem:c,loggedUserAddress:u,disconnectWallet:d,childAccounts:h,isDapper:p,user:f}=e;const m="".concat(t," py-[18px] flex flex-col w-full items-center fixed top-0 left-1/2 -translate-x-1/2 z-50 font-black text-white"),g=(0,i.useRef)(null),v=()=>{g.current&&s&&s(g.current.offsetHeight)};return(0,i.useEffect)((()=>{v();const e=()=>{v()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[g,s]),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:m,ref:g,"data-testid":"navbar-component",children:(0,a.jsxs)("nav",{className:"flex w-full justify-between relative px-12 h-[40px]",children:[(0,a.jsx)(fT,{selectedItem:c}),(0,a.jsx)(ET,{fetchMoreNotifications:l.fetchMoreNotifications,loadingNotifications:l.loadingNotifications,hasMore:l.hasMore,notifications:l.notifications,queueNotification:l.queueNotification,isLogged:n,logUser:o,isLoading:r,loggedUserAddress:u||"",disconnectWallet:d,childAccounts:h,isDapper:p,user:f})]})})})};var ST;function kT(){return kT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kT.apply(null,arguments)}function PT(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",kT({width:26,height:32,viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,ST||(ST=i.createElement("g",{id:"Property 1=fullWhiteIcon"},i.createElement("path",{id:"Vector",d:"M7.44221 7.60666C8.43894 4.18646 10.6898 2.23392 14.1938 1.74902H23.5006L22.0459 7.79423H15.6056C15.1905 7.79423 14.8024 7.9399 14.4422 8.23024C14.096 8.52157 13.8745 8.88774 13.7778 9.33173L12.6563 13.4244H17.2468L15.8341 19.4696H11.1807L8.62551 29.794H1.89487L7.44221 7.60666Z",fill:"white"}),i.createElement("path",{id:"Vector_2",d:"M17.6409 27.5551C17.6409 29.1256 16.3678 30.3997 14.7964 30.3997C13.225 30.3997 11.9519 29.1266 11.9519 27.5551C11.9519 25.9837 13.225 24.7106 14.7964 24.7106C16.3678 24.7106 17.6409 25.9837 17.6409 27.5551Z",fill:"#5BC096"}))))}const DT=i.forwardRef(PT);n.p;const NT=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),FT=e=>{let{setSidebarNavigation:t,isMobile:n}=e;return(0,a.jsxs)("div",{className:(0,o.cn)("flex items-center gap-[12px] flex-shrink-0"),children:[(0,a.jsx)("button",{onClick:()=>t(300),role:"menu",children:(0,a.jsx)(NT,{className:"w-[32px] h-[32px]"})}),(0,a.jsx)("a",{href:"/",className:"flex items-center",children:n?(0,a.jsx)(DT,{}):(0,a.jsx)(f_,{className:"mr-[16px] h-full w-28"})})]})};var IT;function RT(){return RT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RT.apply(null,arguments)}function MT(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",RT({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,IT||(IT=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L10 8.58579L14.2929 4.29289C14.6834 3.90237 15.3166 3.90237 15.7071 4.29289C16.0976 4.68342 16.0976 5.31658 15.7071 5.70711L11.4142 10L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L10 11.4142L5.70711 15.7071C5.31658 16.0976 4.68342 16.0976 4.29289 15.7071C3.90237 15.3166 3.90237 14.6834 4.29289 14.2929L8.58579 10L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z",fill:"white"})))}const OT=i.forwardRef(MT),jT=(n.p,e=>{let{width:t,navItems:n,selectedItem:r,isLogged:o,onClose:s}=e;return(0,a.jsx)(Nm.e,{appear:!0,show:!0,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",onClose:s,children:[(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"bg-[#04070B]",style:{height:"100vh",left:0,position:"fixed",top:0,width:t,zIndex:999},children:[(0,a.jsx)("button",{onClick:s,className:"py-[18px] pl-[14px]",children:(0,a.jsx)(OT,{className:"h-[32px] w-[32px]"})}),(0,a.jsxs)("div",{className:"absolute mt-[.31rem] pl-[14px] pt-3 flex flex-col gap-4",children:[Object.entries(n).map((e=>{let[t,n]=e;return(0,a.jsx)("div",{children:(0,a.jsxs)("a",{href:"Profile"===t?o?n:"/signIn":n,className:"font-montserrat flex items-center hover-nav-item text-sm leading-[.875rem] rounded-md py-3 ".concat(r===t?"pl-3":"pl-6","  font-black uppercase text-white duration-300 ease-in-out"),"aria-current":r===t?"page":void 0,children:[r===t&&(0,a.jsx)("div",{className:"rounded bg-[#04E5A3] w-[.875rem] h-[.25rem] rotate-90"}),"Profile"===t?"My Profile":t]})},t)})),(0,a.jsxs)("div",{className:"pl-6",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"200",height:"2",viewBox:"0 0 200 2",fill:"none",className:"w-full mx-auto text-center",children:(0,a.jsx)("path",{d:"M0 1H200",stroke:"#343A40",strokeWidth:"1px"})}),(0,a.jsx)("p",{className:"text-[var(--Neutral-500,#ADB5BD)] font-montserrat text-sm font-black leading-[.875rem] uppercase mt-[24px] mb-[12px]",children:"HELP"}),(0,a.jsx)(hT,{})]})]})]})})})]})})}),LT=e=>{let{bgColor:t,isLogged:n=!1,notificationData:r,authLoading:o,logUser:s,registerHeight:l,selectedItem:c,loggedUserAddress:u,disconnectWallet:d,childAccounts:h,isDapper:p,user:f}=e;const[m,g]=(0,i.useState)(0),v=(0,i.useRef)(null),C=()=>{v.current&&l&&l(v.current.offsetHeight)};(0,i.useEffect)((()=>{C();const e=()=>{C()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[v,l]);const y="".concat(t," py-[18px] flex flex-col w-full items-center fixed top-0 left-1/2 -translate-x-1/2 z-50 font-black text-white");return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{ref:v,className:y,"data-testid":"navbar-component",children:[(0,a.jsxs)("nav",{className:"container flex w-full justify-between h-[40px]",children:[(0,a.jsx)(FT,{setSidebarNavigation:g,isMobile:!0}),(0,a.jsx)(ET,{fetchMoreNotifications:r.fetchMoreNotifications,loadingNotifications:r.loadingNotifications,hasMore:r.hasMore,notifications:r.notifications,queueNotification:r.queueNotification,isLoading:o,isLogged:n,logUser:s,loggedUserAddress:u||"",disconnectWallet:d,childAccounts:h,isDapper:p,user:f})]}),m?(0,a.jsx)(jT,{isLogged:n,width:m,onClose:()=>g(0),navItems:m_.C,selectedItem:c}):null]})})},BT=e=>{let{bgColor:t,isLogged:n=!1,registerHeight:r,authLoading:o,notificationData:s,logUser:l,selectedItem:c,loggedUserAddress:u,disconnectWallet:d,childAccounts:h,isDapper:p,user:f}=e;const[m,g]=(0,i.useState)(0),v=(0,i.useRef)(null),C=()=>{v.current&&r&&r(v.current.offsetHeight)};(0,i.useEffect)((()=>{C();const e=()=>{C()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[v,r]),(0,i.useEffect)((()=>{}),[m]);const y="".concat(t," py-[18px] flex flex-col w-full items-center fixed top-0 left-1/2 -translate-x-1/2 z-50 font-black text-white");return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{ref:v,className:y,"data-testid":"navbar-component",children:[(0,a.jsxs)("nav",{className:"container flex w-full justify-between h-[40px]",children:[(0,a.jsx)(FT,{setSidebarNavigation:()=>g(300)}),(0,a.jsx)(ET,{fetchMoreNotifications:s.fetchMoreNotifications,loadingNotifications:s.loadingNotifications,notifications:s.notifications,hasMore:s.hasMore,queueNotification:s.queueNotification,isLoading:o,isLogged:n,logUser:l,loggedUserAddress:u||"",disconnectWallet:d,childAccounts:h,isDapper:p,user:f})]}),m?(0,a.jsx)(jT,{isLogged:n,width:m,onClose:()=>g(0),navItems:m_.C,selectedItem:c}):null]})})},UT=e=>{let{isLandingPage:t,isCreatePage:n,isLogged:r,notificationData:o,authLoading:s,logUser:l,selectedItem:c,registerHeight:u,loggedUserAddress:d,disconnectWallet:h,childAccounts:p,isDapper:f,user:m}=e;const g=sb(),[v,C]=i.useState(n?"bg-transparent":"bg-[#04070B]");i.useEffect((()=>{const e=()=>{const e=window.scrollY||window.pageYOffset;C(0===e?t?"bg-blur-light":"bg-[#04070B]":"bg-blur")};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]);const y=window.location.pathname.includes("/marketplace"),b={authLoading:s,bgColor:v,childAccounts:p,disconnectWallet:h,isDapper:f,isLandingPage:t,isLogged:r,isMarketplacePage:y,logUser:l,loggedUserAddress:d,notificationData:o,registerHeight:u,selectedItem:c,user:m};return(0,i.useCallback)((()=>{switch(g){case"xs":case"mobile":return(0,a.jsx)(LT,{...b});case"tablet":return(0,a.jsx)(BT,{...b});case"laptop":return(0,a.jsx)(TT,{...b});default:return(0,a.jsx)(_T,{...b})}}),[g,b])()};var VT=n(55503);let HT=function(e){return e[e.WelcomeCreatorHubTab=0]="WelcomeCreatorHubTab",e[e.CustomizeCollectionFirstTab=1]="CustomizeCollectionFirstTab",e[e.CustomizeCollectionSecondTab=2]="CustomizeCollectionSecondTab",e[e.CustomizeDropTab=3]="CustomizeDropTab",e[e.ConfirmationTab=4]="ConfirmationTab",e}({});const zT=(e,t)=>{var n;const r={...e,dropThumbnailImage:e.dropThumbnailImage&&t?{...e.dropThumbnailImage,fileBase64:void 0}:null,nftBannerImage:Boolean(null===(n=e.nftBannerImage)||void 0===n?void 0:n.fileCid)||e.nftBannerImage&&t?{...e.nftBannerImage,fileBase64:void 0}:null,nftImage:e.nftImage&&t?{...e.nftImage,fileBase64:void 0}:null,nftThumbnailImage:e.nftThumbnailImage&&t?{...e.nftThumbnailImage,fileBase64:void 0}:null};localStorage.setItem("creatorHubCache",JSON.stringify(r))},ZT=async()=>{await localStorage.removeItem("creatorHubCache")},WT=e=>{var t,n,r,o;let{creatorHubId:s,changeSelectedFormTab:l,loggedIsDapper:c=!1,isLoggedUser:u=!1,flowty:d,logOutFn:h,mixPanelFn:p,onCloseModal:f,resetForm:m,uploadImageFn:g,values:v}=e;const C=(0,qt.Zp)(),[y,b]=(0,i.useState)(null),[w,x]=(0,i.useState)(null),[A,E]=(0,i.useState)(null),[_,S]=(0,i.useState)({isCreating:!1,isError:!1,isSuccess:!1}),[k,P]=(0,i.useState)(!1),D=async()=>{P(!0),h(),await(0,Wt.connectWallet)()};(0,i.useEffect)((()=>{u&&k&&P(!1)}),[u,k]);const N=(0,VT.h)(v.collectionName),F=async()=>{if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK&&(b("mockTxId"),"ERROR_TYPE_MOCK"===s?(S((e=>({...e,isCreating:!0,isError:!1}))),setTimeout((()=>S((e=>({...e,isCreating:!1,isError:!0})))),3e3)):(S((e=>({...e,isCreating:!0}))),setTimeout((()=>S((e=>({...e,isCreating:!1,isSuccess:!0})))),3e3))),g){var e,t,n,r;let s=null===(e=v.nftImage)||void 0===e?void 0:e.fileCid,b=null===(t=v.nftThumbnailImage)||void 0===t?void 0:t.fileCid,M=null===(n=v.nftBannerImage)||void 0===n?void 0:n.fileCid,O=null===(r=v.dropThumbnailImage)||void 0===r?void 0:r.fileCid;S((e=>({...e,isCreating:!0,isError:!1})));try{var i,o,a,c,u,d;if(Boolean(null===(i=v.nftBannerImage)||void 0===i?void 0:i.fileCid)&&null!==(o=v.nftImage)&&void 0!==o&&o.file&&(null===(a=v.nftImage)||void 0===a?void 0:a.fileBase64)===(null===(c=v.nftThumbnailImage)||void 0===c?void 0:c.fileBase64)&&(null===(u=v.nftImage)||void 0===u?void 0:u.fileBase64)===(null===(d=v.dropThumbnailImage)||void 0===d?void 0:d.fileBase64)){var h;const e=await g(null===(h=v.nftImage)||void 0===h?void 0:h.file);s=null===e||void 0===e?void 0:e.cid,b=null===e||void 0===e?void 0:e.cid,O=null===e||void 0===e?void 0:e.cid}else{var m,C,y,w,x,A,E,_,k;if(null!==(m=v.nftImage)&&void 0!==m&&m.file&&"FLOWTY_DEFAULT_IMAGE"!==(null===(C=v.nftImage)||void 0===C?void 0:C.file.name)){var P;const e=await g(null===(P=v.nftImage)||void 0===P?void 0:P.file);s=null===e||void 0===e?void 0:e.cid}if(null!==(y=v.nftThumbnailImage)&&void 0!==y&&y.file&&"FLOWTY_DEFAULT_IMAGE"!==(null===(w=v.nftThumbnailImage)||void 0===w?void 0:w.file.name)){var D;const e=await g(null===(D=v.nftThumbnailImage)||void 0===D?void 0:D.file);b=null===e||void 0===e?void 0:e.cid}if(!Boolean(null===(x=v.nftBannerImage)||void 0===x?void 0:x.fileCid)&&null!==(A=v.nftBannerImage)&&void 0!==A&&A.file&&"FLOWTY_DEFAULT_IMAGE"!==(null===(E=v.nftBannerImage)||void 0===E?void 0:E.file.name)){var N;const e=await g(null===(N=v.nftBannerImage)||void 0===N?void 0:N.file);M=null===e||void 0===e?void 0:e.cid}if(null!==(_=v.dropThumbnailImage)&&void 0!==_&&_.file&&"FLOWTY_DEFAULT_IMAGE"!==(null===(k=v.dropThumbnailImage)||void 0===k?void 0:k.file.name)){var F;const e=await g(null===(F=v.dropThumbnailImage)||void 0===F?void 0:F.file);O=null===e||void 0===e?void 0:e.cid}}}catch(R){console.log("ERROR uploading creator hub images",R),p("error uploading images",{collectionBannerCid:M,collectionThumbnailCid:b,dropImageCid:O,error:R,nftImageCid:s}),S((e=>({...e,errorMessage:(0,T.getMessageFromError)(R),isCreating:!1,isError:!0})))}Boolean(s)&&Boolean(b)&&Boolean(M)&&Boolean(O)?I(M,b,O,s):(p("ERROR - Collection not submited, missing image",{collectionBannerCid:M,collectionThumbnailCid:b,dropImageCid:O,nftImageCid:s}),f(),l(HT.CustomizeCollectionFirstTab))}},I=async(e,t,n,r)=>{var i,o,a,l,c,u,h,f,m,g;if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK)return void("ERROR_TYPE_MOCK"===s?(S((e=>({...e,isCreating:!0,isError:!1}))),setTimeout((()=>S((e=>({...e,isCreating:!1,isError:!0})))),3e3)):(S((e=>({...e,isCreating:!0}))),setTimeout((()=>S((e=>({...e,isCreating:!1,isSuccess:!0})))),3e3)));const C={collectionBannerImageMediaType:"image/png",collectionDescription:v.collectionDescription,collectionDiscordHandle:v.discordHandle,collectionExternalURL:v.collectionWebsiteURL,collectionInstagramHandle:v.instagramHandle,collectionName:v.collectionName,collectionPageBannerImage:null!==(i=null===(o=v.nftBannerImage)||void 0===o?void 0:o.fileCid)&&void 0!==i?i:String(e),collectionRoyalty:Number(v.royalty),collectionSquareImage:null!==(a=null===(l=v.nftThumbnailImage)||void 0===l?void 0:l.fileCid)&&void 0!==a?a:String(t),collectionSquareImageMediaType:"image/png",collectionTwitterHandle:v.twitterHandle,contractName:N},y={nftData:[],nftDescription:v.collectionDescription,nftEditions:null,nftExternalURL:v.collectionWebsiteURL,nftName:v.collectionName,nftThumbnail:null!==(c=null===(u=v.nftImage)||void 0===u?void 0:u.fileCid)&&void 0!==c?c:String(r),nftTraits:null},w={dropDescription:"",dropMedias:null,dropMinters:[],dropName:"",dropNftType:null,dropThumbnail:null!==(h=null===(f=v.dropThumbnailImage)||void 0===f?void 0:f.fileCid)&&void 0!==h?h:String(n),dropTotalMinted:null},A=[{phaseEndDate:Math.floor(Number(null===(m=v.dropEndDateTime)||void 0===m?void 0:m.dateTime)/1e3),phasePrice:Number(v.mintPrice),phaseStartDate:Math.floor(Number(null===(g=v.dropStartDateTime)||void 0===g?void 0:g.dateTime)/1e3)}];try{var _,k;S((e=>({...e,isCreating:!0,isError:!1})));const e=await d.createOpenEdition({collectionDetails:C,dropDetails:w,nftDetails:y,phaseDetails:A,txAvailableCallback:e=>b(e)});if(4===(null===e||void 0===e?void 0:e.status)){S((e=>({...e,isCreating:!1,isSuccess:!0})));const t=e.events.find((e=>"flow.AccountCreated"===e.type||"flow.AccountContractAdded"===e.type));return t&&(x("/collection/".concat(t.data.address,"/").concat(N,'?orderFilters=%7B"all"%3A%7B%7D%7D&sort=%7B"direction"%3A"desc"%2C"listingKind"%3Anull%2C"path"%3A"blockTimestamp"%7D&page=drop')),E("/collection/".concat(t.data.address,"/").concat(N,"?page=drop"))),await ZT(),void p("Successful storefront listing transaction",{collectionCreatedData:{collectionDetails:C,dropDetails:w,nftDetails:y,phaseDetails:A}})}if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(_=e.toString())&&void 0!==_&&_.includes("Error")||null!==e&&void 0!==e&&null!==(k=e.toString())&&void 0!==k&&k.includes("Declined"))throw new Error(e.errorMessage)}catch(P){S((e=>({...e,errorMessage:(0,T.getMessageFromError)(P),isCreating:!1,isError:!0}))),p("Error storefront listing transaction",{collectionCreatedData:{collectionDetails:C,dropDetails:w,nftDetails:y,phaseDetails:A},err:P})}},R=()=>{m(),S({errorMessage:void 0,isCreating:!1,isError:!1,isSuccess:!1}),b(null),f()},M=()=>{w&&C(w)},O=()=>{C("/user/creator-hub")},j=Boolean(null===(t=v.nftImage)||void 0===t?void 0:t.fileCid)&&Boolean(null===(n=v.nftThumbnailImage)||void 0===n?void 0:n.fileCid)&&Boolean(null===(r=v.nftBannerImage)||void 0===r?void 0:r.fileCid)&&Boolean(null===(o=v.dropThumbnailImage)||void 0===o?void 0:o.fileCid),L=(0,i.useMemo)((()=>{if(c)return{bgColor:"primary",disabled:!1,onClick:D,text:k?(0,a.jsx)("div",{className:"spinner w-[14px] h-[14px] sm:w-[20px] sm:h-[20px] border-4 border-black rounded-full border-t-transparent animate-spin"}):"Sign In With A Different Wallet"};if(!u)return{bgColor:"primary",disabled:!1,onClick:D,text:k?(0,a.jsx)("div",{className:"spinner w-[14px] h-[14px] sm:w-[20px] sm:h-[20px] border-4 border-black rounded-full border-t-transparent animate-spin"}):"Sign In"};const{isCreating:e,isError:t,isSuccess:n}=_;return e||t||n?e?{bgColor:"primary",disabled:!0,onClick:()=>{},text:"Building Collection"}:n?[{bgColor:"white",className:"w-[14rem] text-base",disabled:!1,onClick:M,text:"Visit Drop Page"},{bgColor:"primary",className:"w-[14rem] text-base",disabled:!1,onClick:O,text:"Creator Hub"}]:t?[{bgColor:"white",className:"w-[14rem] text-lg",disabled:!1,onClick:R,text:"Back"},{bgColor:"primary",className:"w-[14rem] text-lg",disabled:!1,onClick:j?()=>I():()=>F(),text:"Try Again"}]:void 0:{bgColor:"primary",disabled:!1,onClick:j?()=>I():()=>F(),text:"Accept And Continue"}}),[_,c,u,I,F,v]);return{collectionPageTwitterURL:A,collectionPageURL:w,collectionState:_,directToDropPage:M,modalNavProps:L,onCloseModal:f,transactionID:y}},qT=e=>{let{modalNavProps:t}=e;return t?Array.isArray(t)?(0,a.jsx)("div",{className:"w-full flex items-center gap-[24px]",children:t.map(((e,t)=>(0,a.jsx)(s,{text:e.text,onClick:e.onClick,variant:"secondary",btnSize:"large",disabled:e.disabled,bgColor:e.bgColor},t)))}):(0,a.jsx)("div",{className:"w-full flex flex-col gap-1",children:(0,a.jsx)(s,{text:t.text,onClick:t.onClick,variant:"secondary",btnSize:"large",disabled:t.disabled,className:"h-[35px] flex items-center justify-center px-4"})}):null},GT=e=>{let{errMessage:t}=e;const{title:n,description:r,swalAlertOptions:o}=(0,Wt.parseError)(null!==t&&void 0!==t?t:"");return(0,i.useEffect)((()=>{if(!o)return;(async()=>{await pa().fire({background:"#031021",color:"#FFFFFF",confirmButtonColor:"#FF6969",icon:"error",showConfirmButton:!0,text:r,timer:5e3})})()}),[o]),(0,a.jsxs)("div",{className:"w-full md:w-[400px] flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[8px]",children:[(0,a.jsx)(ua,{className:"w-[140px] h-[140px]"}),(0,a.jsx)("p",{className:"text-white text-[16px] font-semibold text-center",children:n})]}),(0,a.jsxs)("p",{className:"text-[#F8F9FA] text-center text-[14px] leading-normal font-[400]",children:[(0,a.jsx)("div",{children:r}),(0,a.jsx)(Zn,{text:"Discord",href:T.flowtyDiscordLink})]})]})};var YT=n(64191);const KT=e=>{let{values:t,collectionPageTwitterURL:n}=e;const r=function(e){var t;let{values:n,collectionPageTwitterURL:r}=e,i="";null!==n&&void 0!==n&&n.dropStartDateTime&&(i=mC(new Date(null===n||void 0===n?void 0:n.dropStartDateTime.dateTime),"UTC","MMMM do, yyyy 'at' h:mm a 'UTC'"));const o=encodeURIComponent(null!==(t=null===n||void 0===n?void 0:n.collectionName)&&void 0!==t?t:""),a=encodeURIComponent(null!==r&&void 0!==r?r:"");return"https://twitter.com/intent/tweet?text=I%20just%20created%20a%20new%20collection%20called%20%22".concat(o,"%22%20using%20the%20NFT%20Launchpad%20on%20%40flowty_io%21%20\ud83c\udfa8%0A%0AMinting%20goes%20live%20on%20").concat(i,"%20here%3A%20").concat(null===a||void 0===a?void 0:a.trim()," ")}({collectionPageTwitterURL:n,values:t});return(0,a.jsx)(va,{href:r})},QT=e=>{let{transactionID:t,values:n,collectionPageTwitterURL:r,isMainnet:o,mixPanelFn:s}=e;const[l,c]=(0,i.useState)(!1),[u,d]=(0,i.useState)(null);return(0,i.useEffect)((()=>{(async()=>{try{const e=await hn("https://storage.googleapis.com/flowty-images/drops/animation.json",s);d(e)}catch(e){s("Error fetching animation data",e)}})()}),[]),(0,a.jsxs)("div",{className:"w-full flex flex-col items-center justify-center gap-[8px] font-montserrat",children:[l?(0,a.jsx)("svg",{className:"w-[7.75rem] h-[7.75rem]",width:"124",height:"124",viewBox:"0 0 124 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.9999 111.6C89.3932 111.6 111.6 89.3933 111.6 62C111.6 34.6067 89.3932 12.4 61.9999 12.4C34.6066 12.4 12.3999 34.6067 12.3999 62C12.3999 89.3933 34.6066 111.6 61.9999 111.6ZM84.984 53.9841C87.4052 51.5628 87.4052 47.6372 84.984 45.216C82.5627 42.7947 78.6371 42.7947 76.2158 45.216L55.7999 65.6319L47.784 57.616C45.3627 55.1947 41.4371 55.1947 39.0158 57.616C36.5946 60.0372 36.5946 63.9628 39.0158 66.3841L51.4158 78.7841C53.8371 81.2053 57.7627 81.2053 60.184 78.7841L84.984 53.9841Z",fill:"#04E5A3"})}):(0,a.jsx)(YT.A,{eventListeners:[{callback:()=>c(!0),eventName:"complete"}],options:{animationData:u,autoplay:!0,loop:!1,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}},height:108.5,width:108.5}),(0,a.jsx)("div",{className:"text-[16px] font-semibold text-[#F8F9FA]",children:"Transaction Successful!"}),(0,a.jsx)(Wn,{transactionID:t,isMainnet:o}),r&&(0,a.jsx)(KT,{collectionPageTwitterURL:r,values:n})]})};var XT;function JT(){return JT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JT.apply(null,arguments)}function $T(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",JT({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,XT||(XT=i.createElement("g",{id:"Icon/Solid/exclamation"},i.createElement("path",{id:"Icon",fillRule:"evenodd",clipRule:"evenodd",d:"M7.43135 2.78862C8.1195 1.56525 9.88088 1.56525 10.569 2.78862L15.5913 11.7171C16.2662 12.917 15.3991 14.3996 14.0225 14.3996H3.97791C2.60123 14.3996 1.73414 12.917 2.40908 11.7171L7.43135 2.78862ZM9.90011 11.6997C9.90011 12.1967 9.49717 12.5997 9.00011 12.5997C8.50305 12.5997 8.10011 12.1967 8.10011 11.6997C8.10011 11.2026 8.50305 10.7997 9.00011 10.7997C9.49717 10.7997 9.90011 11.2026 9.90011 11.6997ZM9.00011 4.49968C8.50305 4.49968 8.10011 4.90263 8.10011 5.39968V8.09968C8.10011 8.59674 8.50305 8.99968 9.00011 8.99968C9.49717 8.99968 9.90011 8.59674 9.90011 8.09968V5.39968C9.90011 4.90263 9.49717 4.49968 9.00011 4.49968Z",fill:"#FF6E25"}))))}const eS=i.forwardRef($T),tS=(n.p,()=>(0,a.jsxs)("div",{className:"flex flex-col space-y-10",children:[(0,a.jsx)("div",{className:"text-[#DEE2E6]",children:"This will finalize the creation of your NFT collection on the Flow blockchain. Please ensure that all details are correct before proceeding. Once submitted, you will not be able to edit the collection or minting details."}),(0,a.jsxs)("div",{className:"text-[#FF6E25] px-3 py-2 flex space-x-3 items-center bg-[#ffffff14] rounded-lg",children:[(0,a.jsx)("div",{children:(0,a.jsx)(eS,{})}),(0,a.jsx)("div",{className:"text-sm",children:"Once you submit your collection, you will no longer be able to make any edits or changes"})]})]})),nS=()=>(0,a.jsxs)("div",{className:"flex flex-col space-y-8",children:[(0,a.jsx)("div",{className:"font-bold text-[18px] text-white",children:"Non-Dapper Wallet Required"}),(0,a.jsx)("div",{className:"text-[#DEE2E6]",children:"To complete the creation of this NFT Collection, a non-Dapper wallet is required"}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("div",{className:"font-montserrat text-[14px] mb-6 text-white uppercase font-bold",children:"Examples of Supported Wallets:"}),(0,a.jsxs)("div",{className:"flex items-center space-x-4 text-[#CED4DA]",children:[(0,a.jsx)("div",{className:"",children:(0,a.jsx)("img",{src:ge,className:"img-fluid",alt:"Blocto Logo"})}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAkCAYAAAAAa43JAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAwOSURBVHgB7VsJcFRVFj2/s7AECCRhJyEB2WQxFDIEEGcIm8JMoSKIDAJS1ICyiKXWCFGBCJbCKIUKyCIQhWGRQFAUEAQcFIPAjKNxWIQKmxBiQsi+9597Xuf//HTS3WlqnFCSU3X7//ffkt/33Xffufd1gFrUCDR4CV3XA+TSXeTesms7kSARG+4MFIpcFzktclLknyLnNU3TvRmk2ooXhUfKZYrICJG2uIVJ+42iWOS4SLzIWpmArOp08qg8UXiYXF4VGSvij1q4Q5pIjMg6mYASdw3dKl6UHi2XD0VaoRbeYKfIDFH+VVcNXCpelP4iHJbuW6myuAj6he+gX/wRyEoF8nPEw/sAdRtCa90JWtjdQIt2uMNxVmSiKD+xqsoqFS9Kj5XLy5Uq8rOhJyZAP7wRKMiBLt01+dQdnczh+AzN20H700xoHfvgDoZYJHqL8k87V1RSvCh9jFw2wcnS9WO7YP8iDlpmKkvQK3aqNJiuSUlEa9sDtjFzgeA2qA7k7+PKlSvw9/dH8+bNUV3cvHkTN27cQFhYGHx9fXEb4SeRnqL8XOvDChRQvnRPuayBVekFYuWfLIM94W/iVn5RKjcsnJat6eVTYEyHrmbAMQ36pSSUrp4J/ey3qA5ef/11DBkyBH379lX3uu6ZpR05cgTDhg3DoEGDMGLECOTl5eE2QgeRePkeFYiJM/deJNLI+kDfuwr2o/FK0R/8cB1//08aSuxlytANZeum1Zug3susHjkZsG9bBD3533CHlJQUrFmzBgUFBbDb7diwYYOyfk9YvHgxrl+/ribpzJkz2LVrF24zDBF5xPrAVHwZg3nQWqkn7oT92MdKqR//lIFOMRtw7+IEzLkYiBMpdF9K86b1G0Vq/fi1bCw464OdZ29IUf5MYS7sW2XryPzF5dvRVVDhBjgB2dnZ8IS0tDS35dsA1PPLouOG1gcGZlpb6ulXYP9sZZkl60gt8UHnzp3RpUsXLNm8G+eiZ+PFb2/i6M9ZSPolD0lp+fgxLQ/7L2RizvFMnP79LMTGH8aBgpByyxf2Y/9sOW4FhYWFWLduHZ5++mls2bKlWn1KS0uxfv16zJgxAx999BFqGEL1MMgoKF8uMxEKx3IwQReD4gLeKT9eKE3r1Kmj6nx8fPDnSZMRPexBJCUlIT03FyUlJaJbDcHBwZgbGYnGjRurtrYSGUNr4LB60b1+JhF66gVozcLhDd5++20sX+6YtD179sBms2HMmDFu+7D9W2+9pe53796NnJwcPPnkk6hBTBRJ4I2xiT4hEmBW37gK/fQ3oiW7afHpgaEICAioMErLli2VuEOBDFEqQ/hoBucRp7R3DbQJi+AN9u3bZ97Tl+/fv9+j4p19Pa2+hhV/n7x7I6YVDFcTZa3Vz0vep7jQLF/LKUKrqKG4FTz+3Dz843JWBa6ppwjDyr0JbxASElKh3LRpU499nNt4Q09/JQSLdOONr8wAld/dWqsnfweDqdDNvHMyBeu3x2L+qwvhLehni7IzcHhSH3Rv3sAxbl6Ww91ERFZ7nPnz52PatGm4cOECIsWVzZ4922OfmJgYPPvsszh37pzq88Ybb7hsy009V1wmVzXdmCcYzKt+/frwAjQ/+vmjdDXURmNrLZViKJ1Xe8NgxMWVv/SOHTsU7asKDz/8MO666y4sWbLEfBbg74OwxnXLx6e7SbvileK5sR8+fFhtssZe4wndu3dXLqmoqKjKPnRZX3/9tdoLjh07phRZt25d9OnTR01sz549K7TnHvH+++9j586dygCIiIgIFUPMnDmzkit2gQh+UPHUSMWsY76DwjmSAPLZoj0eeOABs5r3LVq0wMqVK03qxmiRAQwnpEmTJqqe97Seu0VpGflpCKzjq0ZU7j7fM010RnJyMi5duqSYVbNmzarV5/Lly6pfjx491HsZKC4uVisgLi5O3RugJX/55Zc4efIkXnjhBUycOFE956qZPn26ihOc3+m9995TGz7HCg8P9/RKilJWHVvr5W6Gt6W+la0lNjYWs2bNwqlTpxT/btOmDUJDQ3Ho0CEVzNACuMxpVfwi1zfNRXgTY1l6n8r/6quv8NRTTylezw198+bNHr+ktU9gYCASEhKUhRJU1tq1a132pXUvXbpURdE0Km7KnEQDfMYVYsQdFy9eVJPEFcZ0hxvYjI8iOE5VylGvgal82r0/KWEZaOGZmZnqnhvegAEDMHLkSPTq1Ut9wYULF2LZsmXKX5Je5ufnq2VeWGpEtmVKr98I3oDc3Qimrl27ppa7J2zdutXsw3c26Cit16p0rkoqbd68eRVWNl0UXdv27dsrKH3UqFE4cOAADh48iAkTJih6TVD57iazDOqghBbPEDRDxFyHWtO2kmM5BSMODcpNMX0r/RhdCK3dGe3bt1d5k/T0dMXjuSzpC7mU29T3g1J6Ga3UglvDG3ACrahOPsa5jVGmVRrGQ7z77rsYPny4uqdlb9y4EUePHsWjjz6qVoh1kqdOnYo5c+aY5QULFigDo5shuBInT56s9goXuMgPW9lJyY/WGq1dpMO3O0ro7JOF77//XpXq1auH/v37Y9WqVVV+eQZSJ06cUPdc2lyqZ374Du3oZpTSRfzrQmvVETUFWrwBUkyrlRPjx4/HihUrEB0drVzJ+fPnzbrRo0dXaEulW5+lpqZWmNQqcIgfBm+qkKzX2t8L3a9OWWoX6NeyPg7GbzLr6VYGDx6slM/AhsktLktSR7qYq1evqiU3dOhQ9eJZSd8Is/E1UwdaeA+gjlc07H8K57Qx39sVnKllVW2tGVTWu8mokon8S41b9oDHe+XZKXEDWpf+pqIa1/ND27P7Eb+9PN9Bt8LNkzQvMTERmzZtUtlEUr6uXbuqqJJ0bPnSNzEyMLs8X+PrB+0P41GTICsyQCJA12KAiouPj8czzzyDzz//XD1r1678NI1U2hnWZ9z4g4KC4AJHjMNwNfVSuCyztFduhxsttAenqbyKEcGO7hiE2BUx0taGR2RzMdC2bVslVSFuw3oEJG7FPZGtTDejdYqCJvS0JtGvXz80aNBAMRfitddeU+nnDh06qD2K1JArlffdunVTOX4SBoL7Gy2amypXg2FwBrjxumE1Hxg31jX3JqyKDwmDbcR02HctLbNWG17p2wr741/FnL0JGDj6CcVo6POt4EuRxu3bEof7cpMwxFC69NfqNYJt8GS4gqZpLp8511ldgHOdqz5GuWPHjnj++edVNExw82dg5Axu6HSh3Cy3bdum2BQnZPXq1UqcwdOvKVOmwAW4UXxqFHwtL3VQlLYHlpy81ncUtJRk6Mc/UZZuFxnSPlhi3mv4ZnMM3nmnBKVBoQ76KdDzMmFPvYSoFgF4JSIIPrYQU+nw84dt1F/lmCXE1YupjY7C5U+QexuriZZHCmeA7swALZiUzwAjVqONtQ8NxcCkSZPUcSGzntYzAFMxsg+QxxuxAscno2E2tiqwHS2fK8kFYkTHZqTmY60RC+Co40TMiEnrJIfVBbnQfz7tsNoyCWtcD/1aNUT/JqXo1yBfyQBxbQNCAxERVN9hkYZ7kZSD7aHnJEVwD9yBq4c+kpszI9+XXnpJ7SEEI09yaVrg2LFjFfMwNklOCiNalh977DG1v5Bbcx/iJLIPUxm0XD8/P/PvRUVFoXfv3or+0rpZx8TawIEDVTxy//33m20bNWqkWA6RkZGh6DVdSuvWrTFu3DgVA9DiXYA/dlok1NPcmat92G0//qnj1wU56aqbrgiPVj6EuthIUB0FXmw+0EK7isuaIcGA+/RxTYOK5ASRf1snpypwhZAy8spV6eFwnQFRtFh7ivWhq593MA05t1K9nCDpiTtgT5RcfiEDGl1ZtSOno5UzF5ZaREAbNAlaeCQdMu5QMGz+XbV+3kGI4jmF80QYovlUalBSBP2KjCWip12iuUgrUW7DEGhNmkPr0Fvi4Nvbwv8PSBYZ59UPmgzIBDB3TApU+xM+78DjssdF6RmuGrj1AdLxC7lwR2Qiogi18ARm0v4i8kd3Sie8+Zm2xPmYKvIQaleAFaSITE4xrP9QFF6t35bcyj8mcMvvBcc/JvD8MByOs8Tb6ndzvxLII5gZZKDBH6Uy73JL/5hQixrCfwFUXhLdeybqswAAAABJRU5ErkJggg==",className:"img-fluid",alt:"Lilico Logo"})})]})]})]}),rS=e=>{let{isOpen:t,onCloseModal:n,flowty:r,isLoggedUser:o,loggedIsDapper:s=!1,creatorHubId:l,logOutFn:c,mixPanelFn:u,changeSelectedFormTab:d,resetForm:h,uploadImageFn:p,values:f}=e;const{collectionState:m,modalNavProps:g,transactionID:v,collectionPageTwitterURL:C}=WT({changeSelectedFormTab:d,creatorHubId:l,flowty:r,isLoggedUser:o,logOutFn:c,loggedIsDapper:s,mixPanelFn:u,onCloseModal:n,resetForm:h,uploadImageFn:p,values:f}),{isCreating:y,isError:b,isSuccess:w}=m,x="mainnet"===r.config.network,A=(0,i.useMemo)((()=>{if(!C)return null;return"https://".concat(x?"flowty.io":"testnet.flowty.io").concat(C)}),[C]),E=(0,i.useMemo)((()=>(0,a.jsx)("p",{className:"text-lg md:text-2xl leading-6 text-white font-black",children:s?"Wallet Not Supported":o?y||b||w?y?"Creating Collection":w?"Collection Created":b?"Collection Creation Failed":"Create Collection":"Confirm Collection Creation":"Wallet Required"})),[y,b,w,s,o]);return(0,a.jsx)(Nm.e,{appear:!0,show:t,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",onClose:()=>{w&&(ZT(),h(),d(HT.WelcomeCreatorHubTab)),n()},children:[(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{"data-testid":"creator-hub-modal",className:"fixed max-md:top-[40px] inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center text-center",children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"w-full md:w-[511px] max-h-[500px] h-full flex flex-col transform rounded-lg bg-[#04070B] text-left align-middle shadow-xl transition-all border border-[#495057]",children:[(0,a.jsxs)(Fm.l.Title,{as:"div",className:"border-b border-[#495057] px-[40px] py-[30px] md:py-8 w-full flex justify-between items-center",children:[E,(0,a.jsx)(Im.A,{onClick:n,className:"w-6 h-6 md:h-8 md:w-8 cursor-pointer fill-white"})]}),(0,a.jsx)("div",{className:"w-full py-[32px] px-[40px]",children:!o||s?(0,a.jsx)(nS,{}):(0,a.jsxs)(a.Fragment,{children:[!y&&!w&&!b&&(0,a.jsx)(tS,{}),y&&(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(ga,{transactionID:v,isMainnet:x})}),w&&(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(QT,{isMainnet:x,transactionID:v,values:f,collectionPageTwitterURL:A,mixPanelFn:u})}),b&&(0,a.jsx)("div",{className:"h-full flex flex-col items-center justify-center",children:(0,a.jsx)(GT,{errMessage:m.errorMessage})})]})}),(0,a.jsx)("div",{className:"h-full w-full flex justify-center items-center border-t border-[#495057] px-[40px] py-[18px]",children:(0,a.jsx)(qT,{modalNavProps:g})})]})})})})]})})},iS={activeConfirmationPreviewTab:"",changeSelectedFormTab:()=>{},collectionUrlPathname:"",confirmationPageMobilePreviewTabs:[],confirmationPagePreviewTabs:[],errors:{},formTab:HT.WelcomeCreatorHubTab,handleSubmit:()=>{},hasViewedDropPage:!1,mixPanelFn:(e,t)=>{},moveToPreviousTab:()=>{},onConfirmationPageTabClick:()=>{},setFieldError:(e,t)=>{},setHasViewedDropPage:()=>{},touched:{}},oS=(0,i.createContext)(iS),aS=e=>{let{children:t,mixPanelFn:n,loggedUser:r,flowtyMarketplaceFee:o,uploadIPFSImage:s,values:l,spotPrice:c,errors:u,formTab:d,changeSelectedFormTab:h,moveToPreviousTab:p,handleSubmit:f,setFieldError:m,touched:g,promotion:v}=e;const{activeConfirmationPreviewTab:C,confirmationPagePreviewTabs:y,confirmationPageMobilePreviewTabs:b,onConfirmationPageTabClick:w}=(()=>{const e=sb(),t="xs"===e||"mobile"===e,[n,r]=(0,i.useState)(t?"Collection":"Collection Page"),o=["Collection Page","Drop Page"],a=["Collection","Drop"],s=e=>{r(e)};return(0,i.useMemo)((()=>({activeConfirmationPreviewTab:n,confirmationPageMobilePreviewTabs:a,confirmationPagePreviewTabs:o,onConfirmationPageTabClick:s})),[n,o])})(),[x,A]=(0,i.useState)(!1),E=l.collectionName.split(" ").map(((e,t)=>0===t?e:e.charAt(0).toUpperCase()+e.slice(1))).join("");return(0,a.jsx)(oS.Provider,{value:{activeConfirmationPreviewTab:C,changeSelectedFormTab:h,collectionUrlPathname:"".concat(null!==r&&void 0!==r?r:"your_address","/").concat(E),confirmationPageMobilePreviewTabs:b,confirmationPagePreviewTabs:y,errors:u,flowtyMarketplaceFee:o,formTab:d,handleSubmit:()=>{zT(l,Boolean(r)),f()},hasViewedDropPage:x,loggedUser:r,mixPanelFn:n,moveToPreviousTab:()=>{zT(l,Boolean(r)),p()},onConfirmationPageTabClick:w,promotion:v,setFieldError:m,setHasViewedDropPage:A,spotPrice:c,touched:g,uploadImage:async e=>{try{return await s(e)}catch(t){return n("error uploading image",{error:t}),console.error("error uploading image",t),null}}},children:t})},sS=()=>(0,i.useContext)(oS),lS=e=>{let{promotionId:t,title:n,message:r,primaryButton:o,secondaryButton:l,image:c,handleClose:u,isVisible:d}=e;const h=sb(),p=(0,qt.zy)(),f=(0,qt.Zp)();return(0,a.jsx)(Nm.e,{appear:!0,show:d,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",static:!0,onClose:()=>null,children:[(0,a.jsx)(Nm.e.Child,{enter:"transition duration-000 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",as:i.Fragment,children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{className:"fixed w-screen max-md:h-full max-md:overflow-hidden inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center",children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-1000",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"shadow-xl max-md:min-h-[100svh] max-md:h-[100svh] flex flex-col w-[90vw] h-full md:h-auto max-md:w-full md:w-[600px] lg:w-[764px] bg-[#04070B] md:rounded-[10px] md:border border-[#343A40]",children:[(0,a.jsxs)(Fm.l.Title,{as:"div",className:"flex flex-row justify-between px-[25px] py-[20px] 3xl:px-[39px] 3xl:py-[36px]",children:[(0,a.jsx)("h2",{className:"text-white font-montserrat text-12px md:text-[20px] 3xl:text-[24px] font-black leading-none [text-shadow:0px_4px_4px_rgba(0,0,0,0.25)]",children:n}),(0,a.jsx)(ev,{className:"cursor-pointer w-[22px] h-[22px]",onClick:u})]}),(0,a.jsxs)("div",{className:"max-md:flex-grow overflow-y-scroll md:max-h-[75vh] 3xl:max-h-full flex flex-col py-4 px-[25px] md:py-[36px] md:px-[38px] gap-[10px] md:gap-[40px] border border-r-0 border-l-0 border-t-solid [border-top-color:#343A40] border-b-solid [border-bottom-color:#343A40]",children:[(0,a.jsx)("img",{src:c,alt:"promotion",className:"w-auto h-auto","aria-label":t}),r]}),(0,a.jsxs)("div",{className:"flex md:h-full justify-center items-center gap-[24px] py-[20px] 3xl:py-[30px] px-[25px] md:px-[38px] 3xl:px-[24px]",children:[l&&(0,a.jsx)(s,{className:"w-full text-[10px] py-0 3xl:text-[14px]",text:"xs"===h?null===l||void 0===l?void 0:l.mobileLabel:null===l||void 0===l?void 0:l.label,variant:"secondary",bgColor:"white",onClick:()=>{window.open(null===l||void 0===l?void 0:l.redirectUrl)}}),o&&(0,a.jsx)(s,{className:"w-full text-[10px] py-0 3xl:text-[14px]",text:"xs"===h?o.mobileLabel:null===o||void 0===o?void 0:o.label,variant:"primary",onClick:()=>{"/create"!==p.pathname?(f(null===o||void 0===o?void 0:o.redirectUrl),u()):u()}})]})]})})})})]})})};var cS,uS,dS;function hS(){return hS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hS.apply(null,arguments)}function pS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",hS({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,cS||(cS=i.createElement("path",{d:"M23.4549 12.6984C23.4549 11.3221 23.2099 10.0025 22.7607 8.78178C22.4537 12.3786 20.5361 14.2261 18.5325 13.3658C16.6556 12.5595 17.9204 9.41652 18.0138 7.91677C18.1714 5.37447 18.0058 2.46441 13.3878 0.0449219C15.3067 3.71587 13.61 5.99653 11.8306 6.13536C9.85633 6.28954 8.04822 4.43871 8.71566 1.43521C6.55448 3.02773 6.49174 5.7082 7.15851 7.44222C7.85399 9.24966 7.13048 10.7514 5.4345 10.9183C3.53896 11.1052 2.48573 8.88857 3.45686 5.35645C1.77624 7.33543 0.761719 9.89842 0.761719 12.6984C0.761719 18.965 5.84165 24.0449 12.1083 24.0449C18.3749 24.0449 23.4549 18.965 23.4549 12.6984Z",fill:"url(#paint0_linear_8414_6714)"})),uS||(uS=i.createElement("path",{d:"M19.0459 16.0347C19.1447 18.0931 17.3366 18.9 16.3634 18.5102C14.9578 17.9476 15.3349 16.9811 14.9731 14.9788C14.6114 12.9765 13.2211 11.5862 11.1634 10.9741C12.6651 15.2011 10.3311 16.7589 9.10763 17.0372C7.85817 17.3215 6.60271 17.0365 6.45921 14.3627C5.00151 15.8138 4.09912 17.8214 4.09912 20.04C4.09912 20.2857 4.11447 20.5273 4.13583 20.7675C6.18489 22.7926 8.99951 24.0447 12.1085 24.0447C15.2174 24.0447 18.032 22.7926 20.0811 20.7675C20.1025 20.5273 20.1178 20.2857 20.1178 20.04C20.1178 18.5803 19.728 17.2127 19.0459 16.0347Z",fill:"#031021"})),dS||(dS=i.createElement("defs",null,i.createElement("linearGradient",{id:"paint0_linear_8414_6714",x1:.761719,y1:12.0449,x2:23.4549,y2:12.0449,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#FF9E3F"}),i.createElement("stop",{offset:1,stopColor:"#D24E65"})))))}const fS=i.forwardRef(pS),mS=(n.p,e=>{let{onClick:t}=e;return(0,a.jsxs)("button",{onClick:t,className:"w-fit cursor-pointer flex items-center gap-[13.398px] rounded-[4.466px] bg-[#FFFFFF0A] border-[1.117px] border-[#FF9E3F] p-[6.699px_13.398px]",children:[(0,a.jsx)(fS,{className:"w-[22.693px] h-[24px]"})," ",(0,a.jsx)("div",{className:"font-montserrat text-[13.398px] font-semibold leading-[17.864px]",children:(0,a.jsx)("span",{style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #FF9E3F 0%, #D24E65 100%)",backgroundClip:"text"},children:"20K FLOW Giveaway"})})]})}),gS=e=>{let{promotion:t}=e;const[n,r]=(0,i.useState)(!1),o=()=>{r((e=>!e))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(mS,{onClick:o}),(0,a.jsx)(lS,{promotionId:null===t||void 0===t?void 0:t.promotionId,title:null===t||void 0===t?void 0:t.title,message:null===t||void 0===t?void 0:t.message,primaryButton:null===t||void 0===t?void 0:t.primaryButton,secondaryButton:null===t||void 0===t?void 0:t.secondaryButton,image:null===t||void 0===t?void 0:t.image,handleClose:o,isVisible:n})]})};var vS,CS,yS;function bS(){return bS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bS.apply(null,arguments)}function wS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",bS({xmlns:"http://www.w3.org/2000/svg",width:32,height:33,viewBox:"0 0 32 33",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,vS||(vS=i.createElement("path",{d:"M11.2 5.19824C10.3164 5.19824 9.60001 5.91459 9.60001 6.79824C9.60001 7.6819 10.3164 8.39824 11.2 8.39824H20.8C21.6837 8.39824 22.4 7.6819 22.4 6.79824C22.4 5.91459 21.6837 5.19824 20.8 5.19824H11.2Z",fill:"#F8F9FA"})),CS||(CS=i.createElement("path",{d:"M6.40001 11.5982C6.40001 10.7146 7.11636 9.99824 8.00001 9.99824H24C24.8837 9.99824 25.6 10.7146 25.6 11.5982C25.6 12.4819 24.8837 13.1982 24 13.1982H8.00001C7.11636 13.1982 6.40001 12.4819 6.40001 11.5982Z",fill:"#F8F9FA"})),yS||(yS=i.createElement("path",{d:"M3.20001 17.9982C3.20001 16.2309 4.6327 14.7982 6.40001 14.7982H25.6C27.3673 14.7982 28.8 16.2309 28.8 17.9982V24.3982C28.8 26.1656 27.3673 27.5982 25.6 27.5982H6.40001C4.6327 27.5982 3.20001 26.1656 3.20001 24.3982V17.9982Z",fill:"#F8F9FA"})))}const xS=i.forwardRef(wS);n.p;var AS;function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ES.apply(null,arguments)}function _S(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ES({xmlns:"http://www.w3.org/2000/svg",width:32,height:33,viewBox:"0 0 32 33",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,AS||(AS=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 29.1986C23.0693 29.1986 28.8 23.4679 28.8 16.3986C28.8 9.32939 23.0693 3.59863 16 3.59863C8.93077 3.59863 3.20001 9.32939 3.20001 16.3986C3.20001 23.4679 8.93077 29.1986 16 29.1986ZM17 9.99863C17 9.44635 16.5523 8.99863 16 8.99863C15.4477 8.99863 15 9.44635 15 9.99863V16.3986C15 16.6638 15.1054 16.9182 15.2929 17.1057L19.8184 21.6312C20.2089 22.0217 20.8421 22.0217 21.2326 21.6312C21.6231 21.2407 21.6231 20.6075 21.2326 20.217L17 15.9844V9.99863Z",fill:"#F8F9FA"})))}const TS=i.forwardRef(_S);n.p;var SS,kS,PS;function DS(){return DS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DS.apply(null,arguments)}function NS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",DS({xmlns:"http://www.w3.org/2000/svg",width:32,height:33,viewBox:"0 0 32 33",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,SS||(SS=i.createElement("path",{d:"M13.4934 12.2672C13.7411 12.1021 14.047 11.9545 14.4 11.8402L14.4 14.557C14.047 14.4428 13.7411 14.2952 13.4934 14.1301C12.9108 13.7417 12.8 13.3809 12.8 13.1986C12.8 13.0164 12.9108 12.6556 13.4934 12.2672Z",fill:"#F8F9FA"})),kS||(kS=i.createElement("path",{d:"M17.6 20.957L17.6 18.2403C17.953 18.3545 18.259 18.5021 18.5066 18.6672C19.0892 19.0556 19.2 19.4164 19.2 19.5986C19.2 19.7809 19.0892 20.1417 18.5066 20.5301C18.259 20.6952 17.953 20.8428 17.6 20.957Z",fill:"#F8F9FA"})),PS||(PS=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 29.1986C23.0693 29.1986 28.8 23.4679 28.8 16.3986C28.8 9.32939 23.0693 3.59863 16 3.59863C8.93077 3.59863 3.20001 9.32939 3.20001 16.3986C3.20001 23.4679 8.93077 29.1986 16 29.1986ZM17.6 8.39863C17.6 7.51498 16.8837 6.79863 16 6.79863C15.1164 6.79863 14.4 7.51498 14.4 8.39863V8.54582C13.4055 8.7326 12.4856 9.09315 11.7184 9.60461C10.5637 10.3744 9.60001 11.6136 9.60001 13.1986C9.60001 14.7837 10.5637 16.0229 11.7184 16.7927C12.4856 17.3041 13.4055 17.6647 14.4 17.8514L14.4 20.9574C13.7744 20.7543 13.3107 20.4497 13.0507 20.15C12.4716 19.4826 11.461 19.411 10.7936 19.9901C10.1262 20.5693 10.0546 21.5798 10.6337 22.2472C11.5337 23.2844 12.8953 23.968 14.4 24.2508L14.4 24.3986C14.4 25.2823 15.1163 25.9986 16 25.9986C16.8836 25.9986 17.6 25.2823 17.6 24.3987L17.6 24.2514C18.5946 24.0647 19.5145 23.7041 20.2817 23.1927C21.4364 22.4229 22.4 21.1837 22.4 19.5986C22.4 18.0136 21.4363 16.7744 20.2817 16.0046C19.5145 15.4931 18.5946 15.1326 17.6 14.9458L17.6 11.8398C18.2256 12.043 18.6894 12.3476 18.9494 12.6472C19.5285 13.3147 20.539 13.3862 21.2065 12.8071C21.8739 12.228 21.9455 11.2175 21.3663 10.55C20.4664 9.51282 19.1047 8.82928 17.6 8.54641V8.39863Z",fill:"#F8F9FA"})))}const FS=i.forwardRef(NS);n.p;var IS;function RS(){return RS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RS.apply(null,arguments)}function MS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",RS({xmlns:"http://www.w3.org/2000/svg",width:32,height:33,viewBox:"0 0 32 33",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,IS||(IS=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0693 2.06494H15.9307C14.7327 2.0649 13.7337 2.06488 12.9407 2.17149C12.1036 2.28404 11.3479 2.5316 10.7406 3.13889C10.1333 3.74618 9.88575 4.50192 9.7732 5.33897C9.69678 5.90746 9.67515 7.2669 9.66904 8.43249C6.97271 8.52056 5.3538 8.83532 4.22875 9.96037C2.66666 11.5225 2.66666 14.0367 2.66666 19.0649C2.66666 24.0932 2.66666 26.6075 4.22875 28.1695C5.79084 29.7316 8.305 29.7316 13.3333 29.7316H18.6667C23.6949 29.7316 26.2092 29.7316 27.7712 28.1695C29.3333 26.6075 29.3333 24.0932 29.3333 19.0649C29.3333 14.0367 29.3333 11.5225 27.7712 9.96037C26.6461 8.83532 25.0273 8.52056 22.3309 8.43249C22.3248 7.2669 22.3032 5.90746 22.2268 5.33897C22.1143 4.50192 21.8667 3.74618 21.2593 3.13889C20.6521 2.5316 19.8964 2.28404 19.0593 2.17149C18.2663 2.06488 17.2673 2.0649 16.0693 2.06494ZM20.3305 8.40078C20.3245 7.27192 20.3053 6.05704 20.2447 5.60548C20.1619 4.99018 20.0189 4.72686 19.8452 4.5531C19.6715 4.37934 19.4081 4.23638 18.7928 4.15366C18.1488 4.06708 17.2853 4.06494 16 4.06494C14.7147 4.06494 13.8512 4.06708 13.2072 4.15366C12.5919 4.23638 12.3286 4.37934 12.1548 4.5531C11.9811 4.72686 11.8381 4.99018 11.7554 5.60548C11.6947 6.05704 11.6755 7.27192 11.6694 8.40078C12.1913 8.39828 12.7451 8.39828 13.3333 8.39828H18.6667C19.2549 8.39828 19.8087 8.39828 20.3305 8.40078ZM16 12.7316C16.5523 12.7316 17 13.1793 17 13.7316V13.7452C18.4517 14.1109 19.6667 15.2556 19.6667 16.8427C19.6667 17.3949 19.2189 17.8427 18.6667 17.8427C18.1144 17.8427 17.6667 17.3949 17.6667 16.8427C17.6667 16.3307 17.0989 15.6205 16 15.6205C14.9011 15.6205 14.3333 16.3307 14.3333 16.8427C14.3333 17.3548 14.9011 18.0649 16 18.0649C17.8465 18.0649 19.6667 19.3447 19.6667 21.2872C19.6667 22.8743 18.4517 24.0189 17 24.3847V24.3983C17 24.9505 16.5523 25.3983 16 25.3983C15.4477 25.3983 15 24.9505 15 24.3983V24.3847C13.5483 24.0189 12.3333 22.8743 12.3333 21.2872C12.3333 20.7349 12.781 20.2872 13.3333 20.2872C13.8856 20.2872 14.3333 20.7349 14.3333 21.2872C14.3333 21.7992 14.9011 22.5093 16 22.5093C17.0989 22.5093 17.6667 21.7992 17.6667 21.2872C17.6667 20.7751 17.0989 20.0649 16 20.0649C14.1535 20.0649 12.3333 18.7853 12.3333 16.8427C12.3333 15.2556 13.5483 14.1109 15 13.7452V13.7316C15 13.1793 15.4477 12.7316 16 12.7316Z",fill:"#F8F9FA"})))}const OS=i.forwardRef(MS),jS=(n.p,()=>{const{handleSubmit:e,promotion:t}=sS();return(0,a.jsx)("div",{className:"w-full container creator-hub-wrapper bg-[#04070B] flex flex-col gap-12 justify-between max-lg:pt-[92px]",children:(0,a.jsxs)("div",{className:"flex h-full overflow-scroll",children:[(0,a.jsx)("div",{className:"lg:hidden w-full fixed top-[-60px] left-0 bg-cover bg-no-repeat bg-center max-lg:min-h-[200px] justify-center z-4",style:{backgroundImage:"url(https://storage.googleapis.com/flowty-images/drops/mobileBgCreatorHub.webp)",backgroundPositionY:"bottom"}}),(0,a.jsxs)("div",{className:"w-fit flex items-center gap-[180px] 3xl:gap-[250px] m-auto",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[30px] 3xl:gap-[40px] w-fit max-w-[374px] tablet:max-w-max",children:[(0,a.jsx)("div",{className:"flex flex-col gap-[30px] 3xl:gap-[40px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-[12px]",children:[t&&t.length>0&&(0,a.jsx)(gS,{promotion:t[0]}),(0,a.jsxs)("h1",{className:"text-white font-bold text-[24px] tablet:text-[34px] 3xl:text-[40px] leading-10 3xl:leading-tight",style:{WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",background:"linear-gradient(90deg, #FFF 0%, #AEAEAE 100%)",backgroundClip:"text"},"data-testid":"welcome-to-flowty",children:["Welcome to Flowty","'","s Self-",(0,a.jsx)("br",{}),"Service NFT Launchpad!"]}),(0,a.jsxs)("p",{className:"text-[12px] 3xl:text-[14px] text-[#CED4DA] font-semibold leading-5",children:["Whether you are an experienced or a first-time NFT creator, you can"," ",(0,a.jsxs)("span",{className:"font-bold text-[12px] 3xl:text-[14px]",children:["create ",(0,a.jsx)("br",{className:"hidden tablet:flex"})," a new NFT collection for FREE in less than 5 minutes"]})," ","by providing:"]})]})}),(0,a.jsxs)("div",{className:"flex flex-col gap-[20px] 3xl:gap-[36px]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[14px]",children:[(0,a.jsx)("div",{className:"rounded-lg p-[8px] 3xl:p-[17px] border border-[#ADB5BD]",children:(0,a.jsx)(xS,{className:"w-7 h-7 3xl:w-[32px] 3xl:h-[32px]"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[16px] 3xl:text-[20px] text-[#F8F9FA] font-bold",children:"Collection Details"}),(0,a.jsx)("span",{className:"text-[12px] 3xl:text-[14px] text-[#CED4DA]",children:"Design your NFT collection by customizing images and more"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-[14px]",children:[(0,a.jsx)("div",{className:"rounded-lg p-[8px] 3xl:p-[17px] border border-[#ADB5BD]",children:(0,a.jsx)(FS,{className:"w-7 h-7 3xl:w-[32px] 3xl:h-[32px]"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[16px] 3xl:text-[20px] text-[#F8F9FA] font-bold",children:"Mint Price"}),(0,a.jsx)("span",{className:"text-[12px] 3xl:text-[14px] text-[#CED4DA]",children:"Amount collectors pay to mint one of your NFTs"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-[14px]",children:[(0,a.jsx)("div",{className:"rounded-lg p-[8px] 3xl:p-[17px] border border-[#ADB5BD]",children:(0,a.jsx)(OS,{className:"w-7 h-7 3xl:w-[32px] 3xl:h-[32px]"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[16px] 3xl:text-[20px] text-[#F8F9FA] font-bold",children:"Royalty %"}),(0,a.jsx)("span",{className:"text-[12px] 3xl:text-[14px] text-[#CED4DA]",children:"Share of Flowty marketplace sales of your NFTs that you receive"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-[14px]",children:[(0,a.jsx)("div",{className:"rounded-lg p-[8px] 3xl:p-[17px] border border-[#ADB5BD]",children:(0,a.jsx)(TS,{className:"w-7 h-7 3xl:w-[32px] 3xl:h-[32px]"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[16px] 3xl:text-[20px] text-[#F8F9FA] font-bold",children:"Drop Details"}),(0,a.jsx)("span",{className:"text-[12px] 3xl:text-[14px] text-[#CED4DA]",children:"When and where collectors mint your NFT on Flowty"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] 3xl:gap-[24px]",children:[(0,a.jsxs)("p",{className:"text-[14px] 3xl:text-[16px] text-[#ADB5BD] font-medium leading-6",children:["Post-drop you can do as much or as little as you want for NFT"," ",(0,a.jsx)("br",{}),"holders and collectors will be able to buy, sell, or hold your NFTs"]}),(0,a.jsx)("p",{className:"text-[14px] 3xl:text-[16px] text-[#ADB5BD] font-medium",children:"Try it today! As a reminder, there is no cost to launch a collection"})]}),(0,a.jsx)(s,{type:"submit",onClick:e,text:"GET STARTED",variant:"secondary",bgColor:"white"})]}),(0,a.jsx)("div",{className:"[320px] 3xl:w-[430px] hidden lg:flex",children:(0,a.jsx)("img",{src:"https://storage.googleapis.com/flowty-images/drops/rocketWelcomeView.webp",alt:"rocket with a sunset background",className:"max-w-[320px] 3xl:max-w-[430px] hidden lg:flex"})})]})]})})}),LS=()=>(0,a.jsx)("div",{className:"flex flex-col gap-6 flex-1 w-full pr-2",children:(0,a.jsx)(VT.w,{})});var BS,US,VS;function HS(){return HS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HS.apply(null,arguments)}function zS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",HS({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,BS||(BS=i.createElement("rect",{x:.5,y:.5,width:15,height:15,rx:7.5,fill:"white"})),US||(US=i.createElement("rect",{x:.5,y:.5,width:15,height:15,rx:7.5,stroke:"#F8F9FA"})),VS||(VS=i.createElement("path",{d:"M11.3337 5.5L6.75033 10.0833L4.66699 8",stroke:"#6E6E6E",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"})))}const ZS=i.forwardRef(zS);n.p;var WS,qS;function GS(){return GS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GS.apply(null,arguments)}function YS(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",GS({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,WS||(WS=i.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:9.5,fill:"#6E6E6E"})),qS||(qS=i.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:9.5,stroke:"#F8F9FA"})))}const KS=i.forwardRef(YS),QS=(n.p,e=>{let{value:t,name:n,disabled:r}=e;const[i]=(0,l.Mt)({name:n,type:"radio",value:t}),o=i.checked;return(0,a.jsxs)("button",{className:"flex items-center gap-2 ".concat(r?"pointer-events-none":""," "),onClick:()=>i.onChange({target:{name:n,value:t}}),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||i.onChange({target:{name:n,value:t}})},tabIndex:0,children:[(0,a.jsx)("input",{type:"radio",name:n,value:t,disabled:r,checked:o,onChange:()=>i.onChange({target:{name:n,value:t}}),className:"hidden"}),(0,a.jsx)("div",{className:"".concat(o?"h-[16px] w-[16px]":"h-[20px] w-[20px]"," transition-all duration-300 flex items-center justify-center"),children:o?(0,a.jsx)(ZS,{className:"h-full w-full"}):(0,a.jsx)(KS,{className:"h-full w-full"})})]})}),XS=e=>{let{name:t,value:n,image:r,description:i,labelMapping:o,pillContent:s,disabled:l,isLarge:c}=e;return(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsxs)("div",{className:"".concat(l?"cursor-not-allowed opacity-40 border-[#495057]":"cursor-pointer"," flex flex-1 flex-col border rounded-lg border-[#ADB5BD] w-full h-full ").concat(!c&&"gap-[8px]"),style:{backdropFilter:"blur(21.03209114074707px)",background:l?"linear-gradient(153deg, rgba(255, 255, 255, 0.12)0%, rgba(255, 255, 255, 0.06)100%)":"linear-gradient(153deg, rgba(255, 255, 255, 0.16)0%, rgba(255, 255, 255, 0.08)100%)"},children:[(0,a.jsxs)("div",{className:"flex w-full ".concat(c?"p-[10.67px] 3xl:p-[16px]":"px-[10px] pt-[10px]"," justify-between items-center"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 3xl:gap-3",children:[(0,a.jsx)("div",{className:"bg-[#575656]  border-[#434242] ".concat(c?"p-[5.33px] 3xl-p[8px] border-[4px]":"p-1 3xl:p-[5.333px] border-[2.667px]"," rounded-[2.667px] 3xl:rounded-md"),children:(0,a.jsx)(r,{className:"w-[17.333px] h-[17.333px] 3xl:max-w-[26px] 3xl:max-h-[26px]","aria-label":n})}),(0,a.jsx)("div",{className:"".concat(c?"text-[14px] 3xl:text-[18px]":"text-[8px] 3xl:text-xs font-semibold"," text-white leading-[18.667px] 3xl:leading-7"),children:o[n]})]}),(0,a.jsx)(QS,{name:t,value:n,disabled:l})]}),c&&(0,a.jsx)("hr",{className:"w-full ".concat(l?"bg-[#495057]":"bg-[#ADB5BD]")}),(0,a.jsxs)("div",{className:"".concat(c?"p-[10px] 3xl:p-4 gap-[10px] 3xl:gap-4":"px-[10px] pb-[18px] gap-2"," flex flex-col text-[#ADB5BD]"),children:[(0,a.jsx)("p",{className:"".concat(c?"leading-[13px] 3xl:leading-5 text-[12px] 3xl:text-[14px]":"text-xs 3xl:text-[14px] leading-5"),children:i}),s&&(0,a.jsx)("div",{className:"w-[100px] h-[25px]"})]})]}),s&&(0,a.jsx)("div",{className:"absolute ".concat(c?"bottom-[12px] left-[12px] 3xl:bottom-[15px] 3xl:left-[15px]":"bottom-[10px] left-[10px] 3xl:bottom-[10px] 3xl:left-[10px]"," flex text-gray-100 justify-start bg-[#757575] w-fit border border-[#757575] text-[10px] 3xl:text-[12px] rounded-[10.667px] 3xl:rounded-[16px] ").concat(c?"py-[1.333px] 3xl:py-[2px] px-[6.667px] 3xl:px-[10px]":"py-[2px] px-[10px]"," leading-[13.333px] 3xl:leading-[20px] opacity-100"),children:s})]})},JS=e=>{let{options:t,classNames:n,isLarge:r=!1}=e;return(0,a.jsx)("div",{className:"flex ".concat(n," ").concat(r?"gap-4 3xl:gap-6":"gap-3"),children:t.map((e=>(0,a.jsx)(XS,{name:e.name,labelMapping:e.labelMapping,value:e.value,image:e.image,description:e.description,pillContent:e.pillContent,disabled:e.disabled,isLarge:r},e.value)))})},$S=e=>{let{name:t,title:n,className:r,isOptional:i=!1,toolTip:o,inputError:s=!1,errorMessage:l}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] w-full",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("div",{className:"text-white text-xs 3xl:text-lg font-bold",children:n}),o]}),i&&(0,a.jsx)("div",{className:"text-[#6C757D] text-xs 3xl:text-lg font-bold",children:"(Optional)"})]}),(0,a.jsx)(Zt,{disabled:"creatorWalletAddress"===t,name:t,className:r,inputError:s,errorMessage:l})]})};var ek=n(5982),tk=n.n(ek),nk=n(65587),rk=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function ik(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=rk.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var ok=[".DS_Store","Thumbs.db"];function ak(e){return"object"===typeof e&&null!==e}function sk(e){return dk(e.target.files).map((function(e){return ik(e)}))}function lk(e){return(0,nk.sH)(this,void 0,void 0,(function(){return(0,nk.YH)(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return ik(e)}))]}}))}))}function ck(e,t){return(0,nk.sH)(this,void 0,void 0,(function(){var n;return(0,nk.YH)(this,(function(r){switch(r.label){case 0:return e.items?(n=dk(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(hk))]):[3,2];case 1:return[2,uk(pk(r.sent()))];case 2:return[2,uk(dk(e.files).map((function(e){return ik(e)})))]}}))}))}function uk(e){return e.filter((function(e){return-1===ok.indexOf(e.name)}))}function dk(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function hk(e){if("function"!==typeof e.webkitGetAsEntry)return fk(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?gk(t):fk(e)}function pk(e){return e.reduce((function(e,t){return(0,nk.fX)((0,nk.fX)([],(0,nk.zs)(e),!1),(0,nk.zs)(Array.isArray(t)?pk(t):[t]),!1)}),[])}function fk(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=ik(t);return Promise.resolve(n)}function mk(e){return(0,nk.sH)(this,void 0,void 0,(function(){return(0,nk.YH)(this,(function(t){return[2,e.isDirectory?gk(e):vk(e)]}))}))}function gk(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return(0,nk.sH)(o,void 0,void 0,(function(){var o,a,s;return(0,nk.YH)(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(mk)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function vk(e){return(0,nk.sH)(this,void 0,void 0,(function(){return(0,nk.YH)(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=ik(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var Ck=n(51557);function yk(e){return function(e){if(Array.isArray(e))return _k(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ek(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bk(Object(n),!0).forEach((function(t){xk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ak(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||Ek(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ek(e,t){if(e){if("string"===typeof e)return _k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_k(e,t):void 0}}function _k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Tk="file-invalid-type",Sk="file-too-large",kk="file-too-small",Pk="too-many-files",Dk=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:Tk,message:"File type must be ".concat(t)}},Nk=function(e){return{code:Sk,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},Fk=function(e){return{code:kk,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},Ik={code:Pk,message:"Too many files"};function Rk(e,t){var n="application/x-moz-file"===e.type||(0,Ck.A)(e,t);return[n,n?null:Dk(t)]}function Mk(e,t,n){if(Ok(e.size))if(Ok(t)&&Ok(n)){if(e.size>n)return[!1,Nk(n)];if(e.size<t)return[!1,Fk(t)]}else{if(Ok(t)&&e.size<t)return[!1,Fk(t)];if(Ok(n)&&e.size>n)return[!1,Nk(n)]}return[!0,null]}function Ok(e){return void 0!==e&&null!==e}function jk(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function Lk(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Bk(e){e.preventDefault()}function Uk(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!jk(e)&&t&&t.apply(void 0,[e].concat(r)),jk(e)}))}}function Vk(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Hk(e){return/^.*\.[\w]+$/.test(e)}var zk=["children"],Zk=["open"],Wk=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],qk=["refKey","onChange","onClick"];function Gk(e){return function(e){if(Array.isArray(e))return Qk(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Kk(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||Kk(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kk(e,t){if(e){if("string"===typeof e)return Qk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qk(e,t):void 0}}function Qk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xk(Object(n),!0).forEach((function(t){$k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eP(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var tP=(0,i.forwardRef)((function(e,t){var n=e.children,r=iP(eP(e,zk)),o=r.open,a=eP(r,Zk);return(0,i.useImperativeHandle)(t,(function(){return{open:o}}),[o]),i.createElement(i.Fragment,null,n(Jk(Jk({},a),{},{open:o})))}));tP.displayName="Dropzone";var nP={disabled:!1,getFilesFromEvent:function(e){return(0,nk.sH)(this,void 0,void 0,(function(){return(0,nk.YH)(this,(function(t){return ak(e)&&ak(e.dataTransfer)?[2,ck(e.dataTransfer,e.type)]:function(e){return ak(e)&&ak(e.target)}(e)?[2,sk(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,lk(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};tP.defaultProps=nP,tP.propTypes={children:tk().func,accept:tk().objectOf(tk().arrayOf(tk().string)),multiple:tk().bool,preventDropOnDocument:tk().bool,noClick:tk().bool,noKeyboard:tk().bool,noDrag:tk().bool,noDragEventsBubbling:tk().bool,minSize:tk().number,maxSize:tk().number,maxFiles:tk().number,disabled:tk().bool,getFilesFromEvent:tk().func,onFileDialogCancel:tk().func,onFileDialogOpen:tk().func,useFsAccessApi:tk().bool,autoFocus:tk().bool,onDragEnter:tk().func,onDragLeave:tk().func,onDragOver:tk().func,onDrop:tk().func,onDropAccepted:tk().func,onDropRejected:tk().func,onError:tk().func,validator:tk().func};var rP={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iP(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Jk(Jk({},nP),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,p=t.onDrop,f=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,C=t.useFsAccessApi,y=t.autoFocus,b=t.preventDropOnDocument,w=t.noClick,x=t.noKeyboard,A=t.noDrag,E=t.noDragEventsBubbling,_=t.onError,T=t.validator,S=(0,i.useMemo)((function(){return function(e){if(Ok(e))return Object.entries(e).reduce((function(e,t){var n=Ak(t,2),r=n[0],i=n[1];return[].concat(yk(e),[r],yk(i))}),[]).filter((function(e){return Vk(e)||Hk(e)})).join(",")}(n)}),[n]),k=(0,i.useMemo)((function(){return function(e){if(Ok(e)){var t=Object.entries(e).filter((function(e){var t=Ak(e,2),n=t[0],r=t[1],i=!0;return Vk(n)||(console.warn('Skipped "'.concat(n,'" 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.')),i=!1),Array.isArray(r)&&r.every(Hk)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),i=!1),i})).reduce((function(e,t){var n=Ak(t,2),r=n[0],i=n[1];return wk(wk({},e),{},xk({},r,i))}),{});return[{description:"Files",accept:t}]}return e}(n)}),[n]),P=(0,i.useMemo)((function(){return"function"===typeof v?v:aP}),[v]),D=(0,i.useMemo)((function(){return"function"===typeof g?g:aP}),[g]),N=(0,i.useRef)(null),F=(0,i.useRef)(null),I=Yk((0,i.useReducer)(oP,rP),2),R=I[0],M=I[1],O=R.isFocused,j=R.isFileDialogActive,L=(0,i.useRef)("undefined"!==typeof window&&window.isSecureContext&&C&&"showOpenFilePicker"in window),B=function(){!L.current&&j&&setTimeout((function(){F.current&&(F.current.files.length||(M({type:"closeDialog"}),D()))}),300)};(0,i.useEffect)((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[F,j,D,L]);var U=(0,i.useRef)([]),V=function(e){N.current&&N.current.contains(e.target)||(e.preventDefault(),U.current=[])};(0,i.useEffect)((function(){return b&&(document.addEventListener("dragover",Bk,!1),document.addEventListener("drop",V,!1)),function(){b&&(document.removeEventListener("dragover",Bk),document.removeEventListener("drop",V))}}),[N,b]),(0,i.useEffect)((function(){return!r&&y&&N.current&&N.current.focus(),function(){}}),[N,y,r]);var H=(0,i.useCallback)((function(e){_?_(e):console.error(e)}),[_]),z=(0,i.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),U.current=[].concat(Gk(U.current),[e.target]),Lk(e)&&Promise.resolve(o(e)).then((function(t){if(!jk(e)||E){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!(!o&&t.length>1||o&&a>=1&&t.length>a)&&t.every((function(e){var t=Ak(Rk(e,n),1)[0],o=Ak(Mk(e,r,i),1)[0],a=s?s(e):null;return t&&o&&!a}))}({files:t,accept:S,minSize:s,maxSize:a,multiple:l,maxFiles:c,validator:T});M({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}})).catch((function(e){return H(e)}))}),[o,u,H,E,S,s,a,l,c,T]),Z=(0,i.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=Lk(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&h&&h(e),!1}),[h,E]),W=(0,i.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=U.current.filter((function(e){return N.current&&N.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),U.current=t,t.length>0||(M({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Lk(e)&&d&&d(e))}),[N,d,E]),q=(0,i.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=Yk(Rk(e,S),2),i=t[0],o=t[1],l=Yk(Mk(e,s,a),2),c=l[0],u=l[1],d=T?T(e):null;if(i&&c&&!d)n.push(e);else{var h=[o,u];d&&(h=h.concat(d)),r.push({file:e,errors:h.filter((function(e){return e}))})}})),(!l&&n.length>1||l&&c>=1&&n.length>c)&&(n.forEach((function(e){r.push({file:e,errors:[Ik]})})),n.splice(0)),M({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&f&&f(n,t)}),[M,l,S,s,a,c,p,f,m,T]),G=(0,i.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),U.current=[],Lk(e)&&Promise.resolve(o(e)).then((function(t){jk(e)&&!E||q(t,e)})).catch((function(e){return H(e)})),M({type:"reset"})}),[o,q,H,E]),Y=(0,i.useCallback)((function(){if(L.current){M({type:"openDialog"}),P();var e={multiple:l,types:k};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){q(e,null),M({type:"closeDialog"})})).catch((function(e){!function(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}(e)?!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?H(e):(L.current=!1,F.current?(F.current.value=null,F.current.click()):H(new 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."))):(D(e),M({type:"closeDialog"}))}))}else F.current&&(M({type:"openDialog"}),P(),F.current.value=null,F.current.click())}),[M,P,D,C,q,H,k,l]),K=(0,i.useCallback)((function(e){N.current&&N.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),Y()))}),[N,Y]),Q=(0,i.useCallback)((function(){M({type:"focus"})}),[]),X=(0,i.useCallback)((function(){M({type:"blur"})}),[]),J=(0,i.useCallback)((function(){w||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?Y():setTimeout(Y,0))}),[w,Y]),$=function(e){return r?null:e},ee=function(e){return x?null:$(e)},te=function(e){return A?null:$(e)},ne=function(e){E&&e.stopPropagation()},re=(0,i.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.role,o=e.onKeyDown,a=e.onFocus,s=e.onBlur,l=e.onClick,c=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,h=e.onDrop,p=eP(e,Wk);return Jk(Jk($k({onKeyDown:ee(Uk(o,K)),onFocus:ee(Uk(a,Q)),onBlur:ee(Uk(s,X)),onClick:$(Uk(l,J)),onDragEnter:te(Uk(c,z)),onDragOver:te(Uk(u,Z)),onDragLeave:te(Uk(d,W)),onDrop:te(Uk(h,G)),role:"string"===typeof i&&""!==i?i:"presentation"},n,N),r||x?{}:{tabIndex:0}),p)}}),[N,K,Q,X,J,z,Z,W,G,x,A,r]),ie=(0,i.useCallback)((function(e){e.stopPropagation()}),[]),oe=(0,i.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,i=e.onClick,o=eP(e,qk);return Jk(Jk({},$k({accept:S,multiple:l,type:"file",style:{display:"none"},onChange:$(Uk(r,G)),onClick:$(Uk(i,ie)),tabIndex:-1},n,F)),o)}}),[F,n,l,G,r]);return Jk(Jk({},R),{},{isFocused:O&&!r,getRootProps:re,getInputProps:oe,rootRef:N,inputRef:F,open:$(Y)})}function oP(e,t){switch(t.type){case"focus":return Jk(Jk({},e),{},{isFocused:!0});case"blur":return Jk(Jk({},e),{},{isFocused:!1});case"openDialog":return Jk(Jk({},rP),{},{isFileDialogActive:!0});case"closeDialog":return Jk(Jk({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Jk(Jk({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Jk(Jk({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Jk({},rP);default:return e}}function aP(){}var sP=n(22119);var lP=function(){return lP=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lP.apply(this,arguments)};Object.create;function cP(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var uP=n(88043),dP=n.n(uP),hP="-ms-",pP="-moz-",fP="-webkit-",mP="comm",gP="rule",vP="decl",CP="@import",yP="@keyframes",bP="@layer",wP=Math.abs,xP=String.fromCharCode,AP=Object.assign;function EP(e){return e.trim()}function _P(e,t){return(e=t.exec(e))?e[0]:e}function TP(e,t,n){return e.replace(t,n)}function SP(e,t,n){return e.indexOf(t,n)}function kP(e,t){return 0|e.charCodeAt(t)}function PP(e,t,n){return e.slice(t,n)}function DP(e){return e.length}function NP(e){return e.length}function FP(e,t){return t.push(e),e}function IP(e,t){return e.filter((function(e){return!_P(e,t)}))}var RP=1,MP=1,OP=0,jP=0,LP=0,BP="";function UP(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:RP,column:MP,length:a,return:"",siblings:s}}function VP(e,t){return AP(UP("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function HP(e){for(;e.root;)e=VP(e.root,{children:[e]});FP(e,e.siblings)}function zP(){return LP=jP>0?kP(BP,--jP):0,MP--,10===LP&&(MP=1,RP--),LP}function ZP(){return LP=jP<OP?kP(BP,jP++):0,MP++,10===LP&&(MP=1,RP++),LP}function WP(){return kP(BP,jP)}function qP(){return jP}function GP(e,t){return PP(BP,e,t)}function YP(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function KP(e){return RP=MP=1,OP=DP(BP=e),jP=0,[]}function QP(e){return BP="",e}function XP(e){return EP(GP(jP-1,eD(91===e?e+2:40===e?e+1:e)))}function JP(e){for(;(LP=WP())&&LP<33;)ZP();return YP(e)>2||YP(LP)>3?"":" "}function $P(e,t){for(;--t&&ZP()&&!(LP<48||LP>102||LP>57&&LP<65||LP>70&&LP<97););return GP(e,qP()+(t<6&&32==WP()&&32==ZP()))}function eD(e){for(;ZP();)switch(LP){case e:return jP;case 34:case 39:34!==e&&39!==e&&eD(LP);break;case 40:41===e&&eD(e);break;case 92:ZP()}return jP}function tD(e,t){for(;ZP()&&e+LP!==57&&(e+LP!==84||47!==WP()););return"/*"+GP(t,jP-1)+"*"+xP(47===e?e:ZP())}function nD(e){for(;!YP(WP());)ZP();return GP(e,jP)}function rD(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function iD(e,t,n,r){switch(e.type){case bP:if(e.children.length)break;case CP:case vP:return e.return=e.return||e.value;case mP:return"";case yP:return e.return=e.value+"{"+rD(e.children,r)+"}";case gP:if(!DP(e.value=e.props.join(",")))return""}return DP(n=rD(e.children,r))?e.return=e.value+"{"+n+"}":""}function oD(e,t,n){switch(function(e,t){return 45^kP(e,0)?(((t<<2^kP(e,0))<<2^kP(e,1))<<2^kP(e,2))<<2^kP(e,3):0}(e,t)){case 5103:return fP+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return fP+e+e;case 4789:return pP+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fP+e+pP+e+hP+e+e;case 5936:switch(kP(e,t+11)){case 114:return fP+e+hP+TP(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fP+e+hP+TP(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fP+e+hP+TP(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return fP+e+hP+e+e;case 6165:return fP+e+hP+"flex-"+e+e;case 5187:return fP+e+TP(e,/(\w+).+(:[^]+)/,fP+"box-$1$2"+hP+"flex-$1$2")+e;case 5443:return fP+e+hP+"flex-item-"+TP(e,/flex-|-self/g,"")+(_P(e,/flex-|baseline/)?"":hP+"grid-row-"+TP(e,/flex-|-self/g,""))+e;case 4675:return fP+e+hP+"flex-line-pack"+TP(e,/align-content|flex-|-self/g,"")+e;case 5548:return fP+e+hP+TP(e,"shrink","negative")+e;case 5292:return fP+e+hP+TP(e,"basis","preferred-size")+e;case 6060:return fP+"box-"+TP(e,"-grow","")+fP+e+hP+TP(e,"grow","positive")+e;case 4554:return fP+TP(e,/([^-])(transform)/g,"$1"+fP+"$2")+e;case 6187:return TP(TP(TP(e,/(zoom-|grab)/,fP+"$1"),/(image-set)/,fP+"$1"),e,"")+e;case 5495:case 3959:return TP(e,/(image-set\([^]*)/,fP+"$1$`$1");case 4968:return TP(TP(e,/(.+:)(flex-)?(.*)/,fP+"box-pack:$3"+hP+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fP+e+e;case 4200:if(!_P(e,/flex-|baseline/))return hP+"grid-column-align"+PP(e,t)+e;break;case 2592:case 3360:return hP+TP(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,_P(e.props,/grid-\w+-end/)}))?~SP(e+(n=n[t].value),"span",0)?e:hP+TP(e,"-start","")+e+hP+"grid-row-span:"+(~SP(n,"span",0)?_P(n,/\d+/):+_P(n,/\d+/)-+_P(e,/\d+/))+";":hP+TP(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return _P(e.props,/grid-\w+-start/)}))?e:hP+TP(TP(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return TP(e,/(.+)-inline(.+)/,fP+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(DP(e)-1-t>6)switch(kP(e,t+1)){case 109:if(45!==kP(e,t+4))break;case 102:return TP(e,/(.+:)(.+)-([^]+)/,"$1"+fP+"$2-$3$1"+pP+(108==kP(e,t+3)?"$3":"$2-$3"))+e;case 115:return~SP(e,"stretch",0)?oD(TP(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return TP(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,i,o,a,s){return hP+n+":"+r+s+(i?hP+n+"-span:"+(o?a:+a-+r)+s:"")+e}));case 4949:if(121===kP(e,t+6))return TP(e,":",":"+fP)+e;break;case 6444:switch(kP(e,45===kP(e,14)?18:11)){case 120:return TP(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+fP+(45===kP(e,14)?"inline-":"")+"box$3$1"+fP+"$2$3$1"+hP+"$2box$3")+e;case 100:return TP(e,":",":"+hP)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return TP(e,"scroll-","scroll-snap-")+e}return e}function aD(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case vP:return void(e.return=oD(e.value,e.length,n));case yP:return rD([VP(e,{value:TP(e.value,"@","@"+fP)})],r);case gP:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(_P(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":HP(VP(e,{props:[TP(t,/:(read-\w+)/,":"+pP+"$1")]})),HP(VP(e,{props:[t]})),AP(e,{props:IP(n,r)});break;case"::placeholder":HP(VP(e,{props:[TP(t,/:(plac\w+)/,":"+fP+"input-$1")]})),HP(VP(e,{props:[TP(t,/:(plac\w+)/,":"+pP+"$1")]})),HP(VP(e,{props:[TP(t,/:(plac\w+)/,hP+"input-$1")]})),HP(VP(e,{props:[t]})),AP(e,{props:IP(n,r)})}return""}))}}function sD(e){return QP(lD("",null,null,null,[""],e=KP(e),0,[0],e))}function lD(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,h=0,p=0,f=0,m=1,g=1,v=1,C=0,y="",b=i,w=o,x=r,A=y;g;)switch(f=C,C=ZP()){case 40:if(108!=f&&58==kP(A,d-1)){-1!=SP(A+=TP(XP(C),"&","&\f"),"&\f",wP(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:A+=XP(C);break;case 9:case 10:case 13:case 32:A+=JP(f);break;case 92:A+=$P(qP()-1,7);continue;case 47:switch(WP()){case 42:case 47:FP(uD(tD(ZP(),qP()),t,n,l),l);break;default:A+="/"}break;case 123*m:s[c++]=DP(A)*v;case 125*m:case 59:case 0:switch(C){case 0:case 125:g=0;case 59+u:-1==v&&(A=TP(A,/\f/g,"")),p>0&&DP(A)-d&&FP(p>32?dD(A+";",r,n,d-1,l):dD(TP(A," ","")+";",r,n,d-2,l),l);break;case 59:A+=";";default:if(FP(x=cD(A,t,n,c,u,i,s,y,b=[],w=[],d,o),o),123===C)if(0===u)lD(A,t,x,x,b,o,d,s,w);else switch(99===h&&110===kP(A,3)?100:h){case 100:case 108:case 109:case 115:lD(e,x,x,r&&FP(cD(e,x,x,0,0,i,s,y,i,b=[],d,w),w),i,w,d,s,r?b:w);break;default:lD(A,x,x,x,[""],w,0,s,w)}}c=u=p=0,m=v=1,y=A="",d=a;break;case 58:d=1+DP(A),p=f;default:if(m<1)if(123==C)--m;else if(125==C&&0==m++&&125==zP())continue;switch(A+=xP(C),C*m){case 38:v=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(DP(A)-1)*v,v=1;break;case 64:45===WP()&&(A+=XP(ZP())),h=WP(),u=d=DP(y=A+=nD(qP())),C++;break;case 45:45===f&&2==DP(A)&&(m=0)}}return o}function cD(e,t,n,r,i,o,a,s,l,c,u,d){for(var h=i-1,p=0===i?o:[""],f=NP(p),m=0,g=0,v=0;m<r;++m)for(var C=0,y=PP(e,h+1,h=wP(g=a[m])),b=e;C<f;++C)(b=EP(g>0?p[C]+" "+y:TP(y,/&\f/g,p[C])))&&(l[v++]=b);return UP(e,t,n,0===i?gP:s,l,c,u,d)}function uD(e,t,n,r){return UP(e,t,n,mP,xP(LP),PP(e,2,-2),0,r)}function dD(e,t,n,r,i){return UP(e,t,n,vP,PP(e,0,r),PP(e,r+1,-1),r,i)}var hD={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pD="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_ATTR)||"data-styled",fD="active",mD="data-styled-version",gD="6.1.12",vD="/*!sc*/\n",CD="undefined"!=typeof window&&"HTMLElement"in window,yD=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY)),bD=(new Set,Object.freeze([])),wD=Object.freeze({});function xD(e,t,n){return void 0===n&&(n=wD),e.theme!==n.theme&&e.theme||t||n.theme}var AD=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ED=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_D=/(^-|-$)/g;function TD(e){return e.replace(ED,"-").replace(_D,"")}var SD=/(a)(d)/gi,kD=52,PD=function(e){return String.fromCharCode(e+(e>25?39:97))};function DD(e){var t,n="";for(t=Math.abs(e);t>kD;t=t/kD|0)n=PD(t%kD)+n;return(PD(t%kD)+n).replace(SD,"$1-$2")}var ND,FD=5381,ID=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},RD=function(e){return ID(FD,e)};function MD(e){return DD(RD(e)>>>0)}function OD(e){return e.displayName||e.name||"Component"}function jD(e){return"string"==typeof e&&!0}var LD="function"==typeof Symbol&&Symbol.for,BD=LD?Symbol.for("react.memo"):60115,UD=LD?Symbol.for("react.forward_ref"):60112,VD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},HD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},zD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ZD=((ND={})[UD]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ND[BD]=zD,ND);function WD(e){return("type"in(t=e)&&t.type.$$typeof)===BD?zD:"$$typeof"in e?ZD[e.$$typeof]:VD;var t}var qD=Object.defineProperty,GD=Object.getOwnPropertyNames,YD=Object.getOwnPropertySymbols,KD=Object.getOwnPropertyDescriptor,QD=Object.getPrototypeOf,XD=Object.prototype;function JD(e,t,n){if("string"!=typeof t){if(XD){var r=QD(t);r&&r!==XD&&JD(e,r,n)}var i=GD(t);YD&&(i=i.concat(YD(t)));for(var o=WD(e),a=WD(t),s=0;s<i.length;++s){var l=i[s];if(!(l in HD||n&&n[l]||a&&l in a||o&&l in o)){var c=KD(t,l);try{qD(e,l,c)}catch(e){}}}}return e}function $D(e){return"function"==typeof e}function eN(e){return"object"==typeof e&&"styledComponentId"in e}function tN(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function nN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function rN(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function iN(e,t,n){if(void 0===n&&(n=!1),!n&&!rN(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=iN(e[r],t[r]);else if(rN(t))for(var r in t)e[r]=iN(e[r],t[r]);return e}function oN(e,t){Object.defineProperty(e,"toString",{value:t})}function aN(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var sN=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw aN(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(vD);return t},e}(),lN=new Map,cN=new Map,uN=1,dN=function(e){if(lN.has(e))return lN.get(e);for(;cN.has(uN);)uN++;var t=uN++;return lN.set(e,t),cN.set(t,e),t},hN=function(e,t){uN=t+1,lN.set(e,t),cN.set(t,e)},pN="style[".concat(pD,"][").concat(mD,'="').concat(gD,'"]'),fN=new RegExp("^".concat(pD,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),mN=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},gN=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(vD),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(fN);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(hN(u,c),mN(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},vN=function(e){for(var t=document.querySelectorAll(pN),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(pD)!==fD&&(gN(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function CN(){return n.nc}var yN=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(pD,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(pD,fD),r.setAttribute(mD,gD);var a=CN();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},bN=function(){function e(e){this.element=yN(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw aN(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),wN=function(){function e(e){this.element=yN(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),xN=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),AN=CD,EN={isServer:!CD,useCSSOMInjection:!yD},_N=function(){function e(e,t,n){void 0===e&&(e=wD),void 0===t&&(t={});var r=this;this.options=lP(lP({},EN),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&CD&&AN&&(AN=!1,vN(this)),oN(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return cN.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(pD,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(vD)},o=0;o<n;o++)i(o);return r}(r)}))}return e.registerId=function(e){return dN(e)},e.prototype.rehydrate=function(){!this.server&&CD&&vN(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(lP(lP({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new xN(n):t?new bN(n):new wN(n)}(this.options),new sN(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(dN(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(dN(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(dN(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),TN=/&/g,SN=/^\s*\/\/.*$/gm;function kN(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=kN(e.children,t)),e}))}function PN(e){var t,n,r,i=void 0===e?wD:e,o=i.options,a=void 0===o?wD:o,s=i.plugins,l=void 0===s?bD:s,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===gP&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(TN,n).replace(r,c))})),a.prefix&&u.push(aD),u.push(iD);var d=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(SN,""),c=sD(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(c=kN(c,a.namespace));var d,h=[];return rD(c,function(e){var t=NP(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}(u.concat((d=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),h};return d.hash=l.length?l.reduce((function(e,t){return t.name||aN(15),ID(e,t.name)}),FD).toString():"",d}var DN=new _N,NN=PN(),FN=i.createContext({shouldForwardProp:void 0,styleSheet:DN,stylis:NN}),IN=(FN.Consumer,i.createContext(void 0));function RN(){return(0,i.useContext)(FN)}function MN(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=RN().styleSheet,a=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),s=(0,i.useMemo)((function(){return PN({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)((function(){dP()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var l=(0,i.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:s}}),[e.shouldForwardProp,a,s]);return i.createElement(FN.Provider,{value:l},i.createElement(IN.Provider,{value:s},e.children))}var ON=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=NN);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,oN(this,(function(){throw aN(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=NN),this.name+e.hash},e}(),jN=function(e){return e>="A"&&e<="Z"};function LN(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;jN(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var BN=function(e){return null==e||!1===e||""===e},UN=function(e){var t,n,r=[];for(var i in e){var o=e[i];e.hasOwnProperty(i)&&!BN(o)&&(Array.isArray(o)&&o.isCss||$D(o)?r.push("".concat(LN(i),":"),o,";"):rN(o)?r.push.apply(r,cP(cP(["".concat(i," {")],UN(o),!1),["}"],!1)):r.push("".concat(LN(i),": ").concat((t=i,null==(n=o)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in hD||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function VN(e,t,n,r){return BN(e)?[]:eN(e)?[".".concat(e.styledComponentId)]:$D(e)?!$D(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:VN(e(t),t,n,r):e instanceof ON?n?(e.inject(n,r),[e.getName(r)]):[e]:rN(e)?UN(e):Array.isArray(e)?Array.prototype.concat.apply(bD,e.map((function(e){return VN(e,t,n,r)}))):[e.toString()];var i}function HN(e){for(var t=0;t<e.length;t+=1){var n=e[t];if($D(n)&&!eN(n))return!1}return!0}var zN=RD(gD),ZN=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&HN(e),this.componentId=t,this.baseHash=ID(zN,t),this.baseStyle=n,_N.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=tN(r,this.staticRulesId);else{var i=nN(VN(this.rules,e,t,n)),o=DD(ID(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=tN(r,o),this.staticRulesId=o}else{for(var s=ID(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=nN(VN(u,e,t,n));s=ID(s,d+c),l+=d}}if(l){var h=DD(s>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(l,".".concat(h),void 0,this.componentId)),r=tN(r,h)}}return r},e}(),WN=i.createContext(void 0);WN.Consumer;var qN={};new Set;function GN(e,t,n){var r=eN(e),o=e,a=!jD(e),s=t.attrs,l=void 0===s?bD:s,c=t.componentId,u=void 0===c?function(e,t){var n="string"!=typeof e?"sc":TD(e);qN[n]=(qN[n]||0)+1;var r="".concat(n,"-").concat(MD(gD+n+qN[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,d=t.displayName,h=void 0===d?function(e){return jD(e)?"styled.".concat(e):"Styled(".concat(OD(e),")")}(e):d,p=t.displayName&&t.componentId?"".concat(TD(t.displayName),"-").concat(t.componentId):t.componentId||u,f=r&&o.attrs?o.attrs.concat(l).filter(Boolean):l,m=t.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;m=function(e,t){return g(e,t)&&v(e,t)}}else m=g}var C=new ZN(n,p,r?o.componentStyle:void 0);function y(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,l=e.styledComponentId,c=e.target,u=i.useContext(WN),d=RN(),h=e.shouldForwardProp||d.shouldForwardProp,p=xD(t,u,a)||wD,f=function(e,t,n){for(var r,i=lP(lP({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var a=$D(r=e[o])?r(i):r;for(var s in a)i[s]="className"===s?tN(i[s],a[s]):"style"===s?lP(lP({},i[s]),a[s]):a[s]}return t.className&&(i.className=tN(i.className,t.className)),i}(r,t,p),m=f.as||c,g={};for(var v in f)void 0===f[v]||"$"===v[0]||"as"===v||"theme"===v&&f.theme===p||("forwardedAs"===v?g.as=f.forwardedAs:h&&!h(v,m)||(g[v]=f[v]));var C=function(e,t){var n=RN();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(o,f),y=tN(s,l);return C&&(y+=" "+C),f.className&&(y+=" "+f.className),g[jD(m)&&!AD.has(m)?"class":"className"]=y,g.ref=n,(0,i.createElement)(m,g)}(b,e,t)}y.displayName=h;var b=i.forwardRef(y);return b.attrs=f,b.componentStyle=C,b.displayName=h,b.shouldForwardProp=m,b.foldedComponentIds=r?tN(o.foldedComponentIds,o.styledComponentId):"",b.styledComponentId=p,b.target=r?o.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)iN(e,i[r],!0);return e}({},o.defaultProps,e):e}}),oN(b,(function(){return".".concat(b.styledComponentId)})),a&&JD(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function YN(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var KN=function(e){return Object.assign(e,{isCss:!0})};function QN(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if($D(e)||rN(e))return KN(VN(YN(bD,cP([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?VN(r):KN(VN(YN(r,t)))}function XN(e,t,n){if(void 0===n&&(n=wD),!t)throw aN(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,QN.apply(void 0,cP([r],i,!1)))};return r.attrs=function(r){return XN(e,t,lP(lP({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return XN(e,t,lP(lP({},n),r))},r}var JN=function(e){return XN(GN,e)},$N=JN;AD.forEach((function(e){$N[e]=JN(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=HN(e),_N.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(nN(VN(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&_N.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();function eF(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=nN(QN.apply(void 0,cP([e],t,!1))),i=MD(r);return new ON(i,r)}var tF,nF,rF,iF,oF,aF,sF,lF,cF;(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=CN(),r=nN([n&&'nonce="'.concat(n,'"'),"".concat(pD,'="true"'),"".concat(mD,'="').concat(gD,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw aN(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw aN(2);var n=e.instance.toString();if(!n)return[];var r=((t={})[pD]="",t[mD]=gD,t.dangerouslySetInnerHTML={__html:n},t),o=CN();return o&&(r.nonce=o),[i.createElement("style",lP({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new _N({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw aN(2);return i.createElement(MN,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw aN(3)}})(),"__sc-".concat(pD,"__");const uF="#4fa94d",dF={"aria-busy":!0,role:"progressbar"},hF=$N.div(tF||(tF=(0,sP.A)(["\n  display: ",";\n"])),(e=>e.$visible?"flex":"none")),pF=242.776657104492,fF=eF(nF||(nF=(0,sP.A)(["\n12.5% {\n  stroke-dasharray: ","px, ","px;\n  stroke-dashoffset: -","px;\n}\n43.75% {\n  stroke-dasharray: ","px, ","px;\n  stroke-dashoffset: -","px;\n}\n100% {\n  stroke-dasharray: ","px, ","px;\n  stroke-dashoffset: -","px;\n}\n"])),33.98873199462888,pF,26.70543228149412,84.97182998657219,pF,84.97182998657219,2.42776657104492,pF,240.34889053344708),mF=($N.path(rF||(rF=(0,sP.A)(["\n  stroke-dasharray: ","px, ",";\n  stroke-dashoffset: 0;\n  animation: "," ","s linear infinite;\n"])),2.42776657104492,pF,fF,1.6),(e,t,n)=>{const r=Math.max(e,t),i=-n-r/2+1,o=2*n+r;return[i,i,o,o].join(" ")}),gF=e=>{let{height:t=80,width:n=80,color:r=uF,secondaryColor:i=uF,ariaLabel:o="oval-loading",wrapperStyle:s,wrapperClass:l,visible:c=!0,strokeWidth:u=2,strokeWidthSecondary:d}=e;return(0,a.jsx)(hF,{style:s,$visible:c,className:l,"data-testid":"oval-loading","aria-label":o,...dF,children:(0,a.jsx)("svg",{width:n,height:t,viewBox:mF(Number(u),Number(d||u),20),xmlns:"http://www.w3.org/2000/svg",stroke:r,"data-testid":"oval-svg",children:(0,a.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,a.jsxs)("g",{transform:"translate(1 1)",strokeWidth:Number(d||u),"data-testid":"oval-secondary-group",children:[(0,a.jsx)("circle",{strokeOpacity:".5",cx:"0",cy:"0",r:20,stroke:i,strokeWidth:u}),(0,a.jsx)("path",{d:(h=20,["M"+h+" 0c0-9.94-8.06",h,h,h].join("-")),children:(0,a.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 0 0",to:"360 0 0",dur:"1s",repeatCount:"indefinite"})})]})})})});var h},vF=eF(iF||(iF=(0,sP.A)(["\nto {\n   transform: rotate(360deg);\n }\n"]))),CF=($N.svg(oF||(oF=(0,sP.A)(["\n  animation: "," 0.75s steps(12, end) infinite;\n  animation-duration: 0.75s;\n"])),vF),$N.polyline(aF||(aF=(0,sP.A)(["\n  stroke-width: ","px;\n  stroke-linecap: round;\n\n  &:nth-child(12n + 0) {\n    stroke-opacity: 0.08;\n  }\n\n  &:nth-child(12n + 1) {\n    stroke-opacity: 0.17;\n  }\n\n  &:nth-child(12n + 2) {\n    stroke-opacity: 0.25;\n  }\n\n  &:nth-child(12n + 3) {\n    stroke-opacity: 0.33;\n  }\n\n  &:nth-child(12n + 4) {\n    stroke-opacity: 0.42;\n  }\n\n  &:nth-child(12n + 5) {\n    stroke-opacity: 0.5;\n  }\n\n  &:nth-child(12n + 6) {\n    stroke-opacity: 0.58;\n  }\n\n  &:nth-child(12n + 7) {\n    stroke-opacity: 0.66;\n  }\n\n  &:nth-child(12n + 8) {\n    stroke-opacity: 0.75;\n  }\n\n  &:nth-child(12n + 9) {\n    stroke-opacity: 0.83;\n  }\n\n  &:nth-child(12n + 11) {\n    stroke-opacity: 0.92;\n  }\n"])),(e=>e.width)),eF(sF||(sF=(0,sP.A)(["\nto {\n   stroke-dashoffset: 136;\n }\n"]))));$N.polygon(lF||(lF=(0,sP.A)(["\n  stroke-dasharray: 17;\n  animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"])),CF),$N.svg(cF||(cF=(0,sP.A)(["\n  transform-origin: 50% 65%;\n"])));var yF,bF=n(15957);function wF(){return wF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wF.apply(null,arguments)}function xF(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",wF({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,yF||(yF=i.createElement("path",{d:"M7 21C6.45 21 5.97917 20.8042 5.5875 20.4125C5.19583 20.0208 5 19.55 5 19V6H4V4H9V3H15V4H20V6H19V19C19 19.55 18.8042 20.0208 18.4125 20.4125C18.0208 20.8042 17.55 21 17 21H7ZM17 6H7V19H17V6ZM9 17H11V8H9V17ZM13 17H15V8H13V17Z",fill:"#ADB5BD"})))}const AF=i.forwardRef(xF);n.p;var EF,_F,TF,SF;function kF(){return kF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kF.apply(null,arguments)}function PF(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",kF({width:47,height:46,viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,EF||(EF=i.createElement("rect",{x:3.5,y:3,width:40,height:40,rx:20,fill:"#F2F4F7"})),_F||(_F=i.createElement("rect",{x:3.5,y:3,width:40,height:40,rx:20,stroke:"#F9FAFB",strokeWidth:6})),TF||(TF=i.createElement("g",{clipPath:"url(#clip0_6804_3713)"},i.createElement("path",{d:"M26.8335 26.3332L23.5002 22.9999M23.5002 22.9999L20.1669 26.3332M23.5002 22.9999V30.4999M30.4919 28.3249C31.3047 27.8818 31.9467 27.1806 32.3168 26.3321C32.6868 25.4835 32.7637 24.5359 32.5354 23.6388C32.307 22.7417 31.7865 21.9462 31.0558 21.3778C30.3251 20.8094 29.4259 20.5005 28.5002 20.4999H27.4502C27.198 19.5243 26.7278 18.6185 26.0752 17.8507C25.4225 17.0829 24.6042 16.4731 23.682 16.0671C22.7597 15.661 21.7573 15.4694 20.7503 15.5065C19.7433 15.5436 18.7578 15.8085 17.8679 16.2813C16.9779 16.7541 16.2068 17.4225 15.6124 18.2362C15.018 19.05 14.6158 19.9879 14.436 20.9794C14.2563 21.9709 14.3036 22.9903 14.5746 23.961C14.8455 24.9316 15.3329 25.8281 16.0002 26.5832",stroke:"#475467",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}))),SF||(SF=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_6804_3713"},i.createElement("rect",{width:20,height:20,fill:"white",transform:"translate(13.5 13)"})))))}const DF=i.forwardRef(PF),NF=(n.p,e=>{var t,n,r,s;let{title:c,name:u,imageType:d,toolTip:h,inputError:p,errorMessage:f,uploadImageFn:m,setFieldError:g,isLoggedUser:v=!1}=e;const[C,,{setValue:y}]=(0,l.Mt)(u),[b,w]=(0,i.useState)(!1),[x,A]=(0,i.useState)(!1),[E,_]=(0,i.useState)(null),[T,S]=(0,i.useState)(null),[k,P]=(0,i.useState)(!1),D=(0,i.useCallback)((async e=>{w(!0);const t=e[0];if(t){if(t.size>5e6)return g(u,"Max. file size 5MB"),_("Max. file size 5MB"),void w(!1);_(null);const e=new FileReader;e.onloadend=async()=>{const n=new Image;if(n.src=e.result,n.onload=async()=>{const{width:e,height:t}=n;S("THUMBNAIL"===d&&e/t!==1?"For optimal display, we recommend using a square image (1:1 aspect ratio)":"BANNER"===d&&e/t!==4?"For optimal display, we recommend using an image with a 4:1 aspect ratio":null)},m&&v){const n=await m(t);if(!n)return P(!0),g(u,"Failed to upload image"),void w(!1);const r={file:t,fileBase64:e.result,fileCid:String(null===n||void 0===n?void 0:n.cid),fileName:t.name};P(!1),y(r),w(!1)}else y({file:t,fileBase64:e.result,fileCid:null,fileName:t.name}),w(!1)},e.readAsDataURL(t)}else w(!1)}),[]),{getRootProps:N,getInputProps:F}=iP({accept:{"image/gif":[],"image/jpeg":[],"image/png":[],"image/svg+xml":[],"image/webp":[]},maxFiles:1,onDrop:D});return(0,a.jsxs)("div",{className:"w-full flex flex-col gap-[8px] font-montserrat",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("div",{className:"text-white text-xs 3xl:text-lg font-bold",children:c}),h]}),(0,a.jsx)("div",{className:(0,o.cn)("bg-[linear-gradient(153deg,_#ffffff12_0%,_#ffffff0a_100%)] overflow-hidden w-full h-[128px] space-y-1 flex flex-col items-center justify-center rounded-lg border border-[#495057] cursor-pointer",{"border-[#495057]":!p,"border-[#FF6E25]":p||E||k}),...N(),children:C.value&&(C.value.fileBase64||C.value.fileCid)?(0,a.jsxs)("div",{className:"w-full h-[94px] px-[24px] flex justify-between",children:[(0,a.jsxs)("div",{className:"w-full flex items-center gap-[24px]",children:[(0,a.jsx)("img",{src:null!==(t=C.value)&&void 0!==t&&t.fileCid?"".concat(bF.n).concat(null===(n=C.value)||void 0===n?void 0:n.fileCid):C.value.fileBase64,alt:"uploaded",className:"rounded-lg ".concat(x?"":"hidden"," ").concat("BANNER"===d?"w-[240px] h-[60px]":"w-[94px] h-[94px]"),onLoad:()=>{A(!0)}}),(0,a.jsx)("div",{className:"w-[94px] h-[94px] rounded-lg animate-pulse bg-[#edf3f60a] ".concat(x?"hidden":"")}),(0,a.jsx)("p",{className:"text-white max-w-[180px] text-xs 3xl:text-sm overflow-hidden text-ellipsis",children:null===(r=C.value)||void 0===r?void 0:r.fileName})]}),(0,a.jsx)("button",{"data-testid":"delete-image",className:"self-start",onClick:e=>{e.stopPropagation(),y(null)},children:(0,a.jsx)(AF,{className:" h-5 w-5 3xl:h-6 3xl:w-6"})})]}):(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)("input",{...F(),"data-testid":u}),(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center w-full h-full gap-2 3xl:gap-4",children:[(0,a.jsx)("div",{children:b?(0,a.jsx)(gF,{width:40,height:46,color:"#6C757D",secondaryColor:"#000"}):(0,a.jsx)(DF,{})}),(0,a.jsxs)("div",{className:"gap-[2.667px] 3xl:gap-1",children:[(0,a.jsxs)("div",{className:"text-[9.333px] leading-[13.333px] 3xl:text-sm 3xl:leading-5 text-center",children:[(0,a.jsx)("span",{className:"text-white text-[9.333px] leading-[13.333px] 3xl:text-sm 3xl:leading-5",children:"Click to Upload"}),(0,a.jsx)("span",{className:"text-[#6C757D] ml-1 text-[9.333px] leading-[13.333px] 3xl:text-sm 3xl:leading-5",children:"or drag and drop"})]}),(0,a.jsx)("div",{className:"text-[#6C757D] text-[8px] 3xl:text-xs leading-3 3xl:leading-5 text-center",children:"SVG, PNG, JPG, WEBP or GIF (max. 800x400px)"})]})]})]})}),k&&(0,a.jsxs)("p",{"data-testid":"".concat(u,"-error"),className:"w-auto text-end text-[#FF6E25] text-xs font-[400] ml-auto",children:["Image error. If this issue persists, contact us via"," ",(0,a.jsx)("a",{href:"https://discord.com/invite/flowty",target:"_blank",rel:"noreferrer",className:"text-white hover:underline",children:"Discord"})," ","or"," ",(0,a.jsx)("a",{href:"https://x.com/flowty_io",target:"_blank",rel:"noreferrer",className:"text-white hover:underline",children:"Twitter"}),"."]}),!k&&(f||E||T)&&(0,a.jsx)("p",{"data-testid":"".concat(u,"-error"),className:"w-full text-end text-[#FF6E25] text-xs whitespace-nowrap font-[400]",children:null!==(s=null!==f&&void 0!==f?f:E)&&void 0!==s?s:T})]})}),FF=(e,t,n)=>t[e]&&!!n[e],IF=(e,t,n)=>t[e]?n[e]:null;var RF=n(43619);let MF=function(e){return e.SingleImage="SINGLE_IMAGE",e.MultiImage="MULTI_IMAGE",e}({}),OF=function(e){return e.OpenEdition="OPEN_EDITION",e.LimitedEdition="LIMITED_EDITION",e}({});const jF=[Bt().shape({collectionEditionType:mt().oneOf(Object.values(OF)),collectionType:mt().oneOf(Object.values(MF))}),Bt().shape({collectionDescription:Tt().required("Please enter a description").max(2e3,"Description must be 2000 characters or less").test({message:"Description should be less than 200 words",test:e=>!(e.split(" ").length>200)}),collectionName:Tt().required("Please enter a collection name").max(50,"Collection name must be 50 characters or less").matches(/^[A-Za-z]/,"Collection name must begin with a letter"),nftImage:mt().required("Please upload an NFT image").test({message:"Please upload an NFT image",test:e=>{const t=e;return!(!t||!t.fileBase64&&!t.fileCid)}})}),Bt().shape({discordHandle:Tt().notRequired(),instagramHandle:Tt().notRequired(),nftBannerImage:mt().required("Please upload a banner image").test({message:"Please upload a banner image",test:e=>{const t=e;return!(!t||!t.fileBase64&&!t.fileCid)}}),nftThumbnailImage:mt().required("Please upload a thumbnail image").test({message:"Please upload a thumbnail image",test:e=>{const t=e;return!(!t||!t.fileBase64&&!t.fileCid)}}),twitterHandle:Tt().notRequired(),websiteURL:Tt().notRequired()}),Bt().shape({dropEndDateTime:Bt().shape({dateTime:kt().required("End Date & Time must be after Start Date & Time").test({message:"End Date & Time must be after Start Date & Time",test:function(e){var t;return e>(null===(t=this.options.context)||void 0===t?void 0:t.dropStartDateTime.dateTime)}}).test({message:"End date must be no more than 7 days from Start date",test:(e,t)=>{var n;const r=null===(n=t.options.context)||void 0===n?void 0:n.dropStartDateTime.dateTime;return!((0,RF.A)(e,r)>7)}})}),dropStartDateTime:Bt().shape({dateTime:kt().required("Please choose a Start Date & Time ").test({message:"Start date must be no more than 7 days from today",test:e=>!((0,RF.A)(e,Date.now())>7)}).test({message:"Start date must be after current date and time",test:e=>Math.abs((0,Py.A)(Date.now(),e))<=5||!(e<Date.now())})}),dropThumbnailImage:mt().required("Please upload a thumbnail").test({message:"Please upload a thumbnail",test:e=>{const t=e;return!(!t||!t.fileBase64&&!t.fileCid)}}),mintPrice:kt().notRequired().min(0,"Mint price can't be negative"),royalty:kt().notRequired().min(0,"Minimum Royalty: 0%").max(50,"Maximum Royalty: 50%")})];var LF,BF;function UF(){return UF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UF.apply(null,arguments)}function VF(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",UF({width:26,height:26,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,LF||(LF=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.38043 2.74023C2.44707 2.74023 1.69043 3.55822 1.69043 4.56726V13.7024C1.69043 14.7114 2.44707 15.5294 3.38043 15.5294H13.5204C14.4538 15.5294 15.2104 14.7114 15.2104 13.7024V4.56726C15.2104 3.55822 14.4538 2.74023 13.5204 2.74023H3.38043ZM13.5204 13.7024H3.38043L6.76043 6.39429L9.29543 11.8754L10.9854 8.22132L13.5204 13.7024Z",fill:"#F8F9FA"})),BF||(BF=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.48 10.4697C11.5467 10.4697 10.79 11.2877 10.79 12.2968V21.4319C10.79 22.4409 11.5467 23.2589 12.48 23.2589H22.62C23.5534 23.2589 24.31 22.4409 24.31 21.4319V12.2968C24.31 11.2877 23.5534 10.4697 22.62 10.4697H12.48ZM22.62 21.4319H12.48L15.86 14.1238L18.395 19.6049L20.085 15.9508L22.62 21.4319Z",fill:"#F8F9FA"})))}const HF=i.forwardRef(VF);n.p;var zF;function ZF(){return ZF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZF.apply(null,arguments)}function WF(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",ZF({width:26,height:26,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,zF||(zF=i.createElement("g",{id:"Photo"},i.createElement("path",{id:"Icon",fillRule:"evenodd",clipRule:"evenodd",d:"M5.19961 3.90039C3.76367 3.90039 2.59961 5.06445 2.59961 6.50039V19.5004C2.59961 20.9363 3.76367 22.1004 5.19961 22.1004H20.7996C22.2355 22.1004 23.3996 20.9363 23.3996 19.5004V6.50039C23.3996 5.06445 22.2355 3.90039 20.7996 3.90039H5.19961ZM20.7996 19.5004H5.19961L10.3996 9.10039L14.2996 16.9004L16.8996 11.7004L20.7996 19.5004Z",fill:"#F8F9FA"}))))}const qF=i.forwardRef(WF),GF=(n.p,{[MF.SingleImage]:"Single Image",[MF.MultiImage]:"Multi-Image"}),YF=[{description:"Create and manage a single image NFT collection. Customize collection metadata to highlight your unique creation.",disabled:!1,image:qF,labelMapping:GF,name:"collectionType",pillContent:null,value:MF.SingleImage},{description:"Create and manage a multi-image NFT collection with varied..",disabled:!0,image:HF,labelMapping:GF,name:"collectionType",pillContent:"Coming Soon",value:MF.MultiImage}],KF=()=>{const{errors:e,touched:t,uploadImage:n,setFieldError:r,loggedUser:i}=sS();return(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] 3xl:gap-[24px] items-center justify-center",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[6.667px] 3xl:gap-[12px]",children:[(0,a.jsx)("h1",{className:"text-white text-xs 3xl:text-lg font-bold",children:"Collection Type"}),(0,a.jsx)(JS,{options:YF,classNames:"flex"})]}),(0,a.jsx)("div",{className:"flex flex-1 w-full",children:(0,a.jsx)(NF,{title:"Upload NFT Image*",name:"nftImage",inputError:FF("nftImage",t,e),errorMessage:IF("nftImage",t,e),imageType:"THUMBNAIL",uploadImageFn:n,setFieldError:r,isLoggedUser:Boolean(i)})}),(0,a.jsx)($S,{title:"Collection Name*",name:"collectionName",className:"h-[26.667px] 3xl:h-[40px] w-full text-xs 3xl:text-lg bg-[#04070B] border border-[#6C757D] font-semibold rounded-[4px] 3xl:rounded-md px-3 focus:outline-none text-white shrink-0 ".concat(FF("collectionName",t,e)?"border-[#FF6E25]":"border-[#6C757D]"),inputError:FF("collectionName",t,e),errorMessage:IF("collectionName",t,e)}),(0,a.jsx)($S,{title:"Description*",name:"collectionDescription",className:"h-[26.667px] 3xl:h-[40px] w-full text-xs 3xl:text-lg bg-[#04070B] border border-[#6C757D] font-semibold rounded-[4px] 3xl:rounded-md px-3 focus:outline-none text-white shrink-0 ".concat(FF("collectionDescription",t,e)?"border-[#FF6E25]":"border-[#6C757D]"),inputError:FF("collectionDescription",t,e),errorMessage:IF("collectionDescription",t,e)})]})};var QF;function XF(){return XF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XF.apply(null,arguments)}function JF(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",XF({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,QF||(QF=i.createElement("g",{id:"Icon/Solid/exclamation-circle"},i.createElement("path",{id:"Icon",fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM11 14C11 14.5523 10.5523 15 10 15C9.44772 15 9 14.5523 9 14C9 13.4477 9.44772 13 10 13C10.5523 13 11 13.4477 11 14ZM10 5C9.44772 5 9 5.44772 9 6V10C9 10.5523 9.44772 11 10 11C10.5523 11 11 10.5523 11 10V6C11 5.44772 10.5523 5 10 5Z",fill:"#F8F9FA"}))))}const $F=i.forwardRef(JF),eI=(n.p,e=>{let{toolTipCustomId:t,clickable:n=!1,renderContent:r}=e;return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(qa.m_,{id:"".concat(t,"-tooltip"),style:{backgroundColor:"#F8F9FA",color:"#031021",fontSize:"12px",lineHeight:"1rem",padding:"10px",pointerEvents:"auto",textAlign:"center",width:"248px",zIndex:40},opacity:100,clickable:n,render:()=>(0,a.jsx)(a.Fragment,{children:r})}),(0,a.jsx)("div",{"data-tooltip-id":"".concat(t,"-tooltip"),"data-tooltip-place":"top",children:(0,a.jsx)($F,{className:"h-[13.333px] w-[13.333px] 3xl:h-5 3xl-w:5"})})]})});var tI;function nI(){return nI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nI.apply(null,arguments)}function rI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",nI({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,tI||(tI=i.createElement("g",{id:"Twitter"},i.createElement("path",{id:"Vector",d:"M19.1663 2.49959C18.3683 3.06249 17.4848 3.49302 16.5497 3.77459C16.0478 3.19752 15.3808 2.7885 14.6389 2.60286C13.897 2.41722 13.1159 2.46392 12.4014 2.73664C11.6869 3.00935 11.0734 3.49493 10.6438 4.12769C10.2143 4.76045 9.98942 5.50987 9.99967 6.27459V7.10792C8.5352 7.1459 7.08407 6.8211 5.77551 6.16246C4.46696 5.50382 3.3416 4.53179 2.49967 3.33292C2.49967 3.33292 -0.833659 10.8329 6.66634 14.1663C4.95011 15.3312 2.90564 15.9154 0.833008 15.8329C8.33301 19.9996 17.4997 15.8329 17.4997 6.24959C17.4989 6.01747 17.4766 5.78592 17.433 5.55792C18.2835 4.71917 18.8837 3.66018 19.1663 2.49959Z",stroke:"#ADB5BD",strokeLinecap:"round",strokeLinejoin:"round"}))))}const iI=i.forwardRef(rI);n.p;var oI,aI=n(91324);function sI(){return sI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sI.apply(null,arguments)}function lI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",sI({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,oI||(oI=i.createElement("g",{id:"Frame"},i.createElement("path",{id:"Vector",d:"M6.4002 1.2002C3.53319 1.2002 1.2002 3.53319 1.2002 6.4002V13.6002C1.2002 16.4672 3.53319 18.8002 6.4002 18.8002H13.6002C16.4672 18.8002 18.8002 16.4672 18.8002 13.6002V6.4002C18.8002 3.53319 16.4672 1.2002 13.6002 1.2002H6.4002ZM6.4002 2.0002H13.6002C16.0348 2.0002 18.0002 3.9656 18.0002 6.4002V13.6002C18.0002 16.0348 16.0348 18.0002 13.6002 18.0002H6.4002C3.9656 18.0002 2.0002 16.0348 2.0002 13.6002V6.4002C2.0002 3.9656 3.9656 2.0002 6.4002 2.0002ZM14.8002 4.4002C14.588 4.4002 14.3845 4.48448 14.2345 4.63451C14.0845 4.78454 14.0002 4.98802 14.0002 5.2002C14.0002 5.41237 14.0845 5.61585 14.2345 5.76588C14.3845 5.91591 14.588 6.0002 14.8002 6.0002C15.0124 6.0002 15.2159 5.91591 15.3659 5.76588C15.5159 5.61585 15.6002 5.41237 15.6002 5.2002C15.6002 4.98802 15.5159 4.78454 15.3659 4.63451C15.2159 4.48448 15.0124 4.4002 14.8002 4.4002ZM10.0002 5.6002C7.57488 5.6002 5.6002 7.57488 5.6002 10.0002C5.6002 12.4255 7.57488 14.4002 10.0002 14.4002C12.4255 14.4002 14.4002 12.4255 14.4002 10.0002C14.4002 7.57488 12.4255 5.6002 10.0002 5.6002ZM10.0002 6.4002C11.9932 6.4002 13.6002 8.00723 13.6002 10.0002C13.6002 11.9932 11.9932 13.6002 10.0002 13.6002C8.00723 13.6002 6.4002 11.9932 6.4002 10.0002C6.4002 8.00723 8.00723 6.4002 10.0002 6.4002Z",fill:"#ADB5BD"}))))}const cI=i.forwardRef(lI);n.p;var uI;function dI(){return dI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dI.apply(null,arguments)}function hI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",dI({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,uI||(uI=i.createElement("g",{id:"Discord"},i.createElement("path",{id:"Vector",d:"M7.5624 2.8002C7.5624 2.8002 5.01553 2.9752 3.3499 4.31269C3.34209 4.31582 3.33272 4.32051 3.3249 4.32519C3.03584 4.59238 2.81865 5.00644 2.5499 5.60019C2.28115 6.19394 1.99678 6.95801 1.7374 7.81269C1.22021 9.52363 0.799902 11.6236 0.799902 13.6002C0.79834 13.6705 0.815528 13.7393 0.849902 13.8002C1.43428 14.8268 2.50928 15.4471 3.5124 15.8377C4.51553 16.2283 5.44209 16.3846 5.9124 16.4002C6.04521 16.4049 6.17178 16.3439 6.2499 16.2377L7.2249 14.8877C8.01084 15.0736 8.93272 15.2002 9.9999 15.2002C11.0671 15.2002 11.989 15.0736 12.7749 14.8877L13.7499 16.2377C13.828 16.3439 13.9546 16.4049 14.0874 16.4002C14.5577 16.3846 15.4843 16.2283 16.4874 15.8377C17.4905 15.4471 18.5655 14.8268 19.1499 13.8002C19.1843 13.7393 19.2015 13.6705 19.1999 13.6002C19.1999 11.6236 18.7796 9.52363 18.2624 7.81269C18.003 6.95801 17.7187 6.19394 17.4499 5.60019C17.1812 5.00644 16.964 4.59238 16.6749 4.32519C16.6671 4.32051 16.6577 4.31582 16.6499 4.31269C14.9843 2.9752 12.4374 2.8002 12.4374 2.8002C12.4077 2.79707 12.3796 2.79707 12.3499 2.8002C12.2108 2.81895 12.0937 2.90957 12.0374 3.0377C12.0374 3.0377 11.9015 3.33613 11.8124 3.7627C11.0327 3.6377 10.3765 3.6002 9.9999 3.6002C9.62334 3.6002 8.96709 3.6377 8.1874 3.7627C8.09834 3.33613 7.9624 3.0377 7.9624 3.0377C7.89365 2.88145 7.73272 2.78613 7.5624 2.8002ZM7.3124 3.66269C7.34209 3.74395 7.3624 3.82051 7.3874 3.91269C6.48584 4.12207 5.49834 4.46426 4.5749 5.03769C4.42959 5.09863 4.33428 5.23926 4.32959 5.39707C4.32646 5.55332 4.41553 5.69863 4.55615 5.76738C4.69834 5.83457 4.86709 5.81426 4.9874 5.71269C6.84053 4.56426 9.19834 4.40019 9.9999 4.40019C10.8015 4.40019 13.1593 4.56426 15.0124 5.71269C15.1327 5.81426 15.3015 5.83457 15.4437 5.76738C15.5843 5.69863 15.6733 5.55332 15.6702 5.39707C15.6655 5.23926 15.5702 5.09863 15.4249 5.03769C14.5015 4.46426 13.514 4.12207 12.6124 3.91269C12.6374 3.82051 12.6577 3.74395 12.6874 3.66269C13.1437 3.71895 14.9171 3.95801 16.1249 4.91269C16.203 4.98457 16.4749 5.38457 16.7249 5.93769C16.9749 6.49082 17.2374 7.21113 17.4874 8.03769C17.9749 9.65019 18.3687 11.6393 18.3874 13.4627C17.9327 14.1986 17.0796 14.7455 16.1999 15.0877C15.3999 15.3986 14.653 15.5377 14.2624 15.5752L13.5874 14.6627C13.9312 14.5518 14.2405 14.4314 14.5124 14.3127C15.5218 13.8689 16.0624 13.4002 16.0624 13.4002C16.228 13.2518 16.2421 12.9971 16.0937 12.8314C15.9452 12.6658 15.6905 12.6518 15.5249 12.8002C15.5249 12.8002 15.1062 13.183 14.1874 13.5877C13.8499 13.7361 13.4405 13.883 12.9749 14.0127C12.8671 14.0002 12.7593 14.0314 12.6749 14.1002C11.9296 14.2814 11.0437 14.4002 9.9999 14.4002C8.94834 14.4002 8.06084 14.2705 7.3124 14.0877C7.22803 14.0314 7.1249 14.008 7.0249 14.0252C6.55771 13.8955 6.15146 13.7361 5.8124 13.5877C4.89365 13.183 4.4749 12.8002 4.4749 12.8002C4.38428 12.7158 4.25928 12.6799 4.1374 12.7002C3.98271 12.7236 3.85459 12.8346 3.8124 12.9861C3.76865 13.1361 3.81865 13.2986 3.9374 13.4002C3.9374 13.4002 4.47803 13.8689 5.4874 14.3127C5.75928 14.4314 6.06865 14.5518 6.4124 14.6627L5.7374 15.5752C5.34678 15.5377 4.5999 15.3986 3.7999 15.0877C2.92022 14.7455 2.06709 14.1986 1.6124 13.4627C1.63115 11.6393 2.0249 9.65019 2.5124 8.03769C2.7624 7.21113 3.0249 6.49082 3.2749 5.93769C3.5249 5.38457 3.79678 4.98457 3.8749 4.91269C5.08272 3.95801 6.85615 3.71895 7.3124 3.66269ZM7.3999 8.40019C6.37959 8.40019 5.5999 9.32676 5.5999 10.4002C5.5999 11.4736 6.37959 12.4002 7.3999 12.4002C8.42021 12.4002 9.1999 11.4736 9.1999 10.4002C9.1999 9.32676 8.42021 8.40019 7.3999 8.40019ZM12.5999 8.40019C11.5796 8.40019 10.7999 9.32676 10.7999 10.4002C10.7999 11.4736 11.5796 12.4002 12.5999 12.4002C13.6202 12.4002 14.3999 11.4736 14.3999 10.4002C14.3999 9.32676 13.6202 8.40019 12.5999 8.40019ZM7.3999 9.20019C7.92647 9.20019 8.3999 9.70644 8.3999 10.4002C8.3999 11.0939 7.92647 11.6002 7.3999 11.6002C6.87334 11.6002 6.3999 11.0939 6.3999 10.4002C6.3999 9.70644 6.87334 9.20019 7.3999 9.20019ZM12.5999 9.20019C13.1265 9.20019 13.5999 9.70644 13.5999 10.4002C13.5999 11.0939 13.1265 11.6002 12.5999 11.6002C12.0733 11.6002 11.5999 11.0939 11.5999 10.4002C11.5999 9.70644 12.0733 9.20019 12.5999 9.20019Z",fill:"#ADB5BD"}))))}const pI=i.forwardRef(hI),fI=(n.p,e=>{let{socialName:t,socialTitle:n,socialIcon:r,toolTip:i,placeholder:o}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] w-full",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[r,(0,a.jsx)("p",{className:"text-white text-xs 3xl:text-lg font-bold",children:n}),i]}),(0,a.jsx)(Zt,{name:t,placeholder:o,className:"h-[26.667px] 3xl:h-[40px] w-full text-xs 3xl:text-lg bg-[#04070B] border border-[#6C757D] font-semibold rounded-[4px] 3xl:rounded-md px-3 focus:outline-none text-white shrink-0"})]})}),mI=()=>(0,a.jsxs)("div",{className:"w-full flex flex-col gap-[12px]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[4px]",children:[(0,a.jsx)("div",{className:"text-white text-xs 3xl:text-lg font-bold",children:"External Links"}),(0,a.jsx)("div",{className:"text-[#6C757D] text-xs 3xl:text-lg  font-bold",children:"(Optional)"})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(fI,{socialIcon:(0,a.jsx)(aI.h,{}),socialName:"collectionWebsiteURL",socialTitle:"Website",placeholder:"https://flowty.io"}),(0,a.jsx)(fI,{socialIcon:(0,a.jsx)(iI,{}),socialName:"twitterHandle",socialTitle:"Twitter",placeholder:"https://twitter.com/flowty_io"})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(fI,{socialIcon:(0,a.jsx)(pI,{}),socialName:"discordHandle",socialTitle:"Discord Invite Link",toolTip:(0,a.jsx)(eI,{toolTipCustomId:"discordTooltip",renderContent:(0,a.jsxs)("span",{children:["Please enter an invite link that never expires. See more at",(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://support.discord.com/hc/en-us/articles/208866998-Invites-101",className:"ml-1 text-[#04E5A3] font-montserrat underline",children:"Discord Invites 101"}),"."]}),clickable:!0}),placeholder:"https://discord.gg/46URkm"}),(0,a.jsx)(fI,{socialIcon:(0,a.jsx)(cI,{}),socialName:"instagramHandle",socialTitle:"Instagram",placeholder:"https://instagram.com/flowty_io"})]})]}),gI=()=>{const{errors:e,touched:t,uploadImage:n,setFieldError:r,loggedUser:i}=sS();return(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] 3xl:gap-[24px] ",children:[(0,a.jsx)("div",{className:"flex flex-1 w-full",children:(0,a.jsx)(NF,{title:"Banner Image (used for Twitter preview)*",name:"nftBannerImage",imageType:"BANNER",toolTip:(0,a.jsx)(eI,{toolTipCustomId:"nftBannerImage",renderContent:(0,a.jsx)("span",{children:"Not displayed on Flowty's marketplace as of now but will be used as a preview image when linking to the collection on Twitter or elsewhere."})}),inputError:FF("nftBannerImage",t,e),errorMessage:IF("nftBannerImage",t,e),uploadImageFn:n,setFieldError:r,isLoggedUser:Boolean(i)})}),(0,a.jsx)("div",{className:"flex flex-1 w-full",children:(0,a.jsx)(NF,{title:"Thumbnail Image*",name:"nftThumbnailImage",imageType:"THUMBNAIL",inputError:FF("nftThumbnailImage",t,e),errorMessage:IF("nftThumbnailImage",t,e),uploadImageFn:n,setFieldError:r,isLoggedUser:Boolean(i)})}),(0,a.jsx)("div",{className:"flex items-start justify-start",children:(0,a.jsx)(mI,{})})]})},vI=()=>{const{formTab:e}=sS();return e===HT.CustomizeCollectionFirstTab?(0,a.jsx)(KF,{}):(0,a.jsx)(gI,{})};var CI;function yI(){return yI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yI.apply(null,arguments)}function bI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",yI({width:14,height:8,viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,CI||(CI=i.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:"#F8F9FA"})))}const wI=i.forwardRef(bI),xI=(n.p,n.p+"static/media/flow-token-icon.6d63521dd5316f8fd456.png"),AI=e=>{let{name:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(qa.m_,{id:"".concat(t,"-FLOW-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.875rem",fontWeight:500,zIndex:10}}),(0,a.jsx)("img",{"data-tooltip-id":"".concat(t,"-FLOW-tooltip"),"data-tooltip-content":"FLOW","data-tooltip-place":"left",src:xI,alt:"FLOW",className:"-ml-3 h-[12px] w-[12px] 3xl:h-4 3xl:w-4"})]})},EI=e=>{var t;let{inputName:n,flowtyMarketplaceFee:r}=e;const[o,s]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),[d]=(0,l.Mt)(n),[h]=(0,l.Mt)("exampleSalePrice"),p=null!==r&&void 0!==r?r:.02,f=null!==(t=h.value)&&void 0!==t?t:0,m=null!==d&&void 0!==d&&d.value?d.value:0,g="mintPrice"===n?.1*m:f*p,v=f*m/100,C=f-(g+v),y=(0,i.useMemo)((()=>"mintPrice"===n?m-g:"royalty"===n?v:void 0),[n,m,h]);return(0,a.jsxs)("div",{"data-testid":"".concat(n,"-dropdown"),className:"flex flex-col gap-[8px] font-montserrat text-sm 3xl:text-lg",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)("span",{className:"font-normal text-white",children:"mintPrice"===n?"Mint Price":"Example Sale Price"}),(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(AI,{name:n}),"mintPrice"===n?(0,a.jsx)("span",{className:"ml-1 font-bold\ttext-white",children:m.toFixed(2)}):(0,a.jsx)(Cc,{name:"exampleSalePrice",className:"h-[26.667px] 3xl:h-[40px] max-w-[52px] 3xl:max-w-[102px] text-[9.333px] 3xl:text-sm px-2 3xl:px-3 ml-1 flex justify-center items-end rounded-lg border bg-[#ffffff0a] text-right text-white font-bold border-[#343A40]",placeholder:"100.00"})]})]}),"royalty"===n&&(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("button",{className:"flex flex-row justify-between items-center",onClick:()=>s((e=>!e)),children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)(wI,{className:"w-[9.333px] h-[5.333px] 3xl:w-[14px] 3xl:h-2 ".concat(o?"transform rotate-180":"")}),(0,a.jsx)("span",{className:"font-normal text-white",children:"Creator Royalty (".concat(m.toFixed(2),"%)")})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{className:"mr-1 font-bold text-white",children:"-"}),(0,a.jsx)(AI,{name:"royalty"}),(0,a.jsx)("span",{"data-testid":"royalty-fee",className:"ml-1 font-bold text-white ",children:v.toFixed(2)})]})]}),o&&(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat pt-1.5 font-[400]",children:["Transferred directly to the creator of an NFT collection. This is not a Flowty fee."," ",(0,a.jsx)("a",{href:"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("button",{className:"flex flex-row justify-between items-center",onClick:()=>u((e=>!e)),children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)(wI,{className:"w-[9.333px] h-[5.333px] 3xl:w-[14px] 3xl:h-2 ".concat(c?"transform rotate-180":"")}),(0,a.jsx)("span",{className:"font-normal text-white",children:"mintPrice"===n?"Flowty Launchpad Fee (".concat(Number(10).toFixed(2),"%)"):"Flowty Marketplace Fee (".concat(Number(100*p).toFixed(2),"%)")})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{className:"mr-1 font-bold text-white",children:"-"}),(0,a.jsx)(AI,{name:"".concat(n,"-flowty-fee")}),(0,a.jsx)("span",{"data-testid":"".concat(n,"-flowty-fee"),className:"ml-1 font-bold text-white",children:g.toFixed(2)})]})]}),c&&(0,a.jsxs)("div",{className:"text-neutral-500 font-montserrat pt-1.5 font-[400]",children:["mintPrice"===n?"Behind the scenes we are building a new, safe, metadata standard-compliant smart contract for you that will be immediately compatible with Flowty's marketplace.":"A fee charged by Flowty for providing the services on the platform."," ",(0,a.jsx)("a",{href:"mintPrice"===n?"https://docs.flowty.io/reference/nft-launchpad/launchpad-fees":"https://docs.flowty.io/reference/secondary-marketplace/secondary-marketplace-fees",target:"_blank",className:"text-[#04E5A3] font-montserrat underline",rel:"noreferrer",children:"Learn More"})]})]}),(0,a.jsx)("div",{className:"border-gradient h-[1px]"}),"royalty"===n&&(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("div",{className:"font-normal text-white",children:"Seller Receives"}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(AI,{name:"".concat(n,"-seller-received")}),(0,a.jsx)("span",{"data-testid":"".concat(n,"-seller-received"),className:"ml-1 font-bold text-white",children:C.toFixed(2)})]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("div",{className:" font-bold text-white",children:"Creator (You) Receives"}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(AI,{name:"".concat(n,"-value-received")}),(0,a.jsx)("span",{"data-testid":"".concat(n,"-value-received"),className:"ml-1 font-bold text-white ",children:null===y||void 0===y?void 0:y.toFixed(2)})]})]})]})},_I=e=>{let{dropDownText:t,inputName:n,title:r,type:i,inputError:o=!1,errorMessage:s,placeHolder:l,toolTip:c,flowtyMarketplaceFee:u}=e;return(0,a.jsxs)("div",{className:"w-full p-3 3xl:p-[18px] flex flex-col bg-[#ffffff0a] border border-[#343A40] gap-3 rounded-[5.333px] 3xl:rounded-lg",children:[(0,a.jsx)("div",{className:"w-full flex flex-col gap-1",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("div",{className:"text-white text-[12px] 3xl:text-[18px] font-bold",children:r}),c]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,a.jsx)("div",{className:"text-white flex items-center justify-end gap-[12px]",children:(0,a.jsx)("div",{className:"text-sm 3xl:text-lg font-bold",children:"flow"===i?(0,a.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,a.jsx)(AI,{name:n}),(0,a.jsx)(Cc,{name:n,inputError:o,className:"h-[26.667px] 3xl:h-[40px] max-w-[52px] 3xl:max-w-[102px] text-[9.333px] 3xl:text-sm px-2 3xl:px-3 flex justify-center items-end rounded-lg border  bg-[#ffffff0a] text-right ".concat(o?"border-[#FF6E25]":"border-[#343A40]"),placeholder:l})]}):(0,a.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,a.jsx)(Cc,{name:n,inputError:o,className:"h-[26.667px] 3xl:h-[40px] max-w-[52px] 3xl:max-w-[102px] text-[9.333px] 3xl:text-sm px-2 3xl:px-3 flex justify-center items-end rounded-lg border  bg-[#ffffff0a] text-right ".concat(o?"border-[#FF6E25]":"border-[#343A40]"),placeholder:l}),(0,a.jsx)("div",{className:"3xl:ml-2",children:"%"})]})})}),s&&(0,a.jsx)("p",{className:"w-full text-end text-[#FF6E25] text-xs whitespace-nowrap",children:s})]})]})}),(0,a.jsx)("div",{className:"flex items-center justify-between w-full",children:(0,a.jsx)("div",{className:"text-[#ADB5BD] font-semibold text-xs 3xl:text-lg",children:t})}),(0,a.jsx)(EI,{inputName:n,flowtyMarketplaceFee:u})]})},TI=e=>{let{fieldName:t,toggleTimePicker:n,setSelectedTime:r,selectedTime:i}=e;const s=(()=>{const e=[];for(let t=0;t<24;t++)for(let n=0;n<60;n+=30){const r=t%12===0?12:t%12,i=n.toString().padStart(2,"0"),o=t<12?"AM":"PM";e.push("".concat(r,":").concat(i," ").concat(o))}return e})(),[c]=(0,l.Mt)("dropStartDateTime"),[,u,d]=(0,l.Mt)("dropEndDateTime"),[h,,p]=(0,l.Mt)(t),f=e=>{if(r(e),"NOW"===e){const e=new Date(Date.now());return p.setValue({dateTime:e.getTime(),isNow:!0}),void n()}if(e){const[r,i]=e.split(":"),o=i.slice(0,2),a=i.slice(3);let s=parseInt(r);"PM"===a&&12!==s?s+=12:"AM"===a&&12===s&&(s=0);const l=new Date(h.value.dateTime||c.value.dateTime||Date.now());l.setHours(s),l.setMinutes(parseInt(o));const f=l.getTime();p.setValue({dateTime:f}),n(),"dropStartDateTime"===t&&f>=u.value.dateTime&&zI(l,d)}},m=new Date(c.value.dateTime),g=(new Date).getDate()===m.getDate();return(0,a.jsx)("div",{className:"w-full rounded-lg bg-[#04070B] shadow-md",children:(0,a.jsxs)("div",{id:"timePicker",className:"cursor-pointer absolute left-0 mt-2  block w-full h-[240px] py-4 3xl:py-5 whitespace-nowrap text-[9.333px] 3xl:text-base font-medium border border-[#6C757D] bg-[#04070B] focus:outline-none sm:text-sm rounded-md overflow-y-scroll",children:["dropStartDateTime"===t&&g&&(0,a.jsx)("div",{className:(0,o.cn)("text-white py-[8px] select-none rounded px-5 3xl:px-6 hover:bg-[#575757]",{"bg-[#575757]/30":"NOW"===i}),onClick:()=>f("NOW"),onKeyDown:()=>f("NOW"),children:"NOW"}),s.map(((e,t)=>(0,a.jsx)("div",{onClick:()=>f(e),onKeyDown:()=>f(e),className:(0,o.cn)("text-white py-[8px] select-none rounded px-5 3xl:px-6 hover:bg-[#575757]",{"bg-[#575757]/30":i===e}),children:e},t)))]})})};var SI;function kI(){return kI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kI.apply(null,arguments)}function PI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",kI({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,SI||(SI=i.createElement("path",{d:"M6.66667 5.83333V2.5M13.3333 5.83333V2.5M5.83333 9.16667H14.1667M4.16667 17.5H15.8333C16.7538 17.5 17.5 16.7538 17.5 15.8333V5.83333C17.5 4.91286 16.7538 4.16667 15.8333 4.16667H4.16667C3.24619 4.16667 2.5 4.91286 2.5 5.83333V15.8333C2.5 16.7538 3.24619 17.5 4.16667 17.5Z",stroke:"#ADB5BD",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"})))}const DI=i.forwardRef(PI);n.p;var NI;function FI(){return FI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FI.apply(null,arguments)}function II(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",FI({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,NI||(NI=i.createElement("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"#ADB5BD",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"})))}const RI=i.forwardRef(II);n.p;var MI,OI;function jI(){return jI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jI.apply(null,arguments)}function LI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",jI({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 21 21",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,MI||(MI=i.createElement("g",{clipPath:"url(#clip0_7484_2140)"},i.createElement("path",{d:"M9.99984 5.00033V10.0003L13.3332 11.667M18.3332 10.0003C18.3332 14.6027 14.6022 18.3337 9.99984 18.3337C5.39746 18.3337 1.6665 14.6027 1.6665 10.0003C1.6665 5.39795 5.39746 1.66699 9.99984 1.66699C14.6022 1.66699 18.3332 5.39795 18.3332 10.0003Z",stroke:"#ADB5BD",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}))),OI||(OI=i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_7484_2140"},i.createElement("rect",{width:20,height:20,fill:"white"})))))}const BI=i.forwardRef(LI);n.p;var UI=n(77364),VI=n.n(UI),HI=n(6321);const zI=(e,t)=>{const n=(0,bl.default)(new Date(e),7);t.setValue({dateTime:n.getTime()})},ZI=e=>{let{fieldName:t,selectsStart:n=!1,selectsEnd:r=!1,inputError:o,errorMessage:s}=e;const[c,,u]=(0,l.Mt)(t),[,d,h]=(0,l.Mt)("dropEndDateTime"),[p]=(0,l.Mt)("dropStartDateTime"),f=new Date(p.value.dateTime),m=new Date(d.value.dateTime),g=c.value.dateTime?(0,tg.default)(new Date(c.value.dateTime),"h:mm a"):(0,tg.default)(new Date,"h:mm a"),v=(new Date).getDate()===new Date(c.value.dateTime).getDate(),[C,y]=(0,i.useState)(!1),[b,w]=(0,i.useState)(!1),x="dropStartDateTime"===t&&v&&!Boolean(c.value.dateTime)||c.value.isNow?"NOW":g,[A,E]=(0,i.useState)(x),_=(0,i.useRef)(null),T=e=>{_.current&&!_.current.contains(e.target)&&w(!1)};(0,i.useEffect)((()=>(document.addEventListener("mousedown",T),()=>{document.removeEventListener("mousedown",T)})),[]);const S=()=>{w(!b),y(!1)},k=e=>{e.stopPropagation()};return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-[.56rem] 3xl:h-[2.5rem] items-stretch bg-[#04070B] text-white rounded-lg",children:[(0,a.jsx)("div",{className:"basis-2/3 relative inline-block",children:(0,a.jsxs)("button",{className:"flex flex-row cursor-pointer gap-2 select-none w-full text-base md:justify-between px-2 py-[1px] 3xl:px-3 3xl:py-2 rounded-md h-[26.667px] 3xl:h-full border ".concat(o?"border-[#FF6E25]":"border-[#495057]"," ").concat(C&&"react-datepicker-ignore-onclickoutside"),onClick:e=>{e.stopPropagation(),y((e=>!e))},children:[(0,a.jsxs)("div",{className:"flex flex-row text-white bg-[#04070B] gap-2 w-full items-center ",id:"drop-form","data-testid":"".concat(t,"-drop-form"),children:[(0,a.jsx)(DI,{className:"cursor-pointer text-gray-500 h-4 3xl:h-5"}),(0,a.jsx)(VI(),{"data-testid":"date-picker",selected:c.value.dateTime?new Date(c.value.dateTime):new Date,onChange:e=>{if((new Date).getDate()===(null===e||void 0===e?void 0:e.getDate())&&"dropStartDateTime"===t)E("NOW"),u.setValue({dateTime:(new Date).getTime(),isNow:!0}),y(!1);else if(e){if("NOW"===A){const n=(e=>{const t=new Date(e);return t.setMinutes(60,0,0),t})(e),r=(0,tg.default)(n,"h:mm a");return E(r),u.setValue({dateTime:n.getTime(),isNow:!1}),"dropStartDateTime"===t&&n.getTime()>=d.value.dateTime&&zI(n,h),void y(!1)}"dropStartDateTime"===t&&e.getTime()>=d.value.dateTime&&zI(e,h);const n=e.getTime();u.setValue({dateTime:n,isNow:!1}),y(!1)}},minDate:"dropEndDateTime"===t&&f||new Date,open:C,selectsStart:n,selectsEnd:r,className:"react-datepicker inline-block cursor-pointer relative text-[#E9ECEF] text-[9.333px] 3xl:text-base font-normal leading-6",startDate:null!==f&&void 0!==f?f:Date.now(),endDate:null!==m&&void 0!==m?m:Date.now(),dateFormat:"MMMM d, yyyy",dayClassName:e=>{return((e,t)=>{const n=new Date,r=(0,HI.default)(e),i=(0,HI.default)(n),o=t?(0,HI.default)(t):null;return o&&r>=i&&r<o?"react-datepicker__day--disabled custom-disabled-day":""})(e,(t=p.value.dateTime)?new Date(t):new Date);var t},calendarContainer:e=>(0,a.jsx)("div",{...e,onClick:k,onMouseDown:k}),onClickOutside:()=>{y(!1)}})]}),(0,a.jsx)(RI,{})]})}),(0,a.jsxs)("div",{className:"basis-1/3 h-[26.667px] 3xl:h-full",ref:_,children:[(0,a.jsxs)("button",{type:"button",onClick:S,className:"px-2 3xl:px-3 h-full select-none flex flex-row items-center justify-between w-full py-1 3xl:py-2 rounded-md border ".concat(o?"border-[#FF6E25]":"border-[#495057]"),children:[(0,a.jsxs)("div",{className:"flex gap-2 items-center w-full",children:[(0,a.jsx)("div",{className:"w-4 3xl:w-5",children:(0,a.jsx)(BI,{className:"w-full"})}),(0,a.jsx)("div",{className:"text-neutral-800 whitespace-nowrap text-[9.333px] 3xl:text-base font-normal leading-normal 3xl:leading-6",children:x})]}),(0,a.jsx)(RI,{})]}),b&&(0,a.jsx)("div",{className:"flex w-full justify-center items-center relative z-20 ",children:(0,a.jsx)(TI,{fieldName:t,toggleTimePicker:S,setSelectedTime:E,selectedTime:x})})]})]}),s&&(0,a.jsx)("p",{className:"absolute bottom-[-15px] left-0 flex w-full justify-end text-end text-[#FF6E25] font-[400] text-[8px] leading-normal 3xl:text-xs whitespace-nowrap",children:s})]})},WI=e=>{var t;let{label:n,name:r,selectsStart:i=!1,selectsEnd:o=!1,touched:s,errors:l}=e;const c=IF(r,s,l);return(0,a.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,a.jsx)("div",{className:"text-white text-xs 3xl:text-lg font-bold",children:n}),(0,a.jsx)(ZI,{fieldName:r,selectsStart:i,selectsEnd:o,inputError:FF(r,s,l),errorMessage:Boolean(c)?null===(t=c.dateTime)||void 0===t?void 0:t.toString():null})]})};var qI;function GI(){return GI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GI.apply(null,arguments)}function YI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",GI({width:9,height:14,viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,qI||(qI=i.createElement("path",{d:"M0.333252 2.125C0.333252 1.22754 1.0496 0.5 1.93325 0.5H6.73325C7.61691 0.5 8.33325 1.22754 8.33325 2.125V13.5L4.33325 11.4688L0.333252 13.5V2.125Z",fill:"#F8F9FA"})))}const KI=i.forwardRef(YI);n.p;var QI;function XI(){return XI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XI.apply(null,arguments)}function JI(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",XI({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,QI||(QI=i.createElement("g",{id:"Photo"},i.createElement("path",{id:"Icon",d:"M8.13307 4.49681C7.21684 4.05032 6.18754 3.7998 5.09974 3.7998C4.01194 3.7998 2.98264 4.05032 2.06641 4.49681V13.1635C2.98264 12.717 4.01194 12.4665 5.09974 12.4665C6.54586 12.4665 7.88858 12.9092 8.99974 13.6665C10.1109 12.9092 11.4536 12.4665 12.8997 12.4665C13.9875 12.4665 15.0168 12.717 15.9331 13.1635V4.49681C15.0168 4.05032 13.9875 3.7998 12.8997 3.7998C11.8119 3.7998 10.7826 4.05032 9.86641 4.49681V10.7331C9.86641 11.2118 9.47839 11.5998 8.99974 11.5998C8.52109 11.5998 8.13307 11.2118 8.13307 10.7331V4.49681Z",fill:"#F8F9FA"}))))}const $I=i.forwardRef(JI),eR=(n.p,{[OF.OpenEdition]:"Open Edition",[OF.LimitedEdition]:"Limited Edition"}),tR=[{description:"No cap on NFTs that can be minted while minting is live",disabled:!1,image:$I,labelMapping:eR,name:"collectionEditionType",pillContent:null,value:OF.OpenEdition},{description:"Create a fixed number of NFTs",disabled:!0,image:KI,labelMapping:eR,name:"collectionEditionType",pillContent:"Coming Soon",value:OF.LimitedEdition}],nR=()=>{const{errors:e,touched:t,uploadImage:n,setFieldError:r,loggedUser:i,flowtyMarketplaceFee:o}=sS();return(0,a.jsx)("div",{className:"flex flex-1 flex-col justify-between self-stretch h-full",children:(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] 3xl:gap-[24px] text-white",children:[(0,a.jsx)(NF,{title:"Drop Page Image*",name:"dropThumbnailImage",inputError:FF("dropThumbnailImage",t,e),errorMessage:IF("dropThumbnailImage",t,e),imageType:"THUMBNAIL",uploadImageFn:n,setFieldError:r,isLoggedUser:Boolean(i)}),(0,a.jsx)(WI,{label:"Start Date & Time (Local Time Zone)",name:"dropStartDateTime",selectsStart:!0,errors:e,touched:t}),(0,a.jsx)(WI,{label:"End Date & Time (Local Time Zone)",name:"dropEndDateTime",selectsEnd:!0,errors:e,touched:t}),(0,a.jsx)(_I,{inputName:"mintPrice",type:"flow",dropDownText:"Funds received per minted NFT",title:"Mint Price",inputError:FF("mintPrice",t,e),errorMessage:IF("mintPrice",t,e),placeHolder:"0.00",toolTip:(0,a.jsx)(eI,{toolTipCustomId:"cratorMintTooltip",renderContent:(0,a.jsx)("span",{children:"Price per NFT that a user mints. For a Free Mint, please input zero or leave blank."})})}),(0,a.jsx)(_I,{inputName:"royalty",type:"percentage",dropDownText:"Funds received if NFT is sold by a collector",title:"Royalty",inputError:FF("royalty",t,e),errorMessage:IF("royalty",t,e),flowtyMarketplaceFee:o,placeHolder:"0",toolTip:(0,a.jsx)(eI,{toolTipCustomId:"creatorRoyaltytTooltip",renderContent:(0,a.jsx)("span",{children:"The percentage of each marketplace sale that the collection creator receives (see example). Many collections choose a 5% royalty."})})}),(0,a.jsxs)("div",{className:"flex flex-col gap-[6.667px] 3xl:gap-[12px]",children:[(0,a.jsx)("div",{className:"flex-col text-white text-xs 3xl:text-lg font-bold",children:"Edition Type"}),(0,a.jsx)(JS,{options:tR,classNames:"flex-row"})]})]})})};var rR;function iR(){return iR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iR.apply(null,arguments)}function oR(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",iR({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,rR||(rR=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.43135 2.78862C8.1195 1.56525 9.88088 1.56525 10.569 2.78862L15.5913 11.7171C16.2662 12.917 15.3991 14.3996 14.0225 14.3996H3.97791C2.60123 14.3996 1.73414 12.917 2.40908 11.7171L7.43135 2.78862ZM9.90011 11.6997C9.90011 12.1967 9.49717 12.5997 9.00011 12.5997C8.50305 12.5997 8.10011 12.1967 8.10011 11.6997C8.10011 11.2026 8.50305 10.7997 9.00011 10.7997C9.49717 10.7997 9.90011 11.2026 9.90011 11.6997ZM9.00011 4.49968C8.50305 4.49968 8.10011 4.90263 8.10011 5.39968V8.09968C8.10011 8.59674 8.50305 8.99968 9.00011 8.99968C9.49717 8.99968 9.90011 8.59674 9.90011 8.09968V5.39968C9.90011 4.90263 9.49717 4.49968 9.00011 4.49968Z",fill:"#FF6E25"})))}const aR=i.forwardRef(oR),sR=(n.p,e=>{let{text:t}=e;return(0,a.jsxs)("div",{className:"flex flex-row items-center bg-[#edf3f60a] p-[8px] 3xl:p-[12px] gap-[8px] text-[#FF6E25] font-normal rounded-lg",children:[(0,a.jsx)(aR,{className:"h-[1.125rem] w-[20px] fill-[#FF6E25]"}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("p",{className:"text-xs 3xl:text-base leading-3",children:t})})]})}),lR=()=>{const{formTab:e,handleSubmit:t}=sS();return(0,a.jsxs)("div",{className:"flex flex-col gap-4 3xl:gap-6 ",children:[e===HT.ConfirmationTab&&(0,a.jsx)("div",{className:"md:mb-[12px]",children:(0,a.jsx)(sR,{text:"Once you submit your collection, you will no longer be able to make any edits or changes"})}),(0,a.jsx)(s,{type:"submit",onClick:t,text:"".concat(e!==HT.ConfirmationTab?"NEXT":"READY TO LAUNCH!"),variant:"secondary",bgColor:"white"}),(0,a.jsxs)("p",{className:"text-[#ADB5BD] font-medium text-xs 3xl:text-base",children:["Need help? Contact us via"," ",(0,a.jsx)("a",{href:"https://discord.gg/flowty",target:"_blank",rel:"noreferrer",className:"underline text-white font-semibold",children:"Discord"})," ","or"," ",(0,a.jsx)("a",{href:"https://x.com/flowty_io",target:"_blank",rel:"noreferrer",className:"underline text-white font-semibold",children:"Twitter"})]})]})};var cR;function uR(){return uR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uR.apply(null,arguments)}function dR(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",uR({xmlns:"http://www.w3.org/2000/svg",width:28,height:29,viewBox:"0 0 28 29",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,cR||(cR=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5898 23.8901C13.043 24.4369 12.1566 24.4369 11.6099 23.8901L3.20986 15.4901C2.66312 14.9434 2.66312 14.057 3.20986 13.5102L11.6099 5.11025C12.1566 4.56351 13.043 4.56351 13.5898 5.11025C14.1365 5.65698 14.1365 6.54341 13.5898 7.09014L7.57971 13.1002H23.7998C24.573 13.1002 25.1998 13.727 25.1998 14.5002C25.1998 15.2734 24.573 15.9002 23.7998 15.9002L7.57971 15.9002L13.5898 21.9102C14.1365 22.457 14.1365 23.3434 13.5898 23.8901Z",fill:"#6C757D"})))}const hR=i.forwardRef(dR),pR=(n.p,()=>{const{formTab:e,moveToPreviousTab:t}=sS();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-full flex flex-col gap-[16px] 3xl:gap-[24px] max-w-[710px] z-10","data-testid":"navbar-step-selector",children:[(0,a.jsxs)("div",{className:"flex gap-2 items-center","data-testid":"navbar-step-selector-title",children:[e!==HT.WelcomeCreatorHubTab&&(0,a.jsx)("button",{onClick:t,className:"cursor-pointer fill-white",children:(0,a.jsx)(hR,{})}),(0,a.jsx)("p",{className:"text-[22px] md:text-[32px] 3xl:text-[44px] whitespace-nowrap creator-hub-title-gradient font-bold leading-none",children:"Create Collection"})]}),(0,a.jsxs)("div",{className:"flex gap-[9.333px] 3xl:gap-[14px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 max-md:w-full w-[106px]",children:[(0,a.jsx)("div",{className:"rounded-xl h-[8px] ".concat(e>=1?"bg-white":"bg-[#495057]")}),(0,a.jsxs)("p",{className:e>=1?"text-[#F8F9FA] text-[12px] font-semibold whitespace-nowrap leading-none":"text-[#495057] text-[12px] font-semibold whitespace-nowrap leading-none",children:[(0,a.jsx)("span",{className:"hidden md:flex text-[12px]",children:"Customize Collection"}),(0,a.jsx)("span",{className:"flex md:hidden",children:"Collection"})]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-2 max-md:w-full w-[106px]",children:(0,a.jsx)("div",{className:"rounded-xl h-[8px]  ".concat(e>=2?"bg-white":"bg-[#495057]")})}),(0,a.jsxs)("div",{className:"flex flex-col gap-2 max-md:w-full w-[106px]",children:[(0,a.jsx)("div",{className:"rounded-xl h-[8px]  ".concat(e>=3?"bg-white":"bg-[#495057]")}),(0,a.jsxs)("p",{className:e>=3?"text-[#F8F9FA] text-[12px] font-semibold whitespace-nowrap leading-none":"text-[#495057] text-[12px] font-semibold whitespace-nowrap leading-none",children:[(0,a.jsx)("span",{className:"hidden md:flex text-[12px]",children:"Customize Drop Page"}),(0,a.jsx)("span",{className:"flex md:hidden",children:"Drop Page "})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2 max-md:w-full w-[106px]",children:[(0,a.jsx)("div",{className:"rounded-xl h-[8px]  ".concat(e>=4?"bg-white":"bg-[#495057]")}),(0,a.jsx)("p",{className:e>=4?"text-[12px] text-[#F8F9FA] font-semibold text-end whitespace-nowrap leading-[15px]":"text-[12px] text-[#495057] font-semibold text-end whitespace-nowrap leading-[15px]",children:"End"})]})]})]})})}),fR=()=>{const{formTab:e}=sS();return(0,a.jsxs)("div",{className:"flex flex-col gap-[20px] md:gap-[30px] 3xl:gap-[40px] w-full md:w-min",children:[(0,a.jsx)(pR,{}),(0,a.jsx)("div",{className:"h-full overflow-y-auto pr-2",children:(()=>{switch(e){case HT.CustomizeCollectionFirstTab:case HT.CustomizeCollectionSecondTab:return(0,a.jsx)(vI,{});case HT.CustomizeDropTab:return(0,a.jsx)(nR,{});case HT.ConfirmationTab:return(0,a.jsx)(LS,{});default:return null}})()}),(0,a.jsx)(lR,{})]})},mR=()=>{var e,t,n;const[r]=(0,l.Mt)("dropThumbnailImage"),[o]=(0,l.Mt)("mintPrice"),[c]=(0,l.Mt)("dropStartDateTime"),[u]=(0,l.Mt)("dropEndDateTime"),d=c.value,[h,p]=(0,i.useState)(d.dateTime-(new Date).getTime()),f=e=>new Date(e).toLocaleString("en-US",{day:"numeric",hour:"numeric",hour12:!0,minute:"numeric",month:"long",year:"numeric"});return(0,i.useEffect)((()=>{const e=setInterval((()=>{const e=c.value.dateTime-(new Date).getTime();p(e)}),1e3);return()=>clearInterval(e)}),[h]),(0,a.jsxs)("div",{className:"flex flex-row justify-center gap-10 py-4 3xl:gap-20 3xl:px-10",children:[r.value&&(r.value.fileCid||r.value.fileBase64)?(0,a.jsx)("div",{className:"w-full md:w-[250px] md:h-[250px] 3xl:h-[388px] 3xl:w-[388px] h-full my-auto object-fill aspect-square",children:(0,a.jsx)("img",{src:null!==(e=r.value)&&void 0!==e&&e.fileCid?"".concat(bF.n).concat(null===(t=r.value)||void 0===t?void 0:t.fileCid):null===(n=r.value)||void 0===n?void 0:n.fileBase64,alt:"Drop Custom",className:"rounded-[2.5rem] w-full h-full"})}):(0,a.jsx)("div",{className:"flexw-full md:w-[250px] md:h-[250px] 3xl:h-[388px] 3xl:w-[388px] h-full my-auto animate-pulse bg-[#43ff640a] rounded-[2.5rem] object-fill aspect-square"}),(0,a.jsxs)("div",{className:"flex flex-col justify-center gap-[8px] 3xl:gap-[22px] w-full max-w-[300px] 3xl:max-w-[400px]",children:[(0,a.jsx)("div",{children:(0,a.jsx)(Fv.X,{dropStatus:"PENDING",smallChip:!0})}),(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] 2xl:gap-[14px]",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px] 3xl:text-[14px]",children:"Drop Starts (Local Time Zone)"}),(0,a.jsx)("p",{className:"text-white text-[12px] 3xl:text-[14px] font-bold",children:f(c.value.dateTime)})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px] 3xl:text-[14px]",children:"Drop Ends (Local Time Zone)"}),(0,a.jsx)("p",{className:"text-white text-[12px] 3xl:text-[14px] font-bold",children:f(u.value.dateTime)})]})]}),(0,a.jsx)("div",{className:"flex max-tablet:flex-col gap-14 max-tablet:gap-[10px] justify-between",children:(0,a.jsxs)("div",{className:"flex flex-col 3xl:gap-[10px]",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px]",children:"Price"}),(0,a.jsx)("div",{className:"flex flex-col gap-1",children:o?(0,a.jsx)("div",{className:"flex items-center w-auto justify-start gap-x-[0.75rem]",children:0===o.value||null===o.value?(0,a.jsxs)("span",{className:"text-white font-montserrat text-[16px] 3xl:text-[26px] font-[700]",children:[" ","FREE"," "]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ka.h,{className:"w-[14px] 3xl:w-[20px] h-[14px] 3xl:h-[20px]"}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)("span",{className:"text-white font-montserrat text-[16px] 3xl:text-[26px] font-[700]",children:an()(o.value).format("0,0.00")}),(0,a.jsx)("h4",{className:"text-[#ADB5BD] text-[11px] font-normal leading-normal",children:"FLOW"})]})]})}):"-"})]})}),(0,a.jsxs)("div",{className:"flex flex-col 3xl:gap-[10px]",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px]",children:"Countdown"}),(0,a.jsx)(Ug,{countdownCurrentValue:Bg(h)})]}),(0,a.jsx)("div",{className:"h-[35px] flex flex-col gap-1",children:(0,a.jsx)(s,{variant:"secondary",bgColor:"white",text:"BUY NOW \u2022 COMING SOON",disabled:!0,onClick:()=>{},className:"py-[2px] text-[10px] 3xl:text-[14px]"})})]})]})},gR=()=>{var e,t,n,r,i;const[o]=(0,l.Mt)("nftThumbnailImage"),[s]=(0,l.Mt)("collectionName"),[c]=(0,l.Mt)("collectionDescription");return(0,a.jsxs)("div",{"data-testid":"preview-banner",className:"w-full flex flex-col gap-[8px] 3xl:gap-[20px]",children:[(0,a.jsx)("div",{className:"flex flex-row space-x-4 items-center flex-grow",children:(0,a.jsx)("div",{className:"h-[60px] flex flex-row space-x-4 items-center gap-2 3xl:gap-4 grow",children:(0,a.jsxs)("div",{className:"flex items-center justify-center space-x-8",children:[(0,a.jsx)("div",{children:o.value&&(null!==(e=o.value)&&void 0!==e&&e.fileCid||null!==(t=o.value)&&void 0!==t&&t.fileBase64)?(0,a.jsx)("img",{src:null!==(n=o.value)&&void 0!==n&&n.fileCid?"".concat(bF.n).concat(null===(r=o.value)||void 0===r?void 0:r.fileCid):null===(i=o.value)||void 0===i?void 0:i.fileBase64,alt:"Drop Custom",className:"h-[60px] w-[60px] min-w-[60px] 3xl:h-[92px] 3xl:w-[92px] 3xl:min-w-[92px] bg-cover bg-no-repeat rounded-[6px] sm:h-18 sm:w-18 bg-[#edf3f60a]"}):(0,a.jsx)("div",{className:"animate-pulse h-[60px] w-[60px] min-w-[60px] 3xl:h-[92px] 3xl:w-[92px] 3xl:min-w-[92px] bg-cover bg-no-repeat rounded-[12px] sm:h-18 sm:w-18 bg-[#edf3f60a]"})}),(0,a.jsx)("div",{className:"flex flex-col items-start justify-start mb-auto",children:s.value?(0,a.jsx)("div",{"data-testid":"preview-collection-name",className:"text-white font-montserrat text-[16px] 3xl:text-[1.67475rem] font-extrabold leading-normal",children:s.value}):(0,a.jsx)("div",{className:"animate-pulse w-[120px] h-[25px] lg:w-[240px] bg-[#edf3f60a] rounded-md"})})]})})}),(0,a.jsx)("div",{className:"flex items-center justify-between w-full gap-[50px]",children:c.value?(0,a.jsx)("div",{className:"w-[400px] 3xl:w-[580px] h-[60px] overflow-y-auto py-4 px-6 rounded-md bg-white bg-opacity-5 backdrop-blur-lg break-words",children:(0,a.jsx)("p",{"data-testid":"preview-description",className:"text-[#ADB5BD] leading-3 text-[10px] 3xl:text-sm font-medium overflow-hidden text-ellipsis",children:c.value})}):(0,a.jsx)("div",{className:"animate-pulse w-[300px] 3xl:w-[480px] h-[60px] bg-[#edf3f60a] rounded-md"})})]})},vR=e=>{let{type:t}=e;return(0,a.jsx)("div",{"data-testid":"preview-page-tab",children:(0,a.jsx)("div",{className:"w-full border-b-2 border-b-[#212529] text-white",children:(0,a.jsxs)("div",{className:"flex items-center h-[32px]",children:[(0,a.jsx)("div",{className:"w-[80px] 3xl:w-[100px] text-center font-bold \n                        ".concat("LISTINGS"===t?"3xl:pb-1 border-b-4 border-b-white":"pb-1 3xl:pb-2","\n                        text-[10px] 3xl:text-[14px]"),children:"LISTINGS"}),(0,a.jsx)("div",{className:"w-[80px] 3xl:w-[100px] text-center font-bold pb-1 3xl:pb-2 text-[10px] 3xl:text-[14px]",children:"ACTIVITY"}),(0,a.jsx)("div",{className:"w-[80px] 3xl:w-[100px] text-center font-bold ".concat("DROP"===t?"3xl:pb-1 border-b-4 border-b-white":"pb-1 3xl:pb-2"," text-[10px] 3xl:text-[14px]"),children:"DROP"})]})})})},CR=()=>(0,a.jsxs)("div",{className:"flex flex-col gap-3 2xl:gap-6",children:[(0,a.jsx)(gR,{}),(0,a.jsx)(vR,{type:"DROP"}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(mR,{})})]}),yR=()=>{const[e]=(0,l.Mt)("nftImage"),[t]=(0,l.Mt)("collectionName"),n=(0,i.useMemo)((()=>Array(8).fill("").map(((n,r)=>{var i,o,s;return(0,a.jsx)("div",{className:"rounded-md bg-[#edf3f60a] w-[180px] h-[280px] 3xl:h-[350px] py-4 px-3",children:(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[t.value?(0,a.jsxs)("div",{className:"flex w-full justify-between overflow-hidden",children:[(0,a.jsx)("p",{className:"font-montserrat text-white font-extrabold uppercase text-[1.125rem]",children:t.value.length>9?t.value.slice(0,9)+"...":t.value}),(0,a.jsxs)("p",{className:"font-montserrat text-white font-extrabold uppercase text-[1.125rem]",children:["#",r+1]})]}):(0,a.jsx)("div",{className:"animate-pulse w-full h-[28px] bg-[#edf3f60a] rounded-md"}),e.value&&(e.value.fileCid||e.value.fileBase64)?(0,a.jsx)("img",{"data-testid":"preview-nft-list-image-".concat(r),src:null!==(i=e.value)&&void 0!==i&&i.fileCid?"".concat(bF.n).concat(null===(o=e.value)||void 0===o?void 0:o.fileCid):null===(s=e.value)||void 0===s?void 0:s.fileBase64,alt:"Nft Card",className:"object-contain w-[160px] h-[160px]"}):(0,a.jsx)("div",{className:"animate-pulse object-contain w-full h-[159px] bg-[#edf3f60a]"}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center border-gradient mb-3",children:[(0,a.jsx)("p",{className:"text-[#AAAAAA] text-base font-montserrat mb-2",children:"Purchase Price"}),(0,a.jsx)("span",{className:"text-bold mb-2 text-white",children:"-"})]})})]})},r)}))),[e]);return(0,a.jsx)("div",{"data-testid":"preview-nft-list",className:"w-full h-full grid gap-[6.385px] creator-hub-nft-list-wrapper",children:n})};const bR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))}));var wR=n(74042);const xR=()=>(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H13.3333L17.5 6.66667V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.1667 17.4999V10.8333H5.83337V17.4999",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M5.83337 2.5V6.66667H12.5",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),AR=()=>(0,a.jsxs)("div",{"data-testid":"preview-listing-filters",className:"flex items-center gap-2 text-white",children:[(0,a.jsxs)("button",{className:"h-[40px] bg-[#ffffff14] text-[12px] rounded-md px-2 3xl:px-4 py-1 3xl:py-2 flex items-center justify-center",children:[(0,a.jsx)(bR,{"aria-hidden":"true",className:"mr-2 h-[20px] w-[20px]"}),(0,a.jsx)("span",{className:"hidden 2xl:flex capitalize",children:"Show filters"}),(0,a.jsx)("span",{className:"flex 2xl:hidden capitalize",children:"Show filters"})]}),(0,a.jsxs)("button",{className:"h-[40px] bg-[#ffffff14] text-[12px] rounded-md px-2 3xl:px-4 py-1 3xl:py-2 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"mr-2",children:(0,a.jsx)(xR,{"aria-hidden":"true"})}),"Save View"]}),(0,a.jsxs)("button",{className:"h-[40px] bg-[#ffffff14] text-[12px] rounded-md px-2 3xl:px-4 py-1 3xl:py-2 flex items-center justify-center",children:["Sort By: Recently Listed",(0,a.jsx)(wR.A,{"aria-hidden":"true",className:"ml-1 h-5 w-5"})]}),(0,a.jsx)("div",{className:"font-bold text-[12px] whitespace-nowrap",children:"10,000+ items"})]}),ER=()=>(0,a.jsxs)("div",{className:"flex flex-col gap-3 2xl:gap-6",children:[(0,a.jsx)(gR,{}),(0,a.jsxs)("div",{className:"flex flex-col gap-2 2xl:gap-3 whitespace-nowrap",children:[(0,a.jsx)(vR,{type:"LISTINGS"}),(0,a.jsx)(AR,{}),(0,a.jsx)("div",{className:"flex flex-row gap-3 w-max lg:w-full",children:(0,a.jsx)(yR,{})})]})]}),_R=()=>{const{activeConfirmationPreviewTab:e}=sS();return(0,a.jsxs)("div",{children:["Collection Page"===e&&(0,a.jsx)(ER,{}),"Drop Page"===e&&(0,a.jsx)(CR,{})]})},TR=()=>(0,a.jsx)("div",{children:(0,a.jsx)(CR,{})}),SR=e=>{let{tabs:t=[],activeTab:n,onTabClick:r}=e;const{hasViewedDropPage:i,setHasViewedDropPage:o}=sS();return(0,a.jsx)("div",{className:"w-fit h-[38px] flex bg-[#FFFFFF14] rounded p-2",children:t.map((e=>(0,a.jsxs)("button",{className:"relative flex items-center justify-center text-[12px] 3xl:text-[14px] py-[6px] md:py-2 px-[8px] md:px-4 cursor-pointer leading-none ".concat(n===e?"text-white font-bold bg-[#FFFFFF3D] p-[6px] rounded":"text-white font-bold"),onClick:()=>(e=>{"Drop Page"===e&&o(!0),r(e)})(e),children:[e,"Drop Page"===e&&!i&&(0,a.jsx)("div",{className:"absolute top-0 right-0 w-[10px] h-[10px] bg-primary rounded-full drop-shadow-sm"})]},e)))})},kR=()=>{const{formTab:e,activeConfirmationPreviewTab:t,onConfirmationPageTabClick:n,confirmationPagePreviewTabs:r}=sS();return(0,a.jsx)("div",{className:"text-white text-[18px] font-bold",children:(()=>{switch(e){case HT.CustomizeCollectionFirstTab:case HT.CustomizeCollectionSecondTab:return"Preview \u2022 Collection Page";case HT.CustomizeDropTab:return"Preview \u2022 Drop Page";case HT.ConfirmationTab:return(0,a.jsxs)("div",{className:"flex flex-row items-center space-x-1",children:[(0,a.jsx)("div",{className:"text-white text-[18px] font-bold hidden md:inline-block",children:"Preview \u2022"}),(0,a.jsx)(SR,{tabs:r,activeTab:t,onTabClick:n})]});default:return null}})()})},PR=()=>{const{formTab:e}=sS();return(0,a.jsxs)("div",{className:"w-full h-full flex flex-col gap-2 3xl:gap-4",children:[(0,a.jsx)(kR,{}),(0,a.jsx)("div",{className:"w-full flex-1 flex-col p-[40px] border border-[#6C757D] rounded-xl overflow-y-auto",children:(()=>{switch(e){case HT.CustomizeCollectionFirstTab:case HT.CustomizeCollectionSecondTab:return(0,a.jsx)(ER,{});case HT.CustomizeDropTab:return(0,a.jsx)(TR,{});case HT.ConfirmationTab:return(0,a.jsx)(_R,{});default:return null}})()})]})},DR=()=>{const{formTab:e}=sS();return e===HT.WelcomeCreatorHubTab?(0,a.jsx)(jS,{}):(0,a.jsx)("div",{className:"bg-[#04070B] w-full flex flex-col gap-[18px] px-[14px] md:pr-[8px] md:pl-[40px] lg:px-[40px] md:py-[22px] pt-[15px] 3xl:py-[52px] creator-hub-wrapper",children:(0,a.jsxs)("div",{className:"flex gap-[26px] lg:gap-[52px] h-full overflow-hidden",children:[(0,a.jsx)(fR,{}),(0,a.jsx)("div",{className:"hidden md:flex flex-1 overflow-x-auto",children:(0,a.jsx)(PR,{})})]})})},NR=e=>{let{flowty:t,flowtyMarketplaceFee:n,mixPanelFn:r,strapiUrl:o,spotPrice:s,loggedUser:c,logOutFn:u,loggedIsDapper:d,creatorHubId:h,uploadIPFSImage:p,promotion:f}=e;const{formTab:m,changeSelectedFormTab:g,moveToNextTab:v,moveToPreviousTab:C}=(()=>{const[e,t]=(0,i.useState)(HT.WelcomeCreatorHubTab);return{changeSelectedFormTab:e=>{t(e)},formTab:e,moveToNextTab:()=>{t((e=>e+1))},moveToPreviousTab:()=>{t((e=>e-1))}}})(),[y,b]=(0,i.useState)(!1),w=(()=>{const e=localStorage.getItem("creatorHubCache");return e?JSON.parse(e):null})(),x=(0,i.useCallback)((async(e,n)=>{var r,i,o;if(c&&"Sign in to view wallet address"===e.creatorWalletAddress&&n.setFieldValue("creatorWalletAddress",c),null!==(r=e.dropStartDateTime)&&void 0!==r&&r.isNow){const e=new Date(Date.now());n.setFieldValue("dropStartDateTime",{dateTime:e.getTime(),isNow:!0})}m===HT.CustomizeCollectionFirstTab&&(null!==(i=e.nftThumbnailImage)&&void 0!==i&&i.file||n.setFieldValue("nftThumbnailImage",e.nftImage),null!==(o=e.dropThumbnailImage)&&void 0!==o&&o.file||n.setFieldValue("dropThumbnailImage",e.nftImage));if(m!==HT.ConfirmationTab){var a;if(c&&m===HT.CustomizeCollectionFirstTab&&!{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_STORYBOOK){const r=await t.scripts.getAccountCollections(null!==c&&void 0!==c?c:""),i=e=>e?(0,VT.h)(e.toLowerCase()):"";if(null===r||void 0===r?void 0:r.contracts.some((t=>(null===t||void 0===t?void 0:t.name)===i(e.collectionName))))return void n.setFieldError("collectionName","You have already created a collection with this name")}if(m===HT.CustomizeCollectionSecondTab&&!Boolean(null===(a=e.dropStartDateTime)||void 0===a?void 0:a.dateTime)){const e=new Date(Date.now());n.setFieldValue("dropStartDateTime",{dateTime:e.getTime(),isNow:!0})}return v(),void n.setTouched({})}b(!0)}),[m]);return(0,a.jsx)(l.l1,{initialValues:null!==w&&void 0!==w?w:(A=null!==c&&void 0!==c?c:"Sign in to view wallet address",{collectionDescription:"",collectionEditionType:OF.OpenEdition,collectionName:"",collectionType:MF.SingleImage,collectionWebsiteURL:"",creatorWalletAddress:A,discordHandle:null,dropEndDateTime:{dateTime:(0,bl.default)(Date.now(),7).getTime()},dropStartDateTime:{dateTime:(new Date).getTime(),isNow:!0},dropThumbnailImage:null,exampleSalePrice:100,instagramHandle:null,mintPrice:null,nftBannerImage:{file:new File([],"FLOWTY_DEFAULT_IMAGE"),fileBase64:void 0,fileCid:"QmWz1ticnmu3PNWb68uMPFGffn5pXhpiUin7qfcSaotrGX?pinataGatewayToken=xFpPpu5fb5PZMLV6RF8ueOm08-BkzG5BLYJf1jVw1NL8RUORAi5yj3BwsexCJWIz",fileName:"defaultBannerImage.png"},nftImage:null,nftThumbnailImage:null,royalty:null,twitterHandle:null}),onSubmit:x,validationSchema:jF[m],validateOnBlur:!1,validateOnMount:!1,children:e=>{let{values:i,resetForm:l,errors:w,handleSubmit:x,touched:A,setFieldError:E}=e;return(0,a.jsxs)(aS,{resetForm:l,spotPrice:s,values:i,strapiUrl:o,mixPanelFn:r,loggedUser:c,errors:w,formTab:m,flowtyMarketplaceFee:n,changeSelectedFormTab:g,moveToNextTab:v,moveToPreviousTab:C,promotion:f,handleSubmit:x,uploadIPFSImage:p,setFieldError:E,touched:A,children:[(0,a.jsx)(DR,{}),y&&(0,a.jsx)(rS,{isOpen:y,onCloseModal:()=>b(!1),flowty:t,isLoggedUser:Boolean(c),creatorHubId:h,loggedIsDapper:d,logOutFn:u,mixPanelFn:r,changeSelectedFormTab:g,resetForm:l,uploadImageFn:p,values:i})]})}});var A},FR=e=>{let{isOpen:t,linkURL:n,onCloseModal:r}=e;return(0,a.jsx)(Nm.e,{appear:!0,show:t,as:i.Fragment,children:(0,a.jsxs)(Fm.l,{as:"div",className:"relative z-[1000]",onClose:r,children:[(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,a.jsx)("div",{"data-testid":"flowty-listing-modal",className:"fixed max-md:top-[40px] inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center text-center",children:(0,a.jsx)(Nm.e.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(Fm.l.Panel,{className:"w-full md:w-[511px] max-h-[500px] h-full flex flex-col transform rounded-lg bg-[#04070B] text-left align-middle shadow-xl transition-all border border-[#495057]",children:[(0,a.jsxs)(Fm.l.Title,{as:"div",className:"border-b border-[#495057] px-[40px] py-[30px] md:py-8 w-full flex justify-between items-center",children:[(0,a.jsx)("p",{className:"text-white font-black text-[24px]",children:"Leaving Flowty"}),(0,a.jsx)(Im.A,{onClick:r,className:"w-6 h-6 md:h-8 md:w-8 cursor-pointer fill-white"})]}),(0,a.jsxs)("div",{className:"w-full p-[32px] flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[#ADB5BD] text-[12px] font-normal leading-normal",children:"This link is taking you to an external site. Flowty has not reviewed or verified the authenticity or security of the site. Please only proceed if you trust the link."}),(0,a.jsx)("div",{className:"bg-[#FFFFFF0F] py-[8px] px-[12px] rounded-lg",children:(0,a.jsx)("p",{className:"text-[#D9D9D9] text-[12px]",children:(e=>{const t=e.match(/^(https?:\/\/)([^\/]+)(.*)$/);if(!t)return e;const[,n,r,i]=t,o=r.split("."),s=o.slice(0,-1).join("."),l=o.slice(-1).join(".");return(0,a.jsxs)(a.Fragment,{children:[n,(0,a.jsx)("strong",{children:s}),".",l,i]})})(n)})})]}),(0,a.jsxs)("div",{className:"h-full w-full flex justify-center items-center gap-4 border-t border-[#495057] px-[40px] py-[18px]",children:[(0,a.jsx)(s,{text:"BACK",onClick:r,variant:"secondary",btnSize:"small",bgColor:"white",className:"h-[35px] flex items-center justify-center px-4"}),(0,a.jsx)(s,{text:"VISIT EXTERNAL SITE",onClick:()=>{window.open(n,"_blank"),r()},variant:"secondary",btnSize:"small",className:"h-[35px] flex items-center justify-center px-4",bgColor:"warning"})]})]})})})})]})})},IR=e=>{var t;let{fields:n,selectedField:r,updateSelectedField:s}=e;const[l,c]=(0,i.useState)(!1),u=(0,i.useRef)(null),d=e=>{u.current&&!u.current.contains(e.target)&&c(!1)};return(0,i.useEffect)((()=>(l?document.addEventListener("click",d):document.removeEventListener("click",d),()=>{document.removeEventListener("click",d)})),[l]),(0,a.jsxs)("div",{className:"relative w-full md:w-[340px]",ref:u,children:[(0,a.jsxs)("button",{onClick:e=>{e.stopPropagation(),c(!l)},className:"flex h-[2.5rem] justify-center items-center py-2 text-base border border-[#FFFFFF1F] rounded-md bg-[#606e7d33] hover:bg-glassFillGrayHover font-normal max-sm:px-4 px-8 w-full",children:["Filter By:",(0,a.jsx)("span",{className:"text-base lg:text-sm 2xl:text-base mx-1 mr-2",children:(null===(t=n.find((e=>e.value===r)))||void 0===t?void 0:t.label)||"Recently Viewed"})," "]}),(0,a.jsx)("div",{className:(0,o.cn)("absolute top-[42px] rounded-md overflow-hidden transition-all duration-500 ease-in-out z-10 w-full bg-[#04070B] border border-[#FFFFFF1F]",{"max-h-0 p-0 opacity-0":!l,"max-h-96 opacity-100":l}),children:(0,a.jsx)("div",{className:"bg-[#606E7D33] py-3",children:null===n||void 0===n?void 0:n.map((e=>(0,a.jsx)("button",{className:"flex justify-between items-center px-4 py-2 cursor-pointer w-full hover:bg-slate-500 hover:bg-opacity-20 whitespace-nowrap",onClick:t=>{t.stopPropagation(),s(e.value),c(!1)},children:(0,a.jsx)("span",{className:"text-[14px] mr-4 font-medium text-[#F8F9FA] ".concat(r===e.value&&"text-primary"," "),children:e.label})},e.label)))})})]})};const RR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"}))}));const MR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M3.707 2.293a1 1 0 00-1.414 1.414l14 14a1 1 0 001.414-1.414l-1.473-1.473A10.014 10.014 0 0019.542 10C18.268 5.943 14.478 3 10 3a9.958 9.958 0 00-4.512 1.074l-1.78-1.781zm4.261 4.26l1.514 1.515a2.003 2.003 0 012.45 2.45l1.514 1.514a4 4 0 00-5.478-5.478z",clipRule:"evenodd"}),i.createElement("path",{d:"M12.454 16.697L9.75 13.992a4 4 0 01-3.742-3.741L2.335 6.578A9.98 9.98 0 00.458 10c1.274 4.057 5.065 7 9.542 7 .847 0 1.669-.105 2.454-.303z"}))}));const OR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{d:"M9 2a2 2 0 00-2 2v8a2 2 0 002 2h6a2 2 0 002-2V6.414A2 2 0 0016.414 5L14 2.586A2 2 0 0012.586 2H9z"}),i.createElement("path",{d:"M3 8a2 2 0 012-2v10h8a2 2 0 01-2 2H5a2 2 0 01-2-2V8z"}))}));const jR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))}));const LR=n.p+"static/media/missing-collection-image-icon.e324899d7a657fe78203a28ae205a218.svg";var BR;function UR(){return UR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UR.apply(null,arguments)}function VR(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",UR({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,BR||(BR=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM13.7071 8.70711C14.0976 8.31658 14.0976 7.68342 13.7071 7.29289C13.3166 6.90237 12.6834 6.90237 12.2929 7.29289L9 10.5858L7.70711 9.29289C7.31658 8.90237 6.68342 8.90237 6.29289 9.29289C5.90237 9.68342 5.90237 10.3166 6.29289 10.7071L8.29289 12.7071C8.68342 13.0976 9.31658 13.0976 9.70711 12.7071L13.7071 8.70711Z",fill:"#F8F9FA"})))}const HR=i.forwardRef(VR),zR=(n.p,e=>{let{flowTokenSummary:t,usdcTokenSummary:n,isEditing:r}=e;return(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-col items-start",r&&"blur-[1px] opacity-30"),children:[(null===t||void 0===t?void 0:t.balance)&&(0,a.jsxs)("div",{className:" flex flex-row items-center",children:[(0,a.jsx)("span",{children:(0,a.jsx)(Za,{token:"FLOW",isLarge:!0})}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:an()(t.balance).format("0,0.00")}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:"FLOW"})]}),(null===n||void 0===n?void 0:n.balance)&&(0,a.jsxs)("div",{className:"".concat(r?"opacity-50":"","  flex flex-row items-center mt-3"),children:[(0,a.jsx)("span",{children:(0,a.jsx)(Za,{token:"USDC",isLarge:!0})}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:an()(n.balance).format("0,0.00")}),(0,a.jsx)("span",{className:"font-montserrat font-semibold text-white ml-2 text-sm",children:"USDC"})]})]})});const ZR=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}));var WR=n(87043);const qR=e=>{let{clearIsEditing:t,saveNewImage:n,onCancel:r,onChangeHandler:o,defaultName:s,defaultImage:l,childWalletAddress:c,parentWalletAddress:u}=e;const[d,h]=(0,i.useState)(s),[p,f]=(0,i.useState)(!1),[m,g]=(0,i.useState)(l),v=(0,i.useRef)(null),C="".concat(u,"_").concat(c);return(0,a.jsxs)("div",{className:"absolute top-[14px] flex gap-2 items-center",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("input",{type:"file",ref:v,style:{display:"none"},onChange:e=>o(e,g,f,C)}),(0,a.jsx)("button",{className:"flex flex-col focus:border-none focus:ring-0 rounded-[0.25rem] h-8 w-8 bg-cover bg-center text-white cursor-pointer items-center justify-center",onClick:e=>{e.stopPropagation(),(()=>{var e;v&&v.current&&(null===(e=v.current)||void 0===e||e.click())})()},style:{backgroundColor:m&&!p?"transparent":"",backgroundImage:m&&!p?"url('".concat(m,"')"):"",backgroundRepeat:"no-repeat",backgroundSize:"contain"},children:(0,a.jsx)("div",{className:"bg-black/60 border border-white rounded-[0.25rem] w-full h-full flex items-center justify-center p-1",children:p?(0,a.jsx)(gF,{width:14,height:14,color:"white",strokeWidth:6,secondaryColor:"#FFFFFF1F"}):(0,a.jsx)(ZR,{className:"text-white"})})}),(0,a.jsx)("input",{onChange:e=>h(e.target.value),className:"bg-[#3434347f] font-bold border py-1 border-white rounded-[0.25rem] px-2 max-w-[80%] focus:outline-none focus:ring-0 active:ring-0 text-[1rem]",value:d,maxLength:20,onClick:e=>e.stopPropagation()}),(0,a.jsxs)("div",{className:"absolute z-2 flex flex-row gap-1 bottom-[-40px] right-0 pr-[8px]",children:[(0,a.jsx)("button",{disabled:!d,className:"bg-white rounded-[0.5rem] flex p-[0.625rem] border-[1px] white-box-shadow",onClick:e=>{e.stopPropagation(),(async()=>{f(!0),await n(c,d,m),t(),f(!1)})()},children:(0,a.jsx)(WR.A,{className:"h-[12px] w-[12px] text-black"})}),(0,a.jsx)("button",{className:"bg-white rounded-[0.5rem] flex p-[0.625rem] border-[1px] white-box-shadow",onClick:e=>{e.stopPropagation(),r()},children:(0,a.jsx)(Im.A,{className:"h-[12px] w-[12px] text-black"})})]})]})},GR=e=>{var t,n,r,s,l,c,u;let{acct:d,isSelected:h,canEdit:p,onSelect:f,onUploadNewImage:m,saveNewImage:g,tokenIdentifiers:v,parentWalletAddress:C}=e;const[y,b]=(0,i.useState)(!1),[w,x]=(0,i.useState)(!1),A=(0,i.useMemo)((()=>{var e;const t=null===(e=d.display)||void 0===e?void 0:e.name;return t&&t.startsWith("0x")?t.substring(0,7):t.length>20?t.substring(0,18)+"...":t}),[d]),E=()=>{b(!1)},_=e=>{(e=>{b(!0),navigator.clipboard.writeText(e)})(e),setTimeout(E,5e3)};function S(e,t){var n,r;return null!==(n=null===(r=Object.entries(e).find((e=>{let[n,r]=e;return r===t})))||void 0===r?void 0:r[0])&&void 0!==n?n:""}const k=h?"border border-[#ADB5BD] border-[2px]":"border border-[#47515d] hover:border-[#606973] border-[2px]",P=y?"text-primary":"text-white",D="blur-[1px] opacity-30";return(0,a.jsxs)("div",{onClick:()=>{var e;return f(null!==(e=d.address)&&void 0!==e?e:"")},className:(0,o.cn)(k,"bg-[#FFFFFF1F] min-w-[18rem] min-h-[11rem] h-full md:h-auto flex flex-col gap-2 rounded-lg mr-4 py-[1rem] px-[1.25rem] relative cursor-pointer"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex gap-2 items-center",children:[w&&(0,a.jsx)("div",{className:"w-[28px] h-[28px]"}),(0,a.jsx)("img",{className:(0,o.cn)("w-[28px] h-[28px] rounded-[0.25rem]",w&&"hidden"),src:null===d||void 0===d||null===(t=d.display)||void 0===t?void 0:t.thumbnail,alt:"thumbnail",onError:e=>{let{currentTarget:t}=e;t.onerror=null,t.src=LR,t.className="w-8 h-8 rounded-[0.25rem] text-white bg-glassFillGray"}}),(0,a.jsx)("p",{className:(0,o.cn)("font-bold text-[1rem] truncate border border-transparent",w&&"hidden"),children:A})]}),h?(0,a.jsx)(HR,{className:(0,o.cn)(w&&D)}):(0,a.jsx)(MR,{className:(0,o.cn)("w-[1.125rem] h-[1.125rem] text-white",w&&D)})]}),(0,a.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1",w&&D),onClick:e=>{e.stopPropagation(),_(d.address)},children:[(0,a.jsx)("p",{className:"text-[#DEDEDE] text-[0.875rem] font-normal ".concat(P),children:d.address}),(0,a.jsx)("div",{children:(0,a.jsx)("button",{className:(0,o.cn)("flex items-center group text-white"),children:(0,a.jsx)("div",{className:"px-1",children:(0,a.jsx)("div",{className:"px-1",children:y?(0,a.jsx)(OR,{className:"w-[1.125rem] h-[1.125rem] text-primary"}):(0,a.jsx)(RR,{className:"w-[1.125rem] h-[1.125rem]"})})})})})]})]}),(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-wrap space-x-2 items-center",w&&D),children:[d.isMain?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(z,{text:"MAIN",type:"primary",size:"small"}),(0,a.jsx)(z,{text:"FULL",type:"tertiary",size:"small"})]}):(0,a.jsx)(z,{text:"CHILD",type:"secondary",size:"small"}),!d.isMain&&(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAYAAAC4JqlRAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANJSURBVHgBtVjhdZtADD67bpO8lx8egQ3qDUonaLMBnaBkgrgTxJ3A3sDtBGQD0gnwBvaPvGDAoEr2HRbiDpu41XsK+OCk7/TppCNKXSAA4KGO1QUyOPdF7ShA/YQ6QfXEK8+oK9TfqE+DwWCl/oWgYx81ArskqGvHszlFSL1VaMWoj8JohBrYDOPYRD9bijkPqq9obmNmZHaK67Qo/DTPAzZ/ISLlqXNET07YxEmn4zT1tnkebbMcSNO08DtseX2ckzx2vZ8VxYNxXCuCsdiMGYhxF4Ale7GTwyzbfWWOEw7CUMHsjhmIyOU84KFCnZ4CkaZ5QCGvKThSkVjsk02zYwIbgEQ+PAcErc6snO7TLFtIGti7oVmkc/XSeFlWcReImgqHUwuIqBUF2yCF13BbluXaBeJ1m8/2vGfZ9EwAYSMXdIIYGcttRfcvL/nERUeWFUu5/U4AaPgzpbZG9LrdhmJrJVmezymzMRILGwgCqHoIi7jPQzIzCNHpurW/te52O+jKCSn7Cpk2CxAcKitJOFTHrraiP9jFNlCpezMG1eBzBdU99s0n/L3ZldWmqqqf+vm0CwQtZlBBNBwWMTQL0EZf9xQsWlmJUucBUiKN6msrJ3DO922WLYkus2pjhycpmztthIM7Il73xlJ3/ZYgTEKK/ImPfeJgiwMYmtArccC4vf3wfH11dXdz4z5YIF1TvPzQP6ej0Yjo+4Yufmm7WP1UnaCDd8Vc3xo6NiMG4KPqIRRuXIqPIO5wJTT0MByq4Pr6/YrGaICKFKhqWU8C2Ahfz3xfrqHH+c7sFFdO6EJmqFibXAJZB/RgZMsDl9DW0oZjPs5B7Mry0CGxUvKFwbHsR3xi2BqUTrFCUiaTMVN+kYaZfA9ONDCwND0TFnerVM2aX28tLL822lwgwNH05EMC4qlWBOqw15oXxSPxa2tEEgQ0T1uBbZE8F2LbyurQC01TeycUIEyE58olmoqEgfDk80afQCpOdUE4FjqANxxMWxMwq0OqbvLc57DlQ59TsQPEPmxnT1bWj5q4z3xuiHNIQqdmStaJA3QI7c+4mbpEoP2VI+Wib8M+X8ceXnzUL+rQuGQUVqhPqH9QF3SuUP9bNNcX/X/gL1Ihqq2cRkTYAAAAAElFTkSuQmCC",alt:"view only",className:" w-[1rem] h-[1rem] "})]}),(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsx)(zR,{isEditing:w,flowTokenSummary:null===(n=d.tokens)||void 0===n?void 0:n[S(v,T.TOKEN_TO_READABLE_TOKEN.FLOW)],usdcTokenSummary:null===(r=d.tokens)||void 0===r?void 0:r[S(v,T.TOKEN_TO_READABLE_TOKEN.USDC)]}),(0,a.jsx)("div",{className:(0,o.cn)("bottom-[1.125rem] right-[1.125rem]",!w&&"absolute"),children:!d.isMain&&p&&(0,a.jsx)(a.Fragment,{children:w?(0,a.jsx)(qR,{clearIsEditing:()=>x(!1),onChangeHandler:m,saveNewImage:g,onCancel:()=>{x(!1)},defaultName:null!==(s=null===(l=d.display)||void 0===l?void 0:l.name)&&void 0!==s?s:d.address,defaultImage:null!==(c=null===(u=d.display)||void 0===u?void 0:u.thumbnail)&&void 0!==c?c:LR,childWalletAddress:d.address,parentWalletAddress:C}):(0,a.jsx)("button",{className:"rounded-[0.5rem] backdrop-blur-[30px] bg-[#ffffff1f] p-[0.625rem] border-[1px] border-[#7C7C7C] hover:bg-[#ffffff33] hover:border-[#ffffff85]",onClick:e=>{e.stopPropagation(),x(!0)},children:(0,a.jsx)(jR,{className:"text-white h-[12px] w-[12px]"})})})})]})]},d.address)},YR=e=>{let{mainAccount:t,childAccounts:n,isLoggedUserAcct:r,selectedWalletAddresses:o,updateSelectedAddresses:s,onUploadNewImage:l,saveNewImage:c,tokenIdentifiers:u}=e;const[d,h]=(0,i.useState)(!0);return(0,a.jsx)("div",{className:"w-full md:hidden pl-6",children:(0,a.jsxs)(Cl,{slidesPerView:"auto",spaceBetween:10,effect:"slide",speed:800,centeredSlides:!d,modules:[Xl],children:[n&&Object.keys(n).length>1&&(0,a.jsx)("span",{slot:"container-end",className:"h-32 w-32",children:(0,a.jsx)(Kl,{itemsLength:Object.keys(n).length,setIsFirstIndex:h,hiddeArrows:!0})}),t&&(0,a.jsx)(yl,{className:"!w-auto !h-auto",children:(0,a.jsx)(GR,{saveNewImage:c,onUploadNewImage:l,parentWalletAddress:t.address,acct:t,isSelected:o.includes("".concat(t.address)),onSelect:s,tokenIdentifiers:u})},t.address),n&&Object.values(n).map((e=>{var n;return e.address===(null===t||void 0===t?void 0:t.address)?null:(0,a.jsx)(yl,{className:"!w-auto !h-auto",children:(0,a.jsx)(GR,{saveNewImage:c,onUploadNewImage:l,parentWalletAddress:null!==(n=null===t||void 0===t?void 0:t.address)&&void 0!==n?n:"",canEdit:r,acct:e,isSelected:o.includes(e.address),onSelect:s,tokenIdentifiers:u},e.address)},e.address)}))]})})},KR=e=>{let{mainAccount:t,childAccounts:n,selectedWalletAddresses:r,updateSelectedAddresses:o,clearAllAddresses:s,selectAllAddresses:l,onUploadNewImage:c,saveNewImage:u,isLoggedUserAcct:d,tokenIdentifiers:h}=e;const[p,f]=(0,i.useState)(!0);return(0,a.jsx)("div",{className:"bg-transparent md:bg-[#FFFFFF0A] rounded-md md:p-[18px] md:border border-[#4B4B4B7A] text-white",children:(0,a.jsxs)("div",{className:"!border-none !rounded-md  w-full relative",children:[(0,a.jsxs)("div",{className:"w-full flex justify-between cursor-pointer",onClick:()=>f((e=>!e)),children:[(0,a.jsxs)("div",{className:"w-full flex flex-row justify-between md:justify-start items-center gap-3",children:[(0,a.jsx)("span",{className:"text-white text-[1.125rem] font-[700]",children:"Accounts"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),l()},className:"bg-[#606E7D33] hover:bg-[#606E7D52] border border-[#FFFFFF1F] rounded-md px-[12px] py-[6px] cursor-pointer leading-none",children:"Select All"}),(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),s()},className:"bg-[#606E7D33] hover:bg-[#606E7D52] border border-[#FFFFFF1F] rounded-md px-[12px] py-[6px] cursor-pointer leading-none",children:"Clear All"})]})]}),(0,a.jsx)("div",{className:"hidden md:flex",children:p?(0,a.jsx)(B.A,{height:24,width:24}):(0,a.jsx)(U.A,{height:24,width:24})})]}),p&&(0,a.jsxs)("div",{className:"py-2 px-0 mt-4 overflow-x-auto styled-scroll",children:[(0,a.jsx)("div",{className:"hidden md:flex flex-col items-start",children:(0,a.jsxs)("div",{className:"flex",children:[t&&(0,a.jsx)(GR,{saveNewImage:u,onUploadNewImage:c,parentWalletAddress:t.address,acct:t,isSelected:r.includes("".concat(t.address)),onSelect:o,tokenIdentifiers:h}),n&&Object.values(n).map((e=>{var n;return e.address===(null===t||void 0===t?void 0:t.address)?null:(0,a.jsx)(GR,{saveNewImage:u,onUploadNewImage:c,parentWalletAddress:null!==(n=null===t||void 0===t?void 0:t.address)&&void 0!==n?n:"",canEdit:d,acct:e,isSelected:r.includes(e.address),onSelect:o,tokenIdentifiers:h},e.address)}))]})}),(0,a.jsx)(YR,{mainAccount:t,childAccounts:n,isLoggedUserAcct:d,selectedWalletAddresses:r,updateSelectedAddresses:o,onUploadNewImage:c,saveNewImage:u,tokenIdentifiers:h})]})]})})}},55503:(e,t,n)=>{"use strict";n.d(t,{w:()=>T,h:()=>_});var r=n(98860),i=n(61462),o=n(78336),a=n(99334);const s=e=>{let{details:t,title:n,isPrice:r}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-[2px] w-full ",children:[(0,a.jsx)("div",{className:"text-white leading-normal text-[14px] font-semibold",children:n}),(0,a.jsx)("div",{className:"flex text-white font-montserrat text-[12px] font-normal items-center leading-normal",children:r?(0,a.jsxs)("div",{className:"flex items-center flex-end gap-[2px]",children:[(0,a.jsx)(o.h,{className:"w-[16px] h-[16px] mr-1"}),(0,a.jsx)("span",{className:"text-[14px] font-semibold",children:t}),(0,a.jsx)("span",{className:"text-[14px] font-bold",children:"FLOW"})]}):t})]})};var l;function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function u(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:20,height:16,viewBox:"0 0 20 16",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,l||(l=i.createElement("path",{d:"M19.1663 0.499591C18.3683 1.06249 17.4848 1.49302 16.5497 1.77459C16.0478 1.19752 15.3808 0.788501 14.6389 0.602863C13.897 0.417224 13.1159 0.46392 12.4014 0.736635C11.6869 1.00935 11.0734 1.49493 10.6438 2.12769C10.2143 2.76045 9.98942 3.50987 9.99967 4.27459V5.10792C8.5352 5.1459 7.08407 4.8211 5.77551 4.16246C4.46696 3.50382 3.3416 2.53179 2.49967 1.33292C2.49967 1.33292 -0.833659 8.83292 6.66634 12.1663C4.95011 13.3312 2.90564 13.9154 0.833008 13.8329C8.33301 17.9996 17.4997 13.8329 17.4997 4.24959C17.4989 4.01747 17.4766 3.78592 17.433 3.55792C18.2835 2.71917 18.8837 1.66018 19.1663 0.499591Z",stroke:"#F8F9FA",strokeLinecap:"round",strokeLinejoin:"round"})))}const d=i.forwardRef(u);n.p;var h;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(null,arguments)}function f(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,h||(h=i.createElement("path",{d:"M7.5624 2.8002C7.5624 2.8002 5.01553 2.9752 3.3499 4.31269C3.34209 4.31582 3.33272 4.32051 3.3249 4.32519C3.03584 4.59238 2.81865 5.00644 2.5499 5.60019C2.28115 6.19394 1.99678 6.95801 1.7374 7.81269C1.22021 9.52363 0.799902 11.6236 0.799902 13.6002C0.79834 13.6705 0.815528 13.7393 0.849902 13.8002C1.43428 14.8268 2.50928 15.4471 3.5124 15.8377C4.51553 16.2283 5.44209 16.3846 5.9124 16.4002C6.04521 16.4049 6.17178 16.3439 6.2499 16.2377L7.2249 14.8877C8.01084 15.0736 8.93272 15.2002 9.9999 15.2002C11.0671 15.2002 11.989 15.0736 12.7749 14.8877L13.7499 16.2377C13.828 16.3439 13.9546 16.4049 14.0874 16.4002C14.5577 16.3846 15.4843 16.2283 16.4874 15.8377C17.4905 15.4471 18.5655 14.8268 19.1499 13.8002C19.1843 13.7393 19.2015 13.6705 19.1999 13.6002C19.1999 11.6236 18.7796 9.52363 18.2624 7.81269C18.003 6.95801 17.7187 6.19394 17.4499 5.60019C17.1812 5.00644 16.964 4.59238 16.6749 4.32519C16.6671 4.32051 16.6577 4.31582 16.6499 4.31269C14.9843 2.9752 12.4374 2.8002 12.4374 2.8002C12.4077 2.79707 12.3796 2.79707 12.3499 2.8002C12.2108 2.81895 12.0937 2.90957 12.0374 3.0377C12.0374 3.0377 11.9015 3.33613 11.8124 3.7627C11.0327 3.6377 10.3765 3.6002 9.9999 3.6002C9.62334 3.6002 8.96709 3.6377 8.1874 3.7627C8.09834 3.33613 7.9624 3.0377 7.9624 3.0377C7.89365 2.88145 7.73272 2.78613 7.5624 2.8002ZM7.3124 3.66269C7.34209 3.74395 7.3624 3.82051 7.3874 3.91269C6.48584 4.12207 5.49834 4.46426 4.5749 5.03769C4.42959 5.09863 4.33428 5.23926 4.32959 5.39707C4.32646 5.55332 4.41553 5.69863 4.55615 5.76738C4.69834 5.83457 4.86709 5.81426 4.9874 5.71269C6.84053 4.56426 9.19834 4.40019 9.9999 4.40019C10.8015 4.40019 13.1593 4.56426 15.0124 5.71269C15.1327 5.81426 15.3015 5.83457 15.4437 5.76738C15.5843 5.69863 15.6733 5.55332 15.6702 5.39707C15.6655 5.23926 15.5702 5.09863 15.4249 5.03769C14.5015 4.46426 13.514 4.12207 12.6124 3.91269C12.6374 3.82051 12.6577 3.74395 12.6874 3.66269C13.1437 3.71895 14.9171 3.95801 16.1249 4.91269C16.203 4.98457 16.4749 5.38457 16.7249 5.93769C16.9749 6.49082 17.2374 7.21113 17.4874 8.03769C17.9749 9.65019 18.3687 11.6393 18.3874 13.4627C17.9327 14.1986 17.0796 14.7455 16.1999 15.0877C15.3999 15.3986 14.653 15.5377 14.2624 15.5752L13.5874 14.6627C13.9312 14.5518 14.2405 14.4314 14.5124 14.3127C15.5218 13.8689 16.0624 13.4002 16.0624 13.4002C16.228 13.2518 16.2421 12.9971 16.0937 12.8314C15.9452 12.6658 15.6905 12.6518 15.5249 12.8002C15.5249 12.8002 15.1062 13.183 14.1874 13.5877C13.8499 13.7361 13.4405 13.883 12.9749 14.0127C12.8671 14.0002 12.7593 14.0314 12.6749 14.1002C11.9296 14.2814 11.0437 14.4002 9.9999 14.4002C8.94834 14.4002 8.06084 14.2705 7.3124 14.0877C7.22803 14.0314 7.1249 14.008 7.0249 14.0252C6.55771 13.8955 6.15146 13.7361 5.8124 13.5877C4.89365 13.183 4.4749 12.8002 4.4749 12.8002C4.38428 12.7158 4.25928 12.6799 4.1374 12.7002C3.98271 12.7236 3.85459 12.8346 3.8124 12.9861C3.76865 13.1361 3.81865 13.2986 3.9374 13.4002C3.9374 13.4002 4.47803 13.8689 5.4874 14.3127C5.75928 14.4314 6.06865 14.5518 6.4124 14.6627L5.7374 15.5752C5.34678 15.5377 4.5999 15.3986 3.7999 15.0877C2.92022 14.7455 2.06709 14.1986 1.6124 13.4627C1.63115 11.6393 2.0249 9.65019 2.5124 8.03769C2.7624 7.21113 3.0249 6.49082 3.2749 5.93769C3.5249 5.38457 3.79678 4.98457 3.8749 4.91269C5.08272 3.95801 6.85615 3.71895 7.3124 3.66269ZM7.3999 8.40019C6.37959 8.40019 5.5999 9.32676 5.5999 10.4002C5.5999 11.4736 6.37959 12.4002 7.3999 12.4002C8.42021 12.4002 9.1999 11.4736 9.1999 10.4002C9.1999 9.32676 8.42021 8.40019 7.3999 8.40019ZM12.5999 8.40019C11.5796 8.40019 10.7999 9.32676 10.7999 10.4002C10.7999 11.4736 11.5796 12.4002 12.5999 12.4002C13.6202 12.4002 14.3999 11.4736 14.3999 10.4002C14.3999 9.32676 13.6202 8.40019 12.5999 8.40019ZM7.3999 9.20019C7.92647 9.20019 8.3999 9.70644 8.3999 10.4002C8.3999 11.0939 7.92647 11.6002 7.3999 11.6002C6.87334 11.6002 6.3999 11.0939 6.3999 10.4002C6.3999 9.70644 6.87334 9.20019 7.3999 9.20019ZM12.5999 9.20019C13.1265 9.20019 13.5999 9.70644 13.5999 10.4002C13.5999 11.0939 13.1265 11.6002 12.5999 11.6002C12.0733 11.6002 11.5999 11.0939 11.5999 10.4002C11.5999 9.70644 12.0733 9.20019 12.5999 9.20019Z",fill:"#F8F9FA"})))}const m=i.forwardRef(f);n.p;var g;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(null,arguments)}function C(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,g||(g=i.createElement("path",{d:"M5.4002 0.200195C2.53319 0.200195 0.200195 2.53319 0.200195 5.4002V12.6002C0.200195 15.4672 2.53319 17.8002 5.4002 17.8002H12.6002C15.4672 17.8002 17.8002 15.4672 17.8002 12.6002V5.4002C17.8002 2.53319 15.4672 0.200195 12.6002 0.200195H5.4002ZM5.4002 1.0002H12.6002C15.0348 1.0002 17.0002 2.9656 17.0002 5.4002V12.6002C17.0002 15.0348 15.0348 17.0002 12.6002 17.0002H5.4002C2.9656 17.0002 1.0002 15.0348 1.0002 12.6002V5.4002C1.0002 2.9656 2.9656 1.0002 5.4002 1.0002ZM13.8002 3.4002C13.588 3.4002 13.3845 3.48448 13.2345 3.63451C13.0845 3.78454 13.0002 3.98802 13.0002 4.2002C13.0002 4.41237 13.0845 4.61585 13.2345 4.76588C13.3845 4.91591 13.588 5.0002 13.8002 5.0002C14.0124 5.0002 14.2159 4.91591 14.3659 4.76588C14.5159 4.61585 14.6002 4.41237 14.6002 4.2002C14.6002 3.98802 14.5159 3.78454 14.3659 3.63451C14.2159 3.48448 14.0124 3.4002 13.8002 3.4002ZM9.0002 4.6002C6.57488 4.6002 4.6002 6.57488 4.6002 9.0002C4.6002 11.4255 6.57488 13.4002 9.0002 13.4002C11.4255 13.4002 13.4002 11.4255 13.4002 9.0002C13.4002 6.57488 11.4255 4.6002 9.0002 4.6002ZM9.0002 5.4002C10.9932 5.4002 12.6002 7.00723 12.6002 9.0002C12.6002 10.9932 10.9932 12.6002 9.0002 12.6002C7.00723 12.6002 5.4002 10.9932 5.4002 9.0002C5.4002 7.00723 7.00723 5.4002 9.0002 5.4002Z",fill:"#F8F9FA"})))}const y=i.forwardRef(C);n.p;var b=n(91324);const w=e=>{let{twitterAccount:t,discordAccount:n,instagramAccount:r,websiteUrl:i}=e;const o=(e,t)=>{if(e.includes("http://")||e.includes("https://"))return e;switch(t){case"DISCORD":return"https://discord.gg/".concat(e);case"INSTAGRAM":return"https://www.instagram.com/".concat(e);case"TWITTER":return"https://www.twitter.com/".concat(e);default:return"https://".concat(e)}};return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"text-white text-[18px] font-black pb-2",children:"External Links"}),(0,a.jsxs)("div",{className:"flex flex-col gap-[20px] text-white",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(b.h,{}),i?(0,a.jsx)("a",{className:"text-[14px]",href:o(i),target:"_blank",rel:"noreferrer",children:o(i)}):(0,a.jsx)("p",{children:"-"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(d,{}),t?(0,a.jsx)("a",{className:"text-[14px]",href:o(t,"TWITTER"),target:"_blank",rel:"noreferrer",children:o(t,"TWITTER")}):(0,a.jsx)("p",{children:"-"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(m,{}),n?(0,a.jsx)("a",{href:"".concat(o(n,"DISCORD")),className:"text-[14px]",target:"_blank",rel:"noreferrer",children:"".concat(o(n,"DISCORD"))}):(0,a.jsx)("p",{children:"-"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(y,{}),r?(0,a.jsx)("a",{className:"text-[14px]",href:o(r,"INSTAGRAM"),target:"_blank",rel:"noreferrer",children:o(r,"INSTAGRAM")}):(0,a.jsx)("p",{children:"-"})]})]})]})},x=e=>{let{imageSrc:t,imageType:n,className:r}=e;const[o,s]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:"flex flex-col gap-[8px] 3xl:gap-3",children:[(0,a.jsx)("div",{className:"text-white font-montserrat text-[12px] 3xl:text-[18px] font-bold leading-normal",children:n}),(0,a.jsx)("img",{src:t,alt:"".concat(n),className:"".concat(r," max-h-[8.875rem] rounded-lg ").concat(o?"":"hidden"),onLoad:()=>{s(!0)}}),(0,a.jsx)("div",{className:"".concat(r," max-h-[8.875rem] rounded-lg animate-pulse bg-[#edf3f60a] ").concat(o?"hidden":"")})]})};var A=n(15957);const E=()=>{var e,t,n,i,o,s,l,c,u,d,h,p,f,m,g,v;const[C]=(0,r.Mt)("dropThumbnailImage"),[y]=(0,r.Mt)("nftThumbnailImage"),[b]=(0,r.Mt)("nftImage"),[w]=(0,r.Mt)("nftBannerImage");return(0,a.jsxs)("div",{className:"flex flex-col md:hidden gap-6",children:[(0,a.jsx)("div",{className:"text-white text-[18px] font-black",children:"Images"}),(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(x,{imageType:"NFT Image",imageSrc:null!==(e=b.value)&&void 0!==e&&e.fileCid?"".concat(A.n).concat(null===(t=b.value)||void 0===t?void 0:t.fileCid):null!==(n=null===(i=b.value)||void 0===i?void 0:i.fileBase64)&&void 0!==n?n:"",className:"w-[80px] h-[80px]"})}),(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsx)(x,{imageType:"Thumbnail Image",imageSrc:null!==(o=y.value)&&void 0!==o&&o.fileCid?"".concat(A.n).concat(null===(s=y.value)||void 0===s?void 0:s.fileCid):null!==(l=null===(c=y.value)||void 0===c?void 0:c.fileBase64)&&void 0!==l?l:"",className:"w-[80px] h-[80px]"})})]}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(x,{imageType:"Banner Image",imageSrc:null!==(u=w.value)&&void 0!==u&&u.fileCid?"".concat(A.n).concat(null===(d=w.value)||void 0===d?void 0:d.fileCid):null!==(h=null===(p=w.value)||void 0===p?void 0:p.fileBase64)&&void 0!==h?h:"",className:"h-[80px] w-full xs:w-[320px]"})}),(0,a.jsx)("div",{children:(0,a.jsx)(x,{imageType:"Drop Image",imageSrc:null!==(f=C.value)&&void 0!==f&&f.fileCid?"".concat(A.n).concat(null===(m=C.value)||void 0===m?void 0:m.fileCid):null!==(g=null===(v=C.value)||void 0===v?void 0:v.fileBase64)&&void 0!==g?g:"",className:"w-[80px] h-[80px]"})})]})},_=e=>e.replace(/[^a-zA-Z0-9_]/g,""),T=()=>{const[e]=(0,r.Mt)("collectionName"),[t]=(0,r.Mt)("collectionDescription"),[n]=(0,r.Mt)("collectionWebsiteURL"),[i]=(0,r.Mt)("mintPrice"),[o]=(0,r.Mt)("royalty"),[l]=(0,r.Mt)("twitterHandle"),[c]=(0,r.Mt)("instagramHandle"),[u]=(0,r.Mt)("discordHandle"),[d]=(0,r.Mt)("dropStartDateTime"),[h]=(0,r.Mt)("dropEndDateTime"),p=e=>new Date(e).toLocaleString("en-US",{day:"numeric",hour:"numeric",hour12:!0,minute:"numeric",month:"long",year:"numeric"});return(0,a.jsxs)("div",{className:"flex flex-col gap-[24px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[12px]",children:[(0,a.jsx)("div",{className:"text-white text-[18px] font-black pb-2",children:"Collection Information"}),(0,a.jsx)(s,{title:"Collection Name",details:e.value}),(0,a.jsx)(s,{title:"Description",details:t.value}),(0,a.jsx)(s,{title:"Contract Name",details:_(e.value)})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[12px]",children:[(0,a.jsx)("div",{className:"text-white text-[18px] font-black pb-2",children:"Mint + Royalty Information"}),(0,a.jsx)(s,{title:"Mint Price",details:Number(i.value)?i.value:"FREE",isPrice:Boolean(i.value)}),(0,a.jsx)(s,{title:"Start Date & Time (Local Time Zone)",details:p(d.value.dateTime)}),(0,a.jsx)(s,{title:"End Date & Time (Local Time Zone)",details:p(h.value.dateTime)}),(0,a.jsx)(s,{title:"Royalty",details:"".concat(Number(o.value),"%")})]}),(0,a.jsx)(w,{discordAccount:u.value,instagramAccount:c.value,twitterAccount:l.value,websiteUrl:n.value}),(0,a.jsx)(E,{})]})}},97776:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});n(61462);var r=n(14716),i=n(99334);const o=e=>{let{dropStatus:t,smallChip:n,card:o}=e;return(0,i.jsxs)("div",{className:"bg-dropStatusIndicatorBackground w-fit h-fit items-center flex ".concat(o?"gap-[4px] py-[3px] px-[7px] ":"gap-[12px] px-[12px] py-[5px] 2xl:py-[6px]"," border-[1px] rounded-[4px] border-dropStatusIndicatorBorder"),children:[(0,i.jsx)("div",{className:(0,r.cn)("".concat(o?"w-[8px] h-[8px]":"w-[10px] h-[10px]"," rounded-full"),{"bg-[#00FFB4] shadow-pendingActiveDrop":"ACTIVE"===t||"NEVER_ENDING"===t,"bg-[#ADB5BD] shadow-endedDrop":"ENDED"===t,"bg-[#FAFF06] shadow-pendingActiveDrop":"PENDING"===t})}),(0,i.jsx)("span",{className:"uppercase text-neutral-500 font-montserrat ".concat(n?"text-[8px]":o?"text-[10px]":"text-[10px] 2xl:text-[12px]"," font-[600] leading-[16px]"),children:"PENDING"===t?o?"UPCOMING":"COMING SOON":"ACTIVE"===t||"NEVER_ENDING"===t?"LIVE":o?"ENDED":"DROP ENDED"})]})}},73682:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>s,R5:()=>c,R9:()=>o,V8:()=>a,fy:()=>l,tE:()=>u});var r=n(20390),i=n(10514);function o(e){let t,{salePrice:n,spotPrice:r,token:o,valuation:a}=e;if(!a||!n)return 0;if(o===i.SupportedTokens.FLOW){if(0===r)return null;t=1-n*r/a}else t=1-n/a;const s=Number(t.toFixed(2));return Math.floor(100*s)}function a(e,t,n,r){var o;if([i.SupportedTokens.DUC].includes(t||""))return!0;const a=r.tokens.getTokenIdentifier(t);if(!a)return!1;return((null===(o=n.tokens[a])||void 0===o?void 0:o.balance)||0)>=e}function s(e,t,n,r){var o,a;if([i.SupportedTokens.DUC].includes(n||""))return!0;const s=r.tokens.getTokenIdentifier(n);if(!s)return!1;return((null===e||void 0===e||null===(o=e.tokens)||void 0===o||null===(a=o[s])||void 0===a?void 0:a.balance)||0)>=t}function l(e,t,n,r,o){var a,s;if([i.SupportedTokens.DUC].includes(r||""))return!0;const l=o.tokens.getTokenIdentifier(r);if(!l)return!1;return((null===e||void 0===e||null===(a=e.tokens)||void 0===a||null===(s=a[l])||void 0===s?void 0:s.balance)||0)>=n+t}function c(e,t,n){var r,i;if(null!==t&&void 0!==t&&t.includes("DapperUtilityCoin")||null!==t&&void 0!==t&&t.includes("FlowUtilityToken"))return!0;if(!n)return!1;return((null===e||void 0===e||null===(r=e.tokens)||void 0===r||null===(i=r[t])||void 0===i?void 0:i.balance)||0)>=n}const u=e=>{if(isNaN(e))return"-";const t=new Date;return t.setDate(t.getDate()+e),(0,r.default)(t,"yyyy-MM-dd HH:mm")}},30339:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});const r={Marketplace:"/marketplace",Activity:"/activity",Create:"/create"}},71408:(e,t,n)=>{"use strict";n.d(t,{O:()=>C});var r,i,o,a=n(61462);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}function l(e,t){let{title:n,titleId:l,...c}=e;return a.createElement("svg",s({width:40,height:27,viewBox:"0 0 40 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":l},c),n?a.createElement("title",{id:l},n):null,r||(r=a.createElement("rect",{width:39,height:24,rx:12,fill:"#04E5A3"})),i||(i=a.createElement("g",{filter:"url(#filter0_dd_33451_902)"},a.createElement("circle",{cx:27,cy:12,r:10.5,fill:"white"}))),o||(o=a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_33451_902",x:14.5,y:.5,width:25,height:26,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",null),a.createElement("feGaussianBlur",{stdDeviation:.5}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.08 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_33451_902"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:2}),a.createElement("feGaussianBlur",{stdDeviation:1}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_33451_902",result:"effect2_dropShadow_33451_902"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_33451_902",result:"shape"})))))}const c=a.forwardRef(l);n.p;var u,d,h;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(null,arguments)}function f(e,t){let{title:n,titleId:r,...i}=e;return a.createElement("svg",p({width:40,height:27,viewBox:"0 0 40 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,u||(u=a.createElement("rect",{x:1,width:39,height:24,rx:12,fill:"#ADB5BD"})),d||(d=a.createElement("g",{filter:"url(#filter0_dd_33451_899)"},a.createElement("circle",{cx:13,cy:12,r:10.5,fill:"white"}))),h||(h=a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_33451_899",x:.5,y:.5,width:25,height:26,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",null),a.createElement("feGaussianBlur",{stdDeviation:.5}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.08 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_33451_899"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:2}),a.createElement("feGaussianBlur",{stdDeviation:1}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.145098 0 0 0 0 0.160784 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_33451_899",result:"effect2_dropShadow_33451_899"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_33451_899",result:"shape"})))))}const m=a.forwardRef(f);n.p;var g=n(98860),v=n(99334);const C=e=>{let{label:t,name:n,loading:r}=e;const[i,,o]=(0,g.Mt)(n),a=i.value;return(0,v.jsxs)("div",{className:"flex justify-between items-center",children:[t&&(0,v.jsx)("span",{children:t})," ",(0,v.jsx)("button",{type:"button",className:"h-8 flex rounded-full outline-none",onClick:()=>{o.setValue(!i.value)},children:(0,v.jsxs)("div",{className:"inset-0 flex justify-center items-center",children:[(0,v.jsx)("div",{className:"flex justify-center items-center transition-opacity duration-1000 ease-in-out ".concat(r?"opacity-0":"opacity-100"),children:a?(0,v.jsx)(c,{}):(0,v.jsx)(m,{})}),(0,v.jsx)("div",{className:"absolute flex justify-center items-center transition-opacity duration-1000 ease-in-out ".concat(r?"opacity-100":"opacity-0"),children:(0,v.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading"})})]})})]})}},38190:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(99334);const i=e=>{let{className:t}=e;return(0,r.jsx)("div",{className:"border-gradient js-show-on-scroll ".concat(t)})}},14716:(e,t,n)=>{"use strict";n.d(t,{cn:()=>W});var r=n(23220),i="-";function o(e){var t=function(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},i=function(e,t){if(!t)return e;return e.map((function(e){return[e[0],e[1].map((function(e){return"string"===typeof e?t+e:"object"===typeof e?Object.fromEntries(Object.entries(e).map((function(e){var n=e[0],r=e[1];return[t+n,r]}))):e}))]}))}(Object.entries(e.classGroups),n);return i.forEach((function(e){var n=e[0];l(e[1],r,n,t)})),r}(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,o=void 0===r?{}:r;return{getClassGroupId:function(e){var n=e.split(i);return""===n[0]&&1!==n.length&&n.shift(),a(n,t)||function(e){if(s.test(e)){var t=s.exec(e)[1],n=null===t||void 0===t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var r=n[e]||[];return t&&o[e]?[].concat(r,o[e]):r}}}function a(e,t){var n;if(0===e.length)return t.classGroupId;var r=e[0],o=t.nextPart.get(r),s=o?a(e.slice(1),o):void 0;if(s)return s;if(0!==t.validators.length){var l=e.join(i);return null===(n=t.validators.find((function(e){return(0,e.validator)(l)})))||void 0===n?void 0:n.classGroupId}}var s=/^\[(.+)\]$/;function l(e,t,n,r){e.forEach((function(e){if("string"!==typeof e){if("function"===typeof e)return e.isThemeGetter?void l(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((function(e){var i=e[0];l(e[1],c(t,i),n,r)}))}else{(""===e?t:c(t,e)).classGroupId=n}}))}function c(e,t){var n=e;return t.split(i).forEach((function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function u(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}var d="!";function h(e){var t=e.separator||":",n=1===t.length,r=t[0],i=t.length;return function(e){for(var o,a=[],s=0,l=0,c=0;c<e.length;c++){var u=e[c];if(0===s){if(u===r&&(n||e.slice(c,c+i)===t)){a.push(e.slice(l,c)),l=c+i;continue}if("/"===u){o=c;continue}}"["===u?s++:"]"===u&&s--}var h=0===a.length?e:e.substring(l),p=h.startsWith(d);return{modifiers:a,hasImportantModifier:p,baseClassName:p?h.substring(1):h,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}}var p=/\s+/;function f(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=m(e))&&(r&&(r+=" "),r+=t);return r}function m(e){if("string"===typeof e)return e;for(var t,n="",r=0;r<e.length;r++)e[r]&&(t=m(e[r]))&&(n&&(n+=" "),n+=t);return n}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,a,s=function(e){var n=t[0],c=t.slice(1).reduce((function(e,t){return t(e)}),n());return r=function(e){return{cache:u(e.cacheSize),splitModifiers:h(e),...o(e)}}(c),i=r.cache.get,a=r.cache.set,s=l,l(e)};function l(e){var t=i(e);if(t)return t;var n=function(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(p).map((function(e){var t=n(e),i=t.modifiers,o=t.hasImportantModifier,a=t.baseClassName,s=t.maybePostfixModifierPosition,l=r(s?a.substring(0,s):a),c=Boolean(s);if(!l){if(!s)return{isTailwindClass:!1,originalClassName:e};if(!(l=r(a)))return{isTailwindClass:!1,originalClassName:e};c=!1}var u=function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach((function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)})),t.push.apply(t,n.sort()),t}(i).join(":");return{isTailwindClass:!0,modifierId:o?u+d:u,classGroupId:l,originalClassName:e,hasPostfixModifier:c}})).reverse().filter((function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,a=t+n;return!o.has(a)&&(o.add(a),i(n,r).forEach((function(e){return o.add(t+e)})),!0)})).reverse().map((function(e){return e.originalClassName})).join(" ")}(e,r);return a(e,n),n}return function(){return s(f.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var C=/^\[(?:([a-z-]+):)?(.+)\]$/i,y=/^\d+\/\d+$/,b=new Set(["px","full","screen"]),w=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function E(e){return D(e)||b.has(e)||y.test(e)||_(e)}function _(e){return j(e,"length",L)}function T(e){return j(e,"size",B)}function S(e){return j(e,"position",B)}function k(e){return j(e,"url",U)}function P(e){return j(e,"number",D)}function D(e){return!Number.isNaN(Number(e))}function N(e){return e.endsWith("%")&&D(e.slice(0,-1))}function F(e){return V(e)||j(e,"number",V)}function I(e){return C.test(e)}function R(){return!0}function M(e){return w.test(e)}function O(e){return j(e,"",H)}function j(e,t,n){var r=C.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function L(e){return x.test(e)}function B(){return!1}function U(e){return e.startsWith("url(")}function V(e){return Number.isInteger(Number(e))}function H(e){return A.test(e)}function z(){var e=v("colors"),t=v("spacing"),n=v("blur"),r=v("brightness"),i=v("borderColor"),o=v("borderRadius"),a=v("borderSpacing"),s=v("borderWidth"),l=v("contrast"),c=v("grayscale"),u=v("hueRotate"),d=v("invert"),h=v("gap"),p=v("gradientColorStops"),f=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),C=v("opacity"),y=v("padding"),b=v("saturate"),w=v("scale"),x=v("sepia"),A=v("skew"),j=v("space"),L=v("translate"),B=function(){return["auto",I,t]},U=function(){return[I,t]},V=function(){return["",E]},H=function(){return["auto",D,I]},z=function(){return["","0",I]},Z=function(){return[D,P]},W=function(){return[D,I]};return{cacheSize:500,theme:{colors:[R],spacing:[E],blur:["none","",M,I],brightness:Z(),borderColor:[e],borderRadius:["none","","full",M,I],borderSpacing:U(),borderWidth:V(),contrast:Z(),grayscale:z(),hueRotate:W(),invert:z(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[N,_],inset:B(),margin:B(),opacity:Z(),padding:U(),saturate:Z(),scale:Z(),sepia:z(),skew:W(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",I]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[I])}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",I]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",F]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",F]},I]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[F]},I]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",I]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",I]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal"].concat(["start","end","center","between","around","evenly","stretch"])}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(["start","end","center","between","around","evenly","stretch"],["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(["start","end","center","between","around","evenly","stretch"],["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",I,t]}],"min-w":[{"min-w":["min","max","fit",I,E]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[M]},M,I]}],h:[{h:[I,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",I,E]}],"max-h":[{"max-h":[I,t,"min","max","fit"]}],"font-size":[{text:["base",M,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",I]}],"line-clamp":[{"line-clamp":["none",D,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,E]}],"list-image":[{"list-image":["none",I]}],"list-style-type":[{list:["none","disc","decimal",I]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(["solid","dashed","dotted","double","none"],["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",E]}],"underline-offset":[{"underline-offset":["auto",I,E]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[S])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[].concat(["solid","dashed","dotted","double","none"],["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(["solid","dashed","dotted","double","none"])}],"outline-offset":[{"outline-offset":[I,E]}],"outline-w":[{outline:[E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,O]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",M,I]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",I]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",I]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",I]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[F,I]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",I]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",I]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",I]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var Z=g(z);function W(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Z((0,r.$)(t))}},15957:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});const r="https://flowty.mypinata.cloud/ipfs/"},68875:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(61462);const i=()=>{const[e,t]=(0,r.useState)(window.innerWidth);return(0,r.useEffect)((()=>{const e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),{width:e}}},92040:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(61462),i=n(39744),o=n(99334);const a=e=>{let{Comp:t,tooltipText:n,tooltipId:a}=e;const s=(0,r.useId)(),l="".concat(a,"-").concat(s);return(0,o.jsx)("div",{className:"inline",children:n&&""!==n?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"absolute z-10",children:(0,o.jsx)(i.m_,{id:l})}),(0,o.jsx)("div",{"data-tooltip-content":n,"data-tooltip-id":l,children:t})]}):(0,o.jsx)("div",{children:t})})}},85221:(e,t,n)=>{"use strict";n.d(t,{tm:()=>v,ps:()=>m,P1:()=>g,dK:()=>C,b0:()=>y});var r=n(60712),i=n(42332),o=n(10514),a=n(88642),s=n(61462),l=n(13090),c=n(12273),u=n(99334);const d=e=>{let{isMainWallet:t=!1}=e;return(0,u.jsx)(c.Bo,{text:t?"main":"child",type:t?"primary":"secondary"})};var h=n(78273),p=n(48231);class f{constructor(){this.params=void 0,this.params={}}apply(e){return!0}}class m{constructor(e){this.params=void 0,this.params=e}apply(e){var t,n,r,i;const a=p.su.tokens.getTokenIdentifier(null!==(t=null===(n=this.params)||void 0===n?void 0:n.tokenName)&&void 0!==t?t:o.SupportedTokens.FLOW);return!(null===e||void 0===e||null===(r=e.tokens)||void 0===r||null===(i=r[a])||void 0===i||!i.receiverPath)||e.isMain}}class g{constructor(e){this.params=void 0,this.params=e}apply(e){var t;const n="storefront"===(null===this||void 0===this||null===(t=this.params)||void 0===t?void 0:t.listingType)?o.SUPPORTED_TOKEN_LIST:o.SUPPORTED_NON_DAPPER_TOKENS;for(let s=0;s<n.length-1;s++){var r,i,a;const t=n[s],l=p.su.tokens.getTokenIdentifier(null!==(r=t)&&void 0!==r?r:o.SupportedTokens.FLOW);if(null!==e&&void 0!==e&&null!==(i=e.tokens)&&void 0!==i&&null!==(a=i[l])&&void 0!==a&&a.receiverPath||e.isMain)return!0}return!1}}class v{constructor(e){this.params=void 0,this.params=e}apply(e){var t,n,r,i,a;const s=p.su.tokens.getTokenIdentifier(null!==(t=null===(n=this.params)||void 0===n?void 0:n.tokenName)&&void 0!==t?t:o.SupportedTokens.FLOW);return((null===e||void 0===e||null===(r=e.tokens)||void 0===r||null===(i=r[s])||void 0===i||null===(a=i.providerPaths)||void 0===a?void 0:a.length)||0)>0}}const C=(0,a.WQ)("authStore")((0,a.PA)((e=>{var t,n;let{authStore:o,selected:a,setSelected:c,selectorFilter:p=new f,label:m,disabledMessage:g,description:v,tableView:C}=e;const y=(0,s.useMemo)((()=>{var e;const t=null===o||void 0===o||null===(e=o.loggedUser)||void 0===e?void 0:e.accountSummaries;return Object.values(t||{}).reduce(((e,t)=>!(null!==p&&void 0!==p&&p.apply(t))&&!t.isMain?{invalid:[t,...e.invalid],valid:e.valid}:{invalid:e.invalid,valid:[t,...e.valid]}),{invalid:[],valid:[]})}),[null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.accountSummaries,p]);return(0,s.useEffect)((()=>{y.valid.reduce(((e,t)=>(null===a||void 0===a?void 0:a.address)===t.address||e),!1)||null===c||void 0===c||c(y.valid[0])}),[p.params,y]),!a||!c||Object.values((null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.accountSummaries)||{}).length<=1?null:(0,u.jsxs)("div",{className:"w-full flex flex-col justify-between",children:[(0,u.jsx)("div",{className:"".concat(C?"text-lg font-bold":"text-base font-semibold py-2"),children:m}),(0,u.jsxs)(r.A,{className:"".concat(!C&&"relative"," w-full"),children:[(0,u.jsx)(r.A.Button,{className:"w-full",children:e=>{var t,n,r,s;let{open:c}=e;return(0,u.jsxs)("div",{className:"flex font-bold font-montserrat-bold border border-[#B1B1B1] hover:border-white rounded-md items-center justify-around md:justify-between group py-1 px-1 md:px-1.5 ".concat(c&&"border-primary","\n\t\t\t\t\t\t\t").concat(C&&"h-[37px]"),children:[(0,u.jsxs)("div",{className:"flex justify-between w-full items-center",children:[(0,u.jsxs)("div",{className:"flex items-center",children:[(0,u.jsx)("img",{onError:l.R,src:(a.address===(null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.addr)?null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.avatar:null===a||void 0===a||null===(r=a.display)||void 0===r?void 0:r.thumbnail)||"",alt:"Wallet Icon",className:"h-7 w-7 md:h-8 md:w-8 content-fit rounded-md"}),(0,u.jsx)("span",{className:"p-1 md:p-2 font-bold font-montserrat-bold text-nowrap",children:(null===a||void 0===a||null===(s=a.display)||void 0===s?void 0:s.name)||a.address||""})]}),(0,u.jsx)(d,{isMainWallet:a.isMain})]}),(0,u.jsx)(i.A,{className:"h-7 w-7 md:h-8 md:w-8 transition-transform duration-300  ".concat(c&&"rotate-180 transform fill-primary")})]})}}),(0,u.jsxs)(r.A.Panel,{className:"absolute z-10 bg-[#232D39] rounded-md mt-2 border overflow-hidden w-full ".concat(C?"w-auto border-[#B1B1B1]":"border-white"),children:[y.valid.map((e=>{var t,n;return(0,u.jsxs)(r.A.Button,{as:"div",onClick:()=>{c(e),h.o.track("WALLET_ACCOUNT_TOGGLED",{account:e})},className:"cursor-pointer w-full px-3 py-1 hover:bg-white hover:bg-opacity-10  flex justify-between items-center transition-all ease-in-out duration-300",children:[(0,u.jsxs)("div",{className:"flex items-center",children:[(0,u.jsx)("img",{onError:l.R,src:null===e||void 0===e||null===(t=e.display)||void 0===t?void 0:t.thumbnail,alt:"Wallet Icon",className:"h-7 w-7 md:h-8 md:w-8 content-fit rounded-md"}),(0,u.jsx)("span",{className:"p-1 md:p-2 font-bold font-montserrat-bold text-nowrap",children:(null===e||void 0===e||null===(n=e.display)||void 0===n?void 0:n.name)||(null===e||void 0===e?void 0:e.address)||""})]}),(0,u.jsx)(d,{isMainWallet:e.isMain})]},e.address)})),y.invalid.map(((e,t)=>{var n,i;return(0,u.jsxs)("div",{children:[(0,u.jsxs)(r.A.Button,{"aria-disabled":!0,as:"div",onClick:()=>{c(e),h.o.track("WALLET_ACCOUNT_TOGGLED",{account:e})},className:"cursor-not-allowed w-full px-3 py-1 flex items-center justify-between opacity-50",children:[(0,u.jsxs)("div",{className:"flex items-center",children:[(0,u.jsx)("img",{onError:l.R,src:null===e||void 0===e||null===(n=e.display)||void 0===n?void 0:n.thumbnail,alt:"Wallet Icon",className:"h-4 w-4 md:h-4 md:w-4 content-fit rounded-md"}),(0,u.jsx)("span",{className:"p-1 md:p-2 font-bold font-montserrat-bold text-nowrap",children:(null===e||void 0===e||null===(i=e.display)||void 0===i?void 0:i.name)||(null===e||void 0===e?void 0:e.address)||""})]}),(0,u.jsx)(d,{isMainWallet:e.isMain})]}),t===y.invalid.length-1&&g?(0,u.jsx)("div",{className:"w-full border-t border-gray-500 h-8 text-danger text-xs grid place-items-center",children:g}):null]},e.address)}))]})]}),v&&(0,u.jsx)("div",{className:"text-sm py-1",children:v})]})}))),y={payTo:"Disabled wallets not setup to receive token type.",payWith:"Disabled wallets may not have token provider setup.",sendTo:"Disabled wallets may not be setup to receive NFT"}},48470:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(61462),i=n(99334);const o=e=>{let{children:t,setShow:n,show:o,seconds:a}=e;const[s,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o?(l(!0),a&&setTimeout((()=>{l(!1),setTimeout((()=>n(!1)),1e3)}),1e3*a)):l(!1)}),[o]),(0,i.jsx)(i.Fragment,{children:o?(0,i.jsx)("div",{className:"fixed flex w-full left-0 justify-center  z-[99999] small-only:top-0  md:bottom-0 h-[25%] overflow-hidden",children:(0,i.jsx)("div",{className:"relative w-full h-full flex items-center z-[99999]",children:(0,i.jsx)("div",{className:"w-full flex justify-center transition-all duration-500 ease-in-out absolute ".concat(s?"small-only:top-1/4  md:bottom-1/2 ":"small-only:-top-1/2  md:-bottom-1/2"),children:t})})}):null})};var a=n(84239),s=n(86718);const l=e=>{let{setShow:t,show:n,seconds:r,message:l,type:c}=e;return(0,i.jsx)(o,{setShow:t,show:n,seconds:r,children:(0,i.jsxs)("div",{className:"rounded-md bg-[#283B46] py-2 px-3 flex border-[1px] h-full  items-center ".concat("SUCCESS"===c?"border-primary":"ERROR"===c?"border-danger":"border-[#FF6E25]"),children:[(0,i.jsx)("div",{className:"flex-shrink-0",children:"SUCCESS"===c?(0,i.jsx)(a.A,{className:"h-8 w-8 fill-primary"}):(0,i.jsx)(s.A,{className:"h-8 w-8 ".concat("ERROR"===c?"fill-danger":"fill-[#FF6E25]")})}),(0,i.jsx)("div",{className:"ml-3 h-full flex items-center capitalize ".concat("SUCCESS"===c?"text-primary":"ERROR"===c?"text-danger":"text-[#FF6E25]"),children:l})]})})}},85873:(e,t,n)=>{"use strict";n.d(t,{ti:()=>R,se:()=>I,xz:()=>F});var r,i=n(61462),o=n(92040);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}function s(e,t){let{title:n,titleId:o,...s}=e;return i.createElement("svg",a({baseProfile:"tiny",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 2000 2000",overflow:"visible",xmlSpace:"preserve",ref:t,"aria-labelledby":o},s),n?i.createElement("title",{id:o},n):null,r||(r=i.createElement("g",null,i.createElement("path",{fill:"#04F48C",d:"M1000,8C452.1,8,8,452.1,8,1000s444.1,992,992,992s992-444.1,992-992S1547.9,8,1000,8z M1728.8,1433 c-5.6-1.6-10.8-4.3-16.2-6.5c-24.5-9.9-48.7-20.9-73.6-29.7c-123.3-43.5-251-55.6-380.3-46.3c-112.8,8.1-225.1,21.7-337.7,32.5 c-103.3,10-206.7,14.1-310-0.2c-30.8-4.2-61.3-10.4-92-15.7c-26.4-7.9-52.9-15.8-79.3-23.7c-16.9-7.2-33.7-15.1-50.9-21.6 c-60.1-22.6-92.5-66.6-99.6-129.3c-11.8-103.8-22.5-207.8-33.9-311.6C245,786.6,234.4,692.4,224.1,598c2.1-7.1,4.3-14.2,6.4-21.3 c18.8-18.4,38.8-13.5,59.7-3.7c62.7,29.6,128.4,50.1,196.4,62.7c88.9,16.4,178.8,20.4,268.6,13c114.2-9.4,228.2-22.6,342.3-33.4 c177.5-16.8,351.9-9.4,518.8,63.3c57.1,24.8,89.8,66.2,96.7,126.8c18.2,159.6,35.1,319.4,52.3,479.1c4.1,37.9,8.9,75.7,10.8,113.6 C1777.5,1427.6,1757.2,1441.4,1728.8,1433z"}),i.createElement("path",{fill:"#FFFFFF",d:"M1776.1,1398.1c-1.9-37.9-6.7-75.7-10.8-113.6c-17.2-159.7-34.1-319.5-52.3-479.1 c-6.9-60.6-39.6-102-96.7-126.8c-166.9-72.7-341.3-80.1-518.8-63.3c-114.1,10.8-228.1,24-342.3,33.4c-89.8,7.4-179.7,3.4-268.6-13 c-68-12.6-133.7-33.1-196.4-62.7c-20.9-9.8-40.9-14.7-59.7,3.7c-2.1,7.1-4.3,14.2-6.4,21.3c10.3,94.4,20.9,188.6,31.2,282.9 c11.4,103.8,22.1,207.8,33.9,311.6c7.1,62.7,39.5,106.7,99.6,129.3c17.2,6.5,34,14.4,50.9,21.6c26.4,7.9,52.9,15.8,79.3,23.7 c30.7,5.3,61.2,11.5,92,15.7c103.3,14.3,206.7,10.2,310,0.2c112.6-10.8,224.9-24.4,337.7-32.5c129.3-9.3,257,2.8,380.3,46.3 c24.9,8.8,49.1,19.8,73.6,29.7c5.4,2.2,10.6,4.9,16.2,6.5C1757.2,1441.4,1777.5,1427.6,1776.1,1398.1z M1000,1213.7L786.3,999.9 L1000,786.1l213.8,213.8L1000,1213.7z"}),i.createElement("rect",{x:848.9,y:848.8,transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -414.1326 1000.0044)",fill:"#04F48C",width:302.3,height:302.3}))))}const l=i.forwardRef(s);n.p;var c=n(42777);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function d(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",u({id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 339.43 295.27",ref:t,"aria-labelledby":r},o),void 0===n?i.createElement("title",{id:r},"tether-usdt-logo"):n?i.createElement("title",{id:r},n):null,i.createElement("path",{d:"M62.15,1.45l-61.89,130a2.52,2.52,0,0,0,.54,2.94L167.95,294.56a2.55,2.55,0,0,0,3.53,0L338.63,134.4a2.52,2.52,0,0,0,.54-2.94l-61.89-130A2.5,2.5,0,0,0,275,0H64.45a2.5,2.5,0,0,0-2.3,1.45h0Z",style:{fill:"#50af95",fillRule:"evenodd"}}),i.createElement("path",{d:"M191.19,144.8v0c-1.2.09-7.4,0.46-21.23,0.46-11,0-18.81-.33-21.55-0.46v0c-42.51-1.87-74.24-9.27-74.24-18.13s31.73-16.25,74.24-18.15v28.91c2.78,0.2,10.74.67,21.74,0.67,13.2,0,19.81-.55,21-0.66v-28.9c42.42,1.89,74.08,9.29,74.08,18.13s-31.65,16.24-74.08,18.12h0Zm0-39.25V79.68h59.2V40.23H89.21V79.68H148.4v25.86c-48.11,2.21-84.29,11.74-84.29,23.16s36.18,20.94,84.29,23.16v82.9h42.78V151.83c48-2.21,84.12-11.73,84.12-23.14s-36.09-20.93-84.12-23.15h0Zm0,0h0Z",style:{fill:"#fff",fillRule:"evenodd"}}))}const h=i.forwardRef(d);n.p;var p,f,m;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(null,arguments)}function v(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",g({"data-name":"86977684-12db-4850-8f30-233a7c267d11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2000 2000",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,p||(p=i.createElement("path",{d:"M1000 2000c554.17 0 1000-445.83 1000-1000S1554.17 0 1000 0 0 445.83 0 1000s445.83 1000 1000 1000z",fill:"#2775ca"})),f||(f=i.createElement("path",{d:"M1275 1158.33c0-145.83-87.5-195.83-262.5-216.66-125-16.67-150-50-150-108.34s41.67-95.83 125-95.83c75 0 116.67 25 137.5 87.5 4.17 12.5 16.67 20.83 29.17 20.83h66.66c16.67 0 29.17-12.5 29.17-29.16v-4.17c-16.67-91.67-91.67-162.5-187.5-170.83v-100c0-16.67-12.5-29.17-33.33-33.34h-62.5c-16.67 0-29.17 12.5-33.34 33.34v95.83c-125 16.67-204.16 100-204.16 204.17 0 137.5 83.33 191.66 258.33 212.5 116.67 20.83 154.17 45.83 154.17 112.5s-58.34 112.5-137.5 112.5c-108.34 0-145.84-45.84-158.34-108.34-4.16-16.66-16.66-25-29.16-25h-70.84c-16.66 0-29.16 12.5-29.16 29.17v4.17c16.66 104.16 83.33 179.16 220.83 200v100c0 16.66 12.5 29.16 33.33 33.33h62.5c16.67 0 29.17-12.5 33.34-33.33v-100c125-20.84 208.33-108.34 208.33-220.84z",fill:"#fff"})),m||(m=i.createElement("path",{d:"M787.5 1595.83c-325-116.66-491.67-479.16-370.83-800 62.5-175 200-308.33 370.83-370.83 16.67-8.33 25-20.83 25-41.67V325c0-16.67-8.33-29.17-25-33.33-4.17 0-12.5 0-16.67 4.16-395.83 125-612.5 545.84-487.5 941.67 75 233.33 254.17 412.5 487.5 487.5 16.67 8.33 33.34 0 37.5-16.67 4.17-4.16 4.17-8.33 4.17-16.66v-58.34c0-12.5-12.5-29.16-25-37.5zM1229.17 295.83c-16.67-8.33-33.34 0-37.5 16.67-4.17 4.17-4.17 8.33-4.17 16.67v58.33c0 16.67 12.5 33.33 25 41.67 325 116.66 491.67 479.16 370.83 800-62.5 175-200 308.33-370.83 370.83-16.67 8.33-25 20.83-25 41.67V1700c0 16.67 8.33 29.17 25 33.33 4.17 0 12.5 0 16.67-4.16 395.83-125 612.5-545.84 487.5-941.67-75-237.5-258.34-416.67-487.5-491.67z",fill:"#fff"})))}const C=i.forwardRef(v);n.p;var y=n(41551),b=n(54622);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(null,arguments)}function x(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:"1024px",height:"1024px",viewBox:"0 0 1024 1024",style:{shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",imageRendering:"optimizeQuality",fillRule:"evenodd",clipRule:"evenodd"},xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#43a451",d:"M 709.5,191.5 C 710.154,187.414 708.988,184.081 706,181.5C 704.438,177.986 703.605,174.319 703.5,170.5C 702.325,170.719 701.325,170.386 700.5,169.5C 699.811,167.556 699.311,165.556 699,163.5C 698.439,162.978 697.772,162.645 697,162.5C 692.518,163.709 688.351,165.375 684.5,167.5C 688.417,168.974 688.417,170.308 684.5,171.5C 682.032,170.957 679.532,170.624 677,170.5C 671.57,171.868 666.07,172.368 660.5,172C 659.773,170.601 659.273,169.101 659,167.5C 657.989,166.663 656.822,166.33 655.5,166.5C 655.16,168.991 654.16,171.158 652.5,173C 652.955,176.742 652.955,180.575 652.5,184.5C 653.5,184.5 654.5,184.5 655.5,184.5C 655.5,185.833 655.5,187.167 655.5,188.5C 654.167,188.5 652.833,188.5 651.5,188.5C 650.241,191.366 649.241,194.366 648.5,197.5C 649.302,200.449 649.636,203.449 649.5,206.5C 648.609,207.11 647.609,207.443 646.5,207.5C 644.167,207.5 641.833,207.5 639.5,207.5C 639.657,208.873 639.49,210.207 639,211.5C 637.562,208.722 637.562,206.056 639,203.5C 639.667,200.833 639.667,198.167 639,195.5C 637.92,197.996 636.586,200.33 635,202.5C 634.5,209.492 634.334,216.492 634.5,223.5C 633.351,223.209 632.684,222.376 632.5,221C 631.446,215.194 631.28,209.361 632,203.5C 633.336,199.369 634.836,195.369 636.5,191.5C 637.5,191.5 638.5,191.5 639.5,191.5C 639.351,190.448 639.517,189.448 640,188.5C 642.69,185.815 645.69,183.482 649,181.5C 648.595,177.879 648.595,174.213 649,170.5C 650.353,169.315 651.52,167.981 652.5,166.5C 654.765,165.353 657.098,165.186 659.5,166C 660.833,168.33 662.667,170.163 665,171.5C 673.815,168.673 682.315,165.173 690.5,161C 694.751,159.805 699.085,159.305 703.5,159.5C 703.335,162.85 703.502,166.183 704,169.5C 706.647,174.793 709.313,180.127 712,185.5C 712.495,187.473 712.662,189.473 712.5,191.5C 711.5,191.5 710.5,191.5 709.5,191.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c0e6c7",d:"M 687.5,197.5 C 684.34,199.063 681.174,200.729 678,202.5C 676.504,204.45 676.337,206.45 677.5,208.5C 686.296,209.14 694.962,209.807 703.5,210.5C 694.494,210.666 685.494,210.5 676.5,210C 675.484,208.323 674.484,206.657 673.5,205C 675.779,202.208 678.445,200.041 681.5,198.5C 683.5,198.167 685.5,197.833 687.5,197.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#36a445",d:"M 709.5,191.5 C 703.019,193.619 696.352,194.786 689.5,195C 688.244,195.417 687.577,196.25 687.5,197.5C 685.5,197.833 683.5,198.167 681.5,198.5C 674.486,199.005 671.32,202.672 672,209.5C 673.255,210.211 674.421,211.044 675.5,212C 682.17,212.389 688.836,212.223 695.5,211.5C 703.685,211.856 711.685,212.856 719.5,214.5C 724.828,215.996 729.828,218.329 734.5,221.5C 743.126,237.246 741.959,252.246 731,266.5C 730.506,268.134 730.34,269.801 730.5,271.5C 732.857,271.337 735.19,271.503 737.5,272C 738.275,277.676 736.608,282.676 732.5,287C 728.129,287.828 723.795,287.661 719.5,286.5C 718.408,284.404 716.741,283.071 714.5,282.5C 711.385,284.439 708.385,286.606 705.5,289C 703.323,290.202 700.989,290.702 698.5,290.5C 694.774,290.177 691.107,290.511 687.5,291.5C 688.433,295.429 688.766,299.429 688.5,303.5C 687.5,303.5 686.5,303.5 685.5,303.5C 681.208,300.543 677.208,297.21 673.5,293.5C 672.4,292.395 671.733,291.062 671.5,289.5C 674.245,289.627 676.245,288.46 677.5,286C 686.485,284.325 695.151,281.825 703.5,278.5C 703.5,277.167 703.5,275.833 703.5,274.5C 705.591,274.682 707.591,274.348 709.5,273.5C 709.88,271.979 710.046,270.313 710,268.5C 711.892,267.87 713.559,266.87 715,265.5C 716.255,261.959 716.422,258.459 715.5,255C 716.02,251.596 717.187,248.429 719,245.5C 719.5,237.507 719.666,229.507 719.5,221.5C 723.116,222.543 726.783,223.043 730.5,223C 728.167,221 725.833,219 723.5,217C 716.629,216.442 709.962,215.275 703.5,213.5C 703.5,214.5 703.5,215.5 703.5,216.5C 696.492,216.334 689.492,216.5 682.5,217C 677.883,219.988 672.883,221.322 667.5,221C 665.065,217.453 662.398,214.119 659.5,211C 661.829,207.51 662.829,203.677 662.5,199.5C 666.273,200.178 669.106,198.844 671,195.5C 671.333,195.833 671.667,196.167 672,196.5C 673.269,195.095 673.769,193.429 673.5,191.5C 678.578,189.195 683.912,187.362 689.5,186C 690.551,184.615 691.884,183.615 693.5,183C 694.444,180.281 694.777,177.448 694.5,174.5C 690.699,173.03 687.032,173.363 683.5,175.5C 681.823,177.76 679.657,179.427 677,180.5C 674.869,183.102 673.035,185.768 671.5,188.5C 672.552,188.351 673.552,188.517 674.5,189C 668.223,191.949 663.223,196.282 659.5,202C 655.617,202.454 652.284,203.954 649.5,206.5C 649.636,203.449 649.302,200.449 648.5,197.5C 649.241,194.366 650.241,191.366 651.5,188.5C 652.833,188.5 654.167,188.5 655.5,188.5C 655.5,187.167 655.5,185.833 655.5,184.5C 654.5,184.5 653.5,184.5 652.5,184.5C 652.955,180.575 652.955,176.742 652.5,173C 654.16,171.158 655.16,168.991 655.5,166.5C 656.822,166.33 657.989,166.663 659,167.5C 659.273,169.101 659.773,170.601 660.5,172C 666.07,172.368 671.57,171.868 677,170.5C 679.532,170.624 682.032,170.957 684.5,171.5C 688.417,170.308 688.417,168.974 684.5,167.5C 688.351,165.375 692.518,163.709 697,162.5C 697.772,162.645 698.439,162.978 699,163.5C 699.311,165.556 699.811,167.556 700.5,169.5C 701.325,170.386 702.325,170.719 703.5,170.5C 703.605,174.319 704.438,177.986 706,181.5C 708.988,184.081 710.154,187.414 709.5,191.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#35a444",d:"M 646.5,207.5 C 644.712,215.057 647.712,219.391 655.5,220.5C 657.479,225.983 660.813,230.483 665.5,234C 677.222,234.366 688.888,234.033 700.5,233C 705.435,238.31 708.769,244.477 710.5,251.5C 710.16,255.558 709.493,259.558 708.5,263.5C 707.305,265.297 705.638,266.297 703.5,266.5C 703.439,268.592 702.439,270.092 700.5,271C 693.818,270.606 687.818,272.272 682.5,276C 679.635,276.837 676.802,277.67 674,278.5C 672.414,277.624 670.914,276.624 669.5,275.5C 666.894,278.649 666.894,281.816 669.5,285C 669.43,285.765 669.097,286.265 668.5,286.5C 663.609,281.384 663.275,275.884 667.5,270C 672.439,270.319 676.773,268.986 680.5,266C 685.614,265.711 690.614,264.877 695.5,263.5C 699.455,261.936 701.122,258.936 700.5,254.5C 700.167,252.833 699.833,251.167 699.5,249.5C 698.026,248.564 697.026,247.23 696.5,245.5C 687.954,244.303 679.454,244.636 671,246.5C 664.537,245.093 658.037,243.76 651.5,242.5C 649.801,242.66 648.134,242.494 646.5,242C 640.574,236.957 636.574,230.791 634.5,223.5C 634.334,216.492 634.5,209.492 635,202.5C 636.586,200.33 637.92,197.996 639,195.5C 639.667,198.167 639.667,200.833 639,203.5C 637.562,206.056 637.562,208.722 639,211.5C 639.49,210.207 639.657,208.873 639.5,207.5C 641.833,207.5 644.167,207.5 646.5,207.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#529d60",d:"M 681.5,198.5 C 678.445,200.041 675.779,202.208 673.5,205C 674.484,206.657 675.484,208.323 676.5,210C 685.494,210.5 694.494,210.666 703.5,210.5C 708.232,210.378 712.898,210.878 717.5,212C 718.756,212.417 719.423,213.25 719.5,214.5C 711.685,212.856 703.685,211.856 695.5,211.5C 688.836,212.223 682.17,212.389 675.5,212C 674.421,211.044 673.255,210.211 672,209.5C 671.32,202.672 674.486,199.005 681.5,198.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#51a15e",d:"M 651.5,242.5 C 658.037,243.76 664.537,245.093 671,246.5C 679.454,244.636 687.954,244.303 696.5,245.5C 697.026,247.23 698.026,248.564 699.5,249.5C 699.833,251.167 700.167,252.833 700.5,254.5C 701.122,258.936 699.455,261.936 695.5,263.5C 699.858,258.915 700.191,254.248 696.5,249.5C 696.389,248.883 696.056,248.383 695.5,248C 693.667,247.833 691.833,247.667 690,247.5C 680.513,248.507 671.013,248.673 661.5,248C 657.602,247.004 654.269,245.171 651.5,242.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e42949",d:"M 431.5,244.5 C 436.833,245.167 442.167,245.833 447.5,246.5C 447.5,247.5 447.5,248.5 447.5,249.5C 444.873,250.831 442.54,252.664 440.5,255C 439.552,255.483 438.552,255.649 437.5,255.5C 435.182,260.768 432.849,266.102 430.5,271.5C 426.393,288.049 424.393,304.716 424.5,321.5C 426.124,321.64 427.29,320.973 428,319.5C 428.86,314.063 430.027,308.729 431.5,303.5C 435.387,298.626 438.387,293.293 440.5,287.5C 443.833,283.663 447,279.663 450,275.5C 454.044,272.694 458.21,270.027 462.5,267.5C 463.386,266.675 463.719,265.675 463.5,264.5C 466.676,263.66 469.342,261.993 471.5,259.5C 476.925,260.106 481.592,262.273 485.5,266C 490.01,268.299 494.677,270.299 499.5,272C 504.331,275.919 509.664,279.086 515.5,281.5C 517.678,283.745 520.012,285.745 522.5,287.5C 523.292,289.257 524.625,290.591 526.5,291.5C 527.452,293.045 527.785,294.712 527.5,296.5C 526.5,296.5 525.5,296.5 524.5,296.5C 512.067,295.582 500.401,297.915 489.5,303.5C 485.671,302.931 482.337,303.598 479.5,305.5C 472.262,305.893 465.262,307.393 458.5,310C 454.377,313.273 449.711,315.606 444.5,317C 443.748,317.671 443.414,318.504 443.5,319.5C 440.619,320.683 437.619,321.683 434.5,322.5C 431.058,322.032 428.391,323.198 426.5,326C 415.844,327.663 405.178,329.33 394.5,331C 391.814,334.865 388.147,336.699 383.5,336.5C 383.5,335.833 383.167,335.5 382.5,335.5C 378.231,330.733 373.231,326.9 367.5,324C 355.331,318.848 342.998,318.348 330.5,322.5C 325.063,325.148 319.396,327.314 313.5,329C 308.965,332.768 303.965,335.768 298.5,338C 296.5,338.667 294.5,338.667 292.5,338C 286.962,331.136 281.462,324.303 276,317.5C 275.516,315.087 275.85,312.754 277,310.5C 280.652,309.005 282.652,310.339 283,314.5C 288.724,320.496 295.557,321.996 303.5,319C 311.21,314.813 319.21,311.147 327.5,308C 328.059,307.275 328.392,306.442 328.5,305.5C 325.363,297.893 321.696,290.56 317.5,283.5C 315.121,281.958 312.454,281.291 309.5,281.5C 293.849,282.716 278.849,286.383 264.5,292.5C 263.558,292.392 262.725,292.059 262,291.5C 261.667,289.5 261.333,287.5 261,285.5C 258.31,283.973 256.143,281.973 254.5,279.5C 253.766,278.292 253.433,276.959 253.5,275.5C 257.648,274.901 261.315,273.568 264.5,271.5C 266.833,270.833 269.167,270.167 271.5,269.5C 276.277,268.78 280.61,266.947 284.5,264C 290.817,263.761 296.651,261.928 302,258.5C 303.766,259.233 305.599,259.567 307.5,259.5C 307.433,258.041 307.766,256.708 308.5,255.5C 325.447,250.913 342.447,247.246 359.5,244.5C 362.167,244.5 364.833,244.5 367.5,244.5C 372.833,244.5 378.167,244.5 383.5,244.5C 383.5,245.5 383.5,246.5 383.5,247.5C 388.323,244.508 393.656,243.008 399.5,243C 410.265,242.098 420.931,242.598 431.5,244.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#623f2a",d:"M 443.5,211.5 C 483.315,218.5 519.315,234.333 551.5,259C 556.613,264.289 561.779,269.456 567,274.5C 571.167,280 575.333,285.5 579.5,291C 624.47,300.835 668.803,312.502 712.5,326C 736.158,332.231 759.824,338.398 783.5,344.5C 791.306,348.32 799.306,351.32 807.5,353.5C 807.062,353.435 806.728,353.601 806.5,354C 810.97,356.047 815.637,357.714 820.5,359C 823.064,362.018 822.064,363.518 817.5,363.5C 811.576,361.981 805.576,360.981 799.5,360.5C 799.646,362.942 798.813,363.609 797,362.5C 795.556,364.155 793.722,364.822 791.5,364.5C 791.649,363.448 791.483,362.448 791,361.5C 787.28,360.275 784.78,357.941 783.5,354.5C 780.579,354.854 778.246,353.854 776.5,351.5C 773.358,353.921 770.025,354.088 766.5,352C 766.957,351.586 767.291,351.086 767.5,350.5C 764.966,349.223 762.466,349.223 760,350.5C 759.274,347.712 757.44,346.212 754.5,346C 747.78,346.252 741.446,344.919 735.5,342C 730.93,341.538 726.43,340.704 722,339.5C 719.846,340.252 717.68,340.419 715.5,340C 716.696,339.346 716.696,338.846 715.5,338.5C 713.253,339.374 710.92,339.708 708.5,339.5C 685.784,333.837 663.118,327.504 640.5,320.5C 634.801,319.114 629.135,317.281 623.5,315C 606.263,310.952 588.929,307.286 571.5,304C 569.93,302.603 568.596,301.103 567.5,299.5C 561.764,290.923 555.431,282.757 548.5,275C 538.215,267.716 528.215,260.05 518.5,252C 507.249,245.577 495.583,239.91 483.5,235C 475.23,232.074 466.897,229.574 458.5,227.5C 452.028,224.193 445.028,222.693 437.5,223C 436.833,222.667 436.167,222.333 435.5,222C 436.759,221.077 438.092,220.243 439.5,219.5C 439.192,218.692 438.692,218.025 438,217.5C 432.31,219.952 426.643,219.952 421,217.5C 419.612,218.554 418.112,218.72 416.5,218C 419.009,215.5 422.009,213.834 425.5,213C 431.523,212.641 437.523,212.141 443.5,211.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#684532",d:"M 443.5,211.5 C 437.523,212.141 431.523,212.641 425.5,213C 422.009,213.834 419.009,215.5 416.5,218C 418.112,218.72 419.612,218.554 421,217.5C 426.643,219.952 432.31,219.952 438,217.5C 438.692,218.025 439.192,218.692 439.5,219.5C 438.092,220.243 436.759,221.077 435.5,222C 436.167,222.333 436.833,222.667 437.5,223C 445.028,222.693 452.028,224.193 458.5,227.5C 441.554,224.674 424.554,222.174 407.5,220C 394.5,219.333 381.5,219.333 368.5,220C 351.719,222.362 335.052,225.362 318.5,229C 304.5,233 290.5,237 276.5,241C 260.811,247.834 244.811,254.168 228.5,260C 210.333,269.584 192,278.917 173.5,288C 156.361,298.072 139.694,308.905 123.5,320.5C 119.421,324.253 115.421,327.919 111.5,331.5C 108.053,333.397 104.72,335.563 101.5,338C 93.9368,345.395 86.6035,352.895 79.5,360.5C 80.3231,357.649 81.6565,354.982 83.5,352.5C 85.1965,351.636 86.3632,350.303 87,348.5C 87.3333,348.833 87.6667,349.167 88,349.5C 89.5068,346.996 91.0068,344.496 92.5,342C 91.4799,339.141 89.4799,337.641 86.5,337.5C 85.7999,341.999 83.2999,343.665 79,342.5C 78.0754,343.047 77.2421,343.713 76.5,344.5C 74.5925,348.414 72.2592,352.08 69.5,355.5C 69.8333,356.167 70.1667,356.833 70.5,357.5C 68.1535,358.238 65.8202,359.238 63.5,360.5C 65.1396,356.559 67.3063,352.892 70,349.5C 84.5542,333.283 100.721,318.783 118.5,306C 170.469,272.349 225.802,245.682 284.5,226C 304.11,220.482 323.777,215.482 343.5,211C 360.638,209.097 377.805,207.597 395,206.5C 403.848,206.739 412.681,207.239 421.5,208C 428.969,208.966 436.302,210.133 443.5,211.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#aea998",d:"M 538.5,286.5 C 537.481,288.507 535.815,289.84 533.5,290.5C 531.021,288.924 528.354,287.924 525.5,287.5C 524.5,287.5 523.5,287.5 522.5,287.5C 520.012,285.745 517.678,283.745 515.5,281.5C 509.664,279.086 504.331,275.919 499.5,272C 494.677,270.299 490.01,268.299 485.5,266C 481.592,262.273 476.925,260.106 471.5,259.5C 472.609,258.71 473.942,258.21 475.5,258C 471.381,256.636 467.381,254.969 463.5,253C 458.418,250.96 453.084,249.793 447.5,249.5C 447.5,248.5 447.5,247.5 447.5,246.5C 442.167,245.833 436.833,245.167 431.5,244.5C 428.754,243.749 426.087,242.749 423.5,241.5C 398.479,240.245 373.312,239.578 348,239.5C 343.127,239.705 338.461,240.705 334,242.5C 323.001,241.014 322.835,242.014 333.5,245.5C 338.342,243.966 343.175,242.633 348,241.5C 352.179,241.712 356.013,242.712 359.5,244.5C 342.447,247.246 325.447,250.913 308.5,255.5C 302.109,256.483 296.109,258.65 290.5,262C 283.572,263.031 277.239,265.531 271.5,269.5C 269.167,270.167 266.833,270.833 264.5,271.5C 262.801,271.34 261.134,271.506 259.5,272C 251.781,275.958 243.781,279.291 235.5,282C 233.167,283.667 230.833,285.333 228.5,287C 222.961,288.708 217.627,290.708 212.5,293C 210.602,294.417 208.936,295.917 207.5,297.5C 204.687,297.025 202.687,298.025 201.5,300.5C 200.127,300.343 198.793,300.51 197.5,301C 192.418,304.305 187.084,307.139 181.5,309.5C 178.999,309.489 178.832,308.822 181,307.5C 182.137,303.63 180.637,301.797 176.5,302C 178.993,300.581 181.326,299.081 183.5,297.5C 192.465,290.758 202.465,285.591 213.5,282C 240.68,265.673 269.847,253.839 301,246.5C 304.222,244.424 307.722,242.924 311.5,242C 324.095,239.842 336.761,238.176 349.5,237C 350.833,236.333 352.167,235.667 353.5,235C 389.843,229.902 425.676,232.069 461,241.5C 474.739,247.282 488.572,252.949 502.5,258.5C 515.257,266.876 527.257,276.21 538.5,286.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6dab79",d:"M 942.5,267.5 C 938.481,263.82 933.814,261.153 928.5,259.5C 924.932,260.783 921.932,262.783 919.5,265.5C 919.751,263.83 920.418,262.33 921.5,261C 925.372,256.972 929.706,256.472 934.5,259.5C 935.779,261.146 937.445,262.313 939.5,263C 941.141,264.129 942.141,265.629 942.5,267.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dbf3de",d:"M 696.5,249.5 C 700.191,254.248 699.858,258.915 695.5,263.5C 690.614,264.877 685.614,265.711 680.5,266C 676.773,268.986 672.439,270.319 667.5,270C 663.275,275.884 663.609,281.384 668.5,286.5C 669.9,287.1 670.9,288.1 671.5,289.5C 671.733,291.062 672.4,292.395 673.5,293.5C 672.417,293.539 671.417,293.873 670.5,294.5C 663.712,287.512 661.212,279.178 663,269.5C 663.5,269 664,268.5 664.5,268C 668.5,267.667 672.5,267.333 676.5,267C 677.167,266.333 677.833,265.667 678.5,265C 685.618,265.902 691.451,263.735 696,258.5C 696.498,255.518 696.665,252.518 696.5,249.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3fb148",d:"M 671.5,289.5 C 670.9,288.1 669.9,287.1 668.5,286.5C 669.097,286.265 669.43,285.765 669.5,285C 666.894,281.816 666.894,278.649 669.5,275.5C 670.914,276.624 672.414,277.624 674,278.5C 676.802,277.67 679.635,276.837 682.5,276C 687.818,272.272 693.818,270.606 700.5,271C 702.439,270.092 703.439,268.592 703.5,266.5C 705.638,266.297 707.305,265.297 708.5,263.5C 709.493,259.558 710.16,255.558 710.5,251.5C 708.769,244.477 705.435,238.31 700.5,233C 688.888,234.033 677.222,234.366 665.5,234C 660.813,230.483 657.479,225.983 655.5,220.5C 647.712,219.391 644.712,215.057 646.5,207.5C 647.609,207.443 648.609,207.11 649.5,206.5C 652.284,203.954 655.617,202.454 659.5,202C 663.223,196.282 668.223,191.949 674.5,189C 673.552,188.517 672.552,188.351 671.5,188.5C 673.035,185.768 674.869,183.102 677,180.5C 679.657,179.427 681.823,177.76 683.5,175.5C 687.032,173.363 690.699,173.03 694.5,174.5C 694.777,177.448 694.444,180.281 693.5,183C 691.884,183.615 690.551,184.615 689.5,186C 683.912,187.362 678.578,189.195 673.5,191.5C 673.769,193.429 673.269,195.095 672,196.5C 671.667,196.167 671.333,195.833 671,195.5C 669.106,198.844 666.273,200.178 662.5,199.5C 662.829,203.677 661.829,207.51 659.5,211C 662.398,214.119 665.065,217.453 667.5,221C 672.883,221.322 677.883,219.988 682.5,217C 689.492,216.5 696.492,216.334 703.5,216.5C 703.5,215.5 703.5,214.5 703.5,213.5C 709.962,215.275 716.629,216.442 723.5,217C 725.833,219 728.167,221 730.5,223C 726.783,223.043 723.116,222.543 719.5,221.5C 719.666,229.507 719.5,237.507 719,245.5C 717.187,248.429 716.02,251.596 715.5,255C 716.422,258.459 716.255,261.959 715,265.5C 713.559,266.87 711.892,267.87 710,268.5C 710.046,270.313 709.88,271.979 709.5,273.5C 707.591,274.348 705.591,274.682 703.5,274.5C 703.5,275.833 703.5,277.167 703.5,278.5C 695.151,281.825 686.485,284.325 677.5,286C 676.245,288.46 674.245,289.627 671.5,289.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3cae49",d:"M 964.5,287.5 C 962.909,290.431 960.909,293.098 958.5,295.5C 953.389,298.469 948.555,301.802 944,305.5C 941.108,304.18 939.775,301.846 940,298.5C 938.374,295.872 936.374,293.539 934,291.5C 933.517,290.552 933.351,289.552 933.5,288.5C 929.881,287.756 926.215,287.423 922.5,287.5C 921.504,287.414 920.671,287.748 920,288.5C 918.971,298.43 922.471,305.43 930.5,309.5C 929.975,310.192 929.308,310.692 928.5,311C 930.286,311.785 931.786,312.951 933,314.5C 934.321,318.784 935.488,323.117 936.5,327.5C 936.875,335.911 937.875,344.078 939.5,352C 937.443,355.3 936.443,355.133 936.5,351.5C 932.611,351.376 929.278,352.709 926.5,355.5C 925.334,353.635 925.667,351.968 927.5,350.5C 926.902,349.205 926.402,347.872 926,346.5C 925.29,347.973 924.124,348.64 922.5,348.5C 922.5,346.833 922.5,345.167 922.5,343.5C 921.167,343.5 919.833,343.5 918.5,343.5C 918.313,345.564 917.813,347.564 917,349.5C 915.088,347.006 913.254,347.173 911.5,350C 913.023,352.452 914.69,354.786 916.5,357C 914.866,357.494 913.199,357.66 911.5,357.5C 911.5,356.167 911.5,354.833 911.5,353.5C 909.856,353.286 908.356,353.62 907,354.5C 906.517,353.552 906.351,352.552 906.5,351.5C 905.325,351.719 904.325,351.386 903.5,350.5C 905.473,348.719 906.807,346.552 907.5,344C 903.541,344.158 899.541,344.325 895.5,344.5C 895.5,343.167 895.5,341.833 895.5,340.5C 902.383,340.934 909.05,340.267 915.5,338.5C 916.035,332.757 915.368,327.257 913.5,322C 913.905,321.055 914.572,320.388 915.5,320C 913.167,319.667 910.833,319.333 908.5,319C 906.717,317.261 905.05,315.428 903.5,313.5C 900.822,312.445 898.322,311.112 896,309.5C 889.911,300.167 889.244,290.501 894,280.5C 897.944,279.057 900.777,276.391 902.5,272.5C 909.49,267.7 916.823,267.366 924.5,271.5C 926.135,271.122 927.635,270.456 929,269.5C 931.935,271.192 935.102,271.858 938.5,271.5C 938.948,275.524 939.614,279.524 940.5,283.5C 941.812,278.42 944.979,275.42 950,274.5C 955.032,275.544 959.866,277.044 964.5,279C 965.679,281.796 965.679,284.629 964.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d45864",d:"M 440.5,287.5 C 438.387,293.293 435.387,298.626 431.5,303.5C 432.993,297.166 435.993,291.833 440.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#93c69c",d:"M 698.5,290.5 C 695.713,291.477 692.713,291.81 689.5,291.5C 689.5,295.833 689.5,300.167 689.5,304.5C 687.901,304.768 686.568,304.434 685.5,303.5C 686.5,303.5 687.5,303.5 688.5,303.5C 688.766,299.429 688.433,295.429 687.5,291.5C 691.107,290.511 694.774,290.177 698.5,290.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#beb6a9",d:"M 447.5,249.5 C 453.084,249.793 458.418,250.96 463.5,253C 467.381,254.969 471.381,256.636 475.5,258C 473.942,258.21 472.609,258.71 471.5,259.5C 469.342,261.993 466.676,263.66 463.5,264.5C 463.719,265.675 463.386,266.675 462.5,267.5C 458.21,270.027 454.044,272.694 450,275.5C 447,279.663 443.833,283.663 440.5,287.5C 435.993,291.833 432.993,297.166 431.5,303.5C 430.027,308.729 428.86,314.063 428,319.5C 427.29,320.973 426.124,321.64 424.5,321.5C 424.393,304.716 426.393,288.049 430.5,271.5C 432.849,266.102 435.182,260.768 437.5,255.5C 438.552,255.649 439.552,255.483 440.5,255C 442.54,252.664 444.873,250.831 447.5,249.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e32949",d:"M 244.5,287.5 C 244.167,288.833 243.833,290.167 243.5,291.5C 242.226,295.856 242.226,300.356 243.5,305C 242.2,306.58 240.866,308.08 239.5,309.5C 236.079,312.093 233.079,315.259 230.5,319C 229.552,319.483 228.552,319.649 227.5,319.5C 227.657,320.873 227.49,322.207 227,323.5C 225.624,324.705 224.458,326.038 223.5,327.5C 222.178,327.33 221.011,327.663 220,328.5C 218.956,330.715 218.29,333.048 218,335.5C 217.333,344.167 217.333,352.833 218,361.5C 218.414,361.957 218.914,362.291 219.5,362.5C 220.164,366.654 221.331,370.654 223,374.5C 223.986,373.829 225.153,373.829 226.5,374.5C 229.796,380.622 234.796,384.789 241.5,387C 252.639,386.642 263.639,384.975 274.5,382C 285.331,377.416 295.998,372.582 306.5,367.5C 307.442,367.608 308.275,367.941 309,368.5C 312.707,374.027 316.874,379.027 321.5,383.5C 325.132,387.095 327.465,391.428 328.5,396.5C 328.33,397.822 328.663,398.989 329.5,400C 326.174,400.172 322.841,400.005 319.5,399.5C 315.611,398.274 312.611,395.941 310.5,392.5C 307.273,387.592 302.94,384.259 297.5,382.5C 295.813,382.76 294.313,383.427 293,384.5C 291.953,387.881 290.453,391.047 288.5,394C 282.844,395.941 277.178,397.774 271.5,399.5C 271.082,402.439 269.582,404.772 267,406.5C 266.047,409.432 265.547,412.432 265.5,415.5C 266.873,415.343 268.207,415.51 269.5,416C 272.665,420.659 275.998,425.159 279.5,429.5C 279.66,431.199 279.494,432.866 279,434.5C 276.657,437.207 274.323,439.874 272,442.5C 271.506,444.134 271.34,445.801 271.5,447.5C 270.5,447.5 269.5,447.5 268.5,447.5C 264.659,455.6 261.325,464.1 258.5,473C 257.991,474.169 257.158,475.002 256,475.5C 255.824,478.882 255.324,482.215 254.5,485.5C 252.227,486.375 251.227,488.042 251.5,490.5C 247.21,490.198 243.21,490.864 239.5,492.5C 223.707,494.826 207.707,496.493 191.5,497.5C 175.483,497.7 159.483,497.366 143.5,496.5C 138.5,496.011 133.833,494.344 129.5,491.5C 128.449,490.778 127.782,489.778 127.5,488.5C 125.222,480.344 124.888,472.011 126.5,463.5C 128.833,463.5 131.167,463.5 133.5,463.5C 132.098,458.661 132.598,453.995 135,449.5C 136.117,450.949 136.784,452.616 137,454.5C 136.299,450.168 136.633,445.835 138,441.5C 140.401,439.218 143.234,437.718 146.5,437C 152.464,428.711 160.131,422.877 169.5,419.5C 171.325,420.651 173.325,421.318 175.5,421.5C 175.5,420.5 175.5,419.5 175.5,418.5C 174.5,418.5 173.5,418.5 172.5,418.5C 172.5,417.5 172.5,416.5 172.5,415.5C 177.536,415.47 182.536,414.97 187.5,414C 188.833,413.333 190.167,412.667 191.5,412C 188.937,411.082 186.77,411.582 185,413.5C 183.578,413.406 182.078,413.072 180.5,412.5C 183.221,410.75 185.888,409.083 188.5,407.5C 190.279,406.33 191.279,404.664 191.5,402.5C 184.506,402.137 177.506,401.803 170.5,401.5C 164.728,401.706 159.061,402.539 153.5,404C 142.159,410.576 130.492,416.409 118.5,421.5C 114.565,420.276 111.399,417.942 109,414.5C 104.679,404.291 104.346,393.958 108,383.5C 110.803,376.992 114.136,370.659 118,364.5C 122.247,359.659 126.247,354.659 130,349.5C 134.038,345.461 138.371,341.794 143,338.5C 143.483,337.552 143.649,336.552 143.5,335.5C 148.589,332.783 153.589,329.783 158.5,326.5C 159.429,325.311 159.762,323.978 159.5,322.5C 162.686,321.229 166.02,320.229 169.5,319.5C 173.543,317.436 177.876,316.103 182.5,315.5C 182.167,314.833 181.833,314.167 181.5,313.5C 183.737,312.868 185.403,311.535 186.5,309.5C 188.882,307.929 191.549,307.096 194.5,307C 196.104,303.896 198.437,301.729 201.5,300.5C 202.687,298.025 204.687,297.025 207.5,297.5C 209.833,297.5 212.167,297.5 214.5,297.5C 214.33,296.178 214.663,295.011 215.5,294C 219.338,292.526 223.338,291.526 227.5,291C 230.87,287.458 234.87,284.958 239.5,283.5C 239.281,284.675 239.614,285.675 240.5,286.5C 241.731,285.349 241.731,284.183 240.5,283C 241.563,281.812 242.897,281.312 244.5,281.5C 244.5,283.5 244.5,285.5 244.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#853d37",d:"M 524.5,296.5 C 520.833,297.167 517.167,297.833 513.5,298.5C 505.749,300.766 497.749,302.433 489.5,303.5C 500.401,297.915 512.067,295.582 524.5,296.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#df6179",d:"M 243.5,291.5 C 243.117,296.343 243.783,301.009 245.5,305.5C 244.157,307.737 242.157,309.07 239.5,309.5C 240.866,308.08 242.2,306.58 243.5,305C 242.226,300.356 242.226,295.856 243.5,291.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d34c5b",d:"M 201.5,300.5 C 198.437,301.729 196.104,303.896 194.5,307C 191.549,307.096 188.882,307.929 186.5,309.5C 185.403,311.535 183.737,312.868 181.5,313.5C 181.833,314.167 182.167,314.833 182.5,315.5C 177.876,316.103 173.543,317.436 169.5,319.5C 173.5,316.167 177.5,312.833 181.5,309.5C 187.084,307.139 192.418,304.305 197.5,301C 198.793,300.51 200.127,300.343 201.5,300.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#983536",d:"M 479.5,305.5 C 467.182,309.165 455.182,313.832 443.5,319.5C 443.414,318.504 443.748,317.671 444.5,317C 449.711,315.606 454.377,313.273 458.5,310C 465.262,307.393 472.262,305.893 479.5,305.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#faf9fb",d:"M 254.5,279.5 C 256.143,281.973 258.31,283.973 261,285.5C 261.333,287.5 261.667,289.5 262,291.5C 262.725,292.059 263.558,292.392 264.5,292.5C 278.849,286.383 293.849,282.716 309.5,281.5C 312.454,281.291 315.121,281.958 317.5,283.5C 321.696,290.56 325.363,297.893 328.5,305.5C 328.392,306.442 328.059,307.275 327.5,308C 319.21,311.147 311.21,314.813 303.5,319C 295.557,321.996 288.724,320.496 283,314.5C 282.652,310.339 280.652,309.005 277,310.5C 275.85,312.754 275.516,315.087 276,317.5C 281.462,324.303 286.962,331.136 292.5,338C 294.5,338.667 296.5,338.667 298.5,338C 303.965,335.768 308.965,332.768 313.5,329C 319.396,327.314 325.063,325.148 330.5,322.5C 342.998,318.348 355.331,318.848 367.5,324C 373.231,326.9 378.231,330.733 382.5,335.5C 382.719,336.675 382.386,337.675 381.5,338.5C 376.777,341.756 372.443,345.422 368.5,349.5C 366.49,351.171 364.157,351.838 361.5,351.5C 361.762,352.978 361.429,354.311 360.5,355.5C 355.893,358.969 350.893,361.636 345.5,363.5C 344.513,360.854 343.513,358.188 342.5,355.5C 340.926,354.369 339.259,354.202 337.5,355C 334.142,357.203 330.642,359.037 327,360.5C 326.968,363.668 328.468,366.001 331.5,367.5C 332.833,369.167 334.167,370.833 335.5,372.5C 331.413,376.922 326.746,380.589 321.5,383.5C 316.874,379.027 312.707,374.027 309,368.5C 308.275,367.941 307.442,367.608 306.5,367.5C 295.998,372.582 285.331,377.416 274.5,382C 263.639,384.975 252.639,386.642 241.5,387C 234.796,384.789 229.796,380.622 226.5,374.5C 225.308,371.438 223.808,368.438 222,365.5C 217.123,352.61 217.623,339.943 223.5,327.5C 224.458,326.038 225.624,324.705 227,323.5C 227.49,322.207 227.657,320.873 227.5,319.5C 228.552,319.649 229.552,319.483 230.5,319C 233.079,315.259 236.079,312.093 239.5,309.5C 242.157,309.07 244.157,307.737 245.5,305.5C 243.783,301.009 243.117,296.343 243.5,291.5C 243.833,290.167 244.167,288.833 244.5,287.5C 246.003,284.759 247.669,281.925 249.5,279C 251.197,278.616 252.863,278.782 254.5,279.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7465e",d:"M 223.5,327.5 C 217.623,339.943 217.123,352.61 222,365.5C 223.808,368.438 225.308,371.438 226.5,374.5C 225.153,373.829 223.986,373.829 223,374.5C 221.331,370.654 220.164,366.654 219.5,362.5C 218.914,362.291 218.414,361.957 218,361.5C 217.333,352.833 217.333,344.167 218,335.5C 218.29,333.048 218.956,330.715 220,328.5C 221.011,327.663 222.178,327.33 223.5,327.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ab1f37",d:"M 434.5,322.5 C 428.964,326.373 422.964,329.706 416.5,332.5C 415.614,333.325 415.281,334.325 415.5,335.5C 411.267,336.106 407.267,337.606 403.5,340C 399.249,342.945 395.249,346.112 391.5,349.5C 390.5,349.5 389.5,349.5 388.5,349.5C 387.628,344.774 385.962,340.44 383.5,336.5C 388.147,336.699 391.814,334.865 394.5,331C 405.178,329.33 415.844,327.663 426.5,326C 428.391,323.198 431.058,322.032 434.5,322.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#51a75f",d:"M 876.5,323.5 C 875.265,323.279 874.265,322.612 873.5,321.5C 872.208,324.619 870.708,327.619 869,330.5C 867.556,332.155 865.722,332.822 863.5,332.5C 863.5,333.5 863.5,334.5 863.5,335.5C 862.167,335.5 860.833,335.5 859.5,335.5C 861.77,332.633 864.27,329.967 867,327.5C 868.786,324.92 870.286,322.253 871.5,319.5C 873.167,319.5 874.833,319.5 876.5,319.5C 876.5,320.833 876.5,322.167 876.5,323.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dcceb7",d:"M 640.5,320.5 C 663.118,327.504 685.784,333.837 708.5,339.5C 734.442,348.135 760.775,355.969 787.5,363C 789.275,364.439 791.275,365.439 793.5,366C 801.459,367.915 809.459,369.915 817.5,372C 836.079,379.027 855.079,384.527 874.5,388.5C 891.41,394.805 908.41,400.638 925.5,406C 933.621,409.894 941.621,414.061 949.5,418.5C 949.351,419.552 949.517,420.552 950,421.5C 953.5,424.333 956.667,427.5 959.5,431C 960.448,431.483 961.448,431.649 962.5,431.5C 962.372,433.655 962.872,435.655 964,437.5C 966.795,439.751 969.128,442.418 971,445.5C 972.762,450.453 975.095,455.12 978,459.5C 984.625,476.253 986.791,493.587 984.5,511.5C 981.528,519.574 977.695,527.241 973,534.5C 963.702,542.042 953.535,548.208 942.5,553C 939.872,554.626 937.539,556.626 935.5,559C 925.886,562.808 916.552,567.142 907.5,572C 903.378,575.394 898.711,577.728 893.5,579C 883.397,583.811 873.397,588.811 863.5,594C 853.945,596.634 844.945,600.634 836.5,606C 823.435,610.027 810.435,614.36 797.5,619C 787.49,623.121 777.49,627.455 767.5,632C 751.068,636.144 735.068,641.477 719.5,648C 715.981,648.377 712.481,648.877 709,649.5C 700.931,652.48 692.764,655.147 684.5,657.5C 675.981,658.27 667.648,659.937 659.5,662.5C 657.772,662.41 656.106,662.077 654.5,661.5C 651.798,663.347 648.798,664.513 645.5,665C 637.586,666.124 629.753,667.624 622,669.5C 613.838,670.277 605.671,670.944 597.5,671.5C 594.833,671.5 592.167,671.5 589.5,671.5C 576.167,671.5 562.833,671.5 549.5,671.5C 548.5,671.5 547.5,671.5 546.5,671.5C 527.141,670.063 507.808,667.897 488.5,665C 471.77,659.261 454.77,654.261 437.5,650C 419.34,642.668 401.673,634.334 384.5,625C 367.475,614.302 352.142,601.469 338.5,586.5C 333.297,577.463 327.131,569.129 320,561.5C 317.868,555.239 315.202,549.239 312,543.5C 301.137,509.724 303.137,476.724 318,444.5C 325.908,430.096 334.908,416.43 345,403.5C 350.161,399.547 354.661,394.88 358.5,389.5C 365.909,384.133 372.909,378.299 379.5,372C 393.66,363.728 407.326,354.728 420.5,345C 433.394,339.103 446.06,332.769 458.5,326C 471.783,320.837 485.449,316.837 499.5,314C 529.363,309.172 559.363,308.172 589.5,311C 600.589,314.4 611.923,317.067 623.5,319C 628.501,319.058 633.335,319.891 638,321.5C 638.902,321.257 639.735,320.923 640.5,320.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#539e60",d:"M 945.5,320.5 C 947.902,325.44 948.902,330.773 948.5,336.5C 948.333,339.5 948.167,342.5 948,345.5C 947.878,347.437 947.045,348.77 945.5,349.5C 946.668,339.84 946.668,330.174 945.5,320.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b5b6aa",d:"M 863.5,400.5 C 863.5,401.5 863.5,402.5 863.5,403.5C 859.923,401.433 855.923,400.266 851.5,400C 843.822,399.523 836.155,399.69 828.5,400.5C 802.745,393.976 777.079,386.809 751.5,379C 742.28,377.624 733.28,375.624 724.5,373C 720.615,370.931 716.615,369.264 712.5,368C 697.802,365.127 683.135,362.127 668.5,359C 658.952,355.697 649.286,353.197 639.5,351.5C 638.848,350.275 637.681,349.608 636,349.5C 631.916,348.305 627.75,347.639 623.5,347.5C 621.05,347.702 618.717,347.369 616.5,346.5C 616.389,345.883 616.056,345.383 615.5,345C 609.859,343.858 604.193,342.858 598.5,342C 598.833,341.667 599.167,341.333 599.5,341C 594.511,340.501 589.511,340.334 584.5,340.5C 576.181,339.876 567.848,339.543 559.5,339.5C 554.544,338.172 549.211,337.505 543.5,337.5C 535.493,337.667 527.493,338 519.5,338.5C 516.41,338.522 513.743,339.188 511.5,340.5C 500.267,340.572 489.6,342.572 479.5,346.5C 472.985,347.171 467.152,349.504 462,353.5C 454.467,356.124 446.967,358.957 439.5,362C 430.598,366.95 421.598,371.617 412.5,376C 407.991,379.021 403.658,382.188 399.5,385.5C 394.167,389.167 388.833,392.833 383.5,396.5C 383.343,395.127 383.51,393.793 384,392.5C 386.172,391.491 387.338,389.824 387.5,387.5C 388.833,387.5 390.167,387.5 391.5,387.5C 391.567,386.041 391.234,384.708 390.5,383.5C 407.518,372.138 424.851,360.972 442.5,350C 448.233,346.801 454.233,344.135 460.5,342C 466.087,341.399 471.087,339.399 475.5,336C 491.155,330.87 507.155,327.037 523.5,324.5C 546.265,322.669 568.932,323.502 591.5,327C 611.914,331.186 632.247,335.853 652.5,341C 669.266,346.279 686.266,350.779 703.5,354.5C 721.946,360.898 740.613,366.398 759.5,371C 786.19,379.394 812.857,387.561 839.5,395.5C 847.448,397.423 855.448,399.09 863.5,400.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c9a19b",d:"M 584.5,340.5 C 589.511,340.334 594.511,340.501 599.5,341C 599.167,341.333 598.833,341.667 598.5,342C 604.193,342.858 609.859,343.858 615.5,345C 616.056,345.383 616.389,345.883 616.5,346.5C 605.639,344.953 594.972,342.953 584.5,340.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc5664",d:"M 559.5,339.5 C 543.491,339.5 527.491,339.834 511.5,340.5C 513.743,339.188 516.41,338.522 519.5,338.5C 527.493,338 535.493,337.667 543.5,337.5C 549.211,337.505 554.544,338.172 559.5,339.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc4a5c",d:"M 511.5,340.5 C 501.111,343.512 490.445,345.512 479.5,346.5C 489.6,342.572 500.267,340.572 511.5,340.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ea2f4e",d:"M 260.5,326.5 C 262.39,326.297 263.89,326.963 265,328.5C 270.028,335.362 274.862,342.362 279.5,349.5C 277.376,351.121 275.376,352.954 273.5,355C 272.167,355.667 270.833,355.667 269.5,355C 264.966,350.801 260.799,346.301 257,341.5C 256.002,337.527 255.669,333.527 256,329.5C 258.026,329.085 259.526,328.085 260.5,326.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3aa648",d:"M 919.5,265.5 C 921.932,262.783 924.932,260.783 928.5,259.5C 933.814,261.153 938.481,263.82 942.5,267.5C 950.215,269.555 957.548,272.722 964.5,277C 968.251,280.498 968.251,283.998 964.5,287.5C 965.679,284.629 965.679,281.796 964.5,279C 959.866,277.044 955.032,275.544 950,274.5C 944.979,275.42 941.812,278.42 940.5,283.5C 939.614,279.524 938.948,275.524 938.5,271.5C 935.102,271.858 931.935,271.192 929,269.5C 927.635,270.456 926.135,271.122 924.5,271.5C 916.823,267.366 909.49,267.7 902.5,272.5C 900.777,276.391 897.944,279.057 894,280.5C 889.244,290.501 889.911,300.167 896,309.5C 898.322,311.112 900.822,312.445 903.5,313.5C 905.05,315.428 906.717,317.261 908.5,319C 910.833,319.333 913.167,319.667 915.5,320C 914.572,320.388 913.905,321.055 913.5,322C 915.368,327.257 916.035,332.757 915.5,338.5C 909.05,340.267 902.383,340.934 895.5,340.5C 895.5,341.833 895.5,343.167 895.5,344.5C 899.541,344.325 903.541,344.158 907.5,344C 906.807,346.552 905.473,348.719 903.5,350.5C 904.325,351.386 905.325,351.719 906.5,351.5C 906.351,352.552 906.517,353.552 907,354.5C 908.356,353.62 909.856,353.286 911.5,353.5C 911.5,354.833 911.5,356.167 911.5,357.5C 913.199,357.66 914.866,357.494 916.5,357C 914.69,354.786 913.023,352.452 911.5,350C 913.254,347.173 915.088,347.006 917,349.5C 917.813,347.564 918.313,345.564 918.5,343.5C 919.833,343.5 921.167,343.5 922.5,343.5C 922.5,345.167 922.5,346.833 922.5,348.5C 924.124,348.64 925.29,347.973 926,346.5C 926.402,347.872 926.902,349.205 927.5,350.5C 925.667,351.968 925.334,353.635 926.5,355.5C 929.278,352.709 932.611,351.376 936.5,351.5C 936.443,355.133 937.443,355.3 939.5,352C 937.875,344.078 936.875,335.911 936.5,327.5C 935.488,323.117 934.321,318.784 933,314.5C 931.786,312.951 930.286,311.785 928.5,311C 929.308,310.692 929.975,310.192 930.5,309.5C 922.471,305.43 918.971,298.43 920,288.5C 920.671,287.748 921.504,287.414 922.5,287.5C 920.054,293.309 921.554,297.642 927,300.5C 927.483,301.448 927.649,302.448 927.5,303.5C 928.873,303.343 930.207,303.51 931.5,304C 937.189,308.838 941.856,314.338 945.5,320.5C 946.668,330.174 946.668,339.84 945.5,349.5C 943.816,353.366 941.482,356.866 938.5,360C 934.827,362.342 931.161,364.676 927.5,367C 924,367.167 920.5,367.333 917,367.5C 910.66,367.312 904.493,366.312 898.5,364.5C 898.5,365.5 898.5,366.5 898.5,367.5C 897.5,367.5 896.5,367.5 895.5,367.5C 895.862,372.099 894.529,376.099 891.5,379.5C 888.364,379.397 885.698,378.397 883.5,376.5C 881.631,370.394 879.465,364.394 877,358.5C 874.034,356.966 870.867,355.8 867.5,355C 863.551,352.683 859.717,350.183 856,347.5C 853.262,342.166 854.429,338.166 859.5,335.5C 860.833,335.5 862.167,335.5 863.5,335.5C 863.5,334.5 863.5,333.5 863.5,332.5C 865.722,332.822 867.556,332.155 869,330.5C 870.708,327.619 872.208,324.619 873.5,321.5C 874.265,322.612 875.265,323.279 876.5,323.5C 880.043,328.209 884.376,332.042 889.5,335C 910.497,338.173 912.83,333.007 896.5,319.5C 894.885,318.846 893.218,318.346 891.5,318C 887.256,312.977 883.256,307.644 879.5,302C 876.544,292.967 877.044,284.134 881,275.5C 886.759,267.062 894.259,260.895 903.5,257C 906.482,256.502 909.482,256.335 912.5,256.5C 913.241,259.634 914.241,262.634 915.5,265.5C 916.833,265.5 918.167,265.5 919.5,265.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf8e90",d:"M 623.5,347.5 C 627.75,347.639 631.916,348.305 636,349.5C 637.681,349.608 638.848,350.275 639.5,351.5C 633.411,352.26 628.078,350.926 623.5,347.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e32a49",d:"M 559.5,339.5 C 567.848,339.543 576.181,339.876 584.5,340.5C 594.972,342.953 605.639,344.953 616.5,346.5C 618.717,347.369 621.05,347.702 623.5,347.5C 628.078,350.926 633.411,352.26 639.5,351.5C 649.286,353.197 658.952,355.697 668.5,359C 683.135,362.127 697.802,365.127 712.5,368C 716.615,369.264 720.615,370.931 724.5,373C 733.28,375.624 742.28,377.624 751.5,379C 777.079,386.809 802.745,393.976 828.5,400.5C 851.113,408.738 874.113,416.071 897.5,422.5C 898.29,423.794 899.29,424.961 900.5,426C 905.482,427.332 910.482,428.832 915.5,430.5C 916.833,431.833 916.833,433.167 915.5,434.5C 913.018,435.067 910.684,435.734 908.5,436.5C 898.017,439.407 888.684,444.407 880.5,451.5C 879.614,452.325 879.281,453.325 879.5,454.5C 876.612,454.22 875.112,455.553 875,458.5C 873.488,459.257 872.154,460.257 871,461.5C 869.3,464.52 867.634,467.52 866,470.5C 865.219,471.944 865.386,473.277 866.5,474.5C 873.526,470.326 880.859,466.826 888.5,464C 899.848,462.33 911.181,462.33 922.5,464C 929.105,466.427 934.438,470.593 938.5,476.5C 946.121,489.697 948.621,504.031 946,519.5C 942.744,521.585 939.911,524.252 937.5,527.5C 927.487,533.017 917.487,538.85 907.5,545C 896.483,549.019 886.15,554.352 876.5,561C 868.087,564.138 859.754,567.471 851.5,571C 850.495,572.507 849.162,573.673 847.5,574.5C 843.396,575.467 839.396,576.634 835.5,578C 832.194,580.261 828.86,582.428 825.5,584.5C 814.527,588.315 803.527,592.149 792.5,596C 789.197,597.059 786.197,598.559 783.5,600.5C 762.401,608.422 741.068,615.755 719.5,622.5C 661.872,637.704 603.205,645.037 543.5,644.5C 527.459,642.991 511.459,640.491 495.5,637C 490.136,634.155 485.136,630.655 480.5,626.5C 479.614,625.675 479.281,624.675 479.5,623.5C 478.5,623.5 477.5,623.5 476.5,623.5C 476.657,622.127 476.49,620.793 476,619.5C 473.886,616.907 472.053,614.24 470.5,611.5C 470.5,610.833 470.5,610.167 470.5,609.5C 470.101,597.995 471.101,586.662 473.5,575.5C 474.5,575.5 475.5,575.5 476.5,575.5C 476.292,573.08 476.626,570.747 477.5,568.5C 477.043,567.702 476.376,567.369 475.5,567.5C 466.87,567.355 458.37,568.355 450,570.5C 448.624,570.684 447.791,571.351 447.5,572.5C 442.417,574.469 437.417,576.802 432.5,579.5C 427.83,584.167 422.83,588.501 417.5,592.5C 414.5,597.167 411.5,601.833 408.5,606.5C 405.743,607.866 403.577,607.199 402,604.5C 401.195,594.62 401.695,584.954 403.5,575.5C 404.655,568.345 404.822,561.012 404,553.5C 403.434,551.277 402.6,549.277 401.5,547.5C 400.438,543.259 398.772,539.259 396.5,535.5C 393.435,532.76 390.435,530.093 387.5,527.5C 387.5,526.5 387.5,525.5 387.5,524.5C 384.173,523.463 380.839,522.296 377.5,521C 364.154,520.833 350.821,520.333 337.5,519.5C 341.349,515.904 343.683,511.571 344.5,506.5C 346.55,503.942 348.883,501.442 351.5,499C 352.448,498.517 353.448,498.351 354.5,498.5C 354.5,497.5 354.5,496.5 354.5,495.5C 355.978,495.762 357.311,495.429 358.5,494.5C 364.144,489.756 368.644,484.09 372,477.5C 384.832,463.914 390.166,447.581 388,428.5C 384.786,420.55 381.286,412.716 377.5,405C 377.667,404.167 377.833,403.333 378,402.5C 380.182,401.064 382.016,399.397 383.5,397.5C 384.552,397.649 385.552,397.483 386.5,397C 391.027,393.301 395.361,389.468 399.5,385.5C 403.658,382.188 407.991,379.021 412.5,376C 421.598,371.617 430.598,366.95 439.5,362C 446.967,358.957 454.467,356.124 462,353.5C 467.152,349.504 472.985,347.171 479.5,346.5C 490.445,345.512 501.111,343.512 511.5,340.5C 527.491,339.834 543.491,339.5 559.5,339.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8d8d91",d:"M 382.5,335.5 C 383.167,335.5 383.5,335.833 383.5,336.5C 385.962,340.44 387.628,344.774 388.5,349.5C 389.5,349.5 390.5,349.5 391.5,349.5C 389.723,350.6 387.723,351.434 385.5,352C 377.622,360.376 368.955,367.876 359.5,374.5C 358.311,375.429 356.978,375.762 355.5,375.5C 354.908,378.127 354.575,380.794 354.5,383.5C 353.5,383.5 352.5,383.5 351.5,383.5C 352.488,375.808 350.488,369.142 345.5,363.5C 350.893,361.636 355.893,358.969 360.5,355.5C 361.429,354.311 361.762,352.978 361.5,351.5C 364.157,351.838 366.49,351.171 368.5,349.5C 372.443,345.422 376.777,341.756 381.5,338.5C 382.386,337.675 382.719,336.675 382.5,335.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db485e",d:"M 584.5,367.5 C 584.577,371.215 584.244,374.881 583.5,378.5C 575.425,376.912 567.425,375.079 559.5,373C 548.619,371.811 537.952,372.644 527.5,375.5C 529.1,374.356 530.767,373.189 532.5,372C 544.5,371.667 556.5,371.333 568.5,371C 569.025,370.308 569.692,369.808 570.5,369.5C 572.395,371.632 574.562,371.966 577,370.5C 577.5,370.833 578,371.167 578.5,371.5C 575.851,375.575 577.185,377.575 582.5,377.5C 582.336,374.813 582.503,372.146 583,369.5C 583.278,368.584 583.778,367.918 584.5,367.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#fbfafb",d:"M 645.5,444.5 C 643.647,446.375 641.813,448.375 640,450.5C 636.167,447.333 632.333,444.167 628.5,441C 622.852,439.671 617.185,438.504 611.5,437.5C 610.081,436.549 608.415,436.216 606.5,436.5C 607.374,428.293 605.041,421.293 599.5,415.5C 597.898,411.991 595.398,410.658 592,411.5C 589.753,418.049 587.753,424.715 586,431.5C 582.51,436.313 579.677,441.48 577.5,447C 577.645,447.772 577.978,448.439 578.5,449C 582.363,450.732 586.363,452.066 590.5,453C 601.64,458.724 611.806,465.891 621,474.5C 625.192,480.21 627.692,486.543 628.5,493.5C 627.399,509.531 621.066,523.031 609.5,534C 601.708,539.9 593.041,543.567 583.5,545C 572.839,545.5 562.172,545.667 551.5,545.5C 550.446,550.107 549.779,554.773 549.5,559.5C 547.01,563.323 545.677,567.657 545.5,572.5C 535.64,571.049 525.974,569.049 516.5,566.5C 514.656,564.721 513.99,562.388 514.5,559.5C 517.981,551.263 521.314,542.929 524.5,534.5C 516.663,531.778 508.663,529.445 500.5,527.5C 487.907,524.038 476.574,518.204 466.5,510C 474.12,496.37 480.62,482.203 486,467.5C 487.34,466.132 488.674,464.799 490,463.5C 491.406,464.414 492.906,465.08 494.5,465.5C 502.01,466.791 509.344,468.958 516.5,472C 517.698,474.664 519.031,477.164 520.5,479.5C 519.572,487.332 519.572,494.999 520.5,502.5C 520.261,504.467 520.594,506.301 521.5,508C 525.887,510.245 530.554,511.411 535.5,511.5C 537.493,507.818 538.66,503.818 539,499.5C 543.304,493.495 546.304,486.829 548,479.5C 551.111,475.656 552.944,471.323 553.5,466.5C 548.294,464.851 542.961,463.351 537.5,462C 522.222,454.553 510.888,443.387 503.5,428.5C 500.193,416.822 501.026,405.488 506,394.5C 509.073,390.939 511.906,387.272 514.5,383.5C 518.241,381.12 522.241,379.12 526.5,377.5C 527.298,377.043 527.631,376.376 527.5,375.5C 537.952,372.644 548.619,371.811 559.5,373C 567.425,375.079 575.425,376.912 583.5,378.5C 584.244,374.881 584.577,371.215 584.5,367.5C 585.902,363.376 586.902,359.042 587.5,354.5C 591.459,353.34 595.459,353.173 599.5,354C 605.297,355.694 610.964,357.527 616.5,359.5C 616.66,361.199 616.494,362.866 616,364.5C 610.721,371.4 606.221,378.733 602.5,386.5C 619.109,389.313 633.276,396.646 645,408.5C 647.853,413.08 649.02,418.08 648.5,423.5C 647.288,430.381 646.288,437.381 645.5,444.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c91c39",d:"M 345.5,363.5 C 350.488,369.142 352.488,375.808 351.5,383.5C 351.167,383.5 350.833,383.5 350.5,383.5C 347.753,383.813 345.086,383.48 342.5,382.5C 340.079,379.104 337.746,375.771 335.5,372.5C 334.167,370.833 332.833,369.167 331.5,367.5C 328.468,366.001 326.968,363.668 327,360.5C 330.642,359.037 334.142,357.203 337.5,355C 339.259,354.202 340.926,354.369 342.5,355.5C 343.513,358.188 344.513,360.854 345.5,363.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f71a3d",d:"M 331.5,367.5 C 330.597,365.391 329.763,363.391 329,361.5C 333,360.167 337,358.833 341,357.5C 342.847,360.406 344.014,363.573 344.5,367C 341.937,369.281 338.937,370.448 335.5,370.5C 335.5,369.5 335.5,368.5 335.5,367.5C 334.167,367.5 332.833,367.5 331.5,367.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d8435b",d:"M 514.5,383.5 C 511.906,387.272 509.073,390.939 506,394.5C 501.026,405.488 500.193,416.822 503.5,428.5C 500.061,424.962 498.728,420.629 499.5,415.5C 500.33,408.514 500.997,401.514 501.5,394.5C 504.85,394.349 506.516,392.515 506.5,389C 506.415,387.893 506.081,386.893 505.5,386C 504.062,385.781 502.729,385.281 501.5,384.5C 503.396,383.534 505.396,383.201 507.5,383.5C 507.5,384.5 507.5,385.5 507.5,386.5C 508.833,386.5 510.167,386.5 511.5,386.5C 511.5,385.5 511.5,384.5 511.5,383.5C 512.5,383.5 513.5,383.5 514.5,383.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#84828e",d:"M 335.5,372.5 C 337.746,375.771 340.079,379.104 342.5,382.5C 345.086,383.48 347.753,383.813 350.5,383.5C 345.71,386.456 341.71,390.289 338.5,395C 337.552,395.483 336.552,395.649 335.5,395.5C 335.5,396.833 335.5,398.167 335.5,399.5C 333.678,399.831 332.011,400.498 330.5,401.5C 330.88,399.302 330.213,397.635 328.5,396.5C 327.465,391.428 325.132,387.095 321.5,383.5C 326.746,380.589 331.413,376.922 335.5,372.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#dbcdb6",d:"M 458.5,227.5 C 466.897,229.574 475.23,232.074 483.5,235C 495.583,239.91 507.249,245.577 518.5,252C 528.215,260.05 538.215,267.716 548.5,275C 555.431,282.757 561.764,290.923 567.5,299.5C 567.565,299.938 567.399,300.272 567,300.5C 557.232,296.2 547.732,291.533 538.5,286.5C 527.257,276.21 515.257,266.876 502.5,258.5C 488.572,252.949 474.739,247.282 461,241.5C 425.676,232.069 389.843,229.902 353.5,235C 352.167,235.667 350.833,236.333 349.5,237C 336.761,238.176 324.095,239.842 311.5,242C 307.722,242.924 304.222,244.424 301,246.5C 269.847,253.839 240.68,265.673 213.5,282C 202.465,285.591 192.465,290.758 183.5,297.5C 180.833,298.167 178.167,298.833 175.5,299.5C 175.5,300.833 175.5,302.167 175.5,303.5C 168.243,304.636 162.243,308.136 157.5,314C 122.504,332.345 98.0042,360.178 84,397.5C 79.5487,413.914 78.382,430.581 80.5,447.5C 82.8224,453.161 85.1558,458.828 87.5,464.5C 93.0045,470.333 98.3378,476.333 103.5,482.5C 109.546,486.517 115.546,490.517 121.5,494.5C 129.119,495.161 136.453,496.828 143.5,499.5C 143.5,500.5 143.5,501.5 143.5,502.5C 164.857,505.32 186.19,504.986 207.5,501.5C 205.138,500.729 202.804,499.895 200.5,499C 205.729,498.651 210.896,499.151 216,500.5C 225.16,499.024 234.327,497.358 243.5,495.5C 245.619,495.598 247.286,496.431 248.5,498C 247.787,503.143 246.954,508.31 246,513.5C 245.667,512.833 245.333,512.167 245,511.5C 243.933,512.191 242.766,512.691 241.5,513C 242.737,513.232 243.737,513.732 244.5,514.5C 241.275,515.237 237.941,515.903 234.5,516.5C 227.651,517.47 220.818,517.47 214,516.5C 174.978,524.798 137.811,519.965 102.5,502C 60.6979,471.715 50.5312,432.881 72,385.5C 75.2613,379.879 78.428,374.212 81.5,368.5C 91.2623,355.762 101.262,343.429 111.5,331.5C 115.421,327.919 119.421,324.253 123.5,320.5C 139.694,308.905 156.361,298.072 173.5,288C 192,278.917 210.333,269.584 228.5,260C 244.811,254.168 260.811,247.834 276.5,241C 290.5,237 304.5,233 318.5,229C 335.052,225.362 351.719,222.362 368.5,220C 381.5,219.333 394.5,219.333 407.5,220C 424.554,222.174 441.554,224.674 458.5,227.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b0756e",d:"M 522.5,287.5 C 523.5,287.5 524.5,287.5 525.5,287.5C 525.369,288.376 525.702,289.043 526.5,289.5C 531.385,290.563 532.719,293.397 530.5,298C 524.843,298.499 519.176,298.666 513.5,298.5C 517.167,297.833 520.833,297.167 524.5,296.5C 525.5,296.5 526.5,296.5 527.5,296.5C 527.785,294.712 527.452,293.045 526.5,291.5C 524.625,290.591 523.292,289.257 522.5,287.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d44556",d:"M 264.5,271.5 C 261.315,273.568 257.648,274.901 253.5,275.5C 253.433,276.959 253.766,278.292 254.5,279.5C 252.863,278.782 251.197,278.616 249.5,279C 247.669,281.925 246.003,284.759 244.5,287.5C 244.5,285.5 244.5,283.5 244.5,281.5C 242.897,281.312 241.563,281.812 240.5,283C 241.731,284.183 241.731,285.349 240.5,286.5C 239.614,285.675 239.281,284.675 239.5,283.5C 234.87,284.958 230.87,287.458 227.5,291C 223.338,291.526 219.338,292.526 215.5,294C 214.663,295.011 214.33,296.178 214.5,297.5C 212.167,297.5 209.833,297.5 207.5,297.5C 208.936,295.917 210.602,294.417 212.5,293C 217.627,290.708 222.961,288.708 228.5,287C 230.833,285.333 233.167,283.667 235.5,282C 243.781,279.291 251.781,275.958 259.5,272C 261.134,271.506 262.801,271.34 264.5,271.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cc515e",d:"M 308.5,255.5 C 307.766,256.708 307.433,258.041 307.5,259.5C 305.599,259.567 303.766,259.233 302,258.5C 296.651,261.928 290.817,263.761 284.5,264C 280.61,266.947 276.277,268.78 271.5,269.5C 277.239,265.531 283.572,263.031 290.5,262C 296.109,258.65 302.109,256.483 308.5,255.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d34357",d:"M 423.5,241.5 C 426.087,242.749 428.754,243.749 431.5,244.5C 420.931,242.598 410.265,242.098 399.5,243C 393.656,243.008 388.323,244.508 383.5,247.5C 383.5,246.5 383.5,245.5 383.5,244.5C 378.167,244.5 372.833,244.5 367.5,244.5C 372.642,243.353 377.975,242.52 383.5,242C 396.829,241.5 410.163,241.333 423.5,241.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#b5a499",d:"M 423.5,241.5 C 410.163,241.333 396.829,241.5 383.5,242C 377.975,242.52 372.642,243.353 367.5,244.5C 364.833,244.5 362.167,244.5 359.5,244.5C 356.013,242.712 352.179,241.712 348,241.5C 343.175,242.633 338.342,243.966 333.5,245.5C 322.835,242.014 323.001,241.014 334,242.5C 338.461,240.705 343.127,239.705 348,239.5C 373.312,239.578 398.479,240.245 423.5,241.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#664531",d:"M 807.5,353.5 C 819.128,356.727 830.795,359.894 842.5,363C 856.167,367.5 869.834,372 883.5,376.5C 885.698,378.397 888.364,379.397 891.5,379.5C 905.374,383.97 919.374,388.137 933.5,392C 940.337,396.253 947.337,400.253 954.5,404C 968.695,414.886 979.695,428.386 987.5,444.5C 988.912,451.892 990.578,459.225 992.5,466.5C 991.5,466.5 990.5,466.5 989.5,466.5C 984.479,456.138 978.645,446.138 972,436.5C 964.743,430.131 957.243,424.131 949.5,418.5C 941.621,414.061 933.621,409.894 925.5,406C 908.41,400.638 891.41,394.805 874.5,388.5C 855.079,384.527 836.079,379.027 817.5,372C 809.459,369.915 801.459,367.915 793.5,366C 791.275,365.439 789.275,364.439 787.5,363C 760.775,355.969 734.442,348.135 708.5,339.5C 710.92,339.708 713.253,339.374 715.5,338.5C 716.696,338.846 716.696,339.346 715.5,340C 717.68,340.419 719.846,340.252 722,339.5C 726.43,340.704 730.93,341.538 735.5,342C 741.446,344.919 747.78,346.252 754.5,346C 757.44,346.212 759.274,347.712 760,350.5C 762.466,349.223 764.966,349.223 767.5,350.5C 767.291,351.086 766.957,351.586 766.5,352C 770.025,354.088 773.358,353.921 776.5,351.5C 778.246,353.854 780.579,354.854 783.5,354.5C 784.78,357.941 787.28,360.275 791,361.5C 791.483,362.448 791.649,363.448 791.5,364.5C 793.722,364.822 795.556,364.155 797,362.5C 798.813,363.609 799.646,362.942 799.5,360.5C 805.576,360.981 811.576,361.981 817.5,363.5C 822.064,363.518 823.064,362.018 820.5,359C 815.637,357.714 810.97,356.047 806.5,354C 806.728,353.601 807.062,353.435 807.5,353.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f8f7f8",d:"M 310.5,392.5 C 310.657,393.873 310.49,395.207 310,396.5C 307.8,397.836 305.967,399.502 304.5,401.5C 305.351,405.241 306.351,408.908 307.5,412.5C 302.489,412.334 297.489,412.501 292.5,413C 290.443,417.054 288.609,421.221 287,425.5C 285.008,426.328 283.508,427.661 282.5,429.5C 281.833,429.5 281.167,429.5 280.5,429.5C 280.167,429.5 279.833,429.5 279.5,429.5C 275.998,425.159 272.665,420.659 269.5,416C 268.207,415.51 266.873,415.343 265.5,415.5C 265.547,412.432 266.047,409.432 267,406.5C 269.582,404.772 271.082,402.439 271.5,399.5C 277.178,397.774 282.844,395.941 288.5,394C 290.453,391.047 291.953,387.881 293,384.5C 294.313,383.427 295.813,382.76 297.5,382.5C 302.94,384.259 307.273,387.592 310.5,392.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d97580",d:"M 399.5,385.5 C 395.361,389.468 391.027,393.301 386.5,397C 385.552,397.483 384.552,397.649 383.5,397.5C 383.5,397.167 383.5,396.833 383.5,396.5C 388.833,392.833 394.167,389.167 399.5,385.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#913349",d:"M 328.5,396.5 C 330.213,397.635 330.88,399.302 330.5,401.5C 330.5,401.833 330.5,402.167 330.5,402.5C 326.206,403.193 322.539,402.193 319.5,399.5C 322.841,400.005 326.174,400.172 329.5,400C 328.663,398.989 328.33,397.822 328.5,396.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bdb6ac",d:"M 183.5,297.5 C 181.326,299.081 178.993,300.581 176.5,302C 180.637,301.797 182.137,303.63 181,307.5C 178.832,308.822 178.999,309.489 181.5,309.5C 177.5,312.833 173.5,316.167 169.5,319.5C 166.02,320.229 162.686,321.229 159.5,322.5C 159.762,323.978 159.429,325.311 158.5,326.5C 153.589,329.783 148.589,332.783 143.5,335.5C 143.649,336.552 143.483,337.552 143,338.5C 138.371,341.794 134.038,345.461 130,349.5C 126.247,354.659 122.247,359.659 118,364.5C 114.136,370.659 110.803,376.992 108,383.5C 104.346,393.958 104.679,404.291 109,414.5C 111.399,417.942 114.565,420.276 118.5,421.5C 130.492,416.409 142.159,410.576 153.5,404C 159.061,402.539 164.728,401.706 170.5,401.5C 177.506,401.803 184.506,402.137 191.5,402.5C 191.279,404.664 190.279,406.33 188.5,407.5C 187.127,407.343 185.793,407.51 184.5,408C 174.739,414.361 164.406,420.028 153.5,425C 151.027,426.561 149.027,428.561 147.5,431C 146.207,431.49 144.873,431.657 143.5,431.5C 140.676,436.516 137.176,441.183 133,445.5C 131.323,449.316 129.489,452.982 127.5,456.5C 126.178,456.33 125.011,456.663 124,457.5C 123.333,467.167 123.333,476.833 124,486.5C 124.129,490.118 125.962,491.785 129.5,491.5C 133.833,494.344 138.5,496.011 143.5,496.5C 144.952,497.302 146.618,497.802 148.5,498C 163.006,498.827 177.339,498.661 191.5,497.5C 207.707,496.493 223.707,494.826 239.5,492.5C 243.81,491.92 248.143,491.586 252.5,491.5C 249.808,498.919 248.141,506.586 247.5,514.5C 246.5,514.5 245.5,514.5 244.5,514.5C 243.737,513.732 242.737,513.232 241.5,513C 242.766,512.691 243.933,512.191 245,511.5C 245.333,512.167 245.667,512.833 246,513.5C 246.954,508.31 247.787,503.143 248.5,498C 247.286,496.431 245.619,495.598 243.5,495.5C 234.327,497.358 225.16,499.024 216,500.5C 210.896,499.151 205.729,498.651 200.5,499C 202.804,499.895 205.138,500.729 207.5,501.5C 186.19,504.986 164.857,505.32 143.5,502.5C 143.5,501.5 143.5,500.5 143.5,499.5C 136.453,496.828 129.119,495.161 121.5,494.5C 115.546,490.517 109.546,486.517 103.5,482.5C 98.3378,476.333 93.0045,470.333 87.5,464.5C 85.1558,458.828 82.8224,453.161 80.5,447.5C 78.382,430.581 79.5487,413.914 84,397.5C 98.0042,360.178 122.504,332.345 157.5,314C 162.243,308.136 168.243,304.636 175.5,303.5C 175.5,302.167 175.5,300.833 175.5,299.5C 178.167,298.833 180.833,298.167 183.5,297.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#84868b",d:"M 310.5,392.5 C 312.611,395.941 315.611,398.274 319.5,399.5C 322.539,402.193 326.206,403.193 330.5,402.5C 328.842,403.181 327.175,404.015 325.5,405C 328.264,406.544 328.097,407.711 325,408.5C 324.693,411.876 322.86,413.21 319.5,412.5C 319.5,413.5 319.5,414.5 319.5,415.5C 318.167,415.5 316.833,415.5 315.5,415.5C 315.278,418.504 314.278,421.171 312.5,423.5C 309.45,422.923 307.45,424.09 306.5,427C 298.297,427.557 290.297,428.39 282.5,429.5C 283.508,427.661 285.008,426.328 287,425.5C 288.609,421.221 290.443,417.054 292.5,413C 297.489,412.501 302.489,412.334 307.5,412.5C 306.351,408.908 305.351,405.241 304.5,401.5C 305.967,399.502 307.8,397.836 310,396.5C 310.49,395.207 310.657,393.873 310.5,392.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e8304d",d:"M 573.5,402.5 C 574.748,403.334 575.415,404.667 575.5,406.5C 574.18,411.05 573.346,415.716 573,420.5C 570.527,425.92 568.86,431.586 568,437.5C 567.313,439.555 566.146,441.221 564.5,442.5C 558.493,438.326 553.327,433.326 549,427.5C 548.333,424.167 548.333,420.833 549,417.5C 554.09,412.801 559.59,408.635 565.5,405C 568.457,404.721 571.123,403.887 573.5,402.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db7181",d:"M 599.5,415.5 C 605.041,421.293 607.374,428.293 606.5,436.5C 608.415,436.216 610.081,436.549 611.5,437.5C 609.396,437.799 607.396,437.466 605.5,436.5C 605.611,430.129 603.777,424.463 600,419.5C 599.51,418.207 599.343,416.873 599.5,415.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d73e53",d:"M 188.5,407.5 C 185.888,409.083 183.221,410.75 180.5,412.5C 182.078,413.072 183.578,413.406 185,413.5C 186.77,411.582 188.937,411.082 191.5,412C 190.167,412.667 188.833,413.333 187.5,414C 182.536,414.97 177.536,415.47 172.5,415.5C 172.5,416.5 172.5,417.5 172.5,418.5C 173.5,418.5 174.5,418.5 175.5,418.5C 175.5,419.5 175.5,420.5 175.5,421.5C 173.325,421.318 171.325,420.651 169.5,419.5C 160.131,422.877 152.464,428.711 146.5,437C 143.234,437.718 140.401,439.218 138,441.5C 136.633,445.835 136.299,450.168 137,454.5C 136.784,452.616 136.117,450.949 135,449.5C 132.598,453.995 132.098,458.661 133.5,463.5C 131.167,463.5 128.833,463.5 126.5,463.5C 124.888,472.011 125.222,480.344 127.5,488.5C 126.034,487.653 125.2,486.32 125,484.5C 123.881,474.945 124.714,465.612 127.5,456.5C 129.489,452.982 131.323,449.316 133,445.5C 137.176,441.183 140.676,436.516 143.5,431.5C 144.873,431.657 146.207,431.49 147.5,431C 149.027,428.561 151.027,426.561 153.5,425C 164.406,420.028 174.739,414.361 184.5,408C 185.793,407.51 187.127,407.343 188.5,407.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8b6d77",d:"M 312.5,423.5 C 310.825,426.245 309.158,428.912 307.5,431.5C 299.038,431.523 290.371,431.356 281.5,431C 280.944,430.617 280.611,430.117 280.5,429.5C 281.167,429.5 281.833,429.5 282.5,429.5C 290.297,428.39 298.297,427.557 306.5,427C 307.45,424.09 309.45,422.923 312.5,423.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e6b1b7",d:"M 793.5,420.5 C 793.793,416.563 793.46,412.73 792.5,409C 787.816,408.539 783.149,408.705 778.5,409.5C 778.5,416.167 778.5,422.833 778.5,429.5C 775.807,429.572 773.14,429.905 770.5,430.5C 764.29,428.766 757.956,428.099 751.5,428.5C 760.008,427.396 768.675,427.396 777.5,428.5C 777.5,421.5 777.5,414.5 777.5,407.5C 783.167,407.5 788.833,407.5 794.5,407.5C 794.818,412.032 794.485,416.366 793.5,420.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#f9f8fa",d:"M 793.5,420.5 C 792.518,423.962 792.185,427.629 792.5,431.5C 799.607,433.404 806.773,435.404 814,437.5C 818.127,439.634 821.627,442.467 824.5,446C 826.608,446.36 828.608,447.027 830.5,448C 828.418,454.101 825.418,459.768 821.5,465C 812.773,464.417 804.107,463.251 795.5,461.5C 795.472,456.862 796.139,452.362 797.5,448C 795.091,446.293 792.425,445.46 789.5,445.5C 789.5,446.833 789.5,448.167 789.5,449.5C 787.192,457.627 785.192,465.96 783.5,474.5C 783.543,475.416 783.876,476.083 784.5,476.5C 795.796,478.909 806.796,482.743 817.5,488C 820.704,490.869 823.537,494.035 826,497.5C 827.7,513.085 822.533,525.751 810.5,535.5C 799.558,542.23 787.558,545.563 774.5,545.5C 774.504,554.889 772.837,563.889 769.5,572.5C 768.817,572.137 768.15,571.804 767.5,571.5C 764.854,570.836 762.021,570.502 759,570.5C 754.867,570.286 751.034,570.952 747.5,572.5C 746.275,571.848 745.608,570.681 745.5,569C 746.749,562.923 748.582,557.09 751,551.5C 751.497,548.854 751.664,546.187 751.5,543.5C 739.497,541.84 727.497,539.506 715.5,536.5C 714.592,534.548 714.759,532.548 716,530.5C 721.584,521.332 726.084,511.665 729.5,501.5C 735.884,501.757 742.218,502.423 748.5,503.5C 747.926,509.484 747.593,515.484 747.5,521.5C 751.474,522.805 755.474,524.138 759.5,525.5C 760.442,525.392 761.275,525.059 762,524.5C 764.57,514.257 766.403,503.924 767.5,493.5C 756.687,491.162 746.02,487.995 735.5,484C 724.591,476.673 720.425,466.506 723,453.5C 727.479,439.213 736.979,430.88 751.5,428.5C 757.956,428.099 764.29,428.766 770.5,430.5C 773.14,429.905 775.807,429.572 778.5,429.5C 778.5,422.833 778.5,416.167 778.5,409.5C 783.149,408.705 787.816,408.539 792.5,409C 793.46,412.73 793.793,416.563 793.5,420.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bdb6ab",d:"M 863.5,400.5 C 875.42,404.629 887.42,408.463 899.5,412C 905.806,412.105 911.806,413.439 917.5,416C 925.189,420.456 932.522,425.456 939.5,431C 940.793,431.49 942.127,431.657 943.5,431.5C 943.822,435.511 945.822,438.511 949.5,440.5C 953.825,445.811 957.658,451.478 961,457.5C 966.293,475.098 968.293,493.098 967,511.5C 966.3,516.733 964.133,521.233 960.5,525C 956.571,526.929 953.238,529.596 950.5,533C 948.559,534.903 946.226,535.736 943.5,535.5C 943.5,536.5 943.5,537.5 943.5,538.5C 939.947,539.397 936.614,540.897 933.5,543C 931.527,543.495 929.527,543.662 927.5,543.5C 927.64,545.124 926.973,546.29 925.5,547C 921.091,549.383 916.424,551.05 911.5,552C 885.733,564.54 860.066,577.373 834.5,590.5C 828.254,593.125 821.921,595.459 815.5,597.5C 815.5,596.167 815.5,594.833 815.5,593.5C 813.076,593.808 810.743,593.474 808.5,592.5C 812.731,590.523 817.065,589.856 821.5,590.5C 825.081,588.841 825.081,587.675 821.5,587C 822.858,586.066 824.192,585.232 825.5,584.5C 828.86,582.428 832.194,580.261 835.5,578C 839.396,576.634 843.396,575.467 847.5,574.5C 849.162,573.673 850.495,572.507 851.5,571C 859.754,567.471 868.087,564.138 876.5,561C 886.15,554.352 896.483,549.019 907.5,545C 917.487,538.85 927.487,533.017 937.5,527.5C 939.606,526.217 941.94,525.384 944.5,525C 945.893,523.829 946.727,522.329 947,520.5C 947.667,510.167 947.667,499.833 947,489.5C 944.629,486.281 945.296,483.948 949,482.5C 949.483,481.552 949.649,480.552 949.5,479.5C 946.753,479.813 944.086,479.48 941.5,478.5C 940.995,477.081 939.995,476.415 938.5,476.5C 934.438,470.593 929.105,466.427 922.5,464C 911.181,462.33 899.848,462.33 888.5,464C 880.859,466.826 873.526,470.326 866.5,474.5C 865.386,473.277 865.219,471.944 866,470.5C 867.634,467.52 869.3,464.52 871,461.5C 872.154,460.257 873.488,459.257 875,458.5C 875.112,455.553 876.612,454.22 879.5,454.5C 879.281,453.325 879.614,452.325 880.5,451.5C 888.684,444.407 898.017,439.407 908.5,436.5C 911.518,436.665 914.518,436.498 917.5,436C 920.07,433.085 919.737,430.419 916.5,428C 911.279,427.728 906.279,426.728 901.5,425C 900.529,423.519 899.196,422.685 897.5,422.5C 874.113,416.071 851.113,408.738 828.5,400.5C 836.155,399.69 843.822,399.523 851.5,400C 855.923,400.266 859.923,401.433 863.5,403.5C 863.5,402.5 863.5,401.5 863.5,400.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ad9e8b",d:"M 111.5,331.5 C 101.262,343.429 91.2623,355.762 81.5,368.5C 78.428,374.212 75.2613,379.879 72,385.5C 50.5312,432.881 60.6979,471.715 102.5,502C 137.811,519.965 174.978,524.798 214,516.5C 220.818,517.47 227.651,517.47 234.5,516.5C 225.755,518.55 216.755,519.55 207.5,519.5C 207.5,520.833 207.5,522.167 207.5,523.5C 192.232,523.423 176.898,522.923 161.5,522C 156.556,521.278 151.722,520.112 147,518.5C 142.378,519.459 142.378,520.459 147,521.5C 147.72,523.112 147.554,524.612 146.5,526C 144.671,526.273 143.171,527.107 142,528.5C 138.665,527.166 135.499,527.499 132.5,529.5C 126.156,527.829 119.823,525.996 113.5,524C 103.156,517.83 93.156,511.163 83.5,504C 77.4489,497.404 71.2822,490.904 65,484.5C 63.9811,481.128 62.4811,478.128 60.5,475.5C 59.6285,473.437 58.4618,471.437 57,469.5C 55.2578,461.942 52.9245,454.608 50,447.5C 49.3333,439.167 49.3333,430.833 50,422.5C 53.5496,406.927 59.2162,392.26 67,378.5C 71.8021,372.878 75.9688,366.878 79.5,360.5C 86.6035,352.895 93.9368,345.395 101.5,338C 104.72,335.563 108.053,333.397 111.5,331.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#942134",d:"M 279.5,429.5 C 279.833,429.5 280.167,429.5 280.5,429.5C 280.611,430.117 280.944,430.617 281.5,431C 290.371,431.356 299.038,431.523 307.5,431.5C 301.238,442.72 296.572,454.72 293.5,467.5C 291.449,473.555 289.449,479.722 287.5,486C 275.574,488.157 263.574,489.657 251.5,490.5C 251.227,488.042 252.227,486.375 254.5,485.5C 255.324,482.215 255.824,478.882 256,475.5C 257.158,475.002 257.991,474.169 258.5,473C 261.325,464.1 264.659,455.6 268.5,447.5C 269.5,447.5 270.5,447.5 271.5,447.5C 271.34,445.801 271.506,444.134 272,442.5C 274.323,439.874 276.657,437.207 279,434.5C 279.494,432.866 279.66,431.199 279.5,429.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#623d29",d:"M 79.5,360.5 C 75.9688,366.878 71.8021,372.878 67,378.5C 59.2162,392.26 53.5496,406.927 50,422.5C 49.3333,430.833 49.3333,439.167 50,447.5C 52.9245,454.608 55.2578,461.942 57,469.5C 58.4618,471.437 59.6285,473.437 60.5,475.5C 60.6551,482.297 61.6551,488.963 63.5,495.5C 61.8333,495.5 60.1667,495.5 58.5,495.5C 58.7989,493.396 58.4656,491.396 57.5,489.5C 53.7966,486.423 51.9632,482.423 52,477.5C 50.7321,474.407 48.8988,471.74 46.5,469.5C 34.7697,479.497 32.4364,491.497 39.5,505.5C 40.8924,504.395 42.059,503.061 43,501.5C 44.0429,504.757 44.5429,508.09 44.5,511.5C 45.5,511.5 46.5,511.5 47.5,511.5C 47.5,512.5 47.5,513.5 47.5,514.5C 46.325,514.281 45.325,514.614 44.5,515.5C 45.3094,517.071 45.6427,518.738 45.5,520.5C 48.7553,520.014 51.422,521.014 53.5,523.5C 54.2281,526.212 55.0615,528.879 56,531.5C 59.5502,531.842 60.7169,533.509 59.5,536.5C 55.9044,533.083 52.0711,529.75 48,526.5C 34.071,511.777 30.4044,494.777 37,475.5C 40.8984,470.37 43.7317,464.703 45.5,458.5C 37.5057,423.146 43.5057,390.48 63.5,360.5C 65.8202,359.238 68.1535,358.238 70.5,357.5C 70.1667,356.833 69.8333,356.167 69.5,355.5C 72.2592,352.08 74.5925,348.414 76.5,344.5C 77.2421,343.713 78.0754,343.047 79,342.5C 83.2999,343.665 85.7999,341.999 86.5,337.5C 89.4799,337.641 91.4799,339.141 92.5,342C 91.0068,344.496 89.5068,346.996 88,349.5C 87.6667,349.167 87.3333,348.833 87,348.5C 86.3632,350.303 85.1965,351.636 83.5,352.5C 81.6565,354.982 80.3231,357.649 79.5,360.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf9496",d:"M 127.5,456.5 C 124.714,465.612 123.881,474.945 125,484.5C 125.2,486.32 126.034,487.653 127.5,488.5C 127.782,489.778 128.449,490.778 129.5,491.5C 125.962,491.785 124.129,490.118 124,486.5C 123.333,476.833 123.333,467.167 124,457.5C 125.011,456.663 126.178,456.33 127.5,456.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#9b7775",d:"M 293.5,467.5 C 292.556,475.088 290.889,482.421 288.5,489.5C 285.454,488.115 282.454,488.281 279.5,490C 270.503,490.625 261.503,491.125 252.5,491.5C 248.143,491.586 243.81,491.92 239.5,492.5C 243.21,490.864 247.21,490.198 251.5,490.5C 263.574,489.657 275.574,488.157 287.5,486C 289.449,479.722 291.449,473.555 293.5,467.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#7d8079",d:"M 288.5,489.5 C 288.5,495.167 288.5,500.833 288.5,506.5C 275.001,510 261.334,512.667 247.5,514.5C 248.141,506.586 249.808,498.919 252.5,491.5C 261.503,491.125 270.503,490.625 279.5,490C 282.454,488.281 285.454,488.115 288.5,489.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#be6d76",d:"M 143.5,496.5 C 159.483,497.366 175.483,497.7 191.5,497.5C 177.339,498.661 163.006,498.827 148.5,498C 146.618,497.802 144.952,497.302 143.5,496.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#68341f",d:"M 63.5,495.5 C 65.7633,500.525 67.4299,505.859 68.5,511.5C 69.5,511.5 70.5,511.5 71.5,511.5C 73.7244,519.914 77.5577,527.58 83,534.5C 83.5323,537.264 84.3657,539.93 85.5,542.5C 87.396,543.466 89.396,543.799 91.5,543.5C 90.9999,547.164 92.1666,550.164 95,552.5C 95.4966,554.81 95.6633,557.143 95.5,559.5C 94.1779,559.67 93.0113,559.337 92,558.5C 89.7115,553.98 86.8782,549.813 83.5,546C 76.7694,544.697 70.4361,545.53 64.5,548.5C 61.5342,550.569 58.7009,552.902 56,555.5C 55.51,556.793 55.3433,558.127 55.5,559.5C 51.5962,559.061 49.0962,560.728 48,564.5C 46.8653,568.79 46.0319,573.123 45.5,577.5C 45.8012,584.098 48.4678,589.431 53.5,593.5C 57.1588,597.175 61.4921,599.509 66.5,600.5C 89.115,613.976 113.782,621.309 140.5,622.5C 140.5,622.833 140.5,623.167 140.5,623.5C 127.444,623.62 114.777,621.787 102.5,618C 91.0222,616.956 79.6888,615.123 68.5,612.5C 62.3956,609.614 56.3956,606.447 50.5,603C 46.2792,598.779 42.1126,594.613 38,590.5C 30.9984,577.843 32.3317,566.176 42,555.5C 47.7815,549.114 54.7815,544.78 63,542.5C 63.3494,539.669 62.1827,537.669 59.5,536.5C 60.7169,533.509 59.5502,531.842 56,531.5C 55.0615,528.879 54.2281,526.212 53.5,523.5C 51.422,521.014 48.7553,520.014 45.5,520.5C 45.6427,518.738 45.3094,517.071 44.5,515.5C 45.325,514.614 46.325,514.281 47.5,514.5C 47.5,513.5 47.5,512.5 47.5,511.5C 46.5,511.5 45.5,511.5 44.5,511.5C 44.5429,508.09 44.0429,504.757 43,501.5C 42.059,503.061 40.8924,504.395 39.5,505.5C 32.4364,491.497 34.7697,479.497 46.5,469.5C 48.8988,471.74 50.7321,474.407 52,477.5C 51.9632,482.423 53.7966,486.423 57.5,489.5C 58.4656,491.396 58.7989,493.396 58.5,495.5C 60.1667,495.5 61.8333,495.5 63.5,495.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a29080",d:"M 244.5,514.5 C 245.5,514.5 246.5,514.5 247.5,514.5C 247.177,520.8 245.844,526.8 243.5,532.5C 216.007,536.213 188.34,537.713 160.5,537C 150.797,535.593 141.463,533.093 132.5,529.5C 135.499,527.499 138.665,527.166 142,528.5C 143.171,527.107 144.671,526.273 146.5,526C 147.554,524.612 147.72,523.112 147,521.5C 142.378,520.459 142.378,519.459 147,518.5C 151.722,520.112 156.556,521.278 161.5,522C 176.898,522.923 192.232,523.423 207.5,523.5C 207.5,522.167 207.5,520.833 207.5,519.5C 216.755,519.55 225.755,518.55 234.5,516.5C 237.941,515.903 241.275,515.237 244.5,514.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bfb6ac",d:"M 390.5,383.5 C 391.234,384.708 391.567,386.041 391.5,387.5C 390.167,387.5 388.833,387.5 387.5,387.5C 387.338,389.824 386.172,391.491 384,392.5C 383.51,393.793 383.343,395.127 383.5,396.5C 383.5,396.833 383.5,397.167 383.5,397.5C 382.016,399.397 380.182,401.064 378,402.5C 377.833,403.333 377.667,404.167 377.5,405C 381.286,412.716 384.786,420.55 388,428.5C 390.166,447.581 384.832,463.914 372,477.5C 368.644,484.09 364.144,489.756 358.5,494.5C 357.311,495.429 355.978,495.762 354.5,495.5C 354.5,496.5 354.5,497.5 354.5,498.5C 353.448,498.351 352.448,498.517 351.5,499C 348.883,501.442 346.55,503.942 344.5,506.5C 339.453,510.353 336.453,515.353 335.5,521.5C 346.172,521.333 356.839,521.5 367.5,522C 374.103,524.139 380.769,525.972 387.5,527.5C 390.435,530.093 393.435,532.76 396.5,535.5C 398.772,539.259 400.438,543.259 401.5,547.5C 403.273,556.718 403.94,566.051 403.5,575.5C 401.695,584.954 401.195,594.62 402,604.5C 403.577,607.199 405.743,607.866 408.5,606.5C 411.5,601.833 414.5,597.167 417.5,592.5C 422.83,588.501 427.83,584.167 432.5,579.5C 437.417,576.802 442.417,574.469 447.5,572.5C 451.529,572.047 455.529,571.38 459.5,570.5C 461.384,570.716 463.051,571.383 464.5,572.5C 465.429,571.311 465.762,569.978 465.5,568.5C 468.247,568.187 470.914,568.52 473.5,569.5C 471.611,571.432 469.611,573.265 467.5,575C 468.448,575.483 469.448,575.649 470.5,575.5C 468.448,587.028 467.948,598.695 469,610.5C 469.383,611.056 469.883,611.389 470.5,611.5C 472.053,614.24 473.886,616.907 476,619.5C 476.49,620.793 476.657,622.127 476.5,623.5C 477.5,623.5 478.5,623.5 479.5,623.5C 479.281,624.675 479.614,625.675 480.5,626.5C 485.136,630.655 490.136,634.155 495.5,637C 511.459,640.491 527.459,642.991 543.5,644.5C 538.167,644.5 532.833,644.5 527.5,644.5C 527.5,645.5 527.5,646.5 527.5,647.5C 523.501,647.091 519.834,647.925 516.5,650C 523.192,650.453 529.859,650.119 536.5,649C 534.608,648.027 532.608,647.36 530.5,647C 540.161,646.5 549.828,646.334 559.5,646.5C 559.5,647.5 559.5,648.5 559.5,649.5C 554.167,649.5 548.833,649.5 543.5,649.5C 543.5,650.5 543.5,651.5 543.5,652.5C 532.742,653.223 522.075,653.889 511.5,654.5C 492.203,652.14 473.536,647.307 455.5,640C 451.442,639.66 447.442,638.993 443.5,638C 430.779,631.639 418.112,625.306 405.5,619C 399.708,615.042 394.375,610.542 389.5,605.5C 382.07,602.46 375.737,597.96 370.5,592C 366.822,591.991 364.655,590.157 364,586.5C 352.808,576.309 343.475,564.643 336,551.5C 335.503,548.854 335.336,546.187 335.5,543.5C 334.167,543.5 332.833,543.5 331.5,543.5C 328.79,535.693 326.457,527.693 324.5,519.5C 323.334,508.849 323.168,498.182 324,487.5C 326.37,477.347 329.037,467.347 332,457.5C 334.124,451.697 337.124,446.363 341,441.5C 341.333,439.833 341.667,438.167 342,436.5C 345.434,431.284 349.101,426.284 353,421.5C 361.973,413.86 370.306,405.527 378,396.5C 379.039,394.254 380.206,392.087 381.5,390C 383.134,389.506 384.801,389.34 386.5,389.5C 387.253,387.12 388.587,385.12 390.5,383.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#403025",d:"M 288.5,506.5 C 288.232,508.099 288.566,509.432 289.5,510.5C 289.808,512.924 289.474,515.257 288.5,517.5C 281.076,527.678 277.742,539.178 278.5,552C 278.767,556.512 279.101,561.012 279.5,565.5C 276.977,566.384 274.31,567.218 271.5,568C 261.555,569.706 251.555,570.872 241.5,571.5C 241.167,571.5 240.833,571.5 240.5,571.5C 239.879,558.317 240.879,545.317 243.5,532.5C 245.844,526.8 247.177,520.8 247.5,514.5C 261.334,512.667 275.001,510 288.5,506.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6a5345",d:"M 60.5,475.5 C 62.4811,478.128 63.9811,481.128 65,484.5C 71.2822,490.904 77.4489,497.404 83.5,504C 93.156,511.163 103.156,517.83 113.5,524C 119.823,525.996 126.156,527.829 132.5,529.5C 141.463,533.093 150.797,535.593 160.5,537C 188.34,537.713 216.007,536.213 243.5,532.5C 240.879,545.317 239.879,558.317 240.5,571.5C 200.499,571.667 160.499,571.5 120.5,571C 114.68,570.725 109.013,569.725 103.5,568C 100.726,565.746 99.0593,562.913 98.5,559.5C 97.5,559.5 96.5,559.5 95.5,559.5C 95.6633,557.143 95.4966,554.81 95,552.5C 92.1666,550.164 90.9999,547.164 91.5,543.5C 89.396,543.799 87.396,543.466 85.5,542.5C 84.3657,539.93 83.5323,537.264 83,534.5C 77.5577,527.58 73.7244,519.914 71.5,511.5C 70.5,511.5 69.5,511.5 68.5,511.5C 67.4299,505.859 65.7633,500.525 63.5,495.5C 61.6551,488.963 60.6551,482.297 60.5,475.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#846e5e",d:"M 987.5,444.5 C 989.159,445.834 990.492,447.501 991.5,449.5C 994.764,459.008 998.264,468.342 1002,477.5C 1002.67,490.167 1002.67,502.833 1002,515.5C 999.713,526.011 996.213,536.011 991.5,545.5C 990.609,544.89 989.609,544.557 988.5,544.5C 990.45,534.805 992.617,525.138 995,515.5C 998.072,498.439 996.238,482.106 989.5,466.5C 990.5,466.5 991.5,466.5 992.5,466.5C 990.578,459.225 988.912,451.892 987.5,444.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6a5244",d:"M 289.5,510.5 C 293.239,533.663 301.239,555.329 313.5,575.5C 317.818,580.14 321.651,585.14 325,590.5C 327.382,592.259 329.548,594.259 331.5,596.5C 332.386,597.325 332.719,598.325 332.5,599.5C 341.21,607.031 349.876,614.864 358.5,623C 364.846,625.574 370.179,629.574 374.5,635C 401.04,651.925 429.706,664.591 460.5,673C 462.527,675.681 465.193,677.347 468.5,678C 479.502,680.739 490.502,683.405 501.5,686C 515.597,688.012 529.597,690.512 543.5,693.5C 538.695,694.487 533.695,694.821 528.5,694.5C 528.012,697.711 528.679,700.544 530.5,703C 528.185,708.954 525.685,714.787 523,720.5C 521.666,723.589 519.499,725.922 516.5,727.5C 515.548,729.045 515.215,730.712 515.5,732.5C 513.517,732.157 512.183,732.824 511.5,734.5C 506.328,732.665 500.995,731.665 495.5,731.5C 495.5,729.833 495.5,728.167 495.5,726.5C 490.479,724.245 485.146,722.911 479.5,722.5C 479.5,721.5 479.5,720.5 479.5,719.5C 476.15,719.665 472.817,719.498 469.5,719C 468.5,718 467.5,717 466.5,716C 452.834,709.261 438.5,704.928 423.5,703C 421.506,700.28 418.839,698.78 415.5,698.5C 415.5,697.5 415.5,696.5 415.5,695.5C 411.831,696.303 409.164,695.136 407.5,692C 404.883,691.178 402.216,690.678 399.5,690.5C 399.5,689.5 399.5,688.5 399.5,687.5C 395.719,688.211 392.719,687.045 390.5,684C 388.26,683.023 385.927,682.523 383.5,682.5C 383.5,681.167 383.5,679.833 383.5,678.5C 377.238,679.33 372.904,676.997 370.5,671.5C 369.5,671.5 368.5,671.5 367.5,671.5C 367.5,670.5 367.5,669.5 367.5,668.5C 359.809,666.989 353.476,663.155 348.5,657C 338.988,651.165 330.321,644.165 322.5,636C 321.552,635.517 320.552,635.351 319.5,635.5C 318.093,631.56 315.593,628.226 312,625.5C 304.057,615.91 297.391,605.577 292,594.5C 291.092,592.561 289.592,591.561 287.5,591.5C 288.036,588.335 287.203,585.669 285,583.5C 283.634,577.243 281.8,571.243 279.5,565.5C 279.101,561.012 278.767,556.512 278.5,552C 277.742,539.178 281.076,527.678 288.5,517.5C 289.474,515.257 289.808,512.924 289.5,510.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#90442c",d:"M 95.5,559.5 C 97.2432,563.288 98.5766,567.288 99.5,571.5C 108.922,571.709 118.255,572.709 127.5,574.5C 165.494,575.5 203.494,575.833 241.5,575.5C 243.935,582.168 245.435,589.168 246,596.5C 248.032,599.368 249.865,602.368 251.5,605.5C 252.524,606.853 253.857,607.52 255.5,607.5C 255.5,609.833 255.5,612.167 255.5,614.5C 244.498,615.83 233.831,617.497 223.5,619.5C 212.767,619.747 202.1,620.747 191.5,622.5C 174.513,623.499 157.513,623.833 140.5,623.5C 140.5,623.167 140.5,622.833 140.5,622.5C 148.84,622.666 157.173,622.5 165.5,622C 165.167,621.667 164.833,621.333 164.5,621C 150.618,619.123 136.951,616.457 123.5,613C 115.204,609.132 106.537,606.132 97.5,604C 89.0839,599.973 80.5839,596.139 72,592.5C 68.9279,594.31 67.0946,596.976 66.5,600.5C 61.4921,599.509 57.1588,597.175 53.5,593.5C 48.4678,589.431 45.8012,584.098 45.5,577.5C 46.0319,573.123 46.8653,568.79 48,564.5C 49.0962,560.728 51.5962,559.061 55.5,559.5C 55.3433,558.127 55.51,556.793 56,555.5C 58.7009,552.902 61.5342,550.569 64.5,548.5C 70.4361,545.53 76.7694,544.697 83.5,546C 86.8782,549.813 89.7115,553.98 92,558.5C 93.0113,559.337 94.1779,559.67 95.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#785e50",d:"M 943.5,617.5 C 936.896,620.014 930.229,622.847 923.5,626C 919.582,627.156 915.582,627.656 911.5,627.5C 911.5,628.5 911.5,629.5 911.5,630.5C 906.213,631.342 900.88,631.676 895.5,631.5C 895.5,633.167 895.5,634.833 895.5,636.5C 892.813,636.341 890.48,637.175 888.5,639C 885.518,639.498 882.518,639.665 879.5,639.5C 879.5,640.5 879.5,641.5 879.5,642.5C 872.564,645.498 865.23,647.331 857.5,648C 856.449,649.385 855.116,650.385 853.5,651C 849.511,651.551 845.844,652.884 842.5,655C 838.848,655.499 835.182,655.665 831.5,655.5C 831.5,656.5 831.5,657.5 831.5,658.5C 829.396,658.201 827.396,658.534 825.5,659.5C 818.692,662.056 812.025,664.889 805.5,668C 803.527,668.495 801.527,668.662 799.5,668.5C 799.5,669.5 799.5,670.5 799.5,671.5C 794.167,671.5 788.833,671.5 783.5,671.5C 783.5,672.5 783.5,673.5 783.5,674.5C 776.073,676.891 768.573,679.224 761,681.5C 759.831,682.009 758.998,682.842 758.5,684C 749.084,685.616 739.751,687.616 730.5,690C 726.848,690.499 723.182,690.665 719.5,690.5C 719.5,691.5 719.5,692.5 719.5,693.5C 714.233,694.816 708.9,695.816 703.5,696.5C 703.5,697.5 703.5,698.5 703.5,699.5C 699.894,699.309 696.894,700.476 694.5,703C 689.5,703.333 684.5,703.667 679.5,704C 677.091,705.707 674.425,706.54 671.5,706.5C 671.5,707.833 671.5,709.167 671.5,710.5C 662.466,711.143 653.633,713.143 645,716.5C 637.88,717.935 630.714,718.935 623.5,719.5C 623.5,720.5 623.5,721.5 623.5,722.5C 609.873,723.938 596.539,726.771 583.5,731C 573.423,732.477 563.423,734.144 553.5,736C 545.473,740.619 536.806,743.119 527.5,743.5C 527.5,742.167 527.5,740.833 527.5,739.5C 523.733,740.074 520.733,738.907 518.5,736C 516.19,735.503 513.857,735.337 511.5,735.5C 511.5,735.167 511.5,734.833 511.5,734.5C 512.183,732.824 513.517,732.157 515.5,732.5C 515.215,730.712 515.548,729.045 516.5,727.5C 519.499,725.922 521.666,723.589 523,720.5C 525.685,714.787 528.185,708.954 530.5,703C 528.679,700.544 528.012,697.711 528.5,694.5C 533.695,694.821 538.695,694.487 543.5,693.5C 556.846,693.666 570.179,693.333 583.5,692.5C 597.523,690.107 611.523,687.607 625.5,685C 640.299,683.469 654.966,680.969 669.5,677.5C 704.396,667.48 739.229,657.147 774,646.5C 779.372,643.153 785.206,640.986 791.5,640C 834.501,624.227 877.168,607.894 919.5,591C 936.581,582.899 953.581,574.565 970.5,566C 973.567,563.352 976.734,560.852 980,558.5C 980.49,557.207 980.657,555.873 980.5,554.5C 983.248,554.598 983.914,553.598 982.5,551.5C 983.15,551.196 983.817,550.863 984.5,550.5C 984.984,553.626 986.317,556.293 988.5,558.5C 987.751,568.134 987.084,577.801 986.5,587.5C 984.301,592.204 982.968,597.204 982.5,602.5C 980.382,603.946 978.049,604.613 975.5,604.5C 975.5,605.5 975.5,606.5 975.5,607.5C 965.659,610.328 955.659,612.995 945.5,615.5C 944.287,615.747 943.62,616.414 943.5,617.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#7f4933",d:"M 95.5,559.5 C 96.5,559.5 97.5,559.5 98.5,559.5C 99.0593,562.913 100.726,565.746 103.5,568C 109.013,569.725 114.68,570.725 120.5,571C 160.499,571.5 200.499,571.667 240.5,571.5C 240.833,571.5 241.167,571.5 241.5,571.5C 241.5,572.833 241.5,574.167 241.5,575.5C 203.494,575.833 165.494,575.5 127.5,574.5C 118.255,572.709 108.922,571.709 99.5,571.5C 98.5766,567.288 97.2432,563.288 95.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5c2d1b",d:"M 279.5,565.5 C 281.8,571.243 283.634,577.243 285,583.5C 287.203,585.669 288.036,588.335 287.5,591.5C 289.592,591.561 291.092,592.561 292,594.5C 297.391,605.577 304.057,615.91 312,625.5C 315.593,628.226 318.093,631.56 319.5,635.5C 320.552,635.351 321.552,635.517 322.5,636C 330.321,644.165 338.988,651.165 348.5,657C 353.476,663.155 359.809,666.989 367.5,668.5C 367.5,669.5 367.5,670.5 367.5,671.5C 368.5,671.5 369.5,671.5 370.5,671.5C 369.544,673.516 368.21,675.349 366.5,677C 363.061,677.441 360.394,679.108 358.5,682C 356.19,682.497 353.857,682.663 351.5,682.5C 347.283,678.556 342.283,675.889 336.5,674.5C 335.614,673.675 335.281,672.675 335.5,671.5C 332.021,670.796 328.688,669.63 325.5,668C 319.37,665.066 313.704,661.399 308.5,657C 306.975,655.991 305.308,655.491 303.5,655.5C 303.719,654.325 303.386,653.325 302.5,652.5C 296.473,648.791 290.473,645.124 284.5,641.5C 282,644.375 279.333,647.041 276.5,649.5C 276.666,643.491 276.499,637.491 276,631.5C 271.097,628.465 266.93,624.632 263.5,620C 258.087,619.755 252.587,619.255 247,618.5C 239.18,619.187 231.347,619.52 223.5,619.5C 233.831,617.497 244.498,615.83 255.5,614.5C 255.5,612.167 255.5,609.833 255.5,607.5C 253.857,607.52 252.524,606.853 251.5,605.5C 249.865,602.368 248.032,599.368 246,596.5C 245.435,589.168 243.935,582.168 241.5,575.5C 241.5,574.167 241.5,572.833 241.5,571.5C 251.555,570.872 261.555,569.706 271.5,568C 274.31,567.218 276.977,566.384 279.5,565.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c67c69",d:"M 140.5,622.5 C 113.782,621.309 89.115,613.976 66.5,600.5C 67.0946,596.976 68.9279,594.31 72,592.5C 80.5839,596.139 89.0839,599.973 97.5,604C 106.537,606.132 115.204,609.132 123.5,613C 136.951,616.457 150.618,619.123 164.5,621C 164.833,621.333 165.167,621.667 165.5,622C 157.173,622.5 148.84,622.666 140.5,622.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5c3825",d:"M 68.5,612.5 C 79.6888,615.123 91.0222,616.956 102.5,618C 114.777,621.787 127.444,623.62 140.5,623.5C 157.513,623.833 174.513,623.499 191.5,622.5C 202.1,620.747 212.767,619.747 223.5,619.5C 231.347,619.52 239.18,619.187 247,618.5C 252.587,619.255 258.087,619.755 263.5,620C 266.93,624.632 271.097,628.465 276,631.5C 276.499,637.491 276.666,643.491 276.5,649.5C 277.002,653.764 278.002,657.93 279.5,662C 278.472,665.221 277.306,668.388 276,671.5C 275.667,671.167 275.333,670.833 275,670.5C 274.121,682.566 273.621,694.566 273.5,706.5C 275.012,711.882 276.846,717.215 279,722.5C 280.667,723.5 282.333,724.5 284,725.5C 284.483,726.448 284.649,727.448 284.5,728.5C 285.93,728.421 287.264,728.754 288.5,729.5C 290.488,728.711 290.821,727.545 289.5,726C 297.126,725.737 298.126,727.904 292.5,732.5C 291.614,733.325 291.281,734.325 291.5,735.5C 293.76,736.139 295.76,737.306 297.5,739C 300.233,739.758 302.733,739.258 305,737.5C 308.539,738.173 312.039,739.006 315.5,740C 315.957,740.414 316.291,740.914 316.5,741.5C 315.372,742.262 314.205,742.929 313,743.5C 310.165,742.58 307.332,741.58 304.5,740.5C 303.571,741.689 303.238,743.022 303.5,744.5C 308.456,744.436 312.623,746.102 316,749.5C 317.011,748.663 318.178,748.33 319.5,748.5C 319.5,749.5 319.5,750.5 319.5,751.5C 298.322,745.644 282.488,732.977 272,713.5C 268.908,706.207 267.408,698.54 267.5,690.5C 269.139,675.217 271.473,660.05 274.5,645C 273.207,637.084 269.54,630.417 263.5,625C 259.343,623.335 255.01,622.502 250.5,622.5C 226.107,624.425 201.774,626.758 177.5,629.5C 153.528,630.724 129.861,628.724 106.5,623.5C 95.9775,621.786 85.6442,619.286 75.5,616C 73.1417,614.724 70.8084,613.558 68.5,612.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e3d8d4",d:"M 106.5,623.5 C 129.861,628.724 153.528,630.724 177.5,629.5C 162.473,630.375 147.64,631.042 133,631.5C 130.343,630.923 127.843,629.923 125.5,628.5C 124.158,629.902 123.324,629.569 123,627.5C 120.333,628.167 117.667,628.833 115,629.5C 112.347,627.12 109.514,625.12 106.5,623.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#38a447",d:"M 76.5,628.5 C 80.3317,628.895 82.665,630.895 83.5,634.5C 82.0929,641.213 80.5929,647.88 79,654.5C 76.0916,658.461 75.2583,662.795 76.5,667.5C 79.6599,665.172 82.3266,662.339 84.5,659C 88.0185,655.982 91.6852,653.149 95.5,650.5C 94.9305,653.335 93.2639,655.001 90.5,655.5C 88.4675,662.365 83.9675,666.699 77,668.5C 75.8926,668.415 74.8926,668.081 74,667.5C 74.1596,670.047 75.3263,672.214 77.5,674C 80.9499,674.175 84.2832,674.342 87.5,674.5C 86.91,675.799 85.91,676.632 84.5,677C 85.1667,677.667 85.8333,678.333 86.5,679C 84.8333,679.667 83.1667,679.667 81.5,679C 81.9574,678.586 82.2907,678.086 82.5,677.5C 81.1349,676.544 79.6349,675.878 78,675.5C 76.2626,676.62 74.4292,677.62 72.5,678.5C 71.6143,677.675 71.281,676.675 71.5,675.5C 72.5,675.5 73.5,675.5 74.5,675.5C 74.5,674.5 74.5,673.5 74.5,672.5C 72.5,672.167 70.5,671.833 68.5,671.5C 70.2649,670.21 71.7649,668.21 73,665.5C 73.3148,662.628 73.8148,659.795 74.5,657C 73.2127,654.336 73.546,651.836 75.5,649.5C 75.2907,648.914 74.9574,648.414 74.5,648C 76.0441,647.71 77.3774,647.044 78.5,646C 78.1667,645.667 77.8333,645.333 77.5,645C 81.0954,642.12 81.9287,638.62 80,634.5C 76.7954,636.181 73.2954,637.181 69.5,637.5C 65.4322,645.868 62.4322,654.701 60.5,664C 58.0442,667.156 56.0442,670.656 54.5,674.5C 52.783,677.281 50.6163,679.614 48,681.5C 47.6667,679.5 47.3333,677.5 47,675.5C 43.8314,675.913 41.3314,677.413 39.5,680C 40.1161,682.359 41.6161,683.859 44,684.5C 44.4828,685.448 44.6495,686.448 44.5,687.5C 41.1332,686.658 38.7998,684.658 37.5,681.5C 39.7664,678.215 42.0997,674.881 44.5,671.5C 46.2391,665.559 48.9057,660.226 52.5,655.5C 53.5862,655.38 54.2528,654.713 54.5,653.5C 54.5309,648.093 57.0309,644.427 62,642.5C 62.1273,640.366 61.9607,638.199 61.5,636C 62.4176,633.239 63.0843,630.406 63.5,627.5C 67.8244,627.927 72.1578,628.261 76.5,628.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#90432c",d:"M 961.5,671.5 C 965.85,667.238 965.017,664.238 959,662.5C 954.394,663.761 950.227,665.928 946.5,669C 932.378,671.89 918.378,674.89 904.5,678C 905.056,678.383 905.389,678.883 905.5,679.5C 900.821,679.334 896.155,679.501 891.5,680C 887.471,681.276 883.471,682.442 879.5,683.5C 879.5,684.833 879.5,686.167 879.5,687.5C 878.022,687.238 876.689,687.571 875.5,688.5C 868.276,699.1 860.442,709.1 852,718.5C 850.644,719.38 849.144,719.714 847.5,719.5C 847.762,720.978 847.429,722.311 846.5,723.5C 843.268,724.73 840.601,726.73 838.5,729.5C 836.49,731.171 834.157,731.838 831.5,731.5C 831.5,732.833 831.5,734.167 831.5,735.5C 828.813,735.336 826.146,735.503 823.5,736C 802.726,746.874 780.559,752.04 757,751.5C 743.093,751.21 729.26,750.21 715.5,748.5C 700.658,749.855 685.992,752.188 671.5,755.5C 671.5,756.833 671.5,758.167 671.5,759.5C 669.396,759.201 667.396,759.534 665.5,760.5C 659.849,763.831 654.182,767.165 648.5,770.5C 645.034,773.926 641.367,777.093 637.5,780C 636.552,780.483 635.552,780.649 634.5,780.5C 634.5,781.5 634.5,782.5 634.5,783.5C 632.076,783.192 629.743,783.526 627.5,784.5C 621.617,790.398 614.951,795.065 607.5,798.5C 605.961,791.948 605.294,785.281 605.5,778.5C 604.209,778.263 603.209,778.596 602.5,779.5C 587.183,785.325 572.183,791.825 557.5,799C 543.565,803.212 529.565,807.212 515.5,811C 522.48,812.833 529.48,814.333 536.5,815.5C 536.611,816.117 536.944,816.617 537.5,817C 544.799,818.488 552.132,819.655 559.5,820.5C 543.582,824.311 527.582,824.311 511.5,820.5C 509.664,818.991 507.664,817.491 505.5,816C 503.5,815.667 501.5,815.333 499.5,815C 493.869,812.182 488.535,808.849 483.5,805C 481.122,804.489 478.788,803.822 476.5,803C 468.334,798.414 460.667,793.081 453.5,787C 445.753,783.704 438.42,779.871 431.5,775.5C 431.5,774.5 431.5,773.5 431.5,772.5C 428.299,770.823 424.965,769.323 421.5,768C 419.527,767.505 417.527,767.338 415.5,767.5C 415.439,765.408 414.439,763.908 412.5,763C 408.167,760.5 403.833,758 399.5,755.5C 392.525,752.92 385.525,750.42 378.5,748C 363.213,746.002 347.88,744.336 332.5,743C 326.881,741.012 321.214,739.179 315.5,737.5C 311.116,733.993 306.116,731.493 300.5,730C 299.87,728.108 298.87,726.441 297.5,725C 294.539,722.356 291.206,720.522 287.5,719.5C 287.908,716.401 286.741,714.067 284,712.5C 279.653,697.142 278.319,681.475 280,665.5C 282.38,657.702 283.88,649.702 284.5,641.5C 290.473,645.124 296.473,648.791 302.5,652.5C 303.386,653.325 303.719,654.325 303.5,655.5C 305.308,655.491 306.975,655.991 308.5,657C 313.704,661.399 319.37,665.066 325.5,668C 328.688,669.63 332.021,670.796 335.5,671.5C 335.281,672.675 335.614,673.675 336.5,674.5C 342.283,675.889 347.283,678.556 351.5,682.5C 355.956,686.365 361.289,688.032 367.5,687.5C 367.5,689.5 367.5,691.5 367.5,693.5C 374.822,694.828 381.488,697.662 387.5,702C 391.418,703.156 395.418,703.656 399.5,703.5C 399.626,706.595 401.293,708.428 404.5,709C 420.114,715.926 436.114,721.926 452.5,727C 457.773,728.457 463.106,729.124 468.5,729C 470.991,728.374 470.991,727.541 468.5,726.5C 468.919,725.328 469.585,724.328 470.5,723.5C 473.156,725.166 475.823,726.832 478.5,728.5C 479.429,729.689 479.762,731.022 479.5,732.5C 483.817,732.535 487.817,733.535 491.5,735.5C 494.021,734.911 496.521,734.245 499,733.5C 503.02,734.956 507.187,735.622 511.5,735.5C 513.857,735.337 516.19,735.503 518.5,736C 520.733,738.907 523.733,740.074 527.5,739.5C 527.5,740.833 527.5,742.167 527.5,743.5C 536.806,743.119 545.473,740.619 553.5,736C 563.423,734.144 573.423,732.477 583.5,731C 596.539,726.771 609.873,723.938 623.5,722.5C 623.5,721.5 623.5,720.5 623.5,719.5C 630.714,718.935 637.88,717.935 645,716.5C 653.633,713.143 662.466,711.143 671.5,710.5C 671.5,709.167 671.5,707.833 671.5,706.5C 674.425,706.54 677.091,705.707 679.5,704C 684.5,703.667 689.5,703.333 694.5,703C 696.894,700.476 699.894,699.309 703.5,699.5C 703.5,698.5 703.5,697.5 703.5,696.5C 708.9,695.816 714.233,694.816 719.5,693.5C 719.5,692.5 719.5,691.5 719.5,690.5C 723.182,690.665 726.848,690.499 730.5,690C 739.751,687.616 749.084,685.616 758.5,684C 758.998,682.842 759.831,682.009 761,681.5C 768.573,679.224 776.073,676.891 783.5,674.5C 783.5,673.5 783.5,672.5 783.5,671.5C 788.833,671.5 794.167,671.5 799.5,671.5C 799.5,670.5 799.5,669.5 799.5,668.5C 801.527,668.662 803.527,668.495 805.5,668C 812.025,664.889 818.692,662.056 825.5,659.5C 827.396,658.534 829.396,658.201 831.5,658.5C 831.5,657.5 831.5,656.5 831.5,655.5C 835.182,655.665 838.848,655.499 842.5,655C 845.844,652.884 849.511,651.551 853.5,651C 855.116,650.385 856.449,649.385 857.5,648C 865.23,647.331 872.564,645.498 879.5,642.5C 879.5,641.5 879.5,640.5 879.5,639.5C 882.518,639.665 885.518,639.498 888.5,639C 890.48,637.175 892.813,636.341 895.5,636.5C 895.5,634.833 895.5,633.167 895.5,631.5C 900.88,631.676 906.213,631.342 911.5,630.5C 911.5,629.5 911.5,628.5 911.5,627.5C 915.582,627.656 919.582,627.156 923.5,626C 930.229,622.847 936.896,620.014 943.5,617.5C 954.201,615.688 964.868,613.354 975.5,610.5C 975.5,612.833 975.5,615.167 975.5,617.5C 969.714,617.931 964.047,618.931 958.5,620.5C 955.493,618.937 953.159,619.77 951.5,623C 950.552,623.483 949.552,623.649 948.5,623.5C 948.423,626.012 949.423,628.012 951.5,629.5C 955.391,630.551 959.058,632.051 962.5,634C 964.285,637.452 966.785,640.286 970,642.5C 971.276,645.28 972.776,647.947 974.5,650.5C 975.452,652.045 975.785,653.712 975.5,655.5C 974.5,655.5 973.5,655.5 972.5,655.5C 972.782,663.617 969.115,668.95 961.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#49a059",d:"M 76.5,628.5 C 72.1578,628.261 67.8244,627.927 63.5,627.5C 63.0843,630.406 62.4176,633.239 61.5,636C 61.9607,638.199 62.1273,640.366 62,642.5C 57.0309,644.427 54.5309,648.093 54.5,653.5C 54.2528,654.713 53.5862,655.38 52.5,655.5C 55.696,645.126 58.8627,634.792 62,624.5C 62.5613,623.978 63.228,623.645 64,623.5C 67.8102,624.744 71.6436,625.911 75.5,627C 76.056,627.383 76.3893,627.883 76.5,628.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#339945",d:"M 159.5,671.5 C 159.799,669.396 159.466,667.396 158.5,665.5C 154.889,664.371 151.389,663.038 148,661.5C 147.308,662.025 146.808,662.692 146.5,663.5C 147.309,665.071 147.643,666.738 147.5,668.5C 146.167,668.5 144.833,668.5 143.5,668.5C 140.729,663.797 138.062,658.963 135.5,654C 136.294,651.976 135.961,649.976 134.5,648C 126.328,645.718 117.995,645.051 109.5,646C 108.396,647.131 108.729,647.965 110.5,648.5C 111.429,649.689 111.762,651.022 111.5,652.5C 107.019,653.037 105.686,651.37 107.5,647.5C 104.211,648.374 100.877,649.041 97.5,649.5C 106.331,642.816 116.331,640.649 127.5,643C 133.127,645.117 138.127,648.283 142.5,652.5C 143.386,653.325 143.719,654.325 143.5,655.5C 146.787,656.264 149.454,658.097 151.5,661C 153.788,661.822 156.122,662.489 158.5,663C 161.885,665.743 162.218,668.576 159.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#745342",d:"M 977.5,639.5 C 979.955,642.708 982.455,646.041 985,649.5C 985.667,653.833 985.667,658.167 985,662.5C 984.246,665.684 982.746,668.351 980.5,670.5C 980.903,666.358 981.903,662.358 983.5,658.5C 981.9,652.033 979.9,645.7 977.5,639.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#6e3722",d:"M 988.5,544.5 C 989.609,544.557 990.609,544.89 991.5,545.5C 1008.77,556.802 1014.93,572.468 1010,592.5C 1007.77,596.458 1004.93,599.958 1001.5,603C 989.584,612.376 976.417,619.543 962,624.5C 961.837,626.387 962.671,627.887 964.5,629C 969.33,632.008 973.664,635.508 977.5,639.5C 979.9,645.7 981.9,652.033 983.5,658.5C 981.903,662.358 980.903,666.358 980.5,670.5C 976.773,676.069 971.773,679.902 965.5,682C 964.5,683 963.5,684 962.5,685C 957.762,685.519 953.095,686.352 948.5,687.5C 934.27,689.268 919.937,689.768 905.5,689C 904.027,688.29 903.36,687.124 903.5,685.5C 907.852,687.486 910.519,686.152 911.5,681.5C 899.993,681.264 889.326,681.931 879.5,683.5C 883.471,682.442 887.471,681.276 891.5,680C 896.155,679.501 900.821,679.334 905.5,679.5C 924.968,682.311 943.635,679.645 961.5,671.5C 969.115,668.95 972.782,663.617 972.5,655.5C 973.5,655.5 974.5,655.5 975.5,655.5C 975.785,653.712 975.452,652.045 974.5,650.5C 972.776,647.947 971.276,645.28 970,642.5C 966.785,640.286 964.285,637.452 962.5,634C 959.058,632.051 955.391,630.551 951.5,629.5C 949.423,628.012 948.423,626.012 948.5,623.5C 949.552,623.649 950.552,623.483 951.5,623C 953.159,619.77 955.493,618.937 958.5,620.5C 964.047,618.931 969.714,617.931 975.5,617.5C 975.5,615.167 975.5,612.833 975.5,610.5C 964.868,613.354 954.201,615.688 943.5,617.5C 943.62,616.414 944.287,615.747 945.5,615.5C 955.659,612.995 965.659,610.328 975.5,607.5C 975.5,606.5 975.5,605.5 975.5,604.5C 978.049,604.613 980.382,603.946 982.5,602.5C 982.968,597.204 984.301,592.204 986.5,587.5C 987.084,577.801 987.751,568.134 988.5,558.5C 986.317,556.293 984.984,553.626 984.5,550.5C 983.817,550.863 983.15,551.196 982.5,551.5C 980.535,551.052 980.202,550.052 981.5,548.5C 983.1,545.904 985.433,544.57 988.5,544.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8d4329",d:"M 989.5,559.5 C 991.796,562.986 994.796,565.986 998.5,568.5C 1002.83,576.552 1002.49,584.218 997.5,591.5C 996.5,591.5 995.5,591.5 994.5,591.5C 994.5,592.833 994.5,594.167 994.5,595.5C 993.5,595.5 992.5,595.5 991.5,595.5C 991.254,598.47 989.588,599.803 986.5,599.5C 988.529,586.36 989.529,573.027 989.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#df9686",d:"M 961.5,671.5 C 943.635,679.645 924.968,682.311 905.5,679.5C 905.389,678.883 905.056,678.383 904.5,678C 918.378,674.89 932.378,671.89 946.5,669C 950.227,665.928 954.394,663.761 959,662.5C 965.017,664.238 965.85,667.238 961.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#3bab47",d:"M 95.5,650.5 C 95.8417,649.662 96.5084,649.328 97.5,649.5C 100.877,649.041 104.211,648.374 107.5,647.5C 105.686,651.37 107.019,653.037 111.5,652.5C 111.762,651.022 111.429,649.689 110.5,648.5C 108.729,647.965 108.396,647.131 109.5,646C 117.995,645.051 126.328,645.718 134.5,648C 135.961,649.976 136.294,651.976 135.5,654C 138.062,658.963 140.729,663.797 143.5,668.5C 144.833,668.5 146.167,668.5 147.5,668.5C 147.643,666.738 147.309,665.071 146.5,663.5C 146.808,662.692 147.308,662.025 148,661.5C 151.389,663.038 154.889,664.371 158.5,665.5C 159.466,667.396 159.799,669.396 159.5,671.5C 159.768,673.099 159.434,674.432 158.5,675.5C 157.022,675.238 155.689,675.571 154.5,676.5C 154.032,678.134 153.032,679.3 151.5,680C 149.567,680.251 147.734,680.751 146,681.5C 144.242,690.069 143.076,698.736 142.5,707.5C 139.732,709.428 138.898,712.095 140,715.5C 141.011,716.337 142.178,716.67 143.5,716.5C 143.5,718.833 143.5,721.167 143.5,723.5C 136.986,723.866 130.986,722.533 125.5,719.5C 125.719,718.325 125.386,717.325 124.5,716.5C 121.428,715.13 118.261,714.13 115,713.5C 115.619,710.292 116.119,706.958 116.5,703.5C 118.96,703.301 121.293,702.635 123.5,701.5C 122.865,696.913 121.865,692.413 120.5,688C 121.597,685.567 123.097,683.4 125,681.5C 127.633,677.421 126.967,674.088 123,671.5C 117.134,675.382 111.3,679.215 105.5,683C 105.966,684.299 105.966,685.799 105.5,687.5C 102.167,690.5 98.8333,693.5 95.5,696.5C 77.2053,700.063 60.2053,697.063 44.5,687.5C 44.6495,686.448 44.4828,685.448 44,684.5C 41.6161,683.859 40.1161,682.359 39.5,680C 41.3314,677.413 43.8314,675.913 47,675.5C 47.3333,677.5 47.6667,679.5 48,681.5C 50.6163,679.614 52.783,677.281 54.5,674.5C 56.0442,670.656 58.0442,667.156 60.5,664C 62.4322,654.701 65.4322,645.868 69.5,637.5C 73.2954,637.181 76.7954,636.181 80,634.5C 81.9287,638.62 81.0954,642.12 77.5,645C 77.8333,645.333 78.1667,645.667 78.5,646C 77.3774,647.044 76.0441,647.71 74.5,648C 74.9574,648.414 75.2907,648.914 75.5,649.5C 73.546,651.836 73.2127,654.336 74.5,657C 73.8148,659.795 73.3148,662.628 73,665.5C 71.7649,668.21 70.2649,670.21 68.5,671.5C 70.5,671.833 72.5,672.167 74.5,672.5C 74.5,673.5 74.5,674.5 74.5,675.5C 73.5,675.5 72.5,675.5 71.5,675.5C 71.281,676.675 71.6143,677.675 72.5,678.5C 74.4292,677.62 76.2626,676.62 78,675.5C 79.6349,675.878 81.1349,676.544 82.5,677.5C 82.2907,678.086 81.9574,678.586 81.5,679C 83.1667,679.667 84.8333,679.667 86.5,679C 85.8333,678.333 85.1667,677.667 84.5,677C 85.91,676.632 86.91,675.799 87.5,674.5C 84.2832,674.342 80.9499,674.175 77.5,674C 75.3263,672.214 74.1596,670.047 74,667.5C 74.8926,668.081 75.8926,668.415 77,668.5C 83.9675,666.699 88.4675,662.365 90.5,655.5C 93.2639,655.001 94.9305,653.335 95.5,650.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ac9c8a",d:"M 538.5,286.5 C 547.732,291.533 557.232,296.2 567,300.5C 567.399,300.272 567.565,299.938 567.5,299.5C 568.596,301.103 569.93,302.603 571.5,304C 588.929,307.286 606.263,310.952 623.5,315C 629.135,317.281 634.801,319.114 640.5,320.5C 639.735,320.923 638.902,321.257 638,321.5C 633.335,319.891 628.501,319.058 623.5,319C 611.923,317.067 600.589,314.4 589.5,311C 559.363,308.172 529.363,309.172 499.5,314C 485.449,316.837 471.783,320.837 458.5,326C 446.06,332.769 433.394,339.103 420.5,345C 407.326,354.728 393.66,363.728 379.5,372C 372.909,378.299 365.909,384.133 358.5,389.5C 354.661,394.88 350.161,399.547 345,403.5C 334.908,416.43 325.908,430.096 318,444.5C 303.137,476.724 301.137,509.724 312,543.5C 315.202,549.239 317.868,555.239 320,561.5C 327.131,569.129 333.297,577.463 338.5,586.5C 352.142,601.469 367.475,614.302 384.5,625C 401.673,634.334 419.34,642.668 437.5,650C 454.77,654.261 471.77,659.261 488.5,665C 507.808,667.897 527.141,670.063 546.5,671.5C 544.167,671.5 541.833,671.5 539.5,671.5C 539.5,675.167 539.5,678.833 539.5,682.5C 548.339,683.991 551.672,680.325 549.5,671.5C 562.833,671.5 576.167,671.5 589.5,671.5C 586.713,672.477 583.713,672.81 580.5,672.5C 580.318,674.591 580.652,676.591 581.5,678.5C 586.792,679.495 592.125,679.828 597.5,679.5C 597.5,676.833 597.5,674.167 597.5,671.5C 605.671,670.944 613.838,670.277 622,669.5C 629.753,667.624 637.586,666.124 645.5,665C 648.798,664.513 651.798,663.347 654.5,661.5C 656.106,662.077 657.772,662.41 659.5,662.5C 667.648,659.937 675.981,658.27 684.5,657.5C 692.764,655.147 700.931,652.48 709,649.5C 712.481,648.877 715.981,648.377 719.5,648C 735.068,641.477 751.068,636.144 767.5,632C 777.49,627.455 787.49,623.121 797.5,619C 810.435,614.36 823.435,610.027 836.5,606C 844.945,600.634 853.945,596.634 863.5,594C 873.397,588.811 883.397,583.811 893.5,579C 898.711,577.728 903.378,575.394 907.5,572C 916.552,567.142 925.886,562.808 935.5,559C 937.539,556.626 939.872,554.626 942.5,553C 953.535,548.208 963.702,542.042 973,534.5C 977.695,527.241 981.528,519.574 984.5,511.5C 986.791,493.587 984.625,476.253 978,459.5C 975.095,455.12 972.762,450.453 971,445.5C 969.128,442.418 966.795,439.751 964,437.5C 962.872,435.655 962.372,433.655 962.5,431.5C 961.448,431.649 960.448,431.483 959.5,431C 956.667,427.5 953.5,424.333 950,421.5C 949.517,420.552 949.351,419.552 949.5,418.5C 957.243,424.131 964.743,430.131 972,436.5C 978.645,446.138 984.479,456.138 989.5,466.5C 996.238,482.106 998.072,498.439 995,515.5C 992.617,525.138 990.45,534.805 988.5,544.5C 985.433,544.57 983.1,545.904 981.5,548.5C 980.202,550.052 980.535,551.052 982.5,551.5C 983.914,553.598 983.248,554.598 980.5,554.5C 980.657,555.873 980.49,557.207 980,558.5C 976.734,560.852 973.567,563.352 970.5,566C 953.581,574.565 936.581,582.899 919.5,591C 877.168,607.894 834.501,624.227 791.5,640C 785.206,640.986 779.372,643.153 774,646.5C 739.229,657.147 704.396,667.48 669.5,677.5C 654.966,680.969 640.299,683.469 625.5,685C 611.523,687.607 597.523,690.107 583.5,692.5C 570.179,693.333 556.846,693.666 543.5,693.5C 529.597,690.512 515.597,688.012 501.5,686C 490.502,683.405 479.502,680.739 468.5,678C 465.193,677.347 462.527,675.681 460.5,673C 429.706,664.591 401.04,651.925 374.5,635C 370.179,629.574 364.846,625.574 358.5,623C 349.876,614.864 341.21,607.031 332.5,599.5C 332.719,598.325 332.386,597.325 331.5,596.5C 329.548,594.259 327.382,592.259 325,590.5C 321.651,585.14 317.818,580.14 313.5,575.5C 301.239,555.329 293.239,533.663 289.5,510.5C 288.566,509.432 288.232,508.099 288.5,506.5C 288.5,500.833 288.5,495.167 288.5,489.5C 290.889,482.421 292.556,475.088 293.5,467.5C 296.572,454.72 301.238,442.72 307.5,431.5C 309.158,428.912 310.825,426.245 312.5,423.5C 314.278,421.171 315.278,418.504 315.5,415.5C 316.833,415.5 318.167,415.5 319.5,415.5C 319.5,414.5 319.5,413.5 319.5,412.5C 322.86,413.21 324.693,411.876 325,408.5C 328.097,407.711 328.264,406.544 325.5,405C 327.175,404.015 328.842,403.181 330.5,402.5C 330.5,402.167 330.5,401.833 330.5,401.5C 332.011,400.498 333.678,399.831 335.5,399.5C 335.5,398.167 335.5,396.833 335.5,395.5C 336.552,395.649 337.552,395.483 338.5,395C 341.71,390.289 345.71,386.456 350.5,383.5C 350.833,383.5 351.167,383.5 351.5,383.5C 352.5,383.5 353.5,383.5 354.5,383.5C 354.575,380.794 354.908,378.127 355.5,375.5C 356.978,375.762 358.311,375.429 359.5,374.5C 368.955,367.876 377.622,360.376 385.5,352C 387.723,351.434 389.723,350.6 391.5,349.5C 395.249,346.112 399.249,342.945 403.5,340C 407.267,337.606 411.267,336.106 415.5,335.5C 415.281,334.325 415.614,333.325 416.5,332.5C 422.964,329.706 428.964,326.373 434.5,322.5C 437.619,321.683 440.619,320.683 443.5,319.5C 455.182,313.832 467.182,309.165 479.5,305.5C 482.337,303.598 485.671,302.931 489.5,303.5C 497.749,302.433 505.749,300.766 513.5,298.5C 519.176,298.666 524.843,298.499 530.5,298C 532.719,293.397 531.385,290.563 526.5,289.5C 525.702,289.043 525.369,288.376 525.5,287.5C 528.354,287.924 531.021,288.924 533.5,290.5C 535.815,289.84 537.481,288.507 538.5,286.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#887765",d:"M 546.5,671.5 C 547.5,671.5 548.5,671.5 549.5,671.5C 551.672,680.325 548.339,683.991 539.5,682.5C 539.5,678.833 539.5,675.167 539.5,671.5C 541.833,671.5 544.167,671.5 546.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#bab9ae",d:"M 815.5,597.5 C 815.5,598.833 815.5,600.167 815.5,601.5C 811.418,601.344 807.418,601.844 803.5,603C 792.701,606.981 781.701,610.648 770.5,614C 767.833,615.667 765.167,617.333 762.5,619C 749.244,621.946 736.244,625.613 723.5,630C 721.482,631.398 719.316,632.565 717,633.5C 693.212,638.888 668.712,644.388 643.5,650C 599.546,656.788 555.546,658.288 511.5,654.5C 522.075,653.889 532.742,653.223 543.5,652.5C 543.5,651.5 543.5,650.5 543.5,649.5C 548.833,649.5 554.167,649.5 559.5,649.5C 559.5,648.5 559.5,647.5 559.5,646.5C 549.828,646.334 540.161,646.5 530.5,647C 532.608,647.36 534.608,648.027 536.5,649C 529.859,650.119 523.192,650.453 516.5,650C 519.834,647.925 523.501,647.091 527.5,647.5C 527.5,646.5 527.5,645.5 527.5,644.5C 532.833,644.5 538.167,644.5 543.5,644.5C 603.205,645.037 661.872,637.704 719.5,622.5C 741.068,615.755 762.401,608.422 783.5,600.5C 788.568,600.867 792.902,599.367 796.5,596C 803.028,595.239 809.361,595.739 815.5,597.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#c5aaa4",d:"M 825.5,584.5 C 824.192,585.232 822.858,586.066 821.5,587C 825.081,587.675 825.081,588.841 821.5,590.5C 817.065,589.856 812.731,590.523 808.5,592.5C 810.743,593.474 813.076,593.808 815.5,593.5C 815.5,594.833 815.5,596.167 815.5,597.5C 809.361,595.739 803.028,595.239 796.5,596C 792.902,599.367 788.568,600.867 783.5,600.5C 786.197,598.559 789.197,597.059 792.5,596C 803.527,592.149 814.527,588.315 825.5,584.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0475c",d:"M 475.5,567.5 C 476.376,567.369 477.043,567.702 477.5,568.5C 476.626,570.747 476.292,573.08 476.5,575.5C 475.5,575.5 474.5,575.5 473.5,575.5C 471.101,586.662 470.101,597.995 470.5,609.5C 469.343,601.01 469.176,592.343 470,583.5C 471.027,577.804 472.86,572.47 475.5,567.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e08c99",d:"M 767.5,571.5 C 760.798,571.336 754.131,571.669 747.5,572.5C 751.034,570.952 754.867,570.286 759,570.5C 762.021,570.502 764.854,570.836 767.5,571.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d65f71",d:"M 549.5,559.5 C 548.814,563.884 547.814,568.217 546.5,572.5C 544.667,572.833 542.833,573.167 541,573.5C 535.493,572.749 529.993,571.915 524.5,571C 521.714,569.499 519.047,567.999 516.5,566.5C 525.974,569.049 535.64,571.049 545.5,572.5C 545.677,567.657 547.01,563.323 549.5,559.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0a29f",d:"M 475.5,567.5 C 472.86,572.47 471.027,577.804 470,583.5C 469.176,592.343 469.343,601.01 470.5,609.5C 470.5,610.167 470.5,610.833 470.5,611.5C 469.883,611.389 469.383,611.056 469,610.5C 467.948,598.695 468.448,587.028 470.5,575.5C 469.448,575.649 468.448,575.483 467.5,575C 469.611,573.265 471.611,571.432 473.5,569.5C 470.914,568.52 468.247,568.187 465.5,568.5C 465.762,569.978 465.429,571.311 464.5,572.5C 463.051,571.383 461.384,570.716 459.5,570.5C 455.529,571.38 451.529,572.047 447.5,572.5C 447.791,571.351 448.624,570.684 450,570.5C 458.37,568.355 466.87,567.355 475.5,567.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cf747f",d:"M 401.5,547.5 C 402.6,549.277 403.434,551.277 404,553.5C 404.822,561.012 404.655,568.345 403.5,575.5C 403.94,566.051 403.273,556.718 401.5,547.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7425b",d:"M 500.5,527.5 C 508.663,529.445 516.663,531.778 524.5,534.5C 521.314,542.929 517.981,551.263 514.5,559.5C 514.67,557.152 515.003,554.818 515.5,552.5C 514.077,549.725 513.411,546.725 513.5,543.5C 514.5,543.5 515.5,543.5 516.5,543.5C 516.281,544.675 516.614,545.675 517.5,546.5C 518.969,542.957 519.969,539.291 520.5,535.5C 514.535,533.538 508.535,531.538 502.5,529.5C 501.287,529.253 500.62,528.586 500.5,527.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d3556a",d:"M 715.5,536.5 C 727.497,539.506 739.497,541.84 751.5,543.5C 739.342,543.304 727.342,541.971 715.5,539.5C 715.5,538.5 715.5,537.5 715.5,536.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d7475e",d:"M 777.5,497.5 C 789.573,498.776 794.073,505.443 791,517.5C 787.699,523.733 782.533,526.733 775.5,526.5C 776.689,516.88 777.356,507.213 777.5,497.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#db4359",d:"M 344.5,506.5 C 343.683,511.571 341.349,515.904 337.5,519.5C 350.821,520.333 364.154,520.833 377.5,521C 380.839,522.296 384.173,523.463 387.5,524.5C 387.5,525.5 387.5,526.5 387.5,527.5C 380.769,525.972 374.103,524.139 367.5,522C 356.839,521.5 346.172,521.333 335.5,521.5C 336.453,515.353 339.453,510.353 344.5,506.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ee2447",d:"M 778.5,499.5 C 782.95,499.142 786.45,500.808 789,504.5C 789.606,507.076 789.106,509.41 787.5,511.5C 788.528,513.56 788.528,515.56 787.5,517.5C 786.808,516.975 786.308,516.308 786,515.5C 785.505,517.473 785.338,519.473 785.5,521.5C 782.412,521.639 779.745,522.639 777.5,524.5C 778.185,516.184 778.518,507.851 778.5,499.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d4929c",d:"M 520.5,479.5 C 521.898,481.596 522.898,483.929 523.5,486.5C 521.349,491.592 520.349,496.925 520.5,502.5C 519.572,494.999 519.572,487.332 520.5,479.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ed3352",d:"M 571.5,477.5 C 572.496,477.414 573.329,477.748 574,478.5C 576.381,482.968 578.381,487.635 580,492.5C 581.964,503.746 577.797,511.579 567.5,516C 563.514,516.499 559.514,516.666 555.5,516.5C 558.929,502.652 564.262,489.652 571.5,477.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#cda6a2",d:"M 938.5,476.5 C 939.995,476.415 940.995,477.081 941.5,478.5C 944.086,479.48 946.753,479.813 949.5,479.5C 949.649,480.552 949.483,481.552 949,482.5C 945.296,483.948 944.629,486.281 947,489.5C 947.667,499.833 947.667,510.167 947,520.5C 946.727,522.329 945.893,523.829 944.5,525C 941.94,525.384 939.606,526.217 937.5,527.5C 939.911,524.252 942.744,521.585 946,519.5C 948.621,504.031 946.121,489.697 938.5,476.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d54961",d:"M 494.5,465.5 C 501.278,465.514 507.945,466.347 514.5,468C 515.748,469.959 517.415,471.459 519.5,472.5C 520.374,474.747 520.708,477.08 520.5,479.5C 519.031,477.164 517.698,474.664 516.5,472C 509.344,468.958 502.01,466.791 494.5,465.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ed7588",d:"M 789.5,449.5 C 788.552,458.718 786.885,467.718 784.5,476.5C 783.876,476.083 783.543,475.416 783.5,474.5C 785.192,465.96 787.192,457.627 789.5,449.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e2334e",d:"M 763.5,463.5 C 764.5,463.5 765.5,463.5 766.5,463.5C 767.496,459.446 767.162,455.446 765.5,451.5C 764.178,451.33 763.011,451.663 762,452.5C 761.501,456.152 761.335,459.818 761.5,463.5C 759.036,459.722 758.87,455.722 761,451.5C 765.104,446.76 770.271,444.427 776.5,444.5C 775.172,453.122 774.172,461.789 773.5,470.5C 769.06,469.724 765.727,467.39 763.5,463.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#eb2546",d:"M 763.5,463.5 C 762.833,463.5 762.167,463.5 761.5,463.5C 761.335,459.818 761.501,456.152 762,452.5C 763.011,451.663 764.178,451.33 765.5,451.5C 767.162,455.446 767.496,459.446 766.5,463.5C 765.5,463.5 764.5,463.5 763.5,463.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e24a64",d:"M 611.5,437.5 C 617.185,438.504 622.852,439.671 628.5,441C 632.333,444.167 636.167,447.333 640,450.5C 641.813,448.375 643.647,446.375 645.5,444.5C 645.467,450.819 642.467,453.319 636.5,452C 635.072,449.815 633.405,447.815 631.5,446C 624.76,444.545 618.093,442.878 611.5,441C 610.829,440.014 610.829,438.847 611.5,437.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d89c9a",d:"M 897.5,422.5 C 899.196,422.685 900.529,423.519 901.5,425C 906.279,426.728 911.279,427.728 916.5,428C 919.737,430.419 920.07,433.085 917.5,436C 914.518,436.498 911.518,436.665 908.5,436.5C 910.684,435.734 913.018,435.067 915.5,434.5C 916.833,433.167 916.833,431.833 915.5,430.5C 910.482,428.832 905.482,427.332 900.5,426C 899.29,424.961 898.29,423.794 897.5,422.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#8c7c6a",d:"M 589.5,671.5 C 592.167,671.5 594.833,671.5 597.5,671.5C 597.5,674.167 597.5,676.833 597.5,679.5C 592.125,679.828 586.792,679.495 581.5,678.5C 580.652,676.591 580.318,674.591 580.5,672.5C 583.713,672.81 586.713,672.477 589.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#e4f6e3",d:"M 119.5,691.5 C 118.38,687.983 118.38,684.316 119.5,680.5C 118.448,680.351 117.448,680.517 116.5,681C 115.636,682.697 114.303,683.863 112.5,684.5C 111.614,685.325 111.281,686.325 111.5,687.5C 110.5,687.5 109.5,687.5 108.5,687.5C 108.762,688.978 108.429,690.311 107.5,691.5C 103.879,694.133 99.8786,695.8 95.5,696.5C 98.8333,693.5 102.167,690.5 105.5,687.5C 109.589,684.917 113.256,681.75 116.5,678C 118.78,677.767 120.78,676.934 122.5,675.5C 123.11,678.714 122.277,681.714 120,684.5C 119.503,686.81 119.337,689.143 119.5,691.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#47a554",d:"M 158.5,675.5 C 154.926,678.784 151.593,682.284 148.5,686C 150.507,688.854 151.84,692.021 152.5,695.5C 152,697.5 151.5,699.5 151,701.5C 148.386,703.903 145.886,706.403 143.5,709C 142.552,709.483 141.552,709.649 140.5,709.5C 140.716,712.256 141.716,714.59 143.5,716.5C 142.178,716.67 141.011,716.337 140,715.5C 138.898,712.095 139.732,709.428 142.5,707.5C 143.076,698.736 144.242,690.069 146,681.5C 147.734,680.751 149.567,680.251 151.5,680C 153.032,679.3 154.032,678.134 154.5,676.5C 155.689,675.571 157.022,675.238 158.5,675.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#9b8474",d:"M 529.5,695.5 C 548.17,695.333 566.836,695.5 585.5,696C 576.848,697.166 568.181,698.499 559.5,700C 549.49,700.5 539.49,700.333 529.5,699.5C 529.5,698.167 529.5,696.833 529.5,695.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#d0897a",d:"M 305.5,694.5 C 307.564,694.687 309.564,695.187 311.5,696C 322.872,705.011 334.206,714.011 345.5,723C 353.6,726.771 361.934,729.771 370.5,732C 367.833,733 365.167,734 362.5,735C 354.167,735.667 345.833,735.667 337.5,735C 333.388,731.95 328.721,729.95 323.5,729C 317.59,723.761 312.423,717.928 308,711.5C 307.197,708.756 306.197,706.089 305,703.5C 304.264,700.408 304.431,697.408 305.5,694.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#5caa66",d:"M 125.5,719.5 C 121.675,718.926 118.009,717.759 114.5,716C 112.59,715.592 111.59,714.425 111.5,712.5C 112.184,709.275 113.351,706.275 115,703.5C 117.719,701.781 119.719,699.447 121,696.5C 121.599,694.465 121.099,692.799 119.5,691.5C 119.337,689.143 119.503,686.81 120,684.5C 122.277,681.714 123.11,678.714 122.5,675.5C 120.78,676.934 118.78,677.767 116.5,678C 113.256,681.75 109.589,684.917 105.5,687.5C 105.966,685.799 105.966,684.299 105.5,683C 111.3,679.215 117.134,675.382 123,671.5C 126.967,674.088 127.633,677.421 125,681.5C 123.097,683.4 121.597,685.567 120.5,688C 121.865,692.413 122.865,696.913 123.5,701.5C 121.293,702.635 118.96,703.301 116.5,703.5C 116.119,706.958 115.619,710.292 115,713.5C 118.261,714.13 121.428,715.13 124.5,716.5C 125.386,717.325 125.719,718.325 125.5,719.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#833d25",d:"M 370.5,671.5 C 372.904,676.997 377.238,679.33 383.5,678.5C 383.5,679.833 383.5,681.167 383.5,682.5C 385.927,682.523 388.26,683.023 390.5,684C 392.719,687.045 395.719,688.211 399.5,687.5C 399.5,688.5 399.5,689.5 399.5,690.5C 402.216,690.678 404.883,691.178 407.5,692C 409.164,695.136 411.831,696.303 415.5,695.5C 415.5,696.5 415.5,697.5 415.5,698.5C 418.839,698.78 421.506,700.28 423.5,703C 438.5,704.928 452.834,709.261 466.5,716C 467.5,717 468.5,718 469.5,719C 472.817,719.498 476.15,719.665 479.5,719.5C 479.5,720.5 479.5,721.5 479.5,722.5C 485.146,722.911 490.479,724.245 495.5,726.5C 495.5,728.167 495.5,729.833 495.5,731.5C 500.995,731.665 506.328,732.665 511.5,734.5C 511.5,734.833 511.5,735.167 511.5,735.5C 507.187,735.622 503.02,734.956 499,733.5C 496.521,734.245 494.021,734.911 491.5,735.5C 487.817,733.535 483.817,732.535 479.5,732.5C 479.762,731.022 479.429,729.689 478.5,728.5C 475.823,726.832 473.156,725.166 470.5,723.5C 469.585,724.328 468.919,725.328 468.5,726.5C 470.991,727.541 470.991,728.374 468.5,729C 463.106,729.124 457.773,728.457 452.5,727C 436.114,721.926 420.114,715.926 404.5,709C 401.293,708.428 399.626,706.595 399.5,703.5C 395.418,703.656 391.418,703.156 387.5,702C 381.488,697.662 374.822,694.828 367.5,693.5C 367.5,691.5 367.5,689.5 367.5,687.5C 361.289,688.032 355.956,686.365 351.5,682.5C 353.857,682.663 356.19,682.497 358.5,682C 360.394,679.108 363.061,677.441 366.5,677C 368.21,675.349 369.544,673.516 370.5,671.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#613521",d:"M 948.5,687.5 C 938.724,689.478 928.724,690.812 918.5,691.5C 906.841,690.564 895.175,690.398 883.5,691C 872.659,715.506 855.326,733.84 831.5,746C 814.152,753.172 796.152,758.172 777.5,761C 753.155,760.998 728.822,760.665 704.5,760C 686.225,763.646 669.225,770.312 653.5,780C 630.479,795.697 607.479,811.363 584.5,827C 580.725,828.606 577.058,830.44 573.5,832.5C 569.893,833.489 566.226,833.823 562.5,833.5C 565.83,829.848 570.164,828.181 575.5,828.5C 575.5,827.5 575.5,826.5 575.5,825.5C 577.857,825.663 580.19,825.497 582.5,825C 584.032,824.3 585.032,823.134 585.5,821.5C 583.589,819.298 581.255,817.631 578.5,816.5C 587.49,812.69 596.156,808.19 604.5,803C 605.305,801.887 605.972,800.721 606.5,799.5C 607.167,799.5 607.5,799.167 607.5,798.5C 614.951,795.065 621.617,790.398 627.5,784.5C 629.743,783.526 632.076,783.192 634.5,783.5C 634.5,782.5 634.5,781.5 634.5,780.5C 635.552,780.649 636.552,780.483 637.5,780C 641.367,777.093 645.034,773.926 648.5,770.5C 654.182,767.165 659.849,763.831 665.5,760.5C 667.396,759.534 669.396,759.201 671.5,759.5C 671.5,758.167 671.5,756.833 671.5,755.5C 685.992,752.188 700.658,749.855 715.5,748.5C 729.26,750.21 743.093,751.21 757,751.5C 780.559,752.04 802.726,746.874 823.5,736C 826.146,735.503 828.813,735.336 831.5,735.5C 831.5,734.167 831.5,732.833 831.5,731.5C 834.157,731.838 836.49,731.171 838.5,729.5C 840.601,726.73 843.268,724.73 846.5,723.5C 847.429,722.311 847.762,720.978 847.5,719.5C 849.144,719.714 850.644,719.38 852,718.5C 860.442,709.1 868.276,699.1 875.5,688.5C 876.689,687.571 878.022,687.238 879.5,687.5C 879.5,686.167 879.5,684.833 879.5,683.5C 889.326,681.931 899.993,681.264 911.5,681.5C 910.519,686.152 907.852,687.486 903.5,685.5C 903.36,687.124 904.027,688.29 905.5,689C 919.937,689.768 934.27,689.268 948.5,687.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#613320",d:"M 284.5,641.5 C 283.88,649.702 282.38,657.702 280,665.5C 278.319,681.475 279.653,697.142 284,712.5C 286.741,714.067 287.908,716.401 287.5,719.5C 291.206,720.522 294.539,722.356 297.5,725C 298.87,726.441 299.87,728.108 300.5,730C 306.116,731.493 311.116,733.993 315.5,737.5C 321.214,739.179 326.881,741.012 332.5,743C 347.88,744.336 363.213,746.002 378.5,748C 385.525,750.42 392.525,752.92 399.5,755.5C 403.833,758 408.167,760.5 412.5,763C 414.439,763.908 415.439,765.408 415.5,767.5C 417.527,767.338 419.527,767.505 421.5,768C 424.965,769.323 428.299,770.823 431.5,772.5C 431.5,773.5 431.5,774.5 431.5,775.5C 438.42,779.871 445.753,783.704 453.5,787C 460.667,793.081 468.334,798.414 476.5,803C 478.788,803.822 481.122,804.489 483.5,805C 488.535,808.849 493.869,812.182 499.5,815C 501.5,815.333 503.5,815.667 505.5,816C 507.664,817.491 509.664,818.991 511.5,820.5C 515.941,821.996 519.775,824.663 523,828.5C 524.473,828.868 525.973,828.368 527.5,827C 534.833,826.333 542.167,826.333 549.5,827C 552.035,827.928 553.035,829.762 552.5,832.5C 555.881,832.46 559.214,832.793 562.5,833.5C 558.03,834.486 553.363,834.819 548.5,834.5C 548.5,833.5 548.5,832.5 548.5,831.5C 543.588,831.898 538.921,832.898 534.5,834.5C 527.159,834.666 519.826,834.5 512.5,834C 504.792,832.1 497.459,829.433 490.5,826C 468.279,813.093 446.613,799.426 425.5,785C 420.905,783.543 417.239,780.876 414.5,777C 404.505,772.897 394.838,768.231 385.5,763C 371.205,758.396 356.539,756.396 341.5,757C 333.977,755.786 326.644,753.953 319.5,751.5C 319.5,750.5 319.5,749.5 319.5,748.5C 318.178,748.33 317.011,748.663 316,749.5C 312.623,746.102 308.456,744.436 303.5,744.5C 303.238,743.022 303.571,741.689 304.5,740.5C 307.332,741.58 310.165,742.58 313,743.5C 314.205,742.929 315.372,742.262 316.5,741.5C 316.291,740.914 315.957,740.414 315.5,740C 312.039,739.006 308.539,738.173 305,737.5C 302.733,739.258 300.233,739.758 297.5,739C 295.76,737.306 293.76,736.139 291.5,735.5C 291.281,734.325 291.614,733.325 292.5,732.5C 298.126,727.904 297.126,725.737 289.5,726C 290.821,727.545 290.488,728.711 288.5,729.5C 287.264,728.754 285.93,728.421 284.5,728.5C 284.649,727.448 284.483,726.448 284,725.5C 282.333,724.5 280.667,723.5 279,722.5C 276.846,717.215 275.012,711.882 273.5,706.5C 273.621,694.566 274.121,682.566 275,670.5C 275.333,670.833 275.667,671.167 276,671.5C 277.306,668.388 278.472,665.221 279.5,662C 278.002,657.93 277.002,653.764 276.5,649.5C 279.333,647.041 282,644.375 284.5,641.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a8543a",d:"M 602.5,779.5 C 603.209,778.596 604.209,778.263 605.5,778.5C 605.294,785.281 605.961,791.948 607.5,798.5C 607.5,799.167 607.167,799.5 606.5,799.5C 598.721,803.442 591.054,807.609 583.5,812C 575.457,814.957 567.457,817.79 559.5,820.5C 552.132,819.655 544.799,818.488 537.5,817C 536.944,816.617 536.611,816.117 536.5,815.5C 542.518,816.778 548.518,816.611 554.5,815C 559.624,812.737 564.957,811.07 570.5,810C 579.201,805 587.867,800 596.5,795C 599.096,793.864 601.763,793.031 604.5,792.5C 605.097,787.706 604.43,783.373 602.5,779.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#ca7e6c",d:"M 602.5,779.5 C 604.43,783.373 605.097,787.706 604.5,792.5C 601.763,793.031 599.096,793.864 596.5,795C 587.867,800 579.201,805 570.5,810C 564.957,811.07 559.624,812.737 554.5,815C 548.518,816.611 542.518,816.778 536.5,815.5C 529.48,814.333 522.48,812.833 515.5,811C 529.565,807.212 543.565,803.212 557.5,799C 572.183,791.825 587.183,785.325 602.5,779.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#63301d",d:"M 606.5,799.5 C 605.972,800.721 605.305,801.887 604.5,803C 596.156,808.19 587.49,812.69 578.5,816.5C 581.255,817.631 583.589,819.298 585.5,821.5C 585.032,823.134 584.032,824.3 582.5,825C 580.19,825.497 577.857,825.663 575.5,825.5C 575.5,826.5 575.5,827.5 575.5,828.5C 570.164,828.181 565.83,829.848 562.5,833.5C 559.214,832.793 555.881,832.46 552.5,832.5C 553.035,829.762 552.035,827.928 549.5,827C 542.167,826.333 534.833,826.333 527.5,827C 525.973,828.368 524.473,828.868 523,828.5C 519.775,824.663 515.941,821.996 511.5,820.5C 527.582,824.311 543.582,824.311 559.5,820.5C 567.457,817.79 575.457,814.957 583.5,812C 591.054,807.609 598.721,803.442 606.5,799.5 Z"})),i.createElement("g",null,i.createElement("path",{style:{opacity:1},fill:"#a8a095",d:"M 548.5,834.5 C 543.833,834.5 539.167,834.5 534.5,834.5C 538.921,832.898 543.588,831.898 548.5,831.5C 548.5,832.5 548.5,833.5 548.5,834.5 Z"})))}const A=i.forwardRef(x);n.p;var E=n(92838),_=n(4377),T=n.n(_),S=n(66653),k=n.n(S),P=n(72012),D=n(99334);const N=e=>{let t,n,{isSmall:r,isMedium:i,isLarge:a,innerText:s,children:u,token:d="fusd",justifyStart:p=!1}=e;switch(d.toLowerCase()){case"fusd":t=(0,D.jsx)(l,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="FUSD";break;case"flow":t=(0,D.jsx)(c.h,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="FLOW";break;case"fut":t=(0,D.jsx)(b.h,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="Dapper FLOW";break;case"usdc":t=(0,D.jsx)(C,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="USDC";break;case"duc":t=(0,D.jsx)(y.h,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="Dapper Balance";break;case"sloppy":case"sloppystakes":t=(0,D.jsx)(A,{style:{backgroundSize:"20px 20px"},height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="Sloppy Stakes";break;case"usdt":t=(0,D.jsx)(h,{height:r?13:i?18:a?24:30,width:r?13:i?18:a?24:27}),n="USDT";break;default:return null}return(0,D.jsxs)("div",{className:"nft-price flex items-center ".concat(p?"justify-start gap-x-2":"justify-between"," ").concat(r?"small":i?"medium":""),children:[(0,D.jsx)(o.o,{Comp:t,tooltipText:n,tooltipId:"display-token-tooltip"}),u,s&&(0,D.jsx)("p",{className:"text-white text-sm ms-1",children:s})]})},F=e=>{let{isSmall:t,isMedium:n,isLarge:r,innerText:i,token:o,children:a}=e;return(0,D.jsx)(N,{isSmall:t,isMedium:n,isLarge:r,innerText:i,token:o,children:a})},I=e=>{let{amount:t,fontSize:n,isMedium:r=!1,isSmall:i,largeText:o,justifyStart:a,token:s=E.HT.toLowerCase(),testId:l}=e;return(0,D.jsx)(N,{isSmall:i,token:s,isMedium:r,justifyStart:a,children:(0,D.jsx)("div",{className:"text-bold ".concat(n||"text-base"," font-montserrat inline-block ms-1 ").concat(o&&"text-sm"),"data-testid":l,children:!k()(t)&&T()(t).format("0,0.00")})})},R=e=>{let{amount:t,isSmall:n,largeText:r,token:i=E.HT.toLowerCase()}=e;return(0,D.jsx)(N,{isSmall:n,token:i,children:(0,D.jsx)("div",{className:"text-bold text-base inline-block font-montserrat ms-1 ".concat(r&&"text-sm"),children:!k()(t)&&(0,P.K)(t)})})}},48231:(e,t,n)=>{"use strict";n.d(t,{E6:()=>u,su:()=>d});var r=n(19388),i=n(2035),o=n.n(i),a=n(98081),s=n(89425),l=n(92838);const c={"0xFlowty":"0x5c57f79c6694797f","0xFlowtyRentals":"0x5c57f79c6694797f","0xFungibleToken":"0xf233dcee88fe0abe","0xNonFungibleToken":"0x1d7e57aa55817448",NFTCollection:"NFTCollection","accessNode.api":l.KS,"app.detail.icon":"https://storage.googleapis.com/flowty-images/flowty-logo.jpeg","app.detail.title":"Flowty","challenge.scope":"email","discovery.authn.endpoint":"https://fcl-discovery.onflow.org/api/authn","discovery.authn.include":l.KS.includes("mainnet")?["0xead892083b3e2c6c"]:["0x82ec283f88a62e65"],"discovery.wallet":"https://fcl-discovery.onflow.org/authn","fcl.accountProof.resolver":async()=>{const e=await o().get("".concat(l.Sw,"/auth/proof"),{validateStatus:e=>!0});return(0,s.t)("accountProofDataResolver",{...e.data}),e.data},"fcl.appDomainTag":"flowty-V0.0-user","walletconnect.projectId":"f7123e5336b0e8f36e501e08130ca360"};(0,r.config)(c);const u=()=>{(0,s.t)("resetting config..."),(0,r.config)(c)},d=(new a.FlowtyBuilder).withNetwork(l.pG).withApiURL(l.Sw).withCrescendo(l.SB).build();"true"==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_FLOWTY_DEBUG&&(window.flowty=d)},27149:(e,t,n)=>{"use strict";n.d(t,{H:()=>d,g:()=>h});var r=n(88642),i=n(61462),o=n(14146),a=n(89425),s=n(48231),l=n(78273),c=n(99334);const u=(0,i.createContext)({hybridCustodyNFTStatus:{},iterateAndRunScript:()=>{},publicAccountNftProviders:{}}),d=(0,r.WQ)("authStore")((0,r.PA)((e=>{let{children:t,authStore:n}=e;const[r,d]=(0,i.useState)({}),[h,p]=(0,i.useState)({});return(0,c.jsx)(u.Provider,{value:{hybridCustodyNFTStatus:r,iterateAndRunScript:async(e,t,r)=>{t&&Object.entries(t).forEach((async t=>{let[i]=t;Object.entries(e).forEach((async e=>{let[t,c]=e;const u=c.split("."),h=u[0],f=u[1];if(h&&f)try{var m,g,v,C,y,b;const e=await(0,o.r)({collectionAddress:h,collectionName:f});if(!s.su.config.crescendo&&(null===e||void 0===e||null===(m=e.collectionData)||void 0===m||null===(g=m.providerPath)||void 0===g||!g.identifier))return void(0,a.t)("No provider path for the following collection: ",f,{res:e});const t=await s.su.scripts.getHybridCustodyNFTProviderPathsForStorage(r,i,null!==(v=null===e||void 0===e||null===(C=e.collectionData)||void 0===C||null===(y=C.storagePath)||void 0===y?void 0:y.identifier)&&void 0!==v?v:"");(null===n||void 0===n||null===(b=n.loggedUser)||void 0===b?void 0:b.addr)===r?d((e=>({...e,[i]:{...e[i],[c]:t}}))):p((e=>({...e,[i]:{...e[i],[c]:t}})))}catch(w){l.o.track("ERROR_GETTING_HYBRID_CUSTODY_NFT_PROVIDER_PATHS",{error:w})}}))}))},publicAccountNftProviders:h},children:t})}))),h=()=>{const e=(0,i.useContext)(u);if(void 0===e)throw new Error("useHybridCustodyContext must be used within a HybridCustodyProvider");return e}},28117:(e,t,n)=>{"use strict";n.d(t,{e:()=>b,h:()=>w});var r=n(2035),i=n.n(r),o=n(88642),a=n(61462),s=n(95899),l=n(98853),c=n(67687),u=n(12273),d=n(39744),h=n(78273),p=n(99334);const f=()=>{const{bulkSelectedLength:e,bulkLimit:t,toggleBulkList:n,unSelectAll:r,openBulkPopUp:i,isBulkPopUpOpen:o,listedSelected:a,notListedSelected:s}=w();return(0,p.jsx)("div",{className:"w-full fixed bottom-0 py-3 bg-[#04070b] backdrop-blur-2xl border-t border-[#495057]",children:(0,p.jsxs)("div",{className:"flex justify-between items-center container",children:[(0,p.jsxs)("div",{className:"flex items-center gap-2 ml-3",children:[e>0&&(0,p.jsx)("div",{onClick:()=>{r(),h.o.track("BULK_UNSELECTALL_CLICKED",{bulkSelectedLength:e})},className:"p-[6px] rounded-md bg-[#ffffff14] border-[0.3px] border-[#6C757D40] cursor-pointer","data-testid":"unselect-all-btn",children:(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,p.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 10C5 9.44772 5.44772 9 6 9L14 9C14.5523 9 15 9.44772 15 10C15 10.5523 14.5523 11 14 11L6 11C5.44772 11 5 10.5523 5 10Z",fill:"#F8F9FA"})})}),(0,p.jsxs)("p",{className:"text-sm font-bold ".concat(e===t&&"text-red-500"),children:[" ",e," Selected"]}),(0,p.jsxs)("p",{className:"text-sm font-normal max-md:hidden",children:[(0,p.jsx)("span",{className:"font-bold",children:"\u2022"})," Select NFTs to perform bulk actions"]})]}),(0,p.jsxs)("div",{className:"flex items-center gap-2",children:[s.length>0&&(0,p.jsxs)(d.m_,{id:"nft-listed-only",style:{backgroundColor:"#ffffffe6",color:"#031021",fontSize:"14px"},children:[(0,p.jsx)("p",{className:"text-xs font-bold",children:"Select only listed"}),(0,p.jsx)("p",{className:"text-xs",children:" NFTs to delist"})]}),(0,p.jsxs)("div",{"data-tooltip-id":"nft-listed-only","data-tooltip-place":"top",children:[" ",(0,p.jsx)(u.M2,{text:"Delist",onClick:()=>{i("delist"),h.o.track("BULK_DELISTING_CLOSED",{bulkSelectedLength:e})},disabled:0===e||s.length>0,variant:"secondary",btnSize:"small"})," "]}),(0,p.jsx)(u.M2,{text:a.length>0?"List/Edit":"List",disabled:0===e,onClick:()=>{h.o.track("BULK_LISTING_OPENED",{action:a.length>0?"List/Edit":"List"}),i("list")},variant:"secondary",btnSize:"small"}),(0,p.jsx)(c.A,{onClick:()=>{h.o.track("BULK_LISTING_CLOSED",{bulkSelectedLength:e}),n()},className:"h-6 mx-3 w-[40px] cursor-pointer max-md:hidden"})]})]})})};var m=n(68875),g=n(48470),v=n(89425),C=n(92838);const y=(0,a.createContext)({accountSummaries:{},bulkFormCachedValues:null,bulkLimit:75,bulkListActive:!1,bulkPurchaseSelecteds:new Map,bulkSelectedLength:0,bulkSelectedsValuation:new Map,cacheValues:e=>{},clearBulkListModal:()=>{},closeBulkListAndClean:()=>{},closeBulkPopUp:e=>{},isBulkPopUpOpen:{bulkType:null,isOpen:!1},isDapper:!1,listedSelected:[],loggedUserAddress:"",notListedSelected:[],onBulkPurchaseSelected:e=>{},openBulkPopUp:e=>{},renderMobile:!1,toggleBulkList:()=>{},unSelectAll:()=>{}}),b=(0,o.WQ)("authStore")((0,o.PA)((e=>{var t,r,o;let{authStore:c,children:u}=e;const[d,h]=(0,a.useState)(!1),[b,w]=(0,a.useState)({bulkType:"list",isOpen:!1}),[x,A]=(0,a.useState)(null),[E,_]=(0,a.useState)(new Map),[T,S]=(0,a.useState)(new Map),{width:k}=(0,m.k)(),P=k<768,D=e=>{A((t=>t?Object.assign({},t,e):e))},N=(0,a.useCallback)((()=>{h((e=>!e))}),[]),F=(0,a.useCallback)((()=>{A(null),_(new Map)}),[]),I=document.body,R=e=>{E.size>0&&(I.classList.add("overflow-hidden"),w({bulkType:e,isOpen:!0}))},M=e=>{w({bulkType:null,isOpen:!1}),I.classList.remove("overflow-hidden"),D(e)},O=()=>{A(null),h(!1),w({bulkType:null,isOpen:!1}),I.classList.remove("overflow-hidden"),F()},[j,L]=(0,a.useState)(!1),B=(0,a.useCallback)((e=>{var t;const n=null===(t=e.orders)||void 0===t?void 0:t.find((e=>"storefront"===e.listingKind));return{discountToFMV:0,flowNftType:null,flowtyRate:"",nft:e,nftValuation:void 0,priceValue:n?n.amount:"",receivedValue:"",royaltyRate:"",storefrontListedToken:n?n.paymentTokenName:""}}),[]),U=(0,a.useCallback)((e=>{const t="".concat(e.contractAddress,".").concat(e.contractName,".").concat(e.id);if(75===E.size&&!E.has(t))return void L(!0);const n=new Map(E);if(n.has(t))n.delete(t),x&&A((e=>e?{...e,items:e.items.filter((e=>{const n="".concat(e.nft.contractAddress,".").concat(e.nft.contractName,".").concat(e.nft.id);return t!==n}))}:e));else{n.set(t,B(e)),x&&A((t=>{if(t){var n;const r=null===(n=e.orders)||void 0===n?void 0:n.find((e=>"storefront"===e.listingKind));t.items.push({discountToFMV:0,flowNftType:null,flowtyRate:"",nft:e,nftValuation:void 0,priceValue:r?r.amount:"",receivedValue:"",royaltyRate:"",storefrontListedToken:r?r.paymentTokenName:""})}return t}));const r={contractAddress:"".concat(null===e||void 0===e?void 0:e.contractAddress),contractName:"".concat(null===e||void 0===e?void 0:e.contractName),nftID:(null===e||void 0===e?void 0:e.id.toString())||""},o=i().post("".concat(C.Sw,"/nft/valuation"),r).then((e=>e.data)).catch((e=>{(0,v.t)({err:e})}));S((e=>(e.set(t,o),e)))}0===n.size&&w({bulkType:null,isOpen:!1}),_(n)}),[E,x]),V=(0,a.useMemo)((()=>E.size),[E]),H=(0,a.useMemo)((()=>Array.from(E.values()).filter((e=>""!==(null===e||void 0===e?void 0:e.priceValue)))),[E]),z=(0,a.useMemo)((()=>Array.from(E.values()).filter((e=>""===(null===e||void 0===e?void 0:e.priceValue)))),[E]),Z=(null===c||void 0===c||null===(t=c.loggedUser)||void 0===t?void 0:t.isDapper)||!1,W=(null===c||void 0===c||null===(r=c.loggedUser)||void 0===r?void 0:r.accountSummaries)||{},q=(null===c||void 0===c||null===(o=c.loggedUser)||void 0===o?void 0:o.addr)||"",G=(0,l.zy)(),Y=G.pathname.includes("profile"),K=(0,a.useCallback)((()=>{O()}),[]);(0,a.useEffect)((()=>{!d&&!b||Y||K()}),[G.pathname]);const Q=(0,a.useMemo)((()=>({accountSummaries:W,bulkFormCachedValues:x,bulkLimit:75,bulkListActive:d,bulkPurchaseSelecteds:E,bulkSelectedLength:V,bulkSelectedsValuation:T,cacheValues:D,clearBulkListModal:K,closeBulkListAndClean:O,closeBulkPopUp:M,isBulkPopUpOpen:b,isDapper:Z,listedSelected:H,loggedUserAddress:q,notListedSelected:z,onBulkPurchaseSelected:U,openBulkPopUp:R,renderMobile:P,toggleBulkList:N,unSelectAll:F})),[E,d,x]),X=(0,a.lazy)((()=>n.e(944).then(n.bind(n,63944))));return(0,p.jsxs)(y.Provider,{value:Q,children:[u,(0,p.jsx)(g.s,{setShow:L,show:j,seconds:4,message:"You can only select ".concat(75," items at a time."),type:"WARNING"}),d&&(0,p.jsx)(f,{}),b.isOpen&&(0,p.jsx)(a.Suspense,{fallback:(0,p.jsx)("div",{className:"absolute top-0 bg-[#000000cc] w-full h-screen mx-auto my-auto flex items-center justify-center z-40",children:(0,p.jsx)(s.BM,{height:150,width:150})}),children:(0,p.jsx)(X,{bulkType:b.bulkType})})]})}))),w=()=>{const e=(0,a.useContext)(y);if(void 0===e)throw new Error("useMarketplaceAppContext must be used within a MarketplaceAppProvider");return e}},96321:(e,t,n)=>{"use strict";n.d(t,{j2:()=>cs,db:()=>ls,kA:()=>ds,IG:()=>ss});var r=n(75805),i=n(35877),o=n(88729),a=n(76096);class s{constructor(e,t){this._delegate=e,this.firebase=t,(0,o._addComponent)(e,new i.uA("app-compat",(()=>this),"PUBLIC")),this.container=e.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this._delegate.automaticDataCollectionEnabled=e}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise((e=>{this._delegate.checkDestroyed(),e()})).then((()=>(this.firebase.INTERNAL.removeApp(this.name),(0,o.deleteApp)(this._delegate))))}_getService(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o._DEFAULT_ENTRY_NAME;var n;this._delegate.checkDestroyed();const r=this._delegate.container.getProvider(e);return r.isInitialized()||"EXPLICIT"!==(null===(n=r.getComponent())||void 0===n?void 0:n.instantiationMode)||r.initialize(),r.getImmediate({identifier:t})}_removeServiceInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o._DEFAULT_ENTRY_NAME;this._delegate.container.getProvider(e).clearInstance(t)}_addComponent(e){(0,o._addComponent)(this._delegate,e)}_addOrOverwriteComponent(e){(0,o._addOrOverwriteComponent)(this._delegate,e)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const l={"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."},c=new r.FA("app-compat","Firebase",l);const u=function e(){const t=function(e){const t={},n={__esModule:!0,initializeApp:function(i){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=o.initializeApp(i,a);if((0,r.gR)(t,s.name))return t[s.name];const l=new e(s,n);return t[s.name]=l,l},app:i,registerVersion:o.registerVersion,setLogLevel:o.setLogLevel,onLog:o.onLog,apps:null,SDK_VERSION:o.SDK_VERSION,INTERNAL:{registerComponent:function(t){const a=t.name,s=a.replace("-compat","");if(o._registerComponent(t)&&"PUBLIC"===t.type){const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i();if("function"!==typeof e[s])throw c.create("invalid-app-argument",{appName:a});return e[s]()};void 0!==t.serviceProps&&(0,r.zw)(o,t.serviceProps),n[s]=o,e.prototype[s]=function(){const e=this._getService.bind(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.apply(this,t.multipleInstances?r:[])}}return"PUBLIC"===t.type?n[s]:null},removeApp:function(e){delete t[e]},useAsService:function(e,t){return"serverAuth"===t?null:t},modularAPIs:o}};function i(e){if(e=e||o._DEFAULT_ENTRY_NAME,!(0,r.gR)(t,e))throw c.create("no-app",{appName:e});return t[e]}return n.default=n,Object.defineProperty(n,"apps",{get:function(){return Object.keys(t).map((e=>t[e]))}}),i.App=e,n}(s);return t.INTERNAL=Object.assign(Object.assign({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){(0,r.zw)(t,e)},createSubscribe:r.tD,ErrorFactory:r.FA,deepExtend:r.zw}),t}(),d=new a.Vy("@firebase/app-compat");if((0,r.Bd)()&&void 0!==self.firebase){d.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");const e=self.firebase.SDK_VERSION;e&&e.indexOf("LITE")>=0&&d.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}const h=u;var p;(0,o.registerVersion)("@firebase/app-compat","0.2.36",p);h.registerVersion("firebase","10.12.3","app-compat");const f="firebasestorage.googleapis.com",m="storageBucket";class g extends r.g{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;super(y(e),"Firebase Storage: ".concat(t," (").concat(y(e),")")),this.status_=n,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,g.prototype)}get status(){return this.status_}set status(e){this.status_=e}_codeEquals(e){return y(e)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(e){this.customData.serverResponse=e,this.customData.serverResponse?this.message="".concat(this._baseMessage,"\n").concat(this.customData.serverResponse):this.message=this._baseMessage}}var v,C;function y(e){return"storage/"+e}function b(){return new g(v.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function w(){return new g(v.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function x(){return new g(v.CANCELED,"User canceled the upload/download.")}function A(){return new g(v.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function E(e){return new g(v.INVALID_ARGUMENT,e)}function _(){return new g(v.APP_DELETED,"The Firebase app was deleted.")}function T(e){return new g(v.INVALID_ROOT_OPERATION,"The operation '"+e+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function S(e,t){return new g(v.INVALID_FORMAT,"String does not match format '"+e+"': "+t)}function k(e){throw new g(v.INTERNAL_ERROR,"Internal error: "+e)}!function(e){e.UNKNOWN="unknown",e.OBJECT_NOT_FOUND="object-not-found",e.BUCKET_NOT_FOUND="bucket-not-found",e.PROJECT_NOT_FOUND="project-not-found",e.QUOTA_EXCEEDED="quota-exceeded",e.UNAUTHENTICATED="unauthenticated",e.UNAUTHORIZED="unauthorized",e.UNAUTHORIZED_APP="unauthorized-app",e.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",e.INVALID_CHECKSUM="invalid-checksum",e.CANCELED="canceled",e.INVALID_EVENT_NAME="invalid-event-name",e.INVALID_URL="invalid-url",e.INVALID_DEFAULT_BUCKET="invalid-default-bucket",e.NO_DEFAULT_BUCKET="no-default-bucket",e.CANNOT_SLICE_BLOB="cannot-slice-blob",e.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",e.NO_DOWNLOAD_URL="no-download-url",e.INVALID_ARGUMENT="invalid-argument",e.INVALID_ARGUMENT_COUNT="invalid-argument-count",e.APP_DELETED="app-deleted",e.INVALID_ROOT_OPERATION="invalid-root-operation",e.INVALID_FORMAT="invalid-format",e.INTERNAL_ERROR="internal-error",e.UNSUPPORTED_ENVIRONMENT="unsupported-environment"}(v||(v={}));class P{constructor(e,t){this.bucket=e,this.path_=t}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(e,t){let n;try{n=P.makeFromUrl(e,t)}catch(i){return new P(e,"")}if(""===n.path)return n;throw r=e,new g(v.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+r+"'.");var r}static makeFromUrl(e,t){let n=null;const r="([A-Za-z0-9.\\-_]+)";const i=new RegExp("^gs://"+r+"(/(.*))?$","i");function o(e){e.path_=decodeURIComponent(e.path)}const a=t.replace(/[.]/g,"\\."),s=[{regex:i,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:new RegExp("^https?://".concat(a,"/").concat("v[A-Za-z0-9_]+","/b/").concat(r,"/o").concat("(/([^?#]*).*)?$"),"i"),indices:{bucket:1,path:3},postModify:o},{regex:new RegExp("^https?://".concat(t===f?"(?:storage.googleapis.com|storage.cloud.google.com)":t,"/").concat(r,"/").concat("([^?#]*)"),"i"),indices:{bucket:1,path:2},postModify:o}];for(let l=0;l<s.length;l++){const t=s[l],r=t.regex.exec(e);if(r){const e=r[t.indices.bucket];let i=r[t.indices.path];i||(i=""),n=new P(e,i),t.postModify(n);break}}if(null==n)throw function(e){return new g(v.INVALID_URL,"Invalid URL '"+e+"'.")}(e);return n}}class D{constructor(e){this.promise_=Promise.reject(e)}getPromise(){return this.promise_}cancel(){}}function N(e){return"string"===typeof e||e instanceof String}function F(e){return I()&&e instanceof Blob}function I(){return"undefined"!==typeof Blob}function R(e,t,n,r){if(r<t)throw E("Invalid value for '".concat(e,"'. Expected ").concat(t," or greater."));if(r>n)throw E("Invalid value for '".concat(e,"'. Expected ").concat(n," or less."))}function M(e,t,n){let r=t;return null==n&&(r="https://".concat(t)),"".concat(n,"://").concat(r,"/v0").concat(e)}function O(e){const t=encodeURIComponent;let n="?";for(const r in e)if(e.hasOwnProperty(r)){n=n+(t(r)+"="+t(e[r]))+"&"}return n=n.slice(0,-1),n}function j(e,t){const n=e>=500&&e<600,r=-1!==[408,429].indexOf(e),i=-1!==t.indexOf(e);return n||r||i}!function(e){e[e.NO_ERROR=0]="NO_ERROR",e[e.NETWORK_ERROR=1]="NETWORK_ERROR",e[e.ABORT=2]="ABORT"}(C||(C={}));class L{constructor(e,t,n,r,i,o,a,s,l,c,u){let d=!(arguments.length>11&&void 0!==arguments[11])||arguments[11];this.url_=e,this.method_=t,this.headers_=n,this.body_=r,this.successCodes_=i,this.additionalRetryCodes_=o,this.callback_=a,this.errorCallback_=s,this.timeout_=l,this.progressCallback_=c,this.connectionFactory_=u,this.retry=d,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise(((e,t)=>{this.resolve_=e,this.reject_=t,this.start_()}))}start_(){const e=(e,t)=>{if(t)return void e(!1,new B(!1,null,!0));const n=this.connectionFactory_();this.pendingConnection_=n;const r=e=>{const t=e.loaded,n=e.lengthComputable?e.total:-1;null!==this.progressCallback_&&this.progressCallback_(t,n)};null!==this.progressCallback_&&n.addUploadProgressListener(r),n.send(this.url_,this.method_,this.body_,this.headers_).then((()=>{null!==this.progressCallback_&&n.removeUploadProgressListener(r),this.pendingConnection_=null;const t=n.getErrorCode()===C.NO_ERROR,i=n.getStatus();if(!t||j(i,this.additionalRetryCodes_)&&this.retry){const t=n.getErrorCode()===C.ABORT;return void e(!1,new B(!1,null,t))}const o=-1!==this.successCodes_.indexOf(i);e(!0,new B(o,n))}))},t=(e,t)=>{const n=this.resolve_,r=this.reject_,i=t.connection;if(t.wasSuccessCode)try{const e=this.callback_(i,i.getResponse());void 0!==e?n(e):n()}catch(o){r(o)}else if(null!==i){const e=b();e.serverResponse=i.getErrorText(),this.errorCallback_?r(this.errorCallback_(i,e)):r(e)}else if(t.canceled){r(this.appDelete_?_():x())}else{r(w())}};this.canceled_?t(0,new B(!1,null,!0)):this.backoffId_=function(e,t,n){let r=1,i=null,o=null,a=!1,s=0;function l(){return 2===s}let c=!1;function u(){if(!c){c=!0;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.apply(null,n)}}function d(t){i=setTimeout((()=>{i=null,e(p,l())}),t)}function h(){o&&clearTimeout(o)}function p(e){if(c)return void h();for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(e)return h(),void u.call(null,e,...n);if(l()||a)return h(),void u.call(null,e,...n);let o;r<64&&(r*=2),1===s?(s=2,o=0):o=1e3*(r+Math.random()),d(o)}let f=!1;function m(e){f||(f=!0,h(),c||(null!==i?(e||(s=2),clearTimeout(i),d(0)):e||(s=1)))}return d(0),o=setTimeout((()=>{a=!0,m(!0)}),n),m}(e,t,this.timeout_)}getPromise(){return this.promise_}cancel(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class B{constructor(e,t,n){this.wasSuccessCode=e,this.connection=t,this.canceled=!!n}}function U(){return"undefined"!==typeof BlobBuilder?BlobBuilder:"undefined"!==typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0}function V(){const e=U();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(void 0!==e){const t=new e;for(let e=0;e<n.length;e++)t.append(n[e]);return t.getBlob()}if(I())return new Blob(n);throw new g(v.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}function H(e){if("undefined"===typeof atob)throw t="base-64",new g(v.UNSUPPORTED_ENVIRONMENT,"".concat(t," is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information."));var t;return atob(e)}const z={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};class Z{constructor(e,t){this.data=e,this.contentType=t||null}}function W(e,t){switch(e){case z.RAW:return new Z(q(t));case z.BASE64:case z.BASE64URL:return new Z(G(e,t));case z.DATA_URL:return new Z(function(e){const t=new Y(e);return t.base64?G(z.BASE64,t.rest):function(e){let t;try{t=decodeURIComponent(e)}catch(n){throw S(z.DATA_URL,"Malformed data URL.")}return q(t)}(t.rest)}(t),new Y(t).contentType)}throw b()}function q(e){const t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r<=127)t.push(r);else if(r<=2047)t.push(192|r>>6,128|63&r);else if(55296===(64512&r)){if(n<e.length-1&&56320===(64512&e.charCodeAt(n+1))){r=65536|(1023&r)<<10|1023&e.charCodeAt(++n),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r)}else t.push(239,191,189)}else 56320===(64512&r)?t.push(239,191,189):t.push(224|r>>12,128|r>>6&63,128|63&r)}return new Uint8Array(t)}function G(e,t){switch(e){case z.BASE64:{const n=-1!==t.indexOf("-"),r=-1!==t.indexOf("_");if(n||r){throw S(e,"Invalid character '"+(n?"-":"_")+"' found: is it base64url encoded?")}break}case z.BASE64URL:{const n=-1!==t.indexOf("+"),r=-1!==t.indexOf("/");if(n||r){throw S(e,"Invalid character '"+(n?"+":"/")+"' found: is it base64 encoded?")}t=t.replace(/-/g,"+").replace(/_/g,"/");break}}let n;try{n=H(t)}catch(i){if(i.message.includes("polyfill"))throw i;throw S(e,"Invalid character found")}const r=new Uint8Array(n.length);for(let o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}class Y{constructor(e){this.base64=!1,this.contentType=null;const t=e.match(/^data:([^,]+)?,/);if(null===t)throw S(z.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");const n=t[1]||null;null!=n&&(this.base64=function(e,t){if(!(e.length>=t.length))return!1;return e.substring(e.length-t.length)===t}(n,";base64"),this.contentType=this.base64?n.substring(0,n.length-7):n),this.rest=e.substring(e.indexOf(",")+1)}}class K{constructor(e,t){let n=0,r="";F(e)?(this.data_=e,n=e.size,r=e.type):e instanceof ArrayBuffer?(t?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),n=this.data_.length):e instanceof Uint8Array&&(t?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),n=e.length),this.size_=n,this.type_=r}size(){return this.size_}type(){return this.type_}slice(e,t){if(F(this.data_)){const n=function(e,t,n){return e.webkitSlice?e.webkitSlice(t,n):e.mozSlice?e.mozSlice(t,n):e.slice?e.slice(t,n):null}(this.data_,e,t);return null===n?null:new K(n)}{const n=new Uint8Array(this.data_.buffer,e,t-e);return new K(n,!0)}}static getBlob(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(I()){const e=t.map((e=>e instanceof K?e.data_:e));return new K(V.apply(null,e))}{const e=t.map((e=>N(e)?W(z.RAW,e).data:e.data_));let n=0;e.forEach((e=>{n+=e.byteLength}));const r=new Uint8Array(n);let i=0;return e.forEach((e=>{for(let t=0;t<e.length;t++)r[i++]=e[t]})),new K(r,!0)}}uploadData(){return this.data_}}function Q(e){let t;try{t=JSON.parse(e)}catch(r){return null}return"object"!==typeof(n=t)||Array.isArray(n)?null:t;var n}function X(e){const t=e.lastIndexOf("/",e.length-2);return-1===t?e:e.slice(t+1)}function J(e,t){return t}class ${constructor(e,t,n,r){this.server=e,this.local=t||e,this.writable=!!n,this.xform=r||J}}let ee=null;function te(){if(ee)return ee;const e=[];e.push(new $("bucket")),e.push(new $("generation")),e.push(new $("metageneration")),e.push(new $("name","fullPath",!0));const t=new $("name");t.xform=function(e,t){return function(e){return!N(e)||e.length<2?e:X(e)}(t)},e.push(t);const n=new $("size");return n.xform=function(e,t){return void 0!==t?Number(t):t},e.push(n),e.push(new $("timeCreated")),e.push(new $("updated")),e.push(new $("md5Hash",null,!0)),e.push(new $("cacheControl",null,!0)),e.push(new $("contentDisposition",null,!0)),e.push(new $("contentEncoding",null,!0)),e.push(new $("contentLanguage",null,!0)),e.push(new $("contentType",null,!0)),e.push(new $("metadata","customMetadata",!0)),ee=e,ee}function ne(e,t,n){const r={type:"file"},i=n.length;for(let o=0;o<i;o++){const e=n[o];r[e.local]=e.xform(r,t[e.server])}return function(e,t){Object.defineProperty(e,"ref",{get:function(){const n=e.bucket,r=e.fullPath,i=new P(n,r);return t._makeStorageReference(i)}})}(r,e),r}function re(e,t,n){const r=Q(t);if(null===r)return null;return ne(e,r,n)}function ie(e,t){const n={},r=t.length;for(let i=0;i<r;i++){const r=t[i];r.writable&&(n[r.server]=e[r.local])}return JSON.stringify(n)}const oe="prefixes",ae="items";function se(e,t,n){const r=Q(n);if(null===r)return null;return function(e,t,n){const r={prefixes:[],items:[],nextPageToken:n.nextPageToken};if(n[oe])for(const i of n[oe]){const n=i.replace(/\/$/,""),o=e._makeStorageReference(new P(t,n));r.prefixes.push(o)}if(n[ae])for(const i of n[ae]){const n=e._makeStorageReference(new P(t,i.name));r.items.push(n)}return r}(e,t,r)}class le{constructor(e,t,n,r){this.url=e,this.method=t,this.handler=n,this.timeout=r,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function ce(e){if(!e)throw b()}function ue(e,t){return function(n,r){const i=re(e,r,t);return ce(null!==i),i}}function de(e,t){return function(n,r){const i=re(e,r,t);return ce(null!==i),function(e,t,n,r){const i=Q(t);if(null===i)return null;if(!N(i.downloadTokens))return null;const o=i.downloadTokens;if(0===o.length)return null;const a=encodeURIComponent;return o.split(",").map((t=>{const i=e.bucket,o=e.fullPath;return M("/b/"+a(i)+"/o/"+a(o),n,r)+O({alt:"media",token:t})}))[0]}(i,r,e.host,e._protocol)}}function he(e){return function(t,n){let r;var i,o;return 401===t.getStatus()?r=t.getErrorText().includes("Firebase App Check token is invalid")?new g(v.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project."):new g(v.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again."):402===t.getStatus()?(o=e.bucket,r=new g(v.QUOTA_EXCEEDED,"Quota for bucket '"+o+"' exceeded, please view quota on https://firebase.google.com/pricing/.")):403===t.getStatus()?(i=e.path,r=new g(v.UNAUTHORIZED,"User does not have permission to access '"+i+"'.")):r=n,r.status=t.getStatus(),r.serverResponse=n.serverResponse,r}}function pe(e){const t=he(e);return function(n,r){let i=t(n,r);var o;return 404===n.getStatus()&&(o=e.path,i=new g(v.OBJECT_NOT_FOUND,"Object '"+o+"' does not exist.")),i.serverResponse=r.serverResponse,i}}function fe(e,t,n){const r=M(t.fullServerUrl(),e.host,e._protocol),i=e.maxOperationRetryTime,o=new le(r,"GET",ue(e,n),i);return o.errorHandler=pe(t),o}function me(e,t,n,r,i){const o={};t.isRoot?o.prefix="":o.prefix=t.path+"/",n&&n.length>0&&(o.delimiter=n),r&&(o.pageToken=r),i&&(o.maxResults=i);const a=M(t.bucketOnlyServerUrl(),e.host,e._protocol),s=e.maxOperationRetryTime,l=new le(a,"GET",function(e,t){return function(n,r){const i=se(e,t,r);return ce(null!==i),i}}(e,t.bucket),s);return l.urlParams=o,l.errorHandler=he(t),l}function ge(e,t,n){const r=Object.assign({},n);return r.fullPath=e.path,r.size=t.size(),r.contentType||(r.contentType=function(e,t){return e&&e.contentType||t&&t.type()||"application/octet-stream"}(null,t)),r}function ve(e,t,n,r,i){const o=t.bucketOnlyServerUrl(),a={"X-Goog-Upload-Protocol":"multipart"};const s=function(){let e="";for(let t=0;t<2;t++)e+=Math.random().toString().slice(2);return e}();a["Content-Type"]="multipart/related; boundary="+s;const l=ge(t,r,i),c="--"+s+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+ie(l,n)+"\r\n--"+s+"\r\nContent-Type: "+l.contentType+"\r\n\r\n",u="\r\n--"+s+"--",d=K.getBlob(c,r,u);if(null===d)throw A();const h={name:l.fullPath},p=M(o,e.host,e._protocol),f=e.maxUploadRetryTime,m=new le(p,"POST",ue(e,n),f);return m.urlParams=h,m.headers=a,m.body=d.uploadData(),m.errorHandler=he(t),m}class Ce{constructor(e,t,n,r){this.current=e,this.total=t,this.finalized=!!n,this.metadata=r||null}}function ye(e,t){let n=null;try{n=e.getResponseHeader("X-Goog-Upload-Status")}catch(r){ce(!1)}return ce(!!n&&-1!==(t||["active"]).indexOf(n)),n}const be=262144;function we(e,t,n,r,i,o,a,s){const l=new Ce(0,0);if(a?(l.current=a.current,l.total=a.total):(l.current=0,l.total=r.size()),r.size()!==l.total)throw new g(v.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.");const c=l.total-l.current;let u=c;i>0&&(u=Math.min(u,i));const d=l.current,h=d+u;let p="";p=0===u?"finalize":c===u?"upload, finalize":"upload";const f={"X-Goog-Upload-Command":p,"X-Goog-Upload-Offset":"".concat(l.current)},m=r.slice(d,h);if(null===m)throw A();const C=t.maxUploadRetryTime,y=new le(n,"POST",(function(e,n){const i=ye(e,["active","final"]),a=l.current+u,s=r.size();let c;return c="final"===i?ue(t,o)(e,n):null,new Ce(a,s,"final"===i,c)}),C);return y.headers=f,y.body=m.uploadData(),y.progressCallback=s||null,y.errorHandler=he(e),y}const xe={STATE_CHANGED:"state_changed"},Ae={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function Ee(e){switch(e){case"running":case"pausing":case"canceling":return Ae.RUNNING;case"paused":return Ae.PAUSED;case"success":return Ae.SUCCESS;case"canceled":return Ae.CANCELED;default:return Ae.ERROR}}class _e{constructor(e,t,n){if("function"===typeof e||null!=t||null!=n)this.next=e,this.error=null!==t&&void 0!==t?t:void 0,this.complete=null!==n&&void 0!==n?n:void 0;else{const t=e;this.next=t.next,this.error=t.error,this.complete=t.complete}}}function Te(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Promise.resolve().then((()=>e(...n)))}}let Se=null;class ke{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=C.NO_ERROR,this.sendPromise_=new Promise((e=>{this.xhr_.addEventListener("abort",(()=>{this.errorCode_=C.ABORT,e()})),this.xhr_.addEventListener("error",(()=>{this.errorCode_=C.NETWORK_ERROR,e()})),this.xhr_.addEventListener("load",(()=>{e()}))}))}send(e,t,n,r){if(this.sent_)throw k("cannot .send() more than once");if(this.sent_=!0,this.xhr_.open(t,e,!0),void 0!==r)for(const i in r)r.hasOwnProperty(i)&&this.xhr_.setRequestHeader(i,r[i].toString());return void 0!==n?this.xhr_.send(n):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw k("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw k("cannot .getStatus() before sending");try{return this.xhr_.status}catch(e){return-1}}getResponse(){if(!this.sent_)throw k("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw k("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(e){return this.xhr_.getResponseHeader(e)}addUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",e)}removeUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",e)}}class Pe extends ke{initXhr(){this.xhr_.responseType="text"}}function De(){return Se?Se():new Pe}class Ne{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=e,this._blob=t,this._metadata=n,this._mappings=te(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=e=>{if(this._request=void 0,this._chunkMultiplier=1,e._codeEquals(v.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{const t=this.isExponentialBackoffExpired();if(j(e.status,[])){if(!t)return this.sleepTime=Math.max(2*this.sleepTime,1e3),this._needToFetchStatus=!0,void this.completeTransitions_();e=w()}this._error=e,this._transition("error")}},this._metadataErrorHandler=e=>{this._request=void 0,e._codeEquals(v.CANCELED)?this.completeTransitions_():(this._error=e,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t,this._start()})),this._promise.then(null,(()=>{}))}isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}_makeProgressCallback(){const e=this._transferred;return t=>this._updateProgress(e+t)}_shouldDoResumable(e){return e.size()>262144}_start(){"running"===this._state&&void 0===this._request&&(this._resumable?void 0===this._uploadUrl?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout((()=>{this.pendingTimeout=void 0,this._continueUpload()}),this.sleepTime):this._oneShotUpload())}_resolveToken(e){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then((t=>{let[n,r]=t;switch(this._state){case"running":e(n,r);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused")}}))}_createResumable(){this._resolveToken(((e,t)=>{const n=function(e,t,n,r,i){const o=t.bucketOnlyServerUrl(),a=ge(t,r,i),s={name:a.fullPath},l=M(o,e.host,e._protocol),c={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":"".concat(r.size()),"X-Goog-Upload-Header-Content-Type":a.contentType,"Content-Type":"application/json; charset=utf-8"},u=ie(a,n),d=e.maxUploadRetryTime,h=new le(l,"POST",(function(e){let t;ye(e);try{t=e.getResponseHeader("X-Goog-Upload-URL")}catch(n){ce(!1)}return ce(N(t)),t}),d);return h.urlParams=s,h.headers=c,h.body=u,h.errorHandler=he(t),h}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),r=this._ref.storage._makeRequest(n,De,e,t);this._request=r,r.getPromise().then((e=>{this._request=void 0,this._uploadUrl=e,this._needToFetchStatus=!1,this.completeTransitions_()}),this._errorHandler)}))}_fetchStatus(){const e=this._uploadUrl;this._resolveToken(((t,n)=>{const r=function(e,t,n,r){const i=e.maxUploadRetryTime,o=new le(n,"POST",(function(e){const t=ye(e,["active","final"]);let n=null;try{n=e.getResponseHeader("X-Goog-Upload-Size-Received")}catch(o){ce(!1)}n||ce(!1);const i=Number(n);return ce(!isNaN(i)),new Ce(i,r.size(),"final"===t)}),i);return o.headers={"X-Goog-Upload-Command":"query"},o.errorHandler=he(t),o}(this._ref.storage,this._ref._location,e,this._blob),i=this._ref.storage._makeRequest(r,De,t,n);this._request=i,i.getPromise().then((e=>{this._request=void 0,this._updateProgress(e.current),this._needToFetchStatus=!1,e.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()}),this._errorHandler)}))}_continueUpload(){const e=be*this._chunkMultiplier,t=new Ce(this._transferred,this._blob.size()),n=this._uploadUrl;this._resolveToken(((r,i)=>{let o;try{o=we(this._ref._location,this._ref.storage,n,this._blob,e,this._mappings,t,this._makeProgressCallback())}catch(s){return this._error=s,void this._transition("error")}const a=this._ref.storage._makeRequest(o,De,r,i,!1);this._request=a,a.getPromise().then((e=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(e.current),e.finalized?(this._metadata=e.metadata,this._transition("success")):this.completeTransitions_()}),this._errorHandler)}))}_increaseMultiplier(){2*(be*this._chunkMultiplier)<33554432&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken(((e,t)=>{const n=fe(this._ref.storage,this._ref._location,this._mappings),r=this._ref.storage._makeRequest(n,De,e,t);this._request=r,r.getPromise().then((e=>{this._request=void 0,this._metadata=e,this._transition("success")}),this._metadataErrorHandler)}))}_oneShotUpload(){this._resolveToken(((e,t)=>{const n=ve(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),r=this._ref.storage._makeRequest(n,De,e,t);this._request=r,r.getPromise().then((e=>{this._request=void 0,this._metadata=e,this._updateProgress(this._blob.size()),this._transition("success")}),this._errorHandler)}))}_updateProgress(e){const t=this._transferred;this._transferred=e,this._transferred!==t&&this._notifyObservers()}_transition(e){if(this._state!==e)switch(e){case"canceling":case"pausing":this._state=e,void 0!==this._request?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":const t="paused"===this._state;this._state=e,t&&(this._notifyObservers(),this._start());break;case"paused":case"error":case"success":this._state=e,this._notifyObservers();break;case"canceled":this._error=x(),this._state=e,this._notifyObservers()}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start()}}get snapshot(){const e=Ee(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:e,metadata:this._metadata,task:this,ref:this._ref}}on(e,t,n,r){const i=new _e(t||void 0,n||void 0,r||void 0);return this._addObserver(i),()=>{this._removeObserver(i)}}then(e,t){return this._promise.then(e,t)}catch(e){return this.then(null,e)}_addObserver(e){this._observers.push(e),this._notifyObserver(e)}_removeObserver(e){const t=this._observers.indexOf(e);-1!==t&&this._observers.splice(t,1)}_notifyObservers(){this._finishPromise();this._observers.slice().forEach((e=>{this._notifyObserver(e)}))}_finishPromise(){if(void 0!==this._resolve){let e=!0;switch(Ee(this._state)){case Ae.SUCCESS:Te(this._resolve.bind(null,this.snapshot))();break;case Ae.CANCELED:case Ae.ERROR:Te(this._reject.bind(null,this._error))();break;default:e=!1}e&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(e){switch(Ee(this._state)){case Ae.RUNNING:case Ae.PAUSED:e.next&&Te(e.next.bind(e,this.snapshot))();break;case Ae.SUCCESS:e.complete&&Te(e.complete.bind(e))();break;default:e.error&&Te(e.error.bind(e,this._error))()}}resume(){const e="paused"===this._state||"pausing"===this._state;return e&&this._transition("running"),e}pause(){const e="running"===this._state;return e&&this._transition("pausing"),e}cancel(){const e="running"===this._state||"pausing"===this._state;return e&&this._transition("canceling"),e}}class Fe{constructor(e,t){this._service=e,this._location=t instanceof P?t:P.makeFromUrl(t,e.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(e,t){return new Fe(e,t)}get root(){const e=new P(this._location.bucket,"");return this._newRef(this._service,e)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return X(this._location.path)}get storage(){return this._service}get parent(){const e=function(e){if(0===e.length)return null;const t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}(this._location.path);if(null===e)return null;const t=new P(this._location.bucket,e);return new Fe(this._service,t)}_throwIfRoot(e){if(""===this._location.path)throw T(e)}}function Ie(e){const t={prefixes:[],items:[]};return Re(e,t).then((()=>t))}async function Re(e,t,n){const r={pageToken:n},i=await Me(e,r);t.prefixes.push(...i.prefixes),t.items.push(...i.items),null!=i.nextPageToken&&await Re(e,t,i.nextPageToken)}function Me(e,t){null!=t&&"number"===typeof t.maxResults&&R("options.maxResults",1,1e3,t.maxResults);const n=t||{},r=me(e.storage,e._location,"/",n.pageToken,n.maxResults);return e.storage.makeRequestWithTokens(r,De)}function Oe(e,t){e._throwIfRoot("updateMetadata");const n=function(e,t,n,r){const i=M(t.fullServerUrl(),e.host,e._protocol),o=ie(n,r),a=e.maxOperationRetryTime,s=new le(i,"PATCH",ue(e,r),a);return s.headers={"Content-Type":"application/json; charset=utf-8"},s.body=o,s.errorHandler=pe(t),s}(e.storage,e._location,t,te());return e.storage.makeRequestWithTokens(n,De)}function je(e){e._throwIfRoot("getDownloadURL");const t=function(e,t,n){const r=M(t.fullServerUrl(),e.host,e._protocol),i=e.maxOperationRetryTime,o=new le(r,"GET",de(e,n),i);return o.errorHandler=pe(t),o}(e.storage,e._location,te());return e.storage.makeRequestWithTokens(t,De).then((e=>{if(null===e)throw new g(v.NO_DOWNLOAD_URL,"The given file does not have any download URLs.");return e}))}function Le(e){e._throwIfRoot("deleteObject");const t=function(e,t){const n=M(t.fullServerUrl(),e.host,e._protocol),r=e.maxOperationRetryTime,i=new le(n,"DELETE",(function(e,t){}),r);return i.successCodes=[200,204],i.errorHandler=pe(t),i}(e.storage,e._location);return e.storage.makeRequestWithTokens(t,De)}function Be(e,t){const n=function(e,t){const n=t.split("/").filter((e=>e.length>0)).join("/");return 0===e.length?n:e+"/"+n}(e._location.path,t),r=new P(e._location.bucket,n);return new Fe(e.storage,r)}function Ue(e,t){if(e instanceof ze){const n=e;if(null==n._bucket)throw new g(v.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+m+"' property when initializing the app?");const r=new Fe(n,n._bucket);return null!=t?Ue(r,t):r}return void 0!==t?Be(e,t):e}function Ve(e,t){if(t&&/^[A-Za-z]+:\/\//.test(t)){if(e instanceof ze)return new Fe(e,t);throw E("To use ref(service, url), the first argument must be a Storage instance.")}return Ue(e,t)}function He(e,t){const n=null===t||void 0===t?void 0:t[m];return null==n?null:P.makeFromBucketSpec(n,e)}class ze{constructor(e,t,n,r,i){this.app=e,this._authProvider=t,this._appCheckProvider=n,this._url=r,this._firebaseVersion=i,this._bucket=null,this._host=f,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=r?P.makeFromBucketSpec(r,this._host):He(this._host,this.app.options)}get host(){return this._host}set host(e){this._host=e,null!=this._url?this._bucket=P.makeFromBucketSpec(this._url,e):this._bucket=He(e,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(e){R("time",0,Number.POSITIVE_INFINITY,e),this._maxUploadRetryTime=e}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(e){R("time",0,Number.POSITIVE_INFINITY,e),this._maxOperationRetryTime=e}async _getAuthToken(){if(this._overrideAuthToken)return this._overrideAuthToken;const e=this._authProvider.getImmediate({optional:!0});if(e){const t=await e.getToken();if(null!==t)return t.accessToken}return null}async _getAppCheckToken(){const e=this._appCheckProvider.getImmediate({optional:!0});if(e){return(await e.getToken()).token}return null}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach((e=>e.cancel())),this._requests.clear()),Promise.resolve()}_makeStorageReference(e){return new Fe(this,e)}_makeRequest(e,t,n,r){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(this._deleted)return new D(_());{const o=function(e,t,n,r,i,o){let a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];const s=O(e.urlParams),l=e.url+s,c=Object.assign({},e.headers);return function(e,t){t&&(e["X-Firebase-GMPID"]=t)}(c,t),function(e,t){null!==t&&t.length>0&&(e.Authorization="Firebase "+t)}(c,n),function(e,t){e["X-Firebase-Storage-Version"]="webjs/"+(null!==t&&void 0!==t?t:"AppManager")}(c,o),function(e,t){null!==t&&(e["X-Firebase-AppCheck"]=t)}(c,r),new L(l,e.method,c,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,i,a)}(e,this._appId,n,r,t,this._firebaseVersion,i);return this._requests.add(o),o.getPromise().then((()=>this._requests.delete(o)),(()=>this._requests.delete(o))),o}}async makeRequestWithTokens(e,t){const[n,r]=await Promise.all([this._getAuthToken(),this._getAppCheckToken()]);return this._makeRequest(e,t,n,r).getPromise()}}const Ze="@firebase/storage",We="0.12.6",qe="storage";function Ge(e,t,n){return function(e,t,n){return e._throwIfRoot("uploadBytesResumable"),new Ne(e,new K(t),n)}(e=(0,r.Ku)(e),t,n)}function Ye(e){return function(e){e._throwIfRoot("getMetadata");const t=fe(e.storage,e._location,te());return e.storage.makeRequestWithTokens(t,De)}(e=(0,r.Ku)(e))}function Ke(e,t){return Ve(e=(0,r.Ku)(e),t)}function Qe(e,t,n){!function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.host="".concat(t,":").concat(n),e._protocol="http";const{mockUserToken:o}=i;o&&(e._overrideAuthToken="string"===typeof o?o:(0,r.Fy)(o,e.app.options.projectId))}(e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})}function Xe(e,t){let{instanceIdentifier:n}=t;const r=e.getProvider("app").getImmediate(),i=e.getProvider("auth-internal"),a=e.getProvider("app-check-internal");return new ze(r,i,a,n,o.SDK_VERSION)}(0,o._registerComponent)(new i.uA(qe,Xe,"PUBLIC").setMultipleInstances(!0)),(0,o.registerVersion)(Ze,We,""),(0,o.registerVersion)(Ze,We,"esm2017");class Je{constructor(e,t,n){this._delegate=e,this.task=t,this.ref=n}get bytesTransferred(){return this._delegate.bytesTransferred}get metadata(){return this._delegate.metadata}get state(){return this._delegate.state}get totalBytes(){return this._delegate.totalBytes}}class $e{constructor(e,t){this._delegate=e,this._ref=t,this.cancel=this._delegate.cancel.bind(this._delegate),this.catch=this._delegate.catch.bind(this._delegate),this.pause=this._delegate.pause.bind(this._delegate),this.resume=this._delegate.resume.bind(this._delegate)}get snapshot(){return new Je(this._delegate.snapshot,this,this._ref)}then(e,t){return this._delegate.then((t=>{if(e)return e(new Je(t,this,this._ref))}),t)}on(e,t,n,r){let i;return t&&(i="function"===typeof t?e=>t(new Je(e,this,this._ref)):{next:t.next?e=>t.next(new Je(e,this,this._ref)):void 0,complete:t.complete||void 0,error:t.error||void 0}),this._delegate.on(e,i,n||void 0,r||void 0)}}class et{constructor(e,t){this._delegate=e,this._service=t}get prefixes(){return this._delegate.prefixes.map((e=>new tt(e,this._service)))}get items(){return this._delegate.items.map((e=>new tt(e,this._service)))}get nextPageToken(){return this._delegate.nextPageToken||null}}class tt{constructor(e,t){this._delegate=e,this.storage=t}get name(){return this._delegate.name}get bucket(){return this._delegate.bucket}get fullPath(){return this._delegate.fullPath}toString(){return this._delegate.toString()}child(e){const t=function(e,t){return Be(e,t)}(this._delegate,e);return new tt(t,this.storage)}get root(){return new tt(this._delegate.root,this.storage)}get parent(){const e=this._delegate.parent;return null==e?null:new tt(e,this.storage)}put(e,t){return this._throwIfRoot("put"),new $e(Ge(this._delegate,e,t),this)}putString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.RAW,n=arguments.length>2?arguments[2]:void 0;this._throwIfRoot("putString");const r=W(t,e),i=Object.assign({},n);return null==i.contentType&&null!=r.contentType&&(i.contentType=r.contentType),new $e(new Ne(this._delegate,new K(r.data,!0),i),this)}listAll(){return function(e){return Ie(e=(0,r.Ku)(e))}(this._delegate).then((e=>new et(e,this.storage)))}list(e){return function(e,t){return Me(e=(0,r.Ku)(e),t)}(this._delegate,e||void 0).then((e=>new et(e,this.storage)))}getMetadata(){return Ye(this._delegate)}updateMetadata(e){return function(e,t){return Oe(e=(0,r.Ku)(e),t)}(this._delegate,e)}getDownloadURL(){return function(e){return je(e=(0,r.Ku)(e))}(this._delegate)}delete(){return this._throwIfRoot("delete"),function(e){return Le(e=(0,r.Ku)(e))}(this._delegate)}_throwIfRoot(e){if(""===this._delegate._location.path)throw T(e)}}class nt{constructor(e,t){this.app=e,this._delegate=t}get maxOperationRetryTime(){return this._delegate.maxOperationRetryTime}get maxUploadRetryTime(){return this._delegate.maxUploadRetryTime}ref(e){if(rt(e))throw E("ref() expected a child path but got a URL, use refFromURL instead.");return new tt(Ke(this._delegate,e),this)}refFromURL(e){if(!rt(e))throw E("refFromURL() expected a full URL but got a child path, use ref() instead.");try{P.makeFromUrl(e,this._delegate.host)}catch(t){throw E("refFromUrl() expected a valid full URL but got an invalid one.")}return new tt(Ke(this._delegate,e),this)}setMaxUploadRetryTime(e){this._delegate.maxUploadRetryTime=e}setMaxOperationRetryTime(e){this._delegate.maxOperationRetryTime=e}useEmulator(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qe(this._delegate,e,t,n)}}function rt(e){return/^[A-Za-z]+:\/\//.test(e)}function it(e,t){let{instanceIdentifier:n}=t;const r=e.getProvider("app-compat").getImmediate(),i=e.getProvider("storage").getImmediate({identifier:n});return new nt(r,i)}!function(e){const t={TaskState:Ae,TaskEvent:xe,StringFormat:z,Storage:nt,Reference:tt};e.INTERNAL.registerComponent(new i.uA("storage-compat",it,"PUBLIC").setServiceProps(t).setMultipleInstances(!0)),e.registerVersion("@firebase/storage-compat","0.3.9")}(h);var ot=n(80081);function at(e,t){if(void 0===t)return{merge:!1};if(void 0!==t.mergeFields&&void 0!==t.merge)throw new ot.W6("invalid-argument","Invalid options passed to function ".concat(e,"(): You cannot ")+'specify both "merge" and "mergeFields".');return t}function st(){if("undefined"===typeof Uint8Array)throw new ot.W6("unimplemented","Uint8Arrays are not available in this environment.")}function lt(){if(!(0,ot.qG)())throw new ot.W6("unimplemented","Blobs are unavailable in Firestore in this environment.")}class ct{constructor(e){this._delegate=e}static fromBase64String(e){return lt(),new ct(ot.Ix.fromBase64String(e))}static fromUint8Array(e){return st(),new ct(ot.Ix.fromUint8Array(e))}toBase64(){return lt(),this._delegate.toBase64()}toUint8Array(){return st(),this._delegate.toUint8Array()}isEqual(e){return this._delegate.isEqual(e._delegate)}toString(){return"Blob(base64: "+this.toBase64()+")"}}function ut(e){return function(e,t){if("object"!==typeof e||null===e)return!1;const n=e;for(const r of t)if(r in n&&"function"===typeof n[r])return!0;return!1}(e,["next","error","complete"])}class dt{enableIndexedDbPersistence(e,t){return(0,ot.ol)(e._delegate,{forceOwnership:t})}enableMultiTabIndexedDbPersistence(e){return(0,ot.Q5)(e._delegate)}clearIndexedDbPersistence(e){return(0,ot.me)(e._delegate)}}class ht{constructor(e,t,n){this._delegate=t,this._persistenceProvider=n,this.INTERNAL={delete:()=>this.terminate()},e instanceof ot.cm||(this._appCompat=e)}get _databaseId(){return this._delegate._databaseId}settings(e){const t=this._delegate._getSettings();e.merge||t.host===e.host||(0,ot.qi)("You are overriding the original host. If you did not intend to override your settings, use {merge: true}."),e.merge&&delete(e=Object.assign(Object.assign({},t),e)).merge,this._delegate._setSettings(e)}useEmulator(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,ot.vN)(this._delegate,e,t,n)}enableNetwork(){return(0,ot.Os)(this._delegate)}disableNetwork(){return(0,ot.LA)(this._delegate)}enablePersistence(e){let t=!1,n=!1;return e&&(t=!!e.synchronizeTabs,n=!!e.experimentalForceOwningTab,(0,ot.c8)("synchronizeTabs",t,"experimentalForceOwningTab",n)),t?this._persistenceProvider.enableMultiTabIndexedDbPersistence(this):this._persistenceProvider.enableIndexedDbPersistence(this,n)}clearPersistence(){return this._persistenceProvider.clearIndexedDbPersistence(this)}terminate(){return this._appCompat&&(this._appCompat._removeServiceInstance("firestore-compat"),this._appCompat._removeServiceInstance("firestore")),this._delegate._delete()}waitForPendingWrites(){return(0,ot.iB)(this._delegate)}onSnapshotsInSync(e){return(0,ot.FC)(this._delegate,e)}get app(){if(!this._appCompat)throw new ot.W6("failed-precondition","Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._appCompat}collection(e){try{return new Tt(this,(0,ot.rJ)(this._delegate,e))}catch(t){throw Ct(t,"collection()","Firestore.collection()")}}doc(e){try{return new vt(this,(0,ot.H9)(this._delegate,e))}catch(t){throw Ct(t,"doc()","Firestore.doc()")}}collectionGroup(e){try{return new At(this,(0,ot.Cs)(this._delegate,e))}catch(t){throw Ct(t,"collectionGroup()","Firestore.collectionGroup()")}}runTransaction(e){return(0,ot.c4)(this._delegate,(t=>e(new ft(this,t))))}batch(){return(0,ot.Ws)(this._delegate),new mt(new ot.GA(this._delegate,(e=>(0,ot.z6)(this._delegate,e))))}loadBundle(e){return(0,ot.po)(this._delegate,e)}namedQuery(e){return(0,ot.St)(this._delegate,e).then((e=>e?new At(this,e):null))}}class pt extends ot.fS{constructor(e){super(),this.firestore=e}convertBytes(e){return new ct(new ot.Ix(e))}convertReference(e){const t=this.convertDocumentKey(e,this.firestore._databaseId);return vt.forKey(t,this.firestore,null)}}class ft{constructor(e,t){this._firestore=e,this._delegate=t,this._userDataWriter=new pt(e)}get(e){const t=St(e);return this._delegate.get(t).then((e=>new wt(this._firestore,new ot.Wq(this._firestore._delegate,this._userDataWriter,e._key,e._document,e.metadata,t.converter))))}set(e,t,n){const r=St(e);return n?(at("Transaction.set",n),this._delegate.set(r,t,n)):this._delegate.set(r,t),this}update(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];const a=St(e);return 2===arguments.length?this._delegate.update(a,t):this._delegate.update(a,t,n,...i),this}delete(e){const t=St(e);return this._delegate.delete(t),this}}class mt{constructor(e){this._delegate=e}set(e,t,n){const r=St(e);return n?(at("WriteBatch.set",n),this._delegate.set(r,t,n)):this._delegate.set(r,t),this}update(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];const a=St(e);return 2===arguments.length?this._delegate.update(a,t):this._delegate.update(a,t,n,...i),this}delete(e){const t=St(e);return this._delegate.delete(t),this}commit(){return this._delegate.commit()}}class gt{constructor(e,t,n){this._firestore=e,this._userDataWriter=t,this._delegate=n}fromFirestore(e,t){const n=new ot.YQ(this._firestore._delegate,this._userDataWriter,e._key,e._document,e.metadata,null);return this._delegate.fromFirestore(new xt(this._firestore,n),null!==t&&void 0!==t?t:{})}toFirestore(e,t){return t?this._delegate.toFirestore(e,t):this._delegate.toFirestore(e)}static getInstance(e,t){const n=gt.INSTANCES;let r=n.get(e);r||(r=new WeakMap,n.set(e,r));let i=r.get(t);return i||(i=new gt(e,new pt(e),t),r.set(t,i)),i}}gt.INSTANCES=new WeakMap;class vt{constructor(e,t){this.firestore=e,this._delegate=t,this._userDataWriter=new pt(e)}static forPath(e,t,n){if(e.length%2!==0)throw new ot.W6("invalid-argument","Invalid document reference. Document references must have an even number of segments, but "+"".concat(e.canonicalString()," has ").concat(e.length));return new vt(t,new ot.T1(t._delegate,n,new ot.K$(e)))}static forKey(e,t,n){return new vt(t,new ot.T1(t._delegate,n,e))}get id(){return this._delegate.id}get parent(){return new Tt(this.firestore,this._delegate.parent)}get path(){return this._delegate.path}collection(e){try{return new Tt(this.firestore,(0,ot.rJ)(this._delegate,e))}catch(t){throw Ct(t,"collection()","DocumentReference.collection()")}}isEqual(e){return(e=(0,r.Ku)(e))instanceof ot.T1&&(0,ot.yx)(this._delegate,e)}set(e,t){t=at("DocumentReference.set",t);try{return t?(0,ot.BN)(this._delegate,e,t):(0,ot.BN)(this._delegate,e)}catch(n){throw Ct(n,"setDoc()","DocumentReference.set()")}}update(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];try{return 1===arguments.length?(0,ot.mZ)(this._delegate,e):(0,ot.mZ)(this._delegate,e,t,...r)}catch(o){throw Ct(o,"updateDoc()","DocumentReference.update()")}}delete(){return(0,ot.kd)(this._delegate)}onSnapshot(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=yt(t),i=bt(t,(e=>new wt(this.firestore,new ot.Wq(this.firestore._delegate,this._userDataWriter,e._key,e._document,e.metadata,this._delegate.converter))));return(0,ot.aQ)(this._delegate,r,i)}get(e){let t;return t="cache"===(null===e||void 0===e?void 0:e.source)?(0,ot.nY)(this._delegate):"server"===(null===e||void 0===e?void 0:e.source)?(0,ot._e)(this._delegate):(0,ot.x7)(this._delegate),t.then((e=>new wt(this.firestore,new ot.Wq(this.firestore._delegate,this._userDataWriter,e._key,e._document,e.metadata,this._delegate.converter))))}withConverter(e){return new vt(this.firestore,e?this._delegate.withConverter(gt.getInstance(this.firestore,e)):this._delegate.withConverter(null))}}function Ct(e,t,n){return e.message=e.message.replace(t,n),e}function yt(e){for(const t of e)if("object"===typeof t&&!ut(t))return t;return{}}function bt(e,t){var n,r;let i;return i=ut(e[0])?e[0]:ut(e[1])?e[1]:"function"===typeof e[0]?{next:e[0],error:e[1],complete:e[2]}:{next:e[1],error:e[2],complete:e[3]},{next:e=>{i.next&&i.next(t(e))},error:null===(n=i.error)||void 0===n?void 0:n.bind(i),complete:null===(r=i.complete)||void 0===r?void 0:r.bind(i)}}class wt{constructor(e,t){this._firestore=e,this._delegate=t}get ref(){return new vt(this._firestore,this._delegate.ref)}get id(){return this._delegate.id}get metadata(){return this._delegate.metadata}get exists(){return this._delegate.exists()}data(e){return this._delegate.data(e)}get(e,t){return this._delegate.get(e,t)}isEqual(e){return(0,ot.lN)(this._delegate,e._delegate)}}class xt extends wt{data(e){const t=this._delegate.data(e);return this._delegate._converter||(0,ot.bI)(void 0!==t,"Document in a QueryDocumentSnapshot should exist"),t}}class At{constructor(e,t){this.firestore=e,this._delegate=t,this._userDataWriter=new pt(e)}where(e,t,n){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot._M)(e,t,n)))}catch(r){throw Ct(r,/(orderBy|where)\(\)/,"Query.$1()")}}orderBy(e,t){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.My)(e,t)))}catch(n){throw Ct(n,/(orderBy|where)\(\)/,"Query.$1()")}}limit(e){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.AB)(e)))}catch(t){throw Ct(t,"limit()","Query.limit()")}}limitToLast(e){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.$1)(e)))}catch(t){throw Ct(t,"limitToLast()","Query.limitToLast()")}}startAt(){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.EO)(...arguments)))}catch(e){throw Ct(e,"startAt()","Query.startAt()")}}startAfter(){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.HM)(...arguments)))}catch(e){throw Ct(e,"startAfter()","Query.startAfter()")}}endBefore(){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.rf)(...arguments)))}catch(e){throw Ct(e,"endBefore()","Query.endBefore()")}}endAt(){try{return new At(this.firestore,(0,ot.P)(this._delegate,(0,ot.FD)(...arguments)))}catch(e){throw Ct(e,"endAt()","Query.endAt()")}}isEqual(e){return(0,ot.B)(this._delegate,e._delegate)}get(e){let t;return t="cache"===(null===e||void 0===e?void 0:e.source)?(0,ot.kU)(this._delegate):"server"===(null===e||void 0===e?void 0:e.source)?(0,ot.Rr)(this._delegate):(0,ot.GG)(this._delegate),t.then((e=>new _t(this.firestore,new ot.NJ(this.firestore._delegate,this._userDataWriter,this._delegate,e._snapshot))))}onSnapshot(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=yt(t),i=bt(t,(e=>new _t(this.firestore,new ot.NJ(this.firestore._delegate,this._userDataWriter,this._delegate,e._snapshot))));return(0,ot.aQ)(this._delegate,r,i)}withConverter(e){return new At(this.firestore,e?this._delegate.withConverter(gt.getInstance(this.firestore,e)):this._delegate.withConverter(null))}}class Et{constructor(e,t){this._firestore=e,this._delegate=t}get type(){return this._delegate.type}get doc(){return new xt(this._firestore,this._delegate.doc)}get oldIndex(){return this._delegate.oldIndex}get newIndex(){return this._delegate.newIndex}}class _t{constructor(e,t){this._firestore=e,this._delegate=t}get query(){return new At(this._firestore,this._delegate.query)}get metadata(){return this._delegate.metadata}get size(){return this._delegate.size}get empty(){return this._delegate.empty}get docs(){return this._delegate.docs.map((e=>new xt(this._firestore,e)))}docChanges(e){return this._delegate.docChanges(e).map((e=>new Et(this._firestore,e)))}forEach(e,t){this._delegate.forEach((n=>{e.call(t,new xt(this._firestore,n))}))}isEqual(e){return(0,ot.lN)(this._delegate,e._delegate)}}class Tt extends At{constructor(e,t){super(e,t),this.firestore=e,this._delegate=t}get id(){return this._delegate.id}get path(){return this._delegate.path}get parent(){const e=this._delegate.parent;return e?new vt(this.firestore,e):null}doc(e){try{return new vt(this.firestore,void 0===e?(0,ot.H9)(this._delegate):(0,ot.H9)(this._delegate,e))}catch(t){throw Ct(t,"doc()","CollectionReference.doc()")}}add(e){return(0,ot.gS)(this._delegate,e).then((e=>new vt(this.firestore,e)))}isEqual(e){return(0,ot.yx)(this._delegate,e._delegate)}withConverter(e){return new Tt(this.firestore,e?this._delegate.withConverter(gt.getInstance(this.firestore,e)):this._delegate.withConverter(null))}}function St(e){return(0,ot.lo)(e,ot.T1)}class kt{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._delegate=new ot.uY(...t)}static documentId(){return new kt(ot.FA.keyField().canonicalString())}isEqual(e){return(e=(0,r.Ku)(e))instanceof ot.uY&&this._delegate._internalPath.isEqual(e._internalPath)}}class Pt{constructor(e){this._delegate=e}static serverTimestamp(){const e=(0,ot.O5)();return e._methodName="FieldValue.serverTimestamp",new Pt(e)}static delete(){const e=(0,ot.CL)();return e._methodName="FieldValue.delete",new Pt(e)}static arrayUnion(){const e=(0,ot.hq)(...arguments);return e._methodName="FieldValue.arrayUnion",new Pt(e)}static arrayRemove(){const e=(0,ot.C3)(...arguments);return e._methodName="FieldValue.arrayRemove",new Pt(e)}static increment(e){const t=(0,ot.GV)(e);return t._methodName="FieldValue.increment",new Pt(t)}isEqual(e){return this._delegate.isEqual(e._delegate)}}const Dt={Firestore:ht,GeoPoint:ot.Ci,Timestamp:ot.Dc,Blob:ct,Transaction:ft,WriteBatch:mt,DocumentReference:vt,DocumentSnapshot:wt,Query:At,QueryDocumentSnapshot:xt,QuerySnapshot:_t,CollectionReference:Tt,FieldPath:kt,FieldValue:Pt,setLogLevel:function(e){(0,ot.He)(e)},CACHE_SIZE_UNLIMITED:ot.H6};var Nt;(function(e,t){e.INTERNAL.registerComponent(new i.uA("firestore-compat",(e=>{const n=e.getProvider("app-compat").getImmediate(),r=e.getProvider("firestore").getImmediate();return t(n,r)}),"PUBLIC").setServiceProps(Object.assign({},Dt)))})(Nt=h,((e,t)=>new ht(e,t,new dt))),Nt.registerVersion("@firebase/firestore-compat","0.3.33");var Ft=n(65587);const It={FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PASSWORD:"password",PHONE:"phone",TWITTER:"twitter.com"},Rt="EMAIL_SIGNIN",Mt="PASSWORD_RESET",Ot="RECOVER_EMAIL",jt="REVERT_SECOND_FACTOR_ADDITION",Lt="VERIFY_AND_CHANGE_EMAIL",Bt="VERIFY_EMAIL";function Ut(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const Vt=function(){return{"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","emulator-config-failed":'Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner.',"expired-action-code":"The action code has expired.","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal AuthError has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal AuthError has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-emulator-scheme":"Emulator URL must start with a valid scheme (http:// or https://).","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is incorrect, malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","login-blocked":"Login blocked by user-provided method: {$originalMessage}","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal AuthError has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-password":"A non-empty password must be provided","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal AuthError has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled.","already-initialized":"initializeAuth() has already been called with different options. To avoid this error, call initializeAuth() with the same options as when it was originally called, or call getAuth() to return the already initialized instance.","missing-recaptcha-token":"The reCAPTCHA token is missing when sending request to the backend.","invalid-recaptcha-token":"The reCAPTCHA token is invalid when sending request to the backend.","invalid-recaptcha-action":"The reCAPTCHA action is invalid when sending request to the backend.","recaptcha-not-enabled":"reCAPTCHA Enterprise integration is not enabled for this project.","missing-client-type":"The reCAPTCHA client type is missing when sending request to the backend.","missing-recaptcha-version":"The reCAPTCHA version is missing when sending request to the backend.","invalid-req-type":"Invalid request parameters.","invalid-recaptcha-version":"The reCAPTCHA version is invalid when sending request to the backend.","unsupported-password-policy-schema-version":"The password policy received from the backend uses a schema version that is not supported by this version of the Firebase SDK.","password-does-not-meet-requirements":"The password does not meet the requirements."}},Ht=Ut,zt=new r.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),Zt=new a.Vy("@firebase/auth");function Wt(e){if(Zt.logLevel<=a.$b.ERROR){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];Zt.error("Auth (".concat(o.SDK_VERSION,"): ").concat(e),...n)}}function qt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Xt(e,...n)}function Gt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Xt(e,...n)}function Yt(e,t,n){const i=Object.assign(Object.assign({},Ht()),{[t]:n});return new r.FA("auth","Firebase",i).create(t,{appName:e.name})}function Kt(e){return Yt(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Qt(e,t,n){if(!(t instanceof n))throw n.name!==t.constructor.name&&qt(e,"argument-error"),Yt(e,"argument-error","Type of ".concat(t.constructor.name," does not match expected instance.")+"Did you pass a reference from a different Auth SDK?")}function Xt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("string"!==typeof e){const t=n[0],r=[...n.slice(1)];return r[0]&&(r[0].appName=e.name),e._errorFactory.create(t,...r)}return zt.create(e,...n)}function Jt(e,t){if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];throw Xt(t,...r)}}function $t(e){const t="INTERNAL ASSERTION FAILED: "+e;throw Wt(t),new Error(t)}function en(e,t){e||$t(t)}function tn(){var e;return"undefined"!==typeof self&&(null===(e=self.location)||void 0===e?void 0:e.href)||""}function nn(){return"http:"===rn()||"https:"===rn()}function rn(){var e;return"undefined"!==typeof self&&(null===(e=self.location)||void 0===e?void 0:e.protocol)||null}class on{constructor(e,t){this.shortDelay=e,this.longDelay=t,en(t>e,"Short delay should be less than long delay!"),this.isMobile=(0,r.jZ)()||(0,r.lV)()}get(){return"undefined"!==typeof navigator&&navigator&&"onLine"in navigator&&"boolean"===typeof navigator.onLine&&(nn()||(0,r.sr)()||"connection"in navigator)&&!navigator.onLine?Math.min(5e3,this.shortDelay):this.isMobile?this.longDelay:this.shortDelay}}function an(e,t){en(e.emulator,"Emulator should always be set here");const{url:n}=e.emulator;return t?"".concat(n).concat(t.startsWith("/")?t.slice(1):t):n}class sn{static initialize(e,t,n){this.fetchImpl=e,t&&(this.headersImpl=t),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:"undefined"!==typeof self&&"fetch"in self?self.fetch:"undefined"!==typeof globalThis&&globalThis.fetch?globalThis.fetch:"undefined"!==typeof fetch?fetch:void $t("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:"undefined"!==typeof self&&"Headers"in self?self.Headers:"undefined"!==typeof globalThis&&globalThis.Headers?globalThis.Headers:"undefined"!==typeof Headers?Headers:void $t("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:"undefined"!==typeof self&&"Response"in self?self.Response:"undefined"!==typeof globalThis&&globalThis.Response?globalThis.Response:"undefined"!==typeof Response?Response:void $t("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const ln={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},cn=new on(3e4,6e4);function un(e,t){return e.tenantId&&!t.tenantId?Object.assign(Object.assign({},t),{tenantId:e.tenantId}):t}async function dn(e,t,n,i){return hn(e,arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},(async()=>{let o={},a={};i&&("GET"===t?a=i:o={body:JSON.stringify(i)});const s=(0,r.Am)(Object.assign({key:e.config.apiKey},a)).slice(1),l=await e._getAdditionalHeaders();return l["Content-Type"]="application/json",e.languageCode&&(l["X-Firebase-Locale"]=e.languageCode),sn.fetch()(fn(e,e.config.apiHost,n,s),Object.assign({method:t,headers:l,referrerPolicy:"no-referrer"},o))}))}async function hn(e,t,n){e._canInitEmulator=!1;const i=Object.assign(Object.assign({},ln),t);try{const t=new gn(e),r=await Promise.race([n(),t.promise]);t.clearNetworkTimeout();const o=await r.json();if("needConfirmation"in o)throw vn(e,"account-exists-with-different-credential",o);if(r.ok&&!("errorMessage"in o))return o;{const t=r.ok?o.errorMessage:o.error.message,[n,a]=t.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===n)throw vn(e,"credential-already-in-use",o);if("EMAIL_EXISTS"===n)throw vn(e,"email-already-in-use",o);if("USER_DISABLED"===n)throw vn(e,"user-disabled",o);const s=i[n]||n.toLowerCase().replace(/[_\s]+/g,"-");if(a)throw Yt(e,s,a);qt(e,s)}}catch(o){if(o instanceof r.g)throw o;qt(e,"network-request-failed",{message:String(o)})}}async function pn(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const o=await dn(e,t,n,r,i);return"mfaPendingCredential"in o&&qt(e,"multi-factor-auth-required",{_serverResponse:o}),o}function fn(e,t,n,r){const i="".concat(t).concat(n,"?").concat(r);return e.config.emulator?an(e.config,i):"".concat(e.config.apiScheme,"://").concat(i)}function mn(e){switch(e){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class gn{constructor(e){this.auth=e,this.timer=null,this.promise=new Promise(((e,t)=>{this.timer=setTimeout((()=>t(Gt(this.auth,"network-request-failed"))),cn.get())}))}clearNetworkTimeout(){clearTimeout(this.timer)}}function vn(e,t,n){const r={appName:e.name};n.email&&(r.email=n.email),n.phoneNumber&&(r.phoneNumber=n.phoneNumber);const i=Gt(e,t,r);return i.customData._tokenResponse=n,i}function Cn(e){return void 0!==e&&void 0!==e.getResponse}function yn(e){return void 0!==e&&void 0!==e.enterprise}class bn{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===e.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(const t of this.recaptchaEnforcementState)if(t.provider&&t.provider===e)return mn(t.enforcementState);return null}isProviderEnabled(e){return"ENFORCE"===this.getProviderEnforcementState(e)||"AUDIT"===this.getProviderEnforcementState(e)}}async function wn(e,t){return dn(e,"GET","/v2/recaptchaConfig",un(e,t))}async function xn(e,t){return dn(e,"POST","/v1/accounts:lookup",t)}function An(e){if(e)try{const t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch(t){}}function En(e){return 1e3*Number(e)}function _n(e){const[t,n,i]=e.split(".");if(void 0===t||void 0===n||void 0===i)return Wt("JWT malformed, contained fewer than 3 sections"),null;try{const e=(0,r.u)(n);return e?JSON.parse(e):(Wt("Failed to decode base64 JWT payload"),null)}catch(o){return Wt("Caught error parsing JWT payload as JSON",null===o||void 0===o?void 0:o.toString()),null}}function Tn(e){const t=_n(e);return Jt(t,"internal-error"),Jt("undefined"!==typeof t.exp,"internal-error"),Jt("undefined"!==typeof t.iat,"internal-error"),Number(t.exp)-Number(t.iat)}async function Sn(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return t;try{return await t}catch(n){throw n instanceof r.g&&function(e){let{code:t}=e;return t==="auth/".concat("user-disabled")||t==="auth/".concat("user-token-expired")}(n)&&e.auth.currentUser===e&&await e.auth.signOut(),n}}class kn{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(e){var t;if(e){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const e=(null!==(t=this.user.stsTokenManager.expirationTime)&&void 0!==t?t:0)-Date.now()-3e5;return Math.max(0,e)}}schedule(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isRunning)return;const t=this.getInterval(e);this.timerId=setTimeout((async()=>{await this.iteration()}),t)}async iteration(){try{await this.user.getIdToken(!0)}catch(e){return void((null===e||void 0===e?void 0:e.code)==="auth/".concat("network-request-failed")&&this.schedule(!0))}this.schedule()}}class Pn{constructor(e,t){this.createdAt=e,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=An(this.lastLoginAt),this.creationTime=An(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}async function Dn(e){var t;const n=e.auth,r=await e.getIdToken(),i=await Sn(e,xn(n,{idToken:r}));Jt(null===i||void 0===i?void 0:i.users.length,n,"internal-error");const o=i.users[0];e._notifyReloadListener(o);const a=(null===(t=o.providerUserInfo)||void 0===t?void 0:t.length)?Nn(o.providerUserInfo):[],s=(l=e.providerData,c=a,[...l.filter((e=>!c.some((t=>t.providerId===e.providerId)))),...c]);var l,c;const u=e.isAnonymous,d=!(e.email&&o.passwordHash)&&!(null===s||void 0===s?void 0:s.length),h=!!u&&d,p={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:s,metadata:new Pn(o.createdAt,o.lastLoginAt),isAnonymous:h};Object.assign(e,p)}function Nn(e){return e.map((e=>{var{providerId:t}=e,n=(0,Ft.Tt)(e,["providerId"]);return{providerId:t,uid:n.rawId||"",displayName:n.displayName||null,email:n.email||null,phoneNumber:n.phoneNumber||null,photoURL:n.photoUrl||null}}))}class Fn{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){Jt(e.idToken,"internal-error"),Jt("undefined"!==typeof e.idToken,"internal-error"),Jt("undefined"!==typeof e.refreshToken,"internal-error");const t="expiresIn"in e&&"undefined"!==typeof e.expiresIn?Number(e.expiresIn):Tn(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,t)}updateFromIdToken(e){Jt(0!==e.length,"internal-error");const t=Tn(e);this.updateTokensAndExpiration(e,null,t)}async getToken(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]||!this.accessToken||this.isExpired?(Jt(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null):this.accessToken}clearRefreshToken(){this.refreshToken=null}async refresh(e,t){const{accessToken:n,refreshToken:i,expiresIn:o}=await async function(e,t){const n=await hn(e,{},(async()=>{const n=(0,r.Am)({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:i,apiKey:o}=e.config,a=fn(e,i,"/v1/token","key=".concat(o)),s=await e._getAdditionalHeaders();return s["Content-Type"]="application/x-www-form-urlencoded",sn.fetch()(a,{method:"POST",headers:s,body:n})}));return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}}(e,t);this.updateTokensAndExpiration(n,i,Number(o))}updateTokensAndExpiration(e,t,n){this.refreshToken=t||null,this.accessToken=e||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(e,t){const{refreshToken:n,accessToken:r,expirationTime:i}=t,o=new Fn;return n&&(Jt("string"===typeof n,"internal-error",{appName:e}),o.refreshToken=n),r&&(Jt("string"===typeof r,"internal-error",{appName:e}),o.accessToken=r),i&&(Jt("number"===typeof i,"internal-error",{appName:e}),o.expirationTime=i),o}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new Fn,this.toJSON())}_performRefresh(){return $t("not implemented")}}function In(e,t){Jt("string"===typeof e||"undefined"===typeof e,"internal-error",{appName:t})}class Rn{constructor(e){var{uid:t,auth:n,stsTokenManager:r}=e,i=(0,Ft.Tt)(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new kn(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=n,this.stsTokenManager=r,this.accessToken=r.accessToken,this.displayName=i.displayName||null,this.email=i.email||null,this.emailVerified=i.emailVerified||!1,this.phoneNumber=i.phoneNumber||null,this.photoURL=i.photoURL||null,this.isAnonymous=i.isAnonymous||!1,this.tenantId=i.tenantId||null,this.providerData=i.providerData?[...i.providerData]:[],this.metadata=new Pn(i.createdAt||void 0,i.lastLoginAt||void 0)}async getIdToken(e){const t=await Sn(this,this.stsTokenManager.getToken(this.auth,e));return Jt(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(e){return async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(0,r.Ku)(e),i=await n.getIdToken(t),o=_n(i);Jt(o&&o.exp&&o.auth_time&&o.iat,n.auth,"internal-error");const a="object"===typeof o.firebase?o.firebase:void 0,s=null===a||void 0===a?void 0:a.sign_in_provider;return{claims:o,token:i,authTime:An(En(o.auth_time)),issuedAtTime:An(En(o.iat)),expirationTime:An(En(o.exp)),signInProvider:s||null,signInSecondFactor:(null===a||void 0===a?void 0:a.sign_in_second_factor)||null}}(this,e)}reload(){return async function(e){const t=(0,r.Ku)(e);await Dn(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}(this)}_assign(e){this!==e&&(Jt(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map((e=>Object.assign({},e))),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const t=new Rn(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return t.metadata._copy(this.metadata),t}_onReload(e){Jt(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),n=!0),t&&await Dn(this),await this.auth._persistUserIfCurrent(this),n&&this.auth._notifyListenersIfCurrent(this)}async delete(){if((0,o._isFirebaseServerApp)(this.auth.app))return Promise.reject(Kt(this.auth));const e=await this.getIdToken();return await Sn(this,async function(e,t){return dn(e,"POST","/v1/accounts:delete",t)}(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map((e=>Object.assign({},e))),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,t){var n,r,i,o,a,s,l,c;const u=null!==(n=t.displayName)&&void 0!==n?n:void 0,d=null!==(r=t.email)&&void 0!==r?r:void 0,h=null!==(i=t.phoneNumber)&&void 0!==i?i:void 0,p=null!==(o=t.photoURL)&&void 0!==o?o:void 0,f=null!==(a=t.tenantId)&&void 0!==a?a:void 0,m=null!==(s=t._redirectEventId)&&void 0!==s?s:void 0,g=null!==(l=t.createdAt)&&void 0!==l?l:void 0,v=null!==(c=t.lastLoginAt)&&void 0!==c?c:void 0,{uid:C,emailVerified:y,isAnonymous:b,providerData:w,stsTokenManager:x}=t;Jt(C&&x,e,"internal-error");const A=Fn.fromJSON(this.name,x);Jt("string"===typeof C,e,"internal-error"),In(u,e.name),In(d,e.name),Jt("boolean"===typeof y,e,"internal-error"),Jt("boolean"===typeof b,e,"internal-error"),In(h,e.name),In(p,e.name),In(f,e.name),In(m,e.name),In(g,e.name),In(v,e.name);const E=new Rn({uid:C,auth:e,email:d,emailVerified:y,displayName:u,isAnonymous:b,photoURL:p,phoneNumber:h,tenantId:f,stsTokenManager:A,createdAt:g,lastLoginAt:v});return w&&Array.isArray(w)&&(E.providerData=w.map((e=>Object.assign({},e)))),m&&(E._redirectEventId=m),E}static async _fromIdTokenResponse(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=new Fn;r.updateFromServerResponse(t);const i=new Rn({uid:t.localId,auth:e,stsTokenManager:r,isAnonymous:n});return await Dn(i),i}static async _fromGetAccountInfoResponse(e,t,n){const r=t.users[0];Jt(void 0!==r.localId,"internal-error");const i=void 0!==r.providerUserInfo?Nn(r.providerUserInfo):[],o=!(r.email&&r.passwordHash)&&!(null===i||void 0===i?void 0:i.length),a=new Fn;a.updateFromIdToken(n);const s=new Rn({uid:r.localId,auth:e,stsTokenManager:a,isAnonymous:o}),l={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:i,metadata:new Pn(r.createdAt,r.lastLoginAt),isAnonymous:!(r.email&&r.passwordHash)&&!(null===i||void 0===i?void 0:i.length)};return Object.assign(s,l),s}}const Mn=new Map;function On(e){en(e instanceof Function,"Expected a class definition");let t=Mn.get(e);return t?(en(t instanceof e,"Instance stored in cache mismatched with class"),t):(t=new e,Mn.set(e,t),t)}class jn{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,t){this.storage[e]=t}async _get(e){const t=this.storage[e];return void 0===t?null:t}async _remove(e){delete this.storage[e]}_addListener(e,t){}_removeListener(e,t){}}jn.type="NONE";const Ln=jn;function Bn(e,t,n){return"firebase".concat(":",e,":").concat(t,":").concat(n)}class Un{constructor(e,t,n){this.persistence=e,this.auth=t,this.userKey=n;const{config:r,name:i}=this.auth;this.fullUserKey=Bn(this.userKey,r.apiKey,i),this.fullPersistenceKey=Bn("persistence",r.apiKey,i),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);return e?Rn._fromJSON(this.auth,e):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const t=await this.getCurrentUser();return await this.removeCurrentUser(),this.persistence=e,t?this.setCurrentUser(t):void 0}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"authUser";if(!t.length)return new Un(On(Ln),e,n);const r=(await Promise.all(t.map((async e=>{if(await e._isAvailable())return e})))).filter((e=>e));let i=r[0]||On(Ln);const o=Bn(n,e.config.apiKey,e.name);let a=null;for(const c of t)try{const t=await c._get(o);if(t){const n=Rn._fromJSON(e,t);c!==i&&(a=n),i=c;break}}catch(l){}const s=r.filter((e=>e._shouldAllowMigration));return i._shouldAllowMigration&&s.length?(i=s[0],a&&await i._set(o,a.toJSON()),await Promise.all(t.map((async e=>{if(e!==i)try{await e._remove(o)}catch(l){}}))),new Un(i,e,n)):new Un(i,e,n)}}function Vn(e){const t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(Wn(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(Hn(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(Gn(t))return"Blackberry";if(Yn(t))return"Webos";if(zn(t))return"Safari";if((t.includes("chrome/")||Zn(t))&&!t.includes("edge/"))return"Chrome";if(qn(t))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,n=e.match(t);if(2===(null===n||void 0===n?void 0:n.length))return n[1]}return"Other"}function Hn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/firefox\//i.test(e)}function zn(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)()).toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function Zn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/crios\//i.test(e)}function Wn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/iemobile/i.test(e)}function qn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/android/i.test(e)}function Gn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/blackberry/i.test(e)}function Yn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/webos/i.test(e)}function Kn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function Qn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return Kn(e)||qn(e)||Yn(e)||Gn(e)||/windows phone/i.test(e)||Wn(e)}function Xn(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];switch(e){case"Browser":t=Vn((0,r.ZQ)());break;case"Worker":t="".concat(Vn((0,r.ZQ)()),"-").concat(e);break;default:t=e}const i=n.length?n.join(","):"FirebaseCore-web";return"".concat(t,"/","JsCore","/").concat(o.SDK_VERSION,"/").concat(i)}class Jn{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,t){const n=t=>new Promise(((n,r)=>{try{n(e(t))}catch(i){r(i)}}));n.onAbort=t,this.queue.push(n);const r=this.queue.length-1;return()=>{this.queue[r]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const t=[];try{for(const n of this.queue)await n(e),n.onAbort&&t.push(n.onAbort)}catch(n){t.reverse();for(const e of t)try{e()}catch(r){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:null===n||void 0===n?void 0:n.message})}}}class $n{constructor(e){var t,n,r,i;const o=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(t=o.minPasswordLength)&&void 0!==t?t:6,o.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=o.maxPasswordLength),void 0!==o.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=o.containsLowercaseCharacter),void 0!==o.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=o.containsUppercaseCharacter),void 0!==o.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=o.containsNumericCharacter),void 0!==o.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=o.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(r=null===(n=e.allowedNonAlphanumericCharacters)||void 0===n?void 0:n.join(""))&&void 0!==r?r:"",this.forceUpgradeOnSignin=null!==(i=e.forceUpgradeOnSignin)&&void 0!==i&&i,this.schemaVersion=e.schemaVersion}validatePassword(e){var t,n,r,i,o,a;const s={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,s),this.validatePasswordCharacterOptions(e,s),s.isValid&&(s.isValid=null===(t=s.meetsMinPasswordLength)||void 0===t||t),s.isValid&&(s.isValid=null===(n=s.meetsMaxPasswordLength)||void 0===n||n),s.isValid&&(s.isValid=null===(r=s.containsLowercaseLetter)||void 0===r||r),s.isValid&&(s.isValid=null===(i=s.containsUppercaseLetter)||void 0===i||i),s.isValid&&(s.isValid=null===(o=s.containsNumericCharacter)||void 0===o||o),s.isValid&&(s.isValid=null===(a=s.containsNonAlphanumericCharacter)||void 0===a||a),s}validatePasswordLengthOptions(e,t){const n=this.customStrengthOptions.minPasswordLength,r=this.customStrengthOptions.maxPasswordLength;n&&(t.meetsMinPasswordLength=e.length>=n),r&&(t.meetsMaxPasswordLength=e.length<=r)}validatePasswordCharacterOptions(e,t){let n;this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);for(let r=0;r<e.length;r++)n=e.charAt(r),this.updatePasswordCharacterOptionsStatuses(t,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(e,t,n,r,i){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=r)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=i))}}class er{constructor(e,t,n,r){this.app=e,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=n,this.config=r,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new nr(this),this.idTokenSubscription=new nr(this),this.beforeStateQueue=new Jn(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=zt,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=r.sdkClientVersion}_initializeWithPersistence(e,t){return t&&(this._popupRedirectResolver=On(t)),this._initializationPromise=this.queue((async()=>{var n,r;if(!this._deleted&&(this.persistenceManager=await Un.create(this,e),!this._deleted)){if(null===(n=this._popupRedirectResolver)||void 0===n?void 0:n._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch(i){}await this.initializeCurrentUser(t),this.lastNotifiedUid=(null===(r=this.currentUser)||void 0===r?void 0:r.uid)||null,this._deleted||(this._isInitialized=!0)}})),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();return this.currentUser||e?this.currentUser&&e&&this.currentUser.uid===e.uid?(this._currentUser._assign(e),void await this.currentUser.getIdToken()):void await this._updateCurrentUser(e,!0):void 0}async initializeCurrentUserFromIdToken(e){try{const t=await xn(this,{idToken:e}),n=await Rn._fromGetAccountInfoResponse(this,t,e);await this.directlySetCurrentUser(n)}catch(t){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",t),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var t;if((0,o._isFirebaseServerApp)(this.app)){const e=this.app.settings.authIdToken;return e?new Promise((t=>{setTimeout((()=>this.initializeCurrentUserFromIdToken(e).then(t,t)))})):this.directlySetCurrentUser(null)}const n=await this.assertedPersistence.getCurrentUser();let r=n,i=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const n=null===(t=this.redirectUser)||void 0===t?void 0:t._redirectEventId,o=null===r||void 0===r?void 0:r._redirectEventId,a=await this.tryRedirectSignIn(e);n&&n!==o||!(null===a||void 0===a?void 0:a.user)||(r=a.user,i=!0)}if(!r)return this.directlySetCurrentUser(null);if(!r._redirectEventId){if(i)try{await this.beforeStateQueue.runMiddleware(r)}catch(a){r=n,this._popupRedirectResolver._overrideRedirectResult(this,(()=>Promise.reject(a)))}return r?this.reloadAndSetCurrentUserOrClear(r):this.directlySetCurrentUser(null)}return Jt(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===r._redirectEventId?this.directlySetCurrentUser(r):this.reloadAndSetCurrentUserOrClear(r)}async tryRedirectSignIn(e){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch(n){await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(e){try{await Dn(e)}catch(t){if((null===t||void 0===t?void 0:t.code)!=="auth/".concat("network-request-failed"))return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=function(){if("undefined"===typeof navigator)return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if((0,o._isFirebaseServerApp)(this.app))return Promise.reject(Kt(this));const t=e?(0,r.Ku)(e):null;return t&&Jt(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._deleted)return e&&Jt(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(e),this.queue((async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()}))}async signOut(){return(0,o._isFirebaseServerApp)(this.app)?Promise.reject(Kt(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return(0,o._isFirebaseServerApp)(this.app)?Promise.reject(Kt(this)):this.queue((async()=>{await this.assertedPersistence.setPersistence(On(e))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(e)}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await async function(e){return dn(e,"GET","/v2/passwordPolicy",un(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}(this),t=new $n(e);null===this.tenantId?this._projectPasswordPolicy=t:this._tenantPasswordPolicies[this.tenantId]=t}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new r.FA("auth","Firebase",e())}onAuthStateChanged(e,t,n){return this.registerStateListener(this.authStateSubscription,e,t,n)}beforeAuthStateChanged(e,t){return this.beforeStateQueue.pushCallback(e,t)}onIdTokenChanged(e,t,n){return this.registerStateListener(this.idTokenSubscription,e,t,n)}authStateReady(){return new Promise(((e,t)=>{if(this.currentUser)e();else{const n=this.onAuthStateChanged((()=>{n(),e()}),t)}}))}async revokeAccessToken(e){if(this.currentUser){const t={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:await this.currentUser.getIdToken()};null!=this.tenantId&&(t.tenantId=this.tenantId),await async function(e,t){return dn(e,"POST","/v2/accounts:revokeToken",un(e,t))}(this,t)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(e=this._currentUser)||void 0===e?void 0:e.toJSON()}}async _setRedirectUser(e,t){const n=await this.getOrInitRedirectPersistenceManager(t);return null===e?n.removeCurrentUser():n.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const t=e&&On(e)||this._popupRedirectResolver;Jt(t,this,"argument-error"),this.redirectPersistenceManager=await Un.create(this,[On(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var t,n;return this._isInitialized&&await this.queue((async()=>{})),(null===(t=this._currentUser)||void 0===t?void 0:t._redirectEventId)===e?this._currentUser:(null===(n=this.redirectUser)||void 0===n?void 0:n._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue((async()=>this.directlySetCurrentUser(e)))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return"".concat(this.config.authDomain,":").concat(this.config.apiKey,":").concat(this.name)}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,t;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const n=null!==(t=null===(e=this.currentUser)||void 0===e?void 0:e.uid)&&void 0!==t?t:null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,t,n,r){if(this._deleted)return()=>{};const i="function"===typeof t?t:t.next.bind(t);let o=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(Jt(a,this,"internal-error"),a.then((()=>{o||i(this.currentUser)})),"function"===typeof t){const i=e.addObserver(t,n,r);return()=>{o=!0,i()}}{const n=e.addObserver(t);return()=>{o=!0,n()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return Jt(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){e&&!this.frameworks.includes(e)&&(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=Xn(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const t={"X-Client-Version":this.clientVersion};this.app.options.appId&&(t["X-Firebase-gmpid"]=this.app.options.appId);const n=await(null===(e=this.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getHeartbeatsHeader());n&&(t["X-Firebase-Client"]=n);const r=await this._getAppCheckToken();return r&&(t["X-Firebase-AppCheck"]=r),t}async _getAppCheckToken(){var e;const t=await(null===(e=this.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getToken());return(null===t||void 0===t?void 0:t.error)&&function(e){if(Zt.logLevel<=a.$b.WARN){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];Zt.warn("Auth (".concat(o.SDK_VERSION,"): ").concat(e),...n)}}("Error while retrieving App Check token: ".concat(t.error)),null===t||void 0===t?void 0:t.token}}function tr(e){return(0,r.Ku)(e)}class nr{constructor(e){this.auth=e,this.observer=null,this.addObserver=(0,r.tD)((e=>this.observer=e))}get next(){return Jt(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let rr={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function ir(e){return rr.loadJS(e)}function or(e){return"__".concat(e).concat(Math.floor(1e6*Math.random()))}class ar{constructor(e){this.type="recaptcha-enterprise",this.auth=tr(e)}async verify(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"verify",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(t,n,r){const i=window.grecaptcha;yn(i)?i.enterprise.ready((()=>{i.enterprise.execute(t,{action:e}).then((e=>{n(e)})).catch((()=>{n("NO_RECAPTCHA")}))})):r(Error("No reCAPTCHA enterprise script loaded."))}return new Promise(((e,r)=>{(async function(e){if(!t){if(null==e.tenantId&&null!=e._agentRecaptchaConfig)return e._agentRecaptchaConfig.siteKey;if(null!=e.tenantId&&void 0!==e._tenantRecaptchaConfigs[e.tenantId])return e._tenantRecaptchaConfigs[e.tenantId].siteKey}return new Promise((async(t,n)=>{wn(e,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then((r=>{if(void 0!==r.recaptchaKey){const n=new bn(r);return null==e.tenantId?e._agentRecaptchaConfig=n:e._tenantRecaptchaConfigs[e.tenantId]=n,t(n.siteKey)}n(new Error("recaptcha Enterprise site key undefined"))})).catch((e=>{n(e)}))}))})(this.auth).then((i=>{if(!t&&yn(window.grecaptcha))n(i,e,r);else{if("undefined"===typeof window)return void r(new Error("RecaptchaVerifier is only supported in browser"));let t=rr.recaptchaEnterpriseScript;0!==t.length&&(t+=i),ir(t).then((()=>{n(i,e,r)})).catch((e=>{r(e)}))}})).catch((e=>{r(e)}))}))}}async function sr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=new ar(e);let o;try{o=await i.verify(n)}catch(s){o=await i.verify(n,!0)}const a=Object.assign({},t);return r?Object.assign(a,{captchaResp:o}):Object.assign(a,{captchaResponse:o}),Object.assign(a,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(a,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),a}async function lr(e,t,n,r){var i;if(null===(i=e._getRecaptchaConfig())||void 0===i?void 0:i.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const i=await sr(e,t,n,"getOobCode"===n);return r(e,i)}return r(e,t).catch((async i=>{if(i.code==="auth/".concat("missing-recaptcha-token")){console.log("".concat(n," is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow."));const i=await sr(e,t,n,"getOobCode"===n);return r(e,i)}return Promise.reject(i)}))}function cr(e,t,n){const r=tr(e);Jt(r._canInitEmulator,r,"emulator-config-failed"),Jt(/^https?:\/\//.test(t),r,"invalid-emulator-scheme");const i=!!(null===n||void 0===n?void 0:n.disableWarnings),o=ur(t),{host:a,port:s}=function(e){const t=ur(e),n=/(\/\/)?([^?#/]+)/.exec(e.substr(t.length));if(!n)return{host:"",port:null};const r=n[2].split("@").pop()||"",i=/^(\[[^\]]+\])(:|$)/.exec(r);if(i){const e=i[1];return{host:e,port:dr(r.substr(e.length+1))}}{const[e,t]=r.split(":");return{host:e,port:dr(t)}}}(t),l=null===s?"":":".concat(s);r.config.emulator={url:"".concat(o,"//").concat(a).concat(l,"/")},r.settings.appVerificationDisabledForTesting=!0,r.emulatorConfig=Object.freeze({host:a,port:s,protocol:o.replace(":",""),options:Object.freeze({disableWarnings:i})}),i||function(){function e(){const e=document.createElement("p"),t=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",t.position="fixed",t.width="100%",t.backgroundColor="#ffffff",t.border=".1em solid #000000",t.color="#b50000",t.bottom="0px",t.left="0px",t.margin="0px",t.zIndex="10000",t.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}"undefined"!==typeof console&&"function"===typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials.");"undefined"!==typeof window&&"undefined"!==typeof document&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",e):e())}()}function ur(e){const t=e.indexOf(":");return t<0?"":e.substr(0,t+1)}function dr(e){if(!e)return null;const t=Number(e);return isNaN(t)?null:t}class hr{constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return $t("not implemented")}_getIdTokenResponse(e){return $t("not implemented")}_linkToIdToken(e,t){return $t("not implemented")}_getReauthenticationResolver(e){return $t("not implemented")}}async function pr(e,t){return dn(e,"POST","/v1/accounts:resetPassword",un(e,t))}async function fr(e,t){return dn(e,"POST","/v1/accounts:signUp",t)}async function mr(e,t){return pn(e,"POST","/v1/accounts:signInWithPassword",un(e,t))}async function gr(e,t){return dn(e,"POST","/v1/accounts:sendOobCode",un(e,t))}async function vr(e,t){return gr(e,t)}async function Cr(e,t){return gr(e,t)}class yr extends hr{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;super("password",n),this._email=e,this._password=t,this._tenantId=r}static _fromEmailAndPassword(e,t){return new yr(e,t,"password")}static _fromEmailAndCode(e,t){return new yr(e,t,"emailLink",arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const t="string"===typeof e?JSON.parse(e):e;if((null===t||void 0===t?void 0:t.email)&&(null===t||void 0===t?void 0:t.password)){if("password"===t.signInMethod)return this._fromEmailAndPassword(t.email,t.password);if("emailLink"===t.signInMethod)return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return lr(e,{returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",mr);case"emailLink":return async function(e,t){return pn(e,"POST","/v1/accounts:signInWithEmailLink",un(e,t))}(e,{email:this._email,oobCode:this._password});default:qt(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return lr(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",fr);case"emailLink":return async function(e,t){return pn(e,"POST","/v1/accounts:signInWithEmailLink",un(e,t))}(e,{idToken:t,email:this._email,oobCode:this._password});default:qt(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}async function br(e,t){return pn(e,"POST","/v1/accounts:signInWithIdp",un(e,t))}class wr extends hr{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const t=new wr(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):qt("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const t="string"===typeof e?JSON.parse(e):e,{providerId:n,signInMethod:r}=t,i=(0,Ft.Tt)(t,["providerId","signInMethod"]);if(!n||!r)return null;const o=new wr(n,r);return o.idToken=i.idToken||void 0,o.accessToken=i.accessToken||void 0,o.secret=i.secret,o.nonce=i.nonce,o.pendingToken=i.pendingToken||null,o}_getIdTokenResponse(e){return br(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,br(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,br(e,t)}buildRequest(){const e={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=(0,r.Am)(t)}return e}}const xr={USER_NOT_FOUND:"user-not-found"};class Ar extends hr{constructor(e){super("phone","phone"),this.params=e}static _fromVerification(e,t){return new Ar({verificationId:e,verificationCode:t})}static _fromTokenResponse(e,t){return new Ar({phoneNumber:e,temporaryProof:t})}_getIdTokenResponse(e){return async function(e,t){return pn(e,"POST","/v1/accounts:signInWithPhoneNumber",un(e,t))}(e,this._makeVerificationRequest())}_linkToIdToken(e,t){return async function(e,t){const n=await pn(e,"POST","/v1/accounts:signInWithPhoneNumber",un(e,t));if(n.temporaryProof)throw vn(e,"account-exists-with-different-credential",n);return n}(e,Object.assign({idToken:t},this._makeVerificationRequest()))}_getReauthenticationResolver(e){return async function(e,t){return pn(e,"POST","/v1/accounts:signInWithPhoneNumber",un(e,Object.assign(Object.assign({},t),{operation:"REAUTH"})),xr)}(e,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:e,phoneNumber:t,verificationId:n,verificationCode:r}=this.params;return e&&t?{temporaryProof:e,phoneNumber:t}:{sessionInfo:n,code:r}}toJSON(){const e={providerId:this.providerId};return this.params.phoneNumber&&(e.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(e.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(e.verificationCode=this.params.verificationCode),this.params.verificationId&&(e.verificationId=this.params.verificationId),e}static fromJSON(e){"string"===typeof e&&(e=JSON.parse(e));const{verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}=e;return n||t||r||i?new Ar({verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}):null}}class Er{constructor(e){var t,n,i,o,a,s;const l=(0,r.I9)((0,r.hp)(e)),c=null!==(t=l.apiKey)&&void 0!==t?t:null,u=null!==(n=l.oobCode)&&void 0!==n?n:null,d=function(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(i=l.mode)&&void 0!==i?i:null);Jt(c&&u&&d,"argument-error"),this.apiKey=c,this.operation=d,this.code=u,this.continueUrl=null!==(o=l.continueUrl)&&void 0!==o?o:null,this.languageCode=null!==(a=l.languageCode)&&void 0!==a?a:null,this.tenantId=null!==(s=l.tenantId)&&void 0!==s?s:null}static parseLink(e){const t=function(e){const t=(0,r.I9)((0,r.hp)(e)).link,n=t?(0,r.I9)((0,r.hp)(t)).deep_link_id:null,i=(0,r.I9)((0,r.hp)(e)).deep_link_id;return(i?(0,r.I9)((0,r.hp)(i)).link:null)||i||n||t||e}(e);try{return new Er(t)}catch(n){return null}}}class _r{constructor(){this.providerId=_r.PROVIDER_ID}static credential(e,t){return yr._fromEmailAndPassword(e,t)}static credentialWithLink(e,t){const n=Er.parseLink(t);return Jt(n,"argument-error"),yr._fromEmailAndCode(e,n.code,n.tenantId)}}_r.PROVIDER_ID="password",_r.EMAIL_PASSWORD_SIGN_IN_METHOD="password",_r.EMAIL_LINK_SIGN_IN_METHOD="emailLink";class Tr{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}class Sr extends Tr{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class kr extends Sr{static credentialFromJSON(e){const t="string"===typeof e?JSON.parse(e):e;return Jt("providerId"in t&&"signInMethod"in t,"argument-error"),wr._fromParams(t)}credential(e){return this._credential(Object.assign(Object.assign({},e),{nonce:e.rawNonce}))}_credential(e){return Jt(e.idToken||e.accessToken,"argument-error"),wr._fromParams(Object.assign(Object.assign({},e),{providerId:this.providerId,signInMethod:this.providerId}))}static credentialFromResult(e){return kr.oauthCredentialFromTaggedObject(e)}static credentialFromError(e){return kr.oauthCredentialFromTaggedObject(e.customData||{})}static oauthCredentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{oauthIdToken:n,oauthAccessToken:r,oauthTokenSecret:i,pendingToken:o,nonce:a,providerId:s}=t;if(!r&&!i&&!n&&!o)return null;if(!s)return null;try{return new kr(s)._credential({idToken:n,accessToken:r,nonce:a,pendingToken:o})}catch(l){return null}}}class Pr extends Sr{constructor(){super("facebook.com")}static credential(e){return wr._fromParams({providerId:Pr.PROVIDER_ID,signInMethod:Pr.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return Pr.credentialFromTaggedObject(e)}static credentialFromError(e){return Pr.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t||!("oauthAccessToken"in t))return null;if(!t.oauthAccessToken)return null;try{return Pr.credential(t.oauthAccessToken)}catch(n){return null}}}Pr.FACEBOOK_SIGN_IN_METHOD="facebook.com",Pr.PROVIDER_ID="facebook.com";class Dr extends Sr{constructor(){super("google.com"),this.addScope("profile")}static credential(e,t){return wr._fromParams({providerId:Dr.PROVIDER_ID,signInMethod:Dr.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:t})}static credentialFromResult(e){return Dr.credentialFromTaggedObject(e)}static credentialFromError(e){return Dr.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{oauthIdToken:n,oauthAccessToken:r}=t;if(!n&&!r)return null;try{return Dr.credential(n,r)}catch(i){return null}}}Dr.GOOGLE_SIGN_IN_METHOD="google.com",Dr.PROVIDER_ID="google.com";class Nr extends Sr{constructor(){super("github.com")}static credential(e){return wr._fromParams({providerId:Nr.PROVIDER_ID,signInMethod:Nr.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return Nr.credentialFromTaggedObject(e)}static credentialFromError(e){return Nr.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t||!("oauthAccessToken"in t))return null;if(!t.oauthAccessToken)return null;try{return Nr.credential(t.oauthAccessToken)}catch(n){return null}}}Nr.GITHUB_SIGN_IN_METHOD="github.com",Nr.PROVIDER_ID="github.com";class Fr extends hr{constructor(e,t){super(e,e),this.pendingToken=t}_getIdTokenResponse(e){return br(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,br(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,br(e,t)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(e){const t="string"===typeof e?JSON.parse(e):e,{providerId:n,signInMethod:r,pendingToken:i}=t;return n&&r&&i&&n===r?new Fr(n,i):null}static _create(e,t){return new Fr(e,t)}buildRequest(){return{requestUri:"http://localhost",returnSecureToken:!0,pendingToken:this.pendingToken}}}class Ir extends Tr{constructor(e){Jt(e.startsWith("saml."),"argument-error"),super(e)}static credentialFromResult(e){return Ir.samlCredentialFromTaggedObject(e)}static credentialFromError(e){return Ir.samlCredentialFromTaggedObject(e.customData||{})}static credentialFromJSON(e){const t=Fr.fromJSON(e);return Jt(t,"argument-error"),t}static samlCredentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{pendingToken:n,providerId:r}=t;if(!n||!r)return null;try{return Fr._create(r,n)}catch(i){return null}}}class Rr extends Sr{constructor(){super("twitter.com")}static credential(e,t){return wr._fromParams({providerId:Rr.PROVIDER_ID,signInMethod:Rr.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:t})}static credentialFromResult(e){return Rr.credentialFromTaggedObject(e)}static credentialFromError(e){return Rr.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{oauthAccessToken:n,oauthTokenSecret:r}=t;if(!n||!r)return null;try{return Rr.credential(n,r)}catch(i){return null}}}async function Mr(e,t){return pn(e,"POST","/v1/accounts:signUp",un(e,t))}Rr.TWITTER_SIGN_IN_METHOD="twitter.com",Rr.PROVIDER_ID="twitter.com";class Or{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=await Rn._fromIdTokenResponse(e,n,r),o=jr(n);return new Or({user:i,providerId:o,_tokenResponse:n,operationType:t})}static async _forOperation(e,t,n){await e._updateTokensIfNecessary(n,!0);const r=jr(n);return new Or({user:e,providerId:r,_tokenResponse:n,operationType:t})}}function jr(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}class Lr extends r.g{constructor(e,t,n,r){var i;super(t.code,t.message),this.operationType=n,this.user=r,Object.setPrototypeOf(this,Lr.prototype),this.customData={appName:e.name,tenantId:null!==(i=e.tenantId)&&void 0!==i?i:void 0,_serverResponse:t.customData._serverResponse,operationType:n}}static _fromErrorAndOperation(e,t,n,r){return new Lr(e,t,n,r)}}function Br(e,t,n,r){return("reauthenticate"===t?n._getReauthenticationResolver(e):n._getIdTokenResponse(e)).catch((n=>{if(n.code==="auth/".concat("multi-factor-auth-required"))throw Lr._fromErrorAndOperation(e,n,t,r);throw n}))}function Ur(e){return new Set(e.map((e=>{let{providerId:t}=e;return t})).filter((e=>!!e)))}async function Vr(e,t){const n=(0,r.Ku)(e);await zr(!0,n,t);const{providerUserInfo:i}=await async function(e,t){return dn(e,"POST","/v1/accounts:update",t)}(n.auth,{idToken:await n.getIdToken(),deleteProvider:[t]}),o=Ur(i||[]);return n.providerData=n.providerData.filter((e=>o.has(e.providerId))),o.has("phone")||(n.phoneNumber=null),await n.auth._persistUserIfCurrent(n),n}async function Hr(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=await Sn(e,t._linkToIdToken(e.auth,await e.getIdToken()),n);return Or._forOperation(e,"link",r)}async function zr(e,t,n){await Dn(t);const r=!1===e?"provider-already-linked":"no-such-provider";Jt(Ur(t.providerData).has(n)===e,t.auth,r)}async function Zr(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{auth:r}=e;if((0,o._isFirebaseServerApp)(r.app))return Promise.reject(Kt(r));const i="reauthenticate";try{const o=await Sn(e,Br(r,i,t,e),n);Jt(o.idToken,r,"internal-error");const a=_n(o.idToken);Jt(a,r,"internal-error");const{sub:s}=a;return Jt(e.uid===s,r,"user-mismatch"),Or._forOperation(e,i,o)}catch(a){throw(null===a||void 0===a?void 0:a.code)==="auth/".concat("user-not-found")&&qt(r,"user-mismatch"),a}}async function Wr(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const r="signIn",i=await Br(e,r,t),a=await Or._fromIdTokenResponse(e,r,i);return n||await e._updateCurrentUser(a.user),a}async function qr(e,t){return Wr(tr(e),t)}async function Gr(e,t){const n=(0,r.Ku)(e);return await zr(!1,n,t.providerId),Hr(n,t)}async function Yr(e,t){return Zr((0,r.Ku)(e),t)}async function Kr(e,t){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const n=tr(e),r=await async function(e,t){return pn(e,"POST","/v1/accounts:signInWithCustomToken",un(e,t))}(n,{token:t,returnSecureToken:!0}),i=await Or._fromIdTokenResponse(n,"signIn",r);return await n._updateCurrentUser(i.user),i}class Qr{constructor(e,t){this.factorId=e,this.uid=t.mfaEnrollmentId,this.enrollmentTime=new Date(t.enrolledAt).toUTCString(),this.displayName=t.displayName}static _fromServerResponse(e,t){return"phoneInfo"in t?Xr._fromServerResponse(e,t):"totpInfo"in t?Jr._fromServerResponse(e,t):qt(e,"internal-error")}}class Xr extends Qr{constructor(e){super("phone",e),this.phoneNumber=e.phoneInfo}static _fromServerResponse(e,t){return new Xr(t)}}class Jr extends Qr{constructor(e){super("totp",e)}static _fromServerResponse(e,t){return new Jr(t)}}function $r(e,t,n){var r;Jt((null===(r=n.url)||void 0===r?void 0:r.length)>0,e,"invalid-continue-uri"),Jt("undefined"===typeof n.dynamicLinkDomain||n.dynamicLinkDomain.length>0,e,"invalid-dynamic-link-domain"),t.continueUrl=n.url,t.dynamicLinkDomain=n.dynamicLinkDomain,t.canHandleCodeInApp=n.handleCodeInApp,n.iOS&&(Jt(n.iOS.bundleId.length>0,e,"missing-ios-bundle-id"),t.iOSBundleId=n.iOS.bundleId),n.android&&(Jt(n.android.packageName.length>0,e,"missing-android-pkg-name"),t.androidInstallApp=n.android.installApp,t.androidMinimumVersionCode=n.android.minimumVersion,t.androidPackageName=n.android.packageName)}async function ei(e){const t=tr(e);t._getPasswordPolicyInternal()&&await t._updatePasswordPolicy()}async function ti(e,t){await async function(e,t){return dn(e,"POST","/v1/accounts:update",un(e,t))}((0,r.Ku)(e),{oobCode:t})}async function ni(e,t){const n=(0,r.Ku)(e),i=await pr(n,{oobCode:t}),o=i.requestType;switch(Jt(o,n,"internal-error"),o){case"EMAIL_SIGNIN":break;case"VERIFY_AND_CHANGE_EMAIL":Jt(i.newEmail,n,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":Jt(i.mfaInfo,n,"internal-error");default:Jt(i.email,n,"internal-error")}let a=null;return i.mfaInfo&&(a=Qr._fromServerResponse(tr(n),i.mfaInfo)),{data:{email:("VERIFY_AND_CHANGE_EMAIL"===i.requestType?i.newEmail:i.email)||null,previousEmail:("VERIFY_AND_CHANGE_EMAIL"===i.requestType?i.email:i.newEmail)||null,multiFactorInfo:a},operation:o}}async function ri(e,t){const n={identifier:t,continueUri:nn()?tn():"http://localhost"},{signinMethods:i}=await async function(e,t){return dn(e,"POST","/v1/accounts:createAuthUri",un(e,t))}((0,r.Ku)(e),n);return i||[]}async function ii(e,t){const n=(0,r.Ku)(e),i={requestType:"VERIFY_EMAIL",idToken:await e.getIdToken()};t&&$r(n.auth,i,t);const{email:o}=await async function(e,t){return gr(e,t)}(n.auth,i);o!==e.email&&await e.reload()}async function oi(e,t,n){const i=(0,r.Ku)(e),o={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:await e.getIdToken(),newEmail:t};n&&$r(i.auth,o,n);const{email:a}=await async function(e,t){return gr(e,t)}(i.auth,o);a!==e.email&&await e.reload()}async function ai(e,t){let{displayName:n,photoURL:i}=t;if(void 0===n&&void 0===i)return;const o=(0,r.Ku)(e),a={idToken:await o.getIdToken(),displayName:n,photoUrl:i,returnSecureToken:!0},s=await Sn(o,async function(e,t){return dn(e,"POST","/v1/accounts:update",t)}(o.auth,a));o.displayName=s.displayName||null,o.photoURL=s.photoUrl||null;const l=o.providerData.find((e=>{let{providerId:t}=e;return"password"===t}));l&&(l.displayName=o.displayName,l.photoURL=o.photoURL),await o._updateTokensIfNecessary(s)}async function si(e,t,n){const{auth:r}=e,i={idToken:await e.getIdToken(),returnSecureToken:!0};t&&(i.email=t),n&&(i.password=n);const o=await Sn(e,async function(e,t){return dn(e,"POST","/v1/accounts:update",t)}(r,i));await e._updateTokensIfNecessary(o,!0)}class li{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.isNewUser=e,this.providerId=t,this.profile=n}}class ci extends li{constructor(e,t,n,r){super(e,t,n),this.username=r}}class ui extends li{constructor(e,t){super(e,"facebook.com",t)}}class di extends ci{constructor(e,t){super(e,"github.com",t,"string"===typeof(null===t||void 0===t?void 0:t.login)?null===t||void 0===t?void 0:t.login:null)}}class hi extends li{constructor(e,t){super(e,"google.com",t)}}class pi extends ci{constructor(e,t,n){super(e,"twitter.com",t,n)}}function fi(e){const{user:t,_tokenResponse:n}=e;return t.isAnonymous&&!n?{providerId:null,isNewUser:!1,profile:null}:function(e){var t,n;if(!e)return null;const{providerId:r}=e,i=e.rawUserInfo?JSON.parse(e.rawUserInfo):{},o=e.isNewUser||"identitytoolkit#SignupNewUserResponse"===e.kind;if(!r&&(null===e||void 0===e?void 0:e.idToken)){const r=null===(n=null===(t=_n(e.idToken))||void 0===t?void 0:t.firebase)||void 0===n?void 0:n.sign_in_provider;if(r)return new li(o,"anonymous"!==r&&"custom"!==r?r:null)}if(!r)return null;switch(r){case"facebook.com":return new ui(o,i);case"github.com":return new di(o,i);case"google.com":return new hi(o,i);case"twitter.com":return new pi(o,i,e.screenName||null);case"custom":case"anonymous":return new li(o,null);default:return new li(o,r,i)}}(n)}class mi{constructor(e,t,n){this.type=e,this.credential=t,this.user=n}static _fromIdtoken(e,t){return new mi("enroll",e,t)}static _fromMfaPendingCredential(e){return new mi("signin",e)}toJSON(){const e="enroll"===this.type?"idToken":"pendingCredential";return{multiFactorSession:{[e]:this.credential}}}static fromJSON(e){var t,n;if(null===e||void 0===e?void 0:e.multiFactorSession){if(null===(t=e.multiFactorSession)||void 0===t?void 0:t.pendingCredential)return mi._fromMfaPendingCredential(e.multiFactorSession.pendingCredential);if(null===(n=e.multiFactorSession)||void 0===n?void 0:n.idToken)return mi._fromIdtoken(e.multiFactorSession.idToken)}return null}}class gi{constructor(e,t,n){this.session=e,this.hints=t,this.signInResolver=n}static _fromError(e,t){const n=tr(e),r=t.customData._serverResponse,i=(r.mfaInfo||[]).map((e=>Qr._fromServerResponse(n,e)));Jt(r.mfaPendingCredential,n,"internal-error");const o=mi._fromMfaPendingCredential(r.mfaPendingCredential);return new gi(o,i,(async e=>{const i=await e._process(n,o);delete r.mfaInfo,delete r.mfaPendingCredential;const a=Object.assign(Object.assign({},r),{idToken:i.idToken,refreshToken:i.refreshToken});switch(t.operationType){case"signIn":const e=await Or._fromIdTokenResponse(n,t.operationType,a);return await n._updateCurrentUser(e.user),e;case"reauthenticate":return Jt(t.user,n,"internal-error"),Or._forOperation(t.user,t.operationType,a);default:qt(n,"internal-error")}}))}async resolveSignIn(e){const t=e;return this.signInResolver(t)}}class vi{constructor(e){this.user=e,this.enrolledFactors=[],e._onReload((t=>{t.mfaInfo&&(this.enrolledFactors=t.mfaInfo.map((t=>Qr._fromServerResponse(e.auth,t))))}))}static _fromUser(e){return new vi(e)}async getSession(){return mi._fromIdtoken(await this.user.getIdToken(),this.user)}async enroll(e,t){const n=e,r=await this.getSession(),i=await Sn(this.user,n._process(this.user.auth,r,t));return await this.user._updateTokensIfNecessary(i),this.user.reload()}async unenroll(e){const t="string"===typeof e?e:e.uid,n=await this.user.getIdToken();try{const e=await Sn(this.user,function(e,t){return dn(e,"POST","/v2/accounts/mfaEnrollment:withdraw",un(e,t))}(this.user.auth,{idToken:n,mfaEnrollmentId:t}));this.enrolledFactors=this.enrolledFactors.filter((e=>{let{uid:n}=e;return n!==t})),await this.user._updateTokensIfNecessary(e),await this.user.reload()}catch(r){throw r}}}const Ci=new WeakMap;const yi="__sak";class bi{constructor(e,t){this.storageRetriever=e,this.type=t}_isAvailable(){try{return this.storage?(this.storage.setItem(yi,"1"),this.storage.removeItem(yi),Promise.resolve(!0)):Promise.resolve(!1)}catch(e){return Promise.resolve(!1)}}_set(e,t){return this.storage.setItem(e,JSON.stringify(t)),Promise.resolve()}_get(e){const t=this.storage.getItem(e);return Promise.resolve(t?JSON.parse(t):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}class wi extends bi{constructor(){super((()=>window.localStorage),"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.safariLocalStorageNotSynced=function(){const e=(0,r.ZQ)();return zn(e)||Kn(e)}()&&function(){try{return!(!window||window===window.top)}catch(e){return!1}}(),this.fallbackToPolling=Qn(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const t of Object.keys(this.listeners)){const n=this.storage.getItem(t),r=this.localCache[t];n!==r&&e(t,r,n)}}onStorageEvent(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.key)return void this.forAllChangedKeys(((e,t,n)=>{this.notifyListeners(e,n)}));const n=e.key;if(t?this.detachListener():this.stopPolling(),this.safariLocalStorageNotSynced){const r=this.storage.getItem(n);if(e.newValue!==r)null!==e.newValue?this.storage.setItem(n,e.newValue):this.storage.removeItem(n);else if(this.localCache[n]===e.newValue&&!t)return}const i=()=>{const e=this.storage.getItem(n);(t||this.localCache[n]!==e)&&this.notifyListeners(n,e)},o=this.storage.getItem(n);(0,r.lT)()&&10===document.documentMode&&o!==e.newValue&&e.newValue!==e.oldValue?setTimeout(i,10):i()}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t?JSON.parse(t):t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((()=>{this.forAllChangedKeys(((e,t,n)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:n}),!0)}))}),1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){const t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}wi.type="LOCAL";const xi=wi;class Ai extends bi{constructor(){super((()=>window.sessionStorage),"SESSION")}_addListener(e,t){}_removeListener(e,t){}}Ai.type="SESSION";const Ei=Ai;class _i{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const t=this.receivers.find((t=>t.isListeningto(e)));if(t)return t;const n=new _i(e);return this.receivers.push(n),n}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const t=e,{eventId:n,eventType:r,data:i}=t.data,o=this.handlersMap[r];if(!(null===o||void 0===o?void 0:o.size))return;t.ports[0].postMessage({status:"ack",eventId:n,eventType:r});const a=Array.from(o).map((async e=>e(t.origin,i))),s=await function(e){return Promise.all(e.map((async e=>{try{return{fulfilled:!0,value:await e}}catch(t){return{fulfilled:!1,reason:t}}})))}(a);t.ports[0].postMessage({status:"done",eventId:n,eventType:r,response:s})}_subscribe(e,t){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(t)}_unsubscribe(e,t){this.handlersMap[e]&&t&&this.handlersMap[e].delete(t),t&&0!==this.handlersMap[e].size||delete this.handlersMap[e],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}function Ti(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n="";for(let r=0;r<t;r++)n+=Math.floor(10*Math.random());return e+n}_i.receivers=[];class Si{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50;const r="undefined"!==typeof MessageChannel?new MessageChannel:null;if(!r)throw new Error("connection_unavailable");let i,o;return new Promise(((a,s)=>{const l=Ti("",20);r.port1.start();const c=setTimeout((()=>{s(new Error("unsupported_event"))}),n);o={messageChannel:r,onMessage(e){const t=e;if(t.data.eventId===l)switch(t.data.status){case"ack":clearTimeout(c),i=setTimeout((()=>{s(new Error("timeout"))}),3e3);break;case"done":clearTimeout(i),a(t.data.response);break;default:clearTimeout(c),clearTimeout(i),s(new Error("invalid_response"))}}},this.handlers.add(o),r.port1.addEventListener("message",o.onMessage),this.target.postMessage({eventType:e,eventId:l,data:t},[r.port2])})).finally((()=>{o&&this.removeMessageHandler(o)}))}}function ki(){return window}function Pi(){return"undefined"!==typeof ki().WorkerGlobalScope&&"function"===typeof ki().importScripts}const Di="firebaseLocalStorageDb",Ni="firebaseLocalStorage",Fi="fbase_key";class Ii{constructor(e){this.request=e}toPromise(){return new Promise(((e,t)=>{this.request.addEventListener("success",(()=>{e(this.request.result)})),this.request.addEventListener("error",(()=>{t(this.request.error)}))}))}}function Ri(e,t){return e.transaction([Ni],t?"readwrite":"readonly").objectStore(Ni)}function Mi(){const e=indexedDB.open(Di,1);return new Promise(((t,n)=>{e.addEventListener("error",(()=>{n(e.error)})),e.addEventListener("upgradeneeded",(()=>{const t=e.result;try{t.createObjectStore(Ni,{keyPath:Fi})}catch(r){n(r)}})),e.addEventListener("success",(async()=>{const n=e.result;n.objectStoreNames.contains(Ni)?t(n):(n.close(),await function(){const e=indexedDB.deleteDatabase(Di);return new Ii(e).toPromise()}(),t(await Mi()))}))}))}async function Oi(e,t,n){const r=Ri(e,!0).put({[Fi]:t,value:n});return new Ii(r).toPromise()}function ji(e,t){const n=Ri(e,!0).delete(t);return new Ii(n).toPromise()}class Li{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then((()=>{}),(()=>{}))}async _openDb(){return this.db||(this.db=await Mi()),this.db}async _withRetries(e){let t=0;for(;;)try{const t=await this._openDb();return await e(t)}catch(n){if(t++>3)throw n;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return Pi()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=_i._getInstance(Pi()?self:null),this.receiver._subscribe("keyChanged",(async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)}))),this.receiver._subscribe("ping",(async(e,t)=>["keyChanged"]))}async initializeSender(){var e,t;if(this.activeServiceWorker=await async function(){if(!(null===navigator||void 0===navigator?void 0:navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch(e){return null}}(),!this.activeServiceWorker)return;this.sender=new Si(this.activeServiceWorker);const n=await this.sender._send("ping",{},800);n&&(null===(e=n[0])||void 0===e?void 0:e.fulfilled)&&(null===(t=n[0])||void 0===t?void 0:t.value.includes("keyChanged"))&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(this.sender&&this.activeServiceWorker&&function(){var e;return(null===(e=null===navigator||void 0===navigator?void 0:navigator.serviceWorker)||void 0===e?void 0:e.controller)||null}()===this.activeServiceWorker)try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch(t){}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await Mi();return await Oi(e,yi,"1"),await ji(e,yi),!0}catch(e){}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite((async()=>(await this._withRetries((n=>Oi(n,e,t))),this.localCache[e]=t,this.notifyServiceWorker(e))))}async _get(e){const t=await this._withRetries((t=>async function(e,t){const n=Ri(e,!1).get(t),r=await new Ii(n).toPromise();return void 0===r?null:r.value}(t,e)));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite((async()=>(await this._withRetries((t=>ji(t,e))),delete this.localCache[e],this.notifyServiceWorker(e))))}async _poll(){const e=await this._withRetries((e=>{const t=Ri(e,!1).getAll();return new Ii(t).toPromise()}));if(!e)return[];if(0!==this.pendingWrites)return[];const t=[],n=new Set;if(0!==e.length)for(const{fbase_key:r,value:i}of e)n.add(r),JSON.stringify(this.localCache[r])!==JSON.stringify(i)&&(this.notifyListeners(r,i),t.push(r));for(const r of Object.keys(this.localCache))this.localCache[r]&&!n.has(r)&&(this.notifyListeners(r,null),t.push(r));return t}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((async()=>this._poll()),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&this.stopPolling()}}Li.type="LOCAL";const Bi=Li;const Ui=1e12;class Vi{constructor(e){this.auth=e,this.counter=Ui,this._widgets=new Map}render(e,t){const n=this.counter;return this._widgets.set(n,new Hi(e,this.auth.name,t||{})),this.counter++,n}reset(e){var t;const n=e||Ui;null===(t=this._widgets.get(n))||void 0===t||t.delete(),this._widgets.delete(n)}getResponse(e){var t;const n=e||Ui;return(null===(t=this._widgets.get(n))||void 0===t?void 0:t.getResponse())||""}async execute(e){var t;const n=e||Ui;return null===(t=this._widgets.get(n))||void 0===t||t.execute(),""}}class Hi{constructor(e,t,n){this.params=n,this.timerId=null,this.deleted=!1,this.responseToken=null,this.clickHandler=()=>{this.execute()};const r="string"===typeof e?document.getElementById(e):e;Jt(r,"argument-error",{appName:t}),this.container=r,this.isVisible="invisible"!==this.params.size,this.isVisible?this.execute():this.container.addEventListener("click",this.clickHandler)}getResponse(){return this.checkIfDeleted(),this.responseToken}delete(){this.checkIfDeleted(),this.deleted=!0,this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.container.removeEventListener("click",this.clickHandler)}execute(){this.checkIfDeleted(),this.timerId||(this.timerId=window.setTimeout((()=>{this.responseToken=function(e){const t=[],n="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let r=0;r<e;r++)t.push(n.charAt(Math.floor(Math.random()*n.length)));return t.join("")}(50);const{callback:e,"expired-callback":t}=this.params;if(e)try{e(this.responseToken)}catch(n){}this.timerId=window.setTimeout((()=>{if(this.timerId=null,this.responseToken=null,t)try{t()}catch(n){}this.isVisible&&this.execute()}),6e4)}),500))}checkIfDeleted(){if(this.deleted)throw new Error("reCAPTCHA mock was already deleted!")}}const zi=or("rcb"),Zi=new on(3e4,6e4);class Wi{constructor(){var e;this.hostLanguage="",this.counter=0,this.librarySeparatelyLoaded=!!(null===(e=ki().grecaptcha)||void 0===e?void 0:e.render)}load(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Jt(function(e){return e.length<=6&&/^\s*[a-zA-Z0-9\-]*\s*$/.test(e)}(t),e,"argument-error"),this.shouldResolveImmediately(t)&&Cn(ki().grecaptcha)?Promise.resolve(ki().grecaptcha):new Promise(((n,i)=>{const o=ki().setTimeout((()=>{i(Gt(e,"network-request-failed"))}),Zi.get());ki()[zi]=()=>{ki().clearTimeout(o),delete ki()[zi];const r=ki().grecaptcha;if(!r||!Cn(r))return void i(Gt(e,"internal-error"));const a=r.render;r.render=(e,t)=>{const n=a(e,t);return this.counter++,n},this.hostLanguage=t,n(r)};ir("".concat(rr.recaptchaV2Script,"?").concat((0,r.Am)({onload:zi,render:"explicit",hl:t}))).catch((()=>{clearTimeout(o),i(Gt(e,"internal-error"))}))}))}clearedOneInstance(){this.counter--}shouldResolveImmediately(e){var t;return!!(null===(t=ki().grecaptcha)||void 0===t?void 0:t.render)&&(e===this.hostLanguage||this.counter>0||this.librarySeparatelyLoaded)}}class qi{async load(e){return new Vi(e)}clearedOneInstance(){}}const Gi="recaptcha",Yi={theme:"light",type:"image"};class Ki{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object.assign({},Yi);this.parameters=n,this.type=Gi,this.destroyed=!1,this.widgetId=null,this.tokenChangeListeners=new Set,this.renderPromise=null,this.recaptcha=null,this.auth=tr(e),this.isInvisible="invisible"===this.parameters.size,Jt("undefined"!==typeof document,this.auth,"operation-not-supported-in-this-environment");const r="string"===typeof t?document.getElementById(t):t;Jt(r,this.auth,"argument-error"),this.container=r,this.parameters.callback=this.makeTokenCallback(this.parameters.callback),this._recaptchaLoader=this.auth.settings.appVerificationDisabledForTesting?new qi:new Wi,this.validateStartingState()}async verify(){this.assertNotDestroyed();const e=await this.render(),t=this.getAssertedRecaptcha(),n=t.getResponse(e);return n||new Promise((n=>{const r=e=>{e&&(this.tokenChangeListeners.delete(r),n(e))};this.tokenChangeListeners.add(r),this.isInvisible&&t.execute(e)}))}render(){try{this.assertNotDestroyed()}catch(e){return Promise.reject(e)}return this.renderPromise||(this.renderPromise=this.makeRenderPromise().catch((e=>{throw this.renderPromise=null,e}))),this.renderPromise}_reset(){this.assertNotDestroyed(),null!==this.widgetId&&this.getAssertedRecaptcha().reset(this.widgetId)}clear(){this.assertNotDestroyed(),this.destroyed=!0,this._recaptchaLoader.clearedOneInstance(),this.isInvisible||this.container.childNodes.forEach((e=>{this.container.removeChild(e)}))}validateStartingState(){Jt(!this.parameters.sitekey,this.auth,"argument-error"),Jt(this.isInvisible||!this.container.hasChildNodes(),this.auth,"argument-error"),Jt("undefined"!==typeof document,this.auth,"operation-not-supported-in-this-environment")}makeTokenCallback(e){return t=>{if(this.tokenChangeListeners.forEach((e=>e(t))),"function"===typeof e)e(t);else if("string"===typeof e){const n=ki()[e];"function"===typeof n&&n(t)}}}assertNotDestroyed(){Jt(!this.destroyed,this.auth,"internal-error")}async makeRenderPromise(){if(await this.init(),!this.widgetId){let e=this.container;if(!this.isInvisible){const t=document.createElement("div");e.appendChild(t),e=t}this.widgetId=this.getAssertedRecaptcha().render(e,this.parameters)}return this.widgetId}async init(){Jt(nn()&&!Pi(),this.auth,"internal-error"),await function(){let e=null;return new Promise((t=>{"complete"!==document.readyState?(e=()=>t(),window.addEventListener("load",e)):t()})).catch((t=>{throw e&&window.removeEventListener("load",e),t}))}(),this.recaptcha=await this._recaptchaLoader.load(this.auth,this.auth.languageCode||void 0);const e=await async function(e){return(await dn(e,"GET","/v1/recaptchaParams")).recaptchaSiteKey||""}(this.auth);Jt(e,this.auth,"internal-error"),this.parameters.sitekey=e}getAssertedRecaptcha(){return Jt(this.recaptcha,this.auth,"internal-error"),this.recaptcha}}class Qi{constructor(e,t){this.verificationId=e,this.onConfirmation=t}confirm(e){const t=Ar._fromVerification(this.verificationId,e);return this.onConfirmation(t)}}async function Xi(e,t,n){var r;const i=await n.verify();try{let o;if(Jt("string"===typeof i,e,"argument-error"),Jt(n.type===Gi,e,"argument-error"),o="string"===typeof t?{phoneNumber:t}:t,"session"in o){const t=o.session;if("phoneNumber"in o){Jt("enroll"===t.type,e,"internal-error");const n=await function(e,t){return dn(e,"POST","/v2/accounts/mfaEnrollment:start",un(e,t))}(e,{idToken:t.credential,phoneEnrollmentInfo:{phoneNumber:o.phoneNumber,recaptchaToken:i}});return n.phoneSessionInfo.sessionInfo}{Jt("signin"===t.type,e,"internal-error");const n=(null===(r=o.multiFactorHint)||void 0===r?void 0:r.uid)||o.multiFactorUid;Jt(n,e,"missing-multi-factor-info");const a=await function(e,t){return dn(e,"POST","/v2/accounts/mfaSignIn:start",un(e,t))}(e,{mfaPendingCredential:t.credential,mfaEnrollmentId:n,phoneSignInInfo:{recaptchaToken:i}});return a.phoneResponseInfo.sessionInfo}}{const{sessionInfo:t}=await async function(e,t){return dn(e,"POST","/v1/accounts:sendVerificationCode",un(e,t))}(e,{phoneNumber:o.phoneNumber,recaptchaToken:i});return t}}finally{n._reset()}}class Ji{constructor(e){this.providerId=Ji.PROVIDER_ID,this.auth=tr(e)}verifyPhoneNumber(e,t){return Xi(this.auth,e,(0,r.Ku)(t))}static credential(e,t){return Ar._fromVerification(e,t)}static credentialFromResult(e){const t=e;return Ji.credentialFromTaggedObject(t)}static credentialFromError(e){return Ji.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{phoneNumber:n,temporaryProof:r}=t;return n&&r?Ar._fromTokenResponse(n,r):null}}function $i(e,t){return t?On(t):(Jt(e._popupRedirectResolver,e,"argument-error"),e._popupRedirectResolver)}Ji.PROVIDER_ID="phone",Ji.PHONE_SIGN_IN_METHOD="phone";class eo extends hr{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return br(e,this._buildIdpRequest())}_linkToIdToken(e,t){return br(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return br(e,this._buildIdpRequest())}_buildIdpRequest(e){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function to(e){return Wr(e.auth,new eo(e),e.bypassAuthState)}function no(e){const{auth:t,user:n}=e;return Jt(n,t,"internal-error"),Zr(n,new eo(e),e.bypassAuthState)}async function ro(e){const{auth:t,user:n}=e;return Jt(n,t,"internal-error"),Hr(n,new eo(e),e.bypassAuthState)}class io{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];this.auth=e,this.resolver=n,this.user=r,this.bypassAuthState=i,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise((async(e,t)=>{this.pendingPromise={resolve:e,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(n){this.reject(n)}}))}async onAuthEvent(e){const{urlResponse:t,sessionId:n,postBody:r,tenantId:i,error:o,type:a}=e;if(o)return void this.reject(o);const s={auth:this.auth,requestUri:t,sessionId:n,tenantId:i||void 0,postBody:r||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(a)(s))}catch(l){this.reject(l)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return to;case"linkViaPopup":case"linkViaRedirect":return ro;case"reauthViaPopup":case"reauthViaRedirect":return no;default:qt(this.auth,"internal-error")}}resolve(e){en(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){en(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const oo=new on(2e3,1e4);class ao extends io{constructor(e,t,n,r,i){super(e,t,r,i),this.provider=n,this.authWindow=null,this.pollId=null,ao.currentPopupAction&&ao.currentPopupAction.cancel(),ao.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return Jt(e,this.auth,"internal-error"),e}async onExecution(){en(1===this.filter.length,"Popup operations only handle one event");const e=Ti();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch((e=>{this.reject(e)})),this.resolver._isIframeWebStorageSupported(this.auth,(e=>{e||this.reject(Gt(this.auth,"web-storage-unsupported"))})),this.pollUserCancellation()}get eventId(){var e;return(null===(e=this.authWindow)||void 0===e?void 0:e.associatedEvent)||null}cancel(){this.reject(Gt(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,ao.currentPopupAction=null}pollUserCancellation(){const e=()=>{var t,n;(null===(n=null===(t=this.authWindow)||void 0===t?void 0:t.window)||void 0===n?void 0:n.closed)?this.pollId=window.setTimeout((()=>{this.pollId=null,this.reject(Gt(this.auth,"popup-closed-by-user"))}),8e3):this.pollId=window.setTimeout(e,oo.get())};e()}}ao.currentPopupAction=null;const so="pendingRedirect",lo=new Map;class co extends io{constructor(e,t){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],t,void 0,arguments.length>2&&void 0!==arguments[2]&&arguments[2]),this.eventId=null}async execute(){let e=lo.get(this.auth._key());if(!e){try{const t=await async function(e,t){const n=fo(t),r=po(e);if(!await r._isAvailable())return!1;const i="true"===await r._get(n);return await r._remove(n),i}(this.resolver,this.auth),n=t?await super.execute():null;e=()=>Promise.resolve(n)}catch(t){e=()=>Promise.reject(t)}lo.set(this.auth._key(),e)}return this.bypassAuthState||lo.set(this.auth._key(),(()=>Promise.resolve(null))),e()}async onAuthEvent(e){if("signInViaRedirect"===e.type)return super.onAuthEvent(e);if("unknown"!==e.type){if(e.eventId){const t=await this.auth._redirectUserForId(e.eventId);if(t)return this.user=t,super.onAuthEvent(e);this.resolve(null)}}else this.resolve(null)}async onExecution(){}cleanUp(){}}async function uo(e,t){return po(e)._set(fo(t),"true")}function ho(e,t){lo.set(e._key(),t)}function po(e){return On(e._redirectPersistence)}function fo(e){return Bn(so,e.config.apiKey,e.name)}function mo(e,t,n){return async function(e,t,n){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const r=tr(e);Qt(e,t,Tr),await r._initializationPromise;const i=$i(r,n);return await uo(i,r),i._openRedirect(r,t,"signInViaRedirect")}(e,t,n)}function go(e,t,n){return async function(e,t,n){const i=(0,r.Ku)(e);if(Qt(i.auth,t,Tr),(0,o._isFirebaseServerApp)(i.auth.app))return Promise.reject(Kt(i.auth));await i.auth._initializationPromise;const a=$i(i.auth,n);await uo(a,i.auth);const s=await yo(i);return a._openRedirect(i.auth,t,"reauthViaRedirect",s)}(e,t,n)}function vo(e,t,n){return async function(e,t,n){const i=(0,r.Ku)(e);Qt(i.auth,t,Tr),await i.auth._initializationPromise;const o=$i(i.auth,n);await zr(!1,i,t.providerId),await uo(o,i.auth);const a=await yo(i);return o._openRedirect(i.auth,t,"linkViaRedirect",a)}(e,t,n)}async function Co(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const r=tr(e),i=$i(r,t),a=new co(r,i,n),s=await a.execute();return s&&!n&&(delete s.user._redirectEventId,await r._persistUserIfCurrent(s.user),await r._setRedirectUser(null,t)),s}async function yo(e){const t=Ti("".concat(e.uid,":::"));return e._redirectEventId=t,await e.auth._setRedirectUser(e),await e.auth._persistUserIfCurrent(e),t}class bo{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let t=!1;return this.consumers.forEach((n=>{this.isEventForConsumer(e,n)&&(t=!0,this.sendToConsumer(e,n),this.saveEventToCache(e))})),this.hasHandledPotentialRedirect||!function(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return xo(e);default:return!1}}(e)||(this.hasHandledPotentialRedirect=!0,t||(this.queuedRedirectEvent=e,t=!0)),t}sendToConsumer(e,t){var n;if(e.error&&!xo(e)){const r=(null===(n=e.error.code)||void 0===n?void 0:n.split("auth/")[1])||"internal-error";t.onError(Gt(this.auth,r))}else t.onAuthEvent(e)}isEventForConsumer(e,t){const n=null===t.eventId||!!e.eventId&&e.eventId===t.eventId;return t.filter.includes(e.type)&&n}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(wo(e))}saveEventToCache(e){this.cachedEventUids.add(wo(e)),this.lastProcessedEventTime=Date.now()}}function wo(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter((e=>e)).join("-")}function xo(e){let{type:t,error:n}=e;return"unknown"===t&&(null===n||void 0===n?void 0:n.code)==="auth/".concat("no-auth-event")}async function Ao(e){return dn(e,"GET","/v1/projects",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}const Eo=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,_o=/^https?/;function To(e){const t=tn(),{protocol:n,hostname:r}=new URL(t);if(e.startsWith("chrome-extension://")){const i=new URL(e);return""===i.hostname&&""===r?"chrome-extension:"===n&&e.replace("chrome-extension://","")===t.replace("chrome-extension://",""):"chrome-extension:"===n&&i.hostname===r}if(!_o.test(n))return!1;if(Eo.test(e))return r===e;const i=e.replace(/\./g,"\\.");return new RegExp("^(.+\\."+i+"|"+i+")$","i").test(r)}const So=new on(3e4,6e4);function ko(){const e=ki().___jsl;if(null===e||void 0===e?void 0:e.H)for(const t of Object.keys(e.H))if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=[...e.H[t].L],e.CP)for(let n=0;n<e.CP.length;n++)e.CP[n]=null}function Po(e){return new Promise(((t,n)=>{var r,i,o;function a(){ko(),gapi.load("gapi.iframes",{callback:()=>{t(gapi.iframes.getContext())},ontimeout:()=>{ko(),n(Gt(e,"network-request-failed"))},timeout:So.get()})}if(null===(i=null===(r=ki().gapi)||void 0===r?void 0:r.iframes)||void 0===i?void 0:i.Iframe)t(gapi.iframes.getContext());else{if(!(null===(o=ki().gapi)||void 0===o?void 0:o.load)){const t=or("iframefcb");return ki()[t]=()=>{gapi.load?a():n(Gt(e,"network-request-failed"))},ir("".concat(rr.gapiScript,"?onload=").concat(t)).catch((e=>n(e)))}a()}})).catch((e=>{throw Do=null,e}))}let Do=null;const No=new on(5e3,15e3),Fo="__/auth/iframe",Io="emulator/auth/iframe",Ro={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},Mo=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Oo(e){const t=e.config;Jt(t.authDomain,e,"auth-domain-config-required");const n=t.emulator?an(t,Io):"https://".concat(e.config.authDomain,"/").concat(Fo),i={apiKey:t.apiKey,appName:e.name,v:o.SDK_VERSION},a=Mo.get(e.config.apiHost);a&&(i.eid=a);const s=e._getFrameworks();return s.length&&(i.fw=s.join(",")),"".concat(n,"?").concat((0,r.Am)(i).slice(1))}async function jo(e){const t=await function(e){return Do=Do||Po(e),Do}(e),n=ki().gapi;return Jt(n,e,"internal-error"),t.open({where:document.body,url:Oo(e),messageHandlersFilter:n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:Ro,dontclear:!0},(t=>new Promise((async(n,r)=>{await t.restyle({setHideOnLeave:!1});const i=Gt(e,"network-request-failed"),o=ki().setTimeout((()=>{r(i)}),No.get());function a(){ki().clearTimeout(o),n(t)}t.ping(a).then(a,(()=>{r(i)}))}))))}const Lo={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class Bo{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch(e){}}}function Uo(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:600;const a=Math.max((window.screen.availHeight-o)/2,0).toString(),s=Math.max((window.screen.availWidth-i)/2,0).toString();let l="";const c=Object.assign(Object.assign({},Lo),{width:i.toString(),height:o.toString(),top:a,left:s}),u=(0,r.ZQ)().toLowerCase();n&&(l=Zn(u)?"_blank":n),Hn(u)&&(t=t||"http://localhost",c.scrollbars="yes");const d=Object.entries(c).reduce(((e,t)=>{let[n,r]=t;return"".concat(e).concat(n,"=").concat(r,",")}),"");if(function(){var e;return Kn(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)())&&!!(null===(e=window.navigator)||void 0===e?void 0:e.standalone)}(u)&&"_self"!==l)return function(e,t){const n=document.createElement("a");n.href=e,n.target=t;const r=document.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),n.dispatchEvent(r)}(t||"",l),new Bo(null);const h=window.open(t||"",l,d);Jt(h,e,"popup-blocked");try{h.focus()}catch(p){}return new Bo(h)}const Vo="__/auth/handler",Ho="emulator/auth/handler",zo=encodeURIComponent("fac");async function Zo(e,t,n,i,a,s){Jt(e.config.authDomain,e,"auth-domain-config-required"),Jt(e.config.apiKey,e,"invalid-api-key");const l={apiKey:e.config.apiKey,appName:e.name,authType:n,redirectUrl:i,v:o.SDK_VERSION,eventId:a};if(t instanceof Tr){t.setDefaultLanguage(e.languageCode),l.providerId=t.providerId||"",(0,r.Im)(t.getCustomParameters())||(l.customParameters=JSON.stringify(t.getCustomParameters()));for(const[e,t]of Object.entries(s||{}))l[e]=t}if(t instanceof Sr){const e=t.getScopes().filter((e=>""!==e));e.length>0&&(l.scopes=e.join(","))}e.tenantId&&(l.tid=e.tenantId);const c=l;for(const r of Object.keys(c))void 0===c[r]&&delete c[r];const u=await e._getAppCheckToken(),d=u?"#".concat(zo,"=").concat(encodeURIComponent(u)):"";return"".concat(function(e){let{config:t}=e;if(!t.emulator)return"https://".concat(t.authDomain,"/").concat(Vo);return an(t,Ho)}(e),"?").concat((0,r.Am)(c).slice(1)).concat(d)}const Wo="webStorageSupport";const qo=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=Ei,this._completeRedirectFn=Co,this._overrideRedirectResult=ho}async _openPopup(e,t,n,r){var i;en(null===(i=this.eventManagers[e._key()])||void 0===i?void 0:i.manager,"_initialize() not called before _openPopup()");return Uo(e,await Zo(e,t,n,tn(),r),Ti())}async _openRedirect(e,t,n,r){await this._originValidation(e);return function(e){ki().location.href=e}(await Zo(e,t,n,tn(),r)),new Promise((()=>{}))}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:e,promise:n}=this.eventManagers[t];return e?Promise.resolve(e):(en(n,"If manager is not set, promise should be"),n)}const n=this.initAndGetManager(e);return this.eventManagers[t]={promise:n},n.catch((()=>{delete this.eventManagers[t]})),n}async initAndGetManager(e){const t=await jo(e),n=new bo(e);return t.register("authEvent",(t=>{Jt(null===t||void 0===t?void 0:t.authEvent,e,"invalid-auth-event");return{status:n.onEvent(t.authEvent)?"ACK":"ERROR"}}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:n},this.iframes[e._key()]=t,n}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(Wo,{type:Wo},(n=>{var r;const i=null===(r=null===n||void 0===n?void 0:n[0])||void 0===r?void 0:r[Wo];void 0!==i&&t(!!i),qt(e,"internal-error")}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=async function(e){if(e.config.emulator)return;const{authorizedDomains:t}=await Ao(e);for(const r of t)try{if(To(r))return}catch(n){}qt(e,"unauthorized-domain")}(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return Qn()||zn()||Kn()}};class Go{constructor(e){this.factorId=e}_process(e,t,n){switch(t.type){case"enroll":return this._finalizeEnroll(e,t.credential,n);case"signin":return this._finalizeSignIn(e,t.credential);default:return $t("unexpected MultiFactorSessionType")}}}class Yo extends Go{constructor(e){super("phone"),this.credential=e}static _fromCredential(e){return new Yo(e)}_finalizeEnroll(e,t,n){return function(e,t){return dn(e,"POST","/v2/accounts/mfaEnrollment:finalize",un(e,t))}(e,{idToken:t,displayName:n,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(e,t){return function(e,t){return dn(e,"POST","/v2/accounts/mfaSignIn:finalize",un(e,t))}(e,{mfaPendingCredential:t,phoneVerificationInfo:this.credential._makeVerificationRequest()})}}class Ko{constructor(){}static assertion(e){return Yo._fromCredential(e)}}Ko.FACTOR_ID="phone";var Qo="@firebase/auth",Xo="1.7.5";class Jo{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),(null===(e=this.auth.currentUser)||void 0===e?void 0:e.uid)||null}async getToken(e){if(this.assertAuthConfigured(),await this.auth._initializationPromise,!this.auth.currentUser)return null;return{accessToken:await this.auth.currentUser.getIdToken(e)}}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const t=this.auth.onIdTokenChanged((t=>{e((null===t||void 0===t?void 0:t.stsTokenManager.accessToken)||null)}));this.internalListeners.set(e,t),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const t=this.internalListeners.get(e);t&&(this.internalListeners.delete(e),t(),this.updateProactiveRefresh())}assertAuthConfigured(){Jt(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,r.XA)("authIdTokenMaxAge");var $o;function ea(){return window}rr={loadJS:e=>new Promise(((t,n)=>{const r=document.createElement("script");r.setAttribute("src",e),r.onload=t,r.onerror=e=>{const t=Gt("internal-error");t.customData=e,n(t)},r.type="text/javascript",r.charset="UTF-8",function(){var e,t;return null!==(t=null===(e=document.getElementsByTagName("head"))||void 0===e?void 0:e[0])&&void 0!==t?t:document}().appendChild(r)})),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="},$o="Browser",(0,o._registerComponent)(new i.uA("auth",((e,t)=>{let{options:n}=t;const r=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),o=e.getProvider("app-check-internal"),{apiKey:a,authDomain:s}=r.options;Jt(a&&!a.includes(":"),"invalid-api-key",{appName:r.name});const l={apiKey:a,authDomain:s,clientPlatform:$o,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Xn($o)},c=new er(r,i,o,l);return function(e,t){const n=(null===t||void 0===t?void 0:t.persistence)||[],r=(Array.isArray(n)?n:[n]).map(On);(null===t||void 0===t?void 0:t.errorMap)&&e._updateErrorMap(t.errorMap),e._initializeWithPersistence(r,null===t||void 0===t?void 0:t.popupRedirectResolver)}(c,n),c}),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback(((e,t,n)=>{e.getProvider("auth-internal").initialize()}))),(0,o._registerComponent)(new i.uA("auth-internal",(e=>(e=>new Jo(e))(tr(e.getProvider("auth").getImmediate()))),"PRIVATE").setInstantiationMode("EXPLICIT")),(0,o.registerVersion)(Qo,Xo,function(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}($o)),(0,o.registerVersion)(Qo,Xo,"esm2017");async function ta(e,t,n){var r;const{BuildInfo:i}=ea();en(t.sessionId,"AuthEvent did not contain a session ID");const o=await async function(e){const t=function(e){if(en(/[0-9a-zA-Z]+/.test(e),"Can only convert alpha-numeric strings"),"undefined"!==typeof TextEncoder)return(new TextEncoder).encode(e);const t=new ArrayBuffer(e.length),n=new Uint8Array(t);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n}(e),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("")}(t.sessionId),a={};return Kn()?a.ibi=i.packageName:qn()?a.apn=i.packageName:qt(e,"operation-not-supported-in-this-environment"),i.displayName&&(a.appDisplayName=i.displayName),a.sessionId=o,Zo(e,n,t.type,void 0,null!==(r=t.eventId)&&void 0!==r?r:void 0,a)}function na(e){const{cordova:t}=ea();return new Promise((n=>{t.plugins.browsertab.isAvailable((i=>{let o=null;i?t.plugins.browsertab.openUrl(e):o=t.InAppBrowser.open(e,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/(iPad|iPhone|iPod).*OS 7_\d/i.test(e)||/(iPad|iPhone|iPod).*OS 8_\d/i.test(e)}()?"_blank":"_system","location=yes"),n(o)}))}))}const ra=20;class ia extends bo{constructor(){super(...arguments),this.passiveListeners=new Set,this.initPromise=new Promise((e=>{this.resolveInialized=e}))}addPassiveListener(e){this.passiveListeners.add(e)}removePassiveListener(e){this.passiveListeners.delete(e)}resetRedirect(){this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1}onEvent(e){return this.resolveInialized(),this.passiveListeners.forEach((t=>t(e))),super.onEvent(e)}async initialized(){await this.initPromise}}async function oa(e){const t=await la()._get(ca(e));return t&&await la()._remove(ca(e)),t}function aa(e,t){var n,r;const i=function(e){const t=ua(e),n=t.link?decodeURIComponent(t.link):void 0,r=ua(n).link,i=t.deep_link_id?decodeURIComponent(t.deep_link_id):void 0;return ua(i).link||i||r||n||e}(t);if(i.includes("/__/auth/callback")){const t=ua(i),o=t.firebaseError?function(e){try{return JSON.parse(e)}catch(t){return null}}(decodeURIComponent(t.firebaseError)):null,a=null===(r=null===(n=null===o||void 0===o?void 0:o.code)||void 0===n?void 0:n.split("auth/"))||void 0===r?void 0:r[1],s=a?Gt(a):null;return s?{type:e.type,eventId:e.eventId,tenantId:e.tenantId,error:s,urlResponse:null,sessionId:null,postBody:null}:{type:e.type,eventId:e.eventId,tenantId:e.tenantId,sessionId:e.sessionId,urlResponse:i,postBody:null}}return null}function sa(){const e=[],t="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let n=0;n<ra;n++){const n=Math.floor(62*Math.random());e.push(t.charAt(n))}return e.join("")}function la(){return On(xi)}function ca(e){return Bn("authEvent",e.config.apiKey,e.name)}function ua(e){if(!(null===e||void 0===e?void 0:e.includes("?")))return{};const[t,...n]=e.split("?");return(0,r.I9)(n.join("?"))}const da=class{constructor(){this._redirectPersistence=Ei,this._shouldInitProactively=!0,this.eventManagers=new Map,this.originValidationPromises={},this._completeRedirectFn=Co,this._overrideRedirectResult=ho}async _initialize(e){const t=e._key();let n=this.eventManagers.get(t);return n||(n=new ia(e),this.eventManagers.set(t,n),this.attachCallbackListeners(e,n)),n}_openPopup(e){qt(e,"operation-not-supported-in-this-environment")}async _openRedirect(e,t,n,r){!function(e){var t,n,r,i,o,a,s,l,c,u;const d=ea();Jt("function"===typeof(null===(t=null===d||void 0===d?void 0:d.universalLinks)||void 0===t?void 0:t.subscribe),e,"invalid-cordova-configuration",{missingPlugin:"cordova-universal-links-plugin-fix"}),Jt("undefined"!==typeof(null===(n=null===d||void 0===d?void 0:d.BuildInfo)||void 0===n?void 0:n.packageName),e,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-buildInfo"}),Jt("function"===typeof(null===(o=null===(i=null===(r=null===d||void 0===d?void 0:d.cordova)||void 0===r?void 0:r.plugins)||void 0===i?void 0:i.browsertab)||void 0===o?void 0:o.openUrl),e,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-browsertab"}),Jt("function"===typeof(null===(l=null===(s=null===(a=null===d||void 0===d?void 0:d.cordova)||void 0===a?void 0:a.plugins)||void 0===s?void 0:s.browsertab)||void 0===l?void 0:l.isAvailable),e,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-browsertab"}),Jt("function"===typeof(null===(u=null===(c=null===d||void 0===d?void 0:d.cordova)||void 0===c?void 0:c.InAppBrowser)||void 0===u?void 0:u.open),e,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-inappbrowser"})}(e);const i=await this._initialize(e);await i.initialized(),i.resetRedirect(),lo.clear(),await this._originValidation(e);const o=function(e,t){return{type:t,eventId:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,urlResponse:null,sessionId:sa(),postBody:null,tenantId:e.tenantId,error:Gt(e,"no-auth-event")}}(e,n,r);await function(e,t){return la()._set(ca(e),t)}(e,o);const a=await ta(e,o,t);return async function(e,t,n){const{cordova:r}=ea();let i=()=>{};try{await new Promise(((o,a)=>{let s=null;function l(){var e;o();const t=null===(e=r.plugins.browsertab)||void 0===e?void 0:e.close;"function"===typeof t&&t(),"function"===typeof(null===n||void 0===n?void 0:n.close)&&n.close()}function c(){s||(s=window.setTimeout((()=>{a(Gt(e,"redirect-cancelled-by-user"))}),2e3))}function u(){"visible"===(null===document||void 0===document?void 0:document.visibilityState)&&c()}t.addPassiveListener(l),document.addEventListener("resume",c,!1),qn()&&document.addEventListener("visibilitychange",u,!1),i=()=>{t.removePassiveListener(l),document.removeEventListener("resume",c,!1),document.removeEventListener("visibilitychange",u,!1),s&&window.clearTimeout(s)}}))}finally{i()}}(e,i,await na(a))}_isIframeWebStorageSupported(e,t){throw new Error("Method not implemented.")}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=async function(e){const{BuildInfo:t}=ea(),n={};Kn()?n.iosBundleId=t.packageName:qn()?n.androidPackageName=t.packageName:qt(e,"operation-not-supported-in-this-environment"),await Ao(e,n)}(e)),this.originValidationPromises[t]}attachCallbackListeners(e,t){const{universalLinks:n,handleOpenURL:r,BuildInfo:i}=ea(),o=setTimeout((async()=>{await oa(e),t.onEvent(ha())}),500),a=async n=>{clearTimeout(o);const r=await oa(e);let i=null;r&&(null===n||void 0===n?void 0:n.url)&&(i=aa(r,n.url)),t.onEvent(i||ha())};"undefined"!==typeof n&&"function"===typeof n.subscribe&&n.subscribe(null,a);const s=r,l="".concat(i.packageName.toLowerCase(),"://");ea().handleOpenURL=async e=>{if(e.toLowerCase().startsWith(l)&&a({url:e}),"function"===typeof s)try{s(e)}catch(t){console.error(t)}}}};function ha(){return{type:"unknown",eventId:null,sessionId:null,urlResponse:null,postBody:null,tenantId:null,error:Gt("no-auth-event")}}function pa(){var e;return(null===(e=null===self||void 0===self?void 0:self.location)||void 0===e?void 0:e.protocol)||null}function fa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return!("file:"!==pa()&&"ionic:"!==pa()&&"capacitor:"!==pa()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function ma(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return(0,r.lT)()&&11===(null===document||void 0===document?void 0:document.documentMode)||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ZQ)();return/Edge\/\d+/.test(e)}(e)}function ga(){try{const e=self.localStorage,t=Ti();if(e)return e.setItem(t,"1"),e.removeItem(t),!ma()||(0,r.zW)()}catch(e){return va()&&(0,r.zW)()}return!1}function va(){return"undefined"!==typeof n.g&&"WorkerGlobalScope"in n.g&&"importScripts"in n.g}function Ca(){return("http:"===pa()||"https:"===pa()||(0,r.sr)()||fa())&&!((0,r.lV)()||(0,r.Ll)())&&ga()&&!va()}function ya(){return fa()&&"undefined"!==typeof document}const ba={LOCAL:"local",NONE:"none",SESSION:"session"},wa=Jt,xa="persistence";async function Aa(e){await e._initializationPromise;const t=Ea(),n=Bn(xa,e.config.apiKey,e.name);t&&t.setItem(n,e._getPersistence())}function Ea(){var e;try{return(null===(e="undefined"!==typeof window?window:null)||void 0===e?void 0:e.sessionStorage)||null}catch(t){return null}}const _a=Jt;class Ta{constructor(){this.browserResolver=On(qo),this.cordovaResolver=On(da),this.underlyingResolver=null,this._redirectPersistence=Ei,this._completeRedirectFn=Co,this._overrideRedirectResult=ho}async _initialize(e){return await this.selectUnderlyingResolver(),this.assertedUnderlyingResolver._initialize(e)}async _openPopup(e,t,n,r){return await this.selectUnderlyingResolver(),this.assertedUnderlyingResolver._openPopup(e,t,n,r)}async _openRedirect(e,t,n,r){return await this.selectUnderlyingResolver(),this.assertedUnderlyingResolver._openRedirect(e,t,n,r)}_isIframeWebStorageSupported(e,t){this.assertedUnderlyingResolver._isIframeWebStorageSupported(e,t)}_originValidation(e){return this.assertedUnderlyingResolver._originValidation(e)}get _shouldInitProactively(){return ya()||this.browserResolver._shouldInitProactively}get assertedUnderlyingResolver(){return _a(this.underlyingResolver,"internal-error"),this.underlyingResolver}async selectUnderlyingResolver(){if(this.underlyingResolver)return;const e=await async function(){return!!ya()&&new Promise((e=>{const t=setTimeout((()=>{e(!1)}),1e3);document.addEventListener("deviceready",(()=>{clearTimeout(t),e(!0)}))}))}();this.underlyingResolver=e?this.cordovaResolver:this.browserResolver}}function Sa(e){return e.unwrap()}function ka(e,t){var n;const i=null===(n=t.customData)||void 0===n?void 0:n._tokenResponse;if("auth/multi-factor-auth-required"===(null===t||void 0===t?void 0:t.code)){t.resolver=new Fa(e,function(e,t){var n;const i=(0,r.Ku)(e),o=t;return Jt(t.customData.operationType,i,"argument-error"),Jt(null===(n=o.customData._serverResponse)||void 0===n?void 0:n.mfaPendingCredential,i,"argument-error"),gi._fromError(i,o)}(e,t))}else if(i){const e=Pa(t),n=t;e&&(n.credential=e,n.tenantId=i.tenantId||void 0,n.email=i.email||void 0,n.phoneNumber=i.phoneNumber||void 0)}}function Pa(e){const{_tokenResponse:t}=e instanceof r.g?e.customData:e;if(!t)return null;if(!(e instanceof r.g)&&"temporaryProof"in t&&"phoneNumber"in t)return Ji.credentialFromResult(e);const n=t.providerId;if(!n||n===It.PASSWORD)return null;let i;switch(n){case It.GOOGLE:i=Dr;break;case It.FACEBOOK:i=Pr;break;case It.GITHUB:i=Nr;break;case It.TWITTER:i=Rr;break;default:const{oauthIdToken:e,oauthAccessToken:r,oauthTokenSecret:o,pendingToken:a,nonce:s}=t;return r||o||e||a?a?n.startsWith("saml.")?Fr._create(n,a):wr._fromParams({providerId:n,signInMethod:n,pendingToken:a,idToken:e,accessToken:r}):new kr(n).credential({idToken:e,accessToken:r,rawNonce:s}):null}return e instanceof r.g?i.credentialFromError(e):i.credentialFromResult(e)}function Da(e,t){return t.catch((t=>{throw t instanceof r.g&&ka(e,t),t})).then((e=>{const t=e.operationType,n=e.user;return{operationType:t,credential:(r=e,Pa(r)),additionalUserInfo:fi(e),user:Ia.getOrCreate(n)};var r}))}async function Na(e,t){const n=await t;return{verificationId:n.verificationId,confirm:t=>Da(e,n.confirm(t))}}class Fa{constructor(e,t){this.resolver=t,this.auth=e.wrapped()}get session(){return this.resolver.session}get hints(){return this.resolver.hints}resolveSignIn(e){return Da(Sa(this.auth),this.resolver.resolveSignIn(e))}}class Ia{constructor(e){this._delegate=e,this.multiFactor=function(e){const t=(0,r.Ku)(e);return Ci.has(t)||Ci.set(t,vi._fromUser(t)),Ci.get(t)}(e)}static getOrCreate(e){return Ia.USER_MAP.has(e)||Ia.USER_MAP.set(e,new Ia(e)),Ia.USER_MAP.get(e)}delete(){return this._delegate.delete()}reload(){return this._delegate.reload()}toJSON(){return this._delegate.toJSON()}getIdTokenResult(e){return this._delegate.getIdTokenResult(e)}getIdToken(e){return this._delegate.getIdToken(e)}linkAndRetrieveDataWithCredential(e){return this.linkWithCredential(e)}async linkWithCredential(e){return Da(this.auth,Gr(this._delegate,e))}async linkWithPhoneNumber(e,t){return Na(this.auth,async function(e,t,n){const i=(0,r.Ku)(e);await zr(!1,i,"phone");const o=await Xi(i.auth,t,(0,r.Ku)(n));return new Qi(o,(e=>Gr(i,e)))}(this._delegate,e,t))}async linkWithPopup(e){return Da(this.auth,async function(e,t,n){const i=(0,r.Ku)(e);Qt(i.auth,t,Tr);const o=$i(i.auth,n);return new ao(i.auth,"linkViaPopup",t,o,i).executeNotNull()}(this._delegate,e,Ta))}async linkWithRedirect(e){return await Aa(tr(this.auth)),vo(this._delegate,e,Ta)}reauthenticateAndRetrieveDataWithCredential(e){return this.reauthenticateWithCredential(e)}async reauthenticateWithCredential(e){return Da(this.auth,Yr(this._delegate,e))}reauthenticateWithPhoneNumber(e,t){return Na(this.auth,async function(e,t,n){const i=(0,r.Ku)(e);if((0,o._isFirebaseServerApp)(i.auth.app))return Promise.reject(Kt(i.auth));const a=await Xi(i.auth,t,(0,r.Ku)(n));return new Qi(a,(e=>Yr(i,e)))}(this._delegate,e,t))}reauthenticateWithPopup(e){return Da(this.auth,async function(e,t,n){const i=(0,r.Ku)(e);if((0,o._isFirebaseServerApp)(i.auth.app))return Promise.reject(Gt(i.auth,"operation-not-supported-in-this-environment"));Qt(i.auth,t,Tr);const a=$i(i.auth,n);return new ao(i.auth,"reauthViaPopup",t,a,i).executeNotNull()}(this._delegate,e,Ta))}async reauthenticateWithRedirect(e){return await Aa(tr(this.auth)),go(this._delegate,e,Ta)}sendEmailVerification(e){return ii(this._delegate,e)}async unlink(e){return await Vr(this._delegate,e),this}updateEmail(e){return function(e,t){const n=(0,r.Ku)(e);return(0,o._isFirebaseServerApp)(n.auth.app)?Promise.reject(Kt(n.auth)):si(n,t,null)}(this._delegate,e)}updatePassword(e){return function(e,t){return si((0,r.Ku)(e),null,t)}(this._delegate,e)}updatePhoneNumber(e){return async function(e,t){const n=(0,r.Ku)(e);if((0,o._isFirebaseServerApp)(n.auth.app))return Promise.reject(Kt(n.auth));await Hr(n,t)}(this._delegate,e)}updateProfile(e){return ai(this._delegate,e)}verifyBeforeUpdateEmail(e,t){return oi(this._delegate,e,t)}get emailVerified(){return this._delegate.emailVerified}get isAnonymous(){return this._delegate.isAnonymous}get metadata(){return this._delegate.metadata}get phoneNumber(){return this._delegate.phoneNumber}get providerData(){return this._delegate.providerData}get refreshToken(){return this._delegate.refreshToken}get tenantId(){return this._delegate.tenantId}get displayName(){return this._delegate.displayName}get email(){return this._delegate.email}get photoURL(){return this._delegate.photoURL}get providerId(){return this._delegate.providerId}get uid(){return this._delegate.uid}get auth(){return this._delegate.auth}}Ia.USER_MAP=new WeakMap;const Ra=Jt;class Ma{constructor(e,t){if(this.app=e,t.isInitialized())return this._delegate=t.getImmediate(),void this.linkUnderlyingAuth();const{apiKey:n}=e.options;Ra(n,"invalid-api-key",{appName:e.name}),Ra(n,"invalid-api-key",{appName:e.name});const r="undefined"!==typeof window?Ta:void 0;this._delegate=t.initialize({options:{persistence:ja(n,e.name),popupRedirectResolver:r}}),this._delegate._updateErrorMap(Vt),this.linkUnderlyingAuth()}get emulatorConfig(){return this._delegate.emulatorConfig}get currentUser(){return this._delegate.currentUser?Ia.getOrCreate(this._delegate.currentUser):null}get languageCode(){return this._delegate.languageCode}set languageCode(e){this._delegate.languageCode=e}get settings(){return this._delegate.settings}get tenantId(){return this._delegate.tenantId}set tenantId(e){this._delegate.tenantId=e}useDeviceLanguage(){this._delegate.useDeviceLanguage()}signOut(){return this._delegate.signOut()}useEmulator(e,t){cr(this._delegate,e,t)}applyActionCode(e){return ti(this._delegate,e)}checkActionCode(e){return ni(this._delegate,e)}confirmPasswordReset(e,t){return async function(e,t,n){await pr((0,r.Ku)(e),{oobCode:t,newPassword:n}).catch((async t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&ei(e),t}))}(this._delegate,e,t)}async createUserWithEmailAndPassword(e,t){return Da(this._delegate,async function(e,t,n){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const r=tr(e),i=lr(r,{returnSecureToken:!0,email:t,password:n,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",Mr),a=await i.catch((t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&ei(e),t})),s=await Or._fromIdTokenResponse(r,"signIn",a);return await r._updateCurrentUser(s.user),s}(this._delegate,e,t))}fetchProvidersForEmail(e){return this.fetchSignInMethodsForEmail(e)}fetchSignInMethodsForEmail(e){return ri(this._delegate,e)}isSignInWithEmailLink(e){return function(e,t){const n=Er.parseLink(t);return"EMAIL_SIGNIN"===(null===n||void 0===n?void 0:n.operation)}(this._delegate,e)}async getRedirectResult(){Ra(Ca(),this._delegate,"operation-not-supported-in-this-environment");const e=await async function(e,t){return await tr(e)._initializationPromise,Co(e,t,!1)}(this._delegate,Ta);return e?Da(this._delegate,Promise.resolve(e)):{credential:null,user:null}}addFrameworkForLogging(e){!function(e,t){tr(e)._logFramework(t)}(this._delegate,e)}onAuthStateChanged(e,t,n){const{next:r,error:i,complete:o}=Oa(e,t,n);return this._delegate.onAuthStateChanged(r,i,o)}onIdTokenChanged(e,t,n){const{next:r,error:i,complete:o}=Oa(e,t,n);return this._delegate.onIdTokenChanged(r,i,o)}sendSignInLinkToEmail(e,t){return async function(e,t,n){const r=tr(e),i={requestType:"EMAIL_SIGNIN",email:t,clientType:"CLIENT_TYPE_WEB"};!function(e,t){Jt(t.handleCodeInApp,r,"argument-error"),t&&$r(r,e,t)}(i,n),await lr(r,i,"getOobCode",Cr)}(this._delegate,e,t)}sendPasswordResetEmail(e,t){return async function(e,t,n){const r=tr(e),i={requestType:"PASSWORD_RESET",email:t,clientType:"CLIENT_TYPE_WEB"};n&&$r(r,i,n),await lr(r,i,"getOobCode",vr)}(this._delegate,e,t||void 0)}async setPersistence(e){let t;switch(function(e,t){wa(Object.values(ba).includes(t),e,"invalid-persistence-type"),(0,r.lV)()?wa(t!==ba.SESSION,e,"unsupported-persistence-type"):(0,r.Ll)()?wa(t===ba.NONE,e,"unsupported-persistence-type"):va()?wa(t===ba.NONE||t===ba.LOCAL&&(0,r.zW)(),e,"unsupported-persistence-type"):wa(t===ba.NONE||ga(),e,"unsupported-persistence-type")}(this._delegate,e),e){case ba.SESSION:t=Ei;break;case ba.LOCAL:t=await On(Bi)._isAvailable()?Bi:xi;break;case ba.NONE:t=Ln;break;default:return qt("argument-error",{appName:this._delegate.name})}return this._delegate.setPersistence(t)}signInAndRetrieveDataWithCredential(e){return this.signInWithCredential(e)}signInAnonymously(){return Da(this._delegate,async function(e){var t;if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const n=tr(e);if(await n._initializationPromise,null===(t=n.currentUser)||void 0===t?void 0:t.isAnonymous)return new Or({user:n.currentUser,providerId:null,operationType:"signIn"});const r=await Mr(n,{returnSecureToken:!0}),i=await Or._fromIdTokenResponse(n,"signIn",r,!0);return await n._updateCurrentUser(i.user),i}(this._delegate))}signInWithCredential(e){return Da(this._delegate,qr(this._delegate,e))}signInWithCustomToken(e){return Da(this._delegate,Kr(this._delegate,e))}signInWithEmailAndPassword(e,t){return Da(this._delegate,function(e,t,n){return(0,o._isFirebaseServerApp)(e.app)?Promise.reject(Kt(e)):qr((0,r.Ku)(e),_r.credential(t,n)).catch((async t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&ei(e),t}))}(this._delegate,e,t))}signInWithEmailLink(e,t){return Da(this._delegate,async function(e,t,n){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const i=(0,r.Ku)(e),a=_r.credentialWithLink(t,n||tn());return Jt(a._tenantId===(i.tenantId||null),i,"tenant-id-mismatch"),qr(i,a)}(this._delegate,e,t))}signInWithPhoneNumber(e,t){return Na(this._delegate,async function(e,t,n){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Kt(e));const i=tr(e),a=await Xi(i,t,(0,r.Ku)(n));return new Qi(a,(e=>qr(i,e)))}(this._delegate,e,t))}async signInWithPopup(e){return Ra(Ca(),this._delegate,"operation-not-supported-in-this-environment"),Da(this._delegate,async function(e,t,n){if((0,o._isFirebaseServerApp)(e.app))return Promise.reject(Gt(e,"operation-not-supported-in-this-environment"));const r=tr(e);Qt(e,t,Tr);const i=$i(r,n);return new ao(r,"signInViaPopup",t,i).executeNotNull()}(this._delegate,e,Ta))}async signInWithRedirect(e){return Ra(Ca(),this._delegate,"operation-not-supported-in-this-environment"),await Aa(this._delegate),mo(this._delegate,e,Ta)}updateCurrentUser(e){return this._delegate.updateCurrentUser(e)}verifyPasswordResetCode(e){return async function(e,t){const{data:n}=await ni((0,r.Ku)(e),t);return n.email}(this._delegate,e)}unwrap(){return this._delegate}_delete(){return this._delegate._delete()}linkUnderlyingAuth(){this._delegate.wrapped=()=>this}}function Oa(e,t,n){let r=e;"function"!==typeof e&&({next:r,error:t,complete:n}=e);const i=r;return{next:e=>i(e&&Ia.getOrCreate(e)),error:t,complete:n}}function ja(e,t){const n=function(e,t){const n=Ea();if(!n)return[];const r=Bn(xa,e,t);switch(n.getItem(r)){case ba.NONE:return[Ln];case ba.LOCAL:return[Bi,Ei];case ba.SESSION:return[Ei];default:return[]}}(e,t);if("undefined"===typeof self||n.includes(Bi)||n.push(Bi),"undefined"!==typeof window)for(const r of[xi,Ei])n.includes(r)||n.push(r);return n.includes(Ln)||n.push(Ln),n}Ma.Persistence=ba;class La{constructor(){this.providerId="phone",this._delegate=new Ji(Sa(h.auth()))}static credential(e,t){return Ji.credential(e,t)}verifyPhoneNumber(e,t){return this._delegate.verifyPhoneNumber(e,t)}unwrap(){return this._delegate}}La.PHONE_SIGN_IN_METHOD=Ji.PHONE_SIGN_IN_METHOD,La.PROVIDER_ID=Ji.PROVIDER_ID;const Ba=Jt;class Ua{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.app();var r;Ba(null===(r=n.options)||void 0===r?void 0:r.apiKey,"invalid-api-key",{appName:n.name}),this._delegate=new Ki(n.auth(),e,t),this.type=this._delegate.type}clear(){this._delegate.clear()}render(){return this._delegate.render()}verify(){return this._delegate.verify()}}!function(e){e.INTERNAL.registerComponent(new i.uA("auth-compat",(e=>{const t=e.getProvider("app-compat").getImmediate(),n=e.getProvider("auth");return new Ma(t,n)}),"PUBLIC").setServiceProps({ActionCodeInfo:{Operation:{EMAIL_SIGNIN:Rt,PASSWORD_RESET:Mt,RECOVER_EMAIL:Ot,REVERT_SECOND_FACTOR_ADDITION:jt,VERIFY_AND_CHANGE_EMAIL:Lt,VERIFY_EMAIL:Bt}},EmailAuthProvider:_r,FacebookAuthProvider:Pr,GithubAuthProvider:Nr,GoogleAuthProvider:Dr,OAuthProvider:kr,SAMLAuthProvider:Ir,PhoneAuthProvider:La,PhoneMultiFactorGenerator:Ko,RecaptchaVerifier:Ua,TwitterAuthProvider:Rr,Auth:Ma,AuthCredential:hr,Error:r.g}).setInstantiationMode("LAZY").setMultipleInstances(!1)),e.registerVersion("@firebase/auth-compat","0.5.10")}(h);const Va="type.googleapis.com/google.protobuf.Int64Value",Ha="type.googleapis.com/google.protobuf.UInt64Value";function za(e,t){const n={};for(const r in e)e.hasOwnProperty(r)&&(n[r]=t(e[r]));return n}function Za(e){if(null==e)return null;if(e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&isFinite(e))return e;if(!0===e||!1===e)return e;if("[object String]"===Object.prototype.toString.call(e))return e;if(e instanceof Date)return e.toISOString();if(Array.isArray(e))return e.map((e=>Za(e)));if("function"===typeof e||"object"===typeof e)return za(e,(e=>Za(e)));throw new Error("Data cannot be encoded in JSON: "+e)}function Wa(e){if(null==e)return e;if(e["@type"])switch(e["@type"]){case Va:case Ha:{const t=Number(e.value);if(isNaN(t))throw new Error("Data cannot be decoded from JSON: "+e);return t}default:throw new Error("Data cannot be decoded from JSON: "+e)}return Array.isArray(e)?e.map((e=>Wa(e))):"function"===typeof e||"object"===typeof e?za(e,(e=>Wa(e))):e}const qa="functions",Ga={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class Ya extends r.g{constructor(e,t,n){super("".concat(qa,"/").concat(e),t||""),this.details=n}}class Ka{constructor(e,t,n){this.auth=null,this.messaging=null,this.appCheck=null,this.auth=e.getImmediate({optional:!0}),this.messaging=t.getImmediate({optional:!0}),this.auth||e.get().then((e=>this.auth=e),(()=>{})),this.messaging||t.get().then((e=>this.messaging=e),(()=>{})),this.appCheck||n.get().then((e=>this.appCheck=e),(()=>{}))}async getAuthToken(){if(this.auth)try{const e=await this.auth.getToken();return null===e||void 0===e?void 0:e.accessToken}catch(e){return}}async getMessagingToken(){if(this.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return await this.messaging.getToken()}catch(e){return}}async getAppCheckToken(e){if(this.appCheck){const t=e?await this.appCheck.getLimitedUseToken():await this.appCheck.getToken();return t.error?null:t.token}return null}async getContext(e){return{authToken:await this.getAuthToken(),messagingToken:await this.getMessagingToken(),appCheckToken:await this.getAppCheckToken(e)}}}const Qa="us-central1";class Xa{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Qa,o=arguments.length>5?arguments[5]:void 0;this.app=e,this.fetchImpl=o,this.emulatorOrigin=null,this.contextProvider=new Ka(t,n,r),this.cancelAllRequests=new Promise((e=>{this.deleteService=()=>Promise.resolve(e())}));try{const e=new URL(i);this.customDomain=e.origin,this.region=Qa}catch(a){this.customDomain=null,this.region=i}}_delete(){return this.deleteService()}_url(e){const t=this.app.options.projectId;if(null!==this.emulatorOrigin){const n=this.emulatorOrigin;return"".concat(n,"/").concat(t,"/").concat(this.region,"/").concat(e)}return null!==this.customDomain?"".concat(this.customDomain,"/").concat(e):"https://".concat(this.region,"-").concat(t,".cloudfunctions.net/").concat(e)}}function Ja(e,t,n){return r=>function(e,t,n,r){const i=e._url(t);return es(e,i,n,r)}(e,t,r,n||{})}async function $a(e,t,n,r){let i;n["Content-Type"]="application/json";try{i=await r(e,{method:"POST",body:JSON.stringify(t),headers:n})}catch(a){return{status:0,json:null}}let o=null;try{o=await i.json()}catch(a){}return{status:i.status,json:o}}async function es(e,t,n,r){const i={data:n=Za(n)},o={},a=await e.contextProvider.getContext(r.limitedUseAppCheckTokens);a.authToken&&(o.Authorization="Bearer "+a.authToken),a.messagingToken&&(o["Firebase-Instance-ID-Token"]=a.messagingToken),null!==a.appCheckToken&&(o["X-Firebase-AppCheck"]=a.appCheckToken);const s=function(e){let t=null;return{promise:new Promise(((n,r)=>{t=setTimeout((()=>{r(new Ya("deadline-exceeded","deadline-exceeded"))}),e)})),cancel:()=>{t&&clearTimeout(t)}}}(r.timeout||7e4),l=await Promise.race([$a(t,i,o,e.fetchImpl),s.promise,e.cancelAllRequests]);if(s.cancel(),!l)throw new Ya("cancelled","Firebase Functions instance was deleted.");const c=function(e,t){let n,r=function(e){if(e>=200&&e<300)return"ok";switch(e){case 0:case 500:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}(e),i=r;try{const e=t&&t.error;if(e){const t=e.status;if("string"===typeof t){if(!Ga[t])return new Ya("internal","internal");r=Ga[t],i=t}const o=e.message;"string"===typeof o&&(i=o),n=e.details,void 0!==n&&(n=Wa(n))}}catch(o){}return"ok"===r?null:new Ya(r,i,n)}(l.status,l.json);if(c)throw c;if(!l.json)throw new Ya("internal","Response is not valid JSON object.");let u=l.json.data;if("undefined"===typeof u&&(u=l.json.result),"undefined"===typeof u)throw new Ya("internal","Response is missing data field.");return{data:Wa(u)}}const ts="@firebase/functions",ns="0.11.6";function rs(e,t,n){!function(e,t,n){e.emulatorOrigin="http://".concat(t,":").concat(n)}((0,r.Ku)(e),t,n)}function is(e,t,n){return function(e,t,n){return r=>es(e,t,r,n||{})}((0,r.Ku)(e),t,n)}!function(e,t){(0,o._registerComponent)(new i.uA(qa,((t,n)=>{let{instanceIdentifier:r}=n;const i=t.getProvider("app").getImmediate(),o=t.getProvider("auth-internal"),a=t.getProvider("messaging-internal"),s=t.getProvider("app-check-internal");return new Xa(i,o,a,s,r,e)}),"PUBLIC").setMultipleInstances(!0)),(0,o.registerVersion)(ts,ns,t),(0,o.registerVersion)(ts,ns,"esm2017")}(fetch.bind(self));class os{constructor(e,t){this.app=e,this._delegate=t,this._region=this._delegate.region,this._customDomain=this._delegate.customDomain}httpsCallable(e,t){return function(e,t,n){return Ja((0,r.Ku)(e),t,n)}(this._delegate,e,t)}httpsCallableFromURL(e,t){return is(this._delegate,e,t)}useFunctionsEmulator(e){const t=e.match("[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?");if(null==t)throw new r.g("functions","No origin provided to useFunctionsEmulator()");if(null==t[2])throw new r.g("functions","Port missing in origin provided to useFunctionsEmulator()");return rs(this._delegate,t[1],Number(t[2]))}useEmulator(e,t){return rs(this._delegate,e,t)}}const as=(e,t)=>{let{instanceIdentifier:n}=t;const r=e.getProvider("app-compat").getImmediate(),i=e.getProvider("functions").getImmediate({identifier:null!==n&&void 0!==n?n:"us-central1"});return new os(r,i)};!function(){const e={Functions:os};h.INTERNAL.registerComponent(new i.uA("functions-compat",as,"PUBLIC").setServiceProps(e).setMultipleInstances(!0))}(),h.registerVersion("@firebase/functions-compat","0.3.12");h.initializeApp({apiKey:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",appId:"1:420613377967:web:81b2cfb562e11bf64e695a",authDomain:"flowty-prod.firebaseapp.com",measurementId:"G-GSDNE57K7S",messagingSenderId:"420613377967",projectId:"flowty-prod",storageBucket:"flowty-prod.appspot.com"});const ss=h.storage(),ls=h.firestore(),cs=h.auth(),us=h.functions(),ds=h.firestore();"true"==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_USE_EMULATOR&&(console.log("Using firebase emulator"),ls.useEmulator("localhost",8081),cs.useEmulator("http://localhost:9099"),us.useEmulator("localhost",5001),ds.useEmulator("localhost",8081))},36597:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(76081),i=n(10514),o=n(61462);const a=e=>{const[t,n]=(0,o.useState)(null),a=(0,o.useCallback)((async()=>{if(e===i.SupportedTokens.FLOW){const e=await(0,r.d)(i.SupportedTokens.FLOW);n(e)}else n(null)}),[e]);return(0,o.useEffect)((()=>{a()}),[e]),t}},49098:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(10514),i=n(96321),o=n(48231),a=n(78273);const s=async e=>{var t,n,s,l;let c=null===e||void 0===e||null===(t=e.nftView)||void 0===t||null===(n=t.collectionData)||void 0===n||null===(s=n.storagePath)||void 0===s?void 0:s.identifier;if(c)return c;if(await o.su.api.refreshMetadata((0,r.getNftId)(e)),!c){var u,d,h;const t=(0,r.nftTypeToContractID)(e.type);let n;try{n=await i.db.collection("flowNFTContract").doc(t).get()}catch(p){a.o.track("ERROR_FIREBASE_GET_ACCOUNT_GLOBAL_ALERT",{e:p})}n&&!n.exists&&a.o.track("missing contract to supplement missing metadata on nft");c=null===(d=(null===(u=n)||void 0===u?void 0:u.data()).collectionData)||void 0===d||null===(h=d.storagePath)||void 0===h?void 0:h.identifier}return null!==(l=c)&&void 0!==l?l:""}},76081:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(96321),i=n(89425);const o=async e=>{(0,i.t)("getTokenSpotPrice",e);const t=await r.db.collection("spotPrice").where("symbol","==",e).orderBy("time","desc").limit(1).get();if(t.empty||1!==t.docs.length||!t.docs[0].exists)return(0,i.t)("no spot price found"),{currency:"USD",symbol:e,time:new Date(Date.now()),value:1};const{docs:n}=t;return n[0].data()}},14146:(e,t,n)=>{"use strict";n.d(t,{r:()=>s,t:()=>a});var r=n(96321),i=n(10514),o=n(78273);const a=async e=>{let{nftType:t,nftId:n}=e;const a=(0,i.nftTypeAndIdToLocationData)(t,n),s=(0,i.getNFTIdentifier)(a);try{return(await r.db.collection("flowNFT").doc(s).get()).data()}catch(l){return o.o.track("ERROR_FIREBASE_FETCH_NFT",{e:l}),null}},s=async e=>{let{collectionAddress:t,collectionName:n}=e;return(await r.db.collection("flowNFTContract").doc("".concat(t,".").concat(n)).get()).data()}},89425:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,t:()=>r});const r=function(){},i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.error(t)}},78273:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(65747),i=n.n(r),o=n(92838);i().init(o.en);const a={alias:e=>{i().alias(e)},identify:e=>{i().identify(e)},people:{set:e=>{i().people.set(e)}},track:(e,t)=>{i().track(e,t)},track_links:(e,t)=>{i().track_links(e,t)}}},67625:(e,t,n)=>{"use strict";n.d(t,{D:()=>r,z:()=>i});const r=(e,t,n,r)=>{var i;if(!e||!e.length)return"";if("string"===typeof e[0])return e[0];const o=e;if(t&&n){const e="".concat(n).concat(t,"CollectionProviderForFlowty"),r=o.find((t=>t.identifier.includes(e)));if(r)return r.identifier}const a=o.find((e=>e.identifier.includes("ForFlowty")));if(a)return a.identifier;if(r){const e=o.find((e=>e.identifier.includes(r)));if(e)return e.identifier}return(null===o||void 0===o||null===(i=o[0])||void 0===i?void 0:i.identifier)||""},i=(e,t,n)=>{var r;if(!e||!e.length)return"";if(t&&n){const r="".concat(n).concat(t,"FtProviderForFlowty"),i=e.find((e=>e.identifier.includes(r)));if(i)return i.identifier}const i=e.find((e=>e.identifier.includes("ForFlowty")));return i?i.identifier:(null===e||void 0===e||null===(r=e[0])||void 0===r?void 0:r.identifier)||""}},13090:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(83170);const i=e=>{({...e}).target.src=r.A}},34630:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(78273);const i=e=>{const t=e.target.play();void 0!==t&&t.then((e=>{})).catch((e=>r.o.track("ERROR_PLAYING_NFT_VIDEO",{error:e})))}},92838:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>c,BN:()=>S,HT:()=>_,I4:()=>b,KS:()=>o,Mu:()=>A,SB:()=>g,SE:()=>s,Sp:()=>f,Sw:()=>v,Vv:()=>P,Zu:()=>E,bo:()=>p,cb:()=>x,db:()=>l,en:()=>y,hr:()=>T,hx:()=>d,j$:()=>C,kO:()=>w,l8:()=>D,oT:()=>h,pG:()=>a,zp:()=>k});var r=n(10514);const i=e=>{const t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}[e];if(void 0===t)throw new Error("Missing environment variable: ".concat(e));return t},o=i("REACT_APP_ACCESS_API"),a=null!==o&&void 0!==o&&o.includes("mainnet")?"mainnet":null!==o&&void 0!==o&&o.includes("testnet")?"testnet":"emulator",s=!0,l=!0,c=null===o||void 0===o?void 0:o.includes("mainnet"),u=c?"A.a45ead1cf1ca9eda.FlowRewards.NFT":"A.2e7cfb413f04382f.FlowRewards.NFT",d=e=>e===u,h=!0,p=!0,f=20,m=(null===o||void 0===o?void 0:o.includes("localhost"))||(null===o||void 0===o?void 0:o.includes("127.0.0.1")),g=!0,v=i("REACT_APP_API_URL"),C=i("REACT_APP_STRAPI_URL"),y="b17ea6f8cf14401cd0282da7c49532b0",b=c?r.FLOW_SCAN_TX_MAINNET_URL:r.FLOW_SCAN_TX_TESTNET_URL,w="https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",x=24,A=.05,E=0,_="USDC",T=!0,S=c?"0x0b2a3299cc857e29":m?"0xf8d6e0586b0a20c7":"0x877931736ee77cff",k=c?"0xe4cf4bdc1751c65d":m?"0xf8d6e0586b0a20c7":"0x4dfd62c88d1b6462",P=!0,D="A.".concat(S.substring(2),".TopShot.NFT")},72012:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,_:()=>a});var r=n(4377),i=n.n(r);function o(e){return a(e,{shouldUseDecimals:!0})}function a(e,t){var n;const r=null!==(n=null===t||void 0===t?void 0:t.shouldUseDecimals)&&void 0!==n&&n;if(!e)return"";const o=Math.round(100*e)/100;switch(!0){case String(o.toFixed(2)).replace(/\./g,"").length<6||e<1:return i()(o).format(r?"0,0.00":"0,0");case String(o.toFixed(2)).replace(/\./g,"").length<9:const t=o/1e3;return"".concat(i()(t).format("0,0.00"),"K");case String(o.toFixed(2)).replace(/\./g,"").length>=9:const n=o/1e6;return"".concat(i()(n).format("0,0.00"),"M");default:return""}}},80081:(e,t,n)=>{"use strict";n.d(t,{fS:()=>gd,Ix:()=>hu,H6:()=>Jc,T1:()=>Hc,Wq:()=>bd,uY:()=>pu,W6:()=>j,Ci:()=>mu,YQ:()=>wd,NJ:()=>xd,Dc:()=>J,GA:()=>Vd,cm:()=>Nt,K$:()=>ie,FA:()=>re,lo:()=>Oc,bI:()=>R,qG:()=>wt,qi:()=>D,c8:()=>Fc,gS:()=>Md,Uo:()=>$u,C3:()=>Yd,hq:()=>Gd,me:()=>ou,rJ:()=>Zc,Cs:()=>Wc,vN:()=>Uc,kd:()=>Rd,CL:()=>Wd,LA:()=>lu,H9:()=>qc,ol:()=>nu,Q5:()=>ru,Os:()=>su,FD:()=>ud,rf:()=>cd,Ws:()=>eu,z6:()=>Ld,x7:()=>_d,nY:()=>Sd,_e:()=>kd,GG:()=>Pd,kU:()=>Dd,Rr:()=>Nd,GV:()=>Kd,AB:()=>rd,$1:()=>id,po:()=>cu,St:()=>uu,aQ:()=>Od,FC:()=>jd,or:()=>Ju,My:()=>td,P:()=>Yu,B:()=>Yc,yx:()=>Gc,c4:()=>Zd,O5:()=>qd,BN:()=>Fd,He:()=>S,lN:()=>Ed,HM:()=>sd,EO:()=>ad,mZ:()=>Id,iB:()=>au,_M:()=>Qu});var r,i,o=n(88729),a=n(35877),s=n(76096),l=n(75805),c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},u={};(function(){var e;function t(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function n(e,t,n){n||(n=0);var r=Array(16);if("string"===typeof t)for(var i=0;16>i;++i)r[i]=t.charCodeAt(n++)|t.charCodeAt(n++)<<8|t.charCodeAt(n++)<<16|t.charCodeAt(n++)<<24;else for(i=0;16>i;++i)r[i]=t[n++]|t[n++]<<8|t[n++]<<16|t[n++]<<24;t=e.g[0],n=e.g[1],i=e.g[2];var o=e.g[3],a=t+(o^n&(i^o))+r[0]+3614090360&4294967295;a=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=(n=(i=(o=(t=n+(a<<7&4294967295|a>>>25))+((a=o+(i^t&(n^i))+r[1]+3905402710&4294967295)<<12&4294967295|a>>>20))+((a=i+(n^o&(t^n))+r[2]+606105819&4294967295)<<17&4294967295|a>>>15))+((a=n+(t^i&(o^t))+r[3]+3250441966&4294967295)<<22&4294967295|a>>>10))+((a=t+(o^n&(i^o))+r[4]+4118548399&4294967295)<<7&4294967295|a>>>25))+((a=o+(i^t&(n^i))+r[5]+1200080426&4294967295)<<12&4294967295|a>>>20))+((a=i+(n^o&(t^n))+r[6]+2821735955&4294967295)<<17&4294967295|a>>>15))+((a=n+(t^i&(o^t))+r[7]+4249261313&4294967295)<<22&4294967295|a>>>10))+((a=t+(o^n&(i^o))+r[8]+1770035416&4294967295)<<7&4294967295|a>>>25))+((a=o+(i^t&(n^i))+r[9]+2336552879&4294967295)<<12&4294967295|a>>>20))+((a=i+(n^o&(t^n))+r[10]+4294925233&4294967295)<<17&4294967295|a>>>15))+((a=n+(t^i&(o^t))+r[11]+2304563134&4294967295)<<22&4294967295|a>>>10))+((a=t+(o^n&(i^o))+r[12]+1804603682&4294967295)<<7&4294967295|a>>>25))+((a=o+(i^t&(n^i))+r[13]+4254626195&4294967295)<<12&4294967295|a>>>20))+((a=i+(n^o&(t^n))+r[14]+2792965006&4294967295)<<17&4294967295|a>>>15))+((a=n+(t^i&(o^t))+r[15]+1236535329&4294967295)<<22&4294967295|a>>>10))+((a=t+(i^o&(n^i))+r[1]+4129170786&4294967295)<<5&4294967295|a>>>27))+((a=o+(n^i&(t^n))+r[6]+3225465664&4294967295)<<9&4294967295|a>>>23))+((a=i+(t^n&(o^t))+r[11]+643717713&4294967295)<<14&4294967295|a>>>18))+((a=n+(o^t&(i^o))+r[0]+3921069994&4294967295)<<20&4294967295|a>>>12))+((a=t+(i^o&(n^i))+r[5]+3593408605&4294967295)<<5&4294967295|a>>>27))+((a=o+(n^i&(t^n))+r[10]+38016083&4294967295)<<9&4294967295|a>>>23))+((a=i+(t^n&(o^t))+r[15]+3634488961&4294967295)<<14&4294967295|a>>>18))+((a=n+(o^t&(i^o))+r[4]+3889429448&4294967295)<<20&4294967295|a>>>12))+((a=t+(i^o&(n^i))+r[9]+568446438&4294967295)<<5&4294967295|a>>>27))+((a=o+(n^i&(t^n))+r[14]+3275163606&4294967295)<<9&4294967295|a>>>23))+((a=i+(t^n&(o^t))+r[3]+4107603335&4294967295)<<14&4294967295|a>>>18))+((a=n+(o^t&(i^o))+r[8]+1163531501&4294967295)<<20&4294967295|a>>>12))+((a=t+(i^o&(n^i))+r[13]+2850285829&4294967295)<<5&4294967295|a>>>27))+((a=o+(n^i&(t^n))+r[2]+4243563512&4294967295)<<9&4294967295|a>>>23))+((a=i+(t^n&(o^t))+r[7]+1735328473&4294967295)<<14&4294967295|a>>>18))+((a=n+(o^t&(i^o))+r[12]+2368359562&4294967295)<<20&4294967295|a>>>12))+((a=t+(n^i^o)+r[5]+4294588738&4294967295)<<4&4294967295|a>>>28))+((a=o+(t^n^i)+r[8]+2272392833&4294967295)<<11&4294967295|a>>>21))+((a=i+(o^t^n)+r[11]+1839030562&4294967295)<<16&4294967295|a>>>16))+((a=n+(i^o^t)+r[14]+4259657740&4294967295)<<23&4294967295|a>>>9))+((a=t+(n^i^o)+r[1]+2763975236&4294967295)<<4&4294967295|a>>>28))+((a=o+(t^n^i)+r[4]+1272893353&4294967295)<<11&4294967295|a>>>21))+((a=i+(o^t^n)+r[7]+4139469664&4294967295)<<16&4294967295|a>>>16))+((a=n+(i^o^t)+r[10]+3200236656&4294967295)<<23&4294967295|a>>>9))+((a=t+(n^i^o)+r[13]+681279174&4294967295)<<4&4294967295|a>>>28))+((a=o+(t^n^i)+r[0]+3936430074&4294967295)<<11&4294967295|a>>>21))+((a=i+(o^t^n)+r[3]+3572445317&4294967295)<<16&4294967295|a>>>16))+((a=n+(i^o^t)+r[6]+76029189&4294967295)<<23&4294967295|a>>>9))+((a=t+(n^i^o)+r[9]+3654602809&4294967295)<<4&4294967295|a>>>28))+((a=o+(t^n^i)+r[12]+3873151461&4294967295)<<11&4294967295|a>>>21))+((a=i+(o^t^n)+r[15]+530742520&4294967295)<<16&4294967295|a>>>16))+((a=n+(i^o^t)+r[2]+3299628645&4294967295)<<23&4294967295|a>>>9))+((a=t+(i^(n|~o))+r[0]+4096336452&4294967295)<<6&4294967295|a>>>26))+((a=o+(n^(t|~i))+r[7]+1126891415&4294967295)<<10&4294967295|a>>>22))+((a=i+(t^(o|~n))+r[14]+2878612391&4294967295)<<15&4294967295|a>>>17))+((a=n+(o^(i|~t))+r[5]+4237533241&4294967295)<<21&4294967295|a>>>11))+((a=t+(i^(n|~o))+r[12]+1700485571&4294967295)<<6&4294967295|a>>>26))+((a=o+(n^(t|~i))+r[3]+2399980690&4294967295)<<10&4294967295|a>>>22))+((a=i+(t^(o|~n))+r[10]+4293915773&4294967295)<<15&4294967295|a>>>17))+((a=n+(o^(i|~t))+r[1]+2240044497&4294967295)<<21&4294967295|a>>>11))+((a=t+(i^(n|~o))+r[8]+1873313359&4294967295)<<6&4294967295|a>>>26))+((a=o+(n^(t|~i))+r[15]+4264355552&4294967295)<<10&4294967295|a>>>22))+((a=i+(t^(o|~n))+r[6]+2734768916&4294967295)<<15&4294967295|a>>>17))+((a=n+(o^(i|~t))+r[13]+1309151649&4294967295)<<21&4294967295|a>>>11))+((o=(t=n+((a=t+(i^(n|~o))+r[4]+4149444226&4294967295)<<6&4294967295|a>>>26))+((a=o+(n^(t|~i))+r[11]+3174756917&4294967295)<<10&4294967295|a>>>22))^((i=o+((a=i+(t^(o|~n))+r[2]+718787259&4294967295)<<15&4294967295|a>>>17))|~t))+r[9]+3951481745&4294967295,e.g[0]=e.g[0]+t&4294967295,e.g[1]=e.g[1]+(i+(a<<21&4294967295|a>>>11))&4294967295,e.g[2]=e.g[2]+i&4294967295,e.g[3]=e.g[3]+o&4294967295}function o(e,t){this.h=t;for(var n=[],r=!0,i=e.length-1;0<=i;i--){var o=0|e[i];r&&o==t||(n[i]=o,r=!1)}this.g=n}!function(e,t){function n(){}n.prototype=t.prototype,e.D=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.C=function(e,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.prototype[n].apply(e,i)}}(t,(function(){this.blockSize=-1})),t.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},t.prototype.u=function(e,t){void 0===t&&(t=e.length);for(var r=t-this.blockSize,i=this.B,o=this.h,a=0;a<t;){if(0==o)for(;a<=r;)n(this,e,a),a+=this.blockSize;if("string"===typeof e){for(;a<t;)if(i[o++]=e.charCodeAt(a++),o==this.blockSize){n(this,i),o=0;break}}else for(;a<t;)if(i[o++]=e[a++],o==this.blockSize){n(this,i),o=0;break}}this.h=o,this.o+=t},t.prototype.v=function(){var e=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);e[0]=128;for(var t=1;t<e.length-8;++t)e[t]=0;var n=8*this.o;for(t=e.length-8;t<e.length;++t)e[t]=255&n,n/=256;for(this.u(e),e=Array(16),t=n=0;4>t;++t)for(var r=0;32>r;r+=8)e[n++]=this.g[t]>>>r&255;return e};var a={};function s(e){return-128<=e&&128>e?function(e,t){var n=a;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}(e,(function(e){return new o([0|e],0>e?-1:0)})):new o([0|e],0>e?-1:0)}function l(e){if(isNaN(e)||!isFinite(e))return c;if(0>e)return m(l(-e));for(var t=[],n=1,r=0;e>=n;r++)t[r]=e/n|0,n*=4294967296;return new o(t,0)}var c=s(0),d=s(1),h=s(16777216);function p(e){if(0!=e.h)return!1;for(var t=0;t<e.g.length;t++)if(0!=e.g[t])return!1;return!0}function f(e){return-1==e.h}function m(e){for(var t=e.g.length,n=[],r=0;r<t;r++)n[r]=~e.g[r];return new o(n,~e.h).add(d)}function g(e,t){return e.add(m(t))}function v(e,t){for(;(65535&e[t])!=e[t];)e[t+1]+=e[t]>>>16,e[t]&=65535,t++}function C(e,t){this.g=e,this.h=t}function y(e,t){if(p(t))throw Error("division by zero");if(p(e))return new C(c,c);if(f(e))return t=y(m(e),t),new C(m(t.g),m(t.h));if(f(t))return t=y(e,m(t)),new C(m(t.g),t.h);if(30<e.g.length){if(f(e)||f(t))throw Error("slowDivide_ only works with positive integers.");for(var n=d,r=t;0>=r.l(e);)n=b(n),r=b(r);var i=w(n,1),o=w(r,1);for(r=w(r,2),n=w(n,2);!p(r);){var a=o.add(r);0>=a.l(e)&&(i=i.add(n),o=a),r=w(r,1),n=w(n,1)}return t=g(e,i.j(t)),new C(i,t)}for(i=c;0<=e.l(t);){for(n=Math.max(1,Math.floor(e.m()/t.m())),r=48>=(r=Math.ceil(Math.log(n)/Math.LN2))?1:Math.pow(2,r-48),a=(o=l(n)).j(t);f(a)||0<a.l(e);)a=(o=l(n-=r)).j(t);p(o)&&(o=d),i=i.add(o),e=g(e,a)}return new C(i,e)}function b(e){for(var t=e.g.length+1,n=[],r=0;r<t;r++)n[r]=e.i(r)<<1|e.i(r-1)>>>31;return new o(n,e.h)}function w(e,t){var n=t>>5;t%=32;for(var r=e.g.length-n,i=[],a=0;a<r;a++)i[a]=0<t?e.i(a+n)>>>t|e.i(a+n+1)<<32-t:e.i(a+n);return new o(i,e.h)}(e=o.prototype).m=function(){if(f(this))return-m(this).m();for(var e=0,t=1,n=0;n<this.g.length;n++){var r=this.i(n);e+=(0<=r?r:4294967296+r)*t,t*=4294967296}return e},e.toString=function(e){if(2>(e=e||10)||36<e)throw Error("radix out of range: "+e);if(p(this))return"0";if(f(this))return"-"+m(this).toString(e);for(var t=l(Math.pow(e,6)),n=this,r="";;){var i=y(n,t).g,o=((0<(n=g(n,i.j(t))).g.length?n.g[0]:n.h)>>>0).toString(e);if(p(n=i))return o+r;for(;6>o.length;)o="0"+o;r=o+r}},e.i=function(e){return 0>e?0:e<this.g.length?this.g[e]:this.h},e.l=function(e){return f(e=g(this,e))?-1:p(e)?0:1},e.abs=function(){return f(this)?m(this):this},e.add=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],r=0,i=0;i<=t;i++){var a=r+(65535&this.i(i))+(65535&e.i(i)),s=(a>>>16)+(this.i(i)>>>16)+(e.i(i)>>>16);r=s>>>16,a&=65535,s&=65535,n[i]=s<<16|a}return new o(n,-2147483648&n[n.length-1]?-1:0)},e.j=function(e){if(p(this)||p(e))return c;if(f(this))return f(e)?m(this).j(m(e)):m(m(this).j(e));if(f(e))return m(this.j(m(e)));if(0>this.l(h)&&0>e.l(h))return l(this.m()*e.m());for(var t=this.g.length+e.g.length,n=[],r=0;r<2*t;r++)n[r]=0;for(r=0;r<this.g.length;r++)for(var i=0;i<e.g.length;i++){var a=this.i(r)>>>16,s=65535&this.i(r),u=e.i(i)>>>16,d=65535&e.i(i);n[2*r+2*i]+=s*d,v(n,2*r+2*i),n[2*r+2*i+1]+=a*d,v(n,2*r+2*i+1),n[2*r+2*i+1]+=s*u,v(n,2*r+2*i+1),n[2*r+2*i+2]+=a*u,v(n,2*r+2*i+2)}for(r=0;r<t;r++)n[r]=n[2*r+1]<<16|n[2*r];for(r=t;r<2*t;r++)n[r]=0;return new o(n,0)},e.A=function(e){return y(this,e).h},e.and=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],r=0;r<t;r++)n[r]=this.i(r)&e.i(r);return new o(n,this.h&e.h)},e.or=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],r=0;r<t;r++)n[r]=this.i(r)|e.i(r);return new o(n,this.h|e.h)},e.xor=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],r=0;r<t;r++)n[r]=this.i(r)^e.i(r);return new o(n,this.h^e.h)},t.prototype.digest=t.prototype.v,t.prototype.reset=t.prototype.s,t.prototype.update=t.prototype.u,i=u.Md5=t,o.prototype.add=o.prototype.add,o.prototype.multiply=o.prototype.j,o.prototype.modulo=o.prototype.A,o.prototype.compare=o.prototype.l,o.prototype.toNumber=o.prototype.m,o.prototype.toString=o.prototype.toString,o.prototype.getBits=o.prototype.i,o.fromNumber=l,o.fromString=function e(t,n){if(0==t.length)throw Error("number format error: empty string");if(2>(n=n||10)||36<n)throw Error("radix out of range: "+n);if("-"==t.charAt(0))return m(e(t.substring(1),n));if(0<=t.indexOf("-"))throw Error('number format error: interior "-" character');for(var r=l(Math.pow(n,8)),i=c,o=0;o<t.length;o+=8){var a=Math.min(8,t.length-o),s=parseInt(t.substring(o,o+a),n);8>a?(a=l(Math.pow(n,a)),i=i.j(a).add(l(s))):i=(i=i.j(r)).add(l(s))}return i},r=u.Integer=o}).apply("undefined"!==typeof c?c:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{});var d,h,p,f,m,g,v,C,y,b="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},w={};(function(){var e,t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var n=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof b&&b];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);!function(e,r){if(r)e:{var i=n;e=e.split(".");for(var o=0;o<e.length-1;o++){var a=e[o];if(!(a in i))break e;i=i[a]}(r=r(o=i[e=e[e.length-1]]))!=o&&null!=r&&t(i,e,{configurable:!0,writable:!0,value:r})}}("Array.prototype.values",(function(e){return e||function(){return function(e,t){e instanceof String&&(e+="");var n=0,r=!1,i={next:function(){if(!r&&n<e.length){var i=n++;return{value:t(i,e[i]),done:!1}}return r=!0,{done:!0,value:void 0}}};return i[Symbol.iterator]=function(){return i},i}(this,(function(e,t){return t}))}}));var r=r||{},i=this||self;function o(e){var t=typeof e;return"array"==(t="object"!=t?t:e?Array.isArray(e)?"array":t:"null")||"object"==t&&"number"==typeof e.length}function a(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function s(e,t,n){return e.call.apply(e.bind,arguments)}function l(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function c(e,t,n){return(c=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?s:l).apply(null,arguments)}function u(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function x(e,t){function n(){}n.prototype=t.prototype,e.aa=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.Qb=function(e,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.prototype[n].apply(e,i)}}function A(e){const t=e.length;if(0<t){const n=Array(t);for(let r=0;r<t;r++)n[r]=e[r];return n}return[]}function _(e,t){for(let n=1;n<arguments.length;n++){const t=arguments[n];if(o(t)){const n=e.length||0,r=t.length||0;e.length=n+r;for(let i=0;i<r;i++)e[n+i]=t[i]}else e.push(t)}}function T(e){return/^[\s\xa0]*$/.test(e)}function S(){var e=i.navigator;return e&&(e=e.userAgent)?e:""}function k(e){return k[" "](e),e}k[" "]=function(){};var P=-1!=S().indexOf("Gecko")&&!(-1!=S().toLowerCase().indexOf("webkit")&&-1==S().indexOf("Edge"))&&!(-1!=S().indexOf("Trident")||-1!=S().indexOf("MSIE"))&&-1==S().indexOf("Edge");function D(e,t,n){for(const r in e)t.call(n,e[r],r,e)}function N(e){const t={};for(const n in e)t[n]=e[n];return t}const F="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function I(e,t){let n,r;for(let i=1;i<arguments.length;i++){for(n in r=arguments[i],r)e[n]=r[n];for(let t=0;t<F.length;t++)n=F[t],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function R(e){var t=1;e=e.split(":");const n=[];for(;0<t&&e.length;)n.push(e.shift()),t--;return e.length&&n.push(e.join(":")),n}function M(e){i.setTimeout((()=>{throw e}),0)}function O(){var e=V;let t=null;return e.g&&(t=e.g,e.g=e.g.next,e.g||(e.h=null),t.next=null),t}var j=new class{constructor(e,t){this.i=e,this.j=t,this.h=0,this.g=null}get(){let e;return 0<this.h?(this.h--,e=this.g,this.g=e.next,e.next=null):e=this.i(),e}}((()=>new L),(e=>e.reset()));class L{constructor(){this.next=this.g=this.h=null}set(e,t){this.h=e,this.g=t,this.next=null}reset(){this.next=this.g=this.h=null}}let B,U=!1,V=new class{constructor(){this.h=this.g=null}add(e,t){const n=j.get();n.set(e,t),this.h?this.h.next=n:this.g=n,this.h=n}},H=()=>{const e=i.Promise.resolve(void 0);B=()=>{e.then(z)}};var z=()=>{for(var e;e=O();){try{e.h.call(e.g)}catch(n){M(n)}var t=j;t.j(e),100>t.h&&(t.h++,e.next=t.g,t.g=e)}U=!1};function Z(){this.s=this.s,this.C=this.C}function W(e,t){this.type=e,this.g=this.target=t,this.defaultPrevented=!1}Z.prototype.s=!1,Z.prototype.ma=function(){this.s||(this.s=!0,this.N())},Z.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},W.prototype.h=function(){this.defaultPrevented=!0};var q=function(){if(!i.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{const e=()=>{};i.addEventListener("test",e,t),i.removeEventListener("test",e,t)}catch(n){}return e}();function G(e,t){if(W.call(this,e?e.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.g=t,t=e.relatedTarget){if(P){e:{try{k(t.nodeName);var i=!0;break e}catch(o){}i=!1}i||(t=null)}}else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"===typeof e.pointerType?e.pointerType:Y[e.pointerType]||"",this.state=e.state,this.i=e,e.defaultPrevented&&G.aa.h.call(this)}}x(G,W);var Y={2:"touch",3:"pen",4:"mouse"};G.prototype.h=function(){G.aa.h.call(this);var e=this.i;e.preventDefault?e.preventDefault():e.returnValue=!1};var K="closure_listenable_"+(1e6*Math.random()|0),Q=0;function X(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.ha=i,this.key=++Q,this.da=this.fa=!1}function J(e){e.da=!0,e.listener=null,e.proxy=null,e.src=null,e.ha=null}function $(e){this.src=e,this.g={},this.h=0}function ee(e,t){var n=t.type;if(n in e.g){var r,i=e.g[n],o=Array.prototype.indexOf.call(i,t,void 0);(r=0<=o)&&Array.prototype.splice.call(i,o,1),r&&(J(t),0==e.g[n].length&&(delete e.g[n],e.h--))}}function te(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i];if(!o.da&&o.listener==t&&o.capture==!!n&&o.ha==r)return i}return-1}$.prototype.add=function(e,t,n,r,i){var o=e.toString();(e=this.g[o])||(e=this.g[o]=[],this.h++);var a=te(e,t,r,i);return-1<a?(t=e[a],n||(t.fa=!1)):((t=new X(t,this.src,o,!!r,i)).fa=n,e.push(t)),t};var ne="closure_lm_"+(1e6*Math.random()|0),re={};function ie(e,t,n,r,i){if(r&&r.once)return ae(e,t,n,r,i);if(Array.isArray(t)){for(var o=0;o<t.length;o++)ie(e,t[o],n,r,i);return null}return n=pe(n),e&&e[K]?e.K(t,n,a(r)?!!r.capture:!!r,i):oe(e,t,n,!1,r,i)}function oe(e,t,n,r,i,o){if(!t)throw Error("Invalid event type");var s=a(i)?!!i.capture:!!i,l=de(e);if(l||(e[ne]=l=new $(e)),(n=l.add(t,n,r,s,o)).proxy)return n;if(r=function(){function e(n){return t.call(e.src,e.listener,n)}const t=ue;return e}(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)q||(i=s),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(ce(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}return n}function ae(e,t,n,r,i){if(Array.isArray(t)){for(var o=0;o<t.length;o++)ae(e,t[o],n,r,i);return null}return n=pe(n),e&&e[K]?e.L(t,n,a(r)?!!r.capture:!!r,i):oe(e,t,n,!0,r,i)}function se(e,t,n,r,i){if(Array.isArray(t))for(var o=0;o<t.length;o++)se(e,t[o],n,r,i);else r=a(r)?!!r.capture:!!r,n=pe(n),e&&e[K]?(e=e.i,(t=String(t).toString())in e.g&&(-1<(n=te(o=e.g[t],n,r,i))&&(J(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.g[t],e.h--)))):e&&(e=de(e))&&(t=e.g[t.toString()],e=-1,t&&(e=te(t,n,r,i)),(n=-1<e?t[e]:null)&&le(n))}function le(e){if("number"!==typeof e&&e&&!e.da){var t=e.src;if(t&&t[K])ee(t.i,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(ce(n),r):t.addListener&&t.removeListener&&t.removeListener(r),(n=de(t))?(ee(n,e),0==n.h&&(n.src=null,t[ne]=null)):J(e)}}}function ce(e){return e in re?re[e]:re[e]="on"+e}function ue(e,t){if(e.da)e=!0;else{t=new G(t,this);var n=e.listener,r=e.ha||e.src;e.fa&&le(e),e=n.call(r,t)}return e}function de(e){return(e=e[ne])instanceof $?e:null}var he="__closure_events_fn_"+(1e9*Math.random()>>>0);function pe(e){return"function"===typeof e?e:(e[he]||(e[he]=function(t){return e.handleEvent(t)}),e[he])}function fe(){Z.call(this),this.i=new $(this),this.M=this,this.F=null}function me(e,t){var n,r=e.F;if(r)for(n=[];r;r=r.F)n.push(r);if(e=e.M,r=t.type||t,"string"===typeof t)t=new W(t,e);else if(t instanceof W)t.target=t.target||e;else{var i=t;I(t=new W(r,e),i)}if(i=!0,n)for(var o=n.length-1;0<=o;o--){var a=t.g=n[o];i=ge(a,r,!0,t)&&i}if(i=ge(a=t.g=e,r,!0,t)&&i,i=ge(a,r,!1,t)&&i,n)for(o=0;o<n.length;o++)i=ge(a=t.g=n[o],r,!1,t)&&i}function ge(e,t,n,r){if(!(t=e.i.g[String(t)]))return!0;t=t.concat();for(var i=!0,o=0;o<t.length;++o){var a=t[o];if(a&&!a.da&&a.capture==n){var s=a.listener,l=a.ha||a.src;a.fa&&ee(e.i,a),i=!1!==s.call(l,r)&&i}}return i&&!r.defaultPrevented}function ve(e,t,n){if("function"===typeof e)n&&(e=c(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=c(e.handleEvent,e)}return 2147483647<Number(t)?-1:i.setTimeout(e,t||0)}function Ce(e){e.g=ve((()=>{e.g=null,e.i&&(e.i=!1,Ce(e))}),e.l);const t=e.h;e.h=null,e.m.apply(null,t)}x(fe,Z),fe.prototype[K]=!0,fe.prototype.removeEventListener=function(e,t,n,r){se(this,e,t,n,r)},fe.prototype.N=function(){if(fe.aa.N.call(this),this.i){var e,t=this.i;for(e in t.g){for(var n=t.g[e],r=0;r<n.length;r++)J(n[r]);delete t.g[e],t.h--}}this.F=null},fe.prototype.K=function(e,t,n,r){return this.i.add(String(e),t,!1,n,r)},fe.prototype.L=function(e,t,n,r){return this.i.add(String(e),t,!0,n,r)};class ye extends Z{constructor(e,t){super(),this.m=e,this.l=t,this.h=null,this.i=!1,this.g=null}j(e){this.h=arguments,this.g?this.i=!0:Ce(this)}N(){super.N(),this.g&&(i.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function be(e){Z.call(this),this.h=e,this.g={}}x(be,Z);var we=[];function xe(e){D(e.g,(function(e,t){this.g.hasOwnProperty(t)&&le(e)}),e),e.g={}}be.prototype.N=function(){be.aa.N.call(this),xe(this)},be.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var Ae=i.JSON.stringify,Ee=i.JSON.parse,_e=class{stringify(e){return i.JSON.stringify(e,void 0)}parse(e){return i.JSON.parse(e,void 0)}};function Te(){}function Se(e){return e.h||(e.h=e.i())}function ke(){}Te.prototype.h=null;var Pe={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function De(){W.call(this,"d")}function Ne(){W.call(this,"c")}x(De,W),x(Ne,W);var Fe={},Ie=null;function Re(){return Ie=Ie||new fe}function Me(e){W.call(this,Fe.La,e)}function Oe(e){const t=Re();me(t,new Me(t))}function je(e,t){W.call(this,Fe.STAT_EVENT,e),this.stat=t}function Le(e){const t=Re();me(t,new je(t,e))}function Be(e,t){W.call(this,Fe.Ma,e),this.size=t}function Ue(e,t){if("function"!==typeof e)throw Error("Fn must not be null and must be a function");return i.setTimeout((function(){e()}),t)}function Ve(){this.g=!0}function He(e,t,n,r){e.info((function(){return"XMLHTTP TEXT ("+t+"): "+function(e,t){if(!e.g)return t;if(!t)return null;try{var n=JSON.parse(t);if(n)for(e=0;e<n.length;e++)if(Array.isArray(n[e])){var r=n[e];if(!(2>r.length)){var i=r[1];if(Array.isArray(i)&&!(1>i.length)){var o=i[0];if("noop"!=o&&"stop"!=o&&"close"!=o)for(var a=1;a<i.length;a++)i[a]=""}}}return Ae(n)}catch(s){return t}}(e,n)+(r?" "+r:"")}))}Fe.La="serverreachability",x(Me,W),Fe.STAT_EVENT="statevent",x(je,W),Fe.Ma="timingevent",x(Be,W),Ve.prototype.xa=function(){this.g=!1},Ve.prototype.info=function(){};var ze,Ze={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},We={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"};function qe(){}function Ge(e,t,n,r){this.j=e,this.i=t,this.l=n,this.R=r||1,this.U=new be(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new Ye}function Ye(){this.i=null,this.g="",this.h=!1}x(qe,Te),qe.prototype.g=function(){return new XMLHttpRequest},qe.prototype.i=function(){return{}},ze=new qe;var Ke={},Qe={};function Xe(e,t,n){e.L=1,e.v=At(Ct(t)),e.m=n,e.P=!0,Je(e,null)}function Je(e,t){e.F=Date.now(),tt(e),e.A=Ct(e.v);var n=e.A,r=e.R;Array.isArray(r)||(r=[String(r)]),jt(n.i,"t",r),e.C=0,n=e.j.J,e.h=new Ye,e.g=_n(e.j,n?t:null,!e.m),0<e.O&&(e.M=new ye(c(e.Y,e,e.g),e.O)),t=e.U,n=e.g,r=e.ca;var i="readystatechange";Array.isArray(i)||(i&&(we[0]=i.toString()),i=we);for(var o=0;o<i.length;o++){var a=ie(n,i[o],r||t.handleEvent,!1,t.h||t);if(!a)break;t.g[a.key]=a}t=e.H?N(e.H):{},e.m?(e.u||(e.u="POST"),t["Content-Type"]="application/x-www-form-urlencoded",e.g.ea(e.A,e.u,e.m,t)):(e.u="GET",e.g.ea(e.A,e.u,null,t)),Oe(),function(e,t,n,r,i,o){e.info((function(){if(e.g)if(o)for(var a="",s=o.split("&"),l=0;l<s.length;l++){var c=s[l].split("=");if(1<c.length){var u=c[0];c=c[1];var d=u.split("_");a=2<=d.length&&"type"==d[1]?a+(u+"=")+c+"&":a+(u+"=redacted&")}}else a=null;else a=o;return"XMLHTTP REQ ("+r+") [attempt "+i+"]: "+t+"\n"+n+"\n"+a}))}(e.i,e.u,e.A,e.l,e.R,e.m)}function $e(e){return!!e.g&&("GET"==e.u&&2!=e.L&&e.j.Ca)}function et(e,t){var n=e.C,r=t.indexOf("\n",n);return-1==r?Qe:(n=Number(t.substring(n,r)),isNaN(n)?Ke:(r+=1)+n>t.length?Qe:(t=t.slice(r,r+n),e.C=r+n,t))}function tt(e){e.S=Date.now()+e.I,nt(e,e.I)}function nt(e,t){if(null!=e.B)throw Error("WatchDog timer not null");e.B=Ue(c(e.ba,e),t)}function rt(e){e.B&&(i.clearTimeout(e.B),e.B=null)}function it(e){0==e.j.G||e.J||bn(e.j,e)}function ot(e){rt(e);var t=e.M;t&&"function"==typeof t.ma&&t.ma(),e.M=null,xe(e.U),e.g&&(t=e.g,e.g=null,t.abort(),t.ma())}function at(e,t){try{var n=e.j;if(0!=n.G&&(n.g==e||dt(n.h,e)))if(!e.K&&dt(n.h,e)&&3==n.G){try{var r=n.Da.g.parse(t)}catch(u){r=null}if(Array.isArray(r)&&3==r.length){var i=r;if(0==i[0]){e:if(!n.u){if(n.g){if(!(n.g.F+3e3<e.F))break e;yn(n),cn(n)}gn(n),Le(18)}}else n.za=i[1],0<n.za-n.T&&37500>i[2]&&n.F&&0==n.v&&!n.C&&(n.C=Ue(c(n.Za,n),6e3));if(1>=ut(n.h)&&n.ca){try{n.ca()}catch(u){}n.ca=void 0}}else xn(n,11)}else if((e.K||n.g==e)&&yn(n),!T(t))for(i=n.Da.g.parse(t),t=0;t<i.length;t++){let c=i[t];if(n.T=c[0],c=c[1],2==n.G)if("c"==c[0]){n.K=c[1],n.ia=c[2];const t=c[3];null!=t&&(n.la=t,n.j.info("VER="+n.la));const i=c[4];null!=i&&(n.Aa=i,n.j.info("SVER="+n.Aa));const u=c[5];null!=u&&"number"===typeof u&&0<u&&(r=1.5*u,n.L=r,n.j.info("backChannelRequestTimeoutMs_="+r)),r=n;const d=e.g;if(d){const e=d.g?d.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(e){var o=r.h;o.g||-1==e.indexOf("spdy")&&-1==e.indexOf("quic")&&-1==e.indexOf("h2")||(o.j=o.l,o.g=new Set,o.h&&(ht(o,o.h),o.h=null))}if(r.D){const e=d.g?d.g.getResponseHeader("X-HTTP-Session-Id"):null;e&&(r.ya=e,xt(r.I,r.D,e))}}n.G=3,n.l&&n.l.ua(),n.ba&&(n.R=Date.now()-e.F,n.j.info("Handshake RTT: "+n.R+"ms"));var a=e;if((r=n).qa=En(r,r.J?r.ia:null,r.W),a.K){pt(r.h,a);var s=a,l=r.L;l&&(s.I=l),s.B&&(rt(s),tt(s)),r.g=a}else mn(r);0<n.i.length&&dn(n)}else"stop"!=c[0]&&"close"!=c[0]||xn(n,7);else 3==n.G&&("stop"==c[0]||"close"==c[0]?"stop"==c[0]?xn(n,7):ln(n):"noop"!=c[0]&&n.l&&n.l.ta(c),n.v=0)}Oe()}catch(u){}}Ge.prototype.ca=function(e){e=e.target;const t=this.M;t&&3==rn(e)?t.j():this.Y(e)},Ge.prototype.Y=function(e){try{if(e==this.g)e:{const h=rn(this.g);var t=this.g.Ba();this.g.Z();if(!(3>h)&&(3!=h||this.g&&(this.h.h||this.g.oa()||on(this.g)))){this.J||4!=h||7==t||Oe(),rt(this);var n=this.g.Z();this.X=n;t:if($e(this)){var r=on(this.g);e="";var o=r.length,a=4==rn(this.g);if(!this.h.i){if("undefined"===typeof TextDecoder){ot(this),it(this);var s="";break t}this.h.i=new i.TextDecoder}for(t=0;t<o;t++)this.h.h=!0,e+=this.h.i.decode(r[t],{stream:!(a&&t==o-1)});r.length=0,this.h.g+=e,this.C=0,s=this.h.g}else s=this.g.oa();if(this.o=200==n,function(e,t,n,r,i,o,a){e.info((function(){return"XMLHTTP RESP ("+r+") [ attempt "+i+"]: "+t+"\n"+n+"\n"+o+" "+a}))}(this.i,this.u,this.A,this.l,this.R,h,n),this.o){if(this.T&&!this.K){t:{if(this.g){var l,c=this.g;if((l=c.g?c.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!T(l)){var u=l;break t}}u=null}if(!(n=u)){this.o=!1,this.s=3,Le(12),ot(this),it(this);break e}He(this.i,this.l,n,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,at(this,n)}if(this.P){let e;for(n=!0;!this.J&&this.C<s.length;){if(e=et(this,s),e==Qe){4==h&&(this.s=4,Le(14),n=!1),He(this.i,this.l,null,"[Incomplete Response]");break}if(e==Ke){this.s=4,Le(15),He(this.i,this.l,s,"[Invalid Chunk]"),n=!1;break}He(this.i,this.l,e,null),at(this,e)}if($e(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=h||0!=s.length||this.h.h||(this.s=1,Le(16),n=!1),this.o=this.o&&n,n){if(0<s.length&&!this.W){this.W=!0;var d=this.j;d.g==this&&d.ba&&!d.M&&(d.j.info("Great, no buffering proxy detected. Bytes received: "+s.length),vn(d),d.M=!0,Le(11))}}else He(this.i,this.l,s,"[Invalid Chunked Response]"),ot(this),it(this)}else He(this.i,this.l,s,null),at(this,s);4==h&&ot(this),this.o&&!this.J&&(4==h?bn(this.j,this):(this.o=!1,tt(this)))}else(function(e){const t={};e=(e.g&&2<=rn(e)&&e.g.getAllResponseHeaders()||"").split("\r\n");for(let r=0;r<e.length;r++){if(T(e[r]))continue;var n=R(e[r]);const i=n[0];if("string"!==typeof(n=n[1]))continue;n=n.trim();const o=t[i]||[];t[i]=o,o.push(n)}!function(e,t){for(const n in e)t.call(void 0,e[n],n,e)}(t,(function(e){return e.join(", ")}))})(this.g),400==n&&0<s.indexOf("Unknown SID")?(this.s=3,Le(12)):(this.s=0,Le(13)),ot(this),it(this)}}}catch(h){}},Ge.prototype.cancel=function(){this.J=!0,ot(this)},Ge.prototype.ba=function(){this.B=null;const e=Date.now();0<=e-this.S?(function(e,t){e.info((function(){return"TIMEOUT: "+t}))}(this.i,this.A),2!=this.L&&(Oe(),Le(17)),ot(this),this.s=2,it(this)):nt(this,this.S-e)};var st=class{constructor(e,t){this.g=e,this.map=t}};function lt(e){this.l=e||10,i.PerformanceNavigationTiming?e=0<(e=i.performance.getEntriesByType("navigation")).length&&("hq"==e[0].nextHopProtocol||"h2"==e[0].nextHopProtocol):e=!!(i.chrome&&i.chrome.loadTimes&&i.chrome.loadTimes()&&i.chrome.loadTimes().wasFetchedViaSpdy),this.j=e?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function ct(e){return!!e.h||!!e.g&&e.g.size>=e.j}function ut(e){return e.h?1:e.g?e.g.size:0}function dt(e,t){return e.h?e.h==t:!!e.g&&e.g.has(t)}function ht(e,t){e.g?e.g.add(t):e.h=t}function pt(e,t){e.h&&e.h==t?e.h=null:e.g&&e.g.has(t)&&e.g.delete(t)}function ft(e){if(null!=e.h)return e.i.concat(e.h.D);if(null!=e.g&&0!==e.g.size){let t=e.i;for(const n of e.g.values())t=t.concat(n.D);return t}return A(e.i)}function mt(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(o(e)||"string"===typeof e)Array.prototype.forEach.call(e,t,void 0);else for(var n=function(e){if(e.na&&"function"==typeof e.na)return e.na();if(!e.V||"function"!=typeof e.V){if("undefined"!==typeof Map&&e instanceof Map)return Array.from(e.keys());if(!("undefined"!==typeof Set&&e instanceof Set)){if(o(e)||"string"===typeof e){var t=[];e=e.length;for(var n=0;n<e;n++)t.push(n);return t}t=[],n=0;for(const r in e)t[n++]=r;return t}}}(e),r=function(e){if(e.V&&"function"==typeof e.V)return e.V();if("undefined"!==typeof Map&&e instanceof Map||"undefined"!==typeof Set&&e instanceof Set)return Array.from(e.values());if("string"===typeof e)return e.split("");if(o(e)){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}for(r in t=[],n=0,e)t[n++]=e[r];return t}(e),i=r.length,a=0;a<i;a++)t.call(void 0,r[a],n&&n[a],e)}lt.prototype.cancel=function(){if(this.i=ft(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const e of this.g.values())e.cancel();this.g.clear()}};var gt=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function vt(e){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,e instanceof vt){this.h=e.h,yt(this,e.j),this.o=e.o,this.g=e.g,bt(this,e.s),this.l=e.l;var t=e.i,n=new It;n.i=t.i,t.g&&(n.g=new Map(t.g),n.h=t.h),wt(this,n),this.m=e.m}else e&&(t=String(e).match(gt))?(this.h=!1,yt(this,t[1]||"",!0),this.o=Et(t[2]||""),this.g=Et(t[3]||"",!0),bt(this,t[4]),this.l=Et(t[5]||"",!0),wt(this,t[6]||"",!0),this.m=Et(t[7]||"")):(this.h=!1,this.i=new It(null,this.h))}function Ct(e){return new vt(e)}function yt(e,t,n){e.j=n?Et(t,!0):t,e.j&&(e.j=e.j.replace(/:$/,""))}function bt(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.s=t}else e.s=null}function wt(e,t,n){t instanceof It?(e.i=t,function(e,t){t&&!e.j&&(Rt(e),e.i=null,e.g.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(Mt(this,t),jt(this,n,e))}),e)),e.j=t}(e.i,e.h)):(n||(t=_t(t,Nt)),e.i=new It(t,e.h))}function xt(e,t,n){e.i.set(t,n)}function At(e){return xt(e,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),e}function Et(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function _t(e,t,n){return"string"===typeof e?(e=encodeURI(e).replace(t,Tt),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Tt(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}vt.prototype.toString=function(){var e=[],t=this.j;t&&e.push(_t(t,kt,!0),":");var n=this.g;return(n||"file"==t)&&(e.push("//"),(t=this.o)&&e.push(_t(t,kt,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.s)&&e.push(":",String(n))),(n=this.l)&&(this.g&&"/"!=n.charAt(0)&&e.push("/"),e.push(_t(n,"/"==n.charAt(0)?Dt:Pt,!0))),(n=this.i.toString())&&e.push("?",n),(n=this.m)&&e.push("#",_t(n,Ft)),e.join("")};var St,kt=/[#\/\?@]/g,Pt=/[#\?:]/g,Dt=/[#\?]/g,Nt=/[#\?@]/g,Ft=/#/g;function It(e,t){this.h=this.g=null,this.i=e||null,this.j=!!t}function Rt(e){e.g||(e.g=new Map,e.h=0,e.i&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var o=e[n].substring(0,r);i=e[n].substring(r+1)}else o=e[n];t(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}(e.i,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function Mt(e,t){Rt(e),t=Lt(e,t),e.g.has(t)&&(e.i=null,e.h-=e.g.get(t).length,e.g.delete(t))}function Ot(e,t){return Rt(e),t=Lt(e,t),e.g.has(t)}function jt(e,t,n){Mt(e,t),0<n.length&&(e.i=null,e.g.set(Lt(e,t),A(n)),e.h+=n.length)}function Lt(e,t){return t=String(t),e.j&&(t=t.toLowerCase()),t}function Bt(e,t,n,r,i){try{i&&(i.onload=null,i.onerror=null,i.onabort=null,i.ontimeout=null),r(n)}catch(o){}}function Ut(){this.g=new _e}function Vt(e,t,n){const r=n||"";try{mt(e,(function(e,n){let i=e;a(e)&&(i=Ae(e)),t.push(r+n+"="+encodeURIComponent(i))}))}catch(i){throw t.push(r+"type="+encodeURIComponent("_badmap")),i}}function Ht(e){this.l=e.Ub||null,this.j=e.eb||!1}function zt(e,t){fe.call(this),this.D=e,this.o=t,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}function Zt(e){e.j.read().then(e.Pa.bind(e)).catch(e.ga.bind(e))}function Wt(e){e.readyState=4,e.l=null,e.j=null,e.v=null,qt(e)}function qt(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function Gt(e){let t="";return D(e,(function(e,n){t+=n,t+=":",t+=e,t+="\r\n"})),t}function Yt(e,t,n){e:{for(r in n){var r=!1;break e}r=!0}r||(n=Gt(n),"string"===typeof e?null!=n&&encodeURIComponent(String(n)):xt(e,t,n))}function Kt(e){fe.call(this),this.headers=new Map,this.o=e||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}(e=It.prototype).add=function(e,t){Rt(this),this.i=null,e=Lt(this,e);var n=this.g.get(e);return n||this.g.set(e,n=[]),n.push(t),this.h+=1,this},e.forEach=function(e,t){Rt(this),this.g.forEach((function(n,r){n.forEach((function(n){e.call(t,n,r,this)}),this)}),this)},e.na=function(){Rt(this);const e=Array.from(this.g.values()),t=Array.from(this.g.keys()),n=[];for(let r=0;r<t.length;r++){const i=e[r];for(let e=0;e<i.length;e++)n.push(t[r])}return n},e.V=function(e){Rt(this);let t=[];if("string"===typeof e)Ot(this,e)&&(t=t.concat(this.g.get(Lt(this,e))));else{e=Array.from(this.g.values());for(let n=0;n<e.length;n++)t=t.concat(e[n])}return t},e.set=function(e,t){return Rt(this),this.i=null,Ot(this,e=Lt(this,e))&&(this.h-=this.g.get(e).length),this.g.set(e,[t]),this.h+=1,this},e.get=function(e,t){return e&&0<(e=this.V(e)).length?String(e[0]):t},e.toString=function(){if(this.i)return this.i;if(!this.g)return"";const e=[],t=Array.from(this.g.keys());for(var n=0;n<t.length;n++){var r=t[n];const o=encodeURIComponent(String(r)),a=this.V(r);for(r=0;r<a.length;r++){var i=o;""!==a[r]&&(i+="="+encodeURIComponent(String(a[r]))),e.push(i)}}return this.i=e.join("&")},x(Ht,Te),Ht.prototype.g=function(){return new zt(this.l,this.j)},Ht.prototype.i=(St={},function(){return St}),x(zt,fe),(e=zt.prototype).open=function(e,t){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.B=e,this.A=t,this.readyState=1,qt(this)},e.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;const t={headers:this.u,method:this.B,credentials:this.m,cache:void 0};e&&(t.body=e),(this.D||i).fetch(new Request(this.A,t)).then(this.Sa.bind(this),this.ga.bind(this))},e.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch((()=>{})),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,Wt(this)),this.readyState=0},e.Sa=function(e){if(this.g&&(this.l=e,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=e.headers,this.readyState=2,qt(this)),this.g&&(this.readyState=3,qt(this),this.g)))if("arraybuffer"===this.responseType)e.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if("undefined"!==typeof i.ReadableStream&&"body"in e){if(this.j=e.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;Zt(this)}else e.text().then(this.Ra.bind(this),this.ga.bind(this))},e.Pa=function(e){if(this.g){if(this.o&&e.value)this.response.push(e.value);else if(!this.o){var t=e.value?e.value:new Uint8Array(0);(t=this.v.decode(t,{stream:!e.done}))&&(this.response=this.responseText+=t)}e.done?Wt(this):qt(this),3==this.readyState&&Zt(this)}},e.Ra=function(e){this.g&&(this.response=this.responseText=e,Wt(this))},e.Qa=function(e){this.g&&(this.response=e,Wt(this))},e.ga=function(){this.g&&Wt(this)},e.setRequestHeader=function(e,t){this.u.append(e,t)},e.getResponseHeader=function(e){return this.h&&this.h.get(e.toLowerCase())||""},e.getAllResponseHeaders=function(){if(!this.h)return"";const e=[],t=this.h.entries();for(var n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},Object.defineProperty(zt.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(e){this.m=e?"include":"same-origin"}}),x(Kt,fe);var Qt=/^https?$/i,Xt=["POST","PUT"];function Jt(e,t){e.h=!1,e.g&&(e.j=!0,e.g.abort(),e.j=!1),e.l=t,e.m=5,$t(e),tn(e)}function $t(e){e.A||(e.A=!0,me(e,"complete"),me(e,"error"))}function en(e){if(e.h&&"undefined"!=typeof r&&(!e.v[1]||4!=rn(e)||2!=e.Z()))if(e.u&&4==rn(e))ve(e.Ea,0,e);else if(me(e,"readystatechange"),4==rn(e)){e.h=!1;try{const r=e.Z();e:switch(r){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var t=!0;break e;default:t=!1}var n;if(!(n=t)){var o;if(o=0===r){var a=String(e.D).match(gt)[1]||null;!a&&i.self&&i.self.location&&(a=i.self.location.protocol.slice(0,-1)),o=!Qt.test(a?a.toLowerCase():"")}n=o}if(n)me(e,"complete"),me(e,"success");else{e.m=6;try{var s=2<rn(e)?e.g.statusText:""}catch(l){s=""}e.l=s+" ["+e.Z()+"]",$t(e)}}finally{tn(e)}}}function tn(e,t){if(e.g){nn(e);const r=e.g,i=e.v[0]?()=>{}:null;e.g=null,e.v=null,t||me(e,"ready");try{r.onreadystatechange=i}catch(n){}}}function nn(e){e.I&&(i.clearTimeout(e.I),e.I=null)}function rn(e){return e.g?e.g.readyState:0}function on(e){try{if(!e.g)return null;if("response"in e.g)return e.g.response;switch(e.H){case"":case"text":return e.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.g)return e.g.mozResponseArrayBuffer}return null}catch(E){return null}}function an(e,t,n){return n&&n.internalChannelParams&&n.internalChannelParams[e]||t}function sn(e){this.Aa=0,this.i=[],this.j=new Ve,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=an("failFast",!1,e),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=an("baseRetryDelayMs",5e3,e),this.cb=an("retryDelaySeedMs",1e4,e),this.Wa=an("forwardChannelMaxRetries",2,e),this.wa=an("forwardChannelRequestTimeoutMs",2e4,e),this.pa=e&&e.xmlHttpFactory||void 0,this.Xa=e&&e.Tb||void 0,this.Ca=e&&e.useFetchStreams||!1,this.L=void 0,this.J=e&&e.supportsCrossDomainXhr||!1,this.K="",this.h=new lt(e&&e.concurrentRequestLimit),this.Da=new Ut,this.P=e&&e.fastHandshake||!1,this.O=e&&e.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=e&&e.Rb||!1,e&&e.xa&&this.j.xa(),e&&e.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&e&&e.detectBufferingProxy||!1,this.ja=void 0,e&&e.longPollingTimeout&&0<e.longPollingTimeout&&(this.ja=e.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}function ln(e){if(un(e),3==e.G){var t=e.U++,n=Ct(e.I);if(xt(n,"SID",e.K),xt(n,"RID",t),xt(n,"TYPE","terminate"),pn(e,n),(t=new Ge(e,e.j,t)).L=2,t.v=At(Ct(n)),n=!1,i.navigator&&i.navigator.sendBeacon)try{n=i.navigator.sendBeacon(t.v.toString(),"")}catch(r){}!n&&i.Image&&((new Image).src=t.v,n=!0),n||(t.g=_n(t.j,null),t.g.ea(t.v)),t.F=Date.now(),tt(t)}An(e)}function cn(e){e.g&&(vn(e),e.g.cancel(),e.g=null)}function un(e){cn(e),e.u&&(i.clearTimeout(e.u),e.u=null),yn(e),e.h.cancel(),e.s&&("number"===typeof e.s&&i.clearTimeout(e.s),e.s=null)}function dn(e){if(!ct(e.h)&&!e.s){e.s=!0;var t=e.Ga;B||H(),U||(B(),U=!0),V.add(t,e),e.B=0}}function hn(e,t){var n;n=t?t.l:e.U++;const r=Ct(e.I);xt(r,"SID",e.K),xt(r,"RID",n),xt(r,"AID",e.T),pn(e,r),e.m&&e.o&&Yt(r,e.m,e.o),n=new Ge(e,e.j,n,e.B+1),null===e.m&&(n.H=e.o),t&&(e.i=t.D.concat(e.i)),t=fn(e,n,1e3),n.I=Math.round(.5*e.wa)+Math.round(.5*e.wa*Math.random()),ht(e.h,n),Xe(n,r,t)}function pn(e,t){e.H&&D(e.H,(function(e,n){xt(t,n,e)})),e.l&&mt({},(function(e,n){xt(t,n,e)}))}function fn(e,t,n){n=Math.min(e.i.length,n);var r=e.l?c(e.l.Na,e.l,e):null;e:{var i=e.i;let t=-1;for(;;){const e=["count="+n];-1==t?0<n?(t=i[0].g,e.push("ofs="+t)):t=0:e.push("ofs="+t);let a=!0;for(let s=0;s<n;s++){let n=i[s].g;const l=i[s].map;if(n-=t,0>n)t=Math.max(0,i[s].g-100),a=!1;else try{Vt(l,e,"req"+n+"_")}catch(o){r&&r(l)}}if(a){r=e.join("&");break e}}}return e=e.i.splice(0,n),t.D=e,r}function mn(e){if(!e.g&&!e.u){e.Y=1;var t=e.Fa;B||H(),U||(B(),U=!0),V.add(t,e),e.v=0}}function gn(e){return!(e.g||e.u||3<=e.v)&&(e.Y++,e.u=Ue(c(e.Fa,e),wn(e,e.v)),e.v++,!0)}function vn(e){null!=e.A&&(i.clearTimeout(e.A),e.A=null)}function Cn(e){e.g=new Ge(e,e.j,"rpc",e.Y),null===e.m&&(e.g.H=e.o),e.g.O=0;var t=Ct(e.qa);xt(t,"RID","rpc"),xt(t,"SID",e.K),xt(t,"AID",e.T),xt(t,"CI",e.F?"0":"1"),!e.F&&e.ja&&xt(t,"TO",e.ja),xt(t,"TYPE","xmlhttp"),pn(e,t),e.m&&e.o&&Yt(t,e.m,e.o),e.L&&(e.g.I=e.L);var n=e.g;e=e.ia,n.L=1,n.v=At(Ct(t)),n.m=null,n.P=!0,Je(n,e)}function yn(e){null!=e.C&&(i.clearTimeout(e.C),e.C=null)}function bn(e,t){var n=null;if(e.g==t){yn(e),vn(e),e.g=null;var r=2}else{if(!dt(e.h,t))return;n=t.D,pt(e.h,t),r=1}if(0!=e.G)if(t.o)if(1==r){n=t.m?t.m.length:0,t=Date.now()-t.F;var i=e.B;me(r=Re(),new Be(r,n)),dn(e)}else mn(e);else if(3==(i=t.s)||0==i&&0<t.X||!(1==r&&function(e,t){return!(ut(e.h)>=e.h.j-(e.s?1:0))&&(e.s?(e.i=t.D.concat(e.i),!0):!(1==e.G||2==e.G||e.B>=(e.Va?0:e.Wa))&&(e.s=Ue(c(e.Ga,e,t),wn(e,e.B)),e.B++,!0))}(e,t)||2==r&&gn(e)))switch(n&&0<n.length&&(t=e.h,t.i=t.i.concat(n)),i){case 1:xn(e,5);break;case 4:xn(e,10);break;case 3:xn(e,6);break;default:xn(e,2)}}function wn(e,t){let n=e.Ta+Math.floor(Math.random()*e.cb);return e.isActive()||(n*=2),n*t}function xn(e,t){if(e.j.info("Error code "+t),2==t){var n=c(e.fb,e),r=e.Xa;const t=!r;r=new vt(r||"//www.google.com/images/cleardot.gif"),i.location&&"http"==i.location.protocol||yt(r,"https"),At(r),t?function(e,t){const n=new Ve;if(i.Image){const r=new Image;r.onload=u(Bt,n,"TestLoadImage: loaded",!0,t,r),r.onerror=u(Bt,n,"TestLoadImage: error",!1,t,r),r.onabort=u(Bt,n,"TestLoadImage: abort",!1,t,r),r.ontimeout=u(Bt,n,"TestLoadImage: timeout",!1,t,r),i.setTimeout((function(){r.ontimeout&&r.ontimeout()}),1e4),r.src=e}else t(!1)}(r.toString(),n):function(e,t){new Ve;const n=new AbortController,r=setTimeout((()=>{n.abort(),Bt(0,0,!1,t)}),1e4);fetch(e,{signal:n.signal}).then((e=>{clearTimeout(r),e.ok?Bt(0,0,!0,t):Bt(0,0,!1,t)})).catch((()=>{clearTimeout(r),Bt(0,0,!1,t)}))}(r.toString(),n)}else Le(2);e.G=0,e.l&&e.l.sa(t),An(e),un(e)}function An(e){if(e.G=0,e.ka=[],e.l){const t=ft(e.h);0==t.length&&0==e.i.length||(_(e.ka,t),_(e.ka,e.i),e.h.i.length=0,A(e.i),e.i.length=0),e.l.ra()}}function En(e,t,n){var r=n instanceof vt?Ct(n):new vt(n);if(""!=r.g)t&&(r.g=t+"."+r.g),bt(r,r.s);else{var o=i.location;r=o.protocol,t=t?t+"."+o.hostname:o.hostname,o=+o.port;var a=new vt(null);r&&yt(a,r),t&&(a.g=t),o&&bt(a,o),n&&(a.l=n),r=a}return n=e.D,t=e.ya,n&&t&&xt(r,n,t),xt(r,"VER",e.la),pn(e,r),r}function _n(e,t,n){if(t&&!e.J)throw Error("Can't create secondary domain capable XhrIo object.");return(t=e.Ca&&!e.pa?new Kt(new Ht({eb:n})):new Kt(e.pa)).Ha(e.J),t}function Tn(){}function Sn(){}function kn(e,t){fe.call(this),this.g=new sn(t),this.l=e,this.h=t&&t.messageUrlParams||null,e=t&&t.messageHeaders||null,t&&t.clientProtocolHeaderRequired&&(e?e["X-Client-Protocol"]="webchannel":e={"X-Client-Protocol":"webchannel"}),this.g.o=e,e=t&&t.initMessageHeaders||null,t&&t.messageContentType&&(e?e["X-WebChannel-Content-Type"]=t.messageContentType:e={"X-WebChannel-Content-Type":t.messageContentType}),t&&t.va&&(e?e["X-WebChannel-Client-Profile"]=t.va:e={"X-WebChannel-Client-Profile":t.va}),this.g.S=e,(e=t&&t.Sb)&&!T(e)&&(this.g.m=e),this.v=t&&t.supportsCrossDomainXhr||!1,this.u=t&&t.sendRawJson||!1,(t=t&&t.httpSessionIdParam)&&!T(t)&&(this.g.D=t,null!==(e=this.h)&&t in e&&(t in(e=this.h)&&delete e[t])),this.j=new Nn(this)}function Pn(e){De.call(this),e.__headers__&&(this.headers=e.__headers__,this.statusCode=e.__status__,delete e.__headers__,delete e.__status__);var t=e.__sm__;if(t){e:{for(const n in t){e=n;break e}e=void 0}(this.i=e)&&(e=this.i,t=null!==t&&e in t?t[e]:void 0),this.data=t}else this.data=e}function Dn(){Ne.call(this),this.status=1}function Nn(e){this.g=e}(e=Kt.prototype).Ha=function(e){this.J=e},e.ea=function(e,t,n,r){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+e);t=t?t.toUpperCase():"GET",this.D=e,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():ze.g(),this.v=this.o?Se(this.o):Se(ze),this.g.onreadystatechange=c(this.Ea,this);try{this.B=!0,this.g.open(t,String(e),!0),this.B=!1}catch(a){return void Jt(this,a)}if(e=n||"",n=new Map(this.headers),r)if(Object.getPrototypeOf(r)===Object.prototype)for(var o in r)n.set(o,r[o]);else{if("function"!==typeof r.keys||"function"!==typeof r.get)throw Error("Unknown input type for opt_headers: "+String(r));for(const e of r.keys())n.set(e,r.get(e))}r=Array.from(n.keys()).find((e=>"content-type"==e.toLowerCase())),o=i.FormData&&e instanceof i.FormData,!(0<=Array.prototype.indexOf.call(Xt,t,void 0))||r||o||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[i,s]of n)this.g.setRequestHeader(i,s);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{nn(this),this.u=!0,this.g.send(e),this.u=!1}catch(a){Jt(this,a)}},e.abort=function(e){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=e||7,me(this,"complete"),me(this,"abort"),tn(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),tn(this,!0)),Kt.aa.N.call(this)},e.Ea=function(){this.s||(this.B||this.u||this.j?en(this):this.bb())},e.bb=function(){en(this)},e.isActive=function(){return!!this.g},e.Z=function(){try{return 2<rn(this)?this.g.status:-1}catch(St){return-1}},e.oa=function(){try{return this.g?this.g.responseText:""}catch(St){return""}},e.Oa=function(e){if(this.g){var t=this.g.responseText;return e&&0==t.indexOf(e)&&(t=t.substring(e.length)),Ee(t)}},e.Ba=function(){return this.m},e.Ka=function(){return"string"===typeof this.l?this.l:String(this.l)},(e=sn.prototype).la=8,e.G=1,e.connect=function(e,t,n,r){Le(0),this.W=e,this.H=t||{},n&&void 0!==r&&(this.H.OSID=n,this.H.OAID=r),this.F=this.X,this.I=En(this,null,this.W),dn(this)},e.Ga=function(e){if(this.s)if(this.s=null,1==this.G){if(!e){this.U=Math.floor(1e5*Math.random()),e=this.U++;const i=new Ge(this,this.j,e);let o=this.o;if(this.S&&(o?(o=N(o),I(o,this.S)):o=this.S),null!==this.m||this.O||(i.H=o,o=null),this.P)e:{for(var t=0,n=0;n<this.i.length;n++){var r=this.i[n];if(void 0===(r="__data__"in r.map&&"string"===typeof(r=r.map.__data__)?r.length:void 0))break;if(4096<(t+=r)){t=n;break e}if(4096===t||n===this.i.length-1){t=n+1;break e}}t=1e3}else t=1e3;t=fn(this,i,t),xt(n=Ct(this.I),"RID",e),xt(n,"CVER",22),this.D&&xt(n,"X-HTTP-Session-Id",this.D),pn(this,n),o&&(this.O?t="headers="+encodeURIComponent(String(Gt(o)))+"&"+t:this.m&&Yt(n,this.m,o)),ht(this.h,i),this.Ua&&xt(n,"TYPE","init"),this.P?(xt(n,"$req",t),xt(n,"SID","null"),i.T=!0,Xe(i,n,null)):Xe(i,n,t),this.G=2}}else 3==this.G&&(e?hn(this,e):0==this.i.length||ct(this.h)||hn(this))},e.Fa=function(){if(this.u=null,Cn(this),this.ba&&!(this.M||null==this.g||0>=this.R)){var e=2*this.R;this.j.info("BP detection timer enabled: "+e),this.A=Ue(c(this.ab,this),e)}},e.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,Le(10),cn(this),Cn(this))},e.Za=function(){null!=this.C&&(this.C=null,cn(this),gn(this),Le(19))},e.fb=function(e){e?(this.j.info("Successfully pinged google.com"),Le(2)):(this.j.info("Failed to ping google.com"),Le(1))},e.isActive=function(){return!!this.l&&this.l.isActive(this)},(e=Tn.prototype).ua=function(){},e.ta=function(){},e.sa=function(){},e.ra=function(){},e.isActive=function(){return!0},e.Na=function(){},Sn.prototype.g=function(e,t){return new kn(e,t)},x(kn,fe),kn.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},kn.prototype.close=function(){ln(this.g)},kn.prototype.o=function(e){var t=this.g;if("string"===typeof e){var n={};n.__data__=e,e=n}else this.u&&((n={}).__data__=Ae(e),e=n);t.i.push(new st(t.Ya++,e)),3==t.G&&dn(t)},kn.prototype.N=function(){this.g.l=null,delete this.j,ln(this.g),delete this.g,kn.aa.N.call(this)},x(Pn,De),x(Dn,Ne),x(Nn,Tn),Nn.prototype.ua=function(){me(this.g,"a")},Nn.prototype.ta=function(e){me(this.g,new Pn(e))},Nn.prototype.sa=function(e){me(this.g,new Dn)},Nn.prototype.ra=function(){me(this.g,"b")},Sn.prototype.createWebChannel=Sn.prototype.g,kn.prototype.send=kn.prototype.o,kn.prototype.open=kn.prototype.m,kn.prototype.close=kn.prototype.close,y=w.createWebChannelTransport=function(){return new Sn},C=w.getStatEventTarget=function(){return Re()},v=w.Event=Fe,g=w.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},Ze.NO_ERROR=0,Ze.TIMEOUT=8,Ze.HTTP_ERROR=6,m=w.ErrorCode=Ze,We.COMPLETE="complete",f=w.EventType=We,ke.EventType=Pe,Pe.OPEN="a",Pe.CLOSE="b",Pe.ERROR="c",Pe.MESSAGE="d",fe.prototype.listen=fe.prototype.K,p=w.WebChannel=ke,h=w.FetchXmlHttpFactory=Ht,Kt.prototype.listenOnce=Kt.prototype.L,Kt.prototype.getLastError=Kt.prototype.Ka,Kt.prototype.getLastErrorCode=Kt.prototype.Ba,Kt.prototype.getStatus=Kt.prototype.Z,Kt.prototype.getResponseJson=Kt.prototype.Oa,Kt.prototype.getResponseText=Kt.prototype.oa,Kt.prototype.send=Kt.prototype.ea,Kt.prototype.setWithCredentials=Kt.prototype.Ha,d=w.XhrIo=Kt}).apply("undefined"!==typeof b?b:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{});const x="@firebase/firestore";class A{constructor(e){this.uid=e}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(e){return e.uid===this.uid}}A.UNAUTHENTICATED=new A(null),A.GOOGLE_CREDENTIALS=new A("google-credentials-uid"),A.FIRST_PARTY=new A("first-party-uid"),A.MOCK_USER=new A("mock-user");let E="10.12.3";const _=new s.Vy("@firebase/firestore");function T(){return _.logLevel}function S(e){_.setLogLevel(e)}function k(e){if(_.logLevel<=s.$b.DEBUG){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=n.map(N);_.debug("Firestore (".concat(E,"): ").concat(e),...i)}}function P(e){if(_.logLevel<=s.$b.ERROR){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=n.map(N);_.error("Firestore (".concat(E,"): ").concat(e),...i)}}function D(e){if(_.logLevel<=s.$b.WARN){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=n.map(N);_.warn("Firestore (".concat(E,"): ").concat(e),...i)}}function N(e){if("string"==typeof e)return e;try{return function(e){return JSON.stringify(e)}(e)}catch(t){return e}}function F(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unexpected state";const t="FIRESTORE (".concat(E,") INTERNAL ASSERTION FAILED: ")+e;throw P(t),new Error(t)}function I(e,t){e||F()}function R(e,t){e||F()}function M(e,t){return e}const O={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class j extends l.g{constructor(e,t){super(e,t),this.code=e,this.message=t,this.toString=()=>"".concat(this.name,": [code=").concat(this.code,"]: ").concat(this.message)}}class L{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}class B{constructor(e,t){this.user=t,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization","Bearer ".concat(e))}}class U{getToken(){return Promise.resolve(null)}invalidateToken(){}start(e,t){e.enqueueRetryable((()=>t(A.UNAUTHENTICATED)))}shutdown(){}}class V{constructor(e){this.token=e,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(e,t){this.changeListener=t,e.enqueueRetryable((()=>t(this.token.user)))}shutdown(){this.changeListener=null}}class H{constructor(e){this.t=e,this.currentUser=A.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(e,t){let n=this.i;const r=e=>this.i!==n?(n=this.i,t(e)):Promise.resolve();let i=new L;this.o=()=>{this.i++,this.currentUser=this.u(),i.resolve(),i=new L,e.enqueueRetryable((()=>r(this.currentUser)))};const o=()=>{const t=i;e.enqueueRetryable((async()=>{await t.promise,await r(this.currentUser)}))},a=e=>{k("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=e,this.auth.addAuthTokenListener(this.o),o()};this.t.onInit((e=>a(e))),setTimeout((()=>{if(!this.auth){const e=this.t.getImmediate({optional:!0});e?a(e):(k("FirebaseAuthCredentialsProvider","Auth not yet detected"),i.resolve(),i=new L)}}),0),o()}getToken(){const e=this.i,t=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(t).then((t=>this.i!==e?(k("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):t?(I("string"==typeof t.accessToken),new B(t.accessToken,this.currentUser)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.auth.removeAuthTokenListener(this.o)}u(){const e=this.auth&&this.auth.getUid();return I(null===e||"string"==typeof e),new A(e)}}class z{constructor(e,t,n){this.l=e,this.h=t,this.P=n,this.type="FirstParty",this.user=A.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const e=this.T();return e&&this.I.set("Authorization",e),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class Z{constructor(e,t,n){this.l=e,this.h=t,this.P=n}getToken(){return Promise.resolve(new z(this.l,this.h,this.P))}start(e,t){e.enqueueRetryable((()=>t(A.FIRST_PARTY)))}shutdown(){}invalidateToken(){}}class W{constructor(e){this.value=e,this.type="AppCheck",this.headers=new Map,e&&e.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class q{constructor(e){this.A=e,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(e,t){const n=e=>{null!=e.error&&k("FirebaseAppCheckTokenProvider","Error getting App Check token; using placeholder token instead. Error: ".concat(e.error.message));const n=e.token!==this.R;return this.R=e.token,k("FirebaseAppCheckTokenProvider","Received ".concat(n?"new":"existing"," token.")),n?t(e.token):Promise.resolve()};this.o=t=>{e.enqueueRetryable((()=>n(t)))};const r=e=>{k("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=e,this.appCheck.addTokenListener(this.o)};this.A.onInit((e=>r(e))),setTimeout((()=>{if(!this.appCheck){const e=this.A.getImmediate({optional:!0});e?r(e):k("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}}),0)}getToken(){const e=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(e).then((e=>e?(I("string"==typeof e.token),this.R=e.token,new W(e.token)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.appCheck.removeTokenListener(this.o)}}function G(e){const t="undefined"!=typeof self&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(n);else for(let r=0;r<e;r++)n[r]=Math.floor(256*Math.random());return n}class Y{static newId(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=62*Math.floor(256/62);let n="";for(;n.length<20;){const r=G(40);for(let i=0;i<r.length;++i)n.length<20&&r[i]<t&&(n+=e.charAt(r[i]%62))}return n}}function K(e,t){return e<t?-1:e>t?1:0}function Q(e,t,n){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}function X(e){return e+"\0"}class J{constructor(e,t){if(this.seconds=e,this.nanoseconds=t,t<0)throw new j(O.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(t>=1e9)throw new j(O.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(e<-62135596800)throw new j(O.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e);if(e>=253402300800)throw new j(O.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e)}static now(){return J.fromMillis(Date.now())}static fromDate(e){return J.fromMillis(e.getTime())}static fromMillis(e){const t=Math.floor(e/1e3),n=Math.floor(1e6*(e-1e3*t));return new J(t,n)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(e){return this.seconds===e.seconds?K(this.nanoseconds,e.nanoseconds):K(this.seconds,e.seconds)}isEqual(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const e=this.seconds- -62135596800;return String(e).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}class ${constructor(e){this.timestamp=e}static fromTimestamp(e){return new $(e)}static min(){return new $(new J(0,0))}static max(){return new $(new J(253402300799,999999999))}compareTo(e){return this.timestamp._compareTo(e.timestamp)}isEqual(e){return this.timestamp.isEqual(e.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}class ee{constructor(e,t,n){void 0===t?t=0:t>e.length&&F(),void 0===n?n=e.length-t:n>e.length-t&&F(),this.segments=e,this.offset=t,this.len=n}get length(){return this.len}isEqual(e){return 0===ee.comparator(this,e)}child(e){const t=this.segments.slice(this.offset,this.limit());return e instanceof ee?e.forEach((e=>{t.push(e)})):t.push(e),this.construct(t)}limit(){return this.offset+this.length}popFirst(e){return e=void 0===e?1:e,this.construct(this.segments,this.offset+e,this.length-e)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(e){return this.segments[this.offset+e]}isEmpty(){return 0===this.length}isPrefixOf(e){if(e.length<this.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0}isImmediateParentOf(e){if(this.length+1!==e.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0}forEach(e){for(let t=this.offset,n=this.limit();t<n;t++)e(this.segments[t])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++){const n=e.get(r),i=t.get(r);if(n<i)return-1;if(n>i)return 1}return e.length<t.length?-1:e.length>t.length?1:0}}class te extends ee{construct(e,t,n){return new te(e,t,n)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(){const e=[];for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(const i of n){if(i.indexOf("//")>=0)throw new j(O.INVALID_ARGUMENT,"Invalid segment (".concat(i,"). Paths must not contain // in them."));e.push(...i.split("/").filter((e=>e.length>0)))}return new te(e)}static emptyPath(){return new te([])}}const ne=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class re extends ee{construct(e,t,n){return new re(e,t,n)}static isValidIdentifier(e){return ne.test(e)}canonicalString(){return this.toArray().map((e=>(e=e.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),re.isValidIdentifier(e)||(e="`"+e+"`"),e))).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&"__name__"===this.get(0)}static keyField(){return new re(["__name__"])}static fromServerFormat(e){const t=[];let n="",r=0;const i=()=>{if(0===n.length)throw new j(O.INVALID_ARGUMENT,"Invalid field path (".concat(e,"). Paths must not be empty, begin with '.', end with '.', or contain '..'"));t.push(n),n=""};let o=!1;for(;r<e.length;){const t=e[r];if("\\"===t){if(r+1===e.length)throw new j(O.INVALID_ARGUMENT,"Path has trailing escape character: "+e);const t=e[r+1];if("\\"!==t&&"."!==t&&"`"!==t)throw new j(O.INVALID_ARGUMENT,"Path has invalid escape sequence: "+e);n+=t,r+=2}else"`"===t?(o=!o,r++):"."!==t||o?(n+=t,r++):(i(),r++)}if(i(),o)throw new j(O.INVALID_ARGUMENT,"Unterminated ` in path: "+e);return new re(t)}static emptyPath(){return new re([])}}class ie{constructor(e){this.path=e}static fromPath(e){return new ie(te.fromString(e))}static fromName(e){return new ie(te.fromString(e).popFirst(5))}static empty(){return new ie(te.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(e){return this.path.length>=2&&this.path.get(this.path.length-2)===e}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(e){return null!==e&&0===te.comparator(this.path,e.path)}toString(){return this.path.toString()}static comparator(e,t){return te.comparator(e.path,t.path)}static isDocumentKey(e){return e.length%2==0}static fromSegments(e){return new ie(new te(e.slice()))}}class oe{constructor(e,t,n,r){this.indexId=e,this.collectionGroup=t,this.fields=n,this.indexState=r}}function ae(e){return e.fields.find((e=>2===e.kind))}function se(e){return e.fields.filter((e=>2!==e.kind))}oe.UNKNOWN_ID=-1;class le{constructor(e,t){this.fieldPath=e,this.kind=t}}class ce{constructor(e,t){this.sequenceNumber=e,this.offset=t}static empty(){return new ce(0,he.min())}}function ue(e,t){const n=e.toTimestamp().seconds,r=e.toTimestamp().nanoseconds+1,i=$.fromTimestamp(1e9===r?new J(n+1,0):new J(n,r));return new he(i,ie.empty(),t)}function de(e){return new he(e.readTime,e.key,-1)}class he{constructor(e,t,n){this.readTime=e,this.documentKey=t,this.largestBatchId=n}static min(){return new he($.min(),ie.empty(),-1)}static max(){return new he($.max(),ie.empty(),-1)}}function pe(e,t){let n=e.readTime.compareTo(t.readTime);return 0!==n?n:(n=ie.comparator(e.documentKey,t.documentKey),0!==n?n:K(e.largestBatchId,t.largestBatchId))}const fe="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class me{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(e){this.onCommittedListeners.push(e)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach((e=>e()))}}async function ge(e){if(e.code!==O.FAILED_PRECONDITION||e.message!==fe)throw e;k("LocalStore","Unexpectedly lost primary lease")}class ve{constructor(e){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,e((e=>{this.isDone=!0,this.result=e,this.nextCallback&&this.nextCallback(e)}),(e=>{this.isDone=!0,this.error=e,this.catchCallback&&this.catchCallback(e)}))}catch(e){return this.next(void 0,e)}next(e,t){return this.callbackAttached&&F(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(t,this.error):this.wrapSuccess(e,this.result):new ve(((n,r)=>{this.nextCallback=t=>{this.wrapSuccess(e,t).next(n,r)},this.catchCallback=e=>{this.wrapFailure(t,e).next(n,r)}}))}toPromise(){return new Promise(((e,t)=>{this.next(e,t)}))}wrapUserFunction(e){try{const t=e();return t instanceof ve?t:ve.resolve(t)}catch(e){return ve.reject(e)}}wrapSuccess(e,t){return e?this.wrapUserFunction((()=>e(t))):ve.resolve(t)}wrapFailure(e,t){return e?this.wrapUserFunction((()=>e(t))):ve.reject(t)}static resolve(e){return new ve(((t,n)=>{t(e)}))}static reject(e){return new ve(((t,n)=>{n(e)}))}static waitFor(e){return new ve(((t,n)=>{let r=0,i=0,o=!1;e.forEach((e=>{++r,e.next((()=>{++i,o&&i===r&&t()}),(e=>n(e)))})),o=!0,i===r&&t()}))}static or(e){let t=ve.resolve(!1);for(const n of e)t=t.next((e=>e?ve.resolve(e):n()));return t}static forEach(e,t){const n=[];return e.forEach(((e,r)=>{n.push(t.call(this,e,r))})),this.waitFor(n)}static mapArray(e,t){return new ve(((n,r)=>{const i=e.length,o=new Array(i);let a=0;for(let s=0;s<i;s++){const l=s;t(e[l]).next((e=>{o[l]=e,++a,a===i&&n(o)}),(e=>r(e)))}}))}static doWhile(e,t){return new ve(((n,r)=>{const i=()=>{!0===e()?t().next((()=>{i()}),r):n()};i()}))}}class Ce{constructor(e,t){this.action=e,this.transaction=t,this.aborted=!1,this.V=new L,this.transaction.oncomplete=()=>{this.V.resolve()},this.transaction.onabort=()=>{t.error?this.V.reject(new xe(e,t.error)):this.V.resolve()},this.transaction.onerror=t=>{const n=Se(t.target.error);this.V.reject(new xe(e,n))}}static open(e,t,n,r){try{return new Ce(t,e.transaction(r,n))}catch(e){throw new xe(t,e)}}get m(){return this.V.promise}abort(e){e&&this.V.reject(e),this.aborted||(k("SimpleDb","Aborting transaction:",e?e.message:"Client-initiated abort"),this.aborted=!0,this.transaction.abort())}g(){const e=this.transaction;this.aborted||"function"!=typeof e.commit||e.commit()}store(e){const t=this.transaction.objectStore(e);return new Ee(t)}}class ye{constructor(e,t,n){this.name=e,this.version=t,this.p=n,12.2===ye.S((0,l.ZQ)())&&P("Firestore persistence suffers from a bug in iOS 12.2 Safari that may cause your app to stop working. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.")}static delete(e){return k("SimpleDb","Removing database:",e),_e(window.indexedDB.deleteDatabase(e)).toPromise()}static D(){if(!(0,l.zW)())return!1;if(ye.C())return!0;const e=(0,l.ZQ)(),t=ye.S(e),n=0<t&&t<10,r=be(e),i=0<r&&r<4.5;return!(e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0||n||i)}static C(){var e;return"undefined"!=typeof process&&"YES"===(null===(e=process.__PRIVATE_env)||void 0===e?void 0:e.v)}static F(e,t){return e.store(t)}static S(e){const t=e.match(/i(?:phone|pad|pod) os ([\d_]+)/i),n=t?t[1].split("_").slice(0,2).join("."):"-1";return Number(n)}async M(e){return this.db||(k("SimpleDb","Opening database:",this.name),this.db=await new Promise(((t,n)=>{const r=indexedDB.open(this.name,this.version);r.onsuccess=e=>{const n=e.target.result;t(n)},r.onblocked=()=>{n(new xe(e,"Cannot upgrade IndexedDB schema while another tab is open. Close all tabs that access Firestore and reload this page to proceed."))},r.onerror=t=>{const r=t.target.error;"VersionError"===r.name?n(new j(O.FAILED_PRECONDITION,"A newer version of the Firestore SDK was previously used and so the persisted data is not compatible with the version of the SDK you are now using. The SDK will operate with persistence disabled. If you need persistence, please re-upgrade to a newer version of the SDK or else clear the persisted IndexedDB data for your app to start fresh.")):"InvalidStateError"===r.name?n(new j(O.FAILED_PRECONDITION,"Unable to open an IndexedDB connection. This could be due to running in a private browsing session on a browser whose private browsing sessions do not support IndexedDB: "+r)):n(new xe(e,r))},r.onupgradeneeded=e=>{k("SimpleDb",'Database "'+this.name+'" requires upgrade from version:',e.oldVersion);const t=e.target.result;this.p.O(t,r.transaction,e.oldVersion,this.version).next((()=>{k("SimpleDb","Database upgrade to version "+this.version+" complete")}))}}))),this.N&&(this.db.onversionchange=e=>this.N(e)),this.db}L(e){this.N=e,this.db&&(this.db.onversionchange=t=>e(t))}async runTransaction(e,t,n,r){const i="readonly"===t;let o=0;for(;;){++o;try{this.db=await this.M(e);const t=Ce.open(this.db,e,i?"readonly":"readwrite",n),o=r(t).next((e=>(t.g(),e))).catch((e=>(t.abort(e),ve.reject(e)))).toPromise();return o.catch((()=>{})),await t.m,o}catch(e){const t=e,n="FirebaseError"!==t.name&&o<3;if(k("SimpleDb","Transaction failed with error:",t.message,"Retrying:",n),this.close(),!n)return Promise.reject(t)}}}close(){this.db&&this.db.close(),this.db=void 0}}function be(e){const t=e.match(/Android ([\d.]+)/i),n=t?t[1].split(".").slice(0,2).join("."):"-1";return Number(n)}class we{constructor(e){this.B=e,this.k=!1,this.q=null}get isDone(){return this.k}get K(){return this.q}set cursor(e){this.B=e}done(){this.k=!0}$(e){this.q=e}delete(){return _e(this.B.delete())}}class xe extends j{constructor(e,t){super(O.UNAVAILABLE,"IndexedDB transaction '".concat(e,"' failed: ").concat(t)),this.name="IndexedDbTransactionError"}}function Ae(e){return"IndexedDbTransactionError"===e.name}class Ee{constructor(e){this.store=e}put(e,t){let n;return void 0!==t?(k("SimpleDb","PUT",this.store.name,e,t),n=this.store.put(t,e)):(k("SimpleDb","PUT",this.store.name,"<auto-key>",e),n=this.store.put(e)),_e(n)}add(e){return k("SimpleDb","ADD",this.store.name,e,e),_e(this.store.add(e))}get(e){return _e(this.store.get(e)).next((t=>(void 0===t&&(t=null),k("SimpleDb","GET",this.store.name,e,t),t)))}delete(e){return k("SimpleDb","DELETE",this.store.name,e),_e(this.store.delete(e))}count(){return k("SimpleDb","COUNT",this.store.name),_e(this.store.count())}U(e,t){const n=this.options(e,t),r=n.index?this.store.index(n.index):this.store;if("function"==typeof r.getAll){const e=r.getAll(n.range);return new ve(((t,n)=>{e.onerror=e=>{n(e.target.error)},e.onsuccess=e=>{t(e.target.result)}}))}{const e=this.cursor(n),t=[];return this.W(e,((e,n)=>{t.push(n)})).next((()=>t))}}G(e,t){const n=this.store.getAll(e,null===t?void 0:t);return new ve(((e,t)=>{n.onerror=e=>{t(e.target.error)},n.onsuccess=t=>{e(t.target.result)}}))}j(e,t){k("SimpleDb","DELETE ALL",this.store.name);const n=this.options(e,t);n.H=!1;const r=this.cursor(n);return this.W(r,((e,t,n)=>n.delete()))}J(e,t){let n;t?n=e:(n={},t=e);const r=this.cursor(n);return this.W(r,t)}Y(e){const t=this.cursor({});return new ve(((n,r)=>{t.onerror=e=>{const t=Se(e.target.error);r(t)},t.onsuccess=t=>{const r=t.target.result;r?e(r.primaryKey,r.value).next((e=>{e?r.continue():n()})):n()}}))}W(e,t){const n=[];return new ve(((r,i)=>{e.onerror=e=>{i(e.target.error)},e.onsuccess=e=>{const i=e.target.result;if(!i)return void r();const o=new we(i),a=t(i.primaryKey,i.value,o);if(a instanceof ve){const e=a.catch((e=>(o.done(),ve.reject(e))));n.push(e)}o.isDone?r():null===o.K?i.continue():i.continue(o.K)}})).next((()=>ve.waitFor(n)))}options(e,t){let n;return void 0!==e&&("string"==typeof e?n=e:t=e),{index:n,range:t}}cursor(e){let t="next";if(e.reverse&&(t="prev"),e.index){const n=this.store.index(e.index);return e.H?n.openKeyCursor(e.range,t):n.openCursor(e.range,t)}return this.store.openCursor(e.range,t)}}function _e(e){return new ve(((t,n)=>{e.onsuccess=e=>{const n=e.target.result;t(n)},e.onerror=e=>{const t=Se(e.target.error);n(t)}}))}let Te=!1;function Se(e){const t=ye.S((0,l.ZQ)());if(t>=12.2&&t<13){const t="An internal error was encountered in the Indexed Database server";if(e.message.indexOf(t)>=0){const e=new j("internal","IOS_INDEXEDDB_BUG1: IndexedDb has thrown '".concat(t,"'. This is likely due to an unavoidable bug in iOS. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround."));return Te||(Te=!0,setTimeout((()=>{throw e}),0)),e}}return e}class ke{constructor(e,t){this.asyncQueue=e,this.Z=t,this.task=null}start(){this.X(15e3)}stop(){this.task&&(this.task.cancel(),this.task=null)}get started(){return null!==this.task}X(e){k("IndexBackfiller","Scheduled in ".concat(e,"ms")),this.task=this.asyncQueue.enqueueAfterDelay("index_backfill",e,(async()=>{this.task=null;try{k("IndexBackfiller","Documents written: ".concat(await this.Z.ee()))}catch(e){Ae(e)?k("IndexBackfiller","Ignoring IndexedDB error during index backfill: ",e):await ge(e)}await this.X(6e4)}))}}class Pe{constructor(e,t){this.localStore=e,this.persistence=t}async ee(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50;return this.persistence.runTransaction("Backfill Indexes","readwrite-primary",(t=>this.te(t,e)))}te(e,t){const n=new Set;let r=t,i=!0;return ve.doWhile((()=>!0===i&&r>0),(()=>this.localStore.indexManager.getNextCollectionGroupToUpdate(e).next((t=>{if(null!==t&&!n.has(t))return k("IndexBackfiller","Processing collection: ".concat(t)),this.ne(e,t,r).next((e=>{r-=e,n.add(t)}));i=!1})))).next((()=>t-r))}ne(e,t,n){return this.localStore.indexManager.getMinOffsetFromCollectionGroup(e,t).next((r=>this.localStore.localDocuments.getNextDocuments(e,t,r,n).next((n=>{const i=n.changes;return this.localStore.indexManager.updateIndexEntries(e,i).next((()=>this.re(r,n))).next((n=>(k("IndexBackfiller","Updating offset: ".concat(n)),this.localStore.indexManager.updateCollectionGroup(e,t,n)))).next((()=>i.size))}))))}re(e,t){let n=e;return t.changes.forEach(((e,t)=>{const r=de(t);pe(r,n)>0&&(n=r)})),new he(n.readTime,n.documentKey,Math.max(t.batchId,e.largestBatchId))}}class De{constructor(e,t){this.previousValue=e,t&&(t.sequenceNumberHandler=e=>this.ie(e),this.se=e=>t.writeSequenceNumber(e))}ie(e){return this.previousValue=Math.max(e,this.previousValue),this.previousValue}next(){const e=++this.previousValue;return this.se&&this.se(e),e}}function Ne(e){return null==e}function Fe(e){return 0===e&&1/e==-1/0}function Ie(e){return"number"==typeof e&&Number.isInteger(e)&&!Fe(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}function Re(e){let t="";for(let n=0;n<e.length;n++)t.length>0&&(t=Oe(t)),t=Me(e.get(n),t);return Oe(t)}function Me(e,t){let n=t;const r=e.length;for(let i=0;i<r;i++){const t=e.charAt(i);switch(t){case"\0":n+="\x01\x10";break;case"\x01":n+="\x01\x11";break;default:n+=t}}return n}function Oe(e){return e+"\x01\x01"}function je(e){const t=e.length;if(I(t>=2),2===t)return I("\x01"===e.charAt(0)&&"\x01"===e.charAt(1)),te.emptyPath();const n=t-2,r=[];let i="";for(let o=0;o<t;){const t=e.indexOf("\x01",o);switch((t<0||t>n)&&F(),e.charAt(t+1)){case"\x01":const n=e.substring(o,t);let a;0===i.length?a=n:(i+=n,a=i,i=""),r.push(a);break;case"\x10":i+=e.substring(o,t),i+="\0";break;case"\x11":i+=e.substring(o,t+1);break;default:F()}o=t+2}return new te(r)}De.oe=-1;const Le=["userId","batchId"];function Be(e,t){return[e,Re(t)]}function Ue(e,t,n){return[e,Re(t),n]}const Ve={},He=["prefixPath","collectionGroup","readTime","documentId"],ze=["prefixPath","collectionGroup","documentId"],Ze=["collectionGroup","readTime","prefixPath","documentId"],We=["canonicalId","targetId"],qe=["targetId","path"],Ge=["path","targetId"],Ye=["collectionId","parent"],Ke=["indexId","uid"],Qe=["uid","sequenceNumber"],Xe=["indexId","uid","arrayValue","directionalValue","orderedDocumentKey","documentKey"],Je=["indexId","uid","orderedDocumentKey"],$e=["userId","collectionPath","documentId"],et=["userId","collectionPath","largestBatchId"],tt=["userId","collectionGroup","largestBatchId"],nt=["mutationQueues","mutations","documentMutations","remoteDocuments","targets","owner","targetGlobal","targetDocuments","clientMetadata","remoteDocumentGlobal","collectionParents","bundles","namedQueries"],rt=[...nt,"documentOverlays"],it=["mutationQueues","mutations","documentMutations","remoteDocumentsV14","targets","owner","targetGlobal","targetDocuments","clientMetadata","remoteDocumentGlobal","collectionParents","bundles","namedQueries","documentOverlays"],ot=it,at=[...ot,"indexConfiguration","indexState","indexEntries"],st=at;class lt extends me{constructor(e,t){super(),this._e=e,this.currentSequenceNumber=t}}function ct(e,t){const n=M(e);return ye.F(n._e,t)}function ut(e){let t=0;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function dt(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function ht(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}class pt{constructor(e,t){this.comparator=e,this.root=t||mt.EMPTY}insert(e,t){return new pt(this.comparator,this.root.insert(e,t,this.comparator).copy(null,null,mt.BLACK,null,null))}remove(e){return new pt(this.comparator,this.root.remove(e,this.comparator).copy(null,null,mt.BLACK,null,null))}get(e){let t=this.root;for(;!t.isEmpty();){const n=this.comparator(e,t.key);if(0===n)return t.value;n<0?t=t.left:n>0&&(t=t.right)}return null}indexOf(e){let t=0,n=this.root;for(;!n.isEmpty();){const r=this.comparator(e,n.key);if(0===r)return t+n.left.size;r<0?n=n.left:(t+=n.left.size+1,n=n.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(e){return this.root.inorderTraversal(e)}forEach(e){this.inorderTraversal(((t,n)=>(e(t,n),!1)))}toString(){const e=[];return this.inorderTraversal(((t,n)=>(e.push("".concat(t,":").concat(n)),!1))),"{".concat(e.join(", "),"}")}reverseTraversal(e){return this.root.reverseTraversal(e)}getIterator(){return new ft(this.root,null,this.comparator,!1)}getIteratorFrom(e){return new ft(this.root,e,this.comparator,!1)}getReverseIterator(){return new ft(this.root,null,this.comparator,!0)}getReverseIteratorFrom(e){return new ft(this.root,e,this.comparator,!0)}}class ft{constructor(e,t,n,r){this.isReverse=r,this.nodeStack=[];let i=1;for(;!e.isEmpty();)if(i=t?n(e.key,t):1,t&&r&&(i*=-1),i<0)e=this.isReverse?e.left:e.right;else{if(0===i){this.nodeStack.push(e);break}this.nodeStack.push(e),e=this.isReverse?e.right:e.left}}getNext(){let e=this.nodeStack.pop();const t={key:e.key,value:e.value};if(this.isReverse)for(e=e.left;!e.isEmpty();)this.nodeStack.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack.push(e),e=e.left;return t}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const e=this.nodeStack[this.nodeStack.length-1];return{key:e.key,value:e.value}}}class mt{constructor(e,t,n,r,i){this.key=e,this.value=t,this.color=null!=n?n:mt.RED,this.left=null!=r?r:mt.EMPTY,this.right=null!=i?i:mt.EMPTY,this.size=this.left.size+1+this.right.size}copy(e,t,n,r,i){return new mt(null!=e?e:this.key,null!=t?t:this.value,null!=n?n:this.color,null!=r?r:this.left,null!=i?i:this.right)}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,t,n){let r=this;const i=n(e,r.key);return r=i<0?r.copy(null,null,null,r.left.insert(e,t,n),null):0===i?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.insert(e,t,n)),r.fixUp()}removeMin(){if(this.left.isEmpty())return mt.EMPTY;let e=this;return e.left.isRed()||e.left.left.isRed()||(e=e.moveRedLeft()),e=e.copy(null,null,null,e.left.removeMin(),null),e.fixUp()}remove(e,t){let n,r=this;if(t(e,r.key)<0)r.left.isEmpty()||r.left.isRed()||r.left.left.isRed()||(r=r.moveRedLeft()),r=r.copy(null,null,null,r.left.remove(e,t),null);else{if(r.left.isRed()&&(r=r.rotateRight()),r.right.isEmpty()||r.right.isRed()||r.right.left.isRed()||(r=r.moveRedRight()),0===t(e,r.key)){if(r.right.isEmpty())return mt.EMPTY;n=r.right.min(),r=r.copy(n.key,n.value,null,null,r.right.removeMin())}r=r.copy(null,null,null,null,r.right.remove(e,t))}return r.fixUp()}isRed(){return this.color}fixUp(){let e=this;return e.right.isRed()&&!e.left.isRed()&&(e=e.rotateLeft()),e.left.isRed()&&e.left.left.isRed()&&(e=e.rotateRight()),e.left.isRed()&&e.right.isRed()&&(e=e.colorFlip()),e}moveRedLeft(){let e=this.colorFlip();return e.right.left.isRed()&&(e=e.copy(null,null,null,null,e.right.rotateRight()),e=e.rotateLeft(),e=e.colorFlip()),e}moveRedRight(){let e=this.colorFlip();return e.left.left.isRed()&&(e=e.rotateRight(),e=e.colorFlip()),e}rotateLeft(){const e=this.copy(null,null,mt.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight(){const e=this.copy(null,null,mt.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip(){const e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)}checkMaxDepth(){const e=this.check();return Math.pow(2,e)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw F();if(this.right.isRed())throw F();const e=this.left.check();if(e!==this.right.check())throw F();return e+(this.isRed()?0:1)}}mt.EMPTY=null,mt.RED=!0,mt.BLACK=!1,mt.EMPTY=new class{constructor(){this.size=0}get key(){throw F()}get value(){throw F()}get color(){throw F()}get left(){throw F()}get right(){throw F()}copy(e,t,n,r,i){return this}insert(e,t,n){return new mt(e,t)}remove(e,t){return this}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class gt{constructor(e){this.comparator=e,this.data=new pt(this.comparator)}has(e){return null!==this.data.get(e)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(e){return this.data.indexOf(e)}forEach(e){this.data.inorderTraversal(((t,n)=>(e(t),!1)))}forEachInRange(e,t){const n=this.data.getIteratorFrom(e[0]);for(;n.hasNext();){const r=n.getNext();if(this.comparator(r.key,e[1])>=0)return;t(r.key)}}forEachWhile(e,t){let n;for(n=void 0!==t?this.data.getIteratorFrom(t):this.data.getIterator();n.hasNext();)if(!e(n.getNext().key))return}firstAfterOrEqual(e){const t=this.data.getIteratorFrom(e);return t.hasNext()?t.getNext().key:null}getIterator(){return new vt(this.data.getIterator())}getIteratorFrom(e){return new vt(this.data.getIteratorFrom(e))}add(e){return this.copy(this.data.remove(e).insert(e,!0))}delete(e){return this.has(e)?this.copy(this.data.remove(e)):this}isEmpty(){return this.data.isEmpty()}unionWith(e){let t=this;return t.size<e.size&&(t=e,e=this),e.forEach((e=>{t=t.add(e)})),t}isEqual(e){if(!(e instanceof gt))return!1;if(this.size!==e.size)return!1;const t=this.data.getIterator(),n=e.data.getIterator();for(;t.hasNext();){const e=t.getNext().key,r=n.getNext().key;if(0!==this.comparator(e,r))return!1}return!0}toArray(){const e=[];return this.forEach((t=>{e.push(t)})),e}toString(){const e=[];return this.forEach((t=>e.push(t))),"SortedSet("+e.toString()+")"}copy(e){const t=new gt(this.comparator);return t.data=e,t}}class vt{constructor(e){this.iter=e}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}function Ct(e){return e.hasNext()?e.getNext():void 0}class yt{constructor(e){this.fields=e,e.sort(re.comparator)}static empty(){return new yt([])}unionWith(e){let t=new gt(re.comparator);for(const n of this.fields)t=t.add(n);for(const n of e)t=t.add(n);return new yt(t.toArray())}covers(e){for(const t of this.fields)if(t.isPrefixOf(e))return!0;return!1}isEqual(e){return Q(this.fields,e.fields,((e,t)=>e.isEqual(t)))}}class bt extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}function wt(){return"undefined"!=typeof atob}class xt{constructor(e){this.binaryString=e}static fromBase64String(e){const t=function(e){try{return atob(e)}catch(e){throw"undefined"!=typeof DOMException&&e instanceof DOMException?new bt("Invalid base64 string: "+e):e}}(e);return new xt(t)}static fromUint8Array(e){const t=function(e){let t="";for(let n=0;n<e.length;++n)t+=String.fromCharCode(e[n]);return t}(e);return new xt(t)}[Symbol.iterator](){let e=0;return{next:()=>e<this.binaryString.length?{value:this.binaryString.charCodeAt(e++),done:!1}:{value:void 0,done:!0}}}toBase64(){return function(e){return btoa(e)}(this.binaryString)}toUint8Array(){return function(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(e){return K(this.binaryString,e.binaryString)}isEqual(e){return this.binaryString===e.binaryString}}xt.EMPTY_BYTE_STRING=new xt("");const At=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function Et(e){if(I(!!e),"string"==typeof e){let t=0;const n=At.exec(e);if(I(!!n),n[1]){let e=n[1];e=(e+"000000000").substr(0,9),t=Number(e)}const r=new Date(e);return{seconds:Math.floor(r.getTime()/1e3),nanos:t}}return{seconds:_t(e.seconds),nanos:_t(e.nanos)}}function _t(e){return"number"==typeof e?e:"string"==typeof e?Number(e):0}function Tt(e){return"string"==typeof e?xt.fromBase64String(e):xt.fromUint8Array(e)}function St(e){var t,n;return"server_timestamp"===(null===(n=((null===(t=null==e?void 0:e.mapValue)||void 0===t?void 0:t.fields)||{}).__type__)||void 0===n?void 0:n.stringValue)}function kt(e){const t=e.mapValue.fields.__previous_value__;return St(t)?kt(t):t}function Pt(e){const t=Et(e.mapValue.fields.__local_write_time__.timestampValue);return new J(t.seconds,t.nanos)}class Dt{constructor(e,t,n,r,i,o,a,s,l){this.databaseId=e,this.appId=t,this.persistenceKey=n,this.host=r,this.ssl=i,this.forceLongPolling=o,this.autoDetectLongPolling=a,this.longPollingOptions=s,this.useFetchStreams=l}}class Nt{constructor(e,t){this.projectId=e,this.database=t||"(default)"}static empty(){return new Nt("","")}get isDefaultDatabase(){return"(default)"===this.database}isEqual(e){return e instanceof Nt&&e.projectId===this.projectId&&e.database===this.database}}const Ft={mapValue:{fields:{__type__:{stringValue:"__max__"}}}},It={nullValue:"NULL_VALUE"};function Rt(e){return"nullValue"in e?0:"booleanValue"in e?1:"integerValue"in e||"doubleValue"in e?2:"timestampValue"in e?3:"stringValue"in e?5:"bytesValue"in e?6:"referenceValue"in e?7:"geoPointValue"in e?8:"arrayValue"in e?9:"mapValue"in e?St(e)?4:Yt(e)?9007199254740991:10:F()}function Mt(e,t){if(e===t)return!0;const n=Rt(e);if(n!==Rt(t))return!1;switch(n){case 0:case 9007199254740991:return!0;case 1:return e.booleanValue===t.booleanValue;case 4:return Pt(e).isEqual(Pt(t));case 3:return function(e,t){if("string"==typeof e.timestampValue&&"string"==typeof t.timestampValue&&e.timestampValue.length===t.timestampValue.length)return e.timestampValue===t.timestampValue;const n=Et(e.timestampValue),r=Et(t.timestampValue);return n.seconds===r.seconds&&n.nanos===r.nanos}(e,t);case 5:return e.stringValue===t.stringValue;case 6:return function(e,t){return Tt(e.bytesValue).isEqual(Tt(t.bytesValue))}(e,t);case 7:return e.referenceValue===t.referenceValue;case 8:return function(e,t){return _t(e.geoPointValue.latitude)===_t(t.geoPointValue.latitude)&&_t(e.geoPointValue.longitude)===_t(t.geoPointValue.longitude)}(e,t);case 2:return function(e,t){if("integerValue"in e&&"integerValue"in t)return _t(e.integerValue)===_t(t.integerValue);if("doubleValue"in e&&"doubleValue"in t){const n=_t(e.doubleValue),r=_t(t.doubleValue);return n===r?Fe(n)===Fe(r):isNaN(n)&&isNaN(r)}return!1}(e,t);case 9:return Q(e.arrayValue.values||[],t.arrayValue.values||[],Mt);case 10:return function(e,t){const n=e.mapValue.fields||{},r=t.mapValue.fields||{};if(ut(n)!==ut(r))return!1;for(const i in n)if(n.hasOwnProperty(i)&&(void 0===r[i]||!Mt(n[i],r[i])))return!1;return!0}(e,t);default:return F()}}function Ot(e,t){return void 0!==(e.values||[]).find((e=>Mt(e,t)))}function jt(e,t){if(e===t)return 0;const n=Rt(e),r=Rt(t);if(n!==r)return K(n,r);switch(n){case 0:case 9007199254740991:return 0;case 1:return K(e.booleanValue,t.booleanValue);case 2:return function(e,t){const n=_t(e.integerValue||e.doubleValue),r=_t(t.integerValue||t.doubleValue);return n<r?-1:n>r?1:n===r?0:isNaN(n)?isNaN(r)?0:-1:1}(e,t);case 3:return Lt(e.timestampValue,t.timestampValue);case 4:return Lt(Pt(e),Pt(t));case 5:return K(e.stringValue,t.stringValue);case 6:return function(e,t){const n=Tt(e),r=Tt(t);return n.compareTo(r)}(e.bytesValue,t.bytesValue);case 7:return function(e,t){const n=e.split("/"),r=t.split("/");for(let i=0;i<n.length&&i<r.length;i++){const e=K(n[i],r[i]);if(0!==e)return e}return K(n.length,r.length)}(e.referenceValue,t.referenceValue);case 8:return function(e,t){const n=K(_t(e.latitude),_t(t.latitude));return 0!==n?n:K(_t(e.longitude),_t(t.longitude))}(e.geoPointValue,t.geoPointValue);case 9:return function(e,t){const n=e.values||[],r=t.values||[];for(let i=0;i<n.length&&i<r.length;++i){const e=jt(n[i],r[i]);if(e)return e}return K(n.length,r.length)}(e.arrayValue,t.arrayValue);case 10:return function(e,t){if(e===Ft.mapValue&&t===Ft.mapValue)return 0;if(e===Ft.mapValue)return 1;if(t===Ft.mapValue)return-1;const n=e.fields||{},r=Object.keys(n),i=t.fields||{},o=Object.keys(i);r.sort(),o.sort();for(let a=0;a<r.length&&a<o.length;++a){const e=K(r[a],o[a]);if(0!==e)return e;const t=jt(n[r[a]],i[o[a]]);if(0!==t)return t}return K(r.length,o.length)}(e.mapValue,t.mapValue);default:throw F()}}function Lt(e,t){if("string"==typeof e&&"string"==typeof t&&e.length===t.length)return K(e,t);const n=Et(e),r=Et(t),i=K(n.seconds,r.seconds);return 0!==i?i:K(n.nanos,r.nanos)}function Bt(e){return Ut(e)}function Ut(e){return"nullValue"in e?"null":"booleanValue"in e?""+e.booleanValue:"integerValue"in e?""+e.integerValue:"doubleValue"in e?""+e.doubleValue:"timestampValue"in e?function(e){const t=Et(e);return"time(".concat(t.seconds,",").concat(t.nanos,")")}(e.timestampValue):"stringValue"in e?e.stringValue:"bytesValue"in e?function(e){return Tt(e).toBase64()}(e.bytesValue):"referenceValue"in e?function(e){return ie.fromName(e).toString()}(e.referenceValue):"geoPointValue"in e?function(e){return"geo(".concat(e.latitude,",").concat(e.longitude,")")}(e.geoPointValue):"arrayValue"in e?function(e){let t="[",n=!0;for(const r of e.values||[])n?n=!1:t+=",",t+=Ut(r);return t+"]"}(e.arrayValue):"mapValue"in e?function(e){const t=Object.keys(e.fields||{}).sort();let n="{",r=!0;for(const i of t)r?r=!1:n+=",",n+="".concat(i,":").concat(Ut(e.fields[i]));return n+"}"}(e.mapValue):F()}function Vt(e,t){return{referenceValue:"projects/".concat(e.projectId,"/databases/").concat(e.database,"/documents/").concat(t.path.canonicalString())}}function Ht(e){return!!e&&"integerValue"in e}function zt(e){return!!e&&"arrayValue"in e}function Zt(e){return!!e&&"nullValue"in e}function Wt(e){return!!e&&"doubleValue"in e&&isNaN(Number(e.doubleValue))}function qt(e){return!!e&&"mapValue"in e}function Gt(e){if(e.geoPointValue)return{geoPointValue:Object.assign({},e.geoPointValue)};if(e.timestampValue&&"object"==typeof e.timestampValue)return{timestampValue:Object.assign({},e.timestampValue)};if(e.mapValue){const t={mapValue:{fields:{}}};return dt(e.mapValue.fields,((e,n)=>t.mapValue.fields[e]=Gt(n))),t}if(e.arrayValue){const t={arrayValue:{values:[]}};for(let n=0;n<(e.arrayValue.values||[]).length;++n)t.arrayValue.values[n]=Gt(e.arrayValue.values[n]);return t}return Object.assign({},e)}function Yt(e){return"__max__"===(((e.mapValue||{}).fields||{}).__type__||{}).stringValue}function Kt(e){return"nullValue"in e?It:"booleanValue"in e?{booleanValue:!1}:"integerValue"in e||"doubleValue"in e?{doubleValue:NaN}:"timestampValue"in e?{timestampValue:{seconds:Number.MIN_SAFE_INTEGER}}:"stringValue"in e?{stringValue:""}:"bytesValue"in e?{bytesValue:""}:"referenceValue"in e?Vt(Nt.empty(),ie.empty()):"geoPointValue"in e?{geoPointValue:{latitude:-90,longitude:-180}}:"arrayValue"in e?{arrayValue:{}}:"mapValue"in e?{mapValue:{}}:F()}function Qt(e){return"nullValue"in e?{booleanValue:!1}:"booleanValue"in e?{doubleValue:NaN}:"integerValue"in e||"doubleValue"in e?{timestampValue:{seconds:Number.MIN_SAFE_INTEGER}}:"timestampValue"in e?{stringValue:""}:"stringValue"in e?{bytesValue:""}:"bytesValue"in e?Vt(Nt.empty(),ie.empty()):"referenceValue"in e?{geoPointValue:{latitude:-90,longitude:-180}}:"geoPointValue"in e?{arrayValue:{}}:"arrayValue"in e?{mapValue:{}}:"mapValue"in e?Ft:F()}function Xt(e,t){const n=jt(e.value,t.value);return 0!==n?n:e.inclusive&&!t.inclusive?-1:!e.inclusive&&t.inclusive?1:0}function Jt(e,t){const n=jt(e.value,t.value);return 0!==n?n:e.inclusive&&!t.inclusive?1:!e.inclusive&&t.inclusive?-1:0}class $t{constructor(e){this.value=e}static empty(){return new $t({mapValue:{}})}field(e){if(e.isEmpty())return this.value;{let t=this.value;for(let n=0;n<e.length-1;++n)if(t=(t.mapValue.fields||{})[e.get(n)],!qt(t))return null;return t=(t.mapValue.fields||{})[e.lastSegment()],t||null}}set(e,t){this.getFieldsMap(e.popLast())[e.lastSegment()]=Gt(t)}setAll(e){let t=re.emptyPath(),n={},r=[];e.forEach(((e,i)=>{if(!t.isImmediateParentOf(i)){const e=this.getFieldsMap(t);this.applyChanges(e,n,r),n={},r=[],t=i.popLast()}e?n[i.lastSegment()]=Gt(e):r.push(i.lastSegment())}));const i=this.getFieldsMap(t);this.applyChanges(i,n,r)}delete(e){const t=this.field(e.popLast());qt(t)&&t.mapValue.fields&&delete t.mapValue.fields[e.lastSegment()]}isEqual(e){return Mt(this.value,e.value)}getFieldsMap(e){let t=this.value;t.mapValue.fields||(t.mapValue={fields:{}});for(let n=0;n<e.length;++n){let r=t.mapValue.fields[e.get(n)];qt(r)&&r.mapValue.fields||(r={mapValue:{fields:{}}},t.mapValue.fields[e.get(n)]=r),t=r}return t.mapValue.fields}applyChanges(e,t,n){dt(t,((t,n)=>e[t]=n));for(const r of n)delete e[r]}clone(){return new $t(Gt(this.value))}}function en(e){const t=[];return dt(e.fields,((e,n)=>{const r=new re([e]);if(qt(n)){const e=en(n.mapValue).fields;if(0===e.length)t.push(r);else for(const n of e)t.push(r.child(n))}else t.push(r)})),new yt(t)}class tn{constructor(e,t,n,r,i,o,a){this.key=e,this.documentType=t,this.version=n,this.readTime=r,this.createTime=i,this.data=o,this.documentState=a}static newInvalidDocument(e){return new tn(e,0,$.min(),$.min(),$.min(),$t.empty(),0)}static newFoundDocument(e,t,n,r){return new tn(e,1,t,$.min(),n,r,0)}static newNoDocument(e,t){return new tn(e,2,t,$.min(),$.min(),$t.empty(),0)}static newUnknownDocument(e,t){return new tn(e,3,t,$.min(),$.min(),$t.empty(),2)}convertToFoundDocument(e,t){return!this.createTime.isEqual($.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=e),this.version=e,this.documentType=1,this.data=t,this.documentState=0,this}convertToNoDocument(e){return this.version=e,this.documentType=2,this.data=$t.empty(),this.documentState=0,this}convertToUnknownDocument(e){return this.version=e,this.documentType=3,this.data=$t.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=$.min(),this}setReadTime(e){return this.readTime=e,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(e){return e instanceof tn&&this.key.isEqual(e.key)&&this.version.isEqual(e.version)&&this.documentType===e.documentType&&this.documentState===e.documentState&&this.data.isEqual(e.data)}mutableCopy(){return new tn(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return"Document(".concat(this.key,", ").concat(this.version,", ").concat(JSON.stringify(this.data.value),", {createTime: ").concat(this.createTime,"}), {documentType: ").concat(this.documentType,"}), {documentState: ").concat(this.documentState,"})")}}class nn{constructor(e,t){this.position=e,this.inclusive=t}}function rn(e,t,n){let r=0;for(let i=0;i<e.position.length;i++){const o=t[i],a=e.position[i];if(r=o.field.isKeyField()?ie.comparator(ie.fromName(a.referenceValue),n.key):jt(a,n.data.field(o.field)),"desc"===o.dir&&(r*=-1),0!==r)break}return r}function on(e,t){if(null===e)return null===t;if(null===t)return!1;if(e.inclusive!==t.inclusive||e.position.length!==t.position.length)return!1;for(let n=0;n<e.position.length;n++)if(!Mt(e.position[n],t.position[n]))return!1;return!0}class an{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc";this.field=e,this.dir=t}}function sn(e,t){return e.dir===t.dir&&e.field.isEqual(t.field)}class ln{}class cn extends ln{constructor(e,t,n){super(),this.field=e,this.op=t,this.value=n}static create(e,t,n){return e.isKeyField()?"in"===t||"not-in"===t?this.createKeyFieldInFilter(e,t,n):new yn(e,t,n):"array-contains"===t?new An(e,n):"in"===t?new En(e,n):"not-in"===t?new _n(e,n):"array-contains-any"===t?new Tn(e,n):new cn(e,t,n)}static createKeyFieldInFilter(e,t,n){return"in"===t?new bn(e,n):new wn(e,n)}matches(e){const t=e.data.field(this.field);return"!="===this.op?null!==t&&this.matchesComparison(jt(t,this.value)):null!==t&&Rt(this.value)===Rt(t)&&this.matchesComparison(jt(t,this.value))}matchesComparison(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return 0===e;case"!=":return 0!==e;case">":return e>0;case">=":return e>=0;default:return F()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class un extends ln{constructor(e,t){super(),this.filters=e,this.op=t,this.ae=null}static create(e,t){return new un(e,t)}matches(e){return dn(this)?void 0===this.filters.find((t=>!t.matches(e))):void 0!==this.filters.find((t=>t.matches(e)))}getFlattenedFilters(){return null!==this.ae||(this.ae=this.filters.reduce(((e,t)=>e.concat(t.getFlattenedFilters())),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function dn(e){return"and"===e.op}function hn(e){return"or"===e.op}function pn(e){return fn(e)&&dn(e)}function fn(e){for(const t of e.filters)if(t instanceof un)return!1;return!0}function mn(e){if(e instanceof cn)return e.field.canonicalString()+e.op.toString()+Bt(e.value);if(pn(e))return e.filters.map((e=>mn(e))).join(",");{const t=e.filters.map((e=>mn(e))).join(",");return"".concat(e.op,"(").concat(t,")")}}function gn(e,t){return e instanceof cn?function(e,t){return t instanceof cn&&e.op===t.op&&e.field.isEqual(t.field)&&Mt(e.value,t.value)}(e,t):e instanceof un?function(e,t){return t instanceof un&&e.op===t.op&&e.filters.length===t.filters.length&&e.filters.reduce(((e,n,r)=>e&&gn(n,t.filters[r])),!0)}(e,t):void F()}function vn(e,t){const n=e.filters.concat(t);return un.create(n,e.op)}function Cn(e){return e instanceof cn?function(e){return"".concat(e.field.canonicalString()," ").concat(e.op," ").concat(Bt(e.value))}(e):e instanceof un?function(e){return e.op.toString()+" {"+e.getFilters().map(Cn).join(" ,")+"}"}(e):"Filter"}class yn extends cn{constructor(e,t,n){super(e,t,n),this.key=ie.fromName(n.referenceValue)}matches(e){const t=ie.comparator(e.key,this.key);return this.matchesComparison(t)}}class bn extends cn{constructor(e,t){super(e,"in",t),this.keys=xn("in",t)}matches(e){return this.keys.some((t=>t.isEqual(e.key)))}}class wn extends cn{constructor(e,t){super(e,"not-in",t),this.keys=xn("not-in",t)}matches(e){return!this.keys.some((t=>t.isEqual(e.key)))}}function xn(e,t){var n;return((null===(n=t.arrayValue)||void 0===n?void 0:n.values)||[]).map((e=>ie.fromName(e.referenceValue)))}class An extends cn{constructor(e,t){super(e,"array-contains",t)}matches(e){const t=e.data.field(this.field);return zt(t)&&Ot(t.arrayValue,this.value)}}class En extends cn{constructor(e,t){super(e,"in",t)}matches(e){const t=e.data.field(this.field);return null!==t&&Ot(this.value.arrayValue,t)}}class _n extends cn{constructor(e,t){super(e,"not-in",t)}matches(e){if(Ot(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const t=e.data.field(this.field);return null!==t&&!Ot(this.value.arrayValue,t)}}class Tn extends cn{constructor(e,t){super(e,"array-contains-any",t)}matches(e){const t=e.data.field(this.field);return!(!zt(t)||!t.arrayValue.values)&&t.arrayValue.values.some((e=>Ot(this.value.arrayValue,e)))}}class Sn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;this.path=e,this.collectionGroup=t,this.orderBy=n,this.filters=r,this.limit=i,this.startAt=o,this.endAt=a,this.ue=null}}function kn(e){return new Sn(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,arguments.length>6&&void 0!==arguments[6]?arguments[6]:null)}function Pn(e){const t=M(e);if(null===t.ue){let e=t.path.canonicalString();null!==t.collectionGroup&&(e+="|cg:"+t.collectionGroup),e+="|f:",e+=t.filters.map((e=>mn(e))).join(","),e+="|ob:",e+=t.orderBy.map((e=>function(e){return e.field.canonicalString()+e.dir}(e))).join(","),Ne(t.limit)||(e+="|l:",e+=t.limit),t.startAt&&(e+="|lb:",e+=t.startAt.inclusive?"b:":"a:",e+=t.startAt.position.map((e=>Bt(e))).join(",")),t.endAt&&(e+="|ub:",e+=t.endAt.inclusive?"a:":"b:",e+=t.endAt.position.map((e=>Bt(e))).join(",")),t.ue=e}return t.ue}function Dn(e,t){if(e.limit!==t.limit)return!1;if(e.orderBy.length!==t.orderBy.length)return!1;for(let n=0;n<e.orderBy.length;n++)if(!sn(e.orderBy[n],t.orderBy[n]))return!1;if(e.filters.length!==t.filters.length)return!1;for(let n=0;n<e.filters.length;n++)if(!gn(e.filters[n],t.filters[n]))return!1;return e.collectionGroup===t.collectionGroup&&!!e.path.isEqual(t.path)&&!!on(e.startAt,t.startAt)&&on(e.endAt,t.endAt)}function Nn(e){return ie.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}function Fn(e,t){return e.filters.filter((e=>e instanceof cn&&e.field.isEqual(t)))}function In(e,t,n){let r=It,i=!0;for(const o of Fn(e,t)){let e=It,t=!0;switch(o.op){case"<":case"<=":e=Kt(o.value);break;case"==":case"in":case">=":e=o.value;break;case">":e=o.value,t=!1;break;case"!=":case"not-in":e=It}Xt({value:r,inclusive:i},{value:e,inclusive:t})<0&&(r=e,i=t)}if(null!==n)for(let o=0;o<e.orderBy.length;++o)if(e.orderBy[o].field.isEqual(t)){const e=n.position[o];Xt({value:r,inclusive:i},{value:e,inclusive:n.inclusive})<0&&(r=e,i=n.inclusive);break}return{value:r,inclusive:i}}function Rn(e,t,n){let r=Ft,i=!0;for(const o of Fn(e,t)){let e=Ft,t=!0;switch(o.op){case">=":case">":e=Qt(o.value),t=!1;break;case"==":case"in":case"<=":e=o.value;break;case"<":e=o.value,t=!1;break;case"!=":case"not-in":e=Ft}Jt({value:r,inclusive:i},{value:e,inclusive:t})>0&&(r=e,i=t)}if(null!==n)for(let o=0;o<e.orderBy.length;++o)if(e.orderBy[o].field.isEqual(t)){const e=n.position[o];Jt({value:r,inclusive:i},{value:e,inclusive:n.inclusive})>0&&(r=e,i=n.inclusive);break}return{value:r,inclusive:i}}class Mn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"F",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.path=e,this.collectionGroup=t,this.explicitOrderBy=n,this.filters=r,this.limit=i,this.limitType=o,this.startAt=a,this.endAt=s,this.ce=null,this.le=null,this.he=null,this.startAt,this.endAt}}function On(e,t,n,r,i,o,a,s){return new Mn(e,t,n,r,i,o,a,s)}function jn(e){return new Mn(e)}function Ln(e){return 0===e.filters.length&&null===e.limit&&null==e.startAt&&null==e.endAt&&(0===e.explicitOrderBy.length||1===e.explicitOrderBy.length&&e.explicitOrderBy[0].field.isKeyField())}function Bn(e){return null!==e.collectionGroup}function Un(e){const t=M(e);if(null===t.ce){t.ce=[];const e=new Set;for(const i of t.explicitOrderBy)t.ce.push(i),e.add(i.field.canonicalString());const n=t.explicitOrderBy.length>0?t.explicitOrderBy[t.explicitOrderBy.length-1].dir:"asc",r=function(e){let t=new gt(re.comparator);return e.filters.forEach((e=>{e.getFlattenedFilters().forEach((e=>{e.isInequality()&&(t=t.add(e.field))}))})),t}(t);r.forEach((r=>{e.has(r.canonicalString())||r.isKeyField()||t.ce.push(new an(r,n))})),e.has(re.keyField().canonicalString())||t.ce.push(new an(re.keyField(),n))}return t.ce}function Vn(e){const t=M(e);return t.le||(t.le=Hn(t,Un(e))),t.le}function Hn(e,t){if("F"===e.limitType)return kn(e.path,e.collectionGroup,t,e.filters,e.limit,e.startAt,e.endAt);{t=t.map((e=>{const t="desc"===e.dir?"asc":"desc";return new an(e.field,t)}));const n=e.endAt?new nn(e.endAt.position,e.endAt.inclusive):null,r=e.startAt?new nn(e.startAt.position,e.startAt.inclusive):null;return kn(e.path,e.collectionGroup,t,e.filters,e.limit,n,r)}}function zn(e,t){const n=e.filters.concat([t]);return new Mn(e.path,e.collectionGroup,e.explicitOrderBy.slice(),n,e.limit,e.limitType,e.startAt,e.endAt)}function Zn(e,t,n){return new Mn(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function Wn(e,t){return Dn(Vn(e),Vn(t))&&e.limitType===t.limitType}function qn(e){return"".concat(Pn(Vn(e)),"|lt:").concat(e.limitType)}function Gn(e){return"Query(target=".concat(function(e){let t=e.path.canonicalString();return null!==e.collectionGroup&&(t+=" collectionGroup="+e.collectionGroup),e.filters.length>0&&(t+=", filters: [".concat(e.filters.map((e=>Cn(e))).join(", "),"]")),Ne(e.limit)||(t+=", limit: "+e.limit),e.orderBy.length>0&&(t+=", orderBy: [".concat(e.orderBy.map((e=>function(e){return"".concat(e.field.canonicalString()," (").concat(e.dir,")")}(e))).join(", "),"]")),e.startAt&&(t+=", startAt: ",t+=e.startAt.inclusive?"b:":"a:",t+=e.startAt.position.map((e=>Bt(e))).join(",")),e.endAt&&(t+=", endAt: ",t+=e.endAt.inclusive?"a:":"b:",t+=e.endAt.position.map((e=>Bt(e))).join(",")),"Target(".concat(t,")")}(Vn(e)),"; limitType=").concat(e.limitType,")")}function Yn(e,t){return t.isFoundDocument()&&function(e,t){const n=t.key.path;return null!==e.collectionGroup?t.key.hasCollectionId(e.collectionGroup)&&e.path.isPrefixOf(n):ie.isDocumentKey(e.path)?e.path.isEqual(n):e.path.isImmediateParentOf(n)}(e,t)&&function(e,t){for(const n of Un(e))if(!n.field.isKeyField()&&null===t.data.field(n.field))return!1;return!0}(e,t)&&function(e,t){for(const n of e.filters)if(!n.matches(t))return!1;return!0}(e,t)&&function(e,t){return!(e.startAt&&!function(e,t,n){const r=rn(e,t,n);return e.inclusive?r<=0:r<0}(e.startAt,Un(e),t))&&!(e.endAt&&!function(e,t,n){const r=rn(e,t,n);return e.inclusive?r>=0:r>0}(e.endAt,Un(e),t))}(e,t)}function Kn(e){return e.collectionGroup||(e.path.length%2==1?e.path.lastSegment():e.path.get(e.path.length-2))}function Qn(e){return(t,n)=>{let r=!1;for(const i of Un(e)){const e=Xn(i,t,n);if(0!==e)return e;r=r||i.field.isKeyField()}return 0}}function Xn(e,t,n){const r=e.field.isKeyField()?ie.comparator(t.key,n.key):function(e,t,n){const r=t.data.field(e),i=n.data.field(e);return null!==r&&null!==i?jt(r,i):F()}(e.field,t,n);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return F()}}class Jn{constructor(e,t){this.mapKeyFn=e,this.equalsFn=t,this.inner={},this.innerSize=0}get(e){const t=this.mapKeyFn(e),n=this.inner[t];if(void 0!==n)for(const[r,i]of n)if(this.equalsFn(r,e))return i}has(e){return void 0!==this.get(e)}set(e,t){const n=this.mapKeyFn(e),r=this.inner[n];if(void 0===r)return this.inner[n]=[[e,t]],void this.innerSize++;for(let i=0;i<r.length;i++)if(this.equalsFn(r[i][0],e))return void(r[i]=[e,t]);r.push([e,t]),this.innerSize++}delete(e){const t=this.mapKeyFn(e),n=this.inner[t];if(void 0===n)return!1;for(let r=0;r<n.length;r++)if(this.equalsFn(n[r][0],e))return 1===n.length?delete this.inner[t]:n.splice(r,1),this.innerSize--,!0;return!1}forEach(e){dt(this.inner,((t,n)=>{for(const[r,i]of n)e(r,i)}))}isEmpty(){return ht(this.inner)}size(){return this.innerSize}}const $n=new pt(ie.comparator);function er(){return $n}const tr=new pt(ie.comparator);function nr(){let e=tr;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(const i of n)e=e.insert(i.key,i);return e}function rr(e){let t=tr;return e.forEach(((e,n)=>t=t.insert(e,n.overlayedDocument))),t}function ir(){return ar()}function or(){return ar()}function ar(){return new Jn((e=>e.toString()),((e,t)=>e.isEqual(t)))}const sr=new pt(ie.comparator),lr=new gt(ie.comparator);function cr(){let e=lr;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(const i of n)e=e.add(i);return e}const ur=new gt(K);function dr(){return ur}function hr(e,t){if(e.useProto3Json){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Fe(t)?"-0":t}}function pr(e){return{integerValue:""+e}}function fr(e,t){return Ie(t)?pr(t):hr(e,t)}class mr{constructor(){this._=void 0}}function gr(e,t,n){return e instanceof yr?function(e,t){const n={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:e.seconds,nanos:e.nanoseconds}}}};return t&&St(t)&&(t=kt(t)),t&&(n.fields.__previous_value__=t),{mapValue:n}}(n,t):e instanceof br?wr(e,t):e instanceof xr?Ar(e,t):function(e,t){const n=Cr(e,t),r=_r(n)+_r(e.Pe);return Ht(n)&&Ht(e.Pe)?pr(r):hr(e.serializer,r)}(e,t)}function vr(e,t,n){return e instanceof br?wr(e,t):e instanceof xr?Ar(e,t):n}function Cr(e,t){return e instanceof Er?function(e){return Ht(e)||function(e){return!!e&&"doubleValue"in e}(e)}(t)?t:{integerValue:0}:null}class yr extends mr{}class br extends mr{constructor(e){super(),this.elements=e}}function wr(e,t){const n=Tr(t);for(const r of e.elements)n.some((e=>Mt(e,r)))||n.push(r);return{arrayValue:{values:n}}}class xr extends mr{constructor(e){super(),this.elements=e}}function Ar(e,t){let n=Tr(t);for(const r of e.elements)n=n.filter((e=>!Mt(e,r)));return{arrayValue:{values:n}}}class Er extends mr{constructor(e,t){super(),this.serializer=e,this.Pe=t}}function _r(e){return _t(e.integerValue||e.doubleValue)}function Tr(e){return zt(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}class Sr{constructor(e,t){this.field=e,this.transform=t}}class kr{constructor(e,t){this.version=e,this.transformResults=t}}class Pr{constructor(e,t){this.updateTime=e,this.exists=t}static none(){return new Pr}static exists(e){return new Pr(void 0,e)}static updateTime(e){return new Pr(e)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)}}function Dr(e,t){return void 0!==e.updateTime?t.isFoundDocument()&&t.version.isEqual(e.updateTime):void 0===e.exists||e.exists===t.isFoundDocument()}class Nr{}function Fr(e,t){if(!e.hasLocalMutations||t&&0===t.fields.length)return null;if(null===t)return e.isNoDocument()?new Hr(e.key,Pr.none()):new jr(e.key,e.data,Pr.none());{const n=e.data,r=$t.empty();let i=new gt(re.comparator);for(let e of t.fields)if(!i.has(e)){let t=n.field(e);null===t&&e.length>1&&(e=e.popLast(),t=n.field(e)),null===t?r.delete(e):r.set(e,t),i=i.add(e)}return new Lr(e.key,r,new yt(i.toArray()),Pr.none())}}function Ir(e,t,n){e instanceof jr?function(e,t,n){const r=e.value.clone(),i=Ur(e.fieldTransforms,t,n.transformResults);r.setAll(i),t.convertToFoundDocument(n.version,r).setHasCommittedMutations()}(e,t,n):e instanceof Lr?function(e,t,n){if(!Dr(e.precondition,t))return void t.convertToUnknownDocument(n.version);const r=Ur(e.fieldTransforms,t,n.transformResults),i=t.data;i.setAll(Br(e)),i.setAll(r),t.convertToFoundDocument(n.version,i).setHasCommittedMutations()}(e,t,n):function(e,t,n){t.convertToNoDocument(n.version).setHasCommittedMutations()}(0,t,n)}function Rr(e,t,n,r){return e instanceof jr?function(e,t,n,r){if(!Dr(e.precondition,t))return n;const i=e.value.clone(),o=Vr(e.fieldTransforms,r,t);return i.setAll(o),t.convertToFoundDocument(t.version,i).setHasLocalMutations(),null}(e,t,n,r):e instanceof Lr?function(e,t,n,r){if(!Dr(e.precondition,t))return n;const i=Vr(e.fieldTransforms,r,t),o=t.data;return o.setAll(Br(e)),o.setAll(i),t.convertToFoundDocument(t.version,o).setHasLocalMutations(),null===n?null:n.unionWith(e.fieldMask.fields).unionWith(e.fieldTransforms.map((e=>e.field)))}(e,t,n,r):function(e,t,n){return Dr(e.precondition,t)?(t.convertToNoDocument(t.version).setHasLocalMutations(),null):n}(e,t,n)}function Mr(e,t){let n=null;for(const r of e.fieldTransforms){const e=t.data.field(r.field),i=Cr(r.transform,e||null);null!=i&&(null===n&&(n=$t.empty()),n.set(r.field,i))}return n||null}function Or(e,t){return e.type===t.type&&!!e.key.isEqual(t.key)&&!!e.precondition.isEqual(t.precondition)&&!!function(e,t){return void 0===e&&void 0===t||!(!e||!t)&&Q(e,t,((e,t)=>function(e,t){return e.field.isEqual(t.field)&&function(e,t){return e instanceof br&&t instanceof br||e instanceof xr&&t instanceof xr?Q(e.elements,t.elements,Mt):e instanceof Er&&t instanceof Er?Mt(e.Pe,t.Pe):e instanceof yr&&t instanceof yr}(e.transform,t.transform)}(e,t)))}(e.fieldTransforms,t.fieldTransforms)&&(0===e.type?e.value.isEqual(t.value):1!==e.type||e.data.isEqual(t.data)&&e.fieldMask.isEqual(t.fieldMask))}class jr extends Nr{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];super(),this.key=e,this.value=t,this.precondition=n,this.fieldTransforms=r,this.type=0}getFieldMask(){return null}}class Lr extends Nr{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];super(),this.key=e,this.data=t,this.fieldMask=n,this.precondition=r,this.fieldTransforms=i,this.type=1}getFieldMask(){return this.fieldMask}}function Br(e){const t=new Map;return e.fieldMask.fields.forEach((n=>{if(!n.isEmpty()){const r=e.data.field(n);t.set(n,r)}})),t}function Ur(e,t,n){const r=new Map;I(e.length===n.length);for(let i=0;i<n.length;i++){const o=e[i],a=o.transform,s=t.data.field(o.field);r.set(o.field,vr(a,s,n[i]))}return r}function Vr(e,t,n){const r=new Map;for(const i of e){const e=i.transform,o=n.data.field(i.field);r.set(i.field,gr(e,o,t))}return r}class Hr extends Nr{constructor(e,t){super(),this.key=e,this.precondition=t,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}class zr extends Nr{constructor(e,t){super(),this.key=e,this.precondition=t,this.type=3,this.fieldTransforms=[]}getFieldMask(){return null}}class Zr{constructor(e,t,n,r){this.batchId=e,this.localWriteTime=t,this.baseMutations=n,this.mutations=r}applyToRemoteDocument(e,t){const n=t.mutationResults;for(let r=0;r<this.mutations.length;r++){const t=this.mutations[r];t.key.isEqual(e.key)&&Ir(t,e,n[r])}}applyToLocalView(e,t){for(const n of this.baseMutations)n.key.isEqual(e.key)&&(t=Rr(n,e,t,this.localWriteTime));for(const n of this.mutations)n.key.isEqual(e.key)&&(t=Rr(n,e,t,this.localWriteTime));return t}applyToLocalDocumentSet(e,t){const n=or();return this.mutations.forEach((r=>{const i=e.get(r.key),o=i.overlayedDocument;let a=this.applyToLocalView(o,i.mutatedFields);a=t.has(r.key)?null:a;const s=Fr(o,a);null!==s&&n.set(r.key,s),o.isValidDocument()||o.convertToNoDocument($.min())})),n}keys(){return this.mutations.reduce(((e,t)=>e.add(t.key)),cr())}isEqual(e){return this.batchId===e.batchId&&Q(this.mutations,e.mutations,((e,t)=>Or(e,t)))&&Q(this.baseMutations,e.baseMutations,((e,t)=>Or(e,t)))}}class Wr{constructor(e,t,n,r){this.batch=e,this.commitVersion=t,this.mutationResults=n,this.docVersions=r}static from(e,t,n){I(e.mutations.length===n.length);let r=sr;const i=e.mutations;for(let o=0;o<i.length;o++)r=r.insert(i[o].key,n[o].version);return new Wr(e,t,n,r)}}class qr{constructor(e,t){this.largestBatchId=e,this.mutation=t}getKey(){return this.mutation.key}isEqual(e){return null!==e&&this.mutation===e.mutation}toString(){return"Overlay{\n      largestBatchId: ".concat(this.largestBatchId,",\n      mutation: ").concat(this.mutation.toString(),"\n    }")}}class Gr{constructor(e,t){this.count=e,this.unchangedNames=t}}var Yr,Kr;function Qr(e){switch(e){default:return F();case O.CANCELLED:case O.UNKNOWN:case O.DEADLINE_EXCEEDED:case O.RESOURCE_EXHAUSTED:case O.INTERNAL:case O.UNAVAILABLE:case O.UNAUTHENTICATED:return!1;case O.INVALID_ARGUMENT:case O.NOT_FOUND:case O.ALREADY_EXISTS:case O.PERMISSION_DENIED:case O.FAILED_PRECONDITION:case O.ABORTED:case O.OUT_OF_RANGE:case O.UNIMPLEMENTED:case O.DATA_LOSS:return!0}}function Xr(e){if(void 0===e)return P("GRPC error has no .code"),O.UNKNOWN;switch(e){case Yr.OK:return O.OK;case Yr.CANCELLED:return O.CANCELLED;case Yr.UNKNOWN:return O.UNKNOWN;case Yr.DEADLINE_EXCEEDED:return O.DEADLINE_EXCEEDED;case Yr.RESOURCE_EXHAUSTED:return O.RESOURCE_EXHAUSTED;case Yr.INTERNAL:return O.INTERNAL;case Yr.UNAVAILABLE:return O.UNAVAILABLE;case Yr.UNAUTHENTICATED:return O.UNAUTHENTICATED;case Yr.INVALID_ARGUMENT:return O.INVALID_ARGUMENT;case Yr.NOT_FOUND:return O.NOT_FOUND;case Yr.ALREADY_EXISTS:return O.ALREADY_EXISTS;case Yr.PERMISSION_DENIED:return O.PERMISSION_DENIED;case Yr.FAILED_PRECONDITION:return O.FAILED_PRECONDITION;case Yr.ABORTED:return O.ABORTED;case Yr.OUT_OF_RANGE:return O.OUT_OF_RANGE;case Yr.UNIMPLEMENTED:return O.UNIMPLEMENTED;case Yr.DATA_LOSS:return O.DATA_LOSS;default:return F()}}(Kr=Yr||(Yr={}))[Kr.OK=0]="OK",Kr[Kr.CANCELLED=1]="CANCELLED",Kr[Kr.UNKNOWN=2]="UNKNOWN",Kr[Kr.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Kr[Kr.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Kr[Kr.NOT_FOUND=5]="NOT_FOUND",Kr[Kr.ALREADY_EXISTS=6]="ALREADY_EXISTS",Kr[Kr.PERMISSION_DENIED=7]="PERMISSION_DENIED",Kr[Kr.UNAUTHENTICATED=16]="UNAUTHENTICATED",Kr[Kr.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Kr[Kr.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Kr[Kr.ABORTED=10]="ABORTED",Kr[Kr.OUT_OF_RANGE=11]="OUT_OF_RANGE",Kr[Kr.UNIMPLEMENTED=12]="UNIMPLEMENTED",Kr[Kr.INTERNAL=13]="INTERNAL",Kr[Kr.UNAVAILABLE=14]="UNAVAILABLE",Kr[Kr.DATA_LOSS=15]="DATA_LOSS";let Jr=null;function $r(){return new TextEncoder}const ei=new r([4294967295,4294967295],0);function ti(e){const t=$r().encode(e),n=new i;return n.update(t),new Uint8Array(n.digest())}function ni(e){const t=new DataView(e.buffer),n=t.getUint32(0,!0),i=t.getUint32(4,!0),o=t.getUint32(8,!0),a=t.getUint32(12,!0);return[new r([n,i],0),new r([o,a],0)]}class ri{constructor(e,t,n){if(this.bitmap=e,this.padding=t,this.hashCount=n,t<0||t>=8)throw new ii("Invalid padding: ".concat(t));if(n<0)throw new ii("Invalid hash count: ".concat(n));if(e.length>0&&0===this.hashCount)throw new ii("Invalid hash count: ".concat(n));if(0===e.length&&0!==t)throw new ii("Invalid padding when bitmap length is 0: ".concat(t));this.Ie=8*e.length-t,this.Te=r.fromNumber(this.Ie)}Ee(e,t,n){let i=e.add(t.multiply(r.fromNumber(n)));return 1===i.compare(ei)&&(i=new r([i.getBits(0),i.getBits(1)],0)),i.modulo(this.Te).toNumber()}de(e){return 0!=(this.bitmap[Math.floor(e/8)]&1<<e%8)}mightContain(e){if(0===this.Ie)return!1;const t=ti(e),[n,r]=ni(t);for(let i=0;i<this.hashCount;i++){const e=this.Ee(n,r,i);if(!this.de(e))return!1}return!0}static create(e,t,n){const r=e%8==0?0:8-e%8,i=new Uint8Array(Math.ceil(e/8)),o=new ri(i,r,t);return n.forEach((e=>o.insert(e))),o}insert(e){if(0===this.Ie)return;const t=ti(e),[n,r]=ni(t);for(let i=0;i<this.hashCount;i++){const e=this.Ee(n,r,i);this.Ae(e)}}Ae(e){const t=Math.floor(e/8),n=e%8;this.bitmap[t]|=1<<n}}class ii extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}class oi{constructor(e,t,n,r,i){this.snapshotVersion=e,this.targetChanges=t,this.targetMismatches=n,this.documentUpdates=r,this.resolvedLimboDocuments=i}static createSynthesizedRemoteEventForCurrentChange(e,t,n){const r=new Map;return r.set(e,ai.createSynthesizedTargetChangeForCurrentChange(e,t,n)),new oi($.min(),r,new pt(K),er(),cr())}}class ai{constructor(e,t,n,r,i){this.resumeToken=e,this.current=t,this.addedDocuments=n,this.modifiedDocuments=r,this.removedDocuments=i}static createSynthesizedTargetChangeForCurrentChange(e,t,n){return new ai(n,t,cr(),cr(),cr())}}class si{constructor(e,t,n,r){this.Re=e,this.removedTargetIds=t,this.key=n,this.Ve=r}}class li{constructor(e,t){this.targetId=e,this.me=t}}class ci{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt.EMPTY_BYTE_STRING,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.state=e,this.targetIds=t,this.resumeToken=n,this.cause=r}}class ui{constructor(){this.fe=0,this.ge=pi(),this.pe=xt.EMPTY_BYTE_STRING,this.ye=!1,this.we=!0}get current(){return this.ye}get resumeToken(){return this.pe}get Se(){return 0!==this.fe}get be(){return this.we}De(e){e.approximateByteSize()>0&&(this.we=!0,this.pe=e)}Ce(){let e=cr(),t=cr(),n=cr();return this.ge.forEach(((r,i)=>{switch(i){case 0:e=e.add(r);break;case 2:t=t.add(r);break;case 1:n=n.add(r);break;default:F()}})),new ai(this.pe,this.ye,e,t,n)}ve(){this.we=!1,this.ge=pi()}Fe(e,t){this.we=!0,this.ge=this.ge.insert(e,t)}Me(e){this.we=!0,this.ge=this.ge.remove(e)}xe(){this.fe+=1}Oe(){this.fe-=1,I(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class di{constructor(e){this.Le=e,this.Be=new Map,this.ke=er(),this.qe=hi(),this.Qe=new pt(K)}Ke(e){for(const t of e.Re)e.Ve&&e.Ve.isFoundDocument()?this.$e(t,e.Ve):this.Ue(t,e.key,e.Ve);for(const t of e.removedTargetIds)this.Ue(t,e.key,e.Ve)}We(e){this.forEachTarget(e,(t=>{const n=this.Ge(t);switch(e.state){case 0:this.ze(t)&&n.De(e.resumeToken);break;case 1:n.Oe(),n.Se||n.ve(),n.De(e.resumeToken);break;case 2:n.Oe(),n.Se||this.removeTarget(t);break;case 3:this.ze(t)&&(n.Ne(),n.De(e.resumeToken));break;case 4:this.ze(t)&&(this.je(t),n.De(e.resumeToken));break;default:F()}}))}forEachTarget(e,t){e.targetIds.length>0?e.targetIds.forEach(t):this.Be.forEach(((e,n)=>{this.ze(n)&&t(n)}))}He(e){const t=e.targetId,n=e.me.count,r=this.Je(t);if(r){const i=r.target;if(Nn(i))if(0===n){const e=new ie(i.path);this.Ue(t,e,tn.newNoDocument(e,$.min()))}else I(1===n);else{const r=this.Ye(t);if(r!==n){const n=this.Ze(e),i=n?this.Xe(n,e,r):1;if(0!==i){this.je(t);const e=2===i?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Qe=this.Qe.insert(t,e)}null==Jr||Jr.et(function(e,t,n,r,i){var o,a,s,l,c,u;const d={localCacheCount:e,existenceFilterCount:t.count,databaseId:n.database,projectId:n.projectId},h=t.unchangedNames;return h&&(d.bloomFilter={applied:0===i,hashCount:null!==(o=null==h?void 0:h.hashCount)&&void 0!==o?o:0,bitmapLength:null!==(l=null===(s=null===(a=null==h?void 0:h.bits)||void 0===a?void 0:a.bitmap)||void 0===s?void 0:s.length)&&void 0!==l?l:0,padding:null!==(u=null===(c=null==h?void 0:h.bits)||void 0===c?void 0:c.padding)&&void 0!==u?u:0,mightContain:e=>{var t;return null!==(t=null==r?void 0:r.mightContain(e))&&void 0!==t&&t}}),d}(r,e.me,this.Le.tt(),n,i))}}}}Ze(e){const t=e.me.unchangedNames;if(!t||!t.bits)return null;const{bits:{bitmap:n="",padding:r=0},hashCount:i=0}=t;let o,a;try{o=Tt(n).toUint8Array()}catch(e){if(e instanceof bt)return D("Decoding the base64 bloom filter in existence filter failed ("+e.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw e}try{a=new ri(o,r,i)}catch(e){return D(e instanceof ii?"BloomFilter error: ":"Applying bloom filter failed: ",e),null}return 0===a.Ie?null:a}Xe(e,t,n){return t.me.count===n-this.nt(e,t.targetId)?0:2}nt(e,t){const n=this.Le.getRemoteKeysForTarget(t);let r=0;return n.forEach((n=>{const i=this.Le.tt(),o="projects/".concat(i.projectId,"/databases/").concat(i.database,"/documents/").concat(n.path.canonicalString());e.mightContain(o)||(this.Ue(t,n,null),r++)})),r}rt(e){const t=new Map;this.Be.forEach(((n,r)=>{const i=this.Je(r);if(i){if(n.current&&Nn(i.target)){const t=new ie(i.target.path);null!==this.ke.get(t)||this.it(r,t)||this.Ue(r,t,tn.newNoDocument(t,e))}n.be&&(t.set(r,n.Ce()),n.ve())}}));let n=cr();this.qe.forEach(((e,t)=>{let r=!0;t.forEachWhile((e=>{const t=this.Je(e);return!t||"TargetPurposeLimboResolution"===t.purpose||(r=!1,!1)})),r&&(n=n.add(e))})),this.ke.forEach(((t,n)=>n.setReadTime(e)));const r=new oi(e,t,this.Qe,this.ke,n);return this.ke=er(),this.qe=hi(),this.Qe=new pt(K),r}$e(e,t){if(!this.ze(e))return;const n=this.it(e,t.key)?2:0;this.Ge(e).Fe(t.key,n),this.ke=this.ke.insert(t.key,t),this.qe=this.qe.insert(t.key,this.st(t.key).add(e))}Ue(e,t,n){if(!this.ze(e))return;const r=this.Ge(e);this.it(e,t)?r.Fe(t,1):r.Me(t),this.qe=this.qe.insert(t,this.st(t).delete(e)),n&&(this.ke=this.ke.insert(t,n))}removeTarget(e){this.Be.delete(e)}Ye(e){const t=this.Ge(e).Ce();return this.Le.getRemoteKeysForTarget(e).size+t.addedDocuments.size-t.removedDocuments.size}xe(e){this.Ge(e).xe()}Ge(e){let t=this.Be.get(e);return t||(t=new ui,this.Be.set(e,t)),t}st(e){let t=this.qe.get(e);return t||(t=new gt(K),this.qe=this.qe.insert(e,t)),t}ze(e){const t=null!==this.Je(e);return t||k("WatchChangeAggregator","Detected inactive target",e),t}Je(e){const t=this.Be.get(e);return t&&t.Se?null:this.Le.ot(e)}je(e){this.Be.set(e,new ui),this.Le.getRemoteKeysForTarget(e).forEach((t=>{this.Ue(e,t,null)}))}it(e,t){return this.Le.getRemoteKeysForTarget(e).has(t)}}function hi(){return new pt(ie.comparator)}function pi(){return new pt(ie.comparator)}const fi={asc:"ASCENDING",desc:"DESCENDING"},mi={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},gi={and:"AND",or:"OR"};class vi{constructor(e,t){this.databaseId=e,this.useProto3Json=t}}function Ci(e,t){return e.useProto3Json||Ne(t)?t:{value:t}}function yi(e,t){return e.useProto3Json?"".concat(new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z",""),".").concat(("000000000"+t.nanoseconds).slice(-9),"Z"):{seconds:""+t.seconds,nanos:t.nanoseconds}}function bi(e,t){return e.useProto3Json?t.toBase64():t.toUint8Array()}function wi(e,t){return yi(e,t.toTimestamp())}function xi(e){return I(!!e),$.fromTimestamp(function(e){const t=Et(e);return new J(t.seconds,t.nanos)}(e))}function Ai(e,t){return Ei(e,t).canonicalString()}function Ei(e,t){const n=function(e){return new te(["projects",e.projectId,"databases",e.database])}(e).child("documents");return void 0===t?n:n.child(t)}function _i(e){const t=te.fromString(e);return I(Gi(t)),t}function Ti(e,t){return Ai(e.databaseId,t.path)}function Si(e,t){const n=_i(t);if(n.get(1)!==e.databaseId.projectId)throw new j(O.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+e.databaseId.projectId);if(n.get(3)!==e.databaseId.database)throw new j(O.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+e.databaseId.database);return new ie(Ni(n))}function ki(e,t){return Ai(e.databaseId,t)}function Pi(e){const t=_i(e);return 4===t.length?te.emptyPath():Ni(t)}function Di(e){return new te(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function Ni(e){return I(e.length>4&&"documents"===e.get(4)),e.popFirst(5)}function Fi(e,t,n){return{name:Ti(e,t),fields:n.value.mapValue.fields}}function Ii(e,t,n){const r=Si(e,t.name),i=xi(t.updateTime),o=t.createTime?xi(t.createTime):$.min(),a=new $t({mapValue:{fields:t.fields}}),s=tn.newFoundDocument(r,i,o,a);return n&&s.setHasCommittedMutations(),n?s.setHasCommittedMutations():s}function Ri(e,t){let n;if(t instanceof jr)n={update:Fi(e,t.key,t.value)};else if(t instanceof Hr)n={delete:Ti(e,t.key)};else if(t instanceof Lr)n={update:Fi(e,t.key,t.data),updateMask:qi(t.fieldMask)};else{if(!(t instanceof zr))return F();n={verify:Ti(e,t.key)}}return t.fieldTransforms.length>0&&(n.updateTransforms=t.fieldTransforms.map((e=>function(e,t){const n=t.transform;if(n instanceof yr)return{fieldPath:t.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(n instanceof br)return{fieldPath:t.field.canonicalString(),appendMissingElements:{values:n.elements}};if(n instanceof xr)return{fieldPath:t.field.canonicalString(),removeAllFromArray:{values:n.elements}};if(n instanceof Er)return{fieldPath:t.field.canonicalString(),increment:n.Pe};throw F()}(0,e)))),t.precondition.isNone||(n.currentDocument=function(e,t){return void 0!==t.updateTime?{updateTime:wi(e,t.updateTime)}:void 0!==t.exists?{exists:t.exists}:F()}(e,t.precondition)),n}function Mi(e,t){const n=t.currentDocument?function(e){return void 0!==e.updateTime?Pr.updateTime(xi(e.updateTime)):void 0!==e.exists?Pr.exists(e.exists):Pr.none()}(t.currentDocument):Pr.none(),r=t.updateTransforms?t.updateTransforms.map((t=>function(e,t){let n=null;if("setToServerValue"in t)I("REQUEST_TIME"===t.setToServerValue),n=new yr;else if("appendMissingElements"in t){const e=t.appendMissingElements.values||[];n=new br(e)}else if("removeAllFromArray"in t){const e=t.removeAllFromArray.values||[];n=new xr(e)}else"increment"in t?n=new Er(e,t.increment):F();const r=re.fromServerFormat(t.fieldPath);return new Sr(r,n)}(e,t))):[];if(t.update){t.update.name;const i=Si(e,t.update.name),o=new $t({mapValue:{fields:t.update.fields}});if(t.updateMask){const e=function(e){const t=e.fieldPaths||[];return new yt(t.map((e=>re.fromServerFormat(e))))}(t.updateMask);return new Lr(i,o,e,n,r)}return new jr(i,o,n,r)}if(t.delete){const r=Si(e,t.delete);return new Hr(r,n)}if(t.verify){const r=Si(e,t.verify);return new zr(r,n)}return F()}function Oi(e,t){return{documents:[ki(e,t.path)]}}function ji(e,t){const n={structuredQuery:{}},r=t.path;let i;null!==t.collectionGroup?(i=r,n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(i=r.popLast(),n.structuredQuery.from=[{collectionId:r.lastSegment()}]),n.parent=ki(e,i);const o=function(e){if(0!==e.length)return Wi(un.create(e,"and"))}(t.filters);o&&(n.structuredQuery.where=o);const a=function(e){if(0!==e.length)return e.map((e=>function(e){return{field:zi(e.field),direction:Ui(e.dir)}}(e)))}(t.orderBy);a&&(n.structuredQuery.orderBy=a);const s=Ci(e,t.limit);return null!==s&&(n.structuredQuery.limit=s),t.startAt&&(n.structuredQuery.startAt=function(e){return{before:e.inclusive,values:e.position}}(t.startAt)),t.endAt&&(n.structuredQuery.endAt=function(e){return{before:!e.inclusive,values:e.position}}(t.endAt)),{_t:n,parent:i}}function Li(e){let t=Pi(e.parent);const n=e.structuredQuery,r=n.from?n.from.length:0;let i=null;if(r>0){I(1===r);const e=n.from[0];e.allDescendants?i=e.collectionId:t=t.child(e.collectionId)}let o=[];n.where&&(o=function(e){const t=Bi(e);return t instanceof un&&pn(t)?t.getFilters():[t]}(n.where));let a=[];n.orderBy&&(a=function(e){return e.map((e=>function(e){return new an(Zi(e.field),function(e){switch(e){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(e.direction))}(e)))}(n.orderBy));let s=null;n.limit&&(s=function(e){let t;return t="object"==typeof e?e.value:e,Ne(t)?null:t}(n.limit));let l=null;n.startAt&&(l=function(e){const t=!!e.before,n=e.values||[];return new nn(n,t)}(n.startAt));let c=null;return n.endAt&&(c=function(e){const t=!e.before,n=e.values||[];return new nn(n,t)}(n.endAt)),On(t,i,a,o,s,"F",l,c)}function Bi(e){return void 0!==e.unaryFilter?function(e){switch(e.unaryFilter.op){case"IS_NAN":const t=Zi(e.unaryFilter.field);return cn.create(t,"==",{doubleValue:NaN});case"IS_NULL":const n=Zi(e.unaryFilter.field);return cn.create(n,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const r=Zi(e.unaryFilter.field);return cn.create(r,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const i=Zi(e.unaryFilter.field);return cn.create(i,"!=",{nullValue:"NULL_VALUE"});default:return F()}}(e):void 0!==e.fieldFilter?function(e){return cn.create(Zi(e.fieldFilter.field),function(e){switch(e){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return F()}}(e.fieldFilter.op),e.fieldFilter.value)}(e):void 0!==e.compositeFilter?function(e){return un.create(e.compositeFilter.filters.map((e=>Bi(e))),function(e){switch(e){case"AND":return"and";case"OR":return"or";default:return F()}}(e.compositeFilter.op))}(e):F()}function Ui(e){return fi[e]}function Vi(e){return mi[e]}function Hi(e){return gi[e]}function zi(e){return{fieldPath:e.canonicalString()}}function Zi(e){return re.fromServerFormat(e.fieldPath)}function Wi(e){return e instanceof cn?function(e){if("=="===e.op){if(Wt(e.value))return{unaryFilter:{field:zi(e.field),op:"IS_NAN"}};if(Zt(e.value))return{unaryFilter:{field:zi(e.field),op:"IS_NULL"}}}else if("!="===e.op){if(Wt(e.value))return{unaryFilter:{field:zi(e.field),op:"IS_NOT_NAN"}};if(Zt(e.value))return{unaryFilter:{field:zi(e.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:zi(e.field),op:Vi(e.op),value:e.value}}}(e):e instanceof un?function(e){const t=e.getFilters().map((e=>Wi(e)));return 1===t.length?t[0]:{compositeFilter:{op:Hi(e.op),filters:t}}}(e):F()}function qi(e){const t=[];return e.fields.forEach((e=>t.push(e.canonicalString()))),{fieldPaths:t}}function Gi(e){return e.length>=4&&"projects"===e.get(0)&&"databases"===e.get(2)}class Yi{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:$.min(),o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:$.min(),a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:xt.EMPTY_BYTE_STRING,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.target=e,this.targetId=t,this.purpose=n,this.sequenceNumber=r,this.snapshotVersion=i,this.lastLimboFreeSnapshotVersion=o,this.resumeToken=a,this.expectedCount=s}withSequenceNumber(e){return new Yi(this.target,this.targetId,this.purpose,e,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(e,t){return new Yi(this.target,this.targetId,this.purpose,this.sequenceNumber,t,this.lastLimboFreeSnapshotVersion,e,null)}withExpectedCount(e){return new Yi(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,e)}withLastLimboFreeSnapshotVersion(e){return new Yi(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,e,this.resumeToken,this.expectedCount)}}class Ki{constructor(e){this.ct=e}}function Qi(e,t){const n=t.key,r={prefixPath:n.getCollectionPath().popLast().toArray(),collectionGroup:n.collectionGroup,documentId:n.path.lastSegment(),readTime:Xi(t.readTime),hasCommittedMutations:t.hasCommittedMutations};if(t.isFoundDocument())r.document=function(e,t){return{name:Ti(e,t.key),fields:t.data.value.mapValue.fields,updateTime:yi(e,t.version.toTimestamp()),createTime:yi(e,t.createTime.toTimestamp())}}(e.ct,t);else if(t.isNoDocument())r.noDocument={path:n.path.toArray(),readTime:Ji(t.version)};else{if(!t.isUnknownDocument())return F();r.unknownDocument={path:n.path.toArray(),version:Ji(t.version)}}return r}function Xi(e){const t=e.toTimestamp();return[t.seconds,t.nanoseconds]}function Ji(e){const t=e.toTimestamp();return{seconds:t.seconds,nanoseconds:t.nanoseconds}}function $i(e){const t=new J(e.seconds,e.nanoseconds);return $.fromTimestamp(t)}function eo(e,t){const n=(t.baseMutations||[]).map((t=>Mi(e.ct,t)));for(let o=0;o<t.mutations.length-1;++o){const e=t.mutations[o];if(o+1<t.mutations.length&&void 0!==t.mutations[o+1].transform){const n=t.mutations[o+1];e.updateTransforms=n.transform.fieldTransforms,t.mutations.splice(o+1,1),++o}}const r=t.mutations.map((t=>Mi(e.ct,t))),i=J.fromMillis(t.localWriteTimeMs);return new Zr(t.batchId,i,n,r)}function to(e){const t=$i(e.readTime),n=void 0!==e.lastLimboFreeSnapshotVersion?$i(e.lastLimboFreeSnapshotVersion):$.min();let r;return r=function(e){return void 0!==e.documents}(e.query)?function(e){return I(1===e.documents.length),Vn(jn(Pi(e.documents[0])))}(e.query):function(e){return Vn(Li(e))}(e.query),new Yi(r,e.targetId,"TargetPurposeListen",e.lastListenSequenceNumber,t,n,xt.fromBase64String(e.resumeToken))}function no(e,t){const n=Ji(t.snapshotVersion),r=Ji(t.lastLimboFreeSnapshotVersion);let i;i=Nn(t.target)?Oi(e.ct,t.target):ji(e.ct,t.target)._t;const o=t.resumeToken.toBase64();return{targetId:t.targetId,canonicalId:Pn(t.target),readTime:n,resumeToken:o,lastListenSequenceNumber:t.sequenceNumber,lastLimboFreeSnapshotVersion:r,query:i}}function ro(e){const t=Li({parent:e.parent,structuredQuery:e.structuredQuery});return"LAST"===e.limitType?Zn(t,t.limit,"L"):t}function io(e,t){return new qr(t.largestBatchId,Mi(e.ct,t.overlayMutation))}function oo(e,t){const n=t.path.lastSegment();return[e,Re(t.path.popLast()),n]}function ao(e,t,n,r){return{indexId:e,uid:t,sequenceNumber:n,readTime:Ji(r.readTime),documentKey:Re(r.documentKey.path),largestBatchId:r.largestBatchId}}class so{getBundleMetadata(e,t){return lo(e).get(t).next((e=>{if(e)return function(e){return{id:e.bundleId,createTime:$i(e.createTime),version:e.version}}(e)}))}saveBundleMetadata(e,t){return lo(e).put(function(e){return{bundleId:e.id,createTime:Ji(xi(e.createTime)),version:e.version}}(t))}getNamedQuery(e,t){return co(e).get(t).next((e=>{if(e)return function(e){return{name:e.name,query:ro(e.bundledQuery),readTime:$i(e.readTime)}}(e)}))}saveNamedQuery(e,t){return co(e).put(function(e){return{name:e.name,readTime:Ji(xi(e.readTime)),bundledQuery:e.bundledQuery}}(t))}}function lo(e){return ct(e,"bundles")}function co(e){return ct(e,"namedQueries")}class uo{constructor(e,t){this.serializer=e,this.userId=t}static lt(e,t){const n=t.uid||"";return new uo(e,n)}getOverlay(e,t){return ho(e).get(oo(this.userId,t)).next((e=>e?io(this.serializer,e):null))}getOverlays(e,t){const n=ir();return ve.forEach(t,(t=>this.getOverlay(e,t).next((e=>{null!==e&&n.set(t,e)})))).next((()=>n))}saveOverlays(e,t,n){const r=[];return n.forEach(((n,i)=>{const o=new qr(t,i);r.push(this.ht(e,o))})),ve.waitFor(r)}removeOverlaysForBatchId(e,t,n){const r=new Set;t.forEach((e=>r.add(Re(e.getCollectionPath()))));const i=[];return r.forEach((t=>{const r=IDBKeyRange.bound([this.userId,t,n],[this.userId,t,n+1],!1,!0);i.push(ho(e).j("collectionPathOverlayIndex",r))})),ve.waitFor(i)}getOverlaysForCollection(e,t,n){const r=ir(),i=Re(t),o=IDBKeyRange.bound([this.userId,i,n],[this.userId,i,Number.POSITIVE_INFINITY],!0);return ho(e).U("collectionPathOverlayIndex",o).next((e=>{for(const t of e){const e=io(this.serializer,t);r.set(e.getKey(),e)}return r}))}getOverlaysForCollectionGroup(e,t,n,r){const i=ir();let o;const a=IDBKeyRange.bound([this.userId,t,n],[this.userId,t,Number.POSITIVE_INFINITY],!0);return ho(e).J({index:"collectionGroupOverlayIndex",range:a},((e,t,n)=>{const a=io(this.serializer,t);i.size()<r||a.largestBatchId===o?(i.set(a.getKey(),a),o=a.largestBatchId):n.done()})).next((()=>i))}ht(e,t){return ho(e).put(function(e,t,n){const[r,i,o]=oo(t,n.mutation.key);return{userId:t,collectionPath:i,documentId:o,collectionGroup:n.mutation.key.getCollectionGroup(),largestBatchId:n.largestBatchId,overlayMutation:Ri(e.ct,n.mutation)}}(this.serializer,this.userId,t))}}function ho(e){return ct(e,"documentOverlays")}class po{constructor(){}Pt(e,t){this.It(e,t),t.Tt()}It(e,t){if("nullValue"in e)this.Et(t,5);else if("booleanValue"in e)this.Et(t,10),t.dt(e.booleanValue?1:0);else if("integerValue"in e)this.Et(t,15),t.dt(_t(e.integerValue));else if("doubleValue"in e){const n=_t(e.doubleValue);isNaN(n)?this.Et(t,13):(this.Et(t,15),Fe(n)?t.dt(0):t.dt(n))}else if("timestampValue"in e){let n=e.timestampValue;this.Et(t,20),"string"==typeof n&&(n=Et(n)),t.At("".concat(n.seconds||"")),t.dt(n.nanos||0)}else if("stringValue"in e)this.Rt(e.stringValue,t),this.Vt(t);else if("bytesValue"in e)this.Et(t,30),t.ft(Tt(e.bytesValue)),this.Vt(t);else if("referenceValue"in e)this.gt(e.referenceValue,t);else if("geoPointValue"in e){const n=e.geoPointValue;this.Et(t,45),t.dt(n.latitude||0),t.dt(n.longitude||0)}else"mapValue"in e?Yt(e)?this.Et(t,Number.MAX_SAFE_INTEGER):(this.yt(e.mapValue,t),this.Vt(t)):"arrayValue"in e?(this.wt(e.arrayValue,t),this.Vt(t)):F()}Rt(e,t){this.Et(t,25),this.St(e,t)}St(e,t){t.At(e)}yt(e,t){const n=e.fields||{};this.Et(t,55);for(const r of Object.keys(n))this.Rt(r,t),this.It(n[r],t)}wt(e,t){const n=e.values||[];this.Et(t,50);for(const r of n)this.It(r,t)}gt(e,t){this.Et(t,37),ie.fromName(e).path.forEach((e=>{this.Et(t,60),this.St(e,t)}))}Et(e,t){e.dt(t)}Vt(e){e.dt(2)}}function fo(e){if(0===e)return 8;let t=0;return e>>4==0&&(t+=4,e<<=4),e>>6==0&&(t+=2,e<<=2),e>>7==0&&(t+=1),t}function mo(e){const t=64-function(e){let t=0;for(let n=0;n<8;++n){const r=fo(255&e[n]);if(t+=r,8!==r)break}return t}(e);return Math.ceil(t/8)}po.bt=new po;class go{constructor(){this.buffer=new Uint8Array(1024),this.position=0}Dt(e){const t=e[Symbol.iterator]();let n=t.next();for(;!n.done;)this.Ct(n.value),n=t.next();this.vt()}Ft(e){const t=e[Symbol.iterator]();let n=t.next();for(;!n.done;)this.Mt(n.value),n=t.next();this.xt()}Ot(e){for(const t of e){const e=t.charCodeAt(0);if(e<128)this.Ct(e);else if(e<2048)this.Ct(960|e>>>6),this.Ct(128|63&e);else if(t<"\ud800"||"\udbff"<t)this.Ct(480|e>>>12),this.Ct(128|63&e>>>6),this.Ct(128|63&e);else{const e=t.codePointAt(0);this.Ct(240|e>>>18),this.Ct(128|63&e>>>12),this.Ct(128|63&e>>>6),this.Ct(128|63&e)}}this.vt()}Nt(e){for(const t of e){const e=t.charCodeAt(0);if(e<128)this.Mt(e);else if(e<2048)this.Mt(960|e>>>6),this.Mt(128|63&e);else if(t<"\ud800"||"\udbff"<t)this.Mt(480|e>>>12),this.Mt(128|63&e>>>6),this.Mt(128|63&e);else{const e=t.codePointAt(0);this.Mt(240|e>>>18),this.Mt(128|63&e>>>12),this.Mt(128|63&e>>>6),this.Mt(128|63&e)}}this.xt()}Lt(e){const t=this.Bt(e),n=mo(t);this.kt(1+n),this.buffer[this.position++]=255&n;for(let r=t.length-n;r<t.length;++r)this.buffer[this.position++]=255&t[r]}qt(e){const t=this.Bt(e),n=mo(t);this.kt(1+n),this.buffer[this.position++]=~(255&n);for(let r=t.length-n;r<t.length;++r)this.buffer[this.position++]=~(255&t[r])}Qt(){this.Kt(255),this.Kt(255)}$t(){this.Ut(255),this.Ut(255)}reset(){this.position=0}seed(e){this.kt(e.length),this.buffer.set(e,this.position),this.position+=e.length}Wt(){return this.buffer.slice(0,this.position)}Bt(e){const t=function(e){const t=new DataView(new ArrayBuffer(8));return t.setFloat64(0,e,!1),new Uint8Array(t.buffer)}(e),n=0!=(128&t[0]);t[0]^=n?255:128;for(let r=1;r<t.length;++r)t[r]^=n?255:0;return t}Ct(e){const t=255&e;0===t?(this.Kt(0),this.Kt(255)):255===t?(this.Kt(255),this.Kt(0)):this.Kt(t)}Mt(e){const t=255&e;0===t?(this.Ut(0),this.Ut(255)):255===t?(this.Ut(255),this.Ut(0)):this.Ut(e)}vt(){this.Kt(0),this.Kt(1)}xt(){this.Ut(0),this.Ut(1)}Kt(e){this.kt(1),this.buffer[this.position++]=e}Ut(e){this.kt(1),this.buffer[this.position++]=~e}kt(e){const t=e+this.position;if(t<=this.buffer.length)return;let n=2*this.buffer.length;n<t&&(n=t);const r=new Uint8Array(n);r.set(this.buffer),this.buffer=r}}class vo{constructor(e){this.Gt=e}ft(e){this.Gt.Dt(e)}At(e){this.Gt.Ot(e)}dt(e){this.Gt.Lt(e)}Tt(){this.Gt.Qt()}}class Co{constructor(e){this.Gt=e}ft(e){this.Gt.Ft(e)}At(e){this.Gt.Nt(e)}dt(e){this.Gt.qt(e)}Tt(){this.Gt.$t()}}class yo{constructor(){this.Gt=new go,this.zt=new vo(this.Gt),this.jt=new Co(this.Gt)}seed(e){this.Gt.seed(e)}Ht(e){return 0===e?this.zt:this.jt}Wt(){return this.Gt.Wt()}reset(){this.Gt.reset()}}class bo{constructor(e,t,n,r){this.indexId=e,this.documentKey=t,this.arrayValue=n,this.directionalValue=r}Jt(){const e=this.directionalValue.length,t=0===e||255===this.directionalValue[e-1]?e+1:e,n=new Uint8Array(t);return n.set(this.directionalValue,0),t!==e?n.set([0],this.directionalValue.length):++n[n.length-1],new bo(this.indexId,this.documentKey,this.arrayValue,n)}}function wo(e,t){let n=e.indexId-t.indexId;return 0!==n?n:(n=xo(e.arrayValue,t.arrayValue),0!==n?n:(n=xo(e.directionalValue,t.directionalValue),0!==n?n:ie.comparator(e.documentKey,t.documentKey)))}function xo(e,t){for(let n=0;n<e.length&&n<t.length;++n){const r=e[n]-t[n];if(0!==r)return r}return e.length-t.length}class Ao{constructor(e){this.Yt=new gt(((e,t)=>re.comparator(e.field,t.field))),this.collectionId=null!=e.collectionGroup?e.collectionGroup:e.path.lastSegment(),this.Zt=e.orderBy,this.Xt=[];for(const t of e.filters){const e=t;e.isInequality()?this.Yt=this.Yt.add(e):this.Xt.push(e)}}get en(){return this.Yt.size>1}tn(e){if(I(e.collectionGroup===this.collectionId),this.en)return!1;const t=ae(e);if(void 0!==t&&!this.nn(t))return!1;const n=se(e);let r=new Set,i=0,o=0;for(;i<n.length&&this.nn(n[i]);++i)r=r.add(n[i].fieldPath.canonicalString());if(i===n.length)return!0;if(this.Yt.size>0){const e=this.Yt.getIterator().getNext();if(!r.has(e.field.canonicalString())){const t=n[i];if(!this.rn(e,t)||!this.sn(this.Zt[o++],t))return!1}++i}for(;i<n.length;++i){const e=n[i];if(o>=this.Zt.length||!this.sn(this.Zt[o++],e))return!1}return!0}on(){if(this.en)return null;let e=new gt(re.comparator);const t=[];for(const n of this.Xt)if(!n.field.isKeyField())if("array-contains"===n.op||"array-contains-any"===n.op)t.push(new le(n.field,2));else{if(e.has(n.field))continue;e=e.add(n.field),t.push(new le(n.field,0))}for(const n of this.Zt)n.field.isKeyField()||e.has(n.field)||(e=e.add(n.field),t.push(new le(n.field,"asc"===n.dir?0:1)));return new oe(oe.UNKNOWN_ID,this.collectionId,t,ce.empty())}nn(e){for(const t of this.Xt)if(this.rn(t,e))return!0;return!1}rn(e,t){if(void 0===e||!e.field.isEqual(t.fieldPath))return!1;const n="array-contains"===e.op||"array-contains-any"===e.op;return 2===t.kind===n}sn(e,t){return!!e.field.isEqual(t.fieldPath)&&(0===t.kind&&"asc"===e.dir||1===t.kind&&"desc"===e.dir)}}function Eo(e){var t,n;if(I(e instanceof cn||e instanceof un),e instanceof cn){if(e instanceof En){const r=(null===(n=null===(t=e.value.arrayValue)||void 0===t?void 0:t.values)||void 0===n?void 0:n.map((t=>cn.create(e.field,"==",t))))||[];return un.create(r,"or")}return e}const r=e.filters.map((e=>Eo(e)));return un.create(r,e.op)}function _o(e){if(0===e.getFilters().length)return[];const t=Po(Eo(e));return I(ko(t)),To(t)||So(t)?[t]:t.getFilters()}function To(e){return e instanceof cn}function So(e){return e instanceof un&&pn(e)}function ko(e){return To(e)||So(e)||function(e){if(e instanceof un&&hn(e)){for(const t of e.getFilters())if(!To(t)&&!So(t))return!1;return!0}return!1}(e)}function Po(e){if(I(e instanceof cn||e instanceof un),e instanceof cn)return e;if(1===e.filters.length)return Po(e.filters[0]);const t=e.filters.map((e=>Po(e)));let n=un.create(t,e.op);return n=Fo(n),ko(n)?n:(I(n instanceof un),I(dn(n)),I(n.filters.length>1),n.filters.reduce(((e,t)=>Do(e,t))))}function Do(e,t){let n;return I(e instanceof cn||e instanceof un),I(t instanceof cn||t instanceof un),n=e instanceof cn?t instanceof cn?function(e,t){return un.create([e,t],"and")}(e,t):No(e,t):t instanceof cn?No(t,e):function(e,t){if(I(e.filters.length>0&&t.filters.length>0),dn(e)&&dn(t))return vn(e,t.getFilters());const n=hn(e)?e:t,r=hn(e)?t:e,i=n.filters.map((e=>Do(e,r)));return un.create(i,"or")}(e,t),Fo(n)}function No(e,t){if(dn(t))return vn(t,e.getFilters());{const n=t.filters.map((t=>Do(e,t)));return un.create(n,"or")}}function Fo(e){if(I(e instanceof cn||e instanceof un),e instanceof cn)return e;const t=e.getFilters();if(1===t.length)return Fo(t[0]);if(fn(e))return e;const n=t.map((e=>Fo(e))),r=[];return n.forEach((t=>{t instanceof cn?r.push(t):t instanceof un&&(t.op===e.op?r.push(...t.filters):r.push(t))})),1===r.length?r[0]:un.create(r,e.op)}class Io{constructor(){this._n=new Ro}addToCollectionParentIndex(e,t){return this._n.add(t),ve.resolve()}getCollectionParents(e,t){return ve.resolve(this._n.getEntries(t))}addFieldIndex(e,t){return ve.resolve()}deleteFieldIndex(e,t){return ve.resolve()}deleteAllFieldIndexes(e){return ve.resolve()}createTargetIndexes(e,t){return ve.resolve()}getDocumentsMatchingTarget(e,t){return ve.resolve(null)}getIndexType(e,t){return ve.resolve(0)}getFieldIndexes(e,t){return ve.resolve([])}getNextCollectionGroupToUpdate(e){return ve.resolve(null)}getMinOffset(e,t){return ve.resolve(he.min())}getMinOffsetFromCollectionGroup(e,t){return ve.resolve(he.min())}updateCollectionGroup(e,t,n){return ve.resolve()}updateIndexEntries(e,t){return ve.resolve()}}class Ro{constructor(){this.index={}}add(e){const t=e.lastSegment(),n=e.popLast(),r=this.index[t]||new gt(te.comparator),i=!r.has(n);return this.index[t]=r.add(n),i}has(e){const t=e.lastSegment(),n=e.popLast(),r=this.index[t];return r&&r.has(n)}getEntries(e){return(this.index[e]||new gt(te.comparator)).toArray()}}const Mo=new Uint8Array(0);class Oo{constructor(e,t){this.databaseId=t,this.an=new Ro,this.un=new Jn((e=>Pn(e)),((e,t)=>Dn(e,t))),this.uid=e.uid||""}addToCollectionParentIndex(e,t){if(!this.an.has(t)){const n=t.lastSegment(),r=t.popLast();e.addOnCommittedListener((()=>{this.an.add(t)}));const i={collectionId:n,parent:Re(r)};return jo(e).put(i)}return ve.resolve()}getCollectionParents(e,t){const n=[],r=IDBKeyRange.bound([t,""],[X(t),""],!1,!0);return jo(e).U(r).next((e=>{for(const r of e){if(r.collectionId!==t)break;n.push(je(r.parent))}return n}))}addFieldIndex(e,t){const n=Bo(e),r=function(e){return{indexId:e.indexId,collectionGroup:e.collectionGroup,fields:e.fields.map((e=>[e.fieldPath.canonicalString(),e.kind]))}}(t);delete r.indexId;const i=n.add(r);if(t.indexState){const n=Uo(e);return i.next((e=>{n.put(ao(e,this.uid,t.indexState.sequenceNumber,t.indexState.offset))}))}return i.next()}deleteFieldIndex(e,t){const n=Bo(e),r=Uo(e),i=Lo(e);return n.delete(t.indexId).next((()=>r.delete(IDBKeyRange.bound([t.indexId],[t.indexId+1],!1,!0)))).next((()=>i.delete(IDBKeyRange.bound([t.indexId],[t.indexId+1],!1,!0))))}deleteAllFieldIndexes(e){const t=Bo(e),n=Lo(e),r=Uo(e);return t.j().next((()=>n.j())).next((()=>r.j()))}createTargetIndexes(e,t){return ve.forEach(this.cn(t),(t=>this.getIndexType(e,t).next((n=>{if(0===n||1===n){const n=new Ao(t).on();if(null!=n)return this.addFieldIndex(e,n)}}))))}getDocumentsMatchingTarget(e,t){const n=Lo(e);let r=!0;const i=new Map;return ve.forEach(this.cn(t),(t=>this.ln(e,t).next((e=>{r&&(r=!!e),i.set(t,e)})))).next((()=>{if(r){let e=cr();const r=[];return ve.forEach(i,((i,o)=>{k("IndexedDbIndexManager","Using index ".concat(function(e){return"id=".concat(e.indexId,"|cg=").concat(e.collectionGroup,"|f=").concat(e.fields.map((e=>"".concat(e.fieldPath,":").concat(e.kind))).join(","))}(i)," to execute ").concat(Pn(t)));const a=function(e,t){const n=ae(t);if(void 0===n)return null;for(const r of Fn(e,n.fieldPath))switch(r.op){case"array-contains-any":return r.value.arrayValue.values||[];case"array-contains":return[r.value]}return null}(o,i),s=function(e,t){const n=new Map;for(const r of se(t))for(const t of Fn(e,r.fieldPath))switch(t.op){case"==":case"in":n.set(r.fieldPath.canonicalString(),t.value);break;case"not-in":case"!=":return n.set(r.fieldPath.canonicalString(),t.value),Array.from(n.values())}return null}(o,i),l=function(e,t){const n=[];let r=!0;for(const i of se(t)){const t=0===i.kind?In(e,i.fieldPath,e.startAt):Rn(e,i.fieldPath,e.startAt);n.push(t.value),r&&(r=t.inclusive)}return new nn(n,r)}(o,i),c=function(e,t){const n=[];let r=!0;for(const i of se(t)){const t=0===i.kind?Rn(e,i.fieldPath,e.endAt):In(e,i.fieldPath,e.endAt);n.push(t.value),r&&(r=t.inclusive)}return new nn(n,r)}(o,i),u=this.hn(i,o,l),d=this.hn(i,o,c),h=this.Pn(i,o,s),p=this.In(i.indexId,a,u,l.inclusive,d,c.inclusive,h);return ve.forEach(p,(i=>n.G(i,t.limit).next((t=>{t.forEach((t=>{const n=ie.fromSegments(t.documentKey);e.has(n)||(e=e.add(n),r.push(n))}))}))))})).next((()=>r))}return ve.resolve(null)}))}cn(e){let t=this.un.get(e);return t||(t=0===e.filters.length?[e]:_o(un.create(e.filters,"and")).map((t=>kn(e.path,e.collectionGroup,e.orderBy,t.getFilters(),e.limit,e.startAt,e.endAt))),this.un.set(e,t),t)}In(e,t,n,r,i,o,a){const s=(null!=t?t.length:1)*Math.max(n.length,i.length),l=s/(null!=t?t.length:1),c=[];for(let u=0;u<s;++u){const s=t?this.Tn(t[u/l]):Mo,d=this.En(e,s,n[u%l],r),h=this.dn(e,s,i[u%l],o),p=a.map((t=>this.En(e,s,t,!0)));c.push(...this.createRange(d,h,p))}return c}En(e,t,n,r){const i=new bo(e,ie.empty(),t,n);return r?i:i.Jt()}dn(e,t,n,r){const i=new bo(e,ie.empty(),t,n);return r?i.Jt():i}ln(e,t){const n=new Ao(t),r=null!=t.collectionGroup?t.collectionGroup:t.path.lastSegment();return this.getFieldIndexes(e,r).next((e=>{let t=null;for(const r of e)n.tn(r)&&(!t||r.fields.length>t.fields.length)&&(t=r);return t}))}getIndexType(e,t){let n=2;const r=this.cn(t);return ve.forEach(r,(t=>this.ln(e,t).next((e=>{e?0!==n&&e.fields.length<function(e){let t=new gt(re.comparator),n=!1;for(const r of e.filters)for(const e of r.getFlattenedFilters())e.field.isKeyField()||("array-contains"===e.op||"array-contains-any"===e.op?n=!0:t=t.add(e.field));for(const r of e.orderBy)r.field.isKeyField()||(t=t.add(r.field));return t.size+(n?1:0)}(t)&&(n=1):n=0})))).next((()=>function(e){return null!==e.limit}(t)&&r.length>1&&2===n?1:n))}An(e,t){const n=new yo;for(const r of se(e)){const e=t.data.field(r.fieldPath);if(null==e)return null;const i=n.Ht(r.kind);po.bt.Pt(e,i)}return n.Wt()}Tn(e){const t=new yo;return po.bt.Pt(e,t.Ht(0)),t.Wt()}Rn(e,t){const n=new yo;return po.bt.Pt(Vt(this.databaseId,t),n.Ht(function(e){const t=se(e);return 0===t.length?0:t[t.length-1].kind}(e))),n.Wt()}Pn(e,t,n){if(null===n)return[];let r=[];r.push(new yo);let i=0;for(const o of se(e)){const e=n[i++];for(const n of r)if(this.Vn(t,o.fieldPath)&&zt(e))r=this.mn(r,o,e);else{const t=n.Ht(o.kind);po.bt.Pt(e,t)}}return this.fn(r)}hn(e,t,n){return this.Pn(e,t,n.position)}fn(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].Wt();return t}mn(e,t,n){const r=[...e],i=[];for(const o of n.arrayValue.values||[])for(const e of r){const n=new yo;n.seed(e.Wt()),po.bt.Pt(o,n.Ht(t.kind)),i.push(n)}return i}Vn(e,t){return!!e.filters.find((e=>e instanceof cn&&e.field.isEqual(t)&&("in"===e.op||"not-in"===e.op)))}getFieldIndexes(e,t){const n=Bo(e),r=Uo(e);return(t?n.U("collectionGroupIndex",IDBKeyRange.bound(t,t)):n.U()).next((e=>{const t=[];return ve.forEach(e,(e=>r.get([e.indexId,this.uid]).next((n=>{t.push(function(e,t){const n=t?new ce(t.sequenceNumber,new he($i(t.readTime),new ie(je(t.documentKey)),t.largestBatchId)):ce.empty(),r=e.fields.map((e=>{let[t,n]=e;return new le(re.fromServerFormat(t),n)}));return new oe(e.indexId,e.collectionGroup,r,n)}(e,n))})))).next((()=>t))}))}getNextCollectionGroupToUpdate(e){return this.getFieldIndexes(e).next((e=>0===e.length?null:(e.sort(((e,t)=>{const n=e.indexState.sequenceNumber-t.indexState.sequenceNumber;return 0!==n?n:K(e.collectionGroup,t.collectionGroup)})),e[0].collectionGroup)))}updateCollectionGroup(e,t,n){const r=Bo(e),i=Uo(e);return this.gn(e).next((e=>r.U("collectionGroupIndex",IDBKeyRange.bound(t,t)).next((t=>ve.forEach(t,(t=>i.put(ao(t.indexId,this.uid,e,n))))))))}updateIndexEntries(e,t){const n=new Map;return ve.forEach(t,((t,r)=>{const i=n.get(t.collectionGroup);return(i?ve.resolve(i):this.getFieldIndexes(e,t.collectionGroup)).next((i=>(n.set(t.collectionGroup,i),ve.forEach(i,(n=>this.pn(e,t,n).next((t=>{const i=this.yn(r,n);return t.isEqual(i)?ve.resolve():this.wn(e,r,n,t,i)})))))))}))}Sn(e,t,n,r){return Lo(e).put({indexId:r.indexId,uid:this.uid,arrayValue:r.arrayValue,directionalValue:r.directionalValue,orderedDocumentKey:this.Rn(n,t.key),documentKey:t.key.path.toArray()})}bn(e,t,n,r){return Lo(e).delete([r.indexId,this.uid,r.arrayValue,r.directionalValue,this.Rn(n,t.key),t.key.path.toArray()])}pn(e,t,n){const r=Lo(e);let i=new gt(wo);return r.J({index:"documentKeyIndex",range:IDBKeyRange.only([n.indexId,this.uid,this.Rn(n,t)])},((e,r)=>{i=i.add(new bo(n.indexId,t,r.arrayValue,r.directionalValue))})).next((()=>i))}yn(e,t){let n=new gt(wo);const r=this.An(t,e);if(null==r)return n;const i=ae(t);if(null!=i){const o=e.data.field(i.fieldPath);if(zt(o))for(const i of o.arrayValue.values||[])n=n.add(new bo(t.indexId,e.key,this.Tn(i),r))}else n=n.add(new bo(t.indexId,e.key,Mo,r));return n}wn(e,t,n,r,i){k("IndexedDbIndexManager","Updating index entries for document '%s'",t.key);const o=[];return function(e,t,n,r,i){const o=e.getIterator(),a=t.getIterator();let s=Ct(o),l=Ct(a);for(;s||l;){let e=!1,t=!1;if(s&&l){const r=n(s,l);r<0?t=!0:r>0&&(e=!0)}else null!=s?t=!0:e=!0;e?(r(l),l=Ct(a)):t?(i(s),s=Ct(o)):(s=Ct(o),l=Ct(a))}}(r,i,wo,(r=>{o.push(this.Sn(e,t,n,r))}),(r=>{o.push(this.bn(e,t,n,r))})),ve.waitFor(o)}gn(e){let t=1;return Uo(e).J({index:"sequenceNumberIndex",reverse:!0,range:IDBKeyRange.upperBound([this.uid,Number.MAX_SAFE_INTEGER])},((e,n,r)=>{r.done(),t=n.sequenceNumber+1})).next((()=>t))}createRange(e,t,n){n=n.sort(((e,t)=>wo(e,t))).filter(((e,t,n)=>!t||0!==wo(e,n[t-1])));const r=[];r.push(e);for(const o of n){const n=wo(o,e),i=wo(o,t);if(0===n)r[0]=e.Jt();else if(n>0&&i<0)r.push(o),r.push(o.Jt());else if(i>0)break}r.push(t);const i=[];for(let o=0;o<r.length;o+=2){if(this.Dn(r[o],r[o+1]))return[];const e=[r[o].indexId,this.uid,r[o].arrayValue,r[o].directionalValue,Mo,[]],t=[r[o+1].indexId,this.uid,r[o+1].arrayValue,r[o+1].directionalValue,Mo,[]];i.push(IDBKeyRange.bound(e,t))}return i}Dn(e,t){return wo(e,t)>0}getMinOffsetFromCollectionGroup(e,t){return this.getFieldIndexes(e,t).next(Vo)}getMinOffset(e,t){return ve.mapArray(this.cn(t),(t=>this.ln(e,t).next((e=>e||F())))).next(Vo)}}function jo(e){return ct(e,"collectionParents")}function Lo(e){return ct(e,"indexEntries")}function Bo(e){return ct(e,"indexConfiguration")}function Uo(e){return ct(e,"indexState")}function Vo(e){I(0!==e.length);let t=e[0].indexState.offset,n=t.largestBatchId;for(let r=1;r<e.length;r++){const i=e[r].indexState.offset;pe(i,t)<0&&(t=i),n<i.largestBatchId&&(n=i.largestBatchId)}return new he(t.readTime,t.documentKey,n)}const Ho={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0};class zo{constructor(e,t,n){this.cacheSizeCollectionThreshold=e,this.percentileToCollect=t,this.maximumSequenceNumbersToCollect=n}static withCacheSize(e){return new zo(e,zo.DEFAULT_COLLECTION_PERCENTILE,zo.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}}function Zo(e,t,n){const r=e.store("mutations"),i=e.store("documentMutations"),o=[],a=IDBKeyRange.only(n.batchId);let s=0;const l=r.J({range:a},((e,t,n)=>(s++,n.delete())));o.push(l.next((()=>{I(1===s)})));const c=[];for(const u of n.mutations){const e=Ue(t,u.key.path,n.batchId);o.push(i.delete(e)),c.push(u.key)}return ve.waitFor(o).next((()=>c))}function Wo(e){if(!e)return 0;let t;if(e.document)t=e.document;else if(e.unknownDocument)t=e.unknownDocument;else{if(!e.noDocument)throw F();t=e.noDocument}return JSON.stringify(t).length}zo.DEFAULT_COLLECTION_PERCENTILE=10,zo.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,zo.DEFAULT=new zo(41943040,zo.DEFAULT_COLLECTION_PERCENTILE,zo.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),zo.DISABLED=new zo(-1,0,0);class qo{constructor(e,t,n,r){this.userId=e,this.serializer=t,this.indexManager=n,this.referenceDelegate=r,this.Cn={}}static lt(e,t,n,r){I(""!==e.uid);const i=e.isAuthenticated()?e.uid:"";return new qo(i,t,n,r)}checkEmpty(e){let t=!0;const n=IDBKeyRange.bound([this.userId,Number.NEGATIVE_INFINITY],[this.userId,Number.POSITIVE_INFINITY]);return Yo(e).J({index:"userMutationsIndex",range:n},((e,n,r)=>{t=!1,r.done()})).next((()=>t))}addMutationBatch(e,t,n,r){const i=Ko(e),o=Yo(e);return o.add({}).next((a=>{I("number"==typeof a);const s=new Zr(a,t,n,r),l=function(e,t,n){const r=n.baseMutations.map((t=>Ri(e.ct,t))),i=n.mutations.map((t=>Ri(e.ct,t)));return{userId:t,batchId:n.batchId,localWriteTimeMs:n.localWriteTime.toMillis(),baseMutations:r,mutations:i}}(this.serializer,this.userId,s),c=[];let u=new gt(((e,t)=>K(e.canonicalString(),t.canonicalString())));for(const e of r){const t=Ue(this.userId,e.key.path,a);u=u.add(e.key.path.popLast()),c.push(o.put(l)),c.push(i.put(t,Ve))}return u.forEach((t=>{c.push(this.indexManager.addToCollectionParentIndex(e,t))})),e.addOnCommittedListener((()=>{this.Cn[a]=s.keys()})),ve.waitFor(c).next((()=>s))}))}lookupMutationBatch(e,t){return Yo(e).get(t).next((e=>e?(I(e.userId===this.userId),eo(this.serializer,e)):null))}vn(e,t){return this.Cn[t]?ve.resolve(this.Cn[t]):this.lookupMutationBatch(e,t).next((e=>{if(e){const n=e.keys();return this.Cn[t]=n,n}return null}))}getNextMutationBatchAfterBatchId(e,t){const n=t+1,r=IDBKeyRange.lowerBound([this.userId,n]);let i=null;return Yo(e).J({index:"userMutationsIndex",range:r},((e,t,r)=>{t.userId===this.userId&&(I(t.batchId>=n),i=eo(this.serializer,t)),r.done()})).next((()=>i))}getHighestUnacknowledgedBatchId(e){const t=IDBKeyRange.upperBound([this.userId,Number.POSITIVE_INFINITY]);let n=-1;return Yo(e).J({index:"userMutationsIndex",range:t,reverse:!0},((e,t,r)=>{n=t.batchId,r.done()})).next((()=>n))}getAllMutationBatches(e){const t=IDBKeyRange.bound([this.userId,-1],[this.userId,Number.POSITIVE_INFINITY]);return Yo(e).U("userMutationsIndex",t).next((e=>e.map((e=>eo(this.serializer,e)))))}getAllMutationBatchesAffectingDocumentKey(e,t){const n=Be(this.userId,t.path),r=IDBKeyRange.lowerBound(n),i=[];return Ko(e).J({range:r},((n,r,o)=>{const[a,s,l]=n,c=je(s);if(a===this.userId&&t.path.isEqual(c))return Yo(e).get(l).next((e=>{if(!e)throw F();I(e.userId===this.userId),i.push(eo(this.serializer,e))}));o.done()})).next((()=>i))}getAllMutationBatchesAffectingDocumentKeys(e,t){let n=new gt(K);const r=[];return t.forEach((t=>{const i=Be(this.userId,t.path),o=IDBKeyRange.lowerBound(i),a=Ko(e).J({range:o},((e,r,i)=>{const[o,a,s]=e,l=je(a);o===this.userId&&t.path.isEqual(l)?n=n.add(s):i.done()}));r.push(a)})),ve.waitFor(r).next((()=>this.Fn(e,n)))}getAllMutationBatchesAffectingQuery(e,t){const n=t.path,r=n.length+1,i=Be(this.userId,n),o=IDBKeyRange.lowerBound(i);let a=new gt(K);return Ko(e).J({range:o},((e,t,i)=>{const[o,s,l]=e,c=je(s);o===this.userId&&n.isPrefixOf(c)?c.length===r&&(a=a.add(l)):i.done()})).next((()=>this.Fn(e,a)))}Fn(e,t){const n=[],r=[];return t.forEach((t=>{r.push(Yo(e).get(t).next((e=>{if(null===e)throw F();I(e.userId===this.userId),n.push(eo(this.serializer,e))})))})),ve.waitFor(r).next((()=>n))}removeMutationBatch(e,t){return Zo(e._e,this.userId,t).next((n=>(e.addOnCommittedListener((()=>{this.Mn(t.batchId)})),ve.forEach(n,(t=>this.referenceDelegate.markPotentiallyOrphaned(e,t))))))}Mn(e){delete this.Cn[e]}performConsistencyCheck(e){return this.checkEmpty(e).next((t=>{if(!t)return ve.resolve();const n=IDBKeyRange.lowerBound(function(e){return[e]}(this.userId)),r=[];return Ko(e).J({range:n},((e,t,n)=>{if(e[0]===this.userId){const t=je(e[1]);r.push(t)}else n.done()})).next((()=>{I(0===r.length)}))}))}containsKey(e,t){return Go(e,this.userId,t)}xn(e){return Qo(e).get(this.userId).next((e=>e||{userId:this.userId,lastAcknowledgedBatchId:-1,lastStreamToken:""}))}}function Go(e,t,n){const r=Be(t,n.path),i=r[1],o=IDBKeyRange.lowerBound(r);let a=!1;return Ko(e).J({range:o,H:!0},((e,n,r)=>{const[o,s,l]=e;o===t&&s===i&&(a=!0),r.done()})).next((()=>a))}function Yo(e){return ct(e,"mutations")}function Ko(e){return ct(e,"documentMutations")}function Qo(e){return ct(e,"mutationQueues")}class Xo{constructor(e){this.On=e}next(){return this.On+=2,this.On}static Nn(){return new Xo(0)}static Ln(){return new Xo(-1)}}class Jo{constructor(e,t){this.referenceDelegate=e,this.serializer=t}allocateTargetId(e){return this.Bn(e).next((t=>{const n=new Xo(t.highestTargetId);return t.highestTargetId=n.next(),this.kn(e,t).next((()=>t.highestTargetId))}))}getLastRemoteSnapshotVersion(e){return this.Bn(e).next((e=>$.fromTimestamp(new J(e.lastRemoteSnapshotVersion.seconds,e.lastRemoteSnapshotVersion.nanoseconds))))}getHighestSequenceNumber(e){return this.Bn(e).next((e=>e.highestListenSequenceNumber))}setTargetsMetadata(e,t,n){return this.Bn(e).next((r=>(r.highestListenSequenceNumber=t,n&&(r.lastRemoteSnapshotVersion=n.toTimestamp()),t>r.highestListenSequenceNumber&&(r.highestListenSequenceNumber=t),this.kn(e,r))))}addTargetData(e,t){return this.qn(e,t).next((()=>this.Bn(e).next((n=>(n.targetCount+=1,this.Qn(t,n),this.kn(e,n))))))}updateTargetData(e,t){return this.qn(e,t)}removeTargetData(e,t){return this.removeMatchingKeysForTargetId(e,t.targetId).next((()=>$o(e).delete(t.targetId))).next((()=>this.Bn(e))).next((t=>(I(t.targetCount>0),t.targetCount-=1,this.kn(e,t))))}removeTargets(e,t,n){let r=0;const i=[];return $o(e).J(((o,a)=>{const s=to(a);s.sequenceNumber<=t&&null===n.get(s.targetId)&&(r++,i.push(this.removeTargetData(e,s)))})).next((()=>ve.waitFor(i))).next((()=>r))}forEachTarget(e,t){return $o(e).J(((e,n)=>{const r=to(n);t(r)}))}Bn(e){return ea(e).get("targetGlobalKey").next((e=>(I(null!==e),e)))}kn(e,t){return ea(e).put("targetGlobalKey",t)}qn(e,t){return $o(e).put(no(this.serializer,t))}Qn(e,t){let n=!1;return e.targetId>t.highestTargetId&&(t.highestTargetId=e.targetId,n=!0),e.sequenceNumber>t.highestListenSequenceNumber&&(t.highestListenSequenceNumber=e.sequenceNumber,n=!0),n}getTargetCount(e){return this.Bn(e).next((e=>e.targetCount))}getTargetData(e,t){const n=Pn(t),r=IDBKeyRange.bound([n,Number.NEGATIVE_INFINITY],[n,Number.POSITIVE_INFINITY]);let i=null;return $o(e).J({range:r,index:"queryTargetsIndex"},((e,n,r)=>{const o=to(n);Dn(t,o.target)&&(i=o,r.done())})).next((()=>i))}addMatchingKeys(e,t,n){const r=[],i=ta(e);return t.forEach((t=>{const o=Re(t.path);r.push(i.put({targetId:n,path:o})),r.push(this.referenceDelegate.addReference(e,n,t))})),ve.waitFor(r)}removeMatchingKeys(e,t,n){const r=ta(e);return ve.forEach(t,(t=>{const i=Re(t.path);return ve.waitFor([r.delete([n,i]),this.referenceDelegate.removeReference(e,n,t)])}))}removeMatchingKeysForTargetId(e,t){const n=ta(e),r=IDBKeyRange.bound([t],[t+1],!1,!0);return n.delete(r)}getMatchingKeysForTargetId(e,t){const n=IDBKeyRange.bound([t],[t+1],!1,!0),r=ta(e);let i=cr();return r.J({range:n,H:!0},((e,t,n)=>{const r=je(e[1]),o=new ie(r);i=i.add(o)})).next((()=>i))}containsKey(e,t){const n=Re(t.path),r=IDBKeyRange.bound([n],[X(n)],!1,!0);let i=0;return ta(e).J({index:"documentTargetsIndex",H:!0,range:r},((e,t,n)=>{let[r,o]=e;0!==r&&(i++,n.done())})).next((()=>i>0))}ot(e,t){return $o(e).get(t).next((e=>e?to(e):null))}}function $o(e){return ct(e,"targets")}function ea(e){return ct(e,"targetGlobal")}function ta(e){return ct(e,"targetDocuments")}function na(e,t){let[n,r]=e,[i,o]=t;const a=K(n,i);return 0===a?K(r,o):a}class ra{constructor(e){this.Kn=e,this.buffer=new gt(na),this.$n=0}Un(){return++this.$n}Wn(e){const t=[e,this.Un()];if(this.buffer.size<this.Kn)this.buffer=this.buffer.add(t);else{const e=this.buffer.last();na(t,e)<0&&(this.buffer=this.buffer.delete(e).add(t))}}get maxValue(){return this.buffer.last()[0]}}class ia{constructor(e,t,n){this.garbageCollector=e,this.asyncQueue=t,this.localStore=n,this.Gn=null}start(){-1!==this.garbageCollector.params.cacheSizeCollectionThreshold&&this.zn(6e4)}stop(){this.Gn&&(this.Gn.cancel(),this.Gn=null)}get started(){return null!==this.Gn}zn(e){k("LruGarbageCollector","Garbage collection scheduled in ".concat(e,"ms")),this.Gn=this.asyncQueue.enqueueAfterDelay("lru_garbage_collection",e,(async()=>{this.Gn=null;try{await this.localStore.collectGarbage(this.garbageCollector)}catch(e){Ae(e)?k("LruGarbageCollector","Ignoring IndexedDB error during garbage collection: ",e):await ge(e)}await this.zn(3e5)}))}}class oa{constructor(e,t){this.jn=e,this.params=t}calculateTargetCount(e,t){return this.jn.Hn(e).next((e=>Math.floor(t/100*e)))}nthSequenceNumber(e,t){if(0===t)return ve.resolve(De.oe);const n=new ra(t);return this.jn.forEachTarget(e,(e=>n.Wn(e.sequenceNumber))).next((()=>this.jn.Jn(e,(e=>n.Wn(e))))).next((()=>n.maxValue))}removeTargets(e,t,n){return this.jn.removeTargets(e,t,n)}removeOrphanedDocuments(e,t){return this.jn.removeOrphanedDocuments(e,t)}collect(e,t){return-1===this.params.cacheSizeCollectionThreshold?(k("LruGarbageCollector","Garbage collection skipped; disabled"),ve.resolve(Ho)):this.getCacheSize(e).next((n=>n<this.params.cacheSizeCollectionThreshold?(k("LruGarbageCollector","Garbage collection skipped; Cache size ".concat(n," is lower than threshold ").concat(this.params.cacheSizeCollectionThreshold)),Ho):this.Yn(e,t)))}getCacheSize(e){return this.jn.getCacheSize(e)}Yn(e,t){let n,r,i,o,a,l,c;const u=Date.now();return this.calculateTargetCount(e,this.params.percentileToCollect).next((t=>(t>this.params.maximumSequenceNumbersToCollect?(k("LruGarbageCollector","Capping sequence numbers to collect down to the maximum of ".concat(this.params.maximumSequenceNumbersToCollect," from ").concat(t)),r=this.params.maximumSequenceNumbersToCollect):r=t,o=Date.now(),this.nthSequenceNumber(e,r)))).next((r=>(n=r,a=Date.now(),this.removeTargets(e,n,t)))).next((t=>(i=t,l=Date.now(),this.removeOrphanedDocuments(e,n)))).next((e=>(c=Date.now(),T()<=s.$b.DEBUG&&k("LruGarbageCollector","LRU Garbage Collection\n\tCounted targets in ".concat(o-u,"ms\n\tDetermined least recently used ").concat(r," in ")+(a-o)+"ms\n"+"\tRemoved ".concat(i," targets in ")+(l-a)+"ms\n"+"\tRemoved ".concat(e," documents in ")+(c-l)+"ms\n"+"Total Duration: ".concat(c-u,"ms")),ve.resolve({didRun:!0,sequenceNumbersCollected:r,targetsRemoved:i,documentsRemoved:e}))))}}function aa(e,t){return new oa(e,t)}class sa{constructor(e,t){this.db=e,this.garbageCollector=aa(this,t)}Hn(e){const t=this.Zn(e);return this.db.getTargetCache().getTargetCount(e).next((e=>t.next((t=>e+t))))}Zn(e){let t=0;return this.Jn(e,(e=>{t++})).next((()=>t))}forEachTarget(e,t){return this.db.getTargetCache().forEachTarget(e,t)}Jn(e,t){return this.Xn(e,((e,n)=>t(n)))}addReference(e,t,n){return la(e,n)}removeReference(e,t,n){return la(e,n)}removeTargets(e,t,n){return this.db.getTargetCache().removeTargets(e,t,n)}markPotentiallyOrphaned(e,t){return la(e,t)}er(e,t){return function(e,t){let n=!1;return Qo(e).Y((r=>Go(e,r,t).next((e=>(e&&(n=!0),ve.resolve(!e)))))).next((()=>n))}(e,t)}removeOrphanedDocuments(e,t){const n=this.db.getRemoteDocumentCache().newChangeBuffer(),r=[];let i=0;return this.Xn(e,((o,a)=>{if(a<=t){const t=this.er(e,o).next((t=>{if(!t)return i++,n.getEntry(e,o).next((()=>(n.removeEntry(o,$.min()),ta(e).delete(function(e){return[0,Re(e.path)]}(o)))))}));r.push(t)}})).next((()=>ve.waitFor(r))).next((()=>n.apply(e))).next((()=>i))}removeTarget(e,t){const n=t.withSequenceNumber(e.currentSequenceNumber);return this.db.getTargetCache().updateTargetData(e,n)}updateLimboDocument(e,t){return la(e,t)}Xn(e,t){const n=ta(e);let r,i=De.oe;return n.J({index:"documentTargetsIndex"},((e,n)=>{let[o,a]=e,{path:s,sequenceNumber:l}=n;0===o?(i!==De.oe&&t(new ie(je(r)),i),i=l,r=s):i=De.oe})).next((()=>{i!==De.oe&&t(new ie(je(r)),i)}))}getCacheSize(e){return this.db.getRemoteDocumentCache().getSize(e)}}function la(e,t){return ta(e).put(function(e,t){return{targetId:0,path:Re(e.path),sequenceNumber:t}}(t,e.currentSequenceNumber))}class ca{constructor(){this.changes=new Jn((e=>e.toString()),((e,t)=>e.isEqual(t))),this.changesApplied=!1}addEntry(e){this.assertNotApplied(),this.changes.set(e.key,e)}removeEntry(e,t){this.assertNotApplied(),this.changes.set(e,tn.newInvalidDocument(e).setReadTime(t))}getEntry(e,t){this.assertNotApplied();const n=this.changes.get(t);return void 0!==n?ve.resolve(n):this.getFromCache(e,t)}getEntries(e,t){return this.getAllFromCache(e,t)}apply(e){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(e)}assertNotApplied(){}}class ua{constructor(e){this.serializer=e}setIndexManager(e){this.indexManager=e}addEntry(e,t,n){return fa(e).put(n)}removeEntry(e,t,n){return fa(e).delete(function(e,t){const n=e.path.toArray();return[n.slice(0,n.length-2),n[n.length-2],Xi(t),n[n.length-1]]}(t,n))}updateMetadata(e,t){return this.getMetadata(e).next((n=>(n.byteSize+=t,this.tr(e,n))))}getEntry(e,t){let n=tn.newInvalidDocument(t);return fa(e).J({index:"documentKeyIndex",range:IDBKeyRange.only(ma(t))},((e,r)=>{n=this.nr(t,r)})).next((()=>n))}rr(e,t){let n={size:0,document:tn.newInvalidDocument(t)};return fa(e).J({index:"documentKeyIndex",range:IDBKeyRange.only(ma(t))},((e,r)=>{n={document:this.nr(t,r),size:Wo(r)}})).next((()=>n))}getEntries(e,t){let n=er();return this.ir(e,t,((e,t)=>{const r=this.nr(e,t);n=n.insert(e,r)})).next((()=>n))}sr(e,t){let n=er(),r=new pt(ie.comparator);return this.ir(e,t,((e,t)=>{const i=this.nr(e,t);n=n.insert(e,i),r=r.insert(e,Wo(t))})).next((()=>({documents:n,_r:r})))}ir(e,t,n){if(t.isEmpty())return ve.resolve();let r=new gt(va);t.forEach((e=>r=r.add(e)));const i=IDBKeyRange.bound(ma(r.first()),ma(r.last())),o=r.getIterator();let a=o.getNext();return fa(e).J({index:"documentKeyIndex",range:i},((e,t,r)=>{const i=ie.fromSegments([...t.prefixPath,t.collectionGroup,t.documentId]);for(;a&&va(a,i)<0;)n(a,null),a=o.getNext();a&&a.isEqual(i)&&(n(a,t),a=o.hasNext()?o.getNext():null),a?r.$(ma(a)):r.done()})).next((()=>{for(;a;)n(a,null),a=o.hasNext()?o.getNext():null}))}getDocumentsMatchingQuery(e,t,n,r,i){const o=t.path,a=[o.popLast().toArray(),o.lastSegment(),Xi(n.readTime),n.documentKey.path.isEmpty()?"":n.documentKey.path.lastSegment()],s=[o.popLast().toArray(),o.lastSegment(),[Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],""];return fa(e).U(IDBKeyRange.bound(a,s,!0)).next((e=>{null==i||i.incrementDocumentReadCount(e.length);let n=er();for(const i of e){const e=this.nr(ie.fromSegments(i.prefixPath.concat(i.collectionGroup,i.documentId)),i);e.isFoundDocument()&&(Yn(t,e)||r.has(e.key))&&(n=n.insert(e.key,e))}return n}))}getAllFromCollectionGroup(e,t,n,r){let i=er();const o=ga(t,n),a=ga(t,he.max());return fa(e).J({index:"collectionGroupIndex",range:IDBKeyRange.bound(o,a,!0)},((e,t,n)=>{const o=this.nr(ie.fromSegments(t.prefixPath.concat(t.collectionGroup,t.documentId)),t);i=i.insert(o.key,o),i.size===r&&n.done()})).next((()=>i))}newChangeBuffer(e){return new ha(this,!!e&&e.trackRemovals)}getSize(e){return this.getMetadata(e).next((e=>e.byteSize))}getMetadata(e){return pa(e).get("remoteDocumentGlobalKey").next((e=>(I(!!e),e)))}tr(e,t){return pa(e).put("remoteDocumentGlobalKey",t)}nr(e,t){if(t){const e=function(e,t){let n;if(t.document)n=Ii(e.ct,t.document,!!t.hasCommittedMutations);else if(t.noDocument){const e=ie.fromSegments(t.noDocument.path),r=$i(t.noDocument.readTime);n=tn.newNoDocument(e,r),t.hasCommittedMutations&&n.setHasCommittedMutations()}else{if(!t.unknownDocument)return F();{const e=ie.fromSegments(t.unknownDocument.path),r=$i(t.unknownDocument.version);n=tn.newUnknownDocument(e,r)}}return t.readTime&&n.setReadTime(function(e){const t=new J(e[0],e[1]);return $.fromTimestamp(t)}(t.readTime)),n}(this.serializer,t);if(!e.isNoDocument()||!e.version.isEqual($.min()))return e}return tn.newInvalidDocument(e)}}function da(e){return new ua(e)}class ha extends ca{constructor(e,t){super(),this.ar=e,this.trackRemovals=t,this.ur=new Jn((e=>e.toString()),((e,t)=>e.isEqual(t)))}applyChanges(e){const t=[];let n=0,r=new gt(((e,t)=>K(e.canonicalString(),t.canonicalString())));return this.changes.forEach(((i,o)=>{const a=this.ur.get(i);if(t.push(this.ar.removeEntry(e,i,a.readTime)),o.isValidDocument()){const s=Qi(this.ar.serializer,o);r=r.add(i.path.popLast());const l=Wo(s);n+=l-a.size,t.push(this.ar.addEntry(e,i,s))}else if(n-=a.size,this.trackRemovals){const n=Qi(this.ar.serializer,o.convertToNoDocument($.min()));t.push(this.ar.addEntry(e,i,n))}})),r.forEach((n=>{t.push(this.ar.indexManager.addToCollectionParentIndex(e,n))})),t.push(this.ar.updateMetadata(e,n)),ve.waitFor(t)}getFromCache(e,t){return this.ar.rr(e,t).next((e=>(this.ur.set(t,{size:e.size,readTime:e.document.readTime}),e.document)))}getAllFromCache(e,t){return this.ar.sr(e,t).next((e=>{let{documents:t,_r:n}=e;return n.forEach(((e,n)=>{this.ur.set(e,{size:n,readTime:t.get(e).readTime})})),t}))}}function pa(e){return ct(e,"remoteDocumentGlobal")}function fa(e){return ct(e,"remoteDocumentsV14")}function ma(e){const t=e.path.toArray();return[t.slice(0,t.length-2),t[t.length-2],t[t.length-1]]}function ga(e,t){const n=t.documentKey.path.toArray();return[e,Xi(t.readTime),n.slice(0,n.length-2),n.length>0?n[n.length-1]:""]}function va(e,t){const n=e.path.toArray(),r=t.path.toArray();let i=0;for(let o=0;o<n.length-2&&o<r.length-2;++o)if(i=K(n[o],r[o]),i)return i;return i=K(n.length,r.length),i||(i=K(n[n.length-2],r[r.length-2]),i||K(n[n.length-1],r[r.length-1]))}class Ca{constructor(e,t){this.overlayedDocument=e,this.mutatedFields=t}}class ya{constructor(e,t,n,r){this.remoteDocumentCache=e,this.mutationQueue=t,this.documentOverlayCache=n,this.indexManager=r}getDocument(e,t){let n=null;return this.documentOverlayCache.getOverlay(e,t).next((r=>(n=r,this.remoteDocumentCache.getEntry(e,t)))).next((e=>(null!==n&&Rr(n.mutation,e,yt.empty(),J.now()),e)))}getDocuments(e,t){return this.remoteDocumentCache.getEntries(e,t).next((t=>this.getLocalViewOfDocuments(e,t,cr()).next((()=>t))))}getLocalViewOfDocuments(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cr();const r=ir();return this.populateOverlays(e,r,t).next((()=>this.computeViews(e,t,r,n).next((e=>{let t=nr();return e.forEach(((e,n)=>{t=t.insert(e,n.overlayedDocument)})),t}))))}getOverlayedDocuments(e,t){const n=ir();return this.populateOverlays(e,n,t).next((()=>this.computeViews(e,t,n,cr())))}populateOverlays(e,t,n){const r=[];return n.forEach((e=>{t.has(e)||r.push(e)})),this.documentOverlayCache.getOverlays(e,r).next((e=>{e.forEach(((e,n)=>{t.set(e,n)}))}))}computeViews(e,t,n,r){let i=er();const o=ar(),a=ar();return t.forEach(((e,t)=>{const a=n.get(t.key);r.has(t.key)&&(void 0===a||a.mutation instanceof Lr)?i=i.insert(t.key,t):void 0!==a?(o.set(t.key,a.mutation.getFieldMask()),Rr(a.mutation,t,a.mutation.getFieldMask(),J.now())):o.set(t.key,yt.empty())})),this.recalculateAndSaveOverlays(e,i).next((e=>(e.forEach(((e,t)=>o.set(e,t))),t.forEach(((e,t)=>{var n;return a.set(e,new Ca(t,null!==(n=o.get(e))&&void 0!==n?n:null))})),a)))}recalculateAndSaveOverlays(e,t){const n=ar();let r=new pt(((e,t)=>e-t)),i=cr();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(e,t).next((e=>{for(const i of e)i.keys().forEach((e=>{const o=t.get(e);if(null===o)return;let a=n.get(e)||yt.empty();a=i.applyToLocalView(o,a),n.set(e,a);const s=(r.get(i.batchId)||cr()).add(e);r=r.insert(i.batchId,s)}))})).next((()=>{const o=[],a=r.getReverseIterator();for(;a.hasNext();){const r=a.getNext(),s=r.key,l=r.value,c=or();l.forEach((e=>{if(!i.has(e)){const r=Fr(t.get(e),n.get(e));null!==r&&c.set(e,r),i=i.add(e)}})),o.push(this.documentOverlayCache.saveOverlays(e,s,c))}return ve.waitFor(o)})).next((()=>n))}recalculateAndSaveOverlaysForDocumentKeys(e,t){return this.remoteDocumentCache.getEntries(e,t).next((t=>this.recalculateAndSaveOverlays(e,t)))}getDocumentsMatchingQuery(e,t,n,r){return function(e){return ie.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}(t)?this.getDocumentsMatchingDocumentQuery(e,t.path):Bn(t)?this.getDocumentsMatchingCollectionGroupQuery(e,t,n,r):this.getDocumentsMatchingCollectionQuery(e,t,n,r)}getNextDocuments(e,t,n,r){return this.remoteDocumentCache.getAllFromCollectionGroup(e,t,n,r).next((i=>{const o=r-i.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(e,t,n.largestBatchId,r-i.size):ve.resolve(ir());let a=-1,s=i;return o.next((t=>ve.forEach(t,((t,n)=>(a<n.largestBatchId&&(a=n.largestBatchId),i.get(t)?ve.resolve():this.remoteDocumentCache.getEntry(e,t).next((e=>{s=s.insert(t,e)}))))).next((()=>this.populateOverlays(e,t,i))).next((()=>this.computeViews(e,s,t,cr()))).next((e=>({batchId:a,changes:rr(e)})))))}))}getDocumentsMatchingDocumentQuery(e,t){return this.getDocument(e,new ie(t)).next((e=>{let t=nr();return e.isFoundDocument()&&(t=t.insert(e.key,e)),t}))}getDocumentsMatchingCollectionGroupQuery(e,t,n,r){const i=t.collectionGroup;let o=nr();return this.indexManager.getCollectionParents(e,i).next((a=>ve.forEach(a,(a=>{const s=function(e,t){return new Mn(t,null,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(t,a.child(i));return this.getDocumentsMatchingCollectionQuery(e,s,n,r).next((e=>{e.forEach(((e,t)=>{o=o.insert(e,t)}))}))})).next((()=>o))))}getDocumentsMatchingCollectionQuery(e,t,n,r){let i;return this.documentOverlayCache.getOverlaysForCollection(e,t.path,n.largestBatchId).next((o=>(i=o,this.remoteDocumentCache.getDocumentsMatchingQuery(e,t,n,i,r)))).next((e=>{i.forEach(((t,n)=>{const r=n.getKey();null===e.get(r)&&(e=e.insert(r,tn.newInvalidDocument(r)))}));let n=nr();return e.forEach(((e,r)=>{const o=i.get(e);void 0!==o&&Rr(o.mutation,r,yt.empty(),J.now()),Yn(t,r)&&(n=n.insert(e,r))})),n}))}}class ba{constructor(e){this.serializer=e,this.cr=new Map,this.lr=new Map}getBundleMetadata(e,t){return ve.resolve(this.cr.get(t))}saveBundleMetadata(e,t){return this.cr.set(t.id,function(e){return{id:e.id,version:e.version,createTime:xi(e.createTime)}}(t)),ve.resolve()}getNamedQuery(e,t){return ve.resolve(this.lr.get(t))}saveNamedQuery(e,t){return this.lr.set(t.name,function(e){return{name:e.name,query:ro(e.bundledQuery),readTime:xi(e.readTime)}}(t)),ve.resolve()}}class wa{constructor(){this.overlays=new pt(ie.comparator),this.hr=new Map}getOverlay(e,t){return ve.resolve(this.overlays.get(t))}getOverlays(e,t){const n=ir();return ve.forEach(t,(t=>this.getOverlay(e,t).next((e=>{null!==e&&n.set(t,e)})))).next((()=>n))}saveOverlays(e,t,n){return n.forEach(((n,r)=>{this.ht(e,t,r)})),ve.resolve()}removeOverlaysForBatchId(e,t,n){const r=this.hr.get(n);return void 0!==r&&(r.forEach((e=>this.overlays=this.overlays.remove(e))),this.hr.delete(n)),ve.resolve()}getOverlaysForCollection(e,t,n){const r=ir(),i=t.length+1,o=new ie(t.child("")),a=this.overlays.getIteratorFrom(o);for(;a.hasNext();){const e=a.getNext().value,o=e.getKey();if(!t.isPrefixOf(o.path))break;o.path.length===i&&e.largestBatchId>n&&r.set(e.getKey(),e)}return ve.resolve(r)}getOverlaysForCollectionGroup(e,t,n,r){let i=new pt(((e,t)=>e-t));const o=this.overlays.getIterator();for(;o.hasNext();){const e=o.getNext().value;if(e.getKey().getCollectionGroup()===t&&e.largestBatchId>n){let t=i.get(e.largestBatchId);null===t&&(t=ir(),i=i.insert(e.largestBatchId,t)),t.set(e.getKey(),e)}}const a=ir(),s=i.getIterator();for(;s.hasNext()&&(s.getNext().value.forEach(((e,t)=>a.set(e,t))),!(a.size()>=r)););return ve.resolve(a)}ht(e,t,n){const r=this.overlays.get(n.key);if(null!==r){const e=this.hr.get(r.largestBatchId).delete(n.key);this.hr.set(r.largestBatchId,e)}this.overlays=this.overlays.insert(n.key,new qr(t,n));let i=this.hr.get(t);void 0===i&&(i=cr(),this.hr.set(t,i)),this.hr.set(t,i.add(n.key))}}class xa{constructor(){this.Pr=new gt(Aa.Ir),this.Tr=new gt(Aa.Er)}isEmpty(){return this.Pr.isEmpty()}addReference(e,t){const n=new Aa(e,t);this.Pr=this.Pr.add(n),this.Tr=this.Tr.add(n)}dr(e,t){e.forEach((e=>this.addReference(e,t)))}removeReference(e,t){this.Ar(new Aa(e,t))}Rr(e,t){e.forEach((e=>this.removeReference(e,t)))}Vr(e){const t=new ie(new te([])),n=new Aa(t,e),r=new Aa(t,e+1),i=[];return this.Tr.forEachInRange([n,r],(e=>{this.Ar(e),i.push(e.key)})),i}mr(){this.Pr.forEach((e=>this.Ar(e)))}Ar(e){this.Pr=this.Pr.delete(e),this.Tr=this.Tr.delete(e)}gr(e){const t=new ie(new te([])),n=new Aa(t,e),r=new Aa(t,e+1);let i=cr();return this.Tr.forEachInRange([n,r],(e=>{i=i.add(e.key)})),i}containsKey(e){const t=new Aa(e,0),n=this.Pr.firstAfterOrEqual(t);return null!==n&&e.isEqual(n.key)}}class Aa{constructor(e,t){this.key=e,this.pr=t}static Ir(e,t){return ie.comparator(e.key,t.key)||K(e.pr,t.pr)}static Er(e,t){return K(e.pr,t.pr)||ie.comparator(e.key,t.key)}}class Ea{constructor(e,t){this.indexManager=e,this.referenceDelegate=t,this.mutationQueue=[],this.yr=1,this.wr=new gt(Aa.Ir)}checkEmpty(e){return ve.resolve(0===this.mutationQueue.length)}addMutationBatch(e,t,n,r){const i=this.yr;this.yr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const o=new Zr(i,t,n,r);this.mutationQueue.push(o);for(const a of r)this.wr=this.wr.add(new Aa(a.key,i)),this.indexManager.addToCollectionParentIndex(e,a.key.path.popLast());return ve.resolve(o)}lookupMutationBatch(e,t){return ve.resolve(this.Sr(t))}getNextMutationBatchAfterBatchId(e,t){const n=t+1,r=this.br(n),i=r<0?0:r;return ve.resolve(this.mutationQueue.length>i?this.mutationQueue[i]:null)}getHighestUnacknowledgedBatchId(){return ve.resolve(0===this.mutationQueue.length?-1:this.yr-1)}getAllMutationBatches(e){return ve.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(e,t){const n=new Aa(t,0),r=new Aa(t,Number.POSITIVE_INFINITY),i=[];return this.wr.forEachInRange([n,r],(e=>{const t=this.Sr(e.pr);i.push(t)})),ve.resolve(i)}getAllMutationBatchesAffectingDocumentKeys(e,t){let n=new gt(K);return t.forEach((e=>{const t=new Aa(e,0),r=new Aa(e,Number.POSITIVE_INFINITY);this.wr.forEachInRange([t,r],(e=>{n=n.add(e.pr)}))})),ve.resolve(this.Dr(n))}getAllMutationBatchesAffectingQuery(e,t){const n=t.path,r=n.length+1;let i=n;ie.isDocumentKey(i)||(i=i.child(""));const o=new Aa(new ie(i),0);let a=new gt(K);return this.wr.forEachWhile((e=>{const t=e.key.path;return!!n.isPrefixOf(t)&&(t.length===r&&(a=a.add(e.pr)),!0)}),o),ve.resolve(this.Dr(a))}Dr(e){const t=[];return e.forEach((e=>{const n=this.Sr(e);null!==n&&t.push(n)})),t}removeMutationBatch(e,t){I(0===this.Cr(t.batchId,"removed")),this.mutationQueue.shift();let n=this.wr;return ve.forEach(t.mutations,(r=>{const i=new Aa(r.key,t.batchId);return n=n.delete(i),this.referenceDelegate.markPotentiallyOrphaned(e,r.key)})).next((()=>{this.wr=n}))}Mn(e){}containsKey(e,t){const n=new Aa(t,0),r=this.wr.firstAfterOrEqual(n);return ve.resolve(t.isEqual(r&&r.key))}performConsistencyCheck(e){return this.mutationQueue.length,ve.resolve()}Cr(e,t){return this.br(e)}br(e){return 0===this.mutationQueue.length?0:e-this.mutationQueue[0].batchId}Sr(e){const t=this.br(e);return t<0||t>=this.mutationQueue.length?null:this.mutationQueue[t]}}class _a{constructor(e){this.vr=e,this.docs=new pt(ie.comparator),this.size=0}setIndexManager(e){this.indexManager=e}addEntry(e,t){const n=t.key,r=this.docs.get(n),i=r?r.size:0,o=this.vr(t);return this.docs=this.docs.insert(n,{document:t.mutableCopy(),size:o}),this.size+=o-i,this.indexManager.addToCollectionParentIndex(e,n.path.popLast())}removeEntry(e){const t=this.docs.get(e);t&&(this.docs=this.docs.remove(e),this.size-=t.size)}getEntry(e,t){const n=this.docs.get(t);return ve.resolve(n?n.document.mutableCopy():tn.newInvalidDocument(t))}getEntries(e,t){let n=er();return t.forEach((e=>{const t=this.docs.get(e);n=n.insert(e,t?t.document.mutableCopy():tn.newInvalidDocument(e))})),ve.resolve(n)}getDocumentsMatchingQuery(e,t,n,r){let i=er();const o=t.path,a=new ie(o.child("")),s=this.docs.getIteratorFrom(a);for(;s.hasNext();){const{key:e,value:{document:a}}=s.getNext();if(!o.isPrefixOf(e.path))break;e.path.length>o.length+1||pe(de(a),n)<=0||(r.has(a.key)||Yn(t,a))&&(i=i.insert(a.key,a.mutableCopy()))}return ve.resolve(i)}getAllFromCollectionGroup(e,t,n,r){F()}Fr(e,t){return ve.forEach(this.docs,(e=>t(e)))}newChangeBuffer(e){return new Ta(this)}getSize(e){return ve.resolve(this.size)}}class Ta extends ca{constructor(e){super(),this.ar=e}applyChanges(e){const t=[];return this.changes.forEach(((n,r)=>{r.isValidDocument()?t.push(this.ar.addEntry(e,r)):this.ar.removeEntry(n)})),ve.waitFor(t)}getFromCache(e,t){return this.ar.getEntry(e,t)}getAllFromCache(e,t){return this.ar.getEntries(e,t)}}class Sa{constructor(e){this.persistence=e,this.Mr=new Jn((e=>Pn(e)),Dn),this.lastRemoteSnapshotVersion=$.min(),this.highestTargetId=0,this.Or=0,this.Nr=new xa,this.targetCount=0,this.Lr=Xo.Nn()}forEachTarget(e,t){return this.Mr.forEach(((e,n)=>t(n))),ve.resolve()}getLastRemoteSnapshotVersion(e){return ve.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(e){return ve.resolve(this.Or)}allocateTargetId(e){return this.highestTargetId=this.Lr.next(),ve.resolve(this.highestTargetId)}setTargetsMetadata(e,t,n){return n&&(this.lastRemoteSnapshotVersion=n),t>this.Or&&(this.Or=t),ve.resolve()}qn(e){this.Mr.set(e.target,e);const t=e.targetId;t>this.highestTargetId&&(this.Lr=new Xo(t),this.highestTargetId=t),e.sequenceNumber>this.Or&&(this.Or=e.sequenceNumber)}addTargetData(e,t){return this.qn(t),this.targetCount+=1,ve.resolve()}updateTargetData(e,t){return this.qn(t),ve.resolve()}removeTargetData(e,t){return this.Mr.delete(t.target),this.Nr.Vr(t.targetId),this.targetCount-=1,ve.resolve()}removeTargets(e,t,n){let r=0;const i=[];return this.Mr.forEach(((o,a)=>{a.sequenceNumber<=t&&null===n.get(a.targetId)&&(this.Mr.delete(o),i.push(this.removeMatchingKeysForTargetId(e,a.targetId)),r++)})),ve.waitFor(i).next((()=>r))}getTargetCount(e){return ve.resolve(this.targetCount)}getTargetData(e,t){const n=this.Mr.get(t)||null;return ve.resolve(n)}addMatchingKeys(e,t,n){return this.Nr.dr(t,n),ve.resolve()}removeMatchingKeys(e,t,n){this.Nr.Rr(t,n);const r=this.persistence.referenceDelegate,i=[];return r&&t.forEach((t=>{i.push(r.markPotentiallyOrphaned(e,t))})),ve.waitFor(i)}removeMatchingKeysForTargetId(e,t){return this.Nr.Vr(t),ve.resolve()}getMatchingKeysForTargetId(e,t){const n=this.Nr.gr(t);return ve.resolve(n)}containsKey(e,t){return ve.resolve(this.Nr.containsKey(t))}}class ka{constructor(e,t){this.Br={},this.overlays={},this.kr=new De(0),this.qr=!1,this.qr=!0,this.referenceDelegate=e(this),this.Qr=new Sa(this),this.indexManager=new Io,this.remoteDocumentCache=function(e){return new _a(e)}((e=>this.referenceDelegate.Kr(e))),this.serializer=new Ki(t),this.$r=new ba(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.qr=!1,Promise.resolve()}get started(){return this.qr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(e){return this.indexManager}getDocumentOverlayCache(e){let t=this.overlays[e.toKey()];return t||(t=new wa,this.overlays[e.toKey()]=t),t}getMutationQueue(e,t){let n=this.Br[e.toKey()];return n||(n=new Ea(t,this.referenceDelegate),this.Br[e.toKey()]=n),n}getTargetCache(){return this.Qr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.$r}runTransaction(e,t,n){k("MemoryPersistence","Starting transaction:",e);const r=new Pa(this.kr.next());return this.referenceDelegate.Ur(),n(r).next((e=>this.referenceDelegate.Wr(r).next((()=>e)))).toPromise().then((e=>(r.raiseOnCommittedEvent(),e)))}Gr(e,t){return ve.or(Object.values(this.Br).map((n=>()=>n.containsKey(e,t))))}}class Pa extends me{constructor(e){super(),this.currentSequenceNumber=e}}class Da{constructor(e){this.persistence=e,this.zr=new xa,this.jr=null}static Hr(e){return new Da(e)}get Jr(){if(this.jr)return this.jr;throw F()}addReference(e,t,n){return this.zr.addReference(n,t),this.Jr.delete(n.toString()),ve.resolve()}removeReference(e,t,n){return this.zr.removeReference(n,t),this.Jr.add(n.toString()),ve.resolve()}markPotentiallyOrphaned(e,t){return this.Jr.add(t.toString()),ve.resolve()}removeTarget(e,t){this.zr.Vr(t.targetId).forEach((e=>this.Jr.add(e.toString())));const n=this.persistence.getTargetCache();return n.getMatchingKeysForTargetId(e,t.targetId).next((e=>{e.forEach((e=>this.Jr.add(e.toString())))})).next((()=>n.removeTargetData(e,t)))}Ur(){this.jr=new Set}Wr(e){const t=this.persistence.getRemoteDocumentCache().newChangeBuffer();return ve.forEach(this.Jr,(n=>{const r=ie.fromPath(n);return this.Yr(e,r).next((e=>{e||t.removeEntry(r,$.min())}))})).next((()=>(this.jr=null,t.apply(e))))}updateLimboDocument(e,t){return this.Yr(e,t).next((e=>{e?this.Jr.delete(t.toString()):this.Jr.add(t.toString())}))}Kr(e){return 0}Yr(e,t){return ve.or([()=>ve.resolve(this.zr.containsKey(t)),()=>this.persistence.getTargetCache().containsKey(e,t),()=>this.persistence.Gr(e,t)])}}class Na{constructor(e){this.serializer=e}O(e,t,n,r){const i=new Ce("createOrUpgrade",t);n<1&&r>=1&&(function(e){e.createObjectStore("owner")}(e),function(e){e.createObjectStore("mutationQueues",{keyPath:"userId"}),e.createObjectStore("mutations",{keyPath:"batchId",autoIncrement:!0}).createIndex("userMutationsIndex",Le,{unique:!0}),e.createObjectStore("documentMutations")}(e),Fa(e),function(e){e.createObjectStore("remoteDocuments")}(e));let o=ve.resolve();return n<3&&r>=3&&(0!==n&&(function(e){e.deleteObjectStore("targetDocuments"),e.deleteObjectStore("targets"),e.deleteObjectStore("targetGlobal")}(e),Fa(e)),o=o.next((()=>function(e){const t=e.store("targetGlobal"),n={highestTargetId:0,highestListenSequenceNumber:0,lastRemoteSnapshotVersion:$.min().toTimestamp(),targetCount:0};return t.put("targetGlobalKey",n)}(i)))),n<4&&r>=4&&(0!==n&&(o=o.next((()=>function(e,t){return t.store("mutations").U().next((n=>{e.deleteObjectStore("mutations"),e.createObjectStore("mutations",{keyPath:"batchId",autoIncrement:!0}).createIndex("userMutationsIndex",Le,{unique:!0});const r=t.store("mutations"),i=n.map((e=>r.put(e)));return ve.waitFor(i)}))}(e,i)))),o=o.next((()=>{!function(e){e.createObjectStore("clientMetadata",{keyPath:"clientId"})}(e)}))),n<5&&r>=5&&(o=o.next((()=>this.Xr(i)))),n<6&&r>=6&&(o=o.next((()=>(function(e){e.createObjectStore("remoteDocumentGlobal")}(e),this.ei(i))))),n<7&&r>=7&&(o=o.next((()=>this.ti(i)))),n<8&&r>=8&&(o=o.next((()=>this.ni(e,i)))),n<9&&r>=9&&(o=o.next((()=>{!function(e){e.objectStoreNames.contains("remoteDocumentChanges")&&e.deleteObjectStore("remoteDocumentChanges")}(e)}))),n<10&&r>=10&&(o=o.next((()=>this.ri(i)))),n<11&&r>=11&&(o=o.next((()=>{!function(e){e.createObjectStore("bundles",{keyPath:"bundleId"})}(e),function(e){e.createObjectStore("namedQueries",{keyPath:"name"})}(e)}))),n<12&&r>=12&&(o=o.next((()=>{!function(e){const t=e.createObjectStore("documentOverlays",{keyPath:$e});t.createIndex("collectionPathOverlayIndex",et,{unique:!1}),t.createIndex("collectionGroupOverlayIndex",tt,{unique:!1})}(e)}))),n<13&&r>=13&&(o=o.next((()=>function(e){const t=e.createObjectStore("remoteDocumentsV14",{keyPath:He});t.createIndex("documentKeyIndex",ze),t.createIndex("collectionGroupIndex",Ze)}(e))).next((()=>this.ii(e,i))).next((()=>e.deleteObjectStore("remoteDocuments")))),n<14&&r>=14&&(o=o.next((()=>this.si(e,i)))),n<15&&r>=15&&(o=o.next((()=>function(e){e.createObjectStore("indexConfiguration",{keyPath:"indexId",autoIncrement:!0}).createIndex("collectionGroupIndex","collectionGroup",{unique:!1}),e.createObjectStore("indexState",{keyPath:Ke}).createIndex("sequenceNumberIndex",Qe,{unique:!1}),e.createObjectStore("indexEntries",{keyPath:Xe}).createIndex("documentKeyIndex",Je,{unique:!1})}(e)))),n<16&&r>=16&&(o=o.next((()=>{t.objectStore("indexState").clear()})).next((()=>{t.objectStore("indexEntries").clear()}))),o}ei(e){let t=0;return e.store("remoteDocuments").J(((e,n)=>{t+=Wo(n)})).next((()=>{const n={byteSize:t};return e.store("remoteDocumentGlobal").put("remoteDocumentGlobalKey",n)}))}Xr(e){const t=e.store("mutationQueues"),n=e.store("mutations");return t.U().next((t=>ve.forEach(t,(t=>{const r=IDBKeyRange.bound([t.userId,-1],[t.userId,t.lastAcknowledgedBatchId]);return n.U("userMutationsIndex",r).next((n=>ve.forEach(n,(n=>{I(n.userId===t.userId);const r=eo(this.serializer,n);return Zo(e,t.userId,r).next((()=>{}))}))))}))))}ti(e){const t=e.store("targetDocuments"),n=e.store("remoteDocuments");return e.store("targetGlobal").get("targetGlobalKey").next((e=>{const r=[];return n.J(((n,i)=>{const o=new te(n),a=function(e){return[0,Re(e)]}(o);r.push(t.get(a).next((n=>n?ve.resolve():(n=>t.put({targetId:0,path:Re(n),sequenceNumber:e.highestListenSequenceNumber}))(o))))})).next((()=>ve.waitFor(r)))}))}ni(e,t){e.createObjectStore("collectionParents",{keyPath:Ye});const n=t.store("collectionParents"),r=new Ro,i=e=>{if(r.add(e)){const t=e.lastSegment(),r=e.popLast();return n.put({collectionId:t,parent:Re(r)})}};return t.store("remoteDocuments").J({H:!0},((e,t)=>{const n=new te(e);return i(n.popLast())})).next((()=>t.store("documentMutations").J({H:!0},((e,t)=>{let[n,r,o]=e;const a=je(r);return i(a.popLast())}))))}ri(e){const t=e.store("targets");return t.J(((e,n)=>{const r=to(n),i=no(this.serializer,r);return t.put(i)}))}ii(e,t){const n=t.store("remoteDocuments"),r=[];return n.J(((e,n)=>{const i=t.store("remoteDocumentsV14"),o=function(e){return e.document?new ie(te.fromString(e.document.name).popFirst(5)):e.noDocument?ie.fromSegments(e.noDocument.path):e.unknownDocument?ie.fromSegments(e.unknownDocument.path):F()}(n).path.toArray(),a={prefixPath:o.slice(0,o.length-2),collectionGroup:o[o.length-2],documentId:o[o.length-1],readTime:n.readTime||[0,0],unknownDocument:n.unknownDocument,noDocument:n.noDocument,document:n.document,hasCommittedMutations:!!n.hasCommittedMutations};r.push(i.put(a))})).next((()=>ve.waitFor(r)))}si(e,t){const n=t.store("mutations"),r=da(this.serializer),i=new ka(Da.Hr,this.serializer.ct);return n.U().next((e=>{const n=new Map;return e.forEach((e=>{var t;let r=null!==(t=n.get(e.userId))&&void 0!==t?t:cr();eo(this.serializer,e).keys().forEach((e=>r=r.add(e))),n.set(e.userId,r)})),ve.forEach(n,((e,n)=>{const o=new A(n),a=uo.lt(this.serializer,o),s=i.getIndexManager(o),l=qo.lt(o,this.serializer,s,i.referenceDelegate);return new ya(r,l,a,s).recalculateAndSaveOverlaysForDocumentKeys(new lt(t,De.oe),e).next()}))}))}}function Fa(e){e.createObjectStore("targetDocuments",{keyPath:qe}).createIndex("documentTargetsIndex",Ge,{unique:!0}),e.createObjectStore("targets",{keyPath:"targetId"}).createIndex("queryTargetsIndex",We,{unique:!0}),e.createObjectStore("targetGlobal")}const Ia="Failed to obtain exclusive access to the persistence layer. To allow shared access, multi-tab synchronization has to be enabled in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.";class Ra{constructor(e,t,n,r,i,o,a,s,l,c){let u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:16;if(this.allowTabSynchronization=e,this.persistenceKey=t,this.clientId=n,this.oi=i,this.window=o,this.document=a,this._i=l,this.ai=c,this.ui=u,this.kr=null,this.qr=!1,this.isPrimary=!1,this.networkEnabled=!0,this.ci=null,this.inForeground=!1,this.li=null,this.hi=null,this.Pi=Number.NEGATIVE_INFINITY,this.Ii=e=>Promise.resolve(),!Ra.D())throw new j(O.UNIMPLEMENTED,"This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");this.referenceDelegate=new sa(this,r),this.Ti=t+"main",this.serializer=new Ki(s),this.Ei=new ye(this.Ti,this.ui,new Na(this.serializer)),this.Qr=new Jo(this.referenceDelegate,this.serializer),this.remoteDocumentCache=da(this.serializer),this.$r=new so,this.window&&this.window.localStorage?this.di=this.window.localStorage:(this.di=null,!1===c&&P("IndexedDbPersistence","LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."))}start(){return this.Ai().then((()=>{if(!this.isPrimary&&!this.allowTabSynchronization)throw new j(O.FAILED_PRECONDITION,Ia);return this.Ri(),this.Vi(),this.mi(),this.runTransaction("getHighestListenSequenceNumber","readonly",(e=>this.Qr.getHighestSequenceNumber(e)))})).then((e=>{this.kr=new De(e,this._i)})).then((()=>{this.qr=!0})).catch((e=>(this.Ei&&this.Ei.close(),Promise.reject(e))))}fi(e){return this.Ii=async t=>{if(this.started)return e(t)},e(this.isPrimary)}setDatabaseDeletedListener(e){this.Ei.L((async t=>{null===t.newVersion&&await e()}))}setNetworkEnabled(e){this.networkEnabled!==e&&(this.networkEnabled=e,this.oi.enqueueAndForget((async()=>{this.started&&await this.Ai()})))}Ai(){return this.runTransaction("updateClientMetadataAndTryBecomePrimary","readwrite",(e=>Oa(e).put({clientId:this.clientId,updateTimeMs:Date.now(),networkEnabled:this.networkEnabled,inForeground:this.inForeground}).next((()=>{if(this.isPrimary)return this.gi(e).next((e=>{e||(this.isPrimary=!1,this.oi.enqueueRetryable((()=>this.Ii(!1))))}))})).next((()=>this.pi(e))).next((t=>this.isPrimary&&!t?this.yi(e).next((()=>!1)):!!t&&this.wi(e).next((()=>!0)))))).catch((e=>{if(Ae(e))return k("IndexedDbPersistence","Failed to extend owner lease: ",e),this.isPrimary;if(!this.allowTabSynchronization)throw e;return k("IndexedDbPersistence","Releasing owner lease after error during lease refresh",e),!1})).then((e=>{this.isPrimary!==e&&this.oi.enqueueRetryable((()=>this.Ii(e))),this.isPrimary=e}))}gi(e){return Ma(e).get("owner").next((e=>ve.resolve(this.Si(e))))}bi(e){return Oa(e).delete(this.clientId)}async Di(){if(this.isPrimary&&!this.Ci(this.Pi,18e5)){this.Pi=Date.now();const e=await this.runTransaction("maybeGarbageCollectMultiClientState","readwrite-primary",(e=>{const t=ct(e,"clientMetadata");return t.U().next((e=>{const n=this.vi(e,18e5),r=e.filter((e=>-1===n.indexOf(e)));return ve.forEach(r,(e=>t.delete(e.clientId))).next((()=>r))}))})).catch((()=>[]));if(this.di)for(const t of e)this.di.removeItem(this.Fi(t.clientId))}}mi(){this.hi=this.oi.enqueueAfterDelay("client_metadata_refresh",4e3,(()=>this.Ai().then((()=>this.Di())).then((()=>this.mi()))))}Si(e){return!!e&&e.ownerId===this.clientId}pi(e){return this.ai?ve.resolve(!0):Ma(e).get("owner").next((t=>{if(null!==t&&this.Ci(t.leaseTimestampMs,5e3)&&!this.Mi(t.ownerId)){if(this.Si(t)&&this.networkEnabled)return!0;if(!this.Si(t)){if(!t.allowTabSynchronization)throw new j(O.FAILED_PRECONDITION,Ia);return!1}}return!(!this.networkEnabled||!this.inForeground)||Oa(e).U().next((e=>void 0===this.vi(e,5e3).find((e=>{if(this.clientId!==e.clientId){const t=!this.networkEnabled&&e.networkEnabled,n=!this.inForeground&&e.inForeground,r=this.networkEnabled===e.networkEnabled;if(t||n&&r)return!0}return!1}))))})).next((e=>(this.isPrimary!==e&&k("IndexedDbPersistence","Client ".concat(e?"is":"is not"," eligible for a primary lease.")),e)))}async shutdown(){this.qr=!1,this.xi(),this.hi&&(this.hi.cancel(),this.hi=null),this.Oi(),this.Ni(),await this.Ei.runTransaction("shutdown","readwrite",["owner","clientMetadata"],(e=>{const t=new lt(e,De.oe);return this.yi(t).next((()=>this.bi(t)))})),this.Ei.close(),this.Li()}vi(e,t){return e.filter((e=>this.Ci(e.updateTimeMs,t)&&!this.Mi(e.clientId)))}Bi(){return this.runTransaction("getActiveClients","readonly",(e=>Oa(e).U().next((e=>this.vi(e,18e5).map((e=>e.clientId))))))}get started(){return this.qr}getMutationQueue(e,t){return qo.lt(e,this.serializer,t,this.referenceDelegate)}getTargetCache(){return this.Qr}getRemoteDocumentCache(){return this.remoteDocumentCache}getIndexManager(e){return new Oo(e,this.serializer.ct.databaseId)}getDocumentOverlayCache(e){return uo.lt(this.serializer,e)}getBundleCache(){return this.$r}runTransaction(e,t,n){k("IndexedDbPersistence","Starting transaction:",e);const r="readonly"===t?"readonly":"readwrite",i=function(e){return 16===e?st:15===e?at:14===e?ot:13===e?it:12===e?rt:11===e?nt:void F()}(this.ui);let o;return this.Ei.runTransaction(e,r,i,(r=>(o=new lt(r,this.kr?this.kr.next():De.oe),"readwrite-primary"===t?this.gi(o).next((e=>!!e||this.pi(o))).next((t=>{if(!t)throw P("Failed to obtain primary lease for action '".concat(e,"'.")),this.isPrimary=!1,this.oi.enqueueRetryable((()=>this.Ii(!1))),new j(O.FAILED_PRECONDITION,fe);return n(o)})).next((e=>this.wi(o).next((()=>e)))):this.ki(o).next((()=>n(o)))))).then((e=>(o.raiseOnCommittedEvent(),e)))}ki(e){return Ma(e).get("owner").next((e=>{if(null!==e&&this.Ci(e.leaseTimestampMs,5e3)&&!this.Mi(e.ownerId)&&!this.Si(e)&&!(this.ai||this.allowTabSynchronization&&e.allowTabSynchronization))throw new j(O.FAILED_PRECONDITION,Ia)}))}wi(e){const t={ownerId:this.clientId,allowTabSynchronization:this.allowTabSynchronization,leaseTimestampMs:Date.now()};return Ma(e).put("owner",t)}static D(){return ye.D()}yi(e){const t=Ma(e);return t.get("owner").next((e=>this.Si(e)?(k("IndexedDbPersistence","Releasing primary lease."),t.delete("owner")):ve.resolve()))}Ci(e,t){const n=Date.now();return!(e<n-t)&&(!(e>n)||(P("Detected an update time that is in the future: ".concat(e," > ").concat(n)),!1))}Ri(){null!==this.document&&"function"==typeof this.document.addEventListener&&(this.li=()=>{this.oi.enqueueAndForget((()=>(this.inForeground="visible"===this.document.visibilityState,this.Ai())))},this.document.addEventListener("visibilitychange",this.li),this.inForeground="visible"===this.document.visibilityState)}Oi(){this.li&&(this.document.removeEventListener("visibilitychange",this.li),this.li=null)}Vi(){var e;"function"==typeof(null===(e=this.window)||void 0===e?void 0:e.addEventListener)&&(this.ci=()=>{this.xi();const e=/(?:Version|Mobile)\/1[456]/;(0,l.nr)()&&(navigator.appVersion.match(e)||navigator.userAgent.match(e))&&this.oi.enterRestrictedMode(!0),this.oi.enqueueAndForget((()=>this.shutdown()))},this.window.addEventListener("pagehide",this.ci))}Ni(){this.ci&&(this.window.removeEventListener("pagehide",this.ci),this.ci=null)}Mi(e){var t;try{const n=null!==(null===(t=this.di)||void 0===t?void 0:t.getItem(this.Fi(e)));return k("IndexedDbPersistence","Client '".concat(e,"' ").concat(n?"is":"is not"," zombied in LocalStorage")),n}catch(e){return P("IndexedDbPersistence","Failed to get zombied client id.",e),!1}}xi(){if(this.di)try{this.di.setItem(this.Fi(this.clientId),String(Date.now()))}catch(e){P("Failed to set zombie client id.",e)}}Li(){if(this.di)try{this.di.removeItem(this.Fi(this.clientId))}catch(e){}}Fi(e){return"firestore_zombie_".concat(this.persistenceKey,"_").concat(e)}}function Ma(e){return ct(e,"owner")}function Oa(e){return ct(e,"clientMetadata")}function ja(e,t){let n=e.projectId;return e.isDefaultDatabase||(n+="."+e.database),"firestore/"+t+"/"+n+"/"}class La{constructor(e,t,n,r){this.targetId=e,this.fromCache=t,this.qi=n,this.Qi=r}static Ki(e,t){let n=cr(),r=cr();for(const i of t.docChanges)switch(i.type){case 0:n=n.add(i.doc.key);break;case 1:r=r.add(i.doc.key)}return new La(e,t.fromCache,n,r)}}class Ba{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(e){this._documentReadCount+=e}}class Ua{constructor(){this.$i=!1,this.Ui=!1,this.Wi=100,this.Gi=(0,l.nr)()?8:be((0,l.ZQ)())>0?6:4}initialize(e,t){this.zi=e,this.indexManager=t,this.$i=!0}getDocumentsMatchingQuery(e,t,n,r){const i={result:null};return this.ji(e,t).next((e=>{i.result=e})).next((()=>{if(!i.result)return this.Hi(e,t,r,n).next((e=>{i.result=e}))})).next((()=>{if(i.result)return;const n=new Ba;return this.Ji(e,t,n).next((r=>{if(i.result=r,this.Ui)return this.Yi(e,t,n,r.size)}))})).next((()=>i.result))}Yi(e,t,n,r){return n.documentReadCount<this.Wi?(T()<=s.$b.DEBUG&&k("QueryEngine","SDK will not create cache indexes for query:",Gn(t),"since it only creates cache indexes for collection contains","more than or equal to",this.Wi,"documents"),ve.resolve()):(T()<=s.$b.DEBUG&&k("QueryEngine","Query:",Gn(t),"scans",n.documentReadCount,"local documents and returns",r,"documents as results."),n.documentReadCount>this.Gi*r?(T()<=s.$b.DEBUG&&k("QueryEngine","The SDK decides to create cache indexes for query:",Gn(t),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(e,Vn(t))):ve.resolve())}ji(e,t){if(Ln(t))return ve.resolve(null);let n=Vn(t);return this.indexManager.getIndexType(e,n).next((r=>0===r?null:(null!==t.limit&&1===r&&(t=Zn(t,null,"F"),n=Vn(t)),this.indexManager.getDocumentsMatchingTarget(e,n).next((r=>{const i=cr(...r);return this.zi.getDocuments(e,i).next((r=>this.indexManager.getMinOffset(e,n).next((n=>{const o=this.Zi(t,r);return this.Xi(t,o,i,n.readTime)?this.ji(e,Zn(t,null,"F")):this.es(e,o,t,n)}))))})))))}Hi(e,t,n,r){return Ln(t)||r.isEqual($.min())?ve.resolve(null):this.zi.getDocuments(e,n).next((i=>{const o=this.Zi(t,i);return this.Xi(t,o,n,r)?ve.resolve(null):(T()<=s.$b.DEBUG&&k("QueryEngine","Re-using previous result from %s to execute query: %s",r.toString(),Gn(t)),this.es(e,o,t,ue(r,-1)).next((e=>e)))}))}Zi(e,t){let n=new gt(Qn(e));return t.forEach(((t,r)=>{Yn(e,r)&&(n=n.add(r))})),n}Xi(e,t,n,r){if(null===e.limit)return!1;if(n.size!==t.size)return!0;const i="F"===e.limitType?t.last():t.first();return!!i&&(i.hasPendingWrites||i.version.compareTo(r)>0)}Ji(e,t,n){return T()<=s.$b.DEBUG&&k("QueryEngine","Using full collection scan to execute query:",Gn(t)),this.zi.getDocumentsMatchingQuery(e,t,he.min(),n)}es(e,t,n,r){return this.zi.getDocumentsMatchingQuery(e,n,r).next((e=>(t.forEach((t=>{e=e.insert(t.key,t)})),e)))}}class Va{constructor(e,t,n,r){this.persistence=e,this.ts=t,this.serializer=r,this.ns=new pt(K),this.rs=new Jn((e=>Pn(e)),Dn),this.ss=new Map,this.os=e.getRemoteDocumentCache(),this.Qr=e.getTargetCache(),this.$r=e.getBundleCache(),this._s(n)}_s(e){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(e),this.indexManager=this.persistence.getIndexManager(e),this.mutationQueue=this.persistence.getMutationQueue(e,this.indexManager),this.localDocuments=new ya(this.os,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.os.setIndexManager(this.indexManager),this.ts.initialize(this.localDocuments,this.indexManager)}collectGarbage(e){return this.persistence.runTransaction("Collect garbage","readwrite-primary",(t=>e.collect(t,this.ns)))}}function Ha(e,t,n,r){return new Va(e,t,n,r)}async function za(e,t){const n=M(e);return await n.persistence.runTransaction("Handle user change","readonly",(e=>{let r;return n.mutationQueue.getAllMutationBatches(e).next((i=>(r=i,n._s(t),n.mutationQueue.getAllMutationBatches(e)))).next((t=>{const i=[],o=[];let a=cr();for(const e of r){i.push(e.batchId);for(const t of e.mutations)a=a.add(t.key)}for(const e of t){o.push(e.batchId);for(const t of e.mutations)a=a.add(t.key)}return n.localDocuments.getDocuments(e,a).next((e=>({us:e,removedBatchIds:i,addedBatchIds:o})))}))}))}function Za(e){const t=M(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",(e=>t.Qr.getLastRemoteSnapshotVersion(e)))}function Wa(e,t,n){let r=cr(),i=cr();return n.forEach((e=>r=r.add(e))),t.getEntries(e,r).next((e=>{let r=er();return n.forEach(((n,o)=>{const a=e.get(n);o.isFoundDocument()!==a.isFoundDocument()&&(i=i.add(n)),o.isNoDocument()&&o.version.isEqual($.min())?(t.removeEntry(n,o.readTime),r=r.insert(n,o)):!a.isValidDocument()||o.version.compareTo(a.version)>0||0===o.version.compareTo(a.version)&&a.hasPendingWrites?(t.addEntry(o),r=r.insert(n,o)):k("LocalStore","Ignoring outdated watch update for ",n,". Current version:",a.version," Watch version:",o.version)})),{cs:r,ls:i}}))}function qa(e,t){const n=M(e);return n.persistence.runTransaction("Get next mutation batch","readonly",(e=>(void 0===t&&(t=-1),n.mutationQueue.getNextMutationBatchAfterBatchId(e,t))))}function Ga(e,t){const n=M(e);return n.persistence.runTransaction("Allocate target","readwrite",(e=>{let r;return n.Qr.getTargetData(e,t).next((i=>i?(r=i,ve.resolve(r)):n.Qr.allocateTargetId(e).next((i=>(r=new Yi(t,i,"TargetPurposeListen",e.currentSequenceNumber),n.Qr.addTargetData(e,r).next((()=>r)))))))})).then((e=>{const r=n.ns.get(e.targetId);return(null===r||e.snapshotVersion.compareTo(r.snapshotVersion)>0)&&(n.ns=n.ns.insert(e.targetId,e),n.rs.set(t,e.targetId)),e}))}async function Ya(e,t,n){const r=M(e),i=r.ns.get(t),o=n?"readwrite":"readwrite-primary";try{n||await r.persistence.runTransaction("Release target",o,(e=>r.persistence.referenceDelegate.removeTarget(e,i)))}catch(e){if(!Ae(e))throw e;k("LocalStore","Failed to update sequence numbers for target ".concat(t,": ").concat(e))}r.ns=r.ns.remove(t),r.rs.delete(i.target)}function Ka(e,t,n){const r=M(e);let i=$.min(),o=cr();return r.persistence.runTransaction("Execute query","readwrite",(e=>function(e,t,n){const r=M(e),i=r.rs.get(n);return void 0!==i?ve.resolve(r.ns.get(i)):r.Qr.getTargetData(t,n)}(r,e,Vn(t)).next((t=>{if(t)return i=t.lastLimboFreeSnapshotVersion,r.Qr.getMatchingKeysForTargetId(e,t.targetId).next((e=>{o=e}))})).next((()=>r.ts.getDocumentsMatchingQuery(e,t,n?i:$.min(),n?o:cr()))).next((e=>(Ja(r,Kn(t),e),{documents:e,hs:o})))))}function Qa(e,t){const n=M(e),r=M(n.Qr),i=n.ns.get(t);return i?Promise.resolve(i.target):n.persistence.runTransaction("Get target data","readonly",(e=>r.ot(e,t).next((e=>e?e.target:null))))}function Xa(e,t){const n=M(e),r=n.ss.get(t)||$.min();return n.persistence.runTransaction("Get new document changes","readonly",(e=>n.os.getAllFromCollectionGroup(e,t,ue(r,-1),Number.MAX_SAFE_INTEGER))).then((e=>(Ja(n,t,e),e)))}function Ja(e,t,n){let r=e.ss.get(t)||$.min();n.forEach(((e,t)=>{t.readTime.compareTo(r)>0&&(r=t.readTime)})),e.ss.set(t,r)}async function $a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cr();const r=await Ga(e,Vn(ro(t.bundledQuery))),i=M(e);return i.persistence.runTransaction("Save named query","readwrite",(e=>{const o=xi(t.readTime);if(r.snapshotVersion.compareTo(o)>=0)return i.$r.saveNamedQuery(e,t);const a=r.withResumeToken(xt.EMPTY_BYTE_STRING,o);return i.ns=i.ns.insert(a.targetId,a),i.Qr.updateTargetData(e,a).next((()=>i.Qr.removeMatchingKeysForTargetId(e,r.targetId))).next((()=>i.Qr.addMatchingKeys(e,n,r.targetId))).next((()=>i.$r.saveNamedQuery(e,t)))}))}function es(e,t){return"firestore_clients_".concat(e,"_").concat(t)}function ts(e,t,n){let r="firestore_mutations_".concat(e,"_").concat(n);return t.isAuthenticated()&&(r+="_".concat(t.uid)),r}function ns(e,t){return"firestore_targets_".concat(e,"_").concat(t)}class rs{constructor(e,t,n,r){this.user=e,this.batchId=t,this.state=n,this.error=r}static Es(e,t,n){const r=JSON.parse(n);let i,o="object"==typeof r&&-1!==["pending","acknowledged","rejected"].indexOf(r.state)&&(void 0===r.error||"object"==typeof r.error);return o&&r.error&&(o="string"==typeof r.error.message&&"string"==typeof r.error.code,o&&(i=new j(r.error.code,r.error.message))),o?new rs(e,t,r.state,i):(P("SharedClientState","Failed to parse mutation state for ID '".concat(t,"': ").concat(n)),null)}ds(){const e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}class is{constructor(e,t,n){this.targetId=e,this.state=t,this.error=n}static Es(e,t){const n=JSON.parse(t);let r,i="object"==typeof n&&-1!==["not-current","current","rejected"].indexOf(n.state)&&(void 0===n.error||"object"==typeof n.error);return i&&n.error&&(i="string"==typeof n.error.message&&"string"==typeof n.error.code,i&&(r=new j(n.error.code,n.error.message))),i?new is(e,n.state,r):(P("SharedClientState","Failed to parse target state for ID '".concat(e,"': ").concat(t)),null)}ds(){const e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}class os{constructor(e,t){this.clientId=e,this.activeTargetIds=t}static Es(e,t){const n=JSON.parse(t);let r="object"==typeof n&&n.activeTargetIds instanceof Array,i=dr();for(let o=0;r&&o<n.activeTargetIds.length;++o)r=Ie(n.activeTargetIds[o]),i=i.add(n.activeTargetIds[o]);return r?new os(e,i):(P("SharedClientState","Failed to parse client data for instance '".concat(e,"': ").concat(t)),null)}}class as{constructor(e,t){this.clientId=e,this.onlineState=t}static Es(e){const t=JSON.parse(e);return"object"==typeof t&&-1!==["Unknown","Online","Offline"].indexOf(t.onlineState)&&"string"==typeof t.clientId?new as(t.clientId,t.onlineState):(P("SharedClientState","Failed to parse online state: ".concat(e)),null)}}class ss{constructor(){this.activeTargetIds=dr()}As(e){this.activeTargetIds=this.activeTargetIds.add(e)}Rs(e){this.activeTargetIds=this.activeTargetIds.delete(e)}ds(){const e={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(e)}}class ls{constructor(e,t,n,r,i){this.window=e,this.oi=t,this.persistenceKey=n,this.Vs=r,this.syncEngine=null,this.onlineStateHandler=null,this.sequenceNumberHandler=null,this.fs=this.gs.bind(this),this.ps=new pt(K),this.started=!1,this.ys=[];const o=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");this.storage=this.window.localStorage,this.currentUser=i,this.ws=es(this.persistenceKey,this.Vs),this.Ss=function(e){return"firestore_sequence_number_".concat(e)}(this.persistenceKey),this.ps=this.ps.insert(this.Vs,new ss),this.bs=new RegExp("^firestore_clients_".concat(o,"_([^_]*)$")),this.Ds=new RegExp("^firestore_mutations_".concat(o,"_(\\d+)(?:_(.*))?$")),this.Cs=new RegExp("^firestore_targets_".concat(o,"_(\\d+)$")),this.vs=function(e){return"firestore_online_state_".concat(e)}(this.persistenceKey),this.Fs=function(e){return"firestore_bundle_loaded_v2_".concat(e)}(this.persistenceKey),this.window.addEventListener("storage",this.fs)}static D(e){return!(!e||!e.localStorage)}async start(){const e=await this.syncEngine.Bi();for(const n of e){if(n===this.Vs)continue;const e=this.getItem(es(this.persistenceKey,n));if(e){const t=os.Es(n,e);t&&(this.ps=this.ps.insert(t.clientId,t))}}this.Ms();const t=this.storage.getItem(this.vs);if(t){const e=this.xs(t);e&&this.Os(e)}for(const n of this.ys)this.gs(n);this.ys=[],this.window.addEventListener("pagehide",(()=>this.shutdown())),this.started=!0}writeSequenceNumber(e){this.setItem(this.Ss,JSON.stringify(e))}getAllActiveQueryTargets(){return this.Ns(this.ps)}isActiveQueryTarget(e){let t=!1;return this.ps.forEach(((n,r)=>{r.activeTargetIds.has(e)&&(t=!0)})),t}addPendingMutation(e){this.Ls(e,"pending")}updateMutationState(e,t,n){this.Ls(e,t,n),this.Bs(e)}addLocalQueryTarget(e){let t="not-current";if(this.isActiveQueryTarget(e)){const n=this.storage.getItem(ns(this.persistenceKey,e));if(n){const r=is.Es(e,n);r&&(t=r.state)}}return this.ks.As(e),this.Ms(),t}removeLocalQueryTarget(e){this.ks.Rs(e),this.Ms()}isLocalQueryTarget(e){return this.ks.activeTargetIds.has(e)}clearQueryState(e){this.removeItem(ns(this.persistenceKey,e))}updateQueryState(e,t,n){this.qs(e,t,n)}handleUserChange(e,t,n){t.forEach((e=>{this.Bs(e)})),this.currentUser=e,n.forEach((e=>{this.addPendingMutation(e)}))}setOnlineState(e){this.Qs(e)}notifyBundleLoaded(e){this.Ks(e)}shutdown(){this.started&&(this.window.removeEventListener("storage",this.fs),this.removeItem(this.ws),this.started=!1)}getItem(e){const t=this.storage.getItem(e);return k("SharedClientState","READ",e,t),t}setItem(e,t){k("SharedClientState","SET",e,t),this.storage.setItem(e,t)}removeItem(e){k("SharedClientState","REMOVE",e),this.storage.removeItem(e)}gs(e){const t=e;if(t.storageArea===this.storage){if(k("SharedClientState","EVENT",t.key,t.newValue),t.key===this.ws)return void P("Received WebStorage notification for local change. Another client might have garbage-collected our state");this.oi.enqueueRetryable((async()=>{if(this.started){if(null!==t.key)if(this.bs.test(t.key)){if(null==t.newValue){const e=this.$s(t.key);return this.Us(e,null)}{const e=this.Ws(t.key,t.newValue);if(e)return this.Us(e.clientId,e)}}else if(this.Ds.test(t.key)){if(null!==t.newValue){const e=this.Gs(t.key,t.newValue);if(e)return this.zs(e)}}else if(this.Cs.test(t.key)){if(null!==t.newValue){const e=this.js(t.key,t.newValue);if(e)return this.Hs(e)}}else if(t.key===this.vs){if(null!==t.newValue){const e=this.xs(t.newValue);if(e)return this.Os(e)}}else if(t.key===this.Ss){const e=function(e){let t=De.oe;if(null!=e)try{const n=JSON.parse(e);I("number"==typeof n),t=n}catch(e){P("SharedClientState","Failed to read sequence number from WebStorage",e)}return t}(t.newValue);e!==De.oe&&this.sequenceNumberHandler(e)}else if(t.key===this.Fs){const e=this.Js(t.newValue);await Promise.all(e.map((e=>this.syncEngine.Ys(e))))}}else this.ys.push(t)}))}}get ks(){return this.ps.get(this.Vs)}Ms(){this.setItem(this.ws,this.ks.ds())}Ls(e,t,n){const r=new rs(this.currentUser,e,t,n),i=ts(this.persistenceKey,this.currentUser,e);this.setItem(i,r.ds())}Bs(e){const t=ts(this.persistenceKey,this.currentUser,e);this.removeItem(t)}Qs(e){const t={clientId:this.Vs,onlineState:e};this.storage.setItem(this.vs,JSON.stringify(t))}qs(e,t,n){const r=ns(this.persistenceKey,e),i=new is(e,t,n);this.setItem(r,i.ds())}Ks(e){const t=JSON.stringify(Array.from(e));this.setItem(this.Fs,t)}$s(e){const t=this.bs.exec(e);return t?t[1]:null}Ws(e,t){const n=this.$s(e);return os.Es(n,t)}Gs(e,t){const n=this.Ds.exec(e),r=Number(n[1]),i=void 0!==n[2]?n[2]:null;return rs.Es(new A(i),r,t)}js(e,t){const n=this.Cs.exec(e),r=Number(n[1]);return is.Es(r,t)}xs(e){return as.Es(e)}Js(e){return JSON.parse(e)}async zs(e){if(e.user.uid===this.currentUser.uid)return this.syncEngine.Zs(e.batchId,e.state,e.error);k("SharedClientState","Ignoring mutation for non-active user ".concat(e.user.uid))}Hs(e){return this.syncEngine.Xs(e.targetId,e.state,e.error)}Us(e,t){const n=t?this.ps.insert(e,t):this.ps.remove(e),r=this.Ns(this.ps),i=this.Ns(n),o=[],a=[];return i.forEach((e=>{r.has(e)||o.push(e)})),r.forEach((e=>{i.has(e)||a.push(e)})),this.syncEngine.eo(o,a).then((()=>{this.ps=n}))}Os(e){this.ps.get(e.clientId)&&this.onlineStateHandler(e.onlineState)}Ns(e){let t=dr();return e.forEach(((e,n)=>{t=t.unionWith(n.activeTargetIds)})),t}}class cs{constructor(){this.no=new ss,this.ro={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(e){}updateMutationState(e,t,n){}addLocalQueryTarget(e){return this.no.As(e),this.ro[e]||"not-current"}updateQueryState(e,t,n){this.ro[e]=t}removeLocalQueryTarget(e){this.no.Rs(e)}isLocalQueryTarget(e){return this.no.activeTargetIds.has(e)}clearQueryState(e){delete this.ro[e]}getAllActiveQueryTargets(){return this.no.activeTargetIds}isActiveQueryTarget(e){return this.no.activeTargetIds.has(e)}start(){return this.no=new ss,Promise.resolve()}handleUserChange(e,t,n){}setOnlineState(e){}shutdown(){}writeSequenceNumber(e){}notifyBundleLoaded(e){}}class us{io(e){}shutdown(){}}class ds{constructor(){this.so=()=>this.oo(),this._o=()=>this.ao(),this.uo=[],this.co()}io(e){this.uo.push(e)}shutdown(){window.removeEventListener("online",this.so),window.removeEventListener("offline",this._o)}co(){window.addEventListener("online",this.so),window.addEventListener("offline",this._o)}oo(){k("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const e of this.uo)e(0)}ao(){k("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const e of this.uo)e(1)}static D(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let hs=null;function ps(){return null===hs?hs=268435456+Math.round(2147483648*Math.random()):hs++,"0x"+hs.toString(16)}const fs={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};class ms{constructor(e){this.lo=e.lo,this.ho=e.ho}Po(e){this.Io=e}To(e){this.Eo=e}Ao(e){this.Ro=e}onMessage(e){this.Vo=e}close(){this.ho()}send(e){this.lo(e)}mo(){this.Io()}fo(){this.Eo()}po(e){this.Ro(e)}yo(e){this.Vo(e)}}const gs="WebChannelConnection";class vs extends class{constructor(e){this.databaseInfo=e,this.databaseId=e.databaseId;const t=e.ssl?"https":"http",n=encodeURIComponent(this.databaseId.projectId),r=encodeURIComponent(this.databaseId.database);this.wo=t+"://"+e.host,this.So="projects/".concat(n,"/databases/").concat(r),this.bo="(default)"===this.databaseId.database?"project_id=".concat(n):"project_id=".concat(n,"&database_id=").concat(r)}get Do(){return!1}Co(e,t,n,r,i){const o=ps(),a=this.vo(e,t.toUriEncodedString());k("RestConnection","Sending RPC '".concat(e,"' ").concat(o,":"),a,n);const s={"google-cloud-resource-prefix":this.So,"x-goog-request-params":this.bo};return this.Fo(s,r,i),this.Mo(e,a,s,n).then((t=>(k("RestConnection","Received RPC '".concat(e,"' ").concat(o,": "),t),t)),(t=>{throw D("RestConnection","RPC '".concat(e,"' ").concat(o," failed with error: "),t,"url: ",a,"request:",n),t}))}xo(e,t,n,r,i,o){return this.Co(e,t,n,r,i)}Fo(e,t,n){e["X-Goog-Api-Client"]="gl-js/ fire/"+E,e["Content-Type"]="text/plain",this.databaseInfo.appId&&(e["X-Firebase-GMPID"]=this.databaseInfo.appId),t&&t.headers.forEach(((t,n)=>e[n]=t)),n&&n.headers.forEach(((t,n)=>e[n]=t))}vo(e,t){const n=fs[e];return"".concat(this.wo,"/v1/").concat(t,":").concat(n)}terminate(){}}{constructor(e){super(e),this.forceLongPolling=e.forceLongPolling,this.autoDetectLongPolling=e.autoDetectLongPolling,this.useFetchStreams=e.useFetchStreams,this.longPollingOptions=e.longPollingOptions}Mo(e,t,n,r){const i=ps();return new Promise(((o,a)=>{const s=new d;s.setWithCredentials(!0),s.listenOnce(f.COMPLETE,(()=>{try{switch(s.getLastErrorCode()){case m.NO_ERROR:const t=s.getResponseJson();k(gs,"XHR for RPC '".concat(e,"' ").concat(i," received:"),JSON.stringify(t)),o(t);break;case m.TIMEOUT:k(gs,"RPC '".concat(e,"' ").concat(i," timed out")),a(new j(O.DEADLINE_EXCEEDED,"Request time out"));break;case m.HTTP_ERROR:const n=s.getStatus();if(k(gs,"RPC '".concat(e,"' ").concat(i," failed with status:"),n,"response text:",s.getResponseText()),n>0){let e=s.getResponseJson();Array.isArray(e)&&(e=e[0]);const t=null==e?void 0:e.error;if(t&&t.status&&t.message){const e=function(e){const t=e.toLowerCase().replace(/_/g,"-");return Object.values(O).indexOf(t)>=0?t:O.UNKNOWN}(t.status);a(new j(e,t.message))}else a(new j(O.UNKNOWN,"Server responded with status "+s.getStatus()))}else a(new j(O.UNAVAILABLE,"Connection failed."));break;default:F()}}finally{k(gs,"RPC '".concat(e,"' ").concat(i," completed."))}}));const l=JSON.stringify(r);k(gs,"RPC '".concat(e,"' ").concat(i," sending request:"),r),s.send(t,"POST",l,n,15)}))}Oo(e,t,n){const r=ps(),i=[this.wo,"/","google.firestore.v1.Firestore","/",e,"/channel"],o=y(),a=C(),s={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:"projects/".concat(this.databaseId.projectId,"/databases/").concat(this.databaseId.database)},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},l=this.longPollingOptions.timeoutSeconds;void 0!==l&&(s.longPollingTimeout=Math.round(1e3*l)),this.useFetchStreams&&(s.xmlHttpFactory=new h({})),this.Fo(s.initMessageHeaders,t,n),s.encodeInitMessageHeaders=!0;const c=i.join("");k(gs,"Creating RPC '".concat(e,"' stream ").concat(r,": ").concat(c),s);const u=o.createWebChannel(c,s);let d=!1,f=!1;const m=new ms({lo:t=>{f?k(gs,"Not sending because RPC '".concat(e,"' stream ").concat(r," is closed:"),t):(d||(k(gs,"Opening RPC '".concat(e,"' stream ").concat(r," transport.")),u.open(),d=!0),k(gs,"RPC '".concat(e,"' stream ").concat(r," sending:"),t),u.send(t))},ho:()=>u.close()}),b=(e,t,n)=>{e.listen(t,(e=>{try{n(e)}catch(e){setTimeout((()=>{throw e}),0)}}))};return b(u,p.EventType.OPEN,(()=>{f||(k(gs,"RPC '".concat(e,"' stream ").concat(r," transport opened.")),m.mo())})),b(u,p.EventType.CLOSE,(()=>{f||(f=!0,k(gs,"RPC '".concat(e,"' stream ").concat(r," transport closed")),m.po())})),b(u,p.EventType.ERROR,(t=>{f||(f=!0,D(gs,"RPC '".concat(e,"' stream ").concat(r," transport errored:"),t),m.po(new j(O.UNAVAILABLE,"The operation could not be completed")))})),b(u,p.EventType.MESSAGE,(t=>{var n;if(!f){const i=t.data[0];I(!!i);const o=i,a=o.error||(null===(n=o[0])||void 0===n?void 0:n.error);if(a){k(gs,"RPC '".concat(e,"' stream ").concat(r," received error:"),a);const t=a.status;let n=function(e){const t=Yr[e];if(void 0!==t)return Xr(t)}(t),i=a.message;void 0===n&&(n=O.INTERNAL,i="Unknown error status: "+t+" with message "+a.message),f=!0,m.po(new j(n,i)),u.close()}else k(gs,"RPC '".concat(e,"' stream ").concat(r," received:"),i),m.yo(i)}})),b(a,v.STAT_EVENT,(t=>{t.stat===g.PROXY?k(gs,"RPC '".concat(e,"' stream ").concat(r," detected buffering proxy")):t.stat===g.NOPROXY&&k(gs,"RPC '".concat(e,"' stream ").concat(r," detected no buffering proxy"))})),setTimeout((()=>{m.fo()}),0),m}}function Cs(){return"undefined"!=typeof window?window:null}function ys(){return"undefined"!=typeof document?document:null}function bs(e){return new vi(e,!0)}class ws{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1.5,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:6e4;this.oi=e,this.timerId=t,this.No=n,this.Lo=r,this.Bo=i,this.ko=0,this.qo=null,this.Qo=Date.now(),this.reset()}reset(){this.ko=0}Ko(){this.ko=this.Bo}$o(e){this.cancel();const t=Math.floor(this.ko+this.Uo()),n=Math.max(0,Date.now()-this.Qo),r=Math.max(0,t-n);r>0&&k("ExponentialBackoff","Backing off for ".concat(r," ms (base delay: ").concat(this.ko," ms, delay with jitter: ").concat(t," ms, last attempt: ").concat(n," ms ago)")),this.qo=this.oi.enqueueAfterDelay(this.timerId,r,(()=>(this.Qo=Date.now(),e()))),this.ko*=this.Lo,this.ko<this.No&&(this.ko=this.No),this.ko>this.Bo&&(this.ko=this.Bo)}Wo(){null!==this.qo&&(this.qo.skipDelay(),this.qo=null)}cancel(){null!==this.qo&&(this.qo.cancel(),this.qo=null)}Uo(){return(Math.random()-.5)*this.ko}}class xs{constructor(e,t,n,r,i,o,a,s){this.oi=e,this.Go=n,this.zo=r,this.connection=i,this.authCredentialsProvider=o,this.appCheckCredentialsProvider=a,this.listener=s,this.state=0,this.jo=0,this.Ho=null,this.Jo=null,this.stream=null,this.Yo=new ws(e,t)}Zo(){return 1===this.state||5===this.state||this.Xo()}Xo(){return 2===this.state||3===this.state}start(){4!==this.state?this.auth():this.e_()}async stop(){this.Zo()&&await this.close(0)}t_(){this.state=0,this.Yo.reset()}n_(){this.Xo()&&null===this.Ho&&(this.Ho=this.oi.enqueueAfterDelay(this.Go,6e4,(()=>this.r_())))}i_(e){this.s_(),this.stream.send(e)}async r_(){if(this.Xo())return this.close(0)}s_(){this.Ho&&(this.Ho.cancel(),this.Ho=null)}o_(){this.Jo&&(this.Jo.cancel(),this.Jo=null)}async close(e,t){this.s_(),this.o_(),this.Yo.cancel(),this.jo++,4!==e?this.Yo.reset():t&&t.code===O.RESOURCE_EXHAUSTED?(P(t.toString()),P("Using maximum backoff delay to prevent overloading the backend."),this.Yo.Ko()):t&&t.code===O.UNAUTHENTICATED&&3!==this.state&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),null!==this.stream&&(this.__(),this.stream.close(),this.stream=null),this.state=e,await this.listener.Ao(t)}__(){}auth(){this.state=1;const e=this.a_(this.jo),t=this.jo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then((e=>{let[n,r]=e;this.jo===t&&this.u_(n,r)}),(t=>{e((()=>{const e=new j(O.UNKNOWN,"Fetching auth token failed: "+t.message);return this.c_(e)}))}))}u_(e,t){const n=this.a_(this.jo);this.stream=this.l_(e,t),this.stream.Po((()=>{n((()=>this.listener.Po()))})),this.stream.To((()=>{n((()=>(this.state=2,this.Jo=this.oi.enqueueAfterDelay(this.zo,1e4,(()=>(this.Xo()&&(this.state=3),Promise.resolve()))),this.listener.To())))})),this.stream.Ao((e=>{n((()=>this.c_(e)))})),this.stream.onMessage((e=>{n((()=>this.onMessage(e)))}))}e_(){this.state=5,this.Yo.$o((async()=>{this.state=0,this.start()}))}c_(e){return k("PersistentStream","close with error: ".concat(e)),this.stream=null,this.close(4,e)}a_(e){return t=>{this.oi.enqueueAndForget((()=>this.jo===e?t():(k("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())))}}}class As extends xs{constructor(e,t,n,r,i,o){super(e,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",t,n,r,o),this.serializer=i}l_(e,t){return this.connection.Oo("Listen",e,t)}onMessage(e){this.Yo.reset();const t=function(e,t){let n;if("targetChange"in t){t.targetChange;const r=function(e){return"NO_CHANGE"===e?0:"ADD"===e?1:"REMOVE"===e?2:"CURRENT"===e?3:"RESET"===e?4:F()}(t.targetChange.targetChangeType||"NO_CHANGE"),i=t.targetChange.targetIds||[],o=function(e,t){return e.useProto3Json?(I(void 0===t||"string"==typeof t),xt.fromBase64String(t||"")):(I(void 0===t||t instanceof Buffer||t instanceof Uint8Array),xt.fromUint8Array(t||new Uint8Array))}(e,t.targetChange.resumeToken),a=t.targetChange.cause,s=a&&function(e){const t=void 0===e.code?O.UNKNOWN:Xr(e.code);return new j(t,e.message||"")}(a);n=new ci(r,i,o,s||null)}else if("documentChange"in t){t.documentChange;const r=t.documentChange;r.document,r.document.name,r.document.updateTime;const i=Si(e,r.document.name),o=xi(r.document.updateTime),a=r.document.createTime?xi(r.document.createTime):$.min(),s=new $t({mapValue:{fields:r.document.fields}}),l=tn.newFoundDocument(i,o,a,s),c=r.targetIds||[],u=r.removedTargetIds||[];n=new si(c,u,l.key,l)}else if("documentDelete"in t){t.documentDelete;const r=t.documentDelete;r.document;const i=Si(e,r.document),o=r.readTime?xi(r.readTime):$.min(),a=tn.newNoDocument(i,o),s=r.removedTargetIds||[];n=new si([],s,a.key,a)}else if("documentRemove"in t){t.documentRemove;const r=t.documentRemove;r.document;const i=Si(e,r.document),o=r.removedTargetIds||[];n=new si([],o,i,null)}else{if(!("filter"in t))return F();{t.filter;const e=t.filter;e.targetId;const{count:r=0,unchangedNames:i}=e,o=new Gr(r,i),a=e.targetId;n=new li(a,o)}}return n}(this.serializer,e),n=function(e){if(!("targetChange"in e))return $.min();const t=e.targetChange;return t.targetIds&&t.targetIds.length?$.min():t.readTime?xi(t.readTime):$.min()}(e);return this.listener.h_(t,n)}P_(e){const t={};t.database=Di(this.serializer),t.addTarget=function(e,t){let n;const r=t.target;if(n=Nn(r)?{documents:Oi(e,r)}:{query:ji(e,r)._t},n.targetId=t.targetId,t.resumeToken.approximateByteSize()>0){n.resumeToken=bi(e,t.resumeToken);const r=Ci(e,t.expectedCount);null!==r&&(n.expectedCount=r)}else if(t.snapshotVersion.compareTo($.min())>0){n.readTime=yi(e,t.snapshotVersion.toTimestamp());const r=Ci(e,t.expectedCount);null!==r&&(n.expectedCount=r)}return n}(this.serializer,e);const n=function(e,t){const n=function(e){switch(e){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return F()}}(t.purpose);return null==n?null:{"goog-listen-tags":n}}(this.serializer,e);n&&(t.labels=n),this.i_(t)}I_(e){const t={};t.database=Di(this.serializer),t.removeTarget=e,this.i_(t)}}class Es extends xs{constructor(e,t,n,r,i,o){super(e,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",t,n,r,o),this.serializer=i,this.T_=!1}get E_(){return this.T_}start(){this.T_=!1,this.lastStreamToken=void 0,super.start()}__(){this.T_&&this.d_([])}l_(e,t){return this.connection.Oo("Write",e,t)}onMessage(e){if(I(!!e.streamToken),this.lastStreamToken=e.streamToken,this.T_){this.Yo.reset();const t=function(e,t){return e&&e.length>0?(I(void 0!==t),e.map((e=>function(e,t){let n=e.updateTime?xi(e.updateTime):xi(t);return n.isEqual($.min())&&(n=xi(t)),new kr(n,e.transformResults||[])}(e,t)))):[]}(e.writeResults,e.commitTime),n=xi(e.commitTime);return this.listener.A_(n,t)}return I(!e.writeResults||0===e.writeResults.length),this.T_=!0,this.listener.R_()}V_(){const e={};e.database=Di(this.serializer),this.i_(e)}d_(e){const t={streamToken:this.lastStreamToken,writes:e.map((e=>Ri(this.serializer,e)))};this.i_(t)}}class _s extends class{}{constructor(e,t,n,r){super(),this.authCredentials=e,this.appCheckCredentials=t,this.connection=n,this.serializer=r,this.m_=!1}f_(){if(this.m_)throw new j(O.FAILED_PRECONDITION,"The client has already been terminated.")}Co(e,t,n,r){return this.f_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((i=>{let[o,a]=i;return this.connection.Co(e,Ei(t,n),r,o,a)})).catch((e=>{throw"FirebaseError"===e.name?(e.code===O.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),e):new j(O.UNKNOWN,e.toString())}))}xo(e,t,n,r,i){return this.f_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((o=>{let[a,s]=o;return this.connection.xo(e,Ei(t,n),r,a,s,i)})).catch((e=>{throw"FirebaseError"===e.name?(e.code===O.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),e):new j(O.UNKNOWN,e.toString())}))}terminate(){this.m_=!0,this.connection.terminate()}}class Ts{constructor(e,t){this.asyncQueue=e,this.onlineStateHandler=t,this.state="Unknown",this.g_=0,this.p_=null,this.y_=!0}w_(){0===this.g_&&(this.S_("Unknown"),this.p_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(()=>(this.p_=null,this.b_("Backend didn't respond within 10 seconds."),this.S_("Offline"),Promise.resolve()))))}D_(e){"Online"===this.state?this.S_("Unknown"):(this.g_++,this.g_>=1&&(this.C_(),this.b_("Connection failed 1 times. Most recent error: ".concat(e.toString())),this.S_("Offline")))}set(e){this.C_(),this.g_=0,"Online"===e&&(this.y_=!1),this.S_(e)}S_(e){e!==this.state&&(this.state=e,this.onlineStateHandler(e))}b_(e){const t="Could not reach Cloud Firestore backend. ".concat(e,"\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.");this.y_?(P(t),this.y_=!1):k("OnlineStateTracker",t)}C_(){null!==this.p_&&(this.p_.cancel(),this.p_=null)}}class Ss{constructor(e,t,n,r,i){this.localStore=e,this.datastore=t,this.asyncQueue=n,this.remoteSyncer={},this.v_=[],this.F_=new Map,this.M_=new Set,this.x_=[],this.O_=i,this.O_.io((e=>{n.enqueueAndForget((async()=>{Os(this)&&(k("RemoteStore","Restarting streams for network reachability change."),await async function(e){const t=M(e);t.M_.add(4),await Ps(t),t.N_.set("Unknown"),t.M_.delete(4),await ks(t)}(this))}))})),this.N_=new Ts(n,r)}}async function ks(e){if(Os(e))for(const t of e.x_)await t(!0)}async function Ps(e){for(const t of e.x_)await t(!1)}function Ds(e,t){const n=M(e);n.F_.has(t.targetId)||(n.F_.set(t.targetId,t),Ms(n)?Rs(n):tl(n).Xo()&&Fs(n,t))}function Ns(e,t){const n=M(e),r=tl(n);n.F_.delete(t),r.Xo()&&Is(n,t),0===n.F_.size&&(r.Xo()?r.n_():Os(n)&&n.N_.set("Unknown"))}function Fs(e,t){if(e.L_.xe(t.targetId),t.resumeToken.approximateByteSize()>0||t.snapshotVersion.compareTo($.min())>0){const n=e.remoteSyncer.getRemoteKeysForTarget(t.targetId).size;t=t.withExpectedCount(n)}tl(e).P_(t)}function Is(e,t){e.L_.xe(t),tl(e).I_(t)}function Rs(e){e.L_=new di({getRemoteKeysForTarget:t=>e.remoteSyncer.getRemoteKeysForTarget(t),ot:t=>e.F_.get(t)||null,tt:()=>e.datastore.serializer.databaseId}),tl(e).start(),e.N_.w_()}function Ms(e){return Os(e)&&!tl(e).Zo()&&e.F_.size>0}function Os(e){return 0===M(e).M_.size}function js(e){e.L_=void 0}async function Ls(e){e.N_.set("Online")}async function Bs(e){e.F_.forEach(((t,n)=>{Fs(e,t)}))}async function Us(e,t){js(e),Ms(e)?(e.N_.D_(t),Rs(e)):e.N_.set("Unknown")}async function Vs(e,t,n){if(e.N_.set("Online"),t instanceof ci&&2===t.state&&t.cause)try{await async function(e,t){const n=t.cause;for(const r of t.targetIds)e.F_.has(r)&&(await e.remoteSyncer.rejectListen(r,n),e.F_.delete(r),e.L_.removeTarget(r))}(e,t)}catch(n){k("RemoteStore","Failed to remove targets %s: %s ",t.targetIds.join(","),n),await Hs(e,n)}else if(t instanceof si?e.L_.Ke(t):t instanceof li?e.L_.He(t):e.L_.We(t),!n.isEqual($.min()))try{const t=await Za(e.localStore);n.compareTo(t)>=0&&await function(e,t){const n=e.L_.rt(t);return n.targetChanges.forEach(((n,r)=>{if(n.resumeToken.approximateByteSize()>0){const i=e.F_.get(r);i&&e.F_.set(r,i.withResumeToken(n.resumeToken,t))}})),n.targetMismatches.forEach(((t,n)=>{const r=e.F_.get(t);if(!r)return;e.F_.set(t,r.withResumeToken(xt.EMPTY_BYTE_STRING,r.snapshotVersion)),Is(e,t);const i=new Yi(r.target,t,n,r.sequenceNumber);Fs(e,i)})),e.remoteSyncer.applyRemoteEvent(n)}(e,n)}catch(t){k("RemoteStore","Failed to raise snapshot:",t),await Hs(e,t)}}async function Hs(e,t,n){if(!Ae(t))throw t;e.M_.add(1),await Ps(e),e.N_.set("Offline"),n||(n=()=>Za(e.localStore)),e.asyncQueue.enqueueRetryable((async()=>{k("RemoteStore","Retrying IndexedDB access"),await n(),e.M_.delete(1),await ks(e)}))}function zs(e,t){return t().catch((n=>Hs(e,n,t)))}async function Zs(e){const t=M(e),n=nl(t);let r=t.v_.length>0?t.v_[t.v_.length-1].batchId:-1;for(;Ws(t);)try{const e=await qa(t.localStore,r);if(null===e){0===t.v_.length&&n.n_();break}r=e.batchId,qs(t,e)}catch(e){await Hs(t,e)}Gs(t)&&Ys(t)}function Ws(e){return Os(e)&&e.v_.length<10}function qs(e,t){e.v_.push(t);const n=nl(e);n.Xo()&&n.E_&&n.d_(t.mutations)}function Gs(e){return Os(e)&&!nl(e).Zo()&&e.v_.length>0}function Ys(e){nl(e).start()}async function Ks(e){nl(e).V_()}async function Qs(e){const t=nl(e);for(const n of e.v_)t.d_(n.mutations)}async function Xs(e,t,n){const r=e.v_.shift(),i=Wr.from(r,t,n);await zs(e,(()=>e.remoteSyncer.applySuccessfulWrite(i))),await Zs(e)}async function Js(e,t){t&&nl(e).E_&&await async function(e,t){if(function(e){return Qr(e)&&e!==O.ABORTED}(t.code)){const n=e.v_.shift();nl(e).t_(),await zs(e,(()=>e.remoteSyncer.rejectFailedWrite(n.batchId,t))),await Zs(e)}}(e,t),Gs(e)&&Ys(e)}async function $s(e,t){const n=M(e);n.asyncQueue.verifyOperationInProgress(),k("RemoteStore","RemoteStore received new credentials");const r=Os(n);n.M_.add(3),await Ps(n),r&&n.N_.set("Unknown"),await n.remoteSyncer.handleCredentialChange(t),n.M_.delete(3),await ks(n)}async function el(e,t){const n=M(e);t?(n.M_.delete(2),await ks(n)):t||(n.M_.add(2),await Ps(n),n.N_.set("Unknown"))}function tl(e){return e.B_||(e.B_=function(e,t,n){const r=M(e);return r.f_(),new As(t,r.connection,r.authCredentials,r.appCheckCredentials,r.serializer,n)}(e.datastore,e.asyncQueue,{Po:Ls.bind(null,e),To:Bs.bind(null,e),Ao:Us.bind(null,e),h_:Vs.bind(null,e)}),e.x_.push((async t=>{t?(e.B_.t_(),Ms(e)?Rs(e):e.N_.set("Unknown")):(await e.B_.stop(),js(e))}))),e.B_}function nl(e){return e.k_||(e.k_=function(e,t,n){const r=M(e);return r.f_(),new Es(t,r.connection,r.authCredentials,r.appCheckCredentials,r.serializer,n)}(e.datastore,e.asyncQueue,{Po:()=>Promise.resolve(),To:Ks.bind(null,e),Ao:Js.bind(null,e),R_:Qs.bind(null,e),A_:Xs.bind(null,e)}),e.x_.push((async t=>{t?(e.k_.t_(),await Zs(e)):(await e.k_.stop(),e.v_.length>0&&(k("RemoteStore","Stopping write stream with ".concat(e.v_.length," pending writes")),e.v_=[]))}))),e.k_}class rl{constructor(e,t,n,r,i){this.asyncQueue=e,this.timerId=t,this.targetTimeMs=n,this.op=r,this.removalCallback=i,this.deferred=new L,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((e=>{}))}get promise(){return this.deferred.promise}static createAndSchedule(e,t,n,r,i){const o=Date.now()+n,a=new rl(e,t,o,r,i);return a.start(n),a}start(e){this.timerHandle=setTimeout((()=>this.handleDelayElapsed()),e)}skipDelay(){return this.handleDelayElapsed()}cancel(e){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new j(O.CANCELLED,"Operation cancelled"+(e?": "+e:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget((()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then((e=>this.deferred.resolve(e)))):Promise.resolve()))}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function il(e,t){if(P("AsyncQueue","".concat(t,": ").concat(e)),Ae(e))return new j(O.UNAVAILABLE,"".concat(t,": ").concat(e));throw e}class ol{constructor(e){this.comparator=e?(t,n)=>e(t,n)||ie.comparator(t.key,n.key):(e,t)=>ie.comparator(e.key,t.key),this.keyedMap=nr(),this.sortedSet=new pt(this.comparator)}static emptySet(e){return new ol(e.comparator)}has(e){return null!=this.keyedMap.get(e)}get(e){return this.keyedMap.get(e)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(e){const t=this.keyedMap.get(e);return t?this.sortedSet.indexOf(t):-1}get size(){return this.sortedSet.size}forEach(e){this.sortedSet.inorderTraversal(((t,n)=>(e(t),!1)))}add(e){const t=this.delete(e.key);return t.copy(t.keyedMap.insert(e.key,e),t.sortedSet.insert(e,null))}delete(e){const t=this.get(e);return t?this.copy(this.keyedMap.remove(e),this.sortedSet.remove(t)):this}isEqual(e){if(!(e instanceof ol))return!1;if(this.size!==e.size)return!1;const t=this.sortedSet.getIterator(),n=e.sortedSet.getIterator();for(;t.hasNext();){const e=t.getNext().key,r=n.getNext().key;if(!e.isEqual(r))return!1}return!0}toString(){const e=[];return this.forEach((t=>{e.push(t.toString())})),0===e.length?"DocumentSet ()":"DocumentSet (\n  "+e.join("  \n")+"\n)"}copy(e,t){const n=new ol;return n.comparator=this.comparator,n.keyedMap=e,n.sortedSet=t,n}}class al{constructor(){this.q_=new pt(ie.comparator)}track(e){const t=e.doc.key,n=this.q_.get(t);n?0!==e.type&&3===n.type?this.q_=this.q_.insert(t,e):3===e.type&&1!==n.type?this.q_=this.q_.insert(t,{type:n.type,doc:e.doc}):2===e.type&&2===n.type?this.q_=this.q_.insert(t,{type:2,doc:e.doc}):2===e.type&&0===n.type?this.q_=this.q_.insert(t,{type:0,doc:e.doc}):1===e.type&&0===n.type?this.q_=this.q_.remove(t):1===e.type&&2===n.type?this.q_=this.q_.insert(t,{type:1,doc:n.doc}):0===e.type&&1===n.type?this.q_=this.q_.insert(t,{type:2,doc:e.doc}):F():this.q_=this.q_.insert(t,e)}Q_(){const e=[];return this.q_.inorderTraversal(((t,n)=>{e.push(n)})),e}}class sl{constructor(e,t,n,r,i,o,a,s,l){this.query=e,this.docs=t,this.oldDocs=n,this.docChanges=r,this.mutatedKeys=i,this.fromCache=o,this.syncStateChanged=a,this.excludesMetadataChanges=s,this.hasCachedResults=l}static fromInitialDocuments(e,t,n,r,i){const o=[];return t.forEach((e=>{o.push({type:0,doc:e})})),new sl(e,t,ol.emptySet(t),o,n,r,!0,!1,i)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(e){if(!(this.fromCache===e.fromCache&&this.hasCachedResults===e.hasCachedResults&&this.syncStateChanged===e.syncStateChanged&&this.mutatedKeys.isEqual(e.mutatedKeys)&&Wn(this.query,e.query)&&this.docs.isEqual(e.docs)&&this.oldDocs.isEqual(e.oldDocs)))return!1;const t=this.docChanges,n=e.docChanges;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r].type!==n[r].type||!t[r].doc.isEqual(n[r].doc))return!1;return!0}}class ll{constructor(){this.K_=void 0,this.U_=[]}W_(){return this.U_.some((e=>e.G_()))}}class cl{constructor(){this.queries=new Jn((e=>qn(e)),Wn),this.onlineState="Unknown",this.z_=new Set}}async function ul(e,t){const n=M(e);let r=3;const i=t.query;let o=n.queries.get(i);o?!o.W_()&&t.G_()&&(r=2):(o=new ll,r=t.G_()?0:1);try{switch(r){case 0:o.K_=await n.onListen(i,!0);break;case 1:o.K_=await n.onListen(i,!1);break;case 2:await n.onFirstRemoteStoreListen(i)}}catch(e){const n=il(e,"Initialization of query '".concat(Gn(t.query),"' failed"));return void t.onError(n)}n.queries.set(i,o),o.U_.push(t),t.j_(n.onlineState),o.K_&&t.H_(o.K_)&&fl(n)}async function dl(e,t){const n=M(e),r=t.query;let i=3;const o=n.queries.get(r);if(o){const e=o.U_.indexOf(t);e>=0&&(o.U_.splice(e,1),0===o.U_.length?i=t.G_()?0:1:!o.W_()&&t.G_()&&(i=2))}switch(i){case 0:return n.queries.delete(r),n.onUnlisten(r,!0);case 1:return n.queries.delete(r),n.onUnlisten(r,!1);case 2:return n.onLastRemoteStoreUnlisten(r);default:return}}function hl(e,t){const n=M(e);let r=!1;for(const i of t){const e=i.query,t=n.queries.get(e);if(t){for(const e of t.U_)e.H_(i)&&(r=!0);t.K_=i}}r&&fl(n)}function pl(e,t,n){const r=M(e),i=r.queries.get(t);if(i)for(const o of i.U_)o.onError(n);r.queries.delete(t)}function fl(e){e.z_.forEach((e=>{e.next()}))}var ml,gl;(gl=ml||(ml={})).J_="default",gl.Cache="cache";class vl{constructor(e,t,n){this.query=e,this.Y_=t,this.Z_=!1,this.X_=null,this.onlineState="Unknown",this.options=n||{}}H_(e){if(!this.options.includeMetadataChanges){const t=[];for(const n of e.docChanges)3!==n.type&&t.push(n);e=new sl(e.query,e.docs,e.oldDocs,t,e.mutatedKeys,e.fromCache,e.syncStateChanged,!0,e.hasCachedResults)}let t=!1;return this.Z_?this.ea(e)&&(this.Y_.next(e),t=!0):this.ta(e,this.onlineState)&&(this.na(e),t=!0),this.X_=e,t}onError(e){this.Y_.error(e)}j_(e){this.onlineState=e;let t=!1;return this.X_&&!this.Z_&&this.ta(this.X_,e)&&(this.na(this.X_),t=!0),t}ta(e,t){if(!e.fromCache)return!0;if(!this.G_())return!0;const n="Offline"!==t;return(!this.options.ra||!n)&&(!e.docs.isEmpty()||e.hasCachedResults||"Offline"===t)}ea(e){if(e.docChanges.length>0)return!0;const t=this.X_&&this.X_.hasPendingWrites!==e.hasPendingWrites;return!(!e.syncStateChanged&&!t)&&!0===this.options.includeMetadataChanges}na(e){e=sl.fromInitialDocuments(e.query,e.docs,e.mutatedKeys,e.fromCache,e.hasCachedResults),this.Z_=!0,this.Y_.next(e)}G_(){return this.options.source!==ml.Cache}}class Cl{constructor(e,t){this.ia=e,this.byteLength=t}sa(){return"metadata"in this.ia}}class yl{constructor(e){this.serializer=e}Ps(e){return Si(this.serializer,e)}Is(e){return e.metadata.exists?Ii(this.serializer,e.document,!1):tn.newNoDocument(this.Ps(e.metadata.name),this.Ts(e.metadata.readTime))}Ts(e){return xi(e)}}class bl{constructor(e,t,n){this.oa=e,this.localStore=t,this.serializer=n,this.queries=[],this.documents=[],this.collectionGroups=new Set,this.progress=wl(e)}_a(e){this.progress.bytesLoaded+=e.byteLength;let t=this.progress.documentsLoaded;if(e.ia.namedQuery)this.queries.push(e.ia.namedQuery);else if(e.ia.documentMetadata){this.documents.push({metadata:e.ia.documentMetadata}),e.ia.documentMetadata.exists||++t;const n=te.fromString(e.ia.documentMetadata.name);this.collectionGroups.add(n.get(n.length-2))}else e.ia.document&&(this.documents[this.documents.length-1].document=e.ia.document,++t);return t!==this.progress.documentsLoaded?(this.progress.documentsLoaded=t,Object.assign({},this.progress)):null}aa(e){const t=new Map,n=new yl(this.serializer);for(const r of e)if(r.metadata.queries){const e=n.Ps(r.metadata.name);for(const n of r.metadata.queries){const r=(t.get(n)||cr()).add(e);t.set(n,r)}}return t}async complete(){const e=await async function(e,t,n,r){const i=M(e);let o=cr(),a=er();for(const c of n){const e=t.Ps(c.metadata.name);c.document&&(o=o.add(e));const n=t.Is(c);n.setReadTime(t.Ts(c.metadata.readTime)),a=a.insert(e,n)}const s=i.os.newChangeBuffer({trackRemovals:!0}),l=await Ga(i,function(e){return Vn(jn(te.fromString("__bundle__/docs/".concat(e))))}(r));return i.persistence.runTransaction("Apply bundle documents","readwrite",(e=>Wa(e,s,a).next((t=>(s.apply(e),t))).next((t=>i.Qr.removeMatchingKeysForTargetId(e,l.targetId).next((()=>i.Qr.addMatchingKeys(e,o,l.targetId))).next((()=>i.localDocuments.getLocalViewOfDocuments(e,t.cs,t.ls))).next((()=>t.cs))))))}(this.localStore,new yl(this.serializer),this.documents,this.oa.id),t=this.aa(this.documents);for(const n of this.queries)await $a(this.localStore,n,t.get(n.name));return this.progress.taskState="Success",{progress:this.progress,ua:this.collectionGroups,ca:e}}}function wl(e){return{taskState:"Running",documentsLoaded:0,bytesLoaded:0,totalDocuments:e.totalDocuments,totalBytes:e.totalBytes}}class xl{constructor(e){this.key=e}}class Al{constructor(e){this.key=e}}class El{constructor(e,t){this.query=e,this.la=t,this.ha=null,this.hasCachedResults=!1,this.current=!1,this.Pa=cr(),this.mutatedKeys=cr(),this.Ia=Qn(e),this.Ta=new ol(this.Ia)}get Ea(){return this.la}da(e,t){const n=t?t.Aa:new al,r=t?t.Ta:this.Ta;let i=t?t.mutatedKeys:this.mutatedKeys,o=r,a=!1;const s="F"===this.query.limitType&&r.size===this.query.limit?r.last():null,l="L"===this.query.limitType&&r.size===this.query.limit?r.first():null;if(e.inorderTraversal(((e,t)=>{const c=r.get(e),u=Yn(this.query,t)?t:null,d=!!c&&this.mutatedKeys.has(c.key),h=!!u&&(u.hasLocalMutations||this.mutatedKeys.has(u.key)&&u.hasCommittedMutations);let p=!1;c&&u?c.data.isEqual(u.data)?d!==h&&(n.track({type:3,doc:u}),p=!0):this.Ra(c,u)||(n.track({type:2,doc:u}),p=!0,(s&&this.Ia(u,s)>0||l&&this.Ia(u,l)<0)&&(a=!0)):!c&&u?(n.track({type:0,doc:u}),p=!0):c&&!u&&(n.track({type:1,doc:c}),p=!0,(s||l)&&(a=!0)),p&&(u?(o=o.add(u),i=h?i.add(e):i.delete(e)):(o=o.delete(e),i=i.delete(e)))})),null!==this.query.limit)for(;o.size>this.query.limit;){const e="F"===this.query.limitType?o.last():o.first();o=o.delete(e.key),i=i.delete(e.key),n.track({type:1,doc:e})}return{Ta:o,Aa:n,Xi:a,mutatedKeys:i}}Ra(e,t){return e.hasLocalMutations&&t.hasCommittedMutations&&!t.hasLocalMutations}applyChanges(e,t,n,r){const i=this.Ta;this.Ta=e.Ta,this.mutatedKeys=e.mutatedKeys;const o=e.Aa.Q_();o.sort(((e,t)=>function(e,t){const n=e=>{switch(e){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return F()}};return n(e)-n(t)}(e.type,t.type)||this.Ia(e.doc,t.doc))),this.Va(n),r=null!=r&&r;const a=t&&!r?this.ma():[],s=0===this.Pa.size&&this.current&&!r?1:0,l=s!==this.ha;return this.ha=s,0!==o.length||l?{snapshot:new sl(this.query,e.Ta,i,o,e.mutatedKeys,0===s,l,!1,!!n&&n.resumeToken.approximateByteSize()>0),fa:a}:{fa:a}}j_(e){return this.current&&"Offline"===e?(this.current=!1,this.applyChanges({Ta:this.Ta,Aa:new al,mutatedKeys:this.mutatedKeys,Xi:!1},!1)):{fa:[]}}ga(e){return!this.la.has(e)&&!!this.Ta.has(e)&&!this.Ta.get(e).hasLocalMutations}Va(e){e&&(e.addedDocuments.forEach((e=>this.la=this.la.add(e))),e.modifiedDocuments.forEach((e=>{})),e.removedDocuments.forEach((e=>this.la=this.la.delete(e))),this.current=e.current)}ma(){if(!this.current)return[];const e=this.Pa;this.Pa=cr(),this.Ta.forEach((e=>{this.ga(e.key)&&(this.Pa=this.Pa.add(e.key))}));const t=[];return e.forEach((e=>{this.Pa.has(e)||t.push(new Al(e))})),this.Pa.forEach((n=>{e.has(n)||t.push(new xl(n))})),t}pa(e){this.la=e.hs,this.Pa=cr();const t=this.da(e.documents);return this.applyChanges(t,!0)}ya(){return sl.fromInitialDocuments(this.query,this.Ta,this.mutatedKeys,0===this.ha,this.hasCachedResults)}}class _l{constructor(e,t,n){this.query=e,this.targetId=t,this.view=n}}class Tl{constructor(e){this.key=e,this.wa=!1}}class Sl{constructor(e,t,n,r,i,o){this.localStore=e,this.remoteStore=t,this.eventManager=n,this.sharedClientState=r,this.currentUser=i,this.maxConcurrentLimboResolutions=o,this.Sa={},this.ba=new Jn((e=>qn(e)),Wn),this.Da=new Map,this.Ca=new Set,this.va=new pt(ie.comparator),this.Fa=new Map,this.Ma=new xa,this.xa={},this.Oa=new Map,this.Na=Xo.Ln(),this.onlineState="Unknown",this.La=void 0}get isPrimaryClient(){return!0===this.La}}async function kl(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=rc(e);let i;const o=r.ba.get(t);return o?(r.sharedClientState.addLocalQueryTarget(o.targetId),i=o.view.ya()):i=await Dl(r,t,n,!0),i}async function Pl(e,t){const n=rc(e);await Dl(n,t,!0,!1)}async function Dl(e,t,n,r){const i=await Ga(e.localStore,Vn(t)),o=i.targetId,a=n?e.sharedClientState.addLocalQueryTarget(o):"not-current";let s;return r&&(s=await Nl(e,t,o,"current"===a,i.resumeToken)),e.isPrimaryClient&&n&&Ds(e.remoteStore,i),s}async function Nl(e,t,n,r,i){e.Ba=(t,n,r)=>async function(e,t,n,r){let i=t.view.da(n);i.Xi&&(i=await Ka(e.localStore,t.query,!1).then((e=>{let{documents:n}=e;return t.view.da(n,i)})));const o=r&&r.targetChanges.get(t.targetId),a=r&&null!=r.targetMismatches.get(t.targetId),s=t.view.applyChanges(i,e.isPrimaryClient,o,a);return zl(e,t.targetId,s.fa),s.snapshot}(e,t,n,r);const o=await Ka(e.localStore,t,!0),a=new El(t,o.hs),s=a.da(o.documents),l=ai.createSynthesizedTargetChangeForCurrentChange(n,r&&"Offline"!==e.onlineState,i),c=a.applyChanges(s,e.isPrimaryClient,l);zl(e,n,c.fa);const u=new _l(t,n,a);return e.ba.set(t,u),e.Da.has(n)?e.Da.get(n).push(t):e.Da.set(n,[t]),c.snapshot}async function Fl(e,t,n){const r=M(e),i=r.ba.get(t),o=r.Da.get(i.targetId);if(o.length>1)return r.Da.set(i.targetId,o.filter((e=>!Wn(e,t)))),void r.ba.delete(t);r.isPrimaryClient?(r.sharedClientState.removeLocalQueryTarget(i.targetId),r.sharedClientState.isActiveQueryTarget(i.targetId)||await Ya(r.localStore,i.targetId,!1).then((()=>{r.sharedClientState.clearQueryState(i.targetId),n&&Ns(r.remoteStore,i.targetId),Vl(r,i.targetId)})).catch(ge)):(Vl(r,i.targetId),await Ya(r.localStore,i.targetId,!0))}async function Il(e,t){const n=M(e),r=n.ba.get(t),i=n.Da.get(r.targetId);n.isPrimaryClient&&1===i.length&&(n.sharedClientState.removeLocalQueryTarget(r.targetId),Ns(n.remoteStore,r.targetId))}async function Rl(e,t){const n=M(e);try{const e=await function(e,t){const n=M(e),r=t.snapshotVersion;let i=n.ns;return n.persistence.runTransaction("Apply remote event","readwrite-primary",(e=>{const o=n.os.newChangeBuffer({trackRemovals:!0});i=n.ns;const a=[];t.targetChanges.forEach(((o,s)=>{const l=i.get(s);if(!l)return;a.push(n.Qr.removeMatchingKeys(e,o.removedDocuments,s).next((()=>n.Qr.addMatchingKeys(e,o.addedDocuments,s))));let c=l.withSequenceNumber(e.currentSequenceNumber);null!==t.targetMismatches.get(s)?c=c.withResumeToken(xt.EMPTY_BYTE_STRING,$.min()).withLastLimboFreeSnapshotVersion($.min()):o.resumeToken.approximateByteSize()>0&&(c=c.withResumeToken(o.resumeToken,r)),i=i.insert(s,c),function(e,t,n){return 0===e.resumeToken.approximateByteSize()||t.snapshotVersion.toMicroseconds()-e.snapshotVersion.toMicroseconds()>=3e8||n.addedDocuments.size+n.modifiedDocuments.size+n.removedDocuments.size>0}(l,c,o)&&a.push(n.Qr.updateTargetData(e,c))}));let s=er(),l=cr();if(t.documentUpdates.forEach((r=>{t.resolvedLimboDocuments.has(r)&&a.push(n.persistence.referenceDelegate.updateLimboDocument(e,r))})),a.push(Wa(e,o,t.documentUpdates).next((e=>{s=e.cs,l=e.ls}))),!r.isEqual($.min())){const t=n.Qr.getLastRemoteSnapshotVersion(e).next((t=>n.Qr.setTargetsMetadata(e,e.currentSequenceNumber,r)));a.push(t)}return ve.waitFor(a).next((()=>o.apply(e))).next((()=>n.localDocuments.getLocalViewOfDocuments(e,s,l))).next((()=>s))})).then((e=>(n.ns=i,e)))}(n.localStore,t);t.targetChanges.forEach(((e,t)=>{const r=n.Fa.get(t);r&&(I(e.addedDocuments.size+e.modifiedDocuments.size+e.removedDocuments.size<=1),e.addedDocuments.size>0?r.wa=!0:e.modifiedDocuments.size>0?I(r.wa):e.removedDocuments.size>0&&(I(r.wa),r.wa=!1))})),await ql(n,e,t)}catch(e){await ge(e)}}function Ml(e,t,n){const r=M(e);if(r.isPrimaryClient&&0===n||!r.isPrimaryClient&&1===n){const e=[];r.ba.forEach(((n,r)=>{const i=r.view.j_(t);i.snapshot&&e.push(i.snapshot)})),function(e,t){const n=M(e);n.onlineState=t;let r=!1;n.queries.forEach(((e,n)=>{for(const i of n.U_)i.j_(t)&&(r=!0)})),r&&fl(n)}(r.eventManager,t),e.length&&r.Sa.h_(e),r.onlineState=t,r.isPrimaryClient&&r.sharedClientState.setOnlineState(t)}}async function Ol(e,t,n){const r=M(e);r.sharedClientState.updateQueryState(t,"rejected",n);const i=r.Fa.get(t),o=i&&i.key;if(o){let e=new pt(ie.comparator);e=e.insert(o,tn.newNoDocument(o,$.min()));const n=cr().add(o),i=new oi($.min(),new Map,new pt(K),e,n);await Rl(r,i),r.va=r.va.remove(o),r.Fa.delete(t),Wl(r)}else await Ya(r.localStore,t,!1).then((()=>Vl(r,t,n))).catch(ge)}async function jl(e,t){const n=M(e),r=t.batch.batchId;try{const e=await function(e,t){const n=M(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",(e=>{const r=t.batch.keys(),i=n.os.newChangeBuffer({trackRemovals:!0});return function(e,t,n,r){const i=n.batch,o=i.keys();let a=ve.resolve();return o.forEach((e=>{a=a.next((()=>r.getEntry(t,e))).next((t=>{const o=n.docVersions.get(e);I(null!==o),t.version.compareTo(o)<0&&(i.applyToRemoteDocument(t,n),t.isValidDocument()&&(t.setReadTime(n.commitVersion),r.addEntry(t)))}))})),a.next((()=>e.mutationQueue.removeMutationBatch(t,i)))}(n,e,t,i).next((()=>i.apply(e))).next((()=>n.mutationQueue.performConsistencyCheck(e))).next((()=>n.documentOverlayCache.removeOverlaysForBatchId(e,r,t.batch.batchId))).next((()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(e,function(e){let t=cr();for(let n=0;n<e.mutationResults.length;++n)e.mutationResults[n].transformResults.length>0&&(t=t.add(e.batch.mutations[n].key));return t}(t)))).next((()=>n.localDocuments.getDocuments(e,r)))}))}(n.localStore,t);Ul(n,r,null),Bl(n,r),n.sharedClientState.updateMutationState(r,"acknowledged"),await ql(n,e)}catch(e){await ge(e)}}async function Ll(e,t,n){const r=M(e);try{const e=await function(e,t){const n=M(e);return n.persistence.runTransaction("Reject batch","readwrite-primary",(e=>{let r;return n.mutationQueue.lookupMutationBatch(e,t).next((t=>(I(null!==t),r=t.keys(),n.mutationQueue.removeMutationBatch(e,t)))).next((()=>n.mutationQueue.performConsistencyCheck(e))).next((()=>n.documentOverlayCache.removeOverlaysForBatchId(e,r,t))).next((()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(e,r))).next((()=>n.localDocuments.getDocuments(e,r)))}))}(r.localStore,t);Ul(r,t,n),Bl(r,t),r.sharedClientState.updateMutationState(t,"rejected",n),await ql(r,e)}catch(n){await ge(n)}}function Bl(e,t){(e.Oa.get(t)||[]).forEach((e=>{e.resolve()})),e.Oa.delete(t)}function Ul(e,t,n){const r=M(e);let i=r.xa[r.currentUser.toKey()];if(i){const e=i.get(t);e&&(n?e.reject(n):e.resolve(),i=i.remove(t)),r.xa[r.currentUser.toKey()]=i}}function Vl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e.sharedClientState.removeLocalQueryTarget(t);for(const r of e.Da.get(t))e.ba.delete(r),n&&e.Sa.ka(r,n);e.Da.delete(t),e.isPrimaryClient&&e.Ma.Vr(t).forEach((t=>{e.Ma.containsKey(t)||Hl(e,t)}))}function Hl(e,t){e.Ca.delete(t.path.canonicalString());const n=e.va.get(t);null!==n&&(Ns(e.remoteStore,n),e.va=e.va.remove(t),e.Fa.delete(n),Wl(e))}function zl(e,t,n){for(const r of n)r instanceof xl?(e.Ma.addReference(r.key,t),Zl(e,r)):r instanceof Al?(k("SyncEngine","Document no longer in limbo: "+r.key),e.Ma.removeReference(r.key,t),e.Ma.containsKey(r.key)||Hl(e,r.key)):F()}function Zl(e,t){const n=t.key,r=n.path.canonicalString();e.va.get(n)||e.Ca.has(r)||(k("SyncEngine","New document in limbo: "+n),e.Ca.add(r),Wl(e))}function Wl(e){for(;e.Ca.size>0&&e.va.size<e.maxConcurrentLimboResolutions;){const t=e.Ca.values().next().value;e.Ca.delete(t);const n=new ie(te.fromString(t)),r=e.Na.next();e.Fa.set(r,new Tl(n)),e.va=e.va.insert(n,r),Ds(e.remoteStore,new Yi(Vn(jn(n.path)),r,"TargetPurposeLimboResolution",De.oe))}}async function ql(e,t,n){const r=M(e),i=[],o=[],a=[];r.ba.isEmpty()||(r.ba.forEach(((e,s)=>{a.push(r.Ba(s,t,n).then((e=>{var t;if((e||n)&&r.isPrimaryClient){const i=e?!e.fromCache:null===(t=null==n?void 0:n.targetChanges.get(s.targetId))||void 0===t?void 0:t.current;r.sharedClientState.updateQueryState(s.targetId,i?"current":"not-current")}if(e){i.push(e);const t=La.Ki(s.targetId,e);o.push(t)}})))})),await Promise.all(a),r.Sa.h_(i),await async function(e,t){const n=M(e);try{await n.persistence.runTransaction("notifyLocalViewChanges","readwrite",(e=>ve.forEach(t,(t=>ve.forEach(t.qi,(r=>n.persistence.referenceDelegate.addReference(e,t.targetId,r))).next((()=>ve.forEach(t.Qi,(r=>n.persistence.referenceDelegate.removeReference(e,t.targetId,r)))))))))}catch(e){if(!Ae(e))throw e;k("LocalStore","Failed to update sequence numbers: "+e)}for(const r of t){const e=r.targetId;if(!r.fromCache){const t=n.ns.get(e),r=t.snapshotVersion,i=t.withLastLimboFreeSnapshotVersion(r);n.ns=n.ns.insert(e,i)}}}(r.localStore,o))}async function Gl(e,t){const n=M(e);if(!n.currentUser.isEqual(t)){k("SyncEngine","User change. New user:",t.toKey());const e=await za(n.localStore,t);n.currentUser=t,function(e,t){e.Oa.forEach((e=>{e.forEach((e=>{e.reject(new j(O.CANCELLED,t))}))})),e.Oa.clear()}(n,"'waitForPendingWrites' promise is rejected due to a user change."),n.sharedClientState.handleUserChange(t,e.removedBatchIds,e.addedBatchIds),await ql(n,e.us)}}function Yl(e,t){const n=M(e),r=n.Fa.get(t);if(r&&r.wa)return cr().add(r.key);{let e=cr();const r=n.Da.get(t);if(!r)return e;for(const t of r){const r=n.ba.get(t);e=e.unionWith(r.view.Ea)}return e}}async function Kl(e,t){const n=M(e),r=await Ka(n.localStore,t.query,!0),i=t.view.pa(r);return n.isPrimaryClient&&zl(n,t.targetId,i.fa),i}async function Ql(e,t){const n=M(e);return Xa(n.localStore,t).then((e=>ql(n,e)))}async function Xl(e,t,n,r){const i=M(e),o=await function(e,t){const n=M(e),r=M(n.mutationQueue);return n.persistence.runTransaction("Lookup mutation documents","readonly",(e=>r.vn(e,t).next((t=>t?n.localDocuments.getDocuments(e,t):ve.resolve(null)))))}(i.localStore,t);null!==o?("pending"===n?await Zs(i.remoteStore):"acknowledged"===n||"rejected"===n?(Ul(i,t,r||null),Bl(i,t),function(e,t){M(M(e).mutationQueue).Mn(t)}(i.localStore,t)):F(),await ql(i,o)):k("SyncEngine","Cannot apply mutation batch with id: "+t)}async function Jl(e,t,n){const r=M(e),i=[],o=[];for(const a of t){let e;const t=r.Da.get(a);if(t&&0!==t.length){e=await Ga(r.localStore,Vn(t[0]));for(const e of t){const t=r.ba.get(e),n=await Kl(r,t);n.snapshot&&o.push(n.snapshot)}}else{const t=await Qa(r.localStore,a);e=await Ga(r.localStore,t),await Nl(r,$l(t),a,!1,e.resumeToken)}i.push(e)}return r.Sa.h_(o),i}function $l(e){return On(e.path,e.collectionGroup,e.orderBy,e.filters,e.limit,"F",e.startAt,e.endAt)}function ec(e){return function(e){return M(M(e).persistence).Bi()}(M(e).localStore)}async function tc(e,t,n,r){const i=M(e);if(i.La)return void k("SyncEngine","Ignoring unexpected query state notification.");const o=i.Da.get(t);if(o&&o.length>0)switch(n){case"current":case"not-current":{const e=await Xa(i.localStore,Kn(o[0])),r=oi.createSynthesizedRemoteEventForCurrentChange(t,"current"===n,xt.EMPTY_BYTE_STRING);await ql(i,e,r);break}case"rejected":await Ya(i.localStore,t,!0),Vl(i,t,r);break;default:F()}}async function nc(e,t,n){const r=rc(e);if(r.La){for(const e of t){if(r.Da.has(e)&&r.sharedClientState.isActiveQueryTarget(e)){k("SyncEngine","Adding an already active target "+e);continue}const t=await Qa(r.localStore,e),n=await Ga(r.localStore,t);await Nl(r,$l(t),n.targetId,!1,n.resumeToken),Ds(r.remoteStore,n)}for(const e of n)r.Da.has(e)&&await Ya(r.localStore,e,!1).then((()=>{Ns(r.remoteStore,e),Vl(r,e)})).catch(ge)}}function rc(e){const t=M(e);return t.remoteStore.remoteSyncer.applyRemoteEvent=Rl.bind(null,t),t.remoteStore.remoteSyncer.getRemoteKeysForTarget=Yl.bind(null,t),t.remoteStore.remoteSyncer.rejectListen=Ol.bind(null,t),t.Sa.h_=hl.bind(null,t.eventManager),t.Sa.ka=pl.bind(null,t.eventManager),t}function ic(e){const t=M(e);return t.remoteStore.remoteSyncer.applySuccessfulWrite=jl.bind(null,t),t.remoteStore.remoteSyncer.rejectFailedWrite=Ll.bind(null,t),t}class oc{constructor(){this.synchronizeTabs=!1}async initialize(e){this.serializer=bs(e.databaseInfo.databaseId),this.sharedClientState=this.createSharedClientState(e),this.persistence=this.createPersistence(e),await this.persistence.start(),this.localStore=this.createLocalStore(e),this.gcScheduler=this.createGarbageCollectionScheduler(e,this.localStore),this.indexBackfillerScheduler=this.createIndexBackfillerScheduler(e,this.localStore)}createGarbageCollectionScheduler(e,t){return null}createIndexBackfillerScheduler(e,t){return null}createLocalStore(e){return Ha(this.persistence,new Ua,e.initialUser,this.serializer)}createPersistence(e){return new ka(Da.Hr,this.serializer)}createSharedClientState(e){return new cs}async terminate(){var e,t;null===(e=this.gcScheduler)||void 0===e||e.stop(),null===(t=this.indexBackfillerScheduler)||void 0===t||t.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}class ac extends oc{constructor(e,t,n){super(),this.Qa=e,this.cacheSizeBytes=t,this.forceOwnership=n,this.synchronizeTabs=!1}async initialize(e){await super.initialize(e),await this.Qa.initialize(this,e),await ic(this.Qa.syncEngine),await Zs(this.Qa.remoteStore),await this.persistence.fi((()=>(this.gcScheduler&&!this.gcScheduler.started&&this.gcScheduler.start(),this.indexBackfillerScheduler&&!this.indexBackfillerScheduler.started&&this.indexBackfillerScheduler.start(),Promise.resolve())))}createLocalStore(e){return Ha(this.persistence,new Ua,e.initialUser,this.serializer)}createGarbageCollectionScheduler(e,t){const n=this.persistence.referenceDelegate.garbageCollector;return new ia(n,e.asyncQueue,t)}createIndexBackfillerScheduler(e,t){const n=new Pe(t,this.persistence);return new ke(e.asyncQueue,n)}createPersistence(e){const t=ja(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey),n=void 0!==this.cacheSizeBytes?zo.withCacheSize(this.cacheSizeBytes):zo.DEFAULT;return new Ra(this.synchronizeTabs,t,e.clientId,n,e.asyncQueue,Cs(),ys(),this.serializer,this.sharedClientState,!!this.forceOwnership)}createSharedClientState(e){return new cs}}class sc extends ac{constructor(e,t){super(e,t,!1),this.Qa=e,this.cacheSizeBytes=t,this.synchronizeTabs=!0}async initialize(e){await super.initialize(e);const t=this.Qa.syncEngine;this.sharedClientState instanceof ls&&(this.sharedClientState.syncEngine={Zs:Xl.bind(null,t),Xs:tc.bind(null,t),eo:nc.bind(null,t),Bi:ec.bind(null,t),Ys:Ql.bind(null,t)},await this.sharedClientState.start()),await this.persistence.fi((async e=>{await async function(e,t){const n=M(e);if(rc(n),ic(n),!0===t&&!0!==n.La){const e=n.sharedClientState.getAllActiveQueryTargets(),t=await Jl(n,e.toArray());n.La=!0,await el(n.remoteStore,!0);for(const r of t)Ds(n.remoteStore,r)}else if(!1===t&&!1!==n.La){const e=[];let t=Promise.resolve();n.Da.forEach(((r,i)=>{n.sharedClientState.isLocalQueryTarget(i)?e.push(i):t=t.then((()=>(Vl(n,i),Ya(n.localStore,i,!0)))),Ns(n.remoteStore,i)})),await t,await Jl(n,e),function(e){const t=M(e);t.Fa.forEach(((e,n)=>{Ns(t.remoteStore,n)})),t.Ma.mr(),t.Fa=new Map,t.va=new pt(ie.comparator)}(n),n.La=!1,await el(n.remoteStore,!1)}}(this.Qa.syncEngine,e),this.gcScheduler&&(e&&!this.gcScheduler.started?this.gcScheduler.start():e||this.gcScheduler.stop()),this.indexBackfillerScheduler&&(e&&!this.indexBackfillerScheduler.started?this.indexBackfillerScheduler.start():e||this.indexBackfillerScheduler.stop())}))}createSharedClientState(e){const t=Cs();if(!ls.D(t))throw new j(O.UNIMPLEMENTED,"IndexedDB persistence is only available on platforms that support LocalStorage.");const n=ja(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey);return new ls(t,e.asyncQueue,n,e.clientId,e.initialUser)}}class lc{async initialize(e,t){this.localStore||(this.localStore=e.localStore,this.sharedClientState=e.sharedClientState,this.datastore=this.createDatastore(t),this.remoteStore=this.createRemoteStore(t),this.eventManager=this.createEventManager(t),this.syncEngine=this.createSyncEngine(t,!e.synchronizeTabs),this.sharedClientState.onlineStateHandler=e=>Ml(this.syncEngine,e,1),this.remoteStore.remoteSyncer.handleCredentialChange=Gl.bind(null,this.syncEngine),await el(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(e){return new cl}createDatastore(e){const t=bs(e.databaseInfo.databaseId),n=function(e){return new vs(e)}(e.databaseInfo);return function(e,t,n,r){return new _s(e,t,n,r)}(e.authCredentials,e.appCheckCredentials,n,t)}createRemoteStore(e){return function(e,t,n,r,i){return new Ss(e,t,n,r,i)}(this.localStore,this.datastore,e.asyncQueue,(e=>Ml(this.syncEngine,e,0)),ds.D()?new ds:new us)}createSyncEngine(e,t){return function(e,t,n,r,i,o,a){const s=new Sl(e,t,n,r,i,o);return a&&(s.La=!0),s}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,e.initialUser,e.maxConcurrentLimboResolutions,t)}async terminate(){var e;await async function(e){const t=M(e);k("RemoteStore","RemoteStore shutting down."),t.M_.add(5),await Ps(t),t.O_.shutdown(),t.N_.set("Unknown")}(this.remoteStore),null===(e=this.datastore)||void 0===e||e.terminate()}}function cc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10240,n=0;return{async read(){if(n<e.byteLength){const r={value:e.slice(n,n+t),done:!1};return n+=t,r}return{done:!0}},async cancel(){},releaseLock(){},closed:Promise.resolve()}}class uc{constructor(e){this.observer=e,this.muted=!1}next(e){this.observer.next&&this.Ka(this.observer.next,e)}error(e){this.observer.error?this.Ka(this.observer.error,e):P("Uncaught Error in snapshot listener:",e.toString())}$a(){this.muted=!0}Ka(e,t){this.muted||setTimeout((()=>{this.muted||e(t)}),0)}}class dc{constructor(e,t){this.Ua=e,this.serializer=t,this.metadata=new L,this.buffer=new Uint8Array,this.Wa=new TextDecoder("utf-8"),this.Ga().then((e=>{e&&e.sa()?this.metadata.resolve(e.ia.metadata):this.metadata.reject(new Error("The first element of the bundle is not a metadata, it is\n             ".concat(JSON.stringify(null==e?void 0:e.ia))))}),(e=>this.metadata.reject(e)))}close(){return this.Ua.cancel()}async getMetadata(){return this.metadata.promise}async qa(){return await this.getMetadata(),this.Ga()}async Ga(){const e=await this.za();if(null===e)return null;const t=this.Wa.decode(e),n=Number(t);isNaN(n)&&this.ja("length string (".concat(t,") is not valid number"));const r=await this.Ha(n);return new Cl(JSON.parse(r),e.length+n)}Ja(){return this.buffer.findIndex((e=>e==="{".charCodeAt(0)))}async za(){for(;this.Ja()<0&&!await this.Ya(););if(0===this.buffer.length)return null;const e=this.Ja();e<0&&this.ja("Reached the end of bundle when a length string is expected.");const t=this.buffer.slice(0,e);return this.buffer=this.buffer.slice(e),t}async Ha(e){for(;this.buffer.length<e;)await this.Ya()&&this.ja("Reached the end of bundle when more is expected.");const t=this.Wa.decode(this.buffer.slice(0,e));return this.buffer=this.buffer.slice(e),t}ja(e){throw this.Ua.cancel(),new Error("Invalid bundle format: ".concat(e))}async Ya(){const e=await this.Ua.read();if(!e.done){const t=new Uint8Array(this.buffer.length+e.value.length);t.set(this.buffer),t.set(e.value,this.buffer.length),this.buffer=t}return e.done}}class hc{constructor(e){this.datastore=e,this.readVersions=new Map,this.mutations=[],this.committed=!1,this.lastTransactionError=null,this.writtenDocs=new Set}async lookup(e){if(this.ensureCommitNotCalled(),this.mutations.length>0)throw this.lastTransactionError=new j(O.INVALID_ARGUMENT,"Firestore transactions require all reads to be executed before all writes."),this.lastTransactionError;const t=await async function(e,t){const n=M(e),r={documents:t.map((e=>Ti(n.serializer,e)))},i=await n.xo("BatchGetDocuments",n.serializer.databaseId,te.emptyPath(),r,t.length),o=new Map;i.forEach((e=>{const t=function(e,t){return"found"in t?function(e,t){I(!!t.found),t.found.name,t.found.updateTime;const n=Si(e,t.found.name),r=xi(t.found.updateTime),i=t.found.createTime?xi(t.found.createTime):$.min(),o=new $t({mapValue:{fields:t.found.fields}});return tn.newFoundDocument(n,r,i,o)}(e,t):"missing"in t?function(e,t){I(!!t.missing),I(!!t.readTime);const n=Si(e,t.missing),r=xi(t.readTime);return tn.newNoDocument(n,r)}(e,t):F()}(n.serializer,e);o.set(t.key.toString(),t)}));const a=[];return t.forEach((e=>{const t=o.get(e.toString());I(!!t),a.push(t)})),a}(this.datastore,e);return t.forEach((e=>this.recordVersion(e))),t}set(e,t){this.write(t.toMutation(e,this.precondition(e))),this.writtenDocs.add(e.toString())}update(e,t){try{this.write(t.toMutation(e,this.preconditionForUpdate(e)))}catch(e){this.lastTransactionError=e}this.writtenDocs.add(e.toString())}delete(e){this.write(new Hr(e,this.precondition(e))),this.writtenDocs.add(e.toString())}async commit(){if(this.ensureCommitNotCalled(),this.lastTransactionError)throw this.lastTransactionError;const e=this.readVersions;this.mutations.forEach((t=>{e.delete(t.key.toString())})),e.forEach(((e,t)=>{const n=ie.fromPath(t);this.mutations.push(new zr(n,this.precondition(n)))})),await async function(e,t){const n=M(e),r={writes:t.map((e=>Ri(n.serializer,e)))};await n.Co("Commit",n.serializer.databaseId,te.emptyPath(),r)}(this.datastore,this.mutations),this.committed=!0}recordVersion(e){let t;if(e.isFoundDocument())t=e.version;else{if(!e.isNoDocument())throw F();t=$.min()}const n=this.readVersions.get(e.key.toString());if(n){if(!t.isEqual(n))throw new j(O.ABORTED,"Document version changed between two reads.")}else this.readVersions.set(e.key.toString(),t)}precondition(e){const t=this.readVersions.get(e.toString());return!this.writtenDocs.has(e.toString())&&t?t.isEqual($.min())?Pr.exists(!1):Pr.updateTime(t):Pr.none()}preconditionForUpdate(e){const t=this.readVersions.get(e.toString());if(!this.writtenDocs.has(e.toString())&&t){if(t.isEqual($.min()))throw new j(O.INVALID_ARGUMENT,"Can't update a document that doesn't exist.");return Pr.updateTime(t)}return Pr.exists(!0)}write(e){this.ensureCommitNotCalled(),this.mutations.push(e)}ensureCommitNotCalled(){}}class pc{constructor(e,t,n,r,i){this.asyncQueue=e,this.datastore=t,this.options=n,this.updateFunction=r,this.deferred=i,this.Za=n.maxAttempts,this.Yo=new ws(this.asyncQueue,"transaction_retry")}Xa(){this.Za-=1,this.eu()}eu(){this.Yo.$o((async()=>{const e=new hc(this.datastore),t=this.tu(e);t&&t.then((t=>{this.asyncQueue.enqueueAndForget((()=>e.commit().then((()=>{this.deferred.resolve(t)})).catch((e=>{this.nu(e)}))))})).catch((e=>{this.nu(e)}))}))}tu(e){try{const t=this.updateFunction(e);return!Ne(t)&&t.catch&&t.then?t:(this.deferred.reject(Error("Transaction callback must return a Promise")),null)}catch(e){return this.deferred.reject(e),null}}nu(e){this.Za>0&&this.ru(e)?(this.Za-=1,this.asyncQueue.enqueueAndForget((()=>(this.eu(),Promise.resolve())))):this.deferred.reject(e)}ru(e){if("FirebaseError"===e.name){const t=e.code;return"aborted"===t||"failed-precondition"===t||"already-exists"===t||!Qr(t)}return!1}}class fc{constructor(e,t,n,r){this.authCredentials=e,this.appCheckCredentials=t,this.asyncQueue=n,this.databaseInfo=r,this.user=A.UNAUTHENTICATED,this.clientId=Y.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this.authCredentials.start(n,(async e=>{k("FirestoreClient","Received user=",e.uid),await this.authCredentialListener(e),this.user=e})),this.appCheckCredentials.start(n,(e=>(k("FirestoreClient","Received new app check token=",e),this.appCheckCredentialListener(e,this.user))))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(e){this.authCredentialListener=e}setAppCheckTokenChangeListener(e){this.appCheckCredentialListener=e}verifyNotTerminated(){if(this.asyncQueue.isShuttingDown)throw new j(O.FAILED_PRECONDITION,"The client has already been terminated.")}terminate(){this.asyncQueue.enterRestrictedMode();const e=new L;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),e.resolve()}catch(t){const n=il(t,"Failed to shutdown persistence");e.reject(n)}})),e.promise}}async function mc(e,t){e.asyncQueue.verifyOperationInProgress(),k("FirestoreClient","Initializing OfflineComponentProvider");const n=e.configuration;await t.initialize(n);let r=n.initialUser;e.setCredentialChangeListener((async e=>{r.isEqual(e)||(await za(t.localStore,e),r=e)})),t.persistence.setDatabaseDeletedListener((()=>e.terminate())),e._offlineComponents=t}async function gc(e,t){e.asyncQueue.verifyOperationInProgress();const n=await Cc(e);k("FirestoreClient","Initializing OnlineComponentProvider"),await t.initialize(n,e.configuration),e.setCredentialChangeListener((e=>$s(t.remoteStore,e))),e.setAppCheckTokenChangeListener(((e,n)=>$s(t.remoteStore,n))),e._onlineComponents=t}function vc(e){return"FirebaseError"===e.name?e.code===O.FAILED_PRECONDITION||e.code===O.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&e instanceof DOMException)||22===e.code||20===e.code||11===e.code}async function Cc(e){if(!e._offlineComponents)if(e._uninitializedComponentsProvider){k("FirestoreClient","Using user provided OfflineComponentProvider");try{await mc(e,e._uninitializedComponentsProvider._offline)}catch(t){const n=t;if(!vc(n))throw n;D("Error using user provided cache. Falling back to memory cache: "+n),await mc(e,new oc)}}else k("FirestoreClient","Using default OfflineComponentProvider"),await mc(e,new oc);return e._offlineComponents}async function yc(e){return e._onlineComponents||(e._uninitializedComponentsProvider?(k("FirestoreClient","Using user provided OnlineComponentProvider"),await gc(e,e._uninitializedComponentsProvider._online)):(k("FirestoreClient","Using default OnlineComponentProvider"),await gc(e,new lc))),e._onlineComponents}function bc(e){return Cc(e).then((e=>e.persistence))}function wc(e){return Cc(e).then((e=>e.localStore))}function xc(e){return yc(e).then((e=>e.remoteStore))}function Ac(e){return yc(e).then((e=>e.syncEngine))}function Ec(e){return yc(e).then((e=>e.datastore))}async function _c(e){const t=await yc(e),n=t.eventManager;return n.onListen=kl.bind(null,t.syncEngine),n.onUnlisten=Fl.bind(null,t.syncEngine),n.onFirstRemoteStoreListen=Pl.bind(null,t.syncEngine),n.onLastRemoteStoreUnlisten=Il.bind(null,t.syncEngine),n}function Tc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=new L;return e.asyncQueue.enqueueAndForget((async()=>function(e,t,n,r,i){const o=new uc({next:o=>{t.enqueueAndForget((()=>dl(e,a)));const s=o.docs.has(n);!s&&o.fromCache?i.reject(new j(O.UNAVAILABLE,"Failed to get document because the client is offline.")):s&&o.fromCache&&r&&"server"===r.source?i.reject(new j(O.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):i.resolve(o)},error:e=>i.reject(e)}),a=new vl(jn(n.path),o,{includeMetadataChanges:!0,ra:!0});return ul(e,a)}(await _c(e),e.asyncQueue,t,n,r))),r.promise}function Sc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=new L;return e.asyncQueue.enqueueAndForget((async()=>function(e,t,n,r,i){const o=new uc({next:n=>{t.enqueueAndForget((()=>dl(e,a))),n.fromCache&&"server"===r.source?i.reject(new j(O.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):i.resolve(n)},error:e=>i.reject(e)}),a=new vl(n,o,{includeMetadataChanges:!0,ra:!0});return ul(e,a)}(await _c(e),e.asyncQueue,t,n,r))),r.promise}function kc(e,t,n,r){const i=function(e,t){let n;return n="string"==typeof e?$r().encode(e):e,function(e,t){return new dc(e,t)}(function(e,t){if(e instanceof Uint8Array)return cc(e,t);if(e instanceof ArrayBuffer)return cc(new Uint8Array(e),t);if(e instanceof ReadableStream)return e.getReader();throw new Error("Source of `toByteStreamReader` has to be a ArrayBuffer or ReadableStream")}(n),t)}(n,bs(t));e.asyncQueue.enqueueAndForget((async()=>{!function(e,t,n){const r=M(e);(async function(e,t,n){try{const r=await t.getMetadata();if(await function(e,t){const n=M(e),r=xi(t.createTime);return n.persistence.runTransaction("hasNewerBundle","readonly",(e=>n.$r.getBundleMetadata(e,t.id))).then((e=>!!e&&e.createTime.compareTo(r)>=0))}(e.localStore,r))return await t.close(),n._completeWith(function(e){return{taskState:"Success",documentsLoaded:e.totalDocuments,bytesLoaded:e.totalBytes,totalDocuments:e.totalDocuments,totalBytes:e.totalBytes}}(r)),Promise.resolve(new Set);n._updateProgress(wl(r));const i=new bl(r,e.localStore,t.serializer);let o=await t.qa();for(;o;){const e=await i._a(o);e&&n._updateProgress(e),o=await t.qa()}const a=await i.complete();return await ql(e,a.ca,void 0),await function(e,t){const n=M(e);return n.persistence.runTransaction("Save bundle","readwrite",(e=>n.$r.saveBundleMetadata(e,t)))}(e.localStore,r),n._completeWith(a.progress),Promise.resolve(a.ua)}catch(e){return D("SyncEngine","Loading bundle failed with ".concat(e)),n._failWith(e),Promise.resolve(new Set)}})(r,t,n).then((e=>{r.sharedClientState.notifyBundleLoaded(e)}))}(await Ac(e),i,r)}))}function Pc(e){const t={};return void 0!==e.timeoutSeconds&&(t.timeoutSeconds=e.timeoutSeconds),t}const Dc=new Map;function Nc(e,t,n){if(!n)throw new j(O.INVALID_ARGUMENT,"Function ".concat(e,"() cannot be called with an empty ").concat(t,"."))}function Fc(e,t,n,r){if(!0===t&&!0===r)throw new j(O.INVALID_ARGUMENT,"".concat(e," and ").concat(n," cannot be used together."))}function Ic(e){if(!ie.isDocumentKey(e))throw new j(O.INVALID_ARGUMENT,"Invalid document reference. Document references must have an even number of segments, but ".concat(e," has ").concat(e.length,"."))}function Rc(e){if(ie.isDocumentKey(e))throw new j(O.INVALID_ARGUMENT,"Invalid collection reference. Collection references must have an odd number of segments, but ".concat(e," has ").concat(e.length,"."))}function Mc(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e.length>20&&(e="".concat(e.substring(0,20),"...")),JSON.stringify(e);if("number"==typeof e||"boolean"==typeof e)return""+e;if("object"==typeof e){if(e instanceof Array)return"an array";{const t=function(e){return e.constructor?e.constructor.name:null}(e);return t?"a custom ".concat(t," object"):"an object"}}return"function"==typeof e?"a function":F()}function Oc(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new j(O.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const n=Mc(e);throw new j(O.INVALID_ARGUMENT,"Expected type '".concat(t.name,"', but it was: ").concat(n))}}return e}function jc(e,t){if(t<=0)throw new j(O.INVALID_ARGUMENT,"Function ".concat(e,"() requires a positive number, but it was: ").concat(t,"."))}class Lc{constructor(e){var t,n;if(void 0===e.host){if(void 0!==e.ssl)throw new j(O.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=e.host,this.ssl=null===(t=e.ssl)||void 0===t||t;if(this.credentials=e.credentials,this.ignoreUndefinedProperties=!!e.ignoreUndefinedProperties,this.localCache=e.localCache,void 0===e.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==e.cacheSizeBytes&&e.cacheSizeBytes<1048576)throw new j(O.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=e.cacheSizeBytes}Fc("experimentalForceLongPolling",e.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",e.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!e.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:void 0===e.experimentalAutoDetectLongPolling?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!e.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=Pc(null!==(n=e.experimentalLongPollingOptions)&&void 0!==n?n:{}),function(e){if(void 0!==e.timeoutSeconds){if(isNaN(e.timeoutSeconds))throw new j(O.INVALID_ARGUMENT,"invalid long polling timeout: ".concat(e.timeoutSeconds," (must not be NaN)"));if(e.timeoutSeconds<5)throw new j(O.INVALID_ARGUMENT,"invalid long polling timeout: ".concat(e.timeoutSeconds," (minimum allowed value is 5)"));if(e.timeoutSeconds>30)throw new j(O.INVALID_ARGUMENT,"invalid long polling timeout: ".concat(e.timeoutSeconds," (maximum allowed value is 30)"))}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!e.useFetchStreams}isEqual(e){return this.host===e.host&&this.ssl===e.ssl&&this.credentials===e.credentials&&this.cacheSizeBytes===e.cacheSizeBytes&&this.experimentalForceLongPolling===e.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===e.experimentalAutoDetectLongPolling&&function(e,t){return e.timeoutSeconds===t.timeoutSeconds}(this.experimentalLongPollingOptions,e.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===e.ignoreUndefinedProperties&&this.useFetchStreams===e.useFetchStreams}}class Bc{constructor(e,t,n,r){this._authCredentials=e,this._appCheckCredentials=t,this._databaseId=n,this._app=r,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Lc({}),this._settingsFrozen=!1}get app(){if(!this._app)throw new j(O.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return void 0!==this._terminateTask}_setSettings(e){if(this._settingsFrozen)throw new j(O.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Lc(e),void 0!==e.credentials&&(this._authCredentials=function(e){if(!e)return new U;switch(e.type){case"firstParty":return new Z(e.sessionIndex||"0",e.iamToken||null,e.authTokenFactory||null);case"provider":return e.client;default:throw new j(O.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(e.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask||(this._terminateTask=this._terminate()),this._terminateTask}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(e){const t=Dc.get(e);t&&(k("ComponentProvider","Removing Datastore"),Dc.delete(e),t.terminate())}(this),Promise.resolve()}}function Uc(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var i;const o=(e=Oc(e,Bc))._getSettings(),a="".concat(t,":").concat(n);if("firestore.googleapis.com"!==o.host&&o.host!==a&&D("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),e._setSettings(Object.assign(Object.assign({},o),{host:a,ssl:!1})),r.mockUserToken){let t,n;if("string"==typeof r.mockUserToken)t=r.mockUserToken,n=A.MOCK_USER;else{t=(0,l.Fy)(r.mockUserToken,null===(i=e._app)||void 0===i?void 0:i.options.projectId);const o=r.mockUserToken.sub||r.mockUserToken.user_id;if(!o)throw new j(O.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");n=new A(o)}e._authCredentials=new V(new B(t,n))}}class Vc{constructor(e,t,n){this.converter=t,this._query=n,this.type="query",this.firestore=e}withConverter(e){return new Vc(this.firestore,e,this._query)}}class Hc{constructor(e,t,n){this.converter=t,this._key=n,this.type="document",this.firestore=e}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new zc(this.firestore,this.converter,this._key.path.popLast())}withConverter(e){return new Hc(this.firestore,e,this._key)}}class zc extends Vc{constructor(e,t,n){super(e,t,jn(n)),this._path=n,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const e=this._path.popLast();return e.isEmpty()?null:new Hc(this.firestore,null,new ie(e))}withConverter(e){return new zc(this.firestore,e,this._path)}}function Zc(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(e=(0,l.Ku)(e),Nc("collection","path",t),e instanceof Bc){const n=te.fromString(t,...r);return Rc(n),new zc(e,null,n)}{if(!(e instanceof Hc||e instanceof zc))throw new j(O.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const n=e._path.child(te.fromString(t,...r));return Rc(n),new zc(e.firestore,null,n)}}function Wc(e,t){if(e=Oc(e,Bc),Nc("collectionGroup","collection id",t),t.indexOf("/")>=0)throw new j(O.INVALID_ARGUMENT,"Invalid collection ID '".concat(t,"' passed to function collectionGroup(). Collection IDs must not contain '/'."));return new Vc(e,null,function(e){return new Mn(te.emptyPath(),e)}(t))}function qc(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(e=(0,l.Ku)(e),1===arguments.length&&(t=Y.newId()),Nc("doc","path",t),e instanceof Bc){const n=te.fromString(t,...r);return Ic(n),new Hc(e,null,new ie(n))}{if(!(e instanceof Hc||e instanceof zc))throw new j(O.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const n=e._path.child(te.fromString(t,...r));return Ic(n),new Hc(e.firestore,e instanceof zc?e.converter:null,new ie(n))}}function Gc(e,t){return e=(0,l.Ku)(e),t=(0,l.Ku)(t),(e instanceof Hc||e instanceof zc)&&(t instanceof Hc||t instanceof zc)&&e.firestore===t.firestore&&e.path===t.path&&e.converter===t.converter}function Yc(e,t){return e=(0,l.Ku)(e),t=(0,l.Ku)(t),e instanceof Vc&&t instanceof Vc&&e.firestore===t.firestore&&Wn(e._query,t._query)&&e.converter===t.converter}class Kc{constructor(){this.iu=Promise.resolve(),this.su=[],this.ou=!1,this._u=[],this.au=null,this.uu=!1,this.cu=!1,this.lu=[],this.Yo=new ws(this,"async_queue_retry"),this.hu=()=>{const e=ys();e&&k("AsyncQueue","Visibility state changed to "+e.visibilityState),this.Yo.Wo()};const e=ys();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this.hu)}get isShuttingDown(){return this.ou}enqueueAndForget(e){this.enqueue(e)}enqueueAndForgetEvenWhileRestricted(e){this.Pu(),this.Iu(e)}enterRestrictedMode(e){if(!this.ou){this.ou=!0,this.cu=e||!1;const t=ys();t&&"function"==typeof t.removeEventListener&&t.removeEventListener("visibilitychange",this.hu)}}enqueue(e){if(this.Pu(),this.ou)return new Promise((()=>{}));const t=new L;return this.Iu((()=>this.ou&&this.cu?Promise.resolve():(e().then(t.resolve,t.reject),t.promise))).then((()=>t.promise))}enqueueRetryable(e){this.enqueueAndForget((()=>(this.su.push(e),this.Tu())))}async Tu(){if(0!==this.su.length){try{await this.su[0](),this.su.shift(),this.Yo.reset()}catch(e){if(!Ae(e))throw e;k("AsyncQueue","Operation failed with retryable error: "+e)}this.su.length>0&&this.Yo.$o((()=>this.Tu()))}}Iu(e){const t=this.iu.then((()=>(this.uu=!0,e().catch((e=>{this.au=e,this.uu=!1;const t=function(e){let t=e.message||"";return e.stack&&(t=e.stack.includes(e.message)?e.stack:e.message+"\n"+e.stack),t}(e);throw P("INTERNAL UNHANDLED ERROR: ",t),e})).then((e=>(this.uu=!1,e))))));return this.iu=t,t}enqueueAfterDelay(e,t,n){this.Pu(),this.lu.indexOf(e)>-1&&(t=0);const r=rl.createAndSchedule(this,e,t,n,(e=>this.Eu(e)));return this._u.push(r),r}Pu(){this.au&&F()}verifyOperationInProgress(){}async du(){let e;do{e=this.iu,await e}while(e!==this.iu)}Au(e){for(const t of this._u)if(t.timerId===e)return!0;return!1}Ru(e){return this.du().then((()=>{this._u.sort(((e,t)=>e.targetTimeMs-t.targetTimeMs));for(const t of this._u)if(t.skipDelay(),"all"!==e&&t.timerId===e)break;return this.du()}))}Vu(e){this.lu.push(e)}Eu(e){const t=this._u.indexOf(e);this._u.splice(t,1)}}function Qc(e){return function(e,t){if("object"!=typeof e||null===e)return!1;const n=e;for(const r of t)if(r in n&&"function"==typeof n[r])return!0;return!1}(e,["next","error","complete"])}class Xc{constructor(){this._progressObserver={},this._taskCompletionResolver=new L,this._lastProgress={taskState:"Running",totalBytes:0,totalDocuments:0,bytesLoaded:0,documentsLoaded:0}}onProgress(e,t,n){this._progressObserver={next:e,error:t,complete:n}}catch(e){return this._taskCompletionResolver.promise.catch(e)}then(e,t){return this._taskCompletionResolver.promise.then(e,t)}_completeWith(e){this._updateProgress(e),this._progressObserver.complete&&this._progressObserver.complete(),this._taskCompletionResolver.resolve(e)}_failWith(e){this._lastProgress.taskState="Error",this._progressObserver.next&&this._progressObserver.next(this._lastProgress),this._progressObserver.error&&this._progressObserver.error(e),this._taskCompletionResolver.reject(e)}_updateProgress(e){this._lastProgress=e,this._progressObserver.next&&this._progressObserver.next(e)}}const Jc=-1;class $c extends Bc{constructor(e,t,n,r){super(e,t,n,r),this.type="firestore",this._queue=new Kc,this._persistenceKey=(null==r?void 0:r.name)||"[DEFAULT]"}_terminate(){return this._firestoreClient||tu(this),this._firestoreClient.terminate()}}function eu(e){return e._firestoreClient||tu(e),e._firestoreClient.verifyNotTerminated(),e._firestoreClient}function tu(e){var t,n,r;const i=e._freezeSettings(),o=function(e,t,n,r){return new Dt(e,t,n,r.host,r.ssl,r.experimentalForceLongPolling,r.experimentalAutoDetectLongPolling,Pc(r.experimentalLongPollingOptions),r.useFetchStreams)}(e._databaseId,(null===(t=e._app)||void 0===t?void 0:t.options.appId)||"",e._persistenceKey,i);e._firestoreClient=new fc(e._authCredentials,e._appCheckCredentials,e._queue,o),(null===(n=i.localCache)||void 0===n?void 0:n._offlineComponentProvider)&&(null===(r=i.localCache)||void 0===r?void 0:r._onlineComponentProvider)&&(e._firestoreClient._uninitializedComponentsProvider={_offlineKind:i.localCache.kind,_offline:i.localCache._offlineComponentProvider,_online:i.localCache._onlineComponentProvider})}function nu(e,t){du(e=Oc(e,$c));const n=eu(e);if(n._uninitializedComponentsProvider)throw new j(O.FAILED_PRECONDITION,"SDK cache is already specified.");D("enableIndexedDbPersistence() will be deprecated in the future, you can use `FirestoreSettings.cache` instead.");const r=e._freezeSettings(),i=new lc;return iu(n,i,new ac(i,r.cacheSizeBytes,null==t?void 0:t.forceOwnership))}function ru(e){du(e=Oc(e,$c));const t=eu(e);if(t._uninitializedComponentsProvider)throw new j(O.FAILED_PRECONDITION,"SDK cache is already specified.");D("enableMultiTabIndexedDbPersistence() will be deprecated in the future, you can use `FirestoreSettings.cache` instead.");const n=e._freezeSettings(),r=new lc;return iu(t,r,new sc(r,n.cacheSizeBytes))}function iu(e,t,n){const r=new L;return e.asyncQueue.enqueue((async()=>{try{await mc(e,n),await gc(e,t),r.resolve()}catch(e){const n=e;if(!vc(n))throw n;D("Error enabling indexeddb cache. Falling back to memory cache: "+n),r.reject(n)}})).then((()=>r.promise))}function ou(e){if(e._initialized&&!e._terminated)throw new j(O.FAILED_PRECONDITION,"Persistence can only be cleared before a Firestore instance is initialized or after it is terminated.");const t=new L;return e._queue.enqueueAndForgetEvenWhileRestricted((async()=>{try{await async function(e){if(!ye.D())return Promise.resolve();const t=e+"main";await ye.delete(t)}(ja(e._databaseId,e._persistenceKey)),t.resolve()}catch(e){t.reject(e)}})),t.promise}function au(e){return function(e){const t=new L;return e.asyncQueue.enqueueAndForget((async()=>async function(e,t){const n=M(e);Os(n.remoteStore)||k("SyncEngine","The network is disabled. The task returned by 'awaitPendingWrites()' will not complete until the network is enabled.");try{const e=await function(e){const t=M(e);return t.persistence.runTransaction("Get highest unacknowledged batch id","readonly",(e=>t.mutationQueue.getHighestUnacknowledgedBatchId(e)))}(n.localStore);if(-1===e)return void t.resolve();const r=n.Oa.get(e)||[];r.push(t),n.Oa.set(e,r)}catch(e){const n=il(e,"Initialization of waitForPendingWrites() operation failed");t.reject(n)}}(await Ac(e),t))),t.promise}(eu(e=Oc(e,$c)))}function su(e){return function(e){return e.asyncQueue.enqueue((async()=>{const t=await bc(e),n=await xc(e);return t.setNetworkEnabled(!0),function(e){const t=M(e);return t.M_.delete(0),ks(t)}(n)}))}(eu(e=Oc(e,$c)))}function lu(e){return function(e){return e.asyncQueue.enqueue((async()=>{const t=await bc(e),n=await xc(e);return t.setNetworkEnabled(!1),async function(e){const t=M(e);t.M_.add(0),await Ps(t),t.N_.set("Offline")}(n)}))}(eu(e=Oc(e,$c)))}function cu(e,t){const n=eu(e=Oc(e,$c)),r=new Xc;return kc(n,e._databaseId,t,r),r}function uu(e,t){return function(e,t){return e.asyncQueue.enqueue((async()=>function(e,t){const n=M(e);return n.persistence.runTransaction("Get named query","readonly",(e=>n.$r.getNamedQuery(e,t)))}(await wc(e),t)))}(eu(e=Oc(e,$c)),t).then((t=>t?new Vc(e,null,t.query):null))}function du(e){if(e._initialized||e._terminated)throw new j(O.FAILED_PRECONDITION,"Firestore has already been started and persistence can no longer be enabled. You can only enable persistence before calling any other methods on a Firestore object.")}class hu{constructor(e){this._byteString=e}static fromBase64String(e){try{return new hu(xt.fromBase64String(e))}catch(e){throw new j(O.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+e)}}static fromUint8Array(e){return new hu(xt.fromUint8Array(e))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(e){return this._byteString.isEqual(e._byteString)}}class pu{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(let r=0;r<t.length;++r)if(0===t[r].length)throw new j(O.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new re(t)}isEqual(e){return this._internalPath.isEqual(e._internalPath)}}class fu{constructor(e){this._methodName=e}}class mu{constructor(e,t){if(!isFinite(e)||e<-90||e>90)throw new j(O.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+e);if(!isFinite(t)||t<-180||t>180)throw new j(O.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+t);this._lat=e,this._long=t}get latitude(){return this._lat}get longitude(){return this._long}isEqual(e){return this._lat===e._lat&&this._long===e._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(e){return K(this._lat,e._lat)||K(this._long,e._long)}}const gu=/^__.*__$/;class vu{constructor(e,t,n){this.data=e,this.fieldMask=t,this.fieldTransforms=n}toMutation(e,t){return null!==this.fieldMask?new Lr(e,this.data,this.fieldMask,t,this.fieldTransforms):new jr(e,this.data,t,this.fieldTransforms)}}class Cu{constructor(e,t,n){this.data=e,this.fieldMask=t,this.fieldTransforms=n}toMutation(e,t){return new Lr(e,this.data,this.fieldMask,t,this.fieldTransforms)}}function yu(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw F()}}class bu{constructor(e,t,n,r,i,o){this.settings=e,this.databaseId=t,this.serializer=n,this.ignoreUndefinedProperties=r,void 0===i&&this.mu(),this.fieldTransforms=i||[],this.fieldMask=o||[]}get path(){return this.settings.path}get fu(){return this.settings.fu}gu(e){return new bu(Object.assign(Object.assign({},this.settings),e),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}pu(e){var t;const n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.gu({path:n,yu:!1});return r.wu(e),r}Su(e){var t;const n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.gu({path:n,yu:!1});return r.mu(),r}bu(e){return this.gu({path:void 0,yu:!0})}Du(e){return Uu(e,this.settings.methodName,this.settings.Cu||!1,this.path,this.settings.vu)}contains(e){return void 0!==this.fieldMask.find((t=>e.isPrefixOf(t)))||void 0!==this.fieldTransforms.find((t=>e.isPrefixOf(t.field)))}mu(){if(this.path)for(let e=0;e<this.path.length;e++)this.wu(this.path.get(e))}wu(e){if(0===e.length)throw this.Du("Document fields must not be empty");if(yu(this.fu)&&gu.test(e))throw this.Du('Document fields cannot begin and end with "__"')}}class wu{constructor(e,t,n){this.databaseId=e,this.ignoreUndefinedProperties=t,this.serializer=n||bs(e)}Fu(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new bu({fu:e,methodName:t,vu:n,path:re.emptyPath(),yu:!1,Cu:r},this.databaseId,this.serializer,this.ignoreUndefinedProperties)}}function xu(e){const t=e._freezeSettings(),n=bs(e._databaseId);return new wu(e._databaseId,!!t.ignoreUndefinedProperties,n)}function Au(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const a=e.Fu(o.merge||o.mergeFields?2:0,t,n,i);Ou("Data must be an object, but it was:",a,r);const s=Ru(r,a);let l,c;if(o.merge)l=new yt(a.fieldMask),c=a.fieldTransforms;else if(o.mergeFields){const e=[];for(const r of o.mergeFields){const i=ju(t,r,n);if(!a.contains(i))throw new j(O.INVALID_ARGUMENT,"Field '".concat(i,"' is specified in your field mask but missing from your input data."));Vu(e,i)||e.push(i)}l=new yt(e),c=a.fieldTransforms.filter((e=>l.covers(e.field)))}else l=null,c=a.fieldTransforms;return new vu(new $t(s),l,c)}class Eu extends fu{_toFieldTransform(e){if(2!==e.fu)throw 1===e.fu?e.Du("".concat(this._methodName,"() can only appear at the top level of your update data")):e.Du("".concat(this._methodName,"() cannot be used with set() unless you pass {merge:true}"));return e.fieldMask.push(e.path),null}isEqual(e){return e instanceof Eu}}function _u(e,t,n){return new bu({fu:3,vu:t.settings.vu,methodName:e._methodName,yu:n},t.databaseId,t.serializer,t.ignoreUndefinedProperties)}class Tu extends fu{_toFieldTransform(e){return new Sr(e.path,new yr)}isEqual(e){return e instanceof Tu}}class Su extends fu{constructor(e,t){super(e),this.Mu=t}_toFieldTransform(e){const t=_u(this,e,!0),n=this.Mu.map((e=>Iu(e,t))),r=new br(n);return new Sr(e.path,r)}isEqual(e){return e instanceof Su&&(0,l.bD)(this.Mu,e.Mu)}}class ku extends fu{constructor(e,t){super(e),this.Mu=t}_toFieldTransform(e){const t=_u(this,e,!0),n=this.Mu.map((e=>Iu(e,t))),r=new xr(n);return new Sr(e.path,r)}isEqual(e){return e instanceof ku&&(0,l.bD)(this.Mu,e.Mu)}}class Pu extends fu{constructor(e,t){super(e),this.xu=t}_toFieldTransform(e){const t=new Er(e.serializer,fr(e.serializer,this.xu));return new Sr(e.path,t)}isEqual(e){return e instanceof Pu&&this.xu===e.xu}}function Du(e,t,n,r){const i=e.Fu(1,t,n);Ou("Data must be an object, but it was:",i,r);const o=[],a=$t.empty();dt(r,((e,r)=>{const s=Bu(t,e,n);r=(0,l.Ku)(r);const c=i.Su(s);if(r instanceof Eu)o.push(s);else{const e=Iu(r,c);null!=e&&(o.push(s),a.set(s,e))}}));const s=new yt(o);return new Cu(a,s,i.fieldTransforms)}function Nu(e,t,n,r,i,o){const a=e.Fu(1,t,n),s=[ju(t,r,n)],c=[i];if(o.length%2!=0)throw new j(O.INVALID_ARGUMENT,"Function ".concat(t,"() needs to be called with an even number of arguments that alternate between field names and values."));for(let l=0;l<o.length;l+=2)s.push(ju(t,o[l])),c.push(o[l+1]);const u=[],d=$t.empty();for(let p=s.length-1;p>=0;--p)if(!Vu(u,s[p])){const e=s[p];let t=c[p];t=(0,l.Ku)(t);const n=a.Su(e);if(t instanceof Eu)u.push(e);else{const r=Iu(t,n);null!=r&&(u.push(e),d.set(e,r))}}const h=new yt(u);return new Cu(d,h,a.fieldTransforms)}function Fu(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Iu(n,e.Fu(r?4:3,t))}function Iu(e,t){if(Mu(e=(0,l.Ku)(e)))return Ou("Unsupported field value:",t,e),Ru(e,t);if(e instanceof fu)return function(e,t){if(!yu(t.fu))throw t.Du("".concat(e._methodName,"() can only be used with update() and set()"));if(!t.path)throw t.Du("".concat(e._methodName,"() is not currently supported inside arrays"));const n=e._toFieldTransform(t);n&&t.fieldTransforms.push(n)}(e,t),null;if(void 0===e&&t.ignoreUndefinedProperties)return null;if(t.path&&t.fieldMask.push(t.path),e instanceof Array){if(t.settings.yu&&4!==t.fu)throw t.Du("Nested arrays are not supported");return function(e,t){const n=[];let r=0;for(const i of e){let e=Iu(i,t.bu(r));null==e&&(e={nullValue:"NULL_VALUE"}),n.push(e),r++}return{arrayValue:{values:n}}}(e,t)}return function(e,t){if(null===(e=(0,l.Ku)(e)))return{nullValue:"NULL_VALUE"};if("number"==typeof e)return fr(t.serializer,e);if("boolean"==typeof e)return{booleanValue:e};if("string"==typeof e)return{stringValue:e};if(e instanceof Date){const n=J.fromDate(e);return{timestampValue:yi(t.serializer,n)}}if(e instanceof J){const n=new J(e.seconds,1e3*Math.floor(e.nanoseconds/1e3));return{timestampValue:yi(t.serializer,n)}}if(e instanceof mu)return{geoPointValue:{latitude:e.latitude,longitude:e.longitude}};if(e instanceof hu)return{bytesValue:bi(t.serializer,e._byteString)};if(e instanceof Hc){const n=t.databaseId,r=e.firestore._databaseId;if(!r.isEqual(n))throw t.Du("Document reference is for database ".concat(r.projectId,"/").concat(r.database," but should be for database ").concat(n.projectId,"/").concat(n.database));return{referenceValue:Ai(e.firestore._databaseId||t.databaseId,e._key.path)}}throw t.Du("Unsupported field value: ".concat(Mc(e)))}(e,t)}function Ru(e,t){const n={};return ht(e)?t.path&&t.path.length>0&&t.fieldMask.push(t.path):dt(e,((e,r)=>{const i=Iu(r,t.pu(e));null!=i&&(n[e]=i)})),{mapValue:{fields:n}}}function Mu(e){return!("object"!=typeof e||null===e||e instanceof Array||e instanceof Date||e instanceof J||e instanceof mu||e instanceof hu||e instanceof Hc||e instanceof fu)}function Ou(e,t,n){if(!Mu(n)||!function(e){return"object"==typeof e&&null!==e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}(n)){const r=Mc(n);throw"an object"===r?t.Du(e+" a custom object"):t.Du(e+" "+r)}}function ju(e,t,n){if((t=(0,l.Ku)(t))instanceof pu)return t._internalPath;if("string"==typeof t)return Bu(e,t);throw Uu("Field path arguments must be of type string or ",e,!1,void 0,n)}const Lu=new RegExp("[~\\*/\\[\\]]");function Bu(e,t,n){if(t.search(Lu)>=0)throw Uu("Invalid field path (".concat(t,"). Paths must not contain '~', '*', '/', '[', or ']'"),e,!1,void 0,n);try{return new pu(...t.split("."))._internalPath}catch(r){throw Uu("Invalid field path (".concat(t,"). Paths must not be empty, begin with '.', end with '.', or contain '..'"),e,!1,void 0,n)}}function Uu(e,t,n,r,i){const o=r&&!r.isEmpty(),a=void 0!==i;let s="Function ".concat(t,"() called with invalid data");n&&(s+=" (via `toFirestore()`)"),s+=". ";let l="";return(o||a)&&(l+=" (found",o&&(l+=" in field ".concat(r)),a&&(l+=" in document ".concat(i)),l+=")"),new j(O.INVALID_ARGUMENT,s+e+l)}function Vu(e,t){return e.some((e=>e.isEqual(t)))}class Hu{constructor(e,t,n,r,i){this._firestore=e,this._userDataWriter=t,this._key=n,this._document=r,this._converter=i}get id(){return this._key.path.lastSegment()}get ref(){return new Hc(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const e=new zu(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(e)}return this._userDataWriter.convertValue(this._document.data.value)}}get(e){if(this._document){const t=this._document.data.field(Zu("DocumentSnapshot.get",e));if(null!==t)return this._userDataWriter.convertValue(t)}}}class zu extends Hu{data(){return super.data()}}function Zu(e,t){return"string"==typeof t?Bu(e,t):t instanceof pu?t._internalPath:t._delegate._internalPath}function Wu(e){if("L"===e.limitType&&0===e.explicitOrderBy.length)throw new j(O.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class qu{}class Gu extends qu{}function Yu(e,t){let n=[];for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];t instanceof qu&&n.push(t),n=n.concat(i),function(e){const t=e.filter((e=>e instanceof Xu)).length,n=e.filter((e=>e instanceof Ku)).length;if(t>1||t>0&&n>0)throw new j(O.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(n);for(const a of n)e=a._apply(e);return e}class Ku extends Gu{constructor(e,t,n){super(),this._field=e,this._op=t,this._value=n,this.type="where"}static _create(e,t,n){return new Ku(e,t,n)}_apply(e){const t=this._parse(e);return fd(e._query,t),new Vc(e.firestore,e.converter,zn(e._query,t))}_parse(e){const t=xu(e.firestore),n=function(e,t,n,r,i,o,a){let s;if(i.isKeyField()){if("array-contains"===o||"array-contains-any"===o)throw new j(O.INVALID_ARGUMENT,"Invalid Query. You can't perform '".concat(o,"' queries on documentId()."));if("in"===o||"not-in"===o){pd(a,o);const t=[];for(const n of a)t.push(hd(r,e,n));s={arrayValue:{values:t}}}else s=hd(r,e,a)}else"in"!==o&&"not-in"!==o&&"array-contains-any"!==o||pd(a,o),s=Fu(n,t,a,"in"===o||"not-in"===o);return cn.create(i,o,s)}(e._query,"where",t,e.firestore._databaseId,this._field,this._op,this._value);return n}}function Qu(e,t,n){const r=t,i=Zu("where",e);return Ku._create(i,r,n)}class Xu extends qu{constructor(e,t){super(),this.type=e,this._queryConstraints=t}static _create(e,t){return new Xu(e,t)}_parse(e){const t=this._queryConstraints.map((t=>t._parse(e))).filter((e=>e.getFilters().length>0));return 1===t.length?t[0]:un.create(t,this._getOperator())}_apply(e){const t=this._parse(e);return 0===t.getFilters().length?e:(function(e,t){let n=e;const r=t.getFlattenedFilters();for(const i of r)fd(n,i),n=zn(n,i)}(e._query,t),new Vc(e.firestore,e.converter,zn(e._query,t)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}function Ju(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach((e=>md("or",e))),Xu._create("or",t)}function $u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach((e=>md("and",e))),Xu._create("and",t)}class ed extends Gu{constructor(e,t){super(),this._field=e,this._direction=t,this.type="orderBy"}static _create(e,t){return new ed(e,t)}_apply(e){const t=function(e,t,n){if(null!==e.startAt)throw new j(O.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==e.endAt)throw new j(O.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new an(t,n)}(e._query,this._field,this._direction);return new Vc(e.firestore,e.converter,function(e,t){const n=e.explicitOrderBy.concat([t]);return new Mn(e.path,e.collectionGroup,n,e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(e._query,t))}}function td(e){const t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc",n=Zu("orderBy",e);return ed._create(n,t)}class nd extends Gu{constructor(e,t,n){super(),this.type=e,this._limit=t,this._limitType=n}static _create(e,t,n){return new nd(e,t,n)}_apply(e){return new Vc(e.firestore,e.converter,Zn(e._query,this._limit,this._limitType))}}function rd(e){return jc("limit",e),nd._create("limit",e,"F")}function id(e){return jc("limitToLast",e),nd._create("limitToLast",e,"L")}class od extends Gu{constructor(e,t,n){super(),this.type=e,this._docOrFields=t,this._inclusive=n}static _create(e,t,n){return new od(e,t,n)}_apply(e){const t=dd(e,this.type,this._docOrFields,this._inclusive);return new Vc(e.firestore,e.converter,function(e,t){return new Mn(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,t,e.endAt)}(e._query,t))}}function ad(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return od._create("startAt",t,!0)}function sd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return od._create("startAfter",t,!1)}class ld extends Gu{constructor(e,t,n){super(),this.type=e,this._docOrFields=t,this._inclusive=n}static _create(e,t,n){return new ld(e,t,n)}_apply(e){const t=dd(e,this.type,this._docOrFields,this._inclusive);return new Vc(e.firestore,e.converter,function(e,t){return new Mn(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,e.startAt,t)}(e._query,t))}}function cd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ld._create("endBefore",t,!1)}function ud(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ld._create("endAt",t,!0)}function dd(e,t,n,r){if(n[0]=(0,l.Ku)(n[0]),n[0]instanceof Hu)return function(e,t,n,r,i){if(!r)throw new j(O.NOT_FOUND,"Can't use a DocumentSnapshot that doesn't exist for ".concat(n,"()."));const o=[];for(const a of Un(e))if(a.field.isKeyField())o.push(Vt(t,r.key));else{const e=r.data.field(a.field);if(St(e))throw new j(O.INVALID_ARGUMENT,'Invalid query. You are trying to start or end a query using a document for which the field "'+a.field+'" is an uncommitted server timestamp. (Since the value of this field is unknown, you cannot start/end a query with it.)');if(null===e){const e=a.field.canonicalString();throw new j(O.INVALID_ARGUMENT,"Invalid query. You are trying to start or end a query using a document for which the field '".concat(e,"' (used as the orderBy) does not exist."))}o.push(e)}return new nn(o,i)}(e._query,e.firestore._databaseId,t,n[0]._document,r);{const i=xu(e.firestore);return function(e,t,n,r,i,o){const a=e.explicitOrderBy;if(i.length>a.length)throw new j(O.INVALID_ARGUMENT,"Too many arguments provided to ".concat(r,"(). The number of arguments must be less than or equal to the number of orderBy() clauses"));const s=[];for(let l=0;l<i.length;l++){const o=i[l];if(a[l].field.isKeyField()){if("string"!=typeof o)throw new j(O.INVALID_ARGUMENT,"Invalid query. Expected a string for document ID in ".concat(r,"(), but got a ").concat(typeof o));if(!Bn(e)&&-1!==o.indexOf("/"))throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying a collection and ordering by documentId(), the value passed to ".concat(r,"() must be a plain document ID, but '").concat(o,"' contains a slash."));const n=e.path.child(te.fromString(o));if(!ie.isDocumentKey(n))throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying a collection group and ordering by documentId(), the value passed to ".concat(r,"() must result in a valid document path, but '").concat(n,"' is not because it contains an odd number of segments."));const i=new ie(n);s.push(Vt(t,i))}else{const e=Fu(n,r,o);s.push(e)}}return new nn(s,o)}(e._query,e.firestore._databaseId,i,t,n,r)}}function hd(e,t,n){if("string"==typeof(n=(0,l.Ku)(n))){if(""===n)throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!Bn(t)&&-1!==n.indexOf("/"))throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '".concat(n,"' contains a '/' character."));const r=t.path.child(te.fromString(n));if(!ie.isDocumentKey(r))throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '".concat(r,"' is not because it has an odd number of segments (").concat(r.length,")."));return Vt(e,new ie(r))}if(n instanceof Hc)return Vt(e,n._key);throw new j(O.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ".concat(Mc(n),"."))}function pd(e,t){if(!Array.isArray(e)||0===e.length)throw new j(O.INVALID_ARGUMENT,"Invalid Query. A non-empty array is required for '".concat(t.toString(),"' filters."))}function fd(e,t){const n=function(e,t){for(const n of e)for(const e of n.getFlattenedFilters())if(t.indexOf(e.op)>=0)return e.op;return null}(e.filters,function(e){switch(e){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(t.op));if(null!==n)throw n===t.op?new j(O.INVALID_ARGUMENT,"Invalid query. You cannot use more than one '".concat(t.op.toString(),"' filter.")):new j(O.INVALID_ARGUMENT,"Invalid query. You cannot use '".concat(t.op.toString(),"' filters with '").concat(n.toString(),"' filters."))}function md(e,t){if(!(t instanceof Ku||t instanceof Xu))throw new j(O.INVALID_ARGUMENT,"Function ".concat(e,"() requires AppliableConstraints created with a call to 'where(...)', 'or(...)', or 'and(...)'."))}class gd{convertValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";switch(Rt(e)){case 0:return null;case 1:return e.booleanValue;case 2:return _t(e.integerValue||e.doubleValue);case 3:return this.convertTimestamp(e.timestampValue);case 4:return this.convertServerTimestamp(e,t);case 5:return e.stringValue;case 6:return this.convertBytes(Tt(e.bytesValue));case 7:return this.convertReference(e.referenceValue);case 8:return this.convertGeoPoint(e.geoPointValue);case 9:return this.convertArray(e.arrayValue,t);case 10:return this.convertObject(e.mapValue,t);default:throw F()}}convertObject(e,t){return this.convertObjectMap(e.fields,t)}convertObjectMap(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";const n={};return dt(e,((e,r)=>{n[e]=this.convertValue(r,t)})),n}convertGeoPoint(e){return new mu(_t(e.latitude),_t(e.longitude))}convertArray(e,t){return(e.values||[]).map((e=>this.convertValue(e,t)))}convertServerTimestamp(e,t){switch(t){case"previous":const n=kt(e);return null==n?null:this.convertValue(n,t);case"estimate":return this.convertTimestamp(Pt(e));default:return null}}convertTimestamp(e){const t=Et(e);return new J(t.seconds,t.nanos)}convertDocumentKey(e,t){const n=te.fromString(e);I(Gi(n));const r=new Nt(n.get(1),n.get(3)),i=new ie(n.popFirst(5));return r.isEqual(t)||P("Document ".concat(i," contains a document reference within a different database (").concat(r.projectId,"/").concat(r.database,") which is not supported. It will be treated as a reference in the current database (").concat(t.projectId,"/").concat(t.database,") instead.")),i}}function vd(e,t,n){let r;return r=e?n&&(n.merge||n.mergeFields)?e.toFirestore(t,n):e.toFirestore(t):t,r}class Cd extends gd{constructor(e){super(),this.firestore=e}convertBytes(e){return new hu(e)}convertReference(e){const t=this.convertDocumentKey(e,this.firestore._databaseId);return new Hc(this.firestore,null,t)}}class yd{constructor(e,t){this.hasPendingWrites=e,this.fromCache=t}isEqual(e){return this.hasPendingWrites===e.hasPendingWrites&&this.fromCache===e.fromCache}}class bd extends Hu{constructor(e,t,n,r,i,o){super(e,t,n,r,o),this._firestore=e,this._firestoreImpl=e,this.metadata=i}exists(){return super.exists()}data(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._document){if(this._converter){const t=new wd(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(t,e)}return this._userDataWriter.convertValue(this._document.data.value,e.serverTimestamps)}}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._document){const n=this._document.data.field(Zu("DocumentSnapshot.get",e));if(null!==n)return this._userDataWriter.convertValue(n,t.serverTimestamps)}}}class wd extends bd{data(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return super.data(e)}}class xd{constructor(e,t,n,r){this._firestore=e,this._userDataWriter=t,this._snapshot=r,this.metadata=new yd(r.hasPendingWrites,r.fromCache),this.query=n}get docs(){const e=[];return this.forEach((t=>e.push(t))),e}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(e,t){this._snapshot.docs.forEach((n=>{e.call(t,new wd(this._firestore,this._userDataWriter,n.key,n,new yd(this._snapshot.mutatedKeys.has(n.key),this._snapshot.fromCache),this.query.converter))}))}docChanges(){const e=!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new j(O.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(e,t){if(e._snapshot.oldDocs.isEmpty()){let t=0;return e._snapshot.docChanges.map((n=>{const r=new wd(e._firestore,e._userDataWriter,n.doc.key,n.doc,new yd(e._snapshot.mutatedKeys.has(n.doc.key),e._snapshot.fromCache),e.query.converter);return n.doc,{type:"added",doc:r,oldIndex:-1,newIndex:t++}}))}{let n=e._snapshot.oldDocs;return e._snapshot.docChanges.filter((e=>t||3!==e.type)).map((t=>{const r=new wd(e._firestore,e._userDataWriter,t.doc.key,t.doc,new yd(e._snapshot.mutatedKeys.has(t.doc.key),e._snapshot.fromCache),e.query.converter);let i=-1,o=-1;return 0!==t.type&&(i=n.indexOf(t.doc.key),n=n.delete(t.doc.key)),1!==t.type&&(n=n.add(t.doc),o=n.indexOf(t.doc.key)),{type:Ad(t.type),doc:r,oldIndex:i,newIndex:o}}))}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}}function Ad(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return F()}}function Ed(e,t){return e instanceof bd&&t instanceof bd?e._firestore===t._firestore&&e._key.isEqual(t._key)&&(null===e._document?null===t._document:e._document.isEqual(t._document))&&e._converter===t._converter:e instanceof xd&&t instanceof xd&&e._firestore===t._firestore&&Yc(e.query,t.query)&&e.metadata.isEqual(t.metadata)&&e._snapshot.isEqual(t._snapshot)}function _d(e){e=Oc(e,Hc);const t=Oc(e.firestore,$c);return Tc(eu(t),e._key).then((n=>Bd(t,e,n)))}class Td extends gd{constructor(e){super(),this.firestore=e}convertBytes(e){return new hu(e)}convertReference(e){const t=this.convertDocumentKey(e,this.firestore._databaseId);return new Hc(this.firestore,null,t)}}function Sd(e){e=Oc(e,Hc);const t=Oc(e.firestore,$c),n=eu(t),r=new Td(t);return function(e,t){const n=new L;return e.asyncQueue.enqueueAndForget((async()=>async function(e,t,n){try{const r=await function(e,t){const n=M(e);return n.persistence.runTransaction("read document","readonly",(e=>n.localDocuments.getDocument(e,t)))}(e,t);r.isFoundDocument()?n.resolve(r):r.isNoDocument()?n.resolve(null):n.reject(new j(O.UNAVAILABLE,"Failed to get document from cache. (However, this document may exist on the server. Run again without setting 'source' in the GetOptions to attempt to retrieve the document from the server.)"))}catch(e){const r=il(e,"Failed to get document '".concat(t," from cache"));n.reject(r)}}(await wc(e),t,n))),n.promise}(n,e._key).then((n=>new bd(t,r,e._key,n,new yd(null!==n&&n.hasLocalMutations,!0),e.converter)))}function kd(e){e=Oc(e,Hc);const t=Oc(e.firestore,$c);return Tc(eu(t),e._key,{source:"server"}).then((n=>Bd(t,e,n)))}function Pd(e){e=Oc(e,Vc);const t=Oc(e.firestore,$c),n=eu(t),r=new Td(t);return Wu(e._query),Sc(n,e._query).then((n=>new xd(t,r,e,n)))}function Dd(e){e=Oc(e,Vc);const t=Oc(e.firestore,$c),n=eu(t),r=new Td(t);return function(e,t){const n=new L;return e.asyncQueue.enqueueAndForget((async()=>async function(e,t,n){try{const r=await Ka(e,t,!0),i=new El(t,r.hs),o=i.da(r.documents),a=i.applyChanges(o,!1);n.resolve(a.snapshot)}catch(e){const r=il(e,"Failed to execute query '".concat(t," against cache"));n.reject(r)}}(await wc(e),t,n))),n.promise}(n,e._query).then((n=>new xd(t,r,e,n)))}function Nd(e){e=Oc(e,Vc);const t=Oc(e.firestore,$c),n=eu(t),r=new Td(t);return Sc(n,e._query,{source:"server"}).then((n=>new xd(t,r,e,n)))}function Fd(e,t,n){e=Oc(e,Hc);const r=Oc(e.firestore,$c),i=vd(e.converter,t,n);return Ld(r,[Au(xu(r),"setDoc",e._key,i,null!==e.converter,n).toMutation(e._key,Pr.none())])}function Id(e,t,n){e=Oc(e,Hc);const r=Oc(e.firestore,$c),i=xu(r);let o;for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];return o="string"==typeof(t=(0,l.Ku)(t))||t instanceof pu?Nu(i,"updateDoc",e._key,t,n,s):Du(i,"updateDoc",e._key,t),Ld(r,[o.toMutation(e._key,Pr.exists(!0))])}function Rd(e){return Ld(Oc(e.firestore,$c),[new Hr(e._key,Pr.none())])}function Md(e,t){const n=Oc(e.firestore,$c),r=qc(e),i=vd(e.converter,t);return Ld(n,[Au(xu(e.firestore),"addDoc",r._key,i,null!==e.converter,{}).toMutation(r._key,Pr.exists(!1))]).then((()=>r))}function Od(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i,o,a;e=(0,l.Ku)(e);let s={includeMetadataChanges:!1,source:"default"},c=0;"object"!=typeof n[c]||Qc(n[c])||(s=n[c],c++);const u={includeMetadataChanges:s.includeMetadataChanges,source:s.source};if(Qc(n[c])){const e=n[c];n[c]=null===(i=e.next)||void 0===i?void 0:i.bind(e),n[c+1]=null===(o=e.error)||void 0===o?void 0:o.bind(e),n[c+2]=null===(a=e.complete)||void 0===a?void 0:a.bind(e)}let d,h,p;if(e instanceof Hc)h=Oc(e.firestore,$c),p=jn(e._key.path),d={next:t=>{n[c]&&n[c](Bd(h,e,t))},error:n[c+1],complete:n[c+2]};else{const t=Oc(e,Vc);h=Oc(t.firestore,$c),p=t._query;const r=new Td(h);d={next:e=>{n[c]&&n[c](new xd(h,r,t,e))},error:n[c+1],complete:n[c+2]},Wu(e._query)}return function(e,t,n,r){const i=new uc(r),o=new vl(t,i,n);return e.asyncQueue.enqueueAndForget((async()=>ul(await _c(e),o))),()=>{i.$a(),e.asyncQueue.enqueueAndForget((async()=>dl(await _c(e),o)))}}(eu(h),p,u,d)}function jd(e,t){return function(e,t){const n=new uc(t);return e.asyncQueue.enqueueAndForget((async()=>function(e,t){M(e).z_.add(t),t.next()}(await _c(e),n))),()=>{n.$a(),e.asyncQueue.enqueueAndForget((async()=>function(e,t){M(e).z_.delete(t)}(await _c(e),n)))}}(eu(e=Oc(e,$c)),Qc(t)?t:{next:t})}function Ld(e,t){return function(e,t){const n=new L;return e.asyncQueue.enqueueAndForget((async()=>async function(e,t,n){const r=ic(e);try{const e=await function(e,t){const n=M(e),r=J.now(),i=t.reduce(((e,t)=>e.add(t.key)),cr());let o,a;return n.persistence.runTransaction("Locally write mutations","readwrite",(e=>{let s=er(),l=cr();return n.os.getEntries(e,i).next((e=>{s=e,s.forEach(((e,t)=>{t.isValidDocument()||(l=l.add(e))}))})).next((()=>n.localDocuments.getOverlayedDocuments(e,s))).next((i=>{o=i;const a=[];for(const e of t){const t=Mr(e,o.get(e.key).overlayedDocument);null!=t&&a.push(new Lr(e.key,t,en(t.value.mapValue),Pr.exists(!0)))}return n.mutationQueue.addMutationBatch(e,r,a,t)})).next((t=>{a=t;const r=t.applyToLocalDocumentSet(o,l);return n.documentOverlayCache.saveOverlays(e,t.batchId,r)}))})).then((()=>({batchId:a.batchId,changes:rr(o)})))}(r.localStore,t);r.sharedClientState.addPendingMutation(e.batchId),function(e,t,n){let r=e.xa[e.currentUser.toKey()];r||(r=new pt(K)),r=r.insert(t,n),e.xa[e.currentUser.toKey()]=r}(r,e.batchId,n),await ql(r,e.changes),await Zs(r.remoteStore)}catch(e){const t=il(e,"Failed to persist write");n.reject(t)}}(await Ac(e),t,n))),n.promise}(eu(e),t)}function Bd(e,t,n){const r=n.docs.get(t._key),i=new Td(e);return new bd(e,i,t._key,r,new yd(n.hasPendingWrites,n.fromCache),t.converter)}const Ud={maxAttempts:5};class Vd{constructor(e,t){this._firestore=e,this._commitHandler=t,this._mutations=[],this._committed=!1,this._dataReader=xu(e)}set(e,t,n){this._verifyNotCommitted();const r=Hd(e,this._firestore),i=vd(r.converter,t,n),o=Au(this._dataReader,"WriteBatch.set",r._key,i,null!==r.converter,n);return this._mutations.push(o.toMutation(r._key,Pr.none())),this}update(e,t,n){this._verifyNotCommitted();const r=Hd(e,this._firestore);let i;for(var o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return i="string"==typeof(t=(0,l.Ku)(t))||t instanceof pu?Nu(this._dataReader,"WriteBatch.update",r._key,t,n,a):Du(this._dataReader,"WriteBatch.update",r._key,t),this._mutations.push(i.toMutation(r._key,Pr.exists(!0))),this}delete(e){this._verifyNotCommitted();const t=Hd(e,this._firestore);return this._mutations=this._mutations.concat(new Hr(t._key,Pr.none())),this}commit(){return this._verifyNotCommitted(),this._committed=!0,this._mutations.length>0?this._commitHandler(this._mutations):Promise.resolve()}_verifyNotCommitted(){if(this._committed)throw new j(O.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")}}function Hd(e,t){if((e=(0,l.Ku)(e)).firestore!==t)throw new j(O.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return e}class zd extends class{constructor(e,t){this._firestore=e,this._transaction=t,this._dataReader=xu(e)}get(e){const t=Hd(e,this._firestore),n=new Cd(this._firestore);return this._transaction.lookup([t._key]).then((e=>{if(!e||1!==e.length)return F();const r=e[0];if(r.isFoundDocument())return new Hu(this._firestore,n,r.key,r,t.converter);if(r.isNoDocument())return new Hu(this._firestore,n,t._key,null,t.converter);throw F()}))}set(e,t,n){const r=Hd(e,this._firestore),i=vd(r.converter,t,n),o=Au(this._dataReader,"Transaction.set",r._key,i,null!==r.converter,n);return this._transaction.set(r._key,o),this}update(e,t,n){const r=Hd(e,this._firestore);let i;for(var o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return i="string"==typeof(t=(0,l.Ku)(t))||t instanceof pu?Nu(this._dataReader,"Transaction.update",r._key,t,n,a):Du(this._dataReader,"Transaction.update",r._key,t),this._transaction.update(r._key,i),this}delete(e){const t=Hd(e,this._firestore);return this._transaction.delete(t._key),this}}{constructor(e,t){super(e,t),this._firestore=e}get(e){const t=Hd(e,this._firestore),n=new Td(this._firestore);return super.get(e).then((e=>new bd(this._firestore,n,t._key,e._document,new yd(!1,!1),t.converter)))}}function Zd(e,t,n){e=Oc(e,$c);const r=Object.assign(Object.assign({},Ud),n);return function(e){if(e.maxAttempts<1)throw new j(O.INVALID_ARGUMENT,"Max attempts must be at least 1")}(r),function(e,t,n){const r=new L;return e.asyncQueue.enqueueAndForget((async()=>{const i=await Ec(e);new pc(e.asyncQueue,i,n,t,r).Xa()})),r.promise}(eu(e),(n=>t(new zd(e,n))),r)}function Wd(){return new Eu("deleteField")}function qd(){return new Tu("serverTimestamp")}function Gd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Su("arrayUnion",t)}function Yd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new ku("arrayRemove",t)}function Kd(e){return new Pu("increment",e)}new WeakMap;!function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!function(e){E=e}(o.SDK_VERSION),(0,o._registerComponent)(new a.uA("firestore",((e,n)=>{let{instanceIdentifier:r,options:i}=n;const o=e.getProvider("app").getImmediate(),a=new $c(new H(e.getProvider("auth-internal")),new q(e.getProvider("app-check-internal")),function(e,t){if(!Object.prototype.hasOwnProperty.apply(e.options,["projectId"]))throw new j(O.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new Nt(e.options.projectId,t)}(o,r),o);return i=Object.assign({useFetchStreams:t},i),a._setSettings(i),a}),"PUBLIC").setMultipleInstances(!0)),(0,o.registerVersion)(x,"4.6.4",e),(0,o.registerVersion)(x,"4.6.4","esm2017")}()},75805:(e,t,n)=>{"use strict";n.d(t,{Am:()=>I,Bd:()=>C,FA:()=>S,Fy:()=>f,I9:()=>R,Im:()=>D,Ku:()=>B,Ll:()=>v,T9:()=>d,Uj:()=>a,XA:()=>h,ZQ:()=>m,bD:()=>N,cY:()=>p,eX:()=>_,g:()=>T,gR:()=>P,hp:()=>M,jZ:()=>g,lT:()=>x,lV:()=>w,nr:()=>A,p7:()=>y,sr:()=>b,tD:()=>O,u:()=>s,zW:()=>E,zw:()=>l});const r=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296===(64512&i)&&r+1<e.length&&56320===(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},i={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],o=i+1<e.length,a=o?e[i+1]:0,s=i+2<e.length,l=s?e[i+2]:0,c=t>>2,u=(3&t)<<4|a>>4;let d=(15&a)<<2|l>>6,h=63&l;s||(h=64,o||(d=64)),r.push(n[c],n[u],n[d],n[h])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(r(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const o=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){const o=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(o>>10)),t[r++]=String.fromCharCode(56320+(1023&o))}else{const o=e[n++],a=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],a=i<e.length?n[e.charAt(i)]:0;++i;const s=i<e.length?n[e.charAt(i)]:64;++i;const l=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==a||null==s||null==l)throw new o;const c=t<<2|a>>4;if(r.push(c),64!==s){const e=a<<4&240|s>>2;if(r.push(e),64!==l){const e=s<<6&192|l;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class o extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const a=function(e){return function(e){const t=r(e);return i.encodeByteArray(t,!0)}(e).replace(/\./g,"")},s=function(e){try{return i.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function l(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(const n in t)t.hasOwnProperty(n)&&"__proto__"!==n&&(e[n]=l(e[n],t[n]));return e}const c=()=>function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n.g)return n.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,u=()=>{try{return c()||(()=>{if("undefined"===typeof process)return;const e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"===typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(n){return}const t=e&&s(e[1]);return t&&JSON.parse(t)})()}catch(e){return void console.info("Unable to get __FIREBASE_DEFAULTS__ due to: ".concat(e))}},d=()=>{var e;return null===(e=u())||void 0===e?void 0:e.config},h=e=>{var t;return null===(t=u())||void 0===t?void 0:t["_".concat(e)]};class p{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"===typeof e&&(this.promise.catch((()=>{})),1===e.length?e(t):e(t,n))}}}function f(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n=t||"demo-project",r=e.iat||0,i=e.sub||e.user_id;if(!i)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const o=Object.assign({iss:"https://securetoken.google.com/".concat(n),aud:n,iat:r,exp:r+3600,auth_time:r,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},e);return[a(JSON.stringify({alg:"none",type:"JWT"})),a(JSON.stringify(o)),""].join(".")}function m(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""}function g(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m())}function v(){var e;const t=null===(e=u())||void 0===e?void 0:e.forceEnvironment;if("node"===t)return!0;if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(n.g.process)}catch(r){return!1}}function C(){return"undefined"!==typeof window||y()}function y(){return"undefined"!==typeof WorkerGlobalScope&&"undefined"!==typeof self&&self instanceof WorkerGlobalScope}function b(){const e="object"===typeof chrome?chrome.runtime:"object"===typeof browser?browser.runtime:void 0;return"object"===typeof e&&void 0!==e.id}function w(){return"object"===typeof navigator&&"ReactNative"===navigator.product}function x(){const e=m();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function A(){return!v()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function E(){try{return"object"===typeof indexedDB}catch(e){return!1}}function _(){return new Promise(((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var e;t((null===(e=i.error)||void 0===e?void 0:e.message)||"")}}catch(n){t(n)}}))}class T extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,T.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,S.prototype.create)}}class S{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e){const t=(arguments.length<=1?void 0:arguments[1])||{},n="".concat(this.service,"/").concat(e),r=this.errors[e],i=r?function(e,t){return e.replace(k,((e,n)=>{const r=t[n];return null!=r?String(r):"<".concat(n,"?>")}))}(r,t):"Error",o="".concat(this.serviceName,": ").concat(i," (").concat(n,").");return new T(n,o,t)}}const k=/\{\$([^}]+)}/g;function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function N(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const n=e[i],o=t[i];if(F(n)&&F(o)){if(!N(n,o))return!1}else if(n!==o)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function F(e){return null!==e&&"object"===typeof e}function I(e){const t=[];for(const[n,r]of Object.entries(e))Array.isArray(r)?r.forEach((e=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(e))})):t.push(encodeURIComponent(n)+"="+encodeURIComponent(r));return t.length?"&"+t.join("&"):""}function R(e){const t={};return e.replace(/^\?/,"").split("&").forEach((e=>{if(e){const[n,r]=e.split("=");t[decodeURIComponent(n)]=decodeURIComponent(r)}})),t}function M(e){const t=e.indexOf("?");if(!t)return"";const n=e.indexOf("#",t);return e.substring(t,n>0?n:void 0)}function O(e,t){const n=new j(e,t);return n.subscribe.bind(n)}class j{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((()=>{e(this)})).catch((e=>{this.error(e)}))}next(e){this.forEachObserver((t=>{t.next(e)}))}error(e){this.forEachObserver((t=>{t.error(e)})),this.close(e)}complete(){this.forEachObserver((e=>{e.complete()})),this.close()}subscribe(e,t,n){let r;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=function(e,t){if("object"!==typeof e||null===e)return!1;for(const n of t)if(n in e&&"function"===typeof e[n])return!0;return!1}(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=L),void 0===r.error&&(r.error=L),void 0===r.complete&&(r.complete=L);const i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((()=>{try{this.finalError?r.error(this.finalError):r.complete()}catch(e){}})),this.observers.push(r),i}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,e)}sendOne(e,t){this.task.then((()=>{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(n){"undefined"!==typeof console&&console.error&&console.error(n)}}))}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((()=>{this.observers=void 0,this.onNoObservers=void 0})))}}function L(){}function B(e){return e&&e._delegate?e._delegate:e}},32739:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>Le,CompositeItem:()=>Be,FloatingArrow:()=>We,FloatingDelayGroup:()=>lt,FloatingFocusManager:()=>Bt,FloatingList:()=>Ne,FloatingNode:()=>Je,FloatingOverlay:()=>Vt,FloatingPortal:()=>Ft,FloatingTree:()=>$e,arrow:()=>se,autoPlacement:()=>ie,autoUpdate:()=>q.ll,computePosition:()=>q.rD,detectOverflow:()=>q.__,flip:()=>ne,getOverflowAncestors:()=>o.v9,hide:()=>oe,inline:()=>ae,inner:()=>yn,limitShift:()=>te,offset:()=>$,platform:()=>q.iD,safePolygon:()=>xn,shift:()=>ee,size:()=>re,useClick:()=>Zt,useClientPoint:()=>qt,useDelayGroup:()=>ct,useDelayGroupContext:()=>st,useDismiss:()=>Qt,useFloating:()=>Jt,useFloatingNodeId:()=>Xe,useFloatingParentNodeId:()=>Ke,useFloatingPortalNode:()=>Nt,useFloatingRootContext:()=>Xt,useFloatingTree:()=>Qe,useFocus:()=>$t,useHover:()=>it,useId:()=>Ze,useInnerOffset:()=>bn,useInteractions:()=>rn,useListItem:()=>Fe,useListNavigation:()=>un,useMergeRefs:()=>le,useRole:()=>hn,useTransitionStatus:()=>mn,useTransitionStyles:()=>gn,useTypeahead:()=>vn});var r=n(61462),i=n.t(r,2),o=n(31211);function a(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function s(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,o.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function l(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function u(e){return!(0!==e.mozInputSource||!e.isTrusted)||(p()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function d(e){return!c().includes("jsdom/")&&(!p()&&0===e.width&&0===e.height||p()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function h(){return/apple/i.test(navigator.vendor)}function p(){const e=/android/i;return e.test(l())||e.test(c())}function f(){return l().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function m(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g(e){return(null==e?void 0:e.ownerDocument)||document}function v(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function C(e){return"composedPath"in e?e.composedPath()[0]:e.target}const y="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function b(e){return(0,o.sb)(e)&&e.matches(y)}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&("combobox"===e.getAttribute("role")&&b(e))}var A=n(16649),E=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],_=E.join(","),T="undefined"===typeof Element,S=T?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,k=!T&&Element.prototype.getRootNode?function(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null===e||void 0===e?void 0:e.ownerDocument},P=function e(t,n){var r;void 0===n&&(n=!0);var i=null===t||void 0===t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},D=function(e,t,n){if(P(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(_));return t&&S.call(e,_)&&r.unshift(e),r=r.filter(n)},N=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if(!P(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),l=e(s.length?s:a.children,!0,r);r.flatten?i.push.apply(i,l):i.push({scopeParent:a,candidates:l})}else{S.call(a,_)&&r.filter(a)&&(n||!t.includes(a))&&i.push(a);var c=a.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(a),u=!P(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:a,candidates:d})}else o.unshift.apply(o,a.children)}}return i},F=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},I=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null===e||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!F(e)?0:e.tabIndex},R=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},M=function(e){return"INPUT"===e.tagName},O=function(e){return function(e){return M(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||k(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},j=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},L=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=S.call(e,"details>summary:first-of-type")?e.parentElement:e;if(S.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return j(e)}else{if("function"===typeof r){for(var o=e;e;){var a=e.parentElement,s=k(e);if(a&&!a.shadowRoot&&!0===r(a))return j(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=o}if(function(e){var t,n,r,i,o=e&&k(e),a=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!==e&&void 0!==e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=o=k(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},B=function(e,t){return!(t.disabled||P(t)||function(e){return M(e)&&"hidden"===e.type}(t)||L(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!S.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},U=function(e,t){return!(O(t)||I(t)<0||!B(e,t))},V=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},H=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=I(e);return n<0&&t&&!F(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(R).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},z=function(e,t){var n;return n=(t=t||{}).getShadowRoot?N([e],t.includeContainer,{filter:U.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:V}):D(e,t.includeContainer,U.bind(null,t)),H(n)},Z=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==S.call(e,_)&&U(t,e)},W=n(72551),q=n(64861),G="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Y(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Y(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!Y(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function K(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Q(e,t){const n=K(e);return Math.round(t*n)/n}function X(e){const t=r.useRef(e);return G((()=>{t.current=e})),t}const J=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"===typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,q.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,q.UE)({element:n,padding:r}).fn(t):{};var i}}),$=(e,t)=>({...(0,q.cY)(e),options:[e,t]}),ee=(e,t)=>({...(0,q.BN)(e),options:[e,t]}),te=(e,t)=>({...(0,q.ER)(e),options:[e,t]}),ne=(e,t)=>({...(0,q.UU)(e),options:[e,t]}),re=(e,t)=>({...(0,q.Ej)(e),options:[e,t]}),ie=(e,t)=>({...(0,q.RK)(e),options:[e,t]}),oe=(e,t)=>({...(0,q.jD)(e),options:[e,t]}),ae=(e,t)=>({...(0,q.mG)(e),options:[e,t]}),se=(e,t)=>({...J(e),options:[e,t]});function le(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"===typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const ce={...i},ue=ce.useInsertionEffect||(e=>e());function de(e){const t=r.useRef((()=>{0}));return ue((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const he="ArrowUp",pe="ArrowDown",fe="ArrowLeft",me="ArrowRight";function ge(e,t,n){return Math.floor(e/t)!==n}function ve(e,t){return t<0||t>=e.current.length}function Ce(e,t){return be(e,{disabledIndices:t})}function ye(e,t){return be(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function be(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=void 0===t?{}:t;const a=e.current;let s=n;do{s+=r?-o:o}while(s>=0&&s<=a.length-1&&_e(a,s,i));return s}function we(e,t){let{event:n,orientation:r,loop:i,cols:o,disabledIndices:a,minIndex:s,maxIndex:l,prevIndex:c,stopEvent:u=!1}=t,d=c;if(n.key===he){if(u&&w(n),-1===c)d=l;else if(d=be(e,{startingIndex:d,amount:o,decrement:!0,disabledIndices:a}),i&&(c-o<s||d<0)){const e=c%o,t=l%o,n=l-(t-e);d=t===e?l:t>e?n:n-o}ve(e,d)&&(d=c)}if(n.key===pe&&(u&&w(n),-1===c?d=s:(d=be(e,{startingIndex:c,amount:o,disabledIndices:a}),i&&c+o>l&&(d=be(e,{startingIndex:c%o-o,amount:o,disabledIndices:a}))),ve(e,d)&&(d=c)),"both"===r){const t=(0,A.RI)(c/o);n.key===me&&(u&&w(n),c%o!==o-1?(d=be(e,{startingIndex:c,disabledIndices:a}),i&&ge(d,o,t)&&(d=be(e,{startingIndex:c-c%o-1,disabledIndices:a}))):i&&(d=be(e,{startingIndex:c-c%o-1,disabledIndices:a})),ge(d,o,t)&&(d=c)),n.key===fe&&(u&&w(n),c%o!==0?(d=be(e,{startingIndex:c,decrement:!0,disabledIndices:a}),i&&ge(d,o,t)&&(d=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:a}))):i&&(d=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:a})),ge(d,o,t)&&(d=c));const r=(0,A.RI)(l/o)===t;ve(e,d)&&(d=i&&r?n.key===fe?l:be(e,{startingIndex:c-c%o-1,disabledIndices:a}):c)}return d}function xe(e,t,n){const r=[];let i=0;return e.forEach(((e,o)=>{let{width:a,height:s}=e,l=!1;for(n&&(i=0);!l;){const e=[];for(let n=0;n<a;n++)for(let r=0;r<s;r++)e.push(i+n+r*t);i%t+a<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=o})),l=!0):i++}})),[...r]}function Ae(e,t,n,r,i){if(-1===e)return-1;const o=n.indexOf(e),a=t[e];switch(i){case"tl":return o;case"tr":return a?o+a.width-1:o;case"bl":return a?o+(a.height-1)*r:o;case"br":return n.lastIndexOf(e)}}function Ee(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function _e(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let Te=0;function Se(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Te);const o=()=>null==e?void 0:e.focus({preventScroll:n});i?o():Te=requestAnimationFrame(o)}var ke="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Pe(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const De=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function Ne(e){const{children:t,elementsRef:n,labelsRef:i}=e,[o,a]=r.useState((()=>new Map)),s=r.useCallback((e=>{a((t=>new Map(t).set(e,null)))}),[]),l=r.useCallback((e=>{a((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return ke((()=>{const e=new Map(o);Array.from(e.keys()).sort(Pe).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(o,e)||a(e)}),[o]),r.createElement(De.Provider,{value:r.useMemo((()=>({register:s,unregister:l,map:o,elementsRef:n,labelsRef:i})),[s,l,o,n,i])},t)}function Fe(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:i,map:o,elementsRef:a,labelsRef:s}=r.useContext(De),[l,c]=r.useState(null),u=r.useRef(null),d=r.useCallback((e=>{if(u.current=e,null!==l&&(a.current[l]=e,s)){var n;const r=void 0!==t;s.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[l,a,s,t]);return ke((()=>{const e=u.current;if(e)return n(e),()=>{i(e)}}),[n,i]),ke((()=>{const e=u.current?o.get(u.current):null;null!=e&&c(e)}),[o]),r.useMemo((()=>({ref:d,index:null==l?-1:l})),[l,d])}function Ie(e,t){return"function"===typeof e?e(t):e?r.cloneElement(e,t):r.createElement("div",t)}const Re=r.createContext({activeIndex:0,onNavigate:()=>{}}),Me=[fe,me],Oe=[he,pe],je=[...Me,...Oe],Le=r.forwardRef((function(e,t){const{render:n,orientation:i="both",loop:o=!0,cols:a=1,disabledIndices:s,activeIndex:l,onNavigate:c,itemSizes:u,dense:d=!1,...h}=e,[p,f]=r.useState(0),m=null!=l?l:p,g=de(null!=c?c:f),v=r.useRef([]),C=n&&"function"!==typeof n?n.props:{},y=r.useMemo((()=>({activeIndex:m,onNavigate:g})),[m,g]),b=a>1;const w={...h,...C,ref:t,"aria-orientation":"both"===i?void 0:i,onKeyDown(e){null==h.onKeyDown||h.onKeyDown(e),null==C.onKeyDown||C.onKeyDown(e),function(e){if(!je.includes(e.key))return;let t=m;const n=Ce(v,s),r=ye(v,s);if(b){const l=u||Array.from({length:v.current.length},(()=>({width:1,height:1}))),c=xe(l,a,d),h=c.findIndex((e=>null!=e&&!_e(v.current,e,s))),p=c.reduce(((e,t,n)=>null==t||_e(v.current,t,s)?e:n),-1);t=c[we({current:c.map((e=>e?v.current[e]:null))},{event:e,orientation:i,loop:o,cols:a,disabledIndices:Ee([...s||v.current.map(((e,t)=>_e(v.current,t)?t:void 0)),void 0],c),minIndex:h,maxIndex:p,prevIndex:Ae(m>r?n:m,l,c,a,e.key===pe?"bl":e.key===me?"tr":"tl")})]}const l={horizontal:[me],vertical:[pe],both:[me,pe]}[i],c={horizontal:[fe],vertical:[he],both:[fe,he]}[i],h=b?je:{horizontal:Me,vertical:Oe,both:je}[i];t===m&&[...l,...c].includes(e.key)&&(t=o&&t===r&&l.includes(e.key)?n:o&&t===n&&c.includes(e.key)?r:be(v,{startingIndex:t,decrement:c.includes(e.key),disabledIndices:s})),t===m||ve(v,t)||(e.stopPropagation(),h.includes(e.key)&&e.preventDefault(),g(t),queueMicrotask((()=>{Se(v.current[t])})))}(e)}};return r.createElement(Re.Provider,{value:y},r.createElement(Ne,{elementsRef:v},Ie(n,w)))})),Be=r.forwardRef((function(e,t){const{render:n,...i}=e,o=n&&"function"!==typeof n?n.props:{},{activeIndex:a,onNavigate:s}=r.useContext(Re),{ref:l,index:c}=Fe(),u=le([l,t,o.ref]),d=a===c;return Ie(n,{...i,...o,ref:u,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==i.onFocus||i.onFocus(e),null==o.onFocus||o.onFocus(e),s(c)}})}));function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}let Ve=!1,He=0;const ze=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+He++;const Ze=ce.useId||function(){const[e,t]=r.useState((()=>Ve?ze():void 0));return ke((()=>{null==e&&t(ze())}),[]),r.useEffect((()=>{Ve=!0}),[]),e};const We=r.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:i},middlewareData:{arrow:a}},width:s=14,height:l=7,tipRadius:c=0,strokeWidth:u=0,staticOffset:d,stroke:h,d:p,style:{transform:f,...m}={},...g}=e;const v=Ze(),[C,y]=r.useState(!1);if(ke((()=>{if(!i)return;"rtl"===(0,o.L9)(i).direction&&y(!0)}),[i]),!i)return null;const b=2*u,w=b/2,x=s/2*(c/-8+1),A=l/2*c/4,[E,_]=n.split("-"),T=!!p,S="top"===E||"bottom"===E,k=d&&"end"===_?"bottom":"top";let P=d&&"end"===_?"right":"left";d&&C&&(P="end"===_?"left":"right");const D=null!=(null==a?void 0:a.x)?d||a.x:"",N=null!=(null==a?void 0:a.y)?d||a.y:"",F=p||"M0,0 H"+s+" L"+(s-x)+","+(l-A)+" Q"+s/2+","+l+" "+x+","+(l-A)+" Z",I={top:T?"rotate(180deg)":"",left:T?"rotate(90deg)":"rotate(-90deg)",bottom:T?"":"rotate(180deg)",right:T?"rotate(-90deg)":"rotate(90deg)"}[E];return r.createElement("svg",Ue({},g,{"aria-hidden":!0,ref:t,width:T?s:s+b,height:s,viewBox:"0 0 "+s+" "+(l>s?l:s),style:{position:"absolute",pointerEvents:"none",[P]:D,[k]:N,[E]:S||T?"100%":"calc(100% - "+b/2+"px)",transform:""+I+(null!=f?f:""),...m}}),b>0&&r.createElement("path",{clipPath:"url(#"+v+")",fill:"none",stroke:h,strokeWidth:b+(p?0:1),d:F}),r.createElement("path",{stroke:b&&!p?g.fill:"none",d:F}),r.createElement("clipPath",{id:v},r.createElement("rect",{x:-w,y:w*(T?-1:1),width:s+b,height:s})))}));function qe(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const Ge=r.createContext(null),Ye=r.createContext(null),Ke=()=>{var e;return(null==(e=r.useContext(Ge))?void 0:e.id)||null},Qe=()=>r.useContext(Ye);function Xe(e){const t=Ze(),n=Qe(),r=Ke(),i=e||r;return ke((()=>{const e={id:t,parentId:i};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,i]),t}function Je(e){const{children:t,id:n}=e,i=Ke();return r.createElement(Ge.Provider,{value:r.useMemo((()=>({id:n,parentId:i})),[n,i])},t)}function $e(e){const{children:t}=e,n=r.useRef([]),i=r.useCallback((e=>{n.current=[...n.current,e]}),[]),o=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),a=r.useState((()=>qe()))[0];return r.createElement(Ye.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:i,removeNode:o,events:a})),[i,o,a])},t)}function et(e){return"data-floating-ui-"+e}function tt(e){const t=(0,r.useRef)(e);return ke((()=>{t.current=e})),t}const nt=et("safe-polygon");function rt(e,t,n){return n&&!m(n)?0:"number"===typeof e?e:null==e?void 0:e[t]}function it(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,dataRef:a,events:l,elements:c}=e,{enabled:u=!0,delay:d=0,handleClose:h=null,mouseOnly:p=!1,restMs:f=0,move:v=!0}=t,C=Qe(),y=Ke(),b=tt(h),w=tt(d),x=tt(n),A=r.useRef(),E=r.useRef(-1),_=r.useRef(),T=r.useRef(-1),S=r.useRef(!0),k=r.useRef(!1),P=r.useRef((()=>{})),D=r.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);r.useEffect((()=>{if(u)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(E.current),clearTimeout(T.current),S.current=!0)}}),[u,l]),r.useEffect((()=>{if(!u)return;if(!b.current)return;if(!n)return;function e(e){D()&&i(!1,e,"hover")}const t=g(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[c.floating,n,i,u,b,D]);const N=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=rt(w.current,"close",A.current);r&&!_.current?(clearTimeout(E.current),E.current=window.setTimeout((()=>i(!1,e,n)),r)):t&&(clearTimeout(E.current),i(!1,e,n))}),[w,i]),F=de((()=>{P.current(),_.current=void 0})),I=de((()=>{if(k.current){const e=g(c.floating).body;e.style.pointerEvents="",e.removeAttribute(nt),k.current=!1}}));r.useEffect((()=>{if(u&&(0,o.vq)(c.domReference)){var e;const t=c.domReference;return n&&t.addEventListener("mouseleave",d),null==(e=c.floating)||e.addEventListener("mouseleave",d),v&&t.addEventListener("mousemove",r,{once:!0}),t.addEventListener("mouseenter",r),t.addEventListener("mouseleave",l),()=>{var e;n&&t.removeEventListener("mouseleave",d),null==(e=c.floating)||e.removeEventListener("mouseleave",d),v&&t.removeEventListener("mousemove",r),t.removeEventListener("mouseenter",r),t.removeEventListener("mouseleave",l)}}function t(){return!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)}function r(e){if(clearTimeout(E.current),S.current=!1,p&&!m(A.current)||f>0&&!rt(w.current,"open"))return;const t=rt(w.current,"open",A.current);t?E.current=window.setTimeout((()=>{x.current||i(!0,e,"hover")}),t):i(!0,e,"hover")}function l(e){if(t())return;P.current();const r=g(c.floating);if(clearTimeout(T.current),b.current&&a.current.floatingContext){n||clearTimeout(E.current),_.current=b.current({...a.current.floatingContext,tree:C,x:e.clientX,y:e.clientY,onClose(){I(),F(),N(e,!0,"safe-polygon")}});const t=_.current;return r.addEventListener("mousemove",t),void(P.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==A.current||!s(c.floating,e.relatedTarget))&&N(e)}function d(e){t()||a.current.floatingContext&&(null==b.current||b.current({...a.current.floatingContext,tree:C,x:e.clientX,y:e.clientY,onClose(){I(),F(),N(e)}})(e))}}),[c,u,e,p,f,v,N,F,I,i,n,x,C,w,b,a]),ke((()=>{var e;if(u&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&D()){const e=g(c.floating).body;e.setAttribute(nt,""),e.style.pointerEvents="none",k.current=!0;const n=c.floating;if((0,o.vq)(c.domReference)&&n){var t;const e=c.domReference,r=null==C||null==(t=C.nodesRef.current.find((e=>e.id===y)))||null==(t=t.context)?void 0:t.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",n.style.pointerEvents="auto",()=>{e.style.pointerEvents="",n.style.pointerEvents=""}}}}),[u,n,y,c,C,b,D]),ke((()=>{n||(A.current=void 0,F(),I())}),[n,F,I]),r.useEffect((()=>()=>{F(),clearTimeout(E.current),clearTimeout(T.current),I()}),[u,c.domReference,F,I]);const R=r.useMemo((()=>{function e(e){A.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){S.current||x.current||i(!0,t,"hover")}p&&!m(A.current)||n||0===f||(clearTimeout(T.current),"touch"===A.current?r():T.current=window.setTimeout(r,f))}}}),[p,i,n,x,f]),M=r.useMemo((()=>({onMouseEnter(){clearTimeout(E.current)},onMouseLeave(e){N(e.nativeEvent,!1)}})),[N]);return r.useMemo((()=>u?{reference:R,floating:M}:{}),[u,R,M])}const ot=()=>{},at=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:ot,setState:ot,isInstantPhase:!1}),st=()=>r.useContext(at);function lt(e){const{children:t,delay:n,timeoutMs:i=0}=e,[o,a]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:i,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),l=r.useCallback((e=>{a({currentId:e})}),[]);return ke((()=>{o.currentId?null===s.current?s.current=o.currentId:o.isInstantPhase||a({isInstantPhase:!0}):(o.isInstantPhase&&a({isInstantPhase:!1}),s.current=null)}),[o.currentId,o.isInstantPhase]),r.createElement(at.Provider,{value:r.useMemo((()=>({...o,setState:a,setCurrentId:l})),[o,l])},t)}function ct(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:i}=e,{id:o}=t,a=null!=o?o:i,s=st(),{currentId:l,setCurrentId:c,initialDelay:u,setState:d,timeoutMs:h}=s;return ke((()=>{l&&(d({delay:{open:1,close:rt(u,"close")}}),l!==a&&r(!1))}),[a,r,d,l,u]),ke((()=>{function e(){r(!1),d({delay:u,currentId:null})}if(l&&!n&&l===a){if(h){const t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}}),[n,d,l,a,r,u,h]),ke((()=>{c!==ot&&n&&c(a)}),[n,c,a]),s}function ut(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let dt=new WeakMap,ht=new WeakSet,pt={},ft=0;const mt=()=>"undefined"!==typeof HTMLElement&&"inert"in HTMLElement.prototype,gt=e=>e&&(e.host||gt(e.parentNode)),vt=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=gt(t);return e.contains(n)?n:null})).filter((e=>null!=e));function Ct(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=g(e[0]).body;return function(e,t,n,r){const i="data-floating-ui-inert",a=r?"inert":n?"aria-hidden":null,s=vt(t,e),l=new Set,c=new Set(s),u=[];pt[i]||(pt[i]=new WeakMap);const d=pt[i];return s.forEach((function e(t){t&&!l.has(t)&&(l.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!c.has(t)&&[].forEach.call(t.children,(t=>{if("script"!==(0,o.mq)(t))if(l.has(t))e(t);else{const e=a?t.getAttribute(a):null,n=null!==e&&"false"!==e,r=(dt.get(t)||0)+1,o=(d.get(t)||0)+1;dt.set(t,r),d.set(t,o),u.push(t),1===r&&n&&ht.add(t),1===o&&t.setAttribute(i,""),!n&&a&&t.setAttribute(a,"true")}}))}(t),l.clear(),ft++,()=>{u.forEach((e=>{const t=(dt.get(e)||0)-1,n=(d.get(e)||0)-1;dt.set(e,t),d.set(e,n),t||(!ht.has(e)&&a&&e.removeAttribute(a),ht.delete(e)),n||e.removeAttribute(i)})),ft--,ft||(dt=new WeakMap,dt=new WeakMap,ht=new WeakSet,pt={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const yt=()=>({getShadowRoot:!0,displayCheck:"function"===typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function bt(e,t){const n=z(e,yt());"prev"===t&&n.reverse();const r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function wt(){return bt(document.body,"next")}function xt(){return bt(document.body,"prev")}function At(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!s(n,r)}function Et(e){z(e,yt()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function _t(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Tt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function St(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const kt=r.forwardRef((function(e,t){const[n,i]=r.useState();ke((()=>(h()&&i("button"),document.addEventListener("keydown",St),()=>{document.removeEventListener("keydown",St)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[et("focus-guard")]:"",style:Tt};return r.createElement("span",Ue({},e,o))})),Pt=r.createContext(null),Dt=et("portal");function Nt(e){void 0===e&&(e={});const{id:t,root:n}=e,i=Ze(),a=It(),[s,l]=r.useState(null),c=r.useRef(null);return ke((()=>()=>{null==s||s.remove(),queueMicrotask((()=>{c.current=null}))}),[s]),ke((()=>{if(!i)return;if(c.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=i,n.setAttribute(Dt,""),e.appendChild(n),c.current=n,l(n)}),[t,i]),ke((()=>{if(!i)return;if(c.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!(0,o.vq)(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const s=document.createElement("div");s.id=i,s.setAttribute(Dt,""),e=r||e,e.appendChild(s),c.current=s,l(s)}),[t,n,i,a]),s}function Ft(e){const{children:t,id:n,root:i=null,preserveTabOrder:o=!0}=e,a=Nt({id:n,root:i}),[s,l]=r.useState(null),c=r.useRef(null),u=r.useRef(null),d=r.useRef(null),h=r.useRef(null),p=!!s&&!s.modal&&s.open&&o&&!(!i&&!a);return r.useEffect((()=>{if(a&&o&&(null==s||!s.modal))return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){if(a&&At(e)){("focusin"===e.type?_t:Et)(a)}}}),[a,o,null==s?void 0:s.modal]),r.createElement(Pt.Provider,{value:r.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:h,portalNode:a,setFocusManagerState:l})),[o,a])},p&&a&&r.createElement(kt,{"data-type":"outside",ref:c,onFocus:e=>{if(At(e,a)){var t;null==(t=d.current)||t.focus()}else{const e=xt()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),p&&a&&r.createElement("span",{"aria-owns":a.id,style:Tt}),a&&W.createPortal(t,a),p&&a&&r.createElement(kt,{"data-type":"outside",ref:u,onFocus:e=>{if(At(e,a)){var t;null==(t=h.current)||t.focus()}else{const t=wt()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent))}}}))}const It=()=>r.useContext(Pt),Rt=20;let Mt=[];function Ot(e){Mt=Mt.filter((e=>e.isConnected));let t=e;if(t&&"body"!==(0,o.mq)(t)){if(!Z(t,yt())){const e=z(t,yt())[0];e&&(t=e)}Mt.push(t),Mt.length>Rt&&(Mt=Mt.slice(-Rt))}}function jt(){return Mt.slice().reverse().find((e=>e.isConnected))}const Lt=r.forwardRef((function(e,t){return r.createElement("button",Ue({},e,{type:"button",ref:t,tabIndex:-1,style:Tt}))}));function Bt(e){const{context:t,children:n,disabled:i=!1,order:l=["content"],guards:c=!0,initialFocus:h=0,returnFocus:p=!0,restoreFocus:f=!1,modal:m=!0,visuallyHiddenDismiss:v=!1,closeOnFocusOut:y=!0}=e,{open:b,refs:A,nodeId:E,onOpenChange:_,events:T,dataRef:S,floatingId:k,elements:{domReference:P,floating:D}}=t,N="number"===typeof h&&h<0,F=x(P)&&N,I=!mt()||c,R=tt(l),M=tt(h),O=tt(p),j=Qe(),L=It(),B=r.useRef(null),U=r.useRef(null),V=r.useRef(!1),H=r.useRef(!1),Z=r.useRef(-1),W=null!=L,q=null==D?void 0:D.firstElementChild,G=(null==q?void 0:q.id)===k?q:D,Y=de((function(e){return void 0===e&&(e=G),e?z(e,yt()):[]})),K=de((e=>{const t=Y(e);return R.current.map((e=>P&&"reference"===e?P:G&&"floating"===e?G:t)).filter(Boolean).flat()}));function Q(e){return!i&&v&&m?r.createElement(Lt,{ref:"start"===e?B:U,onClick:e=>_(!1,e.nativeEvent)},"string"===typeof v?v:"Dismiss"):null}r.useEffect((()=>{if(i)return;if(!m)return;function e(e){if("Tab"===e.key){s(G,a(g(G)))&&0===Y().length&&!F&&w(e);const t=K(),n=C(e);"reference"===R.current[0]&&n===P&&(w(e),e.shiftKey?Se(t[t.length-1]):Se(t[1])),"floating"===R.current[1]&&n===G&&e.shiftKey&&(w(e),Se(t[0]))}}const t=g(G);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[i,P,G,m,R,F,Y,K]),r.useEffect((()=>{if(!i&&D)return D.addEventListener("focusin",e),()=>{D.removeEventListener("focusin",e)};function e(e){const t=C(e),n=Y().indexOf(t);-1!==n&&(Z.current=n)}}),[i,D,Y]),r.useEffect((()=>{if(!i&&y)return D&&(0,o.sb)(P)?(P.addEventListener("focusout",t),P.addEventListener("pointerdown",e),D.addEventListener("focusout",t),()=>{P.removeEventListener("focusout",t),P.removeEventListener("pointerdown",e),D.removeEventListener("focusout",t)}):void 0;function e(){H.current=!0,setTimeout((()=>{H.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=!(s(P,t)||s(D,t)||s(t,D)||s(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(et("focus-guard"))||j&&(ut(j.nodesRef.current,E).find((e=>{var n,r;return s(null==(n=e.context)?void 0:n.elements.floating,t)||s(null==(r=e.context)?void 0:r.elements.domReference,t)}))||function(e,t){var n;let r=[],i=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;i;){const t=e.find((e=>e.id===i));i=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(j.nodesRef.current,E).find((e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t}))));if(f&&n&&a(g(G))===g(G).body){(0,o.sb)(G)&&(null==G||G.focus());const e=Z.current,t=Y(),n=t[e]||t[t.length-1]||G;(0,o.sb)(n)&&n.focus()}!F&&m||!t||!n||H.current||t===jt()||(V.current=!0,_(!1,e))}))}}),[i,P,D,G,m,E,j,L,_,y,f,Y,F]),r.useEffect((()=>{var e;if(i)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+et("portal")+"]"))||[]);if(D){const e=[D,...t,B.current,U.current,R.current.includes("reference")||F?P:null].filter((e=>null!=e)),n=m||F?Ct(e,I,!I):Ct(e);return()=>{n()}}}),[i,P,D,m,R,L,F,I]),ke((()=>{if(i||!(0,o.sb)(G))return;const e=a(g(G));queueMicrotask((()=>{const t=K(G),n=M.current,r=("number"===typeof n?t[n]:n.current)||G,i=s(G,e);N||i||!b||Se(r,{preventScroll:r===G})}))}),[i,b,G,N,K,M]),ke((()=>{if(i||!G)return;let e=!1;const t=g(G),n=a(t);let r=S.current.openEvent;const l=A.domReference.current;function c(t){let{open:n,reason:i,event:o,nested:a}=t;n&&(r=o),"escape-key"===i&&A.domReference.current&&Ot(A.domReference.current),"hover"===i&&"mouseleave"===o.type&&(V.current=!0),"outside-press"===i&&(a?(V.current=!1,e=!0):V.current=!(u(o)||d(o)))}return Ot(n),T.on("openchange",c),()=>{T.off("openchange",c);const i=a(t),u=s(D,i)||j&&ut(j.nodesRef.current,E).some((e=>{var t;return s(null==(t=e.context)?void 0:t.elements.floating,i)}));(u||r&&["click","mousedown"].includes(r.type))&&A.domReference.current&&Ot(A.domReference.current);const d=l||n,h=z(g(d).body,yt());queueMicrotask((()=>{let n=jt();!n&&(0,o.sb)(d)&&D&&(n=function(e,t,n){const r=e.indexOf(t);function i(t){const i=et("focus-guard");let o=r+(t?1:0),a=e[o];for(;a&&(!a.isConnected||a.hasAttribute(i)||s(n,a));)t?o++:o--,a=e[o];return a}return i(!0)||i(!1)}(h,d,D)),O.current&&!V.current&&(0,o.sb)(n)&&(n===i||i===t.body||u)&&n.focus({preventScroll:e})}))}}),[i,D,G,O,S,A,T,j,E]),ke((()=>{if(!i&&L)return L.setFocusManagerState({modal:m,closeOnFocusOut:y,open:b,onOpenChange:_,refs:A}),()=>{L.setFocusManagerState(null)}}),[i,L,m,b,_,A,y]),ke((()=>{if(i)return;if(!G)return;if("function"!==typeof MutationObserver)return;if(N)return;const e=()=>{const e=G.getAttribute("tabindex"),t=Y(),n=a(g(D)),r=t.indexOf(n);-1!==r&&(Z.current=r),R.current.includes("floating")||n!==A.domReference.current&&0===t.length?"0"!==e&&G.setAttribute("tabindex","0"):"-1"!==e&&G.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(G,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[i,D,G,A,R,Y,N]);const X=!i&&I&&(!m||!F)&&(W||m);return r.createElement(r.Fragment,null,X&&r.createElement(kt,{"data-type":"inside",ref:null==L?void 0:L.beforeInsideRef,onFocus:e=>{if(m){const e=K();Se("reference"===l[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(V.current=!1,At(e,L.portalNode)){const e=wt()||P;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!F&&Q("start"),n,Q("end"),X&&r.createElement(kt,{"data-type":"inside",ref:null==L?void 0:L.afterInsideRef,onFocus:e=>{if(m)Se(K()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(y&&(V.current=!0),At(e,L.portalNode)){const e=xt()||P;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}}))}const Ut=new Set,Vt=r.forwardRef((function(e,t){const{lockScroll:n=!1,...i}=e,o=Ze();return ke((()=>{if(!n)return;Ut.add(o);const e=/iP(hone|ad|od)|iOS/.test(l()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",i=window.innerWidth-document.documentElement.clientWidth,a=t.left?parseFloat(t.left):window.scrollX,s=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",i&&(t[r]=i+"px"),e){var c,u;const e=(null==(c=window.visualViewport)?void 0:c.offsetLeft)||0,n=(null==(u=window.visualViewport)?void 0:u.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(s-Math.floor(n))+"px",left:-(a-Math.floor(e))+"px",right:"0"})}return()=>{Ut.delete(o),0===Ut.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(a,s)))}}),[o,n]),r.createElement("div",Ue({ref:t},i,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...i.style}}))}));function Ht(e){return(0,o.sb)(e.target)&&"BUTTON"===e.target.tagName}function zt(e){return b(e)}function Zt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,dataRef:o,elements:{domReference:a}}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,h=r.useRef(),p=r.useRef(!1),f=r.useMemo((()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){const t=h.current;0===e.button&&"click"!==l&&(m(t,!0)&&u||(!n||!c||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),i(!0,e.nativeEvent,"click")):i(!1,e.nativeEvent,"click")))},onClick(e){const t=h.current;"mousedown"===l&&h.current?h.current=void 0:m(t,!0)&&u||(!n||!c||o.current.openEvent&&"click"!==o.current.openEvent.type?i(!0,e.nativeEvent,"click"):i(!1,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,e.defaultPrevented||!d||Ht(e)||(" "!==e.key||zt(a)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&i(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||Ht(e)||zt(a)||" "===e.key&&p.current&&(p.current=!1,i(!n||!c,e.nativeEvent,"click"))}})),[o,a,l,u,d,i,n,c]);return r.useMemo((()=>s?{reference:f}:{}),[s,f])}function Wt(e){return null!=e&&null!=e.clientX}function qt(e,t){void 0===t&&(t={});const{open:n,dataRef:i,elements:{floating:a,domReference:l},refs:c}=e,{enabled:u=!0,axis:d="both",x:h=null,y:p=null}=t,f=r.useRef(!1),g=r.useRef(null),[v,y]=r.useState(),[b,w]=r.useState([]),x=de(((e,t)=>{f.current||i.current.openEvent&&!Wt(i.current.openEvent)||c.setPositionReference(function(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){var o;const a=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,l="y"===t.axis||"both"===t.axis,c=["mouseenter","mousemove"].includes((null==(o=t.dataRef.current.openEvent)?void 0:o.type)||"")&&"touch"!==t.pointerType;let u=a.width,d=a.height,h=a.x,p=a.y;return null==n&&t.x&&s&&(n=a.x-t.x),null==r&&t.y&&l&&(r=a.y-t.y),h-=n||0,p-=r||0,u=0,d=0,!i||c?(u="y"===t.axis?a.width:0,d="x"===t.axis?a.height:0,h=s&&null!=t.x?t.x:h,p=l&&null!=t.y?t.y:p):i&&!c&&(d="x"===t.axis?a.height:d,u="y"===t.axis?a.width:u),i=!0,{width:u,height:d,x:h,y:p,top:p,right:h+u,bottom:p+d,left:h}}}}(l,{x:e,y:t,axis:d,dataRef:i,pointerType:v}))})),A=de((e=>{null==h&&null==p&&(n?g.current||w([]):x(e.clientX,e.clientY))})),E=m(v)?a:n,_=r.useCallback((()=>{if(!E||!u||null!=h||null!=p)return;const e=(0,o.zk)(a);function t(n){const r=C(n);s(a,r)?(e.removeEventListener("mousemove",t),g.current=null):x(n.clientX,n.clientY)}if(!i.current.openEvent||Wt(i.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),g.current=null};return g.current=n,n}c.setPositionReference(l)}),[E,u,h,p,a,i,c,l,x]);r.useEffect((()=>_()),[_,b]),r.useEffect((()=>{u&&!a&&(f.current=!1)}),[u,a]),r.useEffect((()=>{!u&&n&&(f.current=!0)}),[u,n]),ke((()=>{!u||null==h&&null==p||(f.current=!1,x(h,p))}),[u,h,p,x]);const T=r.useMemo((()=>{function e(e){let{pointerType:t}=e;y(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:A,onMouseEnter:A}}),[A]);return r.useMemo((()=>u?{reference:T}:{}),[u,T])}const Gt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Yt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Kt=e=>{var t,n;return{escapeKey:"boolean"===typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"===typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function Qt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,elements:a,dataRef:l}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:h="pointerdown",referencePress:p=!1,referencePressEvent:f="pointerdown",ancestorScroll:m=!1,bubbles:y,capture:b}=t,w=Qe(),x=de("function"===typeof d?d:()=>!1),A="function"===typeof d?x:d,E=r.useRef(!1),_=r.useRef(!1),{escapeKey:T,outsidePress:S}=Kt(y),{escapeKey:k,outsidePress:P}=Kt(b),D=de((e=>{var t;if(!n||!c||!u||"Escape"!==e.key)return;const r=null==(t=l.current.floatingContext)?void 0:t.nodeId,o=w?ut(w.nodesRef.current,r):[];if(!T&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}i(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),N=de((e=>{var t;const n=()=>{var t;D(e),null==(t=C(e))||t.removeEventListener("keydown",n)};null==(t=C(e))||t.addEventListener("keydown",n)})),F=de((e=>{var t;const n=E.current;E.current=!1;const r=_.current;if(_.current=!1,"click"===h&&r)return;if(n)return;if("function"===typeof A&&!A(e))return;const c=C(e),u="["+et("inert")+"]",d=g(a.floating).querySelectorAll(u);let p=(0,o.vq)(c)?c:null;for(;p&&!(0,o.eu)(p);){const e=(0,o.$4)(p);if((0,o.eu)(e)||!(0,o.vq)(e))break;p=e}if(d.length&&(0,o.vq)(c)&&!c.matches("html,body")&&!s(c,a.floating)&&Array.from(d).every((e=>!s(p,e))))return;if((0,o.sb)(c)&&M){const t=c.clientWidth>0&&c.scrollWidth>c.clientWidth,n=c.clientHeight>0&&c.scrollHeight>c.clientHeight;let r=n&&e.offsetX>c.clientWidth;if(n){"rtl"===(0,o.L9)(c).direction&&(r=e.offsetX<=c.offsetWidth-c.clientWidth)}if(r||t&&e.offsetY>c.clientHeight)return}const f=null==(t=l.current.floatingContext)?void 0:t.nodeId,m=w&&ut(w.nodesRef.current,f).some((t=>{var n;return v(e,null==(n=t.context)?void 0:n.elements.floating)}));if(v(e,a.floating)||v(e,a.domReference)||m)return;const y=w?ut(w.nodesRef.current,f):[];if(y.length>0){let e=!0;if(y.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}i(!1,e,"outside-press")})),I=de((e=>{var t;const n=()=>{var t;F(e),null==(t=C(e))||t.removeEventListener(h,n)};null==(t=C(e))||t.addEventListener(h,n)}));r.useEffect((()=>{if(!n||!c)return;function e(e){i(!1,e,"ancestor-scroll")}l.current.__escapeKeyBubbles=T,l.current.__outsidePressBubbles=S;const t=g(a.floating);u&&t.addEventListener("keydown",k?N:D,k),A&&t.addEventListener(h,P?I:F,P);let r=[];return m&&((0,o.vq)(a.domReference)&&(r=(0,o.v9)(a.domReference)),(0,o.vq)(a.floating)&&(r=r.concat((0,o.v9)(a.floating))),!(0,o.vq)(a.reference)&&a.reference&&a.reference.contextElement&&(r=r.concat((0,o.v9)(a.reference.contextElement)))),r=r.filter((e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})),r.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),()=>{u&&t.removeEventListener("keydown",k?N:D,k),A&&t.removeEventListener(h,P?I:F,P),r.forEach((t=>{t.removeEventListener("scroll",e)}))}}),[l,a,u,A,h,n,i,m,c,T,S,D,k,N,F,P,I]),r.useEffect((()=>{E.current=!1}),[A,h]);const R=r.useMemo((()=>({onKeyDown:D,[Gt[f]]:e=>{p&&i(!1,e.nativeEvent,"reference-press")}})),[D,i,p,f]),M=r.useMemo((()=>({onKeyDown:D,onMouseDown(){_.current=!0},onMouseUp(){_.current=!0},[Yt[h]]:()=>{E.current=!0}})),[D,h]);return r.useMemo((()=>c?{reference:R,floating:M}:{}),[c,R,M])}function Xt(e){const{open:t=!1,onOpenChange:n,elements:i}=e,o=Ze(),a=r.useRef({}),[s]=r.useState((()=>qe())),l=null!=Ke();const[c,u]=r.useState(i.reference),d=de(((e,t,r)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),h=r.useMemo((()=>({setPositionReference:u})),[]),p=r.useMemo((()=>({reference:c||i.reference||null,floating:i.floating||null,domReference:i.reference})),[c,i.reference,i.floating]);return r.useMemo((()=>({dataRef:a,open:t,onOpenChange:d,elements:p,events:s,floatingId:o,refs:h})),[t,d,p,s,o,h])}function Jt(e){void 0===e&&(e={});const{nodeId:t}=e,n=Xt({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,a=i.elements,[s,l]=r.useState(null),[c,u]=r.useState(null),d=(null==a?void 0:a.reference)||s,h=r.useRef(null),p=Qe();ke((()=>{d&&(h.current=d)}),[d]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,h]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=r.useState(i);Y(p,i)||f(i);const[m,g]=r.useState(null),[v,C]=r.useState(null),y=r.useCallback((e=>{e!==A.current&&(A.current=e,g(e))}),[]),b=r.useCallback((e=>{e!==E.current&&(E.current=e,C(e))}),[]),w=a||m,x=s||v,A=r.useRef(null),E=r.useRef(null),_=r.useRef(d),T=null!=c,S=X(c),k=X(o),P=r.useCallback((()=>{if(!A.current||!E.current)return;const e={placement:t,strategy:n,middleware:p};k.current&&(e.platform=k.current),(0,q.rD)(A.current,E.current,e).then((e=>{const t={...e,isPositioned:!0};D.current&&!Y(_.current,t)&&(_.current=t,W.flushSync((()=>{h(t)})))}))}),[p,t,n,k]);G((()=>{!1===u&&_.current.isPositioned&&(_.current.isPositioned=!1,h((e=>({...e,isPositioned:!1}))))}),[u]);const D=r.useRef(!1);G((()=>(D.current=!0,()=>{D.current=!1})),[]),G((()=>{if(w&&(A.current=w),x&&(E.current=x),w&&x){if(S.current)return S.current(w,x,P);P()}}),[w,x,P,S,T]);const N=r.useMemo((()=>({reference:A,floating:E,setReference:y,setFloating:b})),[y,b]),F=r.useMemo((()=>({reference:w,floating:x})),[w,x]),I=r.useMemo((()=>{const e={position:n,left:0,top:0};if(!F.floating)return e;const t=Q(F.floating,d.x),r=Q(F.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...K(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,F.floating,d.x,d.y]);return r.useMemo((()=>({...d,update:P,refs:N,elements:F,floatingStyles:I})),[d,P,N,F,I])}({...e,elements:{...a,...c&&{reference:c}}}),m=r.useCallback((e=>{const t=(0,o.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),f.refs.setReference(t)}),[f.refs]),g=r.useCallback((e=>{((0,o.vq)(e)||null===e)&&(h.current=e,l(e)),((0,o.vq)(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!(0,o.vq)(e))&&f.refs.setReference(e)}),[f.refs]),v=r.useMemo((()=>({...f.refs,setReference:g,setPositionReference:m,domReference:h})),[f.refs,g,m]),C=r.useMemo((()=>({...f.elements,domReference:d})),[f.elements,d]),y=r.useMemo((()=>({...f,...i,refs:v,elements:C,nodeId:t})),[f,v,C,t,i]);return ke((()=>{i.dataRef.current.floatingContext=y;const e=null==p?void 0:p.nodesRef.current.find((e=>e.id===t));e&&(e.context=y)})),r.useMemo((()=>({...f,context:y,refs:v,elements:C})),[f,v,C,y])}function $t(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,events:l,dataRef:c,elements:u}=e,{enabled:p=!0,visibleOnly:m=!0}=t,v=r.useRef(!1),y=r.useRef(),w=r.useRef(!0);r.useEffect((()=>{if(!p)return;const e=(0,o.zk)(u.domReference);function t(){!n&&(0,o.sb)(u.domReference)&&u.domReference===a(g(u.domReference))&&(v.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[u.domReference,n,p]),r.useEffect((()=>{if(p)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(v.current=!0)}}),[l,p]),r.useEffect((()=>()=>{clearTimeout(y.current)}),[]);const x=r.useMemo((()=>({onPointerDown(e){d(e.nativeEvent)||(w.current=!1)},onMouseLeave(){v.current=!1},onFocus(e){if(v.current)return;const t=C(e.nativeEvent);if(m&&(0,o.vq)(t))try{if(h()&&f())throw Error();if(!t.matches(":focus-visible"))return}catch(n){if(!w.current&&!b(t))return}i(!0,e.nativeEvent,"focus")},onBlur(e){v.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=(0,o.vq)(t)&&t.hasAttribute(et("focus-guard"))&&"outside"===t.getAttribute("data-type");y.current=window.setTimeout((()=>{var e;const o=a(u.domReference?u.domReference.ownerDocument:document);(t||o!==u.domReference)&&(s(null==(e=c.current.floatingContext)?void 0:e.refs.floating.current,o)||s(u.domReference,o)||r||i(!1,n,"focus"))}))}})),[c,u.domReference,i,m]);return r.useMemo((()=>p?{reference:x}:{}),[p,x])}const en="active",tn="selected";function nn(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[en]:t,[tn]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1},...o,...t.map((t=>{const r=t?t[n]:null;return"function"===typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var a;i&&[en,tn].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"===typeof o&&(null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function rn(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),i=e.map((e=>null==e?void 0:e.item)),o=r.useCallback((t=>nn(t,e,"reference")),t),a=r.useCallback((t=>nn(t,e,"floating")),n),s=r.useCallback((t=>nn(t,e,"item")),i);return r.useMemo((()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:s})),[o,a,s])}let on=!1;function an(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function sn(e,t){return an(t,e===he||e===pe,e===fe||e===me)}function ln(e,t,n){return an(t,e===pe,n?e===fe:e===me)||"Enter"===e||" "===e||""===e}function cn(e,t,n){return an(t,n?e===me:e===fe,e===he)}function un(e,t){const{open:n,onOpenChange:i,elements:l}=e,{listRef:c,activeIndex:p,onNavigate:m=()=>{},enabled:v=!0,selectedIndex:C=null,allowEscape:y=!1,loop:b=!1,nested:A=!1,rtl:E=!1,virtual:_=!1,focusItemOnOpen:T="auto",focusItemOnHover:S=!0,openOnArrowKeyDown:k=!0,disabledIndices:P,orientation:D="vertical",cols:N=1,scrollItemIntoView:F=!0,virtualItemRef:I,itemSizes:R,dense:M=!1}=t;const O=Ke(),j=Qe(),L=de(m),B=r.useRef(T),U=r.useRef(null!=C?C:-1),V=r.useRef(null),H=r.useRef(!0),z=r.useRef(L),Z=r.useRef(!!l.floating),W=r.useRef(n),q=r.useRef(!1),G=r.useRef(!1),Y=tt(P),K=tt(n),Q=tt(F),X=tt(l.floating),J=tt(C),[$,ee]=r.useState(),[te,ne]=r.useState(),re=de((function(e,t,n){function r(e){_?(ee(e.id),null==j||j.events.emit("virtualfocus",e),I&&(I.current=e)):Se(e,{preventScroll:!0,sync:!(!f()||!h())&&(on||q.current)})}void 0===n&&(n=!1);const i=e.current[t.current];i&&r(i),requestAnimationFrame((()=>{const o=e.current[t.current]||i;if(!o)return;i||r(o);const a=Q.current;a&&oe&&(n||!H.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"===typeof a?{block:"nearest",inline:"nearest"}:a))}))}));ke((()=>{document.createElement("div").focus({get preventScroll(){return on=!0,!1}})}),[]),ke((()=>{v&&(n&&l.floating?B.current&&null!=C&&(G.current=!0,U.current=C,L(C)):Z.current&&(U.current=-1,z.current(null)))}),[v,n,l.floating,C,L]),ke((()=>{if(v&&n&&l.floating)if(null==p){if(q.current=!1,null!=J.current)return;if(Z.current&&(U.current=-1,re(c,U)),(!W.current||!Z.current)&&B.current&&(null!=V.current||!0===B.current&&null==V.current)){let e=0;const t=()=>{if(null==c.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else U.current=null==V.current||ln(V.current,D,E)||A?Ce(c,Y.current):ye(c,Y.current),V.current=null,L(U.current)};t()}}else ve(c,p)||(U.current=p,re(c,U,G.current),G.current=!1)}),[v,n,l.floating,p,J,A,c,D,E,L,re,Y]),ke((()=>{var e;if(!v||l.floating||!j||_||!Z.current)return;const t=j.nodesRef.current,n=null==(e=t.find((e=>e.id===O)))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(l.floating)),i=t.some((e=>e.context&&s(e.context.elements.floating,r)));n&&!i&&H.current&&n.focus({preventScroll:!0})}),[v,l.floating,j,O,_]),ke((()=>{if(v&&j&&_&&!O)return j.events.on("virtualfocus",e),()=>{j.events.off("virtualfocus",e)};function e(e){ne(e.id),I&&(I.current=e)}}),[v,j,_,O,I]),ke((()=>{z.current=L,Z.current=!!l.floating})),ke((()=>{n||(V.current=null)}),[n]),ke((()=>{W.current=n}),[n]);const ie=null!=p,oe=r.useMemo((()=>{function e(e){if(!n)return;const t=c.current.indexOf(e);-1!==t&&L(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...S&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;H.current&&"touch"!==t&&(U.current=-1,re(c,U),L(null),_||Se(X.current,{preventScroll:!0}))}}}}),[n,X,re,S,c,L,_]),ae=de((e=>{if(H.current=!1,q.current=!0,!K.current&&e.currentTarget===X.current)return;if(A&&cn(e.key,D,E))return w(e),i(!1,e.nativeEvent,"list-navigation"),void((0,o.sb)(l.domReference)&&!_&&l.domReference.focus());const t=U.current,r=Ce(c,P),s=ye(c,P);if("Home"===e.key&&(w(e),U.current=r,L(U.current)),"End"===e.key&&(w(e),U.current=s,L(U.current)),N>1){const t=R||Array.from({length:c.current.length},(()=>({width:1,height:1}))),n=xe(t,N,M),i=n.findIndex((e=>null!=e&&!_e(c.current,e,P))),o=n.reduce(((e,t,n)=>null==t||_e(c.current,t,P)?e:n),-1);if(U.current=n[we({current:n.map((e=>null!=e?c.current[e]:null))},{event:e,orientation:D,loop:b,cols:N,disabledIndices:Ee([...P||c.current.map(((e,t)=>_e(c.current,t)?t:void 0)),void 0],n),minIndex:i,maxIndex:o,prevIndex:Ae(U.current>s?r:U.current,t,n,N,e.key===pe?"bl":e.key===me?"tr":"tl"),stopEvent:!0})],L(U.current),"both"===D)return}if(sn(e.key,D)){if(w(e),n&&!_&&a(e.currentTarget.ownerDocument)===e.currentTarget)return U.current=ln(e.key,D,E)?r:s,void L(U.current);ln(e.key,D,E)?U.current=b?t>=s?y&&t!==c.current.length?-1:r:be(c,{startingIndex:t,disabledIndices:P}):Math.min(s,be(c,{startingIndex:t,disabledIndices:P})):U.current=b?t<=r?y&&-1!==t?c.current.length:s:be(c,{startingIndex:t,decrement:!0,disabledIndices:P}):Math.max(r,be(c,{startingIndex:t,decrement:!0,disabledIndices:P})),ve(c,U.current)?L(null):L(U.current)}})),se=r.useMemo((()=>_&&n&&ie&&{"aria-activedescendant":te||$}),[_,n,ie,te,$]),le=r.useMemo((()=>({"aria-orientation":"both"===D?void 0:D,...!x(l.domReference)&&se,onKeyDown:ae,onPointerMove(){H.current=!0}})),[se,ae,l.domReference,D]),ce=r.useMemo((()=>{function e(e){"auto"===T&&u(e.nativeEvent)&&(B.current=!0)}return{...se,onKeyDown(e){H.current=!1;const t=0===e.key.indexOf("Arrow"),r=function(e,t,n){return an(t,n?e===fe:e===me,e===pe)}(e.key,D,E),o=cn(e.key,D,E),a=sn(e.key,D),s=(A?r:a)||"Enter"===e.key||""===e.key.trim();if(_&&n){const n=null==j?void 0:j.nodesRef.current.find((e=>null==e.parentId)),i=j&&n?function(e,t){let n,r=-1;return function t(i,o){o>r&&(n=i,r=o),ut(e,i).forEach((e=>{t(e.id,o+1)}))}(t,0),e.find((e=>e.id===n))}(j.nodesRef.current,n.id):null;if(t&&i&&I){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(r||o){var l,u;const n=(null==(l=i.context)?void 0:l.elements.domReference)===e.currentTarget,a=o&&!n?null==(u=i.context)?void 0:u.elements.domReference:r?c.current.find((e=>(null==e?void 0:e.id)===$)):null;a&&(w(e),a.dispatchEvent(t),ne(void 0))}var d;if(a&&i.context)if(i.context.open&&i.parentId&&e.currentTarget!==i.context.elements.domReference)return w(e),void(null==(d=i.context.elements.domReference)||d.dispatchEvent(t))}return ae(e)}(n||k||!t)&&(s&&(V.current=A&&a?null:e.key),A?r&&(w(e),n?(U.current=Ce(c,Y.current),L(U.current)):i(!0,e.nativeEvent,"list-navigation")):a&&(null!=C&&(U.current=C),w(e),!n&&k?i(!0,e.nativeEvent,"list-navigation"):ae(e),n&&L(U.current)))},onFocus(){n&&!_&&L(null)},onPointerDown:function(e){B.current=T,"auto"===T&&d(e.nativeEvent)&&(B.current=!0)},onMouseDown:e,onClick:e}}),[$,se,ae,Y,T,c,A,L,i,n,k,D,E,C,j,_,I]);return r.useMemo((()=>v?{reference:ce,floating:le,item:oe}:{}),[v,ce,le,oe])}const dn=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function hn(e,t){var n;void 0===t&&(t={});const{open:i,floatingId:o}=e,{enabled:a=!0,role:s="dialog"}=t,l=null!=(n=dn.get(s))?n:s,c=Ze(),u=null!=Ke(),d=r.useMemo((()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:i?o:void 0}:{"aria-expanded":i?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":i?o:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[l,o,u,i,c,s]),h=r.useMemo((()=>{const e={id:o,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,o,c,s]),p=r.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:o+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[o,s]);return r.useMemo((()=>a?{reference:d,floating:h,item:p}:{}),[a,d,h,p])}const pn=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function fn(e,t){return"function"===typeof e?e(t):e}function mn(e,t){void 0===t&&(t={});const{open:n,elements:{floating:i}}=e,{duration:o=250}=t,a=("number"===typeof o?o:o.close)||0,[s,l]=r.useState("unmounted"),c=function(e,t){const[n,i]=r.useState(e);return e&&!n&&i(!0),r.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>i(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,a);return c||"close"!==s||l("unmounted"),ke((()=>{if(i){if(n){l("initial");const e=requestAnimationFrame((()=>{l("open")}));return()=>{cancelAnimationFrame(e)}}l("close")}}),[n,i]),{isMounted:c,status:s}}function gn(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:i,close:o,common:a,duration:s=250}=t,l=e.placement,c=l.split("-")[0],u=r.useMemo((()=>({side:c,placement:l})),[c,l]),d="number"===typeof s,h=(d?s:s.open)||0,p=(d?s:s.close)||0,[f,m]=r.useState((()=>({...fn(a,u),...fn(n,u)}))),{isMounted:g,status:v}=mn(e,{duration:s}),C=tt(n),y=tt(i),b=tt(o),w=tt(a);return ke((()=>{const e=fn(C.current,u),t=fn(b.current,u),n=fn(w.current,u),r=fn(y.current,u)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===v&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===v&&m({transitionProperty:Object.keys(r).map(pn).join(","),transitionDuration:h+"ms",...n,...r}),"close"===v){const r=t||e;m({transitionProperty:Object.keys(r).map(pn).join(","),transitionDuration:p+"ms",...n,...r})}}),[p,b,C,y,w,h,v,u]),{isMounted:g,styles:f}}function vn(e,t){var n;const{open:i,dataRef:o}=e,{listRef:a,activeIndex:s,onMatch:l,onTypingChange:c,enabled:u=!0,findMatch:d=null,resetMs:h=750,ignoreKeys:p=[],selectedIndex:f=null}=t,m=r.useRef(),g=r.useRef(""),v=r.useRef(null!=(n=null!=f?f:s)?n:-1),C=r.useRef(null),y=de(l),b=de(c),x=tt(d),A=tt(p);ke((()=>{i&&(clearTimeout(m.current),C.current=null,g.current="")}),[i]),ke((()=>{var e;i&&""===g.current&&(v.current=null!=(e=null!=f?f:s)?e:-1)}),[i,f,s]);const E=de((e=>{e?o.current.typing||(o.current.typing=e,b(e)):o.current.typing&&(o.current.typing=e,b(e))})),_=de((e=>{function t(e,t,n){const r=x.current?x.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=a.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(n,n,g.current)?E(!1):" "===e.key&&w(e)),null==n||A.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;i&&" "!==e.key&&(w(e),E(!0));n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&g.current===e.key&&(g.current="",v.current=C.current),g.current+=e.key,clearTimeout(m.current),m.current=setTimeout((()=>{g.current="",v.current=C.current,E(!1)}),h);const r=v.current,o=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],g.current);-1!==o?(y(o),C.current=o):" "!==e.key&&(g.current="",E(!1))})),T=r.useMemo((()=>({onKeyDown:_})),[_]),S=r.useMemo((()=>({onKeyDown:_,onKeyUp(e){" "===e.key&&E(!1)}})),[_,E]);return r.useMemo((()=>u?{reference:T,floating:S}:{}),[u,T,S])}function Cn(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const yn=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:i,offset:o=0,index:a=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...u}=(0,A._3)(e,t),{rects:d,elements:{floating:h}}=t,p=n.current[a];if(!p)return{};const f={...t,...await $(-p.offsetTop-h.clientTop-d.reference.height/2-p.offsetHeight/2-o).fn(t)},m=(null==c?void 0:c.current)||h,g=await(0,q.__)(Cn(f,m.scrollHeight),u),v=await(0,q.__)(f,{...u,elementContext:"reference"}),C=Math.max(0,g.top),y=f.y+C,b=Math.max(0,m.scrollHeight-C-Math.max(0,g.bottom));return m.style.maxHeight=b+"px",m.scrollTop=C,i&&(m.offsetHeight<p.offsetHeight*Math.min(s,n.current.length-1)-1||v.top>=-l||v.bottom>=-l?W.flushSync((()=>i(!0))):W.flushSync((()=>i(!1)))),r&&(r.current=await(0,q.__)(Cn({...f,y:y},m.offsetHeight),u)),{y:y}}});function bn(e,t){const{open:n,elements:i}=e,{enabled:o=!0,overflowRef:a,scrollRef:s,onChange:l}=t,u=de(l),d=r.useRef(!1),h=r.useRef(null),p=r.useRef(null);r.useEffect((()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==a.current)return;const n=e.deltaY,r=a.current.top>=-.5,i=a.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,s=n<0?-1:1,l=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),W.flushSync((()=>{u((e=>e+Math[l](n,o*s)))}))):/firefox/i.test(c())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||i.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{h.current=t.scrollTop,null!=a.current&&(p.current={...a.current})})),()=>{h.current=null,p.current=null,t.removeEventListener("wheel",e)}):void 0}),[o,n,i.floating,a,s,u]);const f=r.useMemo((()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==s?void 0:s.current)||i.floating;if(a.current&&e&&d.current){if(null!==h.current){const t=e.scrollTop-h.current;(a.current.bottom<-.5&&t<-1||a.current.top<-.5&&t>1)&&W.flushSync((()=>u((e=>e+t))))}requestAnimationFrame((()=>{h.current=e.scrollTop}))}}})),[i.floating,u,a,s]);return r.useMemo((()=>o?{floating:f}:{}),[o,f])}function wn(e,t){const[n,r]=e;let i=!1;const o=t.length;for(let a=0,s=o-1;a<o;s=a++){const[e,o]=t[a]||[0,0],[l,c]=t[s]||[0,0];o>=r!==c>=r&&n<=(l-e)*(r-o)/(c-o)+e&&(i=!i)}return i}function xn(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let i,a=!1,l=null,c=null,u=performance.now();const d=e=>{let{x:n,y:d,placement:h,elements:p,onClose:f,nodeId:m,tree:g}=e;return function(e){function v(){clearTimeout(i),f()}if(clearTimeout(i),!p.domReference||!p.floating||null==h||null==n||null==d)return;const{clientX:y,clientY:b}=e,w=[y,b],x=C(e),A="mouseleave"===e.type,E=s(p.floating,x),_=s(p.domReference,x),T=p.domReference.getBoundingClientRect(),S=p.floating.getBoundingClientRect(),k=h.split("-")[0],P=n>S.right-S.width/2,D=d>S.bottom-S.height/2,N=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(w,T),F=S.width>T.width,I=S.height>T.height,R=(F?T:S).left,M=(F?T:S).right,O=(I?T:S).top,j=(I?T:S).bottom;if(E&&(a=!0,!A))return;if(_&&(a=!1),_&&!A)return void(a=!0);if(A&&(0,o.vq)(e.relatedTarget)&&s(p.floating,e.relatedTarget))return;if(g&&ut(g.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===k&&d>=T.bottom-1||"bottom"===k&&d<=T.top+1||"left"===k&&n>=T.right-1||"right"===k&&n<=T.left+1)return v();let L=[];switch(k){case"top":L=[[R,T.top+1],[R,S.bottom-1],[M,S.bottom-1],[M,T.top+1]];break;case"bottom":L=[[R,S.top+1],[R,T.bottom-1],[M,T.bottom-1],[M,S.top+1]];break;case"left":L=[[S.right-1,j],[S.right-1,O],[T.left+1,O],[T.left+1,j]];break;case"right":L=[[T.right-1,j],[T.right-1,O],[S.left+1,O],[S.left+1,j]]}if(!wn([y,b],L)){if(a&&!N)return v();if(!A&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===l||null===c||0===r)return l=e,c=t,u=n,null;const i=e-l,o=t-c,a=Math.sqrt(i*i+o*o);return l=e,c=t,u=n,a/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return v()}wn([y,b],function(e){let[n,r]=e;switch(k){case"top":return[[F?n+t/2:P?n+4*t:n-4*t,r+t+1],[F?n-t/2:P?n+4*t:n-4*t,r+t+1],...[[S.left,P||F?S.bottom-t:S.top],[S.right,P?F?S.bottom-t:S.top:S.bottom-t]]];case"bottom":return[[F?n+t/2:P?n+4*t:n-4*t,r-t],[F?n-t/2:P?n+4*t:n-4*t,r-t],...[[S.left,P||F?S.top+t:S.bottom],[S.right,P?F?S.top+t:S.bottom:S.top+t]]];case"left":{const e=[n+t+1,I?r+t/2:D?r+4*t:r-4*t],i=[n+t+1,I?r-t/2:D?r+4*t:r-4*t];return[...[[D||I?S.right-t:S.left,S.top],[D?I?S.right-t:S.left:S.right-t,S.bottom]],e,i]}case"right":return[[n-t,I?r+t/2:D?r+4*t:r-4*t],[n-t,I?r-t/2:D?r+4*t:r-4*t],...[[D||I?S.left+t:S.right,S.top],[D?I?S.left+t:S.right:S.left+t,S.bottom]]]}}([n,d]))?!a&&r&&(i=window.setTimeout(v,40)):v()}}};return d.__options={blockPointerEvents:n},d}},92367:function(e){e.exports=function(){return e={418:function(e,t){!function(e,t){for(var n in t)e[n]=t[n]}(t,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={splitValues:!1});var n,i=this;this.headersMap={},e&&("undefined"!=typeof Headers&&e instanceof Headers?r.getHeaderKeys(e).forEach((function(n){r.getHeaderValues(e,n).forEach((function(e){t.splitValues?i.append(n,r.splitHeaderValue(e)):i.append(n,e)}))})):"object"==typeof(n=e)&&"object"==typeof n.headersMap&&"function"==typeof n.forEach?e.forEach((function(e,t){i.append(e,t)})):"undefined"!=typeof Map&&e instanceof Map?e.forEach((function(e,t){i.append(t,e)})):"string"==typeof e?this.appendFromString(e):"object"==typeof e&&Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];Array.isArray(n)?n.forEach((function(e){i.append(t,e)})):i.append(t,n)})))}return e.prototype.appendFromString=function(e){for(var t=e.split("\r\n"),n=0;n<t.length;n++){var r=t[n],i=r.indexOf(":");if(i>0){var o=r.substring(0,i).trim(),a=r.substring(i+1).trim();this.append(o,a)}}},e.prototype.delete=function(e,t){var n=r.normalizeName(e);if(void 0===t)delete this.headersMap[n];else{var i=this.headersMap[n];if(i){var o=i.indexOf(t);o>=0&&i.splice(o,1),0===i.length&&delete this.headersMap[n]}}},e.prototype.append=function(e,t){var n=this,i=r.normalizeName(e);Array.isArray(this.headersMap[i])||(this.headersMap[i]=[]),Array.isArray(t)?t.forEach((function(e){n.headersMap[i].push(r.normalizeValue(e))})):this.headersMap[i].push(r.normalizeValue(t))},e.prototype.set=function(e,t){var n=r.normalizeName(e);if(Array.isArray(t)){var i=[];t.forEach((function(e){i.push(r.normalizeValue(e))})),this.headersMap[n]=i}else this.headersMap[n]=[r.normalizeValue(t)]},e.prototype.has=function(e,t){var n=this.headersMap[r.normalizeName(e)];if(!Array.isArray(n))return!1;if(void 0!==t){var i=r.normalizeValue(t);return n.indexOf(i)>=0}return!0},e.prototype.get=function(e){var t=this.headersMap[r.normalizeName(e)];return void 0!==t?t.concat():[]},e.prototype.forEach=function(e){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(n){e(n,t.headersMap[n])}),this)},e.prototype.toHeaders=function(){if("undefined"!=typeof Headers){var e=new Headers;return this.forEach((function(t,n){n.forEach((function(n){e.append(t,n)}))})),e}throw new Error("Headers class is not defined")},e}();t.BrowserHeaders=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.BrowserHeaders=r.BrowserHeaders},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(e,t){for(var n=e[Symbol.iterator](),r=n.next();!r.done;)t(r.value[0]),r=n.next()},t.iterateHeadersKeys=function(e,t){for(var n=e.keys(),r=n.next();!r.done;)t(r.value),r=n.next()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},t.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},t.getHeaderValues=function(e,t){var n=e;if(n instanceof Headers&&n.getAll)return n.getAll(t);var r=n.get(t);return r&&"string"==typeof r?[r]:r},t.getHeaderKeys=function(e){var t=e,n={},i=[];return t.keys?r.iterateHeadersKeys(t,(function(e){n[e]||(n[e]=!0,i.push(e))})):t.forEach?t.forEach((function(e,t){n[t]||(n[t]=!0,i.push(t))})):r.iterateHeaders(t,(function(e){var t=e[0];n[t]||(n[t]=!0,i.push(t))})),i},t.splitHeaderValue=function(e){var t=[];return e.split(", ").forEach((function(e){e.split(",").forEach((function(e){t.push(e)}))})),t}}]))},617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkParser=t.ChunkType=t.encodeASCII=t.decodeASCII=void 0;var r,i=n(65);function o(e){return 9===(t=e)||10===t||13===t||e>=32&&e<=126;var t}function a(e){for(var t=0;t!==e.length;++t)if(!o(e[t]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(e))}function s(e){return 128==(128&e.getUint8(0))}function l(e){return e.getUint32(1,!1)}function c(e,t,n){return e.byteLength-t>=n}function u(e,t,n){if(e.slice)return e.slice(t,n);var r=e.length;void 0!==n&&(r=n);for(var i=new Uint8Array(r-t),o=0,a=t;a<r;a++)i[o++]=e[a];return i}t.decodeASCII=a,t.encodeASCII=function(e){for(var t=new Uint8Array(e.length),n=0;n!==e.length;++n){var r=e.charCodeAt(n);if(!o(r))throw new Error("Metadata contains invalid ASCII");t[n]=r}return t},function(e){e[e.MESSAGE=1]="MESSAGE",e[e.TRAILERS=2]="TRAILERS"}(r=t.ChunkType||(t.ChunkType={}));var d=function(){function e(){this.buffer=null,this.position=0}return e.prototype.parse=function(e,t){if(0===e.length&&t)return[];var n,o=[];if(null==this.buffer)this.buffer=e,this.position=0;else if(this.position===this.buffer.byteLength)this.buffer=e,this.position=0;else{var d=this.buffer.byteLength-this.position,h=new Uint8Array(d+e.byteLength),p=u(this.buffer,this.position);h.set(p,0);var f=new Uint8Array(e);h.set(f,d),this.buffer=h,this.position=0}for(;;){if(!c(this.buffer,this.position,5))return o;var m=u(this.buffer,this.position,this.position+5),g=new DataView(m.buffer,m.byteOffset,m.byteLength),v=l(g);if(!c(this.buffer,this.position,5+v))return o;var C=u(this.buffer,this.position+5,this.position+5+v);if(this.position+=5+v,s(g))return o.push({chunkType:r.TRAILERS,trailers:(n=C,new i.Metadata(a(n)))}),o;o.push({chunkType:r.MESSAGE,data:C})}},e}();t.ChunkParser=d},8:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.httpStatusToCode=t.Code=void 0,function(e){e[e.OK=0]="OK",e[e.Canceled=1]="Canceled",e[e.Unknown=2]="Unknown",e[e.InvalidArgument=3]="InvalidArgument",e[e.DeadlineExceeded=4]="DeadlineExceeded",e[e.NotFound=5]="NotFound",e[e.AlreadyExists=6]="AlreadyExists",e[e.PermissionDenied=7]="PermissionDenied",e[e.ResourceExhausted=8]="ResourceExhausted",e[e.FailedPrecondition=9]="FailedPrecondition",e[e.Aborted=10]="Aborted",e[e.OutOfRange=11]="OutOfRange",e[e.Unimplemented=12]="Unimplemented",e[e.Internal=13]="Internal",e[e.Unavailable=14]="Unavailable",e[e.DataLoss=15]="DataLoss",e[e.Unauthenticated=16]="Unauthenticated"}(n=t.Code||(t.Code={})),t.httpStatusToCode=function(e){switch(e){case 0:return n.Internal;case 200:return n.OK;case 400:return n.InvalidArgument;case 401:return n.Unauthenticated;case 403:return n.PermissionDenied;case 404:return n.NotFound;case 409:return n.Aborted;case 412:return n.FailedPrecondition;case 429:return n.ResourceExhausted;case 499:return n.Canceled;case 500:default:return n.Unknown;case 501:return n.Unimplemented;case 503:return n.Unavailable;case 504:return n.DeadlineExceeded}}},934:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.client=void 0;var r=n(65),i=n(617),o=n(8),a=n(346),s=n(57),l=n(882);t.client=function(e,t){return new c(e,t)};var c=function(){function e(e,t){this.started=!1,this.sentFirstMessage=!1,this.completed=!1,this.closed=!1,this.finishedSending=!1,this.onHeadersCallbacks=[],this.onMessageCallbacks=[],this.onEndCallbacks=[],this.parser=new i.ChunkParser,this.methodDefinition=e,this.props=t,this.createTransport()}return e.prototype.createTransport=function(){var e=this.props.host+"/"+this.methodDefinition.service.serviceName+"/"+this.methodDefinition.methodName,t={methodDefinition:this.methodDefinition,debug:this.props.debug||!1,url:e,onHeaders:this.onTransportHeaders.bind(this),onChunk:this.onTransportChunk.bind(this),onEnd:this.onTransportEnd.bind(this)};this.props.transport?this.transport=this.props.transport(t):this.transport=s.makeDefaultTransport(t)},e.prototype.onTransportHeaders=function(e,t){if(this.props.debug&&a.debug("onHeaders",e,t),this.closed)this.props.debug&&a.debug("grpc.onHeaders received after request was closed - ignoring");else if(0===t);else{this.responseHeaders=e,this.props.debug&&a.debug("onHeaders.responseHeaders",JSON.stringify(this.responseHeaders,null,2));var n=u(e);this.props.debug&&a.debug("onHeaders.gRPCStatus",n);var r=n&&n>=0?n:o.httpStatusToCode(t);this.props.debug&&a.debug("onHeaders.code",r);var i=e.get("grpc-message")||[];if(this.props.debug&&a.debug("onHeaders.gRPCMessage",i),this.rawOnHeaders(e),r!==o.Code.OK){var s=this.decodeGRPCStatus(i[0]);this.rawOnError(r,s,e)}}},e.prototype.onTransportChunk=function(e){var t=this;if(this.closed)this.props.debug&&a.debug("grpc.onChunk received after request was closed - ignoring");else{var n=[];try{n=this.parser.parse(e)}catch(e){return this.props.debug&&a.debug("onChunk.parsing error",e,e.message),void this.rawOnError(o.Code.Internal,"parsing error: "+e.message)}n.forEach((function(e){if(e.chunkType===i.ChunkType.MESSAGE){var n=t.methodDefinition.responseType.deserializeBinary(e.data);t.rawOnMessage(n)}else e.chunkType===i.ChunkType.TRAILERS&&(t.responseHeaders?(t.responseTrailers=new r.Metadata(e.trailers),t.props.debug&&a.debug("onChunk.trailers",t.responseTrailers)):(t.responseHeaders=new r.Metadata(e.trailers),t.rawOnHeaders(t.responseHeaders)))}))}},e.prototype.onTransportEnd=function(){if(this.props.debug&&a.debug("grpc.onEnd"),this.closed)this.props.debug&&a.debug("grpc.onEnd received after request was closed - ignoring");else if(void 0!==this.responseTrailers){var e=u(this.responseTrailers);if(null!==e){var t=this.responseTrailers.get("grpc-message"),n=this.decodeGRPCStatus(t[0]);this.rawOnEnd(e,n,this.responseTrailers)}else this.rawOnError(o.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(void 0===this.responseHeaders)return void this.rawOnError(o.Code.Unknown,"Response closed without headers");var r=u(this.responseHeaders),i=this.responseHeaders.get("grpc-message");if(this.props.debug&&a.debug("grpc.headers only response ",r,i),null===r)return void this.rawOnEnd(o.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var s=this.decodeGRPCStatus(i[0]);this.rawOnEnd(r,s,this.responseHeaders)}},e.prototype.decodeGRPCStatus=function(e){if(!e)return"";try{return decodeURIComponent(e)}catch(t){return e}},e.prototype.rawOnEnd=function(e,t,n){var r=this;this.props.debug&&a.debug("rawOnEnd",e,t,n),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(i){if(!r.closed)try{i(e,t,n)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnHeaders=function(e){this.props.debug&&a.debug("rawOnHeaders",e),this.completed||this.onHeadersCallbacks.forEach((function(t){try{t(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.rawOnError=function(e,t,n){var i=this;void 0===n&&(n=new r.Metadata),this.props.debug&&a.debug("rawOnError",e,t),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(r){if(!i.closed)try{r(e,t,n)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnMessage=function(e){var t=this;this.props.debug&&a.debug("rawOnMessage",e.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach((function(n){if(!t.closed)try{n(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.onHeaders=function(e){this.onHeadersCallbacks.push(e)},e.prototype.onMessage=function(e){this.onMessageCallbacks.push(e)},e.prototype.onEnd=function(e){this.onEndCallbacks.push(e)},e.prototype.start=function(e){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var t=new r.Metadata(e||{});t.set("content-type","application/grpc-web+proto"),t.set("x-grpc-web","1"),this.transport.start(t)},e.prototype.send=function(e){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var t=l.frameRequest(e);this.transport.sendMessage(t)},e.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},e.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&a.debug("request.abort aborting request"),this.transport.cancel()},e}();function u(e){var t=e.get("grpc-status")||[];if(t.length>0)try{var n=t[0];return parseInt(n,10)}catch(e){return null}return null}},346:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debug=void 0,t.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.debug?console.debug.apply(null,e):console.log.apply(null,e)}},607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.grpc=void 0;var r,i=n(418),o=n(57),a=n(229),s=n(540),l=n(210),c=n(859),u=n(8),d=n(938),h=n(35),p=n(934);(r=t.grpc||(t.grpc={})).setDefaultTransport=o.setDefaultTransportFactory,r.CrossBrowserHttpTransport=c.CrossBrowserHttpTransport,r.FetchReadableStreamTransport=a.FetchReadableStreamTransport,r.XhrTransport=l.XhrTransport,r.WebsocketTransport=s.WebsocketTransport,r.Code=u.Code,r.Metadata=i.BrowserHeaders,r.client=function(e,t){return p.client(e,t)},r.invoke=d.invoke,r.unary=h.unary},938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invoke=void 0;var r=n(934);t.invoke=function(e,t){if(e.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var n=r.client(e,{host:t.host,transport:t.transport,debug:t.debug});return t.onHeaders&&n.onHeaders(t.onHeaders),t.onMessage&&n.onMessage(t.onMessage),t.onEnd&&n.onEnd(t.onEnd),n.start(t.metadata),n.send(t.request),n.finishSend(),{close:function(){n.close()}}}},65:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(418);Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return r.BrowserHeaders}})},57:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDefaultTransport=t.setDefaultTransportFactory=void 0;var r=n(859),i=function(e){return r.CrossBrowserHttpTransport({withCredentials:!1})(e)};t.setDefaultTransportFactory=function(e){i=e},t.makeDefaultTransport=function(e){return i(e)}},229:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.detectFetchSupport=t.FetchReadableStreamTransport=void 0;var i=n(65),o=n(346);t.FetchReadableStreamTransport=function(e){return function(t){return function(e,t){return e.debug&&o.debug("fetchRequest",e),new a(e,t)}(t,e)}};var a=function(){function e(e,t){this.cancelled=!1,this.controller=self.AbortController&&new AbortController,this.options=e,this.init=t}return e.prototype.pump=function(e,t){var n=this;if(this.reader=e,this.cancelled)return this.options.debug&&o.debug("Fetch.pump.cancel at first pump"),void this.reader.cancel().catch((function(e){n.options.debug&&o.debug("Fetch.pump.reader.cancel exception",e)}));this.reader.read().then((function(e){if(e.done)return n.options.onEnd(),t;n.options.onChunk(e.value),n.pump(n.reader,t)})).catch((function(e){n.cancelled?n.options.debug&&o.debug("Fetch.catch - request cancelled"):(n.cancelled=!0,n.options.debug&&o.debug("Fetch.catch",e.message),n.options.onEnd(e))}))},e.prototype.send=function(e){var t=this;fetch(this.options.url,r(r({},this.init),{headers:this.metadata.toHeaders(),method:"POST",body:e,signal:this.controller&&this.controller.signal})).then((function(e){if(t.options.debug&&o.debug("Fetch.response",e),t.options.onHeaders(new i.Metadata(e.headers),e.status),!e.body)return e;t.pump(e.body.getReader(),e)})).catch((function(e){t.cancelled?t.options.debug&&o.debug("Fetch.catch - request cancelled"):(t.cancelled=!0,t.options.debug&&o.debug("Fetch.catch",e.message),t.options.onEnd(e))}))},e.prototype.sendMessage=function(e){this.send(e)},e.prototype.finishSend=function(){},e.prototype.start=function(e){this.metadata=e},e.prototype.cancel=function(){var e=this;this.cancelled?this.options.debug&&o.debug("Fetch.cancel already cancelled"):(this.cancelled=!0,this.controller?(this.options.debug&&o.debug("Fetch.cancel.controller.abort"),this.controller.abort()):this.options.debug&&o.debug("Fetch.cancel.missing abort controller"),this.reader?(this.options.debug&&o.debug("Fetch.cancel.reader.cancel"),this.reader.cancel().catch((function(t){e.options.debug&&o.debug("Fetch.cancel.reader.cancel exception",t)}))):this.options.debug&&o.debug("Fetch.cancel before reader"))},e}();t.detectFetchSupport=function(){return"undefined"!=typeof Response&&Response.prototype.hasOwnProperty("body")&&"function"==typeof Headers}},859:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CrossBrowserHttpTransport=void 0;var r=n(229),i=n(210);t.CrossBrowserHttpTransport=function(e){if(r.detectFetchSupport()){var t={credentials:e.withCredentials?"include":"same-origin"};return r.FetchReadableStreamTransport(t)}return i.XhrTransport({withCredentials:e.withCredentials})}},210:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.stringToArrayBuffer=t.MozChunkedArrayBufferXHR=t.XHR=t.XhrTransport=void 0;var o=n(65),a=n(346),s=n(849);t.XhrTransport=function(e){return function(t){if(s.detectMozXHRSupport())return new c(t,e);if(s.detectXHROverrideMimeTypeSupport())return new l(t,e);throw new Error("This environment's XHR implementation cannot support binary transfer.")}};var l=function(){function e(e,t){this.options=e,this.init=t}return e.prototype.onProgressEvent=function(){this.options.debug&&a.debug("XHR.onProgressEvent.length: ",this.xhr.response.length);var e=this.xhr.response.substr(this.index);this.index=this.xhr.response.length;var t=d(e);this.options.onChunk(t)},e.prototype.onLoadEvent=function(){this.options.debug&&a.debug("XHR.onLoadEvent"),this.options.onEnd()},e.prototype.onStateChange=function(){this.options.debug&&a.debug("XHR.onStateChange",this.xhr.readyState),this.xhr.readyState===XMLHttpRequest.HEADERS_RECEIVED&&this.options.onHeaders(new o.Metadata(this.xhr.getAllResponseHeaders()),this.xhr.status)},e.prototype.sendMessage=function(e){this.xhr.send(e)},e.prototype.finishSend=function(){},e.prototype.start=function(e){var t=this;this.metadata=e;var n=new XMLHttpRequest;this.xhr=n,n.open("POST",this.options.url),this.configureXhr(),this.metadata.forEach((function(e,t){n.setRequestHeader(e,t.join(", "))})),n.withCredentials=Boolean(this.init.withCredentials),n.addEventListener("readystatechange",this.onStateChange.bind(this)),n.addEventListener("progress",this.onProgressEvent.bind(this)),n.addEventListener("loadend",this.onLoadEvent.bind(this)),n.addEventListener("error",(function(e){t.options.debug&&a.debug("XHR.error",e),t.options.onEnd(e.error)}))},e.prototype.configureXhr=function(){this.xhr.responseType="text",this.xhr.overrideMimeType("text/plain; charset=x-user-defined")},e.prototype.cancel=function(){this.options.debug&&a.debug("XHR.abort"),this.xhr.abort()},e}();t.XHR=l;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.configureXhr=function(){this.options.debug&&a.debug("MozXHR.configureXhr: setting responseType to 'moz-chunked-arraybuffer'"),this.xhr.responseType="moz-chunked-arraybuffer"},t.prototype.onProgressEvent=function(){var e=this.xhr.response;this.options.debug&&a.debug("MozXHR.onProgressEvent: ",new Uint8Array(e)),this.options.onChunk(new Uint8Array(e))},t}(l);function u(e,t){var n=e.charCodeAt(t);if(n>=55296&&n<=56319){var r=e.charCodeAt(t+1);r>=56320&&r<=57343&&(n=65536+(n-55296<<10)+(r-56320))}return n}function d(e){for(var t=new Uint8Array(e.length),n=0,r=0;r<e.length;r++){var i=String.prototype.codePointAt?e.codePointAt(r):u(e,r);t[n++]=255&i}return t}t.MozChunkedArrayBufferXHR=c,t.stringToArrayBuffer=d},849:function(e,t){"use strict";var n;function r(){if(void 0!==n)return n;if(XMLHttpRequest){n=new XMLHttpRequest;try{n.open("GET","https://localhost")}catch(e){}}return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.detectXHROverrideMimeTypeSupport=t.detectMozXHRSupport=t.xhrSupportsResponseType=void 0,t.xhrSupportsResponseType=i,t.detectMozXHRSupport=function(){return"undefined"!=typeof XMLHttpRequest&&i("moz-chunked-arraybuffer")},t.detectXHROverrideMimeTypeSupport=function(){return"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest.prototype.hasOwnProperty("overrideMimeType")}},540:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketTransport=void 0;var r,i=n(346),o=n(617);!function(e){e[e.FINISH_SEND=1]="FINISH_SEND"}(r||(r={}));var a=new Uint8Array([1]);t.WebsocketTransport=function(){return function(e){return function(e){e.debug&&i.debug("websocketRequest",e);var t,n=function(e){if("https://"===e.substr(0,8))return"wss://"+e.substr(8);if("http://"===e.substr(0,7))return"ws://"+e.substr(7);throw new Error("Websocket transport constructed with non-https:// or http:// host.")}(e.url),s=[];function l(e){if(e===r.FINISH_SEND)t.send(a);else{var n=e,i=new Int8Array(n.byteLength+1);i.set(new Uint8Array([0])),i.set(n,1),t.send(i)}}return{sendMessage:function(e){t&&t.readyState!==t.CONNECTING?l(e):s.push(e)},finishSend:function(){t&&t.readyState!==t.CONNECTING?l(r.FINISH_SEND):s.push(r.FINISH_SEND)},start:function(r){(t=new WebSocket(n,["grpc-websockets"])).binaryType="arraybuffer",t.onopen=function(){var n;e.debug&&i.debug("websocketRequest.onopen"),t.send((n="",r.forEach((function(e,t){n+=e+": "+t.join(", ")+"\r\n"})),o.encodeASCII(n))),s.forEach((function(e){l(e)}))},t.onclose=function(t){e.debug&&i.debug("websocketRequest.onclose",t),e.onEnd()},t.onerror=function(t){e.debug&&i.debug("websocketRequest.onerror",t)},t.onmessage=function(t){e.onChunk(new Uint8Array(t.data))}},cancel:function(){e.debug&&i.debug("websocket.abort"),t.close()}}}(e)}}},35:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unary=void 0;var r=n(65),i=n(934);t.unary=function(e,t){if(e.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(e.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var n=null,o=null,a=i.client(e,{host:t.host,transport:t.transport,debug:t.debug});return a.onHeaders((function(e){n=e})),a.onMessage((function(e){o=e})),a.onEnd((function(e,i,a){t.onEnd({status:e,statusMessage:i,headers:n||new r.Metadata,message:o,trailers:a})})),a.start(t.metadata),a.send(t.request),a.finishSend(),{close:function(){a.close()}}}},882:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.frameRequest=void 0,t.frameRequest=function(e){var t=e.serializeBinary(),n=new ArrayBuffer(t.byteLength+5);return new DataView(n,1,4).setUint32(0,t.length,!1),new Uint8Array(n,5).set(t),new Uint8Array(n)}}},t={},function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(607);var e,t}()},19388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AppUtils:()=>Ao,InteractionTemplateUtils:()=>va,TestUtils:()=>Pi,VERSION:()=>Li,WalletUtils:()=>yo,account:()=>Xr,arg:()=>pi,args:()=>hi,atBlockHeight:()=>Kr,atBlockId:()=>Qr,authenticate:()=>vx,authorization:()=>ni,authorizations:()=>ti,authz:()=>xx,block:()=>Jr,build:()=>bn,cadence:()=>ft,cdc:()=>ft,config:()=>_e,createSignableVoucher:()=>Tr,currentUser:()=>gx,decode:()=>qr,discovery:()=>sa,display:()=>je,events:()=>Ho,getAccount:()=>En,getBlock:()=>An,getBlockHeader:()=>ai,getChainId:()=>Ji,getCollection:()=>si,getEvents:()=>ri,getEventsAtBlockHeightRange:()=>ii,getEventsAtBlockIds:()=>oi,getNetworkParameters:()=>ui,getNodeVersionInfo:()=>$r,getTransaction:()=>ci,getTransactionStatus:()=>li,invariant:()=>Zr,isBad:()=>dn,isOk:()=>un,limit:()=>di,logIn:()=>wx,mutate:()=>mx,nodeVersionInfo:()=>ei,param:()=>Ni,params:()=>Di,payer:()=>mi,ping:()=>gi,pipe:()=>fn,pluginRegistry:()=>Jo,proposer:()=>fi,query:()=>ro,reauthenticate:()=>yx,ref:()=>vi,sansPrefix:()=>Me,script:()=>Ci,send:()=>Wr,serialize:()=>_o,signUp:()=>bx,subscribeEvents:()=>Ai,t:()=>Fi,transaction:()=>wi,tx:()=>Oo,unauthenticate:()=>Cx,validator:()=>Yr,verifyUserSignatures:()=>Eo,voucherIntercept:()=>xi,voucherToTxId:()=>Sr,why:()=>hn,withPrefix:()=>Oe});var r={};n.r(r),n.d(r,{identity:()=>rc});var i={};n.r(i),n.d(i,{base2:()=>ic});var o={};n.r(o),n.d(o,{base8:()=>oc});var a={};n.r(a),n.d(a,{base10:()=>ac});var s={};n.r(s),n.d(s,{base16:()=>sc,base16upper:()=>lc});var l={};n.r(l),n.d(l,{base32:()=>cc,base32hex:()=>pc,base32hexpad:()=>mc,base32hexpadupper:()=>gc,base32hexupper:()=>fc,base32pad:()=>dc,base32padupper:()=>hc,base32upper:()=>uc,base32z:()=>vc});var c={};n.r(c),n.d(c,{base36:()=>Cc,base36upper:()=>yc});var u={};n.r(u),n.d(u,{base58btc:()=>bc,base58flickr:()=>wc});var d={};n.r(d),n.d(d,{base64:()=>xc,base64pad:()=>Ac,base64url:()=>Ec,base64urlpad:()=>_c});var h={};n.r(h),n.d(h,{base256emoji:()=>Pc});var p={};n.r(p),n.d(p,{sha256:()=>tu,sha512:()=>nu});var f={};n.r(f),n.d(f,{identity:()=>iu});var m={};n.r(m),n.d(m,{code:()=>au,decode:()=>lu,encode:()=>su,name:()=>ou});var g={};n.r(g),n.d(g,{code:()=>hu,decode:()=>fu,encode:()=>pu,name:()=>du});var v=n(27998);function C(e,t){if(!e){var n;const e=new Error("INVARIANT ".concat(t));e.stack=null===(n=e.stack)||void 0===n||null===(n=n.split("\n"))||void 0===n||null===(n=n.filter((e=>!/at invariant/.test(e))))||void 0===n?void 0:n.join("\n");for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];throw console.error("\n\n---\n\n",e,"\n\n",...i,"\n\n---\n\n"),e}}const y={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let b;const w=new Uint8Array(16);function x(){if(!b&&(b="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!b))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return b(w)}const A=[];for(let Ax=0;Ax<256;++Ax)A.push((Ax+256).toString(16).slice(1));function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return A[e[t+0]]+A[e[t+1]]+A[e[t+2]]+A[e[t+3]]+"-"+A[e[t+4]]+A[e[t+5]]+"-"+A[e[t+6]]+A[e[t+7]]+"-"+A[e[t+8]]+A[e[t+9]]+"-"+A[e[t+10]]+A[e[t+11]]+A[e[t+12]]+A[e[t+13]]+A[e[t+14]]+A[e[t+15]]}const _=function(e,t,n){if(y.randomUUID&&!t&&!e)return y.randomUUID();const r=(e=e||{}).random||(e.rng||x)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return E(r)};var T=function(e){return e.UNKNOWN="UNKNOWN",e.SCRIPT="SCRIPT",e.TRANSACTION="TRANSACTION",e.GET_TRANSACTION_STATUS="GET_TRANSACTION_STATUS",e.GET_ACCOUNT="GET_ACCOUNT",e.GET_EVENTS="GET_EVENTS",e.PING="PING",e.GET_TRANSACTION="GET_TRANSACTION",e.GET_BLOCK="GET_BLOCK",e.GET_BLOCK_HEADER="GET_BLOCK_HEADER",e.GET_COLLECTION="GET_COLLECTION",e.GET_NETWORK_PARAMETERS="GET_NETWORK_PARAMETERS",e.SUBSCRIBE_EVENTS="SUBSCRIBE_EVENTS",e.GET_NODE_VERSION_INFO="GET_NODE_VERSION_INFO",e}({}),S=function(e){return e.BAD="BAD",e.OK="OK",e}({}),k=function(e){return e.AUTHORIZER="authorizer",e.PAYER="payer",e.PROPOSER="proposer",e}({}),P=function(e){return e.ARGUMENT="ARGUMENT",e.ACCOUNT="ACCOUNT",e}({});const D=()=>{const e=[];let t;return{async deliver(n){e.push(n),t&&(t(e.shift()),t=void 0)},receive:()=>new Promise((function(n){const r=e.shift();if(r)return n(r);t=n}))}};let N;const F="INIT",I="SUBSCRIBE",R="UNSUBSCRIBE",M="UPDATED",O="SNAPSHOT",j="EXIT",L="TERMINATE",B="object"===typeof self&&self.self===self&&self||"object"===typeof n.g&&n.g.global===n.g&&n.g||"object"===typeof window&&window.window===window&&window||{FCL_REGISTRY:null};B.FCL_REGISTRY=null==B.FCL_REGISTRY?{}:B.FCL_REGISTRY;const U=B.FCL_REGISTRY;let V=0;const H=5e3;function z(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{expectReply:!1};return new Promise(((i,o)=>{const a=r.expectReply||!1,s=null!=r.timeout?r.timeout:H;a&&s&&setTimeout((()=>o(new Error("Timeout: ".concat(s,"ms passed without a response.")))),s);const l={to:e,from:r.from,tag:t,data:n,timeout:s,reply:i,reject:o};try{U[e]&&U[e].mailbox.deliver(l),a||i(!0)}catch(c){console.error("FCL.Actor -- Could Not Deliver Message",l,U[e],c),o(c)}}))}const Z=function(e){const t=(e=>{if(null==e){for(;U[String(V)];)V++;return String(V)}return String(e)})(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null);if(null!=U[t])return t;U[t]={addr:t,mailbox:D(),subs:new Set,kvs:{},error:null};const n=W(t);let r;var i,o;return"object"===typeof e?(i=e,r=async e=>{"function"===typeof i[F]&&await i[F](e);e:for(;;){const r=await e.receive();try{var t;if(r.tag===j){"function"===typeof i[L]&&await i[L](e,r,r.data||{});break e}await(null===(t=i[r.tag])||void 0===t?void 0:t.call(i,e,r,r.data||{}))}catch(n){console.error("".concat(e.self()," Error"),r,n)}finally{continue e}}}):r=e,o=async()=>{await r(n),(e=>{delete U[e]})(t)},(N||(N=Promise.resolve())).then(o).catch((e=>setTimeout((()=>{throw e}),0))),t},W=e=>({self:()=>e,receive:()=>U[e].mailbox.receive(),send:function(t,n,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(null!=t)return i.from=e,z(t,n,r,i)},sendSelf:function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};U[e]&&z(e,t,n,r)},broadcast:function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.from=e;for(const i of U[e].subs)z(i,t,n,r)},subscribe:t=>null!=t&&U[e].subs.add(t),unsubscribe:t=>null!=t&&U[e].subs.delete(t),subscriberCount:()=>U[e].subs.size,hasSubs:()=>!!U[e].subs.size,put:(t,n)=>{null!=t&&(U[e].kvs[t]=n)},get:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const r=U[e].kvs[t];return null==r?n:r},delete:t=>{delete U[e].kvs[t]},update:(t,n)=>{null!=t&&(U[e].kvs[t]=n(U[e].kvs[t]))},keys:()=>Object.keys(U[e].kvs),all:()=>U[e].kvs,where:t=>Object.keys(U[e].kvs).reduce(((n,r)=>t.test(r)?{...n,[r]:U[e].kvs[r]}:n),{}),merge:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(t).forEach((n=>U[e].kvs[n]=t[n]))},fatalError:t=>{U[e].error=t;for(const n of U[e].subs)z(n,M)}});function q(e,t,n){t(e);const r=Z((async t=>{for(t.send(e,I);;){const r=await t.receive(),i=U[e].error;if(r.tag===j)return void t.send(e,R);if(i)return n(null,i),void t.send(e,R);n(r.data,null)}}));return()=>z(r,j)}function G(e,t){return t(e),z(e,O,null,{expectReply:!0,timeout:0})}const Y=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>t.reduce(((e,t)=>t(e)),e)},K=e=>e&&"object"===typeof e&&!Array.isArray(e),Q=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;const i=n.shift();if(K(e)&&K(i))for(const o in i)K(i[o])?(e[o]||Object.assign(e,{[o]:{}}),Q(e[o],i[o])):Object.assign(e,{[o]:i[o]});return Q(e,...n)},X=e=>Array.isArray(e)?Q({},...e):e,J=e=>e.contracts?e.contracts:{},$=e=>e.dependencies?e.dependencies:{},ee=(e,t)=>Y(X,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>t.reduce(((t,n)=>({...t,...n(e)})),{})}((e=>t=>{let{deployments:n={},accounts:r={}}=t;const i=null===n||void 0===n?void 0:n[e];return i?Object.entries(i).reduce(((e,t)=>{var n;let[i,o]=t;const a=null===(n=r[i])||void 0===n?void 0:n.address;return a?o.reduce(((e,t)=>({...e,[t]:a})),{}):e}),{}):{}})(t),Y(J,(e=>t=>Object.entries(t).reduce(((t,n)=>{var r;let[i,o]=n;const a=null===o||void 0===o||null===(r=o.aliases)||void 0===r?void 0:r[e];return a&&(t[i]=a),t}),{}))(t)),Y($,(e=>t=>Object.entries(t).reduce(((t,n)=>{var r;let[i,o]=n;const a=null===o||void 0===o||null===(r=o.aliases)||void 0===r?void 0:r[e];return a&&(t[i]=a),t}),{}))(t))))(e),te=e=>{var t;return Object.entries(null!==(t=null===e||void 0===e?void 0:e.accounts)&&void 0!==t?t:[]).reduce(((e,t)=>{let[,n]=t;return!!e||n&&Object.prototype.hasOwnProperty.call(n,"key")&&("string"===typeof(r=null===n||void 0===n?void 0:n.key)&&/^[0-9A-Fa-f]+$/.test(r));var r}),!1)},ne=e=>Array.isArray(e)?e.some(te):te(e),re=e=>{const t="local"===(null===e||void 0===e?void 0:e.toLowerCase())?"emulator":null===e||void 0===e?void 0:e.toLowerCase();if("emulator"===t||"testnet"===t||"mainnet"===t||"previewnet"===t)return t;throw new Error('Invalid network "'.concat(e,'". Must be one of "emulator", "local", "testnet", or "mainnet"'))};v.Nk(_e);const ie="config",oe="PUT_CONFIG",ae="GET_CONFIG",se="GET_ALL_CONFIG",le="UPDATE_CONFIG",ce="DELETE_CONFIG",ue="CLEAR_CONFIG",de="WHERE_CONFIG",he="CONFIG/UPDATED",pe=e=>e,fe={[oe]:(e,t,n)=>{let{key:r,value:i}=n;if(null==r)throw new Error("Missing 'key' for config/put.");e.put(r,i),e.broadcast(he,{...e.all()})},[ae]:(e,t,n)=>{let{key:r,fallback:i}=n;if(null==r)throw new Error("Missing 'key' for config/get");t.reply(e.get(r,i))},[se]:(e,t)=>{t.reply({...e.all()})},[le]:(e,t,n)=>{let{key:r,fn:i}=n;if(null==r)throw new Error("Missing 'key' for config/update");e.update(r,i||pe),e.broadcast(he,{...e.all()})},[ce]:(e,t,n)=>{let{key:r}=n;if(null==r)throw new Error("Missing 'key' for config/delete");e.delete(r),e.broadcast(he,{...e.all()})},[ue]:e=>{const t=Object.keys(e.all());for(const n of t)e.delete(n);e.broadcast(he,{...e.all()})},[de]:(e,t,n)=>{let{pattern:r}=n;if(null==r)throw new Error("Missing 'pattern' for config/where");t.reply(e.where(r))},[I]:(e,t)=>{e.subscribe(t.from),e.send(t.from,he,{...e.all()})},[R]:(e,t)=>{e.unsubscribe(t.from)}};function me(e,t){return z(ie,oe,{key:e,value:t}),_e()}function ge(e,t){return z(ie,ae,{key:e,fallback:t},{expectReply:!0,timeout:10})}async function ve(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(!e.length)return t;const[n,...r]=e,i=await ge(n);return null==i?ve(r,t):i}function Ce(){return z(ie,se,null,{expectReply:!0,timeout:10})}function ye(e){return z(ie,le,{key:e,fn:arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe}),_e()}function be(e){return z(ie,ce,{key:e}),_e()}function we(e){return z(ie,de,{pattern:e},{expectReply:!0,timeout:10})}function xe(e){return q(ie,(()=>Z(fe,ie)),e)}async function Ae(e){return async function(){await z(ie,ue)}().then((()=>_e(e)))}async function Ee(e){const t=await ge("flow.network"),n=re(t),{flowJSON:r}=e;if(C(Boolean(r),"config.load -- 'flowJSON' must be defined"),C(!!n,'Flow Network Required -- In order for FCL to load your contracts please define "flow.network" to "emulator", "local", "testnet", or "mainnet" in your config. See more here: https://developers.flow.com/tools/fcl-js/reference/configure-fcl'),ne(r)){const e="emulator"===n;v.Rm({title:"Private Keys Detected",message:"Private keys should be stored in a separate flow.json file for security. See more here: https://developers.flow.com/tools/flow-cli/security",level:e?v.A_.warn:v.A_.error}),C(e,"Private keys should be stored in a separate flow.json file for security. See more here: https://developers.flow.com/tools/flow-cli/security")}for(const[i,o]of Object.entries(ee(r,n))){const e="0x".concat(i),t=await ge(e);t&&t!==o?v.Rm({title:"Contract Placeholder Conflict Detected",message:"A generated contract placeholder from config.load conflicts with a placeholder you've set manually in config have the same name.",level:v.A_.warn}):me(e,o);const n="system.contracts.".concat(i),r=await ge(n);r&&r!==o?v.Rm({title:"Contract Placeholder Conflict Detected",message:"A generated contract placeholder from config.load conflicts with a placeholder you've set manually in config have the same name.",level:v.A_.warn}):me(n,o)}}function _e(e){return null!=e&&"object"===typeof e&&Object.keys(e).map((t=>me(t,e[t]))),{put:me,get:ge,all:Ce,first:ve,update:ye,delete:be,where:we,subscribe:xe,overload:Te,load:Ee}}async function Te(e,t){const n=await Ce();try{_e(e);return await t(await Ce())}finally{await Ae(n)}}Z(fe,ie),_e.put=me,_e.get=ge,_e.all=Ce,_e.first=ve,_e.update=ye,_e.delete=be,_e.where=we,_e.subscribe=xe,_e.overload=Te,_e.load=Ee;var Se=n(75701);function ke(e){if(Array.isArray(e)){const t=[];for(let r=0;r<e.length;r++)t.push(ke(e[r]));const n=Se.Buffer.concat(t);return Se.Buffer.concat([Pe(n.length,192),n])}{const t=Fe(e);return 1===t.length&&t[0]<128?t:Se.Buffer.concat([Pe(t.length,128),t])}}function Pe(e,t){if(e<56)return Se.Buffer.from([e+t]);{const n=Ne(e),r=Ne(t+55+n.length/2);return Se.Buffer.from(r+n,"hex")}}function De(e){return"0x"===e.slice(0,2)}function Ne(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");const t=e.toString(16);return t.length%2?"0"+t:t}function Fe(e){if(!Se.Buffer.isBuffer(e)){if("string"===typeof e)return De(e)?Se.Buffer.from(function(e){return e.length%2?"0"+e:e}("string"!==typeof(t=e)?t:De(t)?t.slice(2):t),"hex"):Se.Buffer.from(e);if("number"===typeof e)return e?function(e){const t=Ne(e);return Se.Buffer.from(t,"hex")}(e):Se.Buffer.from([]);if(null===e||void 0===e)return Se.Buffer.from([]);if(e instanceof Uint8Array)return Se.Buffer.from(e);throw new Error("invalid type")}var t;return e}var Ie=n(11871),Re=n.n(Ie);function Me(e){return null==e?null:e.replace(/^0x/,"").replace(/^Fx/,"")}function Oe(e){return null==e?null:"0x"+Me(e)}function je(e){return Oe(e)}var Le=n(66973),Be=n.n(Le),Ue=null;"undefined"!==typeof WebSocket?Ue=WebSocket:"undefined"!==typeof MozWebSocket?Ue=MozWebSocket:"undefined"!==typeof n.g?Ue=n.g.WebSocket||n.g.MozWebSocket:"undefined"!==typeof window?Ue=window.WebSocket||window.MozWebSocket:"undefined"!==typeof self&&(Ue=self.WebSocket||self.MozWebSocket);const Ve=Ue;function He(e){try{return JSON.parse(e)}catch{return null}}const ze=globalThis.AbortController||n(79118);class Ze extends Error{constructor(e){let{error:t,hostname:n,path:r,method:i,requestBody:o,responseBody:a,responseStatusText:s,statusCode:l}=e;super("\n      HTTP Request Error: An error occurred when interacting with the Access API.\n      ".concat(t?"error=".concat(t):"","\n      ").concat(n?"hostname=".concat(n):"","\n      ").concat(r?"path=".concat(r):"","\n      ").concat(i?"method=".concat(i):"","\n      ").concat(o?"requestBody=".concat(o):"","\n      ").concat(a?"responseBody=".concat(a):"","\n      ").concat(s?"responseStatusText=".concat(s):"","\n      ").concat(l?"statusCode=".concat(l):"","\n    ")),this.name="HTTP Request Error",this.statusCode=l,this.errorMessage=t}}async function We(e){let{hostname:t,path:n,method:r,body:i,headers:o,retryLimit:a=5,retryIntervalMs:s=1e3,timeoutLimit:l=3e4,enableRequestLogging:c=!0}=e;const u=i?JSON.stringify(i):null;return await async function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{const e=await function(){const e=new ze,i=setTimeout((()=>{e.abort()}),l);return Re()((a=t,s=n,s?a.replace(/\/+$/,"")+"/"+s.replace(/^\/+/,""):a).toString(),{method:r,body:u,headers:o,signal:e.signal}).then((async e=>{if(e.ok)return e.json();const i=await e.text().catch((()=>null)),o=He(i);throw new Ze({error:null===o||void 0===o?void 0:o.message,hostname:t,path:n,method:r,requestBody:u,responseBody:i,responseStatusText:e.statusText,statusCode:e.status})})).catch((async e=>{if(e instanceof Ze)throw e;if("AbortError"===e.name)throw e;throw c&&await v.Rm({title:"Access Node Error",message:"The provided access node ".concat(t," does not appear to be a valid REST/HTTP access node.\n  Please verify that you are not unintentionally using a GRPC access node.\n  See more here: https://docs.onflow.org/fcl/reference/sdk-guidelines/#connect"),level:v.A_.error}),new Ze({error:null===e||void 0===e?void 0:e.message,hostname:t,path:n,method:r,requestBody:u})})).finally((()=>{clearTimeout(i)}));var a,s}();return e}catch(d){const t=[408,429,500,502,503,504];if("AbortError"===d.name||t.includes(d.statusCode))return await new Promise(((t,n)=>{i<a?(c&&console.warn("Access node unavailable, retrying in ".concat(s," ms...")),setTimeout((()=>{t(e(i+1))}),s)):n(d)}));throw d}}()}function qe(e,t,n){let r=t.response();return r.tag=e.tag,r.encodedData=JSON.parse(t.Buffer.from(n,"base64").toString()),r}async function Ge(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return C(n.node,"SDK Send Execute Script Error: opts.node must be defined."),C(t.response,"SDK Send Execute Script Error: context.response must be defined."),C(t.Buffer,"SDK Send Execute Script Error: context.Buffer must be defined."),(e=await e).block.id?await async function(e,t,n){const r=n.httpRequest||We,i=await r({hostname:n.node,path:"/v1/scripts?block_id=".concat(e.block.id),method:"POST",body:{script:t.Buffer.from(e.message.cadence).toString("base64"),arguments:e.message.arguments.map((n=>t.Buffer.from(JSON.stringify(e.arguments[n].asArgument)).toString("base64")))}});return qe(e,t,i)}(e,t,n):e.block.height?await async function(e,t,n){const r=n.httpRequest||We,i=await r({hostname:n.node,path:"/v1/scripts?block_height=".concat(e.block.height),method:"POST",body:{script:t.Buffer.from(e.message.cadence).toString("base64"),arguments:e.message.arguments.map((n=>t.Buffer.from(JSON.stringify(e.arguments[n].asArgument)).toString("base64")))}});return qe(e,t,i)}(e,t,n):await async function(e,t,n){const r=n.httpRequest||We,i=await r({hostname:n.node,path:"/v1/scripts?block_height=sealed",method:"POST",body:{script:t.Buffer.from(e.message.cadence).toString("base64"),arguments:e.message.arguments.map((n=>t.Buffer.from(JSON.stringify(e.arguments[n].asArgument)).toString("base64")))}});return qe(e,t,i)}(e,t,n)}const Ye={SHA2_256:1,SHA2_384:2,SHA3_256:3,SHA3_384:4,KMAC128_BLS_BLS12_381:5},Ke={ECDSA_P256:1,ECDSA_secp256k1:2,BLS_BLS12_381:3};function Qe(e,t,n){var r,i;let o=t.response();o.tag=e.tag;return o.account={address:n.address,balance:Number(n.balance),code:"",contracts:(e=>{const n={};if(!e)return n;for(let r of Object.keys(e))n[r]=t.Buffer.from(e[r],"base64").toString();return n})(n.contracts),keys:null!==(r=null===(i=n.keys)||void 0===i?void 0:i.map((e=>({index:Number(e.index),publicKey:e.public_key.replace(/^0x/,""),signAlgo:Ke[e.signing_algorithm],signAlgoString:e.signing_algorithm,hashAlgo:Ye[e.hashing_algorithm],hashAlgoString:e.hashing_algorithm,sequenceNumber:Number(e.sequence_number),weight:Number(e.weight),revoked:e.revoked}))))&&void 0!==r?r:[]},o}async function Xe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return C(n.node,"SDK Send Get Account Error: opts.node must be defined."),C(t.response,"SDK Send Get Account Error: context.response must be defined."),C(t.Buffer,"SDK Send Get Account Error: context.Buffer must be defined."),null!==(e=await e).block.height?await async function(e,t,n){const r=n.httpRequest||We;return Qe(e,t,await r({hostname:n.node,path:"/v1/accounts/".concat(e.account.addr,"?block_height=").concat(e.block.height,"&expand=contracts,keys"),method:"GET",body:null}))}(e,t,n):await async function(e,t,n){const r=n.httpRequest||We;return Qe(e,t,await r({hostname:n.node,path:"/v1/accounts/".concat(e.account.addr,"?block_height=sealed&expand=contracts,keys"),method:"GET",body:null}))}(e,t,n)}function Je(e,t,n){const r=n.length?n[0]:null,i=t.response();return i.tag=e.tag,i.blockHeader={id:r.header.id,parentId:r.header.parent_id,height:Number(r.header.height),timestamp:r.header.timestamp},i}async function $e(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Block Header Error: opts.node must be defined."),C(t.response,"SDK Send Get Block Header Error: context.response must be defined.");const r=null!==(e=await e).block.id,i=null!==e.block.height;return r?await async function(e,t,n){const r=n.httpRequest||We;return Je(e,t,await r({hostname:n.node,path:"/v1/blocks/".concat(e.block.id),method:"GET",body:null}))}(e,t,n):i?await async function(e,t,n){const r=n.httpRequest||We;return Je(e,t,await r({hostname:n.node,path:"/v1/blocks?height=".concat(e.block.height),method:"GET",body:null}))}(e,t,n):await async function(e,t,n){var r;const i=n.httpRequest||We,o=null!==(r=e.block)&&void 0!==r&&r.isSealed?"sealed":"final";return Je(e,t,await i({hostname:n.node,path:"/v1/blocks?height=".concat(o),method:"GET",body:null}))}(e,t,n)}function et(e,t,n){const r=n.length?n[0]:null,i=t.response();return i.tag=e.tag,i.block={id:r.header.id,parentId:r.header.parent_id,height:Number(r.header.height),timestamp:r.header.timestamp,collectionGuarantees:r.payload.collection_guarantees.map((e=>({collectionId:e.collection_id,signerIds:e.signer_ids}))),blockSeals:r.payload.block_seals.map((e=>({blockId:e.block_id,executionReceiptId:e.result_id})))},i}async function tt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Block Error: opts.node must be defined."),C(t.response,"SDK Send Get Block Error: context.response must be defined.");const r=null!==(e=await e).block.id,i=null!==e.block.height;return r?await async function(e,t,n){const r=n.httpRequest||We;return et(e,t,await r({hostname:n.node,path:"/v1/blocks/".concat(e.block.id,"?expand=payload"),method:"GET",body:null}))}(e,t,n):i?await async function(e,t,n){const r=n.httpRequest||We;return et(e,t,await r({hostname:n.node,path:"/v1/blocks?height=".concat(e.block.height,"&expand=payload"),method:"GET",body:null}))}(e,t,n):await async function(e,t,n){var r;const i=n.httpRequest||We,o=null!==(r=e.block)&&void 0!==r&&r.isSealed?"sealed":"final";return et(e,t,await i({hostname:n.node,path:"/v1/blocks?height=".concat(o,"&expand=payload"),method:"GET",body:null}))}(e,t,n)}function nt(e,t,n){let r=t.response();return r.tag=e.tag,r.events=[],n.forEach((e=>e.events?e.events.forEach((n=>r.events.push({blockId:e.block_id,blockHeight:Number(e.block_height),blockTimestamp:e.block_timestamp,type:n.type,transactionId:n.transaction_id,transactionIndex:Number(n.transaction_index),eventIndex:Number(n.event_index),payload:JSON.parse(t.Buffer.from(n.payload,"base64").toString())}))):null)),r}async function rt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Events Error: opts.node must be defined."),C(t.response,"SDK Send Get Events Error: context.response must be defined."),C(t.Buffer,"SDK Send Get Events Error: context.Buffer must be defined.");const r=null!==(e=await e).events.start,i=Array.isArray(e.events.blockIds)&&e.events.blockIds.length>0;return C(r||i,"SendGetEventsError: Unable to determine which get events request to send. Either a block height range, or block IDs must be specified."),r?await async function(e,t,n){const r=n.httpRequest||We;return nt(e,t,await r({hostname:n.node,path:"/v1/events?type=".concat(e.events.eventType,"&start_height=").concat(e.events.start,"&end_height=").concat(e.events.end),method:"GET",body:null}))}(e,t,n):await async function(e,t,n){const r=n.httpRequest||We,i=await r({hostname:n.node,path:"/v1/events?type=".concat(e.events.eventType,"&block_ids=").concat(e.events.blockIds.join(",")),method:"GET",body:null});return nt(e,t,i)}(e,t,n)}const it={UNKNOWN:0,PENDING:1,FINALIZED:2,EXECUTED:3,SEALED:4,EXPIRED:5};const ot=e=>"".concat(withPrefix(e.addr),"-").concat(e.keyId);const at=Ve;class st extends Error{constructor(e){let{code:t,reason:n,message:r,wasClean:i}=e;super("\n      connectWs: connection closed with error".concat(r?": ".concat(r):"","\n      ").concat(t?"code: ".concat(t):"","\n      ").concat(n?"reason: ".concat(n):"","\n      ").concat(i?"wasClean: ".concat(i):"","\n    ")),this.name="WebsocketError",this.code=t,this.reason=n,this.wasClean=!1}}function lt(e){let{hostname:t,path:n,params:r,getParams:i,retryLimit:o=5,retryIntervalMs:a=1e3}=e;if(i&&r)throw new Error("connectWs: cannot specify both params and getParams");let s=new Le.EventEmitter,l=0;const c=i||(()=>r);let u=()=>{};return function e(){let r=!1,i=!1;const d=function(e,t,n){const r=new URL(t||"",e);"https:"===r.protocol?r.protocol="wss:":"http:"===r.protocol&&(r.protocol="ws:");return Object.entries(n||{}).forEach((e=>{let[t,n]=e;if(n){let e;e=Array.isArray(n)?n.join(","):n.toString(),r.searchParams.append(t,e)}})),r.toString()}(t,n,c()),h=new at(d);h.onmessage=function(e){const t=He(e.data);t?s.emit("data",t):(s.emit("error",new st({message:"invalid JSON data"})),this.close())},h.onclose=function(t){if(r)return s.emit("close"),void s.removeAllListeners();i?setTimeout(e,a):l<o?(l++,setTimeout(e,a)):(s.emit("error",new st({wasClean:t.wasClean,code:t.code,reason:t.reason,message:"failed to connect"})),setTimeout((()=>{s.emit("close"),s.removeAllListeners()})))},h.onopen=function(){i=!0,l=0},u=()=>{r=!0,h.close()}}(),{on(e,t){return s.on(e,t),this},off(e,t){return s.off(e,t),this},close(){u()}}}async function ct(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Events Error: opts.node must be defined."),C(t.response,"SDK Send Get Events Error: context.response must be defined."),C(t.Buffer,"SDK Send Get Events Error: context.Buffer must be defined.");const r=await e,i=n.connectWs||lt,o=new Le.EventEmitter;let a=null;const s=i({hostname:n.node,path:"/v1/subscribe_events",getParams:()=>{var e,t,n,i;const o={event_types:null===(e=r.subscribeEvents)||void 0===e?void 0:e.eventTypes,addresses:null===(t=r.subscribeEvents)||void 0===t?void 0:t.addresses,contracts:null===(n=r.subscribeEvents)||void 0===n?void 0:n.contracts,heartbeat_interval:null===(i=r.subscribeEvents)||void 0===i?void 0:i.heartbeatInterval};var s,l;a?o.start_height=a+1:(o.start_block_id=null===(s=r.subscribeEvents)||void 0===s?void 0:s.startBlockId,o.start_height=null===(l=r.subscribeEvents)||void 0===l?void 0:l.startHeight);return o}});s.on("data",(e=>{const n=function(e,t,n){var r;const i=t.response();return i.tag=e.tag,i.events=(null===(r=n.Events)||void 0===r?void 0:r.length)>0?n.Events.map((e=>({blockId:n.BlockID,blockHeight:Number(n.Height),blockTimestamp:n.Timestamp,type:e.Type,transactionId:e.TransactionID,transactionIndex:Number(e.TransactionIndex),eventIndex:Number(e.EventIndex),payload:JSON.parse(t.Buffer.from(e.Payload,"base64").toString())}))):null,i.heartbeat={blockId:n.BlockID,blockHeight:Number(n.Height),blockTimestamp:n.Timestamp},i}(r,t,e);a=n.heartbeat.blockHeight,o.emit("data",n)})),s.on("error",(e=>{o.emit("error",e)})),s.on("close",(()=>{o.emit("close")}));return function(e,t,n){const r=t.response();return r.tag=e.tag,r.streamConnection=n,r}(r,t,{on(e,t){return o.on(e,t),this},off(e,t){return o.off(e,t),this},close(){s.close()}})}const ut=async function(e,t){var n,r,i,o;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};switch(C(Boolean(null===a||void 0===a?void 0:a.node),'SDK Send Error: Either opts.node or "accessNode.api" in config must be defined.'),C(Boolean(t.ix),"SDK Send Error: context.ix must be defined."),e=await e,!0){case t.ix.isTransaction(e):return a.sendTransaction?a.sendTransaction(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Transaction Error: opts.node must be defined."),C(t.response,"SDK Send Transaction Error: context.response must be defined."),C(t.Buffer,"SDK Send Transaction Error: context.Buffer must be defined.");const r=n.httpRequest||We;e=await e;let i=[];for(let d of Object.values(e.accounts))try{if(!d.role.payer&&null!=d.signature){const e={address:Me(d.addr),key_index:String(d.keyId),signature:t.Buffer.from(d.signature,"hex").toString("base64")};i.find((t=>t.address===e.address&&t.key_index===e.key_index&&t.signature===e.signature))||i.push(e)}}catch(u){throw console.error("SDK HTTP Send Error: Trouble applying payload signature",{acct:d,ix:e}),u}let o={};for(let d of Object.values(e.accounts))try{if(d.role.payer&&null!=d.signature){let e=d.tempId||ot(d);o[e]=o[e]||{address:Me(d.addr),key_index:String(d.keyId),signature:t.Buffer.from(d.signature,"hex").toString("base64")}}}catch(u){throw console.error("SDK HTTP Send Error: Trouble applying envelope signature",{acct:d,ix:e}),u}o=Object.values(o);var a=Date.now();const s=await r({hostname:n.node,path:"/v1/transactions",method:"POST",body:{script:t.Buffer.from(e.message.cadence).toString("base64"),arguments:[...e.message.arguments.map((n=>t.Buffer.from(JSON.stringify(e.arguments[n].asArgument)).toString("base64")))],reference_block_id:e.message.refBlock?e.message.refBlock:null,gas_limit:String(e.message.computeLimit),payer:Me(e.accounts[Array.isArray(e.payer)?e.payer[0]:e.payer].addr),proposal_key:{address:Me(e.accounts[e.proposer].addr),key_index:String(e.accounts[e.proposer].keyId),sequence_number:String(e.accounts[e.proposer].sequenceNum)},authorizers:e.authorizations.map((t=>e.accounts[t].addr)).reduce(((e,t)=>e.find((e=>e===t))?e:[...e,t]),[]).map(Me),payload_signatures:i,envelope_signatures:o}});var l=Date.now();let c=t.response();return c.tag=e.tag,c.transactionId=s.id,"undefined"!==typeof window&&"undefined"!==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("FLOW::TX",{detail:{txId:c.transactionId,delta:l-a}})),c}(e,t,a);case t.ix.isGetTransactionStatus(e):return a.sendGetTransactionStatus?a.sendGetTransactionStatus(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Transaction Status Error: opts.node must be defined."),C(t.response,"SDK Send Get Transaction Status Error: context.response must be defined."),C(t.Buffer,"SDK Send Get Transaction Status Error: context.Buffer must be defined.");const r=n.httpRequest||We;e=await e;const i=await r({hostname:n.node,path:"/v1/transaction_results/".concat(e.transaction.id),method:"GET",body:null});let o=t.response();return o.tag=e.tag,o.transactionStatus={blockId:i.block_id,status:it[i.status.toUpperCase()]||"",statusString:i.status.toUpperCase(),statusCode:i.status_code,errorMessage:i.error_message,events:i.events.map((e=>({type:e.type,transactionId:e.transaction_id,transactionIndex:Number(e.transaction_index),eventIndex:Number(e.event_index),payload:JSON.parse(t.Buffer.from(e.payload,"base64").toString())})))},o}(e,t,a);case t.ix.isGetTransaction(e):return a.sendGetTransaction?a.sendGetTransaction(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Transaction Error: opts.node must be defined."),C(t.response,"SDK Send Get Transaction Error: context.response must be defined."),C(t.Buffer,"SDK Send Get Transaction Error: context.Buffer must be defined.");const r=n.httpRequest||We;e=await e;const i=await r({hostname:n.node,path:"/v1/transactions/".concat(e.transaction.id),method:"GET",body:null}),o=e=>({address:e.address,keyId:Number(e.key_index),signature:e.signature});let a=t.response();var s;return a.tag=e.tag,a.transaction={script:t.Buffer.from(i.script,"base64").toString(),args:[...i.arguments.map((e=>JSON.parse(t.Buffer.from(e,"base64").toString())))],referenceBlockId:i.reference_block_id,gasLimit:Number(i.gas_limit),payer:i.payer,proposalKey:i.proposal_key?(s=i.proposal_key,{address:s.address,keyId:Number(s.key_id),sequenceNumber:Number(s.sequence_number)}):i.proposal_key,authorizers:i.authorizers,payloadSignatures:[...i.payload_signatures.map(o)],envelopeSignatures:[...i.envelope_signatures.map(o)]},a}(e,t,a);case t.ix.isScript(e):return a.sendExecuteScript?a.sendExecuteScript(e,t,a):Ge(e,t,a);case t.ix.isGetAccount(e):return a.sendGetAccount?a.sendGetAccount(e,t,a):Xe(e,t,a);case t.ix.isGetEvents(e):return a.sendGetEvents?a.sendGetEvents(e,t,a):rt(e,t,a);case null===(n=(r=t.ix).isSubscribeEvents)||void 0===n?void 0:n.call(r,e):return a.connectSubscribeEvents?a.connectSubscribeEvents(e,t,a):ct(e,t,a);case t.ix.isGetBlock(e):return a.sendGetBlock?a.sendGetBlock(e,t,a):tt(e,t,a);case t.ix.isGetBlockHeader(e):return a.sendGetBlockHeader?a.sendGetBlockHeader(e,t,a):$e(e,t,a);case t.ix.isGetCollection(e):return a.sendGetCollection?a.sendGetCollection(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Collection Error: opts.node must be defined."),C(t.response,"SDK Send Get Collection Error: context.response must be defined.");const r=n.httpRequest||We,i=await r({hostname:n.node,path:"/v1/collections/".concat(e.collection.id,"?expand=transactions"),method:"GET",body:null}),o=t.response();return o.tag=e.tag,o.collection={id:i.id,transactionIds:i.transactions.map((e=>e.id))},o}(e,t,a);case t.ix.isPing(e):return a.sendPing?a.sendPing(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(Boolean(n.node),"SDK Send Ping Error: opts.node must be defined."),C(Boolean(t.response),"SDK Send Ping Error: context.response must be defined.");const r=n.httpRequest||We;await r({hostname:n.node,path:"/v1/blocks?height=sealed",method:"GET",body:null});let i="function"===typeof(null===t||void 0===t?void 0:t.response)?t.response():{};return i.tag=e.tag,i}(e,t,a);case t.ix.isGetNetworkParameters(e):return a.sendGetNetworkParameters?a.sendGetNetworkParameters(e,t,a):async function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(r.node,"SDK Send Get Network Parameters Error: opts.node must be defined."),C(n.response,"SDK Send Get Network Parameters Error: context.response must be defined.");const i=r.httpRequest||We;e=await e;const o=await i({hostname:r.node,path:"/v1/network/parameters",method:"GET",body:null,enableRequestLogging:null===(t=r.enableRequestLogging)||void 0===t||t});let a=n.response();return a.tag=e.tag,a.networkParameters={chainId:o.chain_id},a}(e,t,a);case null===(i=(o=t.ix).isGetNodeVersionInfo)||void 0===i?void 0:i.call(o,e):return a.sendGetNodeVersionInfo?a.sendGetNodeVersionInfo(e,t,a):async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(n.node,"SDK Send Get Node Version Info Error: opts.node must be defined."),C(t.response,"SDK Send Get Node Verison Info Error: context.response must be defined.");const r=n.httpRequest||We;e=await e;const i=await r({hostname:n.node,path:"/v1/node_version_info",method:"GET"});let o=t.response();return o.tag=e.tag,o.nodeVersionInfo={semver:i.semver,commit:i.commit,sporkId:i.spork_id,protocolVersion:parseInt(i.protocol_version),sporkRootBlockHeight:parseInt(i.spork_root_block_height),nodeRootBlockHeight:parseInt(i.node_root_block_height)},o}(e,t,a);default:return e}};var dt=n(90884);function ht(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e.length&&!t.length)return n;if(!e.length)return n;if(!t.length)return n.push(...e),n;const[r,...i]=e,[o,...a]=t;return void 0!==r&&n.push(r),void 0!==o&&n.push(o),ht(i,a,n)}function pt(e){return function(t){return"function"===typeof t?(v.Rm.deprecate({pkg:"FCL/SDK",subject:"Interopolation of functions into template literals",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0001-deprecate-params"}),pt(e)(t(e))):String(t)}}function ft(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"string"===typeof e?()=>e:"function"===typeof e?e:t=>ht([...e],n.map(pt(t))).join("").trim()}const mt='{\n  "kind":"'.concat(P.ACCOUNT,'",\n  "tempId":null,\n  "addr":null,\n  "keyId":null,\n  "sequenceNum":null,\n  "signature":null,\n  "signingFunction":null,\n  "resolve":null,\n  "role": {\n    "proposer":false,\n    "authorizer":false,\n    "payer":false,\n    "param":false\n  }\n}'),gt='{\n  "kind":"'.concat(P.ARGUMENT,'",\n  "tempId":null,\n  "value":null,\n  "asArgument":null,\n  "xform":null,\n  "resolve": null,\n  "resolveArgument": null\n}'),vt='{\n  "tag":"'.concat(T.UNKNOWN,'",\n  "assigns":{},\n  "status":"').concat(S.OK,'",\n  "reason":null,\n  "accounts":{},\n  "params":{},\n  "arguments":{},\n  "message": {\n    "cadence":null,\n    "refBlock":null,\n    "computeLimit":null,\n    "proposer":null,\n    "payer":null,\n    "authorizations":[],\n    "params":[],\n    "arguments":[]\n  },\n  "proposer":null,\n  "authorizations":[],\n  "payer":[],\n  "events": {\n    "eventType":null,\n    "start":null,\n    "end":null,\n    "blockIds":[]\n  },\n  "subscribeEvents": {\n    "startBlockId":null,\n    "startHeight":null,\n    "eventTypes":null,\n    "addresses":null,\n    "contracts":null,\n    "heartbeatInterval":null\n  },\n  "transaction": {\n    "id":null\n  },\n  "block": {\n    "id":null,\n    "height":null,\n    "isSealed":null\n  },\n  "account": {\n    "addr":null\n  },\n  "collection": {\n    "id":null\n  }\n}'),Ct=new Set(Object.keys(JSON.parse(vt))),yt=()=>JSON.parse(vt),bt=()=>(v.Rm.deprecate({pkg:"FCL/SDK",message:"The interaction been deprecated from the Flow JS-SDK/FCL. use initInteraction instead",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0010-deprecate-interaction",level:v.A_.warn}),yt()),wt=e=>"number"===typeof e,xt=e=>Array.isArray(e),At=e=>null!==e&&"object"===typeof e,Et=e=>null==e,_t=e=>"function"===typeof e,Tt=e=>{if(!At(e)||Et(e)||wt(e))return!1;for(let t of Ct)if(!e.hasOwnProperty(t))return!1;return!0},St=e=>(e.status=S.OK,e),kt=(e,t)=>(e.status=S.BAD,e.reason=t,e),Pt=e=>t=>(t.tag=e,St(t)),Dt=e=>null==e.keyId?e:(C(!isNaN(parseInt(e.keyId.toString())),"account.keyId must be an integer"),{...e,keyId:parseInt(e.keyId.toString())}),Nt=()=>JSON.parse(mt),Ft=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>{C("function"===typeof e||"object"===typeof e,"prepAccount must be passed an authorization function or an account object"),C(null!=t.role,"Account must have a role");const r=Nt(),i=t.role,o=_();let a={...e};e.authorization&&_t(e.authorization)&&(a={resolve:e.authorization}),!e.authorization&&_t(e)&&(a={resolve:e});const s=a.resolve;return s&&(a.resolve=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[s,Dt].reduce((async(e,t)=>t(await e,...n)),e)}),a=Dt(a),n.accounts[o]={...r,tempId:o,...a,role:{...r.role,..."object"===typeof e.role?e.role:{},...i?{[i]:!0}:{}}},i===k.AUTHORIZER?n.authorizations.push(o):i===k.PAYER?n.payer.push(o):i&&(n[i]=o),n}},It=e=>t=>{let n=_();return t.message.arguments.push(n),t.arguments[n]=JSON.parse(gt),t.arguments[n].tempId=n,t.arguments[n].value=e.value,t.arguments[n].asArgument=e.asArgument,t.arguments[n].xform=e.xform,t.arguments[n].resolve=e.resolve,t.arguments[n].resolveArgument=_t(e.resolveArgument)?e.resolveArgument.bind(e):e.resolveArgument,St(t)},Rt=Pt(T.UNKNOWN),Mt=Pt(T.SCRIPT),Ot=Pt(T.TRANSACTION),jt=Pt(T.GET_TRANSACTION_STATUS),Lt=Pt(T.GET_TRANSACTION),Bt=Pt(T.GET_ACCOUNT),Ut=Pt(T.GET_EVENTS),Vt=Pt(T.PING),Ht=Pt(T.GET_BLOCK),zt=Pt(T.GET_BLOCK_HEADER),Zt=Pt(T.GET_COLLECTION),Wt=Pt(T.GET_NETWORK_PARAMETERS),qt=Pt(T.SUBSCRIBE_EVENTS),Gt=Pt(T.GET_NODE_VERSION_INFO),Yt=e=>t=>t.tag===e,Kt=Yt(T.UNKNOWN),Qt=Yt(T.SCRIPT),Xt=Yt(T.TRANSACTION),Jt=Yt(T.GET_TRANSACTION_STATUS),$t=Yt(T.GET_TRANSACTION),en=Yt(T.GET_ACCOUNT),tn=Yt(T.GET_EVENTS),nn=Yt(T.PING),rn=Yt(T.GET_BLOCK),on=Yt(T.GET_BLOCK_HEADER),an=Yt(T.GET_COLLECTION),sn=Yt(T.GET_NETWORK_PARAMETERS),ln=Yt(T.GET_NODE_VERSION_INFO),cn=Yt(T.SUBSCRIBE_EVENTS),un=e=>e.status===S.OK,dn=e=>e.status===S.BAD,hn=e=>e.reason,pn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];try{if(e=(e=>{for(let t of Object.keys(e))if(!Ct.has(t))throw new Error('"'.concat(t,'" is an invalid root level Interaction property.'));return e})(await e),dn(e))throw new Error("Interaction Error: ".concat(e.reason));if(!t.length)return e;const[n,...r]=t,i=await n;if(_t(i))return pn(i(e),r);if(Et(i)||!i)return pn(e,r);if(Tt(i))return pn(i,r);throw new Error("Invalid Interaction Composition")}catch(n){throw n}};function fn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[r,i]=t;if(xt(r))return e=>fn(e,r);return pn(r,i)}const mn=function(e){return e},gn=(e,t,n)=>null==e.assigns[t]?n:e.assigns[t],vn=(e,t)=>n=>(n.assigns[e]=t,St(n)),Cn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mn;return n=>(n.assigns[e]=t(n.assigns[e],n),St(n))};var yn=Object.freeze({__proto__:null,initInteraction:yt,interaction:bt,isNumber:wt,isArray:xt,isObj:At,isNull:Et,isFn:_t,isInteraction:Tt,Ok:St,Bad:kt,initAccount:Nt,prepAccount:Ft,makeArgument:It,makeUnknown:Rt,makeScript:Mt,makeTransaction:Ot,makeGetTransactionStatus:jt,makeGetTransaction:Lt,makeGetAccount:Bt,makeGetEvents:Ut,makePing:Vt,makeGetBlock:Ht,makeGetBlockHeader:zt,makeGetCollection:Zt,makeGetNetworkParameters:Wt,makeSubscribeEvents:qt,makeGetNodeVerionInfo:Gt,isUnknown:Kt,isScript:Qt,isTransaction:Xt,isGetTransactionStatus:Jt,isGetTransaction:$t,isGetAccount:en,isGetEvents:tn,isPing:nn,isGetBlock:rn,isGetBlockHeader:on,isGetCollection:an,isGetNetworkParameters:sn,isGetNodeVersionInfo:ln,isSubscribeEvents:cn,isOk:un,isBad:dn,why:hn,isAccount:e=>e.kind===P.ACCOUNT,isArgument:e=>e.kind===P.ARGUMENT,pipe:fn,get:gn,put:vn,update:Cn,destroy:e=>t=>(delete t.assigns[e],St(t))});function bn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return fn(yt(),e)}const wn={tag:null,transaction:null,transactionStatus:null,transactionId:null,encodedData:null,events:null,account:null,block:null,blockHeader:null,latestBlock:null,collection:null,networkParameters:null,streamConnection:null,heartbeat:null,nodeVersionInfo:null},xn=()=>({...wn});function An(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return fn([Ht,t=>(t.block.isSealed=e,St(t))])}function En(e){return fn([Bt,t=>(t.account.addr=Me(e),St(t))])}const _n=(e,t,n)=>{const r=new(Be());let i=function(){let e=[],t=!1;async function n(){if(!t){for(t=!0;e.length>0;){const t=e.shift();await(null===t||void 0===t?void 0:t())}t=!1}}return{push:t=>{e.push(t),n()}}}();function o(t){e.on(t,(e=>{i.push((async()=>{r.emit(t,e)}))}))}return e.on("data",(async e=>{const o=Object.keys(e).filter((t=>null!=e[t]&&"tag"!==t));let a=Promise.all(o.map((async r=>{const i={[r]:e[r]};return{channel:r,message:await t(i,n)}})));i.push((async()=>{(await a).forEach((e=>{let{channel:t,message:n}=e;r.emit(t,n)}))}))})),o("close"),o("error"),{on(e,t){return r.on(e,t),this},off(e,t){return r.off(e,t),this},close:()=>{e.close()}}};const Tn=async e=>e,Sn=async(e,t,n)=>{const r=await e.fields.reduce((async(e,r)=>((e=await e)[r.name]=await Dn(r.value,t,[...n,r.name]),e)),Promise.resolve({})),i=e.id&&Pn(t,e.id);return i?await i(r):r},kn={UInt:Tn,Int:Tn,UInt8:Tn,Int8:Tn,UInt16:Tn,Int16:Tn,UInt32:Tn,Int32:Tn,UInt64:Tn,Int64:Tn,UInt128:Tn,Int128:Tn,UInt256:Tn,Int256:Tn,Word8:Tn,Word16:Tn,Word32:Tn,Word64:Tn,Word128:Tn,Word256:Tn,UFix64:Tn,Fix64:Tn,String:Tn,Character:Tn,Bool:Tn,Address:Tn,Void:async()=>null,Optional:async(e,t,n)=>e?await Dn(e,t,n):null,Reference:Tn,Array:async(e,t,n)=>await Promise.all(e.map((e=>new Promise((async r=>r(await Dn(e,t,[...n,e.type]))))))),Dictionary:async(e,t,n)=>await e.reduce((async(e,r)=>((e=await e)[await Dn(r.key,t,[...n,r.key])]=await Dn(r.value,t,[...n,r.key]),e)),Promise.resolve({})),Event:Sn,Resource:Sn,Struct:Sn,Enum:Sn,Type:async e=>e.staticType,Path:Tn,Capability:Tn,InclusiveRange:async(e,t,n)=>{const r=["start","end","step"];return await Object.keys(e).reduce((async(i,o)=>(i=await i,r.includes(o)&&(i[o]=await Dn(e[o],t,[...n,o])),i)),Promise.resolve({}))}},Pn=(e,t)=>{const n=Object.keys(e).find((e=>{if(/^\/.*\/$/.test(e)){return new RegExp(e.substring(1,e.length-1)).test(t)}return e===t}));return t&&n&&e[n]},Dn=async(e,t,n)=>{let r=Pn(t,e.type);if(!r)throw new Error("Undefined Decoder Error: ".concat(e.type,"@").concat(n.join(".")));return await r(e.value,t,n)},Nn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=Object.keys(kn).filter((e=>!Object.keys(t).find((t=>new RegExp(t).test(e))))).reduce(((e,t)=>(e[t]=kn[t],e)),t),i={...r,...t};return Dn(e,i,n)},Fn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.encodedData)return Nn(e.encodedData,t);if(e.transactionStatus)return{...e.transactionStatus,events:await Promise.all(e.transactionStatus.events.map((async function(e){return{type:e.type,transactionId:e.transactionId,transactionIndex:e.transactionIndex,eventIndex:e.eventIndex,data:await Nn(e.payload,t)}})))};if(e.transaction)return e.transaction;if(e.events)return await Promise.all(e.events.map((async function(e){return{blockId:e.blockId,blockHeight:e.blockHeight,blockTimestamp:e.blockTimestamp,type:e.type,transactionId:e.transactionId,transactionIndex:e.transactionIndex,eventIndex:e.eventIndex,data:await Nn(e.payload,t)}})));if(e.account)return e.account;if(e.block)return e.block;if(e.blockHeader)return e.blockHeader;if(e.latestBlock)return v.Rm.deprecate({pkg:"@onflow/decode",subject:"Operating upon data of the latestBlock field of the response object",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/decode/WARNINGS.md#0001-Deprecating-latestBlock-field"}),e.latestBlock;if(e.transactionId)return e.transactionId;if(e.collection)return e.collection;if(e.networkParameters){const t=/^flow-/,n=e.networkParameters.chainId;let r;return r="flow-emulator"===n?"local":t.test(n)?n.replace(t,""):n,{chainId:r}}return e.streamConnection?_n(e.streamConnection,Fn,t):e.heartbeat?e.heartbeat:e.nodeVersionInfo?e.nodeVersionInfo:null},In=e=>"function"===typeof e,Rn=e=>"string"===typeof e,Mn=()=>/\b(0x\w+)\b/g;function On(e){return Mn().test(e)}const jn=()=>/import\s+"(\w+)"/g;function Ln(e){return jn().test(e)}const Bn=e=>"function"===typeof e;function Un(e){return C(null!=typeof e.xform,"No type specified for argument: ".concat(e.value)),Bn(e.xform)?e.xform(e.value):Bn(e.xform.asArgument)?e.xform.asArgument(e.value):void C(!1,"Invalid Argument",e)}async function Vn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(C(t>0,"Argument Resolve Recursion Limit Exceeded for Arg: ".concat(e.tempId)),Bn(e.resolveArgument)){return Vn(await e.resolveArgument(),t-1)}return e}const Hn=e=>Yn(er(nr(e))),zn=e=>Yn(er(rr(e))),Zn=(e,t)=>Se.Buffer.from(e.padStart(2*t,"0"),"hex"),Wn=(qn=Se.Buffer.from("FLOW-V0.0-transaction").toString("hex"),Gn=32,Se.Buffer.from(qn.padEnd(2*Gn,"0"),"hex")).toString("hex");var qn,Gn;const Yn=e=>Wn+e,Kn=e=>Zn(e,8),Qn=e=>Zn(e,32),Xn=e=>Se.Buffer.from(JSON.stringify(e),"utf8"),Jn=e=>Se.Buffer.from(e,"utf8"),$n=e=>Se.Buffer.from(e,"hex"),er=e=>ke(e).toString("hex"),tr=e=>{const t=new dt.KN(256);return t.update(Se.Buffer.from(e,"hex")),t.digest().toString("hex")},nr=e=>(sr(e),[Jn(e.cadence||""),e.arguments.map(Xn),Qn(e.refBlock||""),e.computeLimit,Kn(Me(e.proposalKey.address||"")),e.proposalKey.keyId,e.proposalKey.sequenceNum,Kn(Me(e.payer)),e.authorizers.map((e=>Kn(Me(e))))]),rr=e=>(lr(e),[nr(e),ir(e)]),ir=e=>{var t;const n=or(e);return null===(t=e.payloadSigs)||void 0===t?void 0:t.map((e=>({signerIndex:n.get(e.address)||"",keyId:e.keyId,sig:e.sig}))).sort(((e,t)=>e.signerIndex>t.signerIndex?1:e.signerIndex<t.signerIndex?-1:e.keyId>t.keyId?1:e.keyId<t.keyId?-1:0)).map((e=>[e.signerIndex,e.keyId,$n(e.sig)]))},or=e=>{const t=new Map;let n=0;const r=e=>{t.has(e)||(t.set(e,n),n++)};return e.proposalKey.address&&r(e.proposalKey.address),r(e.payer),e.authorizers.forEach(r),t},ar=e=>{cr(e);const t=or(e),n=e=>e.map((e=>{let{address:n,keyId:r,sig:i}=e;return{signerIndex:t.get(n)||"",keyId:r,sig:i}})).sort(((e,t)=>e.signerIndex>t.signerIndex?1:e.signerIndex<t.signerIndex?-1:e.keyId>t.keyId?1:e.keyId<t.keyId?-1:0)).map((e=>[e.signerIndex,e.keyId,$n(e.sig)]));return[[Jn(e.cadence),e.arguments.map(Xn),Qn(e.refBlock),e.computeLimit,Kn(Me(e.proposalKey.address)),e.proposalKey.keyId,e.proposalKey.sequenceNum,Kn(Me(e.payer)),e.authorizers.map((e=>Kn(Me(e))))],n(e.payloadSigs),n(e.envelopeSigs)]},sr=e=>{fr.forEach((t=>br(e,t))),mr.forEach((t=>br(e.proposalKey,t,"proposalKey")))},lr=e=>{var t;gr.forEach((t=>br(e,t))),null===(t=e.payloadSigs)||void 0===t||t.forEach(((e,t)=>{vr.forEach((n=>br(e,n,"payloadSigs",t)))}))},cr=e=>{fr.forEach((t=>br(e,t))),mr.forEach((t=>br(e.proposalKey,t,"proposalKey"))),gr.forEach((t=>br(e,t))),e.payloadSigs.forEach(((e,t)=>{vr.forEach((n=>br(e,n,"payloadSigs",t)))})),Cr.forEach((t=>br(e,t))),e.envelopeSigs.forEach(((e,t)=>{yr.forEach((n=>br(e,n,"envelopeSigs",t)))}))},ur=e=>"number"===typeof e,dr=e=>"string"===typeof e,hr=e=>null!==e&&"object"===typeof e,pr=e=>hr(e)&&e instanceof Array,fr=[{name:"cadence",check:dr},{name:"arguments",check:pr},{name:"refBlock",check:dr,defaultVal:"0"},{name:"computeLimit",check:ur},{name:"proposalKey",check:hr},{name:"payer",check:dr},{name:"authorizers",check:pr}],mr=[{name:"address",check:dr},{name:"keyId",check:ur},{name:"sequenceNum",check:ur}],gr=[{name:"payloadSigs",check:pr}],vr=[{name:"address",check:dr},{name:"keyId",check:ur},{name:"sig",check:dr}],Cr=[{name:"envelopeSigs",check:pr}],yr=[{name:"address",check:dr},{name:"keyId",check:ur},{name:"sig",check:dr}],br=(e,t,n,r)=>{const{name:i,check:o,defaultVal:a}=t;if(null==e[i]&&null!=a&&(e[i]=a),null==e[i])throw xr(i,n,r);if(!o(e[i]))throw Ar(i,n,r)},wr=(e,t,n)=>t?null==n?"".concat(t,".").concat(e):"".concat(t,".").concat(n,".").concat(e):e,xr=(e,t,n)=>new Error("Missing field ".concat(wr(e,t,n))),Ar=(e,t,n)=>new Error("Invalid field ".concat(wr(e,t,n)));function Er(e){let t=new Set(e.authorizations);return e.proposer&&t.add(e.proposer),Array.isArray(e.payer)?e.payer.forEach((e=>t.delete(e))):t.delete(e.payer),Array.from(t)}function _r(e){let t=new Set(Array.isArray(e.payer)?e.payer:[e.payer]);return Array.from(t)}const Tr=e=>{const t=e.proposer?{address:Oe(e.accounts[e.proposer].addr),keyId:e.accounts[e.proposer].keyId,sequenceNum:e.accounts[e.proposer].sequenceNum}:{};return{cadence:e.message.cadence,refBlock:e.message.refBlock||null,computeLimit:e.message.computeLimit,arguments:e.message.arguments.map((t=>e.arguments[t].asArgument)),proposalKey:t,payer:Oe(e.accounts[Array.isArray(e.payer)?e.payer[0]:e.payer].addr),authorizers:(()=>{const t=e.authorizations.map((t=>Oe(e.accounts[t].addr))).reduce(((e,t)=>e.find((e=>e===t))?e:[...e,t]),[]);return null!==t&&void 0!==t&&t[0]?t:[]})(),payloadSigs:Er(e).map((t=>({address:Oe(e.accounts[t].addr),keyId:e.accounts[t].keyId,sig:e.accounts[t].signature}))),envelopeSigs:_r(e).map((t=>({address:Oe(e.accounts[t].addr),keyId:e.accounts[t].keyId,sig:e.accounts[t].signature})))}},Sr=e=>(e=>tr(er(ar(e))))(e),kr=5,Pr=e=>"".concat(Oe(e.addr),"-").concat(e.keyId),Dr=e=>e&&("[object Function]"===Object.prototype.toString.call(e)||"function"===typeof e||e instanceof Function),Nr=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.join("-")};var Fr=function(e){return e.PAYER="payer",e.PROPOSER="proposer",e.AUTHORIZATIONS="authorizations",e}(Fr||{});function Ir(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return t<=0?e:Array.isArray(e)?Ir(e.flatMap((e=>e)),t-1):e}function Rr(e,t){"string"!==typeof t.addr||"number"!==typeof t.keyId&&"string"!==typeof t.keyId?t.tempId=t.tempId||_():t.tempId=Pr(t);const n=e.accounts[t.tempId]||t;return e.accounts[t.tempId]||(e.accounts[t.tempId]=t),e.accounts[t.tempId].role.proposer=n.role.proposer||t.role.proposer,e.accounts[t.tempId].role.payer=n.role.payer||t.role.payer,e.accounts[t.tempId].role.authorizer=n.role.authorizer||t.role.authorizer,e.accounts[t.tempId]}function Mr(e){const t=Ir(e),n=new Set,r=t.map((e=>{const t=Nr(e.tempId,e.role.payer,e.role.proposer,e.role.authorizer,e.role.param);return n.has(t)?null:(n.add(t),e)})).filter((e=>null!==e));return r}async function Or(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:kr,{debugLogger:i}=arguments.length>3?arguments[3]:void 0;if(r<=0)throw new Error("recurseResolveAccount Error: Depth limit (".concat(kr,") reached. Ensure your authorization functions resolve to an account after ").concat(kr," resolves."));let o=e.accounts[t];if(!o)return null;if(i("account: ".concat(o.tempId),Math.max(kr-r,0)),null!==(n=o)&&void 0!==n&&n.resolve){var a;if(Dr(null===(a=o)||void 0===a?void 0:a.resolve)){i("account: ".concat(o.tempId," -- cache MISS"),Math.max(kr-r,0));const{resolve:t,...n}=o;let a=await t(n,function(e,t){try{return{f_type:"PreSignable",f_vsn:"1.0.1",roles:e.role,cadence:t.message.cadence,args:t.message.arguments.map((e=>t.arguments[e].asArgument)),data:{},interaction:t,voucher:Tr(t)}}catch(n){throw console.error("buildPreSignable",n),n}}(n,e));a=Array.isArray(a)?a:[a];let s=Ir(a);s=s.map((t=>Rr(e,t))),o.resolve=s.map((e=>e.tempId)),o=Rr(e,o);const l=await Promise.all(s.map((async t=>await Or(e,t.tempId,r-1,{debugLogger:i}))));return l?Ir(l):o.tempId}return i("account: ".concat(o.tempId," -- cache HIT"),Math.max(kr-r,0)),o.resolve}return o.tempId}const jr=e=>null===e?[]:Array.isArray(e)?e:[e];async function Lr(e,t,n){let{debugLogger:r}=n;C(e&&"object"===typeof e,"resolveAccountType Error: ix not defined"),C(t===Fr.PAYER||t===Fr.PROPOSER||t===Fr.AUTHORIZATIONS,"resolveAccountType Error: type must be 'payer', 'proposer' or 'authorizations'");let i=jr(e[t]),o=[];for(let a of i){let t=e.accounts[a];C(Boolean(t),"resolveAccountType Error: account not found");let n=await Or(e,a,kr,{debugLogger:r});n=Array.isArray(n)?n:[n];let i=Mr(n.map((t=>e.accounts[t])));o=o.concat(i)}if(C(o.length>0||t===Fr.AUTHORIZATIONS,"resolveAccountType Error: no ".concat(t," accounts were found")),t===Fr.PAYER&&(o=o.filter((e=>!0===e.role.payer))),t===Fr.PROPOSER&&(o=o.filter((e=>!0===e.role.proposer))),t===Fr.AUTHORIZATIONS&&(o=o.filter((e=>!0===e.role.authorizer))),e[t]=Array.isArray(e[t])?[...new Set(o.map((e=>e.tempId)))]:o[0].tempId,t===Fr.PAYER){let t;for(const n of e[Fr.PAYER]){let r=e.accounts[n];if(t){if(t!==r.addr)throw new Error("resolveAccountType Error: payers from different accounts detected")}else t=r.addr}}}function Br(e,t){return async function(n){const r=e.accounts[n];if(null!=r.signature&&void 0!==r.signature)return;const{signature:i}=await r.signingFunction(function(e,t,n){try{return{f_type:"Signable",f_vsn:"1.0.1",message:t,addr:Me(e.addr),keyId:e.keyId,roles:e.role,cadence:n.message.cadence,args:n.message.arguments.map((e=>n.arguments[e].asArgument)),data:{},interaction:n,voucher:Tr(n)}}catch(r){throw console.error("buildSignable",r),r}}(r,t,e));e.accounts[n].signature=i}}function Ur(e){const t=Me((Array.isArray(e.payer)?e.accounts[e.payer[0]]:e.accounts[e.payer]).addr||""),n=e.proposer?{address:Me(e.accounts[e.proposer].addr)||"",keyId:e.accounts[e.proposer].keyId||0,sequenceNum:e.accounts[e.proposer].sequenceNum||0}:{};return{cadence:e.message.cadence,refBlock:e.message.refBlock,computeLimit:e.message.computeLimit,arguments:e.message.arguments.map((t=>e.arguments[t].asArgument)),proposalKey:n,payer:t,authorizers:e.authorizations.map((t=>Me(e.accounts[t].addr)||"")).reduce(((e,t)=>e.find((e=>e===t))?e:[...e,t]),[])}}const Vr=e=>e,Hr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vr;return async n=>(await _e.get("debug.".concat(e))&&await t(n,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];console.log("debug[".concat(e,"] ---\n"),...n,"\n\n\n---")}),(e=>["\nAccounts:",{proposer:e.proposer,authorizations:e.authorizations,payer:e.payer},"\n\nDetails:",e.accounts].filter(Boolean))),n)},zr=fn([async function(e){if(!Xt(e)&&!Qt(e))return e;var t=gn(e,"ix.cadence");if(C(In(t)||Rn(t),"Cadence needs to be a function or a string."),In(t)&&(t=await t({})),C(Rn(t),"Cadence needs to be a string at this point."),C(!On(t)||!Ln(t),"Both account identifier and contract identifier syntax not simultaneously supported."),On(t)&&(t=await _e().where(/^0x/).then((e=>Object.entries(e).reduce(((e,t)=>{let[n,r]=t;const i=new RegExp("(\\b"+n+"\\b)","g");return e.replace(i,r)}),t)))),Ln(t))for(const[n,r]of function(e){return e.matchAll(jn())}(t)){const e=await _e().get("system.contracts.".concat(r));e?t=t.replace(n,"import ".concat(r," from ").concat(Oe(e))):v.Rm({title:"Contract Placeholder not found",message:"Cannot find a value for contract placeholder ".concat(r,". Please add to your flow.json or explicitly add it to the config 'contracts.*' namespace."),level:v.A_.warn})}return e.message.cadence=t,e},Hr("cadence",((e,t)=>t(e.message.cadence))),async function(e){return Xt(e)&&(e.message.computeLimit=e.message.computeLimit||await _e.get("fcl.limit"),e.message.computeLimit||(v.Rm.deprecate({pkg:"FCL/SDK",subject:"The built-in default compute limit (DEFAULT_COMPUTE_LIMIT=10)",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0009-deprecate-default-compute-limit"}),e.message.computeLimit=100)),e},Hr("compute limit",((e,t)=>t(e.message.computeLimit))),async function(e){if(Xt(e)||Qt(e))for(let[t,n]of Object.entries(e.arguments)){const r=await Vn(n);e.arguments[t].asArgument=Un(r)}return e},Hr("arguments",((e,t)=>t(e.message.arguments,e.message))),async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Xt(e)){Array.isArray(e.payer)||v.Rm.deprecate({pkg:"FCL",subject:'"ix.payer" must be an array. Support for ix.payer as a singular',message:"See changelog for more info."});let[r,i]=function(){const e=[];return[function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.push(Array(4*n).fill(" ").join("-")+t)},function(){return e.reduce(((e,t)=>e+"\n"+t))}]}();try{await Lr(e,Fr.PROPOSER,{debugLogger:r}),await Lr(e,Fr.AUTHORIZATIONS,{debugLogger:r}),await Lr(e,Fr.PAYER,{debugLogger:r}),await async function(e,t){const n=Array.isArray(e.payer)?e.payer:[e.payer],r=Array.isArray(e.authorizations)?e.authorizations:[e.authorizations],i=null===e.proposer?[]:Array.isArray(e.proposer)?e.proposer:[e.proposer],o=Object.keys(e.accounts),a=[...new Set(n.concat(r,i))];for(const s of o)a.find((e=>e===s))||delete e.accounts[s]}(e),t.enableDebug&&console.debug(i())}catch(n){throw console.error("=== SAD PANDA ===\n\n",n,"\n\n=== SAD PANDA ==="),n}}return e},Hr("accounts",((e,t,n)=>t(...n(e)))),async function(e){if(Xt(e)&&null==e.message.refBlock){const t=await _e().get("accessNode.api"),n=await _e.first(["sdk.transport","sdk.send"],ut);C(n,"Required value for sdk.transport is not defined in config. See: ".concat("https://github.com/onflow/fcl-js/blob/master/packages/sdk/CHANGELOG.md#0057-alpha1----2022-01-21")),e.message.refBlock=(await n(bn([An()]),{config:_e,response:xn,Buffer:Se.Buffer,ix:yn},{node:t}).then(Fn)).id}return e},async function(e){if(Xt(e)){var t=Object.values(e.accounts).find((e=>e.role.proposer));if(C(t,"Transactions require a proposer"),null==t.sequenceNum){const n=await _e().get("accessNode.api"),r=await _e.first(["sdk.transport","sdk.send"],ut);C(r,"Required value for sdk.transport is not defined in config. See: ".concat("https://github.com/onflow/fcl-js/blob/master/packages/sdk/CHANGELOG.md#0057-alpha1----2022-01-21")),e.accounts[t.tempId].sequenceNum=await r(await bn([En(t.addr)]),{config:_e,response:xn,Buffer:Se.Buffer,ix:yn},{node:n}).then(Fn).then((e=>e.keys)).then((e=>e.find((e=>e.index===t.keyId)))).then((e=>e.sequenceNumber))}}return e},async function(e){if(Xt(e))try{let t=Er(e);const n=Hn(Ur(e));await Promise.all(t.map(Br(e,n)));let r=_r(e);const i=zn({...Ur(e),payloadSigs:t.map((t=>({address:e.accounts[t].addr||"",keyId:e.accounts[t].keyId||0,sig:e.accounts[t].signature||""})))});await Promise.all(r.map(Br(e,i)))}catch(t){throw console.error("Signatures",t,{ix:e}),t}return e},Hr("signatures",((e,t,n)=>t(...n(e)))),async function(e){for(let t of Object.keys(e.accounts))e.accounts[t].addr=Me(e.accounts[t].addr);return e},async function(e){return fn(e,gn(e,"ix.validators",[]).map((e=>t=>e(t,{Ok:St,Bad:kt}))))},async function(e){const t=gn(e,"ix.voucher-intercept");return _t(t)&&await t(Tr(e)),e},Hr("resolved",((e,t)=>t(e)))]);function Zr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){const[e,n]=t;return Zr(((t,r)=>{let{Ok:i,Bad:o}=r;return e?i(t):o(t,n)}))}const[r]=t;return e=>r(e,{Ok:St,Bad:kt})}const Wr=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=await _e.first(["sdk.transport","sdk.send"],t.send||ut);Zr(n,"Required value for sdk.transport is not defined in config. See: ".concat("https://github.com/onflow/fcl-js/blob/master/packages/sdk/CHANGELOG.md#0057-alpha1----2022-01-21"));const r=await _e.first(["sdk.resolve"],t.resolve||zr);return t.node=t.node||await _e().get("accessNode.api"),Array.isArray(e)&&(e=fn(yt(),e)),n(await r(e),{config:_e,response:xn,ix:yn,Buffer:Se.Buffer},t)};async function qr(e){const t=await _e().where(/^decoder\./),n=Object.entries(t).map((e=>{let[t,n]=e;return t="/".concat(t.replace(/^decoder\./,""),"$/"),[t,n]}));return Fn(e,Object.fromEntries(n))}class Gr extends Error{constructor(e){super("\n        Encode Message From Signable Error: Unable to determine message encoding for signer addresss: ".concat(e,". \n        Please ensure the address: ").concat(e," is intended to sign the given transaction as specified by the transaction signable.\n      ").trim()),this.name="Unable To Determine Message Encoding For Signer Addresss"}}function Yr(e){return Cn("ix.validators",(t=>Array.isArray(t)?t.push(e):[e]))}function Kr(e){return fn([t=>(t.block.height=e,t),Yr((e=>{if("boolean"===typeof e.block.isSealed)throw new Error("Unable to specify both block height and isSealed.");if(e.block.id)throw new Error("Unable to specify both block height and block id.");return e}))])}function Qr(e){return fn([t=>(t.block.id=e,St(t)),Yr(((e,t)=>{let{Ok:n,Bad:r}=t;return en(e)?r(e,"Unable to specify a block id with a Get Account interaction."):"boolean"===typeof e.block.isSealed?r(e,"Unable to specify both block id and isSealed."):e.block.height?r(e,"Unable to specify both block id and block height."):n(e)}))])}function Xr(e){let{height:t,id:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return C(!(n&&t),'Method: account -- Cannot pass "id" and "height" simultaneously'),n?Wr([En(e),Qr(n)],r).then(Fn):t?Wr([En(e),Kr(t)],r).then(Fn):Wr([En(e)],r).then(Fn)}function Jr(){let{sealed:e=!1,id:t,height:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(!(e&&t||e&&n),'Method: block -- Cannot pass "sealed" with "id" or "height"'),C(!(t&&n),'Method: block -- Cannot pass "id" and "height" simultaneously'),t?Wr([An(),Qr(t)],r).then(Fn):n?Wr([An(),Kr(n)],r).then(Fn):Wr([An(e)],r).then(Fn)}function $r(){return fn([Gt,e=>St(e)])}async function ei(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Wr([$r()],e).then(Fn)}function ti(){return fn((arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>Ft(e,{role:k.AUTHORIZER}))))}function ni(e,t,n,r){return{addr:e,signingFunction:t,keyId:n,sequenceNum:r}}function ri(e,t,n){return"undefined"===typeof t&&"undefined"===typeof n||v.Rm.deprecate({pkg:"FCL/SDK",subject:"Passing a start and end into getEvents",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0005-deprecate-start-end-get-events-builder"}),fn([Ut,r=>(r.events.eventType=e,r.events.start=t,r.events.end=n,St(r))])}function ii(e,t,n){return fn([Ut,r=>(r.events.eventType=e,r.events.start=t,r.events.end=n,St(r))])}function oi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return fn([Ut,n=>(n.events.eventType=e,n.events.blockIds=t,St(n))])}function ai(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return fn([zt,t=>(t.block.isSealed=e,St(t))])}function si(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return fn([Zt,t=>(t.collection.id=e,t)])}function li(e){return fn([jt,t=>(t.transaction.id=e,St(t))])}function ci(e){return fn([Lt,t=>(t.transaction.id=e,St(t))])}function ui(){return fn([Wt,e=>St(e)])}function di(e){return t=>(t.message.computeLimit=e,t)}function hi(e){return fn(e.map(It))}function pi(e,t){return{value:e,xform:t}}function fi(e){return Ft(e,{role:k.PROPOSER})}function mi(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)||(e=[e]),fn(e.map((e=>Ft(e,{role:k.PAYER}))))}function gi(){return Vt}function vi(e){return fn([t=>(t.message.refBlock=e,St(t))])}function Ci(){return fn([Mt,vn("ix.cadence",ft(...arguments))])}const yi=[],bi=null;function wi(){return fn([Ot,vn("ix.cadence",ft(...arguments)),e=>(e.message.refBlock=e.message.refBlock||bi,e.authorizations=e.authorizations||yi,St(e))])}function xi(e){return vn("ix.voucher-intercept",e)}function Ai(e){let{startBlockId:t,startHeight:n,eventTypes:r,addresses:i,contracts:o,heartbeatInterval:a}=e;return C(!(t&&n),"SDK Subscribe Events Error: Cannot set both startBlockId and startHeight."),fn([qt,e=>(e.subscribeEvents.startBlockId=null!==t&&void 0!==t?t:null,e.subscribeEvents.startHeight=null!==n&&void 0!==n?n:null,e.subscribeEvents.eventTypes=null!==r&&void 0!==r?r:null,e.subscribeEvents.addresses=null!==i&&void 0!==i?i:null,e.subscribeEvents.contracts=null!==o&&void 0!==o?o:null,e.subscribeEvents.heartbeatInterval=null!==a&&void 0!==a?a:null,St(e))])}const Ei=e=>e;function _i(e){return["SIGNATURE",e.addr,e.keyId].join(".")}function Ti(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){const n={...t,...e,resolve:null,signingFunction:e.signingFunction||t.signingFunction||function(e){return{addr:n.addr,keyId:n.keyId,signature:_i(n)}}};return n}}const Si={proposer:!1,authorizer:!1,payer:!1};function ki(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{authorizations:[]};return function(t){return{...t,tempId:e.tempId||"AUTHZ_RESOLVE_MANY",resolve:()=>[e.proposer&&Ti(e.proposer)({role:{...Si,proposer:!0}}),...e.authorizations.map(Ti).map((e=>e({role:{...Si,authorizer:!0}}))),e.payer&&Ti(e.payer)({role:{...Si,payer:!0}})].filter(Boolean)}}}var Pi=Object.freeze({__proto__:null,mockSend:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei;return async function(t){switch(t=await t,!0){case en(t):return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return C(e.account,"mockAccountResponse(ix) -- ix.account is missing",e),C(e.account.addr,"mockAccountResponse(ix) -- ix.account.addr is missing",e),{account:{addr:e.account.addr,keys:Array.from({length:t},((e,t)=>({index:t,sequenceNumber:42})))}}}(t);case rn(t):return{tag:"GET_BLOCK",block:{id:"32"}};default:return e(t)}}},authzFn:Ti,authzResolve:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){const{tempId:n,...r}=e;return{...t,tempId:n||"WITH_RESOLVE",resolve:Ti(r)}}},authzResolveMany:ki,authzDeepResolveMany:function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{authorizations:[]},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r){const i=t.tempId||"AUTHZ_DEEP_RESOLVE_MANY";return{...r,tempId:i,resolve:n>0?e(t,n-1)(r).resolve:ki(t)(r).resolve}}},sig:_i,idof:e=>"".concat(Oe(e.addr),"-").concat(e.keyId),run:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return bn([vi("123"),...e]).then(zr)}});const Di=e=>v.Rm.deprecate({pkg:"FCL/SDK",message:"The params builder has been removed from the Flow JS-SDK/FCL.",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0001-deprecate-params",level:v.A_.error}),Ni=e=>v.Rm.deprecate({pkg:"FCL/SDK",message:"The param builder has been removed from the Flow JS-SDK/FCL.",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0001-deprecate-params",level:v.A_.error});var Fi=n(65094),Ii=n(92367),Ri=/^[0-9]+$/,Mi=function(e,t){var n=Ri.test(e),r=Ri.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},Oi=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/,ji=function(e,t){if("string"!==typeof e||"string"!==typeof t)throw new Error("Invalid input");var n=e.match(Oi),r=t.match(Oi);if(!n||!r)throw new Error("Invalid input");for(var i=1;i<=3;i++){if(parseInt(n[i])>parseInt(r[i]))return 1;if(parseInt(n[i])<parseInt(r[i]))return-1}if(n[4]&&r[4])for(var o=(n[4]||"").split("."),a=(r[4]||"").split("."),s=0;s<Math.max(o.length,a.length);s++){if(void 0===o[s])return-1;if(void 0===a[s])return 1;var l=Mi(o[s],a[s]);if(0!==l)return l}return 0};const Li="1.10.0",Bi=e=>t=>typeof t===e,Ui=e=>null!=e,Vi=Bi("object"),Hi=Bi("string"),zi=Bi("function"),Zi=Bi("number");function Wi(e){return zi(e)?e(pi,Fi):[]}async function qi(e){let t,{url:n}=e;C("undefined"!==typeof n,"retrieve({ url }) -- url must be defined");try{t=await Re()(n)}catch(r){throw new Error("httpDocumentResolver Error: Failed to retrieve document.")}return t.ok?await t.json():null}const Gi=new Map([["http",qi],["https",qi]]);async function Yi(e){var t,n,r,i;let{network:o,template:a}=e;C("1.1.0"===a.f_version,"deriveCadenceByNetwork110({ template }) -- template must be version 1.0.0");const s={};return null===a||void 0===a||null===(t=a.data)||void 0===t||t.dependencies.forEach((e=>{e.contracts.forEach((e=>{const t=e.contract;e.networks.forEach((e=>{e.network===o&&(s[t]=e.address)})),C(void 0!==s[t],"deriveCadenceByNetwork110 -- Could not find contracts Network Address: ".concat(o," ").concat(t))}))})),C(Object.keys(s).length===(null===a||void 0===a||null===(n=a.data)||void 0===n?void 0:n.dependencies.length),"deriveCadenceByNetwork110 -- Could not find contracts for import dependencies: ".concat(s)),C(Object.keys(s).length===Object.values(s).length,"deriveCadenceByNetwork110 -- Could not find all addresses for network ".concat(o," dependencies:  ").concat(s)),C(null===a||void 0===a||null===(r=a.data)||void 0===r||null===(r=r.cadence)||void 0===r?void 0:r.body,"no cadence found -- Could not replace import dependencies: ".concat(s)),function(e){let{cadence:t,networkDependencies:n}=e;return Object.keys(n).reduce(((e,t)=>{const r=n[t],i=new RegExp('import "\\b'.concat(t,'\\b"'),"g");return e.replace(i,"import ".concat(t," from ").concat(r))}),t)}({cadence:null===a||void 0===a||null===(i=a.data)||void 0===i||null===(i=i.cadence)||void 0===i?void 0:i.body,networkDependencies:s})}async function Ki(e){let{network:t,template:n}=e;switch(C(void 0!=t,"deriveCadenceByNetwork({ network }) -- network must be defined"),C("string"===typeof t,"deriveCadenceByNetwork({ network }) -- network must be a string"),C(void 0!=n,"deriveCadenceByNetwork({ template }) -- template must be defined"),C("object"===typeof n,"deriveCadenceByNetwork({ template }) -- template must be an object"),C("InteractionTemplate"===n.f_type,"deriveCadenceByNetwork({ template }) -- template must be an InteractionTemplate"),n.f_version){case"1.1.0":return await Yi({network:t,template:n});case"1.0.0":return await async function(e){var t;let{network:n,template:r}=e;return C("1.0.0"===r.f_version,"deriveCadenceByNetwork100({ template }) -- template must be version 1.0.0"),Object.keys(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.dependencies).map((e=>{var t;const i=Object.values(null===r||void 0===r||null===(t=r.data)||void 0===t||null===(t=t.dependencies)||void 0===t?void 0:t[e]);C(void 0!==i,"deriveCadenceByNetwork100 -- Could not find contracts for dependency placeholder: ".concat(e)),C(i.length>0,"deriveCadenceByNetwork100 -- Could not find contracts for dependency placeholder: ".concat(e));const o=i[0],a=null===o||void 0===o?void 0:o[n];return C(a,"deriveCadenceByNetwork100 -- Could not find ".concat(n," network information for dependency: ").concat(e)),[e,null===a||void 0===a?void 0:a.address]})).reduce(((e,t)=>{let[n,r]=t;const i=new RegExp("(\\b"+n+"\\b)","g");return e.replace(i,r)}),r.data.cadence)}({network:t,template:n});default:throw new Error("deriveCadenceByNetwork Error: Unsupported template version")}}let Qi={},Xi=!1;async function Ji(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=await _e.get("flow.network"),n=await _e.get("env");n&&!Xi&&(v.Rm.deprecate({pkg:"FCL",subject:'Using the "env" configuration key for specifying the flow network',message:"Configuring to specify flow network is no longer required",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/fcl/TRANSITIONS.md#0001-deprecate-env-config-key"}),Xi=!0);const r=e.node||await _e.get("accessNode.api");if(!r){if(t)return t;if(n)return n;throw new Error('Either the "accessNode.api" config key or opts.node must be set')}if(Qi[r])try{return await Qi[r]}catch{}Qi[r]||(Qi[r]=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(await Wr([ui()],e).then(qr)).chainId}(e).catch((e=>{throw Qi[r]=null,e})));try{return await Qi[r]}catch(i){if(t)return t;if(n)return n;throw new Error("Error getting chainId from access node - are you using the correct access node endpoint.  If running locally, is your emulator up-to-date? ".concat(i.message))}}function $i(){return"undefined"!==typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"undefined"!==typeof navigator&&/iPad/.test(navigator.userAgent)}function eo(){return"undefined"!==typeof navigator&&/android/i.test(navigator.userAgent)||$i()}async function to(e){Hi(null===e||void 0===e?void 0:e.template)&&(e.template=await async function(e){let{url:t}=e;C("undefined"!==typeof t,"retrieve({ url }) -- url must be defined"),C("string"===typeof t,"retrieve({ url }) -- url must be a string");const n=await _e().where(/^document\.resolver\./);Object.keys(n).map((e=>{const t=n[e],r=e.replace(/^document\.resolver\./,"");Gi.set(r,t)}));const r=/^(.*):\/\/([A-Za-z0-9\-\.]+)(:[0-9]+)?(.*)$/.exec(t);C(r,"Failed to parse URL");const i=r[1];C(r,"Failed to parse URL protocol");const o=Gi.get(i);return C(o,"No resolver found for protcol=".concat(i)),await o({url:t})}({url:null===e||void 0===e?void 0:e.template}));let t={};null!==e&&void 0!==e&&e.template&&(t=await async function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=n.template,i=await Ji(n),o={};switch(r.f_version){case"1.0.0":const n=Object.keys(null===r||void 0===r||null===(e=r.data)||void 0===e?void 0:e.dependencies);for(let e of n){var a;let t=null===r||void 0===r||null===(a=r.data)||void 0===a?void 0:a.dependencies[e];const n=Object.keys(t);C(n.length>0,"FCL configureDependencies Error: No contracts found in template for placeholder=".concat(e));const s=t[n[0]][i];C(s,"FCL configureDependencies Error: No dependency information for placeholder=".concat(e," contract=").concat(n[0]," network=").concat(i)),C(null===s||void 0===s?void 0:s.address,"FCL configureDependencies Error: No address information for placeholder=".concat(e," contract=").concat(n[0]," network=").concat(i)),o[e]=Oe(null===s||void 0===s?void 0:s.address)}return o;case"1.1.0":return null===r||void 0===r||null===(t=r.data)||void 0===t||null===(t=t.dependencies)||void 0===t||t.forEach((e=>{e.contracts.forEach((e=>{const t=e.contract;e.networks.forEach((e=>{e.network===i&&(o[t]=Oe(null===e||void 0===e?void 0:e.address))})),C(o[t],"networkAddress -- Could not find contracts Network Address: ".concat(i," ").concat(t))}))})),o;default:throw new Error("FCL configureDependencies Error: Unsupported template version")}}({template:e.template}));const n=e.cadence||await Ki({template:e.template,network:await Ji(e)});return e.cadence=n,e.dependencies=t,e}async function no(e,t){C(Ui(t),"".concat(e,"(opts) -- opts is required")),C(Vi(t),"".concat(e,"(opts) -- opts must be an object")),C(!(t.cadence&&t.template),"".concat(e,"({ template, cadence }) -- cannot pass both cadence and template")),C(Ui(t.cadence||(null===t||void 0===t?void 0:t.template)),"".concat(e,"({ cadence }) -- cadence is required")),C(Hi(t.cadence)||(null===t||void 0===t?void 0:t.template),"".concat(e,"({ cadence }) -- cadence must be a string")),C(await _e().get("accessNode.api"),"".concat(e,'(opts) -- Required value for "accessNode.api" not defined in config. See: ',"https://github.com/onflow/flow-js-sdk/blob/master/packages/fcl/src/exec/query.md#configuration"))}async function ro(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return await async function(e){return no("query",e)}(e),e=await to(e),_e().overload(e.dependencies||{},(async()=>Wr([Ci(e.cadence),hi(Wi(e.args||[])),e.limit&&"number"===typeof e.limit&&di(e.limit)]).then(qr)))}const io={"HTTP/RPC":"HTTP/RPC","HTTP/POST":"HTTP/POST","IFRAME/RPC":"IFRAME/RPC","POP/RPC":"POP/RPC","TAB/RPC":"TAB/RPC","EXT/RPC":"EXT/RPC","DEEPLINK/RPC":"DEEPLINK/RPC"},oo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n=n=>{const{data:r}=n;"object"===typeof r&&null!=typeof r&&r.type===e&&t((e=>{var t;return e.deprecated&&console.warn("DEPRECATION NOTICE",e.deprecated.message),null===e||void 0===e||null===(t=e.body)||void 0===t||delete t.interaction,e})(r))};return window.addEventListener("message",n),()=>window.removeEventListener("message",n)};let ao=!1;const so=globalThis.URL;class lo extends so{constructor(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];super(e,t,...r),ao&&this._url&&!e.endsWith("/")&&this._url.endsWith("/")&&(this._url=this._url.slice(0,-1))}}const co=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...t,type:e},r=new URLSearchParams(window.location.search).get("fcl_redirect_url");if(r){const e=new lo(r);e.searchParams.append("fclResponseJson",JSON.stringify(n)),window.location.href=e.href}else if(window.location!==window.parent.location)window.parent.postMessage({...t,type:e},"*");else{if(!window.opener)throw new Error("Unable to communicate with parent FCL instance");window.opener.postMessage({...t,type:e},"*")}},uo={f_type:"Service",f_vsn:"1.0.0"},ho={f_type:"Identity",f_vsn:"1.0.0"},po={f_type:"USER",f_vsn:"1.0.0"},fo={f_type:"PollingResponse",f_vsn:"1.0.0"},mo={f_type:"CompositeSignature",f_vsn:"1.0.0"};const go=e=>((e,t)=>Se.Buffer.from(e.padStart(2*t,"0"),"hex"))(e,8),vo=e=>Se.Buffer.from(e,"hex"),Co=function(e){let{address:t,nonce:n,appIdentifier:r}=e,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];C(t,"Encode Message For Provable Authn Error: address must be defined"),C(n,"Encode Message For Provable Authn Error: nonce must be defined"),C(r,"Encode Message For Provable Authn Error: appIdentifier must be defined"),C(n.length>=64,"Encode Message For Provable Authn Error: nonce must be minimum of 32 bytes");const o=((e,t)=>Se.Buffer.from(e.padEnd(2*t,"0"),"hex"))(Se.Buffer.from("FCL-ACCOUNT-PROOF-V0.0").toString("hex"),32);return i?Se.Buffer.concat([o,ke([r,go(Me(t)),vo(n)])]).toString("hex"):ke([r,go(Me(t)),vo(n)]).toString("hex")};var yo=Object.freeze({__proto__:null,sendMsgToFCL:co,ready:function(e){oo("FCL:VIEW:READY:RESPONSE",e),co("FCL:VIEW:READY")},close:()=>{co("FCL:VIEW:CLOSE")},approve:e=>{co("FCL:VIEW:RESPONSE",{f_type:"PollingResponse",f_vsn:"1.0.0",status:"APPROVED",reason:null,data:e})},decline:e=>{co("FCL:VIEW:RESPONSE",{f_type:"PollingResponse",f_vsn:"1.0.0",status:"DECLINED",reason:e,data:null})},redirect:e=>{co("FCL:VIEW:RESPONSE",{f_type:"PollingResponse",f_vsn:"1.0.0",status:"REDIRECT",reason:null,data:e})},onMessageFromFCL:oo,encodeMessageFromSignable:(e,t)=>{let n=(e=>{let t=new Set(e.authorizers);return t.add(e.proposalKey.address),t.delete(e.payer),Array.from(t).map(Oe)})(e.voucher),r=(e=>{let t=new Set([e.payer]);return Array.from(t).map(Oe)})(e.voucher);const i=n.includes(Oe(t)),o=r.includes(Oe(t));if(!i&&!o)throw new Gr(t);const a={cadence:e.voucher.cadence,refBlock:e.voucher.refBlock,computeLimit:e.voucher.computeLimit,arguments:e.voucher.arguments,proposalKey:{...e.voucher.proposalKey,address:Me(e.voucher.proposalKey.address)},payer:Me(e.voucher.payer),authorizers:e.voucher.authorizers.map(Me),payloadSigs:e.voucher.payloadSigs.map((e=>({...e,address:Me(e.address)})))};return i?Hn(a):zn(a)},CompositeSignature:function(e,t,n){this.f_type=mo.f_type,this.f_vsn=mo.f_vsn,this.addr=Oe(e),this.keyId=Number(t),this.signature=n},encodeAccountProof:Co,injectExtService:function(e){"authn"===e.type&&null!=e.endpoint?(Array.isArray(window.fcl_extensions)||(window.fcl_extensions=[]),window.fcl_extensions.push(e)):console.warn("Authn service is required")}});const bo=e=>{if(e.appIdentifier){const{appIdentifier:t,address:n,nonce:r,signatures:i}=e;return C(Hi(t),"verifyAccountProof({ appIdentifier }) -- appIdentifier must be a string"),C(Hi(n)&&16===Me(n).length,"verifyAccountProof({ address }) -- address must be a valid address"),C(/^[0-9a-f]+$/i.test(r),"nonce must be a hex string"),C(Array.isArray(i)&&i.every(((e,t,n)=>"CompositeSignature"===e.f_type)),"Must include an Array of CompositeSignatures to verify"),C(i.map((e=>e.addr)).every(((e,t,n)=>e===n[0])),"User signatures to be verified must be from a single account address"),!0}{const{message:t,address:n,compSigs:r}=e;return C(/^[0-9a-f]+$/i.test(t),"Signed message must be a hex string"),C(Hi(n)&&16===Me(n).length,"verifyUserSignatures({ address }) -- address must be a valid address"),C(Array.isArray(r)&&r.every(((e,t,n)=>"CompositeSignature"===e.f_type)),"Must include an Array of CompositeSignatures to verify"),C(r.map((e=>e.addr)).every(((e,t,n)=>e===n[0])),"User signatures to be verified must be from a single account address"),!0}},wo=async(e,t)=>{const n="ACCOUNT_PROOF"===e?"verifyAccountProofSignatures":"verifyUserSignatures";let r=await Ji(t);const i=t.fclCryptoContract||{testnet:"0x74daa6f9c7ef24b1",mainnet:"0xb4b82a1c9d21d284",previewnet:"0x40b5b8b2ce81ea4a"}[r];return C(i,"".concat(n,"({ fclCryptoContract }) -- FCLCrypto contract address is unknown for network: ").concat(r,". Please manually specify the FCLCrypto contract address.")),"\n      import FCLCrypto from ".concat(i,"\n\n      access(all) fun main(\n          address: Address, \n          message: String, \n          keyIndices: [Int], \n          signatures: [String]\n      ): Bool {\n        return FCLCrypto.").concat(n,"(address: address, message: message, keyIndices: keyIndices, signatures: signatures)\n      }\n    ")};async function xo(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Oe(t[0].addr);bo({message:e,address:r,compSigs:t});let i=[],o=[];for(const a of t)i.push(a.signature),o.push(a.keyId.toString());return ro({cadence:await wo("USER_SIGNATURE",n),args:(t,n)=>[t(r,n.Address),t(e,n.String),t(o,n.Array(n.Int)),t(i,n.Array(n.String))]})}var Ao=Object.freeze({__proto__:null,verifyAccountProof:async function(e,t){let{address:n,nonce:r,signatures:i}=t,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};bo({appIdentifier:e,address:n,nonce:r,signatures:i});const a=Co({address:n,nonce:r,appIdentifier:e},!1);let s=[],l=[];for(const c of i)s.push(c.signature),l.push(c.keyId.toString());return ro({cadence:await wo("ACCOUNT_PROOF",o),args:(e,t)=>[e(Oe(n),t.Address),e(a,t.String),e(l,t.Array(t.Int)),e(s,t.Array(t.String))]})},verifyUserSignatures:xo});const Eo=v.Rm.deprecate({pkg:"FCL",subject:"fcl.verifyUserSignatures()",message:"Please use fcl.AppUtils.verifyUserSignatures()",callback:function(e,t){return xo(e,t)}}),_o=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=await _e.first(["sdk.resolve"],t.resolve||zr);return Array.isArray(e)&&(e=await fn(bt(),e)),JSON.stringify(Tr(await n(e)),null,2)};async function To(e){return Object.fromEntries(Object.entries(await _e().where(e)).map((t=>{let[n,r]=t;return[n.replace(e,""),r]})))}const So=/^[0-9a-fA-F]{64}$/,ko="POLL",Po="TIMEOUT",Do=e=>e.status>=4,No=e=>e.status>=3,Fo=e=>e.status>=2,Io=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{[F]:async t=>{setTimeout((()=>t.sendSelf(Po)),e.txNotFoundTimeout),t.sendSelf(ko)},[I]:(e,t)=>{e.subscribe(t.from),e.send(t.from,M,e.all())},[R]:(e,t)=>{e.unsubscribe(t.from)},[O]:async(e,t)=>{t.reply(e.all())},[Po]:async t=>{0===Object.keys(t.all()).length&&t.fatalError(new Error("TX status polling failed: no transaction was found within timeout interval (".concat(e.txNotFoundTimeout,"ms)")))},[ko]:async t=>{const n=()=>setTimeout((()=>t.sendSelf(ko)),e.pollRate);let r;const i=t.all();try{r=await(async e=>Wr([li(e)]).then(qr))(t.self())}catch(s){const e=s instanceof Ze&&404===s.statusCode,r=s.code===Ii.grpc.Code.NotFound;return e||r?n():t.fatalError(s)}var o,a;Do(r)||n(),o=i,a=r,JSON.stringify(o)!==JSON.stringify(a)&&t.broadcast(M,r),t.merge(r)}}},Ro=e=>{if("object"===typeof e&&(e=e.transactionId),null==e)throw new Error("transactionId required");return e},Mo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>Z(Io(e),Ro(t))};function Oo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{txNotFoundTimeout:12500,pollRate:2500};if(!So.test(Ro(e)))throw new Error("Invalid transactionId");function n(n){return q(Ro(e),Mo(t),n)}function r(e){return function(){const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).suppress||!1;return new Promise(((r,i)=>{const o=n(((n,a)=>{!a&&!n.statusCode||t?e(n)&&(r(n),o()):(i(a||n.errorMessage),o())}))}))}}return{snapshot:function(){return G(e,Mo(t))},subscribe:n,onceFinalized:r(Fo),onceExecuted:r(No),onceSealed:r(Do)}}Oo.isUnknown=e=>e.status>=0,Oo.isPending=e=>e.status>=1,Oo.isFinalized=Fo,Oo.isExecuted=No,Oo.isSealed=Do,Oo.isExpired=e=>5===e.status;const jo="TICK",Lo="hwm",Bo=async e=>setTimeout((()=>e.sendSelf(jo)),await _e().get("fcl.eventPollRate",1e4)),Uo={[jo]:async e=>{if(!e.hasSubs())return;let t=e.get(Lo);if(null==t)e.put(Lo,await Jr()),e.put(jo,await Bo(e));else{let n=await Jr();if(e.put(Lo,n),t.height<n.height){const r=await Wr([ii(e.self(),t.height+1,n.height)]).then(qr);for(let t of r)e.broadcast("UPDATED",t.data)}e.put(jo,await Bo(e))}},[I]:async(e,t)=>{e.hasSubs()||e.put(jo,await Bo(e)),e.subscribe(t.from)},[R]:(e,t)=>{e.unsubscribe(t.from),e.hasSubs()||(clearTimeout(e.get(jo)),e.delete(jo),e.delete(Lo))}},Vo=e=>Z(Uo,e);function Ho(e){let t;return t="string"===typeof e?{eventTypes:[e]}:e||{},{subscribe:n=>{const r=Wr([Ai(t)]).then(qr),i=r.then((()=>null)).catch((t=>{if("SDK Send Error: subscribeEvents is not supported by this transport."!==t.message)throw t;if("string"!==typeof e)throw new Error("GRPC fcl.events fallback only supports string (type) filters");return(r=e,{subscribe:e=>q(r,Vo,e)}).subscribe(n);var r}));function o(e){e.forEach((e=>n(e,null)))}function a(e){n(null,e)}return i.then((e=>{e||r.then((e=>e.on("events",o).on("error",a))).catch((e=>{r.then((e=>e.close())),a(e)}))})),()=>{i.then((e=>{e?e():r.then((e=>e.close()))}))}}}}const zo=()=>{throw new Error("Platform specific Core Strategies are not initialized")},Zo={[io["EXT/RPC"]]:zo,[io["HTTP/POST"]]:zo,[io["IFRAME/RPC"]]:zo,[io["POP/RPC"]]:zo,[io["TAB/RPC"]]:zo,[io["EXT/RPC"]]:zo},Wo=["ServicePlugin"],qo=["discovery-service"],Go=e=>{let{coreStrategies:t}=e,n=new Set,r=new Map(Object.entries(t));const i=e=>n=new Set([...e]);return Object.freeze({add:e=>{if(C(qo.includes(e.type),"Service Plugin type ".concat(e.type," is not supported")),"discovery-service"===e.type){const{discoveryServices:t,serviceStrategy:n}=(e=>{const{services:t=[],serviceStrategy:n}=e;C(Array.isArray(t),"Services must be an array");for(const r of t)C(Ui(r.f_type)&&"Service"===r.f_type,"Service is required"),C(Ui(r.type)&&"authn"===r.type,"Service must be type authn. Received ".concat(r.type)),C(r.method in io||n.method===r.method,"Service method ".concat(r.method," is not supported"));return C(Ui(n),"Service strategy is required"),C(Ui(n.method)&&Hi(n.method),"Service strategy method is required"),C(Ui(n.exec)&&zi(n.exec),"Service strategy exec function is required"),{discoveryServices:t,serviceStrategy:n}})(e);i(t),r.has(n.method)?(0,v.Rm)({title:"Add Service Plugin",message:"Service strategy for ".concat(n.method," already exists"),level:v.A_.warn}):r.set(n.method,n.exec)}},getServices:()=>[...n],getStrategy:e=>r.get(e),getStrategies:()=>[...r.keys()]})};let Yo;const Ko=()=>"undefined"!==typeof Yo,Qo=e=>{let{coreStrategies:t}=e;if(Ko())return Yo;const n=Go({coreStrategies:t});return Yo=n,n},Xo=()=>Ko()?Yo:(console.warn("Registry is not initalized, it will be initialized with stub core strategies"),Qo({coreStrategies:Zo})),Jo=(()=>{const e=new Map;return Object.freeze({add:t=>{const n=(e=>{let t;C(!!e,"No plugins supplied"),t=Array.isArray(e)?[...e]:[e];for(const n of t)C(Ui(n.name),"Plugin name is required"),C(Ui(n.f_type),"Plugin f_type is required"),C(Wo.includes(n.f_type),"Plugin type ".concat(n.f_type," is not supported"));return t})(t);for(const r of n)e.set(r.name,r),"ServicePlugin"===r.f_type&&Yo.add(r)},getPlugins:()=>e})})(),$o=async()=>{var e;return[...(null===(e=window)||void 0===e?void 0:e.fcl_extensions)||[],...Xo().getServices()]};const ea="authn",ta="SNAPSHOT",na="UPDATED",ra="UPDATE_RESULTS",ia=async()=>{try{const e=await async function(e){var t;let{types:n}=e;const r=await _e.get("discovery.authn.endpoint");C(Boolean(r),'"discovery.authn.endpoint" in config must be defined.');const i=await _e.get("discovery.authn.include",[]),o=new lo(r);return fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:n,fclVersion:Li,include:i,features:{suggested:await _e.get("discovery.features.suggested",[])},clientServices:await $o(),supportedStrategies:Xo().getStrategies(),userAgent:null===(t=window)||void 0===t||null===(t=t.navigator)||void 0===t?void 0:t.userAgent,network:await Ji()})}).then((e=>e.json()))}({types:[ea]});z(ea,ra,{results:e})}catch(e){(0,v.Rm)({title:"".concat(e.name," Error fetching Discovery API services."),message:e.message,level:v.A_.error})}},oa={[F]:async e=>{var t,n;t="undefined"===typeof window,n='"fcl.discovery" is only available in the browser.',t&&console.warn("\n      %cFCL Warning\n      ============================\n      ".concat(n,"\n      For more info, please see the docs: https://docs.onflow.org/fcl/\n      ============================\n      "),"font-weight:bold;font-family:monospace;"),"complete"===document.readyState?ia():window.onload=async()=>{ia()}},[ra]:(e,t,n)=>{e.merge(n),e.broadcast(na,{...e.all()})},[I]:(e,t)=>{e.subscribe(t.from),e.send(t.from,na,{...e.all()})},[R]:(e,t)=>e.unsubscribe(t.from),[ta]:async(e,t)=>t.reply({...e.all()})},aa=()=>Z(oa,ea),sa={authn:{subscribe:e=>q(ea,aa,e),snapshot:()=>G(ea,aa),update:()=>ia()}};function la(e){const t=new dt.KN(256);return t.update(Se.Buffer.from(e,"utf8")),t.digest("hex")}function ca(e){let{contractName:t,address:n}=e;return{contractName:t,address:n,contract:""}}function ua(e){const t=[],n=e.match(/import ((\w|,| )+)* from 0x\w+/g)||[];for(const r of n){const e=/import ((\w+|, |)*) from (0x\w+)/g.exec(r),n=/((?:\w+)+),?/g,i=e[1].match(n)||[];for(const r of i)t.push(ca({address:e[3],contractName:r.replace(/,/g,"")}))}return t}async function da(e){let{address:t,contractName:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Zr(void 0!=t,"generateDependencyPin({ address }) -- address must be defined"),Zr(void 0!=n,"generateDependencyPin({ contractName }) -- contractName must be defined"),Zr("string"===typeof t,"generateDependencyPin({ address }) -- address must be a string"),Zr("string"===typeof n,"generateDependencyPin({ contractName }) -- contractName must be a string");const i=[ca({contractName:n,address:t})];for(const s of i){var o;const e=await Wr([En(await _e().get(s.address,s.address))],r).then(qr);if(s.contract=null===(o=e.contracts)||void 0===o?void 0:o[s.contractName],!s.contract)throw console.error("Did not find expected contract",s,e),new Error("Did not find expected contract");const t=ua(s.contract);i.push(...t)}const a=i.map((e=>la(e.contract)));return la((await Promise.all(a)).join(""))}async function ha(e,t){const n=[];for(const r of t){const t=[la(r.network)],{address:i,dependency_pin_block_height:o}=r;if(r.dependency_pin){const n=await da({address:i,contractName:e,blockHeight:o});t.push(la(n))}n.push(t)}return n}async function pa(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=[];for(let e=0;e<(null===r||void 0===r?void 0:r.contracts.length);e++){const t=null===r||void 0===r?void 0:r.contracts[e],n=null===t||void 0===t?void 0:t.contract;i.push(la(n));const o=await ha(n,null===t||void 0===t?void 0:t.networks);i.push(o)}t.push(i)}return t}async function fa(e){let{template:t}=e;switch(C(t,"generateTemplateId({ template }) -- template must be defined"),C("object"===typeof t,"generateTemplateId({ template }) -- template must be an object"),C("InteractionTemplate"===t.f_type,"generateTemplateId({ template }) -- template object must be an InteractionTemplate"),t.f_version){case"1.1.0":return await async function(e){var t;let{template:n}=e;C(n,"generateTemplateId({ template }) -- template must be defined"),C("object"===typeof n,"generateTemplateId({ template }) -- template must be an object"),C("InteractionTemplate"===n.f_type,"generateTemplateId({ template }) -- template object must be an InteractionTemplate"),C("1.1.0"===n.f_version,"generateTemplateId({ template }) -- template object must be an version 1.1.0");const r=n.data,i=await Promise.all(r.messages.map((async e=>[la(e.key),await Promise.all(e.i18n.map((async e=>[la(e.tag),la(e.translation)])))]))),o=await Promise.all(null===r||void 0===r?void 0:r.parameters.sort(((e,t)=>e.index-t.index)).map((async e=>[la(e.label),[la(String(e.index)),la(e.type),await Promise.all(e.messages.map((async e=>[la(e.key),await Promise.all(e.i18n.map((async e=>[la(e.tag),la(e.translation)])))])))]]))),a=[await pa(null===r||void 0===r?void 0:r.dependencies)],s=ke([la(null===n||void 0===n?void 0:n.f_type),la(null===n||void 0===n?void 0:n.f_version),la(null===r||void 0===r?void 0:r.type),la(null===r||void 0===r?void 0:r.interface),i,la(null===r||void 0===r||null===(t=r.cadence)||void 0===t?void 0:t.body),[a],o]).toString("hex");return la(s)}({template:t});case"1.0.0":return await async function(e){let{template:t}=e;Zr(void 0!=t,"generateTemplateId({ template }) -- template must be defined"),Zr("object"===typeof t,"generateTemplateId({ template }) -- template must be an object"),Zr("InteractionTemplate"===t.f_type,"generateTemplateId({ template }) -- template object must be an InteractionTemplate"),Zr("1.0.0"===t.f_version,"generateTemplateId({ template }) -- template object must be an version 1.0.0");const n=t.data,r=await Promise.all(Object.keys(n.messages).map((async e=>{var t;return[la(e),await Promise.all(Object.keys(null===(t=n.messages)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.i18n).map((async t=>{var r;return[la(t),la(null===(r=n.messages)||void 0===r||null===(r=r[e])||void 0===r||null===(r=r.i18n)||void 0===r?void 0:r[t])]})))]}))),i=await Promise.all(Object.keys(null===n||void 0===n?void 0:n.dependencies).map((async e=>{var t;return[la(e),await Promise.all(Object.keys(null===n||void 0===n||null===(t=n.dependencies)||void 0===t?void 0:t[e]).map((async t=>{var r;return[la(t),await Promise.all(Object.keys(null===n||void 0===n||null===(r=n.dependencies)||void 0===r||null===(r=r[e])||void 0===r?void 0:r[t]).map((async r=>{var i,o,a,s,l;return[la(r),[la(null===n||void 0===n||null===(i=n.dependencies)||void 0===i||null===(i=i[e])||void 0===i||null===(i=i[t])||void 0===i?void 0:i[r].address),la(null===n||void 0===n||null===(o=n.dependencies)||void 0===o||null===(o=o[e])||void 0===o||null===(o=o[t])||void 0===o?void 0:o[r].contract),la(null===n||void 0===n||null===(a=n.dependencies)||void 0===a||null===(a=a[e])||void 0===a||null===(a=a[t])||void 0===a?void 0:a[r].fq_address),la(null===n||void 0===n||null===(s=n.dependencies)||void 0===s||null===(s=s[e])||void 0===s||null===(s=s[t])||void 0===s?void 0:s[r].pin),la(String(null===n||void 0===n||null===(l=n.dependencies)||void 0===l||null===(l=l[e])||void 0===l||null===(l=l[t])||void 0===l?void 0:l[r].pin_block_height))]]})))]})))]}))),o=await Promise.all(Object.keys(null===n||void 0===n?void 0:n.arguments).map((async e=>{var t,r,i,o;return[la(e),[la(String(null===n||void 0===n||null===(t=n.arguments)||void 0===t?void 0:t[e].index)),la(null===n||void 0===n||null===(r=n.arguments)||void 0===r?void 0:r[e].type),la((null===n||void 0===n||null===(i=n.arguments)||void 0===i?void 0:i[e].balance)||""),await Promise.all(Object.keys(null===n||void 0===n||null===(o=n.arguments)||void 0===o?void 0:o[e].messages).map((async t=>{var r;return[la(t),await Promise.all(Object.keys(null===n||void 0===n||null===(r=n.arguments)||void 0===r||null===(r=r[e].messages)||void 0===r?void 0:r[t].i18n).map((async r=>{var i;return[la(r),la(null===n||void 0===n||null===(i=n.arguments)||void 0===i||null===(i=i[e].messages)||void 0===i||null===(i=i[t].i18n)||void 0===i?void 0:i[r])]})))]})))]]}))),a=ke([la("InteractionTemplate"),la("1.0.0"),la(null===n||void 0===n?void 0:n.type),la(null===n||void 0===n?void 0:n.interface),r,la(null===n||void 0===n?void 0:n.cadence),i,o]).toString("hex");return la(a)}({template:t});default:throw new Error("generateTemplateId Error: Unsupported template version")}}async function ma(e){let{version:t,address:n,contractName:r}=e;switch(Zr(void 0!=n,"generateDependencyPin({ address }) -- address must be defined"),Zr(void 0!=r,"generateDependencyPin({ contractName }) -- contractName must be defined"),Zr("string"===typeof n,"generateDependencyPin({ address }) -- address must be a string"),Zr("string"===typeof r,"generateDependencyPin({ contractName }) -- contractName must be a string"),t){case"1.1.0":return await da({address:n,contractName:r});case"1.0.0":return await async function(e){let{address:t,contractName:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Zr(void 0!=t,"generateDependencyPin({ address }) -- address must be defined"),Zr(void 0!=n,"generateDependencyPin({ contractName }) -- contractName must be defined"),Zr("string"===typeof t,"generateDependencyPin({ address }) -- address must be a string"),Zr("string"===typeof n,"generateDependencyPin({ contractName }) -- contractName must be a string");const i=[ca({contractName:n,address:t})];for(const s of i){var o;const e=await Wr([En(await _e().get(s.address,s.address))],r).then(qr);if(s.contract=null===(o=e.contracts)||void 0===o?void 0:o[s.contractName],!s.contract)throw console.error("Did not find expected contract",s,e),new Error("Did not find expected contract");const t=ua(s.contract);i.push(...t)}const a=i.map((e=>la(e.contract)));return la(a.join(""))}({address:n,contractName:r});default:throw new Error("deriveCadenceByNetwork Error: Unsupported template version")}}async function ga(e){let{template:t,blockHeight:n,network:r}=e;switch(Zr(void 0!=t,"generateDependencyPin({ template }) -- template must be defined"),Zr("object"===typeof t,"generateDependencyPin({ template }) -- template must be an object"),Zr("InteractionTemplate"===t.f_type,"generateDependencyPin({ template }) -- template must be an InteractionTemplate"),Zr(void 0!=r,"generateDependencyPin({ network }) network must be defined"),Zr(void 0!=n,"generateDependencyPin({ blockHeight }) blockHeight must be defined"),Zr("number"===typeof n,"generateDependencyPin({ blockHeight }) blockHeight must be a number"),t.f_version){case"1.0.0":const e=Object.keys(t.data.dependencies);for(let i of e){const e=t.data.dependencies[i],o=Object.keys(e);for(let a of o){const e=t.data.dependencies[i][a][r];if("undefined"===typeof e)continue;const o=await ma({address:e.address,contractName:e.contract,blockHeight:n});if(o!==e.pin)return(0,v.Rm)({title:"verifyDependencyPinsSame Debug Error",message:"Could not recompute and match dependency pin.\n                                address: ".concat(e.address," | contract: ").concat(e.contract,"\n                                computed: ").concat(o,"\n                                template: ").concat(e.pin,"\n                            "),level:v.A_.debug}),!1}}return!0;case"1.1.0":let a=!1;for(let s=0;s<(null===(i=t.data)||void 0===i?void 0:i.dependencies.length);s++){var i,o;const e=null===(o=t.data)||void 0===o?void 0:o.dependencies[s];for(let i=0;i<(null===e||void 0===e?void 0:e.contracts.length);i++){const o=null===e||void 0===e?void 0:e.contracts[i];for(let e=0;e<(null===o||void 0===o?void 0:o.networks.length);e++){const i=null===o||void 0===o?void 0:o.networks[e];if(i.network===r){const e=await ma({version:t.f_version,address:i.address,contractName:o.contract,blockHeight:n});if(e!==i.dependency_pin.pin)return(0,v.Rm)({title:"verifyDependencyPinsSame Debug Error",message:"Could not recompute and match dependency pin.\n                                    address: ".concat(i.address," | contract: ").concat(o.contract,"\n                                    computed: ").concat(e,"\n                                    template: ").concat(i.pin,"\n                                "),level:v.A_.debug}),!1;a=!0}}}}return a;default:throw new Error("verifyDependencyPinsSame Error: Unsupported template version")}}var va=Object.freeze({__proto__:null,getInteractionTemplateAudits:async function(e){let{template:t,auditors:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Zr(void 0!=t,"getInteractionTemplateAudits({ template }) -- template must be defined"),Zr("InteractionTemplate"===t.f_type,"getInteractionTemplateAudits({ template }) -- template must be an InteractionTemplate");let i=await fa({template:t});if(i!==t.id)throw(0,v.Rm)({title:"getInteractionTemplateAudits Debug Error",message:"Could not recompute and match template ID\n                computed: ".concat(i,"\n                template: ").concat(t.id,"\n            "),level:v.A_.debug}),new Error("getInteractionTemplateAudits Error: Could not recompute and match template ID");switch(t.f_version){case"1.1.0":case"1.0.0":const e=n||await _e().get("flow.auditors");Zr(e,"getInteractionTemplateAudits Error: Required configuration for 'fcl.auditors' is not set"),Zr(Array.isArray(e),"getInteractionTemplateAudits Error: Required configuration for 'fcl.auditors' is not an array");let t=r.flowInteractionAuditContract;if(!t){const e=await Ji(r);Zr("mainnet"===e||"testnet"===e,"getInteractionTemplateAudits Error: Unable to determine address for FlowInteractionTemplateAudit contract. Set configuration for 'fcl.network' to 'mainnet' or 'testnet'"),t="mainnet"===e?"0xfd100e39d50a13e6":"0xf78bfc12d0a786dc"}const o=await ro({cadence:"\n        import FlowInteractionTemplateAudit from ".concat(t,"\n        access(all) fun main(templateId: String, auditors: [Address]): {Address:Bool} {\n          return FlowInteractionTemplateAudit.getHasTemplateBeenAuditedByAuditors(templateId: templateId, auditors: auditors)\n        }\n        "),args:(t,n)=>[t(i,n.String),t(e,n.Array(n.Address))]});return o;default:throw new Error("getInteractionTemplateAudits Error: Unsupported template version")}},generateDependencyPin:ma,generateDependencyPinAtLatestSealedBlock:async function(e){let{version:t,address:n,contractName:r}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=await Jr({sealed:!0},i);return ma({version:t,address:n,contractName:r,blockHeight:null===o||void 0===o?void 0:o.height})},generateTemplateId:fa,verifyGeneratedTemplateId:async function(e){let{template:t}=e;return t.id===await fa({template:t})},verifyDependencyPinsSame:ga,verifyDependencyPinsSameAtLatestSealedBlock:async function(e){let{template:t,network:n}=e;const r=await Jr({sealed:!0});return ga({template:t,network:n,blockHeight:null===r||void 0===r?void 0:r.height})},deriveCadenceByNetwork:Ki,getTemplateMessage:function(e){var t,n,r;let{localization:i="en-US",messageKey:o,template:a}=e;switch(Zr(o,"getTemplateMessage({ messageKey }) -- messageKey must be defined"),Zr("string"===typeof o,"getTemplateMessage({ messageKey }) -- messageKey must be a string"),Zr(i,"getTemplateMessage({ localization }) -- localization must be defined"),Zr("string"===typeof i,"getTemplateMessage({ localization }) -- localization must be a string"),Zr(void 0!=a,"getTemplateMessage({ template }) -- template must be defined"),Zr("object"===typeof a,"getTemplateMessage({ template }) -- template must be an object"),Zr("InteractionTemplate"===typeof a.f_type,"getTemplateMessage({ template }) -- template object must be an InteractionTemplate"),a.f_version){case"1.1.0":const e=null===a||void 0===a||null===(t=a.data)||void 0===t||null===(t=t.messages)||void 0===t?void 0:t.find((e=>e.key===o));if(!e)return;const s=null===e||void 0===e||null===(n=e.i18n)||void 0===n?void 0:n.find((e=>e.tag===i));if(!s)return;return s.translation;case"1.0.0":return null===a||void 0===a||null===(r=a.data)||void 0===r||null===(r=r.messages)||void 0===r||null===(r=r[o])||void 0===r||null===(r=r.i18n)||void 0===r?void 0:r[i];default:throw new Error("getTemplateArgumentMessage Error: Unsupported template version")}},getTemplateArgumentMessage:function(e){var t,n,r,i;let{localization:o="en-US",argumentLabel:a,messageKey:s,template:l}=e;switch(Zr(s,"getTemplateArgumentMessage({ messageKey }) -- messageKey must be defined"),Zr("string"===typeof s,"getTemplateArgumentMessage({ messageKey }) -- messageKey must be a string"),Zr(a,"getTemplateArgumentMessage({ argumentLabel }) -- argumentLabel must be defined"),Zr("string"===typeof s,"getTemplateArgumentMessage({ argumentLabel }) -- argumentLabel must be a string"),Zr(o,"getTemplateArgumentMessage({ localization }) -- localization must be defined"),Zr("string"===typeof o,"getTemplateArgumentMessage({ localization }) -- localization must be a string"),Zr(void 0!=l,"getTemplateArgumentMessage({ template }) -- template must be defined"),Zr("object"===typeof l,"getTemplateArgumentMessage({ template }) -- template must be an object"),Zr("InteractionTemplate"===typeof l.f_type,"getTemplateArgumentMessage({ template }) -- template object must be an InteractionTemplate"),l.f_version){case"1.1.0":const e=null===l||void 0===l||null===(t=l.data)||void 0===t||null===(t=t.parameters)||void 0===t?void 0:t.find((e=>e.label===a));if(!e)return;const c=null===e||void 0===e||null===(n=e.messages)||void 0===n?void 0:n.find((e=>e.key===s));if(!c)return;const u=null===c||void 0===c||null===(r=c.i18n)||void 0===r?void 0:r.find((e=>e.tag===o));if(!u)return;return u.translation;case"1.0.0":return null===l||void 0===l||null===(i=l.data)||void 0===i||null===(i=i.arguments)||void 0===i||null===(i=i[a])||void 0===i||null===(i=i.messages)||void 0===i||null===(i=i[s])||void 0===i||null===(i=i.i18n)||void 0===i?void 0:i[o];default:throw new Error("getTemplateArgumentMessage Error: Unsupported template version")}}});function Ca(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{old:e,...uo,type:"frame",endpoint:e.endpoint,params:e.params||{},data:e.data||{}}}function ya(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...uo,type:"back-channel-rpc",endpoint:e.endpoint,method:e.method,params:e.params||{},data:e.data||{}}}function ba(e){return null==e?null:(null==e.method&&(e={...e,type:"local-view",method:"VIEW/IFRAME"}),e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...uo,type:e.type||"local-view",method:e.method,endpoint:e.endpoint,data:e.data||{},params:e.params||{}})}function wa(e,t){return e.map((e=>function(e,t){try{return xa[e.type](e,t)}catch(n){return console.error("Unrecognized FCL Service Type [".concat(e.type,"]"),e,n),e}}(e,t))).filter(Boolean)}const xa={"back-channel-rpc":ya,"pre-authz":function(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...uo,type:e.type,uid:e.id,endpoint:e.endpoint,method:e.method,identity:{...ho,address:Oe(e.addr),keyId:e.keyId},params:e.params,data:e.data}},authz:function(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...uo,type:e.type,uid:e.id,endpoint:e.endpoint,method:e.method,identity:{...ho,address:Oe(e.addr),keyId:e.keyId},params:e.params,data:e.data}},authn:function(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...uo,type:e.type,uid:e.id,endpoint:e.authn,id:e.pid,provider:{address:Oe(e.addr),name:e.name,icon:e.icon}}},frame:Ca,"open-id":function(e){return null==e?null:"1.0.0"===e.f_vsn?e:null},"user-signature":function(e){if(null==e)return null;if(!e.f_vsn)throw new Error("Invalid user-signature service");return"1.0.0"===e.f_vsn?e:null},"local-view":ba,"account-proof":function(e){if(null==e)return null;if(!e.f_vsn)throw new Error("FCL Normalizer Error: Invalid account-proof service");return"1.0.0"===e.f_vsn?e:null},"authn-refresh":function(e){if(null==e)return null;if(!e.f_vsn)throw new Error("Invalid authn-refresh service");return"1.0.0"===e.f_vsn?e:null}};function Aa(){let e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(((t,n)=>n.type===e&&(!t||ji(n.f_vsn,t.f_vsn)>0)?n:t),null)}function Ea(e){return ke([e.provider.address||e.provider.name||"UNSPECIFIED",e.id]).toString("hex")}async function _a(e){var t=wa(function(){return[...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}((e=function(e){return e.addr=e.addr?Oe(e.addr):null,e.paddr=e.paddr?Oe(e.paddr):null,e}(e)).services||[],await async function(e,t){if(null==e||null==t)return[];const n=new lo(e);n.searchParams.append("code",t);const r=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json()));if(Array.isArray(r))return r;const i=[];if(Array.isArray(r.authorizations))for(let o of r.authorizations)i.push({type:"authz",keyId:r.keyId,...o});return null!=r.provider&&i.push({type:"authn",id:"wallet-provider#authn",...r.provider}),i}(e.hks,e.code)));const n=Aa(t,"authn");return{...po,addr:Oe(e.addr),cid:Ea(n),loggedIn:!0,services:t,expiresAt:e.expires}}const Ta="WC/RPC",Sa="undefined"===typeof window;async function ka(e){var t,n;let{service:r,msg:i={},config:o={},opts:a={},platform:s}=e;!function(){if(Sa)return;Xo().getStrategies().includes(Ta)||v.Rm({title:"FCL WalletConnect Service Plugin",level:v.A_.error,message:"All dApps are expected to register for a WalletConnect projectId & add this to their FCL configuration.  If you do not do so, users will be unable to use certain wallets to interact with your dApp.  See https://developers.flow.com/tools/clients/fcl-js/configure-fcl for more information."})}(),i.data=r.data;const l={services:await To(/^service\./),app:await To(/^app\.detail\./),client:{...o.client,platform:s,fclVersion:Li,fclLibrary:"https://github.com/onflow/fcl-js",hostname:null!==(t=null===(n=window)||void 0===n||null===(n=n.location)||void 0===n?void 0:n.hostname)&&void 0!==t?t:null,network:await Ji(a)}};try{const e=await(async e=>{let{service:t,body:n,config:r,opts:i}=e;return Xo().getStrategy(t.method)({service:t,body:n,config:r,opts:i})})({service:r,body:i,config:l,opts:a});return"REDIRECT"===e.status?(C(r.type===e.data.type,"Cannot shift recursive service type in execService"),await ka({service:e.data,msg:i,config:l,opts:a})):e}catch(c){throw(0,v.Rm)({title:"Error on execService ".concat(null===r||void 0===r?void 0:r.type),message:c,level:v.A_.error}),c}}function Pa(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...mo,addr:Me(e.addr||e.address),signature:e.signature||e.sig,keyId:e.keyId}}const Da="CURRENT_USER",Na="CURRENT_USER/UPDATED",Fa="SNAPSHOT",Ia="SET_CURRENT_USER",Ra="DEL_CURRENT_USER",Ma='{\n  "f_type": "User",\n  "f_vsn": "1.0.0",\n  "addr":null,\n  "cid":null,\n  "loggedIn":null,\n  "expiresAt":null,\n  "services":[]\n}',Oa={[F]:async e=>{"undefined"===typeof window&&console.warn('\n        %cFCL Warning\n        ============================\n        "currentUser" is only available in the browser.\n        For more info, please see the docs: https://docs.onflow.org/fcl/\n        ============================\n        ',"font-weight:bold;font-family:monospace;"),e.merge(JSON.parse(Ma));const t=await _e.first(["fcl.storage","fcl.storage.default"]);if(t.can){const n=await(async e=>{const t=JSON.parse(Ma),n=await e.get(Da);return null!=n&&t.f_vsn!==n.f_vsn?(e.removeItem(Da),t):n||t})(t);(function(e){return null==e.expiresAt||0===e.expiresAt||e.expiresAt>Date.now()})(n)&&e.merge(n)}},[I]:(e,t)=>{e.subscribe(t.from),e.send(t.from,Na,{...e.all()})},[R]:(e,t)=>{e.unsubscribe(t.from)},[Fa]:async(e,t)=>{t.reply({...e.all()})},[Ia]:async(e,t,n)=>{e.merge(n);const r=await _e.first(["fcl.storage","fcl.storage.default"]);r.can&&r.put(Da,e.all()),e.broadcast(Na,{...e.all()})},[Ra]:async(e,t)=>{e.merge(JSON.parse(Ma));const n=await _e.first(["fcl.storage","fcl.storage.default"]);n.can&&n.put(Da,e.all()),e.broadcast(Na,{...e.all()})}},ja=()=>Z(Oa,Da);const La=async e=>{let{discoveryAuthnInclude:t,discoveryFeaturesSuggested:n}=e;return{client:{discoveryAuthnInclude:t,discoveryFeaturesSuggested:n,clientServices:await $o(),supportedStrategies:Xo().getStrategies()}}},Ba=e=>{let{platform:t}=e;return async function(){var e,n;let{service:r,redir:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r||null!==r&&void 0!==r&&null!==(e=r.provider)&&void 0!==e&&e.is_installed||null===r||void 0===r||null===(n=r.provider)||void 0===n||!n.requires_install)return new Promise((async(e,n)=>{ja();const o={redir:i},a=await za(),s=await async function(e){var t;const n=await _e.get("discovery.authn.include",[]),r=await _e.get("discovery.features.suggested",[]),i=await _e.first(["discovery.wallet.method","discovery.wallet.method.default"]),o=null!==e&&void 0!==e&&e.method?e.method:i,a=null!==(t=null===e||void 0===e?void 0:e.endpoint)&&void 0!==t?t:await _e.first(["discovery.wallet","challenge.handshake"]);return C(a,'\n    If no service is passed to "authenticate," then "discovery.wallet" must be defined in fcl config.\n    See: "https://docs.onflow.org/fcl/reference/api/#setting-configuration-values"\n    '),{...e,type:"authn",endpoint:a,method:o,discoveryAuthnInclude:n,discoveryFeaturesSuggested:r}}(r),l=Aa(a.services,"authn-refresh");let c;if(a.loggedIn){if(!l)return e(a);try{const e=await ka({service:l,msg:c,opts:o,platform:t});z(Da,Ia,await _a(e))}catch(u){(0,v.Rm)({title:"".concat(u.name," Could not refresh wallet authentication."),message:u.message,level:v.A_.error})}finally{return e(await za())}}try{c=await async function(){let e=await _e.get("fcl.accountProof.resolver");if(null==e)return;if(!(e=>"function"===typeof e)(e))return void(0,v.Rm)({title:"Account Proof Data Resolver must be a function",message:"Check fcl.accountProof.resolver configuration.\n                Expected: fcl.accountProof.resolver: async () => { ... }\n                Received: fcl.accountProof.resolver: ".concat(typeof e,"\n                "),level:v.A_.warn});const t=await e();return null!=t?(C("string"===typeof t.appIdentifier,"appIdentifier must be a string"),C(/^[0-9a-f]+$/i.test(t.nonce),"Nonce must be a hex string"),t):void 0}()}catch(u){return(0,v.Rm)({title:"".concat(u.name," On Authentication: Could not resolve account proof data."),message:u.message,level:v.A_.error}),n(u)}try{const e=await ka({service:s,msg:c,config:await La(s),opts:o,platform:t});z(Da,Ia,await _a(e))}catch(u){(0,v.Rm)({title:"".concat(u," On Authentication"),message:u,level:v.A_.error})}finally{e(await za())}}));var o;window.location.href=null===r||void 0===r||null===(o=r.provider)||void 0===o?void 0:o.install_link}};function Ua(){ja(),z(Da,Ra)}const Va=e=>{let{platform:t}=e;return async e=>(ja(),{...e,tempId:"CURRENT_USER",async resolve(e,n){const r=await Ba({platform:t})({redir:!0}),i=Aa(r.services,"authz"),o=Aa(r.services,"pre-authz");if(o)return(e=>{let{platform:t}=e;return e=>{const n=(e=>({f_type:"PreAuthzResponse",f_vsn:"1.0.0",proposer:(e||{}).proposer,payer:(e||{}).payer||[],authorization:(e||{}).authorization||[]}))(e),r=[];null!=n.proposer&&r.push(["PROPOSER",n.proposer]);for(let t of n.payer||[])r.push(["PAYER",t]);for(let t of n.authorization||[])r.push(["AUTHORIZER",t]);return r.map((e=>{let[n,r]=e;return{tempId:[r.identity.address,r.identity.keyId].join("|"),addr:r.identity.address,keyId:r.identity.keyId,signingFunction:e=>ka({service:r,msg:e,platform:t}),role:{proposer:"PROPOSER"===n,payer:"PAYER"===n,authorizer:"AUTHORIZER"===n}}}))}})({platform:t})(await ka({service:o,msg:n,platform:t}));if(i){let n;return eo()&&"WC/RPC"===i.method&&(n=window.open("","_blank")),{...e,tempId:"CURRENT_USER",resolve:null,addr:Me(i.identity.address),keyId:i.identity.keyId,sequenceNum:null,signature:null,signingFunction:async e=>Pa(await ka({service:i,msg:e,opts:{includeOlderJsonRpcCall:!0,windowRef:n},platform:t}))}}throw new Error("No Authz or PreAuthz Service configured for CURRENT_USER")}})};function Ha(e){ja();const t="@EXIT",n=Z((async n=>{for(n.send(Da,I);;){const r=await n.receive();if(r.tag===t)return void n.send(Da,R);e(r.data)}}));return()=>z(n,t)}function za(){return ja(),z(Da,Fa,null,{expectReply:!0,timeout:0})}const Za=e=>{let{platform:t}=e;return async()=>{const{addr:e}=await Ba({platform:t})();return pi(Oe(e),Fi.Address)}},Wa=e=>(C(/^[0-9a-f]+$/i.test(e),"Message must be a hex string"),{message:e}),qa=e=>{let{platform:t}=e;return async e=>{ja();const n=Aa((await Ba({platform:t})({redir:!0})).services,"user-signature");C(n,"Current user must have authorized a signing service.");try{const r=await ka({service:n,msg:Wa(e),platform:t});return Array.isArray(r)?r.map((e=>Pa(e))):[Pa(r)]}catch(r){return r}}},Ga=e=>{let{platform:t}=e,n=()=>({authenticate:Ba({platform:t}),unauthenticate:Ua,authorization:Va({platform:t}),signUserMessage:qa({platform:t}),subscribe:Ha,snapshot:za,resolveArgument:Za({platform:t})});return n.authenticate=Ba({platform:t}),n.unauthenticate=Ua,n.authorization=Va({platform:t}),n.signUserMessage=qa({platform:t}),n.subscribe=Ha,n.snapshot=za,n.resolveArgument=Za({platform:t}),n};function Ya(e){var t;const n=new lo(e.endpoint);if(null!==(t=window)&&void 0!==t&&null!==(t=t.location)&&void 0!==t&&t.origin&&n.searchParams.append("l6n",window.location.origin),null!=e.params)for(let[r,i]of Object.entries(e.params||{}))n.searchParams.append(r,i);return n}function Ka(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.method||"POST",r="GET"===n?void 0:JSON.stringify(t.data||e.data||{});return fetch(Ya(e),{method:n,headers:{...e.headers||{},...t.headers||{},"Content-Type":"application/json"},body:r}).then((e=>e.json()))}function Qa(e){return null==e?null:e.f_vsn?"1.0.0"===e.f_vsn?e:null:{...fo,status:null!==(t=e.status)&&void 0!==t?t:"APPROVED",reason:null!==(n=e.reason)&&void 0!==n?n:null,data:e.compositeSignature||e.data||{...e}||{},updates:ya(e.authorizationUpdates),local:Ca((e.local||[])[0])};var t,n}const Xa={"HTTP/GET":"GET","HTTP/POST":"POST"},Ja=e=>(C(Xa[e.method],"Invalid Service Method for type back-channel-rpc",{service:e}),Xa[e.method]);async function $a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0;C(e,"Missing Polling Service",{service:e});if(!t())throw new Error("Externally Halted");let n;try{if("undefined"!==typeof document&&"hidden"===document.visibilityState)return await new Promise((e=>setTimeout(e,500))),$a(e,t);n=await Ka(e,{method:Ja(e)}).then(Qa)}catch(r){throw r}switch(n.status){case"APPROVED":return n.data;case"DECLINED":throw new Error("Declined: ".concat(n.reason||"No reason supplied."));default:return await new Promise((e=>setTimeout(e,500))),$a(n.updates,t)}}const es=e=>async t=>{let{service:n,body:r,config:i,opts:o}=t;const a=await Ka(n,{data:{fclVersion:Li,service:{params:n.params,data:n.data,type:n.type},config:i,...r}}).then(Qa);if("APPROVED"===a.status)return a.data;if("DECLINED"===a.status)throw new Error("Declined: ".concat(a.reason||"No reason supplied."));if("REDIRECT"===a.status)return a;if("PENDING"===a.status){var s=!0,l=!0;const[t,n]=await e(ba(a.local),{serviceEndpoint:Ya,onClose:()=>l=!1}),r=()=>{try{n(),l=!1}catch(e){console.error("Frame Close Error",e)}},i=()=>{const e=s;return s=l,e};return $a(a.updates,i).then((e=>(r(),e))).catch((e=>{throw console.error(e),r(),e}))}throw console.error("Auto Decline: Invalid Response",{service:n,resp:a}),new Error("Auto Decline: Invalid Response")},ts="FCL:VIEW:CLOSE",ns="FCL:VIEW:READY",rs="FCL:VIEW:RESPONSE",is=e=>"string"===typeof e&&e.toLowerCase(),os=new Set(["monetizationstart","monetizationpending","monetizationprogress","monetizationstop"]),as=(e,t)=>console.warn("DEPRECATION NOTICE","Received ".concat(e,", please use ").concat(t," for this and future versions of FCL")),ss=e=>{let{close:t,send:n,onReady:r,onResponse:i,onMessage:o}=e;return e=>{try{if("object"!==typeof e.data)return;if(os.has(e.data.type))return;is(e.data.type)===is(ts)&&t(),is(e.data.type)===is(ns)&&r(e,{send:n,close:t}),is(e.data.type)===is(rs)&&i(e,{send:n,close:t}),o(e,{send:n,close:t}),is(e.data.type)===is("FCL:FRAME:READY")&&(as(e.data.type,ns),r(e,{send:n,close:t})),is(e.data.type)===is("FCL:FRAME:RESPONSE")&&(as(e.data.type,rs),i(e,{send:n,close:t})),is(e.data.type)===is("FCL:FRAME:CLOSE")&&(as(e.data.type,ts),t()),is(e.data.type)===is("FCL::CHALLENGE::RESPONSE")&&(as(e.data.type,rs),i(e,{send:n,close:t})),is(e.data.type)===is("FCL::AUTHZ_READY")&&(as(e.data.type,ns),r(e,{send:n,close:t})),is(e.data.type)===is("FCL::CHALLENGE::CANCEL")&&(as(e.data.type,ts),t()),is(e.data.type)===is("FCL::CANCEL")&&(as(e.data.type,ts),t())}catch(a){console.error("Frame Callback Error",a),t()}}};_e.subscribe((()=>{Ji({enableRequestLogging:!1}).catch((()=>{}))}));const ls="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",cs=ls.length;function us(){let e="",t=32;for(;t--;)e+=ls[Math.random()*cs|0];return e}const ds=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,hs=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ps=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function fs(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"===typeof t&&"prototype"in t))return t;!function(e){console.warn('[destr] Dropping "'.concat(e,'" key to prevent prototype pollution.'))}(e)}function ms(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!==typeof e)return e;const n=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const e=n.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!ps.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ds.test(e)||hs.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,fs)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}function gs(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(e){return e&&"function"===typeof e.then?e:Promise.resolve(e)}(e(...n))}catch(i){return Promise.reject(i)}}function vs(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"===typeof e.toJSON)return vs(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function Cs(){if(void 0===typeof Buffer)throw new TypeError("[unstorage] Buffer is not supported!")}const ys="base64:";function bs(e){return e?e.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bs(t.join(":"))}function xs(e){return(e=bs(e))?e+":":""}const As=()=>{const e=new Map;return{name:"memory",options:{},hasItem:t=>e.has(t),getItem(t){var n;return null!==(n=e.get(t))&&void 0!==n?n:null},getItemRaw(t){var n;return null!==(n=e.get(t))&&void 0!==n?n:null},setItem(t,n){e.set(t,n)},setItemRaw(t,n){e.set(t,n)},removeItem(t){e.delete(t)},getKeys:()=>Array.from(e.keys()),clear(){e.clear()},dispose(){e.clear()}}};function Es(){const e={mounts:{"":(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).driver||As()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},t=t=>{for(const n of e.mountpoints)if(t.startsWith(n))return{base:n,relativeKey:t.slice(n.length),driver:e.mounts[n]};return{base:"",relativeKey:t,driver:e.mounts[""]}},n=(t,n)=>e.mountpoints.filter((e=>e.startsWith(t)||n&&t.startsWith(e))).map((n=>({relativeBase:t.length>n.length?t.slice(n.length):void 0,mountpoint:n,driver:e.mounts[n]}))),r=(t,n)=>{if(e.watching){n=bs(n);for(const r of e.watchListeners)r(t,n)}},i=async()=>{if(e.watching){for(const t in e.unwatch)await e.unwatch[t]();e.unwatch={},e.watching=!1}},o=(e,n,r)=>{const i=new Map,o=e=>{let t=i.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},i.set(e.base,t)),t};for(const a of e){const e="string"===typeof a,r=bs(e?a:a.key),i=e?void 0:a.value,s=e||!a.options?n:{...n,...a.options},l=t(r);o(l).items.push({key:r,value:i,relativeKey:l.relativeKey,options:s})}return Promise.all([...i.values()].map((e=>r(e)))).then((e=>e.flat()))},a={hasItem(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=bs(e);const{relativeKey:r,driver:i}=t(e);return gs(i.hasItem,r,n)},getItem(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=bs(e);const{relativeKey:r,driver:i}=t(e);return gs(i.getItem,r,n).then((e=>ms(e)))},getItems:(e,t)=>o(e,t,(e=>e.driver.getItems?gs(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:ws(e.base,t.key),value:ms(t.value)}))))):Promise.all(e.items.map((t=>gs(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:ms(e)})))))))),getItemRaw(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=bs(e);const{relativeKey:r,driver:i}=t(e);return i.getItemRaw?gs(i.getItemRaw,r,n):gs(i.getItem,r,n).then((e=>function(e){return"string"!==typeof e?e:e.startsWith(ys)?(Cs(),Buffer.from(e.slice(ys.length),"base64")):e}(e)))},async setItem(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(void 0===n)return a.removeItem(e);e=bs(e);const{relativeKey:o,driver:s}=t(e);s.setItem&&(await gs(s.setItem,o,vs(n),i),s.watch||r("update",e))},async setItems(e,t){await o(e,t,(async e=>{if(e.driver.setItems)return gs(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:vs(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>gs(e.driver.setItem,t.relativeKey,vs(t.value),t.options))))}))},async setItemRaw(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(void 0===n)return a.removeItem(e,i);e=bs(e);const{relativeKey:o,driver:s}=t(e);if(s.setItemRaw)await gs(s.setItemRaw,o,n,i);else{if(!s.setItem)return;await gs(s.setItem,o,function(e){if("string"===typeof e)return e;Cs();const t=Buffer.from(e).toString("base64");return ys+t}(n),i)}s.watch||r("update",e)},async removeItem(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"boolean"===typeof n&&(n={removeMeta:n}),e=bs(e);const{relativeKey:i,driver:o}=t(e);o.removeItem&&(await gs(o.removeItem,i,n),(n.removeMeta||n.removeMata)&&await gs(o.removeItem,i+"$",n),o.watch||r("remove",e))},async getMeta(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"boolean"===typeof n&&(n={nativeOnly:n}),e=bs(e);const{relativeKey:r,driver:i}=t(e),o=Object.create(null);if(i.getMeta&&Object.assign(o,await gs(i.getMeta,r,n)),!n.nativeOnly){const e=await gs(i.getItem,r+"$",n).then((e=>ms(e)));e&&"object"===typeof e&&("string"===typeof e.atime&&(e.atime=new Date(e.atime)),"string"===typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(o,e))}return o},setMeta(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.setItem(e+"$",t,n)},removeMeta(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.removeItem(e+"$",t)},async getKeys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=xs(e);const r=n(e,!0);let i=[];const o=[];for(const n of r){const e=(await gs(n.driver.getKeys,n.relativeBase,t)).map((e=>n.mountpoint+bs(e))).filter((e=>!i.some((t=>e.startsWith(t)))));o.push(...e),i=[n.mountpoint,...i.filter((e=>!e.startsWith(n.mountpoint)))]}return e?o.filter((t=>t.startsWith(e)&&!t.endsWith("$"))):o.filter((e=>!e.endsWith("$")))},async clear(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=xs(e),await Promise.all(n(e,!1).map((async e=>{if(e.driver.clear)return gs(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const n=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(n.map((n=>e.driver.removeItem(n,t))))}})))},async dispose(){await Promise.all(Object.values(e.mounts).map((e=>Ts(e))))},watch:async t=>(await(async()=>{if(!e.watching){e.watching=!0;for(const t in e.mounts)e.unwatch[t]=await _s(e.mounts[t],r,t)}})(),e.watchListeners.push(t),async()=>{e.watchListeners=e.watchListeners.filter((e=>e!==t)),0===e.watchListeners.length&&await i()}),async unwatch(){e.watchListeners=[],await i()},mount(t,n){if((t=xs(t))&&e.mounts[t])throw new Error("already mounted at ".concat(t));return t&&(e.mountpoints.push(t),e.mountpoints.sort(((e,t)=>t.length-e.length))),e.mounts[t]=n,e.watching&&Promise.resolve(_s(n,r,t)).then((n=>{e.unwatch[t]=n})).catch(console.error),a},async unmount(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(t=xs(t))&&e.mounts[t]&&(e.watching&&t in e.unwatch&&(e.unwatch[t](),delete e.unwatch[t]),n&&await Ts(e.mounts[t]),e.mountpoints=e.mountpoints.filter((e=>e!==t)),delete e.mounts[t])},getMount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e=bs(e)+":";const n=t(e);return{driver:n.driver,base:n.base}},getMounts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=bs(e);return n(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))}};return a}function _s(e,t,n){return e.watch?e.watch(((e,r)=>t(e,n+r))):()=>{}}async function Ts(e){"function"===typeof e.dispose&&await gs(e.dispose)}function Ss(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function ks(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Ss(n);return(e,n)=>r.then((r=>n(r.transaction(t,e).objectStore(t))))}let Ps;function Ds(){return Ps||(Ps=ks("keyval-store","keyval")),Ps}function Ns(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ds())("readonly",(t=>Ss(t.get(e))))}function Fs(e,t){return e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},Ss(e.transaction)}const Is=e=>JSON.stringify(e,((e,t)=>"bigint"===typeof t?t.toString()+"n":t)),Rs=e=>{const t=e.replace(/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,'$1"$2n"$3');return JSON.parse(t,((e,t)=>"string"===typeof t&&t.match(/^\d+n$/)?BigInt(t.substring(0,t.length-1)):t))};function Ms(e){if("string"!==typeof e)throw new Error("Cannot safe json parse value of type ".concat(typeof e));try{return Rs(e)}catch(Vf){return e}}function Os(e){return"string"===typeof e?e:Is(e)||""}var js=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.base&&e.base.length>0?"".concat(e.base,":"):"",n=e=>t+e;let r;return e.dbName&&e.storeName&&(r=ks(e.dbName,e.storeName)),{name:"idb-keyval",options:e,hasItem:async e=>!(typeof await Ns(n(e),r)>"u"),async getItem(e){var t;return null!==(t=await Ns(n(e),r))&&void 0!==t?t:null},setItem:(e,t)=>function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ds())("readwrite",(n=>(n.put(t,e),Ss(n.transaction))))}(n(e),t,r),removeItem:e=>function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ds())("readwrite",(t=>(t.delete(e),Ss(t.transaction))))}(n(e),r),getKeys:()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ds())("readonly",(e=>{if(e.getAllKeys)return Ss(e.getAllKeys());const t=[];return Fs(e,(e=>t.push(e.key))).then((()=>t))}))}(r),clear:()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ds())("readwrite",(e=>(e.clear(),Ss(e.transaction))))}(r)}};class Ls{constructor(){this.indexedDb=Es({driver:js({dbName:"WALLET_CONNECT_V2_INDEXED_DB",storeName:"keyvaluestorage"})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map((e=>[e.key,e.value]))}async getItem(e){const t=await this.indexedDb.getItem(e);if(null!==t)return t}async setItem(e,t){await this.indexedDb.setItem(e,Os(t))}async removeItem(e){await this.indexedDb.removeItem(e)}}var Bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{},Us={exports:{}};function Vs(e){var t;return[e[0],Ms(null!=(t=e[1])?t:"")]}!function(){let e;function t(){}e=t,e.prototype.getItem=function(e){return this.hasOwnProperty(e)?String(this[e]):null},e.prototype.setItem=function(e,t){this[e]=String(t)},e.prototype.removeItem=function(e){delete this[e]},e.prototype.clear=function(){const e=this;Object.keys(e).forEach((function(t){e[t]=void 0,delete e[t]}))},e.prototype.key=function(e){return e=e||0,Object.keys(this)[e]},e.prototype.__defineGetter__("length",(function(){return Object.keys(this).length})),typeof Bs<"u"&&Bs.localStorage?Us.exports=Bs.localStorage:typeof window<"u"&&window.localStorage?Us.exports=window.localStorage:Us.exports=new t}();class Hs{constructor(){this.localStorage=Us.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(Vs)}async getItem(e){const t=this.localStorage.getItem(e);if(null!==t)return Ms(t)}async setItem(e,t){this.localStorage.setItem(e,Os(t))}async removeItem(e){this.localStorage.removeItem(e)}}const zs=async(e,t)=>{t.length&&t.forEach((async t=>{await e.removeItem(t)}))};class Zs{constructor(){this.initialized=!1,this.setInitialized=e=>{this.storage=e,this.initialized=!0};const e=new Hs;this.storage=e;try{(async(e,t,n)=>{const r="wc_storage_version",i=await t.getItem(r);if(i&&i>=1)return void n(t);const o=await e.getKeys();if(!o.length)return void n(t);const a=[];for(;o.length;){const n=o.shift();if(!n)continue;const r=n.toLowerCase();if(r.includes("wc@")||r.includes("walletconnect")||r.includes("wc_")||r.includes("wallet_connect")){const r=await e.getItem(n);await t.setItem(n,r),a.push(n)}}await t.setItem(r,1),n(t),zs(e,a)})(e,new Ls,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,t){return await this.initialize(),this.storage.setItem(e,t)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise((e=>{const t=setInterval((()=>{this.initialized&&(clearInterval(t),e())}),20)}))}}var Ws=n(40230);class qs{}class Gs extends qs{constructor(e){super()}}const Ys=Ws.FIVE_SECONDS,Ks="heartbeat_pulse";class Qs extends Gs{constructor(e){super(e),this.events=new Le.EventEmitter,this.interval=Ys,this.interval=(null===e||void 0===e?void 0:e.interval)||Ys}static async init(e){const t=new Qs(e);return await t.init(),t}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async initialize(){this.intervalRef=setInterval((()=>this.pulse()),(0,Ws.toMiliseconds)(this.interval))}pulse(){this.events.emit(Ks)}}var Xs=n(6430),Js=n.n(Xs);const $s="info",el="custom_context",tl=1024e3;class nl{constructor(e){this.nodeValue=e,this.sizeInBytes=(new TextEncoder).encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class rl{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){const t=new nl(e);if(t.size>this.maxSizeInBytes)throw new Error("[LinkedList] Value too big to insert into list: ".concat(e," with size ").concat(t.size));for(;this.size+t.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=t),this.tail=t):(this.head=t,this.tail=t),this.lengthInNodes++,this.sizeInBytes+=t.size}shift(){if(!this.head)return;const e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){const e=[];let t=this.head;for(;null!==t;)e.push(t.value),t=t.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};const t=e.value;return e=e.next,{done:!1,value:t}}}}}class il{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tl;this.level=null!==e&&void 0!==e?e:"error",this.levelValue=Xs.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=t,this.logs=new rl(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,t){t===Xs.levels.values.error?console.error(e):t===Xs.levels.values.warn?console.warn(e):t===Xs.levels.values.debug?console.debug(e):t===Xs.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(Os({timestamp:(new Date).toISOString(),log:e}));const t="string"==typeof e?JSON.parse(e).level:e.level;t>=this.levelValue&&this.forwardToConsole(e,t)}getLogs(){return this.logs}clearLogs(){this.logs=new rl(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){const t=this.getLogArray();return t.push(Os({extraMetadata:e})),new Blob(t,{type:"application/json"})}}class ol{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tl;this.baseChunkLogger=new il(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){const t=URL.createObjectURL(this.logsToBlob(e)),n=document.createElement("a");n.href=t,n.download="walletconnect-logs-".concat((new Date).toISOString(),".txt"),document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t)}}class al{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tl;this.baseChunkLogger=new il(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var sl=Object.defineProperty,ll=Object.defineProperties,cl=Object.getOwnPropertyDescriptors,ul=Object.getOwnPropertySymbols,dl=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,pl=(e,t,n)=>t in e?sl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fl=(e,t)=>{for(var n in t||(t={}))dl.call(t,n)&&pl(e,n,t[n]);if(ul)for(var n of ul(t))hl.call(t,n)&&pl(e,n,t[n]);return e},ml=(e,t)=>ll(e,cl(t));function gl(e){return ml(fl({},e),{level:(null===e||void 0===e?void 0:e.level)||$s})}function vl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:el,n="";return n=typeof e.bindings>"u"?function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:el]||""}(e,t):e.bindings().context||"",n}function Cl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:el;const r=function(e,t){const n=vl(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:el);return n.trim()?"".concat(n,"/").concat(t):t}(e,t,n);return function(e,t){return e[arguments.length>2&&void 0!==arguments[2]?arguments[2]:el]=t,e}(e.child({context:r}),r,n)}function yl(e){return typeof e.loggerOverride<"u"&&"string"!=typeof e.loggerOverride?{logger:e.loggerOverride,chunkLoggerController:null}:typeof window<"u"?function(e){var t,n;const r=new ol(null==(t=e.opts)?void 0:t.level,e.maxSizeInBytes);return{logger:Js()(ml(fl({},e.opts),{level:"trace",browser:ml(fl({},null==(n=e.opts)?void 0:n.browser),{write:e=>r.write(e)})})),chunkLoggerController:r}}(e):function(e){var t;const n=new al(null==(t=e.opts)?void 0:t.level,e.maxSizeInBytes);return{logger:Js()(ml(fl({},e.opts),{level:"trace"}),n),chunkLoggerController:n}}(e)}class bl extends qs{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}}class wl extends qs{constructor(e,t){super(),this.core=e,this.logger=t,this.records=new Map}}class xl{constructor(e,t){this.logger=e,this.core=t}}class Al extends qs{constructor(e,t){super(),this.relayer=e,this.logger=t}}class El extends qs{constructor(e){super()}}class _l{constructor(e,t,n,r){this.core=e,this.logger=t,this.name=n}}class Tl extends qs{constructor(e,t){super(),this.relayer=e,this.logger=t}}class Sl extends qs{constructor(e,t){super(),this.core=e,this.logger=t}}class kl{constructor(e,t){this.projectId=e,this.logger=t}}class Pl{constructor(e,t){this.projectId=e,this.logger=t}}Be();class Dl{constructor(e){this.opts=e,this.protocol="wc",this.version=2}}Le.EventEmitter;class Nl{constructor(e){this.client=e}}var Fl=n(18426),Il=n(31886);const Rl=".",Ml="base64url",Ol="utf8",jl="utf8",Ll=":",Bl="did",Ul="key",Vl="base58btc",Hl="z",zl="K36";function Zl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?globalThis.Buffer.allocUnsafe(e):new Uint8Array(e)}function Wl(e,t){t||(t=e.reduce(((e,t)=>e+t.length),0));const n=Zl(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}var ql=function(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),a=o.charCodeAt(0);if(255!==n[a])throw new TypeError(o+" is ambiguous");n[a]=i}var s=e.length,l=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function d(e){if("string"!==typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;var t=0;if(" "!==e[t]){for(var r=0,i=0;e[t]===l;)r++,t++;for(var o=(e.length-t)*c+1>>>0,a=new Uint8Array(o);e[t];){var u=n[e.charCodeAt(t)];if(255===u)return;for(var d=0,h=o-1;(0!==u||d<i)&&-1!==h;h--,d++)u+=s*a[h]>>>0,a[h]=u%256>>>0,u=u/256>>>0;if(0!==u)throw new Error("Non-zero carry");i=d,t++}if(" "!==e[t]){for(var p=o-i;p!==o&&0===a[p];)p++;for(var f=new Uint8Array(r+(o-p)),m=r;p!==o;)f[m++]=a[p++];return f}}}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var n=0,r=0,i=0,o=t.length;i!==o&&0===t[i];)i++,n++;for(var a=(o-i)*u+1>>>0,c=new Uint8Array(a);i!==o;){for(var d=t[i],h=0,p=a-1;(0!==d||h<r)&&-1!==p;p--,h++)d+=256*c[p]>>>0,c[p]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");r=h,i++}for(var f=a-r;f!==a&&0===c[f];)f++;for(var m=l.repeat(n);f<a;++f)m+=e.charAt(c[f]);return m},decodeUnsafe:d,decode:function(e){var n=d(e);if(n)return n;throw new Error("Non-".concat(t," character"))}}};const Gl=ql,Yl=(new Uint8Array(0),e=>{if(e instanceof Uint8Array&&"Uint8Array"===e.constructor.name)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")});class Kl{constructor(e,t,n){this.name=e,this.prefix=t,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return"".concat(this.prefix).concat(this.baseEncode(e));throw Error("Unknown type, must be binary type")}}class Ql{constructor(e,t,n){if(this.name=e,this.prefix=t,void 0===t.codePointAt(0))throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=n}decode(e){if("string"===typeof e){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error("Unable to decode multibase string ".concat(JSON.stringify(e),", ").concat(this.name," decoder only supports inputs prefixed with ").concat(this.prefix));return this.baseDecode(e.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(e){return Jl(this,e)}}class Xl{constructor(e){this.decoders=e}or(e){return Jl(this,e)}decode(e){const t=e[0],n=this.decoders[t];if(n)return n.decode(e);throw RangeError("Unable to decode multibase string ".concat(JSON.stringify(e),", only inputs prefixed with ").concat(Object.keys(this.decoders)," are supported"))}}const Jl=(e,t)=>new Xl({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class $l{constructor(e,t,n,r){this.name=e,this.prefix=t,this.baseEncode=n,this.baseDecode=r,this.encoder=new Kl(e,t,n),this.decoder=new Ql(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const ec=e=>{let{name:t,prefix:n,encode:r,decode:i}=e;return new $l(t,n,r,i)},tc=e=>{let{prefix:t,name:n,alphabet:r}=e;const{encode:i,decode:o}=Gl(r,n);return ec({prefix:t,name:n,encode:i,decode:e=>Yl(o(e))})},nc=e=>{let{name:t,prefix:n,bitsPerChar:r,alphabet:i}=e;return ec({prefix:n,name:t,encode:e=>((e,t,n)=>{const r="="===t[t.length-1],i=(1<<n)-1;let o="",a=0,s=0;for(let l=0;l<e.length;++l)for(s=s<<8|e[l],a+=8;a>n;)a-=n,o+=t[i&s>>a];if(a&&(o+=t[i&s<<n-a]),r)for(;o.length*n&7;)o+="=";return o})(e,i,r),decode:e=>((e,t,n,r)=>{const i={};for(let u=0;u<t.length;++u)i[t[u]]=u;let o=e.length;for(;"="===e[o-1];)--o;const a=new Uint8Array(o*n/8|0);let s=0,l=0,c=0;for(let u=0;u<o;++u){const t=i[e[u]];if(void 0===t)throw new SyntaxError("Non-".concat(r," character"));l=l<<n|t,s+=n,s>=8&&(s-=8,a[c++]=255&l>>s)}if(s>=n||255&l<<8-s)throw new SyntaxError("Unexpected end of data");return a})(e,i,r,t)})},rc=ec({prefix:"\0",name:"identity",encode:e=>(e=>(new TextDecoder).decode(e))(e),decode:e=>(e=>(new TextEncoder).encode(e))(e)}),ic=nc({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),oc=nc({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),ac=tc({prefix:"9",name:"base10",alphabet:"0123456789"}),sc=nc({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),lc=nc({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),cc=nc({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),uc=nc({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),dc=nc({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),hc=nc({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),pc=nc({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),fc=nc({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),mc=nc({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),gc=nc({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),vc=nc({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Cc=tc({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),yc=tc({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),bc=tc({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),wc=tc({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),xc=nc({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Ac=nc({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Ec=nc({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),_c=nc({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Tc=Array.from("\ud83d\ude80\ud83e\ude90\u2604\ud83d\udef0\ud83c\udf0c\ud83c\udf11\ud83c\udf12\ud83c\udf13\ud83c\udf14\ud83c\udf15\ud83c\udf16\ud83c\udf17\ud83c\udf18\ud83c\udf0d\ud83c\udf0f\ud83c\udf0e\ud83d\udc09\u2600\ud83d\udcbb\ud83d\udda5\ud83d\udcbe\ud83d\udcbf\ud83d\ude02\u2764\ud83d\ude0d\ud83e\udd23\ud83d\ude0a\ud83d\ude4f\ud83d\udc95\ud83d\ude2d\ud83d\ude18\ud83d\udc4d\ud83d\ude05\ud83d\udc4f\ud83d\ude01\ud83d\udd25\ud83e\udd70\ud83d\udc94\ud83d\udc96\ud83d\udc99\ud83d\ude22\ud83e\udd14\ud83d\ude06\ud83d\ude44\ud83d\udcaa\ud83d\ude09\u263a\ud83d\udc4c\ud83e\udd17\ud83d\udc9c\ud83d\ude14\ud83d\ude0e\ud83d\ude07\ud83c\udf39\ud83e\udd26\ud83c\udf89\ud83d\udc9e\u270c\u2728\ud83e\udd37\ud83d\ude31\ud83d\ude0c\ud83c\udf38\ud83d\ude4c\ud83d\ude0b\ud83d\udc97\ud83d\udc9a\ud83d\ude0f\ud83d\udc9b\ud83d\ude42\ud83d\udc93\ud83e\udd29\ud83d\ude04\ud83d\ude00\ud83d\udda4\ud83d\ude03\ud83d\udcaf\ud83d\ude48\ud83d\udc47\ud83c\udfb6\ud83d\ude12\ud83e\udd2d\u2763\ud83d\ude1c\ud83d\udc8b\ud83d\udc40\ud83d\ude2a\ud83d\ude11\ud83d\udca5\ud83d\ude4b\ud83d\ude1e\ud83d\ude29\ud83d\ude21\ud83e\udd2a\ud83d\udc4a\ud83e\udd73\ud83d\ude25\ud83e\udd24\ud83d\udc49\ud83d\udc83\ud83d\ude33\u270b\ud83d\ude1a\ud83d\ude1d\ud83d\ude34\ud83c\udf1f\ud83d\ude2c\ud83d\ude43\ud83c\udf40\ud83c\udf37\ud83d\ude3b\ud83d\ude13\u2b50\u2705\ud83e\udd7a\ud83c\udf08\ud83d\ude08\ud83e\udd18\ud83d\udca6\u2714\ud83d\ude23\ud83c\udfc3\ud83d\udc90\u2639\ud83c\udf8a\ud83d\udc98\ud83d\ude20\u261d\ud83d\ude15\ud83c\udf3a\ud83c\udf82\ud83c\udf3b\ud83d\ude10\ud83d\udd95\ud83d\udc9d\ud83d\ude4a\ud83d\ude39\ud83d\udde3\ud83d\udcab\ud83d\udc80\ud83d\udc51\ud83c\udfb5\ud83e\udd1e\ud83d\ude1b\ud83d\udd34\ud83d\ude24\ud83c\udf3c\ud83d\ude2b\u26bd\ud83e\udd19\u2615\ud83c\udfc6\ud83e\udd2b\ud83d\udc48\ud83d\ude2e\ud83d\ude46\ud83c\udf7b\ud83c\udf43\ud83d\udc36\ud83d\udc81\ud83d\ude32\ud83c\udf3f\ud83e\udde1\ud83c\udf81\u26a1\ud83c\udf1e\ud83c\udf88\u274c\u270a\ud83d\udc4b\ud83d\ude30\ud83e\udd28\ud83d\ude36\ud83e\udd1d\ud83d\udeb6\ud83d\udcb0\ud83c\udf53\ud83d\udca2\ud83e\udd1f\ud83d\ude41\ud83d\udea8\ud83d\udca8\ud83e\udd2c\u2708\ud83c\udf80\ud83c\udf7a\ud83e\udd13\ud83d\ude19\ud83d\udc9f\ud83c\udf31\ud83d\ude16\ud83d\udc76\ud83e\udd74\u25b6\u27a1\u2753\ud83d\udc8e\ud83d\udcb8\u2b07\ud83d\ude28\ud83c\udf1a\ud83e\udd8b\ud83d\ude37\ud83d\udd7a\u26a0\ud83d\ude45\ud83d\ude1f\ud83d\ude35\ud83d\udc4e\ud83e\udd32\ud83e\udd20\ud83e\udd27\ud83d\udccc\ud83d\udd35\ud83d\udc85\ud83e\uddd0\ud83d\udc3e\ud83c\udf52\ud83d\ude17\ud83e\udd11\ud83c\udf0a\ud83e\udd2f\ud83d\udc37\u260e\ud83d\udca7\ud83d\ude2f\ud83d\udc86\ud83d\udc46\ud83c\udfa4\ud83d\ude47\ud83c\udf51\u2744\ud83c\udf34\ud83d\udca3\ud83d\udc38\ud83d\udc8c\ud83d\udccd\ud83e\udd40\ud83e\udd22\ud83d\udc45\ud83d\udca1\ud83d\udca9\ud83d\udc50\ud83d\udcf8\ud83d\udc7b\ud83e\udd10\ud83e\udd2e\ud83c\udfbc\ud83e\udd75\ud83d\udea9\ud83c\udf4e\ud83c\udf4a\ud83d\udc7c\ud83d\udc8d\ud83d\udce3\ud83e\udd42"),Sc=Tc.reduce(((e,t,n)=>(e[n]=t,e)),[]),kc=Tc.reduce(((e,t,n)=>(e[t.codePointAt(0)]=n,e)),[]);const Pc=ec({prefix:"\ud83d\ude80",name:"base256emoji",encode:function(e){return e.reduce(((e,t)=>e+=Sc[t]),"")},decode:function(e){const t=[];for(const n of e){const e=kc[n.codePointAt(0)];if(void 0===e)throw new Error("Non-base256emoji character: ".concat(n));t.push(e)}return new Uint8Array(t)}});var Dc=function e(t,n,r){n=n||[];var i=r=r||0;for(;t>=Ic;)n[r++]=255&t|Nc,t/=128;for(;t&Fc;)n[r++]=255&t|Nc,t>>>=7;return n[r]=0|t,e.bytes=r-i+1,n},Nc=128,Fc=-128,Ic=Math.pow(2,31);var Rc=function e(t,n){var r,i=0,o=0,a=n=n||0,s=t.length;do{if(a>=s)throw e.bytes=0,new RangeError("Could not decode varint");r=t[a++],i+=o<28?(r&Oc)<<o:(r&Oc)*Math.pow(2,o),o+=7}while(r>=Mc);return e.bytes=a-n,i},Mc=128,Oc=127;var jc=Math.pow(2,7),Lc=Math.pow(2,14),Bc=Math.pow(2,21),Uc=Math.pow(2,28),Vc=Math.pow(2,35),Hc=Math.pow(2,42),zc=Math.pow(2,49),Zc=Math.pow(2,56),Wc=Math.pow(2,63),qc={encode:Dc,decode:Rc,encodingLength:function(e){return e<jc?1:e<Lc?2:e<Bc?3:e<Uc?4:e<Vc?5:e<Hc?6:e<zc?7:e<Zc?8:e<Wc?9:10}};const Gc=qc,Yc=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Gc.encode(e,t,n),t},Kc=e=>Gc.encodingLength(e),Qc=(e,t)=>{const n=t.byteLength,r=Kc(e),i=r+Kc(n),o=new Uint8Array(i+n);return Yc(e,o,0),Yc(n,o,r),o.set(t,i),new Xc(e,n,t,o)};class Xc{constructor(e,t,n,r){this.code=e,this.size=t,this.digest=n,this.bytes=r}}const Jc=e=>{let{name:t,code:n,encode:r}=e;return new $c(t,n,r)};class $c{constructor(e,t,n){this.name=e,this.code=t,this.encode=n}digest(e){if(e instanceof Uint8Array){const t=this.encode(e);return t instanceof Uint8Array?Qc(this.code,t):t.then((e=>Qc(this.code,e)))}throw Error("Unknown type, must be binary type")}}const eu=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),tu=Jc({name:"sha2-256",code:18,encode:eu("SHA-256")}),nu=Jc({name:"sha2-512",code:19,encode:eu("SHA-512")}),ru=Yl,iu={code:0,name:"identity",encode:ru,digest:e=>Qc(0,ru(e))},ou="raw",au=85,su=e=>Yl(e),lu=e=>Yl(e),cu=new TextEncoder,uu=new TextDecoder,du="json",hu=512,pu=e=>cu.encode(JSON.stringify(e)),fu=e=>JSON.parse(uu.decode(e));Symbol.toStringTag,Symbol.for("nodejs.util.inspect.custom");Symbol.for("@ipld/js-cid/CID");const mu={...r,...i,...o,...a,...s,...l,...c,...u,...d,...h};function gu(e,t,n,r){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:n},decoder:{decode:r}}}const vu=gu("utf8","u",(e=>"u"+new TextDecoder("utf8").decode(e)),(e=>(new TextEncoder).encode(e.substring(1)))),Cu=gu("ascii","a",(e=>{let t="a";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}),(e=>{const t=Zl((e=e.substring(1)).length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t})),yu={utf8:vu,"utf-8":vu,hex:mu.base16,latin1:Cu,ascii:Cu,binary:Cu,...mu};function bu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";const n=yu[t];if(!n)throw new Error('Unsupported encoding "'.concat(t,'"'));return"utf8"!==t&&"utf-8"!==t||null==globalThis.Buffer||null==globalThis.Buffer.from?n.encoder.encode(e).substring(1):globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}function wu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";const n=yu[t];if(!n)throw new Error('Unsupported encoding "'.concat(t,'"'));return"utf8"!==t&&"utf-8"!==t||null==globalThis.Buffer||null==globalThis.Buffer.from?n.decoder.decode("".concat(n.prefix).concat(e)):globalThis.Buffer.from(e,"utf8")}function xu(e){return bu(wu(Os(e),Ol),Ml)}function Au(e){const t=wu(zl,Vl),n=Hl+bu(Wl([t,e]),Vl);return[Bl,Ul,n].join(Ll)}function Eu(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Il.randomBytes)(32);return Fl.K(e)}async function _u(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(0,Ws.fromMiliseconds)(Date.now());const o={alg:"EdDSA",typ:"JWT"},a={iss:Au(r.publicKey),sub:e,aud:t,iat:i,exp:i+n},s=function(e){return wu([xu(e.header),xu(e.payload)].join(Rl),jl)}({header:o,payload:a});return function(e){return[xu(e.header),xu(e.payload),(t=e.signature,bu(t,Ml))].join(Rl);var t}({header:o,payload:a,signature:Fl._S(r.secretKey,s)})}n(92767);var Tu=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},Su=function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"},ku=function(e){this.version=e,this.type="node",this.name="node",this.os=process.platform},Pu=function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"},Du=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},Nu=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},Fu=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,Iu=3,Ru=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],Mu=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Ou(e){return e?Lu(e):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new Nu:"undefined"!==typeof navigator?Lu(navigator.userAgent):"undefined"!==typeof process&&process.version?new ku(process.version.slice(1)):null}function ju(e){return""!==e&&Ru.reduce((function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]}),!1)}function Lu(e){var t=ju(e);if(!t)return null;var n=t[0],r=t[1];if("searchbot"===n)return new Du;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<Iu&&(i=Tu(Tu([],i,!0),function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(Iu-i.length),!0)):i=[];var o=i.join("."),a=function(e){for(var t=0,n=Mu.length;t<n;t++){var r=Mu[t],i=r[0];if(r[1].exec(e))return i}return null}(e),s=Fu.exec(e);return s&&s[1]?new Pu(n,o,a,s[1]):new Su(n,o,a)}var Bu=n(38938),Uu=n(82829),Vu=n(79529),Hu=n(80950),zu=n(43134),Zu=n(85758),Wu=n(78144);const qu={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},Gu=":";function Yu(e){const[t,n]=e.split(Gu);return{namespace:t,reference:n}}function Ku(e,t){return e.includes(":")?[e]:t.chains||[]}var Qu=Object.defineProperty,Xu=Object.getOwnPropertySymbols,Ju=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,ed=(e,t,n)=>t in e?Qu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,td=(e,t)=>{for(var n in t||(t={}))Ju.call(t,n)&&ed(e,n,t[n]);if(Xu)for(var n of Xu(t))$u.call(t,n)&&ed(e,n,t[n]);return e};const nd="ReactNative",rd={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},id="js";function od(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function ad(){return!(0,Bu.getDocument)()&&!!(0,Bu.getNavigator)()&&navigator.product===nd}function sd(){return!od()&&!!(0,Bu.getNavigator)()&&!!(0,Bu.getDocument)()}function ld(){return ad()?rd.reactNative:od()?rd.node:sd()?rd.browser:rd.unknown}function cd(e,t,r){const i=function(){if(ld()===rd.reactNative&&typeof n.g<"u"&&typeof(null==n.g?void 0:n.g.Platform)<"u"){const{OS:e,Version:t}=n.g.Platform;return[e,t].join("-")}const e=Ou();if(null===e)return"unknown";const t=e.os?e.os.replace(" ","").toLowerCase():"unknown";return"browser"===e.type?[t,e.name,e.version].join("-"):[t,e.version].join("-")}(),o=function(){var e;const t=ld();return t===rd.browser?[t,(null==(e=(0,Bu.getLocation)())?void 0:e.host)||"unknown"].join(":"):t}();return[[e,t].join("-"),[id,r].join("-"),i,o].join("/")}function ud(e){let{protocol:t,version:n,relayUrl:r,sdkVersion:i,auth:o,projectId:a,useOnCloseEvent:s,bundleId:l}=e;const c=r.split("?"),u={auth:o,ua:cd(t,n,i),projectId:a,useOnCloseEvent:s||void 0,origin:l||void 0},d=function(e,t){let n=Vu.parse(e);return n=td(td({},n),t),Vu.stringify(n)}(c[1]||"",u);return c[0]+"?"+d}function dd(e,t){return e.filter((e=>t.includes(e))).length===e.length}function hd(e){return Object.fromEntries(e.entries())}function pd(e){return new Map(Object.entries(e))}function fd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ws.FIVE_MINUTES,t=arguments.length>1?arguments[1]:void 0;const n=(0,Ws.toMiliseconds)(e||Ws.FIVE_MINUTES);let r,i,o;return{resolve:e=>{o&&r&&(clearTimeout(o),r(e))},reject:e=>{o&&i&&(clearTimeout(o),i(e))},done:()=>new Promise(((e,a)=>{o=setTimeout((()=>{a(new Error(t))}),n),r=e,i=a}))}}function md(e,t,n){return new Promise((async(r,i)=>{const o=setTimeout((()=>i(new Error(n))),t);try{r(await e)}catch(Zs){i(Zs)}clearTimeout(o)}))}function gd(e,t){if("string"==typeof t&&t.startsWith("".concat(e,":")))return t;if("topic"===e.toLowerCase()){if("string"!=typeof t)throw new Error('Value must be "string" for expirer target type: topic');return"topic:".concat(t)}if("id"===e.toLowerCase()){if("number"!=typeof t)throw new Error('Value must be "number" for expirer target type: id');return"id:".concat(t)}throw new Error("Unknown expirer target type: ".concat(e))}function vd(e){const[t,n]=e.split(":"),r={id:void 0,topic:void 0};if("topic"===t&&"string"==typeof n)r.topic=n;else{if("id"!==t||!Number.isInteger(Number(n)))throw new Error("Invalid target, expected id:number or topic:string, got ".concat(t,":").concat(n));r.id=Number(n)}return r}function Cd(e,t){return(0,Ws.fromMiliseconds)((t||Date.now())+(0,Ws.toMiliseconds)(e))}function yd(e){return Date.now()>=(0,Ws.toMiliseconds)(e)}function bd(e,t){return"".concat(e).concat(t?":".concat(t):"")}function wd(){return[...new Set([...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]])]}var xd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{};var Ad={exports:{}};!function(e){!function(){var t="input is invalid type",n="object"==typeof window,r=n?window:{};r.JS_SHA3_NO_WINDOW&&(n=!1);var i=!n&&"object"==typeof self;!r.JS_SHA3_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?r=xd:i&&(r=self);var o=!r.JS_SHA3_NO_COMMON_JS&&e.exports,a=!r.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",s="0123456789abcdef".split(""),l=[4,1024,262144,67108864],c=[0,8,16,24],u=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],d=[224,256,384,512],h=[128,256],p=["hex","buffer","arrayBuffer","array","digest"],f={128:168,256:136};(r.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),a&&(r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var m=function(e,t,n){return function(r){return new D(e,t,e).update(r)[n]()}},g=function(e,t,n){return function(r,i){return new D(e,t,i).update(r)[n]()}},v=function(e,t,n){return function(t,r,i,o){return x["cshake"+e].update(t,r,i,o)[n]()}},C=function(e,t,n){return function(t,r,i,o){return x["kmac"+e].update(t,r,i,o)[n]()}},y=function(e,t,n,r){for(var i=0;i<p.length;++i){var o=p[i];e[o]=t(n,r,o)}return e},b=function(e,t){var n=m(e,t,"hex");return n.create=function(){return new D(e,t,e)},n.update=function(e){return n.create().update(e)},y(n,m,e,t)},w=[{name:"keccak",padding:[1,256,65536,16777216],bits:d,createMethod:b},{name:"sha3",padding:[6,1536,393216,100663296],bits:d,createMethod:b},{name:"shake",padding:[31,7936,2031616,520093696],bits:h,createMethod:function(e,t){var n=g(e,t,"hex");return n.create=function(n){return new D(e,t,n)},n.update=function(e,t){return n.create(t).update(e)},y(n,g,e,t)}},{name:"cshake",padding:l,bits:h,createMethod:function(e,t){var n=f[e],r=v(e,0,"hex");return r.create=function(r,i,o){return i||o?new D(e,t,r).bytepad([i,o],n):x["shake"+e].create(r)},r.update=function(e,t,n,i){return r.create(t,n,i).update(e)},y(r,v,e,t)}},{name:"kmac",padding:l,bits:h,createMethod:function(e,t){var n=f[e],r=C(e,0,"hex");return r.create=function(r,i,o){return new N(e,t,i).bytepad(["KMAC",o],n).bytepad([r],n)},r.update=function(e,t,n,i){return r.create(e,n,i).update(t)},y(r,C,e,t)}}],x={},A=[],E=0;E<w.length;++E)for(var _=w[E],T=_.bits,S=0;S<T.length;++S){var k=_.name+"_"+T[S];if(A.push(k),x[k]=_.createMethod(T[S],_.padding),"sha3"!==_.name){var P=_.name+T[S];A.push(P),x[P]=x[k]}}function D(e,t,n){this.blocks=[],this.s=[],this.padding=t,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}function N(e,t,n){D.call(this,e,t,n)}D.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var n,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(t);if(null===e)throw new Error(t);if(a&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!a||!ArrayBuffer.isView(e)))throw new Error(t);n=!0}for(var i,o,s=this.blocks,l=this.byteCount,u=e.length,d=this.blockCount,h=0,p=this.s;h<u;){if(this.reset)for(this.reset=!1,s[0]=this.block,i=1;i<d+1;++i)s[i]=0;if(n)for(i=this.start;h<u&&i<l;++h)s[i>>2]|=e[h]<<c[3&i++];else for(i=this.start;h<u&&i<l;++h)(o=e.charCodeAt(h))<128?s[i>>2]|=o<<c[3&i++]:o<2048?(s[i>>2]|=(192|o>>6)<<c[3&i++],s[i>>2]|=(128|63&o)<<c[3&i++]):o<55296||o>=57344?(s[i>>2]|=(224|o>>12)<<c[3&i++],s[i>>2]|=(128|o>>6&63)<<c[3&i++],s[i>>2]|=(128|63&o)<<c[3&i++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++h)),s[i>>2]|=(240|o>>18)<<c[3&i++],s[i>>2]|=(128|o>>12&63)<<c[3&i++],s[i>>2]|=(128|o>>6&63)<<c[3&i++],s[i>>2]|=(128|63&o)<<c[3&i++]);if(this.lastByteIndex=i,i>=l){for(this.start=i-l,this.block=s[d],i=0;i<d;++i)p[i]^=s[i];F(p),this.reset=!0}else this.start=i}return this},D.prototype.encode=function(e,t){var n=255&e,r=1,i=[n];for(n=255&(e>>=8);n>0;)i.unshift(n),n=255&(e>>=8),++r;return t?i.push(r):i.unshift(r),this.update(i),i.length},D.prototype.encodeString=function(e){var n,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(t);if(null===e)throw new Error(t);if(a&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!a||!ArrayBuffer.isView(e)))throw new Error(t);n=!0}var i=0,o=e.length;if(n)i=o;else for(var s=0;s<e.length;++s){var l=e.charCodeAt(s);l<128?i+=1:l<2048?i+=2:l<55296||l>=57344?i+=3:(l=65536+((1023&l)<<10|1023&e.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(e),i},D.prototype.bytepad=function(e,t){for(var n=this.encode(t),r=0;r<e.length;++r)n+=this.encodeString(e[r]);var i=t-n%t,o=[];return o.length=i,this.update(o),this},D.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,n=this.blockCount,r=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t<n+1;++t)e[t]=0;for(e[n-1]|=2147483648,t=0;t<n;++t)r[t]^=e[t];F(r)}},D.prototype.toString=D.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,l="";a<r;){for(o=0;o<t&&a<r;++o,++a)e=n[o],l+=s[e>>4&15]+s[15&e]+s[e>>12&15]+s[e>>8&15]+s[e>>20&15]+s[e>>16&15]+s[e>>28&15]+s[e>>24&15];a%t===0&&(F(n),o=0)}return i&&(e=n[o],l+=s[e>>4&15]+s[15&e],i>1&&(l+=s[e>>12&15]+s[e>>8&15]),i>2&&(l+=s[e>>20&15]+s[e>>16&15])),l},D.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var l=new Uint32Array(e);a<r;){for(o=0;o<t&&a<r;++o,++a)l[a]=n[o];a%t===0&&F(n)}return i&&(l[o]=n[o],e=e.slice(0,s)),e},D.prototype.buffer=D.prototype.arrayBuffer,D.prototype.digest=D.prototype.array=function(){this.finalize();for(var e,t,n=this.blockCount,r=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,l=[];s<i;){for(a=0;a<n&&s<i;++a,++s)e=s<<2,t=r[a],l[e]=255&t,l[e+1]=t>>8&255,l[e+2]=t>>16&255,l[e+3]=t>>24&255;s%n===0&&F(r)}return o&&(e=s<<2,t=r[a],l[e]=255&t,o>1&&(l[e+1]=t>>8&255),o>2&&(l[e+2]=t>>16&255)),l},N.prototype=new D,N.prototype.finalize=function(){return this.encode(this.outputBits,!0),D.prototype.finalize.call(this)};var F=function(e){var t,n,r,i,o,a,s,l,c,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B,U,V,H,z,Z,W,q,G,Y,K,Q,X,J,$,ee,te,ne,re,ie,oe,ae,se,le,ce,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],c=e[5]^e[15]^e[25]^e[35]^e[45],d=e[6]^e[16]^e[26]^e[36]^e[46],h=e[7]^e[17]^e[27]^e[37]^e[47],t=(p=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|s>>>31),n=(f=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|a>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(l<<1|c>>>31),n=o^(c<<1|l>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=a^(d<<1|h>>>31),n=s^(h<<1|d>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=l^(p<<1|f>>>31),n=c^(f<<1|p>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=d^(i<<1|o>>>31),n=h^(o<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,m=e[0],g=e[1],G=e[11]<<4|e[10]>>>28,Y=e[10]<<4|e[11]>>>28,P=e[20]<<3|e[21]>>>29,D=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,le=e[30]<<9|e[31]>>>23,z=e[40]<<18|e[41]>>>14,Z=e[41]<<18|e[40]>>>14,M=e[2]<<1|e[3]>>>31,O=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,C=e[12]<<12|e[13]>>>20,K=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,N=e[33]<<13|e[32]>>>19,F=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,j=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,b=e[24]<<11|e[25]>>>21,X=e[34]<<15|e[35]>>>17,J=e[35]<<15|e[34]>>>17,I=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,_=e[6]<<28|e[7]>>>4,T=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,B=e[26]<<25|e[27]>>>7,U=e[27]<<25|e[26]>>>7,w=e[36]<<21|e[37]>>>11,x=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,q=e[9]<<27|e[8]>>>5,S=e[18]<<20|e[19]>>>12,k=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,V=e[38]<<8|e[39]>>>24,H=e[39]<<8|e[38]>>>24,A=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=m^~v&y,e[1]=g^~C&b,e[10]=_^~S&P,e[11]=T^~k&D,e[20]=M^~j&B,e[21]=O^~L&U,e[30]=W^~G&K,e[31]=q^~Y&Q,e[40]=te^~re&oe,e[41]=ne^~ie&ae,e[2]=v^~y&w,e[3]=C^~b&x,e[12]=S^~P&N,e[13]=k^~D&F,e[22]=j^~B&V,e[23]=L^~U&H,e[32]=G^~K&X,e[33]=Y^~Q&J,e[42]=re^~oe&se,e[43]=ie^~ae&le,e[4]=y^~w&A,e[5]=b^~x&E,e[14]=P^~N&I,e[15]=D^~F&R,e[24]=B^~V&z,e[25]=U^~H&Z,e[34]=K^~X&$,e[35]=Q^~J&ee,e[44]=oe^~se&ce,e[45]=ae^~le&ue,e[6]=w^~A&m,e[7]=x^~E&g,e[16]=N^~I&_,e[17]=F^~R&T,e[26]=V^~z&M,e[27]=H^~Z&O,e[36]=X^~$&W,e[37]=J^~ee&q,e[46]=se^~ce&te,e[47]=le^~ue&ne,e[8]=A^~m&v,e[9]=E^~g&C,e[18]=I^~_&S,e[19]=R^~T&k,e[28]=z^~M&j,e[29]=Z^~O&L,e[38]=$^~W&G,e[39]=ee^~q&Y,e[48]=ce^~te&re,e[49]=ue^~ne&ie,e[0]^=u[r],e[1]^=u[r+1]};if(o)e.exports=x;else for(E=0;E<A.length;++E)r[A[E]]=x[A[E]]}()}(Ad);var Ed=Ad.exports;let _d=!1,Td=!1;const Sd={debug:1,default:2,info:2,warning:3,error:4,off:5};let kd=Sd.default,Pd=null;const Dd=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((t=>{try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch{e.push(t)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var Nd,Fd;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(Nd||(Nd={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(Fd||(Fd={}));const Id="0123456789abcdef";class Rd{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const n=e.toLowerCase();null==Sd[n]&&this.throwArgumentError("invalid log level name","logLevel",e),!(kd>Sd[n])&&console.log.apply(console,t)}debug(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._log(Rd.levels.DEBUG,t)}info(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._log(Rd.levels.INFO,t)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._log(Rd.levels.WARNING,t)}makeError(e,t,n){if(Td)return this.makeError("censored error",t,{});t||(t=Rd.errors.UNKNOWN_ERROR),n||(n={});const r=[];Object.keys(n).forEach((e=>{const t=n[e];try{if(t instanceof Uint8Array){let n="";for(let e=0;e<t.length;e++)n+=Id[t[e]>>4],n+=Id[15&t[e]];r.push(e+"=Uint8Array(0x"+n+")")}else r.push(e+"="+JSON.stringify(t))}catch{r.push(e+"="+JSON.stringify(n[e].toString()))}})),r.push("code=".concat(t)),r.push("version=".concat(this.version));const i=e;let o="";switch(t){case Fd.NUMERIC_FAULT:{o="NUMERIC_FAULT";const t=e;switch(t){case"overflow":case"underflow":case"division-by-zero":o+="-"+t;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case Fd.CALL_EXCEPTION:case Fd.INSUFFICIENT_FUNDS:case Fd.MISSING_NEW:case Fd.NONCE_EXPIRED:case Fd.REPLACEMENT_UNDERPRICED:case Fd.TRANSACTION_REPLACED:case Fd.UNPREDICTABLE_GAS_LIMIT:o=t}o&&(e+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),r.length&&(e+=" ("+r.join(", ")+")");const a=new Error(e);return a.reason=i,a.code=t,Object.keys(n).forEach((function(e){a[e]=n[e]})),a}throwError(e,t,n){throw this.makeError(e,t,n)}throwArgumentError(e,t,n){return this.throwError(e,Rd.errors.INVALID_ARGUMENT,{argument:t,value:n})}assert(e,t,n,r){e||this.throwError(t,n,r)}assertArgument(e,t,n,r){e||this.throwArgumentError(t,n,r)}checkNormalize(e){Dd&&this.throwError("platform missing String.prototype.normalize",Rd.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:Dd})}checkSafeUint53(e,t){"number"==typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,Rd.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,Rd.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,n){n=n?": "+n:"",e<t&&this.throwError("missing argument"+n,Rd.errors.MISSING_ARGUMENT,{count:e,expectedCount:t}),e>t&&this.throwError("too many arguments"+n,Rd.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||null==e)&&this.throwError("missing new",Rd.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",Rd.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||null==e)&&this.throwError("missing new",Rd.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return Pd||(Pd=new Rd("logger/5.7.0")),Pd}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",Rd.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),_d){if(!e)return;this.globalLogger().throwError("error censorship permanent",Rd.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}Td=!!e,_d=!!t}static setLogLevel(e){const t=Sd[e.toLowerCase()];null!=t?kd=t:Rd.globalLogger().warn("invalid log level - "+e)}static from(e){return new Rd(e)}}Rd.errors=Fd,Rd.levels=Nd;const Md=new Rd("bytes/5.7.0");function Od(e){return!!e.toHexString}function jd(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return jd(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function Ld(e){return"number"==typeof e&&e==e&&e%1===0}function Bd(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e||!Ld(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){const n=e[t];if(!Ld(n)||n<0||n>=256)return!1}return!0}function Ud(e,t){if(t||(t={}),"number"==typeof e){Md.checkSafeUint53(e,"invalid arrayify value");const t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),jd(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),Od(e)&&(e=e.toHexString()),Vd(e)){let n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0"+n:"right"===t.hexPad?n+="0":Md.throwArgumentError("hex data is odd-length","value",e));const r=[];for(let e=0;e<n.length;e+=2)r.push(parseInt(n.substring(e,e+2),16));return jd(new Uint8Array(r))}return Bd(e)?jd(new Uint8Array(e)):Md.throwArgumentError("invalid arrayify value","value",e)}function Vd(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}const Hd="0123456789abcdef";function zd(e,t){if(t||(t={}),"number"==typeof e){Md.checkSafeUint53(e,"invalid hexlify value");let t="";for(;e;)t=Hd[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),Od(e))return e.toHexString();if(Vd(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":Md.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(Bd(e)){let t="0x";for(let n=0;n<e.length;n++){let r=e[n];t+=Hd[(240&r)>>4]+Hd[15&r]}return t}return Md.throwArgumentError("invalid hexlify value","value",e)}function Zd(e,t,n){return"string"!=typeof e?e=zd(e):(!Vd(e)||e.length%2)&&Md.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=n?"0x"+e.substring(t,2+2*n):"0x"+e.substring(t)}function Wd(e,t){for("string"!=typeof e?e=zd(e):Vd(e)||Md.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&Md.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function qd(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(function(e){return Vd(e)&&!(e.length%2)||Bd(e)}(e)){let n=Ud(e);64===n.length?(t.v=27+(n[32]>>7),n[32]&=127,t.r=zd(n.slice(0,32)),t.s=zd(n.slice(32,64))):65===n.length?(t.r=zd(n.slice(0,32)),t.s=zd(n.slice(32,64)),t.v=n[64]):Md.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:Md.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(n[32]|=128),t._vs=zd(n.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){const n=function(e,t){(e=Ud(e)).length>t&&Md.throwArgumentError("value out of range","value",arguments[0]);const n=new Uint8Array(t);return n.set(e,t-e.length),jd(n)}(Ud(t._vs),32);t._vs=zd(n);const r=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=r:t.recoveryParam!==r&&Md.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;const i=zd(n);null==t.s?t.s=i:t.s!==i&&Md.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?Md.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{const n=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==n&&Md.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&Vd(t.r)?t.r=Wd(t.r,32):Md.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&Vd(t.s)?t.s=Wd(t.s,32):Md.throwArgumentError("signature missing or invalid s","signature",e);const n=Ud(t.s);n[0]>=128&&Md.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(n[0]|=128);const r=zd(n);t._vs&&(Vd(t._vs)||Md.throwArgumentError("signature invalid _vs","signature",e),t._vs=Wd(t._vs,32)),null==t._vs?t._vs=r:t._vs!==r&&Md.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function Gd(e){return"0x"+Ed.keccak_256(Ud(e))}var Yd={exports:{}},Kd=function(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}(Object.freeze({__proto__:null,default:{}}));!function(e){!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Kd.Buffer}catch{}function a(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function s(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),l=t;l<s;l++){var c=e.charCodeAt(l)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=s(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2===0?t+1:t;r<e.length;r+=2)i=s(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,u=n;u<s;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var d=1;for(c=l(e,u,e.length,t),u=0;u<a;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){c(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch{i.prototype.inspect=u}else i.prototype.inspect=u;function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?d[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=h[e],u=p[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(u).toString(e);r=(f=f.idivn(u)).isZero()?m+r:d[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;u+=(a=(i=0|e.words[f])*(o=0|t.words[p])+d)/67108864|0,d=67108863&a}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[n++]=255&a,n<e.length&&(e[n++]=a>>8&255),n<e.length&&(e[n++]=a>>16&255),6===o?(n<e.length&&(e[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[n--]=255&a,n>=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 8191&t||(n+=13,t>>>=13),127&t||(n+=7,t>>>=7),15&t||(n+=4,t>>>=4),3&t||(n+=2,t>>>=2),1&t||n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},i.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a<r.length;a++)o=(t=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<n.length;a++)o=(t=(0|n.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,a=e.words,s=t.words,l=n.words,c=0,u=0|a[0],d=8191&u,h=u>>>13,p=0|a[1],f=8191&p,m=p>>>13,g=0|a[2],v=8191&g,C=g>>>13,y=0|a[3],b=8191&y,w=y>>>13,x=0|a[4],A=8191&x,E=x>>>13,_=0|a[5],T=8191&_,S=_>>>13,k=0|a[6],P=8191&k,D=k>>>13,N=0|a[7],F=8191&N,I=N>>>13,R=0|a[8],M=8191&R,O=R>>>13,j=0|a[9],L=8191&j,B=j>>>13,U=0|s[0],V=8191&U,H=U>>>13,z=0|s[1],Z=8191&z,W=z>>>13,q=0|s[2],G=8191&q,Y=q>>>13,K=0|s[3],Q=8191&K,X=K>>>13,J=0|s[4],$=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(c+(r=Math.imul(d,V))|0)+((8191&(i=(i=Math.imul(d,H))+Math.imul(h,V)|0))<<13)|0;c=((o=Math.imul(h,H))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(f,V),i=(i=Math.imul(f,H))+Math.imul(m,V)|0,o=Math.imul(m,H);var ve=(c+(r=r+Math.imul(d,Z)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(h,Z)|0))<<13)|0;c=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,V),i=(i=Math.imul(v,H))+Math.imul(C,V)|0,o=Math.imul(C,H),r=r+Math.imul(f,Z)|0,i=(i=i+Math.imul(f,W)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,W)|0;var Ce=(c+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,G)|0))<<13)|0;c=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(b,V),i=(i=Math.imul(b,H))+Math.imul(w,V)|0,o=Math.imul(w,H),r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(C,Z)|0,o=o+Math.imul(C,W)|0,r=r+Math.imul(f,G)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,Y)|0;var ye=(c+(r=r+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,X)|0)+Math.imul(h,Q)|0))<<13)|0;c=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(A,V),i=(i=Math.imul(A,H))+Math.imul(E,V)|0,o=Math.imul(E,H),r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,Y)|0,r=r+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,X)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,X)|0;var be=(c+(r=r+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;c=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(T,V),i=(i=Math.imul(T,H))+Math.imul(S,V)|0,o=Math.imul(S,H),r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,W)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,Y)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,X)|0,r=r+Math.imul(f,$)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0;var we=(c+(r=r+Math.imul(d,ne)|0)|0)+((8191&(i=(i=i+Math.imul(d,re)|0)+Math.imul(h,ne)|0))<<13)|0;c=((o=o+Math.imul(h,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(P,V),i=(i=Math.imul(P,H))+Math.imul(D,V)|0,o=Math.imul(D,H),r=r+Math.imul(T,Z)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,Y)|0)+Math.imul(E,G)|0,o=o+Math.imul(E,Y)|0,r=r+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,X)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,X)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(f,ne)|0,i=(i=i+Math.imul(f,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var xe=(c+(r=r+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;c=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(F,V),i=(i=Math.imul(F,H))+Math.imul(I,V)|0,o=Math.imul(I,H),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,W)|0,r=r+Math.imul(T,G)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,X)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,X)|0,r=r+Math.imul(b,$)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(f,oe)|0,i=(i=i+Math.imul(f,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var Ae=(c+(r=r+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ce)|0)+Math.imul(h,le)|0))<<13)|0;c=((o=o+Math.imul(h,ce)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(M,V),i=(i=Math.imul(M,H))+Math.imul(O,V)|0,o=Math.imul(O,H),r=r+Math.imul(F,Z)|0,i=(i=i+Math.imul(F,W)|0)+Math.imul(I,Z)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(P,G)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,Y)|0,r=r+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,X)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,X)|0,r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(b,ne)|0,i=(i=i+Math.imul(b,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(f,le)|0,i=(i=i+Math.imul(f,ce)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0;var Ee=(c+(r=r+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;c=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,H))+Math.imul(B,V)|0,o=Math.imul(B,H),r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(O,Z)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(F,G)|0,i=(i=i+Math.imul(F,Y)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(C,le)|0,o=o+Math.imul(C,ce)|0,r=r+Math.imul(f,de)|0,i=(i=i+Math.imul(f,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var _e=(c+(r=r+Math.imul(d,fe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,fe)|0))<<13)|0;c=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,W))+Math.imul(B,Z)|0,o=Math.imul(B,W),r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,X)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,X)|0,r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,ae)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ce)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Te=(c+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;c=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,Y))+Math.imul(B,G)|0,o=Math.imul(B,Y),r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,X)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(F,$)|0,i=(i=i+Math.imul(F,ee)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(A,le)|0,i=(i=i+Math.imul(A,ce)|0)+Math.imul(E,le)|0,o=o+Math.imul(E,ce)|0,r=r+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0;var Se=(c+(r=r+Math.imul(v,fe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(C,fe)|0))<<13)|0;c=((o=o+Math.imul(C,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,X))+Math.imul(B,Q)|0,o=Math.imul(B,X),r=r+Math.imul(M,$)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(F,ne)|0,i=(i=i+Math.imul(F,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(T,le)|0,i=(i=i+Math.imul(T,ce)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ce)|0,r=r+Math.imul(A,de)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(E,de)|0,o=o+Math.imul(E,he)|0;var ke=(c+(r=r+Math.imul(b,fe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(w,fe)|0))<<13)|0;c=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,$),i=(i=Math.imul(L,ee))+Math.imul(B,$)|0,o=Math.imul(B,ee),r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(F,oe)|0,i=(i=i+Math.imul(F,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ce)|0,r=r+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,he)|0;var Pe=(c+(r=r+Math.imul(A,fe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(E,fe)|0))<<13)|0;c=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(B,ne)|0,o=Math.imul(B,re),r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(F,le)|0,i=(i=i+Math.imul(F,ce)|0)+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var De=(c+(r=r+Math.imul(T,fe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(S,fe)|0))<<13)|0;c=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(B,oe)|0,o=Math.imul(B,ae),r=r+Math.imul(M,le)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ce)|0,r=r+Math.imul(F,de)|0,i=(i=i+Math.imul(F,he)|0)+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0;var Ne=(c+(r=r+Math.imul(P,fe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(D,fe)|0))<<13)|0;c=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(L,le),i=(i=Math.imul(L,ce))+Math.imul(B,le)|0,o=Math.imul(B,ce),r=r+Math.imul(M,de)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Fe=(c+(r=r+Math.imul(F,fe)|0)|0)+((8191&(i=(i=i+Math.imul(F,me)|0)+Math.imul(I,fe)|0))<<13)|0;c=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(L,de),i=(i=Math.imul(L,he))+Math.imul(B,de)|0,o=Math.imul(B,he);var Ie=(c+(r=r+Math.imul(M,fe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(O,fe)|0))<<13)|0;c=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Re=(c+(r=Math.imul(L,fe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(B,fe)|0))<<13)|0;return c=((o=Math.imul(B,me))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,l[0]=ge,l[1]=ve,l[2]=Ce,l[3]=ye,l[4]=be,l[5]=we,l[6]=xe,l[7]=Ae,l[8]=Ee,l[9]=_e,l[10]=Te,l[11]=Se,l[12]=ke,l[13]=Pe,l[14]=De,l[15]=Ne,l[16]=Fe,l[17]=Ie,l[18]=Re,0!==c&&(l[19]=c,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=(0|e.words[u])*(0|t.words[c]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function v(e,t,n){return g(e,t,n)}Math.imul||(m=f),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t)},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),v(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new i(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var o=n.sqr();r<t.length;r++,o=o.sqr())0!==t[r]&&(n=n.mul(o));return n},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0!==a)if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-o|d>>>o,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var i,o=e.length+r;this._expand(o);var a,s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((a-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)s=(a=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&a;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(a=-(0|this.words[i])+s)>>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),o=e,a=0|o.words[o.length-1];0!==(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,l=r.length-o.length;if("mod"!==t){(s=new i(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(o,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|r.words[o.length+d])+(0|r.words[o.length+d-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(o,h,d);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(o,1,d),r.isZero()||(r.negative^=1);s&&(s.words[d]=h)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),l=new i(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),d=t.clone();!t.isZero();){for(var h=0,p=1;!(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(u),a.isub(d)),o.iushrn(1),a.iushrn(1);for(var f=0,m=1;!(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s),a.isub(l)):(r.isub(t),s.isub(o),l.isub(a))}return{a:s,b:l,gcd:r.iushln(c)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,r=this,o=e.clone();r=0!==r.negative?r.umod(e):r.clone();for(var a=new i(1),s=new i(0),l=o.clone();r.cmpn(1)>0&&o.cmpn(1)>0;){for(var c=0,u=1;!(r.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);r.cmp(o)>=0?(r.isub(o),a.isub(s)):(o.isub(r),s.isub(a))}return(t=0===r.cmpn(1)?a:s).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0===(1&this.words[0])},i.prototype.isOdd=function(){return 1===(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function _(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},r(b,y),b.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},r(w,y),r(x,y),r(A,y),A.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return C[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},E.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,o),h=this.pow(e,o.addn(1).iushrn(1)),p=this.pow(e,o),f=a;0!==p.cmp(s);){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new i(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new i(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var o=n[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),r=t.length-1;r>=0;r--){for(var c=t.words[r],u=l-1;u>=0;u--){var d=c>>u&1;(o!==n[0]&&(o=this.sqr(o)),0!==d||0!==a)?(a<<=1,a|=d,(4===++s||0===r&&0===u)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}l=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new _(e)},r(_,E),_.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},_.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},_.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},_.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},_.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,xd)}(Yd);var Qd=Yd.exports;const Xd="bignumber/5.7.0";var Jd=Qd.BN;const $d=new Rd(Xd),eh={},th=9007199254740991;let nh=!1;class rh{constructor(e,t){e!==eh&&$d.throwError("cannot call constructor directly; use BigNumber.from",Rd.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return oh(ah(this).fromTwos(e))}toTwos(e){return oh(ah(this).toTwos(e))}abs(){return"-"===this._hex[0]?rh.from(this._hex.substring(1)):this}add(e){return oh(ah(this).add(ah(e)))}sub(e){return oh(ah(this).sub(ah(e)))}div(e){return rh.from(e).isZero()&&sh("division-by-zero","div"),oh(ah(this).div(ah(e)))}mul(e){return oh(ah(this).mul(ah(e)))}mod(e){const t=ah(e);return t.isNeg()&&sh("division-by-zero","mod"),oh(ah(this).umod(t))}pow(e){const t=ah(e);return t.isNeg()&&sh("negative-power","pow"),oh(ah(this).pow(t))}and(e){const t=ah(e);return(this.isNegative()||t.isNeg())&&sh("unbound-bitwise-result","and"),oh(ah(this).and(t))}or(e){const t=ah(e);return(this.isNegative()||t.isNeg())&&sh("unbound-bitwise-result","or"),oh(ah(this).or(t))}xor(e){const t=ah(e);return(this.isNegative()||t.isNeg())&&sh("unbound-bitwise-result","xor"),oh(ah(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&sh("negative-width","mask"),oh(ah(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&sh("negative-width","shl"),oh(ah(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&sh("negative-width","shr"),oh(ah(this).shrn(e))}eq(e){return ah(this).eq(ah(e))}lt(e){return ah(this).lt(ah(e))}lte(e){return ah(this).lte(ah(e))}gt(e){return ah(this).gt(ah(e))}gte(e){return ah(this).gte(ah(e))}isNegative(){return"-"===this._hex[0]}isZero(){return ah(this).isZero()}toNumber(){try{return ah(this).toNumber()}catch{sh("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return $d.throwError("this platform does not support BigInt",Rd.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?nh||(nh=!0,$d.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?$d.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Rd.errors.UNEXPECTED_ARGUMENT,{}):$d.throwError("BigNumber.toString does not accept parameters",Rd.errors.UNEXPECTED_ARGUMENT,{})),ah(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof rh)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new rh(eh,ih(e)):e.match(/^-?[0-9]+$/)?new rh(eh,ih(new Jd(e))):$d.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&sh("underflow","BigNumber.from",e),(e>=th||e<=-th)&&sh("overflow","BigNumber.from",e),rh.from(String(e));const t=e;if("bigint"==typeof t)return rh.from(t.toString());if(Bd(t))return rh.from(zd(t));if(t)if(t.toHexString){const e=t.toHexString();if("string"==typeof e)return rh.from(e)}else{let e=t._hex;if(null==e&&"BigNumber"===t.type&&(e=t.hex),"string"==typeof e&&(Vd(e)||"-"===e[0]&&Vd(e.substring(1))))return rh.from(e)}return $d.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function ih(e){if("string"!=typeof e)return ih(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&$d.throwArgumentError("invalid hex","value",e),"0x00"===(e=ih(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function oh(e){return rh.from(ih(e))}function ah(e){const t=rh.from(e).toHexString();return"-"===t[0]?new Jd("-"+t.substring(3),16):new Jd(t.substring(2),16)}function sh(e,t,n){const r={fault:e,operation:t};return null!=n&&(r.value=n),$d.throwError(e,Rd.errors.NUMERIC_FAULT,r)}const lh=new Rd(Xd),ch={},uh=rh.from(0),dh=rh.from(-1);function hh(e,t,n,r){const i={fault:t,operation:n};return void 0!==r&&(i.value=r),lh.throwError(e,Rd.errors.NUMERIC_FAULT,i)}let ph="0";for(;ph.length<256;)ph+=ph;function fh(e){if("number"!=typeof e)try{e=rh.from(e).toNumber()}catch{}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+ph.substring(0,e):lh.throwArgumentError("invalid decimal size","decimals",e)}function mh(e,t){null==t&&(t=0);const n=fh(t),r=(e=rh.from(e)).lt(uh);r&&(e=e.mul(dh));let i=e.mod(n).toString();for(;i.length<n.length-1;)i="0"+i;i=i.match(/^([0-9]*[1-9]|0)(0*)/)[1];const o=e.div(n).toString();return e=1===n.length?o:o+"."+i,r&&(e="-"+e),e}function gh(e,t){null==t&&(t=0);const n=fh(t);("string"!=typeof e||!e.match(/^-?[0-9.]+$/))&&lh.throwArgumentError("invalid decimal value","value",e);const r="-"===e.substring(0,1);r&&(e=e.substring(1)),"."===e&&lh.throwArgumentError("missing value","value",e);const i=e.split(".");i.length>2&&lh.throwArgumentError("too many decimal points","value",e);let o=i[0],a=i[1];for(o||(o="0"),a||(a="0");"0"===a[a.length-1];)a=a.substring(0,a.length-1);for(a.length>n.length-1&&hh("fractional component exceeds decimals","underflow","parseFixed"),""===a&&(a="0");a.length<n.length-1;)a+="0";const s=rh.from(o),l=rh.from(a);let c=s.mul(n).add(l);return r&&(c=c.mul(dh)),c}class vh{constructor(e,t,n,r){e!==ch&&lh.throwError("cannot use FixedFormat constructor; use FixedFormat.from",Rd.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=t,this.width=n,this.decimals=r,this.name=(t?"":"u")+"fixed"+String(n)+"x"+String(r),this._multiplier=fh(r),Object.freeze(this)}static from(e){if(e instanceof vh)return e;"number"==typeof e&&(e="fixed128x".concat(e));let t=!0,n=128,r=18;if("string"==typeof e){if("fixed"!==e)if("ufixed"===e)t=!1;else{const i=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);i||lh.throwArgumentError("invalid fixed format","format",e),t="u"!==i[1],n=parseInt(i[2]),r=parseInt(i[3])}}else if(e){const i=(t,n,r)=>null==e[t]?r:(typeof e[t]!==n&&lh.throwArgumentError("invalid fixed format ("+t+" not "+n+")","format."+t,e[t]),e[t]);t=i("signed","boolean",t),n=i("width","number",n),r=i("decimals","number",r)}return n%8&&lh.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),r>80&&lh.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new vh(ch,t,n,r)}}class Ch{constructor(e,t,n,r){e!==ch&&lh.throwError("cannot use FixedNumber constructor; use FixedNumber.from",Rd.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=t,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&lh.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);const t=gh(this._value,this.format.decimals),n=gh(e._value,e.format.decimals);return Ch.fromValue(t.add(n),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);const t=gh(this._value,this.format.decimals),n=gh(e._value,e.format.decimals);return Ch.fromValue(t.sub(n),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);const t=gh(this._value,this.format.decimals),n=gh(e._value,e.format.decimals);return Ch.fromValue(t.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);const t=gh(this._value,this.format.decimals),n=gh(e._value,e.format.decimals);return Ch.fromValue(t.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}floor(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=Ch.from(e[0],this.format);const n=!e[1].match(/^(0*)$/);return this.isNegative()&&n&&(t=t.subUnsafe(yh.toFormat(t.format))),t}ceiling(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=Ch.from(e[0],this.format);const n=!e[1].match(/^(0*)$/);return!this.isNegative()&&n&&(t=t.addUnsafe(yh.toFormat(t.format))),t}round(e){null==e&&(e=0);const t=this.toString().split(".");if(1===t.length&&t.push("0"),(e<0||e>80||e%1)&&lh.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;const n=Ch.from("1"+ph.substring(0,e),this.format),r=bh.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(r).floor().divUnsafe(n)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(e){if(null==e)return this._hex;e%8&&lh.throwArgumentError("invalid byte width","width",e);return Wd(rh.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString(),e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return Ch.fromString(this._value,e)}static fromValue(e,t,n){return null==n&&null!=t&&!function(e){return null!=e&&(rh.isBigNumber(e)||"number"==typeof e&&e%1===0||"string"==typeof e&&!!e.match(/^-?[0-9]+$/)||Vd(e)||"bigint"==typeof e||Bd(e))}(t)&&(n=t,t=null),null==t&&(t=0),null==n&&(n="fixed"),Ch.fromString(mh(e,t),vh.from(n))}static fromString(e,t){null==t&&(t="fixed");const n=vh.from(t),r=gh(e,n.decimals);!n.signed&&r.lt(uh)&&hh("unsigned value cannot be negative","overflow","value",e);let i=null;n.signed?i=r.toTwos(n.width).toHexString():(i=r.toHexString(),i=Wd(i,n.width/8));const o=mh(r,n.decimals);return new Ch(ch,i,o,n)}static fromBytes(e,t){null==t&&(t="fixed");const n=vh.from(t);if(Ud(e).length>n.width/8)throw new Error("overflow");let r=rh.from(e);n.signed&&(r=r.fromTwos(n.width));const i=r.toTwos((n.signed?0:1)+n.width).toHexString(),o=mh(r,n.decimals);return new Ch(ch,i,o,n)}static from(e,t){if("string"==typeof e)return Ch.fromString(e,t);if(Bd(e))return Ch.fromBytes(e,t);try{return Ch.fromValue(e,0,t)}catch(fl){if(fl.code!==Rd.errors.INVALID_ARGUMENT)throw fl}return lh.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!(!e||!e._isFixedNumber)}}const yh=Ch.from(1),bh=Ch.from("0.5"),wh=new Rd("strings/5.7.0");var xh,Ah;function Eh(e,t,n,r,i){if(e===Ah.BAD_PREFIX||e===Ah.UNEXPECTED_CONTINUE){let e=0;for(let r=t+1;r<n.length&&n[r]>>6===2;r++)e++;return e}return e===Ah.OVERRUN?n.length-t-1:0}function _h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xh.current;t!=xh.current&&(wh.checkNormalize(),e=e.normalize(t));let n=[];for(let r=0;r<e.length;r++){const t=e.charCodeAt(r);if(t<128)n.push(t);else if(t<2048)n.push(t>>6|192),n.push(63&t|128);else if(55296==(64512&t)){r++;const i=e.charCodeAt(r);if(r>=e.length||56320!==(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&t)<<10)+(1023&i);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(t>>12|224),n.push(t>>6&63|128),n.push(63&t|128)}return Ud(n)}function Th(e,t){t||(t=function(e){return[parseInt(e,16)]});let n=0,r={};return e.split(",").forEach((e=>{let i=e.split(":");n+=parseInt(i[0],16),r[n]=t(i[1])})),r}function Sh(e){let t=0;return e.split(",").map((e=>{let n=e.split("-");1===n.length?n[1]="0":""===n[1]&&(n[1]="1");let r=t+parseInt(n[0],16);return t=parseInt(n[1],16),{l:r,h:t}}))}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(xh||(xh={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(Ah||(Ah={})),Object.freeze({error:function(e,t,n,r,i){return wh.throwArgumentError("invalid codepoint at offset ".concat(t,"; ").concat(e),"bytes",n)},ignore:Eh,replace:function(e,t,n,r,i){return e===Ah.OVERLONG?(r.push(i),0):(r.push(65533),Eh(e,t,n))}}),Sh("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),"ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((e=>parseInt(e,16))),Th("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Th("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Th("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(e){if(e.length%4!==0)throw new Error("bad data");let t=[];for(let n=0;n<e.length;n+=4)t.push(parseInt(e.substring(n,n+4),16));return t})),Sh("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");const kh="hash/5.7.0";function Ph(e,t){null==t&&(t=1);const n=[],r=n.forEach,i=function(e,t){r.call(e,(function(e){t>0&&Array.isArray(e)?i(e,t-1):n.push(e)}))};return i(e,t),n}function Dh(e){return function(e){let t=0;return()=>e[t++]}(function(e){let t=0;function n(){return e[t++]<<8|e[t++]}let r=n(),i=1,o=[0,1];for(let b=1;b<r;b++)o.push(i+=n());let a=n(),s=t;t+=a;let l=0,c=0;function u(){return 0==l&&(c=c<<8|e[t++],l=8),c>>--l&1}const d=Math.pow(2,31),h=d>>>1,p=h>>1,f=d-1;let m=0;for(let b=0;b<31;b++)m=m<<1|u();let g=[],v=0,C=d;for(;;){let e=Math.floor(((m-v+1)*i-1)/C),t=0,n=r;for(;n-t>1;){let r=t+n>>>1;e<o[r]?n=r:t=r}if(0==t)break;g.push(t);let a=v+Math.floor(C*o[t]/i),s=v+Math.floor(C*o[t+1]/i)-1;for(;!((a^s)&h);)m=m<<1&f|u(),a=a<<1&f,s=s<<1&f|1;for(;a&~s&p;)m=m&h|m<<1&f>>>1|u(),a=a<<1^h,s=(s^h)<<1|h|1;v=a,C=1+s-a}let y=r-4;return g.map((t=>{switch(t-y){case 3:return y+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return y+256+(e[s++]<<8|e[s++]);case 1:return y+e[s++];default:return t-1}}))}(e))}function Nh(e){return 1&e?~e>>1:e>>1}function Fh(e,t){let n=Array(e);for(let r=0,i=-1;r<e;r++)n[r]=i+=1+t();return n}function Ih(e,t){let n=Array(e);for(let r=0,i=0;r<e;r++)n[r]=i+=Nh(t());return n}function Rh(e,t){let n=Fh(e(),e),r=e(),i=Fh(r,e),o=function(e,t){let n=Array(e);for(let r=0;r<e;r++)n[r]=1+t();return n}(r,e);for(let a=0;a<r;a++)for(let e=0;e<o[a];e++)n.push(i[a]+e);return t?n.map((e=>t[e])):n}function Mh(e,t,n){let r=Array(e).fill(void 0).map((()=>[]));for(let i=0;i<t;i++)Ih(e,n).forEach(((e,t)=>r[t].push(e)));return r}function Oh(e,t){let n=1+t(),r=t(),i=function(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(n)}return t}(t);return Ph(Mh(i.length,1+e,t).map(((e,t)=>{const o=e[0],a=e.slice(1);return Array(i[t]).fill(void 0).map(((e,t)=>{let i=t*r;return[o+t*n,a.map((e=>e+i))]}))})))}function jh(e,t){return Mh(1+t(),1+e,t).map((e=>[e[0],e.slice(1)]))}const Lh=Dh(function(e){e=atob(e);const t=[];for(let n=0;n<e.length;n++)t.push(e.charCodeAt(n));return Ud(t)}("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="));new Set(Rh(Lh)),new Set(Rh(Lh)),function(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(Oh(n,e))}for(;;){let n=e()-1;if(n<0)break;t.push(jh(n,e))}(function(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[r[0]]=r[1]}})(Ph(t))}(Lh),function(e){let t=Rh(e).sort(((e,t)=>e-t));(function n(){let r=[];for(;;){let i=Rh(e,t);if(0==i.length)break;r.push({set:new Set(i),node:n()})}r.sort(((e,t)=>t.set.size-e.set.size));let i=e(),o=i%3;i=i/3|0;let a=!!(1&i);i>>=1;let s=1==i,l=2==i;return{branches:r,valid:o,fe0f:a,save:s,check:l}})()}(Lh),new Rd(kh);new Uint8Array(32).fill(0);const Bh="\x19Ethereum Signed Message:\n";function Uh(e){return"string"==typeof e&&(e=_h(e)),Gd(function(e){const t=e.map((e=>Ud(e))),n=t.reduce(((e,t)=>e+t.length),0),r=new Uint8Array(n);return t.reduce(((e,t)=>(r.set(t,e),e+t.length)),0),jd(r)}([_h(Bh),_h(String(e.length)),e]))}new Rd("rlp/5.7.0");const Vh=new Rd("address/5.7.0");function Hh(e){Vd(e,20)||Vh.throwArgumentError("invalid address","address",e);const t=(e=e.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let i=0;i<40;i++)n[i]=t[i].charCodeAt(0);const r=Ud(Gd(n));for(let i=0;i<40;i+=2)r[i>>1]>>4>=8&&(t[i]=t[i].toUpperCase()),(15&r[i>>1])>=8&&(t[i+1]=t[i+1].toUpperCase());return"0x"+t.join("")}const zh={};for(let Ax=0;Ax<10;Ax++)zh[String(Ax)]=String(Ax);for(let Ax=0;Ax<26;Ax++)zh[String.fromCharCode(65+Ax)]=String(10+Ax);const Zh=Math.floor(function(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}(9007199254740991));function Wh(e){let t=null;if("string"!=typeof e&&Vh.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=Hh(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&Vh.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==function(e){let t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>zh[e])).join("");for(;t.length>=Zh;){let e=t.substring(0,Zh);t=parseInt(e,10)%97+t.substring(e.length)}let n=String(98-parseInt(t,10)%97);for(;n.length<2;)n="0"+n;return n}(e)&&Vh.throwArgumentError("bad icap checksum","address",e),t=function(e){return new Jd(e,36).toString(16)}(e.substring(4));t.length<40;)t="0"+t;t=Hh("0x"+t)}else Vh.throwArgumentError("invalid address","address",e);return t}function qh(e,t,n){Object.defineProperty(e,t,{enumerable:!0,value:n,writable:!1})}new Rd("properties/5.7.0"),new Rd(kh);new Uint8Array(32).fill(0),rh.from(-1);const Gh=rh.from(0),Yh=rh.from(1);rh.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),Wd(Yh.toHexString(),32),Wd(Gh.toHexString(),32);var Kh={},Qh={},Xh=Jh;function Jh(e,t){if(!e)throw new Error(t||"Assertion failed")}Jh.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)};var $h={exports:{}};"function"==typeof Object.create?$h.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:$h.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var ep=Xh,tp=$h.exports;function np(e,t){return!(55296!==(64512&e.charCodeAt(t))||t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1))}function rp(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function ip(e){return 1===e.length?"0"+e:e}function op(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}Qh.inherits=tp,Qh.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):np(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},Qh.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=ip(e[n].toString(16));return t},Qh.htonl=rp,Qh.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=rp(i)),n+=op(i.toString(16))}return n},Qh.zero2=ip,Qh.zero8=op,Qh.join32=function(e,t,n,r){var i=n-t;ep(i%4===0);for(var o=new Array(i/4),a=0,s=t;a<o.length;a++,s+=4){var l;l="big"===r?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[a]=l>>>0}return o},Qh.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},Qh.rotr32=function(e,t){return e>>>t|e<<32-t},Qh.rotl32=function(e,t){return e<<t|e>>>32-t},Qh.sum32=function(e,t){return e+t>>>0},Qh.sum32_3=function(e,t,n){return e+t+n>>>0},Qh.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},Qh.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},Qh.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=o},Qh.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},Qh.sum64_lo=function(e,t,n,r){return t+r>>>0},Qh.sum64_4_hi=function(e,t,n,r,i,o,a,s){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+o>>>0)<o?1:0,e+n+i+a+(l+=(c=c+s>>>0)<s?1:0)>>>0},Qh.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},Qh.sum64_5_hi=function(e,t,n,r,i,o,a,s,l,c){var u=0,d=t;return u+=(d=d+r>>>0)<t?1:0,u+=(d=d+o>>>0)<o?1:0,u+=(d=d+s>>>0)<s?1:0,e+n+i+a+l+(u+=(d=d+c>>>0)<c?1:0)>>>0},Qh.sum64_5_lo=function(e,t,n,r,i,o,a,s,l,c){return t+r+o+s+c>>>0},Qh.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},Qh.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},Qh.shr64_hi=function(e,t,n){return e>>>n},Qh.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0};var ap={},sp=Qh,lp=Xh;function cp(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ap.BlockHash=cp,cp.prototype.update=function(e,t){if(e=sp.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=sp.join32(e,0,e.length-n,this.endian);for(var r=0;r<e.length;r+=this._delta32)this._update(e,r,r+this._delta32)}return this},cp.prototype.digest=function(e){return this.update(this._pad()),lp(null===this.pending),this._digest(e)},cp.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r};var up={},dp={},hp=Qh.rotr32;function pp(e,t,n){return e&t^~e&n}function fp(e,t,n){return e&t^e&n^t&n}function mp(e,t,n){return e^t^n}dp.ft_1=function(e,t,n,r){return 0===e?pp(t,n,r):1===e||3===e?mp(t,n,r):2===e?fp(t,n,r):void 0},dp.ch32=pp,dp.maj32=fp,dp.p32=mp,dp.s0_256=function(e){return hp(e,2)^hp(e,13)^hp(e,22)},dp.s1_256=function(e){return hp(e,6)^hp(e,11)^hp(e,25)},dp.g0_256=function(e){return hp(e,7)^hp(e,18)^e>>>3},dp.g1_256=function(e){return hp(e,17)^hp(e,19)^e>>>10};var gp=Qh,vp=ap,Cp=dp,yp=gp.rotl32,bp=gp.sum32,wp=gp.sum32_5,xp=Cp.ft_1,Ap=vp.BlockHash,Ep=[1518500249,1859775393,2400959708,3395469782];function _p(){if(!(this instanceof _p))return new _p;Ap.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}gp.inherits(_p,Ap);var Tp=_p;_p.blockSize=512,_p.outSize=160,_p.hmacStrength=80,_p.padLength=64,_p.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=yp(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4];for(r=0;r<n.length;r++){var c=~~(r/20),u=wp(yp(i,5),xp(c,o,a,s),l,n[r],Ep[c]);l=s,s=a,a=yp(o,30),o=i,i=u}this.h[0]=bp(this.h[0],i),this.h[1]=bp(this.h[1],o),this.h[2]=bp(this.h[2],a),this.h[3]=bp(this.h[3],s),this.h[4]=bp(this.h[4],l)},_p.prototype._digest=function(e){return"hex"===e?gp.toHex32(this.h,"big"):gp.split32(this.h,"big")};var Sp=Qh,kp=ap,Pp=dp,Dp=Xh,Np=Sp.sum32,Fp=Sp.sum32_4,Ip=Sp.sum32_5,Rp=Pp.ch32,Mp=Pp.maj32,Op=Pp.s0_256,jp=Pp.s1_256,Lp=Pp.g0_256,Bp=Pp.g1_256,Up=kp.BlockHash,Vp=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Hp(){if(!(this instanceof Hp))return new Hp;Up.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=Vp,this.W=new Array(64)}Sp.inherits(Hp,Up);var zp=Hp;Hp.blockSize=512,Hp.outSize=256,Hp.hmacStrength=192,Hp.padLength=64,Hp.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=Fp(Bp(n[r-2]),n[r-7],Lp(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],c=this.h[5],u=this.h[6],d=this.h[7];for(Dp(this.k.length===n.length),r=0;r<n.length;r++){var h=Ip(d,jp(l),Rp(l,c,u),this.k[r],n[r]),p=Np(Op(i),Mp(i,o,a));d=u,u=c,c=l,l=Np(s,h),s=a,a=o,o=i,i=Np(h,p)}this.h[0]=Np(this.h[0],i),this.h[1]=Np(this.h[1],o),this.h[2]=Np(this.h[2],a),this.h[3]=Np(this.h[3],s),this.h[4]=Np(this.h[4],l),this.h[5]=Np(this.h[5],c),this.h[6]=Np(this.h[6],u),this.h[7]=Np(this.h[7],d)},Hp.prototype._digest=function(e){return"hex"===e?Sp.toHex32(this.h,"big"):Sp.split32(this.h,"big")};var Zp=Qh,Wp=zp;function qp(){if(!(this instanceof qp))return new qp;Wp.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Zp.inherits(qp,Wp);var Gp=qp;qp.blockSize=512,qp.outSize=224,qp.hmacStrength=192,qp.padLength=64,qp.prototype._digest=function(e){return"hex"===e?Zp.toHex32(this.h.slice(0,7),"big"):Zp.split32(this.h.slice(0,7),"big")};var Yp=Qh,Kp=ap,Qp=Xh,Xp=Yp.rotr64_hi,Jp=Yp.rotr64_lo,$p=Yp.shr64_hi,ef=Yp.shr64_lo,tf=Yp.sum64,nf=Yp.sum64_hi,rf=Yp.sum64_lo,of=Yp.sum64_4_hi,af=Yp.sum64_4_lo,sf=Yp.sum64_5_hi,lf=Yp.sum64_5_lo,cf=Kp.BlockHash,uf=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function df(){if(!(this instanceof df))return new df;cf.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=uf,this.W=new Array(160)}Yp.inherits(df,cf);var hf=df;function pf(e,t,n,r,i){var o=e&n^~e&i;return o<0&&(o+=4294967296),o}function ff(e,t,n,r,i,o){var a=t&r^~t&o;return a<0&&(a+=4294967296),a}function mf(e,t,n,r,i){var o=e&n^e&i^n&i;return o<0&&(o+=4294967296),o}function gf(e,t,n,r,i,o){var a=t&r^t&o^r&o;return a<0&&(a+=4294967296),a}function vf(e,t){var n=Xp(e,t,28)^Xp(t,e,2)^Xp(t,e,7);return n<0&&(n+=4294967296),n}function Cf(e,t){var n=Jp(e,t,28)^Jp(t,e,2)^Jp(t,e,7);return n<0&&(n+=4294967296),n}function yf(e,t){var n=Xp(e,t,14)^Xp(e,t,18)^Xp(t,e,9);return n<0&&(n+=4294967296),n}function bf(e,t){var n=Jp(e,t,14)^Jp(e,t,18)^Jp(t,e,9);return n<0&&(n+=4294967296),n}function wf(e,t){var n=Xp(e,t,1)^Xp(e,t,8)^$p(e,t,7);return n<0&&(n+=4294967296),n}function xf(e,t){var n=Jp(e,t,1)^Jp(e,t,8)^ef(e,t,7);return n<0&&(n+=4294967296),n}function Af(e,t){var n=Xp(e,t,19)^Xp(t,e,29)^$p(e,t,6);return n<0&&(n+=4294967296),n}function Ef(e,t){var n=Jp(e,t,19)^Jp(t,e,29)^ef(e,t,6);return n<0&&(n+=4294967296),n}df.blockSize=1024,df.outSize=512,df.hmacStrength=192,df.padLength=128,df.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=Af(n[r-4],n[r-3]),o=Ef(n[r-4],n[r-3]),a=n[r-14],s=n[r-13],l=wf(n[r-30],n[r-29]),c=xf(n[r-30],n[r-29]),u=n[r-32],d=n[r-31];n[r]=of(i,o,a,s,l,c,u,d),n[r+1]=af(i,o,a,s,l,c,u,d)}},df.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],o=this.h[2],a=this.h[3],s=this.h[4],l=this.h[5],c=this.h[6],u=this.h[7],d=this.h[8],h=this.h[9],p=this.h[10],f=this.h[11],m=this.h[12],g=this.h[13],v=this.h[14],C=this.h[15];Qp(this.k.length===n.length);for(var y=0;y<n.length;y+=2){var b=v,w=C,x=yf(d,h),A=bf(d,h),E=pf(d,h,p,f,m),_=ff(d,h,p,f,m,g),T=this.k[y],S=this.k[y+1],k=n[y],P=n[y+1],D=sf(b,w,x,A,E,_,T,S,k,P),N=lf(b,w,x,A,E,_,T,S,k,P);b=vf(r,i),w=Cf(r,i),x=mf(r,i,o,a,s),A=gf(r,i,o,a,s,l);var F=nf(b,w,x,A),I=rf(b,w,x,A);v=m,C=g,m=p,g=f,p=d,f=h,d=nf(c,u,D,N),h=rf(u,u,D,N),c=s,u=l,s=o,l=a,o=r,a=i,r=nf(D,N,F,I),i=rf(D,N,F,I)}tf(this.h,0,r,i),tf(this.h,2,o,a),tf(this.h,4,s,l),tf(this.h,6,c,u),tf(this.h,8,d,h),tf(this.h,10,p,f),tf(this.h,12,m,g),tf(this.h,14,v,C)},df.prototype._digest=function(e){return"hex"===e?Yp.toHex32(this.h,"big"):Yp.split32(this.h,"big")};var _f=Qh,Tf=hf;function Sf(){if(!(this instanceof Sf))return new Sf;Tf.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}_f.inherits(Sf,Tf);var kf=Sf;Sf.blockSize=1024,Sf.outSize=384,Sf.hmacStrength=192,Sf.padLength=128,Sf.prototype._digest=function(e){return"hex"===e?_f.toHex32(this.h.slice(0,12),"big"):_f.split32(this.h.slice(0,12),"big")},up.sha1=Tp,up.sha224=Gp,up.sha256=zp,up.sha384=kf,up.sha512=hf;var Pf={},Df=Qh,Nf=ap,Ff=Df.rotl32,If=Df.sum32,Rf=Df.sum32_3,Mf=Df.sum32_4,Of=Nf.BlockHash;function jf(){if(!(this instanceof jf))return new jf;Of.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function Lf(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function Bf(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function Uf(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}Df.inherits(jf,Of),Pf.ripemd160=jf,jf.blockSize=512,jf.outSize=160,jf.hmacStrength=192,jf.padLength=64,jf.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],o=this.h[3],a=this.h[4],s=n,l=r,c=i,u=o,d=a,h=0;h<80;h++){var p=If(Ff(Mf(n,Lf(h,r,i,o),e[Vf[h]+t],Bf(h)),zf[h]),a);n=a,a=o,o=Ff(i,10),i=r,r=p,p=If(Ff(Mf(s,Lf(79-h,l,c,u),e[Hf[h]+t],Uf(h)),Zf[h]),d),s=d,d=u,u=Ff(c,10),c=l,l=p}p=Rf(this.h[1],i,u),this.h[1]=Rf(this.h[2],o,d),this.h[2]=Rf(this.h[3],a,s),this.h[3]=Rf(this.h[4],n,l),this.h[4]=Rf(this.h[0],r,c),this.h[0]=p},jf.prototype._digest=function(e){return"hex"===e?Df.toHex32(this.h,"little"):Df.split32(this.h,"little")};var Vf=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],Hf=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],zf=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],Zf=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],Wf=Qh,qf=Xh;function Gf(e,t,n){if(!(this instanceof Gf))return new Gf(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(Wf.toArray(t,n))}var Yf=Gf;function Kf(e,t,n){return n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null!==t&&void 0!==t||n.path)}},e(n,n.exports),n.exports}Gf.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),qf(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},Gf.prototype.update=function(e,t){return this.inner.update(e,t),this},Gf.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)},function(e){var t=e;t.utils=Qh,t.common=ap,t.sha=up,t.ripemd=Pf,t.hmac=Yf,t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160}(Kh);var Qf=Xf;function Xf(e,t){if(!e)throw new Error(t||"Assertion failed")}Xf.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)};var Jf=Kf((function(e,t){var n=t;function r(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}})),$f=Kf((function(e,t){var n=t;n.assert=Qf,n.toArray=Jf.toArray,n.zero2=Jf.zero2,n.toHex=Jf.toHex,n.encode=Jf.encode,n.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<r.length;a++){var s,l=o.andln(i-1);o.isOdd()?(s=l>(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},n.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,l=e.andln(3)+i&3,c=t.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),1&l?a=3!==(r=e.andln(7)+i&7)&&5!==r||2!==c?l:-l:a=0,n[0].push(a),1&c?s=3!==(r=t.andln(7)+o&7)&&5!==r||2!==l?c:-c:s=0,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},n.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new Qd(e,"hex","le")}})),em=$f.getNAF,tm=$f.getJSF,nm=$f.assert;function rm(e,t){this.type=e,this.p=new Qd(t.p,16),this.red=t.prime?Qd.red(t.prime):Qd.mont(this.p),this.zero=new Qd(0).toRed(this.red),this.one=new Qd(1).toRed(this.red),this.two=new Qd(2).toRed(this.red),this.n=t.n&&new Qd(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var im=rm;function om(e,t){this.curve=e,this.type=t,this.precomputed=null}rm.prototype.point=function(){throw new Error("Not implemented")},rm.prototype.validate=function(){throw new Error("Not implemented")},rm.prototype._fixedNafMul=function(e,t){nm(e.precomputed);var n=e._getDoubles(),r=em(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var o,a,s=[];for(o=0;o<r.length;o+=n.step){a=0;for(var l=o+n.step-1;l>=o;l--)a=(a<<1)+r[l];s.push(a)}for(var c=this.jpoint(null,null,null),u=this.jpoint(null,null,null),d=i;d>0;d--){for(o=0;o<s.length;o++)(a=s[o])===d?u=u.mixedAdd(n.points[o]):a===-d&&(u=u.mixedAdd(n.points[o].neg()));c=c.add(u)}return c.toP()},rm.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,o=em(t,n,this._bitLength),a=this.jpoint(null,null,null),s=o.length-1;s>=0;s--){for(var l=0;s>=0&&0===o[s];s--)l++;if(s>=0&&l++,a=a.dblp(l),s<0)break;var c=o[s];nm(0!==c),a="affine"===e.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===e.type?a.toP():a},rm.prototype._wnafMulAdd=function(e,t,n,r,i){var o,a,s,l=this._wnafT1,c=this._wnafT2,u=this._wnafT3,d=0;for(o=0;o<r;o++){var h=(s=t[o])._getNAFPoints(e);l[o]=h.wnd,c[o]=h.points}for(o=r-1;o>=1;o-=2){var p=o-1,f=o;if(1===l[p]&&1===l[f]){var m=[t[p],null,null,t[f]];0===t[p].y.cmp(t[f].y)?(m[1]=t[p].add(t[f]),m[2]=t[p].toJ().mixedAdd(t[f].neg())):0===t[p].y.cmp(t[f].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[f]),m[2]=t[p].add(t[f].neg())):(m[1]=t[p].toJ().mixedAdd(t[f]),m[2]=t[p].toJ().mixedAdd(t[f].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=tm(n[p],n[f]);for(d=Math.max(v[0].length,d),u[p]=new Array(d),u[f]=new Array(d),a=0;a<d;a++){var C=0|v[0][a],y=0|v[1][a];u[p][a]=g[3*(C+1)+(y+1)],u[f][a]=0,c[p]=m}}else u[p]=em(n[p],l[p],this._bitLength),u[f]=em(n[f],l[f],this._bitLength),d=Math.max(u[p].length,d),d=Math.max(u[f].length,d)}var b=this.jpoint(null,null,null),w=this._wnafT4;for(o=d;o>=0;o--){for(var x=0;o>=0;){var A=!0;for(a=0;a<r;a++)w[a]=0|u[a][o],0!==w[a]&&(A=!1);if(!A)break;x++,o--}if(o>=0&&x++,b=b.dblp(x),o<0)break;for(a=0;a<r;a++){var E=w[a];0!==E&&(E>0?s=c[a][E-1>>1]:E<0&&(s=c[a][-E-1>>1].neg()),b="affine"===s.type?b.mixedAdd(s):b.add(s))}}for(o=0;o<r;o++)c[o]=null;return i?b:b.toP()},rm.BasePoint=om,om.prototype.eq=function(){throw new Error("Not implemented")},om.prototype.validate=function(){return this.curve.validate(this)},rm.prototype.decodePoint=function(e,t){e=$f.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*n)return 6===e[0]?nm(e[e.length-1]%2===0):7===e[0]&&nm(e[e.length-1]%2===1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},om.prototype.encodeCompressed=function(e){return this.encode(e,!0)},om.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},om.prototype.encode=function(e,t){return $f.encode(this._encode(t),e)},om.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},om.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},om.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();n.push(r)}return{step:e,points:n}},om.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},om.prototype._getBeta=function(){return null},om.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t};var am=Kf((function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),sm=$f.assert;function lm(e){im.call(this,"short",e),this.a=new Qd(e.a,16).toRed(this.red),this.b=new Qd(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}am(lm,im);var cm=lm;function um(e,t,n,r){im.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new Qd(t,16),this.y=new Qd(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function dm(e,t,n,r){im.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Qd(0)):(this.x=new Qd(t,16),this.y=new Qd(n,16),this.z=new Qd(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}lm.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new Qd(e.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);t=(t=i[0].cmp(i[1])<0?i[0]:i[1]).toRed(this.red)}if(e.lambda)n=new Qd(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],sm(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new Qd(e.a,16),b:new Qd(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},lm.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:Qd.mont(e),n=new Qd(2).toRed(t).redInvm(),r=n.redNeg(),i=new Qd(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(i).fromRed(),r.redSub(i).fromRed()]},lm.prototype._getEndoBasis=function(e){for(var t,n,r,i,o,a,s,l,c,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new Qd(1),f=new Qd(0),m=new Qd(0),g=new Qd(1),v=0;0!==d.cmpn(0);){var C=h.div(d);l=h.sub(C.mul(d)),c=m.sub(C.mul(p));var y=g.sub(C.mul(f));if(!r&&l.cmp(u)<0)t=s.neg(),n=p,r=l.neg(),i=c;else if(r&&2===++v)break;s=l,h=d,d=l,m=p,p=c,g=f,f=y}o=l.neg(),a=c;var b=r.sqr().add(i.sqr());return o.sqr().add(a.sqr()).cmp(b)>=0&&(o=t,a=n),r.negative&&(r=r.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:i},{a:o,b:a}]},lm.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),l=i.mul(n.b),c=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:l.add(c).neg()}},lm.prototype.pointFromX=function(e,t){(e=new Qd(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)},lm.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},lm.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),r[2*o]=s,r[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),u=0;u<2*o;u++)r[u]=null,i[u]=null;return c},am(um,im.BasePoint),lm.prototype.point=function(e,t,n){return new um(this,e,t,n)},lm.prototype.pointFromJSON=function(e,t){return um.fromJSON(this,e,t)},um.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},um.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},um.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},um.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},um.prototype.isInfinity=function(){return this.inf},um.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},um.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},um.prototype.getX=function(){return this.x.fromRed()},um.prototype.getY=function(){return this.y.fromRed()},um.prototype.mul=function(e){return e=new Qd(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},um.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},um.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},um.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},um.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},um.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},am(dm,im.BasePoint),lm.prototype.jpoint=function(e,t,n){return new dm(this,e,t,n)},dm.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},dm.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},dm.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),d=r.redMul(c),h=l.redSqr().redIAdd(u).redISub(d).redISub(d),p=l.redMul(d.redISub(h)).redISub(o.redMul(u)),f=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,p,f)},dm.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),u=n.redMul(l),d=s.redSqr().redIAdd(c).redISub(u).redISub(u),h=s.redMul(u.redISub(d)).redISub(i.redMul(c)),p=this.z.redMul(a);return this.curve.jpoint(d,h,p)},dm.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),c=a.redAdd(a);for(t=0;t<e;t++){var u=o.redSqr(),d=c.redSqr(),h=d.redSqr(),p=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),f=o.redMul(d),m=p.redSqr().redISub(f.redAdd(f)),g=f.redISub(m),v=p.redMul(g);v=v.redIAdd(v).redISub(h);var C=c.redMul(s);t+1<e&&(l=l.redMul(h)),o=m,s=C,c=v}return this.curve.jpoint(o,c.redMul(i),s)},dm.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},dm.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),l=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=l,t=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(u).redISub(h);p=p.redIAdd(p);var f=u.redAdd(u).redIAdd(u),m=f.redSqr(),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(p).redISub(p),t=f.redMul(p.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},dm.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),p=this.x.redSub(u).redMul(this.x.redAdd(u));p=p.redAdd(p).redIAdd(p);var f=h.redIAdd(h),m=(f=f.redIAdd(f)).redAdd(f);e=p.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(d).redISub(u);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=p.redMul(f.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},dm.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),a=n.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=t.redAdd(t),c=(l=l.redIAdd(l)).redMul(a),u=s.redSqr().redISub(c.redAdd(c)),d=c.redISub(u),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var p=s.redMul(d).redISub(h),f=n.redAdd(n).redMul(r);return this.curve.jpoint(u,p,f)},dm.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),u=t.redMul(c);u=(u=u.redIAdd(u)).redIAdd(u);var d=this.x.redMul(s).redISub(u);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(c.redMul(l.redISub(c)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var p=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(d,h,p)},dm.prototype.mul=function(e,t){return e=new Qd(e,t),this.curve._wnafMul(this,e)},dm.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},dm.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},dm.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},dm.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var hm=Kf((function(e,t){var n=t;n.base=im,n.short=cm,n.mont=null,n.edwards=null})),pm=Kf((function(e,t){var n,r=t,i=$f.assert;function o(e){"short"===e.type?this.curve=new hm.short(e):"edwards"===e.type?this.curve=new hm.edwards(e):this.curve=new hm.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new o(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=o,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Kh.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Kh.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Kh.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Kh.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Kh.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Kh.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Kh.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch{n=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Kh.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function fm(e){if(!(this instanceof fm))return new fm(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=Jf.toArray(e.entropy,e.entropyEnc||"hex"),n=Jf.toArray(e.nonce,e.nonceEnc||"hex"),r=Jf.toArray(e.pers,e.persEnc||"hex");Qf(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}var mm=fm;fm.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},fm.prototype._hmac=function(){return new Kh.hmac(this.hash,this.K)},fm.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},fm.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=Jf.toArray(e,t),n=Jf.toArray(n,r),Qf(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},fm.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=Jf.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(n),this._reseed++,Jf.encode(o,t)};var gm=$f.assert;function vm(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var Cm=vm;vm.fromPublic=function(e,t,n){return t instanceof vm?t:new vm(e,{pub:t,pubEnc:n})},vm.fromPrivate=function(e,t,n){return t instanceof vm?t:new vm(e,{priv:t,privEnc:n})},vm.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},vm.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},vm.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},vm.prototype._importPrivate=function(e,t){this.priv=new Qd(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},vm.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?gm(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&gm(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},vm.prototype.derive=function(e){return e.validate()||gm(e.validate(),"public point not validated"),e.mul(this.priv).getX()},vm.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},vm.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},vm.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var ym=$f.assert;function bm(e,t){if(e instanceof bm)return e;this._importDER(e,t)||(ym(e.r&&e.s,"Signature without r or s"),this.r=new Qd(e.r,16),this.s=new Qd(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var wm=bm;function xm(){this.place=0}function Am(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o<r;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function Em(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function _m(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}bm.prototype._importDER=function(e,t){e=$f.toArray(e,t);var n=new xm;if(48!==e[n.place++])return!1;var r=Am(e,n);if(!1===r||r+n.place!==e.length||2!==e[n.place++])return!1;var i=Am(e,n);if(!1===i)return!1;var o=e.slice(n.place,i+n.place);if(n.place+=i,2!==e[n.place++])return!1;var a=Am(e,n);if(!1===a||e.length!==a+n.place)return!1;var s=e.slice(n.place,a+n.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new Qd(o),this.s=new Qd(s),this.recoveryParam=null,!0},bm.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=Em(t),n=Em(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];_m(r,t.length),(r=r.concat(t)).push(2),_m(r,n.length);var i=r.concat(n),o=[48];return _m(o,i.length),o=o.concat(i),$f.encode(o,e)};var Tm=function(){throw new Error("unsupported")},Sm=$f.assert;function km(e){if(!(this instanceof km))return new km(e);"string"==typeof e&&(Sm(Object.prototype.hasOwnProperty.call(pm,e),"Unknown curve "+e),e=pm[e]),e instanceof pm.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var Pm=km;km.prototype.keyPair=function(e){return new Cm(this,e)},km.prototype.keyFromPrivate=function(e,t){return Cm.fromPrivate(this,e,t)},km.prototype.keyFromPublic=function(e,t){return Cm.fromPublic(this,e,t)},km.prototype.genKeyPair=function(e){e||(e={});for(var t=new mm({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||Tm(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new Qd(2));;){var i=new Qd(t.generate(n));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}},km.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},km.prototype.sign=function(e,t,n,r){"object"==typeof n&&(r=n,n=null),r||(r={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new Qd(e,16));for(var i=this.n.byteLength(),o=t.getPrivate().toArray("be",i),a=e.toArray("be",i),s=new mm({hash:this.hash,entropy:o,nonce:a,pers:r.pers,persEnc:r.persEnc||"utf8"}),l=this.n.sub(new Qd(1)),c=0;;c++){var u=r.k?r.k(c):new Qd(s.generate(this.n.byteLength()));if(!((u=this._truncateToN(u,!0)).cmpn(1)<=0||u.cmp(l)>=0)){var d=this.g.mul(u);if(!d.isInfinity()){var h=d.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var f=u.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(f=f.umod(this.n)).cmpn(0)){var m=(d.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return r.canonical&&f.cmp(this.nh)>0&&(f=this.n.sub(f),m^=1),new wm({r:p,s:f,recoveryParam:m})}}}}}},km.prototype.verify=function(e,t,n,r){e=this._truncateToN(new Qd(e,16)),n=this.keyFromPublic(n,r);var i=(t=new wm(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0||o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),l=s.mul(e).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,n.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(l,n.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},km.prototype.recoverPubKey=function(e,t,n,r){Sm((3&n)===n,"The recovery param is more than two bits"),t=new wm(t,r);var i=this.n,o=new Qd(e),a=t.r,s=t.s,l=1&n,c=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),l):this.curve.pointFromX(a,l);var u=t.r.invm(i),d=i.sub(o).mul(u).umod(i),h=s.mul(u).umod(i);return this.g.mulAdd(d,a,h)},km.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new wm(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var Dm=Kf((function(e,t){var n=t;n.version="6.5.4",n.utils=$f,n.rand=function(){throw new Error("unsupported")},n.curve=hm,n.curves=pm,n.ec=Pm,n.eddsa=null})),Nm=Dm.ec;const Fm=new Rd("signing-key/5.7.0");let Im=null;function Rm(){return Im||(Im=new Nm("secp256k1")),Im}class Mm{constructor(e){qh(this,"curve","secp256k1"),qh(this,"privateKey",zd(e)),32!==function(e){if("string"!=typeof e)e=zd(e);else if(!Vd(e)||e.length%2)return null;return(e.length-2)/2}(this.privateKey)&&Fm.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const t=Rm().keyFromPrivate(Ud(this.privateKey));qh(this,"publicKey","0x"+t.getPublic(!1,"hex")),qh(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),qh(this,"_isSigningKey",!0)}_addPoint(e){const t=Rm().keyFromPublic(Ud(this.publicKey)),n=Rm().keyFromPublic(Ud(e));return"0x"+t.pub.add(n.pub).encodeCompressed("hex")}signDigest(e){const t=Rm().keyFromPrivate(Ud(this.privateKey)),n=Ud(e);32!==n.length&&Fm.throwArgumentError("bad digest length","digest",e);const r=t.sign(n,{canonical:!0});return qd({recoveryParam:r.recoveryParam,r:Wd("0x"+r.r.toString(16),32),s:Wd("0x"+r.s.toString(16),32)})}computeSharedSecret(e){const t=Rm().keyFromPrivate(Ud(this.privateKey)),n=Rm().keyFromPublic(Ud(Om(e)));return Wd("0x"+t.derive(n.getPublic()).toString(16),32)}static isSigningKey(e){return!(!e||!e._isSigningKey)}}function Om(e,t){const n=Ud(e);if(32===n.length){const e=new Mm(n);return t?"0x"+Rm().keyFromPrivate(n).getPublic(!0,"hex"):e.publicKey}return 33===n.length?t?zd(n):"0x"+Rm().keyFromPublic(n).getPublic(!1,"hex"):65===n.length?t?"0x"+Rm().keyFromPublic(n).getPublic(!0,"hex"):zd(n):Fm.throwArgumentError("invalid public or private key","key","[REDACTED]")}var jm;function Lm(e,t){return function(e){return Wh(Zd(Gd(Zd(Om(e),1)),12))}(function(e,t){const n=qd(t),r={r:Ud(n.r),s:Ud(n.s)};return"0x"+Rm().recoverPubKey(Ud(e),r,n.recoveryParam).encode("hex",!1)}(Ud(e),t))}new Rd("transactions/5.7.0"),function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(jm||(jm={}));const Bm="https://rpc.walletconnect.com/v1";async function Um(e,t,n,r,i,o){switch(n.t){case"eip191":return function(e,t,n){return Lm(Uh(t),n).toLowerCase()===e.toLowerCase()}(e,t,n.s);case"eip1271":return await async function(e,t,n,r,i,o){try{const a="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",l="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),u=a+Uh(t).substring(2)+s+l+c,d=await fetch("".concat(o||Bm,"/?chainId=").concat(r,"&projectId=").concat(i),{method:"POST",body:JSON.stringify({id:Vm(),jsonrpc:"2.0",method:"eth_call",params:[{to:e,data:u},"latest"]})}),{result:h}=await d.json();return!!h&&h.slice(0,a.length).toLowerCase()===a.toLowerCase()}catch(Zs){return console.error("isValidEip1271Signature: ",Zs),!1}}(e,t,n.s,r,i,o);default:throw new Error("verifySignature failed: Attempted to verify CacaoSignature with unknown type: ".concat(n.t))}}function Vm(){return Date.now()+Math.floor(1e3*Math.random())}var Hm=Object.defineProperty,zm=Object.defineProperties,Zm=Object.getOwnPropertyDescriptors,Wm=Object.getOwnPropertySymbols,qm=Object.prototype.hasOwnProperty,Gm=Object.prototype.propertyIsEnumerable,Ym=(e,t,n)=>t in e?Hm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Km=(e,t)=>{for(var n in t||(t={}))qm.call(t,n)&&Ym(e,n,t[n]);if(Wm)for(var n of Wm(t))Gm.call(t,n)&&Ym(e,n,t[n]);return e},Qm=(e,t)=>zm(e,Zm(t));const Xm=e=>null===e||void 0===e?void 0:e.split(":"),Jm=e=>{const t=e&&Xm(e);if(t)return e.includes("did:pkh:")?t[3]:t[1]},$m=e=>{const t=e&&Xm(e);if(t)return t[2]+":"+t[3]},eg=e=>{const t=e&&Xm(e);if(t)return t.pop()};async function tg(e){const{cacao:t,projectId:n}=e,{s:r,p:i}=t,o=ng(i,i.iss),a=eg(i.iss);return await Um(a,o,r,Jm(i.iss),n)}const ng=(e,t)=>{const n="".concat(e.domain," wants you to sign in with your Ethereum account:"),r=eg(t);if(!e.aud&&!e.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let i=e.statement||void 0;const o="URI: ".concat(e.aud||e.uri),a="Version: ".concat(e.version),s="Chain ID: ".concat(Jm(t)),l="Nonce: ".concat(e.nonce),c="Issued At: ".concat(e.iat),u=e.resources?"Resources:".concat(e.resources.map((e=>"\n- ".concat(e))).join("")):void 0,d=pg(e.resources);if(d){i=ug(i,ag(d))}return[n,r,"",i,"",o,a,s,l,c,u].filter((e=>null!=e)).join("\n")};function rg(e){if(!e)throw new Error("No recap provided, value is undefined");if(!e.att)throw new Error("No `att` property found");const t=Object.keys(e.att);if(null==t||!t.length)throw new Error("No resources found in `att` property");t.forEach((t=>{const n=e.att[t];if(Array.isArray(n))throw new Error("Resource must be an object: ".concat(t));if("object"!=typeof n)throw new Error("Resource must be an object: ".concat(t));if(!Object.keys(n).length)throw new Error("Resource object is empty: ".concat(t));Object.keys(n).forEach((e=>{const t=n[e];if(!Array.isArray(t))throw new Error("Ability limits ".concat(e," must be an array of objects, found: ").concat(t));if(!t.length)throw new Error("Value of ".concat(e," is empty array, must be an array with objects"));t.forEach((t=>{if("object"!=typeof t)throw new Error("Ability limits (".concat(e,") must be an array of objects, found: ").concat(t))}))}))}))}function ig(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=null===(n=t)||void 0===n?void 0:n.sort(((e,t)=>e.localeCompare(t)));const i=t.map((t=>({["".concat(e,"/").concat(t)]:[r]})));return Object.assign({},...i)}function og(e){return rg(e),"urn:recap:".concat(function(e){return Buffer.from(JSON.stringify(e)).toString("base64")}(e).replace(/=/g,""))}function ag(e){const t=function(e){return JSON.parse(Buffer.from(e,"base64").toString("utf-8"))}(e.replace("urn:recap:",""));return rg(t),t}function sg(e,t,n){const r=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return null!==n&&void 0!==n&&n.sort(((e,t)=>e.localeCompare(t))),{att:{[e]:ig(t,n,r)}}}(e,t,n);return og(r)}function lg(e){return e&&e.includes("urn:recap:")}function cg(e,t){const n=function(e,t){rg(e),rg(t);const n=Object.keys(e.att).concat(Object.keys(t.att)).sort(((e,t)=>e.localeCompare(t))),r={att:{}};return n.forEach((n=>{var i,o;Object.keys((null==(i=e.att)?void 0:i[n])||{}).concat(Object.keys((null==(o=t.att)?void 0:o[n])||{})).sort(((e,t)=>e.localeCompare(t))).forEach((i=>{var o,a;r.att[n]=Qm(Km({},r.att[n]),{[i]:(null==(o=e.att[n])?void 0:o[i])||(null==(a=t.att[n])?void 0:a[i])})}))})),r}(ag(e),ag(t));return og(n)}function ug(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;rg(t);const n="I further authorize the stated URI to perform the following actions on my behalf: ";if(e.includes(n))return e;const r=[];let i=0;Object.keys(t.att).forEach((e=>{const n=Object.keys(t.att[e]).map((e=>({ability:e.split("/")[0],action:e.split("/")[1]})));n.sort(((e,t)=>e.action.localeCompare(t.action)));const o={};n.forEach((e=>{o[e.ability]||(o[e.ability]=[]),o[e.ability].push(e.action)}));const a=Object.keys(o).map((t=>(i++,"(".concat(i,") '").concat(t,"': '").concat(o[t].join("', '"),"' for '").concat(e,"'."))));r.push(a.join(", ").replace(".,","."))}));const o=r.join(" "),a="".concat(n).concat(o);return"".concat(e?e+" ":"").concat(a)}function dg(e){var t;const n=ag(e);rg(n);const r=null==(t=n.att)?void 0:t.eip155;return r?Object.keys(r).map((e=>e.split("/")[1])):[]}function hg(e){const t=ag(e);rg(t);const n=[];return Object.values(t.att).forEach((e=>{Object.values(e).forEach((e=>{var t;null!=(t=null===e||void 0===e?void 0:e[0])&&t.chains&&n.push(e[0].chains)}))})),[...new Set(n.flat())]}function pg(e){if(!e)return;const t=null===e||void 0===e?void 0:e[e.length-1];return lg(t)?t:void 0}const fg="base10",mg="base16",gg="base64pad",vg="utf8",Cg=0,yg=1,bg=0,wg=1,xg=12,Ag=32;function Eg(){return bu((0,Il.randomBytes)(Ag),mg)}function _g(e){return bu((0,Zu.tW)(wu(e,mg)),mg)}function Tg(e){return bu((0,Zu.tW)(wu(e,vg)),mg)}function Sg(e){return Number(bu(e,fg))}function kg(e){const t=function(e){return wu("".concat(e),fg)}(typeof e.type<"u"?e.type:Cg);if(Sg(t)===yg&&typeof e.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");const n=typeof e.senderPublicKey<"u"?wu(e.senderPublicKey,mg):void 0,r=typeof e.iv<"u"?wu(e.iv,mg):(0,Il.randomBytes)(xg);return function(e){if(Sg(e.type)===yg){if(typeof e.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return bu(Wl([e.type,e.senderPublicKey,e.iv,e.sealed]),gg)}return bu(Wl([e.type,e.iv,e.sealed]),gg)}({type:t,sealed:new Hu.g6(wu(e.symKey,mg)).seal(r,wu(e.message,vg)),iv:r,senderPublicKey:n})}function Pg(e){const t=wu(e,gg),n=t.slice(bg,wg),r=wg;if(Sg(n)===yg){const e=r+Ag,i=e+xg,o=t.slice(r,e),a=t.slice(e,i);return{type:n,sealed:t.slice(i),iv:a,senderPublicKey:o}}const i=r+xg,o=t.slice(r,i);return{type:n,sealed:t.slice(i),iv:o}}function Dg(e){const t=(null===e||void 0===e?void 0:e.type)||Cg;if(t===yg){if(typeof(null===e||void 0===e?void 0:e.senderPublicKey)>"u")throw new Error("missing sender public key");if(typeof(null===e||void 0===e?void 0:e.receiverPublicKey)>"u")throw new Error("missing receiver public key")}return{type:t,senderPublicKey:null===e||void 0===e?void 0:e.senderPublicKey,receiverPublicKey:null===e||void 0===e?void 0:e.receiverPublicKey}}function Ng(e){return e.type===yg&&"string"==typeof e.senderPublicKey&&"string"==typeof e.receiverPublicKey}function Fg(e){return(null===e||void 0===e?void 0:e.relay)||{protocol:"irn"}}function Ig(e){const t=qu[e];if(typeof t>"u")throw new Error("Relay Protocol not supported: ".concat(e));return t}var Rg=Object.defineProperty,Mg=Object.defineProperties,Og=Object.getOwnPropertyDescriptors,jg=Object.getOwnPropertySymbols,Lg=Object.prototype.hasOwnProperty,Bg=Object.prototype.propertyIsEnumerable,Ug=(e,t,n)=>t in e?Rg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vg=(e,t)=>{for(var n in t||(t={}))Lg.call(t,n)&&Ug(e,n,t[n]);if(jg)for(var n of jg(t))Bg.call(t,n)&&Ug(e,n,t[n]);return e};function Hg(e){const t={},n="relay"+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-");return Object.keys(e).forEach((r=>{if(r.startsWith(n)){const i=r.replace(n,""),o=e[r];t[i]=o}})),t}function zg(e){const t=(e=(e=e.includes("wc://")?e.replace("wc://",""):e).includes("wc:")?e.replace("wc:",""):e).indexOf(":"),n=-1!==e.indexOf("?")?e.indexOf("?"):void 0,r=e.substring(0,t),i=e.substring(t+1,n).split("@"),o=typeof n<"u"?e.substring(n):"",a=Vu.parse(o),s="string"==typeof a.methods?a.methods.split(","):void 0;return{protocol:r,topic:Zg(i[0]),version:parseInt(i[1],10),symKey:a.symKey,relay:Hg(a),methods:s,expiryTimestamp:a.expiryTimestamp?parseInt(a.expiryTimestamp,10):void 0}}function Zg(e){return e.startsWith("//")?e.substring(2):e}function Wg(e){return"".concat(e.protocol,":").concat(e.topic,"@").concat(e.version,"?")+Vu.stringify(Vg(((e,t)=>Mg(e,Og(t)))(Vg({symKey:e.symKey},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";const n={};return Object.keys(e).forEach((r=>{const i="relay"+t+r;e[r]&&(n[i]=e[r])})),n}(e.relay)),{expiryTimestamp:e.expiryTimestamp}),e.methods?{methods:e.methods.join(",")}:{}))}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function qg(e){const t=[];return e.forEach((e=>{const[n,r]=e.split(":");t.push("".concat(n,":").concat(r))})),t}function Gg(e,t){t=t.map((e=>e.replace("did:pkh:","")));const n=function(e){const t={};return null!==e&&void 0!==e&&e.forEach((e=>{const[n,r]=e.split(":");t[n]||(t[n]={accounts:[],chains:[],events:[]}),t[n].accounts.push(e),t[n].chains.push("".concat(n,":").concat(r))})),t}(t);for(const[r,i]of Object.entries(n))i.methods?i.methods=wd(i.methods,e):i.methods=e,i.events=["chainChanged","accountsChanged"];return n}const Yg={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},Kg={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function Qg(e,t){const{message:n,code:r}=Kg[e];return{message:t?"".concat(n," ").concat(t):n,code:r}}function Xg(e,t){const{message:n,code:r}=Yg[e];return{message:t?"".concat(n," ").concat(t):n,code:r}}function Jg(e,t){return!!Array.isArray(e)&&(!(typeof t<"u"&&e.length)||e.every(t))}function $g(e){return Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length}function ev(e){return typeof e>"u"}function tv(e,t){return!(!t||!ev(e))||"string"==typeof e&&!!e.trim().length}function nv(e,t){return!(!t||!ev(e))||"number"==typeof e&&!isNaN(e)}function rv(e){return!(!tv(e,!1)||!e.includes(":"))&&2===e.split(":").length}function iv(e){let t=!0;return Jg(e)?e.length&&(t=e.every((e=>tv(e,!1)))):t=!1,t}function ov(e,t,n){let r=null;return Object.entries(e).forEach((e=>{let[i,o]=e;if(r)return;const a=function(e,t,n){let r=null;return Jg(t)&&t.length?t.forEach((e=>{r||rv(e)||(r=Xg("UNSUPPORTED_CHAINS","".concat(n,", chain ").concat(e,' should be a string and conform to "namespace:chainId" format')))})):rv(e)||(r=Xg("UNSUPPORTED_CHAINS","".concat(n,', chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }'))),r}(i,Ku(i,o),"".concat(t," ").concat(n));a&&(r=a)})),r}function av(e,t){let n=null;return Jg(e)?e.forEach((e=>{n||function(e){if(tv(e,!1)&&e.includes(":")){const t=e.split(":");if(3===t.length){const e=t[0]+":"+t[1];return!!t[2]&&rv(e)}}return!1}(e)||(n=Xg("UNSUPPORTED_ACCOUNTS","".concat(t,", account ").concat(e,' should be a string and conform to "namespace:chainId:address" format')))})):n=Xg("UNSUPPORTED_ACCOUNTS","".concat(t,', accounts should be an array of strings conforming to "namespace:chainId:address" format')),n}function sv(e,t){let n=null;return Object.values(e).forEach((e=>{if(n)return;const r=function(e,t){let n=null;return iv(null===e||void 0===e?void 0:e.methods)?iv(null===e||void 0===e?void 0:e.events)||(n=Xg("UNSUPPORTED_EVENTS","".concat(t,", events should be an array of strings or empty array for no events"))):n=Xg("UNSUPPORTED_METHODS","".concat(t,", methods should be an array of strings or empty array for no methods")),n}(e,"".concat(t,", namespace"));r&&(n=r)})),n}function lv(e,t){let n=null;if(e&&$g(e)){const r=sv(e,t);r&&(n=r);const i=function(e,t){let n=null;return Object.values(e).forEach((e=>{if(n)return;const r=av(null===e||void 0===e?void 0:e.accounts,"".concat(t," namespace"));r&&(n=r)})),n}(e,t);i&&(n=i)}else n=Qg("MISSING_OR_INVALID","".concat(t,", namespaces should be an object with data"));return n}function cv(e){return tv(e.protocol,!0)}function uv(e){return typeof e<"u"&&null!==typeof e}function dv(e,t){return!(!rv(t)||!function(e){const t=[];return Object.values(e).forEach((e=>{t.push(...qg(e.accounts))})),t}(e).includes(t))}function hv(e,t,n){return!!tv(n,!1)&&function(e,t){const n=[];return Object.values(e).forEach((e=>{qg(e.accounts).includes(t)&&n.push(...e.methods)})),n}(e,t).includes(n)}function pv(e,t,n){return!!tv(n,!1)&&function(e,t){const n=[];return Object.values(e).forEach((e=>{qg(e.accounts).includes(t)&&n.push(...e.events)})),n}(e,t).includes(n)}function fv(e,t,n){let r=null;const i=function(e){const t={};return Object.keys(e).forEach((n=>{var r;n.includes(":")?t[n]=e[n]:null==(r=e[n].chains)||r.forEach((r=>{t[r]={methods:e[n].methods,events:e[n].events}}))})),t}(e),o=function(e){const t={};return Object.keys(e).forEach((n=>{if(n.includes(":"))t[n]=e[n];else{const r=qg(e[n].accounts);null===r||void 0===r||r.forEach((r=>{t[r]={accounts:e[n].accounts.filter((e=>e.includes("".concat(r,":")))),methods:e[n].methods,events:e[n].events}}))}})),t}(t),a=Object.keys(i),s=Object.keys(o),l=mv(Object.keys(e)),c=mv(Object.keys(t)),u=l.filter((e=>!c.includes(e)));return u.length&&(r=Qg("NON_CONFORMING_NAMESPACES","".concat(n," namespaces keys don't satisfy requiredNamespaces.\n      Required: ").concat(u.toString(),"\n      Received: ").concat(Object.keys(t).toString()))),dd(a,s)||(r=Qg("NON_CONFORMING_NAMESPACES","".concat(n," namespaces chains don't satisfy required namespaces.\n      Required: ").concat(a.toString(),"\n      Approved: ").concat(s.toString()))),Object.keys(t).forEach((e=>{if(!e.includes(":")||r)return;const i=qg(t[e].accounts);i.includes(e)||(r=Qg("NON_CONFORMING_NAMESPACES","".concat(n," namespaces accounts don't satisfy namespace accounts for ").concat(e,"\n        Required: ").concat(e,"\n        Approved: ").concat(i.toString())))})),a.forEach((e=>{r||(dd(i[e].methods,o[e].methods)?dd(i[e].events,o[e].events)||(r=Qg("NON_CONFORMING_NAMESPACES","".concat(n," namespaces events don't satisfy namespace events for ").concat(e))):r=Qg("NON_CONFORMING_NAMESPACES","".concat(n," namespaces methods don't satisfy namespace methods for ").concat(e)))})),r}function mv(e){return[...new Set(e.map((e=>e.includes(":")?e.split(":")[0]:e)))]}function gv(){const e=ld();return new Promise((t=>{switch(e){case rd.browser:t(function(){var e;return sd()&&(null===(e=navigator)||void 0===e?void 0:e.onLine)}());break;case rd.reactNative:t(async function(){if(ad()&&typeof n.g<"u"&&null!=n.g&&n.g.NetInfo){const e=await(null==n.g?void 0:n.g.NetInfo.fetch());return null===e||void 0===e?void 0:e.isConnected}return!0}());break;case rd.node:default:t(!0)}}))}function vv(e){switch(ld()){case rd.browser:!function(e){!ad()&&sd()&&(window.addEventListener("online",(()=>e(!0))),window.addEventListener("offline",(()=>e(!1))))}(e);break;case rd.reactNative:!function(e){var t;ad()&&typeof n.g<"u"&&null!=n.g&&n.g.NetInfo&&(null===(t=n.g)||void 0===t||t.NetInfo.addEventListener((t=>e(null===t||void 0===t?void 0:t.isConnected))))}(e);case rd.node:}}const Cv={};class yv{static get(e){return Cv[e]}static set(e,t){Cv[e]=t}static delete(e){delete Cv[e]}}const bv="PARSE_ERROR",wv="INVALID_REQUEST",xv="METHOD_NOT_FOUND",Av="INVALID_PARAMS",Ev="INTERNAL_ERROR",_v="SERVER_ERROR",Tv=[-32700,-32600,-32601,-32602,-32603],Sv={[bv]:{code:-32700,message:"Parse error"},[wv]:{code:-32600,message:"Invalid Request"},[xv]:{code:-32601,message:"Method not found"},[Av]:{code:-32602,message:"Invalid params"},[Ev]:{code:-32603,message:"Internal error"},[_v]:{code:-32e3,message:"Server error"}},kv=_v;function Pv(e){return Tv.includes(e)}function Dv(e){return Object.keys(Sv).includes(e)?Sv[e]:Sv[kv]}function Nv(e){const t=Object.values(Sv).find((t=>t.code===e));return t||Sv[kv]}var Fv=n(36360);function Iv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return Date.now()*Math.pow(10,e)+Math.floor(Math.random()*Math.pow(10,e))}function Rv(){return BigInt(Iv(arguments.length>0&&void 0!==arguments[0]?arguments[0]:6))}function Mv(e,t,n){return{id:n||Iv(),jsonrpc:"2.0",method:e,params:t}}function Ov(e,t){return{id:e,jsonrpc:"2.0",result:t}}function jv(e,t,n){return{id:e,jsonrpc:"2.0",error:Lv(t,n)}}function Lv(e,t){return"undefined"===typeof e?Dv(Ev):("string"===typeof e&&(e=Object.assign(Object.assign({},Dv(_v)),{message:e})),"undefined"!==typeof t&&(e.data=t),Pv(e.code)&&(e=Nv(e.code)),e)}class Bv{}class Uv extends Bv{constructor(){super()}}class Vv extends Uv{constructor(e){super()}}function Hv(e,t){const n=function(e){const t=e.match(new RegExp(/^\w+:/,"gi"));if(t&&t.length)return t[0]}(e);return"undefined"!==typeof n&&new RegExp(t).test(n)}function zv(e){return Hv(e,"^wss?:")}function Zv(e){return"object"===typeof e&&"id"in e&&"jsonrpc"in e&&"2.0"===e.jsonrpc}function Wv(e){return Zv(e)&&"method"in e}function qv(e){return Zv(e)&&(Gv(e)||Yv(e))}function Gv(e){return"result"in e}function Yv(e){return"error"in e}class Kv extends Vv{constructor(e){super(e),this.events=new Le.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.connection;await this.open(e)}async disconnect(){await this.close()}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async request(e,t){return this.requestStrict(Mv(e.method,e.params||[],e.id||Rv().toString()),t)}async requestStrict(e,t){return new Promise((async(n,r)=>{if(!this.connection.connected)try{await this.open()}catch(Gs){r(Gs)}this.events.on("".concat(e.id),(e=>{Yv(e)?r(e.error):n(e.result)}));try{await this.connection.send(e,t)}catch(Gs){r(Gs)}}))}setConnection(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.connection}onPayload(e){this.events.emit("payload",e),qv(e)?this.events.emit("".concat(e.id),e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&3e3===e.code&&this.events.emit("error",new Error("WebSocket connection closed abnormally with code: ".concat(e.code," ").concat(e.reason?"(".concat(e.reason,")"):""))),this.events.emit("disconnect")}async open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.connection;this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),"string"==typeof e&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",(e=>this.onPayload(e))),this.connection.on("close",(e=>this.onClose(e))),this.connection.on("error",(e=>this.events.emit("error",e))),this.connection.on("register_error",(e=>this.onClose())),this.hasRegisteredEventListeners=!0)}}const Qv=e=>e.split("?")[0],Xv=typeof WebSocket<"u"?WebSocket:typeof n.g<"u"&&typeof n.g.WebSocket<"u"?n.g.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:n(96330);class Jv{constructor(e){if(this.url=e,this.events=new Le.EventEmitter,this.registering=!1,!zv(e))throw new Error("Provided URL is not compatible with WebSocket connection: ".concat(e));this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;await this.register(e)}async close(){return new Promise(((e,t)=>{typeof this.socket>"u"?t(new Error("Connection already closed")):(this.socket.onclose=t=>{this.onClose(t),e()},this.socket.close())}))}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(Os(e))}catch(t){this.onError(e.id,t)}}register(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;if(!zv(e))throw new Error("Provided URL is not compatible with WebSocket connection: ".concat(e));if(this.registering){const e=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=e||this.events.listenerCount("open")>=e)&&this.events.setMaxListeners(e+1),new Promise(((e,t)=>{this.events.once("register_error",(e=>{this.resetMaxListeners(),t(e)})),this.events.once("open",(()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return t(new Error("WebSocket connection is missing or invalid"));e(this.socket)}))}))}return this.url=e,this.registering=!0,new Promise(((t,r)=>{const i=new URLSearchParams(e).get("origin"),o=(0,Fv.isReactNative)()?{headers:{origin:i}}:{rejectUnauthorized:(s=e,!new RegExp("wss?://localhost(:d{2,5})?").test(s))},a=new Xv(e,[],o);var s;typeof WebSocket<"u"||typeof n.g<"u"&&typeof n.g.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u"?a.onerror=e=>{const t=e;r(this.emitError(t.error))}:a.on("error",(e=>{r(this.emitError(e))})),a.onopen=()=>{this.onOpen(a),t(a)}}))}onOpen(e){e.onmessage=e=>this.onPayload(e),e.onclose=e=>this.onClose(e),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;const t="string"==typeof e.data?Ms(e.data):e.data;this.events.emit("payload",t)}onError(e,t){const n=this.parseError(t),r=jv(e,n.message||n.toString());this.events.emit("payload",r)}parseError(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.url;return function(e,t,n){return e.message.includes("getaddrinfo ENOTFOUND")||e.message.includes("connect ECONNREFUSED")?new Error("Unavailable ".concat(n," RPC url at ").concat(t)):e}(e,Qv(t),"WS")}resetMaxListeners(){this.events.getMaxListeners()>10&&this.events.setMaxListeners(10)}emitError(e){const t=this.parseError(new Error((null===e||void 0===e?void 0:e.message)||"WebSocket connection failed for host: ".concat(Qv(this.url))));return this.events.emit("register_error",t),t}}var $v=n(58956),eC=n.n($v),tC=n(51598),nC=n.n(tC);var rC=function(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),a=o.charCodeAt(0);if(255!==n[a])throw new TypeError(o+" is ambiguous");n[a]=i}var s=e.length,l=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function d(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;var t=0;if(" "!==e[t]){for(var r=0,i=0;e[t]===l;)r++,t++;for(var o=(e.length-t)*c+1>>>0,a=new Uint8Array(o);e[t];){var u=n[e.charCodeAt(t)];if(255===u)return;for(var d=0,h=o-1;(0!==u||d<i)&&-1!==h;h--,d++)u+=s*a[h]>>>0,a[h]=u%256>>>0,u=u/256>>>0;if(0!==u)throw new Error("Non-zero carry");i=d,t++}if(" "!==e[t]){for(var p=o-i;p!==o&&0===a[p];)p++;for(var f=new Uint8Array(r+(o-p)),m=r;p!==o;)f[m++]=a[p++];return f}}}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var n=0,r=0,i=0,o=t.length;i!==o&&0===t[i];)i++,n++;for(var a=(o-i)*u+1>>>0,c=new Uint8Array(a);i!==o;){for(var d=t[i],h=0,p=a-1;(0!==d||h<r)&&-1!==p;p--,h++)d+=256*c[p]>>>0,c[p]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");r=h,i++}for(var f=a-r;f!==a&&0===c[f];)f++;for(var m=l.repeat(n);f<a;++f)m+=e.charAt(c[f]);return m},decodeUnsafe:d,decode:function(e){var n=d(e);if(n)return n;throw new Error("Non-".concat(t," character"))}}},iC=rC;const oC=e=>{if(e instanceof Uint8Array&&"Uint8Array"===e.constructor.name)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")};class aC{constructor(e,t,n){this.name=e,this.prefix=t,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return"".concat(this.prefix).concat(this.baseEncode(e));throw Error("Unknown type, must be binary type")}}class sC{constructor(e,t,n){if(this.name=e,this.prefix=t,void 0===t.codePointAt(0))throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=n}decode(e){if("string"==typeof e){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error("Unable to decode multibase string ".concat(JSON.stringify(e),", ").concat(this.name," decoder only supports inputs prefixed with ").concat(this.prefix));return this.baseDecode(e.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(e){return cC(this,e)}}class lC{constructor(e){this.decoders=e}or(e){return cC(this,e)}decode(e){const t=e[0],n=this.decoders[t];if(n)return n.decode(e);throw RangeError("Unable to decode multibase string ".concat(JSON.stringify(e),", only inputs prefixed with ").concat(Object.keys(this.decoders)," are supported"))}}const cC=(e,t)=>new lC({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class uC{constructor(e,t,n,r){this.name=e,this.prefix=t,this.baseEncode=n,this.baseDecode=r,this.encoder=new aC(e,t,n),this.decoder=new sC(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const dC=e=>{let{name:t,prefix:n,encode:r,decode:i}=e;return new uC(t,n,r,i)},hC=e=>{let{prefix:t,name:n,alphabet:r}=e;const{encode:i,decode:o}=iC(r,n);return dC({prefix:t,name:n,encode:i,decode:e=>oC(o(e))})},pC=e=>{let{name:t,prefix:n,bitsPerChar:r,alphabet:i}=e;return dC({prefix:n,name:t,encode:e=>((e,t,n)=>{const r="="===t[t.length-1],i=(1<<n)-1;let o="",a=0,s=0;for(let l=0;l<e.length;++l)for(s=s<<8|e[l],a+=8;a>n;)a-=n,o+=t[i&s>>a];if(a&&(o+=t[i&s<<n-a]),r)for(;o.length*n&7;)o+="=";return o})(e,i,r),decode:e=>((e,t,n,r)=>{const i={};for(let u=0;u<t.length;++u)i[t[u]]=u;let o=e.length;for(;"="===e[o-1];)--o;const a=new Uint8Array(o*n/8|0);let s=0,l=0,c=0;for(let u=0;u<o;++u){const t=i[e[u]];if(void 0===t)throw new SyntaxError("Non-".concat(r," character"));l=l<<n|t,s+=n,s>=8&&(s-=8,a[c++]=255&l>>s)}if(s>=n||255&l<<8-s)throw new SyntaxError("Unexpected end of data");return a})(e,i,r,t)})},fC=dC({prefix:"\0",name:"identity",encode:e=>(e=>(new TextDecoder).decode(e))(e),decode:e=>(e=>(new TextEncoder).encode(e))(e)});var mC=Object.freeze({__proto__:null,identity:fC});const gC=pC({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var vC=Object.freeze({__proto__:null,base2:gC});const CC=pC({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var yC=Object.freeze({__proto__:null,base8:CC});const bC=hC({prefix:"9",name:"base10",alphabet:"0123456789"});var wC=Object.freeze({__proto__:null,base10:bC});const xC=pC({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),AC=pC({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var EC=Object.freeze({__proto__:null,base16:xC,base16upper:AC});const _C=pC({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),TC=pC({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),SC=pC({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),kC=pC({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),PC=pC({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),DC=pC({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),NC=pC({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),FC=pC({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),IC=pC({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var RC=Object.freeze({__proto__:null,base32:_C,base32upper:TC,base32pad:SC,base32padupper:kC,base32hex:PC,base32hexupper:DC,base32hexpad:NC,base32hexpadupper:FC,base32z:IC});const MC=hC({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),OC=hC({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var jC=Object.freeze({__proto__:null,base36:MC,base36upper:OC});const LC=hC({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),BC=hC({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var UC=Object.freeze({__proto__:null,base58btc:LC,base58flickr:BC});const VC=pC({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),HC=pC({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),zC=pC({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),ZC=pC({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var WC=Object.freeze({__proto__:null,base64:VC,base64pad:HC,base64url:zC,base64urlpad:ZC});const qC=Array.from("\ud83d\ude80\ud83e\ude90\u2604\ud83d\udef0\ud83c\udf0c\ud83c\udf11\ud83c\udf12\ud83c\udf13\ud83c\udf14\ud83c\udf15\ud83c\udf16\ud83c\udf17\ud83c\udf18\ud83c\udf0d\ud83c\udf0f\ud83c\udf0e\ud83d\udc09\u2600\ud83d\udcbb\ud83d\udda5\ud83d\udcbe\ud83d\udcbf\ud83d\ude02\u2764\ud83d\ude0d\ud83e\udd23\ud83d\ude0a\ud83d\ude4f\ud83d\udc95\ud83d\ude2d\ud83d\ude18\ud83d\udc4d\ud83d\ude05\ud83d\udc4f\ud83d\ude01\ud83d\udd25\ud83e\udd70\ud83d\udc94\ud83d\udc96\ud83d\udc99\ud83d\ude22\ud83e\udd14\ud83d\ude06\ud83d\ude44\ud83d\udcaa\ud83d\ude09\u263a\ud83d\udc4c\ud83e\udd17\ud83d\udc9c\ud83d\ude14\ud83d\ude0e\ud83d\ude07\ud83c\udf39\ud83e\udd26\ud83c\udf89\ud83d\udc9e\u270c\u2728\ud83e\udd37\ud83d\ude31\ud83d\ude0c\ud83c\udf38\ud83d\ude4c\ud83d\ude0b\ud83d\udc97\ud83d\udc9a\ud83d\ude0f\ud83d\udc9b\ud83d\ude42\ud83d\udc93\ud83e\udd29\ud83d\ude04\ud83d\ude00\ud83d\udda4\ud83d\ude03\ud83d\udcaf\ud83d\ude48\ud83d\udc47\ud83c\udfb6\ud83d\ude12\ud83e\udd2d\u2763\ud83d\ude1c\ud83d\udc8b\ud83d\udc40\ud83d\ude2a\ud83d\ude11\ud83d\udca5\ud83d\ude4b\ud83d\ude1e\ud83d\ude29\ud83d\ude21\ud83e\udd2a\ud83d\udc4a\ud83e\udd73\ud83d\ude25\ud83e\udd24\ud83d\udc49\ud83d\udc83\ud83d\ude33\u270b\ud83d\ude1a\ud83d\ude1d\ud83d\ude34\ud83c\udf1f\ud83d\ude2c\ud83d\ude43\ud83c\udf40\ud83c\udf37\ud83d\ude3b\ud83d\ude13\u2b50\u2705\ud83e\udd7a\ud83c\udf08\ud83d\ude08\ud83e\udd18\ud83d\udca6\u2714\ud83d\ude23\ud83c\udfc3\ud83d\udc90\u2639\ud83c\udf8a\ud83d\udc98\ud83d\ude20\u261d\ud83d\ude15\ud83c\udf3a\ud83c\udf82\ud83c\udf3b\ud83d\ude10\ud83d\udd95\ud83d\udc9d\ud83d\ude4a\ud83d\ude39\ud83d\udde3\ud83d\udcab\ud83d\udc80\ud83d\udc51\ud83c\udfb5\ud83e\udd1e\ud83d\ude1b\ud83d\udd34\ud83d\ude24\ud83c\udf3c\ud83d\ude2b\u26bd\ud83e\udd19\u2615\ud83c\udfc6\ud83e\udd2b\ud83d\udc48\ud83d\ude2e\ud83d\ude46\ud83c\udf7b\ud83c\udf43\ud83d\udc36\ud83d\udc81\ud83d\ude32\ud83c\udf3f\ud83e\udde1\ud83c\udf81\u26a1\ud83c\udf1e\ud83c\udf88\u274c\u270a\ud83d\udc4b\ud83d\ude30\ud83e\udd28\ud83d\ude36\ud83e\udd1d\ud83d\udeb6\ud83d\udcb0\ud83c\udf53\ud83d\udca2\ud83e\udd1f\ud83d\ude41\ud83d\udea8\ud83d\udca8\ud83e\udd2c\u2708\ud83c\udf80\ud83c\udf7a\ud83e\udd13\ud83d\ude19\ud83d\udc9f\ud83c\udf31\ud83d\ude16\ud83d\udc76\ud83e\udd74\u25b6\u27a1\u2753\ud83d\udc8e\ud83d\udcb8\u2b07\ud83d\ude28\ud83c\udf1a\ud83e\udd8b\ud83d\ude37\ud83d\udd7a\u26a0\ud83d\ude45\ud83d\ude1f\ud83d\ude35\ud83d\udc4e\ud83e\udd32\ud83e\udd20\ud83e\udd27\ud83d\udccc\ud83d\udd35\ud83d\udc85\ud83e\uddd0\ud83d\udc3e\ud83c\udf52\ud83d\ude17\ud83e\udd11\ud83c\udf0a\ud83e\udd2f\ud83d\udc37\u260e\ud83d\udca7\ud83d\ude2f\ud83d\udc86\ud83d\udc46\ud83c\udfa4\ud83d\ude47\ud83c\udf51\u2744\ud83c\udf34\ud83d\udca3\ud83d\udc38\ud83d\udc8c\ud83d\udccd\ud83e\udd40\ud83e\udd22\ud83d\udc45\ud83d\udca1\ud83d\udca9\ud83d\udc50\ud83d\udcf8\ud83d\udc7b\ud83e\udd10\ud83e\udd2e\ud83c\udfbc\ud83e\udd75\ud83d\udea9\ud83c\udf4e\ud83c\udf4a\ud83d\udc7c\ud83d\udc8d\ud83d\udce3\ud83e\udd42"),GC=qC.reduce(((e,t,n)=>(e[n]=t,e)),[]),YC=qC.reduce(((e,t,n)=>(e[t.codePointAt(0)]=n,e)),[]);const KC=dC({prefix:"\ud83d\ude80",name:"base256emoji",encode:function(e){return e.reduce(((e,t)=>e+=GC[t]),"")},decode:function(e){const t=[];for(const n of e){const e=YC[n.codePointAt(0)];if(void 0===e)throw new Error("Non-base256emoji character: ".concat(n));t.push(e)}return new Uint8Array(t)}});var QC=Object.freeze({__proto__:null,base256emoji:KC}),XC=function e(t,n,r){n=n||[];for(var i=r=r||0;t>=ey;)n[r++]=255&t|JC,t/=128;for(;t&$C;)n[r++]=255&t|JC,t>>>=7;return n[r]=0|t,e.bytes=r-i+1,n},JC=128,$C=-128,ey=Math.pow(2,31);var ty=function e(t,n){var r,i=0,o=(n=n||0,0),a=n,s=t.length;do{if(a>=s)throw e.bytes=0,new RangeError("Could not decode varint");r=t[a++],i+=o<28?(r&ry)<<o:(r&ry)*Math.pow(2,o),o+=7}while(r>=ny);return e.bytes=a-n,i},ny=128,ry=127;var iy=Math.pow(2,7),oy=Math.pow(2,14),ay=Math.pow(2,21),sy=Math.pow(2,28),ly=Math.pow(2,35),cy=Math.pow(2,42),uy=Math.pow(2,49),dy=Math.pow(2,56),hy=Math.pow(2,63),py={encode:XC,decode:ty,encodingLength:function(e){return e<iy?1:e<oy?2:e<ay?3:e<sy?4:e<ly?5:e<cy?6:e<uy?7:e<dy?8:e<hy?9:10}},fy=py;const my=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return fy.encode(e,t,n),t},gy=e=>fy.encodingLength(e),vy=(e,t)=>{const n=t.byteLength,r=gy(e),i=r+gy(n),o=new Uint8Array(i+n);return my(e,o,0),my(n,o,r),o.set(t,i),new Cy(e,n,t,o)};class Cy{constructor(e,t,n,r){this.code=e,this.size=t,this.digest=n,this.bytes=r}}const yy=e=>{let{name:t,code:n,encode:r}=e;return new by(t,n,r)};class by{constructor(e,t,n){this.name=e,this.code=t,this.encode=n}digest(e){if(e instanceof Uint8Array){const t=this.encode(e);return t instanceof Uint8Array?vy(this.code,t):t.then((e=>vy(this.code,e)))}throw Error("Unknown type, must be binary type")}}const wy=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),xy=yy({name:"sha2-256",code:18,encode:wy("SHA-256")}),Ay=yy({name:"sha2-512",code:19,encode:wy("SHA-512")});Object.freeze({__proto__:null,sha256:xy,sha512:Ay});const Ey=oC,_y={code:0,name:"identity",encode:Ey,digest:e=>vy(0,Ey(e))};Object.freeze({__proto__:null,identity:_y});new TextEncoder,new TextDecoder;const Ty={...mC,...vC,...yC,...wC,...EC,...RC,...jC,...UC,...WC,...QC};function Sy(e,t,n,r){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:n},decoder:{decode:r}}}const ky=Sy("utf8","u",(e=>"u"+new TextDecoder("utf8").decode(e)),(e=>(new TextEncoder).encode(e.substring(1)))),Py=Sy("ascii","a",(e=>{let t="a";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}),(e=>{const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?globalThis.Buffer.allocUnsafe(e):new Uint8Array(e)}((e=e.substring(1)).length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t})),Dy={utf8:ky,"utf-8":ky,hex:Ty.base16,latin1:Py,ascii:Py,binary:Py,...Ty};const Ny="core",Fy="".concat("wc","@2:").concat(Ny,":"),Iy="error",Ry={database:":memory:"},My="client_ed25519_seed",Oy=Ws.ONE_DAY,jy=Ws.SIX_HOURS,Ly="wss://relay.walletconnect.com",By="wss://relay.walletconnect.org",Uy="relayer_message",Vy="relayer_message_ack",Hy="relayer_connect",zy="relayer_disconnect",Zy="relayer_error",Wy="relayer_connection_stalled",qy="relayer_publish",Gy="payload",Yy="connect",Ky="disconnect",Qy="error",Xy=Ws.ONE_SECOND,Jy="subscription_created",$y="subscription_deleted",eb="subscription_sync",tb="subscription_resubscribed",nb=1e3*Ws.FIVE_SECONDS,rb={wc_pairingDelete:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:1e3},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:1001}},wc_pairingPing:{req:{ttl:Ws.THIRTY_SECONDS,prompt:!1,tag:1002},res:{ttl:Ws.THIRTY_SECONDS,prompt:!1,tag:1003}},unregistered_method:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:0},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:0}}},ib="pairing_create",ob="pairing_expire",ab="pairing_delete",sb="pairing_ping",lb="history_created",cb="history_updated",ub="history_deleted",db="history_sync",hb="expirer_created",pb="expirer_deleted",fb="expirer_expired",mb="expirer_sync",gb="verify-api",vb="https://verify.walletconnect.com",Cb="https://verify.walletconnect.org",yb=[vb,Cb];class bb{constructor(e,t){this.core=e,this.logger=t,this.keychain=new Map,this.name="keychain",this.version="0.3",this.initialized=!1,this.storagePrefix=Fy,this.init=async()=>{if(!this.initialized){const e=await this.getKeyChain();typeof e<"u"&&(this.keychain=e),this.initialized=!0}},this.has=e=>(this.isInitialized(),this.keychain.has(e)),this.set=async(e,t)=>{this.isInitialized(),this.keychain.set(e,t),await this.persist()},this.get=e=>{this.isInitialized();const t=this.keychain.get(e);if(typeof t>"u"){const{message:t}=Qg("NO_MATCHING_KEY","".concat(this.name,": ").concat(e));throw new Error(t)}return t},this.del=async e=>{this.isInitialized(),this.keychain.delete(e),await this.persist()},this.core=e,this.logger=Cl(t,this.name)}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,hd(e))}async getKeyChain(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?pd(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class wb{constructor(e,t,n){this.core=e,this.logger=t,this.name="crypto",this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=e=>(this.isInitialized(),this.keychain.has(e)),this.getClientId=async()=>{this.isInitialized();return Au(Eu(await this.getClientSeed()).publicKey)},this.generateKeyPair=()=>{this.isInitialized();const e=function(){const e=Wu.TZ();return{privateKey:bu(e.secretKey,mg),publicKey:bu(e.publicKey,mg)}}();return this.setPrivateKey(e.publicKey,e.privateKey)},this.signJWT=async e=>{this.isInitialized();const t=Eu(await this.getClientSeed()),n=Eg(),r=Oy;return await _u(n,e,r,t)},this.generateSharedKey=(e,t,n)=>{this.isInitialized();const r=function(e,t){const n=Wu.Tc(wu(e,mg),wu(t,mg),!0);return bu(new zu.i(Zu.aD,n).expand(Ag),mg)}(this.getPrivateKey(e),t);return this.setSymKey(r,n)},this.setSymKey=async(e,t)=>{this.isInitialized();const n=t||_g(e);return await this.keychain.set(n,e),n},this.deleteKeyPair=async e=>{this.isInitialized(),await this.keychain.del(e)},this.deleteSymKey=async e=>{this.isInitialized(),await this.keychain.del(e)},this.encode=async(e,t,n)=>{this.isInitialized();const r=Dg(n),i=Os(t);if(Ng(r)){const t=r.senderPublicKey,n=r.receiverPublicKey;e=await this.generateSharedKey(t,n)}const o=this.getSymKey(e),{type:a,senderPublicKey:s}=r;return kg({type:a,symKey:o,message:i,senderPublicKey:s})},this.decode=async(e,t,n)=>{this.isInitialized();const r=function(e,t){const n=Pg(e);return Dg({type:Sg(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?bu(n.senderPublicKey,mg):void 0,receiverPublicKey:null===t||void 0===t?void 0:t.receiverPublicKey})}(t,n);if(Ng(r)){const t=r.receiverPublicKey,n=r.senderPublicKey;e=await this.generateSharedKey(t,n)}try{const n=function(e){const t=new Hu.g6(wu(e.symKey,mg)),{sealed:n,iv:r}=Pg(e.encoded),i=t.open(r,n);if(null===i)throw new Error("Failed to decrypt");return bu(i,vg)}({symKey:this.getSymKey(e),encoded:t});return Ms(n)}catch(Zs){this.logger.error("Failed to decode message from topic: '".concat(e,"', clientId: '").concat(await this.getClientId(),"'")),this.logger.error(Zs)}},this.getPayloadType=e=>Sg(Pg(e).type),this.getPayloadSenderPublicKey=e=>{const t=Pg(e);return t.senderPublicKey?bu(t.senderPublicKey,mg):void 0},this.core=e,this.logger=Cl(t,this.name),this.keychain=n||new bb(this.core,this.logger)}get context(){return vl(this.logger)}async setPrivateKey(e,t){return await this.keychain.set(e,t),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(My)}catch{e=Eg(),await this.keychain.set(My,e)}return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";const n=Dy[t];if(!n)throw new Error('Unsupported encoding "'.concat(t,'"'));return"utf8"!==t&&"utf-8"!==t||null==globalThis.Buffer||null==globalThis.Buffer.from?n.decoder.decode("".concat(n.prefix).concat(e)):globalThis.Buffer.from(e,"utf8")}(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class xb extends xl{constructor(e,t){super(e,t),this.logger=e,this.core=t,this.messages=new Map,this.name="messages",this.version="0.3",this.initialized=!1,this.storagePrefix=Fy,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const e=await this.getRelayerMessages();typeof e<"u"&&(this.messages=e),this.logger.debug("Successfully Restored records for ".concat(this.name)),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(fl){this.logger.debug("Failed to Restore records for ".concat(this.name)),this.logger.error(fl)}finally{this.initialized=!0}}},this.set=async(e,t)=>{this.isInitialized();const n=Tg(t);let r=this.messages.get(e);return typeof r>"u"&&(r={}),typeof r[n]<"u"||(r[n]=t,this.messages.set(e,r),await this.persist()),n},this.get=e=>{this.isInitialized();let t=this.messages.get(e);return typeof t>"u"&&(t={}),t},this.has=(e,t)=>{this.isInitialized();return typeof this.get(e)[Tg(t)]<"u"},this.del=async e=>{this.isInitialized(),this.messages.delete(e),await this.persist()},this.logger=Cl(e,this.name),this.core=t}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,hd(e))}async getRelayerMessages(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?pd(e):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class Ab extends Al{constructor(e,t){super(e,t),this.relayer=e,this.logger=t,this.events=new Le.EventEmitter,this.name="publisher",this.queue=new Map,this.publishTimeout=(0,Ws.toMiliseconds)(Ws.ONE_MINUTE),this.failedPublishTimeout=(0,Ws.toMiliseconds)(Ws.ONE_SECOND),this.needsTransportRestart=!1,this.publish=async(e,t,n)=>{var r;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:e,message:t,opts:n}});const i=(null===n||void 0===n?void 0:n.ttl)||jy,o=Fg(n),a=(null===n||void 0===n?void 0:n.prompt)||!1,s=(null===n||void 0===n?void 0:n.tag)||0,l=(null===n||void 0===n?void 0:n.id)||Rv().toString(),c={topic:e,message:t,opts:{ttl:i,relay:o,prompt:a,tag:s,id:l}},u="Failed to publish payload, please try again. id:".concat(l," tag:").concat(s),d=Date.now();let h,p=1;try{for(;void 0===h;){if(Date.now()-d>this.publishTimeout)throw new Error(u);this.logger.trace({id:l,attempts:p},"publisher.publish - attempt ".concat(p)),h=await await md(this.rpcPublish(e,t,i,o,a,s,l).catch((e=>this.logger.warn(e))),this.publishTimeout,u),p++,h||await new Promise((e=>setTimeout(e,this.failedPublishTimeout)))}this.relayer.events.emit(qy,c),this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{id:l,topic:e,message:t,opts:n}})}catch(f){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(f),null!=(r=null===n||void 0===n?void 0:n.internal)&&r.throwOnFailedPublish)throw f;this.queue.set(l,c)}},this.on=(e,t)=>{this.events.on(e,t)},this.once=(e,t)=>{this.events.once(e,t)},this.off=(e,t)=>{this.events.off(e,t)},this.removeListener=(e,t)=>{this.events.removeListener(e,t)},this.relayer=e,this.logger=Cl(t,this.name),this.registerEventListeners()}get context(){return vl(this.logger)}rpcPublish(e,t,n,r,i,o,a){var s,l,c,u;const d={method:Ig(r.protocol).publish,params:{topic:e,message:t,ttl:n,prompt:i,tag:o},id:a};return ev(null==(s=d.params)?void 0:s.prompt)&&(null==(l=d.params)||delete l.prompt),ev(null==(c=d.params)?void 0:c.tag)&&(null==(u=d.params)||delete u.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:d}),this.relayer.request(d)}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach((async e=>{const{topic:t,message:n,opts:r}=e;await this.publish(t,n,r)}))}registerEventListeners(){this.relayer.core.heartbeat.on(Ks,(()=>{if(this.needsTransportRestart)return this.needsTransportRestart=!1,void this.relayer.events.emit(Wy);this.checkQueue()})),this.relayer.on(Vy,(e=>{this.removeRequestFromQueue(e.id.toString())}))}}class Eb{constructor(){this.map=new Map,this.set=(e,t)=>{const n=this.get(e);this.exists(e,t)||this.map.set(e,[...n,t])},this.get=e=>this.map.get(e)||[],this.exists=(e,t)=>this.get(e).includes(t),this.delete=(e,t)=>{if(typeof t>"u")return void this.map.delete(e);if(!this.map.has(e))return;const n=this.get(e);if(!this.exists(e,t))return;const r=n.filter((e=>e!==t));r.length?this.map.set(e,r):this.map.delete(e)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}}var _b=Object.defineProperty,Tb=Object.defineProperties,Sb=Object.getOwnPropertyDescriptors,kb=Object.getOwnPropertySymbols,Pb=Object.prototype.hasOwnProperty,Db=Object.prototype.propertyIsEnumerable,Nb=(e,t,n)=>t in e?_b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fb=(e,t)=>{for(var n in t||(t={}))Pb.call(t,n)&&Nb(e,n,t[n]);if(kb)for(var n of kb(t))Db.call(t,n)&&Nb(e,n,t[n]);return e},Ib=(e,t)=>Tb(e,Sb(t));class Rb extends Tl{constructor(e,t){super(e,t),this.relayer=e,this.logger=t,this.subscriptions=new Map,this.topicMap=new Eb,this.events=new Le.EventEmitter,this.name="subscription",this.version="0.3",this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=Fy,this.subscribeTimeout=(0,Ws.toMiliseconds)(Ws.ONE_MINUTE),this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.pendingBatchMessages=[],this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(e,t)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:e,opts:t}});try{const n=Fg(t),r={topic:e,relay:n};this.pending.set(e,r);const i=await this.rpcSubscribe(e,n);return"string"==typeof i&&(this.onSubscribe(i,r),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:e,opts:t}})),i}catch(n){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(n),n}},this.unsubscribe=async(e,t)=>{await this.restartToComplete(),this.isInitialized(),typeof(null===t||void 0===t?void 0:t.id)<"u"?await this.unsubscribeById(e,t.id,t):await this.unsubscribeByTopic(e,t)},this.isSubscribed=async e=>{if(this.topics.includes(e))return!0;const t="".concat(this.pendingSubscriptionWatchLabel,"_").concat(e);return await new Promise(((n,r)=>{const i=new Ws.Watch;i.start(t);const o=setInterval((()=>{!this.pending.has(e)&&this.topics.includes(e)&&(clearInterval(o),i.stop(t),n(!0)),i.elapsed(t)>=nb&&(clearInterval(o),i.stop(t),r(new Error("Subscription resolution timeout")))}),this.pollingInterval)})).catch((()=>!1))},this.on=(e,t)=>{this.events.on(e,t)},this.once=(e,t)=>{this.events.once(e,t)},this.off=(e,t)=>{this.events.off(e,t)},this.removeListener=(e,t)=>{this.events.removeListener(e,t)},this.start=async()=>{await this.onConnect()},this.stop=async()=>{await this.onDisconnect()},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=e,this.logger=Cl(t,this.name),this.clientId=""}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}hasSubscription(e,t){let n=!1;try{n=this.getSubscription(e).topic===t}catch{}return n}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,t){const n=this.topicMap.get(e);await Promise.all(n.map((async n=>await this.unsubscribeById(e,n,t))))}async unsubscribeById(e,t,n){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:t,opts:n}});try{const r=Fg(n);await this.rpcUnsubscribe(e,t,r);const i=Xg("USER_DISCONNECTED","".concat(this.name,", ").concat(e));await this.onUnsubscribe(e,t,i),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:t,opts:n}})}catch(Ys){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(Ys),Ys}}async rpcSubscribe(e,t){const n={method:Ig(t.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:n});try{return await await md(this.relayer.request(n).catch((e=>this.logger.warn(e))),this.subscribeTimeout)?Tg(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Wy)}return null}async rpcBatchSubscribe(e){if(!e.length)return;const t={method:Ig(e[0].relay.protocol).batchSubscribe,params:{topics:e.map((e=>e.topic))}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:t});try{return await await md(this.relayer.request(t).catch((e=>this.logger.warn(e))),this.subscribeTimeout)}catch{this.relayer.events.emit(Wy)}}async rpcBatchFetchMessages(e){if(!e.length)return;const t={method:Ig(e[0].relay.protocol).batchFetchMessages,params:{topics:e.map((e=>e.topic))}};let n;this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:t});try{n=await await md(this.relayer.request(t).catch((e=>this.logger.warn(e))),this.subscribeTimeout)}catch{this.relayer.events.emit(Wy)}return n}rpcUnsubscribe(e,t,n){const r={method:Ig(n.protocol).unsubscribe,params:{topic:e,id:t}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r}),this.relayer.request(r)}onSubscribe(e,t){this.setSubscription(e,Ib(Fb({},t),{id:e})),this.pending.delete(t.topic)}onBatchSubscribe(e){e.length&&e.forEach((e=>{this.setSubscription(e.id,Fb({},e)),this.pending.delete(e.topic)}))}async onUnsubscribe(e,t,n){this.events.removeAllListeners(t),this.hasSubscription(t,e)&&this.deleteSubscription(t,n),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,t){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:t}),this.addSubscription(e,t)}addSubscription(e,t){this.subscriptions.set(e,Fb({},t)),this.topicMap.set(t.topic,e),this.events.emit(Jy,t)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});const t=this.subscriptions.get(e);if(!t){const{message:t}=Qg("NO_MATCHING_KEY","".concat(this.name,": ").concat(e));throw new Error(t)}return t}deleteSubscription(e,t){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:t});const n=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(n.topic,e),this.events.emit($y,Ib(Fb({},n),{reason:t}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(eb)}async reset(){if(this.cached.length){const e=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let t=0;t<e;t++){const e=this.cached.splice(0,this.batchSubscribeTopicsLimit);await this.batchFetchMessages(e),await this.batchSubscribe(e)}}this.events.emit(tb)}async restore(){try{const e=await this.getRelayerSubscriptions();if(typeof e>"u"||!e.length)return;if(this.subscriptions.size){const{message:e}=Qg("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(e),this.logger.error("".concat(this.name,": ").concat(JSON.stringify(this.values))),new Error(e)}this.cached=e,this.logger.debug("Successfully Restored subscriptions for ".concat(this.name)),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug("Failed to Restore subscriptions for ".concat(this.name)),this.logger.error(e)}}async batchSubscribe(e){if(!e.length)return;const t=await this.rpcBatchSubscribe(e);Jg(t)&&this.onBatchSubscribe(t.map(((t,n)=>Ib(Fb({},e[n]),{id:t}))))}async batchFetchMessages(e){if(!e.length)return;this.logger.trace("Fetching batch messages for ".concat(e.length," subscriptions"));const t=await this.rpcBatchFetchMessages(e);t&&t.messages&&(this.pendingBatchMessages=this.pendingBatchMessages.concat(t.messages))}async onConnect(){await this.restart(),this.onEnable()}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||!this.relayer.connected)return;const e=[];this.pending.forEach((t=>{e.push(t)})),await this.batchSubscribe(e),this.pendingBatchMessages.length&&(await this.relayer.handleBatchMessageEvents(this.pendingBatchMessages),this.pendingBatchMessages=[])}registerEventListeners(){this.relayer.core.heartbeat.on(Ks,(async()=>{await this.checkPending()})),this.events.on(Jy,(async e=>{const t=Jy;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,data:e}),await this.persist()})),this.events.on($y,(async e=>{const t=$y;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,data:e}),await this.persist()}))}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(){this.restartInProgress&&await new Promise((e=>{const t=setInterval((()=>{this.restartInProgress||(clearInterval(t),e())}),this.pollingInterval)}))}}var Mb=Object.defineProperty,Ob=Object.getOwnPropertySymbols,jb=Object.prototype.hasOwnProperty,Lb=Object.prototype.propertyIsEnumerable,Bb=(e,t,n)=>t in e?Mb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class Ub extends El{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new Le.EventEmitter,this.name="relayer",this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","stalled","interrupted"],this.hasExperiencedNetworkDisruption=!1,this.requestsInFlight=new Map,this.heartBeatTimeout=(0,Ws.toMiliseconds)(Ws.THIRTY_SECONDS+Ws.ONE_SECOND),this.request=async e=>{var t,n;this.logger.debug("Publishing Request Payload");const r=e.id||Rv().toString();await this.toEstablishConnection();try{const i=this.provider.request(e);this.requestsInFlight.set(r,{promise:i,request:e}),this.logger.trace({id:r,method:e.method,topic:null==(t=e.params)?void 0:t.topic},"relayer.request - attempt to publish...");const o=await new Promise((async(e,t)=>{const n=()=>{t(new Error("relayer.request - publish interrupted, id: ".concat(r)))};this.provider.on(Ky,n);const o=await i;this.provider.off(Ky,n),e(o)}));return this.logger.trace({id:r,method:e.method,topic:null==(n=e.params)?void 0:n.topic},"relayer.request - published"),o}catch(Gs){throw this.logger.debug("Failed to Publish Request: ".concat(r)),Gs}finally{this.requestsInFlight.delete(r)}},this.resetPingTimeout=()=>{if(od())try{clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout((()=>{var e,t,n;null==(n=null==(t=null==(e=this.provider)?void 0:e.connection)?void 0:t.socket)||n.terminate()}),this.heartBeatTimeout)}catch(e){this.logger.warn(e)}},this.onPayloadHandler=e=>{this.onProviderPayload(e),this.resetPingTimeout()},this.onConnectHandler=()=>{this.startPingTimeout(),this.events.emit(Hy)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=e=>{this.logger.error(e),this.events.emit(Zy,e),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(Gy,this.onPayloadHandler),this.provider.on(Yy,this.onConnectHandler),this.provider.on(Ky,this.onDisconnectHandler),this.provider.on(Qy,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&"string"!=typeof e.logger?Cl(e.logger,this.name):Js()(gl({level:e.logger||"error"})),this.messages=new xb(this.logger,e.core),this.subscriber=new Rb(this,this.logger),this.publisher=new Ab(this,this.logger),this.relayUrl=(null===e||void 0===e?void 0:e.relayUrl)||Ly,this.projectId=e.projectId,this.bundleId=function(){var e;try{return ad()&&typeof n.g<"u"&&typeof(null==n.g?void 0:n.g.Application)<"u"?null==(e=n.g.Application)?void 0:e.applicationId:void 0}catch{return}}(),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn("Connection via ".concat(this.relayUrl," failed, attempting to connect via failover domain ").concat(By,"...")),await this.restartTransport(By)}this.initialized=!0,setTimeout((async()=>{0===this.subscriber.topics.length&&0===this.subscriber.pending.size&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)}),1e4)}get context(){return vl(this.logger)}get connected(){var e,t,n;return 1===(null==(n=null==(t=null==(e=this.provider)?void 0:e.connection)?void 0:t.socket)?void 0:n.readyState)}get connecting(){var e,t,n;return 0===(null==(n=null==(t=null==(e=this.provider)?void 0:e.connection)?void 0:t.socket)?void 0:n.readyState)}async publish(e,t,n){this.isInitialized(),await this.publisher.publish(e,t,n),await this.recordMessageEvent({topic:e,message:t,publishedAt:Date.now()})}async subscribe(e,t){var n;this.isInitialized();let r,i=(null==(n=this.subscriber.topicMap.get(e))?void 0:n[0])||"";const o=t=>{t.topic===e&&(this.subscriber.off(Jy,o),r())};return await Promise.all([new Promise((e=>{r=e,this.subscriber.on(Jy,o)})),new Promise((async n=>{i=await this.subscriber.subscribe(e,t)||i,n()}))]),i}async unsubscribe(e,t){this.isInitialized(),await this.subscriber.unsubscribe(e,t)}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async transportDisconnect(){if(!this.hasExperiencedNetworkDisruption&&this.connected&&this.requestsInFlight.size>0)try{await Promise.all(Array.from(this.requestsInFlight.values()).map((e=>e.promise)))}catch(e){this.logger.warn(e)}this.hasExperiencedNetworkDisruption||this.connected?await md(this.provider.disconnect(),2e3,"provider.disconnect()").catch((()=>this.onProviderDisconnect())):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect()),await this.createProvider(),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;try{await new Promise((async(e,t)=>{const n=()=>{this.provider.off(Ky,n),t(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(Ky,n),await md(this.provider.connect(),(0,Ws.toMiliseconds)(Ws.ONE_MINUTE),"Socket stalled when trying to connect to ".concat(this.relayUrl)).catch((e=>{t(e)})),await this.subscriber.start(),this.hasExperiencedNetworkDisruption=!1,e()}))}catch(t){this.logger.error(t);const e=t;if(this.hasExperiencedNetworkDisruption=!0,!this.isConnectionStalled(e.message))throw t}finally{this.connectionAttemptInProgress=!1}}async restartTransport(e){this.connectionAttemptInProgress||(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await gv())throw new Error("No internet connection detected. Please restart your network and try again.")}async handleBatchMessageEvents(e){if(0===(null===e||void 0===e?void 0:e.length))return void this.logger.trace("Batch message events is empty. Ignoring...");const t=e.sort(((e,t)=>e.publishedAt-t.publishedAt));this.logger.trace("Batch of ".concat(t.length," message events sorted"));for(const n of t)try{await this.onMessageEvent(n)}catch(Ys){this.logger.warn(Ys)}this.logger.trace("Batch of ".concat(t.length," message events processed"))}startPingTimeout(){var e,t,n,r,i;if(od())try{null!=(t=null==(e=this.provider)?void 0:e.connection)&&t.socket&&(null==(i=null==(r=null==(n=this.provider)?void 0:n.connection)?void 0:r.socket)||i.once("ping",(()=>{this.resetPingTimeout()}))),this.resetPingTimeout()}catch(Gs){this.logger.warn(Gs)}}isConnectionStalled(e){return this.staleConnectionErrors.some((t=>e.includes(t)))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new Kv(new Jv(ud({sdkVersion:"2.13.3",protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId}))),this.registerProviderListeners()}async recordMessageEvent(e){const{topic:t,message:n}=e;await this.messages.set(t,n)}async shouldIgnoreMessageEvent(e){const{topic:t,message:n}=e;if(!n||0===n.length)return this.logger.debug("Ignoring invalid/empty message: ".concat(n)),!0;if(!await this.subscriber.isSubscribed(t))return this.logger.debug("Ignoring message for non-subscribed topic ".concat(t)),!0;const r=this.messages.has(t,n);return r&&this.logger.debug("Ignoring duplicate message: ".concat(n)),r}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),Wv(e)){if(!e.method.endsWith("_subscription"))return;const t=e.params,{topic:n,message:r,publishedAt:i}=t.data,o={topic:n,message:r,publishedAt:i};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(((e,t)=>{for(var n in t||(t={}))jb.call(t,n)&&Bb(e,n,t[n]);if(Ob)for(var n of Ob(t))Lb.call(t,n)&&Bb(e,n,t[n]);return e})({type:"event",event:t.id},o)),this.events.emit(t.id,o),await this.acknowledgePayload(e),await this.onMessageEvent(o)}else qv(e)&&this.events.emit(Vy,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(Uy,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){const t=Ov(e.id,!0);await this.provider.connection.send(t)}unregisterProviderListeners(){this.provider.off(Gy,this.onPayloadHandler),this.provider.off(Yy,this.onConnectHandler),this.provider.off(Ky,this.onDisconnectHandler),this.provider.off(Qy,this.onProviderErrorHandler),clearTimeout(this.pingTimeout)}async registerEventListeners(){let e=await gv();vv((async t=>{e!==t&&(e=t,t?await this.restartTransport().catch((e=>this.logger.error(e))):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))}))}async onProviderDisconnect(){await this.subscriber.stop(),this.requestsInFlight.clear(),clearTimeout(this.pingTimeout),this.events.emit(zy),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout((async()=>{await this.transportOpen().catch((e=>this.logger.error(e)))}),(0,Ws.toMiliseconds)(Xy))}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){await this.confirmOnlineStateOrThrow(),!this.connected&&(this.connectionAttemptInProgress&&await new Promise((e=>{const t=setInterval((()=>{this.connected&&(clearInterval(t),e())}),this.connectionStatusPollingInterval)})),await this.transportOpen())}}var Vb=Object.defineProperty,Hb=Object.getOwnPropertySymbols,zb=Object.prototype.hasOwnProperty,Zb=Object.prototype.propertyIsEnumerable,Wb=(e,t,n)=>t in e?Vb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qb=(e,t)=>{for(var n in t||(t={}))zb.call(t,n)&&Wb(e,n,t[n]);if(Hb)for(var n of Hb(t))Zb.call(t,n)&&Wb(e,n,t[n]);return e};class Gb extends _l{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fy,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;super(e,t,n,r),this.core=e,this.logger=t,this.name=n,this.map=new Map,this.version="0.3",this.cached=[],this.initialized=!1,this.storagePrefix=Fy,this.recentlyDeleted=[],this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach((e=>{this.getKey&&null!==e&&!ev(e)?this.map.set(this.getKey(e),e):function(e){var t;return null==(t=null===e||void 0===e?void 0:e.proposer)?void 0:t.publicKey}(e)?this.map.set(e.id,e):function(e){return null===e||void 0===e?void 0:e.topic}(e)&&this.map.set(e.topic,e)})),this.cached=[],this.initialized=!0)},this.set=async(e,t)=>{this.isInitialized(),this.map.has(e)?await this.update(e,t):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:e,value:t}),this.map.set(e,t),await this.persist())},this.get=e=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:e}),this.getData(e)),this.getAll=e=>(this.isInitialized(),e?this.values.filter((t=>Object.keys(e).every((n=>eC()(t[n],e[n]))))):this.values),this.update=async(e,t)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:e,update:t});const n=qb(qb({},this.getData(e)),t);this.map.set(e,n),await this.persist()},this.delete=async(e,t)=>{this.isInitialized(),this.map.has(e)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:e,reason:t}),this.map.delete(e),this.addToRecentlyDeleted(e),await this.persist())},this.logger=Cl(t,this.name),this.storagePrefix=r,this.getKey=i}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){const t=this.map.get(e);if(!t){if(this.recentlyDeleted.includes(e)){const{message:t}=Qg("MISSING_OR_INVALID","Record was recently deleted - ".concat(this.name,": ").concat(e));throw this.logger.error(t),new Error(t)}const{message:t}=Qg("NO_MATCHING_KEY","".concat(this.name,": ").concat(e));throw this.logger.error(t),new Error(t)}return t}async persist(){await this.setDataStore(this.values)}async restore(){try{const e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){const{message:e}=Qg("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(e),new Error(e)}this.cached=e,this.logger.debug("Successfully Restored value for ".concat(this.name)),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug("Failed to Restore value for ".concat(this.name)),this.logger.error(e)}}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class Yb{constructor(e,t){this.core=e,this.logger=t,this.name="pairing",this.version="0.3",this.events=new(Be()),this.initialized=!1,this.storagePrefix=Fy,this.ignoredPayloadTypes=[yg],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=e=>{let{methods:t}=e;this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...t])]},this.create=async e=>{this.isInitialized();const t=Eg(),n=await this.core.crypto.setSymKey(t),r=Cd(Ws.FIVE_MINUTES),i={protocol:"irn"},o={topic:n,expiry:r,relay:i,active:!1},a=Wg({protocol:this.core.protocol,version:this.core.version,topic:n,symKey:t,relay:i,expiryTimestamp:r,methods:null===e||void 0===e?void 0:e.methods});return this.core.expirer.set(n,r),await this.pairings.set(n,o),await this.core.relayer.subscribe(n),{topic:n,uri:a}},this.pair=async e=>{this.isInitialized(),this.isValidPair(e);const{topic:t,symKey:n,relay:r,expiryTimestamp:i,methods:o}=zg(e.uri);let a;if(this.pairings.keys.includes(t)&&(a=this.pairings.get(t),a.active))throw new Error("Pairing already exists: ".concat(t,". Please try again with a new connection URI."));const s=i||Cd(Ws.FIVE_MINUTES),l={topic:t,relay:r,expiry:s,active:!1,methods:o};return this.core.expirer.set(t,s),await this.pairings.set(t,l),e.activatePairing&&await this.activate({topic:t}),this.events.emit(ib,l),this.core.crypto.keychain.has(t)||await this.core.crypto.setSymKey(n,t),await this.core.relayer.subscribe(t,{relay:r}),l},this.activate=async e=>{let{topic:t}=e;this.isInitialized();const n=Cd(Ws.THIRTY_DAYS);this.core.expirer.set(t,n),await this.pairings.update(t,{active:!0,expiry:n})},this.ping=async e=>{this.isInitialized(),await this.isValidPing(e);const{topic:t}=e;if(this.pairings.keys.includes(t)){const e=await this.sendRequest(t,"wc_pairingPing",{}),{done:n,resolve:r,reject:i}=fd();this.events.once(bd("pairing_ping",e),(e=>{let{error:t}=e;t?i(t):r()})),await n()}},this.updateExpiry=async e=>{let{topic:t,expiry:n}=e;this.isInitialized(),await this.pairings.update(t,{expiry:n})},this.updateMetadata=async e=>{let{topic:t,metadata:n}=e;this.isInitialized(),await this.pairings.update(t,{peerMetadata:n})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async e=>{this.isInitialized(),await this.isValidDisconnect(e);const{topic:t}=e;this.pairings.keys.includes(t)&&(await this.sendRequest(t,"wc_pairingDelete",Xg("USER_DISCONNECTED")),await this.deletePairing(t))},this.sendRequest=async(e,t,n)=>{const r=Mv(t,n),i=await this.core.crypto.encode(e,r),o=rb[t].req;return this.core.history.set(e,r),this.core.relayer.publish(e,i,o),r.id},this.sendResult=async(e,t,n)=>{const r=Ov(e,n),i=await this.core.crypto.encode(t,r),o=await this.core.history.get(t,e),a=rb[o.request.method].res;await this.core.relayer.publish(t,i,a),await this.core.history.resolve(r)},this.sendError=async(e,t,n)=>{const r=jv(e,n),i=await this.core.crypto.encode(t,r),o=await this.core.history.get(t,e),a=rb[o.request.method]?rb[o.request.method].res:rb.unregistered_method.res;await this.core.relayer.publish(t,i,a),await this.core.history.resolve(r)},this.deletePairing=async(e,t)=>{await this.core.relayer.unsubscribe(e),await Promise.all([this.pairings.delete(e,Xg("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(e),t?Promise.resolve():this.core.expirer.del(e)])},this.cleanup=async()=>{const e=this.pairings.getAll().filter((e=>yd(e.expiry)));await Promise.all(e.map((e=>this.deletePairing(e.topic))))},this.onRelayEventRequest=e=>{const{topic:t,payload:n}=e;switch(n.method){case"wc_pairingPing":return this.onPairingPingRequest(t,n);case"wc_pairingDelete":return this.onPairingDeleteRequest(t,n);default:return this.onUnknownRpcMethodRequest(t,n)}},this.onRelayEventResponse=async e=>{const{topic:t,payload:n}=e,r=(await this.core.history.get(t,n.id)).request.method;return"wc_pairingPing"===r?this.onPairingPingResponse(t,n):this.onUnknownRpcMethodResponse(r)},this.onPairingPingRequest=async(e,t)=>{const{id:n}=t;try{this.isValidPing({topic:e}),await this.sendResult(n,e,!0),this.events.emit(sb,{id:n,topic:e})}catch(Gs){await this.sendError(n,e,Gs),this.logger.error(Gs)}},this.onPairingPingResponse=(e,t)=>{const{id:n}=t;setTimeout((()=>{Gv(t)?this.events.emit(bd("pairing_ping",n),{}):Yv(t)&&this.events.emit(bd("pairing_ping",n),{error:t.error})}),500)},this.onPairingDeleteRequest=async(e,t)=>{const{id:n}=t;try{this.isValidDisconnect({topic:e}),await this.deletePairing(e),this.events.emit(ab,{id:n,topic:e})}catch(Gs){await this.sendError(n,e,Gs),this.logger.error(Gs)}},this.onUnknownRpcMethodRequest=async(e,t)=>{const{id:n,method:r}=t;try{if(this.registeredMethods.includes(r))return;const t=Xg("WC_METHOD_UNSUPPORTED",r);await this.sendError(n,e,t),this.logger.error(t)}catch(xl){await this.sendError(n,e,xl),this.logger.error(xl)}},this.onUnknownRpcMethodResponse=e=>{this.registeredMethods.includes(e)||this.logger.error(Xg("WC_METHOD_UNSUPPORTED",e))},this.isValidPair=e=>{var t;if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","pair() params: ".concat(e));throw new Error(t)}if(!function(e){if(tv(e,!1))try{return typeof new URL(e)<"u"}catch{return!1}return!1}(e.uri)){const{message:t}=Qg("MISSING_OR_INVALID","pair() uri: ".concat(e.uri));throw new Error(t)}const n=zg(e.uri);if(null==(t=null===n||void 0===n?void 0:n.relay)||!t.protocol){const{message:e}=Qg("MISSING_OR_INVALID","pair() uri#relay-protocol");throw new Error(e)}if(null==n||!n.symKey){const{message:e}=Qg("MISSING_OR_INVALID","pair() uri#symKey");throw new Error(e)}if(null!=n&&n.expiryTimestamp&&(0,Ws.toMiliseconds)(null===n||void 0===n?void 0:n.expiryTimestamp)<Date.now()){const{message:e}=Qg("EXPIRED","pair() URI has expired. Please try again with a new connection URI.");throw new Error(e)}},this.isValidPing=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","ping() params: ".concat(e));throw new Error(t)}const{topic:t}=e;await this.isValidPairingTopic(t)},this.isValidDisconnect=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","disconnect() params: ".concat(e));throw new Error(t)}const{topic:t}=e;await this.isValidPairingTopic(t)},this.isValidPairingTopic=async e=>{if(!tv(e,!1)){const{message:t}=Qg("MISSING_OR_INVALID","pairing topic should be a string: ".concat(e));throw new Error(t)}if(!this.pairings.keys.includes(e)){const{message:t}=Qg("NO_MATCHING_KEY","pairing topic doesn't exist: ".concat(e));throw new Error(t)}if(yd(this.pairings.get(e).expiry)){await this.deletePairing(e);const{message:t}=Qg("EXPIRED","pairing topic: ".concat(e));throw new Error(t)}},this.core=e,this.logger=Cl(t,this.name),this.pairings=new Gb(this.core,this.logger,this.name,this.storagePrefix)}get context(){return vl(this.logger)}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(Uy,(async e=>{const{topic:t,message:n}=e;if(!this.pairings.keys.includes(t)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(n)))return;const r=await this.core.crypto.decode(t,n);try{Wv(r)?(this.core.history.set(t,r),this.onRelayEventRequest({topic:t,payload:r})):qv(r)&&(await this.core.history.resolve(r),await this.onRelayEventResponse({topic:t,payload:r}),this.core.history.delete(t,r.id))}catch(i){this.logger.error(i)}}))}registerExpirerEvents(){this.core.expirer.on(fb,(async e=>{const{topic:t}=vd(e.target);t&&this.pairings.keys.includes(t)&&(await this.deletePairing(t,!0),this.events.emit(ob,{topic:t}))}))}}class Kb extends wl{constructor(e,t){super(e,t),this.core=e,this.logger=t,this.records=new Map,this.events=new Le.EventEmitter,this.name="history",this.version="0.3",this.cached=[],this.initialized=!1,this.storagePrefix=Fy,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach((e=>this.records.set(e.id,e))),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(e,t,n)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:e,request:t,chainId:n}),this.records.has(t.id))return;const r={id:t.id,topic:e,request:{method:t.method,params:t.params||null},chainId:n,expiry:Cd(Ws.THIRTY_DAYS)};this.records.set(r.id,r),this.persist(),this.events.emit(lb,r)},this.resolve=async e=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:e}),!this.records.has(e.id))return;const t=await this.getRecord(e.id);typeof t.response>"u"&&(t.response=Yv(e)?{error:e.error}:{result:e.result},this.records.set(t.id,t),this.persist(),this.events.emit(cb,t))},this.get=async(e,t)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:e,id:t}),await this.getRecord(t)),this.delete=(e,t)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:t}),this.values.forEach((n=>{if(n.topic===e){if(typeof t<"u"&&n.id!==t)return;this.records.delete(n.id),this.events.emit(ub,n)}})),this.persist()},this.exists=async(e,t)=>(this.isInitialized(),!!this.records.has(t)&&(await this.getRecord(t)).topic===e),this.on=(e,t)=>{this.events.on(e,t)},this.once=(e,t)=>{this.events.once(e,t)},this.off=(e,t)=>{this.events.off(e,t)},this.removeListener=(e,t)=>{this.events.removeListener(e,t)},this.logger=Cl(t,this.name)}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){const e=[];return this.values.forEach((t=>{if(typeof t.response<"u")return;const n={topic:t.topic,request:Mv(t.request.method,t.request.params,t.id),chainId:t.chainId};return e.push(n)})),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();const t=this.records.get(e);if(!t){const{message:t}=Qg("NO_MATCHING_KEY","".concat(this.name,": ").concat(e));throw new Error(t)}return t}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(db)}async restore(){try{const e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){const{message:e}=Qg("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(e),new Error(e)}this.cached=e,this.logger.debug("Successfully Restored records for ".concat(this.name)),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug("Failed to Restore records for ".concat(this.name)),this.logger.error(e)}}registerEventListeners(){this.events.on(lb,(e=>{const t=lb;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,record:e})})),this.events.on(cb,(e=>{const t=cb;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,record:e})})),this.events.on(ub,(e=>{const t=ub;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,record:e})})),this.core.heartbeat.on(Ks,(()=>{this.cleanup()}))}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach((t=>{(0,Ws.toMiliseconds)(t.expiry||0)-Date.now()<=0&&(this.logger.info("Deleting expired history log: ".concat(t.id)),this.records.delete(t.id),this.events.emit(ub,t,!1),e=!0)})),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class Qb extends Sl{constructor(e,t){super(e,t),this.core=e,this.logger=t,this.expirations=new Map,this.events=new Le.EventEmitter,this.name="expirer",this.version="0.3",this.cached=[],this.initialized=!1,this.storagePrefix=Fy,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach((e=>this.expirations.set(e.target,e))),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=e=>{try{const t=this.formatTarget(e);return typeof this.getExpiration(t)<"u"}catch{return!1}},this.set=(e,t)=>{this.isInitialized();const n=this.formatTarget(e),r={target:n,expiry:t};this.expirations.set(n,r),this.checkExpiry(n,r),this.events.emit(hb,{target:n,expiration:r})},this.get=e=>{this.isInitialized();const t=this.formatTarget(e);return this.getExpiration(t)},this.del=e=>{if(this.isInitialized(),this.has(e)){const t=this.formatTarget(e),n=this.getExpiration(t);this.expirations.delete(t),this.events.emit(pb,{target:t,expiration:n})}},this.on=(e,t)=>{this.events.on(e,t)},this.once=(e,t)=>{this.events.once(e,t)},this.off=(e,t)=>{this.events.off(e,t)},this.removeListener=(e,t)=>{this.events.removeListener(e,t)},this.logger=Cl(t,this.name)}get context(){return vl(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if("string"==typeof e)return function(e){return gd("topic",e)}(e);if("number"==typeof e)return function(e){return gd("id",e)}(e);const{message:t}=Qg("UNKNOWN_TYPE","Target type: ".concat(typeof e));throw new Error(t)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(mb)}async restore(){try{const e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){const{message:e}=Qg("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(e),new Error(e)}this.cached=e,this.logger.debug("Successfully Restored expirations for ".concat(this.name)),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug("Failed to Restore expirations for ".concat(this.name)),this.logger.error(e)}}getExpiration(e){const t=this.expirations.get(e);if(!t){const{message:t}=Qg("NO_MATCHING_KEY","".concat(this.name,": ").concat(e));throw this.logger.warn(t),new Error(t)}return t}checkExpiry(e,t){const{expiry:n}=t;(0,Ws.toMiliseconds)(n)-Date.now()<=0&&this.expire(e,t)}expire(e,t){this.expirations.delete(e),this.events.emit(fb,{target:e,expiration:t})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach(((e,t)=>this.checkExpiry(t,e)))}registerEventListeners(){this.core.heartbeat.on(Ks,(()=>this.checkExpirations())),this.events.on(hb,(e=>{const t=hb;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,data:e}),this.persist()})),this.events.on(fb,(e=>{const t=fb;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,data:e}),this.persist()})),this.events.on(pb,(e=>{const t=pb;this.logger.info("Emitting ".concat(t)),this.logger.debug({type:"event",event:t,data:e}),this.persist()}))}isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}}}class Xb extends kl{constructor(e,t){super(e,t),this.projectId=e,this.logger=t,this.name=gb,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async e=>{if(this.verifyDisabled||ad()||!sd())return;const t=this.getVerifyUrl(null===e||void 0===e?void 0:e.verifyUrl);this.verifyUrl!==t&&this.removeIframe(),this.verifyUrl=t;try{await this.createIframe()}catch(n){this.logger.info("Verify iframe failed to load: ".concat(this.verifyUrl)),this.logger.info(n)}if(!this.initialized){this.removeIframe(),this.verifyUrl=Cb;try{await this.createIframe()}catch(n){this.logger.info("Verify iframe failed to load: ".concat(this.verifyUrl)),this.logger.info(n),this.verifyDisabled=!0}}},this.register=async e=>{this.initialized?this.sendPost(e.attestationId):(this.addToQueue(e.attestationId),await this.init())},this.resolve=async e=>{if(this.isDevEnv)return"";const t=this.getVerifyUrl(null===e||void 0===e?void 0:e.verifyUrl);let n;try{n=await this.fetchAttestation(e.attestationId,t)}catch(Gs){this.logger.info("failed to resolve attestation: ".concat(e.attestationId," from url: ").concat(t)),this.logger.info(Gs),n=await this.fetchAttestation(e.attestationId,Cb)}return n},this.fetchAttestation=async(e,t)=>{this.logger.info("resolving attestation: ".concat(e," from url: ").concat(t));const n=this.startAbortTimer(2*Ws.ONE_SECOND),r=await fetch("".concat(t,"/attestation/").concat(e),{signal:this.abortController.signal});return clearTimeout(n),200===r.status?await r.json():void 0},this.addToQueue=e=>{this.queue.push(e)},this.processQueue=()=>{0!==this.queue.length&&(this.queue.forEach((e=>this.sendPost(e))),this.queue=[])},this.sendPost=e=>{var t;try{if(!this.iframe)return;null==(t=this.iframe.contentWindow)||t.postMessage(e,"*"),this.logger.info("postMessage sent: ".concat(e," ").concat(this.verifyUrl))}catch{}},this.createIframe=async()=>{let e;const t=n=>{"verify_ready"===n.data&&(this.onInit(),window.removeEventListener("message",t),e())};await Promise.race([new Promise((n=>{const r=document.getElementById(gb);if(r)return this.iframe=r,this.onInit(),n();window.addEventListener("message",t);const i=document.createElement("iframe");i.id=gb,i.src="".concat(this.verifyUrl,"/").concat(this.projectId),i.style.display="none",document.body.append(i),this.iframe=i,e=n})),new Promise(((e,n)=>setTimeout((()=>{window.removeEventListener("message",t),n("verify iframe load timeout")}),(0,Ws.toMiliseconds)(Ws.FIVE_SECONDS))))])},this.onInit=()=>{this.initialized=!0,this.processQueue()},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.getVerifyUrl=e=>{let t=e||vb;return yb.includes(t)||(this.logger.info("verify url: ".concat(t,", not included in trusted list, assigning default: ").concat(vb)),t=vb),t},this.logger=Cl(t,this.name),this.verifyUrl=vb,this.abortController=new AbortController,this.isDevEnv=od()&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.IS_VITEST}get context(){return vl(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout((()=>this.abortController.abort()),(0,Ws.toMiliseconds)(e))}}class Jb extends Pl{constructor(e,t){super(e,t),this.projectId=e,this.logger=t,this.context="echo",this.registerDeviceToken=async e=>{const{clientId:t,token:n,notificationType:r,enableEncrypted:i=!1}=e,o="".concat("https://echo.walletconnect.com","/").concat(this.projectId,"/clients");await nC()(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:t,type:r,token:n,always_raw:i})})},this.logger=Cl(t,this.context)}}var $b=Object.defineProperty,ew=Object.getOwnPropertySymbols,tw=Object.prototype.hasOwnProperty,nw=Object.prototype.propertyIsEnumerable,rw=(e,t,n)=>t in e?$b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iw=(e,t)=>{for(var n in t||(t={}))tw.call(t,n)&&rw(e,n,t[n]);if(ew)for(var n of ew(t))nw.call(t,n)&&rw(e,n,t[n]);return e};class ow extends bl{constructor(e){var t;super(e),this.protocol="wc",this.version=2,this.name=Ny,this.events=new Le.EventEmitter,this.initialized=!1,this.on=(e,t)=>this.events.on(e,t),this.once=(e,t)=>this.events.once(e,t),this.off=(e,t)=>this.events.off(e,t),this.removeListener=(e,t)=>this.events.removeListener(e,t),this.projectId=null===e||void 0===e?void 0:e.projectId,this.relayUrl=(null===e||void 0===e?void 0:e.relayUrl)||Ly,this.customStoragePrefix=null!=e&&e.customStoragePrefix?":".concat(e.customStoragePrefix):"";const n=gl({level:"string"==typeof(null===e||void 0===e?void 0:e.logger)&&e.logger?e.logger:Iy}),{logger:r,chunkLoggerController:i}=yl({opts:n,maxSizeInBytes:null===e||void 0===e?void 0:e.maxLogBlobSizeInBytes,loggerOverride:null===e||void 0===e?void 0:e.logger});this.logChunkController=i,null!=(t=this.logChunkController)&&t.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var e,t;null!=(e=this.logChunkController)&&e.downloadLogsBlobInBrowser&&(null==(t=this.logChunkController)||t.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Cl(r,this.name),this.heartbeat=new Qs,this.crypto=new wb(this,this.logger,null===e||void 0===e?void 0:e.keychain),this.history=new Kb(this,this.logger),this.expirer=new Qb(this,this.logger),this.storage=null!=e&&e.storage?e.storage:new Zs(iw(iw({},Ry),null===e||void 0===e?void 0:e.storageOptions)),this.relayer=new Ub({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new Yb(this,this.logger),this.verify=new Xb(this.projectId||"",this.logger),this.echoClient=new Jb(this.projectId||"",this.logger)}static async init(e){const t=new ow(e);await t.initialize();const n=await t.crypto.getClientId();return await t.storage.setItem("WALLETCONNECT_CLIENT_ID",n),t}get context(){return vl(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return null==(e=this.logChunkController)?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn("Core Initialization Failure at epoch ".concat(Date.now()),e),this.logger.error(e.message),e}}}const aw=ow,sw="client",lw="".concat("wc","@").concat(2,":").concat(sw,":"),cw=sw,uw="error",dw="WALLETCONNECT_DEEPLINK_CHOICE",hw=Ws.SEVEN_DAYS,pw={wc_sessionPropose:{req:{ttl:Ws.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1101},reject:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1120},autoReject:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1121}},wc_sessionSettle:{req:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Ws.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Ws.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Ws.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Ws.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Ws.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Ws.ONE_HOUR,prompt:!1,tag:1117},reject:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1118},autoReject:{ttl:Ws.FIVE_MINUTES,prompt:!1,tag:1119}}},fw={min:Ws.FIVE_MINUTES,max:Ws.SEVEN_DAYS},mw="IDLE",gw="ACTIVE",vw=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],Cw="".concat("wc","@",1.5,":").concat("auth",":"),yw="".concat(Cw,":PUB_KEY");var bw=Object.defineProperty,ww=Object.defineProperties,xw=Object.getOwnPropertyDescriptors,Aw=Object.getOwnPropertySymbols,Ew=Object.prototype.hasOwnProperty,_w=Object.prototype.propertyIsEnumerable,Tw=(e,t,n)=>t in e?bw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sw=(e,t)=>{for(var n in t||(t={}))Ew.call(t,n)&&Tw(e,n,t[n]);if(Aw)for(var n of Aw(t))_w.call(t,n)&&Tw(e,n,t[n]);return e},kw=(e,t)=>ww(e,xw(t));class Pw extends Nl{constructor(e){var t;super(e),t=this,this.name="engine",this.events=new(Be()),this.initialized=!1,this.requestQueue={state:mw,queue:[]},this.sessionRequestQueue={state:mw,queue:[]},this.requestQueueDelay=Ws.ONE_SECOND,this.expectedPairingMethodMap=new Map,this.recentlyDeletedMap=new Map,this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(pw)}),this.initialized=!0,setTimeout((()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()}),(0,Ws.toMiliseconds)(this.requestQueueDelay)))},this.connect=async e=>{await this.isInitialized();const t=kw(Sw({},e),{requiredNamespaces:e.requiredNamespaces||{},optionalNamespaces:e.optionalNamespaces||{}});await this.isValidConnect(t);const{pairingTopic:n,requiredNamespaces:r,optionalNamespaces:i,sessionProperties:o,relays:a}=t;let s,l=n,c=!1;try{l&&(c=this.client.core.pairing.pairings.get(l).active)}catch(C){throw this.client.logger.error("connect() -> pairing.get(".concat(l,") failed")),C}if(!l||!c){const{topic:e,uri:t}=await this.client.core.pairing.create();l=e,s=t}if(!l){const{message:e}=Qg("NO_MATCHING_KEY","connect() pairing topic: ".concat(l));throw new Error(e)}const u=await this.client.core.crypto.generateKeyPair(),d=pw.wc_sessionPropose.req.ttl||Ws.FIVE_MINUTES,h=Cd(d),p=Sw({requiredNamespaces:r,optionalNamespaces:i,relays:null!==a&&void 0!==a?a:[{protocol:"irn"}],proposer:{publicKey:u,metadata:this.client.metadata},expiryTimestamp:h,pairingTopic:l},o&&{sessionProperties:o}),{reject:f,resolve:m,done:g}=fd(d,"Proposal expired");this.events.once(bd("session_connect"),(async e=>{let{error:t,session:n}=e;if(t)f(t);else if(n){n.self.publicKey=u;const e=kw(Sw({},n),{pairingTopic:p.pairingTopic,requiredNamespaces:p.requiredNamespaces,optionalNamespaces:p.optionalNamespaces});await this.client.session.set(n.topic,e),await this.setExpiry(n.topic,n.expiry),l&&await this.client.core.pairing.updateMetadata({topic:l,metadata:n.peer.metadata}),this.cleanupDuplicatePairings(e),m(e)}}));const v=await this.sendRequest({topic:l,method:"wc_sessionPropose",params:p,throwOnFailedPublish:!0});return await this.setProposal(v,Sw({id:v},p)),{uri:s,approval:g}},this.pair=async e=>{await this.isInitialized();try{return await this.client.core.pairing.pair(e)}catch(t){throw this.client.logger.error("pair() failed"),t}},this.approve=async e=>{await this.isInitialized();try{await this.isValidApprove(e)}catch(is){throw this.client.logger.error("approve() -> isValidApprove() failed"),is}const{id:t,relayProtocol:n,namespaces:r,sessionProperties:i,sessionConfig:o}=e;let a;try{a=this.client.proposal.get(t)}catch(is){throw this.client.logger.error("approve() -> proposal.get(".concat(t,") failed")),is}const{pairingTopic:s,proposer:l,requiredNamespaces:c,optionalNamespaces:u}=a,d=await this.client.core.crypto.generateKeyPair(),h=l.publicKey,p=await this.client.core.crypto.generateSharedKey(d,h),f=Sw(Sw({relay:{protocol:null!==n&&void 0!==n?n:"irn"},namespaces:r,controller:{publicKey:d,metadata:this.client.metadata},expiry:Cd(hw)},i&&{sessionProperties:i}),o&&{sessionConfig:o});await this.client.core.relayer.subscribe(p);const m=kw(Sw({},f),{topic:p,requiredNamespaces:c,optionalNamespaces:u,pairingTopic:s,acknowledged:!1,self:f.controller,peer:{publicKey:l.publicKey,metadata:l.metadata},controller:d});await this.client.session.set(p,m);try{await this.sendResult({id:t,topic:s,result:{relay:{protocol:null!==n&&void 0!==n?n:"irn"},responderPublicKey:d},throwOnFailedPublish:!0}),await this.sendRequest({topic:p,method:"wc_sessionSettle",params:f,throwOnFailedPublish:!0})}catch(is){throw this.client.logger.error(is),this.client.session.delete(p,Xg("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(p),is}return await this.client.core.pairing.updateMetadata({topic:s,metadata:l.metadata}),await this.client.proposal.delete(t,Xg("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:s}),await this.setExpiry(p,Cd(hw)),{topic:p,acknowledged:()=>new Promise((e=>setTimeout((()=>e(this.client.session.get(p))),500)))}},this.reject=async e=>{await this.isInitialized();try{await this.isValidReject(e)}catch(i){throw this.client.logger.error("reject() -> isValidReject() failed"),i}const{id:t,reason:n}=e;let r;try{r=this.client.proposal.get(t).pairingTopic}catch(i){throw this.client.logger.error("reject() -> proposal.get(".concat(t,") failed")),i}r&&(await this.sendError({id:t,topic:r,error:n,rpcOpts:pw.wc_sessionPropose.reject}),await this.client.proposal.delete(t,Xg("USER_DISCONNECTED")))},this.update=async e=>{await this.isInitialized();try{await this.isValidUpdate(e)}catch(rl){throw this.client.logger.error("update() -> isValidUpdate() failed"),rl}const{topic:t,namespaces:n}=e,{done:r,resolve:i,reject:o}=fd(),a=Iv(),s=Rv().toString(),l=this.client.session.get(t).namespaces;return this.events.once(bd("session_update",a),(e=>{let{error:t}=e;t?o(t):i()})),await this.client.session.update(t,{namespaces:n}),await this.sendRequest({topic:t,method:"wc_sessionUpdate",params:{namespaces:n},throwOnFailedPublish:!0,clientRpcId:a,relayRpcId:s}).catch((e=>{this.client.logger.error(e),this.client.session.update(t,{namespaces:l}),o(e)})),{acknowledged:r}},this.extend=async e=>{await this.isInitialized();try{await this.isValidExtend(e)}catch(xl){throw this.client.logger.error("extend() -> isValidExtend() failed"),xl}const{topic:t}=e,n=Iv(),{done:r,resolve:i,reject:o}=fd();return this.events.once(bd("session_extend",n),(e=>{let{error:t}=e;t?o(t):i()})),await this.setExpiry(t,Cd(hw)),this.sendRequest({topic:t,method:"wc_sessionExtend",params:{},clientRpcId:n,throwOnFailedPublish:!0}).catch((e=>{o(e)})),{acknowledged:r}},this.request=async e=>{await this.isInitialized();try{await this.isValidRequest(e)}catch(ul){throw this.client.logger.error("request() -> isValidRequest() failed"),ul}const{chainId:t,request:r,topic:i,expiry:o=pw.wc_sessionRequest.req.ttl}=e,a=this.client.session.get(i),s=Iv(),l=Rv().toString(),{done:c,resolve:u,reject:d}=fd(o,"Request expired. Please try again.");return this.events.once(bd("session_request",s),(e=>{let{error:t,result:n}=e;t?d(t):u(n)})),await Promise.all([new Promise((async e=>{await this.sendRequest({clientRpcId:s,relayRpcId:l,topic:i,method:"wc_sessionRequest",params:{request:kw(Sw({},r),{expiryTimestamp:Cd(o)}),chainId:t},expiry:o,throwOnFailedPublish:!0}).catch((e=>d(e))),this.client.events.emit("session_request_sent",{topic:i,request:r,chainId:t,id:s}),e()})),new Promise((async e=>{var t;if(null==(t=a.sessionConfig)||!t.disableDeepLink){const e=await async function(e,t){try{return await e.getItem(t)||(sd()?localStorage.getItem(t):void 0)}catch(o){console.error(o)}}(this.client.core.storage,dw);!async function(e){let{id:t,topic:r,wcDeepLink:o}=e;try{if(!o)return;const e="string"==typeof o?JSON.parse(o):o;let i=null===e||void 0===e?void 0:e.href;if("string"!=typeof i)return;i.endsWith("/")&&(i=i.slice(0,-1));const a="".concat(i,"/wc?requestId=").concat(t,"&sessionTopic=").concat(r),s=ld();s===rd.browser?a.startsWith("https://")||a.startsWith("http://")?window.open(a,"_blank","noreferrer noopener"):window.open(a,"_self","noreferrer noopener"):s===rd.reactNative&&typeof(null==n.g?void 0:n.g.Linking)<"u"&&await n.g.Linking.openURL(a)}catch(i){console.error(i)}}({id:s,topic:i,wcDeepLink:e})}e()})),c()]).then((e=>e[2]))},this.respond=async e=>{await this.isInitialized(),await this.isValidRespond(e);const{topic:t,response:n}=e,{id:r}=n;Gv(n)?await this.sendResult({id:r,topic:t,result:n.result,throwOnFailedPublish:!0}):Yv(n)&&await this.sendError({id:r,topic:t,error:n.error}),this.cleanupAfterResponse(e)},this.ping=async e=>{await this.isInitialized();try{await this.isValidPing(e)}catch(Ys){throw this.client.logger.error("ping() -> isValidPing() failed"),Ys}const{topic:t}=e;if(this.client.session.keys.includes(t)){const e=Iv(),n=Rv().toString(),{done:r,resolve:i,reject:o}=fd();this.events.once(bd("session_ping",e),(e=>{let{error:t}=e;t?o(t):i()})),await Promise.all([this.sendRequest({topic:t,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:e,relayRpcId:n}),r()])}else this.client.core.pairing.pairings.keys.includes(t)&&await this.client.core.pairing.ping({topic:t})},this.emit=async e=>{await this.isInitialized(),await this.isValidEmit(e);const{topic:t,event:n,chainId:r}=e,i=Rv().toString();await this.sendRequest({topic:t,method:"wc_sessionEvent",params:{event:n,chainId:r},throwOnFailedPublish:!0,relayRpcId:i})},this.disconnect=async e=>{await this.isInitialized(),await this.isValidDisconnect(e);const{topic:t}=e;if(this.client.session.keys.includes(t))await this.sendRequest({topic:t,method:"wc_sessionDelete",params:Xg("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:t,emitEvent:!1});else{if(!this.client.core.pairing.pairings.keys.includes(t)){const{message:e}=Qg("MISMATCHED_TOPIC","Session or pairing topic not found: ".concat(t));throw new Error(e)}await this.client.core.pairing.disconnect({topic:t})}},this.find=e=>(this.isInitialized(),this.client.session.getAll().filter((t=>function(e,t){const{requiredNamespaces:n}=t,r=Object.keys(e.namespaces),i=Object.keys(n);let o=!0;return!!dd(i,r)&&(r.forEach((t=>{const{accounts:r,methods:i,events:a}=e.namespaces[t],s=qg(r),l=n[t];(!dd(Ku(t,l),s)||!dd(l.methods,i)||!dd(l.events,a))&&(o=!1)})),o)}(t,e)))),this.getPendingSessionRequests=()=>this.client.pendingRequest.getAll(),this.authenticate=async e=>{this.isInitialized(),this.isValidAuthenticate(e);const{chains:t,statement:n="",uri:r,domain:i,nonce:o,type:a,exp:s,nbf:l,methods:c=[],expiry:u}=e,d=[...e.resources||[]],{topic:h,uri:p}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"]});this.client.logger.info({message:"Generated new pairing",pairing:{topic:h,uri:p}});const f=await this.client.core.crypto.generateKeyPair(),m=_g(f);if(await Promise.all([this.client.auth.authKeys.set(yw,{responseTopic:m,publicKey:f}),this.client.auth.pairingTopics.set(m,{topic:m,pairingTopic:h})]),await this.client.core.relayer.subscribe(m),this.client.logger.info("sending request to new pairing topic: ".concat(h)),c.length>0){const{namespace:e}=Yu(t[0]);let n=sg(e,"request",c);pg(d)&&(n=cg(n,d.pop())),d.push(n)}const g=u&&u>pw.wc_sessionAuthenticate.req.ttl?u:pw.wc_sessionAuthenticate.req.ttl,v={authPayload:{type:null!==a&&void 0!==a?a:"caip122",chains:t,statement:n,aud:r,domain:i,version:"1",nonce:o,iat:(new Date).toISOString(),exp:s,nbf:l,resources:d},requester:{publicKey:f,metadata:this.client.metadata},expiryTimestamp:Cd(g)},C={requiredNamespaces:{},optionalNamespaces:{eip155:{chains:t,methods:[...new Set(["personal_sign",...c])],events:["chainChanged","accountsChanged"]}},relays:[{protocol:"irn"}],pairingTopic:h,proposer:{publicKey:f,metadata:this.client.metadata},expiryTimestamp:Cd(pw.wc_sessionPropose.req.ttl)},{done:y,resolve:b,reject:w}=fd(g,"Request expired"),x=async e=>{let{error:t,session:n}=e;if(this.events.off(bd("session_request",E),A),t)w(t);else if(n){n.self.publicKey=f,await this.client.session.set(n.topic,n),await this.setExpiry(n.topic,n.expiry),h&&await this.client.core.pairing.updateMetadata({topic:h,metadata:n.peer.metadata});const e=this.client.session.get(n.topic);await this.deleteProposal(_),b({session:e})}},A=async e=>{if(await this.deletePendingAuthRequest(E,{message:"fulfilled",code:0}),e.error){const t=Xg("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return e.error.code===t.code?void 0:(this.events.off(bd("session_connect"),x),w(e.error.message))}await this.deleteProposal(_),this.events.off(bd("session_connect"),x);const{cacaos:t,responder:n}=e.result,r=[],i=[];for(const s of t){await tg({cacao:s,projectId:this.client.core.projectId})||(this.client.logger.error(s,"Signature verification failed"),w(Xg("SESSION_SETTLEMENT_FAILED","Signature verification failed")));const{p:e}=s,t=pg(e.resources),n=[$m(e.iss)],o=eg(e.iss);if(t){const e=dg(t),i=hg(t);r.push(...e),n.push(...i)}for(const r of n)i.push("".concat(r,":").concat(o))}const o=await this.client.core.crypto.generateSharedKey(f,n.publicKey);let a;r.length>0&&(a={topic:o,acknowledged:!0,self:{publicKey:f,metadata:this.client.metadata},peer:n,controller:n.publicKey,expiry:Cd(hw),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:h,namespaces:Gg([...new Set(r)],[...new Set(i)])},await this.client.core.relayer.subscribe(o),await this.client.session.set(o,a),a=this.client.session.get(o)),b({auths:t,session:a})},E=Iv(),_=Iv();this.events.once(bd("session_connect"),x),this.events.once(bd("session_request",E),A);try{await Promise.all([this.sendRequest({topic:h,method:"wc_sessionAuthenticate",params:v,expiry:e.expiry,throwOnFailedPublish:!0,clientRpcId:E}),this.sendRequest({topic:h,method:"wc_sessionPropose",params:C,expiry:pw.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:_})])}catch(yl){throw this.events.off(bd("session_connect"),x),this.events.off(bd("session_request",E),A),yl}return await this.setProposal(_,Sw({id:_},C)),await this.setAuthRequest(E,{request:kw(Sw({},v),{verifyContext:{}}),pairingTopic:h}),{uri:p,response:y}},this.approveSessionAuthenticate=async e=>{this.isInitialized();const{id:t,auths:n}=e,r=this.getPendingAuthRequest(t);if(!r)throw new Error("Could not find pending auth request with id ".concat(t));const i=r.requester.publicKey,o=await this.client.core.crypto.generateKeyPair(),a=_g(i),s={type:yg,receiverPublicKey:i,senderPublicKey:o},l=[],c=[];for(const h of n){if(!await tg({cacao:h,projectId:this.client.core.projectId})){const e=Xg("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:t,topic:a,error:e,encodeOpts:s}),new Error(e.message)}const{p:e}=h,n=pg(e.resources),r=[$m(e.iss)],i=eg(e.iss);if(n){const e=dg(n),t=hg(n);l.push(...e),r.push(...t)}for(const t of r)c.push("".concat(t,":").concat(i))}const u=await this.client.core.crypto.generateSharedKey(o,i);let d;return(null===l||void 0===l?void 0:l.length)>0&&(d={topic:u,acknowledged:!0,self:{publicKey:o,metadata:this.client.metadata},peer:{publicKey:i,metadata:r.requester.metadata},controller:i,expiry:Cd(hw),authentication:n,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:Gg([...new Set(l)],[...new Set(c)])},await this.client.core.relayer.subscribe(u),await this.client.session.set(u,d)),await this.sendResult({topic:a,id:t,result:{cacaos:n,responder:{publicKey:o,metadata:this.client.metadata}},encodeOpts:s,throwOnFailedPublish:!0}),await this.client.auth.requests.delete(t,{message:"fulfilled",code:0}),await this.client.core.pairing.activate({topic:r.pairingTopic}),{session:d}},this.rejectSessionAuthenticate=async e=>{await this.isInitialized();const{id:t,reason:n}=e,r=this.getPendingAuthRequest(t);if(!r)throw new Error("Could not find pending auth request with id ".concat(t));const i=r.requester.publicKey,o=await this.client.core.crypto.generateKeyPair(),a=_g(i),s={type:yg,receiverPublicKey:i,senderPublicKey:o};await this.sendError({id:t,topic:a,error:n,encodeOpts:s,rpcOpts:pw.wc_sessionAuthenticate.reject}),await this.client.auth.requests.delete(t,{message:"rejected",code:0}),await this.client.proposal.delete(t,Xg("USER_DISCONNECTED"))},this.formatAuthMessage=e=>{this.isInitialized();const{request:t,iss:n}=e;return ng(t,n)},this.cleanupDuplicatePairings=async e=>{if(e.pairingTopic)try{const t=this.client.core.pairing.pairings.get(e.pairingTopic),n=this.client.core.pairing.pairings.getAll().filter((n=>{var r,i;return(null==(r=n.peerMetadata)?void 0:r.url)&&(null==(i=n.peerMetadata)?void 0:i.url)===e.peer.metadata.url&&n.topic&&n.topic!==t.topic}));if(0===n.length)return;this.client.logger.info("Cleaning up ".concat(n.length," duplicate pairing(s)")),await Promise.all(n.map((e=>this.client.core.pairing.disconnect({topic:e.topic})))),this.client.logger.info("Duplicate pairings clean up finished")}catch(t){this.client.logger.error(t)}},this.deleteSession=async e=>{var t;const{topic:n,expirerHasDeleted:r=!1,emitEvent:i=!0,id:o=0}=e,{self:a}=this.client.session.get(n);await this.client.core.relayer.unsubscribe(n),await this.client.session.delete(n,Xg("USER_DISCONNECTED")),this.addToRecentlyDeleted(n,"session"),this.client.core.crypto.keychain.has(a.publicKey)&&await this.client.core.crypto.deleteKeyPair(a.publicKey),this.client.core.crypto.keychain.has(n)&&await this.client.core.crypto.deleteSymKey(n),r||this.client.core.expirer.del(n),this.client.core.storage.removeItem(dw).catch((e=>this.client.logger.warn(e))),this.getPendingSessionRequests().forEach((e=>{e.topic===n&&this.deletePendingSessionRequest(e.id,Xg("USER_DISCONNECTED"))})),n===(null==(t=this.sessionRequestQueue.queue[0])?void 0:t.topic)&&(this.sessionRequestQueue.state=mw),i&&this.client.events.emit("session_delete",{id:o,topic:n})},this.deleteProposal=async(e,t)=>{await Promise.all([this.client.proposal.delete(e,Xg("USER_DISCONNECTED")),t?Promise.resolve():this.client.core.expirer.del(e)]),this.addToRecentlyDeleted(e,"proposal")},this.deletePendingSessionRequest=async function(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await Promise.all([t.client.pendingRequest.delete(e,n),r?Promise.resolve():t.client.core.expirer.del(e)]),t.addToRecentlyDeleted(e,"request"),t.sessionRequestQueue.queue=t.sessionRequestQueue.queue.filter((t=>t.id!==e)),r&&(t.sessionRequestQueue.state=mw,t.client.events.emit("session_request_expire",{id:e}))},this.deletePendingAuthRequest=async function(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await Promise.all([t.client.auth.requests.delete(e,n),r?Promise.resolve():t.client.core.expirer.del(e)])},this.setExpiry=async(e,t)=>{this.client.session.keys.includes(e)&&(this.client.core.expirer.set(e,t),await this.client.session.update(e,{expiry:t}))},this.setProposal=async(e,t)=>{this.client.core.expirer.set(e,Cd(pw.wc_sessionPropose.req.ttl)),await this.client.proposal.set(e,t)},this.setAuthRequest=async(e,t)=>{const{request:n,pairingTopic:r}=t;this.client.core.expirer.set(e,n.expiryTimestamp),await this.client.auth.requests.set(e,{authPayload:n.authPayload,requester:n.requester,expiryTimestamp:n.expiryTimestamp,id:e,pairingTopic:r,verifyContext:n.verifyContext})},this.setPendingSessionRequest=async e=>{const{id:t,topic:n,params:r,verifyContext:i}=e,o=r.request.expiryTimestamp||Cd(pw.wc_sessionRequest.req.ttl);this.client.core.expirer.set(t,o),await this.client.pendingRequest.set(t,{id:t,topic:n,params:r,verifyContext:i})},this.sendRequest=async e=>{const{topic:t,method:n,params:r,expiry:i,relayRpcId:o,clientRpcId:a,throwOnFailedPublish:s}=e,l=Mv(n,r,a);if(sd()&&vw.includes(n)){const e=Tg(JSON.stringify(l));this.client.core.verify.register({attestationId:e})}let c;try{c=await this.client.core.crypto.encode(t,l)}catch(ul){throw await this.cleanup(),this.client.logger.error("sendRequest() -> core.crypto.encode() for topic ".concat(t," failed")),ul}const u=pw[n].req;return i&&(u.ttl=i),o&&(u.id=o),this.client.core.history.set(t,l),s?(u.internal=kw(Sw({},u.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(t,c,u)):this.client.core.relayer.publish(t,c,u).catch((e=>this.client.logger.error(e))),l.id},this.sendResult=async e=>{const{id:t,topic:n,result:r,throwOnFailedPublish:i,encodeOpts:o}=e,a=Ov(t,r);let s,l;try{s=await this.client.core.crypto.encode(n,a,o)}catch(Al){throw await this.cleanup(),this.client.logger.error("sendResult() -> core.crypto.encode() for topic ".concat(n," failed")),Al}try{l=await this.client.core.history.get(n,t)}catch(Al){throw this.client.logger.error("sendResult() -> history.get(".concat(n,", ").concat(t,") failed")),Al}const c=pw[l.request.method].res;i?(c.internal=kw(Sw({},c.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(n,s,c)):this.client.core.relayer.publish(n,s,c).catch((e=>this.client.logger.error(e))),await this.client.core.history.resolve(a)},this.sendError=async e=>{const{id:t,topic:n,error:r,encodeOpts:i,rpcOpts:o}=e,a=jv(t,r);let s,l;try{s=await this.client.core.crypto.encode(n,a,i)}catch(Al){throw await this.cleanup(),this.client.logger.error("sendError() -> core.crypto.encode() for topic ".concat(n," failed")),Al}try{l=await this.client.core.history.get(n,t)}catch(Al){throw this.client.logger.error("sendError() -> history.get(".concat(n,", ").concat(t,") failed")),Al}const c=o||pw[l.request.method].res;this.client.core.relayer.publish(n,s,c),await this.client.core.history.resolve(a)},this.cleanup=async()=>{const e=[],t=[];this.client.session.getAll().forEach((t=>{let n=!1;yd(t.expiry)&&(n=!0),this.client.core.crypto.keychain.has(t.topic)||(n=!0),n&&e.push(t.topic)})),this.client.proposal.getAll().forEach((e=>{yd(e.expiryTimestamp)&&t.push(e.id)})),await Promise.all([...e.map((e=>this.deleteSession({topic:e}))),...t.map((e=>this.deleteProposal(e)))])},this.onRelayEventRequest=async e=>{this.requestQueue.queue.push(e),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state!==gw){for(this.client.logger.info("Request queue starting with ".concat(this.requestQueue.queue.length," requests"));this.requestQueue.queue.length>0;){this.requestQueue.state=gw;const t=this.requestQueue.queue.shift();if(t)try{this.processRequest(t),await new Promise((e=>setTimeout(e,300)))}catch(e){this.client.logger.warn(e)}}this.requestQueue.state=mw}else this.client.logger.info("Request queue already active, skipping...")},this.processRequest=e=>{const{topic:t,payload:n}=e,r=n.method;if(!this.shouldIgnorePairingRequest({topic:t,requestMethod:r}))switch(r){case"wc_sessionPropose":return this.onSessionProposeRequest(t,n);case"wc_sessionSettle":return this.onSessionSettleRequest(t,n);case"wc_sessionUpdate":return this.onSessionUpdateRequest(t,n);case"wc_sessionExtend":return this.onSessionExtendRequest(t,n);case"wc_sessionPing":return this.onSessionPingRequest(t,n);case"wc_sessionDelete":return this.onSessionDeleteRequest(t,n);case"wc_sessionRequest":return this.onSessionRequest(t,n);case"wc_sessionEvent":return this.onSessionEventRequest(t,n);case"wc_sessionAuthenticate":return this.onSessionAuthenticateRequest(t,n);default:return this.client.logger.info("Unsupported request method ".concat(r))}},this.onRelayEventResponse=async e=>{const{topic:t,payload:n}=e,r=(await this.client.core.history.get(t,n.id)).request.method;switch(r){case"wc_sessionPropose":return this.onSessionProposeResponse(t,n);case"wc_sessionSettle":return this.onSessionSettleResponse(t,n);case"wc_sessionUpdate":return this.onSessionUpdateResponse(t,n);case"wc_sessionExtend":return this.onSessionExtendResponse(t,n);case"wc_sessionPing":return this.onSessionPingResponse(t,n);case"wc_sessionRequest":return this.onSessionRequestResponse(t,n);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(t,n);default:return this.client.logger.info("Unsupported response method ".concat(r))}},this.onRelayEventUnknownPayload=e=>{const{topic:t}=e,{message:n}=Qg("MISSING_OR_INVALID","Decoded payload on topic ".concat(t," is not identifiable as a JSON-RPC request or a response."));throw new Error(n)},this.shouldIgnorePairingRequest=e=>{const{topic:t,requestMethod:n}=e,r=this.expectedPairingMethodMap.get(t);return!(!r||r.includes(n))&&!!(r.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)},this.onSessionProposeRequest=async(e,t)=>{const{params:n,id:r}=t;try{this.isValidConnect(Sw({},t.params));const i=n.expiryTimestamp||Cd(pw.wc_sessionPropose.req.ttl),o=Sw({id:r,pairingTopic:e,expiryTimestamp:i},n);await this.setProposal(r,o);const a=Tg(JSON.stringify(t)),s=await this.getVerifyContext(a,o.proposer.metadata);this.client.events.emit("session_proposal",{id:r,params:o,verifyContext:s})}catch(i){await this.sendError({id:r,topic:e,error:i,rpcOpts:pw.wc_sessionPropose.autoReject}),this.client.logger.error(i)}},this.onSessionProposeResponse=async(e,t)=>{const{id:n}=t;if(Gv(t)){const{result:r}=t;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:r});const i=this.client.proposal.get(n);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:i});const o=i.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:o});const a=r.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:a});const s=await this.client.core.crypto.generateSharedKey(o,a);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:s});const l=await this.client.core.relayer.subscribe(s);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:l}),await this.client.core.pairing.activate({topic:e})}else if(Yv(t)){await this.client.proposal.delete(n,Xg("USER_DISCONNECTED"));const e=bd("session_connect");if(0===this.events.listenerCount(e))throw new Error("emitting ".concat(e," without any listeners, 954"));this.events.emit(bd("session_connect"),{error:t.error})}},this.onSessionSettleRequest=async(e,t)=>{const{id:n,params:r}=t;try{this.isValidSessionSettleRequest(r);const{relay:n,controller:i,expiry:o,namespaces:a,sessionProperties:s,sessionConfig:l}=t.params,c=Sw(Sw({topic:e,relay:n,expiry:o,namespaces:a,acknowledged:!0,pairingTopic:"",requiredNamespaces:{},optionalNamespaces:{},controller:i.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:i.publicKey,metadata:i.metadata}},s&&{sessionProperties:s}),l&&{sessionConfig:l});await this.sendResult({id:t.id,topic:e,result:!0,throwOnFailedPublish:!0});const u=bd("session_connect");if(0===this.events.listenerCount(u))throw new Error("emitting ".concat(u," without any listeners 997"));this.events.emit(bd("session_connect"),{session:c})}catch(i){await this.sendError({id:n,topic:e,error:i}),this.client.logger.error(i)}},this.onSessionSettleResponse=async(e,t)=>{const{id:n}=t;Gv(t)?(await this.client.session.update(e,{acknowledged:!0}),this.events.emit(bd("session_approve",n),{})):Yv(t)&&(await this.client.session.delete(e,Xg("USER_DISCONNECTED")),this.events.emit(bd("session_approve",n),{error:t.error}))},this.onSessionUpdateRequest=async(e,t)=>{const{params:n,id:r}=t;try{const t="".concat(e,"_session_update"),i=yv.get(t);if(i&&this.isRequestOutOfSync(i,r))return this.client.logger.info("Discarding out of sync request - ".concat(r)),void this.sendError({id:r,topic:e,error:Xg("INVALID_UPDATE_REQUEST")});this.isValidUpdate(Sw({topic:e},n));try{yv.set(t,r),await this.client.session.update(e,{namespaces:n.namespaces}),await this.sendResult({id:r,topic:e,result:!0,throwOnFailedPublish:!0})}catch(xl){throw yv.delete(t),xl}this.client.events.emit("session_update",{id:r,topic:e,params:n})}catch(i){await this.sendError({id:r,topic:e,error:i}),this.client.logger.error(i)}},this.isRequestOutOfSync=(e,t)=>parseInt(t.toString().slice(0,-3))<=parseInt(e.toString().slice(0,-3)),this.onSessionUpdateResponse=(e,t)=>{const{id:n}=t,r=bd("session_update",n);if(0===this.events.listenerCount(r))throw new Error("emitting ".concat(r," without any listeners"));Gv(t)?this.events.emit(bd("session_update",n),{}):Yv(t)&&this.events.emit(bd("session_update",n),{error:t.error})},this.onSessionExtendRequest=async(e,t)=>{const{id:n}=t;try{this.isValidExtend({topic:e}),await this.setExpiry(e,Cd(hw)),await this.sendResult({id:n,topic:e,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_extend",{id:n,topic:e})}catch(fl){await this.sendError({id:n,topic:e,error:fl}),this.client.logger.error(fl)}},this.onSessionExtendResponse=(e,t)=>{const{id:n}=t,r=bd("session_extend",n);if(0===this.events.listenerCount(r))throw new Error("emitting ".concat(r," without any listeners"));Gv(t)?this.events.emit(bd("session_extend",n),{}):Yv(t)&&this.events.emit(bd("session_extend",n),{error:t.error})},this.onSessionPingRequest=async(e,t)=>{const{id:n}=t;try{this.isValidPing({topic:e}),await this.sendResult({id:n,topic:e,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:n,topic:e})}catch(fl){await this.sendError({id:n,topic:e,error:fl}),this.client.logger.error(fl)}},this.onSessionPingResponse=(e,t)=>{const{id:n}=t,r=bd("session_ping",n);if(0===this.events.listenerCount(r))throw new Error("emitting ".concat(r," without any listeners"));setTimeout((()=>{Gv(t)?this.events.emit(bd("session_ping",n),{}):Yv(t)&&this.events.emit(bd("session_ping",n),{error:t.error})}),500)},this.onSessionDeleteRequest=async(e,t)=>{const{id:n}=t;try{this.isValidDisconnect({topic:e,reason:t.params}),await Promise.all([new Promise((t=>{this.client.core.relayer.once(qy,(async()=>{t(await this.deleteSession({topic:e,id:n}))}))})),this.sendResult({id:n,topic:e,result:!0,throwOnFailedPublish:!0}),this.cleanupPendingSentRequestsForTopic({topic:e,error:Xg("USER_DISCONNECTED")})])}catch(fl){this.client.logger.error(fl)}},this.onSessionRequest=async(e,t)=>{var n;const{id:r,params:i}=t;try{await this.isValidRequest(Sw({topic:e},i));const t=Tg(JSON.stringify(Mv("wc_sessionRequest",i,r))),o=this.client.session.get(e),a={id:r,topic:e,params:i,verifyContext:await this.getVerifyContext(t,o.peer.metadata)};await this.setPendingSessionRequest(a),null!=(n=this.client.signConfig)&&n.disableRequestQueue?this.emitSessionRequest(a):(this.addSessionRequestToSessionRequestQueue(a),this.processSessionRequestQueue())}catch(o){await this.sendError({id:r,topic:e,error:o}),this.client.logger.error(o)}},this.onSessionRequestResponse=(e,t)=>{const{id:n}=t,r=bd("session_request",n);if(0===this.events.listenerCount(r))throw new Error("emitting ".concat(r," without any listeners"));Gv(t)?this.events.emit(bd("session_request",n),{result:t.result}):Yv(t)&&this.events.emit(bd("session_request",n),{error:t.error})},this.onSessionEventRequest=async(e,t)=>{const{id:n,params:r}=t;try{const t="".concat(e,"_session_event_").concat(r.event.name),i=yv.get(t);if(i&&this.isRequestOutOfSync(i,n))return void this.client.logger.info("Discarding out of sync request - ".concat(n));this.isValidEmit(Sw({topic:e},r)),this.client.events.emit("session_event",{id:n,topic:e,params:r}),yv.set(t,n)}catch(i){await this.sendError({id:n,topic:e,error:i}),this.client.logger.error(i)}},this.onSessionAuthenticateResponse=(e,t)=>{const{id:n}=t;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:e,payload:t}),Gv(t)?this.events.emit(bd("session_request",n),{result:t.result}):Yv(t)&&this.events.emit(bd("session_request",n),{error:t.error})},this.onSessionAuthenticateRequest=async(e,t)=>{try{const{requester:n,authPayload:r,expiryTimestamp:i}=t.params,o=Tg(JSON.stringify(t)),a=await this.getVerifyContext(o,this.client.metadata),s={requester:n,pairingTopic:e,id:t.id,authPayload:r,verifyContext:a,expiryTimestamp:i};await this.setAuthRequest(t.id,{request:s,pairingTopic:e}),this.client.events.emit("session_authenticate",{topic:e,params:t.params,id:t.id})}catch(Ys){this.client.logger.error(Ys);const r=t.params.requester.publicKey,i=await this.client.core.crypto.generateKeyPair(),o={type:yg,receiverPublicKey:r,senderPublicKey:i};await this.sendError({id:t.id,topic:e,error:Ys,encodeOpts:o,rpcOpts:pw.wc_sessionAuthenticate.autoReject})}},this.addSessionRequestToSessionRequestQueue=e=>{this.sessionRequestQueue.queue.push(e)},this.cleanupAfterResponse=e=>{this.deletePendingSessionRequest(e.response.id,{message:"fulfilled",code:0}),setTimeout((()=>{this.sessionRequestQueue.state=mw,this.processSessionRequestQueue()}),(0,Ws.toMiliseconds)(this.requestQueueDelay))},this.cleanupPendingSentRequestsForTopic=e=>{let{topic:t,error:n}=e;const r=this.client.core.history.pending;r.length>0&&r.filter((e=>e.topic===t&&"wc_sessionRequest"===e.request.method)).forEach((e=>{const t=bd("session_request",e.request.id);if(0===this.events.listenerCount(t))throw new Error("emitting ".concat(t," without any listeners"));this.events.emit(bd("session_request",e.request.id),{error:n})}))},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===gw)return void this.client.logger.info("session request queue is already active.");const e=this.sessionRequestQueue.queue[0];if(e)try{this.sessionRequestQueue.state=gw,this.emitSessionRequest(e)}catch(t){this.client.logger.error(t)}else this.client.logger.info("session request queue is empty.")},this.emitSessionRequest=e=>{this.client.events.emit("session_request",e)},this.onPairingCreated=e=>{if(e.methods&&this.expectedPairingMethodMap.set(e.topic,e.methods),e.active)return;const t=this.client.proposal.getAll().find((t=>t.pairingTopic===e.topic));t&&this.onSessionProposeRequest(e.topic,Mv("wc_sessionPropose",{requiredNamespaces:t.requiredNamespaces,optionalNamespaces:t.optionalNamespaces,relays:t.relays,proposer:t.proposer,sessionProperties:t.sessionProperties},t.id))},this.isValidConnect=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","connect() params: ".concat(JSON.stringify(e)));throw new Error(t)}const{pairingTopic:t,requiredNamespaces:n,optionalNamespaces:r,sessionProperties:i,relays:o}=e;if(ev(t)||await this.isValidPairingTopic(t),!function(e,t){let n=!1;return t&&!e?n=!0:e&&Jg(e)&&e.length&&e.forEach((e=>{n=cv(e)})),n}(o,!0)){const{message:e}=Qg("MISSING_OR_INVALID","connect() relays: ".concat(o));throw new Error(e)}!ev(n)&&0!==$g(n)&&this.validateNamespaces(n,"requiredNamespaces"),!ev(r)&&0!==$g(r)&&this.validateNamespaces(r,"optionalNamespaces"),ev(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(e,t)=>{const n=function(e,t,n){let r=null;if(e&&$g(e)){const i=sv(e,t);i&&(r=i);const o=ov(e,t,n);o&&(r=o)}else r=Qg("MISSING_OR_INVALID","".concat(t,", ").concat(n," should be an object with data"));return r}(e,"connect()",t);if(n)throw new Error(n.message)},this.isValidApprove=async e=>{if(!uv(e))throw new Error(Qg("MISSING_OR_INVALID","approve() params: ".concat(e)).message);const{id:t,namespaces:n,relayProtocol:r,sessionProperties:i}=e;this.checkRecentlyDeleted(t),await this.isValidProposalId(t);const o=this.client.proposal.get(t),a=lv(n,"approve()");if(a)throw new Error(a.message);const s=fv(o.requiredNamespaces,n,"approve()");if(s)throw new Error(s.message);if(!tv(r,!0)){const{message:e}=Qg("MISSING_OR_INVALID","approve() relayProtocol: ".concat(r));throw new Error(e)}ev(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","reject() params: ".concat(e));throw new Error(t)}const{id:t,reason:n}=e;if(this.checkRecentlyDeleted(t),await this.isValidProposalId(t),!function(e){return!(!e||"object"!=typeof e||!e.code||!nv(e.code,!1)||!e.message||!tv(e.message,!1))}(n)){const{message:e}=Qg("MISSING_OR_INVALID","reject() reason: ".concat(JSON.stringify(n)));throw new Error(e)}},this.isValidSessionSettleRequest=e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","onSessionSettleRequest() params: ".concat(e));throw new Error(t)}const{relay:t,controller:n,namespaces:r,expiry:i}=e;if(!cv(t)){const{message:e}=Qg("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(e)}const o=function(e,t){let n=null;return tv(null===e||void 0===e?void 0:e.publicKey,!1)||(n=Qg("MISSING_OR_INVALID","".concat(t," controller public key should be a string"))),n}(n,"onSessionSettleRequest()");if(o)throw new Error(o.message);const a=lv(r,"onSessionSettleRequest()");if(a)throw new Error(a.message);if(yd(i)){const{message:e}=Qg("EXPIRED","onSessionSettleRequest()");throw new Error(e)}},this.isValidUpdate=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","update() params: ".concat(e));throw new Error(t)}const{topic:t,namespaces:n}=e;this.checkRecentlyDeleted(t),await this.isValidSessionTopic(t);const r=this.client.session.get(t),i=lv(n,"update()");if(i)throw new Error(i.message);const o=fv(r.requiredNamespaces,n,"update()");if(o)throw new Error(o.message)},this.isValidExtend=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","extend() params: ".concat(e));throw new Error(t)}const{topic:t}=e;this.checkRecentlyDeleted(t),await this.isValidSessionTopic(t)},this.isValidRequest=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","request() params: ".concat(e));throw new Error(t)}const{topic:t,request:n,chainId:r,expiry:i}=e;this.checkRecentlyDeleted(t),await this.isValidSessionTopic(t);const{namespaces:o}=this.client.session.get(t);if(!dv(o,r)){const{message:e}=Qg("MISSING_OR_INVALID","request() chainId: ".concat(r));throw new Error(e)}if(!function(e){return!(ev(e)||!tv(e.method,!1))}(n)){const{message:e}=Qg("MISSING_OR_INVALID","request() ".concat(JSON.stringify(n)));throw new Error(e)}if(!hv(o,r,n.method)){const{message:e}=Qg("MISSING_OR_INVALID","request() method: ".concat(n.method));throw new Error(e)}if(i&&!function(e,t){return nv(e,!1)&&e<=t.max&&e>=t.min}(i,fw)){const{message:e}=Qg("MISSING_OR_INVALID","request() expiry: ".concat(i,". Expiry must be a number (in seconds) between ").concat(fw.min," and ").concat(fw.max));throw new Error(e)}},this.isValidRespond=async e=>{var t;if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","respond() params: ".concat(e));throw new Error(t)}const{topic:n,response:r}=e;try{await this.isValidSessionTopic(n)}catch(i){throw null!=(t=null===e||void 0===e?void 0:e.response)&&t.id&&this.cleanupAfterResponse(e),i}if(!function(e){return!(ev(e)||ev(e.result)&&ev(e.error)||!nv(e.id,!1)||!tv(e.jsonrpc,!1))}(r)){const{message:e}=Qg("MISSING_OR_INVALID","respond() response: ".concat(JSON.stringify(r)));throw new Error(e)}},this.isValidPing=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","ping() params: ".concat(e));throw new Error(t)}const{topic:t}=e;await this.isValidSessionOrPairingTopic(t)},this.isValidEmit=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","emit() params: ".concat(e));throw new Error(t)}const{topic:t,event:n,chainId:r}=e;await this.isValidSessionTopic(t);const{namespaces:i}=this.client.session.get(t);if(!dv(i,r)){const{message:e}=Qg("MISSING_OR_INVALID","emit() chainId: ".concat(r));throw new Error(e)}if(!function(e){return!(ev(e)||!tv(e.name,!1))}(n)){const{message:e}=Qg("MISSING_OR_INVALID","emit() event: ".concat(JSON.stringify(n)));throw new Error(e)}if(!pv(i,r,n.name)){const{message:e}=Qg("MISSING_OR_INVALID","emit() event: ".concat(JSON.stringify(n)));throw new Error(e)}},this.isValidDisconnect=async e=>{if(!uv(e)){const{message:t}=Qg("MISSING_OR_INVALID","disconnect() params: ".concat(e));throw new Error(t)}const{topic:t}=e;await this.isValidSessionOrPairingTopic(t)},this.isValidAuthenticate=e=>{const{chains:t,uri:n,domain:r,nonce:i}=e;if(!Array.isArray(t)||0===t.length)throw new Error("chains is required and must be a non-empty array");if(!tv(n,!1))throw new Error("uri is required parameter");if(!tv(r,!1))throw new Error("domain is required parameter");if(!tv(i,!1))throw new Error("nonce is required parameter");if([...new Set(t.map((e=>Yu(e).namespace)))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");const{namespace:o}=Yu(t[0]);if("eip155"!==o)throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")},this.getVerifyContext=async(e,t)=>{const n={verified:{verifyUrl:t.verifyUrl||vb,validation:"UNKNOWN",origin:t.url||""}};try{const r=await this.client.core.verify.resolve({attestationId:e,verifyUrl:t.verifyUrl});r&&(n.verified.origin=r.origin,n.verified.isScam=r.isScam,n.verified.validation=r.origin===new URL(t.url).origin?"VALID":"INVALID")}catch(fl){this.client.logger.info(fl)}return this.client.logger.info("Verify context: ".concat(JSON.stringify(n))),n},this.validateSessionProps=(e,t)=>{Object.values(e).forEach((e=>{if(!tv(e,!1)){const{message:n}=Qg("MISSING_OR_INVALID","".concat(t," must be in Record<string, string> format. Received: ").concat(JSON.stringify(e)));throw new Error(n)}}))},this.getPendingAuthRequest=e=>{const t=this.client.auth.requests.get(e);return"object"==typeof t?t:void 0},this.addToRecentlyDeleted=(e,t)=>{if(this.recentlyDeletedMap.set(e,t),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let e=0;const t=this.recentlyDeletedLimit/2;for(const n of this.recentlyDeletedMap.keys()){if(e++>=t)break;this.recentlyDeletedMap.delete(n)}}},this.checkRecentlyDeleted=e=>{const t=this.recentlyDeletedMap.get(e);if(t){const{message:n}=Qg("MISSING_OR_INVALID","Record was recently deleted - ".concat(t,": ").concat(e));throw new Error(n)}}}async isInitialized(){if(!this.initialized){const{message:e}=Qg("NOT_INITIALIZED",this.name);throw new Error(e)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Uy,(async e=>{const{topic:t,message:n}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(yw)?this.client.auth.authKeys.get(yw):{responseTopic:void 0,publicKey:void 0},i=await this.client.core.crypto.decode(t,n,{receiverPublicKey:r});try{Wv(i)?(this.client.core.history.set(t,i),this.onRelayEventRequest({topic:t,payload:i})):qv(i)?(await this.client.core.history.resolve(i),await this.onRelayEventResponse({topic:t,payload:i}),this.client.core.history.delete(t,i.id)):this.onRelayEventUnknownPayload({topic:t,payload:i})}catch(o){this.client.logger.error(o)}}))}registerExpirerEvents(){this.client.core.expirer.on(fb,(async e=>{const{topic:t,id:n}=vd(e.target);return n&&this.client.pendingRequest.keys.includes(n)?await this.deletePendingSessionRequest(n,Qg("EXPIRED"),!0):n&&this.client.auth.requests.keys.includes(n)?await this.deletePendingAuthRequest(n,Qg("EXPIRED"),!0):void(t?this.client.session.keys.includes(t)&&(await this.deleteSession({topic:t,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:t})):n&&(await this.deleteProposal(n,!0),this.client.events.emit("proposal_expire",{id:n})))}))}registerPairingEvents(){this.client.core.pairing.events.on(ib,(e=>this.onPairingCreated(e))),this.client.core.pairing.events.on(ab,(e=>{this.addToRecentlyDeleted(e.topic,"pairing")}))}isValidPairingTopic(e){if(!tv(e,!1)){const{message:t}=Qg("MISSING_OR_INVALID","pairing topic should be a string: ".concat(e));throw new Error(t)}if(!this.client.core.pairing.pairings.keys.includes(e)){const{message:t}=Qg("NO_MATCHING_KEY","pairing topic doesn't exist: ".concat(e));throw new Error(t)}if(yd(this.client.core.pairing.pairings.get(e).expiry)){const{message:t}=Qg("EXPIRED","pairing topic: ".concat(e));throw new Error(t)}}async isValidSessionTopic(e){if(!tv(e,!1)){const{message:t}=Qg("MISSING_OR_INVALID","session topic should be a string: ".concat(e));throw new Error(t)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){const{message:t}=Qg("NO_MATCHING_KEY","session topic doesn't exist: ".concat(e));throw new Error(t)}if(yd(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});const{message:t}=Qg("EXPIRED","session topic: ".concat(e));throw new Error(t)}if(!this.client.core.crypto.keychain.has(e)){const{message:t}=Qg("MISSING_OR_INVALID","session topic does not exist in keychain: ".concat(e));throw await this.deleteSession({topic:e}),new Error(t)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else{if(!this.client.core.pairing.pairings.keys.includes(e)){if(tv(e,!1)){const{message:t}=Qg("NO_MATCHING_KEY","session or pairing topic doesn't exist: ".concat(e));throw new Error(t)}{const{message:t}=Qg("MISSING_OR_INVALID","session or pairing topic should be a string: ".concat(e));throw new Error(t)}}this.isValidPairingTopic(e)}}async isValidProposalId(e){if(!function(e){return"number"==typeof e}(e)){const{message:t}=Qg("MISSING_OR_INVALID","proposal id should be a number: ".concat(e));throw new Error(t)}if(!this.client.proposal.keys.includes(e)){const{message:t}=Qg("NO_MATCHING_KEY","proposal id doesn't exist: ".concat(e));throw new Error(t)}if(yd(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);const{message:t}=Qg("EXPIRED","proposal id: ".concat(e));throw new Error(t)}}}class Dw extends Gb{constructor(e,t){super(e,t,"proposal",lw),this.core=e,this.logger=t}}class Nw extends Gb{constructor(e,t){super(e,t,"session",lw),this.core=e,this.logger=t}}class Fw extends Gb{constructor(e,t){super(e,t,"request",lw,(e=>e.id)),this.core=e,this.logger=t}}class Iw extends Gb{constructor(e,t){super(e,t,"authKeys",Cw,(()=>yw)),this.core=e,this.logger=t}}class Rw extends Gb{constructor(e,t){super(e,t,"pairingTopics",Cw),this.core=e,this.logger=t}}class Mw extends Gb{constructor(e,t){super(e,t,"requests",Cw,(e=>e.id)),this.core=e,this.logger=t}}class Ow{constructor(e,t){this.core=e,this.logger=t,this.authKeys=new Iw(this.core,this.logger),this.pairingTopics=new Rw(this.core,this.logger),this.requests=new Mw(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}}class jw extends Dl{constructor(e){super(e),this.protocol="wc",this.version=2,this.name=cw,this.events=new Le.EventEmitter,this.on=(e,t)=>this.events.on(e,t),this.once=(e,t)=>this.events.once(e,t),this.off=(e,t)=>this.events.off(e,t),this.removeListener=(e,t)=>this.events.removeListener(e,t),this.removeAllListeners=e=>this.events.removeAllListeners(e),this.connect=async e=>{try{return await this.engine.connect(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.pair=async e=>{try{return await this.engine.pair(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.approve=async e=>{try{return await this.engine.approve(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.reject=async e=>{try{return await this.engine.reject(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.update=async e=>{try{return await this.engine.update(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.extend=async e=>{try{return await this.engine.extend(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.request=async e=>{try{return await this.engine.request(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.respond=async e=>{try{return await this.engine.respond(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.ping=async e=>{try{return await this.engine.ping(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.emit=async e=>{try{return await this.engine.emit(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.disconnect=async e=>{try{return await this.engine.disconnect(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.find=e=>{try{return this.engine.find(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(e){throw this.logger.error(e.message),e}},this.authenticate=async e=>{try{return await this.engine.authenticate(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.formatAuthMessage=e=>{try{return this.engine.formatAuthMessage(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.approveSessionAuthenticate=async e=>{try{return await this.engine.approveSessionAuthenticate(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.rejectSessionAuthenticate=async e=>{try{return await this.engine.rejectSessionAuthenticate(e)}catch(Ys){throw this.logger.error(Ys.message),Ys}},this.name=(null===e||void 0===e?void 0:e.name)||cw,this.metadata=(null===e||void 0===e?void 0:e.metadata)||(0,Uu.g)()||{name:"",description:"",url:"",icons:[""]},this.signConfig=null===e||void 0===e?void 0:e.signConfig;const t=typeof(null===e||void 0===e?void 0:e.logger)<"u"&&"string"!=typeof(null===e||void 0===e?void 0:e.logger)?e.logger:Js()(gl({level:(null===e||void 0===e?void 0:e.logger)||uw}));this.core=(null===e||void 0===e?void 0:e.core)||new aw(e),this.logger=Cl(t,this.name),this.session=new Nw(this.core,this.logger),this.proposal=new Dw(this.core,this.logger),this.pendingRequest=new Fw(this.core,this.logger),this.engine=new Pw(this),this.auth=new Ow(this.core,this.logger)}static async init(e){const t=new jw(e);return await t.initialize(),t}get context(){return vl(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.engine.init(),await this.auth.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(Gs){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(Gs.message),Gs}}}function Lw(){return"undefined"!==typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"undefined"!==typeof navigator&&/iPad/.test(navigator.userAgent)}function Bw(){return"undefined"!==typeof navigator&&/android/i.test(navigator.userAgent)||Lw()}let Uw=function(e){return e.FLOW_AUTHN="flow_authn",e.FLOW_PRE_AUTHZ="flow_pre_authz",e.FLOW_AUTHZ="flow_authz",e.FLOW_USER_SIGN="flow_user_sign",e}({}),Vw=function(e){return e.SESSION_REQUEST="session_proposal",e.SIGNING_REQUEST="signing_request",e}({});const Hw="fcl-plugin-service-walletconnect",zw=(e,t,n)=>{let{wcRequestHook:r,pairingModalOverride:i}=t;return t=>{let{service:o,body:a,opts:s}=t;return new Promise((async(t,l)=>{const c=await e;let u,d,h;C(!!c,"WalletConnect is not initialized");const p=o.endpoint,f=function(e){let{uid:t}=e;t&&/^(ftp|http|https):\/\/[^ "]+$/.test(t)||(0,v.Rm)({title:"WalletConnect Service Warning",message:"service.uid should be a valid universal link url. Found: ".concat(t),level:v.A_.warn});return t}(o),m=c.pairing.getAll({active:!0});if(m.length>0&&(d=null===m||void 0===m?void 0:m.find((e=>{var t;return(null===(t=e.peerMetadata)||void 0===t?void 0:t.url)===o.uid}))),c.session.length>0){const e=c.session.keys.length-1;u=c.session.get(c.session.keys.at(e))}var g,y;(Bw()&&(h=s.windowRef?s.windowRef:window.open("","_blank")),null==u&&(u=await function(e){return async t=>{var n,r;let{service:i,onClose:o,appLink:a,windowRef:s,client:l,method:c,pairing:u,wcRequestHook:d,pairingModalOverride:h}=t;const p=await Ji(),f={flow:{methods:[Uw.FLOW_AUTHN,Uw.FLOW_PRE_AUTHZ,Uw.FLOW_AUTHZ,Uw.FLOW_USER_SIGN],chains:["flow:".concat(p)],events:["chainChanged","accountsChanged"]}};C(!(null===(n=l.opts)||void 0===n||!n.projectId),"Cannot establish connection, WalletConnect projectId is undefined");const m=null===(r=l.opts)||void 0===r?void 0:r.projectId,g=new(await e)({projectId:m,walletConnectVersion:2});try{const{uri:e,approval:t}=await l.connect({pairingTopic:null===u||void 0===u?void 0:u.topic,requiredNamespaces:f});var y=e;if(d&&d instanceof Function&&d({type:Vw.SESSION_REQUEST,method:c,service:i,session:null,pairing:null!==u&&void 0!==u?u:null,uri:null!==e&&void 0!==e?e:null}),C(!!e,"Cannot establish connection, WalletConnect URI is undefined"),Bw()){const t=new URLSearchParams({uri:e}).toString();let n=null==u?a+"?"+t:a;s.location.href=n}else u||(h?h(e,o):g.openModal({uri:e,onClose:o}));return await t()}catch(b){throw b instanceof Error&&(0,v.Rm)({title:"".concat(b.name," Error establishing WalletConnect session"),message:"\n          ".concat(b.message,"\n          uri: ").concat(y,"\n        "),level:v.A_.error}),o(),b}finally{s&&!s.closed&&s.close(),g.closeModal()}}}(n)({service:o,onClose:function(){l("Declined: Externally Halted")},appLink:f,windowRef:h,client:c,method:p,pairing:d,wcRequestHook:r,pairingModalOverride:i})),r&&r instanceof Function)&&r({type:Vw.SIGNING_REQUEST,method:p,service:o,session:null!==(g=u)&&void 0!==g?g:null,pairing:null!==(y=d)&&void 0!==y?y:null,uri:null});Bw()&&p!==Uw.FLOW_AUTHN&&function(){if(h)if(f.startsWith("http")&&!Lw()){const e=document.createElement("a");e.href=f,e.target="_blank",e.rel="noreferrer noopener",e.click()}else h.location.href=f;else(0,v.Rm)({title:"Problem opening deep link in new window",message:"Window failed to open (was it blocked by the browser?)",level:v.A_.warn})}();const[b,w,x]=function(e){const[t,n,r]=Object.values(e.namespaces).map((e=>e.accounts)).flat().filter((e=>e.startsWith("flow:")))[0].split(":"),i="".concat(t,":").concat(n),o=r;return[i,o,r]}(u),A=JSON.stringify({...a,addr:w,address:x});try{!function(e){try{if("object"!==typeof e)return;switch(e.status){case"APPROVED":t(e.data);break;case"DECLINED":l("Declined: ".concat(e.reason||"No reason supplied"));break;case"REDIRECT":t(e);break;default:l("Declined: No reason supplied")}}catch(n){throw n instanceof Error&&(0,v.Rm)({title:"".concat(n.name,' "WC/RPC onResponse error"'),message:n.message,level:v.A_.error}),n}}(await c.request({topic:u.topic,chainId:b,request:{method:p,params:[A]}}))}catch(E){E instanceof Error&&(0,v.Rm)({title:"".concat(E.name," Error on WalletConnect client ").concat(p," request"),message:E.message,level:v.A_.error}),l("Declined: Externally Halted")}finally{h&&!h.closed&&h.close()}}))}};let Zw=Promise.resolve(null);const Ww=e=>{const{FclWcServicePlugin:t,clientPromise:n}=qw(e);return sa.authn.update(),{FclWcServicePlugin:t,clientPromise:n}},qw=e=>{let{projectId:t,metadata:r,includeBaseWC:i=!1,wcRequestHook:o=null,pairingModalOverride:a=null,wallets:s=[]}=e;if("undefined"===typeof window)throw new Error("FCL Wallet Connect Plugin can only be initialized in the browser");Zw=Promise.resolve(Zw).catch((()=>null)).then((e=>e||(async e=>{let{projectId:t,metadata:n}=e;C(null!=t,"FCL Wallet Connect Error: WalletConnect projectId is required");try{return jw.init({logger:"debug",relayUrl:"wss://relay.walletconnect.com",projectId:t,metadata:n})}catch(r){throw r instanceof Error&&(0,v.Rm)({title:"".concat(r.name," fcl-wc Init Client"),message:r.message,level:v.A_.error}),r}})({projectId:t,metadata:r}))).catch((e=>{throw(0,v.Rm)({title:"WalletConnect Client Initialization Error",message:e.message?e.message:e,level:v.A_.error}),e}));const l=function(e){return{name:Hw,f_type:"ServicePlugin",type:"discovery-service",serviceStrategy:{method:"WC/RPC",exec:zw(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{projectId:"",includeBaseWC:!1,wallets:[],wcRequestHook:null,pairingModalOverride:null},n.e(4).then(n.bind(n,89004)).then((e=>e.WalletConnectModal)))},services:[]}}(Zw,{projectId:t,includeBaseWC:i,wcRequestHook:o,pairingModalOverride:a,wallets:s});return{FclWcServicePlugin:l,clientPromise:Zw}},Gw="FCL_IFRAME",Yw="\n  position:fixed;\n  top: 0px;\n  right: 0px;\n  bottom: 0px;\n  left: 0px;\n  height: 100%;\n  width: 100vw;\n  display:block;\n  background:rgba(0,0,0,0.25);\n  z-index: 2147483647;\n  box-sizing: border-box;\n  color-scheme: light;\n";function Kw(e){C(!document.getElementById(Gw),"Attempt at triggering multiple Frames",{src:e});const t=document.createElement("iframe");t.src=e,t.id=Gw,t.allow="usb *; hid *",t.frameBorder="0",t.style.cssText=Yw,document.body.append(t);return[t.contentWindow,()=>{document.getElementById(Gw)&&document.getElementById(Gw).remove()}]}const Qw="FCL_POP";let Xw=null,Jw=null;function $w(e){var t;null==Xw||null!==(t=Xw)&&void 0!==t&&t.closed?Xw=function(e,t,n,r,i){const o=n.top.outerHeight/2+n.top.screenY-i/2,a=n.top.outerWidth/2+n.top.screenX-r/2,s=n.open(e,t,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=".concat(r,", height=").concat(i,", top=").concat(o,", left=").concat(a));if(!s)throw new Error("Popup failed to open (was it blocked by a popup blocker?)");return s}(e,Qw,window,640,770):Jw!==e?(Xw.location.replace(e),Xw.focus()):Xw.focus(),Jw=e;return[Xw,()=>{Xw&&!Xw.closed&&Xw.close(),Xw=null}]}let ex=null,tx=null;function nx(e){var t;if(null==ex||null!==(t=ex)&&void 0!==t&&t.closed){if(ex=window.open(e,"_blank"),!ex)throw new Error("Tab failed to open (was it blocked by the browser?)")}else tx!==e?(ex.location.replace(e),ex.focus()):ex.focus();tx=e;return[ex,()=>{ex&&!ex.closed&&ex.close(),ex=null}]}const rx=()=>{try{const e={can:!("undefined"===typeof window),get:async e=>JSON.parse(sessionStorage.getItem(e)),put:async(e,t)=>sessionStorage.setItem(e,JSON.stringify(t))};return e}catch(e){return null}},ix=()=>{};const ox="1.11.0";const ax=()=>{};const sx=()=>{};const lx=()=>{};const cx=()=>{throw new Error("Strategy util has not been implemented on this platform")},ux={"VIEW/IFRAME":Kw,"VIEW/POP":$w,"VIEW/TAB":nx,"VIEW/MOBILE_BROWSER":cx,"VIEW/DEEPLINK":cx};async function dx(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{serviceEndpoint:()=>{}};const{serviceEndpoint:n}=t;try{return ux[e.method](n(e),t)}catch(r){throw console.error("execLocal({service, opts = {}})",r,{service:e,opts:t}),r}}const hx={[io["HTTP/RPC"]]:es(dx),[io["HTTP/POST"]]:es(dx),[io["IFRAME/RPC"]]:function(e){let{service:t,body:n,config:r,opts:i}=e;return new Promise(((e,o)=>{const a=us(),s=i.includeOlderJsonRpcCall;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return{send:ix,close:ix};const n=t.onClose||ix,r=t.onMessage||ix,i=t.onReady||ix,o=t.onResponse||ix,a=ss({close:c,send:u,onReady:i,onResponse:o,onMessage:r});window.addEventListener("message",a);const[s,l]=Kw(Ya(e));return{send:u,close:c};function c(){try{window.removeEventListener("message",a),l(),n()}catch(e){console.error("Frame Close Error",e)}}function u(e){try{s.postMessage(JSON.parse(JSON.stringify(e||{})),"*")}catch(t){console.error("Frame Send Error",e,t)}}}(t,{async onReady(e,i){let{send:o}=i;try{o({type:"FCL:VIEW:READY:RESPONSE",fclVersion:ox,body:n,service:{params:t.params,data:t.data,type:t.type},config:r}),o({fclVersion:ox,type:"FCL:FRAME:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r,deprecated:{message:"FCL:FRAME:READY:RESPONSE is deprecated and replaced with type: FCL:VIEW:READY:RESPONSE"}}),s&&o({jsonrpc:"2.0",id:a,method:"fcl:sign",params:[n,t.params],deprecated:{message:"jsonrpc is deprecated and replaced with type: FCL:VIEW:READY:RESPONSE"}})}catch(l){throw l}},onResponse(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;const n=Qa(t.data);switch(n.status){case"APPROVED":e(n.data),r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execIframeRPC onResponse error",i),i}},onMessage(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;if("2.0"!==t.data.jsonrpc)return;if(t.data.id!==a)return;const n=Qa(t.data.result);switch(n.status){case"APPROVED":e(n.data),r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execIframeRPC onMessage error",i),i}},onClose(){o("Declined: Externally Halted")}})}))},[io["POP/RPC"]]:function(e){let{service:t,body:n,config:r,opts:i}=e;return new Promise(((e,o)=>{const a=us(),{redir:s,includeOlderJsonRpcCall:l}=i;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return{send:ax,close:ax};const n=t.onClose||ax,r=t.onMessage||ax,i=t.onReady||ax,o=t.onResponse||ax,a=ss({close:u,send:d,onReady:i,onResponse:o,onMessage:r});window.addEventListener("message",a);const[s,l]=$w(Ya(e)),c=setInterval((function(){s&&s.closed&&u()}),500);return{send:d,close:u};function u(){try{window.removeEventListener("message",a),clearInterval(c),l(),n()}catch(e){console.error("Popup Close Error",e)}}function d(e){try{s.postMessage(JSON.parse(JSON.stringify(e||{})),"*")}catch(t){console.error("Popup Send Error",e,t)}}}(t,{async onReady(e,i){let{send:o}=i;try{o({fclVersion:ox,type:"FCL:VIEW:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r}),o({fclVersion:ox,type:"FCL:FRAME:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r,deprecated:{message:"FCL:FRAME:READY:RESPONSE is deprecated and replaced with type: FCL:VIEW:READY:RESPONSE"}}),l&&o({jsonrpc:"2.0",id:a,method:"fcl:sign",params:[n,t.params]})}catch(s){throw s}},onResponse(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;const n=Qa(t.data);switch(n.status){case"APPROVED":e(n.data),!s&&r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execPopRPC onResponse error",i),i}},onMessage(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;if("2.0"!==t.data.jsonrpc)return;if(t.data.id!==a)return;const n=Qa(t.data.result);switch(n.status){case"APPROVED":e(n.data),!s&&r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execPopRPC onMessage error",i),i}},onClose(){o("Declined: Externally Halted")}})}))},[io["TAB/RPC"]]:function(e){let{service:t,body:n,config:r,opts:i}=e;return new Promise(((e,o)=>{const a=us(),{redir:s,includeOlderJsonRpcCall:l}=i;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return{send:sx,close:sx};const n=t.onClose||sx,r=t.onMessage||sx,i=t.onReady||sx,o=t.onResponse||sx,a=ss({close:u,send:d,onReady:i,onResponse:o,onMessage:r});window.addEventListener("message",a);const[s,l]=nx(Ya(e)),c=setInterval((function(){s&&s.closed&&u()}),500);return{send:d,close:u};function u(){try{window.removeEventListener("message",a),clearInterval(c),l(),n()}catch(e){console.error("Tab Close Error",e)}}function d(e){try{s.postMessage(JSON.parse(JSON.stringify(e||{})),"*")}catch(t){console.error("Tab Send Error",e,t)}}}(t,{async onReady(e,i){let{send:o}=i;try{o({fclVersion:ox,type:"FCL:VIEW:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r}),o({fclVersion:ox,type:"FCL:FRAME:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r,deprecated:{message:"FCL:FRAME:READY:RESPONSE is deprecated and replaced with type: FCL:VIEW:READY:RESPONSE"}}),l&&o({jsonrpc:"2.0",id:a,method:"fcl:sign",params:[n,t.params]})}catch(s){throw s}},onResponse(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;const n=Qa(t.data);switch(n.status){case"APPROVED":e(n.data),!s&&r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execPopRPC onResponse error",i),i}},onMessage(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;if("2.0"!==t.data.jsonrpc)return;if(t.data.id!==a)return;const n=Qa(t.data.result);switch(n.status){case"APPROVED":e(n.data),!s&&r();break;case"DECLINED":o("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:o("Declined: No reason supplied"),r()}}catch(i){throw console.error("execPopRPC onMessage error",i),i}},onClose(){o("Declined: Externally Halted")}})}))},[io["EXT/RPC"]]:function(e){let{service:t,body:n,config:r,opts:i}=e;return new Promise(((e,i)=>{!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return{send:lx,close:lx};const n=t.onClose||lx,r=t.onMessage||lx,i=t.onReady||lx,o=t.onResponse||lx,a=ss({close:s,send:l,onReady:i,onResponse:o,onMessage:r});return window.addEventListener("message",a),l({service:e}),{send:l,close:s};function s(){try{window.removeEventListener("message",a),n()}catch(e){console.error("Ext Close Error",e)}}function l(e){try{window&&window.postMessage(JSON.parse(JSON.stringify(e||{})),"*")}catch(t){console.error("Ext Send Error",e,t)}}}(t,{async onReady(e,i){let{send:o}=i;try{o({fclVersion:ox,type:"FCL:VIEW:READY:RESPONSE",body:n,service:{params:t.params,data:t.data,type:t.type},config:r})}catch(a){throw a}},onResponse(t,n){let{close:r}=n;try{if("object"!==typeof t.data)return;const n=Qa(t.data);switch(n.status){case"APPROVED":e(n.data),r();break;case"DECLINED":i("Declined: ".concat(n.reason||"No reason supplied")),r();break;case"REDIRECT":e(n),r();break;default:i("Declined: No reason supplied"),r()}}catch(o){throw console.error("execExtRPC onResponse error",o),o}},onClose(){i("Declined: Externally Halted")}})}))}},px="undefined"===typeof window,fx=e=>{const t=e["app.detail.title"],n=e["app.detail.icon"],r=e["app.detail.description"],i=e["app.detail.url"];return{name:null!==t&&void 0!==t?t:document.title,description:null!==r&&void 0!==r?r:"",url:null!==i&&void 0!==i?i:window.location.origin,icons:n?[n]:[]}};const mx=(e=>{let{platform:t}=e;return async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{await async function(e){return no("mutate",e)}(e),e=await to(e);const n=Ga({platform:t}),r=await _e().get("fcl.authz",n().authorization);return _e().overload(e.dependencies||{},(async()=>Wr([wi(e.cadence),hi(Wi(e.args||[])),e.limit&&Zi(e.limit)&&di(e.limit),fi(e.proposer||e.authz||r),mi(e.payer||e.authz||r),ti(e.authorizations||[e.authz||r])]).then(qr)))}catch(n){throw n}}})({platform:"web"}),gx=Ga({platform:"web"}),vx=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return gx().authenticate(e)},Cx=()=>gx().unauthenticate(),yx=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return gx().unauthenticate(),gx().authenticate(e)},bx=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return gx().authenticate(e)},wx=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return gx().authenticate(e)},xx=gx().authorization;_e({"discovery.wallet.method.default":"IFRAME/RPC","fcl.storage.default":rx()}),Qo({coreStrategies:hx}),function(){if(px)return;let e=null,t=!1;_e.subscribe((async n=>{const r={"walletconnect.projectId":n["walletconnect.projectId"],"app.detail.title":n["app.detail.title"],"app.detail.icon":n["app.detail.icon"],"app.detail.description":n["app.detail.description"],"app.detail.url":n["app.detail.url"]},i=r["walletconnect.projectId"],o=e;if(e=JSON.stringify(r,null,2),t)return void(o!==e&&console.warn("FCL WalletConnect Plugin has been already loaded with different configuration. It is not possible to change the configuration after the plugin has been loaded.\n\nPrevious configuration:\n".concat(o,"\n\nCurrent configuration:\n").concat(e)));if(!!!i)return;if(C(!!i,"FCL Configuration value for 'walletconnect.projectId' is required"),Jo.getPlugins().has(Hw))return t||console.warn("It seems like the FCL WalletConnect plugins has been already loaded manually. This is no longer necessary, please see the documentation for more information."),void(t=!0);t=!0;const{FclWcServicePlugin:a}=Ww({projectId:i,metadata:fx(r)});Jo.add([a])}))}()},65094:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Address:()=>V,Array:()=>W,Bool:()=>U,Character:()=>B,Dictionary:()=>q,Enum:()=>Q,Event:()=>G,Fix64:()=>j,Identity:()=>f,InclusiveRange:()=>J,Int:()=>g,Int128:()=>T,Int16:()=>b,Int256:()=>k,Int32:()=>x,Int64:()=>E,Int8:()=>C,Optional:()=>z,Path:()=>X,Reference:()=>Z,Resource:()=>Y,String:()=>L,Struct:()=>K,UFix64:()=>O,UInt:()=>m,UInt128:()=>_,UInt16:()=>y,UInt256:()=>S,UInt32:()=>w,UInt64:()=>A,UInt8:()=>v,Void:()=>H,Word128:()=>I,Word16:()=>D,Word256:()=>R,Word32:()=>N,Word64:()=>F,Word8:()=>P,_Array:()=>W});var r=n(27998);const i=(e,t,n)=>({label:e,asArgument:t,asInjection:t=>(r.Rm.deprecate({pkg:"@onflow/types",subject:"Passing in ".concat(e," as value for ").concat(e),message:"Going forward, use ".concat(e," as value for ").concat(e,".")}),n(t))}),o=e=>Array.isArray(e),a=e=>"object"===typeof e,s=e=>null==e,l=e=>"number"===typeof e,c=e=>Number.isInteger(e),u=e=>"string"===typeof e,d=e=>{throw new Error("Type Error: "+e)},h=e=>{r.Rm.deprecate({pkg:"@onflow/types",subject:"Passing in Number as value for ".concat(e),message:"Going forward, use String as value for ".concat(e,"."),transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/types/WARNINGS.md#0002-[U]Int*-and-Word*-as-Number"})};let p=!1;const f={label:"Identity",asArgument:e=>(p||(r.Rm.deprecate({pkg:"@onflow/types",subject:"Identity",message:"Identity type is deprecated and will be removed in v2.0.0.  Please remove it from your code."}),p=!0),e),asInjection:e=>e},m=i("UInt",(e=>l(e)&&c(e)?(h("UInt"),{type:"UInt",value:e.toString()}):u(e)?{type:"UInt",value:e}:d("Expected Positive Integer for type Unsigned Int")),(e=>e)),g=i("Int",(e=>l(e)&&c(e)?(h("Int"),{type:"Int",value:e.toString()}):u(e)?{type:"Int",value:e}:d("Expected Integer for type Int")),(e=>e)),v=i("UInt8",(e=>l(e)&&c(e)?(h("UInt8"),{type:"UInt8",value:e.toString()}):u(e)?{type:"UInt8",value:e}:d("Expected integer for UInt8")),(e=>e)),C=i("Int8",(e=>l(e)&&c(e)?(h("Int8"),{type:"Int8",value:e.toString()}):u(e)?{type:"Int8",value:e}:d("Expected positive integer for Int8")),(e=>e)),y=i("UInt16",(e=>l(e)&&c(e)?(h("UInt16"),{type:"UInt16",value:e.toString()}):u(e)?{type:"UInt16",value:e}:d("Expected integer for UInt16")),(e=>e)),b=i("Int16",(e=>l(e)&&c(e)?(h("Int16"),{type:"Int16",value:e.toString()}):u(e)?{type:"Int16",value:e}:d("Expected positive integer for Int16")),(e=>e)),w=i("UInt32",(e=>l(e)&&c(e)?(h("UInt32"),{type:"UInt32",value:e.toString()}):u(e)?{type:"UInt32",value:e}:d("Expected integer for UInt32")),(e=>e)),x=i("Int32",(e=>l(e)&&c(e)?(h("Int32"),{type:"Int32",value:e.toString()}):u(e)?{type:"Int32",value:e}:d("Expected positive integer for Int32")),(e=>e)),A=i("UInt64",(e=>l(e)&&c(e)?(h("UInt64"),{type:"UInt64",value:e.toString()}):u(e)?{type:"UInt64",value:e}:d("Expected integer for UInt64")),(e=>e)),E=i("Int64",(e=>l(e)&&c(e)?(h("Int64"),{type:"Int64",value:e.toString()}):u(e)?{type:"Int64",value:e}:d("Expected positive integer for Int64")),(e=>e)),_=i("UInt128",(e=>l(e)&&c(e)?(h("UInt128"),{type:"UInt128",value:e.toString()}):u(e)?{type:"UInt128",value:e}:d("Expected integer for UInt128")),(e=>e)),T=i("Int128",(e=>l(e)&&c(e)?(h("Int128"),{type:"Int128",value:e.toString()}):u(e)?{type:"Int128",value:e}:d("Expected positive integer for Int128")),(e=>e)),S=i("UInt256",(e=>l(e)&&c(e)?(h("UInt256"),{type:"UInt256",value:e.toString()}):u(e)?{type:"UInt256",value:e}:d("Expected integer for UInt256")),(e=>e)),k=i("Int256",(e=>l(e)&&c(e)?(h("Int256"),{type:"Int256",value:e.toString()}):u(e)?{type:"Int256",value:e}:d("Expected integer for Int256")),(e=>e)),P=i("Word8",(e=>l(e)&&c(e)?(h("Word8"),{type:"Word8",value:e.toString()}):u(e)?{type:"Word8",value:e}:d("Expected positive number for Word8")),(e=>e)),D=i("Word16",(e=>l(e)&&c(e)?(h("Word16"),{type:"Word16",value:e.toString()}):u(e)?{type:"Word16",value:e}:d("Expected positive number for Word16")),(e=>e)),N=i("Word32",(e=>l(e)&&c(e)?(h("Word32"),{type:"Word32",value:e.toString()}):u(e)?{type:"Word32",value:e}:d("Expected positive number for Word32")),(e=>e)),F=i("Word64",(e=>l(e)&&c(e)?(h("Word64"),{type:"Word64",value:e.toString()}):u(e)?{type:"Word64",value:e}:d("Expected positive number for Word64")),(e=>e)),I=i("Word128",(e=>l(e)&&c(e)?(h("Word128"),{type:"Word128",value:e.toString()}):u(e)?{type:"Word128",value:e}:d("Expected positive number for Word128")),(e=>e)),R=i("Word256",(e=>l(e)&&c(e)?(h("Word256"),{type:"Word256",value:e.toString()}):u(e)?{type:"Word256",value:e}:d("Expected positive number for Word256")),(e=>e)),M=()=>{r.Rm.deprecate({subject:"Passing in Numbers as values for Fix64 and UFix64 types",pkg:"@onflow/types",transition:"https://github.com/onflow/flow-js-sdk/blob/master/packages/types/WARNINGS.md#0001-[U]Fix64-as-Number"})},O=i("UFix64",(e=>{if(u(e)){const t=e.split(".");return 2!==t.length?d("Expected one decimal but found ".concat(t.length," in the [U]Fix64 value. Find out more about [U]Fix64 types here: https://docs.onflow.org/cadence/json-cadence-spec/#fixed-point-numbers")):0==t[1].length||t[1].length>8?d("Expected at least one digit, and at most 8 digits following the decimal of the [U]Fix64 value but found ".concat(t[1].length," digits. Find out more about [U]Fix64 types here: https://docs.onflow.org/cadence/json-cadence-spec/#fixed-point-numbers")):(t[1]=t[1].padEnd(8,"0"),{type:"UFix64",value:e=t.join(".")})}return l(e)?(M(),{type:"UFix64",value:e.toString()}):d("Expected String for UFix64")}),(e=>e)),j=i("Fix64",(e=>{if(u(e)){const t=e.split(".");return 2!==t.length?d("Expected one decimal but found ".concat(t.length," in the [U]Fix64 value. Find out more about [U]Fix64 types here: https://docs.onflow.org/cadence/json-cadence-spec/#fixed-point-numbers")):0==t[1].length||t[1].length>8?d("Expected at least one digit, and at most 8 digits following the decimal of the [U]Fix64 value but found ".concat(t[1].length," digits. Find out more about [U]Fix64 types here: https://docs.onflow.org/cadence/json-cadence-spec/#fixed-point-numbers")):(t[1]=t[1].padEnd(8,"0"),{type:"Fix64",value:e=t.join(".")})}return l(e)?(M(),{type:"Fix64",value:e.toString()}):d("Expected String for Fix64")}),(e=>e)),L=i("String",(e=>u(e)?{type:"String",value:e}:d("Expected String for type String")),(e=>e)),B=i("Character",(e=>u(e)?{type:"Character",value:e}:d("Expected Character for type Character")),(e=>e)),U=i("Bool",(e=>"boolean"===typeof e?{type:"Bool",value:e}:d("Expected Boolean for type Bool")),(e=>e)),V=i("Address",(e=>u(e)?{type:"Address",value:e}:d("Expected Address for type Address")),(e=>e)),H=i("Void",(e=>!e||s(e)?{type:"Void",value:null}:d("Expected Void for type Void")),(e=>e)),z=e=>i("Optional",(t=>({type:"Optional",value:s(t)?null:e.asArgument(t)})),(e=>e)),Z=i("Reference",(e=>a(e)?{type:"Reference",value:e}:d("Expected Object for type Reference")),(e=>e)),W=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return i("Array",(t=>({type:"Array",value:o(e)?e.map(((e,n)=>e.asArgument(t[n]))):t.map((t=>e.asArgument(t)))})),(e=>e))},q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return i("Dictionary",(t=>{const n=o(t),r=o(e);return a(t)?{type:"Dictionary",value:r&&n?e.map(((e,n)=>({key:e.key.asArgument(t[n].key),value:e.value.asArgument(t[n].value)}))):n&&!r?t.map((t=>({key:e.key.asArgument(t.key),value:e.value.asArgument(t.value)}))):n||r?d("Invalid arguments for Dictionary."):[{key:e.key.asArgument(t.key),value:e.value.asArgument(t.value)}]}:d("Expected Object for type Dictionary")}),(e=>e))},G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i("Event",(n=>a(n)?{type:"Event",value:{id:e,fields:o(t)?t.map(((e,t)=>({name:n.fields[t].name,value:e.value.asArgument(n.fields[t].value)}))):n.fields.map((e=>({name:e.name,value:t.value.asArgument(e.value)})))}}:d("Expected Object for type Event")),(e=>e))},Y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i("Resource",(n=>a(n)?{type:"Resource",value:{id:e,fields:o(t)?t.map(((e,t)=>({name:n.fields[t].name,value:e.value.asArgument(n.fields[t].value)}))):n.fields.map((e=>({name:e.name,value:t.value.asArgument(e.value)})))}}:d("Expected Object for type Resource")),(e=>e))},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i("Struct",(n=>a(n)?{type:"Struct",value:{id:e,fields:o(t)?t.map(((e,t)=>({name:n.fields[t].name,value:e.value.asArgument(n.fields[t].value)}))):n.fields.map((e=>({name:e.name,value:t.value.asArgument(e.value)})))}}:d("Expected Object for type Struct")),(e=>e))},Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i("Enum",(n=>a(n)?{type:"Enum",value:{id:e,fields:o(t)?t.map(((e,t)=>({name:n.fields[t].name,value:e.value.asArgument(n.fields[t].value)}))):n.fields.map((e=>({name:e.name,value:t.value.asArgument(e.value)})))}}:d("Expected Object for type Enum")),(e=>e))},X=i("Path",(e=>a(e)?u(e.domain)?"storage"!==e.domain&&"private"!==e.domain&&"public"!==e.domain?d('Expected either "storage", "private" or "public" as the Path domain but found '.concat(e.domain,". Find out more about the Path type here: https://docs.onflow.org/cadence/json-cadence-spec/#path")):u(e.identifier)?{type:"Path",value:{domain:e.domain,identifier:e.identifier}}:d("Expected a string for the Path identifier but found ".concat(e.identifier,". Find out more about the Path type here: https://docs.onflow.org/cadence/json-cadence-spec/#path")):d("Expected a string for the Path domain but found ".concat(e.domain,". Find out more about the Path type here: https://docs.onflow.org/cadence/json-cadence-spec/#path")):d("Expected Object for type Path")),(e=>e)),J=e=>i("InclusiveRange",(t=>{if(a(t)){const{start:n,end:r,step:i}=t;return{type:"InclusiveRange",value:{start:e.asArgument(n),end:e.asArgument(r),step:e.asArgument(i)}}}return d("Expected Object for type InclusiveRange")}),(e=>e))},27998:(e,t,n)=>{"use strict";n.d(t,{A_:()=>o,Nk:()=>i,Rm:()=>a});let r=null;const i=e=>{r=e};let o=function(e){return e[e.debug=5]="debug",e[e.info=4]="info",e[e.log=3]="log",e[e.warn=2]="warn",e[e.error=1]="error",e}({});const a=async e=>{var t,n;const{title:i,message:a,level:s,always:l}=e,c=null!==(t=await(null===(n=r)||void 0===n||null===(n=n())||void 0===n?void 0:n.get("logger.level")))&&void 0!==t?t:o.warn;if(!l&&c<s)return;const u=(e=>{const{title:t,message:n}=e;return["\n    %c".concat(t,"\n    ============================\n\n    ").concat(n,"\n\n    ============================\n    ").replace(/\n[^\S\r\n]+/g,"\n").trim(),"font-weight:bold;font-family:monospace;"]})({title:i,message:a});switch(s){case o.debug:console.debug(...u);break;case o.info:console.info(...u);break;case o.warn:console.warn(...u);break;case o.error:console.error(...u);break;default:console.log(...u)}};a.deprecate=e=>{const{pkg:t,subject:n,transition:r,level:i=o.warn,message:s="",callback:l=null}=e,c=()=>{return a({title:"".concat(t?t+" ":"","Deprecation Notice"),message:"\n      ".concat(n?"".concat((e=n,e.charAt(0).toUpperCase()+e.slice(1))," is deprecated and will cease to work in future releases").concat(t?" of "+t:"","."):"").concat(s?"\n"+s:"").concat(r?"\nYou can learn more (including a guide on common transition paths) here: ".concat(r):"","\n    ").trim(),level:i});var e};return"function"===typeof l?async function(){return await c(),await l(...arguments)}:c()}},60482:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var i;n.d(t,{AO:()=>d,Gh:()=>R,HS:()=>M,Oi:()=>s,Rr:()=>h,pX:()=>U,pb:()=>D,rc:()=>i,tH:()=>B,ue:()=>m,yD:()=>I,zR:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function a(e){return void 0===e&&(e={}),p((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return u("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?h(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function p(e,t,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:h=!1}=a,p=l.history,f=i.Pop,m=null,g=v();function v(){return(p.state||{idx:null}).idx}function C(){f=i.Pop;let e=v(),t=null==e?null:e-g;g=e,m&&m({action:f,location:b.location,delta:t})}function y(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,p.replaceState(r({},p.state,{idx:g}),""));let b={get action(){return f},get location(){return e(l,p)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(o,C),m=e,()=>{l.removeEventListener(o,C),m=null}},createHref:e=>t(l,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=i.Push;let r=u(b.location,e,t);n&&n(r,e),g=v()+1;let o=c(r,g),a=b.createHref(r);try{p.pushState(o,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}h&&m&&m({action:f,location:b.location,delta:1})},replace:function(e,t){f=i.Replace;let r=u(b.location,e,t);n&&n(r,e),g=v();let o=c(r,g),a=b.createHref(r);p.replaceState(o,"",a),h&&m&&m({action:f,location:b.location,delta:0})},go:e=>p.go(e)};return b}var f;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(f||(f={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),g(e,t,n,!1)}function g(e,t,n,r){let i=D(("string"===typeof t?h(t):t).pathname||"/",n);if(null==i)return null;let o=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let s=0;null==a&&s<o.length;++s){let e=P(i);a=S(o[s],e,r)}return a}function v(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=M([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),v(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:T(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of C(e.path))i(e,t,r);else i(e,t)})),t}function C(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=C(r.join("/")),s=[];return s.push(...a.map((e=>""===e?o:[o,e].join("/")))),i&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:[\w-]+$/,b=3,w=2,x=1,A=10,E=-2,_=e=>"*"===e;function T(e,t){let n=e.split("/"),r=n.length;return n.some(_)&&(r+=E),t&&(r+=w),n.filter((e=>!_(e))).reduce(((e,t)=>e+(y.test(t)?b:""===t?x:A)),r)}function S(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===o?t:t.slice(o.length)||"/",u=k({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=k({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;Object.assign(i,u.params),a.push({params:i,pathname:M([o,u.pathname]),pathnameBase:O(M([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=M([o,u.pathnameBase]))}return a}function k(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:a,pattern:e}}function P(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function D(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function N(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function F(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t){let n=F(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function R(e,t,n,i){let o;void 0===i&&(i=!1),"string"===typeof e?o=h(e):(o=r({},e),s(!o.pathname||!o.pathname.includes("?"),N("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),N("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),N("#","search","hash",o)));let a,l=""===e||""===o.pathname,c=l?"/":o.pathname;if(null==c)a=n;else{let e=t.length-1;if(!i&&c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"===typeof e?h(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:j(r),hash:L(i)}}(o,a),d=c&&"/"!==c&&c.endsWith("/"),p=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!p||(u.pathname+="/"),u}const M=e=>e.join("/").replace(/\/\/+/g,"/"),O=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class B extends Error{}function U(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const V=["post","put","patch","delete"],H=(new Set(V),["get",...V]);new Set(H),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},23151:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(67853),i=n(40745),o=n(65356);function a(){(0,i.U)(),(0,o.wD)()&&function(){const t=(0,r.EU)();if(!t.__SENTRY__)return;const n={mongodb:()=>new((0,o.fj)(e,"./node/integrations/mongo").Mongo),mongoose:()=>new((0,o.fj)(e,"./node/integrations/mongo").Mongo),mysql:()=>new((0,o.fj)(e,"./node/integrations/mysql").Mysql),pg:()=>new((0,o.fj)(e,"./node/integrations/postgres").Postgres)},i=Object.keys(n).filter((e=>!!(0,o.Vw)(e))).map((e=>{try{return n[e]()}catch(t){return}})).filter((e=>e));i.length>0&&(t.__SENTRY__.integrations=[...t.__SENTRY__.integrations||[],...i])}()}e=n.hmd(e)},86393:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},38426:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1939:(e,t,n)=>{"use strict";n.d(t,{KU:()=>o,o5:()=>a,v4:()=>i});var r=n(67853);function i(){const e=(0,r.BF)();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(2===n.length){const[t,r]=n;return t?e.withScope((()=>(e.getStackTop().scope=t,r(t)))):e.withScope(r)}return e.withScope(n[0])}function o(){return(0,r.BF)().getClient()}function a(){return(0,r.BF)().getScope()}},67853:(e,t,n)=>{"use strict";n.d(t,{BF:()=>k,rm:()=>P,EU:()=>T,fx:()=>N});var r,i=n(89678),o=n(33842),a=n(22395),s=n(35174),l=n(51851),c=n(86393),u=n(38426);!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(r||(r={}));class d{constructor(e){d.prototype.__init.call(this),d.prototype.__init2.call(this),d.prototype.__init3.call(this),d.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new d(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new d(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,i.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function h(){return(0,l.BY)("globalEventProcessors",(()=>[]))}function p(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new d(((o,a)=>{const l=e[r];if(null===t||"function"!==typeof l)o(t);else{const c=l({...t},n);u.T&&l.id&&null===c&&s.vF.log('Event processor "'.concat(l.id,'" dropped event')),(0,i.Qg)(c)?c.then((t=>p(e,t,n,r+1).then(o))).then(null,a):p(e,c,n,r+1).then(o).then(null,a)}}))}var f=n(51293);function m(e){const t=(0,a.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,f.Ce)({sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?"".concat(e.did):void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&g(n,e),n}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,a.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}var v=n(37054),C=n(38854),y=n(14835);function b(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=(0,f.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=(0,f.Ce)(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=(0,f.Ce)(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=(0,f.Ce)(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts});a&&(e.level=a);s&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:(0,y.kX)(t),...e.contexts};const n=(0,C.z)(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:(0,v.k)(t),...e.sdkProcessingMetadata};const r=(0,y.et)(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,r),function(e,t){e.fingerprint=e.fingerprint?(0,o.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}class w{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=x()}static clone(e){return e?e.clone():new w}clone(){const e=new w;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&g(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e;if(t instanceof w){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,i.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=x(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,a.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];b(e,this.getScopeData());return p([...n,...h(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,o.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(s.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function x(){return{traceId:(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}const A=parseFloat("7.114.0"),E=100;class _{constructor(e,t,n){let r,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:A;this._version=o,t?r=t:(r=new w,r.setClient(e)),n?i=n:(i=new w,i.setClient(e)),this._stack=[{scope:r}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(r){throw this.popScope(),r}return(0,i.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,o.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,o.eJ)(),i=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=E}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const l={timestamp:(0,a.lu)(),...e},c=i?(0,s.pq)((()=>i(l,t))):l;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),n.addBreadcrumb(c,o))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=S(this);try{e(this)}finally{S(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return u.T&&s.vF.warn("Cannot retrieve integration ".concat(e.id," from the current Hub")),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(u.T&&!n){this.getClient()?s.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):s.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),g(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=c.U}=n&&n.getOptions()||{},{userAgent:o}=l.OW.navigator||{},a=m({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),s=t.getSession&&t.getSession();return s&&"ok"===s.status&&g(s,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e){const t=T().__SENTRY__;if(t&&t.extensions&&"function"===typeof t.extensions[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.extensions[e].apply(this,r)}u.T&&s.vF.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}function T(){return l.OW.__SENTRY__=l.OW.__SENTRY__||{extensions:{},hub:void 0},l.OW}function S(e){const t=T(),n=I(t);return R(t,e),n}function k(){const e=T();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return D(e)}function P(){return k().getIsolationScope()}function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T();return F(e)&&!I(e).isOlderThan(A)||R(e,new _),I(e)}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=T();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function F(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function I(e){return(0,l.BY)("hub",(()=>new _),e)}function R(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}},66561:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(51293);let i;function o(e){return i?i.get(e):void 0}function a(e){const t=o(e);if(!t)return;const n={};for(const[,[i,o]]of t)n[i]||(n[i]=[]),n[i].push((0,r.Ce)(o));return n}},57435:(e,t,n)=>{"use strict";n.d(t,{E1:()=>s,JD:()=>a,i_:()=>r,sy:()=>i,uT:()=>o});const r="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin",s="profile_id"},37054:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,l:()=>l});var r=n(51293),i=n(86393),o=n(1939),a=n(38854),s=n(14835);function l(e,t,n){const o=t.getOptions(),{publicKey:a}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},l=(0,r.Ce)({environment:o.environment||i.U,release:o.release,user_segment:s,public_key:a,trace_id:e});return t.emit&&t.emit("createDsc",l),l}function c(e){const t=(0,o.KU)();if(!t)return{};const n=l((0,s.et)(e).trace_id||"",t,(0,o.o5)()),r=(0,a.z)(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:c,source:u}=r.metadata;null!=c&&(n.sample_rate="".concat(c));const d=(0,s.et)(r);return u&&"url"!==u&&(n.transaction=d.description),n.sampled=String((0,s.pK)(r)),t.emit&&t.emit("createDsc",n),n}},40745:(e,t,n)=>{"use strict";n.d(t,{U:()=>A,p:()=>x});var r=n(35174),i=n(38426),o=n(67853),a=n(14835),s=n(51851),l=n(87436);let c=null;function u(){c=s.OW.onerror,s.OW.onerror=function(e,t,n,r,i){const o={column:r,error:i,line:n,msg:e,url:t};return(0,l.aj)("error",o),!(!c||c.__SENTRY_LOADER__)&&c.apply(this,arguments)},s.OW.onerror.__SENTRY_INSTRUMENTED__=!0}let d=null;function h(){d=s.OW.onunhandledrejection,s.OW.onunhandledrejection=function(e){const t=e;return(0,l.aj)("unhandledrejection",t),!(d&&!d.__SENTRY_LOADER__)||d.apply(this,arguments)},s.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var p=n(35488);let f=!1;function m(){f||(f=!0,function(e){const t="error";(0,l.s5)(t,e),(0,l.AS)(t,u)}(g),function(e){const t="unhandledrejection";(0,l.s5)(t,e),(0,l.AS)(t,h)}(g))}function g(){const e=(0,p.Z7)();if(e){const t="internal_error";i.T&&r.vF.log("[Tracing] Transaction: ".concat(t," -> Global error occured")),e.setStatus(t)}}g.tag="sentry_tracingErrorCallback";var v=n(86359),C=n(81356),y=n(285);function b(){const e=this.getScope().getSpan();return e?{"sentry-trace":(0,a.Qh)(e)}:{}}function w(e,t){const n=this.getClient(),o=n&&n.getOptions()||{},a=o.instrumenter||"sentry",s=e.instrumenter||"sentry";a!==s&&(i.T&&r.vF.error("A transaction was started with instrumenter=`".concat(s,"`, but the SDK is configured with the `").concat(a,"` instrumenter.\nThe transaction will not be sampled. Please use the ").concat(a," instrumentation to start transactions.")),e.sampled=!1);let l=new y.Z(e,this);return l=(0,C.T)(l,o,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),l.isRecording()&&l.initSpanRecorder(o._experiments&&o._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",l),l}function x(e,t,n,r,i,o,a){let s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];const l=e.getClient(),c=l&&l.getOptions()||{};let u=new v.zX(t,e,n,r,a,i,s);return u=(0,C.T)(u,c,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...o}),u.isRecording()&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),l&&l.emit&&l.emit("startTransaction",u),u}function A(){const e=(0,o.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=w),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=b),m())}},86359:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>c,zX:()=>h});var r=n(35174),i=n(22395),o=n(38426),a=n(14835),s=n(88889),l=n(285);const c={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},u=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class d extends s.l{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){var t=this;if(e.spanContext().spanId!==this.transactionSpanId){const n=e.end;e.end=function(){t._popActivity(e.spanContext().spanId);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n.apply(e,i)},void 0===(0,a.et)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class h extends l.Z{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.idleTimeout,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.finalTimeout,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:c.heartbeatInterval,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=u[4],this._autoFinishAllowed=!l,s&&(o.T&&r.vF.log("Setting idle transaction on scope. Span ID: ".concat(this.spanContext().spanId)),t.getScope().setSpan(this)),l||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=u[3],this.end())}),this._finalTimeout)}end(e){const t=(0,a.cI)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){o.T&&r.vF.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;(0,a.et)(e).timestamp||(e.setStatus("cancelled"),e.end(t),o.T&&r.vF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:i}=(0,a.et)(e),s=n&&n<t,l=(this._finalTimeout+this._idleTimeout)/1e3,c=i&&n&&i-n<l;if(o.T){const t=JSON.stringify(e,void 0,2);s?c||r.vF.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):r.vF.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return s&&c})),o.T&&r.vF.log("[Tracing] flushing IdleTransaction")}else o.T&&r.vF.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new d(t,n,this.spanContext().spanId,e),o.T&&r.vF.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e){let{restartOnChildSpanChange:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{restartOnChildSpanChange:!0};this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=u[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(o.T&&r.vF.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=u[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),o.T&&r.vF.log("[Tracing] pushActivity: ".concat(e)),this.activities[e]=!0,o.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(o.T&&r.vF.log("[Tracing] popActivity ".concat(e)),delete this.activities[e],o.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,i.zf)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=u[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(o.T&&r.vF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=u[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){o.T&&r.vF.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}},81356:(e,t,n)=>{"use strict";n.d(t,{T:()=>c,v:()=>u});var r=n(35174),i=n(89678),o=n(38426),a=n(57435),s=n(14245),l=n(14835);function c(e,t,n){if(!(0,s.w)(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute(a.sy,Number(e.sampled)),e;let i;return"function"===typeof t.tracesSampler?(i=t.tracesSampler(n),e.setAttribute(a.sy,Number(i))):void 0!==n.parentSampled?i=n.parentSampled:"undefined"!==typeof t.tracesSampleRate?(i=t.tracesSampleRate,e.setAttribute(a.sy,Number(i))):(i=1,e.setAttribute(a.sy,i)),u(i)?i?(e.sampled=Math.random()<i,e.sampled?(o.T&&r.vF.log("[Tracing] starting ".concat(e.op," transaction - ").concat((0,l.et)(e).description)),e):(o.T&&r.vF.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(i),")")),e)):(o.T&&r.vF.log("[Tracing] Discarding transaction because ".concat("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(o.T&&r.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function u(e){return(0,i.yr)(e)||"number"!==typeof e&&"boolean"!==typeof e?(o.T&&r.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(e)," of type ").concat(JSON.stringify(typeof e),".")),!1):!(e<0||e>1)||(o.T&&r.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(e,".")),!1)}},88889:(e,t,n)=>{"use strict";n.d(t,{L:()=>f,l:()=>p});var r=n(33842),i=n(22395),o=n(35174),a=n(51293),s=n(38426),l=n(66561),c=n(57435),u=n(38854),d=n(14835),h=n(8551);class p{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class f{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._traceId=e.traceId||(0,r.eJ)(),this._spanId=e.spanId||(0,r.eJ)().substring(16),this._startTime=e.startTimestamp||(0,i.zf)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[c.JD]:e.origin||"manual",[c.uT]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[c.uT]}set op(e){this.setAttribute(c.uT,e)}get origin(){return this._attributes[c.JD]}set origin(e){this.setAttribute(c.JD,e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?d.aO:d.CC}}startChild(e){const t=new f({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=(0,u.z)(this);if(t.transaction=n,s.T&&n){const r=e&&e.op||"< unknown op >",i=(0,d.et)(t).description||"< unknown name >",a=n.spanContext().spanId,s="[Tracing] Starting '".concat(r,"' span on transaction '").concat(i,"' (").concat(a,").");o.vF.log(s),this._logMessage=s}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return(0,h.N8)(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=(0,u.z)(this);if(s.T&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&o.vF.log(e.replace("Starting","Finishing"))}this._endTime=(0,d.cI)(e)}toTraceparent(){return(0,d.Qh)(this)}toContext(){return(0,a.Ce)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,d.kX)(this)}getSpanJSON(){return(0,a.Ce)({data:this._getData(),description:this._name,op:this._attributes[c.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[c.JD],_metrics_summary:(0,l.g)(this),profile_id:this._attributes[c.E1],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?{...e,...t}:n?e:t}}},8551:(e,t,n)=>{"use strict";var r;function i(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}n.d(t,{N8:()=>o}),function(e){e.Ok="ok";e.DeadlineExceeded="deadline_exceeded";e.Unauthenticated="unauthenticated";e.PermissionDenied="permission_denied";e.NotFound="not_found";e.ResourceExhausted="resource_exhausted";e.InvalidArgument="invalid_argument";e.Unimplemented="unimplemented";e.Unavailable="unavailable";e.InternalError="internal_error";e.UnknownError="unknown_error";e.Cancelled="cancelled";e.AlreadyExists="already_exists";e.FailedPrecondition="failed_precondition";e.Aborted="aborted";e.OutOfRange="out_of_range";e.DataLoss="data_loss"}(r||(r={}));function o(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=i(t);"unknown_error"!==n&&e.setStatus(n)}},84316:(e,t,n)=>{"use strict";n.d(t,{Lb:()=>v,Uk:()=>h,Lk:()=>d});var r=n(51293),i=n(67853),o=n(14835),a=n(37054),s=n(1939),l=n(89678);function c(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};try{n=e()}catch(i){throw t(i),r(),i}return function(e,t,n){if((0,l.Qg)(e))return e.then((e=>(n(),e)),(e=>{throw t(e),n(),e}));return n(),e}(n,t,r)}var u=n(14245);function d(e,t){const n=f(e);return(0,i.fx)((()=>(0,s.v4)(e.scope,(r=>{const a=(0,i.BF)(),s=r.getSpan(),l=e.onlyIfParent&&!s?void 0:p(a,{parentSpan:s,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return c((()=>t(l)),(()=>{if(l){const{status:e}=(0,o.et)(l);e&&"ok"!==e||l.setStatus("internal_error")}}),(()=>l&&l.end()))}))))}function h(e){if(!(0,u.w)())return;const t=f(e),n=(0,i.BF)(),r=e.scope?e.scope.getSpan():(0,s.o5)().getSpan();if(e.onlyIfParent&&!r)return;const o=(e.scope||(0,s.o5)()).clone();return p(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:o})}function p(e,t){let{parentSpan:n,spanContext:s,forceTransaction:l,scope:c}=t;if(!(0,u.w)())return;const d=(0,i.rm)();let h;if(n&&!l)h=n.startChild(s);else if(n){const t=(0,a.k)(n),{traceId:r,spanId:i}=n.spanContext(),l=(0,o.pK)(n);h=e.startTransaction({traceId:r,parentSpanId:i,parentSampled:l,...s,metadata:{dynamicSamplingContext:t,...s.metadata}})}else{const{traceId:t,dsc:n,parentSpanId:r,sampled:i}={...d.getPropagationContext(),...c.getPropagationContext()};h=e.startTransaction({traceId:t,parentSpanId:r,parentSampled:i,...s,metadata:{dynamicSamplingContext:n,...s.metadata}})}return c.setSpan(h),function(e,t,n){e&&((0,r.my)(e,g,n),(0,r.my)(e,m,t))}(h,c,d),h}function f(e){if(e.startTime){const t={...e};return t.startTimestamp=(0,o.cI)(e.startTime),delete t.startTime,t}return e}const m="_sentryScope",g="_sentryIsolationScope";function v(e){return{scope:e[m],isolationScope:e[g]}}},285:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(51293),i=n(35174),o=n(38426),a=n(67853),s=n(66561),l=n(57435),c=n(14835),u=n(37054),d=n(88889),h=n(84316);class p extends d.L{constructor(e,t){super(e),this._contexts={},this._hub=t||(0,a.BF)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[l.i_]&&{source:this._attributes[l.i_]},...this._attributes[l.sy]&&{sampleRate:this._attributes[l.sy]}}}set metadata(e){this._metadata=e}setName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom";this._name=e,this.setAttribute(l.i_,t)}updateName(e){return this._name=e,this}initSpanRecorder(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new d.l(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const t=(0,c.cI)(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return(0,r.Ce)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,u.k)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(o.T&&i.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return o.T&&i.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&(0,c.et)(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>(0,c.et)(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:a,isolationScope:l}=(0,h.Lb)(this),{metadata:d}=this,{source:p}=d,f={contexts:{...this._contexts,trace:(0,c.kX)(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...d,capturedSpanScope:a,capturedSpanIsolationScope:l,...(0,r.Ce)({dynamicSamplingContext:(0,u.k)(this)})},_metrics_summary:(0,s.g)(this),...p&&{transaction_info:{source:p}}};return Object.keys(this._measurements).length>0&&(o.T&&i.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),f.measurements=this._measurements),o.T&&i.vF.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this._name,".")),f}}},35488:(e,t,n)=>{"use strict";n.d(t,{Z7:()=>i});var r=n(67853);function i(e){return(e||(0,r.BF)()).getScope().getTransaction()}},38854:(e,t,n)=>{"use strict";function r(e){return e.transaction}n.d(t,{z:()=>r})},14245:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(1939);function i(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=(0,r.KU)(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},14835:(e,t,n)=>{"use strict";n.d(t,{CC:()=>a,Qh:()=>c,aO:()=>s,cI:()=>u,et:()=>h,kX:()=>l,pK:()=>p});var r=n(51293),i=n(46106),o=n(22395);const a=0,s=1;function l(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,tags:l,origin:c}=h(e);return(0,r.Ce)({data:i,op:o,parent_span_id:a,span_id:t,status:s,tags:l,trace_id:n,origin:c})}function c(e){const{traceId:t,spanId:n}=e.spanContext(),r=p(e);return(0,i.TC)(t,n,r)}function u(e){return"number"===typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,o.zf)()}function d(e){return e>9999999999?e/1e3:e}function h(e){return function(e){return"function"===typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"===typeof e.toJSON?e.toJSON():{}}function p(e){const{traceFlags:t}=e.spanContext();return Boolean(t&s)}},67118:(e,t,n)=>{"use strict";n.d(t,{De:()=>d,hF:()=>a,yD:()=>u});var r=n(94150),i=n(89678),o=n(35174);const a="baggage",s="sentry-",l=/^sentry-/,c=8192;function u(e){if(!(0,i.Kg)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>{const n=h(t);for(const r of Object.keys(n))e[r]=n[r];return e}),{});else{if(!e)return;t=h(e)}const n=Object.entries(t).reduce(((e,t)=>{let[n,r]=t;if(n.match(l)){e[n.slice(s.length)]=r}return e}),{});return Object.keys(n).length>0?n:void 0}function d(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,t,n)=>{let[i,a]=t;const s="".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(a)),l=0===n?s:"".concat(e,",").concat(s);return l.length>c?(r.T&&o.vF.warn("Not adding key: ".concat(i," with val: ").concat(a," to baggage header due to exceeding baggage size limits.")),e):l}),"")}(Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return r&&(e["".concat(s).concat(n)]=r),e}),{}))}function h(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,t)=>{let[n,r]=t;return e[n]=r,e}),{})}},94150:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},87436:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,aj:()=>u,s5:()=>l});var r=n(94150),i=n(35174),o=n(82243);const a={},s={};function l(e,t){a[e]=a[e]||[],a[e].push(t)}function c(e,t){s[e]||(t(),s[e]=!0)}function u(e,t){const n=e&&a[e];if(n)for(const a of n)try{a(t)}catch(s){r.T&&i.vF.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat((0,o.qQ)(a),"\nError:"),s)}}},89678:(e,t,n)=>{"use strict";n.d(t,{Kg:()=>o,Qd:()=>a,Qg:()=>l,gd:()=>s,tH:()=>u,yr:()=>c});const r=Object.prototype.toString;function i(e,t){return r.call(e)==="[object ".concat(t,"]")}function o(e){return i(e,"String")}function a(e){return i(e,"Object")}function s(e){return i(e,"RegExp")}function l(e){return Boolean(e&&e.then&&"function"===typeof e.then)}function c(e){return"number"===typeof e&&e!==e}function u(e,t){try{return e instanceof t}catch(n){return!1}}},35174:(e,t,n)=>{"use strict";n.d(t,{pq:()=>s,vF:()=>l});var r=n(94150),i=n(51851);const o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.OW))return e();const t=i.OW.console,n={},r=Object.keys(a);r.forEach((e=>{const r=a[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const l=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?o.forEach((n=>{t[n]=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e&&s((()=>{i.OW.console[n]("".concat("Sentry Logger ","[").concat(n,"]:"),...r)}))}})):o.forEach((e=>{t[e]=()=>{}})),t}()},33842:(e,t,n)=>{"use strict";n.d(t,{eJ:()=>i,k9:()=>o});var r=n(51851);function i(){const e=r.OW,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(i){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function o(e){return Array.isArray(e)?e:[e]}},65356:(e,t,n)=>{"use strict";function r(){return!("undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function i(e,t){return e.require(t)}function o(t){let n;try{n=i(e,t)}catch(r){}try{const{cwd:r}=i(e,"process");n=i(e,"".concat(r(),"/node_modules/").concat(t))}catch(r){}return n}n.d(t,{fj:()=>i,wD:()=>r,Vw:()=>o}),e=n.hmd(e)},51293:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>l,GS:()=>a,my:()=>s});var r=n(94150),i=n(89678),o=n(35174);function a(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"===typeof i&&function(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,s(e,"__sentry_original__",t)}catch(n){}}(i,r),e[t]=i}function s(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(i){r.T&&o.vF.log('Failed to add non-enumerable property "'.concat(t,'" to object'),e)}}function l(e){return c(e,new Map)}function c(e,t){if(function(e){if(!(0,i.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(t){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const i of Object.keys(e))"undefined"!==typeof e[i]&&(r[i]=c(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(c(e,t))})),r}return e}},82243:(e,t,n)=>{"use strict";n.d(t,{qQ:()=>i});const r="<anonymous>";function i(e){try{return e&&"function"===typeof e&&e.name||r}catch(t){return r}}},22395:(e,t,n)=>{"use strict";n.d(t,{k3:()=>l,lu:()=>o,zf:()=>a});var r=n(51851);const i=1e3;function o(){return Date.now()/i}const a=function(){const{performance:e}=r.OW;if(!e||!e.now)return o;const t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/i}();let s;const l=(()=>{const{performance:e}=r.OW;if(!e||!e.now)return void(s="none");const t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,a=o<t,l=e.timing&&e.timing.navigationStart,c="number"===typeof l?Math.abs(l+n-i):t;return a||c<t?o<=c?(s="timeOrigin",e.timeOrigin):(s="navigationStart",l):(s="dateNow",i)})()},46106:(e,t,n)=>{"use strict";n.d(t,{TC:()=>l,kM:()=>s});var r=n(67118),i=n(33842);const o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){if(!e)return;const t=e.match(o);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(e,t){const n=a(e),o=(0,r.yD)(t),{traceId:s,parentSpanId:l,parentSampled:c}=n||{};return n?{traceId:s||(0,i.eJ)(),parentSpanId:l||(0,i.eJ)().substring(16),spanId:(0,i.eJ)().substring(16),sampled:c,dsc:o||{}}:{traceId:s||(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.eJ)(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.eJ)().substring(16),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(e,"-").concat(t).concat(r)}},51851:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>a,OW:()=>i,VZ:()=>o});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return i}function a(e,t,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},61830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);function i(e,t,n){return void 0===t&&(t=new Uint8Array(2)),void 0===n&&(n=0),t[n+0]=e>>>8,t[n+1]=e>>>0,t}function o(e,t,n){return void 0===t&&(t=new Uint8Array(2)),void 0===n&&(n=0),t[n+0]=e>>>0,t[n+1]=e>>>8,t}function a(e,t){return void 0===t&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function s(e,t){return void 0===t&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function l(e,t){return void 0===t&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}function c(e,t){return void 0===t&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}function u(e,t,n){return void 0===t&&(t=new Uint8Array(4)),void 0===n&&(n=0),t[n+0]=e>>>24,t[n+1]=e>>>16,t[n+2]=e>>>8,t[n+3]=e>>>0,t}function d(e,t,n){return void 0===t&&(t=new Uint8Array(4)),void 0===n&&(n=0),t[n+0]=e>>>0,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24,t}function h(e,t,n){return void 0===t&&(t=new Uint8Array(8)),void 0===n&&(n=0),u(e/4294967296>>>0,t,n),u(e>>>0,t,n+4),t}function p(e,t,n){return void 0===t&&(t=new Uint8Array(8)),void 0===n&&(n=0),d(e>>>0,t,n),d(e/4294967296>>>0,t,n+4),t}t.readInt16BE=function(e,t){return void 0===t&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16},t.readUint16BE=function(e,t){return void 0===t&&(t=0),(e[t+0]<<8|e[t+1])>>>0},t.readInt16LE=function(e,t){return void 0===t&&(t=0),(e[t+1]<<8|e[t])<<16>>16},t.readUint16LE=function(e,t){return void 0===t&&(t=0),(e[t+1]<<8|e[t])>>>0},t.writeUint16BE=i,t.writeInt16BE=i,t.writeUint16LE=o,t.writeInt16LE=o,t.readInt32BE=a,t.readUint32BE=s,t.readInt32LE=l,t.readUint32LE=c,t.writeUint32BE=u,t.writeInt32BE=u,t.writeUint32LE=d,t.writeInt32LE=d,t.readInt64BE=function(e,t){void 0===t&&(t=0);var n=a(e,t),r=a(e,t+4);return 4294967296*n+r-4294967296*(r>>31)},t.readUint64BE=function(e,t){return void 0===t&&(t=0),4294967296*s(e,t)+s(e,t+4)},t.readInt64LE=function(e,t){void 0===t&&(t=0);var n=l(e,t);return 4294967296*l(e,t+4)+n-4294967296*(n>>31)},t.readUint64LE=function(e,t){void 0===t&&(t=0);var n=c(e,t);return 4294967296*c(e,t+4)+n},t.writeUint64BE=h,t.writeInt64BE=h,t.writeUint64LE=p,t.writeInt64LE=p,t.readUintBE=function(e,t,n){if(void 0===n&&(n=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var r=0,i=1,o=e/8+n-1;o>=n;o--)r+=t[o]*i,i*=256;return r},t.readUintLE=function(e,t,n){if(void 0===n&&(n=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var r=0,i=1,o=n;o<n+e/8;o++)r+=t[o]*i,i*=256;return r},t.writeUintBE=function(e,t,n,i){if(void 0===n&&(n=new Uint8Array(e/8)),void 0===i&&(i=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!r.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,a=e/8+i-1;a>=i;a--)n[a]=t/o&255,o*=256;return n},t.writeUintLE=function(e,t,n,i){if(void 0===n&&(n=new Uint8Array(e/8)),void 0===i&&(i=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!r.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,a=i;a<i+e/8;a++)n[a]=t/o&255,o*=256;return n},t.readFloat32BE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat32(t)},t.readFloat32LE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat32(t,!0)},t.readFloat64BE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat64(t)},t.readFloat64LE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat64(t,!0)},t.writeFloat32BE=function(e,t,n){return void 0===t&&(t=new Uint8Array(4)),void 0===n&&(n=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat32(n,e),t},t.writeFloat32LE=function(e,t,n){return void 0===t&&(t=new Uint8Array(4)),void 0===n&&(n=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat32(n,e,!0),t},t.writeFloat64BE=function(e,t,n){return void 0===t&&(t=new Uint8Array(8)),void 0===n&&(n=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat64(n,e),t},t.writeFloat64LE=function(e,t,n){return void 0===t&&(t=new Uint8Array(8)),void 0===n&&(n=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat64(n,e,!0),t}},37024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61830),i=n(2470),o=20;function a(e,t,n){for(var i=1634760805,a=857760878,s=2036477234,l=1797285236,c=n[3]<<24|n[2]<<16|n[1]<<8|n[0],u=n[7]<<24|n[6]<<16|n[5]<<8|n[4],d=n[11]<<24|n[10]<<16|n[9]<<8|n[8],h=n[15]<<24|n[14]<<16|n[13]<<8|n[12],p=n[19]<<24|n[18]<<16|n[17]<<8|n[16],f=n[23]<<24|n[22]<<16|n[21]<<8|n[20],m=n[27]<<24|n[26]<<16|n[25]<<8|n[24],g=n[31]<<24|n[30]<<16|n[29]<<8|n[28],v=t[3]<<24|t[2]<<16|t[1]<<8|t[0],C=t[7]<<24|t[6]<<16|t[5]<<8|t[4],y=t[11]<<24|t[10]<<16|t[9]<<8|t[8],b=t[15]<<24|t[14]<<16|t[13]<<8|t[12],w=i,x=a,A=s,E=l,_=c,T=u,S=d,k=h,P=p,D=f,N=m,F=g,I=v,R=C,M=y,O=b,j=0;j<o;j+=2)_=(_^=P=P+(I=(I^=w=w+_|0)>>>16|I<<16)|0)>>>20|_<<12,T=(T^=D=D+(R=(R^=x=x+T|0)>>>16|R<<16)|0)>>>20|T<<12,S=(S^=N=N+(M=(M^=A=A+S|0)>>>16|M<<16)|0)>>>20|S<<12,k=(k^=F=F+(O=(O^=E=E+k|0)>>>16|O<<16)|0)>>>20|k<<12,S=(S^=N=N+(M=(M^=A=A+S|0)>>>24|M<<8)|0)>>>25|S<<7,k=(k^=F=F+(O=(O^=E=E+k|0)>>>24|O<<8)|0)>>>25|k<<7,T=(T^=D=D+(R=(R^=x=x+T|0)>>>24|R<<8)|0)>>>25|T<<7,_=(_^=P=P+(I=(I^=w=w+_|0)>>>24|I<<8)|0)>>>25|_<<7,T=(T^=N=N+(O=(O^=w=w+T|0)>>>16|O<<16)|0)>>>20|T<<12,S=(S^=F=F+(I=(I^=x=x+S|0)>>>16|I<<16)|0)>>>20|S<<12,k=(k^=P=P+(R=(R^=A=A+k|0)>>>16|R<<16)|0)>>>20|k<<12,_=(_^=D=D+(M=(M^=E=E+_|0)>>>16|M<<16)|0)>>>20|_<<12,k=(k^=P=P+(R=(R^=A=A+k|0)>>>24|R<<8)|0)>>>25|k<<7,_=(_^=D=D+(M=(M^=E=E+_|0)>>>24|M<<8)|0)>>>25|_<<7,S=(S^=F=F+(I=(I^=x=x+S|0)>>>24|I<<8)|0)>>>25|S<<7,T=(T^=N=N+(O=(O^=w=w+T|0)>>>24|O<<8)|0)>>>25|T<<7;r.writeUint32LE(w+i|0,e,0),r.writeUint32LE(x+a|0,e,4),r.writeUint32LE(A+s|0,e,8),r.writeUint32LE(E+l|0,e,12),r.writeUint32LE(_+c|0,e,16),r.writeUint32LE(T+u|0,e,20),r.writeUint32LE(S+d|0,e,24),r.writeUint32LE(k+h|0,e,28),r.writeUint32LE(P+p|0,e,32),r.writeUint32LE(D+f|0,e,36),r.writeUint32LE(N+m|0,e,40),r.writeUint32LE(F+g|0,e,44),r.writeUint32LE(I+v|0,e,48),r.writeUint32LE(R+C|0,e,52),r.writeUint32LE(M+y|0,e,56),r.writeUint32LE(O+b|0,e,60)}function s(e,t,n,r,o){if(void 0===o&&(o=0),32!==e.length)throw new Error("ChaCha: key size must be 32 bytes");if(r.length<n.length)throw new Error("ChaCha: destination is shorter than source");var s,c;if(0===o){if(8!==t.length&&12!==t.length)throw new Error("ChaCha nonce must be 8 or 12 bytes");c=(s=new Uint8Array(16)).length-t.length,s.set(t,c)}else{if(16!==t.length)throw new Error("ChaCha nonce with counter must be 16 bytes");s=t,c=o}for(var u=new Uint8Array(64),d=0;d<n.length;d+=64){a(u,s,e);for(var h=d;h<d+64&&h<n.length;h++)r[h]=n[h]^u[h-d];l(s,0,c)}return i.wipe(u),0===o&&i.wipe(s),r}function l(e,t,n){for(var r=1;n--;)r=r+(255&e[t])|0,e[t]=255&r,r>>>=8,t++;if(r>0)throw new Error("ChaCha: counter overflow")}t.streamXOR=s,t.stream=function(e,t,n,r){return void 0===r&&(r=0),i.wipe(n),s(e,t,n,n,r)}},80950:(e,t,n)=>{"use strict";var r=n(37024),i=n(68658),o=n(2470),a=n(61830),s=n(6094);t.J4=32,t.PX=12,t.iW=16;var l=new Uint8Array(16),c=function(){function e(e){if(this.nonceLength=t.PX,this.tagLength=t.iW,e.length!==t.J4)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(e)}return e.prototype.seal=function(e,t,n,i){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var a=new Uint8Array(16);a.set(e,a.length-e.length);var s=new Uint8Array(32);r.stream(this._key,a,s,4);var l,c=t.length+this.tagLength;if(i){if(i.length!==c)throw new Error("ChaCha20Poly1305: incorrect destination length");l=i}else l=new Uint8Array(c);return r.streamXOR(this._key,a,t,l,4),this._authenticate(l.subarray(l.length-this.tagLength,l.length),s,l.subarray(0,l.length-this.tagLength),n),o.wipe(a),l},e.prototype.open=function(e,t,n,i){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(t.length<this.tagLength)return null;var a=new Uint8Array(16);a.set(e,a.length-e.length);var l=new Uint8Array(32);r.stream(this._key,a,l,4);var c=new Uint8Array(this.tagLength);if(this._authenticate(c,l,t.subarray(0,t.length-this.tagLength),n),!s.equal(c,t.subarray(t.length-this.tagLength,t.length)))return null;var u,d=t.length-this.tagLength;if(i){if(i.length!==d)throw new Error("ChaCha20Poly1305: incorrect destination length");u=i}else u=new Uint8Array(d);return r.streamXOR(this._key,a,t.subarray(0,t.length-this.tagLength),u,4),o.wipe(a),u},e.prototype.clean=function(){return o.wipe(this._key),this},e.prototype._authenticate=function(e,t,n,r){var s=new i.Poly1305(t);r&&(s.update(r),r.length%16>0&&s.update(l.subarray(r.length%16))),s.update(n),n.length%16>0&&s.update(l.subarray(n.length%16));var c=new Uint8Array(8);r&&a.writeUint64LE(r.length,c),s.update(c),a.writeUint64LE(n.length,c),s.update(c);for(var u=s.digest(),d=0;d<u.length;d++)e[d]=u[d];s.clean(),o.wipe(u),o.wipe(c)},e}();t.g6=c},6094:(e,t)=>{"use strict";function n(e,t){if(e.length!==t.length)return 0;for(var n=0,r=0;r<e.length;r++)n|=e[r]^t[r];return 1&n-1>>>8}Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t,n){return~(e-1)&t|e-1&n},t.lessOrEqual=function(e,t){return(0|e)-(0|t)-1>>>31&1},t.compare=n,t.equal=function(e,t){return 0!==e.length&&0!==t.length&&0!==n(e,t)}},18426:(e,t,n)=>{"use strict";t._S=t.K=t.TP=t.wE=t.Ee=void 0;const r=n(31886),i=n(22528),o=n(2470);function a(e){const t=new Float64Array(16);if(e)for(let n=0;n<e.length;n++)t[n]=e[n];return t}t.Ee=64,t.wE=64,t.TP=32;new Uint8Array(32)[0]=9;const s=a(),l=a([1]),c=a([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),u=a([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=a([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),h=a([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),p=a([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function f(e,t){for(let n=0;n<16;n++)e[n]=0|t[n]}function m(e){let t=1;for(let n=0;n<16;n++){let r=e[n]+t+65535;t=Math.floor(r/65536),e[n]=r-65536*t}e[0]+=t-1+37*(t-1)}function g(e,t,n){const r=~(n-1);for(let i=0;i<16;i++){const n=r&(e[i]^t[i]);e[i]^=n,t[i]^=n}}function v(e,t){const n=a(),r=a();for(let i=0;i<16;i++)r[i]=t[i];m(r),m(r),m(r);for(let i=0;i<2;i++){n[0]=r[0]-65517;for(let t=1;t<15;t++)n[t]=r[t]-65535-(n[t-1]>>16&1),n[t-1]&=65535;n[15]=r[15]-32767-(n[14]>>16&1);const e=n[15]>>16&1;n[14]&=65535,g(r,n,1-e)}for(let i=0;i<16;i++)e[2*i]=255&r[i],e[2*i+1]=r[i]>>8}function C(e,t){let n=0;for(let r=0;r<32;r++)n|=e[r]^t[r];return(1&n-1>>>8)-1}function y(e,t){const n=new Uint8Array(32),r=new Uint8Array(32);return v(n,e),v(r,t),C(n,r)}function b(e){const t=new Uint8Array(32);return v(t,e),1&t[0]}function w(e,t,n){for(let r=0;r<16;r++)e[r]=t[r]+n[r]}function x(e,t,n){for(let r=0;r<16;r++)e[r]=t[r]-n[r]}function A(e,t,n){let r,i,o=0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,p=0,f=0,m=0,g=0,v=0,C=0,y=0,b=0,w=0,x=0,A=0,E=0,_=0,T=0,S=0,k=0,P=0,D=0,N=0,F=0,I=0,R=0,M=0,O=n[0],j=n[1],L=n[2],B=n[3],U=n[4],V=n[5],H=n[6],z=n[7],Z=n[8],W=n[9],q=n[10],G=n[11],Y=n[12],K=n[13],Q=n[14],X=n[15];r=t[0],o+=r*O,a+=r*j,s+=r*L,l+=r*B,c+=r*U,u+=r*V,d+=r*H,h+=r*z,p+=r*Z,f+=r*W,m+=r*q,g+=r*G,v+=r*Y,C+=r*K,y+=r*Q,b+=r*X,r=t[1],a+=r*O,s+=r*j,l+=r*L,c+=r*B,u+=r*U,d+=r*V,h+=r*H,p+=r*z,f+=r*Z,m+=r*W,g+=r*q,v+=r*G,C+=r*Y,y+=r*K,b+=r*Q,w+=r*X,r=t[2],s+=r*O,l+=r*j,c+=r*L,u+=r*B,d+=r*U,h+=r*V,p+=r*H,f+=r*z,m+=r*Z,g+=r*W,v+=r*q,C+=r*G,y+=r*Y,b+=r*K,w+=r*Q,x+=r*X,r=t[3],l+=r*O,c+=r*j,u+=r*L,d+=r*B,h+=r*U,p+=r*V,f+=r*H,m+=r*z,g+=r*Z,v+=r*W,C+=r*q,y+=r*G,b+=r*Y,w+=r*K,x+=r*Q,A+=r*X,r=t[4],c+=r*O,u+=r*j,d+=r*L,h+=r*B,p+=r*U,f+=r*V,m+=r*H,g+=r*z,v+=r*Z,C+=r*W,y+=r*q,b+=r*G,w+=r*Y,x+=r*K,A+=r*Q,E+=r*X,r=t[5],u+=r*O,d+=r*j,h+=r*L,p+=r*B,f+=r*U,m+=r*V,g+=r*H,v+=r*z,C+=r*Z,y+=r*W,b+=r*q,w+=r*G,x+=r*Y,A+=r*K,E+=r*Q,_+=r*X,r=t[6],d+=r*O,h+=r*j,p+=r*L,f+=r*B,m+=r*U,g+=r*V,v+=r*H,C+=r*z,y+=r*Z,b+=r*W,w+=r*q,x+=r*G,A+=r*Y,E+=r*K,_+=r*Q,T+=r*X,r=t[7],h+=r*O,p+=r*j,f+=r*L,m+=r*B,g+=r*U,v+=r*V,C+=r*H,y+=r*z,b+=r*Z,w+=r*W,x+=r*q,A+=r*G,E+=r*Y,_+=r*K,T+=r*Q,S+=r*X,r=t[8],p+=r*O,f+=r*j,m+=r*L,g+=r*B,v+=r*U,C+=r*V,y+=r*H,b+=r*z,w+=r*Z,x+=r*W,A+=r*q,E+=r*G,_+=r*Y,T+=r*K,S+=r*Q,k+=r*X,r=t[9],f+=r*O,m+=r*j,g+=r*L,v+=r*B,C+=r*U,y+=r*V,b+=r*H,w+=r*z,x+=r*Z,A+=r*W,E+=r*q,_+=r*G,T+=r*Y,S+=r*K,k+=r*Q,P+=r*X,r=t[10],m+=r*O,g+=r*j,v+=r*L,C+=r*B,y+=r*U,b+=r*V,w+=r*H,x+=r*z,A+=r*Z,E+=r*W,_+=r*q,T+=r*G,S+=r*Y,k+=r*K,P+=r*Q,D+=r*X,r=t[11],g+=r*O,v+=r*j,C+=r*L,y+=r*B,b+=r*U,w+=r*V,x+=r*H,A+=r*z,E+=r*Z,_+=r*W,T+=r*q,S+=r*G,k+=r*Y,P+=r*K,D+=r*Q,N+=r*X,r=t[12],v+=r*O,C+=r*j,y+=r*L,b+=r*B,w+=r*U,x+=r*V,A+=r*H,E+=r*z,_+=r*Z,T+=r*W,S+=r*q,k+=r*G,P+=r*Y,D+=r*K,N+=r*Q,F+=r*X,r=t[13],C+=r*O,y+=r*j,b+=r*L,w+=r*B,x+=r*U,A+=r*V,E+=r*H,_+=r*z,T+=r*Z,S+=r*W,k+=r*q,P+=r*G,D+=r*Y,N+=r*K,F+=r*Q,I+=r*X,r=t[14],y+=r*O,b+=r*j,w+=r*L,x+=r*B,A+=r*U,E+=r*V,_+=r*H,T+=r*z,S+=r*Z,k+=r*W,P+=r*q,D+=r*G,N+=r*Y,F+=r*K,I+=r*Q,R+=r*X,r=t[15],b+=r*O,w+=r*j,x+=r*L,A+=r*B,E+=r*U,_+=r*V,T+=r*H,S+=r*z,k+=r*Z,P+=r*W,D+=r*q,N+=r*G,F+=r*Y,I+=r*K,R+=r*Q,M+=r*X,o+=38*w,a+=38*x,s+=38*A,l+=38*E,c+=38*_,u+=38*T,d+=38*S,h+=38*k,p+=38*P,f+=38*D,m+=38*N,g+=38*F,v+=38*I,C+=38*R,y+=38*M,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=C+i+65535,i=Math.floor(r/65536),C=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=C+i+65535,i=Math.floor(r/65536),C=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=l,e[4]=c,e[5]=u,e[6]=d,e[7]=h,e[8]=p,e[9]=f,e[10]=m,e[11]=g,e[12]=v,e[13]=C,e[14]=y,e[15]=b}function E(e,t){A(e,t,t)}function _(e,t){const n=a();let r;for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)E(n,n),2!==r&&4!==r&&A(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function T(e,t){const n=a(),r=a(),i=a(),o=a(),s=a(),l=a(),c=a(),d=a(),h=a();x(n,e[1],e[0]),x(h,t[1],t[0]),A(n,n,h),w(r,e[0],e[1]),w(h,t[0],t[1]),A(r,r,h),A(i,e[3],t[3]),A(i,i,u),A(o,e[2],t[2]),w(o,o,o),x(s,r,n),x(l,o,i),w(c,o,i),w(d,r,n),A(e[0],s,l),A(e[1],d,c),A(e[2],c,l),A(e[3],s,d)}function S(e,t,n){for(let r=0;r<4;r++)g(e[r],t[r],n)}function k(e,t){const n=a(),r=a(),i=a();_(i,t[2]),A(n,t[0],i),A(r,t[1],i),v(e,r),e[31]^=b(n)<<7}function P(e,t,n){f(e[0],s),f(e[1],l),f(e[2],l),f(e[3],s);for(let r=255;r>=0;--r){const i=n[r/8|0]>>(7&r)&1;S(e,t,i),T(t,e),T(e,e),S(e,t,i)}}function D(e,t){const n=[a(),a(),a(),a()];f(n[0],d),f(n[1],h),f(n[2],l),A(n[3],d,h),P(e,n,t)}function N(e){if(e.length!==t.TP)throw new Error("ed25519: seed must be ".concat(t.TP," bytes"));const n=(0,i.hash)(e);n[0]&=248,n[31]&=127,n[31]|=64;const r=new Uint8Array(32),o=[a(),a(),a(),a()];D(o,n),k(r,o);const s=new Uint8Array(64);return s.set(e),s.set(r,32),{publicKey:r,secretKey:s}}t.K=N;const F=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function I(e,t){let n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;i<o;++i)t[i]+=n-16*t[r]*F[i-(r-32)],n=Math.floor((t[i]+128)/256),t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;i<32;i++)t[i]+=n-(t[31]>>4)*F[i],n=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=n*F[i];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function R(e){const t=new Float64Array(64);for(let n=0;n<64;n++)t[n]=e[n];for(let n=0;n<64;n++)e[n]=0;I(e,t)}function M(e,t){const n=a(),r=a(),i=a(),o=a(),u=a(),d=a(),h=a();return f(e[2],l),function(e,t){for(let n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}(e[1],t),E(i,e[1]),A(o,i,c),x(i,i,e[2]),w(o,e[2],o),E(u,o),E(d,u),A(h,d,u),A(n,h,i),A(n,n,o),function(e,t){const n=a();let r;for(r=0;r<16;r++)n[r]=t[r];for(r=250;r>=0;r--)E(n,n),1!==r&&A(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(n,n),A(n,n,i),A(n,n,o),A(n,n,o),A(e[0],n,o),E(r,e[0]),A(r,r,o),y(r,i)&&A(e[0],e[0],p),E(r,e[0]),A(r,r,o),y(r,i)?-1:(b(e[0])===t[31]>>7&&x(e[0],s,e[0]),A(e[3],e[0],e[1]),0)}t._S=function(e,t){const n=new Float64Array(64),r=[a(),a(),a(),a()],o=(0,i.hash)(e.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;const s=new Uint8Array(64);s.set(o.subarray(32),32);const l=new i.SHA512;l.update(s.subarray(32)),l.update(t);const c=l.digest();l.clean(),R(c),D(r,c),k(s,r),l.reset(),l.update(s.subarray(0,32)),l.update(e.subarray(32)),l.update(t);const u=l.digest();R(u);for(let i=0;i<32;i++)n[i]=c[i];for(let i=0;i<32;i++)for(let e=0;e<32;e++)n[i+e]+=u[i]*o[e];return I(s.subarray(32),n),s}},62304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSerializableHash=function(e){return"undefined"!==typeof e.saveState&&"undefined"!==typeof e.restoreState&&"undefined"!==typeof e.cleanSavedState}},43134:(e,t,n)=>{"use strict";var r=n(7510),i=n(2470),o=function(){function e(e,t,n,i){void 0===n&&(n=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=e,this._info=i;var o=r.hmac(this._hash,n,t);this._hmac=new r.HMAC(e,o),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var e=this._counter[0];if(0===e)throw new Error("hkdf: cannot expand more");this._hmac.reset(),e>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(e){for(var t=new Uint8Array(e),n=0;n<t.length;n++)this._bufpos===this._buffer.length&&this._fillBuffer(),t[n]=this._buffer[this._bufpos++];return t},e.prototype.clean=function(){this._hmac.clean(),i.wipe(this._buffer),i.wipe(this._counter),this._bufpos=0},e}();t.i=o},7510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62304),i=n(6094),o=n(2470),a=function(){function e(e,t){this._finished=!1,this._inner=new e,this._outer=new e,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var n=new Uint8Array(this.blockSize);t.length>this.blockSize?this._inner.update(t).finish(n).clean():n.set(t);for(var i=0;i<n.length;i++)n[i]^=54;this._inner.update(n);for(i=0;i<n.length;i++)n[i]^=106;this._outer.update(n),r.isSerializableHash(this._inner)&&r.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),o.wipe(n)}return e.prototype.reset=function(){if(!r.isSerializableHash(this._inner)||!r.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){r.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),r.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(e){return this._inner.update(e),this},e.prototype.finish=function(e){return this._finished?(this._outer.finish(e),this):(this._inner.finish(e),this._outer.update(e.subarray(0,this.digestLength)).finish(e),this._finished=!0,this)},e.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},e.prototype.saveState=function(){if(!r.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(e){if(!r.isSerializableHash(this._inner)||!r.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(e),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(e){if(!r.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(e)},e}();t.HMAC=a,t.hmac=function(e,t,n){var r=new a(e,t);r.update(n);var i=r.digest();return r.clean(),i},t.equal=i.equal},386:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mul=Math.imul||function(e,t){var n=65535&e,r=65535&t;return n*r+((e>>>16&65535)*r+n*(t>>>16&65535)<<16>>>0)|0},t.add=function(e,t){return e+t|0},t.sub=function(e,t){return e-t|0},t.rotl=function(e,t){return e<<t|e>>>32-t},t.rotr=function(e,t){return e<<32-t|e>>>t},t.isInteger=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e},t.MAX_SAFE_INTEGER=9007199254740991,t.isSafeInteger=function(e){return t.isInteger(e)&&e>=-t.MAX_SAFE_INTEGER&&e<=t.MAX_SAFE_INTEGER}},68658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6094),i=n(2470);t.DIGEST_LENGTH=16;var o=function(){function e(e){this.digestLength=t.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var n=e[0]|e[1]<<8;this._r[0]=8191&n;var r=e[2]|e[3]<<8;this._r[1]=8191&(n>>>13|r<<3);var i=e[4]|e[5]<<8;this._r[2]=7939&(r>>>10|i<<6);var o=e[6]|e[7]<<8;this._r[3]=8191&(i>>>7|o<<9);var a=e[8]|e[9]<<8;this._r[4]=255&(o>>>4|a<<12),this._r[5]=a>>>1&8190;var s=e[10]|e[11]<<8;this._r[6]=8191&(a>>>14|s<<2);var l=e[12]|e[13]<<8;this._r[7]=8065&(s>>>11|l<<5);var c=e[14]|e[15]<<8;this._r[8]=8191&(l>>>8|c<<8),this._r[9]=c>>>5&127,this._pad[0]=e[16]|e[17]<<8,this._pad[1]=e[18]|e[19]<<8,this._pad[2]=e[20]|e[21]<<8,this._pad[3]=e[22]|e[23]<<8,this._pad[4]=e[24]|e[25]<<8,this._pad[5]=e[26]|e[27]<<8,this._pad[6]=e[28]|e[29]<<8,this._pad[7]=e[30]|e[31]<<8}return e.prototype._blocks=function(e,t,n){for(var r=this._fin?0:2048,i=this._h[0],o=this._h[1],a=this._h[2],s=this._h[3],l=this._h[4],c=this._h[5],u=this._h[6],d=this._h[7],h=this._h[8],p=this._h[9],f=this._r[0],m=this._r[1],g=this._r[2],v=this._r[3],C=this._r[4],y=this._r[5],b=this._r[6],w=this._r[7],x=this._r[8],A=this._r[9];n>=16;){var E=e[t+0]|e[t+1]<<8;i+=8191&E;var _=e[t+2]|e[t+3]<<8;o+=8191&(E>>>13|_<<3);var T=e[t+4]|e[t+5]<<8;a+=8191&(_>>>10|T<<6);var S=e[t+6]|e[t+7]<<8;s+=8191&(T>>>7|S<<9);var k=e[t+8]|e[t+9]<<8;l+=8191&(S>>>4|k<<12),c+=k>>>1&8191;var P=e[t+10]|e[t+11]<<8;u+=8191&(k>>>14|P<<2);var D=e[t+12]|e[t+13]<<8;d+=8191&(P>>>11|D<<5);var N=e[t+14]|e[t+15]<<8,F=0,I=F;I+=i*f,I+=o*(5*A),I+=a*(5*x),I+=s*(5*w),F=(I+=l*(5*b))>>>13,I&=8191,I+=c*(5*y),I+=u*(5*C),I+=d*(5*v),I+=(h+=8191&(D>>>8|N<<8))*(5*g);var R=F+=(I+=(p+=N>>>5|r)*(5*m))>>>13;R+=i*m,R+=o*f,R+=a*(5*A),R+=s*(5*x),F=(R+=l*(5*w))>>>13,R&=8191,R+=c*(5*b),R+=u*(5*y),R+=d*(5*C),R+=h*(5*v),F+=(R+=p*(5*g))>>>13,R&=8191;var M=F;M+=i*g,M+=o*m,M+=a*f,M+=s*(5*A),F=(M+=l*(5*x))>>>13,M&=8191,M+=c*(5*w),M+=u*(5*b),M+=d*(5*y),M+=h*(5*C);var O=F+=(M+=p*(5*v))>>>13;O+=i*v,O+=o*g,O+=a*m,O+=s*f,F=(O+=l*(5*A))>>>13,O&=8191,O+=c*(5*x),O+=u*(5*w),O+=d*(5*b),O+=h*(5*y);var j=F+=(O+=p*(5*C))>>>13;j+=i*C,j+=o*v,j+=a*g,j+=s*m,F=(j+=l*f)>>>13,j&=8191,j+=c*(5*A),j+=u*(5*x),j+=d*(5*w),j+=h*(5*b);var L=F+=(j+=p*(5*y))>>>13;L+=i*y,L+=o*C,L+=a*v,L+=s*g,F=(L+=l*m)>>>13,L&=8191,L+=c*f,L+=u*(5*A),L+=d*(5*x),L+=h*(5*w);var B=F+=(L+=p*(5*b))>>>13;B+=i*b,B+=o*y,B+=a*C,B+=s*v,F=(B+=l*g)>>>13,B&=8191,B+=c*m,B+=u*f,B+=d*(5*A),B+=h*(5*x);var U=F+=(B+=p*(5*w))>>>13;U+=i*w,U+=o*b,U+=a*y,U+=s*C,F=(U+=l*v)>>>13,U&=8191,U+=c*g,U+=u*m,U+=d*f,U+=h*(5*A);var V=F+=(U+=p*(5*x))>>>13;V+=i*x,V+=o*w,V+=a*b,V+=s*y,F=(V+=l*C)>>>13,V&=8191,V+=c*v,V+=u*g,V+=d*m,V+=h*f;var H=F+=(V+=p*(5*A))>>>13;H+=i*A,H+=o*x,H+=a*w,H+=s*b,F=(H+=l*y)>>>13,H&=8191,H+=c*C,H+=u*v,H+=d*g,H+=h*m,i=I=8191&(F=(F=((F+=(H+=p*f)>>>13)<<2)+F|0)+(I&=8191)|0),o=R+=F>>>=13,a=M&=8191,s=O&=8191,l=j&=8191,c=L&=8191,u=B&=8191,d=U&=8191,h=V&=8191,p=H&=8191,t+=16,n-=16}this._h[0]=i,this._h[1]=o,this._h[2]=a,this._h[3]=s,this._h[4]=l,this._h[5]=c,this._h[6]=u,this._h[7]=d,this._h[8]=h,this._h[9]=p},e.prototype.finish=function(e,t){void 0===t&&(t=0);var n,r,i,o,a=new Uint16Array(10);if(this._leftover){for(o=this._leftover,this._buffer[o++]=1;o<16;o++)this._buffer[o]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(n=this._h[1]>>>13,this._h[1]&=8191,o=2;o<10;o++)this._h[o]+=n,n=this._h[o]>>>13,this._h[o]&=8191;for(this._h[0]+=5*n,n=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=n,n=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=n,a[0]=this._h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;o<10;o++)a[o]=this._h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;o<10;o++)a[o]&=r;for(r=~r,o=0;o<10;o++)this._h[o]=this._h[o]&r|a[o];for(this._h[0]=65535&(this._h[0]|this._h[1]<<13),this._h[1]=65535&(this._h[1]>>>3|this._h[2]<<10),this._h[2]=65535&(this._h[2]>>>6|this._h[3]<<7),this._h[3]=65535&(this._h[3]>>>9|this._h[4]<<4),this._h[4]=65535&(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14),this._h[5]=65535&(this._h[6]>>>2|this._h[7]<<11),this._h[6]=65535&(this._h[7]>>>5|this._h[8]<<8),this._h[7]=65535&(this._h[8]>>>8|this._h[9]<<5),i=this._h[0]+this._pad[0],this._h[0]=65535&i,o=1;o<8;o++)i=(this._h[o]+this._pad[o]|0)+(i>>>16)|0,this._h[o]=65535&i;return e[t+0]=this._h[0]>>>0,e[t+1]=this._h[0]>>>8,e[t+2]=this._h[1]>>>0,e[t+3]=this._h[1]>>>8,e[t+4]=this._h[2]>>>0,e[t+5]=this._h[2]>>>8,e[t+6]=this._h[3]>>>0,e[t+7]=this._h[3]>>>8,e[t+8]=this._h[4]>>>0,e[t+9]=this._h[4]>>>8,e[t+10]=this._h[5]>>>0,e[t+11]=this._h[5]>>>8,e[t+12]=this._h[6]>>>0,e[t+13]=this._h[6]>>>8,e[t+14]=this._h[7]>>>0,e[t+15]=this._h[7]>>>8,this._finished=!0,this},e.prototype.update=function(e){var t,n=0,r=e.length;if(this._leftover){(t=16-this._leftover)>r&&(t=r);for(var i=0;i<t;i++)this._buffer[this._leftover+i]=e[n+i];if(r-=t,n+=t,this._leftover+=t,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(r>=16&&(t=r-r%16,this._blocks(e,n,t),n+=t,r-=t),r){for(i=0;i<r;i++)this._buffer[this._leftover+i]=e[n+i];this._leftover+=r}return this},e.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var e=new Uint8Array(16);return this.finish(e),e},e.prototype.clean=function(){return i.wipe(this._buffer),i.wipe(this._r),i.wipe(this._h),i.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},e}();t.Poly1305=o,t.oneTimeAuth=function(e,t){var n=new o(e);n.update(t);var r=n.digest();return n.clean(),r},t.equal=function(e,n){return e.length===t.DIGEST_LENGTH&&n.length===t.DIGEST_LENGTH&&r.equal(e,n)}},31886:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomStringForEntropy=t.randomString=t.randomUint32=t.randomBytes=t.defaultRandomSource=void 0;const r=n(18874),i=n(61830),o=n(2470);function a(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.defaultRandomSource).randomBytes(e)}t.defaultRandomSource=new r.SystemRandomSource,t.randomBytes=a,t.randomUint32=function(){const e=a(4,arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.defaultRandomSource),n=(0,i.readUint32LE)(e);return(0,o.wipe)(e),n};const s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function l(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.defaultRandomSource;if(n.length<2)throw new Error("randomString charset is too short");if(n.length>256)throw new Error("randomString charset is too long");let i="";const l=n.length,c=256-256%l;for(;e>0;){const t=a(Math.ceil(256*e/c),r);for(let r=0;r<t.length&&e>0;r++){const o=t[r];o<c&&(i+=n.charAt(o%l),e--)}(0,o.wipe)(t)}return i}t.randomString=l,t.randomStringForEntropy=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.defaultRandomSource;return l(Math.ceil(e/(Math.log(n.length)/Math.LN2)),n,r)}},36700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserRandomSource=void 0;t.BrowserRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const e="undefined"!==typeof self?self.crypto||self.msCrypto:null;e&&void 0!==e.getRandomValues&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const t=new Uint8Array(e);for(let n=0;n<t.length;n+=65536)this._crypto.getRandomValues(t.subarray(n,n+Math.min(t.length-n,65536)));return t}}},6443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeRandomSource=void 0;const r=n(2470);t.NodeRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;{const e=n(45423);e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let t=this._crypto.randomBytes(e);if(t.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");const n=new Uint8Array(e);for(let r=0;r<n.length;r++)n[r]=t[r];return(0,r.wipe)(t),n}}},18874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SystemRandomSource=void 0;const r=n(36700),i=n(6443);t.SystemRandomSource=class{constructor(){return this.isAvailable=!1,this.name="",this._source=new r.BrowserRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Browser")):(this._source=new i.NodeRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Node")):void 0)}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}}},85758:(e,t,n)=>{"use strict";var r=n(61830),i=n(2470);t.On=32,t.cS=64;var o=function(){function e(){this.digestLength=t.On,this.blockSize=t.cS,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._temp),this.reset()},e.prototype.update=function(e,t){if(void 0===t&&(t=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this._bytesHashed+=t,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&t>0;)this._buffer[this._bufferLength++]=e[n++],t--;this._bufferLength===this.blockSize&&(s(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(t>=this.blockSize&&(n=s(this._temp,this._state,e,n,t),t%=this.blockSize);t>0;)this._buffer[this._bufferLength++]=e[n++],t--;return this},e.prototype.finish=function(e){if(!this._finished){var t=this._bytesHashed,n=this._bufferLength,i=t/536870912|0,o=t<<3,a=t%64<56?64:128;this._buffer[n]=128;for(var l=n+1;l<a-8;l++)this._buffer[l]=0;r.writeUint32BE(i,this._buffer,a-8),r.writeUint32BE(o,this._buffer,a-4),s(this._temp,this._state,this._buffer,0,a),this._finished=!0}for(l=0;l<this.digestLength/4;l++)r.writeUint32BE(this._state[l],e,4*l);return this},e.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(e){i.wipe(e.state),e.buffer&&i.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},e}();t.aD=o;var a=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(e,t,n,i,o){for(;o>=64;){for(var s=t[0],l=t[1],c=t[2],u=t[3],d=t[4],h=t[5],p=t[6],f=t[7],m=0;m<16;m++){var g=i+4*m;e[m]=r.readUint32BE(n,g)}for(m=16;m<64;m++){var v=e[m-2],C=(v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10,y=((v=e[m-15])>>>7|v<<25)^(v>>>18|v<<14)^v>>>3;e[m]=(C+e[m-7]|0)+(y+e[m-16]|0)}for(m=0;m<64;m++){C=(((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&p)|0)+(f+(a[m]+e[m]|0)|0)|0,y=((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+(s&l^s&c^l&c)|0;f=p,p=h,h=d,d=u+C|0,u=c,c=l,l=s,s=C+y|0}t[0]+=s,t[1]+=l,t[2]+=c,t[3]+=u,t[4]+=d,t[5]+=h,t[6]+=p,t[7]+=f,i+=64,o-=64}return i}t.tW=function(e){var t=new o;t.update(e);var n=t.digest();return t.clean(),n}},22528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61830),i=n(2470);t.DIGEST_LENGTH=64,t.BLOCK_SIZE=128;var o=function(){function e(){this.digestLength=t.DIGEST_LENGTH,this.blockSize=t.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){i.wipe(this._buffer),i.wipe(this._tempHi),i.wipe(this._tempLo),this.reset()},e.prototype.update=function(e,n){if(void 0===n&&(n=e.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var r=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength<t.BLOCK_SIZE&&n>0;)this._buffer[this._bufferLength++]=e[r++],n--;this._bufferLength===this.blockSize&&(s(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(r=s(this._tempHi,this._tempLo,this._stateHi,this._stateLo,e,r,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[r++],n--;return this},e.prototype.finish=function(e){if(!this._finished){var t=this._bytesHashed,n=this._bufferLength,i=t/536870912|0,o=t<<3,a=t%128<112?128:256;this._buffer[n]=128;for(var l=n+1;l<a-8;l++)this._buffer[l]=0;r.writeUint32BE(i,this._buffer,a-8),r.writeUint32BE(o,this._buffer,a-4),s(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,a),this._finished=!0}for(l=0;l<this.digestLength/8;l++)r.writeUint32BE(this._stateHi[l],e,8*l),r.writeUint32BE(this._stateLo[l],e,8*l+4);return this},e.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(e){i.wipe(e.stateHi),i.wipe(e.stateLo),e.buffer&&i.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},e}();t.SHA512=o;var a=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function s(e,t,n,i,o,s,l){for(var c,u,d,h,p,f,m,g,v=n[0],C=n[1],y=n[2],b=n[3],w=n[4],x=n[5],A=n[6],E=n[7],_=i[0],T=i[1],S=i[2],k=i[3],P=i[4],D=i[5],N=i[6],F=i[7];l>=128;){for(var I=0;I<16;I++){var R=8*I+s;e[I]=r.readUint32BE(o,R),t[I]=r.readUint32BE(o,R+4)}for(I=0;I<80;I++){var M,O,j=v,L=C,B=y,U=b,V=w,H=x,z=A,Z=_,W=T,q=S,G=k,Y=P,K=D,Q=N;if(p=65535&(u=F),f=u>>>16,m=65535&(c=E),g=c>>>16,p+=65535&(u=(P>>>14|w<<18)^(P>>>18|w<<14)^(w>>>9|P<<23)),f+=u>>>16,m+=65535&(c=(w>>>14|P<<18)^(w>>>18|P<<14)^(P>>>9|w<<23)),g+=c>>>16,p+=65535&(u=P&D^~P&N),f+=u>>>16,m+=65535&(c=w&x^~w&A),g+=c>>>16,c=a[2*I],p+=65535&(u=a[2*I+1]),f+=u>>>16,m+=65535&c,g+=c>>>16,c=e[I%16],f+=(u=t[I%16])>>>16,m+=65535&c,g+=c>>>16,m+=(f+=(p+=65535&u)>>>16)>>>16,p=65535&(u=h=65535&p|f<<16),f=u>>>16,m=65535&(c=d=65535&m|(g+=m>>>16)<<16),g=c>>>16,p+=65535&(u=(_>>>28|v<<4)^(v>>>2|_<<30)^(v>>>7|_<<25)),f+=u>>>16,m+=65535&(c=(v>>>28|_<<4)^(_>>>2|v<<30)^(_>>>7|v<<25)),g+=c>>>16,f+=(u=_&T^_&S^T&S)>>>16,m+=65535&(c=v&C^v&y^C&y),g+=c>>>16,M=65535&(m+=(f+=(p+=65535&u)>>>16)>>>16)|(g+=m>>>16)<<16,O=65535&p|f<<16,p=65535&(u=G),f=u>>>16,m=65535&(c=U),g=c>>>16,f+=(u=h)>>>16,m+=65535&(c=d),g+=c>>>16,C=j,y=L,b=B,w=U=65535&(m+=(f+=(p+=65535&u)>>>16)>>>16)|(g+=m>>>16)<<16,x=V,A=H,E=z,v=M,T=Z,S=W,k=q,P=G=65535&p|f<<16,D=Y,N=K,F=Q,_=O,I%16===15)for(R=0;R<16;R++)c=e[R],p=65535&(u=t[R]),f=u>>>16,m=65535&c,g=c>>>16,c=e[(R+9)%16],p+=65535&(u=t[(R+9)%16]),f+=u>>>16,m+=65535&c,g+=c>>>16,d=e[(R+1)%16],p+=65535&(u=((h=t[(R+1)%16])>>>1|d<<31)^(h>>>8|d<<24)^(h>>>7|d<<25)),f+=u>>>16,m+=65535&(c=(d>>>1|h<<31)^(d>>>8|h<<24)^d>>>7),g+=c>>>16,d=e[(R+14)%16],f+=(u=((h=t[(R+14)%16])>>>19|d<<13)^(d>>>29|h<<3)^(h>>>6|d<<26))>>>16,m+=65535&(c=(d>>>19|h<<13)^(h>>>29|d<<3)^d>>>6),g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,e[R]=65535&m|g<<16,t[R]=65535&p|f<<16}p=65535&(u=_),f=u>>>16,m=65535&(c=v),g=c>>>16,c=n[0],f+=(u=i[0])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[0]=v=65535&m|g<<16,i[0]=_=65535&p|f<<16,p=65535&(u=T),f=u>>>16,m=65535&(c=C),g=c>>>16,c=n[1],f+=(u=i[1])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[1]=C=65535&m|g<<16,i[1]=T=65535&p|f<<16,p=65535&(u=S),f=u>>>16,m=65535&(c=y),g=c>>>16,c=n[2],f+=(u=i[2])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[2]=y=65535&m|g<<16,i[2]=S=65535&p|f<<16,p=65535&(u=k),f=u>>>16,m=65535&(c=b),g=c>>>16,c=n[3],f+=(u=i[3])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[3]=b=65535&m|g<<16,i[3]=k=65535&p|f<<16,p=65535&(u=P),f=u>>>16,m=65535&(c=w),g=c>>>16,c=n[4],f+=(u=i[4])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[4]=w=65535&m|g<<16,i[4]=P=65535&p|f<<16,p=65535&(u=D),f=u>>>16,m=65535&(c=x),g=c>>>16,c=n[5],f+=(u=i[5])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[5]=x=65535&m|g<<16,i[5]=D=65535&p|f<<16,p=65535&(u=N),f=u>>>16,m=65535&(c=A),g=c>>>16,c=n[6],f+=(u=i[6])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[6]=A=65535&m|g<<16,i[6]=N=65535&p|f<<16,p=65535&(u=F),f=u>>>16,m=65535&(c=E),g=c>>>16,c=n[7],f+=(u=i[7])>>>16,m+=65535&c,g+=c>>>16,g+=(m+=(f+=(p+=65535&u)>>>16)>>>16)>>>16,n[7]=E=65535&m|g<<16,i[7]=F=65535&p|f<<16,s+=128,l-=128}return s}t.hash=function(e){var t=new o;t.update(e);var n=t.digest();return t.clean(),n}},2470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wipe=function(e){for(var t=0;t<e.length;t++)e[t]=0;return e}},78144:(e,t,n)=>{"use strict";t.Tc=t.TZ=t.wE=t.Xx=void 0;const r=n(31886),i=n(2470);function o(e){const t=new Float64Array(16);if(e)for(let n=0;n<e.length;n++)t[n]=e[n];return t}t.Xx=32,t.wE=32;const a=new Uint8Array(32);a[0]=9;const s=o([56129,1]);function l(e){let t=1;for(let n=0;n<16;n++){let r=e[n]+t+65535;t=Math.floor(r/65536),e[n]=r-65536*t}e[0]+=t-1+37*(t-1)}function c(e,t,n){const r=~(n-1);for(let i=0;i<16;i++){const n=r&(e[i]^t[i]);e[i]^=n,t[i]^=n}}function u(e,t,n){for(let r=0;r<16;r++)e[r]=t[r]+n[r]}function d(e,t,n){for(let r=0;r<16;r++)e[r]=t[r]-n[r]}function h(e,t,n){let r,i,o=0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,p=0,f=0,m=0,g=0,v=0,C=0,y=0,b=0,w=0,x=0,A=0,E=0,_=0,T=0,S=0,k=0,P=0,D=0,N=0,F=0,I=0,R=0,M=0,O=n[0],j=n[1],L=n[2],B=n[3],U=n[4],V=n[5],H=n[6],z=n[7],Z=n[8],W=n[9],q=n[10],G=n[11],Y=n[12],K=n[13],Q=n[14],X=n[15];r=t[0],o+=r*O,a+=r*j,s+=r*L,l+=r*B,c+=r*U,u+=r*V,d+=r*H,h+=r*z,p+=r*Z,f+=r*W,m+=r*q,g+=r*G,v+=r*Y,C+=r*K,y+=r*Q,b+=r*X,r=t[1],a+=r*O,s+=r*j,l+=r*L,c+=r*B,u+=r*U,d+=r*V,h+=r*H,p+=r*z,f+=r*Z,m+=r*W,g+=r*q,v+=r*G,C+=r*Y,y+=r*K,b+=r*Q,w+=r*X,r=t[2],s+=r*O,l+=r*j,c+=r*L,u+=r*B,d+=r*U,h+=r*V,p+=r*H,f+=r*z,m+=r*Z,g+=r*W,v+=r*q,C+=r*G,y+=r*Y,b+=r*K,w+=r*Q,x+=r*X,r=t[3],l+=r*O,c+=r*j,u+=r*L,d+=r*B,h+=r*U,p+=r*V,f+=r*H,m+=r*z,g+=r*Z,v+=r*W,C+=r*q,y+=r*G,b+=r*Y,w+=r*K,x+=r*Q,A+=r*X,r=t[4],c+=r*O,u+=r*j,d+=r*L,h+=r*B,p+=r*U,f+=r*V,m+=r*H,g+=r*z,v+=r*Z,C+=r*W,y+=r*q,b+=r*G,w+=r*Y,x+=r*K,A+=r*Q,E+=r*X,r=t[5],u+=r*O,d+=r*j,h+=r*L,p+=r*B,f+=r*U,m+=r*V,g+=r*H,v+=r*z,C+=r*Z,y+=r*W,b+=r*q,w+=r*G,x+=r*Y,A+=r*K,E+=r*Q,_+=r*X,r=t[6],d+=r*O,h+=r*j,p+=r*L,f+=r*B,m+=r*U,g+=r*V,v+=r*H,C+=r*z,y+=r*Z,b+=r*W,w+=r*q,x+=r*G,A+=r*Y,E+=r*K,_+=r*Q,T+=r*X,r=t[7],h+=r*O,p+=r*j,f+=r*L,m+=r*B,g+=r*U,v+=r*V,C+=r*H,y+=r*z,b+=r*Z,w+=r*W,x+=r*q,A+=r*G,E+=r*Y,_+=r*K,T+=r*Q,S+=r*X,r=t[8],p+=r*O,f+=r*j,m+=r*L,g+=r*B,v+=r*U,C+=r*V,y+=r*H,b+=r*z,w+=r*Z,x+=r*W,A+=r*q,E+=r*G,_+=r*Y,T+=r*K,S+=r*Q,k+=r*X,r=t[9],f+=r*O,m+=r*j,g+=r*L,v+=r*B,C+=r*U,y+=r*V,b+=r*H,w+=r*z,x+=r*Z,A+=r*W,E+=r*q,_+=r*G,T+=r*Y,S+=r*K,k+=r*Q,P+=r*X,r=t[10],m+=r*O,g+=r*j,v+=r*L,C+=r*B,y+=r*U,b+=r*V,w+=r*H,x+=r*z,A+=r*Z,E+=r*W,_+=r*q,T+=r*G,S+=r*Y,k+=r*K,P+=r*Q,D+=r*X,r=t[11],g+=r*O,v+=r*j,C+=r*L,y+=r*B,b+=r*U,w+=r*V,x+=r*H,A+=r*z,E+=r*Z,_+=r*W,T+=r*q,S+=r*G,k+=r*Y,P+=r*K,D+=r*Q,N+=r*X,r=t[12],v+=r*O,C+=r*j,y+=r*L,b+=r*B,w+=r*U,x+=r*V,A+=r*H,E+=r*z,_+=r*Z,T+=r*W,S+=r*q,k+=r*G,P+=r*Y,D+=r*K,N+=r*Q,F+=r*X,r=t[13],C+=r*O,y+=r*j,b+=r*L,w+=r*B,x+=r*U,A+=r*V,E+=r*H,_+=r*z,T+=r*Z,S+=r*W,k+=r*q,P+=r*G,D+=r*Y,N+=r*K,F+=r*Q,I+=r*X,r=t[14],y+=r*O,b+=r*j,w+=r*L,x+=r*B,A+=r*U,E+=r*V,_+=r*H,T+=r*z,S+=r*Z,k+=r*W,P+=r*q,D+=r*G,N+=r*Y,F+=r*K,I+=r*Q,R+=r*X,r=t[15],b+=r*O,w+=r*j,x+=r*L,A+=r*B,E+=r*U,_+=r*V,T+=r*H,S+=r*z,k+=r*Z,P+=r*W,D+=r*q,N+=r*G,F+=r*Y,I+=r*K,R+=r*Q,M+=r*X,o+=38*w,a+=38*x,s+=38*A,l+=38*E,c+=38*_,u+=38*T,d+=38*S,h+=38*k,p+=38*P,f+=38*D,m+=38*N,g+=38*F,v+=38*I,C+=38*R,y+=38*M,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=C+i+65535,i=Math.floor(r/65536),C=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=C+i+65535,i=Math.floor(r/65536),C=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=l,e[4]=c,e[5]=u,e[6]=d,e[7]=h,e[8]=p,e[9]=f,e[10]=m,e[11]=g,e[12]=v,e[13]=C,e[14]=y,e[15]=b}function p(e,t){h(e,t,t)}function f(e,t){const n=new Uint8Array(32),r=new Float64Array(80),i=o(),a=o(),f=o(),m=o(),g=o(),v=o();for(let o=0;o<31;o++)n[o]=e[o];n[31]=127&e[31]|64,n[0]&=248,function(e,t){for(let n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}(r,t);for(let o=0;o<16;o++)a[o]=r[o];i[0]=m[0]=1;for(let o=254;o>=0;--o){const e=n[o>>>3]>>>(7&o)&1;c(i,a,e),c(f,m,e),u(g,i,f),d(i,i,f),u(f,a,m),d(a,a,m),p(m,g),p(v,i),h(i,f,i),h(f,a,g),u(g,i,f),d(i,i,f),p(a,i),d(f,m,v),h(i,f,s),u(i,i,m),h(f,f,i),h(i,m,v),h(m,a,r),p(a,g),c(i,a,e),c(f,m,e)}for(let o=0;o<16;o++)r[o+16]=i[o],r[o+32]=f[o],r[o+48]=a[o],r[o+64]=m[o];const C=r.subarray(32),y=r.subarray(16);!function(e,t){const n=o();for(let r=0;r<16;r++)n[r]=t[r];for(let r=253;r>=0;r--)p(n,n),2!==r&&4!==r&&h(n,n,t);for(let r=0;r<16;r++)e[r]=n[r]}(C,C),h(y,y,C);const b=new Uint8Array(32);return function(e,t){const n=o(),r=o();for(let i=0;i<16;i++)r[i]=t[i];l(r),l(r),l(r);for(let i=0;i<2;i++){n[0]=r[0]-65517;for(let t=1;t<15;t++)n[t]=r[t]-65535-(n[t-1]>>16&1),n[t-1]&=65535;n[15]=r[15]-32767-(n[14]>>16&1);const e=n[15]>>16&1;n[14]&=65535,c(r,n,1-e)}for(let i=0;i<16;i++)e[2*i]=255&r[i],e[2*i+1]=r[i]>>8}(b,y),b}function m(e){return f(e,a)}function g(e){if(e.length!==t.wE)throw new Error("x25519: seed must be ".concat(t.wE," bytes"));const n=new Uint8Array(e);return{publicKey:m(n),secretKey:n}}t.TZ=function(e){const t=(0,r.randomBytes)(32,e),n=g(t);return(0,i.wipe)(t),n},t.Tc=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.length!==t.Xx)throw new Error("X25519: incorrect secret key length");if(n.length!==t.Xx)throw new Error("X25519: incorrect public key length");const i=f(e,n);if(r){let e=0;for(let t=0;t<i.length;t++)e|=i[t];if(0===e)throw new Error("X25519: invalid shared key")}return i}},94183:(e,t,n)=>{"use strict";function r(){return(null===n.g||void 0===n.g?void 0:n.g.crypto)||(null===n.g||void 0===n.g?void 0:n.g.msCrypto)||{}}function i(){const e=r();return e.subtle||e.webkitSubtle}Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowserCryptoAvailable=t.getSubtleCrypto=t.getBrowerCrypto=void 0,t.getBrowerCrypto=r,t.getSubtleCrypto=i,t.isBrowserCryptoAvailable=function(){return!!r()&&!!i()}},54803:(e,t)=>{"use strict";function n(){return"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product}function r(){return"undefined"!==typeof process&&"undefined"!==typeof process.versions&&"undefined"!==typeof process.versions.node}Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=t.isNode=t.isReactNative=void 0,t.isReactNative=n,t.isNode=r,t.isBrowser=function(){return!n()&&!r()}},36360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(90980);r.__exportStar(n(94183),t),r.__exportStar(n(54803),t)},90980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>o,__asyncDelegator:()=>b,__asyncGenerator:()=>y,__asyncValues:()=>w,__await:()=>C,__awaiter:()=>u,__classPrivateFieldGet:()=>_,__classPrivateFieldSet:()=>T,__createBinding:()=>h,__decorate:()=>s,__exportStar:()=>p,__extends:()=>i,__generator:()=>d,__importDefault:()=>E,__importStar:()=>A,__makeTemplateObject:()=>x,__metadata:()=>c,__param:()=>l,__read:()=>m,__rest:()=>a,__spread:()=>g,__spreadArrays:()=>v,__values:()=>f});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function f(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function C(e){return this instanceof C?(this.v=e,this):new C(e)}function y(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof C?Promise.resolve(e.value.v).then(l,c):u(o[0][2],e)}(i[e](t))}catch(n){u(o[0][3],n)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function T(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},96330:e=>{"use strict";e.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},92767:()=>{},93968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(77558);r.__exportStar(n(27706),t),r.__exportStar(n(53187),t)},27706:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_THOUSAND=t.ONE_HUNDRED=void 0,t.ONE_HUNDRED=100,t.ONE_THOUSAND=1e3},53187:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_YEAR=t.FOUR_WEEKS=t.THREE_WEEKS=t.TWO_WEEKS=t.ONE_WEEK=t.THIRTY_DAYS=t.SEVEN_DAYS=t.FIVE_DAYS=t.THREE_DAYS=t.ONE_DAY=t.TWENTY_FOUR_HOURS=t.TWELVE_HOURS=t.SIX_HOURS=t.THREE_HOURS=t.ONE_HOUR=t.SIXTY_MINUTES=t.THIRTY_MINUTES=t.TEN_MINUTES=t.FIVE_MINUTES=t.ONE_MINUTE=t.SIXTY_SECONDS=t.THIRTY_SECONDS=t.TEN_SECONDS=t.FIVE_SECONDS=t.ONE_SECOND=void 0,t.ONE_SECOND=1,t.FIVE_SECONDS=5,t.TEN_SECONDS=10,t.THIRTY_SECONDS=30,t.SIXTY_SECONDS=60,t.ONE_MINUTE=t.SIXTY_SECONDS,t.FIVE_MINUTES=5*t.ONE_MINUTE,t.TEN_MINUTES=10*t.ONE_MINUTE,t.THIRTY_MINUTES=30*t.ONE_MINUTE,t.SIXTY_MINUTES=60*t.ONE_MINUTE,t.ONE_HOUR=t.SIXTY_MINUTES,t.THREE_HOURS=3*t.ONE_HOUR,t.SIX_HOURS=6*t.ONE_HOUR,t.TWELVE_HOURS=12*t.ONE_HOUR,t.TWENTY_FOUR_HOURS=24*t.ONE_HOUR,t.ONE_DAY=t.TWENTY_FOUR_HOURS,t.THREE_DAYS=3*t.ONE_DAY,t.FIVE_DAYS=5*t.ONE_DAY,t.SEVEN_DAYS=7*t.ONE_DAY,t.THIRTY_DAYS=30*t.ONE_DAY,t.ONE_WEEK=t.SEVEN_DAYS,t.TWO_WEEKS=2*t.ONE_WEEK,t.THREE_WEEKS=3*t.ONE_WEEK,t.FOUR_WEEKS=4*t.ONE_WEEK,t.ONE_YEAR=365*t.ONE_DAY},40230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(77558);r.__exportStar(n(38624),t),r.__exportStar(n(20761),t),r.__exportStar(n(34756),t),r.__exportStar(n(93968),t)},34756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(77558).__exportStar(n(76315),t)},76315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IWatch=void 0;t.IWatch=class{}},35495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromMiliseconds=t.toMiliseconds=void 0;const r=n(93968);t.toMiliseconds=function(e){return e*r.ONE_THOUSAND},t.fromMiliseconds=function(e){return Math.floor(e/r.ONE_THOUSAND)}},90119:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0,t.delay=function(e){return new Promise((t=>{setTimeout((()=>{t(!0)}),e)}))}},38624:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(77558);r.__exportStar(n(90119),t),r.__exportStar(n(35495),t)},20761:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Watch=void 0;class n{constructor(){this.timestamps=new Map}start(e){if(this.timestamps.has(e))throw new Error("Watch already started for label: ".concat(e));this.timestamps.set(e,{started:Date.now()})}stop(e){const t=this.get(e);if("undefined"!==typeof t.elapsed)throw new Error("Watch already stopped for label: ".concat(e));const n=Date.now()-t.started;this.timestamps.set(e,{started:t.started,elapsed:n})}get(e){const t=this.timestamps.get(e);if("undefined"===typeof t)throw new Error("No timestamp found for label: ".concat(e));return t}elapsed(e){const t=this.get(e);return t.elapsed||Date.now()-t.started}}t.Watch=n,t.default=n},77558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>o,__asyncDelegator:()=>b,__asyncGenerator:()=>y,__asyncValues:()=>w,__await:()=>C,__awaiter:()=>u,__classPrivateFieldGet:()=>_,__classPrivateFieldSet:()=>T,__createBinding:()=>h,__decorate:()=>s,__exportStar:()=>p,__extends:()=>i,__generator:()=>d,__importDefault:()=>E,__importStar:()=>A,__makeTemplateObject:()=>x,__metadata:()=>c,__param:()=>l,__read:()=>m,__rest:()=>a,__spread:()=>g,__spreadArrays:()=>v,__values:()=>f});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function f(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function C(e){return this instanceof C?(this.v=e,this):new C(e)}function y(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof C?Promise.resolve(e.value.v).then(l,c):u(o[0][2],e)}(i[e](t))}catch(n){u(o[0][3],n)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function T(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},38938:(e,t)=>{"use strict";function n(e){let t;return"undefined"!==typeof window&&"undefined"!==typeof window[e]&&(t=window[e]),t}function r(e){const t=n(e);if(!t)throw new Error("".concat(e," is not defined in Window"));return t}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalStorage=t.getLocalStorageOrThrow=t.getCrypto=t.getCryptoOrThrow=t.getLocation=t.getLocationOrThrow=t.getNavigator=t.getNavigatorOrThrow=t.getDocument=t.getDocumentOrThrow=t.getFromWindowOrThrow=t.getFromWindow=void 0,t.getFromWindow=n,t.getFromWindowOrThrow=r,t.getDocumentOrThrow=function(){return r("document")},t.getDocument=function(){return n("document")},t.getNavigatorOrThrow=function(){return r("navigator")},t.getNavigator=function(){return n("navigator")},t.getLocationOrThrow=function(){return r("location")},t.getLocation=function(){return n("location")},t.getCryptoOrThrow=function(){return r("crypto")},t.getCrypto=function(){return n("crypto")},t.getLocalStorageOrThrow=function(){return r("localStorage")},t.getLocalStorage=function(){return n("localStorage")}},82829:(e,t,n)=>{"use strict";t.g=void 0;const r=n(38938);t.g=function(){let e,t;try{e=r.getDocumentOrThrow(),t=r.getLocationOrThrow()}catch(o){return null}function n(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=e.getElementsByTagName("meta");for(let e=0;e<i.length;e++){const t=i[e],r=["itemprop","property","name"].map((e=>t.getAttribute(e))).filter((e=>!!e&&n.includes(e)));if(r.length&&r){const e=t.getAttribute("content");if(e)return e}}return""}const i=function(){let t=n("name","og:site_name","og:title","twitter:title");return t||(t=e.title),t}();return{description:n("description","og:description","twitter:description","keywords"),url:t.origin,icons:function(){const n=e.getElementsByTagName("link"),r=[];for(let e=0;e<n.length;e++){const i=n[e],o=i.getAttribute("rel");if(o&&o.toLowerCase().indexOf("icon")>-1){const e=i.getAttribute("href");if(e)if(-1===e.toLowerCase().indexOf("https:")&&-1===e.toLowerCase().indexOf("http:")&&0!==e.indexOf("//")){let n=t.protocol+"//"+t.host;if(0===e.indexOf("/"))n+=e;else{const r=t.pathname.split("/");r.pop();n+=r.join("/")+"/"+e}r.push(n)}else if(0===e.indexOf("//")){const n=t.protocol+e;r.push(n)}else r.push(e)}}return r}(),name:i}}},79118:e=>{"use strict";const{AbortController:t,AbortSignal:n}="undefined"!==typeof self?self:"undefined"!==typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=n,e.exports.default=t},51557:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}},2035:(e,t,n)=>{e.exports=n(85621)},53826:(e,t,n)=>{"use strict";var r=n(28974),i=n(78356),o=n(70306),a=n(8288),s=n(38313),l=n(48322),c=n(32696),u=n(58670),d=n(94755),h=n(16041),p=n(59470);e.exports=function(e){return new Promise((function(t,n){var f,m=e.data,g=e.headers,v=e.responseType;function C(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+w)}var x=s(e.baseURL,e.url);function A(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};i((function(e){t(e),C()}),(function(e){n(e),C()}),o),y=null}}if(y.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=A:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(A)},y.onabort=function(){y&&(n(new d("Request aborted",d.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,r.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,y)),y=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&r.forEach(g,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),v&&"json"!==v&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(n(!e||e&&e.type?new h:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var _=p(x);_&&-1===["http","https","file"].indexOf(_)?n(new d("Unsupported protocol "+_+":",d.ERR_BAD_REQUEST,e)):y.send(m)}))}},85621:(e,t,n)=>{"use strict";var r=n(28974),i=n(75818),o=n(6581),a=n(43813);var s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(72038));s.Axios=o,s.CanceledError=n(16041),s.CancelToken=n(48577),s.isCancel=n(14102),s.VERSION=n(22519).version,s.toFormData=n(83046),s.AxiosError=n(94755),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(98194),s.isAxiosError=n(90221),e.exports=s,e.exports.default=s},48577:(e,t,n)=>{"use strict";var r=n(16041);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},16041:(e,t,n)=>{"use strict";var r=n(94755);function i(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(28974).inherits(i,r,{__CANCEL__:!0}),e.exports=i},14102:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},6581:(e,t,n)=>{"use strict";var r=n(28974),i=n(8288),o=n(4645),a=n(24852),s=n(43813),l=n(38313),c=n(5415),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!i){var d=[a,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(l),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var h=t;r.length;){var p=r.shift(),f=r.shift();try{h=p(h)}catch(m){f(m);break}}try{o=a(h)}catch(m){return Promise.reject(m)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},94755:(e,t,n)=>{"use strict";var r=n(28974);function i(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,n,a,s,l){var c=Object.create(o);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,n,a,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=i},4645:(e,t,n)=>{"use strict";var r=n(28974);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},38313:(e,t,n)=>{"use strict";var r=n(59919),i=n(73626);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},24852:(e,t,n)=>{"use strict";var r=n(28974),i=n(70987),o=n(14102),a=n(72038),s=n(16041);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},43813:(e,t,n)=>{"use strict";var r=n(28974);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},78356:(e,t,n)=>{"use strict";var r=n(94755);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},70987:(e,t,n)=>{"use strict";var r=n(28974),i=n(72038);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},72038:(e,t,n)=>{"use strict";var r=n(28974),i=n(52004),o=n(94755),a=n(58670),s=n(83046),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={transitional:a,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(53826)),e}(),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||o&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,l&&new l)}return o||"application/json"===a?(c(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw o.from(s,o.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(93192)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(l)})),e.exports=u},58670:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},22519:e=>{e.exports={version:"0.27.2"}},75818:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},8288:(e,t,n)=>{"use strict";var r=n(28974);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},73626:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},70306:(e,t,n)=>{"use strict";var r=n(28974);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},59919:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},90221:(e,t,n)=>{"use strict";var r=n(28974);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},32696:(e,t,n)=>{"use strict";var r=n(28974);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},52004:(e,t,n)=>{"use strict";var r=n(28974);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},93192:e=>{e.exports=null},48322:(e,t,n)=>{"use strict";var r=n(28974),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},59470:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},98194:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},83046:(e,t,n)=>{"use strict";var r=n(28974);e.exports=function(e,t){t=t||new FormData;var n=[];function i(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(r.isPlainObject(o)||r.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+a);n.push(o),r.forEach(o,(function(n,o){if(!r.isUndefined(n)){var s,l=a?a+"."+o:o;if(n&&!a&&"object"===typeof n)if(r.endsWith(o,"{}"))n=JSON.stringify(n);else if(r.endsWith(o,"[]")&&(s=r.toArray(n)))return void s.forEach((function(e){!r.isUndefined(e)&&t.append(l,i(e))}));e(n,l)}})),n.pop()}else t.append(a,i(o))}(e),t}},5415:(e,t,n)=>{"use strict";var r=n(22519).version,i=n(94755),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new i(o(r," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},28974:(e,t,n)=>{"use strict";var r,i=n(75818),o=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=o.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function c(e){return"undefined"===typeof e}var u=s("ArrayBuffer");function d(e){return null!==e&&"object"===typeof e}function h(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=s("Date"),f=s("File"),m=s("Blob"),g=s("FileList");function v(e){return"[object Function]"===o.call(e)}var C=s("URLSearchParams");function y(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),l(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var b,w=(b="undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return b&&e instanceof b});e.exports={isArray:l,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||o.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:d,isPlainObject:h,isUndefined:c,isDate:p,isFile:f,isBlob:m,isFunction:v,isStream:function(e){return d(e)&&v(e.pipe)},isURLSearchParams:C,isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:y,merge:function e(){var t={};function n(n,r){h(t[r])&&h(n)?t[r]=e(t[r],n):h(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)y(arguments[r],n);return t},extend:function(e,t,n){return y(t,(function(t,r){e[r]=n&&"function"===typeof t?i(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,i,o,a={};t=t||{};do{for(i=(r=Object.getOwnPropertyNames(e)).length;i-- >0;)a[o=r[i]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:w,isFileList:g}},87067:(e,t,n)=>{e.exports={default:n(52503),__esModule:!0}},58334:(e,t,n)=>{e.exports={default:n(46978),__esModule:!0}},31607:(e,t,n)=>{e.exports={default:n(14723),__esModule:!0}},40105:(e,t,n)=>{e.exports={default:n(34197),__esModule:!0}},373:(e,t,n)=>{e.exports={default:n(99081),__esModule:!0}},14816:(e,t,n)=>{e.exports={default:n(67091),__esModule:!0}},39745:(e,t,n)=>{e.exports={default:n(77229),__esModule:!0}},33652:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},40970:(e,t,n)=>{"use strict";t.__esModule=!0;var r,i=n(31607),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},7547:(e,t,n)=>{"use strict";t.__esModule=!0;var r,i=n(87067),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},1084:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(373)),i=a(n(58334)),o=a(n(70941));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,o.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},92369:(e,t,n)=>{"use strict";t.__esModule=!0;var r,i=n(70941),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,o.default)(t))&&"function"!==typeof t?e:t}},70941:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(39745)),i=a(n(14816)),o="function"===typeof i.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof i.default&&"symbol"===o(r.default)?function(e){return"undefined"===typeof e?"undefined":o(e)}:function(e){return e&&"function"===typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":"undefined"===typeof e?"undefined":o(e)}},52503:(e,t,n)=>{n(23921),e.exports=n(84133).Object.assign},46978:(e,t,n)=>{n(36575);var r=n(84133).Object;e.exports=function(e,t){return r.create(e,t)}},14723:(e,t,n)=>{n(68669);var r=n(84133).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},34197:(e,t,n)=>{n(60527),e.exports=n(84133).Object.getPrototypeOf},99081:(e,t,n)=>{n(21707),e.exports=n(84133).Object.setPrototypeOf},67091:(e,t,n)=>{n(31527),n(90927),n(52047),n(96131),e.exports=n(84133).Symbol},77229:(e,t,n)=>{n(77720),n(59211),e.exports=n(62309).f("iterator")},73636:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},3303:e=>{e.exports=function(){}},75669:(e,t,n)=>{var r=n(51224);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},76763:(e,t,n)=>{var r=n(42690),i=n(89588),o=n(86320);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},97220:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},84133:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},62629:(e,t,n)=>{var r=n(73636);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},56577:e=>{e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},96830:(e,t,n)=>{e.exports=!n(69977)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},92861:(e,t,n)=>{var r=n(51224),i=n(98485).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},90181:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},36096:(e,t,n)=>{var r=n(33850),i=n(37997),o=n(31266);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},40580:(e,t,n)=>{var r=n(98485),i=n(84133),o=n(62629),a=n(1450),s=n(66036),l="prototype",c=function(e,t,n){var u,d,h,p=e&c.F,f=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,C=e&c.W,y=f?i:i[t]||(i[t]={}),b=y[l],w=f?r:m?r[t]:(r[t]||{})[l];for(u in f&&(n=t),n)(d=!p&&w&&void 0!==w[u])&&s(y,u)||(h=d?w[u]:n[u],y[u]=f&&"function"!=typeof w[u]?n[u]:v&&d?o(h,r):C&&w[u]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,e&c.R&&b&&!b[u]&&a(b,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},69977:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},98485:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},66036:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},1450:(e,t,n)=>{var r=n(40766),i=n(26185);e.exports=n(96830)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},34779:(e,t,n)=>{var r=n(98485).document;e.exports=r&&r.documentElement},10823:(e,t,n)=>{e.exports=!n(96830)&&!n(69977)((function(){return 7!=Object.defineProperty(n(92861)("div"),"a",{get:function(){return 7}}).a}))},16100:(e,t,n)=>{var r=n(97220);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},62914:(e,t,n)=>{var r=n(97220);e.exports=Array.isArray||function(e){return"Array"==r(e)}},51224:e=>{e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},17721:(e,t,n)=>{"use strict";var r=n(42282),i=n(26185),o=n(99445),a={};n(1450)(a,n(63679)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},73286:(e,t,n)=>{"use strict";var r=n(83739),i=n(40580),o=n(38332),a=n(1450),s=n(59351),l=n(17721),c=n(99445),u=n(43712),d=n(63679)("iterator"),h=!([].keys&&"next"in[].keys()),p="keys",f="values",m=function(){return this};e.exports=function(e,t,n,g,v,C,y){l(n,t,g);var b,w,x,A=function(e){if(!h&&e in S)return S[e];switch(e){case p:case f:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_=v==f,T=!1,S=e.prototype,k=S[d]||S["@@iterator"]||v&&S[v],P=k||A(v),D=v?_?A("entries"):P:void 0,N="Array"==t&&S.entries||k;if(N&&(x=u(N.call(new e)))!==Object.prototype&&x.next&&(c(x,E,!0),r||"function"==typeof x[d]||a(x,d,m)),_&&k&&k.name!==f&&(T=!0,P=function(){return k.call(this)}),r&&!y||!h&&!T&&S[d]||a(S,d,P),s[t]=P,s[E]=m,v)if(b={values:_?P:A(f),keys:C?P:A(p),entries:D},y)for(w in b)w in S||o(S,w,b[w]);else i(i.P+i.F*(h||T),t,b);return b}},67375:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},59351:e=>{e.exports={}},83739:e=>{e.exports=!0},64451:(e,t,n)=>{var r=n(12458)("meta"),i=n(51224),o=n(66036),a=n(40766).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(69977)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!o(e,r)&&u(e),e}}},75999:(e,t,n)=>{"use strict";var r=n(96830),i=n(33850),o=n(37997),a=n(31266),s=n(71819),l=n(16100),c=Object.assign;e.exports=!c||n(69977)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,h=a.f;c>u;)for(var p,f=l(arguments[u++]),m=d?i(f).concat(d(f)):i(f),g=m.length,v=0;g>v;)p=m[v++],r&&!h.call(f,p)||(n[p]=f[p]);return n}:c},42282:(e,t,n)=>{var r=n(75669),i=n(51957),o=n(90181),a=n(51617)("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(92861)("iframe"),r=o.length;for(t.style.display="none",n(34779).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[l][o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},40766:(e,t,n)=>{var r=n(75669),i=n(10823),o=n(42643),a=Object.defineProperty;t.f=n(96830)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},51957:(e,t,n)=>{var r=n(40766),i=n(75669),o=n(33850);e.exports=n(96830)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},11208:(e,t,n)=>{var r=n(31266),i=n(26185),o=n(42690),a=n(42643),s=n(66036),l=n(10823),c=Object.getOwnPropertyDescriptor;t.f=n(96830)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},35732:(e,t,n)=>{var r=n(42690),i=n(54858).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(r(e))}},54858:(e,t,n)=>{var r=n(82150),i=n(90181).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},37997:(e,t)=>{t.f=Object.getOwnPropertySymbols},43712:(e,t,n)=>{var r=n(66036),i=n(71819),o=n(51617)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},82150:(e,t,n)=>{var r=n(66036),i=n(42690),o=n(76763)(!1),a=n(51617)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},33850:(e,t,n)=>{var r=n(82150),i=n(90181);e.exports=Object.keys||function(e){return r(e,i)}},31266:(e,t)=>{t.f={}.propertyIsEnumerable},13228:(e,t,n)=>{var r=n(40580),i=n(84133),o=n(69977);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},26185:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},38332:(e,t,n)=>{e.exports=n(1450)},66635:(e,t,n)=>{var r=n(51224),i=n(75669),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(62629)(Function.call,n(11208).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},99445:(e,t,n)=>{var r=n(40766).f,i=n(66036),o=n(63679)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},51617:(e,t,n)=>{var r=n(6423)("keys"),i=n(12458);e.exports=function(e){return r[e]||(r[e]=i(e))}},6423:(e,t,n)=>{var r=n(84133),i=n(98485),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(83739)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},74905:(e,t,n)=>{var r=n(77788),i=n(56577);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},86320:(e,t,n)=>{var r=n(77788),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},77788:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},42690:(e,t,n)=>{var r=n(16100),i=n(56577);e.exports=function(e){return r(i(e))}},89588:(e,t,n)=>{var r=n(77788),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},71819:(e,t,n)=>{var r=n(56577);e.exports=function(e){return Object(r(e))}},42643:(e,t,n)=>{var r=n(51224);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},12458:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},55667:(e,t,n)=>{var r=n(98485),i=n(84133),o=n(83739),a=n(62309),s=n(40766).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},62309:(e,t,n)=>{t.f=n(63679)},63679:(e,t,n)=>{var r=n(6423)("wks"),i=n(12458),o=n(98485).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},70980:(e,t,n)=>{"use strict";var r=n(3303),i=n(67375),o=n(59351),a=n(42690);e.exports=n(73286)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},23921:(e,t,n)=>{var r=n(40580);r(r.S+r.F,"Object",{assign:n(75999)})},36575:(e,t,n)=>{var r=n(40580);r(r.S,"Object",{create:n(42282)})},68669:(e,t,n)=>{var r=n(40580);r(r.S+r.F*!n(96830),"Object",{defineProperty:n(40766).f})},60527:(e,t,n)=>{var r=n(71819),i=n(43712);n(13228)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},21707:(e,t,n)=>{var r=n(40580);r(r.S,"Object",{setPrototypeOf:n(66635).set})},90927:()=>{},77720:(e,t,n)=>{"use strict";var r=n(74905)(!0);n(73286)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},31527:(e,t,n)=>{"use strict";var r=n(98485),i=n(66036),o=n(96830),a=n(40580),s=n(38332),l=n(64451).KEY,c=n(69977),u=n(6423),d=n(99445),h=n(12458),p=n(63679),f=n(62309),m=n(55667),g=n(36096),v=n(62914),C=n(75669),y=n(51224),b=n(71819),w=n(42690),x=n(42643),A=n(26185),E=n(42282),_=n(35732),T=n(11208),S=n(37997),k=n(40766),P=n(33850),D=T.f,N=k.f,F=_.f,I=r.Symbol,R=r.JSON,M=R&&R.stringify,O="prototype",j=p("_hidden"),L=p("toPrimitive"),B={}.propertyIsEnumerable,U=u("symbol-registry"),V=u("symbols"),H=u("op-symbols"),z=Object[O],Z="function"==typeof I&&!!S.f,W=r.QObject,q=!W||!W[O]||!W[O].findChild,G=o&&c((function(){return 7!=E(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(z,t);r&&delete z[t],N(e,t,n),r&&e!==z&&N(z,t,r)}:N,Y=function(e){var t=V[e]=E(I[O]);return t._k=e,t},K=Z&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},Q=function(e,t,n){return e===z&&Q(H,t,n),C(e),t=x(t,!0),C(n),i(V,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:A(0,!1)})):(i(e,j)||N(e,j,A(1,{})),e[j][t]=!0),G(e,t,n)):N(e,t,n)},X=function(e,t){C(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)Q(e,n=r[i++],t[n]);return e},J=function(e){var t=B.call(this,e=x(e,!0));return!(this===z&&i(V,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,j)&&this[j][e])||t)},$=function(e,t){if(e=w(e),t=x(t,!0),e!==z||!i(V,t)||i(H,t)){var n=D(e,t);return!n||!i(V,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=F(w(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||t==j||t==l||r.push(t);return r},te=function(e){for(var t,n=e===z,r=F(n?H:w(e)),o=[],a=0;r.length>a;)!i(V,t=r[a++])||n&&!i(z,t)||o.push(V[t]);return o};Z||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(H,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),G(this,e,A(1,n))};return o&&q&&G(z,e,{configurable:!0,set:t}),Y(e)})[O],"toString",(function(){return this._k})),T.f=$,k.f=Q,n(54858).f=_.f=ee,n(31266).f=J,S.f=te,o&&!n(83739)&&s(z,"propertyIsEnumerable",J,!0),f.f=function(e){return Y(p(e))}),a(a.G+a.W+a.F*!Z,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var ie=P(p.store),oe=0;ie.length>oe;)m(ie[oe++]);a(a.S+a.F*!Z,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=I(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!Z,"Object",{create:function(e,t){return void 0===t?E(e):X(E(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c((function(){S.f(1)}));a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return S.f(b(e))}}),R&&a(a.S+a.F*(!Z||c((function(){var e=I();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!K(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,M.apply(R,r)}}),I[O][L]||n(1450)(I[O],L,I[O].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},52047:(e,t,n)=>{n(55667)("asyncIterator")},96131:(e,t,n)=>{n(55667)("observable")},59211:(e,t,n)=>{n(70980);for(var r=n(98485),i=n(1450),o=n(59351),a=n(63679)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},90956:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},75701:(e,t,n)=>{"use strict";const r=n(90956),i=n(24153),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const i=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||Q(e.length)?s(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|f(e))}function h(e){const t=e.length<0?0:0|f(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(i)return r?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function C(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function b(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function w(e,t,n,r){return Y(q(t,e.length-n),e,n,r)}function x(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function A(e,t,n,r){return Y(G(t),e,n,r)}function E(e,t,n,r){return Y(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function _(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128===(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128===(192&n)&&128===(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128===(192&n)&&128===(192&r)&&128===(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=S));return n}(r)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).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}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=l.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(K(t,Uint8Array))i+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?T(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n);for(let l=0;l<s;++l)if(c[l]!==u[l]){o=c[l],a=u[l];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return C(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return C(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const S=4096;function k(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function P(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function D(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=X[e[o]];return i}function N(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function M(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function O(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return t=+t,n>>>=0,o||O(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return t=+t,n>>>=0,o||O(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=J((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=J((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=J((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=J((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){I(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){I(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=J((function(e){return R(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=J((function(e){return M(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=J((function(e){return R(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=J((function(e){return M(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=l.isBuffer(e)?e:l.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const B={};function U(e,t,n){B[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function V(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function H(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"===typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?">= 0".concat(r," and < 2").concat(r," ** ").concat(8*(o+1)).concat(r):">= -(2".concat(r," ** ").concat(8*(o+1)-1).concat(r,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(r):">= ".concat(t).concat(r," and <= ").concat(n).concat(r),new B.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||Z(t,e.length-(n+1))}(r,i,o)}function z(e,t){if("number"!==typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function Z(e,t,n){if(Math.floor(e)!==e)throw z(e,n),new B.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=V(String(n)):"bigint"===typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i),r}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function q(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Y(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"===typeof BigInt?$:e}function $(){throw new Error("BigInt not supported")}},67718:e=>{function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function n(){for(var e,n,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(n=t(e))&&(i&&(i+=" "),i+=n);return i}e.exports=n,e.exports.clsx=n},11871:function(e,t){var n="undefined"!==typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!==typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=f(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=c(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[c(e)]},h.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},h.prototype.set=function(e,t){this.map[c(e)]=u(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(h.prototype[Symbol.iterator]=h.prototype.entries);var C=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){var n=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=function(e){var t=e.toUpperCase();return C.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function w(e){var t=new h;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},v.call(y.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var A=[301,302,303,307,308];x.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(_){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,n){return new Promise((function(r,o){var a=new y(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:w(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;r(new x(t,e))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}E.polyfill=!0,e.fetch||(e.fetch=E,e.Headers=h,e.Request=y,e.Response=x),t.Headers=h,t.Request=y,t.Response=x,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},59665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e<0?"-":"",r=Math.abs(e).toString();for(;r.length<t;)r="0"+r;return n+r},e.exports=t.default},72368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},e.exports=t.default},81221:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)({},e)};var i=r(n(72368));e.exports=t.default},15052:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(11035)).default;t.default=i,e.exports=t.default},56892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};var n={}},92436:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(82467)),o=r(n(42772)),a=r(n(9677)),s=r(n(15759)),l=r(n(54978)),c=r(n(59665)),u=r(n(46566)),d="midnight",h="noon",p="morning",f="afternoon",m="evening",g="night";function v(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+(0,c.default)(o,2)}function C(e,t){return e%60===0?(e>0?"-":"+")+(0,c.default)(Math.abs(e)/60,2):y(e,t)}function y(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+(0,c.default)(Math.floor(i/60),2)+n+(0,c.default)(i%60,2)}var b={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return u.default.y(e,t)},Y:function(e,t,n,r){var i=(0,l.default)(e,r),o=i>0?i:1-i;if("YY"===t){var a=o%100;return(0,c.default)(a,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,c.default)(o,t.length)},R:function(e,t){var n=(0,a.default)(e);return(0,c.default)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,c.default)(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,c.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,c.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return u.default.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return(0,c.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=(0,s.default)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,c.default)(i,t.length)},I:function(e,t,n){var r=(0,o.default)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,c.default)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):u.default.d(e,t)},D:function(e,t,n){var r=(0,i.default)(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,c.default)(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,c.default)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,c.default)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,c.default)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?h:0===i?d:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?m:i>=12?f:i>=4?p:g,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return u.default.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):u.default.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,c.default)(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,c.default)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):u.default.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):u.default.s(e,t)},S:function(e,t){return u.default.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return C(i);case"XXXX":case"XX":return y(i);default:return y(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return C(i);case"xxxx":case"xx":return y(i);default:return y(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+v(i,":");default:return"GMT"+y(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+v(i,":");default:return"GMT"+y(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e,o=Math.floor(i.getTime()/1e3);return(0,c.default)(o,t.length)},T:function(e,t,n,r){var i=(r._originalDate||e).getTime();return(0,c.default)(i,t.length)}};t.default=b,e.exports=t.default},46566:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(59665)),o={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return(0,i.default)("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,i.default)(n+1,2)},d:function(e,t){return(0,i.default)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,i.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,i.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,i.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,i.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),o=Math.floor(r*Math.pow(10,n-3));return(0,i.default)(o,t.length)}};t.default=o,e.exports=t.default},73558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},i={p:r,P:function(e,t){var i,o=e.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return n(e,t);switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",n(a,t)).replace("{{time}}",r(s,t))}};t.default=i,e.exports=t.default},83974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default},82467:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,i.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),s=n-r;return Math.floor(s/a)+1};var i=r(n(44557)),o=r(n(44145)),a=864e5;e.exports=t.default},42772:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,s.default)(1,arguments);var t=(0,i.default)(e),n=(0,o.default)(t).getTime()-(0,a.default)(t).getTime();return Math.round(n/l)+1};var i=r(n(44557)),o=r(n(46017)),a=r(n(94424)),s=r(n(44145)),l=6048e5;e.exports=t.default},9677:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,i.default)(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var s=(0,a.default)(r),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,a.default)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var i=r(n(44557)),o=r(n(44145)),a=r(n(46017));e.exports=t.default},15759:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,s.default)(1,arguments);var n=(0,i.default)(e),r=(0,o.default)(n,t).getTime()-(0,a.default)(n,t).getTime();return Math.round(r/l)+1};var i=r(n(44557)),o=r(n(13312)),a=r(n(50865)),s=r(n(44145)),l=6048e5;e.exports=t.default},54978:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,c,u,d,h,p,f;(0,o.default)(1,arguments);var m=(0,i.default)(e),g=m.getUTCFullYear(),v=(0,l.getDefaultOptions)(),C=(0,s.default)(null!==(n=null!==(r=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==r?r:null===(p=v.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(g+1,0,C),y.setUTCHours(0,0,0,0);var b=(0,a.default)(y,t),w=new Date(0);w.setUTCFullYear(g,0,C),w.setUTCHours(0,0,0,0);var x=(0,a.default)(w,t);return m.getTime()>=b.getTime()?g+1:m.getTime()>=x.getTime()?g:g-1};var i=r(n(44557)),o=r(n(44145)),a=r(n(13312)),s=r(n(52550)),l=n(56892);e.exports=t.default},49787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProtectedDayOfYearToken=function(e){return-1!==n.indexOf(e)},t.isProtectedWeekYearToken=function(e){return-1!==r.indexOf(e)},t.throwProtectedError=function(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var n=["D","DD"],r=["YY","YYYY"]},44145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default},46017:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,i.default)(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t};var i=r(n(44557)),o=r(n(44145));e.exports=t.default},94424:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,i.default)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.default)(n)};var i=r(n(9677)),o=r(n(46017)),a=r(n(44145));e.exports=t.default},13312:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,l,c,u,d,h,p;(0,o.default)(1,arguments);var f=(0,s.getDefaultOptions)(),m=(0,a.default)(null!==(n=null!==(r=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==r?r:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.default)(e),v=g.getUTCDay(),C=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-C),g.setUTCHours(0,0,0,0),g};var i=r(n(44557)),o=r(n(44145)),a=r(n(52550)),s=n(56892);e.exports=t.default},50865:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,c,u,d,h,p,f;(0,o.default)(1,arguments);var m=(0,l.getDefaultOptions)(),g=(0,s.default)(null!==(n=null!==(r=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(p=m.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,i.default)(e,t),C=new Date(0);return C.setUTCFullYear(v,0,g),C.setUTCHours(0,0,0,0),(0,a.default)(C,t)};var i=r(n(54978)),o=r(n(44145)),a=r(n(13312)),s=r(n(52550)),l=n(56892);e.exports=t.default},52550:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);if(isNaN(t))return t;return t<0?Math.ceil(t):Math.floor(t)},e.exports=t.default},38445:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(2,arguments);var n=(0,o.default)(e).getTime(),r=(0,i.default)(t);return new Date(n+r)};var i=r(n(52550)),o=r(n(44557)),a=r(n(44145));e.exports=t.default},11540:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const i=function(e,t,n){var i,o=r[e];return i="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(function(e){return e.test(s)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n;return}(l,(function(e){return e.test(s)}));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}var u;const d={code:"en-US",formatDistance:i,formatLong:a,formatRelative:function(e,t,n,r){return s[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(u={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(u.matchPattern);if(!n)return null;var r=n[0],i=e.match(u.parsePattern);if(!i)return null;var o=u.valueCallback?u.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},40328:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r={};function i(){return r}},15522:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const o={p:i,P:function(e,t){var n,o=e.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",i(s,t))}}},83674:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{A:()=>r})},32253:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(76705),i=n(16997),o=n(21345),a=n(49413);var s=6048e5;function l(e){(0,a.A)(1,arguments);var t=(0,r.default)(e),n=(0,i.A)(t).getTime()-function(e){(0,a.A)(1,arguments);var t=(0,o.A)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,i.A)(n)}(t).getTime();return Math.round(n/s)+1}},21345:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(76705),i=n(49413),o=n(16997);function a(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,o.A)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,o.A)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},25694:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(76705),i=n(1140),o=n(95206),a=n(49413),s=n(51330),l=n(40328);var c=6048e5;function u(e,t){(0,a.A)(1,arguments);var n=(0,r.default)(e),u=(0,i.A)(n,t).getTime()-function(e,t){var n,r,c,u,d,h,p,f;(0,a.A)(1,arguments);var m=(0,l.q)(),g=(0,s.A)(null!==(n=null!==(r=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(p=m.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,o.A)(e,t),C=new Date(0);return C.setUTCFullYear(v,0,g),C.setUTCHours(0,0,0,0),(0,i.A)(C,t)}(n,t).getTime();return Math.round(u/c)+1}},95206:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(76705),i=n(49413),o=n(1140),a=n(51330),s=n(40328);function l(e,t){var n,l,c,u,d,h,p,f;(0,i.A)(1,arguments);var m=(0,r.default)(e),g=m.getUTCFullYear(),v=(0,s.q)(),C=(0,a.A)(null!==(n=null!==(l=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==l?l:null===(p=v.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(g+1,0,C),y.setUTCHours(0,0,0,0);var b=(0,o.A)(y,t),w=new Date(0);w.setUTCFullYear(g,0,C),w.setUTCHours(0,0,0,0);var x=(0,o.A)(w,t);return m.getTime()>=b.getTime()?g+1:m.getTime()>=x.getTime()?g:g-1}},78799:(e,t,n)=>{"use strict";n.d(t,{ef:()=>o,lJ:()=>s,xM:()=>a});var r=["D","DD"],i=["YY","YYYY"];function o(e){return-1!==r.indexOf(e)}function a(e){return-1!==i.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},49413:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},43913:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},i="trunc";function o(e){return e?r[e]:r[i]}},16997:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),o=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}},1140:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(76705),i=n(49413),o=n(51330),a=n(40328);function s(e,t){var n,s,l,c,u,d,h,p;(0,i.A)(1,arguments);var f=(0,a.q)(),m=(0,o.A)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==s?s:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),v=g.getUTCDay(),C=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-C),g.setUTCHours(0,0,0,0),g}},51330:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{A:()=>r})},33744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},11170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(51330),i=n(201),o=n(49413),a=36e5;function s(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.A)(e,n*a)}},201:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e).getTime(),a=(0,r.A)(t);return new Date(n+a)}},1068:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(51330),i=n(201),o=n(49413),a=6e4;function s(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.A)(e,n*a)}},23160:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},88910:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(23160),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=3*(0,r.A)(t);return(0,i.default)(e,n)}},17604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(33744),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=7*(0,r.A)(t);return(0,i.default)(e,n)}},71903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(23160),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.default)(e,12*n)}},86305:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>r,_m:()=>o,s0:()=>i});Math.pow(10,8);var r=6e4,i=36e5,o=1e3},65521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(83674),i=n(6321),o=n(49413),a=864e5;function s(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),s=(0,i.default)(t),l=n.getTime()-(0,r.A)(n),c=s.getTime()-(0,r.A)(s);return Math.round((l-c)/a)}},46125:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}},24140:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getFullYear()-o.getFullYear()}},43619:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(76705),i=n(65521),o=n(49413);function a(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function s(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),s=(0,r.default)(t),l=a(n,s),c=Math.abs((0,i.default)(n,s));n.setDate(n.getDate()-l*c);var u=l*(c-Number(a(n,s)===-l));return 0===u?0:u}},40559:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(86305),i=n(50694),o=n(49413),a=n(43913);function s(e,t,n){(0,o.A)(2,arguments);var s=(0,i.A)(e,t)/r.s0;return(0,a.u)(null===n||void 0===n?void 0:n.roundingMethod)(s)}},50694:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(76705),i=n(49413);function o(e,t){return(0,i.A)(2,arguments),(0,r.default)(e).getTime()-(0,r.default)(t).getTime()}},50453:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(86305),i=n(50694),o=n(49413),a=n(43913);function s(e,t,n){(0,o.A)(2,arguments);var s=(0,i.A)(e,t)/r.Cg;return(0,a.u)(null===n||void 0===n?void 0:n.roundingMethod)(s)}},59513:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(50694),i=n(49413),o=n(43913);function a(e,t,n){(0,i.A)(2,arguments);var a=(0,r.A)(e,t)/1e3;return(0,o.u)(null===n||void 0===n?void 0:n.roundingMethod)(a)}},48266:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},73814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},19808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(40328),i=n(76705),o=n(51330),a=n(49413);function s(e,t){var n,s,l,c,u,d,h,p;(0,a.A)(1,arguments);var f=(0,r.q)(),m=(0,o.A)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==s?s:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.default)(e),v=g.getDay(),C=6+(v<m?-7:0)-(v-m);return g.setDate(g.getDate()+C),g.setHours(23,59,59,999),g}},22469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},20390:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(94034),i=n(43792),o=n(76705),a=n(49413);var s=n(32253),l=n(21345),c=n(25694),u=n(95206);function d(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}const h={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return d("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):d(n+1,2)},d:function(e,t){return d(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return d(e.getUTCHours()%12||12,t.length)},H:function(e,t){return d(e.getUTCHours(),t.length)},m:function(e,t){return d(e.getUTCMinutes(),t.length)},s:function(e,t){return d(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return d(Math.floor(r*Math.pow(10,n-3)),t.length)}};var p="midnight",f="noon",m="morning",g="afternoon",v="evening",C="night";function y(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+d(o,2)}function b(e,t){return e%60===0?(e>0?"-":"+")+d(Math.abs(e)/60,2):w(e,t)}function w(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+d(Math.floor(i/60),2)+n+d(i%60,2)}const x={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return h.y(e,t)},Y:function(e,t,n,r){var i=(0,u.A)(e,r),o=i>0?i:1-i;return"YY"===t?d(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,l.A)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=(0,c.A)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):d(i,t.length)},I:function(e,t,n){var r=(0,s.A)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.A)(1,arguments);var t=(0,o.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):d(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return d(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?f:0===i?p:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?v:i>=12?g:i>=4?m:C,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return h.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return b(i);case"XXXX":case"XX":return w(i);default:return w(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return b(i);case"xxxx":case"xx":return w(i);default:return w(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(i,":");default:return"GMT"+w(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(i,":");default:return"GMT"+w(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return d(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return d((r._originalDate||e).getTime(),t.length)}};var A=n(15522),E=n(83674),_=n(78799),T=n(51330),S=n(40328),k=n(11540),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N=/^'([^]*?)'?$/,F=/''/g,I=/[a-zA-Z]/;function R(e,t,n){var s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,R,M,O;(0,a.A)(2,arguments);var j=String(t),L=(0,S.q)(),B=null!==(s=null!==(l=null===n||void 0===n?void 0:n.locale)&&void 0!==l?l:L.locale)&&void 0!==s?s:k.A,U=(0,T.A)(null!==(c=null!==(u=null!==(d=null!==(h=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null===n||void 0===n||null===(p=n.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==d?d:L.firstWeekContainsDate)&&void 0!==u?u:null===(m=L.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==c?c:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=(0,T.A)(null!==(v=null!==(C=null!==(y=null!==(b=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==b?b:null===n||void 0===n||null===(w=n.locale)||void 0===w||null===(R=w.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==y?y:L.weekStartsOn)&&void 0!==C?C:null===(M=L.locale)||void 0===M||null===(O=M.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==v?v:0);if(!(V>=0&&V<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,o.default)(e);if(!(0,r.default)(H))throw new RangeError("Invalid time value");var z=(0,E.A)(H),Z=(0,i.A)(H,z),W={firstWeekContainsDate:U,weekStartsOn:V,locale:B,_originalDate:H};return j.match(D).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,A.A[t])(e,B.formatLong):e})).join("").match(P).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return function(e){var t=e.match(N);if(!t)return e;return t[1].replace(F,"'")}(r);var o=x[i];if(o)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,_.xM)(r)||(0,_.lJ)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,_.ef)(r)||(0,_.lJ)(r,t,String(e)),o(Z,r,B.localize,W);if(i.match(I))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},63436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getDate()}},30022:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getDay()}},84635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getHours()}},28205:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(76705),i=n(37121),o=n(49413);function a(e){return(0,o.A)(1,arguments),(0,i.default)(e,{weekStartsOn:1})}function s(e){(0,o.A)(1,arguments);var t=function(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),i=new Date(0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);var s=a(i),l=new Date(0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);var c=a(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),a(n)}var l=6048e5;function c(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-s(t).getTime();return Math.round(n/l)+1}},98105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getMinutes()}},60154:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getMonth()}},80036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},33125:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getSeconds()}},71993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getTime()}},2585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){return(0,i.A)(1,arguments),(0,r.default)(e).getFullYear()}},42762:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getTime()>o.getTime()}},5819:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getTime()<o.getTime()}},3288:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(17545),i=n(49413);function o(e){return(0,i.A)(1,arguments),e instanceof Date||"object"===(0,r.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},85716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getTime()===o.getTime()}},70336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(6321),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getTime()===o.getTime()}},88948:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},62646:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(89983),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getTime()===o.getTime()}},10211:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t);return n.getFullYear()===o.getFullYear()}},94034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(3288),i=n(76705),o=n(49413);function a(e){if((0,o.A)(1,arguments),!(0,r.default)(e)&&"number"!==typeof e)return!1;var t=(0,i.default)(e);return!isNaN(Number(t))}},47566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.default)(e).getTime(),o=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(o<=a))throw new RangeError("Invalid interval");return n>=o&&n<=a}},65022:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(17545),i=n(76705),o=n(49413);function a(e){var t,n;if((0,o.A)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,i.default)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}},57208:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(17545),i=n(76705),o=n(49413);function a(e){var t,n;if((0,o.A)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,i.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},61987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>tt});var r=n(17545),i=n(27985);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,i.A)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}var a=n(11540),s=n(43792),l=n(76705);function c(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(15522),d=n(83674),h=n(78799),p=n(51330),f=n(49413),m=n(2474),g=n(48926),v=n(72715);function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var y=n(95309);function b(e){var t=C();return function(){var n,r=(0,v.A)(e);if(t){var i=(0,v.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,y.A)(this,n)}}var w=n(55152),x=n(30414),A=n(24586),E=function(){function e(){(0,w.A)(this,e),(0,A.A)(this,"priority",void 0),(0,A.A)(this,"subPriority",0)}return(0,x.A)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),_=function(e){(0,g.A)(n,e);var t=b(n);function n(e,r,i,o,a){var s;return(0,w.A)(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=i,s.priority=o,a&&(s.subPriority=a),s}return(0,x.A)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(E),T=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",10),(0,A.A)((0,m.A)(e),"subPriority",-1),e}return(0,x.A)(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(E),S=function(){function e(){(0,w.A)(this,e),(0,A.A)(this,"incompatibleTokens",void 0),(0,A.A)(this,"priority",void 0),(0,A.A)(this,"subPriority",void 0)}return(0,x.A)(e,[{key:"run",value:function(e,t,n,r){var i=this.parse(e,t,n,r);return i?{setter:new _(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),k=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",140),(0,A.A)((0,m.A)(e),"incompatibleTokens",["R","u","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),P=n(86305),D=/^(1[0-2]|0?\d)/,N=/^(3[0-1]|[0-2]?\d)/,F=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,I=/^(5[0-3]|[0-4]?\d)/,R=/^(2[0-3]|[0-1]?\d)/,M=/^(2[0-4]|[0-1]?\d)/,O=/^(1[0-1]|0?\d)/,j=/^(1[0-2]|0?\d)/,L=/^[0-5]?\d/,B=/^[0-5]?\d/,U=/^\d/,V=/^\d{1,2}/,H=/^\d{1,3}/,z=/^\d{1,4}/,Z=/^-?\d+/,W=/^-?\d/,q=/^-?\d{1,2}/,G=/^-?\d{1,3}/,Y=/^-?\d{1,4}/,K=/^([+-])(\d{2})(\d{2})?|Z/,Q=/^([+-])(\d{2})(\d{2})|Z/,X=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,J=/^([+-])(\d{2}):(\d{2})|Z/,$=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ee(e,t){return e?{value:t(e.value),rest:e.rest}:e}function te(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function ne(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*P.s0+o*P.Cg+a*P._m),rest:t.slice(n[0].length)}}function re(e){return te(Z,e)}function ie(e,t){switch(e){case 1:return te(U,t);case 2:return te(V,t);case 3:return te(H,t);case 4:return te(z,t);default:return te(new RegExp("^\\d{1,"+e+"}"),t)}}function oe(e,t){switch(e){case 1:return te(W,t);case 2:return te(q,t);case 3:return te(G,t);case 4:return te(Y,t);default:return te(new RegExp("^-?\\d{1,"+e+"}"),t)}}function ae(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function se(e,t){var n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{var o=i+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?n:1-n}function le(e){return e%400===0||e%4===0&&e%100!==0}var ce=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",130),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ee(ie(4,e),r);case"yo":return ee(n.ordinalNumber(e,{unit:"year"}),r);default:return ee(ie(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=se(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),ue=n(95206),de=n(1140),he=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",130),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ee(ie(4,e),r);case"Yo":return ee(n.ordinalNumber(e,{unit:"year"}),r);default:return ee(ie(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var i=(0,ue.A)(e,r);if(n.isTwoDigitYear){var o=se(n.year,i);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,de.A)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,de.A)(e,r)}}]),n}(S),pe=n(16997),fe=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",130),(0,A.A)((0,m.A)(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t){return oe("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,pe.A)(r)}}]),n}(S),me=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",130),(0,A.A)((0,m.A)(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t){return oe("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),ge=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",120),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return ie(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(S),ve=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",120),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return ie(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(S),Ce=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),(0,A.A)((0,m.A)(e),"priority",110),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return ee(te(D,e),r);case"MM":return ee(ie(2,e),r);case"Mo":return ee(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),ye=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",110),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return ee(te(D,e),r);case"LL":return ee(ie(2,e),r);case"Lo":return ee(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),be=n(25694);var we=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",100),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return te(I,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,de.A)(function(e,t,n){(0,f.A)(2,arguments);var r=(0,l.default)(e),i=(0,p.A)(t),o=(0,be.A)(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*o),r}(e,n,r),r)}}]),n}(S),xe=n(32253);var Ae=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",100),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return te(I,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,pe.A)(function(e,t){(0,f.A)(2,arguments);var n=(0,l.default)(e),r=(0,p.A)(t),i=(0,xe.A)(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(e,n))}}]),n}(S),Ee=[31,28,31,30,31,30,31,31,30,31,30,31],_e=[31,29,31,30,31,30,31,31,30,31,30,31],Te=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"subPriority",1),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return te(N,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){var n=le(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=_e[r]:t>=1&&t<=Ee[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(S),Se=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"subpriority",1),(0,A.A)((0,m.A)(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return te(F,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return le(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(S),ke=n(40328);function Pe(e,t,n){var r,i,o,a,s,c,u,d;(0,f.A)(2,arguments);var h=(0,ke.q)(),m=(0,p.A)(null!==(r=null!==(i=null!==(o=null!==(a=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==a?a:null===n||void 0===n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:h.weekStartsOn)&&void 0!==i?i:null===(u=h.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,l.default)(e),v=(0,p.A)(t),C=((v%7+7)%7<m?7:0)+v-g.getUTCDay();return g.setUTCDate(g.getUTCDate()+C),g}var De=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Pe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(S),Ne=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return ee(ie(t.length,e),i);case"eo":return ee(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Pe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(S),Fe=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return ee(ie(t.length,e),i);case"co":return ee(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Pe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(S);var Ie=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",90),(0,A.A)((0,m.A)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ie(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return ee(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return ee(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ee(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return ee(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,f.A)(2,arguments);var n=(0,p.A)(t);n%7===0&&(n-=7);var r=(0,l.default)(e),i=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+i),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(S),Re=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",80),(0,A.A)((0,m.A)(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ae(n),0,0,0),e}}]),n}(S),Me=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",80),(0,A.A)((0,m.A)(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ae(n),0,0,0),e}}]),n}(S),Oe=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",80),(0,A.A)((0,m.A)(e),"incompatibleTokens",["a","b","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ae(n),0,0,0),e}}]),n}(S),je=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",70),(0,A.A)((0,m.A)(e),"incompatibleTokens",["H","K","k","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return te(j,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(S),Le=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",70),(0,A.A)((0,m.A)(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return te(R,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(S),Be=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",70),(0,A.A)((0,m.A)(e),"incompatibleTokens",["h","H","k","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return te(O,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(S),Ue=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",70),(0,A.A)((0,m.A)(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return te(M,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(S),Ve=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",60),(0,A.A)((0,m.A)(e),"incompatibleTokens",["t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return te(L,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(S),He=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",50),(0,A.A)((0,m.A)(e),"incompatibleTokens",["t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return te(B,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ie(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(S),ze=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",30),(0,A.A)((0,m.A)(e),"incompatibleTokens",["t","T"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t){return ee(ie(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(S),Ze=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",10),(0,A.A)((0,m.A)(e),"incompatibleTokens",["t","T","x"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t){switch(t){case"X":return ne(K,e);case"XX":return ne(Q,e);case"XXXX":return ne(X,e);case"XXXXX":return ne($,e);default:return ne(J,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(S),We=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",10),(0,A.A)((0,m.A)(e),"incompatibleTokens",["t","T","X"]),e}return(0,x.A)(n,[{key:"parse",value:function(e,t){switch(t){case"x":return ne(K,e);case"xx":return ne(Q,e);case"xxxx":return ne(X,e);case"xxxxx":return ne($,e);default:return ne(J,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(S),qe=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",40),(0,A.A)((0,m.A)(e),"incompatibleTokens","*"),e}return(0,x.A)(n,[{key:"parse",value:function(e){return re(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(S),Ge=function(e){(0,g.A)(n,e);var t=b(n);function n(){var e;(0,w.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.A)((0,m.A)(e),"priority",20),(0,A.A)((0,m.A)(e),"incompatibleTokens","*"),e}return(0,x.A)(n,[{key:"parse",value:function(e){return re(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(S),Ye={G:new k,y:new ce,Y:new he,R:new fe,u:new me,Q:new ge,q:new ve,M:new Ce,L:new ye,w:new we,I:new Ae,d:new Te,D:new Se,E:new De,e:new Ne,c:new Fe,i:new Ie,a:new Re,b:new Me,B:new Oe,h:new je,H:new Le,K:new Be,k:new Ue,m:new Ve,s:new He,S:new ze,X:new Ze,x:new We,t:new qe,T:new Ge},Ke=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Qe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xe=/^'([^]*?)'?$/,Je=/''/g,$e=/\S/,et=/[a-zA-Z]/;function tt(e,t,n,i){var m,g,v,C,y,b,w,x,A,E,_,S,k,P,D,N,F,I;(0,f.A)(3,arguments);var R=String(e),M=String(t),O=(0,ke.q)(),j=null!==(m=null!==(g=null===i||void 0===i?void 0:i.locale)&&void 0!==g?g:O.locale)&&void 0!==m?m:a.A;if(!j.match)throw new RangeError("locale must contain match property");var L=(0,p.A)(null!==(v=null!==(C=null!==(y=null!==(b=null===i||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==b?b:null===i||void 0===i||null===(w=i.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==y?y:O.firstWeekContainsDate)&&void 0!==C?C:null===(A=O.locale)||void 0===A||null===(E=A.options)||void 0===E?void 0:E.firstWeekContainsDate)&&void 0!==v?v:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,p.A)(null!==(_=null!==(S=null!==(k=null!==(P=null===i||void 0===i?void 0:i.weekStartsOn)&&void 0!==P?P:null===i||void 0===i||null===(D=i.locale)||void 0===D||null===(N=D.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==k?k:O.weekStartsOn)&&void 0!==S?S:null===(F=O.locale)||void 0===F||null===(I=F.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==_?_:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===M)return""===R?(0,l.default)(n):new Date(NaN);var U,V={firstWeekContainsDate:L,weekStartsOn:B,locale:j},H=[new T],z=M.match(Qe).map((function(e){var t=e[0];return t in u.A?(0,u.A[t])(e,j.formatLong):e})).join("").match(Ke),Z=[],W=o(z);try{var q=function(){var t=U.value;null!==i&&void 0!==i&&i.useAdditionalWeekYearTokens||!(0,h.xM)(t)||(0,h.lJ)(t,M,e),null!==i&&void 0!==i&&i.useAdditionalDayOfYearTokens||!(0,h.ef)(t)||(0,h.lJ)(t,M,e);var n=t[0],r=Ye[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var a=Z.find((function(e){return o.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&Z.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));Z.push({token:n,fullToken:t});var s=r.run(R,t,j.match,V);if(!s)return{v:new Date(NaN)};H.push(s.setter),R=s.rest}else{if(n.match(et))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Xe)[1].replace(Je,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(W.s();!(U=W.n()).done;){var G=q();if("object"===(0,r.A)(G))return G.v}}catch(ne){W.e(ne)}finally{W.f()}if(R.length>0&&$e.test(R))return new Date(NaN);var Y=H.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return H.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),K=(0,l.default)(n);if(isNaN(K.getTime()))return new Date(NaN);var Q,X=(0,s.A)(K,(0,d.A)(K)),J={},$=o(Y);try{for($.s();!(Q=$.n()).done;){var ee=Q.value;if(!ee.validate(X,V))return new Date(NaN);var te=ee.set(X,J,V);Array.isArray(te)?(X=te[0],c(J,te[1])):X=te}}catch(ne){$.e(ne)}finally{$.f()}return X}},11056:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(86305),i=n(49413),o=n(51330);function a(e,t){var n;(0,i.A)(1,arguments);var a=(0,o.A)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,g=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var i=s.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(g.date){var v=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(g.date,a);m=function(e,t){if(null===t)return new Date(NaN);var n=e.match(l);if(!n)return new Date(NaN);var r=!!n[4],i=d(n[1]),o=d(n[2])-1,a=d(n[3]),s=d(n[4]),c=d(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,s,c):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(p[t]||(f(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(f(e)?366:365)}(t,i)?(u.setUTCFullYear(t,o,Math.max(i,a)),u):new Date(NaN)}(v.restDateString,v.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var C,y=m.getTime(),b=0;if(g.time&&(b=function(e){var t=e.match(c);if(!t)return NaN;var n=h(t[1]),i=h(t[2]),o=h(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,o))return NaN;return n*r.s0+i*r.Cg+1e3*o}(g.time),isNaN(b)))return new Date(NaN);if(!g.timezone){var w=new Date(y+b),x=new Date(0);return x.setFullYear(w.getUTCFullYear(),w.getUTCMonth(),w.getUTCDate()),x.setHours(w.getUTCHours(),w.getUTCMinutes(),w.getUTCSeconds(),w.getUTCMilliseconds()),x}return C=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(i*r.s0+o*r.Cg)}(g.timezone),isNaN(C)?new Date(NaN):new Date(y+b+C)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}var p=[31,null,31,30,31,30,31,31,30,31,30,31];function f(e){return e%400===0||e%4===0&&e%100!==0}},71108:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(17545),i=n(76705),o=n(64603),a=n(51330),s=n(49413);function l(e,t){if((0,s.A)(2,arguments),"object"!==(0,r.A)(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,i.default)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,o.default)(n,t.month)),null!=t.date&&n.setDate((0,a.A)(t.date)),null!=t.hours&&n.setHours((0,a.A)(t.hours)),null!=t.minutes&&n.setMinutes((0,a.A)(t.minutes)),null!=t.seconds&&n.setSeconds((0,a.A)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,a.A)(t.milliseconds)),n)}},93759:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);return n.setHours(a),n}},32389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);return n.setMinutes(a),n}},64603:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t),s=n.getFullYear(),l=n.getDate(),c=new Date(0);c.setFullYear(s,a,15),c.setHours(0,0,0,0);var u=function(e){(0,o.A)(1,arguments);var t=(0,i.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(c);return n.setMonth(a,Math.min(l,u)),n}},87520:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(51330),i=n(76705),o=n(64603),a=n(49413);function s(e,t){(0,a.A)(2,arguments);var n=(0,i.default)(e),s=(0,r.A)(t)-(Math.floor(n.getMonth()/3)+1);return(0,o.default)(n,n.getMonth()+3*s)}},36393:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);return n.setSeconds(a),n}},91485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(76705),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.default)(e),a=(0,r.A)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},6321:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},24713:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},89983:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),o=n-n%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}},37121:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(76705),i=n(51330),o=n(49413),a=n(40328);function s(e,t){var n,s,l,c,u,d,h,p;(0,o.A)(1,arguments);var f=(0,a.q)(),m=(0,i.A)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==s?s:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),v=g.getDay(),C=(v<m?7:0)+v-m;return g.setDate(g.getDate()-C),g.setHours(0,0,0,0),g}},93408:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(76705),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},66717:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(33744),i=n(49413),o=n(51330);function a(e,t){(0,i.A)(2,arguments);var n=(0,o.A)(t);return(0,r.default)(e,-n)}},43792:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(201),i=n(49413),o=n(51330);function a(e,t){(0,i.A)(2,arguments);var n=(0,o.A)(t);return(0,r.A)(e,-n)}},69377:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(23160),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.default)(e,-n)}},37099:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(88910),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.default)(e,-n)}},38503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(17604),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.default)(e,-n)}},74688:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(51330),i=n(71903),o=n(49413);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.default)(e,-n)}},76705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(17545),i=n(49413);function o(e){(0,i.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},42463:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O;(0,h.default)(2,arguments);var j=String(t),L=(0,p.getDefaultOptions)(),B=null!==(r=null!==(b=null===n||void 0===n?void 0:n.locale)&&void 0!==b?b:L.locale)&&void 0!==r?r:f.default,U=(0,d.default)(null!==(w=null!==(x=null!==(A=null!==(E=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==E?E:null===n||void 0===n||null===(_=n.locale)||void 0===_||null===(T=_.options)||void 0===T?void 0:T.firstWeekContainsDate)&&void 0!==A?A:L.firstWeekContainsDate)&&void 0!==x?x:null===(S=L.locale)||void 0===S||null===(k=S.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==w?w:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=(0,d.default)(null!==(P=null!==(D=null!==(N=null!==(F=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==F?F:null===n||void 0===n||null===(I=n.locale)||void 0===I||null===(R=I.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==N?N:L.weekStartsOn)&&void 0!==D?D:null===(M=L.locale)||void 0===M||null===(O=M.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==P?P:0);if(!(V>=0&&V<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,a.default)(e);if(!(0,i.default)(H))throw new RangeError("Invalid time value");var z=(0,c.default)(H),Z=(0,o.default)(H,z),W={firstWeekContainsDate:U,weekStartsOn:V,locale:B,_originalDate:H};return j.match(g).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,l.default[t])(e,B.formatLong):e})).join("").match(m).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return function(e){var t=e.match(v);if(!t)return e;return t[1].replace(C,"'")}(r);var o=s.default[i];if(o)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,u.isProtectedWeekYearToken)(r)||(0,u.throwProtectedError)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,u.isProtectedDayOfYearToken)(r)||(0,u.throwProtectedError)(r,t,String(e)),o(Z,r,B.localize,W);if(i.match(y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")};var i=r(n(7734)),o=r(n(25324)),a=r(n(44557)),s=r(n(92436)),l=r(n(73558)),c=r(n(83974)),u=n(49787),d=r(n(52550)),h=r(n(44145)),p=n(56892),f=r(n(15052)),m=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v=/^'([^]*?)'?$/,C=/''/g,y=/[a-zA-Z]/;e.exports=t.default},68932:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(1,arguments),e instanceof Date||"object"===(0,i.default)(e)&&"[object Date]"===Object.prototype.toString.call(e)};var i=r(n(14319)),o=r(n(44145));e.exports=t.default},7734:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,a.default)(1,arguments),!(0,i.default)(e)&&"number"!==typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))};var i=r(n(68932)),o=r(n(44557)),a=r(n(44145));e.exports=t.default},60477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}},e.exports=t.default},54639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default},28145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(function(e){return e.test(s)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n;return}(l,(function(e){return e.test(s)}));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}},e.exports=t.default},84589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(i.length)}}},e.exports=t.default},33261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(e,t,r){var i,o=n[e];return i="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};t.default=r,e.exports=t.default},77512:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(60477)),o={date:(0,i.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=o,e.exports=t.default},54218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(e,t,r,i){return n[e]};t.default=r,e.exports=t.default},77330:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(54639)),o={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,i.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,i.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,i.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,i.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,i.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=o,e.exports=t.default},8630:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(28145)),o={ordinalNumber:(0,r(n(84589)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,i.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,i.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,i.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,i.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,i.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=o,e.exports=t.default},11035:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(33261)),o=r(n(77512)),a=r(n(54218)),s=r(n(77330)),l=r(n(8630)),c={code:"en-US",formatDistance:i.default,formatLong:o.default,formatRelative:a.default,localize:s.default,match:l.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=c,e.exports=t.default},25324:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(2,arguments);var n=(0,a.default)(t);return(0,i.default)(e,-n)};var i=r(n(38445)),o=r(n(44145)),a=r(n(52550));e.exports=t.default},44557:(e,t,n)=>{"use strict";var r=n(4293).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,i.default)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var i=r(n(14319)),o=r(n(44145));e.exports=t.default},99332:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=r.exec(e);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch(t){var a=o(i[0]);a!==i[0]&&(n[i[0]]=a)}i=r.exec(e)}n["%C2"]="\ufffd";for(var s=Object.keys(n),l=0;l<s.length;l++){var c=s[l];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},65472:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:l,construct:c}="undefined"!==typeof Reflect&&Reflect;o||(o=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=x(Array.prototype.forEach),d=x(Array.prototype.pop),h=x(Array.prototype.push),p=x(String.prototype.toLowerCase),f=x(String.prototype.toString),m=x(String.prototype.match),g=x(String.prototype.replace),v=x(String.prototype.indexOf),C=x(String.prototype.trim),y=x(Object.prototype.hasOwnProperty),b=x(RegExp.prototype.test),w=A(TypeError);function x(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(e,t,r)}}function A(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function E(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"===typeof t){const e=i(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function _(e){for(let t=0;t<e.length;t++)y(e,t)||(e[t]=null);return e}function T(t){const n=s(null);for(const[r,i]of e(t))y(t,r)&&(Array.isArray(i)?n[r]=_(i):i&&"object"===typeof i&&i.constructor===Object?n[r]=T(i):n[r]=i);return n}function S(e,t){for(;null!==e;){const n=i(e,t);if(n){if(n.get)return x(n.get);if("function"===typeof n.value)return x(n.value)}e=r(e)}function n(){return null}return n}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),N=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),F=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),I=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),R=o(["#text"]),M=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),O=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=a(/<%[\w\W]*|[\w\W]*%>/gm),V=a(/\${[\w\W]*}/gm),H=a(/^data-[\-\w.\u00B7-\uFFFF]/),z=a(/^aria-[\-\w]+$/),Z=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),q=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i),Y=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:B,ERB_EXPR:U,TMPLIT_EXPR:V,DATA_ATTR:H,ARIA_ATTR:z,IS_ALLOWED_URI:Z,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:q,DOCTYPE_NAME:G,CUSTOM_ELEMENT:Y});const Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X=function(){return"undefined"===typeof window?null:window},J=function(e,t){if("object"!==typeof e||"function"!==typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function $(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const n=e=>$(e);if(n.version="3.1.6",n.removed=[],!t||!t.document||t.document.nodeType!==Q.document)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:x,Element:A,NodeFilter:_,NamedNodeMap:B=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:U,DOMParser:V,trustedTypes:H}=t,z=A.prototype,W=S(z,"cloneNode"),q=S(z,"remove"),Y=S(z,"nextSibling"),ee=S(z,"childNodes"),te=S(z,"parentNode");if("function"===typeof c){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ne,re="";const{implementation:ie,createNodeIterator:oe,createDocumentFragment:ae,getElementsByTagName:se}=r,{importNode:le}=i;let ce={};n.isSupported="function"===typeof e&&"function"===typeof te&&ie&&void 0!==ie.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:pe,ARIA_ATTR:fe,IS_SCRIPT_OR_DATA:me,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:ve}=K;let{IS_ALLOWED_URI:Ce}=K,ye=null;const be=E({},[...k,...P,...D,...F,...R]);let we=null;const xe=E({},[...M,...O,...j,...L]);let Ae=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,_e=null,Te=!0,Se=!0,ke=!1,Pe=!0,De=!1,Ne=!0,Fe=!1,Ie=!1,Re=!1,Me=!1,Oe=!1,je=!1,Le=!0,Be=!1;const Ue="user-content-";let Ve=!0,He=!1,ze={},Ze=null;const We=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let qe=null;const Ge=E({},["audio","video","img","source","image","track"]);let Ye=null;const Ke=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let $e=Je,et=!1,tt=null;const nt=E({},[Qe,Xe,Je],f);let rt=null;const it=["application/xhtml+xml","text/html"],ot="text/html";let at=null,st=null;const lt=r.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!st||st!==e){if(e&&"object"===typeof e||(e={}),e=T(e),rt=-1===it.indexOf(e.PARSER_MEDIA_TYPE)?ot:e.PARSER_MEDIA_TYPE,at="application/xhtml+xml"===rt?f:p,ye=y(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,at):be,we=y(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,at):xe,tt=y(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,f):nt,Ye=y(e,"ADD_URI_SAFE_ATTR")?E(T(Ke),e.ADD_URI_SAFE_ATTR,at):Ke,qe=y(e,"ADD_DATA_URI_TAGS")?E(T(Ge),e.ADD_DATA_URI_TAGS,at):Ge,Ze=y(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,at):We,Ee=y(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,at):{},_e=y(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,at):{},ze=!!y(e,"USE_PROFILES")&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Se=!1!==e.ALLOW_DATA_ATTR,ke=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,De=e.SAFE_FOR_TEMPLATES||!1,Ne=!1!==e.SAFE_FOR_XML,Fe=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Oe=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Ve=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,Ce=e.ALLOWED_URI_REGEXP||Z,$e=e.NAMESPACE||Je,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Se=!1),Oe&&(Me=!0),ze&&(ye=E({},R),we=[],!0===ze.html&&(E(ye,k),E(we,M)),!0===ze.svg&&(E(ye,P),E(we,O),E(we,L)),!0===ze.svgFilters&&(E(ye,D),E(we,O),E(we,L)),!0===ze.mathMl&&(E(ye,F),E(we,j),E(we,L))),e.ADD_TAGS&&(ye===be&&(ye=T(ye)),E(ye,e.ADD_TAGS,at)),e.ADD_ATTR&&(we===xe&&(we=T(we)),E(we,e.ADD_ATTR,at)),e.ADD_URI_SAFE_ATTR&&E(Ye,e.ADD_URI_SAFE_ATTR,at),e.FORBID_CONTENTS&&(Ze===We&&(Ze=T(Ze)),E(Ze,e.FORBID_CONTENTS,at)),Ve&&(ye["#text"]=!0),Fe&&E(ye,["html","head","body"]),ye.table&&(E(ye,["tbody"]),delete Ee.tbody),e.TRUSTED_TYPES_POLICY){if("function"!==typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ne=e.TRUSTED_TYPES_POLICY,re=ne.createHTML("")}else void 0===ne&&(ne=J(H,a)),null!==ne&&"string"===typeof re&&(re=ne.createHTML(""));o&&o(e),st=e}},dt=E({},["mi","mo","mn","ms","mtext"]),ht=E({},["foreignobject","annotation-xml"]),pt=E({},["title","style","font","a","script"]),ft=E({},[...P,...D,...N]),mt=E({},[...F,...I]),gt=function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const n=p(e.tagName),r=p(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Xe?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||dt[r]):Boolean(ft[n]):e.namespaceURI===Qe?t.namespaceURI===Je?"math"===n:t.namespaceURI===Xe?"math"===n&&ht[r]:Boolean(mt[n]):e.namespaceURI===Je?!(t.namespaceURI===Xe&&!ht[r])&&!(t.namespaceURI===Qe&&!dt[r])&&!mt[n]&&(pt[n]||!ft[n]):!("application/xhtml+xml"!==rt||!tt[e.namespaceURI]))},vt=function(e){h(n.removed,{element:e});try{te(e).removeChild(e)}catch(t){q(e)}},Ct=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Me||Oe)try{vt(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},yt=function(e){let t=null,n=null;if(Re)e="<remove></remove>"+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===rt&&$e===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=ne?ne.createHTML(e):e;if($e===Je)try{t=(new V).parseFromString(i,rt)}catch(a){}if(!t||!t.documentElement){t=ie.createDocument($e,"template",null);try{t.documentElement.innerHTML=et?re:i}catch(a){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),$e===Je?se.call(t,Fe?"html":"body")[0]:Fe?t.documentElement:o},bt=function(e){return oe.call(e.ownerDocument||e,e,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof U&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof B)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},xt=function(e){return"function"===typeof x&&e instanceof x},At=function(e,t,r){ce[e]&&u(ce[e],(e=>{e.call(n,t,r,st)}))},Et=function(e){let t=null;if(At("beforeSanitizeElements",e,null),wt(e))return vt(e),!0;const r=at(e.nodeName);if(At("uponSanitizeElement",e,{tagName:r,allowedTags:ye}),e.hasChildNodes()&&!xt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return vt(e),!0;if(e.nodeType===Q.progressingInstruction)return vt(e),!0;if(Ne&&e.nodeType===Q.comment&&b(/<[/\w]/g,e.data))return vt(e),!0;if(!ye[r]||Ee[r]){if(!Ee[r]&&Tt(r)){if(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,r))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))return!1}if(Ve&&!Ze[r]){const t=te(e)||e.parentNode,n=ee(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=W(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,Y(e))}}return vt(e),!0}return e instanceof A&&!gt(e)?(vt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(De&&e.nodeType===Q.text&&(t=e.textContent,u([ue,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),At("afterSanitizeElements",e,null),!1):(vt(e),!0)},_t=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in r||n in lt))return!1;if(Se&&!_e[t]&&b(pe,t));else if(Te&&b(fe,t));else if(!we[t]||_e[t]){if(!(Tt(e)&&(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&b(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if(Ye[t]);else if(b(Ce,g(n,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!qe[e])if(ke&&!b(me,g(n,ge,"")));else if(n)return!1;return!0},Tt=function(e){return"annotation-xml"!==e&&m(e,ve)},St=function(e){At("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};let i=t.length;for(;i--;){const a=t[i],{name:s,namespaceURI:l,value:c}=a,h=at(s);let p="value"===s?c:C(c);if(r.attrName=h,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,At("uponSanitizeAttribute",e,r),p=r.attrValue,Ne&&b(/((--!?|])>)|<\/(style|title)/i,p)){Ct(s,e);continue}if(r.forceKeepAttr)continue;if(Ct(s,e),!r.keepAttr)continue;if(!Pe&&b(/\/>/i,p)){Ct(s,e);continue}De&&u([ue,de,he],(e=>{p=g(p,e," ")}));const f=at(e.nodeName);if(_t(f,h,p)){if(!Be||"id"!==h&&"name"!==h||(Ct(s,e),p=Ue+p),ne&&"object"===typeof H&&"function"===typeof H.getAttributeType)if(l);else switch(H.getAttributeType(f,h)){case"TrustedHTML":p=ne.createHTML(p);break;case"TrustedScriptURL":p=ne.createScriptURL(p)}try{l?e.setAttributeNS(l,s,p):e.setAttribute(s,p),wt(e)?vt(e):d(n.removed)}catch(o){}}}At("afterSanitizeAttributes",e,null)},kt=function e(t){let n=null;const r=bt(t);for(At("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)At("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof l&&e(n.content),St(n));At("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!==typeof e&&!xt(e)){if("function"!==typeof e.toString)throw w("toString is not a function");if("string"!==typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ie||ut(t),n.removed=[],"string"===typeof e&&(He=!1),He){if(e.nodeName){const t=at(e.nodeName);if(!ye[t]||Ee[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof x)r=yt("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===Q.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Me&&!De&&!Fe&&-1===e.indexOf("<"))return ne&&je?ne.createHTML(e):e;if(r=yt(e),!r)return Me?null:je?re:""}r&&Re&&vt(r.firstChild);const c=bt(He?e:r);for(;a=c.nextNode();)Et(a)||(a.content instanceof l&&kt(a.content),St(a));if(He)return e;if(Me){if(Oe)for(s=ae.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(we.shadowroot||we.shadowrootmode)&&(s=le.call(i,s,!0)),s}let d=Fe?r.outerHTML:r.innerHTML;return Fe&&ye["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(G,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),De&&u([ue,de,he],(e=>{d=g(d,e," ")})),ne&&je?ne.createHTML(d):d},n.setConfig=function(){ut(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ie=!0},n.clearConfig=function(){st=null,Ie=!1},n.isValidAttribute=function(e,t,n){st||ut({});const r=at(e),i=at(t);return _t(r,i,n)},n.addHook=function(e,t){"function"===typeof t&&(ce[e]=ce[e]||[],h(ce[e],t))},n.removeHook=function(e){if(ce[e])return d(ce[e])},n.removeHooks=function(e){ce[e]&&(ce[e]=[])},n.removeAllHooks=function(){ce={}},n}return $()}()},66973:e=>{"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):f(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"===typeof l)r(l,this,t);else{var c=l.length,u=f(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},98043:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"===typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});h<p;++h)if(null!=(t=arguments[h]))for(n in t)r=l(d,n),d!==(i=l(t,n))&&(f&&i&&(a(i)||(c=o(i)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},s(d,{name:n,newValue:e(f,u,i)})):"undefined"!==typeof i&&s(d,{name:n,newValue:i}));return d}},31945:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var a=r[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},98860:(e,t,n)=>{"use strict";n.d(t,{Kw:()=>Dr,D0:()=>xr,ED:()=>Pr,lV:()=>Ar,l1:()=>gr,Mt:()=>wr});var r=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=o(e[t],n)})),Object.keys(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=s(e[i],t[i],n):r[i]=o(t[i],n)})),r}(e,t,n):o(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};const l=s;const c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=c||u||Function("return this")();const h=d.Symbol;var p=Object.prototype,f=p.hasOwnProperty,m=p.toString,g=h?h.toStringTag:void 0;const v=function(e){var t=f.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(o){}var i=m.call(e);return r&&(t?e[g]=n:delete e[g]),i};var C=Object.prototype.toString;const y=function(e){return C.call(e)};var b=h?h.toStringTag:void 0;const w=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":b&&b in Object(e)?v(e):y(e)};const x=function(e,t){return function(n){return e(t(n))}};const A=x(Object.getPrototypeOf,Object);const E=function(e){return null!=e&&"object"==typeof e};var _=Function.prototype,T=Object.prototype,S=_.toString,k=T.hasOwnProperty,P=S.call(Object);const D=function(e){if(!E(e)||"[object Object]"!=w(e))return!1;var t=A(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==P};const N=function(){this.__data__=[],this.size=0};const F=function(e,t){return e===t||e!==e&&t!==t};const I=function(e,t){for(var n=e.length;n--;)if(F(e[n][0],t))return n;return-1};var R=Array.prototype.splice;const M=function(e){var t=this.__data__,n=I(t,e);return!(n<0)&&(n==t.length-1?t.pop():R.call(t,n,1),--this.size,!0)};const O=function(e){var t=this.__data__,n=I(t,e);return n<0?void 0:t[n][1]};const j=function(e){return I(this.__data__,e)>-1};const L=function(e,t){var n=this.__data__,r=I(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function B(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}B.prototype.clear=N,B.prototype.delete=M,B.prototype.get=O,B.prototype.has=j,B.prototype.set=L;const U=B;const V=function(){this.__data__=new U,this.size=0};const H=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const z=function(e){return this.__data__.get(e)};const Z=function(e){return this.__data__.has(e)};const W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const q=function(e){if(!W(e))return!1;var t=w(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const G=d["__core-js_shared__"];var Y=function(){var e=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();const K=function(e){return!!Y&&Y in e};var Q=Function.prototype.toString;const X=function(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""};var J=/^\[object .+?Constructor\]$/,$=Function.prototype,ee=Object.prototype,te=$.toString,ne=ee.hasOwnProperty,re=RegExp("^"+te.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ie=function(e){return!(!W(e)||K(e))&&(q(e)?re:J).test(X(e))};const oe=function(e,t){return null==e?void 0:e[t]};const ae=function(e,t){var n=oe(e,t);return ie(n)?n:void 0};const se=ae(d,"Map");const le=ae(Object,"create");const ce=function(){this.__data__=le?le(null):{},this.size=0};const ue=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var de=Object.prototype.hasOwnProperty;const he=function(e){var t=this.__data__;if(le){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return de.call(t,e)?t[e]:void 0};var pe=Object.prototype.hasOwnProperty;const fe=function(e){var t=this.__data__;return le?void 0!==t[e]:pe.call(t,e)};const me=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=le&&void 0===t?"__lodash_hash_undefined__":t,this};function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ge.prototype.clear=ce,ge.prototype.delete=ue,ge.prototype.get=he,ge.prototype.has=fe,ge.prototype.set=me;const ve=ge;const Ce=function(){this.size=0,this.__data__={hash:new ve,map:new(se||U),string:new ve}};const ye=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const be=function(e,t){var n=e.__data__;return ye(t)?n["string"==typeof t?"string":"hash"]:n.map};const we=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t};const xe=function(e){return be(this,e).get(e)};const Ae=function(e){return be(this,e).has(e)};const Ee=function(e,t){var n=be(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function _e(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}_e.prototype.clear=Ce,_e.prototype.delete=we,_e.prototype.get=xe,_e.prototype.has=Ae,_e.prototype.set=Ee;const Te=_e;const Se=function(e,t){var n=this.__data__;if(n instanceof U){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Te(r)}return n.set(e,t),this.size=n.size,this};function ke(e){var t=this.__data__=new U(e);this.size=t.size}ke.prototype.clear=V,ke.prototype.delete=H,ke.prototype.get=z,ke.prototype.has=Z,ke.prototype.set=Se;const Pe=ke;const De=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};const Ne=function(){try{var e=ae(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const Fe=function(e,t,n){"__proto__"==t&&Ne?Ne(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Ie=Object.prototype.hasOwnProperty;const Re=function(e,t,n){var r=e[t];Ie.call(e,t)&&F(r,n)&&(void 0!==n||t in e)||Fe(e,t,n)};const Me=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Fe(n,s,l):Re(n,s,l)}return n};const Oe=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const je=function(e){return E(e)&&"[object Arguments]"==w(e)};var Le=Object.prototype,Be=Le.hasOwnProperty,Ue=Le.propertyIsEnumerable;const Ve=je(function(){return arguments}())?je:function(e){return E(e)&&Be.call(e,"callee")&&!Ue.call(e,"callee")};const He=Array.isArray;const ze=function(){return!1};var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,We=Ze&&"object"==typeof module&&module&&!module.nodeType&&module,qe=We&&We.exports===Ze?d.Buffer:void 0;const Ge=(qe?qe.isBuffer:void 0)||ze;var Ye=/^(?:0|[1-9]\d*)$/;const Ke=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ye.test(e))&&e>-1&&e%1==0&&e<t};const Qe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Xe={};Xe["[object Float32Array]"]=Xe["[object Float64Array]"]=Xe["[object Int8Array]"]=Xe["[object Int16Array]"]=Xe["[object Int32Array]"]=Xe["[object Uint8Array]"]=Xe["[object Uint8ClampedArray]"]=Xe["[object Uint16Array]"]=Xe["[object Uint32Array]"]=!0,Xe["[object Arguments]"]=Xe["[object Array]"]=Xe["[object ArrayBuffer]"]=Xe["[object Boolean]"]=Xe["[object DataView]"]=Xe["[object Date]"]=Xe["[object Error]"]=Xe["[object Function]"]=Xe["[object Map]"]=Xe["[object Number]"]=Xe["[object Object]"]=Xe["[object RegExp]"]=Xe["[object Set]"]=Xe["[object String]"]=Xe["[object WeakMap]"]=!1;const Je=function(e){return E(e)&&Qe(e.length)&&!!Xe[w(e)]};const $e=function(e){return function(t){return e(t)}};var et="object"==typeof exports&&exports&&!exports.nodeType&&exports,tt=et&&"object"==typeof module&&module&&!module.nodeType&&module,nt=tt&&tt.exports===et&&c.process;const rt=function(){try{var e=tt&&tt.require&&tt.require("util").types;return e||nt&&nt.binding&&nt.binding("util")}catch(t){}}();var it=rt&&rt.isTypedArray;const ot=it?$e(it):Je;var at=Object.prototype.hasOwnProperty;const st=function(e,t){var n=He(e),r=!n&&Ve(e),i=!n&&!r&&Ge(e),o=!n&&!r&&!i&&ot(e),a=n||r||i||o,s=a?Oe(e.length,String):[],l=s.length;for(var c in e)!t&&!at.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ke(c,l))||s.push(c);return s};var lt=Object.prototype;const ct=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||lt)};const ut=x(Object.keys,Object);var dt=Object.prototype.hasOwnProperty;const ht=function(e){if(!ct(e))return ut(e);var t=[];for(var n in Object(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t};const pt=function(e){return null!=e&&Qe(e.length)&&!q(e)};const ft=function(e){return pt(e)?st(e):ht(e)};const mt=function(e,t){return e&&Me(t,ft(t),e)};const gt=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var vt=Object.prototype.hasOwnProperty;const Ct=function(e){if(!W(e))return gt(e);var t=ct(e),n=[];for(var r in e)("constructor"!=r||!t&&vt.call(e,r))&&n.push(r);return n};const yt=function(e){return pt(e)?st(e,!0):Ct(e)};const bt=function(e,t){return e&&Me(t,yt(t),e)};var wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,xt=wt&&"object"==typeof module&&module&&!module.nodeType&&module,At=xt&&xt.exports===wt?d.Buffer:void 0,Et=At?At.allocUnsafe:void 0;const _t=function(e,t){if(t)return e.slice();var n=e.length,r=Et?Et(n):new e.constructor(n);return e.copy(r),r};const Tt=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};const St=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o};const kt=function(){return[]};var Pt=Object.prototype.propertyIsEnumerable,Dt=Object.getOwnPropertySymbols;const Nt=Dt?function(e){return null==e?[]:(e=Object(e),St(Dt(e),(function(t){return Pt.call(e,t)})))}:kt;const Ft=function(e,t){return Me(e,Nt(e),t)};const It=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};const Rt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)It(t,Nt(e)),e=A(e);return t}:kt;const Mt=function(e,t){return Me(e,Rt(e),t)};const Ot=function(e,t,n){var r=t(e);return He(e)?r:It(r,n(e))};const jt=function(e){return Ot(e,ft,Nt)};const Lt=function(e){return Ot(e,yt,Rt)};const Bt=ae(d,"DataView");const Ut=ae(d,"Promise");const Vt=ae(d,"Set");const Ht=ae(d,"WeakMap");var zt="[object Map]",Zt="[object Promise]",Wt="[object Set]",qt="[object WeakMap]",Gt="[object DataView]",Yt=X(Bt),Kt=X(se),Qt=X(Ut),Xt=X(Vt),Jt=X(Ht),$t=w;(Bt&&$t(new Bt(new ArrayBuffer(1)))!=Gt||se&&$t(new se)!=zt||Ut&&$t(Ut.resolve())!=Zt||Vt&&$t(new Vt)!=Wt||Ht&&$t(new Ht)!=qt)&&($t=function(e){var t=w(e),n="[object Object]"==t?e.constructor:void 0,r=n?X(n):"";if(r)switch(r){case Yt:return Gt;case Kt:return zt;case Qt:return Zt;case Xt:return Wt;case Jt:return qt}return t});const en=$t;var tn=Object.prototype.hasOwnProperty;const nn=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&tn.call(e,"index")&&(n.index=e.index,n.input=e.input),n};const rn=d.Uint8Array;const on=function(e){var t=new e.constructor(e.byteLength);return new rn(t).set(new rn(e)),t};const an=function(e,t){var n=t?on(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var sn=/\w*$/;const ln=function(e){var t=new e.constructor(e.source,sn.exec(e));return t.lastIndex=e.lastIndex,t};var cn=h?h.prototype:void 0,un=cn?cn.valueOf:void 0;const dn=function(e){return un?Object(un.call(e)):{}};const hn=function(e,t){var n=t?on(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};const pn=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return on(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return an(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return hn(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return ln(e);case"[object Symbol]":return dn(e)}};var fn=Object.create;const mn=function(){function e(){}return function(t){if(!W(t))return{};if(fn)return fn(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const gn=function(e){return"function"!=typeof e.constructor||ct(e)?{}:mn(A(e))};const vn=function(e){return E(e)&&"[object Map]"==en(e)};var Cn=rt&&rt.isMap;const yn=Cn?$e(Cn):vn;const bn=function(e){return E(e)&&"[object Set]"==en(e)};var wn=rt&&rt.isSet;const xn=wn?$e(wn):bn;var An="[object Arguments]",En="[object Function]",_n="[object Object]",Tn={};Tn[An]=Tn["[object Array]"]=Tn["[object ArrayBuffer]"]=Tn["[object DataView]"]=Tn["[object Boolean]"]=Tn["[object Date]"]=Tn["[object Float32Array]"]=Tn["[object Float64Array]"]=Tn["[object Int8Array]"]=Tn["[object Int16Array]"]=Tn["[object Int32Array]"]=Tn["[object Map]"]=Tn["[object Number]"]=Tn[_n]=Tn["[object RegExp]"]=Tn["[object Set]"]=Tn["[object String]"]=Tn["[object Symbol]"]=Tn["[object Uint8Array]"]=Tn["[object Uint8ClampedArray]"]=Tn["[object Uint16Array]"]=Tn["[object Uint32Array]"]=!0,Tn["[object Error]"]=Tn[En]=Tn["[object WeakMap]"]=!1;const Sn=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!W(t))return t;var d=He(t);if(d){if(s=nn(t),!l)return Tt(t,s)}else{var h=en(t),p=h==En||"[object GeneratorFunction]"==h;if(Ge(t))return _t(t,l);if(h==_n||h==An||p&&!o){if(s=c||p?{}:gn(t),!l)return c?Mt(t,bt(s,t)):Ft(t,mt(s,t))}else{if(!Tn[h])return o?t:{};s=pn(t,h,l)}}a||(a=new Pe);var f=a.get(t);if(f)return f;a.set(t,s),xn(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):yn(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var m=d?void 0:(u?c?Lt:jt:c?yt:ft)(t);return De(m||t,(function(i,o){m&&(i=t[o=i]),Re(s,o,e(i,n,r,o,t,a))})),s};const kn=function(e){return Sn(e,5)};var Pn=n(61462),Dn=n(36813),Nn=n.n(Dn),Fn=n(77623);const In=function(e){return Sn(e,4)};const Rn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};const Mn=function(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==w(e)};function On(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(On.Cache||Te),n}On.Cache=Te;const jn=On;var Ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bn=/\\(\\)?/g;const Un=function(e){var t=jn(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ln,(function(e,n,r,i){t.push(r?i.replace(Bn,"$1"):n||e)})),t}));const Vn=function(e){if("string"==typeof e||Mn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var Hn=h?h.prototype:void 0,zn=Hn?Hn.toString:void 0;const Zn=function e(t){if("string"==typeof t)return t;if(He(t))return Rn(t,e)+"";if(Mn(t))return zn?zn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};const Wn=function(e){return null==e?"":Zn(e)};const qn=function(e){return He(e)?Rn(e,Vn):Mn(e)?[e]:Tt(Un(Wn(e)))};var Gn=n(35100),Yn=n.n(Gn);function Kn(){return Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}function Qn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Xn(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function Jn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var $n=(0,Pn.createContext)(void 0);$n.displayName="FormikContext";var er=$n.Provider,tr=$n.Consumer;function nr(){var e=(0,Pn.useContext)($n);return e||(0,Fn.A)(!1),e}var rr=function(e){return Array.isArray(e)&&0===e.length},ir=function(e){return"function"===typeof e},or=function(e){return null!==e&&"object"===typeof e},ar=function(e){return String(Math.floor(Number(e)))===e},sr=function(e){return"[object String]"===Object.prototype.toString.call(e)},lr=function(e){return 0===Pn.Children.count(e)},cr=function(e){return or(e)&&ir(e.then)};function ur(e,t,n,r){void 0===r&&(r=0);for(var i=qn(t);e&&r<i.length;)e=e[i[r++]];return r===i.length||e?void 0===e?n:e:n}function dr(e,t,n){for(var r=In(e),i=r,o=0,a=qn(t);o<a.length-1;o++){var s=a[o],l=ur(e,a.slice(0,o+1));if(l&&(or(l)||Array.isArray(l)))i=i[s]=In(l);else{var c=a[o+1];i=i[s]=ar(c)&&Number(c)>=0?[]:{}}}return(0===o?e:i)[a[o]]===n?e:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}function hr(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var i=0,o=Object.keys(e);i<o.length;i++){var a=o[i],s=e[a];or(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},hr(s,t,n,r[a])):r[a]=t}return r}var pr={},fr={};function mr(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,i=void 0===r||r,o=e.validateOnMount,a=void 0!==o&&o,s=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,h=Xn(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Kn({validateOnChange:n,validateOnBlur:i,validateOnMount:a,onSubmit:d},h),f=(0,Pn.useRef)(p.initialValues),m=(0,Pn.useRef)(p.initialErrors||pr),g=(0,Pn.useRef)(p.initialTouched||fr),v=(0,Pn.useRef)(p.initialStatus),C=(0,Pn.useRef)(!1),y=(0,Pn.useRef)({});(0,Pn.useEffect)((function(){return C.current=!0,function(){C.current=!1}}),[]);var b=(0,Pn.useState)(0)[1],w=(0,Pn.useRef)({values:kn(p.initialValues),errors:kn(p.initialErrors)||pr,touched:kn(p.initialTouched)||fr,status:kn(p.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),x=w.current,A=(0,Pn.useCallback)((function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return Kn({},e,{values:t.payload});case"SET_TOUCHED":return Kn({},e,{touched:t.payload});case"SET_ERRORS":return Nn()(e.errors,t.payload)?e:Kn({},e,{errors:t.payload});case"SET_STATUS":return Kn({},e,{status:t.payload});case"SET_ISSUBMITTING":return Kn({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Kn({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Kn({},e,{values:dr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Kn({},e,{touched:dr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Kn({},e,{errors:dr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Kn({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Kn({},e,{touched:hr(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Kn({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&b((function(e){return e+1}))}),[]),E=(0,Pn.useCallback)((function(e,t){return new Promise((function(n,r){var i=p.validate(e,t);null==i?n(pr):cr(i)?i.then((function(e){n(e||pr)}),(function(e){r(e)})):n(i)}))}),[p.validate]),_=(0,Pn.useCallback)((function(e,t){var n=p.validationSchema,r=ir(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);var i=vr(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r||i})}(e,r);return new Promise((function(e,t){i.then((function(){e(pr)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return dr(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;ur(t,a.path)||(t=dr(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[p.validationSchema]),T=(0,Pn.useCallback)((function(e,t){return new Promise((function(n){return n(y.current[e].validate(t))}))}),[]),S=(0,Pn.useCallback)((function(e){var t=Object.keys(y.current).filter((function(e){return ir(y.current[e].validate)})),n=t.length>0?t.map((function(t){return T(t,ur(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=dr(e,t[r],n)),e}),{})}))}),[T]),k=(0,Pn.useCallback)((function(e){return Promise.all([S(e),p.validationSchema?_(e):{},p.validate?E(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return l.all([t,n,r],{arrayMerge:Cr})}))}),[p.validate,p.validationSchema,S,E,_]),P=br((function(e){return void 0===e&&(e=x.values),A({type:"SET_ISVALIDATING",payload:!0}),k(e).then((function(e){return C.current&&(A({type:"SET_ISVALIDATING",payload:!1}),A({type:"SET_ERRORS",payload:e})),e}))}));(0,Pn.useEffect)((function(){a&&!0===C.current&&Nn()(f.current,p.initialValues)&&P(f.current)}),[a,P]);var D=(0,Pn.useCallback)((function(e){var t=e&&e.values?e.values:f.current,n=e&&e.errors?e.errors:m.current?m.current:p.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:p.initialTouched||{},i=e&&e.status?e.status:v.current?v.current:p.initialStatus;f.current=t,m.current=n,g.current=r,v.current=i;var o=function(){A({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(p.onReset){var a=p.onReset(x.values,K);cr(a)?a.then(o):o()}else o()}),[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);(0,Pn.useEffect)((function(){!0!==C.current||Nn()(f.current,p.initialValues)||u&&(f.current=p.initialValues,D(),a&&P(f.current))}),[u,p.initialValues,D,a,P]),(0,Pn.useEffect)((function(){u&&!0===C.current&&!Nn()(m.current,p.initialErrors)&&(m.current=p.initialErrors||pr,A({type:"SET_ERRORS",payload:p.initialErrors||pr}))}),[u,p.initialErrors]),(0,Pn.useEffect)((function(){u&&!0===C.current&&!Nn()(g.current,p.initialTouched)&&(g.current=p.initialTouched||fr,A({type:"SET_TOUCHED",payload:p.initialTouched||fr}))}),[u,p.initialTouched]),(0,Pn.useEffect)((function(){u&&!0===C.current&&!Nn()(v.current,p.initialStatus)&&(v.current=p.initialStatus,A({type:"SET_STATUS",payload:p.initialStatus}))}),[u,p.initialStatus,p.initialTouched]);var N=br((function(e){if(y.current[e]&&ir(y.current[e].validate)){var t=ur(x.values,e),n=y.current[e].validate(t);return cr(n)?(A({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),A({type:"SET_ISVALIDATING",payload:!1})}))):(A({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return p.validationSchema?(A({type:"SET_ISVALIDATING",payload:!0}),_(x.values,e).then((function(e){return e})).then((function(t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:ur(t,e)}}),A({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),F=(0,Pn.useCallback)((function(e,t){var n=t.validate;y.current[e]={validate:n}}),[]),I=(0,Pn.useCallback)((function(e){delete y.current[e]}),[]),R=br((function(e,t){return A({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?P(x.values):Promise.resolve()})),M=(0,Pn.useCallback)((function(e){A({type:"SET_ERRORS",payload:e})}),[]),O=br((function(e,t){var r=ir(e)?e(x.values):e;return A({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?P(r):Promise.resolve()})),j=(0,Pn.useCallback)((function(e,t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),L=br((function(e,t,r){return A({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?P(dr(x.values,e,t)):Promise.resolve()})),B=(0,Pn.useCallback)((function(e,t){var n,r=t,i=e;if(!sr(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,a=o.type,s=o.name,l=o.id,c=o.value,u=o.checked,d=(o.outerHTML,o.options),h=o.multiple;r=t||(s||l),i=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,i=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!i)return r.concat(n);if(!i)return r;return r.slice(0,o).concat(r.slice(o+1))}(ur(x.values,r),u,c):d&&h?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&L(r,i)}),[L,x.values]),U=br((function(e){if(sr(e))return function(t){return B(t,e)};B(e)})),V=br((function(e,t,n){return void 0===t&&(t=!0),A({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?P(x.values):Promise.resolve()})),H=(0,Pn.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id,o=(n.outerHTML,t||(r||i));V(o,!0)}),[V]),z=br((function(e){if(sr(e))return function(t){return H(t,e)};H(e)})),Z=(0,Pn.useCallback)((function(e){ir(e)?A({type:"SET_FORMIK_STATE",payload:e}):A({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=(0,Pn.useCallback)((function(e){A({type:"SET_STATUS",payload:e})}),[]),q=(0,Pn.useCallback)((function(e){A({type:"SET_ISSUBMITTING",payload:e})}),[]),G=br((function(){return A({type:"SUBMIT_ATTEMPT"}),P().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Q()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return C.current&&A({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(C.current)throw A({type:"SUBMIT_FAILURE"}),e}))}if(C.current&&(A({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=br((function(e){e&&e.preventDefault&&ir(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&ir(e.stopPropagation)&&e.stopPropagation(),G().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:D,validateForm:P,validateField:N,setErrors:M,setFieldError:j,setFieldTouched:V,setFieldValue:L,setStatus:W,setSubmitting:q,setTouched:R,setValues:O,setFormikState:Z,submitForm:G},Q=br((function(){return d(x.values,K)})),X=br((function(e){e&&e.preventDefault&&ir(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&ir(e.stopPropagation)&&e.stopPropagation(),D()})),J=(0,Pn.useCallback)((function(e){return{value:ur(x.values,e),error:ur(x.errors,e),touched:!!ur(x.touched,e),initialValue:ur(f.current,e),initialTouched:!!ur(g.current,e),initialError:ur(m.current,e)}}),[x.errors,x.touched,x.values]),$=(0,Pn.useCallback)((function(e){return{setValue:function(t,n){return L(e,t,n)},setTouched:function(t,n){return V(e,t,n)},setError:function(t){return j(e,t)}}}),[L,V,j]),ee=(0,Pn.useCallback)((function(e){var t=or(e),n=t?e.name:e,r=ur(x.values,n),i={name:n,value:r,onChange:U,onBlur:z};if(t){var o=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!(!Array.isArray(r)||!~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===s&&l&&(i.value=i.value||[],i.multiple=!0)}return i}),[z,U,x.values]),te=(0,Pn.useMemo)((function(){return!Nn()(f.current,x.values)}),[f.current,x.values]),ne=(0,Pn.useMemo)((function(){return"undefined"!==typeof s?te?x.errors&&0===Object.keys(x.errors).length:!1!==s&&ir(s)?s(p):s:x.errors&&0===Object.keys(x.errors).length}),[s,te,x.errors,p]);return Kn({},x,{initialValues:f.current,initialErrors:m.current,initialTouched:g.current,initialStatus:v.current,handleBlur:z,handleChange:U,handleReset:X,handleSubmit:Y,resetForm:D,setErrors:M,setFormikState:Z,setFieldTouched:V,setFieldValue:L,setFieldError:j,setStatus:W,setSubmitting:q,setTouched:R,setValues:O,submitForm:G,validateForm:P,validateField:N,isValid:ne,dirty:te,unregisterField:I,registerField:F,getFieldProps:ee,getFieldMeta:J,getFieldHelpers:$,validateOnBlur:i,validateOnChange:n,validateOnMount:a})}function gr(e){var t=mr(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return(0,Pn.useImperativeHandle)(o,(function(){return t})),(0,Pn.createElement)(er,{value:t},n?(0,Pn.createElement)(n,t):i?i(t):r?ir(r)?r(t):lr(r)?null:Pn.Children.only(r):null)}function vr(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||D(e)?vr(e):""!==e?e:void 0})):D(e[r])?t[r]=vr(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function Cr(e,t,n){var r=e.slice();return t.forEach((function(t,i){if("undefined"===typeof r[i]){var o=!1!==n.clone&&n.isMergeableObject(t);r[i]=o?l(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=l(e[i],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var yr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?Pn.useLayoutEffect:Pn.useEffect;function br(e){var t=(0,Pn.useRef)(e);return yr((function(){t.current=e})),(0,Pn.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function wr(e){var t=nr(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,o=t.registerField,a=t.unregisterField,s=or(e)?e:{name:e},l=s.name,c=s.validate;(0,Pn.useEffect)((function(){return l&&o(l,{validate:c}),function(){l&&a(l)}}),[o,a,l,c]),l||(0,Fn.A)(!1);var u=(0,Pn.useMemo)((function(){return i(l)}),[i,l]);return[n(s),r(l),u]}function xr(e){var t=e.validate,n=e.name,r=e.render,i=e.children,o=e.as,a=e.component,s=e.className,l=Xn(e,["validate","name","render","children","as","component","className"]),c=Xn(nr(),["validate","validationSchema"]);var u=c.registerField,d=c.unregisterField;(0,Pn.useEffect)((function(){return u(n,{validate:t}),function(){d(n)}}),[u,d,n,t]);var h=c.getFieldProps(Kn({name:n},l)),p=c.getFieldMeta(n),f={field:h,form:c};if(r)return r(Kn({},f,{meta:p}));if(ir(i))return i(Kn({},f,{meta:p}));if(a){if("string"===typeof a){var m=l.innerRef,g=Xn(l,["innerRef"]);return(0,Pn.createElement)(a,Kn({ref:m},h,g,{className:s}),i)}return(0,Pn.createElement)(a,Kn({field:h,form:c},l,{className:s}),i)}var v=o||"input";if("string"===typeof v){var C=l.innerRef,y=Xn(l,["innerRef"]);return(0,Pn.createElement)(v,Kn({ref:C},h,y,{className:s}),i)}return(0,Pn.createElement)(v,Kn({},h,l,{className:s}),i)}var Ar=(0,Pn.forwardRef)((function(e,t){var n=e.action,r=Xn(e,["action"]),i=null!=n?n:"#",o=nr(),a=o.handleReset,s=o.handleSubmit;return(0,Pn.createElement)("form",Kn({onSubmit:s,ref:t,onReset:a,action:i},r))}));function Er(e){var t=function(t){return(0,Pn.createElement)(tr,null,(function(n){return n||(0,Fn.A)(!1),(0,Pn.createElement)(e,Kn({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",Yn()(t,e)}Ar.displayName="Form";var _r=function(e,t,n){var r=Tr(e);return r.splice(t,0,n),r},Tr=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(Kn({},e,{length:t+1}))}return[]},Sr=function(e,t){var n="function"===typeof e?e:t;return function(e){if(Array.isArray(e)||or(e)){var t=Tr(e);return n(t)}return e}},kr=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)((function(n){var i=Sr(r,e),a=Sr(t,e),s=dr(n.values,o,e(ur(n.values,o))),l=r?i(ur(n.errors,o)):void 0,c=t?a(ur(n.touched,o)):void 0;return rr(l)&&(l=void 0),rr(c)&&(c=void 0),Kn({},n,{values:s,errors:r?dr(n.errors,o,l):n.errors,touched:t?dr(n.touched,o,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(Tr(t),[kn(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Tr(e),i=r[t];return r[t]=r[n],r[n]=i,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Tr(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return _r(n,e,t)}),(function(t){return _r(t,e,null)}),(function(t){return _r(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Tr(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Jn(n)),n.pop=n.pop.bind(Jn(n)),n}Qn(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Nn()(ur(e.formik.values,e.name),ur(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?Tr(n):[];return t||(t=r[e]),ir(r.splice)&&r.splice(e,1),ir(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,i=t.children,o=t.name,a=Kn({},e,{form:Xn(t.formik,["validate","validationSchema"]),name:o});return n?(0,Pn.createElement)(n,a):r?r(a):i?"function"===typeof i?i(a):lr(i)?null:Pn.Children.only(i):null},t}(Pn.Component);kr.defaultProps={validateOnChange:!0};var Pr=Er(kr),Dr=Er(function(e){function t(){return e.apply(this,arguments)||this}Qn(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return ur(this.props.formik.errors,this.props.name)!==ur(e.formik.errors,this.props.name)||ur(this.props.formik.touched,this.props.name)!==ur(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,i=e.children,o=e.name,a=Xn(e,["component","formik","render","children","name"]),s=ur(n.touched,o),l=ur(n.errors,o);return s&&l?r?ir(r)?r(l):null:i?ir(i)?i(l):null:t?(0,Pn.createElement)(t,a,l):l:null},t}(Pn.Component))},35100:(e,t,n)=>{"use strict";var r=n(64926),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var C=h(n,v);try{c(t,v,C)}catch(y){}}}}return t}},55234:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,C=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===a||e===p||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===C||e.$$typeof===y||e.$$typeof===b||e.$$typeof===v)},t.typeOf=w},64926:(e,t,n)=>{"use strict";e.exports=n(55234)},24153:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*m}},11286:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;g.push(n)}function C(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(){C(r)}function b(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function x(){var e=f(),n=C(i);if(n){if(w(),!C(o))return v("property missing ':'");var r=C(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return C(s),l}}return y(),function(){var e,t=[];for(b(t);e=x();)!1!==e&&(t.push(e),b(t));return t}()}},35165:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},48532:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},51598:(e,t,n)=>{e.exports=self.fetch||(self.fetch=n(60796).default||n(60796))},58956:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",i=1,o=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",f="[object GeneratorFunction]",m="[object Map]",g="[object Number]",v="[object Null]",C="[object Object]",y="[object Promise]",b="[object Proxy]",w="[object RegExp]",x="[object Set]",A="[object String]",E="[object Symbol]",_="[object Undefined]",T="[object WeakMap]",S="[object ArrayBuffer]",k="[object DataView]",P=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[s]=N[l]=N[S]=N[u]=N[k]=N[d]=N[h]=N[p]=N[m]=N[g]=N[C]=N[w]=N[x]=N[A]=N[T]=!1;var F="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,R=F||I||Function("return this")(),M=t&&!t.nodeType&&t,O=M&&e&&!e.nodeType&&e,j=O&&O.exports===M,L=j&&F.process,B=function(){try{return L&&L.binding&&L.binding("util")}catch(e){}}(),U=B&&B.isTypedArray;function V(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function H(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function z(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Z,W,q=Array.prototype,G=Function.prototype,Y=Object.prototype,K=R["__core-js_shared__"],Q=G.toString,X=Y.hasOwnProperty,J=function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),$=Y.toString,ee=RegExp("^"+Q.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=j?R.Buffer:void 0,ne=R.Symbol,re=R.Uint8Array,ie=Y.propertyIsEnumerable,oe=q.splice,ae=ne?ne.toStringTag:void 0,se=Object.getOwnPropertySymbols,le=te?te.isBuffer:void 0,ce=(Z=Object.keys,W=Object,function(e){return Z(W(e))}),ue=Le(R,"DataView"),de=Le(R,"Map"),he=Le(R,"Promise"),pe=Le(R,"Set"),fe=Le(R,"WeakMap"),me=Le(Object,"create"),ge=He(ue),ve=He(de),Ce=He(he),ye=He(pe),be=He(fe),we=ne?ne.prototype:void 0,xe=we?we.valueOf:void 0;function Ae(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _e(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _e;++t<n;)this.add(e[t])}function Se(e){var t=this.__data__=new Ee(e);this.size=t.size}function ke(e,t){var n=We(e),r=!n&&Ze(e),i=!n&&!r&&qe(e),o=!n&&!r&&!i&&Xe(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!X.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ve(c,l))||s.push(c);return s}function Pe(e,t){for(var n=e.length;n--;)if(ze(e[n][0],t))return n;return-1}function De(e){return null==e?void 0===e?_:v:ae&&ae in Object(e)?function(e){var t=X.call(e,ae),n=e[ae];try{e[ae]=void 0;var r=!0}catch(o){}var i=$.call(e);r&&(t?e[ae]=n:delete e[ae]);return i}(e):function(e){return $.call(e)}(e)}function Ne(e){return Qe(e)&&De(e)==s}function Fe(e,t,n,r,a){return e===t||(null==e||null==t||!Qe(e)&&!Qe(t)?e!==e&&t!==t:function(e,t,n,r,a,c){var p=We(e),f=We(t),v=p?l:Ue(e),y=f?l:Ue(t),b=(v=v==s?C:v)==C,_=(y=y==s?C:y)==C,T=v==y;if(T&&qe(e)){if(!qe(t))return!1;p=!0,b=!1}if(T&&!b)return c||(c=new Se),p||Xe(e)?Me(e,t,n,r,a,c):function(e,t,n,r,a,s,l){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!s(new re(e),new re(t)));case u:case d:case g:return ze(+e,+t);case h:return e.name==t.name&&e.message==t.message;case w:case A:return e==t+"";case m:var c=H;case x:var p=r&i;if(c||(c=z),e.size!=t.size&&!p)return!1;var f=l.get(e);if(f)return f==t;r|=o,l.set(e,t);var v=Me(c(e),c(t),r,a,s,l);return l.delete(e),v;case E:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,v,n,r,a,c);if(!(n&i)){var P=b&&X.call(e,"__wrapped__"),D=_&&X.call(t,"__wrapped__");if(P||D){var N=P?e.value():e,F=D?t.value():t;return c||(c=new Se),a(N,F,n,r,c)}}if(!T)return!1;return c||(c=new Se),function(e,t,n,r,o,a){var s=n&i,l=Oe(e),c=l.length,u=Oe(t),d=u.length;if(c!=d&&!s)return!1;var h=c;for(;h--;){var p=l[h];if(!(s?p in t:X.call(t,p)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var m=!0;a.set(e,t),a.set(t,e);var g=s;for(;++h<c;){var v=e[p=l[h]],C=t[p];if(r)var y=s?r(C,v,p,t,e,a):r(v,C,p,e,t,a);if(!(void 0===y?v===C||o(v,C,n,r,a):y)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,n,r,a,c)}(e,t,n,r,Fe,a))}function Ie(e){return!(!Ke(e)||function(e){return!!J&&J in e}(e))&&(Ge(e)?ee:P).test(He(e))}function Re(e){if(!function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Y;return e===n}(e))return ce(e);var t=[];for(var n in Object(e))X.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Me(e,t,n,r,a,s){var l=n&i,c=e.length,u=t.length;if(c!=u&&!(l&&u>c))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var h=-1,p=!0,f=n&o?new Te:void 0;for(s.set(e,t),s.set(t,e);++h<c;){var m=e[h],g=t[h];if(r)var v=l?r(g,m,h,t,e,s):r(m,g,h,e,t,s);if(void 0!==v){if(v)continue;p=!1;break}if(f){if(!V(t,(function(e,t){if(i=t,!f.has(i)&&(m===e||a(m,e,n,r,s)))return f.push(t);var i}))){p=!1;break}}else if(m!==g&&!a(m,g,n,r,s)){p=!1;break}}return s.delete(e),s.delete(t),p}function Oe(e){return function(e,t,n){var r=t(e);return We(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Je,Be)}function je(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ie(n)?n:void 0}Ae.prototype.clear=function(){this.__data__=me?me(null):{},this.size=0},Ae.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ae.prototype.get=function(e){var t=this.__data__;if(me){var n=t[e];return n===r?void 0:n}return X.call(t,e)?t[e]:void 0},Ae.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:X.call(t,e)},Ae.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=me&&void 0===t?r:t,this},Ee.prototype.clear=function(){this.__data__=[],this.size=0},Ee.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():oe.call(t,n,1),--this.size,!0)},Ee.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]},Ee.prototype.has=function(e){return Pe(this.__data__,e)>-1},Ee.prototype.set=function(e,t){var n=this.__data__,r=Pe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},_e.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(de||Ee),string:new Ae}},_e.prototype.delete=function(e){var t=je(this,e).delete(e);return this.size-=t?1:0,t},_e.prototype.get=function(e){return je(this,e).get(e)},_e.prototype.has=function(e){return je(this,e).has(e)},_e.prototype.set=function(e,t){var n=je(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,r),this},Te.prototype.has=function(e){return this.__data__.has(e)},Se.prototype.clear=function(){this.__data__=new Ee,this.size=0},Se.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Se.prototype.get=function(e){return this.__data__.get(e)},Se.prototype.has=function(e){return this.__data__.has(e)},Se.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ee){var r=n.__data__;if(!de||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new _e(r)}return n.set(e,t),this.size=n.size,this};var Be=se?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(se(e),(function(t){return ie.call(e,t)})))}:function(){return[]},Ue=De;function Ve(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function He(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ze(e,t){return e===t||e!==e&&t!==t}(ue&&Ue(new ue(new ArrayBuffer(1)))!=k||de&&Ue(new de)!=m||he&&Ue(he.resolve())!=y||pe&&Ue(new pe)!=x||fe&&Ue(new fe)!=T)&&(Ue=function(e){var t=De(e),n=t==C?e.constructor:void 0,r=n?He(n):"";if(r)switch(r){case ge:return k;case ve:return m;case Ce:return y;case ye:return x;case be:return T}return t});var Ze=Ne(function(){return arguments}())?Ne:function(e){return Qe(e)&&X.call(e,"callee")&&!ie.call(e,"callee")},We=Array.isArray;var qe=le||function(){return!1};function Ge(e){if(!Ke(e))return!1;var t=De(e);return t==p||t==f||t==c||t==b}function Ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Xe=U?function(e){return function(t){return e(t)}}(U):function(e){return Qe(e)&&Ye(e.length)&&!!N[De(e)]};function Je(e){return null!=(t=e)&&Ye(t.length)&&!Ge(t)?ke(e):Re(e);var t}e.exports=function(e,t){return Fe(e,t)}},83562:(e,t,n)=>{var r=n(95652)(n(31455),"DataView");e.exports=r},7887:(e,t,n)=>{var r=n(94454),i=n(89728),o=n(44675),a=n(11215),s=n(16935);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},23253:(e,t,n)=>{var r=n(9304),i=n(73646),o=n(25),a=n(86133),s=n(9373);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},23697:(e,t,n)=>{var r=n(95652)(n(31455),"Map");e.exports=r},99835:(e,t,n)=>{var r=n(84122),i=n(62588),o=n(14703),a=n(62931),s=n(85643);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},38418:(e,t,n)=>{var r=n(95652)(n(31455),"Promise");e.exports=r},71911:(e,t,n)=>{var r=n(95652)(n(31455),"Set");e.exports=r},40901:(e,t,n)=>{var r=n(99835),i=n(27834),o=n(485);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},44823:(e,t,n)=>{var r=n(23253),i=n(69470),o=n(47352),a=n(65883),s=n(6807),l=n(12351);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},81363:(e,t,n)=>{var r=n(31455).Symbol;e.exports=r},97390:(e,t,n)=>{var r=n(31455).Uint8Array;e.exports=r},42265:(e,t,n)=>{var r=n(95652)(n(31455),"WeakMap");e.exports=r},371:e=>{e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},65508:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},35461:(e,t,n)=>{var r=n(2606),i=n(76506),o=n(38559),a=n(15026),s=n(21611),l=n(4929),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),d=!n&&!u&&a(e),h=!n&&!u&&!d&&l(e),p=n||u||d||h,f=p?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},34522:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},28326:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},18180:e=>{e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},50402:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},50460:e=>{e.exports=function(e){return e.split("")}},89787:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},82611:(e,t,n)=>{var r=n(68390);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},50971:(e,t,n)=>{var r=n(6215);e.exports=function(e,t,n,i){return r(e,(function(e,r,o){t(i,e,n(e),o)})),i}},82070:(e,t,n)=>{var r=n(35285);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},6215:(e,t,n)=>{var r=n(41087),i=n(71387)(r);e.exports=i},98239:(e,t,n)=>{var r=n(86195)();e.exports=r},41087:(e,t,n)=>{var r=n(98239),i=n(29908);e.exports=function(e,t){return e&&r(e,t,i)}},29676:(e,t,n)=>{var r=n(76711),i=n(23023);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},27073:(e,t,n)=>{var r=n(28326),i=n(38559);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},97534:(e,t,n)=>{var r=n(81363),i=n(13493),o=n(60256),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},6248:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},34071:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},19180:(e,t,n)=>{var r=n(97534),i=n(70856);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},17700:(e,t,n)=>{var r=n(60042),i=n(70856);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!==t&&n!==n:r(t,n,o,a,e,s))}},60042:(e,t,n)=>{var r=n(44823),i=n(79909),o=n(17920),a=n(87531),s=n(32531),l=n(38559),c=n(15026),u=n(4929),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var C=l(e),y=l(t),b=C?h:s(e),w=y?h:s(t),x=(b=b==d?p:b)==p,A=(w=w==d?p:w)==p,E=b==w;if(E&&c(e)){if(!c(t))return!1;C=!0,x=!1}if(E&&!x)return v||(v=new r),C||u(e)?i(e,t,n,m,g,v):o(e,t,b,n,m,g,v);if(!(1&n)){var _=x&&f.call(e,"__wrapped__"),T=A&&f.call(t,"__wrapped__");if(_||T){var S=_?e.value():e,k=T?t.value():t;return v||(v=new r),g(S,k,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},73793:(e,t,n)=>{var r=n(44823),i=n(17700);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(o)var f=o(d,h,u,e,t,p);if(!(void 0===f?i(h,d,3,o,p):f))return!1}}return!0}},32357:(e,t,n)=>{var r=n(56824),i=n(59266),o=n(82943),a=n(62307),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:s).test(a(e))}},55407:(e,t,n)=>{var r=n(97534),i=n(68712),o=n(70856),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},52735:(e,t,n)=>{var r=n(37473),i=n(68272),o=n(6018),a=n(38559),s=n(76961);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},38350:(e,t,n)=>{var r=n(12761),i=n(86672),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},37473:(e,t,n)=>{var r=n(73793),i=n(1582),o=n(5163);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},68272:(e,t,n)=>{var r=n(17700),i=n(35954),o=n(97265),a=n(91668),s=n(2314),l=n(5163),c=n(23023);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},13879:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},26089:(e,t,n)=>{var r=n(29676);e.exports=function(e){return function(t){return r(t,e)}}},93410:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},93946:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},2606:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},43270:(e,t,n)=>{var r=n(81363),i=n(34522),o=n(38559),a=n(16816),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},59098:(e,t,n)=>{var r=n(47734),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},88607:e=>{e.exports=function(e){return function(t){return e(t)}}},29805:e=>{e.exports=function(e,t){return e.has(t)}},76711:(e,t,n)=>{var r=n(38559),i=n(91668),o=n(88940),a=n(66112);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},43772:(e,t,n)=>{var r=n(93946);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},49363:(e,t,n)=>{var r=n(31455)["__core-js_shared__"];e.exports=r},45414:(e,t,n)=>{var r=n(371),i=n(50971),o=n(52735),a=n(38559);e.exports=function(e,t){return function(n,s){var l=a(n)?r:i,c=t?t():{};return l(n,e,o(s,2),c)}}},71387:(e,t,n)=>{var r=n(83784);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},86195:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},59865:(e,t,n)=>{var r=n(43772),i=n(48888),o=n(81766),a=n(66112);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},90413:(e,t,n)=>{var r=n(18180),i=n(11510),o=n(16703),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},15685:(e,t,n)=>{var r=n(93410)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},35285:(e,t,n)=>{var r=n(95652),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},79909:(e,t,n)=>{var r=n(40901),i=n(50402),o=n(29805);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var v=e[f],C=t[f];if(a)var y=c?a(C,v,f,t,e,l):a(v,C,f,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==C&&!s(v,C,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},17920:(e,t,n)=>{var r=n(81363),i=n(97390),o=n(68390),a=n(79909),s=n(23079),l=n(9173),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var f=1&r;if(p||(p=l),e.size!=t.size&&!f)return!1;var m=h.get(e);if(m)return m==t;r|=2,h.set(e,t);var g=a(p(e),p(t),r,c,d,h);return h.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},87531:(e,t,n)=>{var r=n(33844),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in t:i.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[h=c[d]],C=t[h];if(o)var y=l?o(C,v,h,t,e,s):o(v,C,h,e,t,s);if(!(void 0===y?v===C||a(v,C,n,o,s):y)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return s.delete(e),s.delete(t),m}},55738:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},33844:(e,t,n)=>{var r=n(27073),i=n(490),o=n(29908);e.exports=function(e){return r(e,o,i)}},98581:(e,t,n)=>{var r=n(28376);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1582:(e,t,n)=>{var r=n(2314),i=n(29908);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},95652:(e,t,n)=>{var r=n(32357),i=n(83902);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},13493:(e,t,n)=>{var r=n(81363),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},490:(e,t,n)=>{var r=n(65508),i=n(24883),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},32531:(e,t,n)=>{var r=n(83562),i=n(23697),o=n(38418),a=n(71911),s=n(42265),l=n(97534),c=n(62307),u="[object Map]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",m=c(r),g=c(i),v=c(o),C=c(a),y=c(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=f||i&&b(new i)!=u||o&&b(o.resolve())!=d||a&&b(new a)!=h||s&&b(new s)!=p)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case v:return d;case C:return h;case y:return p}return t}),e.exports=b},83902:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},90780:(e,t,n)=>{var r=n(76711),i=n(76506),o=n(38559),a=n(21611),s=n(68712),l=n(23023);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(h,u)&&(o(e)||i(e))}},48888:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},52516:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},94454:(e,t,n)=>{var r=n(80488);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},89728:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},44675:(e,t,n)=>{var r=n(80488),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},11215:(e,t,n)=>{var r=n(80488),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},16935:(e,t,n)=>{var r=n(80488);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},21611:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},4122:(e,t,n)=>{var r=n(68390),i=n(83784),o=n(21611),a=n(82943);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},91668:(e,t,n)=>{var r=n(38559),i=n(16816),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},28376:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},59266:(e,t,n)=>{var r=n(49363),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},12761:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},2314:(e,t,n)=>{var r=n(82943);e.exports=function(e){return e===e&&!r(e)}},9304:e=>{e.exports=function(){this.__data__=[],this.size=0}},73646:(e,t,n)=>{var r=n(82611),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},25:(e,t,n)=>{var r=n(82611);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},86133:(e,t,n)=>{var r=n(82611);e.exports=function(e){return r(this.__data__,e)>-1}},9373:(e,t,n)=>{var r=n(82611);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},84122:(e,t,n)=>{var r=n(7887),i=n(23253),o=n(23697);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},62588:(e,t,n)=>{var r=n(98581);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},14703:(e,t,n)=>{var r=n(98581);e.exports=function(e){return r(this,e).get(e)}},62931:(e,t,n)=>{var r=n(98581);e.exports=function(e){return r(this,e).has(e)}},85643:(e,t,n)=>{var r=n(98581);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},23079:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},5163:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},36910:(e,t,n)=>{var r=n(73274);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},80488:(e,t,n)=>{var r=n(95652)(Object,"create");e.exports=r},86672:(e,t,n)=>{var r=n(98357)(Object.keys,Object);e.exports=r},35303:(e,t,n)=>{e=n.nmd(e);var r=n(55738),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},60256:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},98357:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},31455:(e,t,n)=>{var r=n(55738),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},27834:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},485:e=>{e.exports=function(e){return this.__data__.has(e)}},9173:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},69470:(e,t,n)=>{var r=n(23253);e.exports=function(){this.__data__=new r,this.size=0}},47352:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},65883:e=>{e.exports=function(e){return this.__data__.get(e)}},6807:e=>{e.exports=function(e){return this.__data__.has(e)}},12351:(e,t,n)=>{var r=n(23253),i=n(23697),o=n(99835);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},81766:(e,t,n)=>{var r=n(50460),i=n(48888),o=n(7116);e.exports=function(e){return i(e)?o(e):r(e)}},88940:(e,t,n)=>{var r=n(36910),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},23023:(e,t,n)=>{var r=n(16816);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},62307:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},47734:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},7116:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[o,a,s].join("|")+")"+c+l+")*"),d="(?:"+[o+r+"?",r,a,s,n].join("|")+")",h=RegExp(i+"(?="+i+")|"+d+u,"g");e.exports=function(e){return e.match(h)||[]}},6475:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+o+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+o+s+n+r+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",f="(?:"+c+"|"+u+")",m="(?:"+p+"|"+u+")",g="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",v="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",C="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+C+("(?:\\u200d(?:"+["[^"+t+"]",d,h].join("|")+")"+y+C+")*"),w="(?:"+[l,d,h].join("|")+")"+b,x=RegExp([p+"?"+c+"+"+g+"(?="+[a,p,"$"].join("|")+")",m+"+"+v+"(?="+[a,p+f,"$"].join("|")+")",p+"?"+f+"+"+g,p+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,w].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},17648:(e,t,n)=>{var r=n(96198),i=n(90413)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},96198:(e,t,n)=>{var r=n(66112),i=n(66718);e.exports=function(e){return i(r(e).toLowerCase())}},75027:(e,t,n)=>{var r=n(93946),i=n(4122),o=n(91179),a=Math.ceil,s=Math.max;e.exports=function(e,t,n){t=(n?i(e,t,n):void 0===t)?1:s(o(t),0);var l=null==e?0:e.length;if(!l||t<1)return[];for(var c=0,u=0,d=Array(a(l/t));c<l;)d[u++]=r(e,c,c+=t);return d}},11510:(e,t,n)=>{var r=n(15685),i=n(66112),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},68390:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},35954:(e,t,n)=>{var r=n(29676);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},66278:(e,t,n)=>{var r=n(6248),i=n(90780);e.exports=function(e,t){return null!=e&&i(e,t,r)}},97265:(e,t,n)=>{var r=n(34071),i=n(90780);e.exports=function(e,t){return null!=e&&i(e,t,r)}},6018:e=>{e.exports=function(e){return e}},76506:(e,t,n)=>{var r=n(19180),i=n(70856),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},38559:e=>{var t=Array.isArray;e.exports=t},83784:(e,t,n)=>{var r=n(56824),i=n(68712);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},15026:(e,t,n)=>{e=n.nmd(e);var r=n(31455),i=n(3361),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},56824:(e,t,n)=>{var r=n(97534),i=n(82943);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},68712:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},66653:e=>{e.exports=function(e){return null==e}},82943:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},70856:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},16816:(e,t,n)=>{var r=n(97534),i=n(70856);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},4929:(e,t,n)=>{var r=n(55407),i=n(88607),o=n(35303),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},70124:(e,t,n)=>{var r=n(82070),i=n(45414)((function(e,t,n){r(e,n,t)}));e.exports=i},29908:(e,t,n)=>{var r=n(35461),i=n(38350),o=n(83784);e.exports=function(e){return o(e)?r(e):i(e)}},59844:(e,t,n)=>{var r=n(82070),i=n(41087),o=n(52735);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,t(e,i,o),e)})),n}},99958:(e,t,n)=>{var r=n(82070),i=n(41087),o=n(52735);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}},73274:(e,t,n)=>{var r=n(99835);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},76961:(e,t,n)=>{var r=n(13879),i=n(26089),o=n(91668),a=n(23023);e.exports=function(e){return o(e)?r(a(e)):i(e)}},76970:(e,t,n)=>{var r=n(90413)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},24883:e=>{e.exports=function(){return[]}},3361:e=>{e.exports=function(){return!1}},72338:(e,t,n)=>{var r=n(20500),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},91179:(e,t,n)=>{var r=n(72338);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},20500:(e,t,n)=>{var r=n(59098),i=n(82943),o=n(16816),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},66112:(e,t,n)=>{var r=n(43270);e.exports=function(e){return null==e?"":r(e)}},66718:(e,t,n)=>{var r=n(59865)("toUpperCase");e.exports=r},16703:(e,t,n)=>{var r=n(89787),i=n(52516),o=n(66112),a=n(6475);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},51733:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,i=e.length;for(n=0;n<i;n+=1)for(var o in r=e[n].prototype)Object.prototype.hasOwnProperty.call(r,o)&&(t.prototype[o]=r[o])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var n,r=0,i=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<t;r+=1)i.push(n);return i}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=t.length;for(e=0;e<n;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,n=createSizedArray(e.length),r=e.length;for(t=0;t<r;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=function(){var e=0;return function(){return idPrefix$1+"__lottie_element_"+(e+=1)}}();function HSVtoRGB(e,t,n){var r,i,o,a,s,l,c,u;switch(l=n*(1-t),c=n*(1-(s=6*e-(a=Math.floor(6*e)))*t),u=n*(1-(1-s)*t),a%6){case 0:r=n,i=u,o=l;break;case 1:r=c,i=n,o=l;break;case 2:r=l,i=n,o=u;break;case 3:r=l,i=c,o=n;break;case 4:r=u,i=l,o=n;break;case 5:r=n,i=l,o=c}return[r,i,o]}function RGBtoHSV(e,t,n){var r,i=Math.max(e,t,n),o=Math.min(e,t,n),a=i-o,s=0===i?0:a/i,l=i/255;switch(i){case o:r=0;break;case e:r=t-n+a*(t<n?6:0),r/=6*a;break;case t:r=n-e+2*a,r/=6*a;break;case n:r=e-t+4*a,r/=6*a}return[r,s,l]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){i.onmessage({data:e})}};function a(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,i}((function(e){if(o.dataManager||(o.dataManager=function(){function e(i,o){var a,s,l,c,d,h,p=i.length;for(s=0;s<p;s+=1)if("ks"in(a=i[s])&&!a.completed){if(a.completed=!0,a.hasMask){var f=a.masksProperties;for(c=f.length,l=0;l<c;l+=1)if(f[l].pt.k.i)r(f[l].pt.k);else for(h=f[l].pt.k.length,d=0;d<h;d+=1)f[l].pt.k[d].s&&r(f[l].pt.k[d].s[0]),f[l].pt.k[d].e&&r(f[l].pt.k[d].e[0])}0===a.ty?(a.layers=t(a.refId,o),e(a.layers,o)):4===a.ty?n(a.shapes):5===a.ty&&u(a)}}function t(e,t){var n=function(e,t){for(var n=0,r=t.length;n<r;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,i,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(o=e[t].ks.k.length,i=0;i<o;i+=1)e[t].ks.k[i].s&&r(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&r(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function r(e){var t,n=e.i.length;for(t=0;t<n;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var o=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),a=function(){var e=[4,7,99];return function(t){if(t.chars&&!i(e,t.v)){var r,o=t.chars.length;for(r=0;r<o;r+=1){var a=t.chars[r];a.data&&a.data.shapes&&(n(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[r].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),s=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"===typeof t.a&&(t.a={a:0,k:t.a}),"number"===typeof t.p&&(t.p={a:0,k:t.p}),"number"===typeof t.r&&(t.r={a:0,k:t.r})}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),l=function(){var e=[4,1,9];function t(e){var n,r,i,o=e.length;for(n=0;n<o;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(i=e[n].c.k.length,r=0;r<i;r+=1)e[n].c.k[r].s&&(e[n].c.k[r].s[0]/=255,e[n].c.k[r].s[1]/=255,e[n].c.k[r].s[2]/=255,e[n].c.k[r].s[3]/=255),e[n].c.k[r].e&&(e[n].c.k[r].e[0]/=255,e[n].c.k[r].e[1]/=255,e[n].c.k[r].e[2]/=255,e[n].c.k[r].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var n,r,i;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(i=e[n].ks.k.length,r=0;r<i;r+=1)e[n].ks.k[r].s&&(e[n].ks.k[r].s[0].c=e[n].closed),e[n].ks.k[r].e&&(e[n].ks.k[r].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,r,i,o,a,s,l=e.length;for(r=0;r<l;r+=1){if((n=e[r]).hasMask){var c=n.masksProperties;for(o=c.length,i=0;i<o;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(s=c[i].pt.k.length,a=0;a<s;a+=1)c[i].pt.k[a].s&&(c[i].pt.k[a].s[0].c=c[i].cl),c[i].pt.k[a].e&&(c[i].pt.k[a].e[0].c=c[i].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}();function u(e){0===e.t.a.length&&e.t.p}var d={completeData:function(n){n.__complete||(l(n),o(n),a(n),s(n),c(n),e(n.layers,n.assets),function(n,r){if(n){var i=0,o=n.length;for(i=0;i<o;i+=1)1===n[i].t&&(n[i].data.layers=t(n[i].data.refId,r),e(n[i].data.layers,r))}}(n.chars,n.assets),n.__complete=!0)}};return d.checkColors=l,d.checkChars=a,d.checkPathProperties=s,d.checkShapes=c,d.completeLayers=e,d}()),o.assetLoader||(o.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,n,r,i){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(s){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=e(a),r(o);else try{o=e(a),r(o)}catch(s){i&&i(s)}};try{a.open(["G","E","T"].join(""),t,!0)}catch(l){a.open(["G","E","T"].join(""),n+"/"+t,!0)}a.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,n=t.id,i=r[n];r[n]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function s(e,t){var i="processId_"+(n+=1);return r[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(e,t,n){var r="";if(e.e)r=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=t+i}else r=n,r+=e.u?e.u:"",r+=e.p;return r}function i(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;n<r;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=r(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.src=n;var o={img:i,assetData:t};return o},createImageData:function(t){var n=r(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:t};return o},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],r=0;r<n.length;r+=1)n[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var n=0,r=this._cbs[e].length;n<r;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,r-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),r={},i=0,o=0;o<n.length;o+=1)2===(t=n[o].split(":")).length&&(r[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var i=t[r],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(t[r].cm)}catch(a){try{o.payload=e(t[r].cm)}catch(s){o.payload={name:t[r].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===i?n.loop=!1:"true"===i?n.loop=!0:""!==i&&(n.loop=parseInt(i,10));var o=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,i=r.length,o=e.layers,a=o.length;for(n=0;n<a;n+=1)for(t=0;t<i;){if(r[t].id===o[n].id){r[t]=o[n];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var n="number"===typeof e?e:void 0,r="number"===typeof t?t:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(r){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,i=0,o=!0,a=!1;function s(e){for(var n=0,i=e.target;n<r;)t[n].animation===i&&(t.splice(n,1),n-=1,r-=1,i.isPaused||u()),n+=1}function l(e,n){if(!e)return null;for(var i=0;i<r;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var o=new AnimationItem;return d(o,e),o.setData(e,n),o}function c(){i+=1,f()}function u(){i-=1}function d(e,n){e.addEventListener("destroy",s),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:n,animation:e}),r+=1}function h(e){var s,l=e-n;for(s=0;s<r;s+=1)t[s].animation.advanceTime(l);n=e,i&&!a?window.requestAnimationFrame(h):o=!0}function p(e){n=e,window.requestAnimationFrame(h)}function f(){!a&&i&&o&&(window.requestAnimationFrame(p),o=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return d(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setSpeed(e,n)},e.setDirection=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(r=0;r<o;r+=1)n&&i[r].setAttribute("data-bm-type",n),l(i[r],e);if(t&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),l(s,e)}},e.resize=function(){var e;for(e=0;e<r;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,i){var o;for(o=0;o<r;o+=1)t[o].animation.goToAndStop(e,n,i)},e.destroy=function(e){var n;for(n=r-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){a=!0},e.unfreeze=function(){a=!1,f()},e.setVolume=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r.push(t[e].animation);return r},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,r,i,o){var a=o||("bez_"+e+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(t[a])return t[a];var s=new u([e,n,r,i]);return t[a]=s,s}},t={},n=11,r=1/(n-1),i="function"===typeof Float32Array;function o(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,n){return((o(t,n)*e+a(t,n))*e+s(t))*e}function c(e,t,n){return 3*o(t,n)*e*e+2*a(t,n)*e+s(t)}function u(e){this._p=e,this._mSampleValues=i?new Float32Array(n):new Array(n),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===n&&r===i?e:0===e?0:1===e?1:l(this._getTForX(e),n,i)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,e===t&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<n;++i)this._mSampleValues[i]=l(i*r,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],o=this._mSampleValues,a=0,s=1,u=n-1;s!==u&&o[s]<=e;++s)a+=r;var d=a+(e-o[--s])/(o[s+1]-o[s])*r,h=c(d,t,i);return h>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var o=c(t,n,r);if(0===o)return t;t-=(l(t,n,r)-e)/o}return t}(e,d,t,i):0===h?d:function(e,t,n,r,i){var o,a,s=0;do{(o=l(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<10);return a}(e,a,a+r,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,i=e,o=createSizedArray(i);return{newElement:function(){return r?o[r-=1]:t()},release:function(e){r===i&&(o=pooling.double(o),i*=2),n&&n(e),o[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,n,r,i,o){var a=e*r+t*i+n*o-i*r-o*e-n*t;return a>-.001&&a<.001}var n=function(e,t,n,r){var i,o,a,s,l,c,u=getDefaultCurveSegments(),d=0,h=[],p=[],f=bezierLengthPool.newElement();for(a=n.length,i=0;i<u;i+=1){for(l=i/(u-1),c=0,o=0;o<a;o+=1)s=bmPow(1-l,3)*e[o]+3*bmPow(1-l,2)*l*n[o]+3*(1-l)*bmPow(l,2)*r[o]+bmPow(l,3)*t[o],h[o]=s,null!==p[o]&&(c+=bmPow(h[o]-p[o],2)),p[o]=h[o];c&&(d+=c=bmSqrt(c)),f.percents[i]=l,f.lengths[i]=d}return f.addedLength=d,f};function r(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var o=function(){var e={};return function(n,o,a,s){var l=(n[0]+"_"+n[1]+"_"+o[0]+"_"+o[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!e[l]){var c,u,d,h,p,f,m,g=getDefaultCurveSegments(),v=0,C=null;2===n.length&&(n[0]!==o[0]||n[1]!==o[1])&&t(n[0],n[1],o[0],o[1],n[0]+a[0],n[1]+a[1])&&t(n[0],n[1],o[0],o[1],o[0]+s[0],o[1]+s[1])&&(g=2);var y=new r(g);for(d=a.length,c=0;c<g;c+=1){for(m=createSizedArray(d),p=c/(g-1),f=0,u=0;u<d;u+=1)h=bmPow(1-p,3)*n[u]+3*bmPow(1-p,2)*p*(n[u]+a[u])+3*(1-p)*bmPow(p,2)*(o[u]+s[u])+bmPow(p,3)*o[u],m[u]=h,null!==C&&(f+=bmPow(m[u]-C[u],2));v+=f=bmSqrt(f),y.points[c]=new i(f,m),C=m}y.segmentLength=v,e[l]=y}return e[l]}}();function a(e,t){var n=t.percents,r=t.lengths,i=n.length,o=bmFloor((i-1)*e),a=e*t.addedLength,s=0;if(o===i-1||0===o||a===r[o])return n[o];for(var l=r[o]>a?-1:1,c=!0;c;)if(r[o]<=a&&r[o+1]>a?(s=(a-r[o])/(r[o+1]-r[o]),c=!1):o+=l,o<0||o>=i-1){if(o===i-1)return n[o];c=!1}return n[o]+(n[o+1]-n[o])*s}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),i=e.c,o=e.v,a=e.o,s=e.i,l=e._length,c=r.lengths,u=0;for(t=0;t<l-1;t+=1)c[t]=n(o[t],o[t+1],a[t],s[t+1]),u+=c[t].addedLength;return i&&l&&(c[t]=n(o[t],o[0],a[t],s[0]),u+=c[t].addedLength),r.totalLength=u,r},getNewSegment:function(t,n,r,i,o,l,c){o<0?o=0:o>1&&(o=1);var u,d=a(o,c),h=a(l=l>1?1:l,c),p=t.length,f=1-d,m=1-h,g=f*f*f,v=d*f*f*3,C=d*d*f*3,y=d*d*d,b=f*f*m,w=d*f*m+f*d*m+f*f*h,x=d*d*m+f*d*h+d*f*h,A=d*d*h,E=f*m*m,_=d*m*m+f*h*m+f*m*h,T=d*h*m+f*h*h+d*m*h,S=d*h*h,k=m*m*m,P=h*m*m+m*h*m+m*m*h,D=h*h*m+m*h*h+h*m*h,N=h*h*h;for(u=0;u<p;u+=1)s[4*u]=e.round(1e3*(g*t[u]+v*r[u]+C*i[u]+y*n[u]))/1e3,s[4*u+1]=e.round(1e3*(b*t[u]+w*r[u]+x*i[u]+A*n[u]))/1e3,s[4*u+2]=e.round(1e3*(E*t[u]+_*r[u]+T*i[u]+S*n[u]))/1e3,s[4*u+3]=e.round(1e3*(k*t[u]+P*r[u]+D*i[u]+N*n[u]))/1e3;return s},getPointInSegment:function(t,n,r,i,o,s){var l=a(o,s),c=1-l;return[e.round(1e3*(c*c*c*t[0]+(l*c*c+c*l*c+c*c*l)*r[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*n[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(l*c*c+c*l*c+c*c*l)*r[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*n[1]))/1e3]},buildBezierData:o,pointOnLine2D:t,pointOnLine3D:function(n,r,i,o,a,s,l,c,u){if(0===i&&0===s&&0===u)return t(n,r,o,a,l,c);var d,h=e.sqrt(e.pow(o-n,2)+e.pow(a-r,2)+e.pow(s-i,2)),p=e.sqrt(e.pow(l-n,2)+e.pow(c-r,2)+e.pow(u-i,2)),f=e.sqrt(e.pow(l-o,2)+e.pow(c-a,2)+e.pow(u-s,2));return(d=h>p?h>f?h-p-f:f-p-h:f>p?f-p-h:p-h-f)>-1e-4&&d<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var i,o,a,s,l,c,u,d,h,p=t.lastIndex,f=p,m=this.keyframes.length-1,g=!0;g;){if(i=this.keyframes[f],o=this.keyframes[f+1],f===m-1&&e>=o.t-r){i.h&&(i=o),p=0;break}if(o.t-r>e){p=f;break}f<m-1?f+=1:(p=0,g=!1)}a=this.keyframesMetadata[f]||{};var v,C=o.t-r,y=i.t-r;if(i.to){a.bezierData||(a.bezierData=bez.buildBezierData(i.s,o.s||i.e,i.to,i.ti));var b=a.bezierData;if(e>=C||e<y){var w=e>=C?b.points.length-1:0;for(l=b.points[w].point.length,s=0;s<l;s+=1)n[s]=b.points[w].point[s]}else{a.__fnct?h=a.__fnct:(h=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,a.__fnct=h),c=h((e-y)/(C-y));var x,A=b.segmentLength*c,E=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastAddedLength:0;for(d=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastPoint:0,g=!0,u=b.points.length;g;){if(E+=b.points[d].partialLength,0===A||0===c||d===b.points.length-1){for(l=b.points[d].point.length,s=0;s<l;s+=1)n[s]=b.points[d].point[s];break}if(A>=E&&A<E+b.points[d+1].partialLength){for(x=(A-E)/b.points[d+1].partialLength,l=b.points[d].point.length,s=0;s<l;s+=1)n[s]=b.points[d].point[s]+(b.points[d+1].point[s]-b.points[d].point[s])*x;break}d<u-1?d+=1:g=!1}t._lastPoint=d,t._lastAddedLength=E-b.points[d].partialLength,t._lastKeyframeIndex=f}}else{var _,T,S,k,P;if(m=i.s.length,v=o.s||i.e,this.sh&&1!==i.h)e>=C?(n[0]=v[0],n[1]=v[1],n[2]=v[2]):e<=y?(n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2]):quaternionToEuler(n,slerp(createQuaternion(i.s),createQuaternion(v),(e-y)/(C-y)));else for(f=0;f<m;f+=1)1!==i.h&&(e>=C?c=1:e<y?c=0:(i.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[f]?h=a.__fnct[f]:(_=void 0===i.o.x[f]?i.o.x[0]:i.o.x[f],T=void 0===i.o.y[f]?i.o.y[0]:i.o.y[f],S=void 0===i.i.x[f]?i.i.x[0]:i.i.x[f],k=void 0===i.i.y[f]?i.i.y[0]:i.i.y[f],h=BezierFactory.getBezierEasing(_,T,S,k).get,a.__fnct[f]=h)):a.__fnct?h=a.__fnct:(_=i.o.x,T=i.o.y,S=i.i.x,k=i.i.y,h=BezierFactory.getBezierEasing(_,T,S,k).get,i.keyframeMetadata=h),c=h((e-y)/(C-y)))),v=o.s||i.e,P=1===i.h?i.s[f]:i.s[f]+(v[f]-i.s[f])*c,"multidimensional"===this.propType?n[f]=P:n=P}return t.lastIndex=p,n}function slerp(e,t,n){var r,i,o,a,s,l=[],c=e[0],u=e[1],d=e[2],h=e[3],p=t[0],f=t[1],m=t[2],g=t[3];return(i=c*p+u*f+d*m+h*g)<0&&(i=-i,p=-p,f=-f,m=-m,g=-g),1-i>1e-6?(r=Math.acos(i),o=Math.sin(r),a=Math.sin((1-n)*r)/o,s=Math.sin(n*r)/o):(a=1-n,s=n),l[0]=a*c+s*p,l[1]=a*u+s*f,l[2]=a*d+s*m,l[3]=a*h+s*g,l}function quaternionToEuler(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=Math.atan2(2*r*o-2*n*i,1-2*r*r-2*i*i),s=Math.asin(2*n*r+2*i*o),l=Math.atan2(2*n*o-2*r*i,1-2*n*n-2*i*i);e[0]=a/degToRads,e[1]=s/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,i=Math.cos(t/2),o=Math.cos(n/2),a=Math.cos(r/2),s=Math.sin(t/2),l=Math.sin(n/2),c=Math.sin(r/2);return[s*l*a+i*o*c,s*o*a+i*l*c,i*l*a-s*o*c,i*o*a-s*l*c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var n=0,r=this.v.length;n<r;)t=e[n]*this.mult,mathAbs(this.v[n]-t)>1e-5&&(this.v[n]=t,this._mdf=!0),n+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,n,r){var i;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=t.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),i=0;i<o;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,n,r){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,n,r){var i;this.propType="multidimensional";var o,a,s,l,c=t.k.length;for(i=0;i<c-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(o=t.k[i].s,a=t.k[i+1].s,s=t.k[i].to,l=t.k[i].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(t.k[i].to=null,t.k[i].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===l[2])&&(t.k[i].to=null,t.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),i=0;i<u;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,n,r,i){var o;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"===typeof t.k[0])o=new MultiDimensionalProperty(e,t,r,i);else switch(n){case 0:o=new KeyframedValueProperty(e,t,r,i);break;case 1:o=new KeyframedMultidimensionalProperty(e,t,r,i)}else o=new ValueProperty(e,t,r,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,n,r,i){var o;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[r]||o[r]&&!i)&&(o[r]=pointPool.newElement()),o[r][0]=e,o[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,i,o,a,s){this.setXYAt(e,t,"v",a,s),this.setXYAt(n,r,"o",a,s),this.setXYAt(i,o,"i",a,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var o,a=this._length-1,s=this._length;for(o=i;o<s;o+=1)e.setTripleAt(t[a][0],t[a][1],r[a][0],r[a][1],n[a][0],n[a][1],o,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var e=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,n=e._length;for(t=0;t<n;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}));return e.clone=function(t){var n,r=e.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,n=0;n<i;n+=1)r.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],n);return r},e}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?r[t-=1]:new ShapeCollection},release:function(e){var i,o=e._length;for(i=0;i<o;i+=1)shapePool.release(e.shapes[i]);e._length=0,t===n&&(r=pooling.double(r),n*=2),r[t]=e,t+=1}},t=0,n=4,r=createSizedArray(n);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,n){var r,i,o,a,s,l,c,u,d,h=n.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)r=p[0].s[0],o=!0,h=0;else if(e>=p[p.length-1].t-this.offsetTime)r=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{for(var f,m,g,v=h,C=p.length-1,y=!0;y&&(f=p[v],!((m=p[v+1]).t-this.offsetTime>e));)v<C-1?v+=1:y=!1;if(g=this.keyframesMetadata[v]||{},h=v,!(o=1===f.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<f.t-this.offsetTime)u=0;else{var b;g.__fnct?b=g.__fnct:(b=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=b),u=b((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}i=m.s?m.s[0]:f.e[0]}r=f.s[0]}for(l=t._length,c=r.i[0].length,n.lastIndex=h,a=0;a<l;a+=1)for(s=0;s<c;s+=1)d=o?r.i[a][s]:r.i[a][s]+(i.i[a][s]-r.i[a][s])*u,t.i[a][s]=d,d=o?r.o[a][s]:r.o[a][s]+(i.o[a][s]-r.o[a][s])*u,t.o[a][s]=d,d=o?r.v[a][s]:r.v[a][s]+(i.v[a][s]-r.v[a][s])*u,t.v[a][s]=d}function n(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<n&&t<n||i>r&&t>r)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,r=e._length;for(n=0;n<r;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=o,a.prototype.setVValue=i,a.prototype.addEffect=s,l.prototype.getValue=o,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=s;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=n-i,a.v[1][0]=o?t+r:t-r,a.v[1][1]=n,a.v[2][0]=t,a.v[2][1]=n+i,a.v[3][0]=o?t-r:t+r,a.v[3][1]=n,a.i[0][0]=o?t-r*e:t+r*e,a.i[0][1]=n-i,a.i[1][0]=o?t+r:t-r,a.i[1][1]=n-i*e,a.i[2][0]=o?t+r*e:t-r*e,a.i[2][1]=n+i,a.i[3][0]=o?t-r:t+r,a.i[3][1]=n+i*e,a.o[0][0]=o?t+r*e:t-r*e,a.o[0][1]=n-i,a.o[1][0]=o?t+r:t-r,a.o[1][1]=n+i*e,a.o[2][0]=o?t-r*e:t+r*e,a.o[2][1]=n+i,a.o[3][0]=o?t-r:t+r,a.o[3][1]=n-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,n,r,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,a=!0,s=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,d=2*Math.PI*s/(2*i),h=2*Math.PI*l/(2*i),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){n=a?c:u,r=a?d:h;var m=(t=a?s:l)*Math.cos(p),g=t*Math.sin(p),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),C=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*r*n*f,g-C*r*n*f,m+v*r*n*f,g+C*r*n*f,e,!0),a=!a,p+=o*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,r=this.or.v,i=this.os.v,o=2*Math.PI*r/(4*t),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=r*Math.cos(a),c=r*Math.sin(a),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),d=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*o*i*s,c-d*o*i*s,l+u*o*i*s,c+d*o*i*s,e,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),d=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bmMin(n,r,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+i,e+n,t-r+o,0,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-o,e+n,t+r-i,1,!0),0!==i?(this.v.setTripleAt(e+n-i,t+r,e+n-i,t+r,e+n-o,t+r,2,!0),this.v.setTripleAt(e-n+i,t+r,e-n+o,t+r,e-n+i,t+r,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-i,e-n,t+r-o,4,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+o,e-n,t-r+i,5,!0),this.v.setTripleAt(e-n+i,t-r,e-n+i,t-r,e-n+o,t-r,6,!0),this.v.setTripleAt(e+n-i,t-r,e+n-o,t-r,e+n-i,t-r,7,!0)):(this.v.setTripleAt(e-n,t+r,e-n+o,t+r,e-n,t+r,2),this.v.setTripleAt(e-n,t-r,e-n,t-r+o,e-n,t-r,3))):(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+o,e+n,t-r+i,0,!0),0!==i?(this.v.setTripleAt(e+n-i,t-r,e+n-i,t-r,e+n-o,t-r,1,!0),this.v.setTripleAt(e-n+i,t-r,e-n+o,t-r,e-n+i,t-r,2,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+i,e-n,t-r+o,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-o,e-n,t+r-i,4,!0),this.v.setTripleAt(e-n+i,t+r,e-n+i,t+r,e-n+o,t+r,5,!0),this.v.setTripleAt(e+n-i,t+r,e+n-o,t+r,e+n-i,t+r,6,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-i,e+n,t+r-o,7,!0)):(this.v.setTripleAt(e-n,t-r,e-n+o,t-r,e-n,t-r,1,!0),this.v.setTripleAt(e-n,t+r,e-n,t+r-o,e-n,t+r,2,!0),this.v.setTripleAt(e+n,t+r,e+n-o,t+r,e+n,t+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}(),h={getShapeProp:function(e,t,n){var r;return 3===n||4===n?r=(3===n?t.pt:t.ks).k.length?new l(e,t,n):new a(e,t,n):5===n?r=new d(e,t):6===n?r=new c(e,t):7===n&&(r=new u(e,t)),r.k&&e.addDynamicProperty(r),r},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return l}};return h}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function s(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function l(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(n(e),n(t))}function d(r,i){var o=e(i),a=t(i);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function h(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function p(e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=d,this.props[12]=h,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m){var g=this.props;if(1===e&&0===t&&0===n&&0===r&&0===i&&1===o&&0===a&&0===s&&0===l&&0===c&&1===u&&0===d)return g[12]=g[12]*e+g[15]*h,g[13]=g[13]*o+g[15]*p,g[14]=g[14]*u+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],C=g[1],y=g[2],b=g[3],w=g[4],x=g[5],A=g[6],E=g[7],_=g[8],T=g[9],S=g[10],k=g[11],P=g[12],D=g[13],N=g[14],F=g[15];return g[0]=v*e+C*i+y*l+b*h,g[1]=v*t+C*o+y*c+b*p,g[2]=v*n+C*a+y*u+b*f,g[3]=v*r+C*s+y*d+b*m,g[4]=w*e+x*i+A*l+E*h,g[5]=w*t+x*o+A*c+E*p,g[6]=w*n+x*a+A*u+E*f,g[7]=w*r+x*s+A*d+E*m,g[8]=_*e+T*i+S*l+k*h,g[9]=_*t+T*o+S*c+k*p,g[10]=_*n+T*a+S*u+k*f,g[11]=_*r+T*s+S*d+k*m,g[12]=P*e+D*i+N*l+F*h,g[13]=P*t+D*o+N*c+F*p,g[14]=P*n+D*a+N*u+F*f,g[15]=P*r+D*s+N*d+F*m,this._identityCalculated=!1,this}function g(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function v(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function C(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function y(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function b(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function w(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function x(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function A(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function E(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function _(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,r=-this.props[4]/e,i=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=n,s.props[4]=r,s.props[5]=i,s.props[12]=o,s.props[13]=a,s}function T(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function S(e){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r[t]=T(e[t]);return r}function k(e,t,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=e[0],r[1]=e[1],r[2]=t[0],r[3]=t[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],c=this.props[13];r[0]=e[0]*i+e[1]*a+l,r[1]=e[0]*o+e[1]*s+c,r[2]=t[0]*i+t[1]*a+l,r[3]=t[0]*o+t[1]*s+c,r[4]=n[0]*i+n[1]*a+l,r[5]=n[0]*o+n[1]*s+c}return r}function P(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function D(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function N(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=r(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function F(e){return e<1e-6&&e>0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function I(){var e=this.props;return"matrix("+F(e[0])+","+F(e[1])+","+F(e[4])+","+F(e[5])+","+F(e[12])+","+F(e[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=u,this.skewFromAxis=d,this.shear=c,this.scale=h,this.setTransform=p,this.translate=f,this.transform=m,this.multiply=g,this.applyToPoint=w,this.applyToX=x,this.applyToY=A,this.applyToZ=E,this.applyToPointArray=P,this.applyToTriplePoints=k,this.applyToPointStringified=D,this.toCSS=N,this.to2dCSS=I,this.clone=y,this.cloneFromProps=b,this.equals=C,this.inversePoints=S,this.inversePoint=T,this.getInverseMatrix=_,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,n){t[e]||(t[e]=n)},e.getModifier=function(e,n,r){return new t[e](n,r)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,i){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var a,s,l=[],c=o.length;for(a=0;a<c;a+=1){var u,d;(s=o[a]).e*i<r||s.s*i>r+n||(u=s.s*i<=r?0:(s.s*i-r)/n,d=s.e*i>=r+n?1:(s.e*i-r)/n,l.push([u,d]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,r,i;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=t;t=n,n=a}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var s,l,c,u,d,h=this.shapes.length,p=0;if(n===t)for(i=0;i<h;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(i=0;i<h;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var f,m,g=[];for(i=0;i<h;i+=1)if((f=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(r=f.shape.paths)._length,d=0,!f.shape._mdf&&f.pathsData.length)d=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)u=bez.getSegmentsLength(r.shapes[s]),c.push(u),d+=u.totalLength;f.totalShapeLength=d,f.pathsData=c}p+=d,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,C=t,y=n,b=0;for(i=h-1;i>=0;i-=1)if((f=this.shapes[i]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&h>1?(v=this.calculateShapeEdges(t,n,f.totalShapeLength,b,p),b+=f.totalShapeLength):v=[[C,y]],l=v.length,s=0;s<l;s+=1){C=v[s][0],y=v[s][1],g.length=0,y<=1?g.push({s:f.totalShapeLength*C,e:f.totalShapeLength*y}):C>=1?g.push({s:f.totalShapeLength*(C-1),e:f.totalShapeLength*(y-1)}):(g.push({s:f.totalShapeLength*C,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(y-1)}));var w=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var x=w.pop();this.addPaths(w,m),w=this.addShapes(f,g[1],x)}else this.addPaths(w,m),w=this.addShapes(f,g[1]);this.addPaths(w,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,i,o,a){i.setXYAt(t[0],t[1],"o",o),i.setXYAt(n[0],n[1],"i",o+1),a&&i.setXYAt(e[0],e[1],"v",o),i.setXYAt(r[0],r[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r,i,o,a,s,l,c,u,d=e.pathsData,h=e.shape.paths.shapes,p=e.shape.paths._length,f=0,m=[],g=!0;for(n?(s=n._length,u=n._length):(n=shapePool.newElement(),s=0,u=0),m.push(n),r=0;r<p;r+=1){for(l=d[r].lengths,n.c=h[r].c,o=h[r].c?l.length:l.length+1,i=1;i<o;i+=1)if(f+(a=l[i-1]).addedLength<t.s)f+=a.addedLength,n.c=!1;else{if(f>t.e){n.c=!1;break}t.s<=f&&t.e>=f+a.addedLength?(this.addSegment(h[r].v[i-1],h[r].o[i-1],h[r].i[i],h[r].v[i],n,s,g),g=!1):(c=bez.getNewSegment(h[r].v[i-1],h[r].v[i],h[r].o[i-1],h[r].i[i],(t.s-f)/a.addedLength,(t.e-f)/a.addedLength,l[i-1]),this.addSegmentFromArray(c,n,s,g),g=!1,n.c=!1),f+=a.addedLength,s+=1}if(h[r].c&&l.length){if(a=l[i-1],f<=t.e){var v=l[i-1].addedLength;t.s<=f&&t.e>=f+v?(this.addSegment(h[r].v[i-1],h[r].o[i-1],h[r].i[0],h[r].v[0],n,s,g),g=!1):(c=bez.getNewSegment(h[r].v[i-1],h[r].v[0],h[r].o[i-1],h[r].i[0],(t.s-f)/v,(t.e-f)/v,l[i-1]),this.addSegmentFromArray(c,n,s,g),g=!1,n.c=!1)}else n.c=!1;f+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[u][0],n.v[u][1],"i",u),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),f>t.e)break;r<p-1&&(n=shapePool.newElement(),g=!0,m.push(n),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],i=e._length,o=0;for(o=0;o<i;o+=1)r[0]+=e.v[o][0],r[1]+=e.v[o][1];r[0]/=i,r[1]/=i;var a,s,l,c,u,d,h=shapePool.newElement();for(h.c=e.c,o=0;o<i;o+=1)a=e.v[o][0]+(r[0]-e.v[o][0])*n,s=e.v[o][1]+(r[1]-e.v[o][1])*n,l=e.o[o][0]+(r[0]-e.o[o][0])*-n,c=e.o[o][1]+(r[1]-e.o[o][1])*-n,u=e.i[o][0]+(r[0]-e.i[o][0])*-n,d=e.i[o][1]+(r[1]-e.i[o][1])*-n,h.setTripleAt(a,s,l,c,u,d,o);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var r,i=t.or.k.length;for(r=0;r<i;r+=1)t.or.k[r].to=null,t.or.k[r].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,i;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(r[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),i[0]=o.getValueAtTime(o.keyframes[0].t/n,0),i[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(r[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(r=[o.pv,a.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=i=e;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var r=t*t-4*e*n;if(r<0)return[];var i=-t/(2*e);if(0===r)return[i];var o=Math.sqrt(r)/(2*e);return[i-o,i+o]}function polynomialCoefficients(e,t,n,r){return[3*t-e-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var o=polynomialCoefficients(e[0],t[0],n[0],r[0]),a=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[e,t,n,r]}function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var i=r;r=n,n=i}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=e.point(o[a])[t];s<n?n=s:s>r&&(r=s)}return{min:n,max:r}}function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,n,r,i,o){if(boxIntersect(e,t))if(n>=o||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r)i.push([e.t,t.t]);else{var a=splitData(e),s=splitData(t);intersectsImpl(a[0],s[0],n+1,r,i,o),intersectsImpl(a[0],s[1],n+1,r,i,o),intersectsImpl(a[1],s[0],n+1,r,i,o),intersectsImpl(a[1],s[1],n+1,r,i,o)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var i=[e[0],e[1],1],o=[t[0],t[1],1],a=[n[0],n[1],1],s=[r[0],r[1],1],l=crossProduct(crossProduct(i,o),crossProduct(a,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,n,r,i,o,a){var s=n-Math.PI/2,l=n+Math.PI/2,c=t[0]+Math.cos(n)*r*i,u=t[1]-Math.sin(n)*r*i;e.setTripleAt(c,u,c+Math.cos(s)*o,u-Math.sin(s)*o,c+Math.cos(l)*a,u-Math.sin(l)*a,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=.5*-Math.PI;return[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,r=(t+1)%e.length(),i=getPerpendicularVector(e.v[n],e.v[r]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,n,r,i,o,a){var s=getProjectingAngle(t,n),l=t.v[n%t._length],c=t.v[0===n?t._length-1:n-1],u=t.v[(n+1)%t._length],d=2===o?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,h=2===o?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[n%t._length],s,a,r,h/(2*(i+1)),d/(2*(i+1)),o)}function zigZagSegment(e,t,n,r,i,o){for(var a=0;a<r;a+=1){var s=(a+1)/(r+1),l=2===i?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(s);setPoint(e,t.point(s),c,o,n,l/(2*(r+1)),l/(2*(r+1)),i),o=-o}return o}function linearOffset(e,t,n){var r=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,r,n),polarOffset(t,r,n)]}function offsetSegment(e,t){var n,r,i,o,a,s,l;n=(l=linearOffset(e.points[0],e.points[1],t))[0],r=l[1],i=(l=linearOffset(e.points[1],e.points[2],t))[0],o=l[1],a=(l=linearOffset(e.points[2],e.points[3],t))[0],s=l[1];var c=lineIntersection(n,r,i,o);null===c&&(c=r);var u=lineIntersection(a,s,i,o);return null===u&&(u=a),new PolynomialBezier(n,c,u,s)}function joinLines(e,t,n,r,i){var o=t.points[3],a=n.points[0];if(3===r)return o;if(pointEqual(o,a))return o;if(2===r){var s=-t.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,c=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),a,polarOffset(a,s+Math.PI/2,100)),u=c?pointDistance(c,o):pointDistance(o,a)/2,d=polarOffset(o,s,2*u*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(a,l,2*u*roundCorner),e.setTripleAt(a[0],a[1],a[0],a[1],d[0],d[1],e.length()),a}var h=lineIntersection(pointEqual(o,t.points[2])?t.points[0]:t.points[2],o,a,pointEqual(a,n.points[1])?n.points[3]:n.points[1]);return h&&pointDistance(h,o)<i?(e.setTripleAt(h[0],h[1],h[0],h[1],h[0],h[1],e.length()),h):o}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),r=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(n[e.length-1]=e[e.length-1].split(i[0])[0],r[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n,r,i,o,a=e.inflectionPoints();if(0===a.length)return[offsetSegment(e,t)];if(1===a.length||floatEqual(a[1],1))return n=(i=e.split(a[0]))[0],r=i[1],[offsetSegment(n,t),offsetSegment(r,t)];n=(i=e.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(i=i[1].split(s))[0],r=i[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(r,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",i=t.length,o=0;o<i;o+=1)switch(t[o].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:e.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,n,r,i,o){var a=o?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-i),l=r.s.v[1]+(1-r.s.v[1])*(1-i);e.translate(r.p.v[0]*a*i,r.p.v[1]*a*i,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*a*i),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,i,o,a=!1;if(this._mdf||e){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,r=0;r<=this._groups.length-1;r+=1){if(s=o<l,this._groups[r]._render=s,this.changeGroupRender(this._groups[r].it,s),!s){var u=this.elemsData[r].it,d=u[u.length-1];0!==d.transform.op.v?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}o+=1}this._currentCopies=l;var h=this.o.v,p=h%1,f=h>0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var C,y,b=0;if(h>0){for(;b<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),b+=p)}else if(h<0){for(;b>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),b-=p)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(y=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==b){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),C=0;C<y;C+=1)n[C]=this.matrix.props[C];this.matrix.reset()}else for(this.matrix.reset(),C=0;C<y;C+=1)n[C]=this.matrix.props[C];b+=1,o-=1,r+=i}}else for(o=this._currentCopies,r=0,i=1;o;)n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,r+=i;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n,r=shapePool.newElement();r.c=e.c;var i,o,a,s,l,c,u,d,h,p,f,m,g=e._length,v=0;for(n=0;n<g;n+=1)i=e.v[n],a=e.o[n],o=e.i[n],i[0]===a[0]&&i[1]===a[1]&&i[0]===o[0]&&i[1]===o[1]?0!==n&&n!==g-1||e.c?(s=0===n?e.v[g-1]:e.v[n-1],c=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,t)/l:0,u=f=i[0]+(s[0]-i[0])*c,d=m=i[1]-(i[1]-s[1])*c,h=u-(u-i[0])*roundCorner,p=d-(d-i[1])*roundCorner,r.setTripleAt(u,d,h,p,f,m,v),v+=1,s=n===g-1?e.v[0]:e.v[n+1],c=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,t)/l:0,u=h=i[0]+(s[0]-i[0])*c,d=p=i[1]+(s[1]-i[1])*c,f=u-(u-i[0])*roundCorner,m=d-(d-i[1])*roundCorner,r.setTripleAt(u,d,h,p,f,m,v),v+=1):(r.setTripleAt(i[0],i[1],a[0],a[1],o[0],o[1],v),v+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[t]:[]:[t-r,t+r].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,n,e),o=lerpPoint(n,r,e),a=lerpPoint(i,o,e);return[new PolynomialBezier(this.points[0],t,i,a,!0),new PolynomialBezier(a,o,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,n){void 0===t&&(t=2),void 0===n&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,n,r){var i=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(i-=1),0===i)return o;var a=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,n,r,a);for(var l=0;l<i;l+=1)a=zigZagSegment(o,s,t,n,r,-a),s=l!==i-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%i):null,zigZagCorner(o,e,l+1,t,n,r,a);return o},ZigZagModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],l,c,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,n,r){var i=shapePool.newElement();i.c=e.c;var o,a,s,l=e.length();e.c||(l-=1);var c=[];for(o=0;o<l;o+=1)s=PolynomialBezier.shapeSegment(e,o),c.push(offsetSegmentSplit(s,t));if(!e.c)for(o=l-1;o>=0;o-=1)s=PolynomialBezier.shapeSegmentInverted(e,o),c.push(offsetSegmentSplit(s,t));c=pruneIntersections(c);var u=null,d=null;for(o=0;o<c.length;o+=1){var h=c[o];for(d&&(u=joinLines(i,d,h[0],n,r)),d=h[h.length-1],a=0;a<h.length;a+=1)s=h[a],u&&pointEqual(s.points[0],u)?i.setXYAt(s.points[1][0],s.points[1][1],"o",i.length()-1):i.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],i.length()),i.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],i.length()),u=s.points[3]}return c.length&&joinLines(i,d,c[0][0],n,r),i},OffsetPathModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],l,u,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=127988,r=127462,i=127487,o=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function a(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=function(e){var t,n=e.split(","),r=n.length,i=[];for(t=0;t<r;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&i.push(n[t]);return i.join(",")}(e)+", "+t,{node:r,w:i,parent:n}}function s(e,t){var n,r=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===r){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=i.style+" "+i.weight+" 100px "+e.fFamily,n=a}return{measureText:function(e){return"svg"===r?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}function l(e){var t=0,n=e.charCodeAt(0);if(n>=55296&&n<=56319){var r=e.charCodeAt(1);r>=56320&&r<=57343&&(t=1024*(n-55296)+r-56320+65536)}return t}function c(e){var t=l(e);return t>=r&&t<=i}var u=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};u.isModifier=function(e,t){var n=e.toString(16)+t.toString(16);return-1!==o.indexOf(n)},u.isZeroWidthJoiner=function(e){return 8205===e},u.isFlagEmoji=function(e){return c(e.substr(0,2))&&c(e.substr(2,2))},u.isRegionalCode=c,u.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},u.isRegionalFlag=function(e,t){var r=l(e.substr(t,2));if(r!==n)return!1;var i=0;for(t+=2;i<5;){if((r=l(e.substr(t,2)))<917601||r>917626)return!1;i+=1,t+=2}return 917631===l(e.substr(t,2))},u.isVariationSelector=function(e){return 65039===e},u.BLACK_FLAG_CODE_POINT=n;var d={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,r,i=e.length,o=this.chars.length;for(t=0;t<i;t+=1){for(n=0,r=!1;n<o;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(r=!0),n+=1;r||(this.chars.push(e[t]),o+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=s(e),e.cache={}})),void(this.fonts=e.list);var n,r=e.list,i=r.length,o=i;for(n=0;n<i;n+=1){var l,c,u=!0;if(r[n].loaded=!1,r[n].monoCase=a(r[n].fFamily,"monospace"),r[n].sansCase=a(r[n].fFamily,"sans-serif"),r[n].fPath){if("p"===r[n].fOrigin||3===r[n].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[n].fFamily+'"], style[f-origin="3"][f-family="'+r[n].fFamily+'"]')).length>0&&(u=!1),u){var d=createTag("style");d.setAttribute("f-forigin",r[n].fOrigin),d.setAttribute("f-origin",r[n].origin),d.setAttribute("f-family",r[n].fFamily),d.type="text/css",d.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(d)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(r[n].fPath)&&(u=!1);if(u){var h=createTag("link");h.setAttribute("f-forigin",r[n].fOrigin),h.setAttribute("f-origin",r[n].origin),h.type="text/css",h.rel="stylesheet",h.href=r[n].fPath,document.body.appendChild(h)}}else if("t"===r[n].fOrigin||2===r[n].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)r[n].fPath===l[c].src&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",r[n].fOrigin),p.setAttribute("f-origin",r[n].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",r[n].fPath),t.appendChild(p)}}}else r[n].loaded=!0,o-=1;r[n].helper=s(r[n],t),r[n].cache={},this.fonts.push(r[n])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,r){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===t&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,n,r)),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var r=this.getFontByName(t),i=e;if(!r.cache[i]){var o=r.helper;if(" "===e){var a=o.measureText("|"+e+"|"),s=o.measureText("||");r.cache[i]=(a-s)/100}else r.cache[i]=o.measureText(e)/100}return r.cache[i]*n},checkLoadedFonts:function(){var e,t,n,r=this.fonts.length,i=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return u.prototype=d,u}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,r=e.ef||[];this.effectElements=[];var i,o=r.length;for(n=0;n<o;n+=1)i=new GroupEffect(r[n],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,o=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,o[n].ty){case 0:r=new SliderEffect(o[n],t,this);break;case 1:r=new AngleEffect(o[n],t,this);break;case 2:r=new ColorEffect(o[n],t,this);break;case 3:r=new PointEffect(o[n],t,this);break;case 4:case 7:r=new CheckboxEffect(o[n],t,this);break;case 10:r=new LayerIndexEffect(o[n],t,this);break;case 11:r=new MaskIndexEffect(o[n],t,this);break;case 5:r=new EffectsManager(o[n],t,this);break;default:r=new NoValueEffect(o[n],t,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),n=e("effects"),r=e("shape"),i=e("text"),o=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,n){this.globalData=t,this.comp=n,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var n,r=e.length,i=this.layers.length;for(t=0;t<r;t+=1)for(n=0;n<i;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,i=this.layers,o=0,a=i.length;o<a;)i[o].ind==t&&(r[o]&&!0!==r[o]?(n.push(r[o]),r[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(e,i[o].parent,n):e.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"===typeof n)t=this.elements[n];else{var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.nm===n){t=this.elements[r];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,l,c,u,d,h,p=this.masksProperties,f=0,m=[],g=createElementID(),v="clipPath",C="clip-path";for(r=0;r<a;r+=1)if(("a"!==p[r].mode&&"n"!==p[r].mode||p[r].inv||100!==p[r].o.k||p[r].o.x)&&(v="mask",C="mask"),"s"!==p[r].mode&&"i"!==p[r].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===p[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),elem:i,lastPath:""},o.appendChild(i);else{var y;if(f+=1,i.setAttribute("fill","s"===p[r].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==p[r].x.k?(v="mask",C="mask",h=PropertyFactory.getProp(this.element,p[r].x,0,null,this.element),y=createElementID(),(u=createNS("filter")).setAttribute("id",y),(d=createNS("feMorphology")).setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),u.appendChild(d),o.appendChild(u),i.setAttribute("stroke","s"===p[r].mode?"#000000":"#ffffff")):(d=null,h=null),this.storedData[r]={elem:i,x:h,expan:d,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},"i"===p[r].mode){l=m.length;var b=createNS("g");for(s=0;s<l;s+=1)b.appendChild(m[s]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",g+"_"+f),w.appendChild(i),o.appendChild(w),b.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(b)}else m.push(i);p[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),invRect:c},this.viewData[r].prop.k||this.drawPath(p[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(v),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(C,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<r;n+=1)t.multiply(this.hierarchy[n].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),e=1;e<t;e+=1){var r=this.localTransforms[e].matrix;n.multiply(r)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,n=e.length;for(t=0;t<n;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):r=!1;var o,a=t.length;for(n=0;n<a;n+=1)o=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(t=0;t<r;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var r,i,o=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,r=1;r<i;r+=1)o+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[r][0]+","+t.i[r][1]+" "+t.v[r][0]+","+t.v[r][1];if(t.c&&i>1&&(o+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==o){var a="";n.elem&&(t.c&&(a=e.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],t=0;t<i;t+=1){n=null;var l=e.data.ef[t].ty;registeredEffects$1[l]&&(n=new(0,registeredEffects$1[l].effect)(a,e.effectsManager.effectElements[t],e,idPrefix+s,r),r=idPrefix+s,registeredEffects$1[l].countsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,n){registeredEffects$1[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var n=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(n.setAttribute("id",i),n.appendChild(r),this.globalData.defs.appendChild(n),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),o.appendChild(this.layerElement),this.transformedElement=o,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,n,r,i,o=this.layerId+"_"+e;if(1===e||3===e){var a=createNS("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===e?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==e||(a.setAttribute("mask-type","luminance"),t=createElementID(),n=filtersFactory.createFilter(t),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(r),a.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var s=createNS("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var l=createNS("g");s.appendChild(l),t=createElementID(),n=filtersFactory.createFilter(t);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),n.appendChild(c);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),c.appendChild(u),this.globalData.defs.appendChild(n);var d=createNS("rect");d.setAttribute("width",this.comp.data.w),d.setAttribute("height",this.comp.data.h),d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("fill","#ffffff"),d.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(d),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(r),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(d),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(s)}this.matteMasks[e]=o}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n<r;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===e)return void(n[r].pos=t);n.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,i=e.length;r<i;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,n,r){var i;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,a=t.length||0;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:t[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var r=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n,r,i=4*this.data.p;for(t=0;t<i;t+=1)n=t%4===0?100:255,r=Math.round(this.prop.v[t]*n),this.c[t]!==r&&(this.c[t]=r,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)n=t%2===0?100:1,r=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==r&&(this.o[t-4*this.data.p]=r,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(1===t.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,o,a,s=[];for(a=4*t.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),s.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(r=4*e.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(n),u.push(n);a.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===e.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=o,this.ost=u,this.maskId=l,t.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,r){if(0===t)return"";var i,o=e.o,a=e.i,s=e.v,l=" M"+r.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<t;i+=1)l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[i][0],a[i][1])+" "+r.applyToPointStringified(s[i][0],s[i][1]);return n&&t&&(l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function r(){}function i(n,r,i){var o,a,s,l,c,u,d,h,p,f,m=r.styles.length,g=r.lvl;for(u=0;u<m;u+=1){if(l=r.sh._mdf||i,r.styles[u].lvl<g){for(h=t.reset(),p=g-r.styles[u].lvl,f=r.transformers.length-1;!l&&p>0;)l=r.transformers[f].mProps._mdf||l,p-=1,f-=1;if(l)for(p=g-r.styles[u].lvl,f=r.transformers.length-1;p>0;)h.multiply(r.transformers[f].mProps.v),p-=1,f-=1}else h=e;if(a=(d=r.sh.paths)._length,l){for(s="",o=0;o<a;o+=1)(c=d.shapes[o])&&c._length&&(s+=buildShapeString(c,c._length,c.c,h));r.caches[u]=s}else s=r.caches[u];r.styles[u].d+=!0===n.hd?"":s,r.styles[u]._mdf=l||r.styles[u]._mdf}}function o(e,t,n){var r=t.style;(t.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,n){s(e,t,n),l(0,t,n)}function s(e,t,n){var r,i,o,a,s,l=t.gf,c=t.g._hasOpacity,u=t.s.v,d=t.e.v;if(t.o._mdf||n){var h="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(h,t.o.v)}if(t.s._mdf||n){var p=1===e.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,u[0]),l.setAttribute(f,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(p,u[0]),t.of.setAttribute(f,u[1]))}if(t.g._cmdf||n){r=t.cst;var m=t.g.c;for(o=r.length,i=0;i<o;i+=1)(a=r[i]).setAttribute("offset",m[4*i]+"%"),a.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(t.g._omdf||n)){var g=t.g.o;for(o=(r=t.g._collapsable?t.cst:t.ost).length,i=0;i<o;i+=1)a=r[i],t.g._collapsable||a.setAttribute("offset",g[2*i]+"%"),a.setAttribute("stop-opacity",g[2*i+1])}if(1===e.t)(t.e._mdf||n)&&(l.setAttribute("x2",d[0]),l.setAttribute("y2",d[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",d[0]),t.of.setAttribute("y2",d[1])));else if((t.s._mdf||t.e._mdf||n)&&(s=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)),l.setAttribute("r",s),c&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||n){s||(s=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)));var v=Math.atan2(d[1]-u[1],d[0]-u[0]),C=t.h.v;C>=1?C=.99:C<=-1&&(C=-.99);var y=s*C,b=Math.cos(v+t.a.v)*y+u[0],w=Math.sin(v+t.a.v)*y+u[1];l.setAttribute("fx",b),l.setAttribute("fy",w),c&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",w))}}function l(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return s;case"gs":return a;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,i,o){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=i,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,n,r,i=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(r=this.stylesList[n],s=!1,a.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(r)&&(a.push(t),s=t._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),i=r.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,r):"fl"===e.ty?n=new SVGFillStyleData(this,e,r):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,r)),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7);var i=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||n.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,i,o,a){var s,l,c,u,d,h,p=[].concat(o),f=e.length-1,m=[],g=[];for(s=f;s>=0;s-=1){if((h=this.searchProcessedElement(e[s]))?t[s]=n[h-1]:e[s]._render=a,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)h?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],i),e[s]._render&&t[s].style.pElem.parentNode!==r&&r.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"===e[s].ty){if(h)for(c=t[s].it.length,l=0;l<c;l+=1)t[s].prevViewData[l]=t[s].it[l];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,i+1,p,a),e[s]._render&&t[s].gr.parentNode!==r&&r.appendChild(t[s].gr)}else"tr"===e[s].ty?(h||(t[s]=this.createTransformElement(e[s],r)),u=t[s].transform,p.push(u)):"sh"===e[s].ty||"rc"===e[s].ty||"el"===e[s].ty||"sr"===e[s].ty?(h||(t[s]=this.createShapeElement(e[s],p,i)),this.setElementStyles(t[s])):"tm"===e[s].ty||"rd"===e[s].ty||"ms"===e[s].ty||"pb"===e[s].ty||"zz"===e[s].ty||"op"===e[s].ty?(h?(d=t[s]).closed=!1:((d=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=d,this.shapeModifiers.push(d)),g.push(d)):"rp"===e[s].ty&&(h?(d=t[s]).closed=!0:(d=ShapeModifiers.getModifier(e[s].ty),t[s]=d,d.init(this,e,s,t),this.shapeModifiers.push(d),a=!1),g.push(d));this.addProcessedElement(e[s],s+1)}for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0;for(f=g.length,s=0;s<f;s+=1)g[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,n=this.animatedContents.length;for(e=0;e<n;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,n,r,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,a=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)o=n!==this.keysIndex?this.effectsSequence[r](o,o.t):this.effectsSequence[r](this.currentData,o.t);t!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],i=0,o=e.length,a=!1,s=!1,l="";i<o;)a=s,s=!1,t=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(t)?a=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(n=e.charCodeAt(i+1))>=56320&&n<=57343&&(FontManager.isModifier(t,n)?(l=e.substr(i,2),a=!0):l=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(n=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(a=!0)):FontManager.isZeroWidthJoiner(t)&&(a=!0,s=!0),a?(r[r.length-1]+=l,a=!1):r.push(l),i+=l.length;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,i,o,a,s,l=this.elem.globalData.fontManager,c=this.data,u=[],d=0,h=c.m.g,p=0,f=0,m=0,g=[],v=0,C=0,y=l.getFontByName(e.f),b=0,w=getFontProperties(y);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var x,A=e.tr/1e3*e.finalSize;if(e.sz)for(var E,_,T=!0,S=e.sz[0],k=e.sz[1];T;){E=0,v=0,n=(_=this.buildFinalText(e.t)).length,A=e.tr/1e3*e.finalSize;var P=-1;for(t=0;t<n;t+=1)x=_[t].charCodeAt(0),r=!1," "===_[t]?P=t:13!==x&&3!==x||(v=0,r=!0,E+=e.finalLineHeight||1.2*e.finalSize),l.chars?(s=l.getCharData(_[t],y.fStyle,y.fFamily),b=r?0:s.w*e.finalSize/100):b=l.measureText(_[t],e.f,e.finalSize),v+b>S&&" "!==_[t]?(-1===P?n+=1:t=P,E+=e.finalLineHeight||1.2*e.finalSize,_.splice(t,P===t?1:0,"\r"),P=-1,v=0):(v+=b,v+=A);E+=y.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&k<E?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=_,n=e.finalText.length,T=!1)}v=-A,b=0;var D,N=0;for(t=0;t<n;t+=1)if(r=!1,13===(x=(D=e.finalText[t]).charCodeAt(0))||3===x?(N=0,g.push(v),C=v>C?v:C,v=-2*A,i="",r=!0,m+=1):i=D,l.chars?(s=l.getCharData(D,y.fStyle,l.getFontByName(e.f).fFamily),b=r?0:s.w*e.finalSize/100):b=l.measureText(i,e.f,e.finalSize)," "===D?N+=b+A:(v+=b+A+N,N=0),u.push({l:b,an:b,add:p,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==h){if(p+=b,""===i||" "===i||t===n-1){for(""!==i&&" "!==i||(p-=b);f<=t;)u[f].an=p,u[f].ind=d,u[f].extra=b,f+=1;d+=1,p=0}}else if(3==h){if(p+=b,""===i||t===n-1){for(""===i&&(p-=b);f<=t;)u[f].an=p,u[f].ind=d,u[f].extra=b,f+=1;p=0,d+=1}}else u[d].ind=d,u[d].extra=0,d+=1;if(e.l=u,C=v>C?v:C,g.push(v),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=C,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var F,I,R,M,O=c.a;a=O.length;var j=[];for(o=0;o<a;o+=1){for((F=O[o]).a.sc&&(e.strokeColorAnim=!0),F.a.sw&&(e.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(e.fillColorAnim=!0),M=0,R=F.s.b,t=0;t<n;t+=1)(I=u[t]).anIndexes[o]=M,(1==R&&""!==I.val||2==R&&""!==I.val&&" "!==I.val||3==R&&(I.n||" "==I.val||t==n-1)||4==R&&(I.n||t==n-1))&&(1===F.s.rn&&j.push(M),M+=1);c.a[o].s.totalChars=M;var L,B=-1;if(1===F.s.rn)for(t=0;t<n;t+=1)B!=(I=u[t]).anIndexes[o]&&(B=I.anIndexes[o],L=j.splice(Math.floor(Math.random()*j.length),1)[0]),I.anIndexes[o]=L}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=y.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.setCurrentData(n),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,a=1,s=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,o,a,s).get,c=0,u=this.finalS,d=this.finalE,h=this.data.sh;if(2===h)c=l(c=d===u?r>=d?1:0:e(0,t(.5/(d-u)+(r-u)/(d-u),1)));else if(3===h)c=l(c=d===u?r>=d?0:1:1-e(0,t(.5/(d-u)+(r-u)/(d-u),1)));else if(4===h)d===u?c=0:(c=e(0,t(.5/(d-u)+(r-u)/(d-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===h){if(d===u)c=0;else{var p=d-u,f=-p/2+(r=t(e(0,r+.5-u),d-u)),m=p/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===h?(d===u?c=0:(r=t(e(0,r+.5-u),d-u),c=(1+Math.cos(Math.PI+2*Math.PI*r/(d-u)))/2),c=l(c)):(r>=n(u)&&(c=e(0,t(r-u<0?t(d,1)-(u-r):d-r,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;c<v?c=0:(c=(c-v)/g)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,i=this.e.v/t+n;if(r>i){var o=r;r=i,i=o}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t,n)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},i=PropertyFactory.getProp,o=t.a;this.a={r:o.r?i(e,o.r,0,degToRads,n):r,rx:o.rx?i(e,o.rx,0,degToRads,n):r,ry:o.ry?i(e,o.ry,0,degToRads,n):r,sk:o.sk?i(e,o.sk,0,degToRads,n):r,sa:o.sa?i(e,o.sa,0,degToRads,n):r,s:o.s?i(e,o.s,1,.01,n):r,a:o.a?i(e,o.a,1,0,n):r,o:o.o?i(e,o.o,0,.01,n):r,p:o.p?i(e,o.p,1,0,n):r,sw:o.sw?i(e,o.sw,0,0,n):r,sc:o.sc?i(e,o.sc,1,0,n):r,fc:o.fc?i(e,o.fc,1,0,n):r,fh:o.fh?i(e,o.fh,0,0,n):r,fs:o.fs?i(e,o.fs,0,.01,n):r,fb:o.fb?i(e,o.fb,0,.01,n):r,t:o.t?i(e,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e<n;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w=this._moreOptions.alignment.v,x=this._animatorsData,A=this._textData,E=this.mHelper,_=this._renderType,T=this.renderedLetters.length,S=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var k,P=b.v;for(this._pathData.r.v&&(P=P.reverse()),a={tLength:0,segments:[]},o=P._length-1,v=0,i=0;i<o;i+=1)k=bez.buildBezierData(P.v[i],P.v[i+1],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[i+1][0]-P.v[i+1][0],P.i[i+1][1]-P.v[i+1][1]]),a.tLength+=k.segmentLength,a.segments.push(k),v+=k.segmentLength;i=o,b.v.c&&(k=bez.buildBezierData(P.v[i],P.v[0],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[0][0]-P.v[0][0],P.i[0][1]-P.v[0][1]]),a.tLength+=k.segmentLength,a.segments.push(k),v+=k.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,h=0,d=1,c=0,u=!0,m=a.segments,s<0&&b.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),d=(f=m[h=m.length-1].points).length-1;s<0;)s+=f[d].partialLength,(d-=1)<0&&(d=(f=m[h-=1].points).length-1);p=(f=m[h].points)[d-1],g=(l=f[d]).partialLength}o=S.length,n=0,r=0;var D,N,F,I,R,M=1.2*e.finalSize*.714,O=!0;F=x.length;var j,L,B,U,V,H,z,Z,W,q,G,Y,K=-1,Q=s,X=h,J=d,$=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,re=0,ie=2===e.j?-.5:-1,oe=0,ae=!0;for(i=0;i<o;i+=1)if(S[i].n){for(ne&&(ne+=re);oe<i;)S[oe].animatorJustifyOffset=ne,oe+=1;ne=0,ae=!0}else{for(N=0;N<F;N+=1)(D=x[N].a).t.propType&&(ae&&2===e.j&&(re+=D.t.v*ie),(R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars)).length?ne+=D.t.v*R[0]*ie:ne+=D.t.v*R*ie);ae=!1}for(ne&&(ne+=re);oe<i;)S[oe].animatorJustifyOffset=ne,oe+=1}for(i=0;i<o;i+=1){if(E.reset(),U=1,S[i].n)n=0,r+=e.yOffset,r+=O?1:0,s=Q,O=!1,this._hasMaskedPath&&(d=J,p=(f=m[h=X].points)[d-1],g=(l=f[d]).partialLength,c=0),ee="",G="",W="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if($!==S[i].line){switch(e.j){case 1:s+=v-e.lineWidths[S[i].line];break;case 2:s+=(v-e.lineWidths[S[i].line])/2}$=S[i].line}K!==S[i].ind&&(S[K]&&(s+=S[K].extra),s+=S[i].an/2,K=S[i].ind),s+=w[0]*S[i].an*.005;var se=0;for(N=0;N<F;N+=1)(D=x[N].a).p.propType&&((R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars)).length?se+=D.p.v[0]*R[0]:se+=D.p.v[0]*R),D.a.propType&&((R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars)).length?se+=D.a.v[0]*R[0]:se+=D.a.v[0]*R);for(u=!0,this._pathData.a.v&&(s=.5*S[0].an+(v-this._pathData.f.v-.5*S[0].an-.5*S[S.length-1].an)*K/(o-1),s+=this._pathData.f.v);u;)c+g>=s+se||!f?(C=(s+se-c)/l.partialLength,L=p.point[0]+(l.point[0]-p.point[0])*C,B=p.point[1]+(l.point[1]-p.point[1])*C,E.translate(-w[0]*S[i].an*.005,-w[1]*M*.01),u=!1):f&&(c+=l.partialLength,(d+=1)>=f.length&&(d=0,m[h+=1]?f=m[h].points:b.v.c?(d=0,f=m[h=0].points):(c-=l.partialLength,f=null)),f&&(p=l,g=(l=f[d]).partialLength));j=S[i].an/2-S[i].add,E.translate(-j,0,0)}else j=S[i].an/2-S[i].add,E.translate(-j,0,0),E.translate(-w[0]*S[i].an*.005,-w[1]*M*.01,0);for(N=0;N<F;N+=1)(D=x[N].a).t.propType&&(R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?R.length?s+=D.t.v*R[0]:s+=D.t.v*R:R.length?n+=D.t.v*R[0]:n+=D.t.v*R));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(z=[e.fc[0],e.fc[1],e.fc[2]]),N=0;N<F;N+=1)(D=x[N].a).a.propType&&((R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars)).length?E.translate(-D.a.v[0]*R[0],-D.a.v[1]*R[1],D.a.v[2]*R[2]):E.translate(-D.a.v[0]*R,-D.a.v[1]*R,D.a.v[2]*R));for(N=0;N<F;N+=1)(D=x[N].a).s.propType&&((R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars)).length?E.scale(1+(D.s.v[0]-1)*R[0],1+(D.s.v[1]-1)*R[1],1):E.scale(1+(D.s.v[0]-1)*R,1+(D.s.v[1]-1)*R,1));for(N=0;N<F;N+=1){if(D=x[N].a,R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars),D.sk.propType&&(R.length?E.skewFromAxis(-D.sk.v*R[0],D.sa.v*R[1]):E.skewFromAxis(-D.sk.v*R,D.sa.v*R)),D.r.propType&&(R.length?E.rotateZ(-D.r.v*R[2]):E.rotateZ(-D.r.v*R)),D.ry.propType&&(R.length?E.rotateY(D.ry.v*R[1]):E.rotateY(D.ry.v*R)),D.rx.propType&&(R.length?E.rotateX(D.rx.v*R[0]):E.rotateX(D.rx.v*R)),D.o.propType&&(R.length?U+=(D.o.v*R[0]-U)*R[0]:U+=(D.o.v*R-U)*R),e.strokeWidthAnim&&D.sw.propType&&(R.length?H+=D.sw.v*R[0]:H+=D.sw.v*R),e.strokeColorAnim&&D.sc.propType)for(Z=0;Z<3;Z+=1)R.length?V[Z]+=(D.sc.v[Z]-V[Z])*R[0]:V[Z]+=(D.sc.v[Z]-V[Z])*R;if(e.fillColorAnim&&e.fc){if(D.fc.propType)for(Z=0;Z<3;Z+=1)R.length?z[Z]+=(D.fc.v[Z]-z[Z])*R[0]:z[Z]+=(D.fc.v[Z]-z[Z])*R;D.fh.propType&&(z=R.length?addHueToRGB(z,D.fh.v*R[0]):addHueToRGB(z,D.fh.v*R)),D.fs.propType&&(z=R.length?addSaturationToRGB(z,D.fs.v*R[0]):addSaturationToRGB(z,D.fs.v*R)),D.fb.propType&&(z=R.length?addBrightnessToRGB(z,D.fb.v*R[0]):addBrightnessToRGB(z,D.fb.v*R))}}for(N=0;N<F;N+=1)(D=x[N].a).p.propType&&(R=x[N].s.getMult(S[i].anIndexes[N],A.a[N].s.totalChars),this._hasMaskedPath?R.length?E.translate(0,D.p.v[1]*R[0],-D.p.v[2]*R[1]):E.translate(0,D.p.v[1]*R,-D.p.v[2]*R):R.length?E.translate(D.p.v[0]*R[0],D.p.v[1]*R[1],-D.p.v[2]*R[2]):E.translate(D.p.v[0]*R,D.p.v[1]*R,-D.p.v[2]*R));if(e.strokeWidthAnim&&(W=H<0?0:H),e.strokeColorAnim&&(q="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(G="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),this._hasMaskedPath){if(E.translate(0,-e.ls),E.translate(0,w[1]*M*.01+r,0),this._pathData.p.v){y=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var le=180*Math.atan(y)/Math.PI;l.point[0]<p.point[0]&&(le+=180),E.rotate(-le*Math.PI/180)}E.translate(L,B,0),s-=w[0]*S[i].an*.005,S[i+1]&&K!==S[i+1].ind&&(s+=S[i].an/2,s+=.001*e.tr*e.finalSize)}else{switch(E.translate(n,r,0),e.ps&&E.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:E.translate(S[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[S[i].line]),0,0);break;case 2:E.translate(S[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[S[i].line])/2,0,0)}E.translate(0,-e.ls),E.translate(j,0,0),E.translate(w[0]*S[i].an*.005,w[1]*M*.01,0),n+=S[i].l+.001*e.tr*e.finalSize}"html"===_?ee=E.toCSS():"svg"===_?ee=E.to2dCSS():te=[E.props[0],E.props[1],E.props[2],E.props[3],E.props[4],E.props[5],E.props[6],E.props[7],E.props[8],E.props[9],E.props[10],E.props[11],E.props[12],E.props[13],E.props[14],E.props[15]],Y=U}T<=i?(I=new LetterProps(Y,W,q,G,ee,te),this.renderedLetters.push(I),T+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[i],this.lettersChangedFlag=I.update(Y,W,q,G,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var n,r,i=t.length,o="";for(n=0;n<i;n+=1)"sh"===t[n].ty&&(r=t[n].ks.k,o+=buildShapeString(r,r.i.length,!0,e));return o},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(r,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=t.title,this.svgElement.appendChild(r),n+=i}if(t&&t.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=t.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,n=e.length,r=[],i="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(r.push(i),i=""):i+=e[t],t+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],l=!!this.globalData.fontManager.chars;t=s.length;var c=this.mHelper,u=this.data.singleShape,d=0,h=0,p=!0,f=.001*n.tr*n.finalSize;if(!u||l||n.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(a=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=a,l){var v=createNS("g");a.appendChild(v),this.textSpans[e].childSpan=v}this.textSpans[e].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(c.reset(),u&&(s[e].n&&(d=-f,h+=n.yOffset,h+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(n,c,s[e].line,d,h),d+=s[e].l||0,d+=f),l){var C;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)C=new SVGCompElement(m.data,this.globalData,this);else{var y=emptyShapeData;m.data&&m.data.shapes&&(y=this.buildShapeData(m.data,n.finalSize)),C=new SVGShapeElement(y,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=C,C._debug=!0,C.prepareFrame(0),C.renderFrame(),this.textSpans[e].childSpan.appendChild(C.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else u&&a.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),a.textContent=s[e].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&a&&a.setAttribute("d","")}else{var w=this.textContainer,x="start";switch(n.j){case 1:x="end";break;case 2:x="middle";break;default:x="start"}w.setAttribute("text-anchor",x),w.setAttribute("letter-spacing",f);var A=this.buildTextContents(n.finalText);for(t=A.length,h=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(a=this.textSpans[e].span||createNS("tspan")).textContent=A[e],a.setAttribute("x",0),a.setAttribute("y",h),a.style.display="inherit",w.appendChild(a),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=a,h+=n.finalLineHeight;this.layerElement.appendChild(w)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var n,r,i,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(n=o[e],r=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var r="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===r)return;if(this.elements[r]&&!0!==this.elements[r]){var i=t[r].getMatte(this.layers[e].tt);n.setMatte(i)}else this.buildItem(r),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var r="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[r].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,r="_";for(t=0;t<n;t+=1)r+=e[t].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var n=0,r=e.transforms.length,i=t;n<r&&!t;){if(e.transforms[n].transform.mProps._mdf){i=!0;break}n+=1}if(i)for(e.finalTransform.reset(),n=r-1;n>=0;n-=1)e.finalTransform.multiply(e.transforms[n].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,n=null,r=null;function i(){t||(r=function(){var t=createNS("svg"),n=createNS("filter"),r=createNS("feColorMatrix");return n.setAttribute("id",e),r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),n.appendChild(r),t.appendChild(n),t.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),t}(),document.body.appendChild(r),t=createTag("canvas"),(n=t.getContext("2d")).filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:i,get:function(r){return t||i(),t.width=r.width,t.height=r.height,n.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(e){var t,n,r=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<r;t+=1){n=null;var i=e.data.ef[t].ty;registeredEffects[i]&&(n=new(0,registeredEffects[i].effect)(e.effectsManager.effectElements[t],e)),n&&this.filters.push(n)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,r,i=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),e=0;e<a;e+=1)if("n"!==this.masksProperties[e].mode){var s;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),r=this.viewData[e].v,t=i.applyToPointArray(r.v[0][0],r.v[0][1],0),o.moveTo(t[0],t[1]);var l=r._length;for(s=1;s<l;s+=1)n=i.applyToTriplePoints(r.o[s-1],r.i[s],r.v[s]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[s-1],r.i[0],r.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var a,s=n.length;for(i=0;i<s;i+=1)n[i].closed||(a={transforms:r.addTransformSequence(n[i].transforms),trNodes:[]},this.styledShapes.push(a),n[i].elements.push(a))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,o=e.ks.or.k.length;for(i=0;i<o;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,i){var o,a,s,l,c,u,d=e.length-1,h=[],p=[],f=[].concat(i);for(o=d;o>=0;o-=1){if((l=this.searchProcessedElement(e[o]))?t[o]=n[l-1]:e[o]._shouldRender=r,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)l?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],f),h.push(t[o].style);else if("gr"===e[o].ty){if(l)for(s=t[o].it.length,a=0;a<s;a+=1)t[o].prevViewData[a]=t[o].it[a];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,r,f)}else"tr"===e[o].ty?(l||(u=this.createTransformElement(e[o]),t[o]=u),f.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?l||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(l?(c=t[o]).closed=!1:((c=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=c,this.shapeModifiers.push(c)),p.push(c)):"rp"===e[o].ty&&(l?(c=t[o]).closed=!0:(c=ShapeModifiers.getModifier(e[o].ty),t[o]=c,c.init(this,e,o,t),this.shapeModifiers.push(c),r=!1),p.push(c));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),d=p.length,o=0;o<d;o+=1)p[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,n,r,i,o,a,s,l,c=this.stylesList.length,u=this.globalData.renderer,d=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(s=(l=this.stylesList[e]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),o=l.elements,"st"===s||"gs"===s?(u.ctxStrokeStyle("st"===s?l.co:l.grd),u.ctxLineWidth(l.wi),u.ctxLineCap(l.lc),u.ctxLineJoin(l.lj),u.ctxMiterLimit(l.ml||0)):u.ctxFillStyle("fl"===s?l.co:l.grd),u.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&d.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),n=o.length,t=0;t<n;t+=1){for("st"!==s&&"gs"!==s||(d.beginPath(),l.da&&(d.setLineDash(l.da),d.lineDashOffset=l.do)),i=(a=o[t].trNodes).length,r=0;r<i;r+=1)"m"===a[r].t?d.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?d.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):d.closePath();"st"!==s&&"gs"!==s||(u.ctxStroke(),l.da&&d.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&this.globalData.renderer.ctxFill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var i,o;for(o=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(o=n[i].transform,this.renderShapeTransform(e,o)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],n[i]):"fl"===t[i].ty?this.renderFill(t[i],n[i],o):"st"===t[i].ty?this.renderStroke(t[i],n[i],o):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],n[i],o):"gr"===t[i].ty?this.renderShape(o,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,i,o=e.trNodes,a=t.paths,s=a._length;o.length=0;var l=e.transforms.finalTransform;for(i=0;i<s;i+=1){var c=a.shapes[i];if(c&&c.v){for(r=c._length,n=1;n<r;n+=1)1===n&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[n],c.v[n])});1===r&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&r&&(o.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[0],c.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,a=this.globalData.canvasContext,s=t.s.v,l=t.e.v;if(1===e.t)r=a.createLinearGradient(s[0],s[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),u=Math.atan2(l[1]-s[1],l[0]-s[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var h=c*d,p=Math.cos(u+t.a.v)*h+s[0],f=Math.sin(u+t.a.v)*h+s[1];r=a.createRadialGradient(p,f,0,s[0],s[1],c)}var m=e.g.p,g=t.g.c,v=1;for(o=0;o<m;o+=1)t.g._hasOpacity&&t.g._collapsable&&(v=t.g.o[2*o+1]),r.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+v+")");i.grd=r}i.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r,i,o,a,s,l,c,u,d,h,p,f,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,v=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var C=this.data.singleShape,y=.001*e.tr*e.finalSize,b=0,w=0,x=!0,A=0;for(r=0;r<i;r+=1){a=(o=this.globalData.fontManager.getCharData(e.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},v.reset(),C&&g[r].n&&(b=-y,w+=e.yOffset,w+=x?1:0,x=!1),d=(c=a.shapes?a.shapes[0].it:[]).length,v.scale(e.finalSize/100,e.finalSize/100),C&&this.applyTextPropertiesToMatrix(e,v,g[r].line,b,w),p=createSizedArray(d-1);var E=0;for(u=0;u<d;u+=1)if("sh"===c[u].ty){for(l=c[u].ks.k.i.length,h=c[u].ks.k,f=[],s=1;s<l;s+=1)1===s&&f.push(v.applyToX(h.v[0][0],h.v[0][1],0),v.applyToY(h.v[0][0],h.v[0][1],0)),f.push(v.applyToX(h.o[s-1][0],h.o[s-1][1],0),v.applyToY(h.o[s-1][0],h.o[s-1][1],0),v.applyToX(h.i[s][0],h.i[s][1],0),v.applyToY(h.i[s][0],h.i[s][1],0),v.applyToX(h.v[s][0],h.v[s][1],0),v.applyToY(h.v[s][0],h.v[s][1],0));f.push(v.applyToX(h.o[s-1][0],h.o[s-1][1],0),v.applyToY(h.o[s-1][0],h.o[s-1][1],0),v.applyToX(h.i[0][0],h.i[0][1],0),v.applyToY(h.i[0][0],h.i[0][1],0),v.applyToX(h.v[0][0],h.v[0][1],0),v.applyToY(h.v[0][0],h.v[0][1],0)),p[E]=f,E+=1}C&&(b+=g[r].l,b+=y),this.textSpans[A]?this.textSpans[A].elem=p:this.textSpans[A]={elem:p},A+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,r,i,o;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var c,u,d=null,h=null,p=null,f=this.globalData.renderer;for(e=0;e<t;e+=1)if(!l[e].n){if((a=s[e])&&(f.save(),f.ctxTransform(a.p),f.ctxOpacity(a.o)),this.fill){for(a&&a.fc?d!==a.fc&&(f.ctxFillStyle(a.fc),d=a.fc):d!==this.values.fill&&(d=this.values.fill,f.ctxFillStyle(this.values.fill)),r=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),f.ctxFill()}if(this.stroke){for(a&&a.sw?p!==a.sw&&(p=a.sw,f.ctxLineWidth(a.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,f.ctxLineWidth(this.values.sWidth)),a&&a.sc?h!==a.sc&&(h=a.sc,f.ctxStrokeStyle(a.sc)):h!==this.values.stroke&&(h=this.values.stroke,f.ctxStrokeStyle(this.values.stroke)),r=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),f.ctxStroke()}a&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,n,r=e.getContext("2d"),i=this.img.width,o=this.img.height,a=i/o,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===l||a<s&&"xMidYMid slice"!==l?t=(n=o)*s:n=(t=i)/s,r.drawImage(this.img,(i-t)/2,(o-n)/2,t,n,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,n,r){this.canvasContext.fillRect(e,t,n,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var n,r,i,o;if(this.reset(),e?(n=e,r=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),s=a[1]||"meet",l=a[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);i=n/r,(o=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===s||o<i&&"slice"===s?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,n=this.stack[this.cArrPos],r=n.transform,i=this.cTr.props;for(t=0;t<16;t+=1)i[t]=r[t];if(e){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(e||-1!==n.opacity&&this.currentOpacity!==n.opacity)&&(this.nativeContext.globalAlpha=n.opacity,this.currentOpacity=n.opacity),this.currentFillStyle=n.fillStyle,this.currentStrokeStyle=n.strokeStyle,this.currentLineWidth=n.lineWidth,this.currentLineCap=n.lineCap,this.currentLineJoin=n.lineJoin,this.currentMiterLimit=n.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n,r=this.stack[this.cArrPos];for(n=0;n<16;n+=1)r.transform[n]=t[n];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=r.opacity,i.fillStyle=r.fillStyle,i.strokeStyle=r.strokeStyle,i.lineWidth=r.lineWidth,i.lineCap=r.lineCap,i.lineJoin=r.lineJoin,i.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var n=t.props;this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,n,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,n,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,r,i,o,a,s=e.sh.v,l=e.transformers,c=s._length;if(!(c<=1)){for(n=0;n<c-1;n+=1)r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[n+1]),a=this.getTransformedPoint(l,s.v[n+1]),this.checkBounds(r,i,o,a,t);s.c&&(r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[0]),a=this.getTransformedPoint(l,s.v[0]),this.checkBounds(r,i,o,a,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,i){this.getBoundsOfCurve(e,t,n,r);var o=this.shapeBoundingBox;i.x=bmMin(o.left,i.x),i.xMax=bmMax(o.right,i.xMax),i.y=bmMin(o.top,i.y),i.yMax=bmMax(o.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,n,r){for(var i,o,a,s,l,c,u,d=[[e[0],r[0]],[e[1],r[1]]],h=0;h<2;++h)o=6*e[h]-12*t[h]+6*n[h],i=-3*e[h]+9*t[h]-9*n[h]+3*r[h],a=3*t[h]-3*e[h],o|=0,a|=0,0===(i|=0)&&0===o||(0===i?(s=-a/o)>0&&s<1&&d[h].push(this.calculateF(s,e,t,n,r,h)):(l=o*o-4*a*i)>=0&&((c=(-o+bmSqrt(l))/(2*i))>0&&c<1&&d[h].push(this.calculateF(c,e,t,n,r,h)),(u=(-o-bmSqrt(l))/(2*i))>0&&u<1&&d[h].push(this.calculateF(u,e,t,n,r,h))));this.shapeBoundingBox.left=bmMin.apply(null,d[0]),this.shapeBoundingBox.top=bmMin.apply(null,d[1]),this.shapeBoundingBox.right=bmMax.apply(null,d[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,d[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,i,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*r[o]+bmPow(e,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var i=e.keyframes[r].s;i>n&&(n=i)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,i,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var a=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=a}var l,c,u,d=e.l;i=d.length;var h,p=this.mHelper,f="",m=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(e.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=v?v.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(h=g.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(p,h),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(u);var C=u.getBBox();u.setAttribute("width",C.width+2),u.setAttribute("height",C.height+2),u.setAttribute("viewBox",C.x-1+" "+(C.y-1)+" "+(C.width+2)+" "+(C.height+2));var y=u.style,b="translate("+(C.x-1)+"px,"+(C.y-1)+"px)";y.transform=b,y.webkitTransform=b,d[r].yOffset=C.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(l.textContent=d[r].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var w=l.style,x="translate3d(0,"+-e.finalSize/1.2+"px,0)";w.transform=x,w.webkitTransform=x}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,i,o,a,s=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(r=c.length,n=0;n<r;n+=1)c[n].n?s+=1:(o=this.textSpans[n],a=this.textPaths[n],i=l[s],s+=1,i._mdf.m&&(this.isMasked?o.setAttribute("transform",i.m):(o.style.webkitTransform=i.m,o.style.transform=i.m)),o.style.opacity=i.o,i.sw&&i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&a.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(a.setAttribute("fill",i.fc),a.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=d,e.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,r,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,r=t.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,r.transformOrigin=a,r.mozTransformOrigin=a,r.webkitTransformOrigin=a,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/o,i[1]/o,i[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],s),c=Math.atan2(a[0],-a[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var d,h,p;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(d=this.comp.threeDElements[e]).type){if(u){var f=this.mat.toCSS();(p=d.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((h=d.perspectiveElem.style).perspective=this.pe.v+"px",h.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var i,o,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a],i=(this.layers[a].ddd?this.getThreeDContainerByPos(a):o.getBaseElement())||i),a+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,i=createTag("div");styleDiv(i);var o=createTag("div");if(styleDiv(o),"3d"===t){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=o.style).transform=s,r.webkitTransform=s}i.appendChild(o);var l={container:o,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==r&&(r="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==r&&(r="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var i,o=this.threeDElements[n].startPos;o<t;)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[n].container.insertBefore(e,i):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var o=createNS("defs");i.appendChild(o),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,r,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=i/o;this.globalData.compSize.w/this.globalData.compSize.h>a?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,n=0,r=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e<r;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var i=this.createComp(e[t],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var n,r=0;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(e,n):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var n=0,r=e.layers.length;n<r;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t};function _typeof$2(e){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}function seedRandom(e,t){var n,r=this,i=256,o="random",a=t.pow(i,6),s=t.pow(2,52),l=2*s,c=i-1;function u(e){var t,n=e.length,r=this,o=0,a=r.i=r.j=0,s=r.S=[];for(n||(e=[n++]);o<i;)s[o]=o++;for(o=0;o<i;o++)s[o]=s[a=c&a+e[o%n]+(t=s[o])],s[a]=t;r.g=function(e){for(var t,n=0,o=r.i,a=r.j,s=r.S;e--;)t=s[o=c&o+1],n=n*i+s[c&(s[o]=s[a=c&a+t])+(s[a]=t)];return r.i=o,r.j=a,n}}function d(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function h(e,t){var n,r=[],i=_typeof$2(e);if(t&&"object"==i)for(n in e)try{r.push(h(e[n],t-1))}catch(o){}return r.length?r:"string"==i?e:e+"\0"}function p(e,t){for(var n,r=e+"",i=0;i<r.length;)t[c&i]=c&(n^=19*t[c&i])+r.charCodeAt(i++);return f(t)}function f(e){return String.fromCharCode.apply(0,e)}t["seed"+o]=function(c,m,g){var v=[],C=p(h((m=!0===m?{entropy:!0}:m||{}).entropy?[c,f(e)]:null===c?function(){try{if(n)return f(n.randomBytes(i));var t=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(t),f(t)}catch(s){var o=r.navigator,a=o&&o.plugins;return[+new Date,r,a,r.screen,f(e)]}}():c,3),v),y=new u(v),b=function(){for(var e=y.g(6),t=a,n=0;e<s;)e=(e+n)*i,t*=i,n=y.g(1);for(;e>=l;)e/=2,t/=2,n>>>=1;return(e+n)/t};return b.int32=function(){return 0|y.g(4)},b.quick=function(){return y.g(4)/4294967296},b.double=b,p(f(y.S),e),(m.pass||g||function(e,n,r,i){return i&&(i.S&&d(i,y),e.state=function(){return d(y,{})}),r?(t[o]=e,n):e})(b,C,"global"in m?m.global:this==t,m.state)},p(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,i=[];for(n=0;n<r;n+=1)i[n]=-e[n];return i}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t)||"string"===n||"string"===r)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,a=t.length,s=[];i<o||i<a;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?s[i]=e[i]+t[i]:s[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return s}return 0}var add=sum;function sub(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t))return"string"===n&&(e=parseInt(e,10)),"string"===r&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,a=t.length,s=[];i<o||i<a;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?s[i]=e[i]-t[i]:s[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return s}return 0}function mul(e,t){var n,r,i,o=_typeof$1(e),a=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(a,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]*t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e*t[r];return n}return 0}function div(e,t){var n,r,i,o=_typeof$1(e),a=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(a,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]/t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e/t[r];return n}return 0}function mod(e,t){return"string"===typeof e&&(e=parseInt(e,10)),"string"===typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(t[n]-e[n],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,r=e[0],i=e[1],o=e[2],a=Math.max(r,i,o),s=Math.min(r,i,o),l=(a+s)/2;if(a===s)t=0,n=0;else{var c=a-s;switch(n=l>.5?c/(2-a-s):c/(a+s),a){case r:t=(i-o)/c+(i<o?6:0);break;case i:t=(o-r)/c+2;break;case o:t=(r-i)/c+4}t/=6}return[t,n,l,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,i=e[0],o=e[1],a=e[2];if(0===o)t=a,r=a,n=a;else{var s=a<.5?a*(1+o):a+o-a*o,l=2*a-s;t=hue2rgb(l,s,i+1/3),n=hue2rgb(l,s,i),r=hue2rgb(l,s,i-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,i){if(void 0!==r&&void 0!==i||(r=t,i=n,t=0,n=1),n<t){var o=n;n=t,t=o}if(e<=t)return r;if(e>=n)return i;var a,s=n===t?0:(e-t)/(n-t);if(!r.length)return r+(i-r)*s;var l=r.length,c=createTypedArray("float32",l);for(a=0;a<l;a+=1)c[a]=r[a]+(i[a]-r[a])*s;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var i=createTypedArray("float32",r),o=BMMath.random();for(n=0;n<r;n+=1)i[n]=e[n]+o*(t[n]-e[n]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,r){var i,o=e.length,a=shapePool.newElement();a.setPathData(!!r,o);var s,l,c=[0,0];for(i=0;i<o;i+=1)s=t&&t[i]?t[i]:c,l=n&&n[i]?n[i]:c,a.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],s[0]+e[i][0],s[1]+e[i][1],i,!0);return a}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var n,r,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i),a=Math.floor(5*time);for(n=0,r=0;n<a;){for(r=0;r<i;r+=1)o[r]+=-t+2*t*BMMath.random();n+=1}var s=5*time,l=s-Math.floor(s),c=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)c[r]=this.pv[r]+o[r]+(-t+2*t*BMMath.random())*l;return c}return this.pv+o[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(e,t,n,r,i){return applyEase(easeOutBez,e,t,n,r,i)}function easeIn(e,t,n,r,i){return applyEase(easeInBez,e,t,n,r,i)}function ease(e,t,n,r,i){return applyEase(easeInOutBez,e,t,n,r,i)}function applyEase(e,t,n,r,i,o){void 0===i?(i=n,o=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(i)){var s,l=i.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=(o[s]-i[s])*a+i[s];return c}return(o-i)*a+i}function nearestKey(e){var t,n,r,i=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){n=t+1,r=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var o={};return o.index=n,o.time=r/elem.comp.globalData.frameRate,o}function key(e){var t,n,r;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=i.length,n=0;n<r;n+=1)t[n]=i[n],t.value[n]=i[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"===typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"===typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={initExpressions:function(e){var t=0,n=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var n,r=createSizedArray(t.viewData.length),i=t.viewData.length;for(n=0;n<i;n+=1)r[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<i;){if(t.masksProperties[n].nm===e)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(r){if(!e.numKeys)return 0;var i="";i="s"in t.keyframes[r-1]?t.keyframes[r-1].s:"e"in t.keyframes[r-2]?t.keyframes[r-2].e:t.keyframes[r-2].s;var o="unidimensional"===n?new Number(i):Object.assign({},i);return o.time=t.keyframes[r-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===n?i[0]:i,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function r(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.pv*r,o=new Number(i);return o.value=i,n(o,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*r,o.value!==i&&((o=new Number(i)).value=i,n(o,t,"unidimensional")),o}}(i):function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",i),a=createTypedArray("float32",i);return o.value=a,n(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)a[t]=e.v[t]*r,o[t]=a[t];return o}}(i):r}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var n,r,i,o;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?o=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[n(),r(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function i(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function s(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(c){var u;function d(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=e,d.invertPoint=a,d.applyPoint=o,d.toWorld=n,d.toWorldVec=t,d.fromWorld=i,d.fromWorldVec=r,d.toComp=n,d.fromComp=s,d.sampleImage=l,d.sourceRectAtTime=c.sourceRectAtTime.bind(c),d._elem=c;var h=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),d.startTime=c.data.st,d.index=c.data.ind,d.source=c.data.refId,d.height=0===c.data.ty?c.data.h:100,d.width=0===c.data.ty?c.data.w:100,d.inPoint=c.data.ip/c.comp.globalData.frameRate,d.outPoint=c.data.op/c.comp.globalData.frameRate,d._name=c.data.nm,d.registerMaskInterface=function(e){d.mask=new MaskManagerInterface(e,c)},d.registerEffectsInterface=function(e){d.effect=e},d}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}},EffectsExpressionInterface=function(){function e(n,r,i,o){function a(e){for(var t=n.ef,r=0,i=t.length;r<i;){if(e===t[r].nm||e===t[r].mn||e===t[r].ix)return 5===t[r].ty?c[r]:c[r]();r+=1}throw new Error}var s,l=propertyGroupFactory(a,i),c=[],u=n.ef.length;for(s=0;s<u;s+=1)5===n.ef[s].ty?c.push(e(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,o)):c.push(t(r.effectElements[s],n.ef[s].ty,o,l));return"ADBE Color Control"===n.mn&&Object.defineProperty(a,"color",{get:function(){return c[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:l}}),a.enabled=0!==n.en,a.active=a.enabled,a}function t(e,t,n,r){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===t?n.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var r,i=[],o=t.data.ef,a=t.effectsManager.effectElements.length;for(r=0;r<a;r+=1)i.push(e(o[r],t.effectsManager.effectElements[r],n,t));var s=t.data.ef||[],l=function(e){for(r=0,a=s.length;r<a;){if(e===s[r].nm||e===s[r].mn||e===s[r].ix)return i[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),ShapePathInterface=function(e,t,n){var r=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var o=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),i},ShapeExpressionInterface=function(){function e(e,a,h){var p,f=[],m=e?e.length:0;for(p=0;p<m;p+=1)"gr"===e[p].ty?f.push(t(e[p],a[p],h)):"fl"===e[p].ty?f.push(n(e[p],a[p],h)):"st"===e[p].ty?f.push(i(e[p],a[p],h)):"tm"===e[p].ty?f.push(o(e[p],a[p],h)):"tr"===e[p].ty||("el"===e[p].ty?f.push(s(e[p],a[p],h)):"sr"===e[p].ty?f.push(l(e[p],a[p],h)):"sh"===e[p].ty?f.push(ShapePathInterface(e[p],a[p],h)):"rc"===e[p].ty?f.push(c(e[p],a[p],h)):"rd"===e[p].ty?f.push(u(e[p],a[p],h)):"rp"===e[p].ty?f.push(d(e[p],a[p],h)):"gf"===e[p].ty?f.push(r(e[p],a[p],h)):f.push((e[p],a[p],function(){return null})));return f}function t(t,n,r){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,r);var o=function(t,n,r){var i,o=function(e){for(var t=0,n=i.length;t<n;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"===typeof e?i[e-1]:null};o.propertyGroup=propertyGroupFactory(o,r),i=e(t.it,n.it,o.propertyGroup),o.numProperties=i.length;var s=a(t.it[t.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=s,o.propertyIndex=t.cix,o._name=t.nm,o}(t,n,i.propertyGroup),s=a(t.it[t.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=o,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function n(e,t,n){function r(e){return"Color"===e||"color"===e?r.color:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(e,t,n){function r(e){return"Start Point"===e||"start point"===e?r.startPoint:"End Point"===e||"end point"===e?r.endPoint:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function i(e,t,n){var r,i=propertyGroupFactory(c,n),o=propertyGroupFactory(l,i);function a(n){Object.defineProperty(l,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var s=e.d?e.d.length:0,l={};for(r=0;r<s;r+=1)a(r),t.d.dataProps[r].p.setGroupProperty(o);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function o(e,t,n){function r(t){return t===e.e.ix||"End"===t||"end"===t?r.end:t===e.s.ix?r.start:t===e.o.ix?r.offset:null}var i=propertyGroupFactory(r,n);return r.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),r.propertyIndex=e.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),r.mn=e.mn,r}function a(e,t,n){function r(t){return e.a.ix===t||"Anchor Point"===t?r.anchorPoint:e.o.ix===t||"Opacity"===t?r.opacity:e.p.ix===t||"Position"===t?r.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?r.rotation:e.s.ix===t||"Scale"===t?r.scale:e.sk&&e.sk.ix===t||"Skew"===t?r.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?r.skewAxis:null}var i=propertyGroupFactory(r,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),r.ty="tr",r.mn=e.mn,r.propertyGroup=n,r}function s(e,t,n){function r(t){return e.p.ix===t?r.position:e.s.ix===t?r.size:null}var i=propertyGroupFactory(r,n);r.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),r.mn=e.mn,r}function l(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.rotation:e.pt.ix===t?r.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?r.outerRadius:e.os.ix===t?r.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?r.innerRoundness:null:r.innerRadius}var i=propertyGroupFactory(r,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),r.mn=e.mn,r}function c(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?r.size:null}var i=propertyGroupFactory(r,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),r.mn=e.mn,r}function u(e,t,n){function r(t){return e.r.ix===t||"Round Corners 1"===t?r.radius:null}var i=propertyGroupFactory(r,n),o=t;return r.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),r.mn=e.mn,r}function d(e,t,n){function r(t){return e.c.ix===t||"Copies"===t?r.copies:e.o.ix===t||"Offset"===t?r.offset:null}var i=propertyGroupFactory(r,n),o=t;return r.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),r.mn=e.mn,r}return function(t,n,r){var i;function o(e){if("number"===typeof e)return 0===(e=void 0===e?1:e)?r:i[e-1];for(var t=0,n=i.length;t<n;){if(i[t]._name===e)return i[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return r})),i=e(t,n,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t;function n(e){return"ADBE Text Document"===e?n.sourceText:null}return Object.defineProperty(n,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return t&&n===t.value||((t=new String(n)).value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),n};function _typeof(e){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var FootageInterface=function(){var e=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function r(e){if(n[e])return t=e,"object"===_typeof(n=n[e])?r:n;var i=e.indexOf(t);if(-1!==i){var o=parseInt(e.substr(i+t.length),10);return"object"===_typeof(n=n[o])?r:n}return""}return function(){return t="",n=e.getFootageData(),r}}(e),t};return function(t){function n(e){return"Data"===e?n.dataInterface:null}return n._name="Data",n.dataInterface=e(t),n}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),r=0;if(t.length){var i;for(i=0;i<t.length;i+=1)r+=Math.pow(n[i]-t[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,r=-.001,i=this.getValueAtTime(e),o=this.getValueAtTime(e+r);if(i.length)for(t=createTypedArray("float32",i.length),n=0;n<i.length;n+=1)t[n]=(o[n]-i[n])/r;else t=(o-i)/r;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var r,i,o,a,s,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(n?i=u-(r=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),r=u-(i=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/r)%2!==0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),f=Math.floor((l-i)/r);if(this.pv.length){for(a=(s=new Array(d.length)).length,o=0;o<a;o+=1)s[o]=(h[o]-d[o])*f+p[o];return s}return(h-d)*f+p}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*((l-u)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var r,i,o,a,s,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(n?i=u+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),r=(i=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/r)%2===0)return this.getValueAtTime(((u-l)%r+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((r-(u-l)%r+u)/this.comp.globalData.frameRate,0),f=Math.floor((u-l)/r)+1;if(this.pv.length){for(a=(s=new Array(d.length)).length,o=0;o<a;o+=1)s[o]=p[o]-(h[o]-d[o])*f;return s}return p-(h-d)*f}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*(u-l)/.001;return s}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((r-((u-l)%r+u))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-e,a=t>1?(i+e-o)/(t-1):1,s=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(r=this.getValueAtTime(o+s*a),this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]+=r[l];else n+=r;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]/=t;else n/=t;return n}function r(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(e);t.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(e);t.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var d=this.px.getValueAtTime(e),h=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(d*this.px.mult,h*this.py.mult,-p*this.pz.mult)}else t.translate(d*this.px.mult,h*this.py.mult,0)}else{var f=this.p.getValueAtTime(e);t.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var a=o(e,t,n);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=i.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,i,o,s,l){var c=a(r,i,o,s,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=n,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var u=0;return 0!==o&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(r,i,c),c.k&&l.addDynamicProperty(c),c};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var n,r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var i=r._length,o=r[e],a=r.v,s=createSizedArray(i);for(n=0;n<i;n+=1)s[n]="i"===e||"o"===e?[o[n][0]-a[n][0],o[n][1]-a[n][1]]:[o[n][0],o[n][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,o=i.lengths,a=i.totalLength*e,s=0,l=o.length,c=0;s<l;){if(c+o[s].addedLength>a){var u=s,d=n.c&&s===l-1?0:s+1,h=(a-c)/o[s].addedLength;r=bez.getPointInSegment(n.v[u],n.v[d],n.o[u],n.i[d],h,o[s]);break}c+=o[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),o=i[0]-r[0],a=i[1]-r[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===n?[o/s,a/s]:[-a/s,o/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],s),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,r,i){var o=u(e,t,n,r,i);return o.propertyIndex=t.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,o):4===n&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var r={};return this.copyData(r,e),r.t=n.toString(),r.__complete=!1,r}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var n,r,i=createNS("feMerge");for(i.setAttribute("result",e),r=0;r<t.length;r+=1)(n=createNS("feMergeNode")).setAttribute("in",t[r]),i.appendChild(n),i.appendChild(n);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,n,r,i){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",r+"_tint_1"),e.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(r,[i,r+"_tint_1",r+"_tint_2"]);e.appendChild(a)}function SVGFillFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(i);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,e.appendChild(o)}function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var i=this.filterManager.effectElements,o=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(e,t,n,r,i){var o=t.container.globalData.renderConfig.filterSize,a=t.data.fs||o;e.setAttribute("x",a.x||o.x),e.setAttribute("y",a.y||o.y),e.setAttribute("width",a.width||o.width),e.setAttribute("height",a.height||o.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",r+"_drop_shadow_3"),u.setAttribute("in2",r+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(u);var d=this.createMergeNode(r,[r+"_drop_shadow_4",i]);e.appendChild(d)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<r;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(t),this.elem.globalData.defs.appendChild(o);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");i[0];)s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=o,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var n,r,i=this.paths.length;for(t=0;t<i;t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],r=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=r.getTotalLength();o="0 0 0 "+l*a+" ";var c,u=l*(s-a),d=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,h=Math.floor(u/d);for(c=0;c<h;c+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",o)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+t[0],o=r[1]+" "+n[1]+" "+t[1],a=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,i){for(var o,a,s=0,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:256}),d=0,h=i-r,p=t-e;s<=256;)a=(o=s/256)<=l?p<0?i:r:o>=c?p<0?r:i:r+h*Math.pow((o-e)/p,1/n),u[d]=a,d+=1,s+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),o=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",r),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r,i=n.children,o=0,a=i.length;o<a&&i[o]!==e.layerElement;)o+=1;o<=a-2&&(r=i[o+1]);var s=createNS("use");s.setAttribute("href","#"+t),r?n.insertBefore(s,r):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(r);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(t,n),o.appendChild(t.layerElement),i.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+n),r.appendChild(a),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:t,i=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+i);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,n=t[0].p.v,r=t[1].p.v,i=1===t[2].p.v,o=t[3].p.v,a=i?o:t[4].p.v,s=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-n[0],-n[1],n[2]),this.matrix.scale(.01*a,.01*o,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-s*degToRads,(l+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())},65747:e=>{"use strict";var t,n={DEBUG:!1,LIB_VERSION:"2.53.0"};if("undefined"===typeof window){var r={hostname:""};t={navigator:{userAgent:""},document:{location:r,referrer:""},screen:{width:0,height:0},location:r}}else t=window;var i=Array.prototype,o=Function.prototype,a=Object.prototype,s=i.slice,l=a.toString,c=a.hasOwnProperty,u=t.console,d=t.navigator,h=t.document,p=t.opera,f=t.screen,m=d.userAgent,g=o.bind,v=i.forEach,C=i.indexOf,y=i.map,b=Array.isArray,w={},x={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},A={log:function(){if(n.DEBUG&&!x.isUndefined(u)&&u)try{u.log.apply(u,arguments)}catch(e){x.each(arguments,(function(e){u.log(e)}))}},warn:function(){if(n.DEBUG&&!x.isUndefined(u)&&u){var e=["Mixpanel warning:"].concat(x.toArray(arguments));try{u.warn.apply(u,e)}catch(t){x.each(e,(function(e){u.warn(e)}))}}},error:function(){if(n.DEBUG&&!x.isUndefined(u)&&u){var e=["Mixpanel error:"].concat(x.toArray(arguments));try{u.error.apply(u,e)}catch(t){x.each(e,(function(e){u.error(e)}))}}},critical:function(){if(!x.isUndefined(u)&&u){var e=["Mixpanel error:"].concat(x.toArray(arguments));try{u.error.apply(u,e)}catch(t){x.each(e,(function(e){u.error(e)}))}}}},E=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(A,arguments)}},_=function(e){return{log:E(A.log,e),error:E(A.error,e),critical:E(A.critical,e)}};x.bind=function(e,t){var n,r;if(g&&e.bind===g)return g.apply(e,s.call(arguments,1));if(!x.isFunction(e))throw new TypeError;return n=s.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(s.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var a=e.apply(o,n.concat(s.call(arguments)));return Object(a)===a?a:o},r},x.each=function(e,t,n){if(null!==e&&void 0!==e)if(v&&e.forEach===v)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===w)return}else for(var o in e)if(c.call(e,o)&&t.call(n,e[o],o,e)===w)return},x.extend=function(e){return x.each(s.call(arguments,1),(function(t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])})),e},x.isArray=b||function(e){return"[object Array]"===l.call(e)},x.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(t){return!1}},x.isArguments=function(e){return!(!e||!c.call(e,"callee"))},x.toArray=function(e){return e?e.toArray?e.toArray():x.isArray(e)||x.isArguments(e)?s.call(e):x.values(e):[]},x.map=function(e,t,n){if(y&&e.map===y)return e.map(t,n);var r=[];return x.each(e,(function(e){r.push(t.call(n,e))})),r},x.keys=function(e){var t=[];return null===e||x.each(e,(function(e,n){t[t.length]=n})),t},x.values=function(e){var t=[];return null===e||x.each(e,(function(e){t[t.length]=e})),t},x.include=function(e,t){var n=!1;return null===e?n:C&&e.indexOf===C?-1!=e.indexOf(t):(x.each(e,(function(e){if(n||(n=e===t))return w})),n)},x.includes=function(e,t){return-1!==e.indexOf(t)},x.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},x.isObject=function(e){return e===Object(e)&&!x.isArray(e)},x.isEmptyObject=function(e){if(x.isObject(e)){for(var t in e)if(c.call(e,t))return!1;return!0}return!1},x.isUndefined=function(e){return void 0===e},x.isString=function(e){return"[object String]"==l.call(e)},x.isDate=function(e){return"[object Date]"==l.call(e)},x.isNumber=function(e){return"[object Number]"==l.call(e)},x.isElement=function(e){return!(!e||1!==e.nodeType)},x.encodeDates=function(e){return x.each(e,(function(t,n){x.isDate(t)?e[n]=x.formatDate(t):x.isObject(t)&&(e[n]=x.encodeDates(t))})),e},x.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},x.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},x.strip_empty_properties=function(e){var t={};return x.each(e,(function(e,n){x.isString(e)&&e.length>0&&(t[n]=e)})),t},x.truncate=function(e,t){var n;return"string"===typeof e?n=e.slice(0,t):x.isArray(e)?(n=[],x.each(e,(function(e){n.push(x.truncate(e,t))}))):x.isObject(e)?(n={},x.each(e,(function(e,r){n[r]=x.truncate(e,t)}))):n=e,n},x.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,(function(e){var t=n[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'},n=function(e,r){var i="",o=0,a="",s="",u=0,d=i,h=[],p=r[e];switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(e)),typeof p){case"string":return t(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(i+="    ",h=[],"[object Array]"===l.apply(p)){for(u=p.length,o=0;o<u;o+=1)h[o]=n(o,p)||"null";return s=0===h.length?"[]":i?"[\n"+i+h.join(",\n"+i)+"\n"+d+"]":"["+h.join(",")+"]",i=d,s}for(a in p)c.call(p,a)&&(s=n(a,p))&&h.push(t(a)+(i?": ":":")+s);return s=0===h.length?"{}":i?"{"+h.join(",")+d+"}":"{"+h.join(",")+"}",i=d,s}};return n("",{"":e})},x.JSONDecode=function(){var e,t,n,r,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(t){var r=new SyntaxError(t);throw r.at=e,r.text=n,r},a=function(r){return r&&r!==t&&o("Expected '"+r+"' instead of '"+t+"'"),t=n.charAt(e),e+=1,t},s=function(){var e,n="";for("-"===t&&(n="-",a("-"));t>="0"&&t<="9";)n+=t,a();if("."===t)for(n+=".";a()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,a(),"-"!==t&&"+"!==t||(n+=t,a());t>="0"&&t<="9";)n+=t,a();if(e=+n,isFinite(e))return e;o("Bad number")},l=function(){var e,n,r,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t)if(a(),"u"===t){for(r=0,n=0;n<4&&(e=parseInt(a(),16),isFinite(e));n+=1)r=16*r+e;s+=String.fromCharCode(r)}else{if("string"!==typeof i[t])break;s+=i[t]}else s+=t}o("Bad string")},c=function(){for(;t&&t<=" ";)a()};return r=function(){switch(c(),t){case"{":return function(){var e,n={};if("{"===t){if(a("{"),c(),"}"===t)return a("}"),n;for(;t;){if(e=l(),c(),a(":"),Object.hasOwnProperty.call(n,e)&&o('Duplicate key "'+e+'"'),n[e]=r(),c(),"}"===t)return a("}"),n;a(","),c()}}o("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),c(),"]"===t)return a("]"),e;for(;t;){if(e.push(r()),c(),"]"===t)return a("]"),e;a(","),c()}}o("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}o('Unexpected "'+t+'"')}()}},function(i){var a;return n=i,e=0,t=" ",a=r(),c(),t&&o("Syntax error"),a}}(),x.base64Encode=function(e){var t,n,r,i,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=x.utf8Encode(e);do{t=(o=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=o>>12&63,r=o>>6&63,i=63&o,u[l++]=a.charAt(t)+a.charAt(n)+a.charAt(r)+a.charAt(i)}while(s<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},x.utf8Encode=function(e){var t,n,r,i,o="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<r;i++){var a=e.charCodeAt(i),s=null;a<128?n++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==s&&(n>t&&(o+=e.substring(t,n)),o+=s,t=n=i+1)}return n>t&&(o+=e.substring(t,e.length)),o},x.UUID=function(){var e=function(){var e,n=1*new Date;if(t.performance&&t.performance.now)e=t.performance.now();else for(e=0;n==1*new Date;)e++;return n.toString(16)+Math.floor(e).toString(16)};return function(){var t=(f.height*f.width).toString(16);return e()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var e,t,n=m,r=[],i=0;function o(e,t){var n,i=0;for(n=0;n<t.length;n++)i|=r[n]<<8*n;return e^i}for(e=0;e<n.length;e++)t=n.charCodeAt(e),r.unshift(255&t),r.length>=4&&(i=o(i,r),r=[]);return r.length>0&&(i=o(i,r)),i.toString(16)}()+"-"+t+"-"+e()}}();var T=["ahrefsbot","ahrefssiteaudit","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];x.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<T.length;t++)if(-1!==e.indexOf(T[t]))return!0;return!1},x.HTTPBuildQuery=function(e,t){var n,r,i=[];return x.isUndefined(t)&&(t="&"),x.each(e,(function(e,t){n=encodeURIComponent(e.toString()),r=encodeURIComponent(t),i[i.length]=r+"="+n})),i.join(t)},x.getQueryParam=function(e,t){t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===n||n&&"string"!==typeof n[1]&&n[1].length)return"";var r=n[1];try{r=decodeURIComponent(r)}catch(i){A.error("Skipping decoding for malformed query param: "+r)}return r.replace(/\+/g," ")},x.cookie={get:function(e){for(var t=e+"=",n=h.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=x.JSONDecode(x.cookie.get(e))||{}}catch(n){}return t},set_seconds:function(e,t,n,r,i,o,a){var s="",l="",c="";if(a)s="; domain="+a;else if(r){var u=M(h.location.hostname);s=u?"; domain=."+u:""}if(n){var d=new Date;d.setTime(d.getTime()+1e3*n),l="; expires="+d.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),h.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c},set:function(e,t,n,r,i,o,a){var s="",l="",c="";if(a)s="; domain="+a;else if(r){var u=M(h.location.hostname);s=u?"; domain=."+u:""}if(n){var d=new Date;d.setTime(d.getTime()+24*n*60*60*1e3),l="; expires="+d.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var p=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c;return h.cookie=p,p},remove:function(e,t,n){x.cookie.set(e,"",-1,t,!1,!1,n)}};var S=null,k=function(e,t){if(null!==S&&!t)return S;var n=!0;try{e=e||window.localStorage;var r="__mplss_"+F(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(n=!1),e.removeItem(r)}catch(i){n=!1}return S=n,n};x.localStorage={is_supported:function(e){var t=k(null,e);return t||A.error("localStorage unsupported; falling back to cookie store"),t},error:function(e){A.error("localStorage error: "+e)},get:function(e){try{return window.localStorage.getItem(e)}catch(t){x.localStorage.error(t)}return null},parse:function(e){try{return x.JSONDecode(x.localStorage.get(e))||{}}catch(t){}return null},set:function(e,t){try{window.localStorage.setItem(e,t)}catch(n){x.localStorage.error(n)}},remove:function(e){try{window.localStorage.removeItem(e)}catch(t){x.localStorage.error(t)}}},x.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,i,o){if(t)if(t.addEventListener&&!i)t.addEventListener(n,r,!!o);else{var a="on"+n,s=t[a];t[a]=function(t,n,r){var i=function(i){if(i=i||e(window.event)){var o,a,s=!0;return x.isFunction(r)&&(o=r(i)),a=n.call(t,i),!1!==o&&!1!==a||(s=!1),s}};return i}(t,r,s)}else A.error("No valid element provided to register_event")}}();var P=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');x.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function n(e,n){var r=" "+n+" ";return(" "+e.className+" ").replace(t," ").indexOf(r)>=0}function r(t){if(!h.getElementsByTagName)return[];var r,i,o,a,s,l,c,u,d,p,f=t.split(" "),m=[h];for(l=0;l<f.length;l++)if((r=f[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(i=r.split("#"))[0];var g=i[1],v=h.getElementById(g);if(!v||o&&v.nodeName.toLowerCase()!=o)return[];m=[v]}else if(r.indexOf(".")>-1){o=(i=r.split("."))[0];var C=i[1];for(o||(o="*"),a=[],s=0,c=0;c<m.length;c++)for(d="*"==o?e(m[c]):m[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];for(m=[],p=0,c=0;c<a.length;c++)a[c].className&&x.isString(a[c].className)&&n(a[c],C)&&(m[p++]=a[c])}else{var y=r.match(P);if(y){o=y[1];var b,w=y[2],A=y[3],E=y[4];for(o||(o="*"),a=[],s=0,c=0;c<m.length;c++)for(d="*"==o?e(m[c]):m[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];switch(m=[],p=0,A){case"=":b=function(e){return e.getAttribute(w)==E};break;case"~":b=function(e){return e.getAttribute(w).match(new RegExp("\\b"+E+"\\b"))};break;case"|":b=function(e){return e.getAttribute(w).match(new RegExp("^"+E+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(w).indexOf(E)};break;case"$":b=function(e){return e.getAttribute(w).lastIndexOf(E)==e.getAttribute(w).length-E.length};break;case"*":b=function(e){return e.getAttribute(w).indexOf(E)>-1};break;default:b=function(e){return e.getAttribute(w)}}for(m=[],p=0,c=0;c<a.length;c++)b(a[c])&&(m[p++]=a[c])}else{for(o=r,a=[],s=0,c=0;c<m.length;c++)for(d=m[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];m=a}}return m}return function(e){return x.isElement(e)?[e]:x.isObject(e)&&!x.isUndefined(e.length)?e:r.call(this,e)}}();var D=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],N=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","ttclid","twclid","wbraid"];x.info={campaignParams:function(e){var t="",n={};return x.each(D,(function(r){(t=x.getQueryParam(h.URL,r)).length?n[r]=t:void 0!==e&&(n[r]=e)})),n},clickParams:function(){var e="",t={};return x.each(N,(function(n){(e=x.getQueryParam(h.URL,n)).length&&(t[n]=e)})),t},marketingParams:function(){return x.extend(x.info.campaignParams(),x.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=x.info.searchEngine(e),n="yahoo"!=t?"q":"p",r={};if(null!==t){r.$search_engine=t;var i=x.getQueryParam(e,n);i.length&&(r.mp_keyword=i)}return r},browser:function(e,t,n){return t=t||"",n||x.includes(e," OPR/")?x.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":x.includes(e,"IEMobile")||x.includes(e,"WPDesktop")?"Internet Explorer Mobile":x.includes(e,"SamsungBrowser/")?"Samsung Internet":x.includes(e,"Edge")||x.includes(e,"Edg/")?"Microsoft Edge":x.includes(e,"FBIOS")?"Facebook Mobile":x.includes(e,"Chrome")?"Chrome":x.includes(e,"CriOS")?"Chrome iOS":x.includes(e,"UCWEB")||x.includes(e,"UCBrowser")?"UC Browser":x.includes(e,"FxiOS")?"Firefox iOS":x.includes(t,"Apple")?x.includes(e,"Mobile")?"Mobile Safari":"Safari":x.includes(e,"Android")?"Android Mobile":x.includes(e,"Konqueror")?"Konqueror":x.includes(e,"Firefox")?"Firefox":x.includes(e,"MSIE")||x.includes(e,"Trident/")?"Internet Explorer":x.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[x.info.browser(e,t,n)];if(void 0===r)return null;var i=e.match(r);return i?parseFloat(i[i.length-2]):null},os:function(){var e=m;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return t.location.href},properties:function(e){return"object"!==typeof e&&(e={}),x.extend(x.strip_empty_properties({$os:x.info.os(),$browser:x.info.browser(m,d.vendor,p),$referrer:h.referrer,$referring_domain:x.info.referringDomain(h.referrer),$device:x.info.device(m)}),{$current_url:x.info.currentUrl(),$browser_version:x.info.browserVersion(m,d.vendor,p),$screen_height:f.height,$screen_width:f.width,mp_lib:"web",$lib_version:n.LIB_VERSION,$insert_id:F(),time:x.timestamp()/1e3},x.strip_empty_properties(e))},people_properties:function(){return x.extend(x.strip_empty_properties({$os:x.info.os(),$browser:x.info.browser(m,d.vendor,p)}),{$browser_version:x.info.browserVersion(m,d.vendor,p)})},mpPageViewProperties:function(){return x.strip_empty_properties({current_page_title:h.title,current_domain:t.location.hostname,current_url_path:t.location.pathname,current_url_protocol:t.location.protocol,current_url_search:t.location.search})}};var F=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},I=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,R=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,M=function(e){var t=R,n=e.split("."),r=n[n.length-1];(r.length>4||"com"===r||"org"===r)&&(t=I);var i=e.match(t);return i?i[0]:""},O=null,j=null;"undefined"!==typeof JSON&&(O=JSON.stringify,j=JSON.parse),O=O||x.JSONEncode,j=j||x.JSONDecode,x.toArray=x.toArray,x.isObject=x.isObject,x.JSONEncode=x.JSONEncode,x.JSONDecode=x.JSONDecode,x.isBlockedUA=x.isBlockedUA,x.isEmptyObject=x.isEmptyObject,x.info=x.info,x.info.device=x.info.device,x.info.browser=x.info.browser,x.info.browserVersion=x.info.browserVersion,x.info.properties=x.info.properties;var L=function(){};L.prototype.create_properties=function(){},L.prototype.event_handler=function(){},L.prototype.after_track_handler=function(){},L.prototype.init=function(e){return this.mp=e,this},L.prototype.track=function(e,t,n,r){var i=this,o=x.dom_query(e);if(0!==o.length)return x.each(o,(function(e){x.register_event(e,this.override_event,(function(e){var o={},a=i.create_properties(n,this),s=i.mp.get_config("track_links_timeout");i.event_handler(e,this,o),window.setTimeout(i.track_callback(r,a,o,!0),s),i.mp.track(t,a,i.track_callback(r,a,o))}))}),this),!0;A.error("The DOM query ("+e+") returned 0 elements")},L.prototype.track_callback=function(e,t,n,r){r=r||!1;var i=this;return function(){n.callback_fired||(n.callback_fired=!0,e&&!1===e(r,t)||i.after_track_handler(t,n,r))}},L.prototype.create_properties=function(e,t){return"function"===typeof e?e(t):x.extend({},e)};var B=function(){this.override_event="click"};x.inherit(B,L),B.prototype.create_properties=function(e,t){var n=B.superclass.create_properties.apply(this,arguments);return t.href&&(n.url=t.href),n},B.prototype.event_handler=function(e,t,n){n.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,n.href=t.href,n.new_tab||e.preventDefault()},B.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout((function(){window.location=t.href}),0)};var U=function(){this.override_event="submit"};x.inherit(U,L),U.prototype.event_handler=function(e,t,n){n.element=t,e.preventDefault()},U.prototype.after_track_handler=function(e,t){setTimeout((function(){t.element.submit()}),0)};var V=_("lock"),H=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3};H.prototype.withLock=function(e,t,n){n||"function"===typeof t||(n=t,t=null);var r=n||(new Date).getTime()+"|"+Math.random(),i=(new Date).getTime(),o=this.storageKey,a=this.pollIntervalMS,s=this.timeoutMS,l=this.storage,c=o+":X",u=o+":Y",d=o+":Z",h=function(e){t&&t(e)},p=function(e){if((new Date).getTime()-i>s)return V.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+r+"]"),l.removeItem(d),l.removeItem(u),void g();setTimeout((function(){try{e()}catch(t){h(t)}}),a*(Math.random()+.1))},f=function(e,t){e()?t():p((function(){f(e,t)}))},m=function(){var e=l.getItem(u);if(e&&e!==r)return!1;if(l.setItem(u,r),l.getItem(u)===r)return!0;if(!k(l,!0))throw new Error("localStorage support dropped while acquiring lock");return!1},g=function(){l.setItem(c,r),f(m,(function(){l.getItem(c)!==r?p((function(){l.getItem(u)===r?f((function(){return!l.getItem(d)}),v):g()})):v()}))},v=function(){l.setItem(d,"1");try{e()}finally{l.removeItem(d),l.getItem(u)===r&&l.removeItem(u),l.getItem(c)===r&&l.removeItem(c)}};try{if(!k(l,!0))throw new Error("localStorage support check failed");g()}catch(C){h(C)}};var z=_("batch"),Z=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.reportError=t.errorReporter||x.bind(z.error,z),this.lock=new H(e,{storage:this.storage}),this.pid=t.pid||null,this.memQueue=[]};Z.prototype.enqueue=function(e,t,n){var r={id:F(),flushAfter:(new Date).getTime()+2*t,payload:e};this.lock.withLock(x.bind((function(){var t;try{var i=this.readFromStorage();i.push(r),(t=this.saveToStorage(i))&&this.memQueue.push(r)}catch(o){this.reportError("Error enqueueing item",e),t=!1}n&&n(t)}),this),x.bind((function(e){this.reportError("Error acquiring storage lock",e),n&&n(!1)}),this),this.pid)},Z.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);if(t.length<e){var n=this.readFromStorage();if(n.length){var r={};x.each(t,(function(e){r[e.id]=!0}));for(var i=0;i<n.length;i++){var o=n[i];if((new Date).getTime()>o.flushAfter&&!r[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}}return t};var W=function(e,t){var n=[];return x.each(e,(function(e){e.id&&!t[e.id]&&n.push(e)})),n};Z.prototype.removeItemsByID=function(e,t){var n={};x.each(e,(function(e){n[e]=!0})),this.memQueue=W(this.memQueue,n);var r=x.bind((function(){var t;try{var r=this.readFromStorage();if(r=W(r,n),t=this.saveToStorage(r)){r=this.readFromStorage();for(var i=0;i<r.length;i++){var o=r[i];if(o.id&&n[o.id])return this.reportError("Item not removed from storage"),!1}}}catch(a){this.reportError("Error removing items",e),t=!1}return t}),this);this.lock.withLock((function(){var e=r();t&&t(e)}),x.bind((function(e){var n=!1;if(this.reportError("Error acquiring storage lock",e),!k(this.storage,!0)&&!(n=r()))try{this.storage.removeItem(this.storageKey)}catch(e){this.reportError("Error clearing queue",e)}t&&t(n)}),this),this.pid)};var q=function(e,t){var n=[];return x.each(e,(function(e){var r=e.id;if(r in t){var i=t[r];null!==i&&(e.payload=i,n.push(e))}else n.push(e)})),n};Z.prototype.updatePayloads=function(e,t){this.memQueue=q(this.memQueue,e),this.lock.withLock(x.bind((function(){var n;try{var r=this.readFromStorage();r=q(r,e),n=this.saveToStorage(r)}catch(i){this.reportError("Error updating items",e),n=!1}t&&t(n)}),this),x.bind((function(e){this.reportError("Error acquiring storage lock",e),t&&t(!1)}),this),this.pid)},Z.prototype.readFromStorage=function(){var e;try{(e=this.storage.getItem(this.storageKey))&&(e=j(e),x.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null))}catch(t){this.reportError("Error retrieving queue",t),e=null}return e||[]},Z.prototype.saveToStorage=function(e){try{return this.storage.setItem(this.storageKey,O(e)),!0}catch(t){return this.reportError("Error saving queue",t),!1}},Z.prototype.clear=function(){this.memQueue=[],this.storage.removeItem(this.storageKey)};var G=_("batch"),Y=function(e,t){this.errorReporter=t.errorReporter,this.queue=new Z(e,{errorReporter:x.bind(this.reportError,this),storage:t.storage}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={}};Y.prototype.enqueue=function(e,t){this.queue.enqueue(e,this.flushInterval,t)},Y.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Y.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Y.prototype.clear=function(){this.queue.clear()},Y.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Y.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Y.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(x.bind(this.flush,this),this.flushInterval))},Y.prototype.flush=function(e){try{if(this.requestInProgress)return void G.log("Flush: Request already in progress");e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),i=this.batchSize,o=this.queue.fillBatch(i),a=[],s={};if(x.each(o,(function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=x.extend({},t.properties,{mp_sent_by_lib_version:n.LIB_VERSION}));var r=!0,i=e.id;i?(this.itemIdsSentSuccessfully[i]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[i]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&a.push(t)}s[e.id]=t}),this),a.length<1)return void this.resetFlush();this.requestInProgress=!0;var l=x.bind((function(n){this.requestInProgress=!1;try{var a=!1;if(e.unloading)this.queue.updatePayloads(s);else if(x.isObject(n)&&"timeout"===n.error&&(new Date).getTime()-r>=t)this.reportError("Network timeout; retrying"),this.flush();else if(x.isObject(n)&&n.xhr_req&&(n.xhr_req.status>=500||429===n.xhr_req.status||"timeout"===n.error)){var l=2*this.flushInterval,c=n.xhr_req.responseHeaders;if(c){var u=c["Retry-After"];u&&(l=1e3*parseInt(u,10)||l)}l=Math.min(6e5,l),this.reportError("Error; retry in "+l+" ms"),this.scheduleFlush(l)}else if(x.isObject(n)&&n.xhr_req&&413===n.xhr_req.status)if(o.length>1){var d=Math.max(1,Math.floor(i/2));this.batchSize=Math.min(this.batchSize,d,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),a=!0;else a=!0;a&&(this.queue.removeItemsByID(x.map(o,(function(e){return e.id})),x.bind((function(e){e?(this.consecutiveRemovalFailures=0,this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())}),this)),x.each(o,x.bind((function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})}),this)))}catch(h){this.reportError("Error handling API response",h),this.resetFlush()}}),this),c={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};e.unloading&&(c.transport="sendBeacon"),G.log("MIXPANEL REQUEST:",a),this.sendRequest(a,c,l)}catch(u){this.reportError("Error flushing request queue",u),this.resetFlush()}},Y.prototype.reportError=function(e,t){if(G.error.apply(G.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){G.error(t)}};var K="__mp_opt_in_out_";function Q(e,t){se(!0,e,t)}function X(e,t){se(!1,e,t)}function J(e,t){return"1"===ae(e,t)}function $(e,n){if(function(e){if(e&&e.ignoreDnt)return!1;var n=e&&e.window||t,r=n.navigator||{},i=!1;return x.each([r.doNotTrack,r.msDoNotTrack,n.doNotTrack],(function(e){x.includes([!0,1,"1","yes"],e)&&(i=!0)})),i}(n))return A.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===ae(e,n);return r&&A.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function ee(e){return le(e,(function(e){return this.get_config(e)}))}function te(e){return le(e,(function(e){return this._get_config(e)}))}function ne(e){return le(e,(function(e){return this._get_config(e)}))}function re(e,t){ie(t=t||{}).remove(oe(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function ie(e){return"localStorage"===(e=e||{}).persistenceType?x.localStorage:x.cookie}function oe(e,t){return((t=t||{}).persistencePrefix||K)+e}function ae(e,t){return ie(t).get(oe(e,t))}function se(e,t,n){x.isString(t)&&t.length?(ie(n=n||{}).set(oe(t,n),e?1:0,x.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})):A.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function le(e,t){return function(){var n=!1;try{var r=t.call(this,"token"),i=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),a=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");r&&(n=$(r,{ignoreDnt:i,persistenceType:o,persistencePrefix:a,window:s}))}catch(c){A.error("Unexpected error when checking tracking opt-out status: "+c)}if(!n)return e.apply(this,arguments);var l=arguments[arguments.length-1];"function"===typeof l&&l(0)}}var ce="$set",ue="$set_once",de="$unset",he="$add",pe="$append",fe="$union",me="$remove",ge={set_action:function(e,t){var n={},r={};return x.isObject(e)?x.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[ce]=r,n},unset_action:function(e){var t={},n=[];return x.isArray(e)||(e=[e]),x.each(e,(function(e){this._is_reserved_property(e)||n.push(e)}),this),t[de]=n,t},set_once_action:function(e,t){var n={},r={};return x.isObject(e)?x.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[ue]=r,n},union_action:function(e,t){var n={},r={};return x.isObject(e)?x.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=x.isArray(e)?e:[e])}),this):r[e]=x.isArray(t)?t:[t],n[fe]=r,n},append_action:function(e,t){var n={},r={};return x.isObject(e)?x.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[pe]=r,n},remove_action:function(e,t){var n={},r={};return x.isObject(e)?x.each(e,(function(e,t){this._is_reserved_property(t)||(r[t]=e)}),this):r[e]=t,n[me]=r,n},delete_action:function(){var e={$delete:""};return e}},ve=function(){};x.extend(ve.prototype,ge),ve.prototype._init=function(e,t,n){this._mixpanel=e,this._group_key=t,this._group_id=n},ve.prototype.set=ne((function(e,t,n){var r=this.set_action(e,t);return x.isObject(e)&&(n=t),this._send_request(r,n)})),ve.prototype.set_once=ne((function(e,t,n){var r=this.set_once_action(e,t);return x.isObject(e)&&(n=t),this._send_request(r,n)})),ve.prototype.unset=ne((function(e,t){var n=this.unset_action(e);return this._send_request(n,t)})),ve.prototype.union=ne((function(e,t,n){x.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)})),ve.prototype.delete=ne((function(e){var t=this.delete_action();return this._send_request(t,e)})),ve.prototype.remove=ne((function(e,t,n){var r=this.remove_action(e,t);return this._send_request(r,n)})),ve.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var n=x.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},ve.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},ve.prototype._get_config=function(e){return this._mixpanel.get_config(e)},ve.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},ve.prototype.remove=ve.prototype.remove,ve.prototype.set=ve.prototype.set,ve.prototype.set_once=ve.prototype.set_once,ve.prototype.union=ve.prototype.union,ve.prototype.unset=ve.prototype.unset,ve.prototype.toString=ve.prototype.toString;var Ce=function(){};x.extend(Ce.prototype,ge),Ce.prototype._init=function(e){this._mixpanel=e},Ce.prototype.set=te((function(e,t,n){var r=this.set_action(e,t);return x.isObject(e)&&(n=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),r[ce]=x.extend({},x.info.people_properties(),r[ce]),this._send_request(r,n)})),Ce.prototype.set_once=te((function(e,t,n){var r=this.set_once_action(e,t);return x.isObject(e)&&(n=t),this._send_request(r,n)})),Ce.prototype.unset=te((function(e,t){var n=this.unset_action(e);return this._send_request(n,t)})),Ce.prototype.increment=te((function(e,t,n){var r={},i={};return x.isObject(e)?(x.each(e,(function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void A.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}}),this),n=t):(x.isUndefined(t)&&(t=1),i[e]=t),r[he]=i,this._send_request(r,n)})),Ce.prototype.append=te((function(e,t,n){x.isObject(e)&&(n=t);var r=this.append_action(e,t);return this._send_request(r,n)})),Ce.prototype.remove=te((function(e,t,n){x.isObject(e)&&(n=t);var r=this.remove_action(e,t);return this._send_request(r,n)})),Ce.prototype.union=te((function(e,t,n){x.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)})),Ce.prototype.track_charge=te((function(e,t,n){if(x.isNumber(e)||(e=parseFloat(e),!isNaN(e)))return this.append("$transactions",x.extend({$amount:e},t),n);A.error("Invalid value passed to mixpanel.people.track_charge - must be a number")})),Ce.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},Ce.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}A.error("mixpanel.people.delete_user() requires you to call identify() first")},Ce.prototype.toString=function(){return this._mixpanel.toString()+".people"},Ce.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),r=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(e.$device_id=n),r&&(e.$user_id=r),i&&(e.$had_persisted_distinct_id=i);var o=x.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),x.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),x.truncate(o,255))},Ce.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Ce.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Ce.prototype._enqueue=function(e){ce in e?this._mixpanel.persistence._add_to_people_queue(ce,e):ue in e?this._mixpanel.persistence._add_to_people_queue(ue,e):de in e?this._mixpanel.persistence._add_to_people_queue(de,e):he in e?this._mixpanel.persistence._add_to_people_queue(he,e):pe in e?this._mixpanel.persistence._add_to_people_queue(pe,e):me in e?this._mixpanel.persistence._add_to_people_queue(me,e):fe in e?this._mixpanel.persistence._add_to_people_queue(fe,e):A.error("Invalid call to _enqueue():",e)},Ce.prototype._flush_one_queue=function(e,t,n,r){var i=this,o=x.extend({},this._mixpanel.persistence.load_queue(e)),a=o;x.isUndefined(o)||!x.isObject(o)||x.isEmptyObject(o)||(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mixpanel.persistence.save(),r&&(a=r(o)),t.call(i,a,(function(t,r){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),x.isUndefined(n)||n(t,r)})))},Ce.prototype._flush=function(e,t,n,r,i,o,a){var s=this;this._flush_one_queue(ce,this.set,e),this._flush_one_queue(ue,this.set_once,r),this._flush_one_queue(de,this.unset,o,(function(e){return x.keys(e)})),this._flush_one_queue(he,this.increment,t),this._flush_one_queue(fe,this.union,i);var l=this._mixpanel.persistence.load_queue(pe);if(!x.isUndefined(l)&&x.isArray(l)&&l.length)for(var c,u=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(pe,c),x.isUndefined(n)||n(e,t)},d=l.length-1;d>=0;d--)l=this._mixpanel.persistence.load_queue(pe),c=l.pop(),s._mixpanel.persistence.save(),x.isEmptyObject(c)||s.append(c,u);var h=this._mixpanel.persistence.load_queue(me);if(!x.isUndefined(h)&&x.isArray(h)&&h.length)for(var p,f=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(me,p),x.isUndefined(a)||a(e,t)},m=h.length-1;m>=0;m--)h=this._mixpanel.persistence.load_queue(me),p=h.pop(),s._mixpanel.persistence.save(),x.isEmptyObject(p)||s.remove(p,f)},Ce.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},Ce.prototype.set=Ce.prototype.set,Ce.prototype.set_once=Ce.prototype.set_once,Ce.prototype.unset=Ce.prototype.unset,Ce.prototype.increment=Ce.prototype.increment,Ce.prototype.append=Ce.prototype.append,Ce.prototype.remove=Ce.prototype.remove,Ce.prototype.union=Ce.prototype.union,Ce.prototype.track_charge=Ce.prototype.track_charge,Ce.prototype.clear_charges=Ce.prototype.clear_charges,Ce.prototype.delete_user=Ce.prototype.delete_user,Ce.prototype.toString=Ce.prototype.toString;var ye,be,we="__mps",xe="__mpso",Ae="__mpus",Ee="__mpa",_e="__mpap",Te="__mpr",Se="__mpu",ke="$people_distinct_id",Pe="__alias",De="__timers",Ne=[we,xe,Ae,Ee,_e,Te,Se,ke,Pe,De],Fe=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(A.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&x.localStorage.is_supported()?this.storage=x.localStorage:this.storage=x.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Fe.prototype.properties=function(){var e={};return this.load(),x.each(this.props,(function(t,n){x.include(Ne,n)||(e[n]=t)})),e},Fe.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=x.extend({},e))}},Fe.prototype.upgrade=function(){var e,t;this.storage===x.localStorage?(e=x.cookie.parse(this.name),x.cookie.remove(this.name),x.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===x.cookie&&(t=x.localStorage.parse(this.name),x.localStorage.remove(this.name),t&&this.register_once(t))},Fe.prototype.save=function(){this.disabled||this.storage.set(this.name,x.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Fe.prototype.load_prop=function(e){return this.load(),this.props[e]},Fe.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Fe.prototype.clear=function(){this.remove(),this.props={}},Fe.prototype.register_once=function(e,t,n){return!!x.isObject(e)&&("undefined"===typeof t&&(t="None"),this.expire_days="undefined"===typeof n?this.default_expiry:n,this.load(),x.each(e,(function(e,n){this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.props[n]=e)}),this),this.save(),!0)},Fe.prototype.register=function(e,t){return!!x.isObject(e)&&(this.expire_days="undefined"===typeof t?this.default_expiry:t,this.load(),x.extend(this.props,e),this.save(),!0)},Fe.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Fe.prototype.update_search_keyword=function(e){this.register(x.info.searchInfo(e))},Fe.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:x.info.referringDomain(e)||"$direct"},"")},Fe.prototype.get_referrer_info=function(){return x.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Fe.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Fe.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Fe.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Fe.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Fe.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Fe.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Fe.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Fe.prototype._add_to_people_queue=function(e,t){var n=this._get_queue_key(e),r=t[e],i=this._get_or_create_queue(ce),o=this._get_or_create_queue(ue),a=this._get_or_create_queue(de),s=this._get_or_create_queue(he),l=this._get_or_create_queue(fe),c=this._get_or_create_queue(me,[]),u=this._get_or_create_queue(pe,[]);n===we?(x.extend(i,r),this._pop_from_people_queue(he,r),this._pop_from_people_queue(fe,r),this._pop_from_people_queue(de,r)):n===xe?(x.each(r,(function(e,t){t in o||(o[t]=e)})),this._pop_from_people_queue(de,r)):n===Ae?x.each(r,(function(e){x.each([i,o,s,l],(function(t){e in t&&delete t[e]})),x.each(u,(function(t){e in t&&delete t[e]})),a[e]=!0})):n===Ee?(x.each(r,(function(e,t){t in i?i[t]+=e:(t in s||(s[t]=0),s[t]+=e)}),this),this._pop_from_people_queue(de,r)):n===Se?(x.each(r,(function(e,t){x.isArray(e)&&(t in l||(l[t]=[]),l[t]=l[t].concat(e))})),this._pop_from_people_queue(de,r)):n===Te?(c.push(r),this._pop_from_people_queue(pe,r)):n===_e&&(u.push(r),this._pop_from_people_queue(de,r)),A.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),A.log(t),this.save()},Fe.prototype._pop_from_people_queue=function(e,t){var n=this.props[this._get_queue_key(e)];x.isUndefined(n)||x.each(t,(function(t,r){e===pe||e===me?x.each(n,(function(e){e[r]===t&&delete e[r]})):delete n[r]}),this)},Fe.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Fe.prototype._get_queue_key=function(e){return e===ce?we:e===ue?xe:e===de?Ae:e===he?Ee:e===pe?_e:e===me?Te:e===fe?Se:void A.error("Invalid queue:",e)},Fe.prototype._get_or_create_queue=function(e,t){var n=this._get_queue_key(e);return t=x.isUndefined(t)?{}:t,this.props[n]||(this.props[n]=t)},Fe.prototype.set_event_timer=function(e,t){var n=this.load_prop(De)||{};n[e]=t,this.props[De]=n,this.save()},Fe.prototype.remove_event_timer=function(e){var t=(this.load_prop(De)||{})[e];return x.isUndefined(t)||(delete this.props[De][e],this.save()),t};var Ie=function(e){return e},Re=function(){},Me="mixpanel",Oe="base64",je="$device:",Le=t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Be=!Le&&-1===m.indexOf("MSIE")&&-1===m.indexOf("Mozilla"),Ue=null;d.sendBeacon&&(Ue=function(){return d.sendBeacon.apply(d,arguments)});var Ve={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},He={api_host:"https://api-js.mixpanel.com",api_routes:Ve,api_method:"POST",api_transport:"XHR",api_payload_format:Oe,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Re,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Re,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_idle_timeout_ms:18e5,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:864e5,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},ze=!1,Ze=function(){},We=function(e,t,r){var i,o=r===Me?be:be[r];if(o&&0===ye)i=o;else{if(o&&!x.isArray(o))return void A.error("You have already initialized "+r);i=new Ze}if(i._cached_groups={},i._init(e,t,r),i.people=new Ce,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=x.info.campaignParams(null),s={},l=!1;x.each(a,(function(e,t){s["initial_"+t]=e,e&&(l=!0)})),l&&i.people.set_once(s)}return n.DEBUG=n.DEBUG||i.get_config("debug"),!x.isUndefined(o)&&x.isArray(o)&&(i._execute_array.call(i.people,o.people),i._execute_array(o)),i};Ze.prototype.init=function(e,t,n){if(x.isUndefined(n))this.report_error("You must name your new library: init(token, config, name)");else{if(n!==Me){var r=We(e,t,n);return be[n]=r,r._loaded(),r}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Ze.prototype._init=function(e,n,r){n=n||{},this.__loaded=!0,this.config={};var i={};"api_payload_format"in n||(n.api_host||He.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json");if(this.set_config(x.extend({},He,i,n,{name:r,token:e,callback_fn:(r===Me?r:Me+"."+r)+"._jsc"})),this._jsc=Re,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(x.localStorage.is_supported(!0)&&Le){if(this.init_batchers(),Ue&&t.addEventListener){var o=x.bind((function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})}),this);t.addEventListener("pagehide",(function(e){e.persisted&&o()})),t.addEventListener("visibilitychange",(function(){"hidden"===h.visibilityState&&o()}))}}else this._batch_requests=!1,A.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),x.each(this.get_batcher_configs(),(function(e){A.log("Clearing batch queue "+e.queue_key),x.localStorage.remove(e.queue_key)}));this.persistence=this.cookie=new Fe(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=x.UUID();this.get_distinct_id()||this.register_once({distinct_id:je+a,$device_id:a},"");var s=this.get_config("track_pageview");s&&this._init_url_change_tracking(s),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},Ze.prototype.start_session_recording=ee((function(){if(t.MutationObserver){var e=x.bind((function(){this._recorder=this._recorder||new t.__mp_recorder(this),this._recorder.startRecording()}),this);if(x.isUndefined(t.__mp_recorder)){var n=h.createElement("script");n.type="text/javascript",n.async=!0,n.onload=e,n.src=this.get_config("recorder_src"),h.head.appendChild(n)}else e()}else A.critical("Browser does not support MutationObserver; skipping session recording")})),Ze.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():A.critical("Session recorder module not loaded")},Ze.prototype.get_session_recording_properties=function(){var e={};if(this._recorder){var t=this._recorder.replayId;t&&(e.$mp_replay_id=t)}return e},Ze.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=x.info.campaignParams(null);x.each(e,function(e,t){this.unregister(t)}.bind(this))}},Ze.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(h.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(x.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(h.referrer)},Ze.prototype._dom_loaded=function(){x.each(this.__dom_loaded_queue,(function(e){this._track_dom.apply(this,e)}),this),this.has_opted_out_tracking()||x.each(this.__request_queue,(function(e){this._send_request.apply(this,e)}),this),delete this.__dom_loaded_queue,delete this.__request_queue},Ze.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!ze)return this.__dom_loaded_queue.push([e,t]),!1;var n=(new e).init(this);return n.track.apply(n,t)},Ze.prototype._init_url_change_tracking=function(e){var n="";if(this.track_pageview()&&(n=x.info.currentUrl()),x.include(["full-url","url-with-path-and-query-string","url-with-path"],e)){t.addEventListener("popstate",(function(){t.dispatchEvent(new Event("mp_locationchange"))})),t.addEventListener("hashchange",(function(){t.dispatchEvent(new Event("mp_locationchange"))}));var r=t.history.pushState;"function"===typeof r&&(t.history.pushState=function(e,n,i){r.call(t.history,e,n,i),t.dispatchEvent(new Event("mp_locationchange"))});var i=t.history.replaceState;"function"===typeof i&&(t.history.replaceState=function(e,n,r){i.call(t.history,e,n,r),t.dispatchEvent(new Event("mp_locationchange"))}),t.addEventListener("mp_locationchange",function(){var t=x.info.currentUrl(),r=!1;("full-url"===e?r=t!==n:"url-with-path-and-query-string"===e?r=t.split("#")[0]!==n.split("#")[0]:"url-with-path"===e&&(r=t.split("#")[0].split("?")[0]!==n.split("#")[0].split("?")[0]),r)&&(this.track_pageview()&&(n=t))}.bind(this))}},Ze.prototype._prepare_callback=function(e,t){if(x.isUndefined(e))return null;if(Le){return function(n){e(n,t)}}var n=this._jsc,r=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+r+"]";return n[r]=function(i){delete n[r],e(i,t)},i},Ze.prototype._send_request=function(e,t,n,r){var i=!0;if(Be)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},a=null;r||!x.isFunction(n)&&"string"!==typeof n||(r=n,n=null),n=x.extend(o,n||{}),Le||(n.method="GET");var s="POST"===n.method,l=Ue&&s&&"sendbeacon"===n.transport.toLowerCase(),c=n.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),Le||(r?t.callback=r:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),s&&(a="data="+encodeURIComponent(t.data),delete t.data),e+="?"+x.HTTPBuildQuery(t);var u=this;if("img"in t){var d=h.createElement("img");d.src=e,h.body.appendChild(d)}else if(l){try{i=Ue(e,a)}catch(C){u.report_error(C),i=!1}try{r&&r(i?1:0)}catch(C){u.report_error(C)}}else if(Le)try{var p=new XMLHttpRequest;p.open(n.method,e,!0);var f=this.get_config("xhr_headers");if(s&&(f["Content-Type"]="application/x-www-form-urlencoded"),x.each(f,(function(e,t){p.setRequestHeader(t,e)})),n.timeout_ms&&"undefined"!==typeof p.timeout){p.timeout=n.timeout_ms;var m=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(r)if(c){var t;try{t=x.JSONDecode(p.responseText)}catch(C){if(u.report_error(C),!n.ignore_json_errors)return;t=p.responseText}r(t)}else r(Number(p.responseText))}else e=p.timeout&&!p.status&&(new Date).getTime()-m>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,u.report_error(e),r&&r(c?{status:0,error:e,xhr_req:p}:0)},p.send(a)}catch(C){u.report_error(C),i=!1}else{var g=h.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=e;var v=h.getElementsByTagName("script")[0];v.parentNode.insertBefore(g,v)}return i},Ze.prototype._execute_array=function(e){var t,n=[],r=[],i=[];x.each(e,(function(e){e&&(t=e[0],x.isArray(t)?i.push(e):"function"===typeof e?e.call(this):x.isArray(e)&&"alias"===t?n.push(e):x.isArray(e)&&-1!==t.indexOf("track")&&"function"===typeof this[t]?i.push(e):r.push(e))}),this);var o=function(e,t){x.each(e,(function(e){if(x.isArray(e[0])){var n=t;x.each(e,(function(e){n=n[e[0]].apply(n,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};o(n,this),o(r,this),o(i,this)},Ze.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Ze.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token"),t=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+t.track,queue_key:e+"_ev"},people:{type:"people",endpoint:"/"+t.engage,queue_key:e+"_pp"},groups:{type:"groups",endpoint:"/"+t.groups,queue_key:e+"_gr"}},this._batcher_configs},Ze.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=x.bind((function(e){return new Y(e.queue_key,{libConfig:this.config,sendRequestFunc:x.bind((function(t,n,r){this._send_request(this.get_config("api_host")+e.endpoint,this._encode_data_for_request(t),n,this._prepare_callback(r,t))}),this),beforeSendHook:x.bind((function(t){return this._run_hook("before_send_"+e.type,t)}),this),errorReporter:this.get_config("error_reporter"),stopAllBatchingFunc:x.bind(this.stop_batch_senders,this)})}),this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},Ze.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,x.each(this.request_batchers,(function(e){e.start()})))},Ze.prototype.stop_batch_senders=function(){this._batch_requests=!1,x.each(this.request_batchers,(function(e){e.stop(),e.clear()}))},Ze.prototype.push=function(e){this._execute_array([e])},Ze.prototype.disable=function(e){"undefined"===typeof e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},Ze.prototype._encode_data_for_request=function(e){var t=x.JSONEncode(e);return this.get_config("api_payload_format")===Oe&&(t=x.base64Encode(t)),{data:t}},Ze.prototype._track_or_batch=function(e,t){var n=x.truncate(e.data,255),r=e.endpoint,i=e.batcher,o=e.should_send_immediately,a=e.send_request_options||{};t=t||Re;var s=!0,l=x.bind((function(){return a.skip_hooks||(n=this._run_hook("before_send_"+e.type,n)),n?(A.log("MIXPANEL REQUEST:"),A.log(n),this._send_request(r,this._encode_data_for_request(n),a,this._prepare_callback(t,n))):null}),this);return this._batch_requests&&!o?i.enqueue(n,(function(e){e?t(1,n):l()})):s=l(),s&&n},Ze.prototype.track=ee((function(e,t,n,r){r||"function"!==typeof n||(r=n,n=null);var i=(n=n||{}).transport;i&&(n.transport=i);var o=n.send_immediately;if("function"!==typeof r&&(r=Re),x.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=x.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!x.isUndefined(a)){var s=(new Date).getTime()-a;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?x.info.marketingParams():{};t=x.extend({},x.info.properties({mp_loader:this.get_config("mp_loader")}),l,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");x.isArray(c)?x.each(c,(function(e){delete t[e]})):this.report_error("Invalid value for property_blacklist config: "+c);var u={event:e,properties:t};return this._track_or_batch({type:"events",data:u,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:n},r)}r(0)}})),Ze.prototype.set_group=ee((function(e,t,n){x.isArray(t)||(t=[t]);var r={};return r[e]=t,this.register(r),this.people.set(e,t,n)})),Ze.prototype.add_group=ee((function(e,t,n){var r=this.get_property(e),i={};return void 0===r?(i[e]=[t],this.register(i)):-1===r.indexOf(t)&&(r.push(t),i[e]=r,this.register(i)),this.people.union(e,t,n)})),Ze.prototype.remove_group=ee((function(e,t,n){var r=this.get_property(e);if(void 0!==r){var i=r.indexOf(t);i>-1&&(r.splice(i,1),this.register({group_key:r})),0===r.length&&this.unregister(e)}return this.people.remove(e,t,n)})),Ze.prototype.track_with_groups=ee((function(e,t,n,r){var i=x.extend({},t||{});return x.each(n,(function(e,t){null!==e&&void 0!==e&&(i[t]=e)})),this.track(e,i,r)})),Ze.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},Ze.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},Ze.prototype.get_group=function(e,t){var n=this._create_map_key(e,t),r=this._cached_groups[n];return void 0!==r&&r._group_key===e&&r._group_id===t||((r=new ve)._init(this,e,t),this._cached_groups[n]=r),r},Ze.prototype.track_pageview=ee((function(e,t){"object"!==typeof e&&(e={});var n=(t=t||{}).event_name||"$mp_web_page_view",r=x.extend(x.info.mpPageViewProperties(),x.info.campaignParams(),x.info.clickParams()),i=x.extend({},r,e);return this.track(n,i)})),Ze.prototype.track_links=function(){return this._track_dom.call(this,B,arguments)},Ze.prototype.track_forms=function(){return this._track_dom.call(this,U,arguments)},Ze.prototype.time_event=function(e){x.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var qe={persistent:!0},Ge=function(e){var t;return t=x.isObject(e)?e:x.isUndefined(e)?{}:{days:e},x.extend({},qe,t)};Ze.prototype.register=function(e,t){var n=Ge(t);n.persistent?this.persistence.register(e,n.days):x.extend(this.unpersisted_superprops,e)},Ze.prototype.register_once=function(e,t,n){var r=Ge(n);r.persistent?this.persistence.register_once(e,t,r.days):("undefined"===typeof t&&(t="None"),x.each(e,(function(e,n){this.unpersisted_superprops.hasOwnProperty(n)&&this.unpersisted_superprops[n]!==t||(this.unpersisted_superprops[n]=e)}),this))},Ze.prototype.unregister=function(e,t){(t=Ge(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},Ze.prototype._register_single=function(e,t){var n={};n[e]=t,this.register(n)},Ze.prototype.identify=function(e,t,n,r,i,o,a,s){var l=this.get_distinct_id();if(e&&l!==e){if("string"===typeof e&&0===e.indexOf(je))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==l&&e!==this.get_property(Pe)&&(this.unregister(Pe),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,n,r,i,o,a,s),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0})},Ze.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var e=x.UUID();this.register_once({distinct_id:je+e,$device_id:e},"")},Ze.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Ze.prototype.alias=function(e,t){if(e===this.get_property(ke))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return x.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(Pe,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},(function(){n.identify(e)}))):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},Ze.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},Ze.prototype.set_config=function(e){x.isObject(e)&&(x.extend(this.config,e),e.batch_size&&x.each(this.request_batchers,(function(e){e.resetBatchSize()})),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),n.DEBUG=n.DEBUG||this.get_config("debug"))},Ze.prototype.get_config=function(e){return this.config[e]},Ze.prototype._run_hook=function(e){var t=(this.config.hooks[e]||Ie).apply(this,s.call(arguments,1));return"undefined"===typeof t&&(this.report_error(e+" hook did not return a value"),t=null),t},Ze.prototype.get_property=function(e){return this.persistence.load_prop([e])},Ze.prototype.toString=function(){var e=this.get_config("name");return e!==Me&&(e=Me+"."+e),e},Ze.prototype._event_is_disabled=function(e){return x.isBlockedUA(m)||this._flags.disable_all_events||x.include(this.__disabled_events,e)},Ze.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&x.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!x.cookie.get("mp_optout")||(x.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Ze.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},Ze.prototype._gdpr_call_func=function(e,t){return t=x.extend({track:x.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),x.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},Ze.prototype.opt_in_tracking=function(e){e=x.extend({enable_persistence:!0},e),this._gdpr_call_func(Q,e),this._gdpr_update_persistence(e)},Ze.prototype.opt_out_tracking=function(e){(e=x.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(X,e),this._gdpr_update_persistence(e)},Ze.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(J,e)},Ze.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func($,e)},Ze.prototype.clear_opt_in_out_tracking=function(e){e=x.extend({enable_persistence:!0},e),this._gdpr_call_func(re,e),this._gdpr_update_persistence(e)},Ze.prototype.report_error=function(e,t){A.error.apply(A.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){A.error(t)}},Ze.prototype.init=Ze.prototype.init,Ze.prototype.reset=Ze.prototype.reset,Ze.prototype.disable=Ze.prototype.disable,Ze.prototype.time_event=Ze.prototype.time_event,Ze.prototype.track=Ze.prototype.track,Ze.prototype.track_links=Ze.prototype.track_links,Ze.prototype.track_forms=Ze.prototype.track_forms,Ze.prototype.track_pageview=Ze.prototype.track_pageview,Ze.prototype.register=Ze.prototype.register,Ze.prototype.register_once=Ze.prototype.register_once,Ze.prototype.unregister=Ze.prototype.unregister,Ze.prototype.identify=Ze.prototype.identify,Ze.prototype.alias=Ze.prototype.alias,Ze.prototype.name_tag=Ze.prototype.name_tag,Ze.prototype.set_config=Ze.prototype.set_config,Ze.prototype.get_config=Ze.prototype.get_config,Ze.prototype.get_property=Ze.prototype.get_property,Ze.prototype.get_distinct_id=Ze.prototype.get_distinct_id,Ze.prototype.toString=Ze.prototype.toString,Ze.prototype.opt_out_tracking=Ze.prototype.opt_out_tracking,Ze.prototype.opt_in_tracking=Ze.prototype.opt_in_tracking,Ze.prototype.has_opted_out_tracking=Ze.prototype.has_opted_out_tracking,Ze.prototype.has_opted_in_tracking=Ze.prototype.has_opted_in_tracking,Ze.prototype.clear_opt_in_out_tracking=Ze.prototype.clear_opt_in_out_tracking,Ze.prototype.get_group=Ze.prototype.get_group,Ze.prototype.set_group=Ze.prototype.set_group,Ze.prototype.add_group=Ze.prototype.add_group,Ze.prototype.remove_group=Ze.prototype.remove_group,Ze.prototype.track_with_groups=Ze.prototype.track_with_groups,Ze.prototype.start_batch_senders=Ze.prototype.start_batch_senders,Ze.prototype.stop_batch_senders=Ze.prototype.stop_batch_senders,Ze.prototype.start_session_recording=Ze.prototype.start_session_recording,Ze.prototype.stop_session_recording=Ze.prototype.stop_session_recording,Ze.prototype.get_session_recording_properties=Ze.prototype.get_session_recording_properties,Ze.prototype.DEFAULT_API_ROUTES=Ve,Fe.prototype.properties=Fe.prototype.properties,Fe.prototype.update_search_keyword=Fe.prototype.update_search_keyword,Fe.prototype.update_referrer_info=Fe.prototype.update_referrer_info,Fe.prototype.get_cross_subdomain=Fe.prototype.get_cross_subdomain,Fe.prototype.clear=Fe.prototype.clear;var Ye={},Ke=function(){be.init=function(e,n,r){if(r)return be[r]||(be[r]=Ye[r]=We(e,n,r),be[r]._loaded()),be[r];var i=be;Ye[Me]?i=Ye[Me]:e&&((i=We(e,n,Me))._loaded(),Ye[Me]=i),be=i,1===ye&&(t[Me]=be),x.each(Ye,(function(e,t){t!==Me&&(be[t]=e)})),be._=x}};var Qe=(ye=0,be=new Ze,Ke(),be.init(),function(){function e(){e.done||(e.done=!0,ze=!0,Be=!1,x.each(Ye,(function(e){e._dom_loaded()})))}if(h.addEventListener)"complete"===h.readyState?e():h.addEventListener("DOMContentLoaded",e,!1);else if(h.attachEvent){h.attachEvent("onreadystatechange",e);var n=!1;try{n=null===t.frameElement}catch(r){}h.documentElement.doScroll&&n&&function t(){try{h.documentElement.doScroll("left")}catch(r){return void setTimeout(t,1)}e()}()}x.register_event(t,"load",e,!0)}(),be);e.exports=Qe},88642:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>X,WQ:()=>$,PA:()=>G});var r=n(31991),i=n(61462);if(!i.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.Gn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var o=n(72551);function a(e){e()}function s(e){return(0,r.yl)(e)}var l=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),c=new("undefined"!==typeof FinalizationRegistry?FinalizationRegistry:l)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),u=!1;function d(){return u}var h=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function p(e){return"observer".concat(e)}var f=function(){};function m(){return new f}function g(e,t){if(void 0===t&&(t="observed"),d())return e();var n=h(i.useState(m),1)[0],o=h(i.useState(),2)[1],a=function(){return o([])},l=i.useRef(null);l.current||(l.current={reaction:null,mounted:!1,changedBeforeMount:!1});var u,f,g=l.current;if(g.reaction||(g.reaction=new r.qT(p(t),(function(){g.mounted?a():g.changedBeforeMount=!0})),c.register(n,g,g)),i.useDebugValue(g.reaction,s),i.useEffect((function(){return c.unregister(g),g.mounted=!0,g.reaction?g.changedBeforeMount&&(g.changedBeforeMount=!1,a()):(g.reaction=new r.qT(p(t),(function(){a()})),a()),function(){g.reaction.dispose(),g.reaction=null,g.mounted=!1,g.changedBeforeMount=!1}}),[]),g.reaction.track((function(){try{u=e()}catch(t){f=t}})),f)throw f;return u}var v="function"===typeof Symbol&&Symbol.for,C=v?Symbol.for("react.forward_ref"):"function"===typeof i.forwardRef&&(0,i.forwardRef)((function(e){return null})).$$typeof,y=v?Symbol.for("react.memo"):"function"===typeof i.memo&&(0,i.memo)((function(e){return null})).$$typeof;function b(e,t){var n;if(y&&e.$$typeof===y)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(d())return e;var r=null!==(n=null===t||void 0===t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,a=e.displayName||e.name;if(C&&e.$$typeof===C&&(r=!0,"function"!==typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,c=function(e,t){return g((function(){return o(e,t)}),a)};return""!==a&&(c.displayName=a),e.contextTypes&&(c.contextTypes=e.contextTypes),r&&(c=(0,i.forwardRef)(c)),c=(0,i.memo)(c),s=e,l=c,Object.keys(s).forEach((function(e){w[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),c}var w={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};var x,A;(A=o.unstable_batchedUpdates)||(A=a),(0,r.jK)({reactionScheduler:A});x=c.finalizeAllImmediately;var E=0;var _={};function T(e){return _[e]||(_[e]=function(e){if("function"===typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+E+")";return E++,t}(e)),_[e]}function S(e,t){if(k(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.hasOwnProperty.call(t,n[i])||!k(e[n[i]],t[n[i]]))return!1;return!0}function k(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}var P={$$typeof:1,render:1,compare:1,type:1,childContextTypes:1,contextType:1,contextTypes:1,defaultProps:1,getDefaultProps:1,getDerivedStateFromError:1,getDerivedStateFromProps:1,mixins:1,displayName:1,propTypes:1};function D(e,t,n){Object.hasOwnProperty.call(e,t)?e[t]=n:Object.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})}var N=T("patchMixins"),F=T("patchedDefinition");function I(e,t){for(var n=this,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];t.locks++;try{var a;return void 0!==e&&null!==e&&(a=e.apply(this,i)),a}finally{t.locks--,0===t.locks&&t.methods.forEach((function(e){e.apply(n,i)}))}}function R(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];I.call.apply(I,[this,e,t].concat(r))}}function M(e,t,n){var r=function(e,t){var n=e[N]=e[N]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var i=Object.getOwnPropertyDescriptor(e,t);if(!i||!i[F]){var o=e[t],a=O(e,t,i?i.enumerable:void 0,r,o);Object.defineProperty(e,t,a)}}function O(e,t,n,r,i){var o,a=R(i,r);return(o={})[F]=!0,o.get=function(){return a},o.set=function(i){if(this===e)a=R(i,r);else{var o=O(this,t,n,r,i);Object.defineProperty(this,t,o)}},o.configurable=!0,o.enumerable=n,o}var j=r.BQ||"$mobx",L=T("isMobXReactObserver"),B=T("isUnmounted"),U=T("skipRender"),V=T("isForcingUpdate");function H(e){var t=e.prototype;if(e[L]){var n=z(t);console.warn("The provided component class ("+n+")\n                has already been declared as an observer component.")}else e[L]=!0;if(t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==i.PureComponent)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==W)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=W;q(t,"props"),q(t,"state"),e.contextType&&q(t,"context");var r=t.render;if("function"!==typeof r){var o=z(t);throw new Error("[mobx-react] class component ("+o+") is missing `render` method.\n`observer` requires `render` being a function defined on prototype.\n`render = () => {}` or `render = function() {}` is not supported.")}return t.render=function(){return this.render=d()?r:Z.call(this,r),this.render()},M(t,"componentDidMount",(function(){this[B]=!1,this.render[j]||i.Component.prototype.forceUpdate.call(this)})),M(t,"componentWillUnmount",(function(){if(!d()){var e=this.render[j];if(e)e.dispose(),this.render[j]=null;else{var t=z(this);console.warn("The reactive render of an observer class component ("+t+")\n                was overridden after MobX attached. This may result in a memory leak if the\n                overridden reactive render was not properly disposed.")}this[B]=!0}})),e}function z(e){return e.displayName||e.name||e.constructor&&(e.constructor.displayName||e.constructor.name)||"<component>"}function Z(e){var t=this;D(this,U,!1),D(this,V,!1);var n=z(this),o=e.bind(this),a=!1;return function e(){var s;a=!1;var l=null!=(s=e[j])?s:e[j]=function(){var e=new r.qT(n+".render()",(function(){if(!a&&(a=!0,!0!==t[B])){var n=!0;try{D(t,V,!0),t[U]||i.Component.prototype.forceUpdate.call(t),n=!1}finally{D(t,V,!1),n&&(e.dispose(),t.render[j]=null)}}}));return e.reactComponent=t,e}(),c=void 0,u=void 0;if(l.track((function(){try{u=(0,r.vx)(!1,o)}catch(e){c=e}})),c)throw c;return u}}function W(e,t){return d()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||!S(this.props,e)}function q(e,t){var n=T("reactProp_"+t+"_valueHolder"),i=T("reactProp_"+t+"_atomHolder");function o(){return this[i]||D(this,i,(0,r.MN)("reactive "+t)),this[i]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var e=!1;return r.f2&&r.w6&&(e=(0,r.f2)(!0)),o.call(this).reportObserved(),r.f2&&r.w6&&(0,r.w6)(e),this[n]},set:function(e){this[V]||S(this[n],e)?D(this,n,e):(D(this,n,e),D(this,U,!0),o.call(this).reportChanged(),D(this,U,!1))}})}function G(e){return!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`"),Object.prototype.isPrototypeOf.call(i.Component,e)||Object.prototype.isPrototypeOf.call(i.PureComponent,e)?H(e):b(e)}function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}var K=["children"],Q=i.createContext({});function X(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,K),r=i.useContext(Q),o=i.useRef(Y({},r,n)).current;return i.createElement(Q.Provider,{value:o},t)}function J(e,t,n,r){var o=i.forwardRef((function(n,r){var o=Y({},n),a=i.useContext(Q);return Object.assign(o,e(a||{},o)||{}),r&&(o.ref=r),i.createElement(t,o)}));return r&&(o=G(o)),o.isMobxInjector=!0,function(e,t){var n=Object.getOwnPropertyNames(Object.getPrototypeOf(e));Object.getOwnPropertyNames(e).forEach((function(r){P[r]||-1!==n.indexOf(r)||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}(t,o),o.wrappedComponent=t,o.displayName=function(e,t){var n,r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";n=t?"inject-with-"+t+"("+r+")":"inject("+r+")";return n}(t,n),o}function $(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if("function"===typeof arguments[0]){var r=arguments[0];return function(e){return J(r,e,r.name,!0)}}return function(e){return J(function(e){return function(t,n){return e.forEach((function(e){if(!(e in n)){if(!(e in t))throw new Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");n[e]=t[e]}})),n}}(t),e,t.join("-"),!1)}}X.displayName="MobXProvider";if(!i.Component)throw new Error("mobx-react requires React to be available");if(!r.sH)throw new Error("mobx-react requires mobx to be available")},31991:(e,t,n)=>{"use strict";n.d(t,{BQ:()=>Z,Es:()=>Qn,Fq:()=>qn,Gn:()=>Fn,H8:()=>hn,HO:()=>xn,Jt:()=>yn,MN:()=>G,O8:()=>st,OB:()=>sr,TF:()=>Cn,XI:()=>Lt,f2:()=>ut,h5:()=>Ut,hZ:()=>vn,jK:()=>$t,l_:()=>Rn,mJ:()=>Wt,qT:()=>Et,sH:()=>Ie,uz:()=>Xn,ve:()=>Vt,vx:()=>Ze,w6:()=>dt,yl:()=>tn,zu:()=>gn});function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"===typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var i={};function o(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:i}var a=Object.assign,s=Object.getOwnPropertyDescriptor,l=Object.defineProperty,c=Object.prototype,u=[];Object.freeze(u);var d={};Object.freeze(d);var h="undefined"!==typeof Proxy,p=Object.toString();function f(){h||r("Proxy not available")}function m(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function v(e){return"function"===typeof e}function C(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function y(e){return null!==e&&"object"===typeof e}function b(e){if(!y(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n.toString()===p}function w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function A(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function E(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return y(e)&&!0===e[n]}}function _(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function T(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var S="undefined"!==typeof Object.getOwnPropertySymbols;var k="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:S?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"===typeof e?""+e:e}function D(e,t){return c.hasOwnProperty.call(e,t)}var N=Object.getOwnPropertyDescriptors||function(e){var t={};return k(e).forEach((function(n){t[n]=s(e,n)})),t};function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B(r.key),r)}}function R(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return F(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(null,arguments)}function j(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,L(e,t)}function L(e,t){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},L(e,t)}function B(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var U=Symbol("mobx-stored-annotations");function V(e){return Object.assign((function(t,n){if(z(n))return e.decorate_20223_(t,n);H(t,n,e)}),e)}function H(e,t,n){D(e,U)||x(e,U,O({},e[U])),function(e){return e.annotationType_===X}(n)||(e[U][t]=n)}function z(e){return"object"==typeof e&&"string"==typeof e.kind}var Z=Symbol("mobx administration"),W=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Je.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return xt(this)},t.reportChanged=function(){bt(),At(this),wt()},t.toString=function(){return this.name_},e}(),q=E("Atom",W);function G(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r,i=new W(e);return t!==g&&Kt(qt,i,t,r),n!==g&&Yt(i,n),i}var Y={identity:function(e,t){return e===t},structural:function(e,t){return Tr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return Tr(e,t,1)}};function K(e,t,n){return fn(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):b(e)?Ie.object(e,void 0,{name:n}):_(e)?Ie.map(e,{name:n}):T(e)?Ie.set(e,{name:n}):"function"!==typeof e||Vt(e)||un(e)?e:w(e)?ln(e):Bt(n,e)}function Q(e){return e}var X="override";function J(e,t){return{annotationType_:e,options_:t,make_:$,extend_:ee,decorate_20223_:te}}function $(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Vt(n.value))return 1;var o=ne(e,this,t,n,!1);return l(r,t,o),2}function ee(e,t,n,r){var i=ne(e,this,t,n);return e.defineProperty_(t,i,r)}function te(e,t){var n=t.kind,i=t.name,o=t.addInitializer,a=this;if("field"!=n){var s;if("method"==n)return Vt(e)||(e=function(e){var t,n,r,o;return He(null!=(t=null==(n=a.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=a.options_)?void 0:o.autoAction)&&r)}(e)),null!=(s=this.options_)&&s.bound&&o((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e;r("Cannot apply '"+a.annotationType_+"' to '"+String(i)+"' (kind: "+n+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}else o((function(){H(this,i,a)}))}function ne(e,t,n,r,i){var o,a,s,l,c,u,d,h;void 0===i&&(i=gt.safeDescriptors),h=r,t.annotationType_,h.value;var p,f=r.value;null!=(o=t.options_)&&o.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:He(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),f,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function re(e,t){return{annotationType_:e,options_:t,make_:ie,extend_:oe,decorate_20223_:ae}}function ie(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!D(e.target_,t)||!un(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(un(n.value))return 1;var o=se(e,this,t,n,!1,!1);return l(r,t,o),2}function oe(e,t,n,r){var i,o=se(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ae(e,t){var n;var r=t.name,i=t.addInitializer;return un(e)||(e=ln(e)),null!=(n=this.options_)&&n.bound&&i((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function se(e,t,n,r,i,o){var a;void 0===o&&(o=gt.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;(un(l)||(l=ln(l)),i)&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:l,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function le(e,t){return{annotationType_:e,options_:t,make_:ce,extend_:ue,decorate_20223_:de}}function ce(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ue(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get;0}(0,this,0,n),e.defineComputedProperty_(t,O({},this.options_,{get:n.get,set:n.set}),r)}function de(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=ir(this)[Z],i=O({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new Xe(i))})),function(){return this[Z].getObservablePropValue_(r)}}function he(e,t){return{annotationType_:e,options_:t,make_:pe,extend_:fe,decorate_20223_:me}}function pe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function fe(e,t,n,r){var i,o;return function(e,t,n,r){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:K,r)}function me(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=ir(e)[Z],l=new Ge(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:K,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[Z].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[Z].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var ge="true",ve=Ce();function Ce(e){return{annotationType_:ge,options_:e,make_:ye,extend_:be,decorate_20223_:we}}function ye(e,t,n,r){var i,o,a,s;if(n.get)return je.make_(e,t,n,r);if(n.set){var c=He(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!gt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(l(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"===typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?ln.bound:ln).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Bt.bound:Bt).make_(e,t,n,r);var u,d=!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie;"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return d.make_(e,t,n,r)}function be(e,t,n,r){var i,o,a;if(n.get)return je.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!gt.safeDescriptors||e.isPlainObject_,set:He(t.toString(),n.set)},r);"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_));return(!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie).extend_(e,t,n,r)}function we(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var xe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||xe}Object.freeze(xe);var Ee=he("observable"),_e=he("observable.ref",{enhancer:Q}),Te=he("observable.shallow",{enhancer:function(e,t,n){return void 0===e||null===e||sr(e)||qn(e)||Xn(e)||er(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):b(e)?Ie.object(e,void 0,{name:n,deep:!1}):_(e)?Ie.map(e,{name:n,deep:!1}):T(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Se=he("observable.struct",{enhancer:function(e,t){return Tr(e,t)?t:e}}),ke=V(Ee);function Pe(e){return!0===e.deep?K:!1===e.deep?Q:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:K}(e.defaultDecorator)}function De(e,t,n){return z(t)?Ee.decorate_20223_(e,t):C(t)?void H(e,t,Ee):fn(e)?e:b(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):_(e)?Ie.map(e,t):T(e)?Ie.set(e,t):"object"===typeof e&&null!==e?e:Ie.box(e,t)}a(De,ke);var Ne,Fe,Ie=a(De,{box:function(e,t){var n=Ae(t);return new Ge(e,Pe(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===gt.useProxies||!1===n.proxy?br:Bn)(e,Pe(n),n.name)},map:function(e,t){var n=Ae(t);return new Qn(e,Pe(n),n.name)},set:function(e,t){var n=Ae(t);return new $n(e,Pe(n),n.name)},object:function(e,t,n){return Er((function(){return en(!1===gt.useProxies||!1===(null==n?void 0:n.proxy)?ir({},n):function(e,t){var n,r;return f(),e=ir(e,t),null!=(r=(n=e[Z]).proxy_)?r:n.proxy_=new Proxy(e,_n)}({},n),e,t)}))},ref:V(_e),shallow:V(Te),deep:ke,struct:V(Se)}),Re="computed",Me=le(Re),Oe=le("computed.struct",{equals:Y.structural}),je=function(e,t){if(z(t))return Me.decorate_20223_(e,t);if(C(t))return H(e,t,Me);if(b(e))return V(le(Re,e));var n=b(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Xe(n)};Object.assign(je,Me),je.struct=V(Oe);var Le=0,Be=1,Ue=null!=(Ne=null==(Fe=s((function(){}),"name"))?void 0:Fe.configurable)&&Ne,Ve={value:"action",configurable:!0,writable:!1,enumerable:!1};function He(e,t,n,r){function i(){return ze(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Ue&&(Ve.value=e,l(i,"name",Ve)),i}function ze(e,t,n,i,o){var a=function(e,t,n,r){var i=!1,o=0;0;var a=gt.trackingDerivation,s=!t||!a;bt();var l=gt.allowStateChanges;s&&(lt(),l=We(!0));var c=ut(!0),u={runAsAction_:s,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:c,notifySpy_:i,startTime_:o,actionId_:Be++,parentActionId_:Le};return Le=u.actionId_,u}(0,t);try{return n.apply(i,o)}catch(s){throw a.error_=s,s}finally{!function(e){Le!==e.actionId_&&r(30);Le=e.parentActionId_,void 0!==e.error_&&(gt.suppressReactionErrors=!0);qe(e.prevAllowStateChanges_),dt(e.prevAllowStateReads_),wt(),e.runAsAction_&&ct(e.prevDerivation_);0;gt.suppressReactionErrors=!1}(a)}}function Ze(e,t){var n=We(e);try{return t()}finally{qe(n)}}function We(e){var t=gt.allowStateChanges;return gt.allowStateChanges=e,t}function qe(e){gt.allowStateChanges=e}var Ge=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=Y.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}j(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==gt.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(it(this),Tn(this)){var t=kn(this,{object:this,type:On,newValue:e});if(!t)return gt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?gt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Pn(this)&&Nn(this,{type:On,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Sn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:On,newValue:this.value_,oldValue:void 0}),Dn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(W),Ye=E("ObservableValue",Ge);function Ke(e,t){return!!(e&t)}function Qe(e,t,n){return n?e|=t:e&=~t,e}var Xe=function(){function e(e){this.dependenciesState_=Je.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Je.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new tt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=$e.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=He("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==Je.UP_TO_DATE_)return;e.lowestObserverState_=Je.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Je.UP_TO_DATE_&&(e.dependenciesState_=Je.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==gt.inBatch||0!==this.observers_.size||this.keepAlive_){if(xt(this),rt(this)){var e=gt.trackingContext;this.keepAlive_&&!e&&(gt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===Je.STALE_)return;e.lowestObserverState_=Je.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Je.POSSIBLY_STALE_?t.dependenciesState_=Je.STALE_:t.dependenciesState_===Je.UP_TO_DATE_&&(e.lowestObserverState_=Je.UP_TO_DATE_)}))}(this),gt.trackingContext=e}}else rt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),wt());var t=this.value_;if(nt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Je.NOT_TRACKING_,n=this.computeValue_(!0),r=t||nt(e)||nt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=ot(this,this.derivation,this.scope_);else if(!0===gt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new tt(r)}return qe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(at(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Ht((function(){var o=n.get();if(!r||t){var a=lt();e({observableKind:"computed",debugObjectName:n.name_,type:On,object:n,newValue:o,oldValue:i}),ct(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},R(e,[{key:"isComputing",get:function(){return Ke(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=Qe(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return Ke(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=Qe(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return Ke(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=Qe(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return Ke(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=Qe(this.flags_,e.isPendingUnobservationMask_,t)}}])}();Xe.isComputingMask_=1,Xe.isRunningSetterMask_=2,Xe.isBeingObservedMask_=4,Xe.isPendingUnobservationMask_=8;var Je,$e,et=E("ComputedValue",Xe);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Je||(Je={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}($e||($e={}));var tt=function(e){this.cause=void 0,this.cause=e};function nt(e){return e instanceof tt}function rt(e){switch(e.dependenciesState_){case Je.UP_TO_DATE_:return!1;case Je.NOT_TRACKING_:case Je.STALE_:return!0;case Je.POSSIBLY_STALE_:for(var t=ut(!0),n=lt(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(et(a)){if(gt.disableErrorBoundaries)a.get();else try{a.get()}catch(s){return ct(n),dt(t),!0}if(e.dependenciesState_===Je.STALE_)return ct(n),dt(t),!0}}return ht(e),ct(n),dt(t),!1}}function it(e){}function ot(e,t,n){var r=ut(!0);ht(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++gt.runId;var i,o=gt.trackingDerivation;if(gt.trackingDerivation=e,gt.inBatch++,!0===gt.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(a){i=new tt(a)}return gt.inBatch--,gt.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Je.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}n.length=i,e.newObserving_=null,o=t.length;for(;o--;){var l=t[o];0===l.diffValue_&&Ct(l,e),l.diffValue_=0}for(;i--;){var c=n[i];1===c.diffValue_&&(c.diffValue_=0,vt(c,e))}r!==Je.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),dt(r),i}function at(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Ct(t[n],e);e.dependenciesState_=Je.NOT_TRACKING_}function st(e){var t=lt();try{return e()}finally{ct(t)}}function lt(){var e=gt.trackingDerivation;return gt.trackingDerivation=null,e}function ct(e){gt.trackingDerivation=e}function ut(e){var t=gt.allowStateReads;return gt.allowStateReads=e,t}function dt(e){gt.allowStateReads=e}function ht(e){if(e.dependenciesState_!==Je.UP_TO_DATE_){e.dependenciesState_=Je.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Je.UP_TO_DATE_}}var pt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ft=!0,mt=!1,gt=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new pt).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new pt):(setTimeout((function(){mt||r(35)}),1),new pt)}();function vt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ct(e,t){e.observers_.delete(t),0===e.observers_.size&&yt(e)}function yt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,gt.pendingUnobservations.push(e))}function bt(){gt.inBatch++}function wt(){if(0===--gt.inBatch){St();for(var e=gt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Xe&&n.suspend_())}gt.pendingUnobservations=[]}}function xt(e){var t=gt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&gt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&gt.inBatch>0&&yt(e),!1)}function At(e){e.lowestObserverState_!==Je.STALE_&&(e.lowestObserverState_=Je.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Je.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Je.STALE_})))}var Et=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Je.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=$e.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,gt.pendingReactions.push(this),St())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){bt(),this.isScheduled_=!1;var e=gt.trackingContext;if(gt.trackingContext=this,rt(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}gt.trackingContext=e,wt()}},t.track=function(e){if(!this.isDisposed_){bt();0,this.isRunning_=!0;var t=gt.trackingContext;gt.trackingContext=this;var n=ot(this,e,void 0);gt.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&at(this),nt(n)&&this.reportExceptionInDerivation_(n.cause),wt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(gt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";gt.suppressReactionErrors||console.error(n,e),gt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(bt(),at(this),wt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[Z]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}();var _t=100,Tt=function(e){return e()};function St(){gt.inBatch>0||gt.isRunningReactions||Tt(kt)}function kt(){gt.isRunningReactions=!0;for(var e=gt.pendingReactions,t=0;e.length>0;){++t===_t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}gt.isRunningReactions=!1}var Pt=E("Reaction",Et);var Dt="action",Nt="autoAction",Ft="<unnamed action>",It=J(Dt),Rt=J("action.bound",{bound:!0}),Mt=J(Nt,{autoAction:!0}),Ot=J("autoAction.bound",{autoAction:!0,bound:!0});function jt(e){return function(t,n){return v(t)?He(t.name||Ft,t,e):v(n)?He(t,n,e):z(n)?(e?Mt:It).decorate_20223_(t,n):C(n)?H(t,n,e?Mt:It):C(t)?V(J(e?Nt:Dt,{name:t,autoAction:e})):void 0}}var Lt=jt(!1);Object.assign(Lt,It);var Bt=jt(!0);function Ut(e){return ze(e.name,!1,e,this,void 0)}function Vt(e){return v(e)&&!0===e.isMobxAction}function Ht(e,t){var n,r,i,o;void 0===t&&(t=d);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)a=new Et(s,(function(){this.track(u)}),t.onError,t.requiresObservable);else{var l=Zt(t),c=!1;a=new Et(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed_||a.track(u)})))}),t.onError,t.requiresObservable)}function u(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(Bt,Mt),Lt.bound=V(Rt),Bt.bound=V(Ot);var zt=function(e){return e()};function Zt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:zt}function Wt(e,t,n){var r,i,o;void 0===n&&(n=d);var a,s,l,c=null!=(r=n.name)?r:"Reaction",u=Lt(c,n.onError?(a=n.onError,s=t,function(){try{return s.apply(this,arguments)}catch(e){a.call(this,e)}}):t),h=!n.scheduler&&!n.delay,p=Zt(n),f=!0,m=!1,g=n.compareStructural?Y.structural:n.equals||Y.default,v=new Et(c,(function(){f||h?C():m||(m=!0,p(C))}),n.onError,n.requiresObservable);function C(){if(m=!1,!v.isDisposed_){var t=!1,r=l;v.track((function(){var n=Ze(!1,(function(){return e(v)}));t=f||!g(l,n),l=n})),(f&&n.fireImmediately||!f&&t)&&u(l,r,v),f=!1}}return null!=(i=n)&&null!=(i=i.signal)&&i.aborted||v.schedule_(),v.getDisposer_(null==(o=n)?void 0:o.signal)}var qt="onBO",Gt="onBUO";function Yt(e,t,n){return Kt(Gt,e,t,n)}function Kt(e,t,n,r){var i="function"===typeof r?wr(t,n):wr(t),o=v(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var Qt="never",Xt="always",Jt="observed";function $t(e){!0===e.isolateGlobalState&&function(){if((gt.pendingReactions.length||gt.inBatch||gt.isRunningReactions)&&r(36),mt=!0,ft){var e=o();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),gt=new pt}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(gt.useProxies=t===Xt||t!==Qt&&"undefined"!==typeof Proxy),"ifavailable"===t&&(gt.verifyProxies=!0),void 0!==n){var i=n===Xt?Xt:n===Jt;gt.enforceActions=i,gt.allowStateChanges=!0!==i&&i!==Xt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(gt[t]=!!e[t])})),gt.allowStateReads=!gt.observableRequiresReaction,e.reactionScheduler&&function(e){var t=Tt;Tt=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function en(e,t,n,r){var i=N(t);return Er((function(){var t=ir(e,r)[Z];k(i).forEach((function(e){t.extend_(e,i[e],!n||(!(e in n)||n[e]))}))})),e}function tn(e,t){return nn(wr(e,t))}function nn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(nn)),n}var rn=0;function on(){this.message="FLOW_CANCELLED"}on.prototype=Object.create(Error.prototype);var an=re("flow"),sn=re("flow.bound",{bound:!0}),ln=Object.assign((function(e,t){if(z(t))return an.decorate_20223_(e,t);if(C(t))return H(e,t,an);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++rn,o=Lt(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Lt(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(l){return n(l)}u(t)}function c(e){var t;a=void 0;try{t=Lt(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(l){return n(l)}u(t)}function u(e){if(!v(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)}));return s.cancel=Lt(r+" - runid: "+i+" - cancel",(function(){try{a&&cn(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(g,g),cn(n),e(new on)}catch(r){e(r)}})),s};return i.isMobXFlow=!0,i}),an);function cn(e){v(e.cancel)&&e.cancel()}function un(e){return!0===(null==e?void 0:e.isMobXFlow)}function dn(e,t){if(void 0===t)return et(e);if(!1===sr(e))return!1;if(!e[Z].values_.has(t))return!1;var n=wr(e,t);return et(n)}function hn(e,t){return dn(e,t)}function pn(e,t){return!!e&&(void 0!==t?!!sr(e)&&e[Z].values_.has(t):sr(e)||!!e[Z]||q(e)||Pt(e)||et(e))}function fn(e){return pn(e)}function mn(e){return sr(e)?e[Z].keys_():Xn(e)||er(e)?Array.from(e.keys()):qn(e)?e.map((function(e,t){return t})):void r(5)}function gn(e){return sr(e)?mn(e).map((function(t){return e[t]})):Xn(e)?mn(e).map((function(t){return e.get(t)})):er(e)?Array.from(e.values()):qn(e)?e.slice():void r(6)}function vn(e,t,n){if(2!==arguments.length||er(e))sr(e)?e[Z].set_(t,n):Xn(e)?e.set(t,n):er(e)?e.add(t):qn(e)?("number"!==typeof t&&(t=parseInt(t,10)),t<0&&r("Invalid index: '"+t+"'"),bt(),t>=e.length&&(e.length=t+1),e[t]=n,wt()):r(8);else{bt();var i=t;try{for(var o in i)vn(e,o,i[o])}finally{wt()}}}function Cn(e,t){sr(e)?e[Z].delete_(t):Xn(e)||er(e)?e.delete(t):qn(e)?("number"!==typeof t&&(t=parseInt(t,10)),e.splice(t,1)):r(9)}function yn(e,t){if(function(e,t){return sr(e)?e[Z].has_(t):Xn(e)||er(e)?e.has(t):qn(e)?t>=0&&t<e.length:void r(10)}(e,t))return sr(e)?e[Z].get_(t):Xn(e)?e.get(t):qn(e)?e[t]:void r(11)}function bn(e,t,n){return e.set(t,n),n}function wn(e,t){if(null==e||"object"!==typeof e||e instanceof Date||!fn(e))return e;if(Ye(e)||et(e))return wn(e.get(),t);if(t.has(e))return t.get(e);if(qn(e)){var n=bn(t,e,new Array(e.length));return e.forEach((function(e,r){n[r]=wn(e,t)})),n}if(er(e)){var i=bn(t,e,new Set);return e.forEach((function(e){i.add(wn(e,t))})),i}if(Xn(e)){var o=bn(t,e,new Map);return e.forEach((function(e,n){o.set(n,wn(e,t))})),o}var a=bn(t,e,{});return function(e){if(sr(e))return e[Z].ownKeys_();r(38)}(e).forEach((function(n){c.propertyIsEnumerable.call(e,n)&&(a[n]=wn(e[n],t))})),a}function xn(e,t){return wn(e,new Map)}function An(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{wt()}}function En(e){return e[Z]}ln.bound=V(sn);var _n={has:function(e,t){return En(e).has_(t)},get:function(e,t){return En(e).get_(t)},set:function(e,t,n){var r;return!!C(t)&&(null==(r=En(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!C(t)&&(null==(n=En(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=En(e).defineProperty_(t,n))||r},ownKeys:function(e){return En(e).ownKeys_()},preventExtensions:function(e){r(13)}};function Tn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Sn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function kn(e,t){var n=lt();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((t=i[o](t))&&!t.type&&r(14),t);o++);return t}finally{ct(n)}}function Pn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Dn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Nn(e,t){var n=lt(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);ct(n)}}function Fn(e,t,n){return Er((function(){var r=ir(e,n)[Z];null!=t||(t=function(e){return D(e,U)||x(e,U,O({},e[U])),e[U]}(e)),k(t).forEach((function(e){return r.make_(e,t[e])}))})),e}var In=Symbol("mobx-keys");function Rn(e,t,n){return b(e)?en(e,e,t,n):(Er((function(){var r=ir(e,n)[Z];if(!e[In]){var i=Object.getPrototypeOf(e),o=new Set([].concat(k(e),k(i)));o.delete("constructor"),o.delete(Z),x(i,In,o)}e[In].forEach((function(e){return r.make_(e,!t||(!(e in t)||t[e]))}))})),e)}var Mn="splice",On="update",jn={get:function(e,t){var n=e[Z];return t===Z?n:"length"===t?n.getArrayLength_():"string"!==typeof t||isNaN(t)?D(Un,t)?Un[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[Z];return"length"===t&&r.setArrayLength_(n),"symbol"===typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},Ln=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new W(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Sn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Dn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&yr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=u),Tn(this)){var o=kn(this,{object:this.proxy_,type:Mn,index:e,removedCount:t,added:n});if(!o)return u;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=Pn(this),o=i||r?{observableKind:"array",object:this.proxy_,type:On,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&Nn(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=Pn(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Mn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&Nn(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(Tn(this)){var o=kn(this,{type:On,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function Bn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),f(),Er((function(){var i=new Ln(n,t,r,!1);A(i.values_,Z,i);var o=new Proxy(i.values_,jn);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o}))}var Un={clear:function(){return this.splice(0)},replace:function(e){var t=this[Z];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[Z];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[Z].spliceWithArray_(e,t,n)},push:function(){for(var e=this[Z],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[Z].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Z],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return gt.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){gt.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Z],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Vn(e,t){"function"===typeof Array.prototype[e]&&(Un[e]=t(e))}function Hn(e){return function(){var t=this[Z];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function zn(e){return function(t,n){var r=this,i=this[Z];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function Zn(e){return function(){var t=this,n=this[Z];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}Vn("at",Hn),Vn("concat",Hn),Vn("flat",Hn),Vn("includes",Hn),Vn("indexOf",Hn),Vn("join",Hn),Vn("lastIndexOf",Hn),Vn("slice",Hn),Vn("toString",Hn),Vn("toLocaleString",Hn),Vn("toSorted",Hn),Vn("toSpliced",Hn),Vn("with",Hn),Vn("every",zn),Vn("filter",zn),Vn("find",zn),Vn("findIndex",zn),Vn("findLast",zn),Vn("findLastIndex",zn),Vn("flatMap",zn),Vn("forEach",zn),Vn("map",zn),Vn("some",zn),Vn("toReversed",zn),Vn("reduce",Zn),Vn("reduceRight",Zn);var Wn=E("ObservableArrayAdministration",Ln);function qn(e){return y(e)&&Wn(e[Z])}var Gn={},Yn="add",Kn="delete",Qn=function(){function e(e,t,n){var i=this;void 0===t&&(t=K),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Z]=Gn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,v(Map)||r(18),Er((function(){i.keysAtom_=G("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!gt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Ge(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Yt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Tn(this)){var r=kn(this,{type:n?On:Yn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,Tn(this))&&!kn(this,{type:Kn,object:this,name:e}))return!1;if(this.has_(e)){var n=Pn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Kn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return An((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Nn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==gt.UNCHANGED){var r=Pn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:On,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&Nn(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,An((function(){var r,i=new Ge(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=Pn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Yn,object:this,name:e,newValue:t}:null;r&&Nn(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Pr({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Pr({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=M(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Xn(e)&&(e=new Map(e)),An((function(){b(e)?function(e){var t=Object.keys(e);if(!S)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):_(e)?(function(e){var t=Object.getPrototypeOf(e),n=Object.getPrototypeOf(t);return null===Object.getPrototypeOf(n)}(e)||r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&r(20,e)})),this},t.clear=function(){var e=this;An((function(){st((function(){for(var t,n=M(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return An((function(){for(var n,i=function(e){if(_(e)||Xn(e))return e;if(Array.isArray(e))return new Map(e);if(b(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),o=new Map,a=!1,s=M(t.data_.keys());!(n=s()).done;){var l=n.value;if(!i.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);o.set(l,c)}}for(var u,d=M(i.entries());!(u=d()).done;){var h=u.value,p=h[0],f=h[1],m=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var g=t.data_.get(p);o.set(p,g),m||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),C=o.keys(),y=v.next(),w=C.next();!y.done;){if(y.value!==w.value){t.keysAtom_.reportChanged();break}y=v.next(),w=C.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Dn(this,e)},t.intercept_=function(e){return Sn(this,e)},R(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Xn=E("ObservableMap",Qn);var Jn={},$n=function(){function e(e,t,n){var i=this;void 0===t&&(t=K),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[Z]=Jn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,v(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},Er((function(){i.atom_=G(i.name_),e&&i.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;An((function(){st((function(){for(var t,n=M(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=M(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if((this.atom_,Tn(this))&&!kn(this,{type:Yn,object:this,newValue:e}))return this;if(!this.has(e)){An((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=Pn(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:Yn,object:this,newValue:e}:null;n,r&&Nn(this,i)}return this},t.delete=function(e){var t=this;if(Tn(this)&&!kn(this,{type:Kn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Pn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Kn,object:this,oldValue:e}:null;return An((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Nn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Pr({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return Pr({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.intersection=function(e){return T(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return T(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return T(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return T(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return er(e)&&(e=new Set(e)),An((function(){Array.isArray(e)||T(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!==e&&void 0!==e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return Dn(this,e)},t.intercept_=function(e){return Sn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},R(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),er=E("ObservableSet",$n),tr=Object.create(null),nr="remove",rr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ve),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new W("ObservableObject.keys"),this.isPlainObject_=b(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Xe)return n.set(t),!0;if(Tn(this)){var r=kn(this,{type:On,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==gt.UNCHANGED){var i=Pn(this),o=i?{type:On,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),i&&Nn(this,o)}return!0},t.get_=function(e){return gt.trackingDerivation&&!D(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),D(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!gt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Ge(e in this.target_,Q,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(cr(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[U])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==c;){var o=s(i,e);if(o){var a=t.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}lr(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);cr(this,n,e);var i=n.extend_(this,e,t,r);return i&&lr(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(Tn(this)){var i=kn(this,{object:this.proxy_||this.target_,name:e,type:Yn,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=O({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{wt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var i=this.delete_(e);if(!i)return i;if(Tn(this)){var o=kn(this,{object:this.proxy_||this.target_,name:e,type:Yn,newValue:t});if(!o)return null;t=o.newValue}var a=ar(e),s={configurable:!gt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var c=new Ge(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{wt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(Tn(this))if(!kn(this,{object:this.proxy_||this.target_,name:e,type:Yn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=ar(e),o={configurable:!gt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else l(this.target_,e,o);this.values_.set(e,new Xe(t)),this.notifyPropertyAddition_(e,void 0)}finally{wt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!D(this.target_,e))return!0;if(Tn(this)&&!kn(this,{object:this.proxy_||this.target_,name:e,type:nr}))return null;try{var n;bt();var r,i=Pn(this),o=this.values_.get(e),a=void 0;if(!o&&i)a=null==(r=s(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof Ge&&(a=o.value_),At(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var l={type:nr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};0,i&&Nn(this,l)}}finally{wt()}return!0},t.observe_=function(e,t){return Dn(this,e)},t.intercept_=function(e){return Sn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=Pn(this);if(r){var i=r?{type:Yn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,r&&Nn(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),k(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function ir(e,t){var n;if(D(e,Z))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new rr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ce(e):void 0}(t));return x(e,Z,i),e}var or=E("ObservableObjectAdministration",rr);function ar(e){return tr[e]||(tr[e]={get:function(){return this[Z].getObservablePropValue_(e)},set:function(t){return this[Z].setObservablePropValue_(e,t)}})}function sr(e){return!!y(e)&&or(e[Z])}function lr(e,t,n){var r;null==(r=e.target_[U])||delete r[n]}function cr(e,t,n){}var ur,dr,hr=vr(0),pr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),fr=0,mr=function(){};ur=mr,dr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ur.prototype,dr):void 0!==ur.prototype.__proto__?ur.prototype.__proto__=dr:ur.prototype=dr;var gr=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,Er((function(){var e=new Ln(r,n,i,!0);e.proxy_=o,A(o,Z,e),t&&t.length&&o.spliceWithArray(0,0,t),pr&&Object.defineProperty(o,"0",hr)})),o}j(t,e);var n=t.prototype;return n.concat=function(){this[Z].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return qn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return Pr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},R(t,[{key:"length",get:function(){return this[Z].getArrayLength_()},set:function(e){this[Z].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(mr);function vr(e){return{enumerable:!1,configurable:!0,get:function(){return this[Z].get_(e)},set:function(t){this[Z].set_(e,t)}}}function Cr(e){l(gr.prototype,""+e,vr(e))}function yr(e){if(e>fr){for(var t=fr;t<e+100;t++)Cr(t);fr=e}}function br(e,t,n){return new gr(e,t,n)}function wr(e,t){if("object"===typeof e&&null!==e){if(qn(e))return void 0!==t&&r(23),e[Z].atom_;if(er(e))return e.atom_;if(Xn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,Ar(e)),n}if(sr(e)){if(!t)return r(26);var i=e[Z].values_.get(t);return i||r(27,t,Ar(e)),i}if(q(e)||et(e)||Pt(e))return e}else if(v(e)&&Pt(e[Z]))return e[Z];r(28)}function xr(e,t){return e||r(29),void 0!==t?xr(wr(e,t)):q(e)||et(e)||Pt(e)||Xn(e)||er(e)?e:e[Z]?e[Z]:void r(24,e)}function Ar(e,t){var n;if(void 0!==t)n=wr(e,t);else{if(Vt(e))return e.name;n=sr(e)||Xn(e)||er(e)?xr(e):wr(e)}return n.name_}function Er(e){var t=lt(),n=We(!0);bt();try{return e()}finally{wt(),qe(n),ct(t)}}Object.entries(Un).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(gr.prototype,t,n)})),yr(1e3);var _r=c.toString;function Tr(e,t,n){return void 0===n&&(n=-1),Sr(e,t,n)}function Sr(e,t,n,r,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=_r.call(e);if(a!==_r.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=kr(e),t=kr(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(v(l)&&l instanceof l&&v(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return i[u]===t;if(r.push(e),i.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!Sr(e[u],t[u],n-1,r,i))return!1}else{var d,h=Object.keys(e);if(u=h.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!D(t,d=h[u])||!Sr(e[d],t[d],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function kr(e){return qn(e)?e.slice():_(e)||Xn(e)||T(e)||er(e)?Array.from(e.entries()):e}function Pr(e){return e[Symbol.iterator]=Dr,e}function Dr(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof o()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Ar},$mobx:Z})},4377:function(e,t,n){var r,i;r=function(){var e,t,n="2.0.6",r={},i={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},a={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function s(e,t){this._input=e,this._value=t}return(e=function(n){var i,o,l,c;if(e.isNumeral(n))i=n.value();else if(0===n||"undefined"===typeof n)i=0;else if(null===n||t.isNaN(n))i=null;else if("string"===typeof n)if(a.zeroFormat&&n===a.zeroFormat)i=0;else if(a.nullFormat&&n===a.nullFormat||!n.replace(/[^0-9]+/g,"").length)i=null;else{for(o in r)if((c="function"===typeof r[o].regexps.unformat?r[o].regexps.unformat():r[o].regexps.unformat)&&n.match(c)){l=r[o].unformat;break}i=(l=l||e._.stringToNumber)(n)}else i=Number(n)||null;return new s(n,i)}).version=n,e.isNumeral=function(e){return e instanceof s},e._=t={numberToFormat:function(t,n,r){var o,a,s,l,c,u,d,h=i[e.options.currentLocale],p=!1,f=!1,m=0,g="",v=1e12,C=1e9,y=1e6,b=1e3,w="",x=!1;if(t=t||0,a=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(g=" "),n=n.replace(new RegExp(g+"a[kmbt]?"),""),a>=v&&!o||"t"===o?(g+=h.abbreviations.trillion,t/=v):a<v&&a>=C&&!o||"b"===o?(g+=h.abbreviations.billion,t/=C):a<C&&a>=y&&!o||"m"===o?(g+=h.abbreviations.million,t/=y):(a<y&&a>=b&&!o||"k"===o)&&(g+=h.abbreviations.thousand,t/=b)),e._.includes(n,"[.]")&&(f=!0,n=n.replace("[.]",".")),s=t.toString().split(".")[0],l=n.split(".")[1],u=n.indexOf(","),m=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,l?(e._.includes(l,"[")?(l=(l=l.replace("]","")).split("["),w=e._.toFixed(t,l[0].length+l[1].length,r,l[1].length)):w=e._.toFixed(t,l.length,r),s=w.split(".")[0],w=e._.includes(w,".")?h.delimiters.decimal+w.split(".")[1]:"",f&&0===Number(w.slice(1))&&(w="")):s=e._.toFixed(t,0,r),g&&!o&&Number(s)>=1e3&&g!==h.abbreviations.trillion)switch(s=String(Number(s)/1e3),g){case h.abbreviations.thousand:g=h.abbreviations.million;break;case h.abbreviations.million:g=h.abbreviations.billion;break;case h.abbreviations.billion:g=h.abbreviations.trillion}if(e._.includes(s,"-")&&(s=s.slice(1),x=!0),s.length<m)for(var A=m-s.length;A>0;A--)s="0"+s;return u>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),0===n.indexOf(".")&&(s=""),d=s+w+(g||""),p?d=(p&&x?"(":"")+d+(p&&x?")":""):c>=0?d=0===c?(x?"-":"+")+d:d+(x?"-":"+"):x&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,o=i[a.currentLocale],s=e,l={thousand:3,million:6,billion:9,trillion:12};if(a.zeroFormat&&e===a.zeroFormat)n=0;else if(a.nullFormat&&e===a.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==o.delimiters.decimal&&(e=e.replace(/\./g,"").replace(o.delimiters.decimal,".")),l)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[t]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),s.match(r)){n*=Math.pow(10,l[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"===typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o<i&&!(o in r);)o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=t(n,r[o],o,r));return n},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(e,n){var r=t.multiplier(n);return e>r?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,l=e.toString().split("."),c=t-(r||0);return i=2===l.length?Math.min(Math.max(l[1].length,c),t):c,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=a,e.formats=r,e.locales=i,e.locale=function(e){return e&&(a.currentLocale=e.toLowerCase()),a.currentLocale},e.localeData=function(e){if(!e)return i[a.currentLocale];if(e=e.toLowerCase(),!i[e])throw new Error("Unknown locale : "+e);return i[e]},e.reset=function(){for(var e in o)a[e]=o[e]},e.zeroFormat=function(e){a.zeroFormat="string"===typeof e?e:null},e.nullFormat=function(e){a.nullFormat="string"===typeof e?e:null},e.defaultFormat=function(e){a.defaultFormat="string"===typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,l,c,u;if("string"!==typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(d){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(u=t.match(/^[^\d]+/))||(t=t.substr(1),u[0]===o))&&(null===(u=t.match(/[^\d]+$/))||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(i+"{2}"),!t.match(/[^\d.,]/g)&&!((a=t.split(r)).length>2)&&(a.length<2?!!a[0].match(/^\d+.*\d$/)&&!a[0].match(l):1===a[0].length?!!a[0].match(/^\d+$/)&&!a[0].match(l)&&!!a[1].match(/^\d+$/):!!a[0].match(/^\d+.*\d$/)&&!a[0].match(l)&&!!a[1].match(/^\d+$/)))},e.fn=s.prototype={clone:function(){return e(this)},format:function(t,n){var i,o,s,l=this._value,c=t||a.defaultFormat;if(n=n||Math.round,0===l&&null!==a.zeroFormat)o=a.zeroFormat;else if(null===l&&null!==a.nullFormat)o=a.nullFormat;else{for(i in r)if(c.match(r[i].regexps.format)){s=r[i].format;break}o=(s=s||e._.numberToFormat)(l,c,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e+Math.round(n*t)}return this._value=t.reduce([this._value,e],r,0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e-Math.round(n*t)}return this._value=t.reduce([e],r,Math.round(this._value*n))/n,this},multiply:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}return this._value=t.reduce([this._value,e],n,1),this},divide:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}return this._value=t.reduce([this._value,e],n),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),function(){var t={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},n={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},r=t.suffixes.concat(n.suffixes.filter((function(e){return t.suffixes.indexOf(e)<0}))).join("|");r="("+r.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(r)},format:function(r,i,o){var a,s,l,c=e._.includes(i,"ib")?n:t,u=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),l=Math.pow(c.base,a+1),null===r||0===r||r>=s&&r<l){u+=c.suffixes[a],s>0&&(r/=s);break}return e._.numberToFormat(r,i,o)+u},unformat:function(r){var i,o,a=e._.stringToNumber(r);if(a){for(i=t.suffixes.length-1;i>=0;i--){if(e._.includes(r,t.suffixes[i])){o=Math.pow(t.base,i);break}if(e._.includes(r,n.suffixes[i])){o=Math.pow(n.base,i);break}}a*=o||1}return a}})}(),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":i=e._.insert(i,a.currency.symbol,o);break;case" ":i=e._.insert(i," ",o+a.currency.symbol.length-1)}for(o=s.after.length-1;o>=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!==typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],o,1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(i="function"===typeof r?r.call(t,n,t,e):r)||(e.exports=i)},45006:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},58706:(module,__unused_webpack_exports,__webpack_require__)=>{var _defineProperty=__webpack_require__(58212).default,_classPrivateMethodInitSpec=__webpack_require__(89333).default,_classPrivateFieldInitSpec=__webpack_require__(98740).default,_classPrivateFieldSet=__webpack_require__(13675).default,_classPrivateFieldGet=__webpack_require__(19159).default,_assertClassBrand=__webpack_require__(66337).default,factory;globalThis,factory=()=>(()=>{"use strict";var __webpack_modules__=[,(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.StreamType=t.RenderingIntentFlag=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.arrayByteLength=u,t.arraysToBytes=function(e){const t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];let n=0;for(let o=0;o<t;o++)n+=u(e[o]);let r=0;const i=new Uint8Array(n);for(let o=0;o<t;o++){let t=e[o];t instanceof Uint8Array||(t="string"===typeof t?c(t):new Uint8Array(t));const n=t.byteLength;i.set(t,r),r+=n}return i},t.assert=function(e,t){e||a(t)},t.bytesToString=function(e){"object"===typeof e&&null!==e&&void 0!==e.length||a("Invalid argument for bytesToString");const t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);const r=[];for(let i=0;i<t;i+=n){const o=Math.min(i+n,t),a=e.subarray(i,o);r.push(String.fromCharCode.apply(null,a))}return r.join("")},t.createPromiseCapability=function(){const e=Object.create(null);let t=!1;return Object.defineProperty(e,"settled",{get:()=>t}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.createValidAbsoluteUrl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(n&&"string"===typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t&&t.length>=2&&(e="http://".concat(e))}if(n.tryConvertEncoding)try{e=f(e)}catch(r){}}const i=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch(r){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(e=>"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)))},t.getModificationDate=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return i},t.info=function(e){i>=r.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===typeof e&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.objectFromMap=function(e){const t=Object.create(null);for(const[n,r]of e)t[n]=r;return t},t.objectSize=function(e){return Object.keys(e).length},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(i=e)},t.shadow=s,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=c,t.stringToPDFString=function(e){if(e[0]>="\xef"){let t;if("\xfe"===e[0]&&"\xff"===e[1]?t="utf-16be":"\xff"===e[0]&&"\xfe"===e[1]?t="utf-16le":"\xef"===e[0]&&"\xbb"===e[1]&&"\xbf"===e[2]&&(t="utf-8"),t)try{const n=new TextDecoder(t,{fatal:!0}),r=c(e);return n.decode(r)}catch(n){o('stringToPDFString: "'.concat(n,'".'))}}const t=[];for(let r=0,i=e.length;r<i;r++){const n=p[e.charCodeAt(r)];t.push(n?String.fromCharCode(n):e.charAt(r))}return t.join("")},t.stringToUTF16BEString=function(e){const t=["\xfe\xff"];for(let n=0,r=e.length;n<r;n++){const r=e.charCodeAt(n);t.push(String.fromCharCode(r>>8&255),String.fromCharCode(255&r))}return t.join("")},t.stringToUTF8String=f,t.unreachable=a,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=o,n(2),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.LINE_FACTOR=1.35,t.LINE_DESCENT_FACTOR=.35,t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.AnnotationEditorPrefix="pdfjs_internal_editor_",t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},t.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const r={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=r,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let i=r.WARNINGS;function o(e){i>=r.WARNINGS&&console.log("Warning: ".concat(e))}function a(e){throw new Error(e)}function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}const l=function(){function e(t,n){this.constructor===e&&a("Cannot initialize BaseException."),this.message=t,this.name=n}return e.prototype=new Error,e.constructor=e,e}();function c(e){"string"!==typeof e&&a("Invalid argument for stringToBytes");const t=e.length,n=new Uint8Array(t);for(let r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function u(e){return void 0!==e.length?e.length:void 0!==e.byteLength?e.byteLength:void a("Invalid argument for arrayByteLength")}t.BaseException=l,t.PasswordException=class extends l{constructor(e,t){super(e,"PasswordException"),this.code=t}},t.UnknownErrorException=class extends l{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}},t.InvalidPDFException=class extends l{constructor(e){super(e,"InvalidPDFException")}},t.MissingPDFException=class extends l{constructor(e){super(e,"MissingPDFException")}},t.UnexpectedResponseException=class extends l{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}},t.FormatError=class extends l{constructor(e){super(e,"FormatError")}},t.AbortException=class extends l{constructor(e){super(e,"AbortException")}},t.FeatureTest=class{static get isLittleEndian(){return s(this,"isLittleEndian",function(){const e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return s(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}static get isOffscreenCanvasSupported(){return s(this,"isOffscreenCanvasSupported","undefined"!==typeof OffscreenCanvas)}};const d=[...Array(256).keys()].map((e=>e.toString(16).padStart(2,"0")));class h{static makeHexColor(e,t,n){return"#".concat(d[e]).concat(d[t]).concat(d[n])}static scaleMinMax(e,t){let n;e[0]?(e[0]<0&&(n=t[0],t[0]=t[1],t[1]=n),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(n=t[2],t[2]=t[3],t[3]=n),t[2]*=e[3],t[3]*=e[3]):(n=t[0],t[0]=t[2],t[2]=n,n=t[1],t[1]=t[3],t[3]=n,e[1]<0&&(n=t[2],t[2]=t[3],t[3]=n),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(n=t[0],t[0]=t[1],t[1]=n),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=h.applyTransform(e,t),r=h.applyTransform(e.slice(2,4),t),i=h.applyTransform([e[0],e[3]],t),o=h.applyTransform([e[2],e[1]],t);return[Math.min(n[0],r[0],i[0],o[0]),Math.min(n[1],r[1],i[1],o[1]),Math.max(n[0],r[0],i[0],o[0]),Math.max(n[1],r[1],i[1],o[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static apply3dTransform(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],a=(n+o)/2,s=Math.sqrt((n+o)**2-4*(n*o-i*r))/2,l=a+s||1,c=a-s||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){const n=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),r=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(n>r)return null;const i=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),o=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return i>o?null:[n,i,r,o]}static bezierBoundingBox(e,t,n,r,i,o,a,s){const l=[],c=[[],[]];let u,d,h,p,f,m,g,v;for(let w=0;w<2;++w)if(0===w?(d=6*e-12*n+6*i,u=-3*e+9*n-9*i+3*a,h=3*n-3*e):(d=6*t-12*r+6*o,u=-3*t+9*r-9*o+3*s,h=3*r-3*t),Math.abs(u)<1e-12){if(Math.abs(d)<1e-12)continue;p=-h/d,0<p&&p<1&&l.push(p)}else g=d*d-4*h*u,v=Math.sqrt(g),g<0||(f=(-d+v)/(2*u),0<f&&f<1&&l.push(f),m=(-d-v)/(2*u),0<m&&m<1&&l.push(m));let C,y=l.length;const b=y;for(;y--;)p=l[y],C=1-p,c[0][y]=C*C*C*e+3*C*C*p*n+3*C*p*p*i+p*p*p*a,c[1][y]=C*C*C*t+3*C*C*p*r+3*C*p*p*o+p*p*p*s;return c[0][b]=e,c[1][b]=t,c[0][b+1]=a,c[1][b+1]=s,c[0].length=c[1].length=b+2,[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}t.Util=h;const p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function f(e){return decodeURIComponent(escape(e))}},(e,t,n)=>{n(3)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;const n="object"===typeof process&&process+""==="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:e,NodeCMapReaderFactory:t,NodeStandardFontDataFactory:n}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=e,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=t,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=n}function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){const t=new PDFDocumentLoadingTask;let n;if("string"===typeof e||e instanceof URL)n={url:e};else if((0,_util.isArrayBuffer)(e))n={data:e};else if(e instanceof PDFDataRangeTransport)n={range:e};else{if("object"!==typeof e)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");n=e}const r=Object.create(null);let i=null,o=null;for(const l in n){const e=n[l];switch(l){case"url":if("undefined"!==typeof window)try{r[l]=new URL(e,window.location).href;continue}catch(s){(0,_util.warn)('Cannot create valid URL: "'.concat(s,'".'))}else if("string"===typeof e||e instanceof URL){r[l]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":o=e;continue;case"data":if(_is_node.isNodeJS&&"undefined"!==typeof Buffer&&e instanceof Buffer)r[l]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"===typeof e)r[l]=(0,_util.stringToBytes)(e);else if("object"!==typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");r[l]=new Uint8Array(e)}else r[l]=new Uint8Array(e)}continue}r[l]=e}if(r.CMapReaderFactory=r.CMapReaderFactory||DefaultCMapReaderFactory,r.StandardFontDataFactory=r.StandardFontDataFactory||DefaultStandardFontDataFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,r.enableXfa=!0===r.enableXfa,(!Number.isInteger(r.rangeChunkSize)||r.rangeChunkSize<1)&&(r.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!==typeof r.docBaseUrl||(0,_display_utils.isDataScheme)(r.docBaseUrl))&&(r.docBaseUrl=null),(!Number.isInteger(r.maxImageSize)||r.maxImageSize<-1)&&(r.maxImageSize=-1),"string"!==typeof r.cMapUrl&&(r.cMapUrl=null),"string"!==typeof r.standardFontDataUrl&&(r.standardFontDataUrl=null),"boolean"!==typeof r.useWorkerFetch&&(r.useWorkerFetch=r.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&r.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!==typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!==typeof r.disableFontFace&&(r.disableFontFace=_is_node.isNodeJS),"boolean"!==typeof r.useSystemFonts&&(r.useSystemFonts=!_is_node.isNodeJS&&!r.disableFontFace),"object"===typeof r.ownerDocument&&null!==r.ownerDocument||(r.ownerDocument=globalThis.document),"boolean"!==typeof r.disableRange&&(r.disableRange=!1),"boolean"!==typeof r.disableStream&&(r.disableStream=!1),"boolean"!==typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!o){const e={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};o=e.port?PDFWorker.fromPort(e):new PDFWorker(e),t._worker=o}const a=t.docId;return o.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");const e=_fetchDocument(o,r,i,a),n=new Promise((function(e){let t;i?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,contentDispositionFilename:r.contentDispositionFilename,disableRange:r.disableRange,disableStream:r.disableStream},i):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,n]).then((function(e){let[n,i]=e;if(t.destroyed)throw new Error("Loading aborted");const s=new _message_handler.MessageHandler(a,n,o.port),l=new WorkerTransport(s,t,i,r);t._transport=l,s.send("Ready",null)}))})).catch(t._capability.reject),t}async function _fetchDocument(e,t,n,r){if(e.destroyed)throw new Error("Worker was destroyed");n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone,t.contentDispositionFilename=n.contentDispositionFilename);const i=await e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.16.105",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties,enableXfa:t.enableXfa,useSystemFonts:t.useSystemFonts,cMapUrl:t.useWorkerFetch?t.cMapUrl:null,standardFontDataUrl:t.useWorkerFetch?t.standardFontDataUrl:null});if(t.data&&(t.data=null),e.destroyed)throw new Error("Worker was destroyed");return i}class PDFDocumentLoadingTask{constructor(){var e,t;this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d".concat((_docId._=(e=_docId._,t=e++,e),t)),this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){var e;this.destroyed=!0,await(null===(e=this._transport)||void 0===e?void 0:e.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}var _docId={_:0};exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(e,t){this._pdfInfo=e,this._transport=t,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];this._pageIndex=e,this._pageInfo=t,this._ownerDocument=r,this._transport=n,this._stats=i?new _display_utils.StatTimer:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport(){let{scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:r=0,dontFlip:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new _display_utils.PageViewport({viewBox:this.view,scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:i})}getAnnotations(){let{intent:e="display"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._transport.getRenderingIntent(e);let n=this._annotationPromises.get(t.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,t.renderingIntent),this._annotationPromises.set(t.cacheKey,n),n=n.then((e=>{for(const t of e)void 0!==t.titleObj&&Object.defineProperty(t,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),t.titleObj.str)}),void 0!==t.contentsObj&&Object.defineProperty(t,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),t.contentsObj.str)});return e}))),n}getJSActions(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}async getXfa(){var e;return(null===(e=this._transport._htmlForXfa)||void 0===e?void 0:e.children[this._pageIndex])||null}render(e){var t,n,r;let{canvasContext:i,viewport:o,intent:a="display",annotationMode:s=_util.AnnotationMode.ENABLE,transform:l=null,imageLayer:c=null,canvasFactory:u=null,background:d=null,optionalContentConfigPromise:h=null,annotationCanvasMap:p=null,pageColors:f=null,printAnnotationStorage:m=null}=e;void 0!==(null===(t=arguments[0])||void 0===t?void 0:t.renderInteractiveForms)&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&s===_util.AnnotationMode.ENABLE&&(s=_util.AnnotationMode.ENABLE_FORMS)),void 0!==(null===(n=arguments[0])||void 0===n?void 0:n.includeAnnotationStorage)&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&s===_util.AnnotationMode.ENABLE&&(s=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const g=this._transport.getRenderingIntent(a,s,m);this.pendingCleanup=!1,h||(h=this._transport.getOptionalContentConfig());let v=this._intentStates.get(g.cacheKey);v||(v=Object.create(null),this._intentStates.set(g.cacheKey,v)),v.streamReaderCancelTimeout&&(clearTimeout(v.streamReaderCancelTimeout),v.streamReaderCancelTimeout=null);const C=u||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),y=!!(g.renderingIntent&_util.RenderingIntentFlag.PRINT);v.displayReadyCapability||(v.displayReadyCapability=(0,_util.createPromiseCapability)(),v.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(g));const b=e=>{v.renderTasks.delete(w),(this.cleanupAfterRender||y)&&(this.pendingCleanup=!0),this._tryCleanup(),e?(w.capability.reject(e),this._abortOperatorList({intentState:v,reason:e instanceof Error?e:new Error(e)})):w.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},w=new InternalRenderTask({callback:b,params:{canvasContext:i,viewport:o,transform:l,imageLayer:c,background:d},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:p,operatorList:v.operatorList,pageIndex:this._pageIndex,canvasFactory:C,useRequestAnimationFrame:!y,pdfBug:this._pdfBug,pageColors:f});((r=v).renderTasks||(r.renderTasks=new Set)).add(w);const x=w.task;return Promise.all([v.displayReadyCapability.promise,h]).then((e=>{let[t,n]=e;this.pendingCleanup?b():(this._stats&&this._stats.time("Rendering"),w.initializeGraphics({transparency:t,optionalContentConfig:n}),w.operatorListChanged())})).catch(b),x}getOperatorList(){let{intent:e="display",annotationMode:t=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=this._transport.getRenderingIntent(e,t,n,!0);let i,o=this._intentStates.get(r.cacheKey);var a;return o||(o=Object.create(null),this._intentStates.set(r.cacheKey,o)),o.opListReadCapability||(i=Object.create(null),i.operatorListChanged=function(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(i))},o.opListReadCapability=(0,_util.createPromiseCapability)(),((a=o).renderTasks||(a.renderTasks=new Set)).add(i),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(r)),o.opListReadCapability.promise}streamTextContent(){let{disableCombineTextItems:e=!1,includeMarkedContent:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==e,includeMarkedContent:!0===t},{highWaterMark:100,size:e=>e.items.length})}getTextContent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then((e=>_xfa_text.XfaText.textContent(e)));const t=this.streamTextContent(e);return new Promise((function(e,n){const r=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){r.read().then((function(n){let{value:r,done:o}=n;o?e(i):(Object.assign(i.styles,r.styles),i.items.push(...r.items),t())}),n)}()}))}getStructTree(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const n of t.renderTasks)e.push(n.completed),n.cancel();this.objs.clear();for(const t of this._bitmaps)t.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(e)}cleanup(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}_tryCleanup(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.pendingCleanup)return!1;for(const{renderTasks:t,operatorList:n}of this._intentStates.values())if(t.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const t of this._bitmaps)t.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(e,t){const n=this._intentStates.get(t);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}_renderPageChunk(e,t){for(let n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk,t.operatorList.separateAnnots=e.separateAnnots;for(const n of t.renderTasks)n.operatorListChanged();e.lastChunk&&this._tryCleanup()}_pumpOperatorList(e){let{renderingIntent:t,cacheKey:n,annotationStorageMap:r}=e;const i=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:n,annotationStorage:r}).getReader(),o=this._intentStates.get(n);o.streamReader=i;const a=()=>{i.read().then((e=>{let{value:t,done:n}=e;n?o.streamReader=null:this._transport.destroyed||(this._renderPageChunk(t,o),a())}),(e=>{if(o.streamReader=null,!this._transport.destroyed){if(o.operatorList){o.operatorList.lastChunk=!0;for(const e of o.renderTasks)e.operatorListChanged();this._tryCleanup()}if(o.displayReadyCapability)o.displayReadyCapability.reject(e);else{if(!o.opListReadCapability)throw e;o.opListReadCapability.reject(e)}}}))};a()}_abortOperatorList(e){let{intentState:t,reason:n,force:r=!1}=e;if(t.streamReader){if(!r){if(t.renderTasks.size>0)return;if(n instanceof _display_utils.RenderingCancelledException)return void(t.streamReaderCancelTimeout=setTimeout((()=>{this._abortOperatorList({intentState:t,reason:n,force:!0}),t.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(t.streamReader.cancel(new _util.AbortException(n.message)).catch((()=>{})),t.streamReader=null,!this._transport.destroyed){for(const[e,n]of this._intentStates)if(n===t){this._intentStates.delete(e);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(e,t){const n={data:structuredClone(e,t)};this._deferred.then((()=>{for(const e of this._listeners)e.call(this,n)}))}addEventListener(e,t){this._listeners.push(t)}removeEventListener(e,t){const n=this._listeners.indexOf(t);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"===typeof document){var _document;const e=null===(_document=document)||void 0===_document||null===(_document=_document.currentScript)||void 0===_document?void 0:_document.src;e&&(PDFWorkerUtil.fallbackWorkerSrc=e.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(e,t){let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch(i){return!1}const r=new URL(t,n);return n.origin===r.origin},PDFWorkerUtil.createCDNWrapper=function(e){const t='importScripts("'.concat(e,'");');return URL.createObjectURL(new Blob([t]))};class PDFWorker{constructor(){let{name:e=null,port:t=null,verbosity:n=(0,_util.getVerbosityLevel)()}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t&&_workerPorts._.has(t))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=e,this.destroyed=!1,this.verbosity=n,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t)return _workerPorts._.set(t,this),void this._initializeFromPort(t);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:t}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,t)||(t=PDFWorkerUtil.createCDNWrapper(new URL(t,window.location).href));const e=new Worker(t),n=new _message_handler.MessageHandler("main","worker",e),r=()=>{e.removeEventListener("error",i),n.destroy(),e.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||r()};e.addEventListener("error",i),n.on("test",(t=>{e.removeEventListener("error",i),this.destroyed?r():t?(this._messageHandler=n,this._port=e,this._webWorker=e,this._readyCapability.resolve(),n.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),n.destroy(),e.terminate())})),n.on("ready",(t=>{if(e.removeEventListener("error",i),this.destroyed)r();else try{o()}catch(n){this._setupFakeWorker()}}));const o=()=>{const e=new Uint8Array;n.send("test",e,[e.buffer])};return void o()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then((e=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const t=new LoopbackPort;this._port=t;const n="fake".concat(PDFWorkerUtil.fakeWorkerId++),r=new _message_handler.MessageHandler(n+"_worker",n,t);e.setup(r,t);const i=new _message_handler.MessageHandler(n,n+"_worker",t);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})})).catch((e=>{this._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(e.message,'".')))}))}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),_workerPorts._.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(e){if(null===e||void 0===e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return _assertClassBrand(PDFWorker,this,_workerPorts)._.has(e.port)?_assertClassBrand(PDFWorker,this,_workerPorts)._.get(e.port):new PDFWorker(e)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(t){return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}var _workerPorts={_:new WeakMap};exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap;class WorkerTransport{constructor(e,t,n,r){_classPrivateFieldInitSpec(this,_docStats,null),_classPrivateFieldInitSpec(this,_pageCache,new Map),_classPrivateFieldInitSpec(this,_pagePromises,new Map),_classPrivateFieldInitSpec(this,_metadataPromise,null),this.messageHandler=e,this.loadingTask=t,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:t.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:r.ownerDocument,styleElement:r.styleElement}),this._params=r,r.useWorkerFetch||(this.CMapReaderFactory=new r.CMapReaderFactory({baseUrl:r.cMapUrl,isCompressed:r.cMapPacked}),this.StandardFontDataFactory=new r.StandardFontDataFactory({baseUrl:r.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return _classPrivateFieldGet(_docStats,this)}getRenderingIntent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_util.AnnotationMode.ENABLE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=_util.RenderingIntentFlag.DISPLAY,o=null;switch(e){case"any":i=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":i=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)("getRenderingIntent - invalid intent: ".concat(e))}switch(t){case _util.AnnotationMode.DISABLE:i+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:i+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:i+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,o=(i&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)("getRenderingIntent - invalid annotationMode: ".concat(t))}return r&&(i+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:i,cacheKey:"".concat(i,"_").concat(_annotation_storage.AnnotationStorage.getHash(o)),annotationStorageMap:o}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const e=[];for(const n of _classPrivateFieldGet(_pageCache,this).values())e.push(n._destroy());_classPrivateFieldGet(_pageCache,this).clear(),_classPrivateFieldGet(_pagePromises,this).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const t=this.messageHandler.sendWithPromise("Terminate",null);return e.push(t),Promise.all(e).then((()=>{this.commonObjs.clear(),this.fontLoader.clear(),_classPrivateFieldSet(_metadataPromise,this,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function(e){let{value:n,done:r}=e;r?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(n),"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(n),1,[n]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(e=>{const n=(0,_util.createPromiseCapability)(),r=this._fullReader;return r.headersReady.then((()=>{var e;r.isStreamingSupported&&r.isRangeSupported||(this._lastProgress&&(null===(e=t.onProgress)||void 0===e||e.call(t,this._lastProgress)),r.onProgress=e=>{var n;null===(n=t.onProgress)||void 0===n||n.call(t,{loaded:e.loaded,total:e.total})});n.resolve({isStreamingSupported:r.isStreamingSupported,isRangeSupported:r.isRangeSupported,contentLength:r.contentLength})}),n.reject),n.promise})),e.on("GetRangeReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function(e){let{value:n,done:r}=e;r?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(n),"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(n),1,[n]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(e=>{let{pdfInfo:n}=e;this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,t._capability.resolve(new PDFDocumentProxy(n,this))})),e.on("DocException",(function(e){let n;switch(e.name){case"PasswordException":n=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":n=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":n=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":n=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":n=new _util.UnknownErrorException(e.message,e.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}t._capability.reject(n)})),e.on("PasswordRequest",(e=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),t.onPassword){const r=e=>{e instanceof Error?this._passwordCapability.reject(e):this._passwordCapability.resolve({password:e})};try{t.onPassword(r,e.code)}catch(n){this._passwordCapability.reject(n)}}else this._passwordCapability.reject(new _util.PasswordException(e.message,e.code));return this._passwordCapability.promise})),e.on("DataLoaded",(e=>{var n;null===(n=t.onProgress)||void 0===n||n.call(t,{loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{this.destroyed||_classPrivateFieldGet(_pageCache,this).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(t=>{var n;let[r,i,o]=t;if(!this.destroyed&&!this.commonObjs.has(r))switch(i){case"Font":const t=this._params;if("error"in o){const e=o.error;(0,_util.warn)("Error during font loading: ".concat(e)),this.commonObjs.resolve(r,e);break}let a=null;t.pdfBug&&null!==(n=globalThis.FontInspector)&&void 0!==n&&n.enabled&&(a={registerFont(e,t){globalThis.FontInspector.fontAdded(e,t)}});const s=new _font_loader.FontFaceObject(o,{isEvalSupported:t.isEvalSupported,disableFontFace:t.disableFontFace,ignoreErrors:t.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:a});this.fontLoader.bind(s).catch((t=>e.sendWithPromise("FontFallback",{id:r}))).finally((()=>{!t.fontExtraProperties&&s.data&&(s.data=null),this.commonObjs.resolve(r,s)}));break;case"FontPath":case"Image":this.commonObjs.resolve(r,o);break;default:throw new Error("Got unknown common object type ".concat(i))}})),e.on("obj",(e=>{let[t,n,r,i]=e;if(this.destroyed)return;const o=_classPrivateFieldGet(_pageCache,this).get(n);if(!o.objs.has(t))switch(r){case"Image":o.objs.resolve(t,i);const e=8e6;if(i){let t;if(i.bitmap){const{bitmap:e,width:n,height:r}=i;t=n*r*4,o._bitmaps.add(e)}else{var a;t=(null===(a=i.data)||void 0===a?void 0:a.length)||0}t>e&&(o.cleanupAfterRender=!0)}break;case"Pattern":o.objs.resolve(t,i);break;default:throw new Error("Got unknown object type ".concat(r))}})),e.on("DocProgress",(e=>{var n;this.destroyed||null===(n=t.onProgress)||void 0===n||n.call(t,{loaded:e.loaded,total:e.total})})),e.on("DocStats",(e=>{this.destroyed||_classPrivateFieldSet(_docStats,this,Object.freeze({streamTypes:Object.freeze(e.streamTypes),fontTypes:Object.freeze(e.fontTypes)}))})),e.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),e.on("FetchBuiltInCMap",(e=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(e):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.")))),e.on("FetchStandardFontData",(e=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(e):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter."))))}_onUnsupportedFeature(e){var t,n;let{featureId:r}=e;this.destroyed||null===(t=(n=this.loadingTask).onUnsupportedFeature)||void 0===t||t.call(n,r)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request."));const t=e-1,n=_classPrivateFieldGet(_pagePromises,this).get(t);if(n)return n;const r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((e=>{if(this.destroyed)throw new Error("Transport destroyed");const n=new PDFPageProxy(t,e,this,this._params.ownerDocument,this._params.pdfBug);return _classPrivateFieldGet(_pageCache,this).set(t,n),n}));return _classPrivateFieldGet(_pagePromises,this).set(t,r),r}getPageIndex(e){return"object"!==typeof e||null===e||!Number.isInteger(e.num)||e.num<0||!Number.isInteger(e.gen)||e.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen})}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}saveDocument(){var e,t;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:null!==(e=null===(t=this._fullReader)||void 0===t?void 0:t.filename)&&void 0!==e?e:null}).finally((()=>{this.annotationStorage.resetModified()}))}getFieldObjects(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}hasJSActions(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!==typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((e=>new _optional_content_config.OptionalContentConfig(e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return _classPrivateFieldGet(_metadataPromise,this)||_classPrivateFieldSet(_metadataPromise,this,this.messageHandler.sendWithPromise("GetMetadata",null).then((e=>{var t,n,r,i;return{info:e[0],metadata:e[1]?new _metadata.Metadata(e[1]):null,contentDispositionFilename:null!==(t=null===(n=this._fullReader)||void 0===n?void 0:n.filename)&&void 0!==t?t:null,contentLength:null!==(r=null===(i=this._fullReader)||void 0===i?void 0:i.contentLength)&&void 0!==r?r:null}})))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const e of _classPrivateFieldGet(_pageCache,this).values())if(!e.cleanup())throw new Error("startCleanup: Page ".concat(e.pageNumber," is currently rendering."));this.commonObjs.clear(),e||this.fontLoader.clear(),_classPrivateFieldSet(_metadataPromise,this,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,enableXfa:e.enableXfa})}}var _objs=new WeakMap,_PDFObjects_brand=new WeakSet;class PDFObjects{constructor(){_classPrivateMethodInitSpec(this,_PDFObjects_brand),_classPrivateFieldInitSpec(this,_objs,Object.create(null))}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){const n=_assertClassBrand(_PDFObjects_brand,this,_ensureObj).call(this,e);return n.capability.promise.then((()=>t(n.data))),null}const n=_classPrivateFieldGet(_objs,this)[e];if(null===n||void 0===n||!n.capability.settled)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return n.data}has(e){const t=_classPrivateFieldGet(_objs,this)[e];return(null===t||void 0===t?void 0:t.capability.settled)||!1}resolve(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=_assertClassBrand(_PDFObjects_brand,this,_ensureObj).call(this,e);n.data=t,n.capability.resolve()}clear(){_classPrivateFieldSet(_objs,this,Object.create(null))}}function _ensureObj(e){const t=_classPrivateFieldGet(_objs,this)[e];return t||(_classPrivateFieldGet(_objs,this)[e]={capability:(0,_util.createPromiseCapability)(),data:null})}var _internalRenderTask=new WeakMap;class RenderTask{constructor(e){_classPrivateFieldInitSpec(this,_internalRenderTask,null),_classPrivateFieldSet(_internalRenderTask,this,e),this.onContinue=null}get promise(){return _classPrivateFieldGet(_internalRenderTask,this).capability.promise}cancel(){_classPrivateFieldGet(_internalRenderTask,this).cancel()}get separateAnnots(){const{separateAnnots:e}=_classPrivateFieldGet(_internalRenderTask,this).operatorList;if(!e)return!1;const{annotationCanvasMap:t}=_classPrivateFieldGet(_internalRenderTask,this);return e.form||e.canvas&&(null===t||void 0===t?void 0:t.size)>0}}exports.RenderTask=RenderTask;class InternalRenderTask{constructor(e){let{callback:t,params:n,objs:r,commonObjs:i,annotationCanvasMap:o,operatorList:a,pageIndex:s,canvasFactory:l,useRequestAnimationFrame:c=!1,pdfBug:u=!1,pageColors:d=null}=e;this.callback=t,this.params=n,this.objs=r,this.commonObjs=i,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=l,this._pdfBug=u,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===c&&"undefined"!==typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics(e){var t;let{transparency:n=!1,optionalContentConfig:r}=e;if(this.cancelled)return;if(this._canvas){if(_canvasInUse._.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");_canvasInUse._.add(this._canvas)}this._pdfBug&&null!==(t=globalThis.StepperManager)&&void 0!==t&&t.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:i,viewport:o,transform:a,imageLayer:s,background:l}=this.params;this.gfx=new _canvas.CanvasGraphics(i,this.commonObjs,this.objs,this.canvasFactory,s,r,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:a,viewport:o,transparency:n,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&_canvasInUse._.delete(this._canvas),this.callback(e||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame((()=>{this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&_canvasInUse._.delete(this._canvas),this.callback())))}}var _canvasInUse={_:new WeakSet};const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PrintAnnotationStorage=t.AnnotationStorage=void 0;var r=n(1),i=n(6),o=n(10),a=new WeakSet;class s{constructor(){_classPrivateMethodInitSpec(this,a),this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){const n=this._storage.get(e);return void 0===n?t:Object.assign(t,n)}getRawValue(e){return this._storage.get(e)}remove(e){if(this._storage.delete(e),0===this._storage.size&&this.resetModified(),"function"===typeof this.onAnnotationEditor){for(const e of this._storage.values())if(e instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(e,t){const n=this._storage.get(e);let r=!1;if(void 0!==n)for(const[i,o]of Object.entries(t))n[i]!==o&&(r=!0,n[i]=o);else r=!0,this._storage.set(e,t);r&&_assertClassBrand(a,this,l).call(this),t instanceof i.AnnotationEditor&&"function"===typeof this.onAnnotationEditor&&this.onAnnotationEditor(t.constructor._type)}has(e){return this._storage.has(e)}getAll(){return this._storage.size>0?(0,r.objectFromMap)(this._storage):null}get size(){return this._storage.size}resetModified(){this._modified&&(this._modified=!1,"function"===typeof this.onResetModified&&this.onResetModified())}get print(){return new u(this)}get serializable(){if(0===this._storage.size)return null;const e=new Map;for(const[t,n]of this._storage){const r=n instanceof i.AnnotationEditor?n.serialize():n;r&&e.set(t,r)}return e}static getHash(e){if(!e)return"";const t=new o.MurmurHash3_64;for(const[n,r]of e)t.update("".concat(n,":").concat(JSON.stringify(r)));return t.hexdigest()}}function l(){this._modified||(this._modified=!0,"function"===typeof this.onSetModified&&this.onSetModified())}t.AnnotationStorage=s;var c=new WeakMap;class u extends s{constructor(e){super(),_classPrivateFieldInitSpec(this,c,null),_classPrivateFieldSet(c,this,structuredClone(e.serializable))}get print(){(0,r.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return _classPrivateFieldGet(c,this)}}t.PrintAnnotationStorage=u},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationEditor=void 0;var r=n(7),i=n(1),o=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap;class d{constructor(e){_classPrivateFieldInitSpec(this,o,this.focusin.bind(this)),_classPrivateFieldInitSpec(this,a,this.focusout.bind(this)),_classPrivateFieldInitSpec(this,s,!1),_classPrivateFieldInitSpec(this,l,!1),_classPrivateFieldInitSpec(this,c,!1),_classPrivateFieldInitSpec(this,u,d._zIndex++),this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null;const[t,n]=this.parent.viewportBaseDimensions;this.x=e.x/t,this.y=e.y/n,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=_classPrivateFieldGet(u,this)}focusin(e){_classPrivateFieldGet(s,this)?_classPrivateFieldSet(s,this,!1):this.parent.setSelected(this)}focusout(e){if(!this.isAttachedToDOM)return;const t=e.relatedTarget;null!==t&&void 0!==t&&t.closest("#".concat(this.id))||(e.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(e){const t=this.parent.div.getBoundingClientRect();this.startX=e.clientX-t.x,this.startY=e.clientY-t.y,e.dataTransfer.setData("text/plain",this.id),e.dataTransfer.effectAllowed="move"}setAt(e,t,n,r){const[i,o]=this.parent.viewportBaseDimensions;[n,r]=this.screenToPageTranslation(n,r),this.x=(e+n)/i,this.y=(t+r)/o,this.div.style.left="".concat(100*this.x,"%"),this.div.style.top="".concat(100*this.y,"%")}translate(e,t){const[n,r]=this.parent.viewportBaseDimensions;[e,t]=this.screenToPageTranslation(e,t),this.x+=e/n,this.y+=t/r,this.div.style.left="".concat(100*this.x,"%"),this.div.style.top="".concat(100*this.y,"%")}screenToPageTranslation(e,t){const{rotation:n}=this.parent.viewport;switch(n){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}}setDims(e,t){const[n,r]=this.parent.viewportBaseDimensions;this.div.style.width="".concat(100*e/n,"%"),this.div.style.height="".concat(100*t/r,"%")}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",_classPrivateFieldGet(o,this)),this.div.addEventListener("focusout",_classPrivateFieldGet(a,this));const[e,t]=this.getInitialTranslation();return this.translate(e,t),(0,r.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(e){const t=r.KeyboardManager.platform.isMac;0!==e.button||e.ctrlKey&&t?e.preventDefault():(e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this),_classPrivateFieldSet(s,this,!0))}getRect(e,t){const[n,r]=this.parent.viewportBaseDimensions,[i,o]=this.parent.pageDimensions,a=i*e/n,s=o*t/r,l=this.x*i,c=this.y*o,u=this.width*i,d=this.height*o;switch(this.rotation){case 0:return[l+a,o-c-s-d,l+a+u,o-c-s];case 90:return[l+s,o-c+a,l+s+d,o-c+a+u];case 180:return[l-a-u,o-c+s,l-a,o-c+s+d];case 270:return[l-s-d,o-c-a-u,l-s,o-c-a];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(e,t){const[n,r,i,o]=e,a=i-n,s=o-r;switch(this.rotation){case 0:return[n,t-o,a,s];case 90:return[n,t-r,s,a];case 180:return[i,t-r,a,s];case 270:return[i,t-o,s,a];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){_classPrivateFieldSet(c,this,!0)}disableEditMode(){_classPrivateFieldSet(c,this,!1)}isInEditMode(){return _classPrivateFieldGet(c,this)}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){var e;null===(e=this.div)||void 0===e||e.addEventListener("focusin",_classPrivateFieldGet(o,this))}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(e,t){const n=new this.prototype.constructor({parent:t,id:t.getNextId()});n.rotation=e.rotation;const[r,i]=t.pageDimensions,[o,a,s,l]=n.getRectInCurrentCoords(e.rect,i);return n.x=o/r,n.y=a/i,n.width=s/r,n.height=l/i,n}remove(){this.div.removeEventListener("focusin",_classPrivateFieldGet(o,this)),this.div.removeEventListener("focusout",_classPrivateFieldGet(a,this)),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){var e;null===(e=this.div)||void 0===e||e.classList.add("selectedEditor")}unselect(){var e;null===(e=this.div)||void 0===e||e.classList.remove("selectedEditor")}updateParams(e,t){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return _classPrivateFieldGet(l,this)}set isEditing(e){_classPrivateFieldSet(l,this,e),e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}_defineProperty(d,"_colorManager",new r.ColorManager),_defineProperty(d,"_zIndex",1),t.AnnotationEditor=d},(e,t,n)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardManager=t.CommandManager=t.ColorManager=t.AnnotationEditorUIManager=void 0,t.bindEvents=function(e,t,n){for(const r of n)t.addEventListener(r,e[r].bind(e))},t.opacityToHex=function(e){return Math.round(Math.min(255,Math.max(1,255*e))).toString(16).padStart(2,"0")};var i=n(1),o=n(8),a=new WeakMap;class s{constructor(){_classPrivateFieldInitSpec(this,a,0)}getId(){var e,t;return"".concat(i.AnnotationEditorPrefix).concat((_classPrivateFieldSet(a,this,(e=_classPrivateFieldGet(a,this),t=e++,e)),t))}}var l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap;class h{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128;_classPrivateFieldInitSpec(this,l,[]),_classPrivateFieldInitSpec(this,c,!1),_classPrivateFieldInitSpec(this,u,void 0),_classPrivateFieldInitSpec(this,d,-1),_classPrivateFieldSet(u,this,e)}add(e){let{cmd:t,undo:n,mustExec:r,type:i=NaN,overwriteIfSameType:o=!1,keepUndo:a=!1}=e;if(r&&t(),_classPrivateFieldGet(c,this))return;const s={cmd:t,undo:n,type:i};if(-1===_classPrivateFieldGet(d,this))return _classPrivateFieldGet(l,this).length>0&&(_classPrivateFieldGet(l,this).length=0),_classPrivateFieldSet(d,this,0),void _classPrivateFieldGet(l,this).push(s);if(o&&_classPrivateFieldGet(l,this)[_classPrivateFieldGet(d,this)].type===i)return a&&(s.undo=_classPrivateFieldGet(l,this)[_classPrivateFieldGet(d,this)].undo),void(_classPrivateFieldGet(l,this)[_classPrivateFieldGet(d,this)]=s);const h=_classPrivateFieldGet(d,this)+1;h===_classPrivateFieldGet(u,this)?_classPrivateFieldGet(l,this).splice(0,1):(_classPrivateFieldSet(d,this,h),h<_classPrivateFieldGet(l,this).length&&_classPrivateFieldGet(l,this).splice(h)),_classPrivateFieldGet(l,this).push(s)}undo(){-1!==_classPrivateFieldGet(d,this)&&(_classPrivateFieldSet(c,this,!0),_classPrivateFieldGet(l,this)[_classPrivateFieldGet(d,this)].undo(),_classPrivateFieldSet(c,this,!1),_classPrivateFieldSet(d,this,_classPrivateFieldGet(d,this)-1))}redo(){_classPrivateFieldGet(d,this)<_classPrivateFieldGet(l,this).length-1&&(_classPrivateFieldSet(d,this,_classPrivateFieldGet(d,this)+1),_classPrivateFieldSet(c,this,!0),_classPrivateFieldGet(l,this)[_classPrivateFieldGet(d,this)].cmd(),_classPrivateFieldSet(c,this,!1))}hasSomethingToUndo(){return-1!==_classPrivateFieldGet(d,this)}hasSomethingToRedo(){return _classPrivateFieldGet(d,this)<_classPrivateFieldGet(l,this).length-1}destroy(){_classPrivateFieldSet(l,this,null)}}t.CommandManager=h;var p=new WeakSet;class f{constructor(e){_classPrivateMethodInitSpec(this,p),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const t=f.platform.isMac;for(const[n,r]of e)for(const e of n){const n=e.startsWith("mac+");t&&n?(this.callbacks.set(e.slice(4),r),this.allKeys.add(e.split("+").at(-1))):t||n||(this.callbacks.set(e,r),this.allKeys.add(e.split("+").at(-1)))}}static get platform(){const e="undefined"!==typeof navigator?navigator.platform:"";return(0,i.shadow)(this,"platform",{isWin:e.includes("Win"),isMac:e.includes("Mac")})}exec(e,t){if(!this.allKeys.has(t.key))return;const n=this.callbacks.get(_assertClassBrand(p,this,m).call(this,t));n&&(n.bind(e)(),t.stopPropagation(),t.preventDefault())}}function m(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);const t=this.buffer.join("+");return this.buffer.length=0,t}t.KeyboardManager=f;var g=new WeakMap;class v{constructor(){_classPrivateFieldInitSpec(this,g,null)}copy(e){e&&(Array.isArray(e)?_classPrivateFieldSet(g,this,e.map((e=>e.serialize()))):_classPrivateFieldSet(g,this,[e.serialize()]),_classPrivateFieldSet(g,this,_classPrivateFieldGet(g,this).filter((e=>!!e))),0===_classPrivateFieldGet(g,this).length&&_classPrivateFieldSet(g,this,null))}paste(){return _classPrivateFieldGet(g,this)}isEmpty(){return null===_classPrivateFieldGet(g,this)}destroy(){_classPrivateFieldSet(g,this,null)}}class C{get _colors(){const e=new Map([["CanvasText",null],["Canvas",null]]);return(0,o.getColorValues)(e),(0,i.shadow)(this,"_colors",e)}convert(e){const t=(0,o.getRGB)(e);if(!window.matchMedia("(forced-colors: active)").matches)return t;for(const[n,r]of this._colors)if(r.every(((e,n)=>e===t[n])))return C._colorsMapping.get(n);return t}getHexCode(e){const t=this._colors.get(e);return t?i.Util.makeHexColor(...t):e}}_defineProperty(C,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]])),t.ColorManager=C;var y=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,A=new WeakMap,E=new WeakMap,_=new WeakMap,T=new WeakMap,S=new WeakMap,k=new WeakMap,P=new WeakMap,D=new WeakMap,N=new WeakMap,F=new WeakMap,I=new WeakMap,R=new WeakMap,M=new WeakMap,O=new WeakSet;class j{constructor(e,t){_classPrivateMethodInitSpec(this,O),_classPrivateFieldInitSpec(this,y,null),_classPrivateFieldInitSpec(this,b,new Map),_classPrivateFieldInitSpec(this,w,new Map),_classPrivateFieldInitSpec(this,x,new v),_classPrivateFieldInitSpec(this,A,new h),_classPrivateFieldInitSpec(this,E,0),_classPrivateFieldInitSpec(this,_,null),_classPrivateFieldInitSpec(this,T,null),_classPrivateFieldInitSpec(this,S,new s),_classPrivateFieldInitSpec(this,k,!1),_classPrivateFieldInitSpec(this,P,i.AnnotationEditorType.NONE),_classPrivateFieldInitSpec(this,D,new Set),_classPrivateFieldInitSpec(this,N,this.keydown.bind(this)),_classPrivateFieldInitSpec(this,F,this.onEditingAction.bind(this)),_classPrivateFieldInitSpec(this,I,this.onPageChanging.bind(this)),_classPrivateFieldInitSpec(this,R,{isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1}),_classPrivateFieldInitSpec(this,M,null),_classPrivateFieldSet(M,this,e),_classPrivateFieldSet(T,this,t),_classPrivateFieldGet(T,this)._on("editingaction",_classPrivateFieldGet(F,this)),_classPrivateFieldGet(T,this)._on("pagechanging",_classPrivateFieldGet(I,this))}destroy(){_assertClassBrand(O,this,B).call(this),_classPrivateFieldGet(T,this)._off("editingaction",_classPrivateFieldGet(F,this)),_classPrivateFieldGet(T,this)._off("pagechanging",_classPrivateFieldGet(I,this));for(const e of _classPrivateFieldGet(w,this).values())e.destroy();_classPrivateFieldGet(w,this).clear(),_classPrivateFieldGet(b,this).clear(),_classPrivateFieldSet(y,this,null),_classPrivateFieldGet(D,this).clear(),_classPrivateFieldGet(x,this).destroy(),_classPrivateFieldGet(A,this).destroy()}onPageChanging(e){let{pageNumber:t}=e;_classPrivateFieldSet(E,this,t-1)}focusMainContainer(){_classPrivateFieldGet(M,this).focus()}keydown(e){var t;null!==(t=this.getActive())&&void 0!==t&&t.shouldGetKeyboardEvents()||j._keyboardManager.exec(this,e)}onEditingAction(e){["undo","redo","cut","copy","paste","delete","selectAll"].includes(e.name)&&this[e.name]()}setEditingState(e){e?(_assertClassBrand(O,this,L).call(this),_assertClassBrand(O,this,U).call(this,{isEditing:_classPrivateFieldGet(P,this)!==i.AnnotationEditorType.NONE,isEmpty:_assertClassBrand(O,this,W).call(this),hasSomethingToUndo:_classPrivateFieldGet(A,this).hasSomethingToUndo(),hasSomethingToRedo:_classPrivateFieldGet(A,this).hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:_classPrivateFieldGet(x,this).isEmpty()})):(_assertClassBrand(O,this,B).call(this),_assertClassBrand(O,this,U).call(this,{isEditing:!1}))}registerEditorTypes(e){_classPrivateFieldSet(_,this,e);for(const t of _classPrivateFieldGet(_,this))_assertClassBrand(O,this,V).call(this,t.defaultPropertiesToUpdate)}getId(){return _classPrivateFieldGet(S,this).getId()}addLayer(e){_classPrivateFieldGet(w,this).set(e.pageIndex,e),_classPrivateFieldGet(k,this)?e.enable():e.disable()}removeLayer(e){_classPrivateFieldGet(w,this).delete(e.pageIndex)}updateMode(e){if(_classPrivateFieldSet(P,this,e),e===i.AnnotationEditorType.NONE)this.setEditingState(!1),_assertClassBrand(O,this,z).call(this);else{this.setEditingState(!0),_assertClassBrand(O,this,H).call(this);for(const t of _classPrivateFieldGet(w,this).values())t.updateMode(e)}}updateToolbar(e){e!==_classPrivateFieldGet(P,this)&&_classPrivateFieldGet(T,this).dispatch("switchannotationeditormode",{source:this,mode:e})}updateParams(e,t){for(const n of _classPrivateFieldGet(D,this))n.updateParams(e,t);for(const n of _classPrivateFieldGet(_,this))n.updateDefaultParams(e,t)}getEditors(e){const t=[];for(const n of _classPrivateFieldGet(b,this).values())n.pageIndex===e&&t.push(n);return t}getEditor(e){return _classPrivateFieldGet(b,this).get(e)}addEditor(e){_classPrivateFieldGet(b,this).set(e.id,e)}removeEditor(e){_classPrivateFieldGet(b,this).delete(e.id),this.unselect(e)}setActiveEditor(e){_classPrivateFieldGet(y,this)!==e&&(_classPrivateFieldSet(y,this,e),e&&_assertClassBrand(O,this,V).call(this,e.propertiesToUpdate))}toggleSelected(e){if(_classPrivateFieldGet(D,this).has(e))return _classPrivateFieldGet(D,this).delete(e),e.unselect(),void _assertClassBrand(O,this,U).call(this,{hasSelectedEditor:this.hasSelection});_classPrivateFieldGet(D,this).add(e),e.select(),_assertClassBrand(O,this,V).call(this,e.propertiesToUpdate),_assertClassBrand(O,this,U).call(this,{hasSelectedEditor:!0})}setSelected(e){for(const t of _classPrivateFieldGet(D,this))t!==e&&t.unselect();_classPrivateFieldGet(D,this).clear(),_classPrivateFieldGet(D,this).add(e),e.select(),_assertClassBrand(O,this,V).call(this,e.propertiesToUpdate),_assertClassBrand(O,this,U).call(this,{hasSelectedEditor:!0})}isSelected(e){return _classPrivateFieldGet(D,this).has(e)}unselect(e){e.unselect(),_classPrivateFieldGet(D,this).delete(e),_assertClassBrand(O,this,U).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==_classPrivateFieldGet(D,this).size}undo(){_classPrivateFieldGet(A,this).undo(),_assertClassBrand(O,this,U).call(this,{hasSomethingToUndo:_classPrivateFieldGet(A,this).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:_assertClassBrand(O,this,W).call(this)})}redo(){_classPrivateFieldGet(A,this).redo(),_assertClassBrand(O,this,U).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:_classPrivateFieldGet(A,this).hasSomethingToRedo(),isEmpty:_assertClassBrand(O,this,W).call(this)})}addCommands(e){_classPrivateFieldGet(A,this).add(e),_assertClassBrand(O,this,U).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:_assertClassBrand(O,this,W).call(this)})}delete(){if(_classPrivateFieldGet(y,this)&&_classPrivateFieldGet(y,this).commitOrRemove(),!this.hasSelection)return;const e=[..._classPrivateFieldGet(D,this)];this.addCommands({cmd:()=>{for(const t of e)t.remove()},undo:()=>{for(const t of e)_assertClassBrand(O,this,Z).call(this,t)},mustExec:!0})}copy(){if(_classPrivateFieldGet(y,this)&&_classPrivateFieldGet(y,this).commitOrRemove(),this.hasSelection){const e=[];for(const t of _classPrivateFieldGet(D,this))t.isEmpty()||e.push(t);if(0===e.length)return;_classPrivateFieldGet(x,this).copy(e),_assertClassBrand(O,this,U).call(this,{hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(_classPrivateFieldGet(x,this).isEmpty())return;this.unselectAll();const e=_classPrivateFieldGet(w,this).get(_classPrivateFieldGet(E,this)),t=_classPrivateFieldGet(x,this).paste().map((t=>e.deserialize(t)));this.addCommands({cmd:()=>{for(const e of t)_assertClassBrand(O,this,Z).call(this,e);_assertClassBrand(O,this,q).call(this,t)},undo:()=>{for(const e of t)e.remove()},mustExec:!0})}selectAll(){for(const e of _classPrivateFieldGet(D,this))e.commit();_assertClassBrand(O,this,q).call(this,_classPrivateFieldGet(b,this).values())}unselectAll(){if(_classPrivateFieldGet(y,this))_classPrivateFieldGet(y,this).commitOrRemove();else if(0!==_assertClassBrand(O,this,q).size){for(const e of _classPrivateFieldGet(D,this))e.unselect();_classPrivateFieldGet(D,this).clear(),_assertClassBrand(O,this,U).call(this,{hasSelectedEditor:!1})}}isActive(e){return _classPrivateFieldGet(y,this)===e}getActive(){return _classPrivateFieldGet(y,this)}getMode(){return _classPrivateFieldGet(P,this)}}function L(){_classPrivateFieldGet(M,this).addEventListener("keydown",_classPrivateFieldGet(N,this))}function B(){_classPrivateFieldGet(M,this).removeEventListener("keydown",_classPrivateFieldGet(N,this))}function U(e){Object.entries(e).some((e=>{let[t,n]=e;return _classPrivateFieldGet(R,this)[t]!==n}))&&_classPrivateFieldGet(T,this).dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(_classPrivateFieldGet(R,this),e)})}function V(e){_classPrivateFieldGet(T,this).dispatch("annotationeditorparamschanged",{source:this,details:e})}function H(){if(!_classPrivateFieldGet(k,this)){_classPrivateFieldSet(k,this,!0);for(const e of _classPrivateFieldGet(w,this).values())e.enable()}}function z(){if(this.unselectAll(),_classPrivateFieldGet(k,this)){_classPrivateFieldSet(k,this,!1);for(const e of _classPrivateFieldGet(w,this).values())e.disable()}}function Z(e){const t=_classPrivateFieldGet(w,this).get(e.pageIndex);t?t.addOrRebuild(e):this.addEditor(e)}function W(){if(0===_classPrivateFieldGet(b,this).size)return!0;if(1===_classPrivateFieldGet(b,this).size)for(const e of _classPrivateFieldGet(b,this).values())return e.isEmpty();return!1}function q(e){_classPrivateFieldGet(D,this).clear();for(const t of e)t.isEmpty()||(_classPrivateFieldGet(D,this).add(t),t.select());_assertClassBrand(O,this,U).call(this,{hasSelectedEditor:!0})}_defineProperty(j,"_keyboardManager",new f([[["ctrl+a","mac+meta+a"],(r=j).prototype.selectAll],[["ctrl+c","mac+meta+c"],r.prototype.copy],[["ctrl+v","mac+meta+v"],r.prototype.paste],[["ctrl+x","mac+meta+x"],r.prototype.cut],[["ctrl+z","mac+meta+z"],r.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],r.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],r.prototype.delete],[["Escape","mac+Escape"],r.prototype.unselectAll]])),t.AnnotationEditorUIManager=j},(e,t,n)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.StatTimer=t.RenderingCancelledException=t.PixelsPerInch=t.PageViewport=t.PDFDateString=t.DOMStandardFontDataFactory=t.DOMSVGFactory=t.DOMCanvasFactory=t.DOMCMapReaderFactory=t.AnnotationPrefix=void 0,t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getColorValues=function(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const r=window.getComputedStyle(t).color;e.set(n,v(r))}t.remove()},t.getCurrentTransform=function(e){const{a:t,b:n,c:r,d:i,e:o,f:a}=e.getTransform();return[t,n,r,i,o,a]},t.getCurrentTransformInverse=function(e){const{a:t,b:n,c:r,d:i,e:o,f:a}=e.getTransform().invertSelf();return[t,n,r,i,o,a]},t.getFilenameFromUrl=function(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!==typeof e)return t;if(f(e))return(0,o.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;const n=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,r=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e);let i=n.exec(r[1])||n.exec(r[2])||n.exec(r[3]);if(i&&(i=i[0],i.includes("%")))try{i=n.exec(decodeURIComponent(i))[0]}catch(a){}return i||t},t.getRGB=v,t.getXfaPageViewport=function(e,t){let{scale:n=1,rotation:r=0}=t;const{width:i,height:o}=e.attributes.style,a=[0,0,parseInt(i),parseInt(o)];return new h({viewBox:a,scale:n,rotation:r})},t.isDataScheme=f,t.isPdfFile=function(e){return"string"===typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=m,t.loadScript=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise(((n,r)=>{const i=document.createElement("script");i.src=e,i.onload=function(e){t&&i.remove(),n(e)},i.onerror=function(){r(new Error("Cannot load script at: ".concat(i.src)))},(document.head||document.documentElement).append(i)}))};var i=n(9),o=n(1);t.AnnotationPrefix="pdfjs_internal_id_";class a{}r=a,_defineProperty(a,"CSS",96),_defineProperty(a,"PDF",72),_defineProperty(a,"PDF_TO_CSS_UNITS",r.CSS/r.PDF),t.PixelsPerInch=a;class s extends i.BaseCanvasFactory{constructor(){let{ownerDocument:e=globalThis.document}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this._document=e}_createCanvas(e,t){const n=this._document.createElement("canvas");return n.width=e,n.height=t,n}}async function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(m(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);return t?new Uint8Array(await n.arrayBuffer()):(0,o.stringToBytes)(await n.text())}return new Promise(((n,r)=>{const i=new XMLHttpRequest;i.open("GET",e,!0),t&&(i.responseType="arraybuffer"),i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(200===i.status||0===i.status){let e;if(t&&i.response?e=new Uint8Array(i.response):!t&&i.responseText&&(e=(0,o.stringToBytes)(i.responseText)),e)return void n(e)}r(new Error(i.statusText))}},i.send(null)}))}t.DOMCanvasFactory=s;class c extends i.BaseCMapReaderFactory{_fetchData(e,t){return l(e,this.isCompressed).then((e=>({cMapData:e,compressionType:t})))}}t.DOMCMapReaderFactory=c;class u extends i.BaseStandardFontDataFactory{_fetchData(e){return l(e,!0)}}t.DOMStandardFontDataFactory=u;class d extends i.BaseSVGFactory{_createSVG(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}}t.DOMSVGFactory=d;class h{constructor(e){let{viewBox:t,scale:n,rotation:r,offsetX:i=0,offsetY:o=0,dontFlip:a=!1}=e;this.viewBox=t,this.scale=n,this.rotation=r,this.offsetX=i,this.offsetY=o;const s=(t[2]+t[0])/2,l=(t[3]+t[1])/2;let c,u,d,h,p,f,m,g;switch(r%=360,r<0&&(r+=360),r){case 180:c=-1,u=0,d=0,h=1;break;case 90:c=0,u=1,d=1,h=0;break;case 270:c=0,u=-1,d=-1,h=0;break;case 0:c=1,u=0,d=0,h=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}a&&(d=-d,h=-h),0===c?(p=Math.abs(l-t[1])*n+i,f=Math.abs(s-t[0])*n+o,m=Math.abs(t[3]-t[1])*n,g=Math.abs(t[2]-t[0])*n):(p=Math.abs(s-t[0])*n+i,f=Math.abs(l-t[1])*n+o,m=Math.abs(t[2]-t[0])*n,g=Math.abs(t[3]-t[1])*n),this.transform=[c*n,u*n,d*n,h*n,p-c*n*s-d*n*l,f-u*n*s-h*n*l],this.width=m,this.height=g}clone(){let{scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:r=this.offsetY,dontFlip:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new h({viewBox:this.viewBox.slice(),scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:i})}convertToViewportPoint(e,t){return o.Util.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=o.Util.applyTransform([e[0],e[1]],this.transform),n=o.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return o.Util.applyInverseTransform([e,t],this.transform)}}t.PageViewport=h;class p extends o.BaseException{constructor(e,t){super(e,"RenderingCancelledException"),this.type=t}}function f(e){const t=e.length;let n=0;for(;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}function m(e,t){try{const{protocol:n}=t?new URL(e,t):new URL(e);return"http:"===n||"https:"===n}catch(n){return!1}}let g;function v(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map((e=>parseInt(e))):e.startsWith("rgba(")?e.slice(5,-1).split(",").map((e=>parseInt(e))).slice(0,3):((0,o.warn)('Not a valid color format: "'.concat(e,'"')),[0,0,0])}t.RenderingCancelledException=p,t.StatTimer=class{constructor(){this.started=Object.create(null),this.times=[]}time(e){e in this.started&&(0,o.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}timeEnd(e){e in this.started||(0,o.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){const e=[];let t=0;for(const n of this.times){const e=n.name;e.length>t&&(t=e.length)}for(const n of this.times){const r=n.end-n.start;e.push("".concat(n.name.padEnd(t)," ").concat(r,"ms\n"))}return e.join("")}},t.PDFDateString=class{static toDateObject(e){if(!e||"string"!==typeof e)return null;g||(g=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const t=g.exec(e);if(!t)return null;const n=parseInt(t[1],10);let r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;let i=parseInt(t[3],10);i=i>=1&&i<=31?i:1;let o=parseInt(t[4],10);o=o>=0&&o<=23?o:0;let a=parseInt(t[5],10);a=a>=0&&a<=59?a:0;let s=parseInt(t[6],10);s=s>=0&&s<=59?s:0;const l=t[7]||"Z";let c=parseInt(t[8],10);c=c>=0&&c<=23?c:0;let u=parseInt(t[9],10)||0;return u=u>=0&&u<=59?u:0,"-"===l?(o+=c,a+=u):"+"===l&&(o-=c,a-=u),new Date(Date.UTC(n,r,i,o,a,s))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var r=n(1);class i{constructor(){this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseCanvasFactory.")}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d")}}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){(0,r.unreachable)("Abstract method `_createCanvas` called.")}}t.BaseCanvasFactory=i;class o{constructor(e){let{baseUrl:t=null,isCompressed:n=!1}=e;this.constructor===o&&(0,r.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=t,this.isCompressed=n}async fetch(e){let{name:t}=e;if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!t)throw new Error("CMap name must be specified.");const n=this.baseUrl+t+(this.isCompressed?".bcmap":""),i=this.isCompressed?r.CMapCompressionType.BINARY:r.CMapCompressionType.NONE;return this._fetchData(n,i).catch((e=>{throw new Error("Unable to load ".concat(this.isCompressed?"binary ":"","CMap at: ").concat(n))}))}_fetchData(e,t){(0,r.unreachable)("Abstract method `_fetchData` called.")}}t.BaseCMapReaderFactory=o;class a{constructor(e){let{baseUrl:t=null}=e;this.constructor===a&&(0,r.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=t}async fetch(e){let{filename:t}=e;if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!t)throw new Error("Font filename must be specified.");const n="".concat(this.baseUrl).concat(t);return this._fetchData(n).catch((e=>{throw new Error("Unable to load font data at: ".concat(n))}))}_fetchData(e){(0,r.unreachable)("Abstract method `_fetchData` called.")}}t.BaseStandardFontDataFactory=a;class s{constructor(){this.constructor===s&&(0,r.unreachable)("Cannot initialize BaseSVGFactory.")}create(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const r=this._createSVG("svg:svg");return r.setAttribute("version","1.1"),n||(r.setAttribute("width","".concat(e,"px")),r.setAttribute("height","".concat(t,"px"))),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 ".concat(e," ").concat(t)),r}createElement(e){if("string"!==typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){(0,r.unreachable)("Abstract method `_createSVG` called.")}}t.BaseSVGFactory=s},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var r=n(1);const i=3285377520,o=4294901760,a=65535;t.MurmurHash3_64=class{constructor(e){this.h1=e?4294967295&e:i,this.h2=e?4294967295&e:i}update(e){let t,n;if("string"===typeof e){t=new Uint8Array(2*e.length),n=0;for(let r=0,i=e.length;r<i;r++){const i=e.charCodeAt(r);i<=255?t[n++]=i:(t[n++]=i>>>8,t[n++]=255&i)}}else{if(!(0,r.isArrayBuffer)(e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");t=e.slice(),n=t.byteLength}const i=n>>2,s=n-4*i,l=new Uint32Array(t.buffer,0,i);let c=0,u=0,d=this.h1,h=this.h2;const p=3432918353,f=461845907,m=11601,g=13715;for(let r=0;r<i;r++)1&r?(c=l[r],c=c*p&o|c*m&a,c=c<<15|c>>>17,c=c*f&o|c*g&a,d^=c,d=d<<13|d>>>19,d=5*d+3864292196):(u=l[r],u=u*p&o|u*m&a,u=u<<15|u>>>17,u=u*f&o|u*g&a,h^=u,h=h<<13|h>>>19,h=5*h+3864292196);switch(c=0,s){case 3:c^=t[4*i+2]<<16;case 2:c^=t[4*i+1]<<8;case 1:c^=t[4*i],c=c*p&o|c*m&a,c=c<<15|c>>>17,c=c*f&o|c*g&a,1&i?d^=c:h^=c}this.h1=d,this.h2=h}hexdigest(){let e=this.h1,t=this.h2;e^=t>>>1,e=3981806797*e&o|36045*e&a,t=4283543511*t&o|(2950163797*(t<<16|e>>>16)&o)>>>16,e^=t>>>1,e=444984403*e&o|60499*e&a,t=3301882366*t&o|(3120437893*(t<<16|e>>>16)&o)>>>16,e^=t>>>1;const n=(e>>>0).toString(16),r=(t>>>0).toString(16);return n.padStart(8,"0")+r.padStart(8,"0")}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var r=n(1);class i{constructor(e){let{docId:t,onUnsupportedFeature:n,ownerDocument:o=globalThis.document,styleElement:a=null}=e;this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseFontLoader."),this.docId=t,this._onUnsupportedFeature=n,this._document=o,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let t=this.styleElement;t||(t=this.styleElement=this._document.createElement("style"),t.id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),this._document.documentElement.getElementsByTagName("head")[0].append(t));const n=t.sheet;n.insertRule(e,n.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(e){if(e.attached||e.missingFile)return;if(e.attached=!0,this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,r.warn)("Failed to load font '".concat(t.family,"': '").concat(n,"'.")),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((n=>{const r=this._queueLoadingCallback(n);this._prepareFontLoadEvent([t],[e],r)}))}}_queueLoadingCallback(e){(0,r.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){var e;const t=!(null===(e=this._document)||void 0===e||!e.fonts);return(0,r.shadow)(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){(0,r.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,r.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,t,n){(0,r.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let o;t.FontLoader=o,t.FontLoader=o=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;if("undefined"===typeof navigator)e=!0;else{const t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(null===t||void 0===t?void 0:t[1])>=14&&(e=!0)}return(0,r.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const t=this.loadingContext,n={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,r.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){const e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}get _loadTestFont(){return(0,r.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t,n){function i(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}let a,s;const l=this._document.createElement("canvas");l.width=1,l.height=1;const c=l.getContext("2d");let u=0;const d="lt".concat(Date.now()).concat(this.loadTestFontId++);let h=this._loadTestFont;h=o(h,976,d.length,d);const p=1482184792;let f=i(h,16);for(a=0,s=d.length-3;a<s;a+=4)f=f-p+i(d,a)|0;a<d.length&&(f=f-p+i(d+"XXX",a)|0),h=o(h,16,4,(0,r.string32)(f));const m="url(data:font/opentype;base64,".concat(btoa(h),");"),g='@font-face {font-family:"'.concat(d,'";src:').concat(m,"}");this.insertRule(g);const v=[];for(const r of t)v.push(r.loadedName);v.push(d);const C=this._document.createElement("div");C.style.visibility="hidden",C.style.width=C.style.height="10px",C.style.position="absolute",C.style.top=C.style.left="0px";for(const r of v){const e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=r,C.append(e)}this._document.body.append(C),function e(t,n){if(u++,u>30)return(0,r.warn)("Load test font never loaded."),void n();c.font="30px "+t,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(d,(()=>{C.remove(),n.complete()}))}},t.FontFaceObject=class{constructor(e,t){let{isEvalSupported:n=!0,disableFontFace:r=!1,ignoreErrors:i=!1,onUnsupportedFeature:o,fontRegistry:a=null}=t;this.compiledGlyphs=Object.create(null);for(const s in e)this[s]=e[s];this.isEvalSupported=!1!==n,this.disableFontFace=!0===r,this.ignoreErrors=!0===i,this._onUnsupportedFeature=o,this.fontRegistry=a}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,r.bytesToString)(this.data),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");");let n;if(this.cssFontInfo){let e="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(e+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),n='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(e,"src:").concat(t,"}")}else n='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),n}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];let n;try{n=e.get(this.loadedName+"_path_"+t)}catch(i){if(!this.ignoreErrors)throw i;return this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,r.warn)('getPathGenerator - ignoring character: "'.concat(i,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&r.FeatureTest.isEvalSupported){const e=[];for(const t of n){const n=void 0!==t.args?t.args.join(","):"";e.push("c.",t.cmd,"(",n,");\n")}return this.compiledGlyphs[t]=new Function("c","size",e.join(""))}return this.compiledGlyphs[t]=function(e,t){for(const r of n)"scale"===r.cmd&&(r.args=[t,-t]),e[r.cmd].apply(e,r.args)}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(8),i=n(1),o=n(13),a=n(14),s=n(3);const l=4096,c=s.isNodeJS&&"undefined"===typeof Path2D?-1:1e3,u=16;class d{constructor(e){this.canvasFactory=e,this.cache=Object.create(null)}getCanvas(e,t,n){let r;return void 0!==this.cache[e]?(r=this.cache[e],this.canvasFactory.reset(r,t,n)):(r=this.canvasFactory.create(t,n),this.cache[e]=r),r}delete(e){delete this.cache[e]}clear(){for(const e in this.cache){const t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}function h(e,t,n,i,o,a,s,l,c,u){const[d,h,p,f,m,g]=(0,r.getCurrentTransform)(e);if(0===h&&0===p){const r=s*d+m,v=Math.round(r),C=l*f+g,y=Math.round(C),b=(s+c)*d+m,w=Math.abs(Math.round(b)-v)||1,x=(l+u)*f+g,A=Math.abs(Math.round(x)-y)||1;return e.setTransform(Math.sign(d),0,0,Math.sign(f),v,y),e.drawImage(t,n,i,o,a,0,0,w,A),e.setTransform(d,h,p,f,m,g),[w,A]}if(0===d&&0===f){const r=l*p+m,v=Math.round(r),C=s*h+g,y=Math.round(C),b=(l+u)*p+m,w=Math.abs(Math.round(b)-v)||1,x=(s+c)*h+g,A=Math.abs(Math.round(x)-y)||1;return e.setTransform(0,Math.sign(h),Math.sign(p),0,v,y),e.drawImage(t,n,i,o,a,0,0,A,w),e.setTransform(d,h,p,f,m,g),[A,w]}return e.drawImage(t,n,i,o,a,s,l,c,u),[Math.hypot(d,h)*c,Math.hypot(p,f)*u]}class p{constructor(e,t){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,e,t])}clone(){const e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}setCurrentPoint(e,t){this.x=e,this.y=t}updatePathMinMax(e,t,n){[t,n]=i.Util.applyTransform([t,n],e),this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,n)}updateRectMinMax(e,t){const n=i.Util.applyTransform(t,e),r=i.Util.applyTransform(t.slice(2),e);this.minX=Math.min(this.minX,n[0],r[0]),this.minY=Math.min(this.minY,n[1],r[1]),this.maxX=Math.max(this.maxX,n[0],r[0]),this.maxY=Math.max(this.maxY,n[1],r[1])}updateScalingPathMinMax(e,t){i.Util.scaleMinMax(e,t),this.minX=Math.min(this.minX,t[0]),this.maxX=Math.max(this.maxX,t[1]),this.minY=Math.min(this.minY,t[2]),this.maxY=Math.max(this.maxY,t[3])}updateCurvePathMinMax(e,t,n,r,o,a,s,l,c,u){const d=i.Util.bezierBoundingBox(t,n,r,o,a,s,l,c);if(u)return u[0]=Math.min(u[0],d[0],d[2]),u[1]=Math.max(u[1],d[0],d[2]),u[2]=Math.min(u[2],d[1],d[3]),void(u[3]=Math.max(u[3],d[1],d[3]));this.updateRectMinMax(e,d)}getPathBoundingBox(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=[this.minX,this.minY,this.maxX,this.maxY];if(e===o.PathType.STROKE){t||(0,i.unreachable)("Stroke bounding box must include transform.");const e=i.Util.singularValueDecompose2dScale(t),r=e[0]*this.lineWidth/2,o=e[1]*this.lineWidth/2;n[0]-=r,n[1]-=o,n[2]+=r,n[3]+=o}return n}updateClipFromPath(){const e=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return i.Util.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("undefined"!==typeof ImageData&&t instanceof ImageData)return void e.putImageData(t,0,0);const r=t.height,o=t.width,a=r%u,s=(r-a)/u,l=0===a?s:s+1,c=e.createImageData(o,u);let d,h=0;const p=t.data,f=c.data;let m,g,v,C,y,b,w,x;if(n)switch(n.length){case 1:y=n[0],b=n[0],w=n[0],x=n[0];break;case 4:y=n[0],b=n[1],w=n[2],x=n[3]}if(t.kind===i.ImageKind.GRAYSCALE_1BPP){const t=p.byteLength,n=new Uint32Array(f.buffer,0,f.byteLength>>2),r=n.length,C=o+7>>3;let y=4294967295,b=i.FeatureTest.isLittleEndian?4278190080:255;for(x&&255===x[0]&&0===x[255]&&([y,b]=[b,y]),m=0;m<l;m++){for(v=m<s?u:a,d=0,g=0;g<v;g++){const e=t-h;let r=0;const i=e>C?o:8*e-7,a=-8&i;let s=0,l=0;for(;r<a;r+=8)l=p[h++],n[d++]=128&l?y:b,n[d++]=64&l?y:b,n[d++]=32&l?y:b,n[d++]=16&l?y:b,n[d++]=8&l?y:b,n[d++]=4&l?y:b,n[d++]=2&l?y:b,n[d++]=1&l?y:b;for(;r<i;r++)0===s&&(l=p[h++],s=128),n[d++]=l&s?y:b,s>>=1}for(;d<r;)n[d++]=0;e.putImageData(c,0,m*u)}}else if(t.kind===i.ImageKind.RGBA_32BPP){const t=!!(y||b||w);for(g=0,C=o*u*4,m=0;m<s;m++){if(f.set(p.subarray(h,h+C)),h+=C,t)for(let e=0;e<C;e+=4)y&&(f[e+0]=y[f[e+0]]),b&&(f[e+1]=b[f[e+1]]),w&&(f[e+2]=w[f[e+2]]);e.putImageData(c,0,g),g+=u}if(m<l){if(C=o*a*4,f.set(p.subarray(h,h+C)),t)for(let e=0;e<C;e+=4)y&&(f[e+0]=y[f[e+0]]),b&&(f[e+1]=b[f[e+1]]),w&&(f[e+2]=w[f[e+2]]);e.putImageData(c,0,g)}}else{if(t.kind!==i.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));{const t=!!(y||b||w);for(v=u,C=o*v,m=0;m<l;m++){for(m>=s&&(v=a,C=o*v),d=0,g=C;g--;)f[d++]=p[h++],f[d++]=p[h++],f[d++]=p[h++],f[d++]=255;if(t)for(let e=0;e<d;e+=4)y&&(f[e+0]=y[f[e+0]]),b&&(f[e+1]=b[f[e+1]]),w&&(f[e+2]=w[f[e+2]]);e.putImageData(c,0,m*u)}}}}function m(e,t){if(t.bitmap)return void e.drawImage(t.bitmap,0,0);const n=t.height,r=t.width,i=n%u,o=(n-i)/u,s=0===i?o:o+1,l=e.createImageData(r,u);let c=0;const d=t.data,h=l.data;for(let p=0;p<s;p++){const t=p<o?u:i;({srcPos:c}=(0,a.applyMaskImageData)({src:d,srcPos:c,dest:h,width:r,height:t})),e.putImageData(l,0,p*u)}}function g(e,t){const n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"];for(let r=0,i=n.length;r<i;r++){const i=n[r];void 0!==e[i]&&(t[i]=e[i])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function v(e,t){e.strokeStyle=e.fillStyle=t||"#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function C(e,t,n,r){const i=e.length;for(let o=3;o<i;o+=4){const i=e[o];if(0===i)e[o-3]=t,e[o-2]=n,e[o-1]=r;else if(i<255){const a=255-i;e[o-3]=e[o-3]*i+t*a>>8,e[o-2]=e[o-2]*i+n*a>>8,e[o-1]=e[o-1]*i+r*a>>8}}}function y(e,t,n){const r=e.length,i=1/255;for(let o=3;o<r;o+=4){const r=n?n[e[o]]:e[o];t[o]=t[o]*r*i|0}}function b(e,t,n){const r=e.length;for(let i=3;i<r;i+=4){const r=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=n?t[i]*n[r>>8]>>8:t[i]*r>>16}}function w(e,t,n,r){const i=r[0],o=r[1],a=r[2]-i,s=r[3]-o;0!==a&&0!==s&&(function(e,t,n,r,i,o,a,s,l,c,u){const d=!!o,h=d?o[0]:0,p=d?o[1]:0,f=d?o[2]:0;let m;m="Luminosity"===i?b:y;const g=Math.min(r,Math.ceil(1048576/n));for(let v=0;v<r;v+=g){const i=Math.min(g,r-v),o=e.getImageData(s-c,v+(l-u),n,i),y=t.getImageData(s,v+l,n,i);d&&C(o.data,h,p,f),m(o.data,y.data,a),t.putImageData(y,s,v+l)}}(t.context,n,a,s,t.subtype,t.backdrop,t.transferMap,i,o,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}function x(e,t){const n=i.Util.singularValueDecompose2dScale(e);n[0]=Math.fround(n[0]),n[1]=Math.fround(n[1]);const o=Math.fround((globalThis.devicePixelRatio||1)*r.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==t?t:n[0]<=o||n[1]<=o}const A=["butt","round","square"],E=["miter","round","bevel"],_={},T={};var S=new WeakSet;class k{constructor(e,t,n,r,i,o,a,s){_classPrivateMethodInitSpec(this,S),this.ctx=e,this.current=new p(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=o,this.cachedCanvases=new d(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=a,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=(null===s||void 0===s?void 0:s.background)||null,this.foregroundColor=(null===s||void 0===s?void 0:s.foreground)||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"string"===typeof e?e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e):t}beginDrawing(e){let{transform:t,viewport:n,transparency:i=!1,background:o=null}=e;const a=this.ctx.canvas.width,s=this.ctx.canvas.height,l=o||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const e=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const t=this.backgroundColor=this.ctx.fillStyle;let n=!0,i=l;if(this.ctx.fillStyle=l,i=this.ctx.fillStyle,n="string"===typeof i&&/^#[0-9A-Fa-f]{6}$/.test(i),"#000000"===e&&"#ffffff"===t||e===t||!n)this.foregroundColor=this.backgroundColor=null;else{const[n,o,a]=(0,r.getRGB)(i),s=e=>(e/=255)<=.03928?e/12.92:((e+.055)/1.055)**2.4,l=Math.round(.2126*s(n)+.7152*s(o)+.0722*s(a));this.selectColor=(n,r,i)=>{const o=.2126*s(n)+.7152*s(r)+.0722*s(i);return Math.round(o)===l?t:e}}}if(this.ctx.fillStyle=this.backgroundColor||l,this.ctx.fillRect(0,0,a,s),this.ctx.restore(),i){const e=this.cachedCanvases.getCanvas("transparent",a,s);this.compositeCtx=this.ctx,this.transparentCanvas=e.canvas,this.ctx=e.context,this.ctx.save(),this.ctx.transform(...(0,r.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),v(this.ctx,this.foregroundColor),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...n.transform),this.viewportScale=n.scale,this.baseTransform=(0,r.getCurrentTransform)(this.ctx),this.imageLayer&&((0,r.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(e,t,n,r){const o=e.argsArray,a=e.fnArray;let s=t||0;const l=o.length;if(l===s)return s;const c=l-s>10&&"function"===typeof n,u=c?Date.now()+15:0;let d=0;const h=this.commonObjs,p=this.objs;let f;for(;;){if(void 0!==r&&s===r.nextBreakPoint)return r.breakIt(s,n),s;if(f=a[s],f!==i.OPS.dependency)this[f].apply(this,o[s]);else for(const e of o[s]){const t=e.startsWith("g_")?h:p;if(!t.has(e))return t.get(e,n),s}if(s++,s===l)return s;if(c&&++d>10){if(Date.now()>u)return n(),s;d=0}}}endDrawing(){_assertClassBrand(S,this,P).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const e of this._cachedBitmapsMap.values()){for(const t of e.values())"undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(e,t){const n=e.width,r=e.height;let i,o,a=Math.max(Math.hypot(t[0],t[1]),1),s=Math.max(Math.hypot(t[2],t[3]),1),l=n,c=r,u="prescale1";for(;a>2&&l>1||s>2&&c>1;){let t=l,n=c;a>2&&l>1&&(t=Math.ceil(l/2),a/=l/t),s>2&&c>1&&(n=Math.ceil(c/2),s/=c/n),i=this.cachedCanvases.getCanvas(u,t,n),o=i.context,o.clearRect(0,0,t,n),o.drawImage(e,0,0,l,c,0,0,t,n),e=i.canvas,l=t,c=n,u="prescale1"===u?"prescale2":"prescale1"}return{img:e,paintWidth:l,paintHeight:c}}_createMaskCanvas(e){const t=this.ctx,{width:n,height:a}=e,s=this.current.fillColor,l=this.current.patternFill,c=(0,r.getCurrentTransform)(t);let u,d,p,f;if((e.bitmap||e.data)&&e.count>1){const t=e.bitmap||e.data.buffer,n=c.slice(0,4);d=JSON.stringify(l?n:[n,s]),u=this._cachedBitmapsMap.get(t),u||(u=new Map,this._cachedBitmapsMap.set(t,u));const r=u.get(d);if(r&&!l)return{canvas:r,offsetX:Math.round(Math.min(c[0],c[2])+c[4]),offsetY:Math.round(Math.min(c[1],c[3])+c[5])};p=r}p||(f=this.cachedCanvases.getCanvas("maskCanvas",n,a),m(f.context,e));let g=i.Util.transform(c,[1/n,0,0,-1/a,0,0]);g=i.Util.transform(g,[1,0,0,1,0,-a]);const v=i.Util.applyTransform([0,0],g),C=i.Util.applyTransform([n,a],g),y=i.Util.normalizeRect([v[0],v[1],C[0],C[1]]),b=Math.round(y[2]-y[0])||1,w=Math.round(y[3]-y[1])||1,A=this.cachedCanvases.getCanvas("fillCanvas",b,w),E=A.context,_=Math.min(v[0],C[0]),T=Math.min(v[1],C[1]);E.translate(-_,-T),E.transform(...g),p||(p=this._scaleImage(f.canvas,(0,r.getCurrentTransformInverse)(E)),p=p.img,u&&l&&u.set(d,p)),E.imageSmoothingEnabled=x((0,r.getCurrentTransform)(E),e.interpolate),h(E,p,0,0,p.width,p.height,0,0,n,a),E.globalCompositeOperation="source-in";const S=i.Util.transform((0,r.getCurrentTransformInverse)(E),[1,0,0,1,-_,-T]);return E.fillStyle=l?s.getPattern(t,this,S,o.PathType.FILL):s,E.fillRect(0,0,n,a),u&&!l&&(this.cachedCanvases.delete("fillCanvas"),u.set(d,A.canvas)),{canvas:A.canvas,offsetX:Math.round(_),offsetY:Math.round(T)}}setLineWidth(e){e!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=A[e]}setLineJoin(e){this.ctx.lineJoin=E[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(let t=0,n=e.length;t<n;t++){const n=e[t],r=n[0],i=n[1];switch(r){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask=i?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.current.transferMaps=i}}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,e,t);this.suspendedCtx=this.ctx,this.ctx=i.context;const o=this.ctx;o.setTransform(...(0,r.getCurrentTransform)(this.suspendedCtx)),g(this.suspendedCtx,o),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,r,i,o,a){t.transform(e,n,r,i,o,a),this.__originalTransform(e,n,r,i,o,a)},e.setTransform=function(e,n,r,i,o,a){t.setTransform(e,n,r,i,o,a),this.__originalSetTransform(e,n,r,i,o,a)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,r,i,o,a){t.bezierCurveTo(e,n,r,i,o,a),this.__originalBezierCurveTo(e,n,r,i,o,a)},e.rect=function(e,n,r,i){t.rect(e,n,r,i),this.__originalRect(e,n,r,i)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),g(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask;w(this.suspendedCtx,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}save(){this.inSMaskMode?(g(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),g(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null)}transform(e,t,n,r,i,o){this.ctx.transform(e,t,n,r,i,o),this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null}constructPath(e,t,n){const o=this.ctx,a=this.current;let s,l,c=a.x,u=a.y;const d=(0,r.getCurrentTransform)(o),h=0===d[0]&&0===d[3]||0===d[1]&&0===d[2],p=h?n.slice(0):null;for(let r=0,f=0,m=e.length;r<m;r++)switch(0|e[r]){case i.OPS.rectangle:c=t[f++],u=t[f++];const e=t[f++],n=t[f++],r=c+e,m=u+n;o.moveTo(c,u),0===e||0===n?o.lineTo(r,m):(o.lineTo(r,u),o.lineTo(r,m),o.lineTo(c,m)),h||a.updateRectMinMax(d,[c,u,r,m]),o.closePath();break;case i.OPS.moveTo:c=t[f++],u=t[f++],o.moveTo(c,u),h||a.updatePathMinMax(d,c,u);break;case i.OPS.lineTo:c=t[f++],u=t[f++],o.lineTo(c,u),h||a.updatePathMinMax(d,c,u);break;case i.OPS.curveTo:s=c,l=u,c=t[f+4],u=t[f+5],o.bezierCurveTo(t[f],t[f+1],t[f+2],t[f+3],c,u),a.updateCurvePathMinMax(d,s,l,t[f],t[f+1],t[f+2],t[f+3],c,u,p),f+=6;break;case i.OPS.curveTo2:s=c,l=u,o.bezierCurveTo(c,u,t[f],t[f+1],t[f+2],t[f+3]),a.updateCurvePathMinMax(d,s,l,c,u,t[f],t[f+1],t[f+2],t[f+3],p),c=t[f+2],u=t[f+3],f+=4;break;case i.OPS.curveTo3:s=c,l=u,c=t[f+2],u=t[f+3],o.bezierCurveTo(t[f],t[f+1],c,u,c,u),a.updateCurvePathMinMax(d,s,l,t[f],t[f+1],c,u,c,u,p),f+=4;break;case i.OPS.closePath:o.closePath()}h&&a.updateScalingPathMinMax(d,p),a.setCurrentPoint(c,u)}closePath(){this.ctx.closePath()}stroke(e){e="undefined"===typeof e||e;const t=this.ctx,n=this.current.strokeColor;t.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"===typeof n&&null!==n&&void 0!==n&&n.getPattern?(t.save(),t.strokeStyle=n.getPattern(t,this,(0,r.getCurrentTransformInverse)(t),o.PathType.STROKE),this.rescaleAndStroke(!1),t.restore()):this.rescaleAndStroke(!0)),e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(e){e="undefined"===typeof e||e;const t=this.ctx,n=this.current.fillColor;let i=!1;this.current.patternFill&&(t.save(),t.fillStyle=n.getPattern(t,this,(0,r.getCurrentTransformInverse)(t),o.PathType.FILL),i=!0);const a=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==a&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),i&&t.restore(),e&&this.consumePath(a)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=_}eoClip(){this.pendingClip=T}beginText(){this.current.textMatrix=i.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(const n of e)t.setTransform(...n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize);t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()}setCharSpacing(e){this.current.charSpacing=e}setWordSpacing(e){this.current.wordSpacing=e}setHScale(e){this.current.textHScale=e/100}setLeading(e){this.current.leading=-e}setFont(e,t){const n=this.commonObjs.get(e),r=this.current;if(!n)throw new Error("Can't find font for ".concat(e));if(r.fontMatrix=n.fontMatrix||i.FONT_IDENTITY_MATRIX,0!==r.fontMatrix[0]&&0!==r.fontMatrix[3]||(0,i.warn)("Invalid font matrix for font "+e),t<0?(t=-t,r.fontDirection=-1):r.fontDirection=1,this.current.font=n,this.current.fontSize=t,n.isType3Font)return;const o=n.loadedName||"sans-serif";let a="normal";n.black?a="900":n.bold&&(a="bold");const s=n.italic?"italic":"normal",l='"'.concat(o,'", ').concat(n.fallbackName);let c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font="".concat(s," ").concat(a," ").concat(c,"px ").concat(l)}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,n,r,i,o){this.current.textMatrix=[e,t,n,r,i,o],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,n,o){const a=this.ctx,s=this.current,l=s.font,c=s.textRenderingMode,u=s.fontSize/s.fontSizeScale,d=c&i.TextRenderingMode.FILL_STROKE_MASK,h=!!(c&i.TextRenderingMode.ADD_TO_PATH_FLAG),p=s.patternFill&&!l.missingFile;let f;(l.disableFontFace||h||p)&&(f=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||p?(a.save(),a.translate(t,n),a.beginPath(),f(a,u),o&&a.setTransform(...o),d!==i.TextRenderingMode.FILL&&d!==i.TextRenderingMode.FILL_STROKE||a.fill(),d!==i.TextRenderingMode.STROKE&&d!==i.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(d!==i.TextRenderingMode.FILL&&d!==i.TextRenderingMode.FILL_STROKE||a.fillText(e,t,n),d!==i.TextRenderingMode.STROKE&&d!==i.TextRenderingMode.FILL_STROKE||a.strokeText(e,t,n)),h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,r.getCurrentTransform)(a),x:t,y:n,fontSize:u,addToPath:f})}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let r=3;r<t.length;r+=4)if(t[r]>0&&t[r]<255){n=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",n)}showText(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const a=t.fontSize;if(0===a)return;const s=this.ctx,l=t.fontSizeScale,c=t.charSpacing,u=t.wordSpacing,d=t.fontDirection,h=t.textHScale*d,p=e.length,f=n.vertical,m=f?1:-1,g=n.defaultVMetrics,v=a*t.fontMatrix[0],C=t.textRenderingMode===i.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;let y;if(s.save(),s.transform(...t.textMatrix),s.translate(t.x,t.y+t.textRise),d>0?s.scale(h,-1):s.scale(h,1),t.patternFill){s.save();const e=t.fillColor.getPattern(s,this,(0,r.getCurrentTransformInverse)(s),o.PathType.FILL);y=(0,r.getCurrentTransform)(s),s.restore(),s.fillStyle=e}let b=t.lineWidth;const w=t.textMatrixScale;if(0===w||0===b){const e=t.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;e!==i.TextRenderingMode.STROKE&&e!==i.TextRenderingMode.FILL_STROKE||(b=this.getSinglePixelWidth())}else b/=w;1!==l&&(s.scale(l,l),b/=l),s.lineWidth=b;let x,A=0;for(x=0;x<p;++x){const t=e[x];if("number"===typeof t){A+=m*t*a/1e3;continue}let r=!1;const i=(t.isSpace?u:0)+c,o=t.fontChar,h=t.accent;let p,b,w,E=t.width;if(f){const e=t.vmetric||g,n=-(t.vmetric?e[1]:.5*E)*v,r=e[2]*v;E=e?-e[0]:E,p=n/l,b=(A+r)/l}else p=A/l,b=0;if(n.remeasure&&E>0){const e=1e3*s.measureText(o).width/a*l;if(E<e&&this.isFontSubpixelAAEnabled){const t=E/e;r=!0,s.save(),s.scale(t,1),p/=t}else E!==e&&(p+=(E-e)/2e3*a/l)}if(this.contentVisible&&(t.isInFont||n.missingFile))if(C&&!h)s.fillText(o,p,b);else if(this.paintChar(o,p,b,y),h){const e=p+a*h.offset.x/l,t=b-a*h.offset.y/l;this.paintChar(h.fontChar,e,t,y)}w=f?E*v-i*d:E*v+i*d,A+=w,r&&s.restore()}f?t.y-=A:t.x+=A*h,s.restore(),this.compose()}showType3Text(e){const t=this.ctx,n=this.current,r=n.font,o=n.fontSize,a=n.fontDirection,s=r.vertical?1:-1,l=n.charSpacing,c=n.wordSpacing,u=n.textHScale*a,d=n.fontMatrix||i.FONT_IDENTITY_MATRIX,h=e.length;let p,f,m,g;if(n.textRenderingMode!==i.TextRenderingMode.INVISIBLE&&0!==o){for(this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,t.save(),t.transform(...n.textMatrix),t.translate(n.x,n.y),t.scale(u,a),p=0;p<h;++p){if(f=e[p],"number"===typeof f){g=s*f*o/1e3,this.ctx.translate(g,0),n.x+=g*u;continue}const a=(f.isSpace?c:0)+l,h=r.charProcOperatorList[f.operatorListId];h?(this.contentVisible&&(this.processingType3=f,this.save(),t.scale(o,o),t.transform(...d),this.executeOperatorList(h),this.restore()),m=i.Util.applyTransform([f.width,0],d)[0]*o+a,t.translate(m,0),n.x+=m*u):(0,i.warn)('Type3 character "'.concat(f.operatorListId,'" is not available.'))}t.restore(),this.processingType3=null}}setCharWidth(e,t){}setCharWidthAndBounds(e,t,n,r,i,o){this.ctx.rect(n,r,i-n,o-r),this.ctx.clip(),this.endPath()}getColorN_Pattern(e){let t;if("TilingPattern"===e[0]){const n=e[1],i=this.baseTransform||(0,r.getCurrentTransform)(this.ctx),a={createCanvasGraphics:e=>new k(e,this.commonObjs,this.objs,this.canvasFactory)};t=new o.TilingPattern(e,n,this.ctx,a,i)}else t=this._getPattern(e[1],e[2]);return t}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,n){var r;const o=(null===(r=this.selectColor)||void 0===r?void 0:r.call(this,e,t,n))||i.Util.makeHexColor(e,t,n);this.ctx.strokeStyle=o,this.current.strokeColor=o}setFillRGBColor(e,t,n){var r;const o=(null===(r=this.selectColor)||void 0===r?void 0:r.call(this,e,t,n))||i.Util.makeHexColor(e,t,n);this.ctx.fillStyle=o,this.current.fillColor=o,this.current.patternFill=!1}_getPattern(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(e)?t=this.cachedPatterns.get(e):(t=(0,o.getShadingPattern)(this.objs.get(e)),this.cachedPatterns.set(e,t)),n&&(t.matrix=n),t}shadingFill(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,(0,r.getCurrentTransformInverse)(t),o.PathType.SHADING);const a=(0,r.getCurrentTransformInverse)(t);if(a){const e=t.canvas,n=e.width,r=e.height,o=i.Util.applyTransform([0,0],a),s=i.Util.applyTransform([0,r],a),l=i.Util.applyTransform([n,0],a),c=i.Util.applyTransform([n,r],a),u=Math.min(o[0],s[0],l[0],c[0]),d=Math.min(o[1],s[1],l[1],c[1]),h=Math.max(o[0],s[0],l[0],c[0]),p=Math.max(o[1],s[1],l[1],c[1]);this.ctx.fillRect(u,d,h-u,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform(...e),this.baseTransform=(0,r.getCurrentTransform)(this.ctx),t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.current.updateRectMinMax((0,r.getCurrentTransform)(this.ctx),t),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const t=this.ctx;e.isolated||(0,i.info)("TODO: Support non-isolated groups."),e.knockout&&(0,i.warn)("Knockout groups not supported.");const n=(0,r.getCurrentTransform)(t);if(e.matrix&&t.transform(...e.matrix),!e.bbox)throw new Error("Bounding box is required.");let o=i.Util.getAxialAlignedBoundingBox(e.bbox,(0,r.getCurrentTransform)(t));const a=[0,0,t.canvas.width,t.canvas.height];o=i.Util.intersect(o,a)||[0,0,0,0];const s=Math.floor(o[0]),c=Math.floor(o[1]);let u=Math.max(Math.ceil(o[2])-s,1),d=Math.max(Math.ceil(o[3])-c,1),h=1,p=1;u>l&&(h=u/l,u=l),d>l&&(p=d/l,d=l),this.current.startNewPathAndClipBox([0,0,u,d]);let f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);const m=this.cachedCanvases.getCanvas(f,u,d),v=m.context;v.scale(1/h,1/p),v.translate(-s,-c),v.transform(...n),e.smask?this.smaskStack.push({canvas:m.canvas,context:v,offsetX:s,offsetY:c,scaleX:h,scaleY:p,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(s,c),t.scale(h,p),t.save()),g(t,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const e=(0,r.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...e);const n=i.Util.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(n)}}beginAnnotation(e,t,n,o,a){if(_assertClassBrand(S,this,P).call(this),v(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(t)&&4===t.length){const o=t[2]-t[0],s=t[3]-t[1];if(a&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=o,t[3]=s;const[a,l]=i.Util.singularValueDecompose2dScale((0,r.getCurrentTransform)(this.ctx)),{viewportScale:c}=this,u=Math.ceil(o*this.outputScaleX*c),d=Math.ceil(s*this.outputScaleY*c);this.annotationCanvas=this.canvasFactory.create(u,d);const{canvas:h,context:p}=this.annotationCanvas;this.annotationCanvasMap.set(e,h),this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.setTransform(a,0,0,-l,0,s*l),v(this.ctx,this.foregroundColor)}else v(this.ctx,this.foregroundColor),this.ctx.rect(t[0],t[1],o,s),this.ctx.clip(),this.endPath()}this.current=new p(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...o)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e){if(!this.contentVisible)return;const t=e.count;(e=this.getObject(e.data,e)).count=t;const n=this.ctx,r=this.processingType3;if(r&&(void 0===r.compiled&&(r.compiled=function(e){const{width:t,height:n}=e;if(t>c||n>c)return null;const r=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),i=t+1;let o,a,s,l=new Uint8Array(i*(n+1));const u=t+7&-8;let d=new Uint8Array(u*n),h=0;for(const c of e.data){let e=128;for(;e>0;)d[h++]=c&e?0:255,e>>=1}let p=0;for(h=0,0!==d[h]&&(l[0]=1,++p),a=1;a<t;a++)d[h]!==d[h+1]&&(l[a]=d[h]?2:1,++p),h++;for(0!==d[h]&&(l[a]=2,++p),o=1;o<n;o++){h=o*u,s=o*i,d[h-u]!==d[h]&&(l[s]=d[h]?1:8,++p);let e=(d[h]?4:0)+(d[h-u]?8:0);for(a=1;a<t;a++)e=(e>>2)+(d[h+1]?4:0)+(d[h-u+1]?8:0),r[e]&&(l[s+a]=r[e],++p),h++;if(d[h-u]!==d[h]&&(l[s+a]=d[h]?2:4,++p),p>1e3)return null}for(h=u*(n-1),s=o*i,0!==d[h]&&(l[s]=8,++p),a=1;a<t;a++)d[h]!==d[h+1]&&(l[s+a]=d[h]?4:8,++p),h++;if(0!==d[h]&&(l[s+a]=4,++p),p>1e3)return null;const f=new Int32Array([0,i,-1,0,-i,0,0,0,1]),m=new Path2D;for(o=0;p&&o<=n;o++){let e=o*i;const n=e+t;for(;e<n&&!l[e];)e++;if(e===n)continue;m.moveTo(e%i,o);const r=e;let a=l[e];do{const t=f[a];do{e+=t}while(!l[e]);const n=l[e];5!==n&&10!==n?(a=n,l[e]=0):(a=n&51*a>>4,l[e]&=a>>2|a<<2),m.lineTo(e%i,e/i|0),l[e]||--p}while(r!==e);--o}return d=null,l=null,function(e){e.save(),e.scale(1/t,-1/n),e.translate(0,-n),e.fill(m),e.beginPath(),e.restore()}}(e)),r.compiled))return void r.compiled(n);const i=this._createMaskCanvas(e),o=i.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(o,i.offsetX,i.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;if(!this.contentVisible)return;e=this.getObject(e.data,e);const l=this.ctx;l.save();const c=(0,r.getCurrentTransform)(l);l.transform(t,n,o,a,0,0);const u=this._createMaskCanvas(e);l.setTransform(1,0,0,1,0,0);for(let r=0,d=s.length;r<d;r+=2){const e=i.Util.transform(c,[t,n,o,a,s[r],s[r+1]]),[d,h]=i.Util.applyTransform([0,0],e);l.drawImage(u.canvas,d,h)}l.restore(),this.compose()}paintImageMaskXObjectGroup(e){if(!this.contentVisible)return;const t=this.ctx,n=this.current.fillColor,i=this.current.patternFill;for(const a of e){const{data:e,width:s,height:l,transform:c}=a,u=this.cachedCanvases.getCanvas("maskCanvas",s,l),d=u.context;d.save(),m(d,this.getObject(e,a)),d.globalCompositeOperation="source-in",d.fillStyle=i?n.getPattern(d,this,(0,r.getCurrentTransformInverse)(t),o.PathType.FILL):n,d.fillRect(0,0,s,l),d.restore(),t.save(),t.transform(...c),t.scale(1,-1),h(t,u.canvas,0,0,s,l,0,-1,1,1),t.restore()}this.compose()}paintImageXObject(e){if(!this.contentVisible)return;const t=this.getObject(e);t?this.paintInlineImageXObject(t):(0,i.warn)("Dependent image isn't ready yet")}paintImageXObjectRepeat(e,t,n,r){if(!this.contentVisible)return;const o=this.getObject(e);if(!o)return void(0,i.warn)("Dependent image isn't ready yet");const a=o.width,s=o.height,l=[];for(let i=0,c=r.length;i<c;i+=2)l.push({transform:[t,0,0,n,r[i],r[i+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,l)}paintInlineImageXObject(e){if(!this.contentVisible)return;const t=e.width,n=e.height,o=this.ctx;let a;if(this.save(),o.scale(1/t,-1/n),"function"===typeof HTMLElement&&e instanceof HTMLElement||!e.data)a=e;else{const r=this.cachedCanvases.getCanvas("inlineImage",t,n);f(r.context,e,this.current.transferMaps),a=r.canvas}const s=this._scaleImage(a,(0,r.getCurrentTransformInverse)(o));o.imageSmoothingEnabled=x((0,r.getCurrentTransform)(o),e.interpolate);const[l,c]=h(o,s.img,0,0,s.paintWidth,s.paintHeight,0,-n,t,n);if(this.imageLayer){const[t,o]=i.Util.applyTransform([0,-n],(0,r.getCurrentTransform)(this.ctx));this.imageLayer.appendImage({imgData:e,left:t,top:o,width:l,height:c})}this.compose(),this.restore()}paintInlineImageXObjectGroup(e,t){if(!this.contentVisible)return;const n=this.ctx,o=e.width,a=e.height,s=this.cachedCanvases.getCanvas("inlineImage",o,a);f(s.context,e,this.current.transferMaps);for(const l of t){if(n.save(),n.transform(...l.transform),n.scale(1,-1),h(n,s.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){const[t,n]=i.Util.applyTransform([l.x,l.y],(0,r.getCurrentTransform)(this.ctx));this.imageLayer.appendImage({imgData:e,left:t,top:n,width:o,height:a})}n.restore()}this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(e){}markPointProps(e,t){}beginMarkedContent(e){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(e){const t=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);const n=this.ctx;this.pendingClip&&(t||(this.pendingClip===T?n.clip("evenodd"):n.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),n.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const e=(0,r.getCurrentTransform)(this.ctx);if(0===e[1]&&0===e[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(e[0]),Math.abs(e[3]));else{const t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=Math.hypot(e[0],e[2]),r=Math.hypot(e[1],e[3]);this._cachedGetSinglePixelWidth=Math.max(n,r)/t}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(!this._cachedScaleForStroking){const{lineWidth:e}=this.current,t=(0,r.getCurrentTransform)(this.ctx);let n,i;if(0===t[1]&&0===t[2]){const r=Math.abs(t[0]),o=Math.abs(t[3]);if(0===e)n=1/r,i=1/o;else{const t=r*e,a=o*e;n=t<1?1/t:1,i=a<1?1/a:1}}else{const r=Math.abs(t[0]*t[3]-t[2]*t[1]),o=Math.hypot(t[0],t[1]),a=Math.hypot(t[2],t[3]);if(0===e)n=a/r,i=o/r;else{const t=e*r;n=a>t?a/t:1,i=o>t?o/t:1}}this._cachedScaleForStroking=[n,i]}return this._cachedScaleForStroking}rescaleAndStroke(e){const{ctx:t}=this,{lineWidth:n}=this.current,[i,o]=this.getScaleForStroking();if(t.lineWidth=n||1,1===i&&1===o)return void t.stroke();let a,s,l;e&&(a=(0,r.getCurrentTransform)(t),s=t.getLineDash().slice(),l=t.lineDashOffset),t.scale(i,o);const c=Math.max(i,o);t.setLineDash(t.getLineDash().map((e=>e/c))),t.lineDashOffset/=c,t.stroke(),e&&(t.setTransform(...a),t.setLineDash(s),t.lineDashOffset=l)}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}function P(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}t.CanvasGraphics=k;for(const D in i.OPS)void 0!==k.prototype[D]&&(k.prototype[i.OPS[D]]=k.prototype[D])},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.PathType=void 0,t.getShadingPattern=function(e){switch(e[0]){case"RadialAxial":return new c(e);case"Mesh":return new h(e);case"Dummy":return new p}throw new Error("Unknown IR type: ".concat(e[0]))};var r=n(1),i=n(8),o=n(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function s(e,t){if(!t||o.isNodeJS)return;const n=t[2]-t[0],r=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],n,r),e.clip(i)}t.PathType=a;class l{constructor(){this.constructor===l&&(0,r.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,r.unreachable)("Abstract method `getPattern` called.")}}class c extends l{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)t.addColorStop(n[0],n[1]);return t}getPattern(e,t,n,o){let l;if(o===a.STROKE||o===a.FILL){const a=t.current.getClippedPathBoundingBox(o,(0,i.getCurrentTransform)(e))||[0,0,0,0],u=Math.ceil(a[2]-a[0])||1,d=Math.ceil(a[3]-a[1])||1,h=t.cachedCanvases.getCanvas("pattern",u,d,!0),p=h.context;p.clearRect(0,0,p.canvas.width,p.canvas.height),p.beginPath(),p.rect(0,0,p.canvas.width,p.canvas.height),p.translate(-a[0],-a[1]),n=r.Util.transform(n,[1,0,0,1,a[0],a[1]]),p.transform(...t.baseTransform),this.matrix&&p.transform(...this.matrix),s(p,this._bbox),p.fillStyle=this._createGradient(p),p.fill(),l=e.createPattern(h.canvas,"no-repeat");const f=new DOMMatrix(n);try{l.setTransform(f)}catch(c){(0,r.warn)('RadialAxialShadingPattern.getPattern: "'.concat(null===c||void 0===c?void 0:c.message,'".'))}}else s(e,this._bbox),l=this._createGradient(e);return l}}function u(e,t,n,r,i,o,a,s){const l=t.coords,c=t.colors,u=e.data,d=4*e.width;let h;l[n+1]>l[r+1]&&(h=n,n=r,r=h,h=o,o=a,a=h),l[r+1]>l[i+1]&&(h=r,r=i,i=h,h=a,a=s,s=h),l[n+1]>l[r+1]&&(h=n,n=r,r=h,h=o,o=a,a=h);const p=(l[n]+t.offsetX)*t.scaleX,f=(l[n+1]+t.offsetY)*t.scaleY,m=(l[r]+t.offsetX)*t.scaleX,g=(l[r+1]+t.offsetY)*t.scaleY,v=(l[i]+t.offsetX)*t.scaleX,C=(l[i+1]+t.offsetY)*t.scaleY;if(f>=C)return;const y=c[o],b=c[o+1],w=c[o+2],x=c[a],A=c[a+1],E=c[a+2],_=c[s],T=c[s+1],S=c[s+2],k=Math.round(f),P=Math.round(C);let D,N,F,I,R,M,O,j;for(let L=k;L<=P;L++){if(L<g){let e;e=L<f?0:(f-L)/(f-g),D=p-(p-m)*e,N=y-(y-x)*e,F=b-(b-A)*e,I=w-(w-E)*e}else{let e;e=L>C?1:g===C?0:(g-L)/(g-C),D=m-(m-v)*e,N=x-(x-_)*e,F=A-(A-T)*e,I=E-(E-S)*e}let e;e=L<f?0:L>C?1:(f-L)/(f-C),R=p-(p-v)*e,M=y-(y-_)*e,O=b-(b-T)*e,j=w-(w-S)*e;const t=Math.round(Math.min(D,R)),n=Math.round(Math.max(D,R));let r=d*L+4*t;for(let i=t;i<=n;i++)e=(D-i)/(D-R),e<0?e=0:e>1&&(e=1),u[r++]=N-(N-M)*e|0,u[r++]=F-(F-O)*e|0,u[r++]=I-(I-j)*e|0,u[r++]=255}}function d(e,t,n){const r=t.coords,i=t.colors;let o,a;switch(t.type){case"lattice":const s=t.verticesPerRow,l=Math.floor(r.length/s)-1,c=s-1;for(o=0;o<l;o++){let t=o*s;for(let o=0;o<c;o++,t++)u(e,n,r[t],r[t+1],r[t+s],i[t],i[t+1],i[t+s]),u(e,n,r[t+s+1],r[t+1],r[t+s],i[t+s+1],i[t+1],i[t+s])}break;case"triangles":for(o=0,a=r.length;o<a;o+=3)u(e,n,r[o],r[o+1],r[o+2],i[o],i[o+1],i[o+2]);break;default:throw new Error("illegal figure")}}class h extends l{constructor(e){super(),this._coords=e[2],this._colors=e[3],this._figures=e[4],this._bounds=e[5],this._bbox=e[7],this._background=e[8],this.matrix=null}_createMeshCanvas(e,t,n){const r=Math.floor(this._bounds[0]),i=Math.floor(this._bounds[1]),o=Math.ceil(this._bounds[2])-r,a=Math.ceil(this._bounds[3])-i,s=Math.min(Math.ceil(Math.abs(o*e[0]*1.1)),3e3),l=Math.min(Math.ceil(Math.abs(a*e[1]*1.1)),3e3),c=o/s,u=a/l,h={coords:this._coords,colors:this._colors,offsetX:-r,offsetY:-i,scaleX:1/c,scaleY:1/u},p=s+4,f=l+4,m=n.getCanvas("mesh",p,f,!1),g=m.context,v=g.createImageData(s,l);if(t){const e=v.data;for(let n=0,r=e.length;n<r;n+=4)e[n]=t[0],e[n+1]=t[1],e[n+2]=t[2],e[n+3]=255}for(const C of this._figures)d(v,C,h);return g.putImageData(v,2,2),{canvas:m.canvas,offsetX:r-2*c,offsetY:i-2*u,scaleX:c,scaleY:u}}getPattern(e,t,n,o){let l;if(s(e,this._bbox),o===a.SHADING)l=r.Util.singularValueDecompose2dScale((0,i.getCurrentTransform)(e));else if(l=r.Util.singularValueDecompose2dScale(t.baseTransform),this.matrix){const e=r.Util.singularValueDecompose2dScale(this.matrix);l=[l[0]*e[0],l[1]*e[1]]}const c=this._createMeshCanvas(l,o===a.SHADING?null:this._background,t.cachedCanvases);return o!==a.SHADING&&(e.setTransform(...t.baseTransform),this.matrix&&e.transform(...this.matrix)),e.translate(c.offsetX,c.offsetY),e.scale(c.scaleX,c.scaleY),e.createPattern(c.canvas,"no-repeat")}}class p extends l{getPattern(){return"hotpink"}}const f=1,m=2;class g{static get MAX_PATTERN_SIZE(){return(0,r.shadow)(this,"MAX_PATTERN_SIZE",3e3)}constructor(e,t,n,r,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.ctx=n,this.canvasGraphicsFactory=r,this.baseTransform=i}createPatternCanvas(e){const t=this.operatorList,n=this.bbox,o=this.xstep,a=this.ystep,s=this.paintType,l=this.tilingType,c=this.color,u=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+l);const d=n[0],h=n[1],p=n[2],f=n[3],m=r.Util.singularValueDecompose2dScale(this.matrix),g=r.Util.singularValueDecompose2dScale(this.baseTransform),v=[m[0]*g[0],m[1]*g[1]],C=this.getSizeAndScale(o,this.ctx.canvas.width,v[0]),y=this.getSizeAndScale(a,this.ctx.canvas.height,v[1]),b=e.cachedCanvases.getCanvas("pattern",C.size,y.size,!0),w=b.context,x=u.createCanvasGraphics(w);x.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(x,s,c);let A=d,E=h,_=p,T=f;return d<0&&(A=0,_+=Math.abs(d)),h<0&&(E=0,T+=Math.abs(h)),w.translate(-C.scale*A,-y.scale*E),x.transform(C.scale,0,0,y.scale,0,0),w.save(),this.clipBbox(x,A,E,_,T),x.baseTransform=(0,i.getCurrentTransform)(x.ctx),x.executeOperatorList(t),x.endDrawing(),{canvas:b.canvas,scaleX:C.scale,scaleY:y.scale,offsetX:A,offsetY:E}}getSizeAndScale(e,t,n){e=Math.abs(e);const r=Math.max(g.MAX_PATTERN_SIZE,t);let i=Math.ceil(e*n);return i>=r?i=r:n=i/e,{scale:n,size:i}}clipBbox(e,t,n,r,o){const a=r-t,s=o-n;e.ctx.rect(t,n,a,s),e.current.updateRectMinMax((0,i.getCurrentTransform)(e.ctx),[t,n,r,o]),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,n){const i=e.ctx,o=e.current;switch(t){case f:const e=this.ctx;i.fillStyle=e.fillStyle,i.strokeStyle=e.strokeStyle,o.fillColor=e.fillStyle,o.strokeColor=e.strokeStyle;break;case m:const a=r.Util.makeHexColor(n[0],n[1],n[2]);i.fillStyle=a,i.strokeStyle=a,o.fillColor=a,o.strokeColor=a;break;default:throw new r.FormatError("Unsupported paint type: ".concat(t))}}getPattern(e,t,n,i){let o=n;i!==a.SHADING&&(o=r.Util.transform(o,t.baseTransform),this.matrix&&(o=r.Util.transform(o,this.matrix)));const s=this.createPatternCanvas(t);let l=new DOMMatrix(o);l=l.translate(s.offsetX,s.offsetY),l=l.scale(1/s.scaleX,1/s.scaleY);const c=e.createPattern(s.canvas,"repeat");try{c.setTransform(l)}catch(u){(0,r.warn)('TilingPattern.getPattern: "'.concat(null===u||void 0===u?void 0:u.message,'".'))}return c}}t.TilingPattern=g},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applyMaskImageData=function(e){let{src:t,srcPos:n=0,dest:i,destPos:o=0,width:a,height:s,inverseDecode:l=!1}=e;const c=r.FeatureTest.isLittleEndian?4278190080:255,[u,d]=l?[0,c]:[c,0],h=a>>3,p=7&a,f=t.length;i=new Uint32Array(i.buffer);for(let r=0;r<s;r++){for(const r=n+h;n<r;n++){const e=n<f?t[n]:255;i[o++]=128&e?d:u,i[o++]=64&e?d:u,i[o++]=32&e?d:u,i[o++]=16&e?d:u,i[o++]=8&e?d:u,i[o++]=4&e?d:u,i[o++]=2&e?d:u,i[o++]=1&e?d:u}if(0===p)continue;const e=n<f?t[n++]:255;for(let t=0;t<p;t++)i[o++]=e&1<<7-t?d:u}return{srcPos:n,destPos:o}};var r=n(1)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;const n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r=n(1);const i=1,o=2,a=1,s=2,l=3,c=4,u=5,d=6,h=7,p=8;function f(e){switch(e instanceof Error||"object"===typeof e&&null!==e||(0,r.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new r.AbortException(e.message);case"MissingPDFException":return new r.MissingPDFException(e.message);case"PasswordException":return new r.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new r.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new r.UnknownErrorException(e.message,e.details);default:return new r.UnknownErrorException(e.message,e.toString())}}t.MessageHandler=class{constructor(e,t,n){this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=e=>{const t=e.data;if(t.targetName!==this.sourceName)return;if(t.stream)return void this._processStreamMessage(t);if(t.callback){const e=t.callbackId,n=this.callbackCapabilities[e];if(!n)throw new Error("Cannot resolve callback ".concat(e));if(delete this.callbackCapabilities[e],t.callback===i)n.resolve(t.data);else{if(t.callback!==o)throw new Error("Unexpected callback case");n.reject(f(t.reason))}return}const r=this.actionHandler[t.action];if(!r)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){const e=this.sourceName,a=t.sourceName;new Promise((function(e){e(r(t.data))})).then((function(r){n.postMessage({sourceName:e,targetName:a,callback:i,callbackId:t.callbackId,data:r})}),(function(r){n.postMessage({sourceName:e,targetName:a,callback:o,callbackId:t.callbackId,reason:f(r)})}))}else t.streamId?this._createStreamSink(t):r(t.data)},n.addEventListener("message",this._onComObjOnMessage)}on(e,t){const n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=t}send(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const i=this.callbackId++,o=(0,r.createPromiseCapability)();this.callbackCapabilities[i]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},n)}catch(a){o.reject(a)}return o.promise}sendWithStream(e,t,n,i){const o=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:n=>{const a=(0,r.createPromiseCapability)();return this.streamControllers[o]={controller:n,startCall:a,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:s,targetName:l,action:e,streamId:o,data:t,desiredSize:n.desiredSize},i),a.promise},pull:e=>{const t=(0,r.createPromiseCapability)();return this.streamControllers[o].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:d,streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:e=>{(0,r.assert)(e instanceof Error,"cancel must have a valid reason");const t=(0,r.createPromiseCapability)();return this.streamControllers[o].cancelCall=t,this.streamControllers[o].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:a,streamId:o,reason:f(e)}),t.promise}},n)}_createStreamSink(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,o=this.comObj,a=this,s=this.actionHandler[e.action],d={enqueue(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const l=this.desiredSize;this.desiredSize-=a,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,r.createPromiseCapability)(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:n,targetName:i,stream:c,streamId:t,chunk:e},s)},close(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:l,streamId:t}),delete a.streamSinks[t])},error(e){(0,r.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:u,streamId:t,reason:f(e)}))},sinkCapability:(0,r.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[t]=d,new Promise((function(t){t(s(e.data,d))})).then((function(){o.postMessage({sourceName:n,targetName:i,stream:p,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:i,stream:p,streamId:t,reason:f(e)})}))}_processStreamMessage(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,o=this.comObj,m=this.streamControllers[t],g=this.streamSinks[t];switch(e.stream){case p:e.success?m.startCall.resolve():m.startCall.reject(f(e.reason));break;case h:e.success?m.pullCall.resolve():m.pullCall.reject(f(e.reason));break;case d:if(!g){o.postMessage({sourceName:n,targetName:i,stream:h,streamId:t,success:!0});break}g.desiredSize<=0&&e.desiredSize>0&&g.sinkCapability.resolve(),g.desiredSize=e.desiredSize,new Promise((function(e){e(g.onPull&&g.onPull())})).then((function(){o.postMessage({sourceName:n,targetName:i,stream:h,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:i,stream:h,streamId:t,reason:f(e)})}));break;case c:if((0,r.assert)(m,"enqueue should have stream controller"),m.isClosed)break;m.controller.enqueue(e.chunk);break;case l:if((0,r.assert)(m,"close should have stream controller"),m.isClosed)break;m.isClosed=!0,m.controller.close(),this._deleteStreamController(m,t);break;case u:(0,r.assert)(m,"error should have stream controller"),m.controller.error(f(e.reason)),this._deleteStreamController(m,t);break;case s:e.success?m.cancelCall.resolve():m.cancelCall.reject(f(e.reason)),this._deleteStreamController(m,t);break;case a:if(!g)break;new Promise((function(t){t(g.onCancel&&g.onCancel(f(e.reason)))})).then((function(){o.postMessage({sourceName:n,targetName:i,stream:s,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:i,stream:s,streamId:t,reason:f(e)})})),g.sinkCapability.reject(f(e.reason)),g.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(e,t){await Promise.allSettled([e.startCall&&e.startCall.promise,e.pullCall&&e.pullCall.promise,e.cancelCall&&e.cancelCall.promise]),delete this.streamControllers[t]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(1),i=new WeakMap,o=new WeakMap;t.Metadata=class{constructor(e){let{parsedData:t,rawData:n}=e;_classPrivateFieldInitSpec(this,i,void 0),_classPrivateFieldInitSpec(this,o,void 0),_classPrivateFieldSet(i,this,t),_classPrivateFieldSet(o,this,n)}getRaw(){return _classPrivateFieldGet(o,this)}get(e){var t;return null!==(t=_classPrivateFieldGet(i,this).get(e))&&void 0!==t?t:null}getAll(){return(0,r.objectFromMap)(_classPrivateFieldGet(i,this))}has(e){return _classPrivateFieldGet(i,this).has(e)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var r=n(1);const i=Symbol("INTERNAL");var o=new WeakMap;class a{constructor(e,t){_classPrivateFieldInitSpec(this,o,!0),this.name=e,this.intent=t}get visible(){return _classPrivateFieldGet(o,this)}_setVisible(e,t){e!==i&&(0,r.unreachable)("Internal method `_setVisible` called."),_classPrivateFieldSet(o,this,t)}}var s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakSet;function h(e){const t=e.length;if(t<2)return!0;const n=e[0];for(let i=1;i<t;i++){const t=e[i];let o;if(Array.isArray(t))o=_assertClassBrand(d,this,h).call(this,t);else{if(!_classPrivateFieldGet(l,this).has(t))return(0,r.warn)("Optional content group not found: ".concat(t)),!0;o=_classPrivateFieldGet(l,this).get(t).visible}switch(n){case"And":if(!o)return!1;break;case"Or":if(o)return!0;break;case"Not":return!o;default:return!0}}return"And"===n}t.OptionalContentConfig=class{constructor(e){if(_classPrivateMethodInitSpec(this,d),_classPrivateFieldInitSpec(this,s,!0),_classPrivateFieldInitSpec(this,l,new Map),_classPrivateFieldInitSpec(this,c,null),_classPrivateFieldInitSpec(this,u,null),this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,_classPrivateFieldSet(u,this,e.order);for(const t of e.groups)_classPrivateFieldGet(l,this).set(t.id,new a(t.name,t.intent));if("OFF"===e.baseState)for(const e of _classPrivateFieldGet(l,this).values())e._setVisible(i,!1);for(const t of e.on)_classPrivateFieldGet(l,this).get(t)._setVisible(i,!0);for(const t of e.off)_classPrivateFieldGet(l,this).get(t)._setVisible(i,!1);_classPrivateFieldSet(c,this,new Map);for(const[e,t]of _classPrivateFieldGet(l,this))_classPrivateFieldGet(c,this).set(e,t.visible)}}isVisible(e){if(0===_classPrivateFieldGet(l,this).size)return!0;if(!e)return(0,r.warn)("Optional content group not defined."),!0;if("OCG"===e.type)return _classPrivateFieldGet(l,this).has(e.id)?_classPrivateFieldGet(l,this).get(e.id).visible:((0,r.warn)("Optional content group not found: ".concat(e.id)),!0);if("OCMD"===e.type){if(e.expression)return _assertClassBrand(d,this,h).call(this,e.expression);if(!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!_classPrivateFieldGet(l,this).has(t))return(0,r.warn)("Optional content group not found: ".concat(t)),!0;if(_classPrivateFieldGet(l,this).get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!_classPrivateFieldGet(l,this).has(t))return(0,r.warn)("Optional content group not found: ".concat(t)),!0;if(!_classPrivateFieldGet(l,this).get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!_classPrivateFieldGet(l,this).has(t))return(0,r.warn)("Optional content group not found: ".concat(t)),!0;if(!_classPrivateFieldGet(l,this).get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!_classPrivateFieldGet(l,this).has(t))return(0,r.warn)("Optional content group not found: ".concat(t)),!0;if(_classPrivateFieldGet(l,this).get(t).visible)return!1}return!0}return(0,r.warn)("Unknown optional content policy ".concat(e.policy,".")),!0}return(0,r.warn)("Unknown group type ".concat(e.type,".")),!0}setVisibility(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];_classPrivateFieldGet(l,this).has(e)?(_classPrivateFieldGet(l,this).get(e)._setVisible(i,!!t),_classPrivateFieldSet(s,this,null)):(0,r.warn)("Optional content group not found: ".concat(e))}get hasInitialVisibility(){if(null!==_classPrivateFieldGet(s,this))return _classPrivateFieldGet(s,this);for(const[e,t]of _classPrivateFieldGet(l,this)){const n=_classPrivateFieldGet(c,this).get(e);if(t.visible!==n)return _classPrivateFieldSet(s,this,!1)}return _classPrivateFieldSet(s,this,!0)}getOrder(){return _classPrivateFieldGet(l,this).size?_classPrivateFieldGet(u,this)?_classPrivateFieldGet(u,this).slice():[..._classPrivateFieldGet(l,this).keys()]:null}getGroups(){return _classPrivateFieldGet(l,this).size>0?(0,r.objectFromMap)(_classPrivateFieldGet(l,this)):null}getGroup(e){return _classPrivateFieldGet(l,this).get(e)||null}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r=n(1),i=n(8);t.PDFDataTransportStream=class{constructor(e,t){(0,r.assert)(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=e.progressiveDone||!1,this._contentDispositionFilename=e.contentDispositionFilename||null;const n=e.initialData;if((null===n||void 0===n?void 0:n.length)>0){const e=new Uint8Array(n).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}_onReceiveData(e){const t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{const n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,r.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}_onProgress(e){if(void 0===e.total){const t=this._rangeReaders[0];null!==t&&void 0!==t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{const t=this._fullRequestReader;null!==t&&void 0!==t&&t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){(0,r.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new o(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new a(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeReaders.slice(0))t.cancel(e);this._pdfDataRangeTransport.abort()}};class o{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this._stream=e,this._done=n||!1,this._filename=(0,i.isPdfFile)(r)?r:null,this._queuedChunks=t||[],this._loaded=0;for(const i of this._queuedChunks)this._loaded+=i.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaText=void 0;class n{static textContent(e){const t=[],r={items:t,styles:Object.create(null)};return function e(r){var i;if(!r)return;let o=null;const a=r.name;if("#text"===a)o=r.value;else{if(!n.shouldBuildText(a))return;null!==r&&void 0!==r&&null!==(i=r.attributes)&&void 0!==i&&i.textContent?o=r.attributes.textContent:r.value&&(o=r.value)}if(null!==o&&t.push({str:o}),r.children)for(const t of r.children)e(t)}(e),r}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}t.XfaText=n},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStandardFontDataFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var r=n(9);const i=function(e){return new Promise(((t,n)=>{__webpack_require__(82590).readFile(e,((e,r)=>{!e&&r?t(new Uint8Array(r)):n(new Error(e))}))}))};class o extends r.BaseCanvasFactory{_createCanvas(e,t){return __webpack_require__(28383).createCanvas(e,t)}}t.NodeCanvasFactory=o;class a extends r.BaseCMapReaderFactory{_fetchData(e,t){return i(e).then((e=>({cMapData:e,compressionType:t})))}}t.NodeCMapReaderFactory=a;class s extends r.BaseStandardFontDataFactory{_fetchData(e){return i(e)}}t.NodeStandardFontDataFactory=s},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationEditorLayer=void 0;var r=n(7),i=n(1),o=n(23),a=n(24),s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakSet;class g{constructor(e){_classPrivateMethodInitSpec(this,m),_classPrivateFieldInitSpec(this,s,void 0),_classPrivateFieldInitSpec(this,l,!1),_classPrivateFieldInitSpec(this,c,this.pointerup.bind(this)),_classPrivateFieldInitSpec(this,u,this.pointerdown.bind(this)),_classPrivateFieldInitSpec(this,d,new Map),_classPrivateFieldInitSpec(this,h,!1),_classPrivateFieldInitSpec(this,p,!1),_classPrivateFieldInitSpec(this,f,void 0),g._initialized||(g._initialized=!0,o.FreeTextEditor.initialize(e.l10n),a.InkEditor.initialize(e.l10n),e.uiManager.registerEditorTypes([o.FreeTextEditor,a.InkEditor])),_classPrivateFieldSet(f,this,e.uiManager),this.annotationStorage=e.annotationStorage,this.pageIndex=e.pageIndex,this.div=e.div,_classPrivateFieldSet(s,this,e.accessibilityManager),_classPrivateFieldGet(f,this).addLayer(this)}updateToolbar(e){_classPrivateFieldGet(f,this).updateToolbar(e)}updateMode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_classPrivateFieldGet(f,this).getMode();_assertClassBrand(m,this,b).call(this),e===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),_classPrivateFieldGet(f,this).unselectAll()}addInkEditorIfNeeded(e){if(e||_classPrivateFieldGet(f,this).getMode()===i.AnnotationEditorType.INK){if(!e)for(const e of _classPrivateFieldGet(d,this).values())if(e.isEmpty())return void e.setInBackground();_assertClassBrand(m,this,y).call(this,{offsetX:0,offsetY:0}).setInBackground()}}setEditingState(e){_classPrivateFieldGet(f,this).setEditingState(e)}addCommands(e){_classPrivateFieldGet(f,this).addCommands(e)}enable(){this.div.style.pointerEvents="auto";for(const e of _classPrivateFieldGet(d,this).values())e.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const e of _classPrivateFieldGet(d,this).values())e.disableEditing()}setActiveEditor(e){_classPrivateFieldGet(f,this).getActive()!==e&&_classPrivateFieldGet(f,this).setActiveEditor(e)}enableClick(){this.div.addEventListener("pointerdown",_classPrivateFieldGet(u,this)),this.div.addEventListener("pointerup",_classPrivateFieldGet(c,this))}disableClick(){this.div.removeEventListener("pointerdown",_classPrivateFieldGet(u,this)),this.div.removeEventListener("pointerup",_classPrivateFieldGet(c,this))}attach(e){_classPrivateFieldGet(d,this).set(e.id,e)}detach(e){var t;_classPrivateFieldGet(d,this).delete(e.id),null===(t=_classPrivateFieldGet(s,this))||void 0===t||t.removePointerInTextLayer(e.contentDiv)}remove(e){_classPrivateFieldGet(f,this).removeEditor(e),this.detach(e),this.annotationStorage.remove(e.id),e.div.style.display="none",setTimeout((()=>{e.div.style.display="",e.div.remove(),e.isAttachedToDOM=!1,document.activeElement===document.body&&_classPrivateFieldGet(f,this).focusMainContainer()}),0),_classPrivateFieldGet(p,this)||this.addInkEditorIfNeeded(!1)}add(e){if(_assertClassBrand(m,this,v).call(this,e),_classPrivateFieldGet(f,this).addEditor(e),this.attach(e),!e.isAttachedToDOM){const t=e.render();this.div.append(t),e.isAttachedToDOM=!0}this.moveEditorInDOM(e),e.onceAdded(),this.addToAnnotationStorage(e)}moveEditorInDOM(e){var t;null===(t=_classPrivateFieldGet(s,this))||void 0===t||t.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addToAnnotationStorage(e){e.isEmpty()||this.annotationStorage.has(e.id)||this.annotationStorage.setValue(e.id,e)}addOrRebuild(e){e.needsToBeRebuilt()?e.rebuild():this.add(e)}addANewEditor(e){this.addCommands({cmd:()=>{this.addOrRebuild(e)},undo:()=>{e.remove()},mustExec:!0})}addUndoableEditor(e){this.addCommands({cmd:()=>{this.addOrRebuild(e)},undo:()=>{e.remove()},mustExec:!1})}getNextId(){return _classPrivateFieldGet(f,this).getId()}deserialize(e){switch(e.annotationType){case i.AnnotationEditorType.FREETEXT:return o.FreeTextEditor.deserialize(e,this);case i.AnnotationEditorType.INK:return a.InkEditor.deserialize(e,this)}return null}setSelected(e){_classPrivateFieldGet(f,this).setSelected(e)}toggleSelected(e){_classPrivateFieldGet(f,this).toggleSelected(e)}isSelected(e){return _classPrivateFieldGet(f,this).isSelected(e)}unselect(e){_classPrivateFieldGet(f,this).unselect(e)}pointerup(e){const t=r.KeyboardManager.platform.isMac;0!==e.button||e.ctrlKey&&t||e.target===this.div&&_classPrivateFieldGet(h,this)&&(_classPrivateFieldSet(h,this,!1),_classPrivateFieldGet(l,this)?_assertClassBrand(m,this,y).call(this,e):_classPrivateFieldSet(l,this,!0))}pointerdown(e){const t=r.KeyboardManager.platform.isMac;if(0!==e.button||e.ctrlKey&&t)return;if(e.target!==this.div)return;_classPrivateFieldSet(h,this,!0);const n=_classPrivateFieldGet(f,this).getActive();_classPrivateFieldSet(l,this,!n||n.isEmpty())}drop(e){const t=e.dataTransfer.getData("text/plain"),n=_classPrivateFieldGet(f,this).getEditor(t);if(!n)return;e.preventDefault(),e.dataTransfer.dropEffect="move",_assertClassBrand(m,this,v).call(this,n);const r=this.div.getBoundingClientRect(),i=e.clientX-r.x,o=e.clientY-r.y;n.translate(i-n.startX,o-n.startY),this.moveEditorInDOM(n),n.div.focus()}dragover(e){e.preventDefault()}destroy(){var e;(null===(e=_classPrivateFieldGet(f,this).getActive())||void 0===e?void 0:e.parent)===this&&_classPrivateFieldGet(f,this).setActiveEditor(null);for(const n of _classPrivateFieldGet(d,this).values()){var t;null===(t=_classPrivateFieldGet(s,this))||void 0===t||t.removePointerInTextLayer(n.contentDiv),n.isAttachedToDOM=!1,n.div.remove(),n.parent=null}this.div=null,_classPrivateFieldGet(d,this).clear(),_classPrivateFieldGet(f,this).removeLayer(this)}render(e){this.viewport=e.viewport,(0,r.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const t of _classPrivateFieldGet(f,this).getEditors(this.pageIndex))this.add(t);this.updateMode()}update(e){this.viewport=e.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[e,t,n,r]=this.viewport.viewBox;return[n-e,r-t]}get viewportBaseDimensions(){const{width:e,height:t,rotation:n}=this.viewport;return n%180===0?[e,t]:[t,e]}setDimensions(){const{width:e,height:t,rotation:n}=this.viewport,r=n%180!==0,i=Math.floor(e)+"px",o=Math.floor(t)+"px";this.div.style.width=r?o:i,this.div.style.height=r?i:o,this.div.setAttribute("data-main-rotation",n)}}function v(e){var t;e.parent!==this&&(this.attach(e),e.pageIndex=this.pageIndex,null===(t=e.parent)||void 0===t||t.detach(e),e.parent=this,e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}function C(e){switch(_classPrivateFieldGet(f,this).getMode()){case i.AnnotationEditorType.FREETEXT:return new o.FreeTextEditor(e);case i.AnnotationEditorType.INK:return new a.InkEditor(e)}return null}function y(e){const t=this.getNextId(),n=_assertClassBrand(m,this,C).call(this,{parent:this,id:t,x:e.offsetX,y:e.offsetY});return n&&this.add(n),n}function b(){_classPrivateFieldSet(p,this,!0);for(const e of _classPrivateFieldGet(d,this).values())e.isEmpty()&&e.remove();_classPrivateFieldSet(p,this,!1)}_defineProperty(g,"_initialized",!1),t.AnnotationEditorLayer=g},(e,t,n)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.FreeTextEditor=void 0;var i=n(1),o=n(7),a=n(6),s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,f=new WeakSet;class m extends a.AnnotationEditor{constructor(e){super({...e,name:"freeTextEditor"}),_classPrivateMethodInitSpec(this,f),_classPrivateFieldInitSpec(this,s,this.editorDivBlur.bind(this)),_classPrivateFieldInitSpec(this,l,this.editorDivFocus.bind(this)),_classPrivateFieldInitSpec(this,c,this.editorDivKeydown.bind(this)),_classPrivateFieldInitSpec(this,u,void 0),_classPrivateFieldInitSpec(this,d,""),_classPrivateFieldInitSpec(this,h,!1),_classPrivateFieldInitSpec(this,p,void 0),_classPrivateFieldSet(u,this,e.color||m._defaultColor||a.AnnotationEditor._defaultLineColor),_classPrivateFieldSet(p,this,e.fontSize||m._defaultFontSize)}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map((t=>[t,e.get(t)])));const t=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(t.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,t){switch(e){case i.AnnotationEditorParamsType.FREETEXT_SIZE:m._defaultFontSize=t;break;case i.AnnotationEditorParamsType.FREETEXT_COLOR:m._defaultColor=t}}updateParams(e,t){switch(e){case i.AnnotationEditorParamsType.FREETEXT_SIZE:_assertClassBrand(f,this,g).call(this,t);break;case i.AnnotationEditorParamsType.FREETEXT_COLOR:_assertClassBrand(f,this,v).call(this,t)}}static get defaultPropertiesToUpdate(){return[[i.AnnotationEditorParamsType.FREETEXT_SIZE,m._defaultFontSize],[i.AnnotationEditorParamsType.FREETEXT_COLOR,m._defaultColor||a.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[i.AnnotationEditorParamsType.FREETEXT_SIZE,_classPrivateFieldGet(p,this)],[i.AnnotationEditorParamsType.FREETEXT_COLOR,_classPrivateFieldGet(u,this)]]}getInitialTranslation(){return[-m._internalPadding*this.parent.scaleFactor,-(m._internalPadding+_classPrivateFieldGet(p,this))*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(i.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",_classPrivateFieldGet(c,this)),this.editorDiv.addEventListener("focus",_classPrivateFieldGet(l,this)),this.editorDiv.addEventListener("blur",_classPrivateFieldGet(s,this)))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",_classPrivateFieldGet(c,this)),this.editorDiv.removeEventListener("focus",_classPrivateFieldGet(l,this)),this.editorDiv.removeEventListener("blur",_classPrivateFieldGet(s,this)),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}commit(){super.commit(),_classPrivateFieldGet(h,this)||(_classPrivateFieldSet(h,this,!0),this.parent.addUndoableEditor(this)),this.disableEditMode(),_classPrivateFieldSet(d,this,_assertClassBrand(f,this,C).call(this).trimEnd()),_assertClassBrand(f,this,y).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}dblclick(e){this.enableEditMode(),this.editorDiv.focus()}keydown(e){e.target===this.div&&"Enter"===e.key&&(this.enableEditMode(),this.editorDiv.focus())}editorDivKeydown(e){m._keyboardManager.exec(this,e)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let e,t;this.width&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id","".concat(this.id,"-editor")),this.enableEditing(),m._l10nPromise.get("editor_free_text_aria_label").then((e=>{var t;return null===(t=this.editorDiv)||void 0===t?void 0:t.setAttribute("aria-label",e)})),m._l10nPromise.get("free_text_default_content").then((e=>{var t;return null===(t=this.editorDiv)||void 0===t?void 0:t.setAttribute("default-content",e)})),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize="calc(".concat(_classPrivateFieldGet(p,this),"px * var(--scale-factor))"),n.color=_classPrivateFieldGet(u,this),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,o.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[n,r]=this.parent.viewportBaseDimensions;this.setAt(e*n,t*r,this.width*n,this.height*r);for(const e of _classPrivateFieldGet(d,this).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(t)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,t){const n=super.deserialize(e,t);return _classPrivateFieldSet(p,n,e.fontSize),_classPrivateFieldSet(u,n,i.Util.makeHexColor(...e.color)),_classPrivateFieldSet(d,n,e.value),n}serialize(){if(this.isEmpty())return null;const e=m._internalPadding*this.parent.scaleFactor,t=this.getRect(e,e),n=a.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:i.AnnotationEditorType.FREETEXT,color:n,fontSize:_classPrivateFieldGet(p,this),value:_classPrivateFieldGet(d,this),pageIndex:this.parent.pageIndex,rect:t,rotation:this.rotation}}}function g(e){const t=e=>{this.editorDiv.style.fontSize="calc(".concat(e,"px * var(--scale-factor))"),this.translate(0,-(e-_classPrivateFieldGet(p,this))*this.parent.scaleFactor),_classPrivateFieldSet(p,this,e),_assertClassBrand(f,this,y).call(this)},n=_classPrivateFieldGet(p,this);this.parent.addCommands({cmd:()=>{t(e)},undo:()=>{t(n)},mustExec:!0,type:i.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function v(e){const t=_classPrivateFieldGet(u,this);this.parent.addCommands({cmd:()=>{_classPrivateFieldSet(u,this,e),this.editorDiv.style.color=e},undo:()=>{_classPrivateFieldSet(u,this,t),this.editorDiv.style.color=t},mustExec:!0,type:i.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function C(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n].firstChild;"#text"===(null===r||void 0===r?void 0:r.nodeName)?t.push(r.data):t.push("")}return t.join("\n")}function y(){const[e,t]=this.parent.viewportBaseDimensions,n=this.div.getBoundingClientRect();this.width=n.width/e,this.height=n.height/t}r=m,_defineProperty(m,"_freeTextDefaultContent",""),_defineProperty(m,"_l10nPromise",void 0),_defineProperty(m,"_internalPadding",0),_defineProperty(m,"_defaultColor",null),_defineProperty(m,"_defaultFontSize",10),_defineProperty(m,"_keyboardManager",new o.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],r.prototype.commitOrRemove]])),_defineProperty(m,"_type","freetext"),t.FreeTextEditor=m},(e,t,n)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.InkEditor=void 0,Object.defineProperty(t,"fitCurve",{enumerable:!0,get:function(){return a.fitCurve}});var i=n(1),o=n(6),a=n(25),s=n(7);const l=16;var c=new WeakMap,u=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,g=new WeakMap,v=new WeakMap,C=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,A=new WeakSet;class E extends o.AnnotationEditor{constructor(e){super({...e,name:"inkEditor"}),_classPrivateMethodInitSpec(this,A),_classPrivateFieldInitSpec(this,c,0),_classPrivateFieldInitSpec(this,u,0),_classPrivateFieldInitSpec(this,d,0),_classPrivateFieldInitSpec(this,h,this.canvasPointermove.bind(this)),_classPrivateFieldInitSpec(this,p,this.canvasPointerleave.bind(this)),_classPrivateFieldInitSpec(this,f,this.canvasPointerup.bind(this)),_classPrivateFieldInitSpec(this,m,this.canvasPointerdown.bind(this)),_classPrivateFieldInitSpec(this,g,!1),_classPrivateFieldInitSpec(this,v,!1),_classPrivateFieldInitSpec(this,C,null),_classPrivateFieldInitSpec(this,y,null),_classPrivateFieldInitSpec(this,b,0),_classPrivateFieldInitSpec(this,w,0),_classPrivateFieldInitSpec(this,x,null),this.color=e.color||null,this.thickness=e.thickness||null,this.opacity=e.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(e){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map((t=>[t,e.get(t)])))}static updateDefaultParams(e,t){switch(e){case i.AnnotationEditorParamsType.INK_THICKNESS:E._defaultThickness=t;break;case i.AnnotationEditorParamsType.INK_COLOR:E._defaultColor=t;break;case i.AnnotationEditorParamsType.INK_OPACITY:E._defaultOpacity=t/100}}updateParams(e,t){switch(e){case i.AnnotationEditorParamsType.INK_THICKNESS:_assertClassBrand(A,this,_).call(this,t);break;case i.AnnotationEditorParamsType.INK_COLOR:_assertClassBrand(A,this,T).call(this,t);break;case i.AnnotationEditorParamsType.INK_OPACITY:_assertClassBrand(A,this,S).call(this,t)}}static get defaultPropertiesToUpdate(){return[[i.AnnotationEditorParamsType.INK_THICKNESS,E._defaultThickness],[i.AnnotationEditorParamsType.INK_COLOR,E._defaultColor||o.AnnotationEditor._defaultLineColor],[i.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*E._defaultOpacity)]]}get propertiesToUpdate(){var e;return[[i.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||E._defaultThickness],[i.AnnotationEditorParamsType.INK_COLOR,this.color||E._defaultColor||o.AnnotationEditor._defaultLineColor],[i.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(null!==(e=this.opacity)&&void 0!==e?e:E._defaultOpacity))]]}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(_assertClassBrand(A,this,M).call(this),_assertClassBrand(A,this,O).call(this)),this.isAttachedToDOM||(this.parent.add(this),_assertClassBrand(A,this,j).call(this)),_assertClassBrand(A,this,q).call(this))}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,_classPrivateFieldGet(y,this).disconnect(),_classPrivateFieldSet(y,this,null),super.remove())}enableEditMode(){_classPrivateFieldGet(g,this)||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",_classPrivateFieldGet(m,this)),this.canvas.addEventListener("pointerup",_classPrivateFieldGet(f,this)))}disableEditMode(){this.isInEditMode()&&null!==this.canvas&&(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",_classPrivateFieldGet(m,this)),this.canvas.removeEventListener("pointerup",_classPrivateFieldGet(f,this)))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}commit(){_classPrivateFieldGet(g,this)||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),_classPrivateFieldSet(g,this,!0),this.div.classList.add("disabled"),_assertClassBrand(A,this,q).call(this,!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(e){super.focusin(e),this.enableEditMode()}canvasPointerdown(e){0===e.button&&this.isInEditMode()&&!_classPrivateFieldGet(g,this)&&(this.setInForeground(),"mouse"!==e.type&&this.div.focus(),e.stopPropagation(),this.canvas.addEventListener("pointerleave",_classPrivateFieldGet(p,this)),this.canvas.addEventListener("pointermove",_classPrivateFieldGet(h,this)),_assertClassBrand(A,this,D).call(this,e.offsetX,e.offsetY))}canvasPointermove(e){e.stopPropagation(),_assertClassBrand(A,this,N).call(this,e.offsetX,e.offsetY)}canvasPointerup(e){0===e.button&&this.isInEditMode()&&0!==this.currentPath.length&&(e.stopPropagation(),_assertClassBrand(A,this,R).call(this,e),this.setInBackground())}canvasPointerleave(e){_assertClassBrand(A,this,R).call(this,e),this.setInBackground()}render(){if(this.div)return this.div;let e,t;this.width&&(e=this.x,t=this.y),super.render(),E._l10nPromise.get("editor_ink_aria_label").then((e=>{var t;return null===(t=this.div)||void 0===t?void 0:t.setAttribute("aria-label",e)}));const[n,r,i,o]=_assertClassBrand(A,this,k).call(this);if(this.setAt(n,r,0,0),this.setDims(i,o),_assertClassBrand(A,this,M).call(this),this.width){const[n,r]=this.parent.viewportBaseDimensions;this.setAt(e*n,t*r,this.width*n,this.height*r),_classPrivateFieldSet(v,this,!0),_assertClassBrand(A,this,j).call(this),this.setDims(this.width*n,this.height*r),_assertClassBrand(A,this,I).call(this),_assertClassBrand(A,this,G).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return _assertClassBrand(A,this,O).call(this),this.div}setDimensions(e,t){const n=Math.round(e),r=Math.round(t);if(_classPrivateFieldGet(b,this)===n&&_classPrivateFieldGet(w,this)===r)return;_classPrivateFieldSet(b,this,n),_classPrivateFieldSet(w,this,r),this.canvas.style.visibility="hidden",_classPrivateFieldGet(c,this)&&Math.abs(_classPrivateFieldGet(c,this)-e/t)>.01&&(t=Math.ceil(e/_classPrivateFieldGet(c,this)),this.setDims(e,t));const[i,o]=this.parent.viewportBaseDimensions;this.width=e/i,this.height=t/o,_classPrivateFieldGet(g,this)&&_assertClassBrand(A,this,L).call(this,e,t),_assertClassBrand(A,this,j).call(this),_assertClassBrand(A,this,I).call(this),this.canvas.style.visibility="visible"}static deserialize(e,t){const n=super.deserialize(e,t);n.thickness=e.thickness,n.color=i.Util.makeHexColor(...e.color),n.opacity=e.opacity;const[r,o]=t.pageDimensions,a=n.width*r,s=n.height*o,h=t.scaleFactor,p=e.thickness/2;_classPrivateFieldSet(c,n,a/s),_classPrivateFieldSet(g,n,!0),_classPrivateFieldSet(b,n,Math.round(a)),_classPrivateFieldSet(w,n,Math.round(s));for(const{bezier:i}of e.paths){const e=[];n.paths.push(e);let t=h*(i[0]-p),r=h*(s-i[1]-p);for(let n=2,a=i.length;n<a;n+=6){const o=h*(i[n]-p),a=h*(s-i[n+1]-p),l=h*(i[n+2]-p),c=h*(s-i[n+3]-p),u=h*(i[n+4]-p),d=h*(s-i[n+5]-p);e.push([[t,r],[o,a],[l,c],[u,d]]),t=u,r=d}const o=_assertClassBrand(E,this,U).call(this,e);n.bezierPath2D.push(o)}const f=_assertClassBrand(A,n,Z).call(n);return _classPrivateFieldSet(d,n,Math.max(l,f[2]-f[0])),_classPrivateFieldSet(u,n,Math.max(l,f[3]-f[1])),_assertClassBrand(A,n,L).call(n,a,s),n}serialize(){if(this.isEmpty())return null;const e=this.getRect(0,0),t=this.rotation%180===0?e[3]-e[1]:e[2]-e[0],n=o.AnnotationEditor._colorManager.convert(this.ctx.strokeStyle);return{annotationType:i.AnnotationEditorType.INK,color:n,thickness:this.thickness,opacity:this.opacity,paths:_assertClassBrand(A,this,V).call(this,this.scaleFactor/this.parent.scaleFactor,this.translationX,this.translationY,t),pageIndex:this.parent.pageIndex,rect:e,rotation:this.rotation}}}function _(e){const t=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=e,_assertClassBrand(A,this,q).call(this)},undo:()=>{this.thickness=t,_assertClassBrand(A,this,q).call(this)},mustExec:!0,type:i.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function T(e){const t=this.color;this.parent.addCommands({cmd:()=>{this.color=e,_assertClassBrand(A,this,I).call(this)},undo:()=>{this.color=t,_assertClassBrand(A,this,I).call(this)},mustExec:!0,type:i.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function S(e){e/=100;const t=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=e,_assertClassBrand(A,this,I).call(this)},undo:()=>{this.opacity=t,_assertClassBrand(A,this,I).call(this)},mustExec:!0,type:i.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function k(){const{width:e,height:t,rotation:n}=this.parent.viewport;switch(n){case 90:return[0,e,e,t];case 180:return[e,t,e,t];case 270:return[t,0,e,t];default:return[0,0,e,t]}}function P(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle="".concat(this.color).concat((0,s.opacityToHex)(this.opacity))}function D(e,t){var n;this.isEditing=!0,_classPrivateFieldGet(v,this)||(_classPrivateFieldSet(v,this,!0),_assertClassBrand(A,this,j).call(this),this.thickness||(this.thickness=r._defaultThickness),this.color||(this.color=r._defaultColor||o.AnnotationEditor._defaultLineColor),null!==(n=this.opacity)&&void 0!==n||(this.opacity=r._defaultOpacity)),this.currentPath.push([e,t]),_classPrivateFieldSet(C,this,null),_assertClassBrand(A,this,P).call(this),this.ctx.beginPath(),this.ctx.moveTo(e,t),_classPrivateFieldSet(x,this,(()=>{_classPrivateFieldGet(x,this)&&(_classPrivateFieldGet(C,this)&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):_assertClassBrand(A,this,I).call(this),this.ctx.lineTo(..._classPrivateFieldGet(C,this)),_classPrivateFieldSet(C,this,null),this.ctx.stroke()),window.requestAnimationFrame(_classPrivateFieldGet(x,this)))})),window.requestAnimationFrame(_classPrivateFieldGet(x,this))}function N(e,t){const[n,r]=this.currentPath.at(-1);e===n&&t===r||(this.currentPath.push([e,t]),_classPrivateFieldSet(C,this,[e,t]))}function F(e,t){this.ctx.closePath(),_classPrivateFieldSet(x,this,null),e=Math.min(Math.max(e,0),this.canvas.width),t=Math.min(Math.max(t,0),this.canvas.height);const[n,i]=this.currentPath.at(-1);let o;if(e===n&&t===i||this.currentPath.push([e,t]),1!==this.currentPath.length)o=(0,a.fitCurve)(this.currentPath,30,null);else{const n=[e,t];o=[[n,n.slice(),n.slice(),n]]}const s=U.call(r,o);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(o),this.bezierPath2D.push(s),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(_assertClassBrand(A,this,M).call(this),_assertClassBrand(A,this,O).call(this)),_assertClassBrand(A,this,q).call(this))},mustExec:!0})}function I(){if(this.isEmpty())return void _assertClassBrand(A,this,B).call(this);_assertClassBrand(A,this,P).call(this);const{canvas:e,ctx:t}=this;t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,e.width,e.height),_assertClassBrand(A,this,B).call(this);for(const n of this.bezierPath2D)t.stroke(n)}function R(e){_assertClassBrand(A,this,F).call(this,e.offsetX,e.offsetY),this.canvas.removeEventListener("pointerleave",_classPrivateFieldGet(p,this)),this.canvas.removeEventListener("pointermove",_classPrivateFieldGet(h,this)),this.parent.addToAnnotationStorage(this)}function M(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",r._l10nPromise.get("editor_ink_canvas_aria_label").then((e=>{var t;return null===(t=this.canvas)||void 0===t?void 0:t.setAttribute("aria-label",e)})),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function O(){_classPrivateFieldSet(y,this,new ResizeObserver((e=>{const t=e[0].contentRect;t.width&&t.height&&this.setDimensions(t.width,t.height)}))),_classPrivateFieldGet(y,this).observe(this.div)}function j(){if(!_classPrivateFieldGet(v,this))return;const[e,t]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*e),this.canvas.height=Math.ceil(this.height*t),_assertClassBrand(A,this,B).call(this)}function L(e,t){const n=_assertClassBrand(A,this,W).call(this),r=(e-n)/_classPrivateFieldGet(d,this),i=(t-n)/_classPrivateFieldGet(u,this);this.scaleFactor=Math.min(r,i)}function B(){const e=_assertClassBrand(A,this,W).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+e,this.translationY*this.scaleFactor+e)}function U(e){const t=new Path2D;for(let n=0,r=e.length;n<r;n++){const[r,i,o,a]=e[n];0===n&&t.moveTo(...r),t.bezierCurveTo(i[0],i[1],o[0],o[1],a[0],a[1])}return t}function V(e,t,n,r){const i=[],o=this.thickness/2;let a,s;for(const l of this.paths){a=[],s=[];for(let i=0,c=l.length;i<c;i++){const[c,u,d,h]=l[i],p=e*(c[0]+t)+o,f=r-e*(c[1]+n)-o,m=e*(u[0]+t)+o,g=r-e*(u[1]+n)-o,v=e*(d[0]+t)+o,C=r-e*(d[1]+n)-o,y=e*(h[0]+t)+o,b=r-e*(h[1]+n)-o;0===i&&(a.push(p,f),s.push(p,f)),a.push(m,g,v,C,y,b),_assertClassBrand(A,this,H).call(this,p,f,m,g,v,C,y,b,4,s)}i.push({bezier:a,points:s})}return i}function H(e,t,n,r,i,o,a,s,l,c){if(_assertClassBrand(A,this,z).call(this,e,t,n,r,i,o,a,s))c.push(a,s);else{for(let u=1;u<l-1;u++){const d=u/l,h=1-d;let p=d*e+h*n,f=d*t+h*r,m=d*n+h*i,g=d*r+h*o;p=d*p+h*m,f=d*f+h*g,m=d*m+h*(d*i+h*a),g=d*g+h*(d*o+h*s),p=d*p+h*m,f=d*f+h*g,c.push(p,f)}c.push(a,s)}}function z(e,t,n,r,i,o,a,s){const l=(3*n-2*e-a)**2,c=(3*r-2*t-s)**2,u=(3*i-e-2*a)**2,d=(3*o-t-2*s)**2;return Math.max(l,u)+Math.max(c,d)<=10}function Z(){let e=1/0,t=-1/0,n=1/0,r=-1/0;for(const o of this.paths)for(const[a,s,l,c]of o){const o=i.Util.bezierBoundingBox(...a,...s,...l,...c);e=Math.min(e,o[0]),n=Math.min(n,o[1]),t=Math.max(t,o[2]),r=Math.max(r,o[3])}return[e,n,t,r]}function W(){return _classPrivateFieldGet(g,this)?Math.ceil(this.thickness*this.parent.scaleFactor):0}function q(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return;if(!_classPrivateFieldGet(g,this))return void _assertClassBrand(A,this,I).call(this);const t=_assertClassBrand(A,this,Z).call(this),n=_assertClassBrand(A,this,W).call(this);_classPrivateFieldSet(d,this,Math.max(l,t[2]-t[0])),_classPrivateFieldSet(u,this,Math.max(l,t[3]-t[1]));const r=Math.ceil(n+_classPrivateFieldGet(d,this)*this.scaleFactor),i=Math.ceil(n+_classPrivateFieldGet(u,this)*this.scaleFactor),[o,a]=this.parent.viewportBaseDimensions;this.width=r/o,this.height=i/a,_classPrivateFieldSet(c,this,r/i),_assertClassBrand(A,this,G).call(this);const s=this.translationX,h=this.translationY;this.translationX=-t[0],this.translationY=-t[1],_assertClassBrand(A,this,j).call(this),_assertClassBrand(A,this,I).call(this),_classPrivateFieldSet(b,this,r),_classPrivateFieldSet(w,this,i),this.setDims(r,i);const p=e?n/this.scaleFactor/2:0;this.translate(s-this.translationX-p,h-this.translationY-p)}function G(){const{style:e}=this.div;_classPrivateFieldGet(c,this)>=1?(e.minHeight="".concat(l,"px"),e.minWidth="".concat(Math.round(_classPrivateFieldGet(c,this)*l),"px")):(e.minWidth="".concat(l,"px"),e.minHeight="".concat(Math.round(l/_classPrivateFieldGet(c,this)),"px"))}r=E,_defineProperty(E,"_defaultColor",null),_defineProperty(E,"_defaultOpacity",1),_defineProperty(E,"_defaultThickness",1),_defineProperty(E,"_l10nPromise",void 0),_defineProperty(E,"_type","ink"),t.InkEditor=E},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fitCurve=void 0;const r=n(26);t.fitCurve=r},e=>{function t(e,i,o,a,s){var c,u,d,h,p,f,m,g,v,C,y,b,w;if(2===e.length)return b=l.vectorLen(l.subtract(e[0],e[1]))/3,[c=[e[0],l.addArrays(e[0],l.mulItems(i,b)),l.addArrays(e[1],l.mulItems(o,b)),e[1]]];if(u=function(e){var t,n,r,i=[];return e.forEach(((e,o)=>{t=o?n+l.vectorLen(l.subtract(e,r)):0,i.push(t),n=t,r=e})),i=i.map((e=>e/n))}(e),[c,h,f]=n(e,u,u,i,o,s),0===h||h<a)return[c];if(h<a*a)for(d=u,p=h,m=f,w=0;w<20;w++){if(d=r(c,e,d),[c,h,f]=n(e,u,d,i,o,s),h<a)return[c];if(f===m){let e=h/p;if(e>.9999&&e<1.0001)break}p=h,m=f}return y=[],(g=l.subtract(e[f-1],e[f+1])).every((e=>0===e))&&(g=l.subtract(e[f-1],e[f]),[g[0],g[1]]=[-g[1],g[0]]),v=l.normalize(g),C=l.mulItems(v,-1),y=(y=y.concat(t(e.slice(0,f+1),i,v,a,s))).concat(t(e.slice(f),C,o,a,s))}function n(e,t,n,r,i,s){var u,d,h;return u=function(e,t,n,r){var i,o,a,s,u,d,h,p,f,m,g,v,C,y,b,w,x,A=e[0],E=e[e.length-1];for(i=[A,null,null,E],o=l.zeros_Xx2x2(t.length),C=0,y=t.length;C<y;C++)x=1-(w=t[C]),(a=o[C])[0]=l.mulItems(n,3*w*(x*x)),a[1]=l.mulItems(r,3*x*(w*w));for(s=[[0,0],[0,0]],u=[0,0],C=0,y=e.length;C<y;C++)w=t[C],a=o[C],s[0][0]+=l.dot(a[0],a[0]),s[0][1]+=l.dot(a[0],a[1]),s[1][0]+=l.dot(a[0],a[1]),s[1][1]+=l.dot(a[1],a[1]),b=l.subtract(e[C],c.q([A,A,E,E],w)),u[0]+=l.dot(a[0],b),u[1]+=l.dot(a[1],b);return d=s[0][0]*s[1][1]-s[1][0]*s[0][1],h=s[0][0]*u[1]-s[1][0]*u[0],p=u[0]*s[1][1]-u[1]*s[0][1],f=0===d?0:p/d,m=0===d?0:h/d,v=l.vectorLen(l.subtract(A,E)),f<(g=1e-6*v)||m<g?(i[1]=l.addArrays(A,l.mulItems(n,v/3)),i[2]=l.addArrays(E,l.mulItems(r,v/3))):(i[1]=l.addArrays(A,l.mulItems(n,f)),i[2]=l.addArrays(E,l.mulItems(r,m))),i}(e,n,r,i),[d,h]=function(e,t,n){var r,i,s,u,d,h,p,f;i=0,s=Math.floor(e.length/2);const m=o(t,10);for(d=0,h=e.length;d<h;d++)p=e[d],f=a(0,n[d],m,10),(r=(u=l.subtract(c.q(t,f),p))[0]*u[0]+u[1]*u[1])>i&&(i=r,s=d);return[i,s]}(e,u,t),s&&s({bez:u,points:e,params:t,maxErr:d,maxPoint:h}),[u,d,h]}function r(e,t,n){return n.map(((n,r)=>i(e,t[r],n)))}function i(e,t,n){var r=l.subtract(c.q(e,n),t),i=c.qprime(e,n),o=l.mulMatrix(r,i),a=l.sum(l.squareItems(i))+2*l.mulMatrix(r,c.qprimeprime(e,n));return 0===a?n:n-o/a}var o=function(e,t){for(var n,r=[0],i=e[0],o=0,a=1;a<=t;a++)n=c.q(e,a/t),o+=l.vectorLen(l.subtract(n,i)),r.push(o),i=n;return r=r.map((e=>e/o))};function a(e,t,n,r){if(t<0)return 0;if(t>1)return 1;for(var i,o,a,s,l=1;l<=r;l++)if(t<=n[l]){a=(l-1)/r,o=l/r,s=(t-(i=n[l-1]))/(n[l]-i)*(o-a)+a;break}return s}function s(e,t){return l.normalize(l.subtract(e,t))}class l{static zeros_Xx2x2(e){for(var t=[];e--;)t.push([0,0]);return t}static mulItems(e,t){return e.map((e=>e*t))}static mulMatrix(e,t){return e.reduce(((e,n,r)=>e+n*t[r]),0)}static subtract(e,t){return e.map(((e,n)=>e-t[n]))}static addArrays(e,t){return e.map(((e,n)=>e+t[n]))}static addItems(e,t){return e.map((e=>e+t))}static sum(e){return e.reduce(((e,t)=>e+t))}static dot(e,t){return l.mulMatrix(e,t)}static vectorLen(e){return Math.hypot(...e)}static divItems(e,t){return e.map((e=>e/t))}static squareItems(e){return e.map((e=>e*e))}static normalize(e){return this.divItems(e,this.vectorLen(e))}}class c{static q(e,t){var n=1-t,r=l.mulItems(e[0],n*n*n),i=l.mulItems(e[1],3*n*n*t),o=l.mulItems(e[2],3*n*t*t),a=l.mulItems(e[3],t*t*t);return l.addArrays(l.addArrays(r,i),l.addArrays(o,a))}static qprime(e,t){var n=1-t,r=l.mulItems(l.subtract(e[1],e[0]),3*n*n),i=l.mulItems(l.subtract(e[2],e[1]),6*n*t),o=l.mulItems(l.subtract(e[3],e[2]),3*t*t);return l.addArrays(l.addArrays(r,i),o)}static qprimeprime(e,t){return l.addArrays(l.mulItems(l.addArrays(l.subtract(e[2],l.mulItems(e[1],2)),e[0]),6*(1-t)),l.mulItems(l.addArrays(l.subtract(e[3],l.mulItems(e[2],2)),e[1]),6*t))}}e.exports=function(e,n,r){if(!Array.isArray(e))throw new TypeError("First argument should be an array");if(e.forEach((t=>{if(!Array.isArray(t)||t.some((e=>"number"!==typeof e))||t.length!==e[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")})),(e=e.filter(((t,n)=>0===n||!t.every(((t,r)=>t===e[n-1][r]))))).length<2)return[];const i=e.length,o=s(e[1],e[0]),a=s(e[i-2],e[i-1]);return t(e,o,a,n,r)},e.exports.fitCubic=t,e.exports.createTangent=s},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var r=n(1),i=n(8),o=n(5),a=n(28),s=n(29);const l=1e3,c=new WeakSet;function u(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class d{static create(e){switch(e.data.annotationType){case r.AnnotationType.LINK:return new p(e);case r.AnnotationType.TEXT:return new f(e);case r.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new g(e);case"Btn":return e.data.radioButton?new C(e):e.data.checkBox?new v(e):new y(e);case"Ch":return new b(e)}return new m(e);case r.AnnotationType.POPUP:return new w(e);case r.AnnotationType.FREETEXT:return new A(e);case r.AnnotationType.LINE:return new E(e);case r.AnnotationType.SQUARE:return new _(e);case r.AnnotationType.CIRCLE:return new T(e);case r.AnnotationType.POLYLINE:return new S(e);case r.AnnotationType.CARET:return new P(e);case r.AnnotationType.INK:return new D(e);case r.AnnotationType.POLYGON:return new k(e);case r.AnnotationType.HIGHLIGHT:return new N(e);case r.AnnotationType.UNDERLINE:return new F(e);case r.AnnotationType.SQUIGGLY:return new I(e);case r.AnnotationType.STRIKEOUT:return new R(e);case r.AnnotationType.STAMP:return new M(e);case r.AnnotationType.FILEATTACHMENT:return new O(e);default:return new h(e)}}}class h{constructor(e){let{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.page=e.page,this.viewport=e.viewport,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this._mouseState=e.mouseState,t&&(this.container=this._createContainer(n)),r&&(this.quadrilaterals=this._createQuadrilaterals(n))}_createContainer(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.data,n=this.page,i=this.viewport,o=document.createElement("section"),{width:a,height:s}=u(t.rect),[l,c,d,h]=i.viewBox,p=d-l,f=h-c;o.setAttribute("data-annotation-id",t.id);const m=r.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(!e&&t.borderStyle.width>0){o.style.borderWidth="".concat(t.borderStyle.width,"px");const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t="calc(".concat(e,"px * var(--scale-factor)) / calc(").concat(n,"px * var(--scale-factor))");o.style.borderRadius=t}else if(this instanceof C){const e="calc(".concat(a,"px * var(--scale-factor)) / calc(").concat(s,"px * var(--scale-factor))");o.style.borderRadius=e}switch(t.borderStyle.style){case r.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case r.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case r.AnnotationBorderStyleType.BEVELED:(0,r.warn)("Unimplemented border style: beveled");break;case r.AnnotationBorderStyleType.INSET:(0,r.warn)("Unimplemented border style: inset");break;case r.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}const i=t.borderColor||null;i?o.style.borderColor=r.Util.makeHexColor(0|i[0],0|i[1],0|i[2]):o.style.borderWidth=0}o.style.left="".concat(100*(m[0]-l)/p,"%"),o.style.top="".concat(100*(m[1]-c)/f,"%");const{rotation:g}=t;return t.hasOwnCanvas||0===g?(o.style.width="".concat(100*a/p,"%"),o.style.height="".concat(100*s/f,"%")):this.setRotation(g,o),o}setRotation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container;const[n,r,i,o]=this.viewport.viewBox,a=i-n,s=o-r,{width:l,height:c}=u(this.data.rect);let d,h;e%180===0?(d=100*l/a,h=100*c/s):(d=100*c/a,h=100*l/s),t.style.width="".concat(d,"%"),t.style.height="".concat(h,"%"),t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){const e=(e,t,n)=>{const r=n.detail[e];n.target.style[t]=a.ColorConverters["".concat(r[0],"_HTML")](r.slice(1))};return(0,r.shadow)(this,"_commonActions",{display:e=>{const t=e.detail.display%2===1;this.container.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:t,print:0===e.detail.display||3===e.detail.display})},print:e=>{this.annotationStorage.setValue(this.data.id,{print:e.detail.print})},hidden:e=>{this.container.style.visibility=e.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:e.detail.hidden})},focus:e=>{setTimeout((()=>e.target.focus({preventScroll:!1})),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.detail.readonly?e.target.setAttribute("readonly",""):e.target.removeAttribute("readonly")},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:e=>{const t=e.detail.rotation;this.setRotation(t),this.annotationStorage.setValue(this.data.id,{rotation:t})}})}_dispatchEventFromSandbox(e,t){const n=this._commonActions;for(const r of Object.keys(t.detail)){const i=e[r]||n[r];i&&i(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;const t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;const n=this._commonActions;for(const[r,i]of Object.entries(t)){const o=n[r];o&&(o({detail:{[r]:i},target:e}),delete t[r])}}_createQuadrilaterals(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.data.quadPoints)return null;const t=[],n=this.data.rect;for(const r of this.data.quadPoints)this.data.rect=[r[2].x,r[2].y,r[1].x,r[1].y],t.push(this._createContainer(e));return this.data.rect=n,t}_createPopup(e,t){let n=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,n=this.quadrilaterals[0]),e||((e=document.createElement("div")).className="popupTriggerArea",n.append(e));const r=new x({container:n,trigger:e,color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,hideWrapper:!0}).render();r.style.left="100%",n.append(r)}_renderQuadrilaterals(e){for(const t of this.quadrilaterals)t.className=e;return this.quadrilaterals}render(){(0,r.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=[];if(this._fieldObjects){const i=this._fieldObjects[e];if(i)for(const{page:e,id:o,exportValues:a}of i){if(-1===e)continue;if(o===t)continue;const i="string"===typeof a?a:null,s=document.querySelector('[data-element-id="'.concat(o,'"]'));!s||c.has(s)?n.push({id:o,exportValue:i,domElement:s}):(0,r.warn)("_getElementsByName - element not allowed: ".concat(o))}return n}for(const r of document.getElementsByName(e)){const{id:e,exportValue:i}=r;e!==t&&c.has(r)&&n.push({id:e,exportValue:i,domElement:r})}return n}static get platform(){const e="undefined"!==typeof navigator?navigator.platform:"";return(0,r.shadow)(this,"platform",{isWin:e.includes("Win"),isMac:e.includes("Mac")})}}class p extends h{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(e,{isRenderable:!0,ignoreBorder:!(null===t||void 0===t||!t.ignoreBorder),createQuadrilaterals:!0}),this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:t}=this,n=document.createElement("a");n.setAttribute("data-element-id",e.id);let r=!1;return e.url?(t.addLinkAttributes(n,e.url,e.newWindow),r=!0):e.action?(this._bindNamedAction(n,e.action),r=!0):e.dest?(this._bindLink(n,e.dest),r=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,e),r=!0),e.resetForm?(this._bindResetFormAction(n,e.resetForm),r=!0):this.isTooltipOnly&&!r&&(this._bindLink(n,""),r=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map(((e,t)=>{const r=0===t?n:n.cloneNode();return e.append(r),e})):(this.container.className="linkAnnotation",r&&this.container.append(n),this.container)}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&(e.className="internalLink")}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),e.className="internalLink"}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const r of Object.keys(t.actions)){const i=n.get(r);i&&(e[i]=()=>{var e;return null===(e=this.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:r}}),!1})}e.onclick||(e.onclick=()=>!1),e.className="internalLink"}_bindResetFormAction(e,t){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),e.className="internalLink",!this._fieldObjects)return(0,r.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(n||(e.onclick=()=>!1));e.onclick=()=>{n&&n();const{fields:e,refs:i,include:o}=t,a=[];if(0!==e.length||0!==i.length){const t=new Set(i);for(const n of e){const e=this._fieldObjects[n]||[];for(const{id:n}of e)t.add(n)}for(const e of Object.values(this._fieldObjects))for(const n of e)t.has(n.id)===o&&a.push(n)}else for(const t of Object.values(this._fieldObjects))a.push(...t);const s=this.annotationStorage,l=[];for(const t of a){const{id:e}=t;switch(l.push(e),t.type){case"text":{const n=t.defaultValue||"";s.setValue(e,{value:n});break}case"checkbox":case"radiobutton":{const n=t.defaultValue===t.exportValues;s.setValue(e,{value:n});break}case"combobox":case"listbox":{const n=t.defaultValue||"";s.setValue(e,{value:n});break}default:continue}const n=document.querySelector('[data-element-id="'.concat(e,'"]'));n&&(c.has(n)?n.dispatchEvent(new Event("resetform")):(0,r.warn)("_bindResetFormAction - element not allowed: ".concat(e)))}var u;return this.enableScripting&&(null===(u=this.linkService.eventBus)||void 0===u||u.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:l,name:"ResetForm"}})),!1}}}class f extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str)})}render(){this.container.className="textAnnotation";const e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(e,this.data),this.container.append(e),this.container}}class m extends h{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(e){const{isWin:t,isMac:n}=h.platform;return t&&e.ctrlKey||n&&e.metaKey}_setEventListener(e,t,n,r){t.includes("mouse")?e.addEventListener(t,(e=>{var t;null===(t=this.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(t,(e=>{var t;null===(t=this.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:r(e)}})}))}_setEventListeners(e,t,n){for(const[i,o]of t){var r;("Action"===o||null!==(r=this.data.actions)&&void 0!==r&&r[o])&&this._setEventListener(e,i,o,n)}}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":r.Util.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){const t=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||9,o=e.style;let a;if(this.data.multiLine){const e=Math.abs(this.data.rect[3]-this.data.rect[1]),t=e/(Math.round(e/(r.LINE_FACTOR*i))||1);a=Math.min(i,Math.round(t/r.LINE_FACTOR))}else{const e=Math.abs(this.data.rect[3]-this.data.rect[1]);a=Math.min(i,Math.round(e/r.LINE_FACTOR))}o.fontSize="calc(".concat(a,"px * var(--scale-factor))"),o.color=r.Util.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(o.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class g extends m{constructor(e){super(e,{isRenderable:e.renderForms||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,n,r){const i=this.annotationStorage;for(const o of this._getElementsByName(e.name,e.id))o.domElement&&(o.domElement[t]=n),i.setValue(o.id,{[r]:n})}render(){const e=this.annotationStorage,t=this.data.id;this.container.className="textWidgetAnnotation";let n=null;if(this.renderForms){const i=e.getValue(t,{value:this.data.fieldValue});let o=i.formattedValue||i.value||"";const a=e.getValue(t,{charLimit:this.data.maxLen}).charLimit;a&&o.length>a&&(o=o.slice(0,a));const s={userValue:o,formattedValue:null,valueOnFocus:""};this.data.multiLine?(n=document.createElement("textarea"),n.textContent=o,this.data.doNotScroll&&(n.style.overflowY="hidden")):(n=document.createElement("input"),n.type="text",n.setAttribute("value",o),this.data.doNotScroll&&(n.style.overflowX="hidden")),c.add(n),n.setAttribute("data-element-id",t),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=l,this._setRequired(n,this.data.required),a&&(n.maxLength=a),n.addEventListener("input",(r=>{e.setValue(t,{value:r.target.value}),this.setPropertyOnSiblings(n,"value",r.target.value,"value")})),n.addEventListener("resetform",(e=>{var t;const r=null!==(t=this.data.defaultFieldValue)&&void 0!==t?t:"";n.value=s.userValue=r,s.formattedValue=null}));let u=e=>{const{formattedValue:t}=s;null!==t&&void 0!==t&&(e.target.value=t),e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var r;n.addEventListener("focus",(e=>{s.userValue&&(e.target.value=s.userValue),s.valueOnFocus=e.target.value})),n.addEventListener("updatefromsandbox",(n=>{const r={value(n){var r;s.userValue=null!==(r=n.detail.value)&&void 0!==r?r:"",e.setValue(t,{value:s.userValue.toString()}),n.target.value=s.userValue},formattedValue(n){const{formattedValue:r}=n.detail;s.formattedValue=r,null!==r&&void 0!==r&&n.target!==document.activeElement&&(n.target.value=r),e.setValue(t,{formattedValue:r})},selRange(e){e.target.setSelectionRange(...e.detail.selRange)},charLimit:n=>{var r;const{charLimit:i}=n.detail,{target:o}=n;if(0===i)return void o.removeAttribute("maxLength");o.setAttribute("maxLength",i);let a=s.userValue;!a||a.length<=i||(a=a.slice(0,i),o.value=s.userValue=a,e.setValue(t,{value:a}),null===(r=this.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:a,willCommit:!0,commitKey:1,selStart:o.selectionStart,selEnd:o.selectionEnd}}))}};this._dispatchEventFromSandbox(r,n)})),n.addEventListener("keydown",(e=>{var n;let r=-1;if("Escape"===e.key?r=0:"Enter"===e.key?r=2:"Tab"===e.key&&(r=3),-1===r)return;const{value:i}=e.target;s.valueOnFocus!==i&&(s.userValue=i,null===(n=this.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:i,willCommit:!0,commitKey:r,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const i=u;u=null,n.addEventListener("blur",(e=>{const{value:n}=e.target;var r;s.userValue=n,this._mouseState.isDown&&s.valueOnFocus!==n&&(null===(r=this.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:n,willCommit:!0,commitKey:1,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}})),i(e)})),null!==(r=this.data.actions)&&void 0!==r&&r.Keystroke&&n.addEventListener("beforeinput",(e=>{var n;const{data:r,target:i}=e,{value:o,selectionStart:a,selectionEnd:s}=i;let l=a,c=s;switch(e.inputType){case"deleteWordBackward":{const e=o.substring(0,a).match(/\w*[^\w]*$/);e&&(l-=e[0].length);break}case"deleteWordForward":{const e=o.substring(a).match(/^[^\w]*\w*/);e&&(c+=e[0].length);break}case"deleteContentBackward":a===s&&(l-=1);break;case"deleteContentForward":a===s&&(c+=1)}e.preventDefault(),null===(n=this.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,change:r||"",willCommit:!1,selStart:l,selEnd:c}})})),this._setEventListeners(n,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(u&&n.addEventListener("blur",u),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/a;n.classList.add("comb"),n.style.letterSpacing="calc(".concat(e,"px * var(--scale-factor) - 1ch)")}}else n=document.createElement("div"),n.textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell";return this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class v extends m{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id;let r=e.getValue(n,{value:t.exportValue===t.fieldValue}).value;"string"===typeof r&&(r="Off"!==r,e.setValue(n,{value:r})),this.container.className="buttonWidgetAnnotation checkBox";const i=document.createElement("input");return c.add(i),i.setAttribute("data-element-id",n),i.disabled=t.readOnly,this._setRequired(i,this.data.required),i.type="checkbox",i.name=t.fieldName,r&&i.setAttribute("checked",!0),i.setAttribute("exportValue",t.exportValue),i.tabIndex=l,i.addEventListener("change",(r=>{const{name:i,checked:o}=r.target;for(const a of this._getElementsByName(i,n)){const n=o&&a.exportValue===t.exportValue;a.domElement&&(a.domElement.checked=n),e.setValue(a.id,{value:n})}e.setValue(n,{value:o})})),i.addEventListener("resetform",(e=>{const n=t.defaultFieldValue||"Off";e.target.checked=n===t.exportValue})),this.enableScripting&&this.hasJSActions&&(i.addEventListener("updatefromsandbox",(t=>{const r={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};this._dispatchEventFromSandbox(r,t)})),this._setEventListeners(i,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class C extends m{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const e=this.annotationStorage,t=this.data,n=t.id;let r=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value;"string"===typeof r&&(r=r!==t.buttonValue,e.setValue(n,{value:r}));const i=document.createElement("input");if(c.add(i),i.setAttribute("data-element-id",n),i.disabled=t.readOnly,this._setRequired(i,this.data.required),i.type="radio",i.name=t.fieldName,r&&i.setAttribute("checked",!0),i.tabIndex=l,i.addEventListener("change",(t=>{const{name:r,checked:i}=t.target;for(const o of this._getElementsByName(r,n))e.setValue(o.id,{value:!1});e.setValue(n,{value:i})})),i.addEventListener("resetform",(e=>{const n=t.defaultFieldValue;e.target.checked=null!==n&&void 0!==n&&n===t.buttonValue})),this.enableScripting&&this.hasJSActions){const r=t.buttonValue;i.addEventListener("updatefromsandbox",(t=>{const i={value:t=>{const i=r===t.detail.value;for(const r of this._getElementsByName(t.target.name)){const t=i&&r.id===n;r.domElement&&(r.domElement.checked=t),e.setValue(r.id,{value:t})}}};this._dispatchEventFromSandbox(i,t)})),this._setEventListeners(i,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class y extends p{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText);const t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",(e=>{this._dispatchEventFromSandbox({},e)}))),e}}class b extends m{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const e=this.annotationStorage,t=this.data.id,n=e.getValue(t,{value:this.data.fieldValue}),r=document.createElement("select");c.add(r),r.setAttribute("data-element-id",t),r.disabled=this.data.readOnly,this._setRequired(r,this.data.required),r.name=this.data.fieldName,r.tabIndex=l;let i=this.data.combo&&this.data.options.length>0;this.data.combo||(r.size=this.data.options.length,this.data.multiSelect&&(r.multiple=!0)),r.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue;for(const n of r.options)n.selected=n.value===t}));for(const l of this.data.options){const e=document.createElement("option");e.textContent=l.displayValue,e.value=l.exportValue,n.value.includes(l.exportValue)&&(e.setAttribute("selected",!0),i=!1),r.append(e)}let o=null;if(i){const e=document.createElement("option");e.value=" ",e.setAttribute("hidden",!0),e.setAttribute("selected",!0),r.prepend(e),o=()=>{e.remove(),r.removeEventListener("input",o),o=null},r.addEventListener("input",o)}const a=(e,t)=>{const n=t?"value":"textContent",r=e.target.options;return e.target.multiple?Array.prototype.filter.call(r,(e=>e.selected)).map((e=>e[n])):-1===r.selectedIndex?null:r[r.selectedIndex][n]},s=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(r.addEventListener("updatefromsandbox",(n=>{const i={value(n){var i;null===(i=o)||void 0===i||i();const s=n.detail.value,l=new Set(Array.isArray(s)?s:[s]);for(const e of r.options)e.selected=l.has(e.value);e.setValue(t,{value:a(n,!0)})},multipleSelection(e){r.multiple=!0},remove(n){const i=r.options,o=n.detail.remove;i[o].selected=!1,r.remove(o),i.length>0&&-1===Array.prototype.findIndex.call(i,(e=>e.selected))&&(i[0].selected=!0),e.setValue(t,{value:a(n,!0),items:s(n)})},clear(n){for(;0!==r.length;)r.remove(0);e.setValue(t,{value:null,items:[]})},insert(n){const{index:i,displayValue:o,exportValue:l}=n.detail.insert,c=r.children[i],u=document.createElement("option");u.textContent=o,u.value=l,c?c.before(u):r.append(u),e.setValue(t,{value:a(n,!0),items:s(n)})},items(n){const{items:i}=n.detail;for(;0!==r.length;)r.remove(0);for(const e of i){const{displayValue:t,exportValue:n}=e,i=document.createElement("option");i.textContent=t,i.value=n,r.append(i)}r.options.length>0&&(r.options[0].selected=!0),e.setValue(t,{value:a(n,!0),items:s(n)})},indices(n){const r=new Set(n.detail.indices);for(const e of n.target.options)e.selected=r.has(e.index);e.setValue(t,{value:a(n,!0)})},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(i,n)})),r.addEventListener("input",(n=>{var r;const i=a(n,!0),o=a(n,!1);e.setValue(t,{value:i}),null===(r=this.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,changeEx:i,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(r,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(e=>e.target.checked))):r.addEventListener("input",(function(n){e.setValue(t,{value:a(n,!0)})})),this.data.combo&&this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class w extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;const n=new x({container:this.container,trigger:Array.from(t),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),i=this.page,o=r.Util.normalizeRect([this.data.parentRect[0],i.view[3]-this.data.parentRect[1]+i.view[1],this.data.parentRect[2],i.view[3]-this.data.parentRect[3]+i.view[1]]),a=o[0]+this.data.parentRect[2]-this.data.parentRect[0],s=o[1],[l,c,u,d]=this.viewport.viewBox,h=u-l,p=d-c;return this.container.style.left="".concat(100*(a-l)/h,"%"),this.container.style.top="".concat(100*(s-c)/p,"%"),this.container.append(n.render()),this.container}}class x{constructor(e){this.container=e.container,this.trigger=e.trigger,this.color=e.color,this.titleObj=e.titleObj,this.modificationDate=e.modificationDate,this.contentsObj=e.contentsObj,this.richText=e.richText,this.hideWrapper=e.hideWrapper||!1,this.pinned=!1}render(){var e,t;const n=document.createElement("div");n.className="popupWrapper",this.hideElement=this.hideWrapper?n:this.container,this.hideElement.hidden=!0;const o=document.createElement("div");o.className="popup";const a=this.color;if(a){const e=.7*(255-a[0])+a[0],t=.7*(255-a[1])+a[1],n=.7*(255-a[2])+a[2];o.style.backgroundColor=r.Util.makeHexColor(0|e,0|t,0|n)}const l=document.createElement("h1");l.dir=this.titleObj.dir,l.textContent=this.titleObj.str,o.append(l);const c=i.PDFDateString.toDateObject(this.modificationDate);if(c){const e=document.createElement("span");e.className="popupDate",e.textContent="{{date}}, {{time}}",e.dataset.l10nId="annotation_date_string",e.dataset.l10nArgs=JSON.stringify({date:c.toLocaleDateString(),time:c.toLocaleTimeString()}),o.append(e)}if(null===(e=this.richText)||void 0===e||!e.str||null!==(t=this.contentsObj)&&void 0!==t&&t.str&&this.contentsObj.str!==this.richText.str){const e=this._formatContents(this.contentsObj);o.append(e)}else s.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:o}),o.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const r of this.trigger)r.addEventListener("click",this._toggle.bind(this)),r.addEventListener("mouseover",this._show.bind(this,!1)),r.addEventListener("mouseout",this._hide.bind(this,!1));return o.addEventListener("click",this._hide.bind(this,!0)),n.append(o),n}_formatContents(e){let{str:t,dir:n}=e;const r=document.createElement("p");r.className="popupContent",r.dir=n;const i=t.split(/(?:\r\n?|\n)/);for(let o=0,a=i.length;o<a;++o){const e=i[o];r.append(document.createTextNode(e)),o<a-1&&r.append(document.createElement("br"))}return r}_toggle(){this.pinned?this._hide(!0):this._show(!0)}_show(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex=parseInt(this.container.style.zIndex)+1e3)}_hide(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex=parseInt(this.container.style.zIndex)-1e3)}}class A extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0}),this.textContent=e.data.textContent}render(){if(this.container.className="freeTextAnnotation",this.textContent){const e=document.createElement("div");e.className="annotationTextContent",e.setAttribute("role","comment");for(const t of this.textContent){const n=document.createElement("span");n.textContent=t,e.append(n)}this.container.append(e)}return this.data.hasPopup||this._createPopup(null,this.data),this.container}}class E extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const e=this.data,{width:t,height:n}=u(e.rect),r=this.svgFactory.create(t,n,!0),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.append(i),this.container.append(r),this._createPopup(i,e),this.container}}class _ extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const e=this.data,{width:t,height:n}=u(e.rect),r=this.svgFactory.create(t,n,!0),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",t-i),o.setAttribute("height",n-i),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),this._createPopup(o,e),this.container}}class T extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const e=this.data,{width:t,height:n}=u(e.rect),r=this.svgFactory.create(t,n,!0),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",n/2),o.setAttribute("rx",t/2-i/2),o.setAttribute("ry",n/2-i/2),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),this._createPopup(o,e),this.container}}class S extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,{width:t,height:n}=u(e.rect),r=this.svgFactory.create(t,n,!0);let i=[];for(const a of e.vertices){const t=a.x-e.rect[0],n=e.rect[3]-a.y;i.push(t+","+n)}i=i.join(" ");const o=this.svgFactory.createElement(this.svgElementName);return o.setAttribute("points",i),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),this._createPopup(o,e),this.container}}class k extends S{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class P extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class D extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,{width:t,height:n}=u(e.rect),r=this.svgFactory.create(t,n,!0);for(const i of e.inkLists){let t=[];for(const r of i){const n=r.x-e.rect[0],i=e.rect[3]-r.y;t.push("".concat(n,",").concat(i))}t=t.join(" ");const n=this.svgFactory.createElement(this.svgElementName);n.setAttribute("points",t),n.setAttribute("stroke-width",e.borderStyle.width||1),n.setAttribute("stroke","transparent"),n.setAttribute("fill","transparent"),this._createPopup(n,e),r.append(n)}return this.container.append(r),this.container}}class N extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class F extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class I extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class R extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class M extends h{constructor(e){var t,n,r;super(e,{isRenderable:!!(e.data.hasPopup||null!==(t=e.data.titleObj)&&void 0!==t&&t.str||null!==(n=e.data.contentsObj)&&void 0!==n&&n.str||null!==(r=e.data.richText)&&void 0!==r&&r.str),ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class O extends h{constructor(e){var t;super(e,{isRenderable:!0});const{filename:n,content:r}=this.data.file;this.filename=(0,i.getFilenameFromUrl)(n),this.content=r,null===(t=this.linkService.eventBus)||void 0===t||t.dispatch("fileattachmentannotation",{source:this,filename:n,content:r})}render(){var e,t;this.container.className="fileAttachmentAnnotation";const n=document.createElement("div");return n.className="popupTriggerArea",n.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(null!==(e=this.data.titleObj)&&void 0!==e&&e.str||null!==(t=this.data.contentsObj)&&void 0!==t&&t.str||this.data.richText)&&this._createPopup(n,this.data),this.container.append(n),this.container}_download(){var e;null===(e=this.downloadManager)||void 0===e||e.openOrDownloadData(this.container,this.content,this.filename)}}class j{static render(e){const{annotations:t,div:n,viewport:a,accessibilityManager:s}=e;_assertClassBrand(j,this,B).call(this,n,a);let l=0;for(const c of t){if(c.annotationType!==r.AnnotationType.POPUP){const{width:e,height:t}=u(c.rect);if(e<=0||t<=0)continue}const t=d.create({data:c,layer:n,page:e.page,viewport:a,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new i.DOMSVGFactory,annotationStorage:e.annotationStorage||new o.AnnotationStorage,enableScripting:e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,mouseState:e.mouseState||{isDown:!1}});if(t.isRenderable){const e=t.render();if(c.hidden&&(e.style.visibility="hidden"),Array.isArray(e))for(const t of e)t.style.zIndex=l++,L.call(j,t,c.id,n,s);else e.style.zIndex=l++,t instanceof w?n.prepend(e):L.call(j,e,c.id,n,s)}}_assertClassBrand(j,this,U).call(this,n,e.annotationCanvasMap)}static update(e){const{annotationCanvasMap:t,div:n,viewport:r}=e;_assertClassBrand(j,this,B).call(this,n,r),_assertClassBrand(j,this,U).call(this,n,t),n.hidden=!1}}function L(e,t,n,r){const o=e.firstChild||e;o.id="".concat(i.AnnotationPrefix).concat(t),n.append(e),null===r||void 0===r||r.moveElementInDOM(n,e,o,!1)}function B(e,t){let{width:n,height:r,rotation:i}=t;const{style:o}=e,a=i%180!==0,s=Math.floor(n)+"px",l=Math.floor(r)+"px";o.width=a?l:s,o.height=a?s:l,e.setAttribute("data-main-rotation",i)}function U(e,t){if(t){for(const[n,r]of t){const t=e.querySelector('[data-annotation-id="'.concat(n,'"]'));if(!t)continue;const{firstChild:i}=t;i?"CANVAS"===i.nodeName?i.replaceWith(r):i.before(r):t.append(r)}t.clear()}}t.AnnotationLayer=j},(e,t)=>{function n(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0,t.ColorConverters=class{static CMYK_G(e){let[t,n,r,i]=e;return["G",1-Math.min(1,.3*t+.59*r+.11*n+i)]}static G_CMYK(e){let[t]=e;return["CMYK",0,0,0,1-t]}static G_RGB(e){let[t]=e;return["RGB",t,t,t]}static G_HTML(e){let[t]=e;const r=n(t);return"#".concat(r).concat(r).concat(r)}static RGB_G(e){let[t,n,r]=e;return["G",.3*t+.59*n+.11*r]}static RGB_HTML(e){let[t,r,i]=e;const o=n(t),a=n(r),s=n(i);return"#".concat(o).concat(a).concat(s)}static T_HTML(){return"#00000000"}static CMYK_RGB(e){let[t,n,r,i]=e;return["RGB",1-Math.min(1,t+i),1-Math.min(1,r+i),1-Math.min(1,n+i)]}static CMYK_HTML(e){const t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK(e){let[t,n,r]=e;const i=1-t,o=1-n,a=1-r;return["CMYK",i,o,a,Math.min(i,o,a)]}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var r=n(20);t.XfaLayer=class{static setupStorage(e,t,n,r,i){const o=r.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==o.value&&(e.textContent=o.value),"print"===i)break;e.addEventListener("input",(e=>{r.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(o.value===n.attributes.xfaOn?e.setAttribute("checked",!0):o.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===i)break;e.addEventListener("change",(e=>{r.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==o.value&&e.setAttribute("value",o.value),"print"===i)break;e.addEventListener("input",(e=>{r.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==o.value)for(const e of n.children)e.attributes.value===o.value&&(e.attributes.selected=!0);e.addEventListener("input",(e=>{const n=e.target.options,i=-1===n.selectedIndex?"":n[n.selectedIndex].value;r.setValue(t,{value:i})}))}}static setAttributes(e){let{html:t,element:n,storage:r=null,intent:i,linkService:o}=e;const{attributes:a}=n,s=t instanceof HTMLAnchorElement;"radio"===a.type&&(a.name="".concat(a.name,"-").concat(i));for(const[l,c]of Object.entries(a))if(null!==c&&void 0!==c)switch(l){case"class":c.length&&t.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",c);break;case"style":Object.assign(t.style,c);break;case"textContent":t.textContent=c;break;default:(!s||"href"!==l&&"newWindow"!==l)&&t.setAttribute(l,c)}s&&o.addLinkAttributes(t,a.href,a.newWindow),r&&a.dataId&&this.setupStorage(t,a.dataId,n,r)}static render(e){const t=e.annotationStorage,n=e.linkService,i=e.xfaHtml,o=e.intent||"display",a=document.createElement(i.name);i.attributes&&this.setAttributes({html:a,element:i,intent:o,linkService:n});const s=[[i,-1,a]],l=e.div;if(l.append(a),e.viewport){const t="matrix(".concat(e.viewport.transform.join(","),")");l.style.transform=t}"richText"!==o&&l.setAttribute("class","xfaLayer xfaFont");const c=[];for(;s.length>0;){var u;const[e,i,a]=s.at(-1);if(i+1===e.children.length){s.pop();continue}const l=e.children[++s.at(-1)[1]];if(null===l)continue;const{name:d}=l;if("#text"===d){const e=document.createTextNode(l.value);c.push(e),a.append(e);continue}let h;if(h=null!==l&&void 0!==l&&null!==(u=l.attributes)&&void 0!==u&&u.xmlns?document.createElementNS(l.attributes.xmlns,d):document.createElement(d),a.append(h),l.attributes&&this.setAttributes({html:h,element:l,storage:t,intent:o,linkService:n}),l.children&&l.children.length>0)s.push([l,-1,h]);else if(l.value){const e=document.createTextNode(l.value);r.XfaText.shouldBuildText(d)&&c.push(e),h.append(e)}}for(const r of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))r.setAttribute("readOnly",!0);return{textDivs:c}}static update(e){const t="matrix(".concat(e.viewport.transform.join(","),")");e.div.style.transform=t,e.div.hidden=!1}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextLayerRenderTask=void 0,t.renderTextLayer=function(e){const t=new f({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t};var r=n(1),i=n(8);const o=30,a=.8,s=new Map,l=/^\s+$/g;function c(e,t,n,i){const c=document.createElement("span"),u=e._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};e._textDivs.push(c);const d=r.Util.transform(e._viewport.transform,t.transform);let h=Math.atan2(d[1],d[0]);const p=n[t.fontName];p.vertical&&(h+=Math.PI/2);const f=Math.hypot(d[2],d[3]),m=f*function(e,t){const n=s.get(e);if(n)return n;t.save(),t.font="".concat(o,"px ").concat(e);const r=t.measureText("");let i=r.fontBoundingBoxAscent,l=Math.abs(r.fontBoundingBoxDescent);if(i){t.restore();const n=i/(i+l);return s.set(e,n),n}t.strokeStyle="red",t.clearRect(0,0,o,o),t.strokeText("g",0,0);let c=t.getImageData(0,0,o,o).data;l=0;for(let a=c.length-1-3;a>=0;a-=4)if(c[a]>0){l=Math.ceil(a/4/o);break}t.clearRect(0,0,o,o),t.strokeText("A",0,o),c=t.getImageData(0,0,o,o).data,i=0;for(let a=0,s=c.length;a<s;a+=4)if(c[a]>0){i=o-Math.floor(a/4/o);break}if(t.restore(),i){const t=i/(i+l);return s.set(e,t),t}return s.set(e,a),a}(p.fontFamily,i);let g,v;0===h?(g=d[4],v=d[5]-m):(g=d[4]+m*Math.sin(h),v=d[5]-m*Math.cos(h)),c.style.left="".concat(g,"px"),c.style.top="".concat(v,"px"),c.style.fontSize="".concat(f,"px"),c.style.fontFamily=p.fontFamily,u.fontSize=f,c.setAttribute("role","presentation"),c.textContent=t.str,c.dir=t.dir,e._fontInspectorEnabled&&(c.dataset.fontName=t.fontName),0!==h&&(u.angle=h*(180/Math.PI));let C=!1;if(t.str.length>1||e._enhanceTextSelection&&l.test(t.str))C=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){const e=Math.abs(t.transform[0]),n=Math.abs(t.transform[3]);e!==n&&Math.max(e,n)/Math.min(e,n)>1.5&&(C=!0)}if(C&&(p.vertical?u.canvasWidth=t.height*e._viewport.scale:u.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(c,u),e._textContentStream&&e._layoutText(c),e._enhanceTextSelection&&u.hasText){let n=1,i=0;0!==h&&(n=Math.cos(h),i=Math.sin(h));const o=(p.vertical?t.height:t.width)*e._viewport.scale,a=f;let s,l;0!==h?(s=[n,i,-i,n,g,v],l=r.Util.getAxialAlignedBoundingBox([0,0,o,a],s)):l=[g,v,g+o,v+a],e._bounds.push({left:l[0],top:l[1],right:l[2],bottom:l[3],div:c,size:[o,a],m:s})}}function u(e){if(e._canceled)return;const t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(let i=0;i<r;i++)e._layoutText(t[i]);e._renderingDone=!0,n.resolve()}function d(e,t,n){let r=0;for(let i=0;i<n;i++){const n=e[t++];n>0&&(r=r?Math.min(n,r):n)}return r}function h(e){const t=e._bounds,n=e._viewport,i=function(e,t,n){const r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));p(e,r);const i=new Array(n.length);for(const o of r){const e=o.index;i[e]={left:o.x1New,top:0,right:o.x2New,bottom:0}}n.map((function(t,n){const o=i[n],a=r[n];a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=n,a.x1New=void 0,a.x2New=void 0})),p(t,r);for(const o of r){const e=o.index;i[e].top=o.x1New,i[e].bottom=o.x2New}return i}(n.width,n.height,t);for(let o=0;o<i.length;o++){const n=t[o].div,a=e._textDivProperties.get(n);if(0===a.angle){a.paddingLeft=t[o].left-i[o].left,a.paddingTop=t[o].top-i[o].top,a.paddingRight=i[o].right-t[o].right,a.paddingBottom=i[o].bottom-t[o].bottom,e._textDivProperties.set(n,a);continue}const s=i[o],l=t[o],c=l.m,u=c[0],h=c[1],p=[[0,0],[0,l.size[1]],[l.size[0],0],l.size],f=new Float64Array(64);for(let e=0,t=p.length;e<t;e++){const t=r.Util.applyTransform(p[e],c);f[e+0]=u&&(s.left-t[0])/u,f[e+4]=h&&(s.top-t[1])/h,f[e+8]=u&&(s.right-t[0])/u,f[e+12]=h&&(s.bottom-t[1])/h,f[e+16]=h&&(s.left-t[0])/-h,f[e+20]=u&&(s.top-t[1])/u,f[e+24]=h&&(s.right-t[0])/-h,f[e+28]=u&&(s.bottom-t[1])/u,f[e+32]=u&&(s.left-t[0])/-u,f[e+36]=h&&(s.top-t[1])/-h,f[e+40]=u&&(s.right-t[0])/-u,f[e+44]=h&&(s.bottom-t[1])/-h,f[e+48]=h&&(s.left-t[0])/h,f[e+52]=u&&(s.top-t[1])/-u,f[e+56]=h&&(s.right-t[0])/h,f[e+60]=u&&(s.bottom-t[1])/-u}const m=1+Math.min(Math.abs(u),Math.abs(h));a.paddingLeft=d(f,32,16)/m,a.paddingTop=d(f,48,16)/m,a.paddingRight=d(f,0,16)/m,a.paddingBottom=d(f,16,16)/m,e._textDivProperties.set(n,a)}}function p(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));const n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const r of t){let e=0;for(;e<n.length&&n[e].end<=r.y1;)e++;let t,i,o=n.length-1;for(;o>=0&&n[o].start>=r.y2;)o--;let a,s,l=-1/0;for(a=e;a<=o;a++){let e;t=n[a],i=t.boundary,e=i.x2>r.x1?i.index>r.index?i.x1New:r.x1:void 0===i.x2New?(i.x2+r.x1)/2:i.x2New,e>l&&(l=e)}for(r.x1New=l,a=e;a<=o;a++)t=n[a],i=t.boundary,void 0===i.x2New?i.x2>r.x1?i.index>r.index&&(i.x2New=i.x2):i.x2New=l:i.x2New>l&&(i.x2New=Math.max(l,i.x2));const c=[];let u=null;for(a=e;a<=o;a++){t=n[a],i=t.boundary;const e=i.x2>r.x2?i:r;u===e?c.at(-1).end=t.end:(c.push({start:t.start,end:t.end,boundary:e}),u=e)}for(n[e].start<r.y1&&(c[0].start=r.y1,c.unshift({start:n[e].start,end:r.y1,boundary:n[e].boundary})),r.y2<n[o].end&&(c.at(-1).end=r.y2,c.push({start:r.y2,end:n[o].end,boundary:n[o].boundary})),a=e;a<=o;a++){if(t=n[a],i=t.boundary,void 0!==i.x2New)continue;let r=!1;for(s=e-1;!r&&s>=0&&n[s].start>=i.y1;s--)r=n[s].boundary===i;for(s=o+1;!r&&s<n.length&&n[s].end<=i.y2;s++)r=n[s].boundary===i;for(s=0;!r&&s<c.length;s++)r=c[s].boundary===i;r||(i.x2New=l)}Array.prototype.splice.apply(n,[e,o-e+1,...c])}for(const r of n){const t=r.boundary;void 0===t.x2New&&(t.x2New=Math.max(e,t.x2))}}class f{constructor(e){var t;let{textContent:n,textContentStream:o,container:a,viewport:s,textDivs:l,textContentItemsStr:c,enhanceTextSelection:u}=e;u&&(0,i.deprecated)("The `enhanceTextSelection` functionality will be removed in the future."),this._textContent=n,this._textContentStream=o,this._container=a,this._document=a.ownerDocument,this._viewport=s,this._textDivs=l||[],this._textContentItemsStr=c||[],this._enhanceTextSelection=!!u,this._fontInspectorEnabled=!(null===(t=globalThis.FontInspector)||void 0===t||!t.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._devicePixelRatio=globalThis.devicePixelRatio||1,this._capability.promise.finally((()=>{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)})).catch((()=>{}))}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")).catch((()=>{})),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(e,t){for(let n=0,r=e.length;n<r;n++)if(void 0!==e[n].str)this._textContentItemsStr.push(e[n].str),c(this,e[n],t,this._layoutTextCtx);else if("beginMarkedContentProps"===e[n].type||"beginMarkedContent"===e[n].type){const t=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==e[n].id&&this._container.setAttribute("id","".concat(e[n].id)),t.append(this._container)}else"endMarkedContent"===e[n].type&&(this._container=this._container.parentNode)}_layoutText(e){const t=this._textDivProperties.get(e);let n="";if(0!==t.canvasWidth&&t.hasText){const{fontFamily:r}=e.style,{fontSize:i}=t;i===this._layoutTextLastFontSize&&r===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(i*this._devicePixelRatio,"px ").concat(r),this._layoutTextLastFontSize=i,this._layoutTextLastFontFamily=r);const{width:o}=this._layoutTextCtx.measureText(e.textContent);if(o>0){const e=this._devicePixelRatio*t.canvasWidth/o;this._enhanceTextSelection&&(t.scale=e),n="scaleX(".concat(e,")")}}if(0!==t.angle&&(n="rotate(".concat(t.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),t.hasText&&this._container.append(e),t.hasEOL){const e=document.createElement("br");e.setAttribute("role","presentation"),this._container.append(e)}}_render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=(0,r.createPromiseCapability)();let n=Object.create(null);const i=this._document.createElement("canvas");if(i.height=i.width=o,this._layoutTextCtx=i.getContext("2d",{alpha:!1}),this._textContent){const e=this._textContent.items,n=this._textContent.styles;this._processItems(e,n),t.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const e=()=>{this._reader.read().then((r=>{let{value:i,done:o}=r;o?t.resolve():(Object.assign(n,i.styles),this._processItems(i.items,n),e())}),t.reject)};this._reader=this._textContentStream.getReader(),e()}}t.promise.then((()=>{n=null,e?this._renderTimer=setTimeout((()=>{u(this),this._renderTimer=null}),e):u(this)}),this._capability.reject)}expandTextDivs(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(h(this),this._bounds=null);const t=[],n=[];for(let r=0,i=this._textDivs.length;r<i;r++){const i=this._textDivs[r],o=this._textDivProperties.get(i);o.hasText&&(e?(t.length=0,n.length=0,o.originalTransform&&t.push(o.originalTransform),o.paddingTop>0?(n.push("".concat(o.paddingTop,"px")),t.push("translateY(".concat(-o.paddingTop,"px)"))):n.push(0),o.paddingRight>0?n.push("".concat(o.paddingRight/o.scale,"px")):n.push(0),o.paddingBottom>0?n.push("".concat(o.paddingBottom,"px")):n.push(0),o.paddingLeft>0?(n.push("".concat(o.paddingLeft/o.scale,"px")),t.push("translateX(".concat(-o.paddingLeft/o.scale,"px)"))):n.push(0),i.style.padding=n.join(" "),t.length&&(i.style.transform=t.join(" "))):(i.style.padding=null,i.style.transform=o.originalTransform))}}}t.TextLayerRenderTask=f},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(8),i=n(1),o=n(3);let a=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};t.SVGGraphics=a;{const s={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/1999/xlink",u=["butt","round","square"],d=["miter","round","bevel"],h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&"undefined"!==typeof Blob&&!n)return URL.createObjectURL(new Blob([e],{type:t}));const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let i="data:".concat(t,";base64,");for(let o=0,a=e.length;o<a;o+=3){const t=255&e[o],n=255&e[o+1],s=255&e[o+2];i+=r[t>>2]+r[(3&t)<<4|n>>4]+r[o+1<a?(15&n)<<2|s>>6:64]+r[o+2<a?63&s:64]}return i},p=function(){const e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256);for(let i=0;i<256;i++){let e=i;for(let t=0;t<8;t++)e=1&e?3988292384^e>>1&2147483647:e>>1&2147483647;t[i]=e}function n(e,n,r,i){let o=i;const a=n.length;r[o]=a>>24&255,r[o+1]=a>>16&255,r[o+2]=a>>8&255,r[o+3]=255&a,o+=4,r[o]=255&e.charCodeAt(0),r[o+1]=255&e.charCodeAt(1),r[o+2]=255&e.charCodeAt(2),r[o+3]=255&e.charCodeAt(3),o+=4,r.set(n,o),o+=n.length;const s=function(e,n,r){let i=-1;for(let o=n;o<r;o++){const n=255&(i^e[o]);i=i>>>8^t[n]}return~i}(r,i+4,o);r[o]=s>>24&255,r[o+1]=s>>16&255,r[o+2]=s>>8&255,r[o+3]=255&s}function r(e){let t=e.length;const n=65535,r=Math.ceil(t/n),i=new Uint8Array(2+t+5*r+4);let o=0;i[o++]=120,i[o++]=156;let a=0;for(;t>n;)i[o++]=0,i[o++]=255,i[o++]=255,i[o++]=0,i[o++]=0,i.set(e.subarray(a,a+n),o),o+=n,a+=n,t-=n;i[o++]=1,i[o++]=255&t,i[o++]=t>>8&255,i[o++]=255&~t,i[o++]=(65535&~t)>>8&255,i.set(e.subarray(a),o),o+=e.length-a;const s=function(e,t,n){let r=1,i=0;for(let o=t;o<n;++o)r=(r+(255&e[o]))%65521,i=(i+r)%65521;return i<<16|r}(e,0,e.length);return i[o++]=s>>24&255,i[o++]=s>>16&255,i[o++]=s>>8&255,i[o++]=255&s,i}function a(t,a,s,l){const c=t.width,u=t.height;let d,p,f;const m=t.data;switch(a){case i.ImageKind.GRAYSCALE_1BPP:p=0,d=1,f=c+7>>3;break;case i.ImageKind.RGB_24BPP:p=2,d=8,f=3*c;break;case i.ImageKind.RGBA_32BPP:p=6,d=8,f=4*c;break;default:throw new Error("invalid format")}const g=new Uint8Array((1+f)*u);let v=0,C=0;for(let e=0;e<u;++e)g[v++]=0,g.set(m.subarray(C,C+f),v),C+=f,v+=f;if(a===i.ImageKind.GRAYSCALE_1BPP&&l){v=0;for(let e=0;e<u;e++){v++;for(let e=0;e<f;e++)g[v++]^=255}}const y=new Uint8Array([c>>24&255,c>>16&255,c>>8&255,255&c,u>>24&255,u>>16&255,u>>8&255,255&u,d,p,0,0,0]),b=function(e){if(!o.isNodeJS)return r(e);try{let t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);const n=__webpack_require__(71040).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(t){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+t)}return r(e)}(g),w=e.length+36+y.length+b.length,x=new Uint8Array(w);let A=0;return x.set(e,A),A+=e.length,n("IHDR",y,x,A),A+=12+y.length,n("IDATA",b,x,A),A+=12+b.length,n("IEND",new Uint8Array(0),x,A),h(x,"image/png",s)}return function(e,t,n){return a(e,void 0===e.kind?i.ImageKind.GRAYSCALE_1BPP:e.kind,t,n)}}();class f{constructor(){this.fontSizeScale=1,this.fontWeight=s.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=s.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(e,t){this.x=e,this.y=t}}function m(e){let t=[];const n=[];for(const r of e)"save"!==r.fn?"restore"===r.fn?t=n.pop():t.push(r):(t.push({fnId:92,fn:"group",items:[]}),n.push(t),t=t.at(-1).items);return t}function g(e){if(Number.isInteger(e))return e.toString();const t=e.toFixed(10);let n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)}function v(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(g(e[0])," ").concat(g(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){const t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(g(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(g(e[4])," ").concat(g(e[5]),")");return"matrix(".concat(g(e[0])," ").concat(g(e[1])," ").concat(g(e[2])," ").concat(g(e[3])," ").concat(g(e[4])," ")+"".concat(g(e[5]),")")}let C=0,y=0,b=0;t.SVGGraphics=a=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,r.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new r.DOMSVGFactory,this.current=new f,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[];for(const r in i.OPS)this._operatorIdMapping[i.OPS[r]]=r}save(){this.transformStack.push(this.transformMatrix);const e=this.current;this.extraStack.push(e),this.current=e.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(e){this.save(),this.executeOpTree(e),this.restore()}loadDependencies(e){const t=e.fnArray,n=e.argsArray;for(let r=0,o=t.length;r<o;r++)if(t[r]===i.OPS.dependency)for(const e of n[r]){const t=e.startsWith("g_")?this.commonObjs:this.objs,n=new Promise((n=>{t.get(e,n)}));this.current.dependencies.push(n)}return Promise.all(this.current.dependencies)}transform(e,t,n,r,o,a){const s=[e,t,n,r,o,a];this.transformMatrix=i.Util.transform(this.transformMatrix,s),this.tgrp=null}getSVG(e,t){this.viewport=t;const n=this._initialize(t);return this.loadDependencies(e).then((()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(e)),n)))}convertOpList(e){const t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,i=[];for(let o=0,a=r.length;o<a;o++){const e=r[o];i.push({fnId:e,fn:t[e],args:n[o]})}return m(i)}executeOpTree(e){for(const t of e){const e=t.fn,n=t.fnId,r=t.args;switch(0|n){case i.OPS.beginText:this.beginText();break;case i.OPS.dependency:break;case i.OPS.setLeading:this.setLeading(r);break;case i.OPS.setLeadingMoveText:this.setLeadingMoveText(r[0],r[1]);break;case i.OPS.setFont:this.setFont(r);break;case i.OPS.showText:case i.OPS.showSpacedText:this.showText(r[0]);break;case i.OPS.endText:this.endText();break;case i.OPS.moveText:this.moveText(r[0],r[1]);break;case i.OPS.setCharSpacing:this.setCharSpacing(r[0]);break;case i.OPS.setWordSpacing:this.setWordSpacing(r[0]);break;case i.OPS.setHScale:this.setHScale(r[0]);break;case i.OPS.setTextMatrix:this.setTextMatrix(r[0],r[1],r[2],r[3],r[4],r[5]);break;case i.OPS.setTextRise:this.setTextRise(r[0]);break;case i.OPS.setTextRenderingMode:this.setTextRenderingMode(r[0]);break;case i.OPS.setLineWidth:this.setLineWidth(r[0]);break;case i.OPS.setLineJoin:this.setLineJoin(r[0]);break;case i.OPS.setLineCap:this.setLineCap(r[0]);break;case i.OPS.setMiterLimit:this.setMiterLimit(r[0]);break;case i.OPS.setFillRGBColor:this.setFillRGBColor(r[0],r[1],r[2]);break;case i.OPS.setStrokeRGBColor:this.setStrokeRGBColor(r[0],r[1],r[2]);break;case i.OPS.setStrokeColorN:this.setStrokeColorN(r);break;case i.OPS.setFillColorN:this.setFillColorN(r);break;case i.OPS.shadingFill:this.shadingFill(r[0]);break;case i.OPS.setDash:this.setDash(r[0],r[1]);break;case i.OPS.setRenderingIntent:this.setRenderingIntent(r[0]);break;case i.OPS.setFlatness:this.setFlatness(r[0]);break;case i.OPS.setGState:this.setGState(r[0]);break;case i.OPS.fill:this.fill();break;case i.OPS.eoFill:this.eoFill();break;case i.OPS.stroke:this.stroke();break;case i.OPS.fillStroke:this.fillStroke();break;case i.OPS.eoFillStroke:this.eoFillStroke();break;case i.OPS.clip:this.clip("nonzero");break;case i.OPS.eoClip:this.clip("evenodd");break;case i.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case i.OPS.paintImageXObject:this.paintImageXObject(r[0]);break;case i.OPS.paintInlineImageXObject:this.paintInlineImageXObject(r[0]);break;case i.OPS.paintImageMaskXObject:this.paintImageMaskXObject(r[0]);break;case i.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(r[0],r[1]);break;case i.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case i.OPS.closePath:this.closePath();break;case i.OPS.closeStroke:this.closeStroke();break;case i.OPS.closeFillStroke:this.closeFillStroke();break;case i.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case i.OPS.nextLine:this.nextLine();break;case i.OPS.transform:this.transform(r[0],r[1],r[2],r[3],r[4],r[5]);break;case i.OPS.constructPath:this.constructPath(r[0],r[1]);break;case i.OPS.endPath:this.endPath();break;case 92:this.group(t.items);break;default:(0,i.warn)("Unimplemented operator ".concat(e))}}}setWordSpacing(e){this.current.wordSpacing=e}setCharSpacing(e){this.current.charSpacing=e}nextLine(){this.moveText(0,this.current.leading)}setTextMatrix(e,t,n,r,i,o){const a=this.current;a.textMatrix=a.lineMatrix=[e,t,n,r,i,o],a.textMatrixScale=Math.hypot(e,t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(g(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",g(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.append(a.tspan)}beginText(){const e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=i.IDENTITY_MATRIX,e.lineMatrix=i.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}moveText(e,t){const n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(g(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",g(-n.y))}showText(e){const t=this.current,n=t.font,r=t.fontSize;if(0===r)return;const o=t.fontSizeScale,a=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,h=n.vertical,p=h?1:-1,f=n.defaultVMetrics,m=r*t.fontMatrix[0];let C=0;for(const i of e){if(null===i){C+=u*c;continue}if("number"===typeof i){C+=p*i*r/1e3;continue}const e=(i.isSpace?c:0)+a,s=i.fontChar;let l,d,g,v=i.width;if(h){let e;const t=i.vmetric||f;e=i.vmetric?t[1]:.5*v,e=-e*m;const n=t[2]*m;v=t?-t[0]:v,l=e/o,d=(C+n)/o}else l=C/o,d=0;(i.isInFont||n.missingFile)&&(t.xcoords.push(t.x+l),h&&t.ycoords.push(-t.y+d),t.tspan.textContent+=s),g=h?v*m-e*u:v*m+e*u,C+=g}t.tspan.setAttributeNS(null,"x",t.xcoords.map(g).join(" ")),h?t.tspan.setAttributeNS(null,"y",t.ycoords.map(g).join(" ")):t.tspan.setAttributeNS(null,"y",g(-t.y)),h?t.y-=C:t.x+=C*d,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(g(t.fontSize),"px")),t.fontStyle!==s.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==s.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);const y=t.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;if(y===i.TextRenderingMode.FILL||y===i.TextRenderingMode.FILL_STROKE?(t.fillColor!==s.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===i.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),y===i.TextRenderingMode.STROKE||y===i.TextRenderingMode.FILL_STROKE){const e=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,e)}let b=t.textMatrix;0!==t.textRise&&(b=b.slice(),b[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(v(b)," scale(").concat(g(d),", -1)")),t.txtElement.setAttributeNS(l,"xml:space","preserve"),t.txtElement.append(t.tspan),t.txtgrp.append(t.txtElement),this._ensureTransformGroup().append(t.txtElement)}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}addFontStyle(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.append(this.cssStyle));const t=h(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}setFont(e){const t=this.current,n=this.commonObjs.get(e[0]);let r=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix||i.FONT_IDENTITY_MATRIX;let o="normal";n.black?o="900":n.bold&&(o="bold");const a=n.italic?"italic":"normal";r<0?(r=-r,t.fontDirection=-1):t.fontDirection=1,t.fontSize=r,t.fontFamily=n.loadedName,t.fontWeight=o,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",g(-t.y)),t.xcoords=[],t.ycoords=[]}endText(){var e;const t=this.current;t.textRenderingMode&i.TextRenderingMode.ADD_TO_PATH_FLAG&&null!==(e=t.txtElement)&&void 0!==e&&e.hasChildNodes()&&(t.element=t.txtElement,this.clip("nonzero"),this.endPath())}setLineWidth(e){e>0&&(this.current.lineWidth=e)}setLineCap(e){this.current.lineCap=u[e]}setLineJoin(e){this.current.lineJoin=d[e]}setMiterLimit(e){this.current.miterLimit=e}setStrokeAlpha(e){this.current.strokeAlpha=e}setStrokeRGBColor(e,t,n){this.current.strokeColor=i.Util.makeHexColor(e,t,n)}setFillAlpha(e){this.current.fillAlpha=e}setFillRGBColor(e,t,n){this.current.fillColor=i.Util.makeHexColor(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(e){this.current.strokeColor=this._makeColorN_Pattern(e)}setFillColorN(e){this.current.fillColor=this._makeColorN_Pattern(e)}shadingFill(e){const t=this.viewport.width,n=this.viewport.height,r=i.Util.inverseTransform(this.transformMatrix),o=i.Util.applyTransform([0,0],r),a=i.Util.applyTransform([0,n],r),s=i.Util.applyTransform([t,0],r),l=i.Util.applyTransform([t,n],r),c=Math.min(o[0],a[0],s[0],l[0]),u=Math.min(o[1],a[1],s[1],l[1]),d=Math.max(o[0],a[0],s[0],l[0]),h=Math.max(o[1],a[1],s[1],l[1]),p=this.svgFactory.createElement("svg:rect");p.setAttributeNS(null,"x",c),p.setAttributeNS(null,"y",u),p.setAttributeNS(null,"width",d-c),p.setAttributeNS(null,"height",h-u),p.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&p.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(p)}_makeColorN_Pattern(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}_makeTilingPattern(e){const t=e[1],n=e[2],r=e[3]||i.IDENTITY_MATRIX,[o,a,s,l]=e[4],c=e[5],u=e[6],d=e[7],h="shading".concat(b++),[p,f,m,g]=i.Util.normalizeRect([...i.Util.applyTransform([o,a],r),...i.Util.applyTransform([s,l],r)]),[v,C]=i.Util.singularValueDecompose2dScale(r),y=c*v,w=u*C,x=this.svgFactory.createElement("svg:pattern");x.setAttributeNS(null,"id",h),x.setAttributeNS(null,"patternUnits","userSpaceOnUse"),x.setAttributeNS(null,"width",y),x.setAttributeNS(null,"height",w),x.setAttributeNS(null,"x","".concat(p)),x.setAttributeNS(null,"y","".concat(f));const A=this.svg,E=this.transformMatrix,_=this.current.fillColor,T=this.current.strokeColor,S=this.svgFactory.create(m-p,g-f);if(this.svg=S,this.transformMatrix=r,2===d){const e=i.Util.makeHexColor(...t);this.current.fillColor=e,this.current.strokeColor=e}return this.executeOpTree(this.convertOpList(n)),this.svg=A,this.transformMatrix=E,this.current.fillColor=_,this.current.strokeColor=T,x.append(S.childNodes[0]),this.defs.append(x),"url(#".concat(h,")")}_makeShadingPattern(e){switch("string"===typeof e&&(e=this.objs.get(e)),e[0]){case"RadialAxial":const t="shading".concat(b++),n=e[3];let r;switch(e[1]){case"axial":const n=e[4],i=e[5];r=this.svgFactory.createElement("svg:linearGradient"),r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),r.setAttributeNS(null,"x1",n[0]),r.setAttributeNS(null,"y1",n[1]),r.setAttributeNS(null,"x2",i[0]),r.setAttributeNS(null,"y2",i[1]);break;case"radial":const o=e[4],a=e[5],s=e[6],l=e[7];r=this.svgFactory.createElement("svg:radialGradient"),r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),r.setAttributeNS(null,"cx",a[0]),r.setAttributeNS(null,"cy",a[1]),r.setAttributeNS(null,"r",l),r.setAttributeNS(null,"fx",o[0]),r.setAttributeNS(null,"fy",o[1]),r.setAttributeNS(null,"fr",s);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}for(const e of n){const t=this.svgFactory.createElement("svg:stop");t.setAttributeNS(null,"offset",e[0]),t.setAttributeNS(null,"stop-color",e[1]),r.append(t)}return this.defs.append(r),"url(#".concat(t,")");case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}setDash(e,t){this.current.dashArray=e,this.current.dashPhase=t}constructPath(e,t){const n=this.current;let r=n.x,o=n.y,a=[],s=0;for(const l of e)switch(0|l){case i.OPS.rectangle:r=t[s++],o=t[s++];const e=r+t[s++],n=o+t[s++];a.push("M",g(r),g(o),"L",g(e),g(o),"L",g(e),g(n),"L",g(r),g(n),"Z");break;case i.OPS.moveTo:r=t[s++],o=t[s++],a.push("M",g(r),g(o));break;case i.OPS.lineTo:r=t[s++],o=t[s++],a.push("L",g(r),g(o));break;case i.OPS.curveTo:r=t[s+4],o=t[s+5],a.push("C",g(t[s]),g(t[s+1]),g(t[s+2]),g(t[s+3]),g(r),g(o)),s+=6;break;case i.OPS.curveTo2:a.push("C",g(r),g(o),g(t[s]),g(t[s+1]),g(t[s+2]),g(t[s+3])),r=t[s+2],o=t[s+3],s+=4;break;case i.OPS.curveTo3:r=t[s+2],o=t[s+3],a.push("C",g(t[s]),g(t[s+1]),g(r),g(o),g(r),g(o)),s+=4;break;case i.OPS.closePath:a.push("Z")}a=a.join(" "),n.path&&e.length>0&&e[0]!==i.OPS.rectangle&&e[0]!==i.OPS.moveTo?a=n.path.getAttributeNS(null,"d")+a:(n.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(n.path)),n.path.setAttributeNS(null,"d",a),n.path.setAttributeNS(null,"fill","none"),n.element=n.path,n.setCurrentPoint(r,o)}endPath(){const e=this.current;if(e.path=null,!this.pendingClip)return;if(!e.element)return void(this.pendingClip=null);const t="clippath".concat(C++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",v(this.transformMatrix));const r=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.append(r),this.defs.append(n),e.activeClipUrl){e.clipGroup=null;for(const e of this.extraStack)e.clipGroup=null;n.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}clip(e){this.pendingClip=e}closePath(){const e=this.current;if(e.path){const t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}setLeading(e){this.current.leading=-e}setTextRise(e){this.current.textRise=e}setTextRenderingMode(e){this.current.textRenderingMode=e}setHScale(e){this.current.textHScale=e/100}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n);break;case"CA":this.setStrokeAlpha(n);break;case"ca":this.setFillAlpha(n);break;default:(0,i.warn)("Unimplemented graphic state operator ".concat(t))}}fill(){const e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}stroke(){const e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=this.current;let r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",g(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",g(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(g).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",g(t*n.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(e)}paintImageXObject(e){const t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,i.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}paintInlineImageXObject(e,t){const n=e.width,r=e.height,i=p(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",g(n)),o.setAttributeNS(null,"height",g(r)),this.current.element=o,this.clip("nonzero");const a=this.svgFactory.createElement("svg:image");a.setAttributeNS(c,"xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",g(-r)),a.setAttributeNS(null,"width",g(n)+"px"),a.setAttributeNS(null,"height",g(r)+"px"),a.setAttributeNS(null,"transform","scale(".concat(g(1/n)," ").concat(g(-1/r),")")),t?t.append(a):this._ensureTransformGroup().append(a)}paintImageMaskXObject(e){const t=this.current,n=e.width,r=e.height,i=t.fillColor;t.maskId="mask".concat(y++);const o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);const a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",g(n)),a.setAttributeNS(null,"height",g(r)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.append(o),this._ensureTransformGroup().append(a),this.paintInlineImageXObject(e,o)}paintFormXObjectBegin(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){const e=t[2]-t[0],n=t[3]-t[1],r=this.svgFactory.createElement("svg:rect");r.setAttributeNS(null,"x",t[0]),r.setAttributeNS(null,"y",t[1]),r.setAttributeNS(null,"width",g(e)),r.setAttributeNS(null,"height",g(n)),this.current.element=r,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(e){const t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.append(n),this.defs=n;const r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",v(e.transform)),t.append(r),this.svg=r,t}_ensureClipGroup(){if(!this.current.clipGroup){const e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(e),this.current.clipGroup=e}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",v(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var r=n(1),i=n(33);const o=__webpack_require__(82590),a=__webpack_require__(85515),s=__webpack_require__(82474),l=__webpack_require__(39630),c=/^file:\/\/\/[a-zA-Z]:\//;t.PDFNodeStream=class{constructor(e){this.source=e,this.url=function(e){const t=l.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?l.parse("file:///".concat(e)):(t.host||(t.protocol="file:"),t)}(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new m(this):new p(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=this.isFsUrl?new g(this,e,t):new f(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}};class u{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)(),this._headersCapability=(0,r.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new r.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class d{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)();const t=e.source;this._isStreamingSupported=!t.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}function h(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class p extends u{constructor(e){super(e);const t=t=>{if(404===t.statusCode){const e=new r.MissingPDFException('Missing PDF "'.concat(this._url,'".'));return this._storedError=e,void this._headersCapability.reject(e)}this._headersCapability.resolve(),this._setReadableStream(t);const n=e=>this._readableStream.headers[e.toLowerCase()],{allowRangeRequests:o,suggestedLength:a}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=o,this._contentLength=a||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(n)};this._request=null,"http:"===this._url.protocol?this._request=a.request(h(this._url,e.httpHeaders),t):this._request=s.request(h(this._url,e.httpHeaders),t),this._request.on("error",(e=>{this._storedError=e,this._headersCapability.reject(e)})),this._request.end()}}class f extends d{constructor(e,t,n){super(e),this._httpHeaders={};for(const r in e.httpHeaders){const t=e.httpHeaders[r];"undefined"!==typeof t&&(this._httpHeaders[r]=t)}this._httpHeaders.Range="bytes=".concat(t,"-").concat(n-1);const i=e=>{if(404!==e.statusCode)this._setReadableStream(e);else{const e=new r.MissingPDFException('Missing PDF "'.concat(this._url,'".'));this._storedError=e}};this._request=null,"http:"===this._url.protocol?this._request=a.request(h(this._url,this._httpHeaders),i):this._request=s.request(h(this._url,this._httpHeaders),i),this._request.on("error",(e=>{this._storedError=e})),this._request.end()}}class m extends u{constructor(e){super(e);let t=decodeURIComponent(this._url.path);c.test(this._url.href)&&(t=t.replace(/^\//,"")),o.lstat(t,((e,n)=>{if(e)return"ENOENT"===e.code&&(e=new r.MissingPDFException('Missing PDF "'.concat(t,'".'))),this._storedError=e,void this._headersCapability.reject(e);this._contentLength=n.size,this._setReadableStream(o.createReadStream(t)),this._headersCapability.resolve()}))}}class g extends d{constructor(e,t,n){super(e);let r=decodeURIComponent(this._url.path);c.test(this._url.href)&&(r=r.replace(/^\//,"")),this._setReadableStream(o.createReadStream(r,{start:t,end:n-1}))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException("Unexpected server response (".concat(e,') while retrieving PDF "').concat(t,'".'),e)},t.extractFilenameFromHeader=function(e){const t=e("Content-Disposition");if(t){let e=(0,i.getFilenameFromContentDispositionHeader)(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch(n){}if((0,o.isPdfFile)(e))return e}return null},t.validateRangeRequestCapabilities=function(e){let{getResponseHeader:t,isHttp:n,rangeChunkSize:r,disableRange:i}=e;const o={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(t("Content-Length"),10);return Number.isInteger(a)?(o.suggestedLength=a,a<=2*r||i||!n||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(o.allowRangeRequests=!0),o):o},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(1),i=n(34),o=n(8)},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){let t=!0,n=i("filename\\*","i").exec(e);if(n){n=n[1];let e=s(n);return e=unescape(e),e=l(e),e=c(e),a(e)}if(n=function(e){const t=[];let n;const r=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=r.exec(e));){let[,e,r,i]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[r,i]}const o=[];for(let i=0;i<t.length&&i in t;++i){let[e,n]=t[i];n=s(n),e&&(n=unescape(n),0===i&&(n=l(n))),o.push(n)}return o.join("")}(e),n)return a(c(n));if(n=i("filename","i").exec(e),n){n=n[1];let e=s(n);return e=c(e),a(e)}function i(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function o(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{const i=new TextDecoder(e,{fatal:!0}),o=(0,r.stringToBytes)(n);n=i.decode(o),t=!1}catch(i){}}return n}function a(e){return t&&/[\x80-\xff]/.test(e)&&(e=o("utf-8",e),t&&(e=o("iso-8859-1",e))),e}function s(e){if(e.startsWith('"')){const t=e.slice(1).split('\\"');for(let e=0;e<t.length;++e){const n=t[e].indexOf('"');-1!==n&&(t[e]=t[e].slice(0,n),t.length=e+1),t[e]=t[e].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function l(e){const t=e.indexOf("'");return-1===t?e:o(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function c(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return o(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(i){}return o(t,r)}))}return""};var r=n(1)},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r=n(1),i=n(33);class o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||Object.create(null),this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,t,n){const r={begin:e,end:t};for(const i in n)r[i]=n[i];return this.request(r)}requestFull(e){return this.request(e)}request(e){const t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const i in this.httpHeaders){const e=this.httpHeaders[i];"undefined"!==typeof e&&t.setRequestHeader(i,e)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){var n;const r=this.pendingRequests[e];r&&(null===(n=r.onProgress)||void 0===n||n.call(r,t))}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==i.readyState)return;if(!(e in this.pendingRequests))return;var o;if(delete this.pendingRequests[e],0===i.status&&this.isHttp)return void(null===(o=n.onError)||void 0===o||o.call(n,i.status));const a=i.status||200;var s;if((200!==a||206!==n.expectedStatus)&&a!==n.expectedStatus)return void(null===(s=n.onError)||void 0===s||s.call(n,i.status));const l=function(e){const t=e.response;return"string"!==typeof t?t:(0,r.stringToBytes)(t).buffer}(i);if(206===a){const e=i.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);n.onDone({begin:parseInt(t[1],10),chunk:l})}else if(l)n.onDone({begin:0,chunk:l});else{var c;null===(c=n.onError)||void 0===c||c.call(n,i.status)}}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}t.PDFNetworkStream=class{constructor(e){this._source=e,this._manager=new o(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new a(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new s(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null===(t=this._fullRequestReader)||void 0===t||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}};class a{constructor(e,t){this._manager=e;const n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._fullRequestId=e.requestFull(n),this._headersReceivedCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=e=>t.getResponseHeader(e),{allowRangeRequests:r,suggestedLength:o}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=(0,i.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var t;null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e);for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class s{constructor(e,t,n){this._manager=e;const r={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(t,n,r),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){var e;null===(e=this.onClosed)||void 0===e||e.call(this,this)}_onDone(e){const t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError=(0,i.createResponseStatusError)(e,this._url);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){var t;this.isStreamingSupported||null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r=n(1),i=n(33);function o(e,t,n){return{method:"GET",headers:e,signal:n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function a(e){const t=new Headers;for(const n in e){const r=e[n];"undefined"!==typeof r&&t.append(n,r)}return t}t.PDFFetchStream=class{constructor(e){this.source=e,this.isHttp=/^https?:/i.test(e.url),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new s(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new l(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}};class s{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;const t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._headers=a(this._stream.httpHeaders);const n=t.url;fetch(n,o(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,n);this._reader=e.body.getReader(),this._headersCapability.resolve();const t=t=>e.headers.get(t),{allowRangeRequests:o,suggestedLength:a}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=o,this._contentLength=a||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(t),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new r.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController.abort()}}class l{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,r.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(t,"-").concat(n-1));const l=s.url;fetch(l,o(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,l);this._readCapability.resolve(),this._reader=e.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__w_pdfjs_require__),n.exports}var __nested_webpack_exports__={};return(()=>{var e=__nested_webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(e,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return t.AnnotationEditorParamsType}}),Object.defineProperty(e,"AnnotationEditorType",{enumerable:!0,get:function(){return t.AnnotationEditorType}}),Object.defineProperty(e,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return o.AnnotationEditorUIManager}}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(e,"AnnotationMode",{enumerable:!0,get:function(){return t.AnnotationMode}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return t.CMapCompressionType}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return s.GlobalWorkerOptions}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return t.InvalidPDFException}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return n.LoopbackPort}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return t.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return t.OPS}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return n.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return r.PDFDateString}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return n.PDFWorker}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return t.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return t.PermissionFlag}}),Object.defineProperty(e,"PixelsPerInch",{enumerable:!0,get:function(){return r.PixelsPerInch}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return r.RenderingCancelledException}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return u.SVGGraphics}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return t.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return t.UnexpectedResponseException}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return t.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return t.VerbosityLevel}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return d.XfaLayer}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return n.build}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return t.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return t.createValidAbsoluteUrl}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return n.getDocument}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return r.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return r.getPdfFilenameFromUrl}}),Object.defineProperty(e,"getXfaPageViewport",{enumerable:!0,get:function(){return r.getXfaPageViewport}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return r.isPdfFile}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return c.renderTextLayer}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return t.shadow}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return n.version}});var t=__w_pdfjs_require__(1),n=__w_pdfjs_require__(4),r=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),o=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),s=__w_pdfjs_require__(15),l=__w_pdfjs_require__(3),c=__w_pdfjs_require__(30),u=__w_pdfjs_require__(31),d=__w_pdfjs_require__(29);if(l.isNodeJS){const{PDFNodeStream:e}=__w_pdfjs_require__(32);(0,n.setPDFNetworkStreamFactory)((t=>new e(t)))}else{const{PDFNetworkStream:e}=__w_pdfjs_require__(35),{PDFFetchStream:t}=__w_pdfjs_require__(36);(0,n.setPDFNetworkStreamFactory)((n=>(0,r.isValidFetchUrl)(n.url)?new t(n):new e(n)))}})(),__nested_webpack_exports__})(),module.exports=factory()},73384:(e,t,n)=>{"use strict";var r=n(89711);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5982:(e,t,n)=>{e.exports=n(73384)()},89711:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6342:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(a,"$2")})))}function d(e){return e.match(n)||[""]}function h(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function p(e){return!h(e)&&(function(e){return e.match(i)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,i=t.length,o=e;r<i-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;o=o[t[r++]]}o[t[r]]=n}))},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,(function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(h(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,i,o,a,s=e.length;for(i=0;i<s;i++)(r=e[i])&&(p(r)&&(r='"'+r+'"'),o=!(a=h(r))&&/^\d+$/.test(r),t.call(n,r,a,o,i,e))}(Array.isArray(e)?e:d(e),t,n)}}},79529:(e,t,n)=>{"use strict";const r=n(86110),i=n(99332),o=n(1822),a=n(31945),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function h(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=h(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"===typeof n&&n.includes(e.arrayFormatSeparator),o="string"===typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!==typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const i of Object.keys(r)){const e=r[i];if("object"===typeof e&&null!==e)for(const n of Object.keys(e))e[n]=f(e[n],t);else r[i]=f(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>{return t.skipNull&&(null===(r=e[n])||void 0===r)||t.skipEmptyString&&""===e[n];var r},r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const a of Object.keys(e))n(a)||(i[a]=e[a]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=h(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l="?".concat(l));let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#".concat(n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier)),"".concat(r).concat(l).concat(u)},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},79527:e=>{"use strict";function t(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}e.exports=function(e,n,r){var i=r&&r.stringify||t;if("object"===typeof e&&null!==e){var o=n.length+1;if(1===o)return e;var a=new Array(o);a[0]=i(e);for(var s=1;s<o;s++)a[s]=i(n[s]);return a.join(" ")}if("string"!==typeof e)return e;var l=n.length;if(0===l)return e;for(var c="",u=0,d=-1,h=e&&e.length||0,p=0;p<h;){if(37===e.charCodeAt(p)&&p+1<h){switch(d=d>-1?d:0,e.charCodeAt(p+1)){case 100:case 102:if(u>=l)break;if(null==n[u])break;d<p&&(c+=e.slice(d,p)),c+=Number(n[u]),d=p+2,p++;break;case 105:if(u>=l)break;if(null==n[u])break;d<p&&(c+=e.slice(d,p)),c+=Math.floor(Number(n[u])),d=p+2,p++;break;case 79:case 111:case 106:if(u>=l)break;if(void 0===n[u])break;d<p&&(c+=e.slice(d,p));var f=typeof n[u];if("string"===f){c+="'"+n[u]+"'",d=p+2,p++;break}if("function"===f){c+=n[u].name||"<anonymous>",d=p+2,p++;break}c+=i(n[u]),d=p+2,p++;break;case 115:if(u>=l)break;d<p&&(c+=e.slice(d,p)),c+=String(n[u]),d=p+2,p++;break;case 37:d<p&&(c+=e.slice(d,p)),c+="%",d=p+2,p++,u--}++u}++p}if(-1===d)return e;d<h&&(c+=e.slice(d));return c}},11226:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(5019)),l=a(n(42318)),c=function(e){function t(){var t=e.apply(this,o([],i(arguments),!1))||this;return t.tickAnimation=function(){t.confetti(t.decorateOptions({startVelocity:30,spread:360,ticks:60,zIndex:0,particleCount:150,origin:{x:(0,l.default)(.1,.3),y:Math.random()-.2}})),t.confetti(t.decorateOptions({startVelocity:30,spread:360,ticks:60,zIndex:0,particleCount:150,origin:{x:(0,l.default)(.7,.9),y:Math.random()-.2}}))},t}return r(t,e),t}(s.default);t.default=c},5019:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){var t=e.confetti,n=e.decorateOptions,r=this;this.interval=null,this.shoot=function(){return r.tickAnimation()},this.run=function(e){var t=e.speed,n=e.delay,i=void 0===n?0:n,o=e.duration;r.interval||setTimeout((function(){r.shoot(),r.interval=setInterval(r.shoot,1e3/Math.min(t,1e3)),o&&setTimeout(r.pause,o)}),i)},this.pause=function(){clearInterval(r.interval),r.interval=null},this.stop=function(){r.pause(),r.confetti.reset()},this.confetti=t,this.decorateOptions=n};t.default=n},42318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.random()*(t-e)+e}},79221:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n(61462)),c=s(n(71549)),u={resize:!0,useWorker:!1},d={position:"fixed",pointerEvents:"none",width:"100%",height:"100%",top:0,left:0};function h(e,t){return e||t?e:d}t.default=function(e){var t=e.style,n=e.className,i=e.width,o=e.height,a=e.globalOptions,s=e.onInit,d=(0,l.useRef)(null),p=(0,l.useRef)(null);return(0,l.useEffect)((function(){if(d.current)return p.current=c.default.create(d.current,r(r({},u),a)),null===s||void 0===s||s({confetti:p.current}),function(){var e;null===(e=p.current)||void 0===e||e.reset()}}),[]),l.default.createElement("canvas",{ref:d,style:h(t,n),className:n,width:i,height:o})}},52027:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(61462)),a=i(n(28374)),s=i(n(11226));t.default=function(e){return o.default.createElement(a.default,r({Conductor:s.default},e))}},28374:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},l=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=a(n(61462)),d=c(n(79221)),h=function(e){return e};t.default=function(e){var t=e.decorateOptions,n=void 0===t?h:t,i=e.Conductor,o=e.autorun,a=e.onInit,c=s(e,["decorateOptions","Conductor","autorun","onInit"]),p=l((0,u.useState)(),2),f=p[0],m=p[1],g=(0,u.useCallback)((function(e){var t=e.confetti;m((function(){return t}))}),[]);return(0,u.useEffect)((function(){if(f){var e=new i({confetti:f,decorateOptions:n});return o&&e.run(o),null===a||void 0===a||a({confetti:f,conductor:e}),e.stop}}),[f]),u.default.createElement(d.default,r({onInit:g},c))}},77364:function(e,t,n){!function(e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B,U,V,H,z,Z,W,q,G,Y,K,Q,X,J,$,ee,te,ne,re,ie,oe,ae,se,le,ce,ue){"use strict";function de(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var he=de(n),pe=de(r),fe=de(ue),me=function(e,t){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},me(e,t)};function ge(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ve=function(){return ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ve.apply(this,arguments)};function Ce(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var ye,be=function(e){var t=e.showTimeSelectOnly,n=void 0!==t&&t,r=e.showTime,i=void 0!==r&&r,o=e.className,a=e.children,s=n?"Choose Time":"Choose Date".concat(i?" and Time":"");return he.default.createElement("div",{className:o,role:"dialog","aria-label":s,"aria-modal":"true"},a)};function we(){return"undefined"!=typeof window?window:globalThis}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(ye||(ye={}));var xe=12,Ae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Ee(e){if(null==e)return new Date;var t="string"==typeof e?Z.parseISO(e):le.toDate(e);return _e(t)?t:new Date}function _e(e,t){return B.isValid(e)&&!F.isBefore(e,null!=t?t:new Date("1/1/1800"))}function Te(e,t,n){if("en"===n)return b.format(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?ze(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&He()&&ze(He())&&(r=ze(He())),b.format(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Se(e,t){var n=t.dateFormat,r=t.locale,i=Array.isArray(n)&&n.length>0?n[0]:n;return e&&Te(e,i,r)||""}function ke(e,t){var n=t.hour,r=void 0===n?0:n,i=t.minute,o=void 0===i?0:i,a=t.second,s=void 0===a?0:a;return q.setHours(G.setMinutes(Q.setSeconds(e,s),o),r)}function Pe(e){return J.startOfDay(e)}function De(e,t,n){var r=ze(t||He());return te.startOfWeek(e,{locale:r,weekStartsOn:n})}function Ne(e){return $.startOfMonth(e)}function Fe(e){return ne.startOfYear(e)}function Ie(e){return ee.startOfQuarter(e)}function Re(){return J.startOfDay(Ee())}function Me(e){return g.endOfDay(e)}function Oe(e,t){return e&&t?L.isSameYear(e,t):!e&&!t}function je(e,t){return e&&t?O.isSameMonth(e,t):!e&&!t}function Le(e,t){return e&&t?j.isSameQuarter(e,t):!e&&!t}function Be(e,t){return e&&t?M.isSameDay(e,t):!e&&!t}function Ue(e,t){return e&&t?R.isEqual(e,t):!e&&!t}function Ve(e,t,n){var r,i=J.startOfDay(t),o=g.endOfDay(n);try{r=U.isWithinInterval(e,{start:i,end:o})}catch(e){r=!1}return r}function He(){return we().__localeId__}function ze(e){if("string"==typeof e){var t=we();return t.__localeData__?t.__localeData__[e]:void 0}return e}function Ze(e,t){return Te(Y.setMonth(Ee(),e),"LLLL",t)}function We(e,t){return Te(Y.setMonth(Ee(),e),"LLL",t)}function qe(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return tt(e,{minDate:r,maxDate:i})||o&&o.some((function(t){var n;return t instanceof Date?Be(e,t):Be(e,null!==(n=t.date)&&void 0!==n?n:new Date)}))||a&&a.some((function(t){var n=t.start,r=t.end;return U.isWithinInterval(e,{start:n,end:r})}))||s&&!s.some((function(t){return Be(e,t)}))||l&&!l.some((function(t){var n=t.start,r=t.end;return U.isWithinInterval(e,{start:n,end:r})}))||c&&!c(Ee(e))||!1}function Ge(e,t){var n=void 0===t?{}:t,r=n.excludeDates,i=n.excludeDateIntervals;return i&&i.length>0?i.some((function(t){var n=t.start,r=t.end;return U.isWithinInterval(e,{start:n,end:r})})):r&&r.some((function(t){var n;return t instanceof Date?Be(e,t):Be(e,null!==(n=t.date)&&void 0!==n?n:new Date)}))||!1}function Ye(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return tt(e,{minDate:r?$.startOfMonth(r):void 0,maxDate:i?v.endOfMonth(i):void 0})||(null==o?void 0:o.some((function(t){return je(e,t instanceof Date?t:t.date)})))||a&&!a.some((function(t){return je(e,t)}))||s&&!s(Ee(e))||!1}function Ke(e,t,n,r){var i=D.getYear(e),o=T.getMonth(e),a=D.getYear(t),s=T.getMonth(t),l=D.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function Qe(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates;return tt(e,{minDate:r,maxDate:i})||o&&o.some((function(t){return je(t instanceof Date?t:t.date,e)}))||a&&!a.some((function(t){return je(t,e)}))||!1}function Xe(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return tt(e,{minDate:r,maxDate:i})||(null==o?void 0:o.some((function(t){return Le(e,t instanceof Date?t:t.date)})))||a&&!a.some((function(t){return Le(e,t)}))||s&&!s(Ee(e))||!1}function Je(e,t,n){if(!t||!n)return!1;if(!B.isValid(t)||!B.isValid(n))return!1;var r=D.getYear(t),i=D.getYear(n);return r<=e&&i>=e}function $e(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate,l=new Date(e,0,1);return tt(l,{minDate:r?ne.startOfYear(r):void 0,maxDate:i?y.endOfYear(i):void 0})||(null==o?void 0:o.some((function(e){return Oe(l,e instanceof Date?e:e.date)})))||a&&!a.some((function(e){return Oe(l,e)}))||s&&!s(Ee(l))||!1}function et(e,t,n,r){var i=D.getYear(e),o=S.getQuarter(e),a=D.getYear(t),s=S.getQuarter(t),l=D.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function tt(e,t){var n,r=void 0===t?{}:t,i=r.minDate,o=r.maxDate;return null!==(n=i&&h.differenceInCalendarDays(e,i)<0||o&&h.differenceInCalendarDays(e,o)>0)&&void 0!==n&&n}function nt(e,t){return t.some((function(t){return A.getHours(t)===A.getHours(e)&&_.getMinutes(t)===_.getMinutes(e)&&k.getSeconds(t)===k.getSeconds(e)}))}function rt(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,i=n.includeTimes,o=n.filterTime;return r&&nt(e,r)||i&&!nt(e,i)||o&&!o(e)||!1}function it(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i=Ee();i=q.setHours(i,A.getHours(e)),i=G.setMinutes(i,_.getMinutes(e)),i=Q.setSeconds(i,k.getSeconds(e));var o=Ee();o=q.setHours(o,A.getHours(n)),o=G.setMinutes(o,_.getMinutes(n)),o=Q.setSeconds(o,k.getSeconds(n));var a,s=Ee();s=q.setHours(s,A.getHours(r)),s=G.setMinutes(s,_.getMinutes(r)),s=Q.setSeconds(s,k.getSeconds(r));try{a=!U.isWithinInterval(i,{start:o,end:s})}catch(e){a=!1}return a}function ot(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=ie.subMonths(e,1);return r&&p.differenceInCalendarMonths(r,o)>0||i&&i.every((function(e){return p.differenceInCalendarMonths(e,o)>0}))||!1}function at(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=s.addMonths(e,1);return r&&p.differenceInCalendarMonths(o,r)>0||i&&i.every((function(e){return p.differenceInCalendarMonths(o,e)>0}))||!1}function st(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=se.subYears(e,1);return r&&m.differenceInCalendarYears(r,o)>0||i&&i.every((function(e){return m.differenceInCalendarYears(e,o)>0}))||!1}function lt(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=d.addYears(e,1);return r&&m.differenceInCalendarYears(o,r)>0||i&&i.every((function(e){return m.differenceInCalendarYears(o,e)>0}))||!1}function ct(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return h.differenceInCalendarDays(e,t)>=0}));return H.min(r)}return n?H.min(n):t}function ut(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return h.differenceInCalendarDays(e,t)<=0}));return V.max(r)}return n?V.max(n):t}function dt(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r=new Map,i=0,o=e.length;i<o;i++){var a=e[i];if(I.isDate(a)){var s=Te(a,"MM.dd.yyyy");(h=r.get(s)||[]).includes(t)||(h.push(t),r.set(s,h))}else if("object"==typeof a){var l=null!==(n=Object.keys(a)[0])&&void 0!==n?n:"",c=a[l];if("string"==typeof l&&Array.isArray(c))for(var u=0,d=c.length;u<d;u++){var h,p=c[u];p&&(s=Te(p,"MM.dd.yyyy"),(h=r.get(s)||[]).includes(l)||(h.push(l),r.set(s,h)))}}}return r}function ht(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach((function(e){var r=e.date,i=e.holidayName;if(I.isDate(r)){var o=Te(r,"MM.dd.yyyy"),a=n.get(o)||{className:"",holidayNames:[]};if(!("className"in a)||a.className!==t||(s=a.holidayNames,l=[i],s.length!==l.length||!s.every((function(e,t){return e===l[t]})))){var s,l;a.className=t;var c=a.holidayNames;a.holidayNames=c?Ce(Ce([],c,!0),[i],!1):[i],n.set(o,a)}}})),n}function pt(e,t,n,r,i){for(var s=i.length,l=[],u=0;u<s;u++){var d=e,h=i[u];h&&(d=o.addHours(d,A.getHours(h)),d=a.addMinutes(d,_.getMinutes(h)),d=c.addSeconds(d,k.getSeconds(h)));var p=a.addMinutes(e,(n+1)*r);N.isAfter(d,t)&&F.isBefore(d,p)&&null!=h&&l.push(h)}return l}function ft(e){return e<10?"0".concat(e):"".concat(e)}function mt(e,t){void 0===t&&(t=xe);var n=Math.ceil(D.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function gt(e){var t=e.getSeconds(),n=e.getMilliseconds();return le.toDate(e.getTime()-1e3*t-n)}function vt(e){if(!I.isDate(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function Ct(e,t){if(!I.isDate(e)||!I.isDate(t))throw new Error("Invalid date received");var n=vt(e),r=vt(t);return F.isBefore(n,r)}function yt(e){return e.key===ye.Space}var bt,wt=function(e){function t(t){var r=e.call(this,t)||this;return r.onTimeChange=function(e){var t,n;r.setState({time:e});var i=r.props.date,o=i instanceof Date&&!isNaN(+i)?i:new Date;if(null==e?void 0:e.includes(":")){var a=e.split(":"),s=a[0],l=a[1];o.setHours(Number(s)),o.setMinutes(Number(l))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,o)},r.renderTimeInput=function(){var e=r.state.time,t=r.props,i=t.date,o=t.timeString,a=t.customTimeInput;return a?n.cloneElement(a,{date:i,value:e,onChange:r.onTimeChange}):he.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})},r.state={time:r.props.timeString},r}return ge(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return he.default.createElement("div",{className:"react-datepicker__input-time-container"},he.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),he.default.createElement("div",{className:"react-datepicker-time__input-container"},he.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(n.Component),xt=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.dayEl=n.createRef(),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleOnKeyDown=function(e){var t,n;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),null===(n=(t=r.props).handleOnKeyDown)||void 0===n||n.call(t,e)},r.isSameDay=function(e){return Be(r.props.day,e)},r.isKeyboardSelected=function(){var e;if(r.props.disabledKeyboardNavigation)return!1;var t=r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected),n=r.props.preSelection&&r.isDisabled(r.props.preSelection);return!t&&r.isSameDayOrWeek(r.props.preSelection)&&!n},r.isDisabled=function(e){return void 0===e&&(e=r.props.day),qe(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(){return Ge(r.props.day,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.isStartOfWeek=function(){return Be(r.props.day,De(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameWeek=function(e){return r.props.showWeekPicker&&Be(e,De(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameDayOrWeek=function(e){return r.isSameDay(e)||r.isSameWeek(e)},r.getHighLightedClass=function(){var e=r.props,t=e.day,n=e.highlightDates;if(!n)return!1;var i=Te(t,"MM.dd.yyyy");return n.get(i)},r.getHolidaysClass=function(){var e,t=r.props,n=t.day,i=t.holidays;if(!i)return[void 0];var o=Te(n,"MM.dd.yyyy");return i.has(o)?[null===(e=i.get(o))||void 0===e?void 0:e.className]:[void 0]},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Ve(t,n,i)},r.isInSelectingRange=function(){var e,t=r.props,n=t.day,i=t.selectsStart,o=t.selectsEnd,a=t.selectsRange,s=t.selectsDisabledDaysInRange,l=t.startDate,c=t.endDate,u=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return!(!(i||o||a)||!u||!s&&r.isDisabled())&&(i&&c&&(F.isBefore(u,c)||Ue(u,c))?Ve(n,u,c):(o&&l&&(N.isAfter(u,l)||Ue(u,l))||!(!a||!l||c||!N.isAfter(u,l)&&!Ue(u,l)))&&Ve(n,l,u))},r.isSelectingRangeStart=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,i=t.startDate,o=t.selectsStart,a=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return Be(n,o?a:i)},r.isSelectingRangeEnd=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,i=t.endDate,o=t.selectsEnd,a=t.selectsRange,s=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return Be(n,o||a?s:i)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Be(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Be(i,t)},r.isWeekend=function(){var e=x.getDay(r.props.day);return 0===e||6===e},r.isAfterMonth=function(){return void 0!==r.props.month&&(r.props.month+1)%12===T.getMonth(r.props.day)},r.isBeforeMonth=function(){return void 0!==r.props.month&&(T.getMonth(r.props.day)+1)%12===r.props.month},r.isCurrentDay=function(){return r.isSameDay(Ee())},r.isSelected=function(){var e;return r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected)},r.getClassNames=function(e){var n,i=r.props.dayClassName?r.props.dayClassName(e):void 0;return t.clsx("react-datepicker__day",i,"react-datepicker__day--"+Te(r.props.day,"ddd",n),{"react-datepicker__day--disabled":r.isDisabled(),"react-datepicker__day--excluded":r.isExcluded(),"react-datepicker__day--selected":r.isSelected(),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isCurrentDay(),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isAfterMonth()||r.isBeforeMonth()},r.getHighLightedClass(),r.getHolidaysClass())},r.getAriaLabel=function(){var e=r.props,t=e.day,n=e.ariaLabelPrefixWhenEnabled,i=void 0===n?"Choose":n,o=e.ariaLabelPrefixWhenDisabled,a=void 0===o?"Not available":o,s=r.isDisabled()||r.isExcluded()?a:i;return"".concat(s," ").concat(Te(t,"PPPP",r.props.locale))},r.getTitle=function(){var e=r.props,t=e.day,n=e.holidays,i=void 0===n?new Map:n,o=e.excludeDates,a=Te(t,"MM.dd.yyyy"),s=[];return i.has(a)&&s.push.apply(s,i.get(a).holidayNames),r.isExcluded()&&s.push(null==o?void 0:o.filter((function(e){return e instanceof Date?Be(e,t):Be(null==e?void 0:e.date,t)})).map((function(e){if(!(e instanceof Date))return null==e?void 0:e.message}))),s.join(", ")},r.getTabIndex=function(){var e=r.props.selected,t=r.props.preSelection;return(!r.props.showWeekPicker||!r.props.showWeekNumber&&r.isStartOfWeek())&&(r.isKeyboardSelected()||r.isSameDay(e)&&Be(t,e))?0:-1},r.handleFocusDay=function(){var e;r.shouldFocusDay()&&(null===(e=r.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},r.renderDayContents=function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(w.getDate(r.props.day),r.props.day):w.getDate(r.props.day)},r.render=function(){return he.default.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.props.usePointerEvent?void 0:r.handleMouseEnter,onPointerEnter:r.props.usePointerEvent?r.handleMouseEnter:void 0,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option",title:r.getTitle(),"aria-disabled":r.isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()||r.isInRange()},r.renderDayContents(),""!==r.getTitle()&&he.default.createElement("span",{className:"overlay"},r.getTitle()))},r}return ge(r,e),r.prototype.componentDidMount=function(){this.handleFocusDay()},r.prototype.componentDidUpdate=function(){this.handleFocusDay()},r.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},r.prototype.isDayActiveElement=function(){var e,t,n;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(n=document.activeElement)||void 0===n?void 0:n.classList.contains("react-datepicker__day"))},r.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},r}(n.Component),At=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=n.createRef(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!Be(t.props.date,t.props.selected)&&Be(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||Be(t.props.date,t.props.selected)&&Be(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;0===t.getTabIndex()&&!(null==e?void 0:e.isInputFocused)&&Be(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return ge(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},r.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},r.prototype.render=function(){var e=this.props,n=e.weekNumber,i=e.ariaLabelPrefix,o=void 0===i?r.defaultProps.ariaLabelPrefix:i,a=e.onClick,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!a,"react-datepicker__week-number--selected":!!a&&Be(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return he.default.createElement("div",{ref:this.weekNumberEl,className:t.clsx(s),"aria-label":"".concat(o," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},n)},r}(n.Component),Et=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDisabled=function(e){return qe(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.handleDayClick=function(e,n){t.props.onDayClick&&t.props.onDayClick(e,n)},t.handleDayMouseEnter=function(e){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(e)},t.handleWeekClick=function(e,r,i){for(var o,a,s,l=new Date(e),c=0;c<7;c++){var u=new Date(e);if(u.setDate(u.getDate()+c),!t.isDisabled(u)){l=u;break}}"function"==typeof t.props.onWeekSelect&&t.props.onWeekSelect(l,r,i),t.props.showWeekPicker&&t.handleDayClick(l,i),(null!==(o=t.props.shouldCloseOnSelect)&&void 0!==o?o:n.defaultProps.shouldCloseOnSelect)&&(null===(s=(a=t.props).setOpen)||void 0===s||s.call(a,!1))},t.formatWeekNumber=function(e){return t.props.formatWeekNumber?t.props.formatWeekNumber(e):function(e){return E.getISOWeek(e)}(e)},t.renderDays=function(){var e=t.startOfWeek(),r=[],o=t.formatWeekNumber(e);if(t.props.showWeekNumber){var a=t.props.onWeekSelect||t.props.showWeekPicker?t.handleWeekClick.bind(t,e,o):void 0;r.push(he.default.createElement(At,ve({key:"W"},n.defaultProps,t.props,{weekNumber:o,date:e,onClick:a})))}return r.concat([0,1,2,3,4,5,6].map((function(r){var o=i.addDays(e,r);return he.default.createElement(xt,ve({},n.defaultProps,t.props,{ariaLabelPrefixWhenEnabled:t.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:t.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,onClick:t.handleDayClick.bind(t,o),onMouseEnter:t.handleDayMouseEnter.bind(t,o)}))})))},t.startOfWeek=function(){return De(t.props.day,t.props.locale,t.props.calendarStartDay)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!Be(t.startOfWeek(),t.props.selected)&&Be(t.startOfWeek(),t.props.preSelection)},t}return ge(n,e),Object.defineProperty(n,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),n.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":Be(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return he.default.createElement("div",{className:t.clsx(e)},this.renderDays())},n}(n.Component),_t="two_columns",Tt="three_columns",St="four_columns",kt=((bt={})[_t]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},bt[Tt]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},bt[St]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},bt);function Pt(e,t){return e?St:t?_t:Tt}var Dt=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.MONTH_REFS=Ce([],Array(12),!0).map((function(){return n.createRef()})),r.QUARTER_REFS=Ce([],Array(4),!0).map((function(){return n.createRef()})),r.isDisabled=function(e){return qe(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return Ge(e,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.handleDayClick=function(e,t){var n,i;null===(i=(n=r.props).onDayClick)||void 0===i||i.call(n,e,t,r.props.orderInDisplay)},r.handleDayMouseEnter=function(e){var t,n;null===(n=(t=r.props).onDayMouseEnter)||void 0===n||n.call(t,e)},r.handleMouseLeave=function(){var e,t;null===(t=(e=r.props).onMouseLeave)||void 0===t||t.call(e)},r.isRangeStartMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&je(Y.setMonth(n,e),i)},r.isRangeStartQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&Le(K.setQuarter(n,e),i)},r.isRangeEndMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&je(Y.setMonth(n,e),o)},r.isRangeEndQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&Le(K.setQuarter(n,e),o)},r.isInSelectingRangeMonth=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?Ke(u,c,e,i):(a&&l||!(!s||!l||c))&&Ke(l,u,e,i))},r.isSelectingMonthRangeStart=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,i=n.day,o=n.startDate,a=n.selectsStart,s=Y.setMonth(i,e),l=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return je(s,a?l:o)},r.isSelectingMonthRangeEnd=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,i=n.day,o=n.endDate,a=n.selectsEnd,s=n.selectsRange,l=Y.setMonth(i,e),c=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return je(l,a||s?c:o)},r.isInSelectingRangeQuarter=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?et(u,c,e,i):(a&&l||!(!s||!l||c))&&et(l,u,e,i))},r.isWeekInMonth=function(e){var t=r.props.day,n=i.addDays(e,6);return je(e,t)||je(n,t)},r.isCurrentMonth=function(e,t){return D.getYear(e)===D.getYear(Ee())&&t===T.getMonth(Ee())},r.isCurrentQuarter=function(e,t){return D.getYear(e)===D.getYear(Ee())&&t===S.getQuarter(Ee())},r.isSelectedMonth=function(e,t,n){return T.getMonth(n)===t&&D.getYear(e)===D.getYear(n)},r.isSelectMonthInList=function(e,t,n){return n.some((function(n){return r.isSelectedMonth(e,t,n)}))},r.isSelectedQuarter=function(e,t,n){return S.getQuarter(e)===t&&D.getYear(e)===D.getYear(n)},r.renderWeeks=function(){for(var e=[],t=r.props.fixedHeight,n=0,i=!1,o=De(Ne(r.props.day),r.props.locale,r.props.calendarStartDay),a=r.props.selected?function(e){return r.props.showWeekPicker?De(e,r.props.locale,r.props.calendarStartDay):r.props.selected}(r.props.selected):void 0,s=r.props.preSelection?function(e){return r.props.showWeekPicker?De(e,r.props.locale,r.props.calendarStartDay):r.props.preSelection}(r.props.preSelection):void 0;e.push(he.default.createElement(Et,ve({},r.props,{ariaLabelPrefix:r.props.weekAriaLabelPrefix,key:n,day:o,month:T.getMonth(r.props.day),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,selected:a,preSelection:s,showWeekNumber:r.props.showWeekNumbers}))),!i;){n++,o=u.addWeeks(o,1);var l=t&&n>=6,c=!t&&!r.isWeekInMonth(o);if(l||c){if(!r.props.peekNextMonth)break;i=!0}}return e},r.onMonthClick=function(e,t){var n=r.isMonthDisabledForLabelDate(t),i=n.isDisabled,o=n.labelDate;i||r.handleDayClick(Ne(o),e)},r.onMonthMouseEnter=function(e){var t=r.isMonthDisabledForLabelDate(e),n=t.isDisabled,i=t.labelDate;n||r.handleDayMouseEnter(Ne(i))},r.handleMonthNavigation=function(e,t){var n,i,o,a;null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.MONTH_REFS[e])||void 0===o?void 0:o.current)||void 0===a||a.focus()},r.handleKeyboardNavigation=function(e,t,n){var i,o=r.props,a=o.selected,l=o.preSelection,c=o.setPreSelection,u=o.minDate,d=o.maxDate,h=o.showFourColumnMonthYearPicker,p=o.showTwoColumnMonthYearPicker;if(l){var f=Pt(h,p),m=r.getVerticalOffset(f),g=null===(i=kt[f])||void 0===i?void 0:i.grid,v=function(e,t,n){var r,i,o=t,a=n;switch(e){case ye.ArrowRight:o=s.addMonths(t,1),a=11===n?0:n+1;break;case ye.ArrowLeft:o=ie.subMonths(t,1),a=0===n?11:n-1;break;case ye.ArrowUp:o=ie.subMonths(t,m),a=(null===(r=null==g?void 0:g[0])||void 0===r?void 0:r.includes(n))?n+12-m:n-m;break;case ye.ArrowDown:o=s.addMonths(t,m),a=(null===(i=null==g?void 0:g[g.length-1])||void 0===i?void 0:i.includes(n))?n-12+m:n+m}return{newCalculatedDate:o,newCalculatedMonth:a}};if(t!==ye.Enter){var C=function(e,t,n){for(var i=e,o=!1,a=0,s=v(i,t,n),l=s.newCalculatedDate,c=s.newCalculatedMonth;!o;){if(a>=40){l=t,c=n;break}var h;u&&l<u&&(i=ye.ArrowRight,l=(h=v(i,l,c)).newCalculatedDate,c=h.newCalculatedMonth),d&&l>d&&(i=ye.ArrowLeft,l=(h=v(i,l,c)).newCalculatedDate,c=h.newCalculatedMonth),Qe(l,r.props)?(l=(h=v(i,l,c)).newCalculatedDate,c=h.newCalculatedMonth):o=!0,a++}return{newCalculatedDate:l,newCalculatedMonth:c}}(t,l,n),y=C.newCalculatedDate,b=C.newCalculatedMonth;switch(t){case ye.ArrowRight:case ye.ArrowLeft:case ye.ArrowUp:case ye.ArrowDown:r.handleMonthNavigation(b,y)}}else r.isMonthDisabled(n)||(r.onMonthClick(e,n),null==c||c(a))}},r.getVerticalOffset=function(e){var t,n;return null!==(n=null===(t=kt[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==n?n:0},r.onMonthKeyDown=function(e,t){var n=r.props,i=n.disabledKeyboardNavigation,o=n.handleOnMonthKeyDown,a=e.key;a!==ye.Tab&&e.preventDefault(),i||r.handleKeyboardNavigation(e,a,t),o&&o(e)},r.onQuarterClick=function(e,t){var n=K.setQuarter(r.props.day,t);Xe(n,r.props)||r.handleDayClick(Ie(n),e)},r.onQuarterMouseEnter=function(e){var t=K.setQuarter(r.props.day,e);Xe(t,r.props)||r.handleDayMouseEnter(Ie(t))},r.handleQuarterNavigation=function(e,t){var n,i,o,a;r.isDisabled(t)||r.isExcluded(t)||(null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.QUARTER_REFS[e-1])||void 0===o?void 0:o.current)||void 0===a||a.focus())},r.onQuarterKeyDown=function(e,t){var n,i,o=e.key;if(!r.props.disabledKeyboardNavigation)switch(o){case ye.Enter:r.onQuarterClick(e,t),null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,r.props.selected);break;case ye.ArrowRight:if(!r.props.preSelection)break;r.handleQuarterNavigation(4===t?1:t+1,l.addQuarters(r.props.preSelection,1));break;case ye.ArrowLeft:if(!r.props.preSelection)break;r.handleQuarterNavigation(1===t?4:t-1,oe.subQuarters(r.props.preSelection,1))}},r.isMonthDisabledForLabelDate=function(e){var t,n=r.props,i=n.day,o=n.minDate,a=n.maxDate,s=n.excludeDates,l=n.includeDates,c=Y.setMonth(i,e);return{isDisabled:null!==(t=(o||a||s||l)&&Ye(c,r.props))&&void 0!==t&&t,labelDate:c}},r.isMonthDisabled=function(e){return r.isMonthDisabledForLabelDate(e).isDisabled},r.getMonthClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.preSelection,l=n.monthClassName,c=l?l(Y.setMonth(i,e)):void 0,u=r.getSelection();return t.clsx("react-datepicker__month-text","react-datepicker__month-".concat(e),c,{"react-datepicker__month-text--disabled":r.isMonthDisabled(e),"react-datepicker__month-text--selected":u?r.isSelectMonthInList(i,e,u):void 0,"react-datepicker__month-text--keyboard-selected":!r.props.disabledKeyboardNavigation&&s&&r.isSelectedMonth(i,e,s)&&!r.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":r.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":o&&a?Ke(o,a,e,i):void 0,"react-datepicker__month-text--range-start":r.isRangeStartMonth(e),"react-datepicker__month-text--range-end":r.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":r.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":r.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":r.isCurrentMonth(i,e)})},r.getTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=T.getMonth(r.props.preSelection);return r.props.disabledKeyboardNavigation||e!==t?"-1":"0"},r.getQuarterTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=S.getQuarter(r.props.preSelection);return r.props.disabledKeyboardNavigation||e!==t?"-1":"0"},r.getAriaLabel=function(e){var t=r.props,n=t.chooseDayAriaLabelPrefix,i=void 0===n?"Choose":n,o=t.disabledDayAriaLabelPrefix,a=void 0===o?"Not available":o,s=t.day,l=t.locale,c=Y.setMonth(s,e),u=r.isDisabled(c)||r.isExcluded(c)?a:i;return"".concat(u," ").concat(Te(c,"MMMM yyyy",l))},r.getQuarterClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate,u=n.excludeDates,d=n.includeDates,h=n.filterDate,p=n.preSelection,f=n.disabledKeyboardNavigation,m=(l||c||u||d||h)&&Xe(K.setQuarter(i,e),r.props);return t.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":s?r.isSelectedQuarter(i,e,s):void 0,"react-datepicker__quarter-text--keyboard-selected":!f&&p&&r.isSelectedQuarter(i,e,p)&&!m,"react-datepicker__quarter-text--in-selecting-range":r.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":o&&a?et(o,a,e,i):void 0,"react-datepicker__quarter-text--range-start":r.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":r.isRangeEndQuarter(e)})},r.getMonthContent=function(e){var t=r.props,n=t.showFullMonthYearPicker,i=t.renderMonthContent,o=t.locale,a=t.day,s=We(e,o),l=Ze(e,o);return i?i(e,s,l,a):n?l:s},r.getQuarterContent=function(e){var t,n=r.props,i=n.renderQuarterContent,o=function(e,t){return Te(K.setQuarter(Ee(),e),"QQQ",t)}(e,n.locale);return null!==(t=null==i?void 0:i(e,o))&&void 0!==t?t:o},r.renderMonths=function(){var e,t=r.props,n=t.showTwoColumnMonthYearPicker,i=t.showFourColumnMonthYearPicker,o=t.day,a=t.selected,s=null===(e=kt[Pt(i,n)])||void 0===e?void 0:e.grid;return null==s?void 0:s.map((function(e,t){return he.default.createElement("div",{className:"react-datepicker__month-wrapper",key:t},e.map((function(e,t){return he.default.createElement("div",{ref:r.MONTH_REFS[e],key:t,onClick:function(t){r.onMonthClick(t,e)},onKeyDown:function(t){yt(t)&&(t.preventDefault(),t.key=ye.Enter),r.onMonthKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onMonthMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onMonthMouseEnter(e)}:void 0,tabIndex:Number(r.getTabIndex(e)),className:r.getMonthClassNames(e),"aria-disabled":r.isMonthDisabled(e),role:"option","aria-label":r.getAriaLabel(e),"aria-current":r.isCurrentMonth(o,e)?"date":void 0,"aria-selected":a?r.isSelectedMonth(o,e,a):void 0},r.getMonthContent(e))})))}))},r.renderQuarters=function(){var e=r.props,t=e.day,n=e.selected;return he.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(e,i){return he.default.createElement("div",{key:i,ref:r.QUARTER_REFS[i],role:"option",onClick:function(t){r.onQuarterClick(t,e)},onKeyDown:function(t){r.onQuarterKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onQuarterMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onQuarterMouseEnter(e)}:void 0,className:r.getQuarterClassNames(e),"aria-selected":n?r.isSelectedQuarter(t,e,n):void 0,tabIndex:Number(r.getQuarterTabIndex(e)),"aria-current":r.isCurrentQuarter(t,e)?"date":void 0},r.getQuarterContent(e))})))},r.getClassNames=function(){var e=r.props,n=e.selectingDate,i=e.selectsStart,o=e.selectsEnd,a=e.showMonthYearPicker,s=e.showQuarterYearPicker,l=e.showWeekPicker;return t.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(i||o)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":l})},r}return ge(r,e),r.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},r.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,o=void 0===i?"Month ":i,a=o?o.trim()+" ":"";return he.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(a).concat(Te(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())},r}(n.Component),Nt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map((function(e,n){return he.default.createElement("div",{className:t.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,n),"aria-selected":t.isSelectedMonth(n)?"true":void 0},t.isSelectedMonth(n)?he.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",e)}))},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return ge(t,e),t.prototype.render=function(){return he.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())},t}(n.Component),Ft=pe.default(Nt),It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map((function(e,t){return he.default.createElement("option",{key:e,value:t},e)}))},t.renderSelectMode=function(e){return he.default.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return he.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},he.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[t.props.month]))},t.renderDropdown=function(e){return he.default.createElement(Ft,ve({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return ge(t,e),t.prototype.render=function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return We(e,t.props.locale)}:function(e){return Ze(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return he.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component);function Rt(e,t){for(var n=[],r=Ne(e),i=Ne(t);!N.isAfter(r,i);)n.push(Ee(r)),r=s.addMonths(r,1);return n}var Mt=function(e){function n(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map((function(e){var t=P.getTime(e),r=Oe(n.props.date,e)&&je(n.props.date,e);return he.default.createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?"true":void 0},r?he.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",Te(e,n.props.dateFormat,n.props.locale))}))},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:Rt(n.props.minDate,n.props.maxDate)},n}return ge(n,e),n.prototype.render=function(){var e=t.clsx({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return he.default.createElement("div",{className:e},this.renderOptions())},n}(n.Component),Ot=pe.default(Mt),jt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=Ne(t.props.minDate),n=Ne(t.props.maxDate),r=[];!N.isAfter(e,n);){var i=P.getTime(e);r.push(he.default.createElement("option",{key:i,value:i},Te(e,t.props.dateFormat,t.props.locale))),e=s.addMonths(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return he.default.createElement("select",{value:P.getTime(Ne(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=Te(t.props.date,t.props.dateFormat,t.props.locale);return he.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},he.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))},t.renderDropdown=function(){return he.default.createElement(Ot,ve({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=Ee(e);Oe(t.props.date,n)&&je(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return ge(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return he.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),Lt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame((function(){var e,r,i;n.list&&(n.list.scrollTop=null!==(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(null!==(r=null===(e=n.header)||void 0===e?void 0:e.clientHeight)&&void 0!==r?r:0):n.list.clientHeight,n.centerLi))&&void 0!==i?i:0)}))},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&it(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&rt(e,n.props)||null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e)},n.isSelectedTime=function(e){return n.props.selected&&(t=e,gt(n.props.selected).getTime()===gt(t).getTime());var t},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&it(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&rt(e,n.props)},n.liClasses=function(e){var r,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(e)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(3600*A.getHours(e)+60*_.getMinutes(e)+k.getSeconds(e))%(60*(null!==(r=n.props.intervals)&&void 0!==r?r:t.defaultProps.intervals))!=0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(e,t){var r,i;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),(e.key===ye.ArrowUp||e.key===ye.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===ye.ArrowDown||e.key===ye.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===ye.Enter&&n.handleClick(t),null===(i=(r=n.props).handleOnKeyDown)||void 0===i||i.call(r,e)},n.renderTimes=function(){for(var e,r=[],i=n.props.format?n.props.format:"p",o=null!==(e=n.props.intervals)&&void 0!==e?e:t.defaultProps.intervals,s=n.props.selected||n.props.openToDate||Ee(),l=Pe(s),c=n.props.injectTimes&&n.props.injectTimes.sort((function(e,t){return e.getTime()-t.getTime()})),u=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(s),d=u/o,h=0;h<d;h++){var p=a.addMinutes(l,h*o);if(r.push(p),c){var f=pt(l,p,h,o,c);r=r.concat(f)}}var m=r.reduce((function(e,t){return t.getTime()<=s.getTime()?t:e}),r[0]);return r.map((function(e){return he.default.createElement("li",{key:e.valueOf(),onClick:n.handleClick.bind(n,e),className:n.liClasses(e),ref:function(t){e===m&&(n.centerLi=t)},onKeyDown:function(t){n.handleOnKeyDown(t,e)},tabIndex:e===m?0:-1,role:"option","aria-selected":n.isSelectedTime(e)?"true":void 0,"aria-disabled":n.isDisabledTime(e)?"true":void 0},Te(e,i,n.props.locale))}))},n}return ge(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time"}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e,n=this,r=this.state.height;return he.default.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},he.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){n.header=e}},he.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),he.default.createElement("div",{className:"react-datepicker__time"},he.default.createElement("div",{className:"react-datepicker__time-box"},he.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){n.list=e},style:r?{height:r}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(n.Component),Bt=function(e){function r(r){var i=e.call(this,r)||this;return i.YEAR_REFS=Ce([],Array(i.props.yearItemNumber),!0).map((function(){return n.createRef()})),i.isDisabled=function(e){return qe(e,{minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,includeDates:i.props.includeDates,filterDate:i.props.filterDate})},i.isExcluded=function(e){return Ge(e,{excludeDates:i.props.excludeDates})},i.selectingDate=function(){var e;return null!==(e=i.props.selectingDate)&&void 0!==e?e:i.props.preSelection},i.updateFocusOnPaginate=function(e){window.requestAnimationFrame((function(){var t,n;null===(n=null===(t=i.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()}))},i.handleYearClick=function(e,t){i.props.onDayClick&&i.props.onDayClick(e,t)},i.handleYearNavigation=function(e,t){var n,r,o,a,s=i.props,l=s.date,c=s.yearItemNumber;if(void 0!==l&&void 0!==c){var u=mt(l,c).startPeriod;i.isDisabled(t)||i.isExcluded(t)||(null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,t),e-u<0?i.updateFocusOnPaginate(c-(u-e)):e-u>=c?i.updateFocusOnPaginate(Math.abs(c-(e-u))):null===(a=null===(o=i.YEAR_REFS[e-u])||void 0===o?void 0:o.current)||void 0===a||a.focus())}},i.isSameDay=function(e,t){return Be(e,t)},i.isCurrentYear=function(e){return e===D.getYear(Ee())},i.isRangeStart=function(e){return i.props.startDate&&i.props.endDate&&Oe(X.setYear(Ee(),e),i.props.startDate)},i.isRangeEnd=function(e){return i.props.startDate&&i.props.endDate&&Oe(X.setYear(Ee(),e),i.props.endDate)},i.isInRange=function(e){return Je(e,i.props.startDate,i.props.endDate)},i.isInSelectingRange=function(e){var t=i.props,n=t.selectsStart,r=t.selectsEnd,o=t.selectsRange,a=t.startDate,s=t.endDate;return!(!(n||r||o)||!i.selectingDate())&&(n&&s?Je(e,i.selectingDate(),s):(r&&a||!(!o||!a||s))&&Je(e,a,i.selectingDate()))},i.isSelectingRangeStart=function(e){var t;if(!i.isInSelectingRange(e))return!1;var n=i.props,r=n.startDate,o=n.selectsStart;return Oe(X.setYear(Ee(),e),o?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isSelectingRangeEnd=function(e){var t;if(!i.isInSelectingRange(e))return!1;var n=i.props,r=n.endDate,o=n.selectsEnd,a=n.selectsRange;return Oe(X.setYear(Ee(),e),o||a?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isKeyboardSelected=function(e){if(void 0!==i.props.date&&null!=i.props.selected&&null!=i.props.preSelection){var t=i.props,n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,s=t.filterDate,l=Fe(X.setYear(i.props.date,e)),c=(n||r||o||a||s)&&$e(e,i.props);return!i.props.disabledKeyboardNavigation&&!i.props.inline&&!Be(l,Fe(i.props.selected))&&Be(l,Fe(i.props.preSelection))&&!c}},i.onYearClick=function(e,t){var n=i.props.date;void 0!==n&&i.handleYearClick(Fe(X.setYear(n,t)),e)},i.onYearKeyDown=function(e,t){var n,r,o=e.key,a=i.props,s=a.date,l=a.yearItemNumber,c=a.handleOnKeyDown;if(o!==ye.Tab&&e.preventDefault(),!i.props.disabledKeyboardNavigation)switch(o){case ye.Enter:if(null==i.props.selected)break;i.onYearClick(e,t),null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,i.props.selected);break;case ye.ArrowRight:if(null==i.props.preSelection)break;i.handleYearNavigation(t+1,d.addYears(i.props.preSelection,1));break;case ye.ArrowLeft:if(null==i.props.preSelection)break;i.handleYearNavigation(t-1,se.subYears(i.props.preSelection,1));break;case ye.ArrowUp:if(void 0===s||void 0===l||null==i.props.preSelection)break;var u=mt(s,l).startPeriod;if((f=t-(p=3))<u){var h=l%p;t>=u&&t<u+h?p=h:p+=h,f=t-p}i.handleYearNavigation(f,se.subYears(i.props.preSelection,p));break;case ye.ArrowDown:if(void 0===s||void 0===l||null==i.props.preSelection)break;var p,f,m=mt(s,l).endPeriod;(f=t+(p=3))>m&&(h=l%p,t<=m&&t>m-h?p=h:p+=h,f=t+p),i.handleYearNavigation(f,d.addYears(i.props.preSelection,p))}c&&c(e)},i.getYearClassNames=function(e){var n=i.props,r=n.date,o=n.minDate,a=n.maxDate,s=n.selected,l=n.excludeDates,c=n.includeDates,u=n.filterDate,d=n.yearClassName;return t.clsx("react-datepicker__year-text","react-datepicker__year-".concat(e),r?null==d?void 0:d(X.setYear(r,e)):void 0,{"react-datepicker__year-text--selected":s?e===D.getYear(s):void 0,"react-datepicker__year-text--disabled":(o||a||l||c||u)&&$e(e,i.props),"react-datepicker__year-text--keyboard-selected":i.isKeyboardSelected(e),"react-datepicker__year-text--range-start":i.isRangeStart(e),"react-datepicker__year-text--range-end":i.isRangeEnd(e),"react-datepicker__year-text--in-range":i.isInRange(e),"react-datepicker__year-text--in-selecting-range":i.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":i.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":i.isSelectingRangeEnd(e),"react-datepicker__year-text--today":i.isCurrentYear(e)})},i.getYearTabIndex=function(e){return i.props.disabledKeyboardNavigation||null==i.props.preSelection?"-1":e===D.getYear(i.props.preSelection)?"0":"-1"},i.getYearContainerClassNames=function(){var e=i.props,n=e.selectingDate,r=e.selectsStart,o=e.selectsEnd,a=e.selectsRange;return t.clsx("react-datepicker__year",{"react-datepicker__year--selecting-range":n&&(r||o||a)})},i.getYearContent=function(e){return i.props.renderYearContent?i.props.renderYearContent(e):e},i}return ge(r,e),r.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,o=n.onYearMouseEnter,a=n.onYearMouseLeave;if(void 0===r)return null;for(var s=mt(r,i),l=s.startPeriod,c=s.endPeriod,u=function(n){t.push(he.default.createElement("div",{ref:d.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){yt(t)&&(t.preventDefault(),t.key=ye.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(d.getYearTabIndex(n)),className:d.getYearClassNames(n),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerEnter:d.props.usePointerEvent?function(e){return o(e,n)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return a(e,n)},onPointerLeave:d.props.usePointerEvent?function(e){return a(e,n)}:void 0,key:n,"aria-current":d.isCurrentYear(n)?"date":void 0},d.getYearContent(n)))},d=this,h=l;h<=c;h++)u(h);return he.default.createElement("div",{className:this.getYearContainerClassNames()},he.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},r}(n.Component);function Ut(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=D.getYear(n)<=a),r&&s&&(s=D.getYear(r)>=a),s&&i.push(a)}return i}var Vt,Ht=function(e){function r(t){var r=e.call(this,t)||this;r.renderOptions=function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return he.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?he.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=r.props.minDate?D.getYear(r.props.minDate):null,i=r.props.maxDate?D.getYear(r.props.maxDate):null;return i&&r.state.yearsList.find((function(e){return e===i}))||t.unshift(he.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},he.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(he.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},he.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var i=t.yearDropdownItemNumber,o=t.scrollableYearDropdown,a=i||(o?10:5);return r.state={yearsList:Ut(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=n.createRef(),r}return ge(r,e),r.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},r.prototype.render=function(){var e=t.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return he.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())},r}(n.Component),zt=pe.default(Ht),Zt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?D.getYear(t.props.minDate):1900,n=t.props.maxDate?D.getYear(t.props.maxDate):2100,r=[],i=e;i<=n;i++)r.push(he.default.createElement("option",{key:i,value:i},i));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return he.default.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return he.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},he.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return he.default.createElement(zt,ve({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},(function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)}))},t.handleYearChange=function(e,n){t.onSelect(e,n),t.setOpen()},t.onSelect=function(e,n){t.props.onSelect&&t.props.onSelect(e,n)},t.setOpen=function(){t.props.setOpen&&t.props.setOpen(!0)},t}return ge(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return he.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),Wt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],qt=function(e){function r(o){var a=e.call(this,o)||this;return a.monthContainer=void 0,a.handleClickOutside=function(e){a.props.onClickOutside(e)},a.setClickOutsideRef=function(){return a.containerRef.current},a.handleDropdownFocus=function(e){var t,n,r,i;r=e.target,i=(r.className||"").split(/\s+/),Wt.some((function(e){return i.indexOf(e)>=0}))&&(null===(n=(t=a.props).onDropdownFocus)||void 0===n||n.call(t,e))},a.getDateInView=function(){var e=a.props,t=e.preSelection,n=e.selected,r=e.openToDate,i=ct(a.props),o=ut(a.props),s=Ee();return r||n||t||(i&&F.isBefore(s,i)?i:o&&N.isAfter(s,o)?o:s)},a.increaseMonth=function(){a.setState((function(e){var t=e.date;return{date:s.addMonths(t,1)}}),(function(){return a.handleMonthChange(a.state.date)}))},a.decreaseMonth=function(){a.setState((function(e){var t=e.date;return{date:ie.subMonths(t,1)}}),(function(){return a.handleMonthChange(a.state.date)}))},a.handleDayClick=function(e,t,n){a.props.onSelect(e,t,n),a.props.setPreSelection&&a.props.setPreSelection(e)},a.handleDayMouseEnter=function(e){a.setState({selectingDate:e}),a.props.onDayMouseEnter&&a.props.onDayMouseEnter(e)},a.handleMonthMouseLeave=function(){a.setState({selectingDate:void 0}),a.props.onMonthMouseLeave&&a.props.onMonthMouseLeave()},a.handleYearMouseEnter=function(e,t){a.setState({selectingDate:X.setYear(Ee(),t)}),a.props.onYearMouseEnter&&a.props.onYearMouseEnter(e,t)},a.handleYearMouseLeave=function(e,t){a.props.onYearMouseLeave&&a.props.onYearMouseLeave(e,t)},a.handleYearChange=function(e){a.props.onYearChange&&(a.props.onYearChange(e),a.setState({isRenderAriaLiveMessage:!0})),a.props.adjustDateOnChange&&(a.props.onSelect&&a.props.onSelect(e),a.props.setOpen&&a.props.setOpen(!0)),a.props.setPreSelection&&a.props.setPreSelection(e)},a.handleMonthChange=function(e){a.handleCustomMonthChange(e),a.props.adjustDateOnChange&&(a.props.onSelect&&a.props.onSelect(e),a.props.setOpen&&a.props.setOpen(!0)),a.props.setPreSelection&&a.props.setPreSelection(e)},a.handleCustomMonthChange=function(e){a.props.onMonthChange&&(a.props.onMonthChange(e),a.setState({isRenderAriaLiveMessage:!0}))},a.handleMonthYearChange=function(e){a.handleYearChange(e),a.handleMonthChange(e)},a.changeYear=function(e){a.setState((function(t){var n=t.date;return{date:X.setYear(n,Number(e))}}),(function(){return a.handleYearChange(a.state.date)}))},a.changeMonth=function(e){a.setState((function(t){var n=t.date;return{date:Y.setMonth(n,Number(e))}}),(function(){return a.handleMonthChange(a.state.date)}))},a.changeMonthYear=function(e){a.setState((function(t){var n=t.date;return{date:X.setYear(Y.setMonth(n,T.getMonth(e)),D.getYear(e))}}),(function(){return a.handleMonthYearChange(a.state.date)}))},a.header=function(e){void 0===e&&(e=a.state.date);var n=De(e,a.props.locale,a.props.calendarStartDay),r=[];return a.props.showWeekNumbers&&r.push(he.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},a.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=i.addDays(n,e),o=a.formatWeekday(r,a.props.locale),s=a.props.weekDayClassName?a.props.weekDayClassName(r):void 0;return he.default.createElement("div",{key:e,"aria-label":Te(r,"EEEE",a.props.locale),className:t.clsx("react-datepicker__day-name",s)},o)})))},a.formatWeekday=function(e,t){return a.props.formatWeekDay?function(e,t,n){return t(Te(e,"EEEE",n))}(e,a.props.formatWeekDay,t):a.props.useWeekdaysShort?function(e,t){return Te(e,"EEE",t)}(e,t):function(e,t){return Te(e,"EEEEEE",t)}(e,t)},a.decreaseYear=function(){a.setState((function(e){var t,n=e.date;return{date:se.subYears(n,a.props.showYearPicker?null!==(t=a.props.yearItemNumber)&&void 0!==t?t:r.defaultProps.yearItemNumber:1)}}),(function(){return a.handleYearChange(a.state.date)}))},a.clearSelectingDate=function(){a.setState({selectingDate:void 0})},a.renderPreviousButton=function(){var e;if(!a.props.renderCustomHeader){var t;switch(!0){case a.props.showMonthYearPicker:t=st(a.state.date,a.props);break;case a.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.yearItemNumber,o=void 0===i?xe:i,a=mt(Fe(se.subYears(e,o)),o).endPeriod,s=r&&D.getYear(r);return s&&s>a||!1}(a.state.date,a.props);break;case a.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=ne.startOfYear(e),a=oe.subQuarters(o,1);return r&&f.differenceInCalendarQuarters(r,a)>0||i&&i.every((function(e){return f.differenceInCalendarQuarters(e,a)>0}))||!1}(a.state.date,a.props);break;default:t=ot(a.state.date,a.props)}if(((null!==(e=a.props.forceShowMonthNavigation)&&void 0!==e?e:r.defaultProps.forceShowMonthNavigation)||a.props.showDisabledMonthNavigation||!t)&&!a.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--previous"],i=a.decreaseMonth;(a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker)&&(i=a.decreaseYear),t&&a.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--previous--disabled"),i=void 0);var o=a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker,s=a.props,l=s.previousMonthButtonLabel,c=void 0===l?r.defaultProps.previousMonthButtonLabel:l,u=s.previousYearButtonLabel,d=void 0===u?r.defaultProps.previousYearButtonLabel:u,h=a.props,p=h.previousMonthAriaLabel,m=void 0===p?"string"==typeof c?c:"Previous Month":p,g=h.previousYearAriaLabel,v=void 0===g?"string"==typeof d?d:"Previous Year":g;return he.default.createElement("button",{type:"button",className:n.join(" "),onClick:i,onKeyDown:a.props.handleOnKeyDown,"aria-label":o?v:m},he.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},o?d:c))}}},a.increaseYear=function(){a.setState((function(e){var t,n=e.date;return{date:d.addYears(n,a.props.showYearPicker?null!==(t=a.props.yearItemNumber)&&void 0!==t?t:r.defaultProps.yearItemNumber:1)}}),(function(){return a.handleYearChange(a.state.date)}))},a.renderNextButton=function(){var e;if(!a.props.renderCustomHeader){var t;switch(!0){case a.props.showMonthYearPicker:t=lt(a.state.date,a.props);break;case a.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.yearItemNumber,o=void 0===i?xe:i,a=mt(d.addYears(e,o),o).startPeriod,s=r&&D.getYear(r);return s&&s<a||!1}(a.state.date,a.props);break;case a.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=y.endOfYear(e),a=l.addQuarters(o,1);return r&&f.differenceInCalendarQuarters(a,r)>0||i&&i.every((function(e){return f.differenceInCalendarQuarters(a,e)>0}))||!1}(a.state.date,a.props);break;default:t=at(a.state.date,a.props)}if(((null!==(e=a.props.forceShowMonthNavigation)&&void 0!==e?e:r.defaultProps.forceShowMonthNavigation)||a.props.showDisabledMonthNavigation||!t)&&!a.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--next"];a.props.showTimeSelect&&n.push("react-datepicker__navigation--next--with-time"),a.props.todayButton&&n.push("react-datepicker__navigation--next--with-today-button");var i=a.increaseMonth;(a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker)&&(i=a.increaseYear),t&&a.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--next--disabled"),i=void 0);var o=a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker,s=a.props,c=s.nextMonthButtonLabel,u=void 0===c?r.defaultProps.nextMonthButtonLabel:c,h=s.nextYearButtonLabel,p=void 0===h?r.defaultProps.nextYearButtonLabel:h,m=a.props,g=m.nextMonthAriaLabel,v=void 0===g?"string"==typeof u?u:"Next Month":g,C=m.nextYearAriaLabel,b=void 0===C?"string"==typeof p?p:"Next Year":C;return he.default.createElement("button",{type:"button",className:n.join(" "),onClick:i,onKeyDown:a.props.handleOnKeyDown,"aria-label":o?b:v},he.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},o?p:u))}}},a.renderCurrentMonth=function(e){void 0===e&&(e=a.state.date);var t=["react-datepicker__current-month"];return a.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),a.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),a.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),he.default.createElement("h2",{className:t.join(" ")},Te(e,a.props.dateFormat,a.props.locale))},a.renderYearDropdown=function(e){if(void 0===e&&(e=!1),a.props.showYearDropdown&&!e)return he.default.createElement(Zt,ve({},r.defaultProps,a.props,{date:a.state.date,onChange:a.changeYear,year:D.getYear(a.state.date)}))},a.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),a.props.showMonthDropdown&&!e)return he.default.createElement(It,ve({},r.defaultProps,a.props,{month:T.getMonth(a.state.date),onChange:a.changeMonth}))},a.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),a.props.showMonthYearDropdown&&!e)return he.default.createElement(jt,ve({},r.defaultProps,a.props,{date:a.state.date,onChange:a.changeMonthYear}))},a.handleTodayButtonClick=function(e){a.props.onSelect(Re(),e),a.props.setPreSelection&&a.props.setPreSelection(Re())},a.renderTodayButton=function(){if(a.props.todayButton&&!a.props.showTimeSelectOnly)return he.default.createElement("div",{className:"react-datepicker__today-button",onClick:a.handleTodayButtonClick},a.props.todayButton)},a.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return he.default.createElement("div",{className:"react-datepicker__header ".concat(a.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},a.renderCurrentMonth(t),he.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(a.props.dropdownMode),onFocus:a.handleDropdownFocus},a.renderMonthDropdown(0!==n),a.renderMonthYearDropdown(0!==n),a.renderYearDropdown(0!==n)),he.default.createElement("div",{className:"react-datepicker__day-names"},a.header(t)))},a.renderCustomHeader=function(e){var t,n,r=e.monthDate,i=e.i;if(a.props.showTimeSelect&&!a.state.monthContainer||a.props.showTimeSelectOnly)return null;var o=ot(a.state.date,a.props),s=at(a.state.date,a.props),l=st(a.state.date,a.props),c=lt(a.state.date,a.props),u=!a.props.showMonthYearPicker&&!a.props.showQuarterYearPicker&&!a.props.showYearPicker;return he.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:a.props.onDropdownFocus},null===(n=(t=a.props).renderCustomHeader)||void 0===n?void 0:n.call(t,ve(ve({},a.state),{customHeaderCount:i,monthDate:r,changeMonth:a.changeMonth,changeYear:a.changeYear,decreaseMonth:a.decreaseMonth,increaseMonth:a.increaseMonth,decreaseYear:a.decreaseYear,increaseYear:a.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:s,prevYearButtonDisabled:l,nextYearButtonDisabled:c})),u&&he.default.createElement("div",{className:"react-datepicker__day-names"},a.header(r)))},a.renderYearHeader=function(e){var t=e.monthDate,n=a.props,i=n.showYearPicker,o=n.yearItemNumber,s=mt(t,void 0===o?r.defaultProps.yearItemNumber:o),l=s.startPeriod,c=s.endPeriod;return he.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},i?"".concat(l," - ").concat(c):D.getYear(t))},a.renderHeader=function(e){var t=e.monthDate,n=e.i,r={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==a.props.renderCustomHeader:return a.renderCustomHeader(r);case a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker:return a.renderYearHeader(r);default:return a.renderDefaultHeader(r)}},a.renderMonths=function(){var e,t;if(!a.props.showTimeSelectOnly&&!a.props.showYearPicker){for(var n=[],i=null!==(e=a.props.monthsShown)&&void 0!==e?e:r.defaultProps.monthsShown,o=a.props.showPreviousMonths?i-1:0,l=a.props.showMonthYearPicker||a.props.showQuarterYearPicker?d.addYears(a.state.date,o):ie.subMonths(a.state.date,o),c=null!==(t=a.props.monthSelectedIn)&&void 0!==t?t:o,u=0;u<i;++u){var h=u-c+o,p=a.props.showMonthYearPicker||a.props.showQuarterYearPicker?d.addYears(l,h):s.addMonths(l,h),f="month-".concat(u),m=u<i-1,g=u>0;n.push(he.default.createElement("div",{key:f,ref:function(e){a.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},a.renderHeader({monthDate:p,i:u}),he.default.createElement(Dt,ve({},r.defaultProps,a.props,{ariaLabelPrefix:a.props.monthAriaLabelPrefix,day:p,onDayClick:a.handleDayClick,handleOnKeyDown:a.props.handleOnDayKeyDown,handleOnMonthKeyDown:a.props.handleOnKeyDown,onDayMouseEnter:a.handleDayMouseEnter,onMouseLeave:a.handleMonthMouseLeave,orderInDisplay:u,selectingDate:a.state.selectingDate,monthShowsDuplicateDaysEnd:m,monthShowsDuplicateDaysStart:g}))))}return n}},a.renderYears=function(){if(!a.props.showTimeSelectOnly)return a.props.showYearPicker?he.default.createElement("div",{className:"react-datepicker__year--container"},a.renderHeader({monthDate:a.state.date}),he.default.createElement(Bt,ve({},r.defaultProps,a.props,{selectingDate:a.state.selectingDate,date:a.state.date,onDayClick:a.handleDayClick,clearSelectingDate:a.clearSelectingDate,onYearMouseEnter:a.handleYearMouseEnter,onYearMouseLeave:a.handleYearMouseLeave}))):void 0},a.renderTimeSection=function(){if(a.props.showTimeSelect&&(a.state.monthContainer||a.props.showTimeSelectOnly))return he.default.createElement(Lt,ve({},r.defaultProps,a.props,{onChange:a.props.onTimeChange,format:a.props.timeFormat,intervals:a.props.timeIntervals,monthRef:a.state.monthContainer}))},a.renderInputTimeSection=function(){var e=a.props.selected?new Date(a.props.selected):void 0,t=e&&_e(e)&&Boolean(a.props.selected)?"".concat(ft(e.getHours()),":").concat(ft(e.getMinutes())):"";if(a.props.showTimeInput)return he.default.createElement(wt,ve({},r.defaultProps,a.props,{date:e,timeString:t,onChange:a.props.onTimeChange}))},a.renderAriaLiveRegion=function(){var e,t,n=mt(a.state.date,null!==(e=a.props.yearItemNumber)&&void 0!==e?e:r.defaultProps.yearItemNumber),i=n.startPeriod,o=n.endPeriod;return t=a.props.showYearPicker?"".concat(i," - ").concat(o):a.props.showMonthYearPicker||a.props.showQuarterYearPicker?D.getYear(a.state.date):"".concat(Ze(T.getMonth(a.state.date),a.props.locale)," ").concat(D.getYear(a.state.date)),he.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},a.state.isRenderAriaLiveMessage&&t)},a.renderChildren=function(){if(a.props.children)return he.default.createElement("div",{className:"react-datepicker__children-container"},a.props.children)},a.containerRef=n.createRef(),a.state={date:a.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},a}return ge(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:xe}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))},r.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||Be(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Be(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!je(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return n&&t.handleCustomMonthChange(t.state.date)}))}},r.prototype.render=function(){var e=this.props.container||be;return he.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},he.default.createElement(e,{className:t.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},r}(n.Component),Gt=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,i=e.onClick,o="react-datepicker__calendar-icon";return"string"==typeof t?he.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:i}):he.default.isValidElement(t)?he.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof i&&i(e)}}):he.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},he.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},Yt=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return ge(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return fe.default.createPortal(this.props.children,this.el)},t}(n.Component),Kt=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},Qt=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Kt)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=n.createRef(),r}return ge(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?he.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},he.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,he.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(n.Component),Xt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return ge(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),r.prototype.render=function(){var e=this.props,i=e.className,o=e.wrapperClassName,a=e.hidePopper,s=void 0===a?r.defaultProps.hidePopper:a,l=e.popperComponent,c=e.targetComponent,u=e.enableTabLoop,d=e.popperOnKeyDown,h=e.portalId,p=e.portalHost,f=e.popperProps,m=e.showArrow,g=void 0;if(!s){var v=t.clsx("react-datepicker-popper",i);g=he.default.createElement(Qt,{enableTabLoop:u},he.default.createElement("div",{ref:f.refs.setFloating,style:f.floatingStyles,className:v,"data-placement":f.placement,onKeyDown:d},l,m&&he.default.createElement(ce.FloatingArrow,{ref:f.arrowRef,context:f.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(g=n.createElement(this.props.popperContainer,{},g)),h&&!s&&(g=he.default.createElement(Yt,{portalId:h,portalHost:p},g));var C=t.clsx("react-datepicker-wrapper",o);return he.default.createElement(he.default.Fragment,null,he.default.createElement("div",{ref:f.refs.setReference,className:C},c),g)},r}(n.Component),Jt=(Vt=Xt,function(e){var t,r="boolean"!=typeof e.hidePopper||e.hidePopper,i=n.useRef(null),o=ce.useFloating(ve({open:!r,whileElementsMounted:ce.autoUpdate,placement:e.popperPlacement,middleware:Ce([ce.flip({padding:15}),ce.offset(10),ce.arrow({element:i})],null!==(t=e.popperModifiers)&&void 0!==t?t:[],!0)},e.popperProps)),a=ve(ve({},e),{hidePopper:r,popperProps:ve(ve({},o),{arrowRef:i})});return he.default.createElement(Vt,ve({},a))}),$t="react-datepicker-ignore-onclickoutside",en=pe.default(qt),tn="Date input not valid.",nn=function(e){function r(o){var a=e.call(this,o)||this;return a.calendar=null,a.input=null,a.getPreSelection=function(){return a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:Ee()},a.modifyHolidays=function(){var e;return null===(e=a.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var n=new Date(t.date);return _e(n)?Ce(Ce([],e,!0),[ve(ve({},t),{date:n})],!1):e}),[])},a.calcInitialState=function(){var e,t=a.getPreSelection(),n=ct(a.props),r=ut(a.props),i=n&&F.isBefore(t,Pe(n))?n:r&&N.isAfter(t,Me(r))?r:t;return{open:a.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==(e=a.props.selectsRange?a.props.startDate:a.props.selected)&&void 0!==e?e:i,highlightDates:dt(a.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},a.resetHiddenStatus=function(){a.setState(ve(ve({},a.state),{wasHidden:!1}))},a.setHiddenStatus=function(){a.setState(ve(ve({},a.state),{wasHidden:!0}))},a.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&a.setHiddenStatus()},a.clearPreventFocusTimeout=function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)},a.setFocus=function(){a.input&&a.input.focus&&a.input.focus({preventScroll:!0})},a.setBlur=function(){a.input&&a.input.blur&&a.input.blur(),a.cancelFocusInput()},a.setOpen=function(e,t){void 0===t&&(t=!1),a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:on},(function(){e||a.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&a.setBlur(),a.setState({inputValue:null})}))}))},a.inputOk=function(){return I.isDate(a.state.preSelection)},a.isCalendarOpen=function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open},a.handleFocus=function(e){var t,n,r=a.state.wasHidden,i=!r||a.state.open;r&&a.resetHiddenStatus(),!a.state.preventFocus&&i&&(null===(n=(t=a.props).onFocus)||void 0===n||n.call(t,e),a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})},a.sendFocusBackToInput=function(){a.preventFocusTimeout&&a.clearPreventFocusTimeout(),a.setState({preventFocus:!0},(function(){a.preventFocusTimeout=setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))}))},a.cancelFocusInput=function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=void 0},a.deferFocusInput=function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout((function(){return a.setFocus()}),1)},a.handleDropdownFocus=function(){a.cancelFocusInput()},a.handleBlur=function(e){var t,n;(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&(null===(n=(t=a.props).onBlur)||void 0===n||n.call(t,e)),a.setState({focused:!1})},a.handleCalendarClickOutside=function(e){var t,n;a.props.inline||a.setOpen(!1),null===(n=(t=a.props).onClickOutside)||void 0===n||n.call(t,e),a.props.withPortal&&e.preventDefault()},a.handleChange=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(a,e),n&&"function"==typeof n.isDefaultPrevented&&!n.isDefaultPrevented())){a.setState({inputValue:(null==n?void 0:n.target)instanceof HTMLInputElement?n.target.value:null,lastPreSelectChange:rn});var i=a.props,o=i.dateFormat,s=void 0===o?r.defaultProps.dateFormat:o,l=i.strictParsing,c=void 0===l?r.defaultProps.strictParsing:l,u=function(e,t,n,r,i){var o,a=null,s=ze(n)||ze(He()),l=!0;if(Array.isArray(t))return t.forEach((function(t){var o=z.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(l=_e(o,i)&&e===Te(o,t,n)),_e(o,i)&&l&&(a=o)})),a;if(a=z.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)l=_e(a)&&e===Te(a,t,n);else if(!_e(a)){var c=(null!==(o=t.match(Ae))&&void 0!==o?o:[]).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=b.longFormatters[t];return s?n(e,s.formatLong):t}return e})).join("");e.length>0&&(a=z.parse(e,c.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),_e(a)||(a=new Date(e))}return _e(a)&&l?a:null}((null==n?void 0:n.target)instanceof HTMLInputElement?n.target.value:"",s,a.props.locale,c,a.props.minDate);a.props.showTimeSelectOnly&&a.props.selected&&u&&!Be(u,a.props.selected)&&(u=W.set(a.props.selected,{hours:A.getHours(u),minutes:_.getMinutes(u),seconds:k.getSeconds(u)})),!u&&(null==n?void 0:n.target)instanceof HTMLInputElement&&(null==n?void 0:n.target.value)||a.setSelected(u,n,!0)}},a.handleSelect=function(e,t,n){if(a.props.shouldCloseOnSelect&&!a.props.showTimeSelect&&a.sendFocusBackToInput(),a.props.onChangeRaw&&a.props.onChangeRaw(t),a.setSelected(e,t,!1,n),a.props.showDateSelect&&a.setState({isRenderAriaLiveMessage:!0}),!a.props.shouldCloseOnSelect||a.props.showTimeSelect)a.setPreSelection(e);else if(!a.props.inline){a.props.selectsRange||a.setOpen(!1);var r=a.props,i=r.startDate,o=r.endDate;!i||o||!a.props.swapRange&&Ct(e,i)||a.setOpen(!1)}},a.setSelected=function(e,t,n,i){var o,s=e;if(a.props.showYearPicker){if(null!==s&&$e(D.getYear(s),a.props))return}else if(a.props.showMonthYearPicker){if(null!==s&&Ye(s,a.props))return}else if(null!==s&&qe(s,a.props))return;var l=a.props,c=l.onChange,u=l.selectsRange,d=l.startDate,h=l.endDate,p=l.selectsMultiple,f=l.selectedDates,m=l.minTime,g=l.swapRange;if(!Ue(a.props.selected,s)||a.props.allowSameDay||u||p)if(null!==s&&(!a.props.selected||n&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(s=ke(s,{hour:A.getHours(a.props.selected),minute:_.getMinutes(a.props.selected),second:k.getSeconds(a.props.selected)})),n||!a.props.showTimeSelect&&!a.props.showTimeSelectOnly||m&&(s=ke(s,{hour:m.getHours(),minute:m.getMinutes(),second:m.getSeconds()})),a.props.inline||a.setState({preSelection:s}),a.props.focusSelectedMonth||a.setState({monthSelectedIn:i})),u){var v=d&&h;d||h?d&&!h&&(null===s?c?c([null,null],t):r.defaultProps.onChange:Ct(s,d)?g?c?c([s,d],t):r.defaultProps.onChange:c?c([s,null],t):r.defaultProps.onChange:c?c([d,s],t):r.defaultProps.onChange):c?c([s,null],t):r.defaultProps.onChange,v&&(c?c([s,null],t):r.defaultProps.onChange)}else if(p){if(null!==s)if(null==f?void 0:f.length)if(f.some((function(e){return Be(e,s)}))){var C=f.filter((function(e){return!Be(e,s)}));c?c(C,t):r.defaultProps.onChange}else c?c(Ce(Ce([],f,!0),[s],!1),t):r.defaultProps.onChange;else c?c([s],t):r.defaultProps.onChange}else c?c(s,t):r.defaultProps.onChange;n||((null!==(o=a.props.onSelect)&&void 0!==o?o:r.defaultProps.onSelect)(s,t),a.setState({inputValue:null}))},a.setPreSelection=function(e){var t=I.isDate(a.props.minDate),n=I.isDate(a.props.maxDate),r=!0;if(e){var i=Pe(e);if(t&&n)r=Ve(e,a.props.minDate,a.props.maxDate);else if(t){var o=Pe(a.props.minDate);r=N.isAfter(e,o)||Ue(i,o)}else if(n){var s=Me(a.props.maxDate);r=F.isBefore(e,s)||Ue(i,s)}}r&&a.setState({preSelection:e})},a.toggleCalendar=function(){a.setOpen(!a.state.open)},a.handleTimeChange=function(e){var t;if(!a.props.selectsRange&&!a.props.selectsMultiple){var n=a.props.selected?a.props.selected:a.getPreSelection(),i=a.props.selected?e:ke(n,{hour:A.getHours(e),minute:_.getMinutes(e)});a.setState({preSelection:i}),(null!==(t=a.props.onChange)&&void 0!==t?t:r.defaultProps.onChange)(i),a.props.shouldCloseOnSelect&&!a.props.showTimeInput&&(a.sendFocusBackToInput(),a.setOpen(!1)),a.props.showTimeInput&&a.setOpen(!0),(a.props.showTimeSelectOnly||a.props.showTimeSelect)&&a.setState({isRenderAriaLiveMessage:!0}),a.setState({inputValue:null})}},a.onInputClick=function(){var e,t;a.props.disabled||a.props.readOnly||a.setOpen(!0),null===(t=(e=a.props).onInputClick)||void 0===t||t.call(e)},a.onInputKeyDown=function(e){var t,n,r,i,o;null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e);var s=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open){if(s===ye.ArrowDown||s===ye.ArrowUp){e.preventDefault();var l=a.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":a.props.showWeekPicker&&a.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':a.props.showFullMonthYearPicker||a.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',c=(null===(r=a.calendar)||void 0===r?void 0:r.componentNode)instanceof Element&&a.calendar.componentNode.querySelector(l);return void(c instanceof HTMLElement&&c.focus({preventScroll:!0}))}var u=Ee(a.state.preSelection);s===ye.Enter?(e.preventDefault(),a.inputOk()&&a.state.lastPreSelectChange===on?(a.handleSelect(u,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(u)):a.setOpen(!1)):s===ye.Escape?(e.preventDefault(),a.sendFocusBackToInput(),a.setOpen(!1)):s===ye.Tab&&a.setOpen(!1),a.inputOk()||null===(o=(i=a.props).onInputError)||void 0===o||o.call(i,{code:1,msg:tn})}}else s!==ye.ArrowDown&&s!==ye.ArrowUp&&s!==ye.Enter||a.onInputClick()},a.onPortalKeyDown=function(e){e.key===ye.Escape&&(e.preventDefault(),a.setState({preventFocus:!0},(function(){a.setOpen(!1),setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))})))},a.onDayKeyDown=function(e){var t,n,r,o,l=a.props,c=l.minDate,h=l.maxDate,p=l.disabledKeyboardNavigation,f=l.showWeekPicker,m=l.shouldCloseOnSelect,g=l.locale,v=l.calendarStartDay,y=l.adjustDateOnChange,b=l.inline;if(null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e),!p){var w=e.key,x=e.shiftKey,A=Ee(a.state.preSelection),E=function(e,t){var n=t;switch(e){case ye.ArrowRight:n=f?u.addWeeks(t,1):i.addDays(t,1);break;case ye.ArrowLeft:n=f?ae.subWeeks(t,1):re.subDays(t,1);break;case ye.ArrowUp:n=ae.subWeeks(t,1);break;case ye.ArrowDown:n=u.addWeeks(t,1);break;case ye.PageUp:n=x?se.subYears(t,1):ie.subMonths(t,1);break;case ye.PageDown:n=x?d.addYears(t,1):s.addMonths(t,1);break;case ye.Home:n=De(t,g,v);break;case ye.End:n=function(e){return C.endOfWeek(e)}(t)}return n};if(w===ye.Enter)return e.preventDefault(),a.handleSelect(A,e),void(!m&&a.setPreSelection(A));if(w===ye.Escape)return e.preventDefault(),a.setOpen(!1),void(a.inputOk()||null===(o=(r=a.props).onInputError)||void 0===o||o.call(r,{code:1,msg:tn}));var _=null;switch(w){case ye.ArrowLeft:case ye.ArrowRight:case ye.ArrowUp:case ye.ArrowDown:case ye.PageUp:case ye.PageDown:case ye.Home:case ye.End:_=function(e,t){for(var n=e,r=!1,i=0,o=E(e,t);!r;){if(i>=40){o=t;break}c&&o<c&&(n=ye.ArrowRight,o=qe(c,a.props)?E(n,o):c),h&&o>h&&(n=ye.ArrowLeft,o=qe(h,a.props)?E(n,o):h),qe(o,a.props)?(n!==ye.PageUp&&n!==ye.Home||(n=ye.ArrowRight),n!==ye.PageDown&&n!==ye.End||(n=ye.ArrowLeft),o=E(n,o)):r=!0,i++}return o}(w,A)}if(_){if(e.preventDefault(),a.setState({lastPreSelectChange:on}),y&&a.setSelected(_),a.setPreSelection(_),b){var S=T.getMonth(A),k=T.getMonth(_),P=D.getYear(A),N=D.getYear(_);S!==k||P!==N?a.setState({shouldFocusDayInline:!0}):a.setState({shouldFocusDayInline:!1})}}else a.props.onInputError&&a.props.onInputError({code:1,msg:tn})}},a.onPopperKeyDown=function(e){e.key===ye.Escape&&(e.preventDefault(),a.sendFocusBackToInput())},a.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),a.sendFocusBackToInput();var t=a.props,n=t.selectsRange,i=t.onChange;n?i?i([null,null],e):r.defaultProps.onChange():i?i(null,e):r.defaultProps.onChange(),a.setState({inputValue:null})},a.clear=function(){a.onClearClick()},a.onScroll=function(e){"boolean"==typeof a.props.closeOnScroll&&a.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||a.setOpen(!1):"function"==typeof a.props.closeOnScroll&&a.props.closeOnScroll(e)&&a.setOpen(!1)},a.renderCalendar=function(){var e,t;return a.props.inline||a.isCalendarOpen()?he.default.createElement(en,ve({ref:function(e){a.calendar=e}},a.props,a.state,{setOpen:a.setOpen,dateFormat:null!==(e=a.props.dateFormatCalendar)&&void 0!==e?e:r.defaultProps.dateFormatCalendar,onSelect:a.handleSelect,onClickOutside:a.handleCalendarClickOutside,holidays:ht(a.modifyHolidays()),outsideClickIgnoreClass:$t,onDropdownFocus:a.handleDropdownFocus,onTimeChange:a.handleTimeChange,className:a.props.calendarClassName,container:a.props.calendarContainer,handleOnKeyDown:a.props.onKeyDown,handleOnDayKeyDown:a.onDayKeyDown,setPreSelection:a.setPreSelection,dropdownMode:null!==(t=a.props.dropdownMode)&&void 0!==t?t:r.defaultProps.dropdownMode}),a.props.children):null},a.renderAriaLiveRegion=function(){var e,t=a.props,n=t.dateFormat,i=void 0===n?r.defaultProps.dateFormat:n,o=t.locale,s=a.props.showTimeInput||a.props.showTimeSelect?"PPPPp":"PPPP";return e=a.props.selectsRange?"Selected start date: ".concat(Se(a.props.startDate,{dateFormat:s,locale:o}),". ").concat(a.props.endDate?"End date: "+Se(a.props.endDate,{dateFormat:s,locale:o}):""):a.props.showTimeSelectOnly?"Selected time: ".concat(Se(a.props.selected,{dateFormat:i,locale:o})):a.props.showYearPicker?"Selected year: ".concat(Se(a.props.selected,{dateFormat:"yyyy",locale:o})):a.props.showMonthYearPicker?"Selected month: ".concat(Se(a.props.selected,{dateFormat:"MMMM yyyy",locale:o})):a.props.showQuarterYearPicker?"Selected quarter: ".concat(Se(a.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(Se(a.props.selected,{dateFormat:s,locale:o})),he.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},a.renderDateInput=function(){var e,i,o,s=t.clsx(a.props.className,((e={})[$t]=a.state.open,e)),l=a.props.customInput||he.default.createElement("input",{type:"text"}),c=a.props.customInputRef||"ref",u=a.props,d=u.dateFormat,h=void 0===d?r.defaultProps.dateFormat:d,p=u.locale,f="string"==typeof a.props.value?a.props.value:"string"==typeof a.state.inputValue?a.state.inputValue:a.props.selectsRange?function(e,t,n){if(!e)return"";var r=Se(e,n),i=t?Se(t,n):"";return"".concat(r," - ").concat(i)}(a.props.startDate,a.props.endDate,{dateFormat:h,locale:p}):a.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?Se(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=Se(e[1],t);return"".concat(n,", ").concat(r)}var i=e.length-1;return"".concat(n," (+").concat(i,")")}(null!==(o=a.props.selectedDates)&&void 0!==o?o:[],{dateFormat:h,locale:p}):Se(a.props.selected,{dateFormat:h,locale:p});return n.cloneElement(l,((i={})[c]=function(e){a.input=e},i.value=f,i.onBlur=a.handleBlur,i.onChange=a.handleChange,i.onClick=a.onInputClick,i.onFocus=a.handleFocus,i.onKeyDown=a.onInputKeyDown,i.id=a.props.id,i.name=a.props.name,i.form=a.props.form,i.autoFocus=a.props.autoFocus,i.placeholder=a.props.placeholderText,i.disabled=a.props.disabled,i.autoComplete=a.props.autoComplete,i.className=t.clsx(l.props.className,s),i.title=a.props.title,i.readOnly=a.props.readOnly,i.required=a.props.required,i.tabIndex=a.props.tabIndex,i["aria-describedby"]=a.props.ariaDescribedBy,i["aria-invalid"]=a.props.ariaInvalid,i["aria-labelledby"]=a.props.ariaLabelledBy,i["aria-required"]=a.props.ariaRequired,i))},a.renderClearButton=function(){var e=a.props,n=e.isClearable,r=e.disabled,i=e.selected,o=e.startDate,s=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,u=void 0===c?"":c,d=e.ariaLabelClose,h=void 0===d?"Close":d,p=e.selectedDates;return n&&(null!=i||null!=o||null!=s||(null==p?void 0:p.length))?he.default.createElement("button",{type:"button",className:t.clsx("react-datepicker__close-icon",u,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":h,onClick:a.onClearClick,title:l,tabIndex:-1}):null},a.state=a.calcInitialState(),a.preventFocusTimeout=void 0,a}return ge(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:xe,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.componentDidUpdate=function(e,t){var n,r,i,o,a,s;e.inline&&(a=e.selected,s=this.props.selected,a&&s?T.getMonth(a)!==T.getMonth(s)||D.getYear(a)!==D.getYear(s):a!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:dt(this.props.highlightDates)}),t.focused||Ue(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(r=(n=this.props).onCalendarOpen)||void 0===r||r.call(n)),!0===t.open&&!1===this.state.open&&(null===(o=(i=this.props).onCalendarClose)||void 0===o||o.call(i)))},r.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.renderInputContainer=function(){var e=this.props,n=e.showIcon,r=e.icon,i=e.calendarIconClassname,o=e.calendarIconClassName,a=e.toggleCalendarOnIconClick,s=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),he.default.createElement("div",{className:"react-datepicker__input-container".concat(n?" react-datepicker__view-calendar-icon":"")},n&&he.default.createElement(Gt,ve({icon:r,className:t.clsx(o,!o&&i,s&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},r.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?he.default.createElement(Qt,{enableTabLoop:this.props.enableTabLoop},he.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=he.default.createElement(Yt,ve({portalId:this.props.portalId},this.props),t)),he.default.createElement("div",null,this.renderInputContainer(),t)}return he.default.createElement(Jt,ve({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},r}(n.Component),rn="input",on="navigate";e.CalendarContainer=be,e.default=nn,e.getDefaultLocale=He,e.registerLocale=function(e,t){var n=we();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){we().__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(67718),n(61462),n(66762),n(13587),n(92933),n(64615),n(66627),n(88929),n(40783),n(71583),n(73820),n(60838),n(42122),n(18140),n(15503),n(8573),n(3521),n(36411),n(36122),n(25216),n(16391),n(13753),n(41768),n(85354),n(41142),n(58725),n(26119),n(39498),n(48446),n(29742),n(13117),n(96192),n(3811),n(12023),n(78048),n(88959),n(51689),n(91488),n(44229),n(62113),n(18049),n(63699),n(92644),n(73891),n(32159),n(22820),n(23610),n(6593),n(43035),n(52374),n(57530),n(47894),n(20502),n(93084),n(43166),n(627),n(29842),n(54366),n(46888),n(19116),n(15971),n(97926),n(32739),n(72551))},97306:(e,t)=>{"use strict";t.addLeadingZeros=function(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}},50395:(e,t,n)=>{"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(96220)},98827:(e,t)=>{"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},2547:(e,t,n)=>{"use strict";t.formatters=void 0;var r=n(74437),i=n(85354),o=n(79383),a=n(78047),s=n(26874),l=n(97306),c=n(57285);const u="midnight",d="noon",h="morning",p="afternoon",f="evening",m="night";t.formatters={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){const i=(0,s.getWeekYear)(e,r),o=i>0?i:1-i;if("YY"===t){const e=o%100;return(0,l.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,t.length)},R:function(e,t){const n=(0,o.getISOWeekYear)(e);return(0,l.addLeadingZeros)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,l.addLeadingZeros)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=(0,a.getWeek)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,l.addLeadingZeros)(i,t.length)},I:function(e,t,n){const r=(0,i.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){const i=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(i,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,l.addLeadingZeros)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?d:0===r?u:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?f:r>=12?p:r>=4?h:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return v(r);case"XXXX":case"XX":return C(r);default:return C(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return v(r);case"xxxx":case"xx":return C(r);default:return C(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+C(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+C(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,l.addLeadingZeros)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,l.addLeadingZeros)(r,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+(0,l.addLeadingZeros)(o,2)}function v(e,t){if(e%60===0){return(e>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(e)/60,2)}return C(e,t)}function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+(0,l.addLeadingZeros)(Math.trunc(r/60),2)+t+(0,l.addLeadingZeros)(r%60,2)}},57285:(e,t,n)=>{"use strict";t.lightFormatters=void 0;var r=n(97306);t.lightFormatters={y(e,t){const n=e.getFullYear(),i=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?i%100:i,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){const n=t.length,i=e.getMilliseconds(),o=Math.trunc(i*Math.pow(10,n-3));return(0,r.addLeadingZeros)(o,t.length)}}},64805:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const i=e.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return n(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(o,t)).replace("{{time}}",r(a,t))}}},79973:(e,t,n)=>{"use strict";t.getTimezoneOffsetInMilliseconds=function(e){const t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(97926)},42972:(e,t)=>{"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)};const n=/^D+$/,r=/^Y+$/,i=["D","DD","YY","YYYY"]},13587:(e,t,n)=>{"use strict";t.addDays=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,i.constructFrom)(e,NaN);if(!t)return n;return n.setDate(n.getDate()+t),n};var r=n(97926),i=n(49958)},92933:(e,t,n)=>{"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInHour)};var r=n(83862),i=n(49790)},83862:(e,t,n)=>{"use strict";t.addMilliseconds=function(e,t){const n=+(0,r.toDate)(e);return(0,i.constructFrom)(e,n+t)};var r=n(97926),i=n(49958)},64615:(e,t,n)=>{"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInMinute)};var r=n(83862),i=n(49790)},66627:(e,t,n)=>{"use strict";t.addMonths=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,i.constructFrom)(e,NaN);if(!t)return n;const o=n.getDate(),a=(0,i.constructFrom)(e,n.getTime());a.setMonth(n.getMonth()+t+1,0);const s=a.getDate();return o>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)};var r=n(97926),i=n(49958)},88929:(e,t,n)=>{"use strict";t.addQuarters=function(e,t){const n=3*t;return(0,r.addMonths)(e,n)};var r=n(66627)},40783:(e,t,n)=>{"use strict";t.addSeconds=function(e,t){return(0,r.addMilliseconds)(e,1e3*t)};var r=n(83862)},71583:(e,t,n)=>{"use strict";t.addWeeks=function(e,t){const n=7*t;return(0,r.addDays)(e,n)};var r=n(13587)},73820:(e,t,n)=>{"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(66627)},49790:(e,t)=>{"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0;t.daysInWeek=7;const n=t.daysInYear=365.2425,r=t.maxTime=24*Math.pow(10,8)*60*60*1e3,i=(t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4,t.secondsInHour=3600),o=(t.secondsInMinute=60,t.secondsInDay=24*i),a=(t.secondsInWeek=7*o,t.secondsInYear=o*n),s=t.secondsInMonth=a/12;t.secondsInQuarter=3*s},49958:(e,t)=>{"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},60838:(e,t,n)=>{"use strict";t.differenceInCalendarDays=function(e,t){const n=(0,i.startOfDay)(e),a=(0,i.startOfDay)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((s-l)/r.millisecondsInDay)};var r=n(49790),i=n(47894),o=n(79973)},42122:(e,t,n)=>{"use strict";t.differenceInCalendarMonths=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getFullYear()-i.getFullYear(),a=n.getMonth()-i.getMonth();return 12*o+a};var r=n(97926)},18140:(e,t,n)=>{"use strict";t.differenceInCalendarQuarters=function(e,t){const n=(0,i.toDate)(e),o=(0,i.toDate)(t),a=n.getFullYear()-o.getFullYear(),s=(0,r.getQuarter)(n)-(0,r.getQuarter)(o);return 4*a+s};var r=n(26119),i=n(97926)},15503:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()-i.getFullYear()};var r=n(97926)},8573:(e,t,n)=>{"use strict";t.endOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(97926)},3521:(e,t,n)=>{"use strict";t.endOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(97926)},36411:(e,t,n)=>{"use strict";t.endOfWeek=function(e,t){var n,o,a,s,l,c;const u=(0,i.getDefaultOptions)(),d=null!==(n=null!==(o=null!==(a=null!==(s=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==s?s:null===t||void 0===t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:u.weekStartsOn)&&void 0!==o?o:null===(c=u.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,h=(0,r.toDate)(e),p=h.getDay(),f=6+(p<d?-7:0)-(p-d);return h.setDate(h.getDate()+f),h.setHours(23,59,59,999),h};var r=n(97926),i=n(98827)},36122:(e,t,n)=>{"use strict";t.endOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t};var r=n(97926)},25216:(e,t,n)=>{"use strict";t.format=t.formatDate=function(e,t,n){var h,p,g,v,C,y,b,w,x,A,E,_,T,S;const k=(0,i.getDefaultOptions)(),P=null!==(h=null!==(p=null===n||void 0===n?void 0:n.locale)&&void 0!==p?p:k.locale)&&void 0!==h?h:r.defaultLocale,D=null!==(g=null!==(v=null!==(C=null!==(y=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==y?y:null===n||void 0===n||null===(b=n.locale)||void 0===b||null===(b=b.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==C?C:k.firstWeekContainsDate)&&void 0!==v?v:null===(w=k.locale)||void 0===w||null===(w=w.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==g?g:1,N=null!==(x=null!==(A=null!==(E=null!==(_=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==_?_:null===n||void 0===n||null===(T=n.locale)||void 0===T||null===(T=T.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==E?E:k.weekStartsOn)&&void 0!==A?A:null===(S=k.locale)||void 0===S||null===(S=S.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==x?x:0,F=(0,c.toDate)(e);if(!(0,l.isValid)(F))throw new RangeError("Invalid time value");let I=t.match(d).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,a.longFormatters[t])(e,P.formatLong)}return e})).join("").match(u).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:m(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(f))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));P.localize.preprocessor&&(I=P.localize.preprocessor(F,I));const R={firstWeekContainsDate:D,weekStartsOn:N,locale:P};return I.map((r=>{if(!r.isToken)return r.value;const i=r.value;(null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,s.isProtectedWeekYearToken)(i))&&(null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,s.isProtectedDayOfYearToken)(i))||(0,s.warnOrThrowProtectedError)(i,t,String(e));return(0,o.formatters[i[0]])(F,i,P.localize,R)})).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return a.longFormatters}});var r=n(50395),i=n(98827),o=n(2547),a=n(64805),s=n(42972),l=n(44229),c=n(97926);const u=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,p=/''/g,f=/[a-zA-Z]/;function m(e){const t=e.match(h);return t?t[1].replace(p,"'"):e}},16391:(e,t,n)=>{"use strict";t.getDate=function(e){const t=(0,r.toDate)(e);return t.getDate()};var r=n(97926)},13753:(e,t,n)=>{"use strict";t.getDay=function(e){const t=(0,r.toDate)(e);return t.getDay()};var r=n(97926)},74437:(e,t,n)=>{"use strict";t.getDayOfYear=function(e){const t=(0,o.toDate)(e),n=(0,r.differenceInCalendarDays)(t,(0,i.startOfYear)(t));return n+1};var r=n(60838),i=n(627),o=n(97926)},26621:(e,t,n)=>{"use strict";t.getDaysInMonth=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),a=(0,i.constructFrom)(e,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()};var r=n(97926),i=n(49958)},80538:(e,t,n)=>{"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(98827)},41768:(e,t,n)=>{"use strict";t.getHours=function(e){const t=(0,r.toDate)(e);return t.getHours()};var r=n(97926)},30858:(e,t,n)=>{"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();0===t&&(t=7);return t};var r=n(97926)},85354:(e,t,n)=>{"use strict";t.getISOWeek=function(e){const t=(0,a.toDate)(e),n=+(0,i.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t);return Math.round(n/r.millisecondsInWeek)+1};var r=n(49790),i=n(97909),o=n(17460),a=n(97926)},79383:(e,t,n)=>{"use strict";t.getISOWeekYear=function(e){const t=(0,o.toDate)(e),n=t.getFullYear(),a=(0,r.constructFrom)(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const s=(0,i.startOfISOWeek)(a),l=(0,r.constructFrom)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const c=(0,i.startOfISOWeek)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(49958),i=n(97909),o=n(97926)},41142:(e,t,n)=>{"use strict";t.getMinutes=function(e){const t=(0,r.toDate)(e);return t.getMinutes()};var r=n(97926)},58725:(e,t,n)=>{"use strict";t.getMonth=function(e){const t=(0,r.toDate)(e);return t.getMonth()};var r=n(97926)},26119:(e,t,n)=>{"use strict";t.getQuarter=function(e){const t=(0,r.toDate)(e);return Math.trunc(t.getMonth()/3)+1};var r=n(97926)},39498:(e,t,n)=>{"use strict";t.getSeconds=function(e){const t=(0,r.toDate)(e);return t.getSeconds()};var r=n(97926)},48446:(e,t,n)=>{"use strict";t.getTime=function(e){const t=(0,r.toDate)(e);return t.getTime()};var r=n(97926)},78047:(e,t,n)=>{"use strict";t.getWeek=function(e,t){const n=(0,a.toDate)(e),s=+(0,i.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t);return Math.round(s/r.millisecondsInWeek)+1};var r=n(49790),i=n(43166),o=n(53811),a=n(97926)},26874:(e,t,n)=>{"use strict";t.getWeekYear=function(e,t){var n,s,l,c,u,d;const h=(0,o.toDate)(e),p=h.getFullYear(),f=(0,a.getDefaultOptions)(),m=null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:f.firstWeekContainsDate)&&void 0!==s?s:null===(d=f.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,g=(0,r.constructFrom)(e,0);g.setFullYear(p+1,0,m),g.setHours(0,0,0,0);const v=(0,i.startOfWeek)(g,t),C=(0,r.constructFrom)(e,0);C.setFullYear(p,0,m),C.setHours(0,0,0,0);const y=(0,i.startOfWeek)(C,t);return h.getTime()>=v.getTime()?p+1:h.getTime()>=y.getTime()?p:p-1};var r=n(49958),i=n(43166),o=n(97926),a=n(98827)},29742:(e,t,n)=>{"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(97926)},13117:(e,t,n)=>{"use strict";t.isAfter=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getTime()>i.getTime()};var r=n(97926)},96192:(e,t,n)=>{"use strict";t.isBefore=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return+n<+i};var r=n(97926)},3811:(e,t)=>{"use strict";t.isDate=function(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},12023:(e,t,n)=>{"use strict";t.isEqual=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return+n===+i};var r=n(97926)},78048:(e,t,n)=>{"use strict";t.isSameDay=function(e,t){const n=(0,r.startOfDay)(e),i=(0,r.startOfDay)(t);return+n===+i};var r=n(47894)},88959:(e,t,n)=>{"use strict";t.isSameMonth=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()};var r=n(97926)},51689:(e,t,n)=>{"use strict";t.isSameQuarter=function(e,t){const n=(0,r.startOfQuarter)(e),i=(0,r.startOfQuarter)(t);return+n===+i};var r=n(93084)},91488:(e,t,n)=>{"use strict";t.isSameYear=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()};var r=n(97926)},44229:(e,t,n)=>{"use strict";t.isValid=function(e){if(!(0,r.isDate)(e)&&"number"!==typeof e)return!1;const t=(0,i.toDate)(e);return!isNaN(Number(t))};var r=n(3811),i=n(97926)},62113:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t){const n=+(0,r.toDate)(e),[i,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n>=i&&n<=o};var r=n(97926)},50742:(e,t)=>{"use strict";t.buildFormatLongFn=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},90304:(e,t)=>{"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},18330:(e,t)=>{"use strict";t.buildMatchFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(a)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(a.length)}}}},89574:(e,t)=>{"use strict";t.buildMatchPatternFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(i.length)}}}},96220:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(80102),i=n(80263),o=n(43929),a=n(46737),s=n(99589);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:i.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},80102:(e,t)=>{"use strict";t.formatDistance=void 0;const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let i;const o=n[e];return i="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i}},80263:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(50742);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},43929:(e,t)=>{"use strict";t.formatRelative=void 0;const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,i)=>n[e]},46737:(e,t,n)=>{"use strict";t.localize=void 0;var r=n(90304);t.localize={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},99589:(e,t,n)=>{"use strict";t.match=void 0;var r=n(18330),i=n(89574);t.match={ordinalNumber:(0,i.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},18049:(e,t,n)=>{"use strict";t.max=function(e){let t;return e.forEach((function(e){const n=(0,r.toDate)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)})),t||new Date(NaN)};var r=n(97926)},63699:(e,t,n)=>{"use strict";t.min=function(e){let t;return e.forEach((e=>{const n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)})),t||new Date(NaN)};var r=n(97926)},92644:(e,t,n)=>{"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,v){var C,y,b,w,x,A,E,_,T,S,k,P,D,N;const F=(0,i.getDefaultOptions)(),I=null!==(C=null!==(y=null===v||void 0===v?void 0:v.locale)&&void 0!==y?y:F.locale)&&void 0!==C?C:o.defaultLocale,R=null!==(b=null!==(w=null!==(x=null!==(A=null===v||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==A?A:null===v||void 0===v||null===(E=v.locale)||void 0===E||null===(E=E.options)||void 0===E?void 0:E.firstWeekContainsDate)&&void 0!==x?x:F.firstWeekContainsDate)&&void 0!==w?w:null===(_=F.locale)||void 0===_||null===(_=_.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==b?b:1,M=null!==(T=null!==(S=null!==(k=null!==(P=null===v||void 0===v?void 0:v.weekStartsOn)&&void 0!==P?P:null===v||void 0===v||null===(D=v.locale)||void 0===D||null===(D=D.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==k?k:F.weekStartsOn)&&void 0!==S?S:null===(N=F.locale)||void 0===N||null===(N=N.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==T?T:0;if(""===t)return""===e?(0,a.toDate)(n):(0,r.constructFrom)(n,NaN);const O={firstWeekContainsDate:R,weekStartsOn:M,locale:I},j=[new u.DateToSystemTimezoneSetter],L=t.match(h).map((e=>{const t=e[0];if(t in s.longFormatters){return(0,s.longFormatters[t])(e,I.formatLong)}return e})).join("").match(d),B=[];for(let i of L){null!==v&&void 0!==v&&v.useAdditionalWeekYearTokens||!(0,l.isProtectedWeekYearToken)(i)||(0,l.warnOrThrowProtectedError)(i,t,e),null!==v&&void 0!==v&&v.useAdditionalDayOfYearTokens||!(0,l.isProtectedDayOfYearToken)(i)||(0,l.warnOrThrowProtectedError)(i,t,e);const o=i[0],a=c.parsers[o];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=B.find((e=>t.includes(e.token)||e.token===o));if(e)throw new RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(i,"` at the same time"))}else if("*"===a.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(i,"` and any other token at the same time"));B.push({token:o,fullToken:i});const s=a.run(e,i,I.match,O);if(!s)return(0,r.constructFrom)(n,NaN);j.push(s.setter),e=s.rest}else{if(o.match(g))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===i?i="'":"'"===o&&(i=i.match(p)[1].replace(f,"'")),0!==e.indexOf(i))return(0,r.constructFrom)(n,NaN);e=e.slice(i.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);const U=j.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>j.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let V=(0,a.toDate)(n);if(isNaN(V.getTime()))return(0,r.constructFrom)(n,NaN);const H={};for(const i of U){if(!i.validate(V,O))return(0,r.constructFrom)(n,NaN);const e=i.set(V,H,O);Array.isArray(e)?(V=e[0],Object.assign(H,e[1])):V=e}return(0,r.constructFrom)(n,V)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(49958),i=n(80538),o=n(50395),a=n(97926),s=n(64805),l=n(42972),c=n(26796),u=n(70301);const d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,h=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,f=/''/g,m=/\S/,g=/[a-zA-Z]/},99881:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(70301);t.Parser=class{run(e,t,n,i){const o=this.parse(e,t,n,i);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}},70301:(e,t,n)=>{"use strict";var r=n(58212).default;t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var i=n(49356),o=n(49958);class a{constructor(){r(this,"subPriority",0)}validate(e,t){return!0}}t.Setter=a;t.ValueSetter=class extends a{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}};t.DateToSystemTimezoneSetter=class extends a{constructor(){super(...arguments),r(this,"priority",10),r(this,"subPriority",-1)}set(e,t){return t.timestampIsSet?e:(0,o.constructFrom)(e,(0,i.transpose)(e,Date))}}},46577:(e,t)=>{"use strict";t.timezonePatterns=t.numericPatterns=void 0;t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},26796:(e,t,n)=>{"use strict";t.parsers=void 0;var r=n(93566),i=n(36081),o=n(75018),a=n(98176),s=n(60124),l=n(43376),c=n(27349),u=n(2130),d=n(36331),h=n(32171),p=n(29061),f=n(76536),m=n(87474),g=n(70102),v=n(51343),C=n(66264),y=n(79885),b=n(16505),w=n(64853),x=n(3563),A=n(52567),E=n(58152),_=n(84529),T=n(92270),S=n(34284),k=n(72424),P=n(86027),D=n(28336),N=n(49806),F=n(90709),I=n(40890);t.parsers={G:new r.EraParser,y:new i.YearParser,Y:new o.LocalWeekYearParser,R:new a.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new c.StandAloneQuarterParser,M:new u.MonthParser,L:new d.StandAloneMonthParser,w:new h.LocalWeekParser,I:new p.ISOWeekParser,d:new f.DateParser,D:new m.DayOfYearParser,E:new g.DayParser,e:new v.LocalDayParser,c:new C.StandAloneLocalDayParser,i:new y.ISODayParser,a:new b.AMPMParser,b:new w.AMPMMidnightParser,B:new x.DayPeriodParser,h:new A.Hour1to12Parser,H:new E.Hour0to23Parser,K:new _.Hour0To11Parser,k:new T.Hour1To24Parser,m:new S.MinuteParser,s:new k.SecondParser,S:new P.FractionOfSecondParser,X:new D.ISOTimezoneWithZParser,x:new N.ISOTimezoneParser,t:new F.TimestampSecondsParser,T:new I.TimestampMillisecondsParser}},64853:(e,t,n)=>{"use strict";var r=n(58212).default;t.AMPMMidnightParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.AMPMMidnightParser=a},16505:(e,t,n)=>{"use strict";var r=n(58212).default;t.AMPMParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.AMPMParser=a},76536:(e,t,n)=>{"use strict";var r=n(58212).default;t.DateParser=void 0;var i=n(46577),o=n(99881),a=n(1157);const s=[31,28,31,30,31,30,31,31,30,31,30,31],l=[31,29,31,30,31,30,31,31,30,31,30,31];class c extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"subPriority",1),r(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"d":return(0,a.parseNumericPattern)(i.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear(),r=(0,a.isLeapYearIndex)(n),i=e.getMonth();return r?t>=1&&t<=l[i]:t>=1&&t<=s[i]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}}t.DateParser=c},87474:(e,t,n)=>{"use strict";var r=n(58212).default;t.DayOfYearParser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"subpriority",1),r(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,t,n){switch(t){case"D":case"DD":return(0,a.parseNumericPattern)(i.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear();return(0,a.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}}t.DayOfYearParser=s},70102:(e,t,n)=>{"use strict";var r=n(58212).default;t.DayParser=void 0;var i=n(35389),o=n(99881);class a extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,i.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.DayParser=a},3563:(e,t,n)=>{"use strict";var r=n(58212).default;t.DayPeriodParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["a","b","t","T"])}parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.DayPeriodParser=a},93566:(e,t,n)=>{"use strict";var r=n(58212).default;t.EraParser=void 0;var i=n(99881);class o extends i.Parser{constructor(){super(...arguments),r(this,"priority",140),r(this,"incompatibleTokens",["R","u","t","T"])}parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}}t.EraParser=o},60124:(e,t,n)=>{"use strict";var r=n(58212).default;t.ExtendedYearParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,t){return"u"===t?(0,o.parseNDigitsSigned)(4,e):(0,o.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}}t.ExtendedYearParser=a},86027:(e,t,n)=>{"use strict";var r=n(58212).default;t.FractionOfSecondParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",30),r(this,"incompatibleTokens",["t","T"])}parse(e,t){return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}}t.FractionOfSecondParser=a},84529:(e,t,n)=>{"use strict";var r=n(58212).default;t.Hour0To11Parser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,t,n){switch(t){case"K":return(0,a.parseNumericPattern)(i.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}}t.Hour0To11Parser=s},58152:(e,t,n)=>{"use strict";var r=n(58212).default;t.Hour0to23Parser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,t,n){switch(t){case"H":return(0,a.parseNumericPattern)(i.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}}t.Hour0to23Parser=s},92270:(e,t,n)=>{"use strict";var r=n(58212).default;t.Hour1To24Parser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,t,n){switch(t){case"k":return(0,a.parseNumericPattern)(i.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}}t.Hour1To24Parser=s},52567:(e,t,n)=>{"use strict";var r=n(58212).default;t.Hour1to12Parser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,t,n){switch(t){case"h":return(0,a.parseNumericPattern)(i.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}}t.Hour1to12Parser=s},79885:(e,t,n)=>{"use strict";var r=n(58212).default;t.ISODayParser=void 0;var i=n(25166),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,a.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,a.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,a.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,a.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,a.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,i.setISODay)(e,n)).setHours(0,0,0,0),e}}t.ISODayParser=s},49806:(e,t,n)=>{"use strict";var r=n(58212).default;t.ISOTimezoneParser=void 0;var i=n(49958),o=n(79973),a=n(46577),s=n(99881),l=n(1157);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",10),r(this,"incompatibleTokens",["t","T","X"])}parse(e,t){switch(t){case"x":return(0,l.parseTimezonePattern)(a.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,l.parseTimezonePattern)(a.timezonePatterns.basic,e);case"xxxx":return(0,l.parseTimezonePattern)(a.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,l.parseTimezonePattern)(a.timezonePatterns.extendedOptionalSeconds,e);default:return(0,l.parseTimezonePattern)(a.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,i.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}}t.ISOTimezoneParser=c},28336:(e,t,n)=>{"use strict";var r=n(58212).default;t.ISOTimezoneWithZParser=void 0;var i=n(49958),o=n(79973),a=n(46577),s=n(99881),l=n(1157);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",10),r(this,"incompatibleTokens",["t","T","x"])}parse(e,t){switch(t){case"X":return(0,l.parseTimezonePattern)(a.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,l.parseTimezonePattern)(a.timezonePatterns.basic,e);case"XXXX":return(0,l.parseTimezonePattern)(a.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,l.parseTimezonePattern)(a.timezonePatterns.extendedOptionalSeconds,e);default:return(0,l.parseTimezonePattern)(a.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,i.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}}t.ISOTimezoneWithZParser=c},29061:(e,t,n)=>{"use strict";var r=n(58212).default;t.ISOWeekParser=void 0;var i=n(16262),o=n(97909),a=n(46577),s=n(99881),l=n(1157);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",100),r(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,t,n){switch(t){case"I":return(0,l.parseNumericPattern)(a.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,l.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,o.startOfISOWeek)((0,i.setISOWeek)(e,n))}}t.ISOWeekParser=c},98176:(e,t,n)=>{"use strict";var r=n(58212).default;t.ISOWeekYearParser=void 0;var i=n(97909),o=n(49958),a=n(99881),s=n(1157);class l extends a.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,t){return"R"===t?(0,s.parseNDigitsSigned)(4,e):(0,s.parseNDigitsSigned)(t.length,e)}set(e,t,n){const r=(0,o.constructFrom)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,i.startOfISOWeek)(r)}}t.ISOWeekYearParser=l},51343:(e,t,n)=>{"use strict";var r=n(58212).default;t.LocalDayParser=void 0;var i=n(35389),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),i);case"eo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,i.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.LocalDayParser=s},32171:(e,t,n)=>{"use strict";var r=n(58212).default;t.LocalWeekParser=void 0;var i=n(53083),o=n(43166),a=n(46577),s=n(99881),l=n(1157);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",100),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,t,n){switch(t){case"w":return(0,l.parseNumericPattern)(a.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,l.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,o.startOfWeek)((0,i.setWeek)(e,n,r),r)}}t.LocalWeekParser=c},75018:(e,t,n)=>{"use strict";var r=n(58212).default;t.LocalWeekYearParser=void 0;var i=n(26874),o=n(43166),a=n(99881),s=n(1157);class l extends a.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,s.mapValue)((0,s.parseNDigits)(4,e),r);case"Yo":return(0,s.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,s.mapValue)((0,s.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const a=(0,i.getWeekYear)(e,r);if(n.isTwoDigitYear){const t=(0,s.normalizeTwoDigitYear)(n.year,a);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,r)}const l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,r)}}t.LocalWeekYearParser=l},34284:(e,t,n)=>{"use strict";var r=n(58212).default;t.MinuteParser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",60),r(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"m":return(0,a.parseNumericPattern)(i.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}}t.MinuteParser=s},2130:(e,t,n)=>{"use strict";var r=n(58212).default;t.MonthParser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),r(this,"priority",110)}parse(e,t,n){const r=e=>e-1;switch(t){case"M":return(0,a.mapValue)((0,a.parseNumericPattern)(i.numericPatterns.month,e),r);case"MM":return(0,a.mapValue)((0,a.parseNDigits)(2,e),r);case"Mo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=s},43376:(e,t,n)=>{"use strict";var r=n(58212).default;t.QuarterParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",120),r(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"Q":case"QQ":return(0,o.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}}t.QuarterParser=a},72424:(e,t,n)=>{"use strict";var r=n(58212).default;t.SecondParser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",50),r(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"s":return(0,a.parseNumericPattern)(i.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}}t.SecondParser=s},66264:(e,t,n)=>{"use strict";var r=n(58212).default;t.StandAloneLocalDayParser=void 0;var i=n(35389),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),i);case"co":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,i.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.StandAloneLocalDayParser=s},36331:(e,t,n)=>{"use strict";var r=n(58212).default;t.StandAloneMonthParser=void 0;var i=n(46577),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",110),r(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,t,n){const r=e=>e-1;switch(t){case"L":return(0,a.mapValue)((0,a.parseNumericPattern)(i.numericPatterns.month,e),r);case"LL":return(0,a.mapValue)((0,a.parseNDigits)(2,e),r);case"Lo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.StandAloneMonthParser=s},27349:(e,t,n)=>{"use strict";var r=n(58212).default;t.StandAloneQuarterParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",120),r(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"q":case"qq":return(0,o.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}}t.StandAloneQuarterParser=a},40890:(e,t,n)=>{"use strict";var r=n(58212).default;t.TimestampMillisecondsParser=void 0;var i=n(49958),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",20),r(this,"incompatibleTokens","*")}parse(e){return(0,a.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,i.constructFrom)(e,n),{timestampIsSet:!0}]}}t.TimestampMillisecondsParser=s},90709:(e,t,n)=>{"use strict";var r=n(58212).default;t.TimestampSecondsParser=void 0;var i=n(49958),o=n(99881),a=n(1157);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",40),r(this,"incompatibleTokens","*")}parse(e){return(0,a.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,i.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}}t.TimestampSecondsParser=s},36081:(e,t,n)=>{"use strict";var r=n(58212).default;t.YearParser=void 0;var i=n(99881),o=n(1157);class a extends i.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,o.mapValue)((0,o.parseNDigits)(4,e),r);case"yo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=(0,o.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}t.YearParser=a},1157:(e,t,n)=>{"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400===0||e%4===0&&e%100!==0},t.mapValue=function(e,t){if(!e)return e;return{value:t(e.value),rest:e.rest}},t.normalizeTwoDigitYear=function(e,t){const n=t>0,r=n?t:1-t;let i;if(r<=50)i=e||100;else{const t=r+50;i=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?i:1-i},t.parseAnyDigitsSigned=function(e){return o(i.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigit,t);case 2:return o(i.numericPatterns.twoDigits,t);case 3:return o(i.numericPatterns.threeDigits,t);case 4:return o(i.numericPatterns.fourDigits,t);default:return o(new RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigitSigned,t);case 2:return o(i.numericPatterns.twoDigitsSigned,t);case 3:return o(i.numericPatterns.threeDigitsSigned,t);case 4:return o(i.numericPatterns.fourDigitsSigned,t);default:return o(new RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const i="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(o*r.millisecondsInHour+a*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(49790),i=n(46577);function o(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},73891:(e,t,n)=>{"use strict";t.parseISO=function(e,t){var n;const h=null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2,p=function(e){const t={},n=e.split(i.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],i.timeZoneDelimiter.test(t.date)&&(t.date=e.split(i.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=i.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let f;if(p.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(p.date,h);f=function(e,t){if(null===t)return new Date(NaN);const n=e.match(o);if(!n)return new Date(NaN);const r=!!n[4],i=l(n[1]),a=l(n[2])-1,s=l(n[3]),c=l(n[4]),h=l(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,h)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,c,h):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(u[t]||(d(e)?29:28))}(t,a,s)&&function(e,t){return t>=1&&t<=(d(e)?366:365)}(t,i)?(e.setUTCFullYear(t,a,Math.max(i,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!f||isNaN(f.getTime()))return new Date(NaN);const m=f.getTime();let g,v=0;if(p.time&&(v=function(e){const t=e.match(a);if(!t)return NaN;const n=c(t[1]),i=c(t[2]),o=c(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,o))return NaN;return n*r.millisecondsInHour+i*r.millisecondsInMinute+1e3*o}(p.time),isNaN(v)))return new Date(NaN);if(!p.timezone){const e=new Date(m+v),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}if(g=function(e){if("Z"===e)return 0;const t=e.match(s);if(!t)return 0;const n="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(i*r.millisecondsInHour+o*r.millisecondsInMinute)}(p.timezone),isNaN(g))return new Date(NaN);return new Date(m+v+g)};var r=n(49790);const i={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,a=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}const u=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400===0||e%4===0&&e%100!==0}},32159:(e,t,n)=>{"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);null!=t.year&&n.setFullYear(t.year);null!=t.month&&(n=(0,i.setMonth)(n,t.month));null!=t.date&&n.setDate(t.date);null!=t.hours&&n.setHours(t.hours);null!=t.minutes&&n.setMinutes(t.minutes);null!=t.seconds&&n.setSeconds(t.seconds);null!=t.milliseconds&&n.setMilliseconds(t.milliseconds);return n};var r=n(49958),i=n(6593),o=n(97926)},35389:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){var a,s,l,c,u,d;const h=(0,o.getDefaultOptions)(),p=null!==(a=null!==(s=null!==(l=null!==(c=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:null===n||void 0===n||null===(u=n.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:0,f=(0,i.toDate)(e),m=f.getDay(),g=(t%7+7)%7,v=7-p,C=t<0||t>6?t-(m+v)%7:(g+v)%7-(m+v)%7;return(0,r.addDays)(f,C)};var r=n(13587),i=n(97926),o=n(98827)},22820:(e,t,n)=>{"use strict";t.setHours=function(e,t){const n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(97926)},25166:(e,t,n)=>{"use strict";t.setISODay=function(e,t){const n=(0,o.toDate)(e),a=(0,i.getISODay)(n),s=t-a;return(0,r.addDays)(n,s)};var r=n(13587),i=n(30858),o=n(97926)},16262:(e,t,n)=>{"use strict";t.setISOWeek=function(e,t){const n=(0,i.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n(85354),i=n(97926)},23610:(e,t,n)=>{"use strict";t.setMinutes=function(e,t){const n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(97926)},6593:(e,t,n)=>{"use strict";t.setMonth=function(e,t){const n=(0,o.toDate)(e),a=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(e,0);l.setFullYear(a,t,15),l.setHours(0,0,0,0);const c=(0,i.getDaysInMonth)(l);return n.setMonth(t,Math.min(s,c)),n};var r=n(49958),i=n(26621),o=n(97926)},43035:(e,t,n)=>{"use strict";t.setQuarter=function(e,t){const n=(0,i.toDate)(e),o=Math.trunc(n.getMonth()/3)+1,a=t-o;return(0,r.setMonth)(n,n.getMonth()+3*a)};var r=n(6593),i=n(97926)},52374:(e,t,n)=>{"use strict";t.setSeconds=function(e,t){const n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(97926)},53083:(e,t,n)=>{"use strict";t.setWeek=function(e,t,n){const o=(0,i.toDate)(e),a=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*a),o};var r=n(78047),i=n(97926)},57530:(e,t,n)=>{"use strict";t.setYear=function(e,t){const n=(0,i.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);return n.setFullYear(t),n};var r=n(49958),i=n(97926)},47894:(e,t,n)=>{"use strict";t.startOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(97926)},97909:(e,t,n)=>{"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(43166)},17460:(e,t,n)=>{"use strict";t.startOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,i.startOfISOWeek)(n)};var r=n(79383),i=n(97909),o=n(49958)},20502:(e,t,n)=>{"use strict";t.startOfMonth=function(e){const t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(97926)},93084:(e,t,n)=>{"use strict";t.startOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t};var r=n(97926)},43166:(e,t,n)=>{"use strict";t.startOfWeek=function(e,t){var n,o,a,s,l,c;const u=(0,i.getDefaultOptions)(),d=null!==(n=null!==(o=null!==(a=null!==(s=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==s?s:null===t||void 0===t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:u.weekStartsOn)&&void 0!==o?o:null===(c=u.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,h=(0,r.toDate)(e),p=h.getDay(),f=(p<d?7:0)+p-d;return h.setDate(h.getDate()-f),h.setHours(0,0,0,0),h};var r=n(97926),i=n(98827)},53811:(e,t,n)=>{"use strict";t.startOfWeekYear=function(e,t){var n,s,l,c,u,d;const h=(0,a.getDefaultOptions)(),p=null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:h.firstWeekContainsDate)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,f=(0,i.getWeekYear)(e,t),m=(0,r.constructFrom)(e,0);m.setFullYear(f,0,p),m.setHours(0,0,0,0);return(0,o.startOfWeek)(m,t)};var r=n(49958),i=n(26874),o=n(43166),a=n(98827)},627:(e,t,n)=>{"use strict";t.startOfYear=function(e){const t=(0,r.toDate)(e),n=(0,i.constructFrom)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n(97926),i=n(49958)},29842:(e,t,n)=>{"use strict";t.subDays=function(e,t){return(0,r.addDays)(e,-t)};var r=n(13587)},54366:(e,t,n)=>{"use strict";t.subMonths=function(e,t){return(0,r.addMonths)(e,-t)};var r=n(66627)},46888:(e,t,n)=>{"use strict";t.subQuarters=function(e,t){return(0,r.addQuarters)(e,-t)};var r=n(88929)},19116:(e,t,n)=>{"use strict";t.subWeeks=function(e,t){return(0,r.addWeeks)(e,-t)};var r=n(71583)},15971:(e,t,n)=>{"use strict";t.subYears=function(e,t){return(0,r.addYears)(e,-t)};var r=n(73820)},97926:(e,t)=>{"use strict";t.toDate=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}},49356:(e,t,n)=>{"use strict";t.transpose=function(e,t){const n=t instanceof Date?(0,r.constructFrom)(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n};var r=n(49958)},73969:(e,t,n)=>{"use strict";var r=n(61462),i=n(86756);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function C(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(f,e)||!d.call(p,e)&&(h.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,C);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,C);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,C);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),S=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var I=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function M(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var O,j=Object.assign;function L(e){if(void 0===O)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);O=t&&t[1]||""}return"\n"+O+e}var B=!1;function U(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var i=c.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function V(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case A:return"Fragment";case x:return"Portal";case _:return"Profiler";case E:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return H(e(t))}catch(n){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){X(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function oe(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Ae=null,Ee=null;function _e(e){if(e=yi(e)){if("function"!==typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=wi(t),xe(e.stateNode,e.type,t))}}function Te(e){Ae?Ee?Ee.push(e):Ee=[e]:Ae=e}function Se(){if(Ae){var e=Ae,t=Ee;if(Ee=Ae=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function ke(e,t){return e(t)}function Pe(){}var De=!1;function Ne(e,t,n){if(De)return e(t,n);De=!0;try{return ke(e,t,n)}finally{De=!1,(null!==Ae||null!==Ee)&&(Pe(),Se())}}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=wi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Ie=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Ie=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Ie=!1}function Me(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Oe=!1,je=null,Le=!1,Be=null,Ue={onError:function(e){Oe=!0,je=e}};function Ve(e,t,n,r,i,o,a,s,l){Oe=!1,je=null,Me.apply(Ue,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(He(e)!==e)throw Error(o(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ze(i),e;if(a===r)return Ze(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Ke=i.unstable_shouldYield,Qe=i.unstable_requestPaint,Xe=i.unstable_now,Je=i.unstable_getCurrentPriorityLevel,$e=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=dt(s):0!==(o&=a)&&(r=dt(o))}else 0!==(a=n&~i)?r=dt(a):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function Ct(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,xt,At,Et,_t,Tt=!1,St=[],kt=null,Pt=null,Dt=null,Nt=new Map,Ft=new Map,It=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":kt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ft.delete(t.pointerId)}}function Ot(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=yi(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function jt(e){var t=Ci(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ze(n)))return e.blockedOn=t,void _t(e.priority,(function(){At(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yi(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Bt(e,t,n){Lt(e)&&n.delete(t)}function Ut(){Tt=!1,null!==kt&&Lt(kt)&&(kt=null),null!==Pt&&Lt(Pt)&&(Pt=null),null!==Dt&&Lt(Dt)&&(Dt=null),Nt.forEach(Bt),Ft.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ut)))}function Ht(e){function t(t){return Vt(t,e)}if(0<St.length){Vt(St[0],e);for(var n=1;n<St.length;n++){var r=St[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Vt(kt,e),null!==Pt&&Vt(Pt,e),null!==Dt&&Vt(Dt,e),Nt.forEach(t),Ft.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)jt(n),null===n.blockedOn&&It.shift()}var zt=b.ReactCurrentBatchConfig,Zt=!0;function Wt(e,t,n,r){var i=yt,o=zt.transition;zt.transition=null;try{yt=1,Gt(e,t,n,r)}finally{yt=i,zt.transition=o}}function qt(e,t,n,r){var i=yt,o=zt.transition;zt.transition=null;try{yt=4,Gt(e,t,n,r)}finally{yt=i,zt.transition=o}}function Gt(e,t,n,r){if(Zt){var i=Kt(e,t,n,r);if(null===i)Zr(e,t,r,Yt,n),Mt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return kt=Ot(kt,e,t,n,r,i),!0;case"dragenter":return Pt=Ot(Pt,e,t,n,r,i),!0;case"mouseover":return Dt=Ot(Dt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Nt.set(o,Ot(Nt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ft.set(o,Ot(Ft.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==i;){var o=yi(i);if(null!==o&&wt(o),null===(o=Kt(e,t,n,r))&&Zr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Yt=null;function Kt(e,t,n,r){if(Yt=null,null!==(e=Ci(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case $e:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Jt=null,$t=null;function en(){if($t)return $t;var e,t,n=Jt,r=n.length,i="value"in Xt?Xt.value:Xt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return $t=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=j({},cn,{view:0,detail:0}),hn=on(dn),pn=j({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),fn=on(pn),mn=on(j({},pn,{dataTransfer:0})),gn=on(j({},dn,{relatedTarget:0})),vn=on(j({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),Cn=j({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(Cn),bn=on(j({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function _n(){return En}var Tn=j({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sn=on(Tn),kn=on(j({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(j({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Dn=on(j({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=j({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fn=on(Nn),In=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Mn=null;u&&"documentMode"in document&&(Mn=document.documentMode);var On=u&&"TextEvent"in window&&!Mn,jn=u&&(!Rn||Mn&&8<Mn&&11>=Mn),Ln=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function Wn(e,t,n,r){Te(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Yn(e){Lr(e,0)}function Kn(e){if(G(bi(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Jn;if(u){var $n="oninput"in document;if(!$n){var er=document.createElement("div");er.setAttribute("oninput","return;"),$n="function"===typeof er.oninput}Jn=$n}else Jn=!1;Xn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Gn=qn=null)}function nr(e){if("value"===e.propertyName&&Kn(Gn)){var t=[];Wn(t,Gn,e,we(e)),Ne(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Gn)}function or(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ur(n,o);var a=ur(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,Cr=null,yr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==Y(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Cr&&lr(Cr,r)||(Cr=r,0<(r=qr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Ar={},Er={};function _r(e){if(Ar[e])return Ar[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Ar[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Tr=_r("animationend"),Sr=_r("animationiteration"),kr=_r("animationstart"),Pr=_r("transitionend"),Dr=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Fr(e,t){Dr.set(e,t),l(t,[e])}for(var Ir=0;Ir<Nr.length;Ir++){var Rr=Nr[Ir];Fr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Fr(Tr,"onAnimationEnd"),Fr(Sr,"onAnimationIteration"),Fr(kr,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,c){if(Ve.apply(this,arguments),Oe){if(!Oe)throw Error(o(198));var u=je;Oe=!1,je=null,Le||(Le=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=l}}}if(Le)throw e=Be,Le=!1,Be=null,e}function Br(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(zr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),zr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Vr]){e[Vr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Or.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Ur("selectionchange",!1,t))}}function zr(e,t,n,r){switch(Qt(t)){case 1:var i=Wt;break;case 4:i=qt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Ie||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=Ci(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Ne((function(){var r=o,i=we(n),a=[];e:{var s=Dr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Tr:case Sr:case kr:l=vn;break;case Pr:l=Dn;break;case"scroll":l=hn;break;case"wheel":l=Fn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=kn}var u=0!==(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&(null!=(m=Fe(f,h))&&u.push(Wr(f,m,p)))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(c=n.relatedTarget||n.fromElement)||!Ci(c)&&!c[fi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ci(c):null)&&(c!==(d=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=fn,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=kn,m="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?s:bi(l),p=null==c?s:bi(c),(s=new u(m,f+"leave",l,n,i)).target=d,s.relatedTarget=p,m=null,Ci(i)===r&&((u=new u(h,f+"enter",c,n,i)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,f=0,p=u=l;p;p=Gr(p))f++;for(p=0,m=h;m;m=Gr(m))p++;for(;0<f-p;)u=Gr(u),f--;for(;0<p-f;)h=Gr(h),p--;for(;f--;){if(u===h||null!==h&&u===h.alternate)break e;u=Gr(u),h=Gr(h)}u=null}else u=null;null!==l&&Yr(a,s,l,u,!1),null!==c&&null!==d&&Yr(a,d,c,u,!0)}if("select"===(l=(s=r?bi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if(Zn(s))if(Xn)g=ar;else{g=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Wn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?bi(r):window,e){case"focusin":(Zn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,Cr=null);break;case"focusout":Cr=vr=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,br(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(a,n,i)}var C;if(Rn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?Un(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(jn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(C=en()):(Jt="value"in(Xt=i)?Xt.value:Xt.textContent,Hn=!0)),0<(v=qr(r,y)).length&&(y=new bn(y,e,null,n,i),a.push({event:y,listeners:v}),C?y.data=C:null!==(C=Vn(n))&&(y.data=C))),(C=On?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Rn&&Un(e,t)?(e=en(),$t=Jt=Xt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=C))}Lr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Fe(e,n))&&r.unshift(Wr(e,o,i)),null!=(o=Fe(e,t))&&r.push(Wr(e,o,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Fe(n,o))&&a.unshift(Wr(n,l,s)):i||null!=(l=Fe(n,o))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Qr,"")}function Jr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function $r(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,oi="function"===typeof Promise?Promise:void 0,ai="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),hi="__reactFiber$"+di,pi="__reactProps$"+di,fi="__reactContainer$"+di,mi="__reactEvents$"+di,gi="__reactListeners$"+di,vi="__reactHandles$"+di;function Ci(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ui(e);null!==e;){if(n=e[hi])return n;e=ui(e)}return t}n=(e=n).parentNode}return null}function yi(e){return!(e=e[hi]||e[fi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function bi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wi(e){return e[pi]||null}var xi=[],Ai=-1;function Ei(e){return{current:e}}function _i(e){0>Ai||(e.current=xi[Ai],xi[Ai]=null,Ai--)}function Ti(e,t){Ai++,xi[Ai]=e.current,e.current=t}var Si={},ki=Ei(Si),Pi=Ei(!1),Di=Si;function Ni(e,t){var n=e.type.contextTypes;if(!n)return Si;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ii(){_i(Pi),_i(ki)}function Ri(e,t,n){if(ki.current!==Si)throw Error(o(168));Ti(ki,t),Ti(Pi,n)}function Mi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,z(e)||"Unknown",i));return j({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Si,Di=ki.current,Ti(ki,e),Ti(Pi,Pi.current),!0}function ji(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Mi(e,t,Di),r.__reactInternalMemoizedMergedChildContext=e,_i(Pi),_i(ki),Ti(ki,e)):_i(Pi),Ti(Pi,n)}var Li=null,Bi=!1,Ui=!1;function Vi(e){null===Li?Li=[e]:Li.push(e)}function Hi(){if(!Ui&&null!==Li){Ui=!0;var e=0,t=yt;try{var n=Li;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Li=null,Bi=!1}catch(i){throw null!==Li&&(Li=Li.slice(e+1)),Ge($e,Hi),i}finally{yt=t,Ui=!1}}return null}var zi=[],Zi=0,Wi=null,qi=0,Gi=[],Yi=0,Ki=null,Qi=1,Xi="";function Ji(e,t){zi[Zi++]=qi,zi[Zi++]=Wi,Wi=e,qi=t}function $i(e,t,n){Gi[Yi++]=Qi,Gi[Yi++]=Xi,Gi[Yi++]=Ki,Ki=e;var r=Qi;e=Xi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Qi=1<<32-at(t)+i|n<<i|r,Xi=o+e}else Qi=1<<o|n<<i|r,Xi=e}function eo(e){null!==e.return&&(Ji(e,1),$i(e,1,0))}function to(e){for(;e===Wi;)Wi=zi[--Zi],zi[Zi]=null,qi=zi[--Zi],zi[Zi]=null;for(;e===Ki;)Ki=Gi[--Yi],Gi[Yi]=null,Xi=Gi[--Yi],Gi[Yi]=null,Qi=Gi[--Yi],Gi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Nc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ki?{id:Qi,overflow:Xi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function ho(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ci(e.nextSibling)}function fo(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=b.ReactCurrentBatchConfig;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Co(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yo(e){return(0,e._init)(e._payload)}function bo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ic(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=jc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===A?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===F&&yo(o)===t.type)?((r=i(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Mc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=jc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case x:return(t=Lc(t,e.mode,n)).return=e,t;case F:return h(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Mc(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case x:return n.key===i?u(e,t,n,r):null;case F:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||M(n))return null!==i?null:d(e,t,n,r,null);Co(e,n)}return null}function f(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case F:return f(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||M(r))return d(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function m(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(i,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),o=a(v,o,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(i,d),io&&Ji(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=h(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return io&&Ji(i,m),c}for(d=r(i,d);m<s.length;m++)null!==(g=f(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(i,e)})),io&&Ji(i,m),c}function g(i,s,l,c){var u=M(l);if("function"!==typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,g=s=0,v=null,C=l.next();null!==m&&!C.done;g++,C=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(i,m,C.value,c);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(i,m),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y,m=v}if(C.done)return n(i,m),io&&Ji(i,g),u;if(null===m){for(;!C.done;g++,C=l.next())null!==(C=h(i,C.value,c))&&(s=a(C,s,g),null===d?u=C:d.sibling=C,d=C);return io&&Ji(i,g),u}for(m=r(i,m);!C.done;g++,C=l.next())null!==(C=f(m,i,g,C.value,c))&&(e&&null!==C.alternate&&m.delete(null===C.key?g:C.key),s=a(C,s,g),null===d?u=C:d.sibling=C,d=C);return e&&m.forEach((function(e){return t(i,e)})),io&&Ji(i,g),u}return function e(r,o,a,l){if("object"===typeof a&&null!==a&&a.type===A&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=o;null!==u;){if(u.key===c){if((c=a.type)===A){if(7===u.tag){n(r,u.sibling),(o=i(u,a.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===F&&yo(c)===u.type){n(r,u.sibling),(o=i(u,a.props)).ref=vo(r,u,a),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===A?((o=Mc(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Rc(a.type,a.key,a.props,null,r.mode,l)).ref=vo(r,o,a),l.return=r,r=l)}return s(r);case x:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Lc(a,r.mode,l)).return=r,r=o}return s(r);case F:return e(r,o,(u=a._init)(a._payload),l)}if(te(a))return m(r,o,a,l);if(M(a))return g(r,o,a,l);Co(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=jc(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var wo=bo(!0),xo=bo(!1),Ao=Ei(null),Eo=null,_o=null,To=null;function So(){To=_o=Eo=null}function ko(e){var t=Ao.current;_i(Ao),e._currentValue=t}function Po(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Do(e,t){Eo=e,To=_o=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ys=!0),e.firstContext=null)}function No(e){var t=e._currentValue;if(To!==e)if(e={context:e,memoizedValue:t,next:null},null===_o){if(null===Eo)throw Error(o(308));_o=e,Eo.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return t}var Fo=null;function Io(e){null===Fo?Fo=[e]:Fo.push(e)}function Ro(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Io(t)):(n.next=i.next,i.next=n),t.interleaved=n,Mo(e,r)}function Mo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Oo=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Uo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&kl)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Mo(e,n)}return null===(i=r.interleaved)?(t.next=t,Io(r)):(t.next=i.next,i.next=t),r.interleaved=t,Mo(e,n)}function Vo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ct(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zo(e,t,n,r){var i=e.updateQueue;Oo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var h=s.lane,p=s.eventTime;if((r&h)===h){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(h=t,p=n,m.tag){case 1:if("function"===typeof(f=m.payload)){d=f.call(p,d,h);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null===(h="function"===typeof(f=m.payload)?f.call(p,d,h):f)||void 0===h)break e;d=j({},d,h);break e;case 2:Oo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else p={eventTime:p,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Ol|=a,e.lanes=a,e.memoizedState=d}}function Zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var Wo={},qo=Ei(Wo),Go=Ei(Wo),Yo=Ei(Wo);function Ko(e){if(e===Wo)throw Error(o(174));return e}function Qo(e,t){switch(Ti(Yo,t),Ti(Go,e),Ti(qo,Wo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_i(qo),Ti(qo,t)}function Xo(){_i(qo),_i(Go),_i(Yo)}function Jo(e){Ko(Yo.current);var t=Ko(qo.current),n=le(t,e.type);t!==n&&(Ti(Go,e),Ti(qo,n))}function $o(e){Go.current===e&&(_i(qo),_i(Go))}var ea=Ei(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=b.ReactCurrentDispatcher,oa=b.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,ha=0,pa=0;function fa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?$a:es,e=n(r,i),da){a=0;do{if(da=!1,ha=0,25<=a)throw Error(o(301));a+=1,ca=la=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(da)}if(ia.current=Ja,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(o(300));return e}function va(){var e=0!==ha;return ha=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ya(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(o(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function ba(e,t){return"function"===typeof t?t(e):t}function wa(e){var t=ya(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=la,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=r):c=c.next=h,sa.lanes|=d,Ol|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Ol|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xa(e){var t=ya(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function Ea(e,t){var n=sa,r=ya(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,ys=!0),r=r.queue,Oa(Sa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Na(9,Ta.bind(null,n,r,i,t),void 0,null),null===Pl)throw Error(o(349));0!==(30&aa)||_a(n,t,i)}return i}function _a(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ta(e,t,n,r){t.value=n,t.getSnapshot=r,ka(t)&&Pa(e)}function Sa(e,t,n){return n((function(){ka(t)&&Pa(e)}))}function ka(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Pa(e){var t=Mo(e,1);null!==t&&nc(t,e,1,-1)}function Da(e){var t=Ca();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ba,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Na(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fa(){return ya().memoizedState}function Ia(e,t,n,r){var i=Ca();sa.flags|=e,i.memoizedState=Na(1|t,n,void 0,void 0===r?null:r)}function Ra(e,t,n,r){var i=ya();r=void 0===r?null:r;var o=void 0;if(null!==la){var a=la.memoizedState;if(o=a.destroy,null!==r&&ma(r,a.deps))return void(i.memoizedState=Na(t,n,o,r))}sa.flags|=e,i.memoizedState=Na(1|t,n,o,r)}function Ma(e,t){return Ia(8390656,8,e,t)}function Oa(e,t){return Ra(2048,8,e,t)}function ja(e,t){return Ra(4,2,e,t)}function La(e,t){return Ra(4,4,e,t)}function Ba(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ua(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ra(4,4,Ba.bind(null,t,e),n)}function Va(){}function Ha(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function za(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Za(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),sa.lanes|=n,Ol|=n,e.baseState=!0),t)}function Wa(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{yt=n,oa.transition=r}}function qa(){return ya().memoizedState}function Ga(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ka(e))Qa(t,n);else if(null!==(n=Ro(e,t,n,r))){nc(n,e,r,ec()),Xa(n,t,r)}}function Ya(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ka(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(i.next=i,Io(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(c){}null!==(n=Ro(e,t,i,r))&&(nc(n,e,r,i=ec()),Xa(n,t,r))}}function Ka(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xa(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ct(e,n)}}var Ja={readContext:No,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useInsertionEffect:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useSyncExternalStore:fa,useId:fa,unstable_isNewReconciler:!1},$a={readContext:No,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:No,useEffect:Ma,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ia(4194308,4,Ba.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ia(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Da,useDebugValue:Va,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Da(!1),t=e[0];return e=Wa.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=Ca();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Pl)throw Error(o(349));0!==(30&aa)||_a(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Ma(Sa.bind(null,r,a,e),[e]),r.flags|=2048,Na(9,Ta.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Pl.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Qi&~(1<<32-at(Qi)-1)).toString(32)+n),0<(n=ha++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:No,useCallback:Ha,useContext:No,useEffect:Oa,useImperativeHandle:Ua,useInsertionEffect:ja,useLayoutEffect:La,useMemo:za,useReducer:wa,useRef:Fa,useState:function(){return wa(ba)},useDebugValue:Va,useDeferredValue:function(e){return Za(ya(),la.memoizedState,e)},useTransition:function(){return[wa(ba)[0],ya().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ea,useId:qa,unstable_isNewReconciler:!1},ts={readContext:No,useCallback:Ha,useContext:No,useEffect:Oa,useImperativeHandle:Ua,useInsertionEffect:ja,useLayoutEffect:La,useMemo:za,useReducer:xa,useRef:Fa,useState:function(){return xa(ba)},useDebugValue:Va,useDeferredValue:function(e){var t=ya();return null===la?t.memoizedState=e:Za(t,la.memoizedState,e)},useTransition:function(){return[xa(ba)[0],ya().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ea,useId:qa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Bo(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,i))&&(nc(t,e,i,r),Vo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Bo(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,i))&&(nc(t,e,i,r),Vo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=Bo(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Uo(e,i,r))&&(nc(t,e,r,n),Vo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,o))}function as(e,t,n){var r=!1,i=Si,o=t.contextType;return"object"===typeof o&&null!==o?o=No(o):(i=Fi(t)?Di:ki.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ni(e,i):Si),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},jo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=No(o):(o=Fi(t)?Di:ki.current,i.context=Ni(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),zo(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Bo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zl||(Zl=!0,Wl=r),ds(0,t)},n}function fs(e,t,n){(n=Bo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Bo(-1,1)).tag=2,Uo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var Cs=b.ReactCurrentOwner,ys=!1;function bs(e,t,n,r){t.child=null===e?xo(t,null,n,r):wo(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var o=t.ref;return Do(t,i),r=ga(e,t,n,r,o,i),n=va(),null===e||ys?(io&&n&&eo(t),t.flags|=1,bs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zs(e,t,i))}function xs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Fc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,As(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Zs(e,t,i)}return t.flags|=1,(e=Ic(o,r)).ref=t.ref,e.return=t,t.child=e}function As(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Zs(e,t,i);0!==(131072&e.flags)&&(ys=!0)}}return Ts(e,t,n,r,i)}function Es(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ti(Il,Fl),Fl|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ti(Il,Fl),Fl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ti(Il,Fl),Fl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ti(Il,Fl),Fl|=r;return bs(e,t,i,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,i){var o=Fi(n)?Di:ki.current;return o=Ni(t,o),Do(t,i),n=ga(e,t,n,r,o,i),r=va(),null===e||ys?(io&&r&&eo(t),t.flags|=1,bs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zs(e,t,i))}function Ss(e,t,n,r,i){if(Fi(n)){var o=!0;Oi(t)}else o=!1;if(Do(t,i),null===t.stateNode)zs(e,t),as(t,n,r),ls(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=No(c):c=Ni(t,c=Fi(n)?Di:ki.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),Oo=!1;var h=t.memoizedState;a.state=h,zo(t,r,a,i),l=t.memoizedState,s!==r||h!==l||Pi.current||Oo?("function"===typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Oo||os(t,n,s,r,h,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,d=t.pendingProps,h=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=No(l):l=Ni(t,l=Fi(n)?Di:ki.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||h!==l)&&ss(t,a,r,l),Oo=!1,h=t.memoizedState,a.state=h,zo(t,r,a,i);var f=t.memoizedState;s!==d||h!==f||Pi.current||Oo?("function"===typeof p&&(rs(t,n,p,r),f=t.memoizedState),(c=Oo||os(t,n,c,r,h,f,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return ks(e,t,n,r,o,i)}function ks(e,t,n,r,i,o){_s(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&ji(t,n,!1),Zs(e,t,o);r=t.stateNode,Cs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wo(t,e.child,null,o),t.child=wo(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,i&&ji(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),Qo(e,t.containerInfo)}function Ds(e,t,n,r,i){return fo(),mo(i),t.flags|=256,bs(e,t,n,r),t.child}var Ns,Fs,Is,Rs,Ms={dehydrated:null,treeContext:null,retryLane:0};function Os(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ti(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Oc(l,i,0,null),e=Mc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Os(n),t.memoizedState=Ms,e):Ls(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Bs(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Oc({mode:"visible",children:r.children},i,0,null),(a=Mc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&wo(t,e.child,null,s),t.child.memoizedState=Os(s),t.memoizedState=Ms,a);if(0===(1&t.mode))return Bs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Bs(e,t,s,r=us(a=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),ys||l){if(null!==(r=Pl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Mo(e,i),nc(r,e,i,-1))}return mc(),Bs(e,t,s,r=us(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Sc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[Yi++]=Qi,Gi[Yi++]=Xi,Gi[Yi++]=Ki,Qi=e.id,Xi=e.overflow,Ki=t),t=Ls(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Ic(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Ic(r,s):(s=Mc(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Os(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ms,i}return e=(s=e.child).sibling,i=Ic(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ls(e,t){return(t=Oc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bs(e,t,n,r){return null!==r&&mo(r),wo(t,e.child,null,n),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Po(e.return,t,n)}function Vs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ti(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Vs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Vs(t,!0,n,null,o);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ol|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Fi(t.type)&&Ii(),qs(t),null;case 3:return r=t.stateNode,Xo(),_i(Pi),_i(ki),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Fs(e,t),qs(t),null;case 5:$o(t);var i=Ko(Yo.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return qs(t),null}if(e=Ko(qo.current),ho(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[hi]=t,r[pi]=a,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Mr.length;i++)Br(Mr[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Q(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":ie(r,a),Br("invalid",r)}for(var l in Ce(n,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),i=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":q(r),$(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=$r)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[pi]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Br("cancel",e),Br("close",e),i=r;break;case"iframe":case"object":case"embed":Br("load",e),i=r;break;case"video":case"audio":for(i=0;i<Mr.length;i++)Br(Mr[i],e);i=r;break;case"source":Br("error",e),i=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=r;break;case"details":Br("toggle",e),i=r;break;case"input":Q(e,r),i=K(e,r),Br("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Br("invalid",e)}for(a in Ce(n,i),c=i)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&he(e,u):"number"===typeof u&&he(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Br("scroll",e):null!=u&&y(e,a,u,l))}switch(n){case"input":q(e),$(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=$r)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Rs(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=Ko(Yo.current),Ko(qo.current),ho(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return qs(t),null;case 13:if(_i(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))po(),fo(),t.flags|=98560,a=!1;else if(a=ho(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[hi]=t}else fo(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Rl&&(Rl=3):mc())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Xo(),Fs(e,t),null===e&&Hr(t.stateNode.containerInfo),qs(t),null;case 10:return ko(t.type._context),qs(t),null;case 19:if(_i(ea),null===(a=t.memoizedState))return qs(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Ws(a,!1);else{if(0!==Rl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Ws(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ti(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Hl&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return qs(t),null}else 2*Xe()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ea.current,Ti(ea,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Fl)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ys(e,t){switch(to(t),t.tag){case 1:return Fi(t.type)&&Ii(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xo(),_i(Pi),_i(ki),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return $o(t),null;case 13:if(_i(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));fo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _i(ea),null;case 4:return Xo(),null;case 10:return ko(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Fs=function(){},Is=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ko(qo.current);var o,a=null;switch(n){case"input":i=K(e,i),r=K(e,r),a=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=$r)}for(u in Ce(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Qs=!1,Xs="function"===typeof WeakSet?WeakSet:Set,Js=null;function $s(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&el(t,n,o)}i=i.next}while(i!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[hi],delete t[pi],delete t[mi],delete t[gi],delete t[vi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Qs||$s(n,t);case 6:var r=ul,i=dl;ul=null,hl(e,t,n),dl=i,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Ht(e)):li(ul,n.stateNode));break;case 4:r=ul,i=dl,ul=n.stateNode.containerInfo,dl=!0,hl(e,t,n),ul=r,dl=i;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&el(n,t,a),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Qs&&($s(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ec(n,t,s)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=r):hl(e,t,n);break;default:hl(e,t,n)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=kc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));pl(a,s,i),ul=null,dl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(u){Ec(i,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(g){Ec(e,e.return,g)}try{nl(5,e,e.return)}catch(g){Ec(e,e.return,g)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&$s(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&$s(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(g){Ec(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&X(i,a),ye(l,s);var u=ye(l,a);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?ge(i,h):"dangerouslySetInnerHTML"===d?de(i,h):"children"===d?he(i,h):y(i,d,h,u)}switch(l){case"input":J(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(i,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(g){Ec(e,e.return,g)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){Ec(e,e.return,g)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(g){Ec(e,e.return,g)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Vl=Xe())),4&r&&fl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(u=Qs)||d,ml(t,e),Qs=u):ml(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Js=e,d=e.child;null!==d;){for(h=Js=d;null!==Js;){switch(f=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:$s(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Ec(r,n,g)}}break;case 5:$s(p,p.return);break;case 22:if(null!==p.memoizedState){wl(h);continue}}null!==f?(f.return=p,Js=f):wl(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{i=h.stateNode,u?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=void 0!==(c=h.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(g){Ec(e,e.return,g)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(g){Ec(e,e.return,g)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),vl(e),4&r&&fl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(o(161))}}catch(s){Ec(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Cl(e,t,n){Js=e,yl(e,t,n)}function yl(e,t,n){for(var r=0!==(1&e.mode);null!==Js;){var i=Js,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ks;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ks;var c=Qs;if(Ks=a,(Qs=l)&&!c)for(Js=i;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?xl(i):null!==l?(l.return=a,Js=l):xl(i);for(;null!==o;)Js=o,yl(o,t,n),o=o.sibling;Js=i,Ks=s,Qs=c}bl(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Js=o):bl(e)}}function bl(e){for(;null!==Js;){var t=Js;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Zo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Zo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Ht(h)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&il(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function wl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Ec(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){Ec(t,i,l)}}var o=t.return;try{il(t)}catch(l){Ec(t,o,l)}break;case 5:var a=t.return;try{il(t)}catch(l){Ec(t,a,l)}}}catch(l){Ec(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var Al,El=Math.ceil,_l=b.ReactCurrentDispatcher,Tl=b.ReactCurrentOwner,Sl=b.ReactCurrentBatchConfig,kl=0,Pl=null,Dl=null,Nl=0,Fl=0,Il=Ei(0),Rl=0,Ml=null,Ol=0,jl=0,Ll=0,Bl=null,Ul=null,Vl=0,Hl=1/0,zl=null,Zl=!1,Wl=null,ql=null,Gl=!1,Yl=null,Kl=0,Ql=0,Xl=null,Jl=-1,$l=0;function ec(){return 0!==(6&kl)?Xe():-1!==Jl?Jl:Jl=Xe()}function tc(e){return 0===(1&e.mode)?1:0!==(2&kl)&&0!==Nl?Nl&-Nl:null!==go.transition?(0===$l&&($l=mt()),$l):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function nc(e,t,n,r){if(50<Ql)throw Ql=0,Xl=null,Error(o(185));vt(e,n,r),0!==(2&kl)&&e===Pl||(e===Pl&&(0===(2&kl)&&(jl|=n),4===Rl&&sc(e,Nl)),rc(e,r),1===n&&0===kl&&0===(1&t.mode)&&(Hl=Xe()+500,Bi&&Hi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ht(e,e===Pl?Nl:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Bi=!0,Vi(e)}(lc.bind(null,e)):Vi(lc.bind(null,e)),ai((function(){0===(6&kl)&&Hi()})),n=null;else{switch(bt(r)){case 1:n=$e;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Pc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Jl=-1,$l=0,0!==(6&kl))throw Error(o(327));var n=e.callbackNode;if(xc()&&e.callbackNode!==n)return null;var r=ht(e,e===Pl?Nl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var i=kl;kl|=2;var a=fc();for(Pl===e&&Nl===t||(zl=null,Hl=Xe()+500,hc(e,t));;)try{Cc();break}catch(l){pc(e,l)}So(),_l.current=a,kl=i,null!==Dl?t=0:(Pl=null,Nl=0,t=Rl)}if(0!==t){if(2===t&&(0!==(i=ft(e))&&(r=i,t=oc(e,i))),1===t)throw n=Ml,hc(e,0),sc(e,r),rc(e,Xe()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gc(e,r))&&(0!==(a=ft(e))&&(r=a,t=oc(e,a))),1===t))throw n=Ml,hc(e,0),sc(e,r),rc(e,Xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,Ul,zl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Vl+500-Xe())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,Ul,zl),t);break}wc(e,Ul,zl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*El(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,Ul,zl),r);break}wc(e,Ul,zl);break;default:throw Error(o(329))}}}return rc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function oc(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Ul,Ul=n,null!==t&&ac(t)),e}function ac(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function sc(e,t){for(t&=~Ll,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(0!==(6&kl))throw Error(o(327));xc();var t=ht(e,0);if(0===(1&t))return rc(e,Xe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Ml,hc(e,0),sc(e,t),rc(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Ul,zl),rc(e,Xe()),null}function cc(e,t){var n=kl;kl|=1;try{return e(t)}finally{0===(kl=n)&&(Hl=Xe()+500,Bi&&Hi())}}function uc(e){null!==Yl&&0===Yl.tag&&0===(6&kl)&&xc();var t=kl;kl|=1;var n=Sl.transition,r=yt;try{if(Sl.transition=null,yt=1,e)return e()}finally{yt=r,Sl.transition=n,0===(6&(kl=t))&&Hi()}}function dc(){Fl=Il.current,_i(Il)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Dl)for(n=Dl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ii();break;case 3:Xo(),_i(Pi),_i(ki),ra();break;case 5:$o(r);break;case 4:Xo();break;case 13:case 19:_i(ea);break;case 10:ko(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Pl=e,Dl=e=Ic(e.current,null),Nl=Fl=t,Rl=0,Ml=null,Ll=jl=Ol=0,Ul=Bl=null,null!==Fo){for(t=0;t<Fo.length;t++)if(null!==(r=(n=Fo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Fo=null}return e}function pc(e,t){for(;;){var n=Dl;try{if(So(),ia.current=Ja,ua){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,ha=0,Tl.current=null,null===n||null===n.return){Rl=1,Ml=t,Dl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,h=d.tag;if(0===(1&d.mode)&&(0===h||11===h||15===h)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=gs(s);if(null!==f){f.flags&=-257,vs(f,s,l,0,t),1&f.mode&&ms(a,u,t),c=u;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){ms(a,u,t),mc();break e}c=Error(o(426))}else if(io&&1&l.mode){var v=gs(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mo(cs(c,l));break e}}a=c=cs(c,l),4!==Rl&&(Rl=2),null===Bl?Bl=[a]:Bl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,ps(0,c,t));break e;case 1:l=c;var C=a.type,y=a.stateNode;if(0===(128&a.flags)&&("function"===typeof C.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===ql||!ql.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,fs(a,l,t));break e}}a=a.return}while(null!==a)}bc(n)}catch(b){t=b,Dl===n&&null!==n&&(Dl=n=n.return);continue}break}}function fc(){var e=_l.current;return _l.current=Ja,null===e?Ja:e}function mc(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===Pl||0===(268435455&Ol)&&0===(268435455&jl)||sc(Pl,Nl)}function gc(e,t){var n=kl;kl|=2;var r=fc();for(Pl===e&&Nl===t||(zl=null,hc(e,t));;)try{vc();break}catch(i){pc(e,i)}if(So(),kl=n,_l.current=r,null!==Dl)throw Error(o(261));return Pl=null,Nl=0,Rl}function vc(){for(;null!==Dl;)yc(Dl)}function Cc(){for(;null!==Dl&&!Ke();)yc(Dl)}function yc(e){var t=Al(e.alternate,e,Fl);e.memoizedProps=e.pendingProps,null===t?bc(e):Dl=t,Tl.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gs(n,t,Fl)))return void(Dl=n)}else{if(null!==(n=Ys(n,t)))return n.flags&=32767,void(Dl=n);if(null===e)return Rl=6,void(Dl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Dl=t);Dl=t=e}while(null!==t);0===Rl&&(Rl=5)}function wc(e,t,n){var r=yt,i=Sl.transition;try{Sl.transition=null,yt=1,function(e,t,n,r){do{xc()}while(null!==Yl);if(0!==(6&kl))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Pl&&(Dl=Pl=null,Nl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gl||(Gl=!0,Pc(tt,(function(){return xc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Sl.transition,Sl.transition=null;var s=yt;yt=1;var l=kl;kl|=4,Tl.current=null,function(e,t){if(ei=Zt,pr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,p=null;t:for(;;){for(var f;h!==n||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==r&&3!==h.nodeType||(c=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++u===i&&(l=s),p===a&&++d===r&&(c=s),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Zt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,C=t.stateNode,y=C.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);C.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(o(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=tl,tl=!1}(e,n),gl(n,e),fr(ti),Zt=!!ei,ti=ei=null,e.current=n,Cl(n,e,i),Qe(),kl=l,yt=s,Sl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Yl=e,Kl=i),a=e.pendingLanes,0===a&&(ql=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Zl)throw Zl=!1,e=Wl,Wl=null,e;0!==(1&Kl)&&0!==e.tag&&xc(),a=e.pendingLanes,0!==(1&a)?e===Xl?Ql++:(Ql=0,Xl=e):Ql=0,Hi()}(e,t,n,r)}finally{Sl.transition=i,yt=r}return null}function xc(){if(null!==Yl){var e=bt(Kl),t=Sl.transition,n=yt;try{if(Sl.transition=null,yt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Kl=0,0!==(6&kl))throw Error(o(331));var i=kl;for(kl|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!==(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var h=d.child;if(null!==h)h.return=d,Js=h;else for(;null!==Js;){var p=(d=Js).sibling,f=d.return;if(ol(d),d===u){Js=null;break}if(null!==p){p.return=f,Js=p;break}Js=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Js=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!==(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var C=a.sibling;if(null!==C){C.return=a.return,Js=C;break e}Js=a.return}}var y=e.current;for(Js=y;null!==Js;){var b=(s=Js).child;if(0!==(2064&s.subtreeFlags)&&null!==b)b.return=s,Js=b;else e:for(s=y;null!==Js;){if(0!==(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(x){Ec(l,l.return,x)}if(l===s){Js=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Js=w;break e}Js=l.return}}if(kl=i,Hi(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(x){}r=!0}return r}finally{yt=n,Sl.transition=t}}return!1}function Ac(e,t,n){e=Uo(e,t=ps(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Ec(e,t,n){if(3===e.tag)Ac(e,e,n);else for(;null!==t;){if(3===t.tag){Ac(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===ql||!ql.has(r))){t=Uo(t,e=fs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Pl===e&&(Nl&n)===n&&(4===Rl||3===Rl&&(130023424&Nl)===Nl&&500>Xe()-Vl?hc(e,0):Ll|=n),rc(e,t)}function Tc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=ec();null!==(e=Mo(e,t))&&(vt(e,t,n),rc(e,n))}function Sc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function kc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tc(e,n)}function Pc(e,t){return Ge(e,t)}function Dc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nc(e,t,n,r){return new Dc(e,t,n,r)}function Fc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Nc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rc(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Fc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case A:return Mc(n.children,i,a,t);case E:s=8,i|=8;break;case _:return(e=Nc(12,n,t,2|i)).elementType=_,e.lanes=a,e;case P:return(e=Nc(13,n,t,i)).elementType=P,e.lanes=a,e;case D:return(e=Nc(19,n,t,i)).elementType=D,e.lanes=a,e;case I:return Oc(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:s=10;break e;case S:s=9;break e;case k:s=11;break e;case N:s=14;break e;case F:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Nc(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Mc(e,t,n,r){return(e=Nc(7,e,r,t)).lanes=n,e}function Oc(e,t,n,r){return(e=Nc(22,e,r,t)).elementType=I,e.lanes=n,e.stateNode={isHidden:!1},e}function jc(e,t,n){return(e=Nc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,i,o,a,s,l){return e=new Bc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Nc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function Vc(e){if(!e)return Si;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Fi(n))return Mi(e,n,t)}return t}function Hc(e,t,n,r,i,o,a,s,l){return(e=Uc(n,r,!0,e,0,o,0,s,l)).context=Vc(null),n=e.current,(o=Bo(r=ec(),i=tc(n))).callback=void 0!==t&&null!==t?t:null,Uo(n,o,i),e.current.lanes=i,vt(e,i,r),rc(e,r),e}function zc(e,t,n,r){var i=t.current,o=ec(),a=tc(i);return n=Vc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Bo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Uo(i,t,a))&&(nc(e,i,a,o),Vo(e,i,a)),a}function Zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}Al=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pi.current)ys=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),fo();break;case 5:Jo(t);break;case 1:Fi(t.type)&&Oi(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ti(Ao,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ti(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?js(e,t,n):(Ti(ea,1&ea.current),null!==(e=Zs(e,t,n))?e.sibling:null);Ti(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ti(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return Zs(e,t,n)}(e,t,n);ys=0!==(131072&e.flags)}else ys=!1,io&&0!==(1048576&t.flags)&&$i(t,qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zs(e,t),e=t.pendingProps;var i=Ni(t,ki.current);Do(t,n),i=ga(null,t,r,e,i,n);var a=va();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fi(r)?(a=!0,Oi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,jo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,r,e,n),t=ks(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),bs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Fc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===k)return 11;if(e===N)return 14}return 2}(r),e=ns(r,e),i){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=xs(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ts(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ss(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(Ps(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Lo(e,t),zo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ds(e,t,r,n,i=cs(Error(o(423)),t));break e}if(r!==i){t=Ds(e,t,r,n,i=cs(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fo(),r===i){t=Zs(e,t,n);break e}bs(e,t,r,n)}t=t.child}return t;case 5:return Jo(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),_s(e,t),bs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return js(e,t,n);case 4:return Qo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wo(t,null,r,n):bs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ti(Ao,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Pi.current){t=Zs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Bo(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Po(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Po(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}bs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Do(t,n),r=r(i=No(i)),t.flags|=1,bs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),xs(e,t,r,i=ns(r.type,i),n);case 15:return As(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),zs(e,t),t.tag=1,Fi(r)?(e=!0,Oi(t)):e=!1,Do(t,n),as(t,r,i),ls(t,r,i,n),ks(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var Gc="function"===typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function $c(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var s=i;i=function(){var e=Zc(a);s.call(e)}}zc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=Zc(a);o.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[fi]=a.current,Hr(8===e.nodeType?e.parentNode:e),uc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=Zc(l);s.call(e)}}var l=Uc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[fi]=l.current,Hr(8===e.nodeType?e.parentNode:e),uc((function(){zc(t,l,n,r)})),l}(n,t,e,i,r);return Zc(a)}Kc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));zc(e,t,null,null)},Kc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){zc(null,e,null,null)})),t[fi]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&jt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(Ct(t,1|n),rc(t,Xe()),0===(6&kl)&&(Hl=Xe()+500,Hi()))}break;case 13:uc((function(){var t=Mo(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),qc(e,1)}},xt=function(e){if(13===e.tag){var t=Mo(e,134217728);if(null!==t)nc(t,e,134217728,ec());qc(e,134217728)}},At=function(e){if(13===e.tag){var t=tc(e),n=Mo(e,t);if(null!==n)nc(n,e,t,ec());qc(e,t)}},Et=function(){return yt},_t=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wi(r);if(!i)throw Error(o(90));G(r),J(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ke=cc,Pe=uc;var eu={usingClientEntryPoint:!1,Events:[yi,bi,wi,Te,Se,cc]},tu={findFiberByHostInstance:Ci,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{it=ru.inject(nu),ot=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qc(e))throw Error(o(299));var n=!1,r="",i=Gc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,i),e[fi]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(o(200));return $c(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Gc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,i,0,a,s),e[fi]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(o(200));return $c(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc((function(){$c(null,null,e,!1,(function(){e._reactRootContainer=null,e[fi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return $c(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},55808:(e,t,n)=>{"use strict";var r=n(72551);t.H=r.createRoot,r.hydrateRoot},72551:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(73969)},36813:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,i="undefined"!==typeof Element;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,l,c,u=t(e),d=t(a);if(u&&d){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(!o(e[s],a[s]))return!1;return!0}if(u!=d)return!1;var h=e instanceof Date,p=a instanceof Date;if(h!=p)return!1;if(h&&p)return e.getTime()==a.getTime();var f=e instanceof RegExp,m=a instanceof RegExp;if(f!=m)return!1;if(f&&m)return e.toString()==a.toString();var g=n(e);if((l=g.length)!==n(a).length)return!1;for(s=l;0!==s--;)if(!r.call(a,g[s]))return!1;if(i&&e instanceof Element&&a instanceof Element)return e===a;for(s=l;0!==s--;)if(("_owner"!==(c=g[s])||!e.$$typeof)&&!o(e[c],a[c]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},62215:(e,t,n)=>{var r=n(61462);function i(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var o=i(r);!function(e){if(!e||"undefined"===typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}');const a=r.forwardRef((function(e,t){let{style:n={},className:i="",autoFill:a=!1,play:s=!0,pauseOnHover:l=!1,pauseOnClick:c=!1,direction:u="left",speed:d=50,delay:h=0,loop:p=0,gradient:f=!1,gradientColor:m="white",gradientWidth:g=200,onFinish:v,onCycleComplete:C,onMount:y,children:b}=e;const[w,x]=r.useState(0),[A,E]=r.useState(0),[_,T]=r.useState(1),[S,k]=r.useState(!1),P=r.useRef(null),D=t||P,N=r.useRef(null),F=r.useCallback((()=>{if(N.current&&D.current){const e=D.current.getBoundingClientRect(),t=N.current.getBoundingClientRect();let n=e.width,r=t.width;"up"!==u&&"down"!==u||(n=e.height,r=t.height),T(a&&n&&r&&r<n?Math.ceil(n/r):1),x(n),E(r)}}),[a,D,u]);r.useEffect((()=>{if(S&&(F(),N.current&&D.current)){const e=new ResizeObserver((()=>F()));return e.observe(D.current),e.observe(N.current),()=>{e&&e.disconnect()}}}),[F,D,S]),r.useEffect((()=>{F()}),[F,b]),r.useEffect((()=>{k(!0)}),[]),r.useEffect((()=>{"function"===typeof y&&y()}),[]);const I=r.useMemo((()=>a?A*_/d:A<w?w/d:A/d),[a,w,A,_,d]),R=r.useMemo((()=>Object.assign(Object.assign({},n),{"--pause-on-hover":!s||l?"paused":"running","--pause-on-click":!s||l&&!c||c?"paused":"running","--width":"up"===u||"down"===u?"100vh":"100%","--transform":"up"===u?"rotate(-90deg)":"down"===u?"rotate(90deg)":"none"})),[n,s,l,c,u]),M=r.useMemo((()=>({"--gradient-color":m,"--gradient-width":"number"===typeof g?"".concat(g,"px"):g})),[m,g]),O=r.useMemo((()=>({"--play":s?"running":"paused","--direction":"left"===u?"normal":"reverse","--duration":"".concat(I,"s"),"--delay":"".concat(h,"s"),"--iteration-count":p?"".concat(p):"infinite","--min-width":a?"auto":"100%"})),[s,u,I,h,p,a]),j=r.useMemo((()=>({"--transform":"up"===u?"rotate(90deg)":"down"===u?"rotate(-90deg)":"none"})),[u]),L=r.useCallback((e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map(((e,t)=>o.default.createElement(r.Fragment,{key:t},r.Children.map(b,(e=>o.default.createElement("div",{style:j,className:"rfm-child"},e))))))),[j,b]);return S?o.default.createElement("div",{ref:D,style:R,className:"rfm-marquee-container "+i},f&&o.default.createElement("div",{style:M,className:"rfm-overlay"}),o.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:C,onAnimationEnd:v},o.default.createElement("div",{className:"rfm-initial-child-container",ref:N},r.Children.map(b,(e=>o.default.createElement("div",{style:j,className:"rfm-child"},e)))),L(_-1)),o.default.createElement("div",{className:"rfm-marquee",style:O},L(_))):null}));t.A=a},45175:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},30274:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},1353:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case h:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case f:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===f},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===h},t.isSuspenseList=function(e){return v(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===s||e===a||e===h||e===p||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},54437:(e,t,n)=>{"use strict";e.exports=n(1353)},95899:(e,t,n)=>{"use strict";n.d(t,{BM:()=>We});var r=n(61462),i="#4fa94d",o={"aria-busy":!0,role:"status"};var a=n(54437),s=n(88043),l=n.n(s);const c=function(e){function t(e,r,l,c,h){for(var p,f,m,g,b,x=0,A=0,E=0,_=0,T=0,F=0,R=m=p=0,O=0,j=0,L=0,B=0,U=l.length,V=U-1,H="",z="",Z="",W="";O<U;){if(f=l.charCodeAt(O),O===V&&0!==A+_+E+x&&(0!==A&&(f=47===A?10:47),_=E=x=0,U++,V++),0===A+_+E+x){if(O===V&&(0<j&&(H=H.replace(d,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(O)}f=59}switch(f){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,B=++O;O<U;){switch(f=l.charCodeAt(O)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(O+1)){case 42:case 47:e:{for(R=O+1;R<V;++R)switch(l.charCodeAt(R)){case 47:if(42===f&&42===l.charCodeAt(R-1)&&O+2!==R){O=R+1;break e}break;case 10:if(47===f){O=R+1;break e}}O=R}}break;case 91:f++;case 40:f++;case 34:case 39:for(;O++<V&&l.charCodeAt(O)!==f;);}if(0===m)break;O++}if(m=l.substring(B,O),0===p&&(p=(H=H.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(H=H.replace(d,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=N}if(B=(m=t(r,j,m,f,h+1)).length,0<I&&(b=s(3,m,j=n(N,H,L),r,k,S,B,f,h,c),H=j.join(""),void 0!==b&&0===(B=(m=b.trim()).length)&&(f=0,m="")),0<B)switch(f){case 115:H=H.replace(w,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(v,"$1 $2"))+"{"+m+"}",m=1===D||2===D&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===c&&(z+=m,m="")}else m=""}else m=t(r,n(r,H,L),m,c,h+1);Z+=m,m=L=j=R=p=0,H="",f=l.charCodeAt(++O);break;case 125:case 59:if(1<(B=(H=(0<j?H.replace(d,""):H).trim()).length))switch(0===R&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(B=(H=H.replace(" ",":")).length),0<I&&void 0!==(b=s(1,H,r,e,k,S,z.length,c,h,c))&&0===(B=(H=b.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),f=H.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){W+=H+l.charAt(O);break}default:58!==H.charCodeAt(B-1)&&(z+=i(H,p,f,H.charCodeAt(2)))}L=j=R=p=0,H="",f=l.charCodeAt(++O)}}switch(f){case 13:case 10:47===A?A=0:0===1+p&&107!==c&&0<H.length&&(j=1,H+="\0"),0<I*M&&s(0,H,r,e,k,S,z.length,c,h,c),S=1,k++;break;case 59:case 125:if(0===A+_+E+x){S++;break}default:switch(S++,g=l.charAt(O),f){case 9:case 32:if(0===_+x+A)switch(T){case 44:case 58:case 9:case 32:g="";break;default:32!==f&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===_+A+x&&(j=L=1,g="\f"+g);break;case 108:if(0===_+A+x+P&&0<R)switch(O-R){case 2:112===T&&58===l.charCodeAt(O-3)&&(P=T);case 8:111===F&&(P=F)}break;case 58:0===_+A+x&&(R=O);break;case 44:0===A+E+_+x&&(j=1,g+="\r");break;case 34:case 39:0===A&&(_=_===f?0:0===_?f:_);break;case 91:0===_+A+E&&x++;break;case 93:0===_+A+E&&x--;break;case 41:0===_+A+x&&E--;break;case 40:if(0===_+A+x){if(0===p)if(2*T+3*F===533);else p=1;E++}break;case 64:0===A+E+_+x+R+m&&(m=1);break;case 42:case 47:if(!(0<_+x+E))switch(A){case 0:switch(2*f+3*l.charCodeAt(O+1)){case 235:A=47;break;case 220:B=O,A=42}break;case 42:47===f&&42===T&&B+2!==O&&(33===l.charCodeAt(B+2)&&(z+=l.substring(B,O+1)),g="",A=0)}}0===A&&(H+=g)}F=T,T=f,O++}if(0<(B=z.length)){if(j=r,0<I&&(void 0!==(b=s(2,z,j,e,k,S,B,c,h,c))&&0===(z=b).length))return W+z+Z;if(z=j.join(",")+"{"+z+"}",0!==D*P){switch(2!==D||o(z,2)||(P=0),P){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(C,"::-webkit-input-$1")+z.replace(C,"::-moz-$1")+z.replace(C,":-ms-input-$1")+z}P=0}}return W+z+Z}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===D||2===D&&o(l,1)?"-webkit-"+l+l:l}if(0===D||2===D&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(T,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(A,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(A,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),R(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,u){for(var d,h=0,p=t;h<I;++h)switch(d=F[h].call(c,e,p,n,r,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!==typeof e?D=1:(D=2,R=e):D=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<I){var i=s(-1,n,r,r,k,S,0,0,0,0);void 0!==i&&"string"===typeof i&&(n=i)}var o=t(N,r,n,0,0);return 0<I&&(void 0!==(i=s(-2,o,r,r,k,S,o.length,0,0,0))&&(o=i)),P=0,S=k=1,o}var u=/^\0+/g,d=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,C=/::(place)/g,y=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,A=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,T=/([^-])(image-set\()/,S=1,k=1,P=0,D=1,N=[],F=[],I=0,R=null,M=0;return c.use=function e(t){switch(t){case void 0:case null:I=F.length=0;break;default:if("function"===typeof t)F[I++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},c.set=l,void 0!==e&&l(e),c};const u={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function d(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,p=d((function(e){return h.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),f=n(35100),m=n.n(f);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var v=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},C=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,a.typeOf)(e)},y=Object.freeze([]),b=Object.freeze({});function w(e){return"function"==typeof e}function x(e){return e.displayName||e.name||"Component"}function A(e){return e&&"string"==typeof e.styledComponentId}var E="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_ATTR)||"data-styled",_="undefined"!=typeof window&&"HTMLElement"in window,T=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}&&(void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"}.SC_DISABLE_SPEEDY)));function S(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var k=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&S(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),P=new Map,D=new Map,N=1,F=function(e){if(P.has(e))return P.get(e);for(;D.has(N);)N++;var t=N++;return P.set(e,t),D.set(t,e),t},I=function(e){return D.get(e)},R=function(e,t){t>=N&&(N=t+1),P.set(e,t),D.set(t,e)},M="style["+E+'][data-styled-version="5.3.11"]',O=new RegExp("^"+E+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),j=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},L=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(O);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(R(c,l),j(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},B=function(){return n.nc},U=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(E))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(E,"active"),r.setAttribute("data-styled-version","5.3.11");var a=B();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},V=function(){function e(e){var t=this.element=U(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}S(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),H=function(){function e(e){var t=this.element=U(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),z=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Z=_,W={isServer:!_,useCSSOMInjection:!T},q=function(){function e(e,t,n){void 0===e&&(e=b),void 0===t&&(t={}),this.options=g({},W,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&_&&Z&&(Z=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(E)&&(L(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return F(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(g({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new z(i):r?new V(i):new H(i),new k(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(F(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(F(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(F(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=I(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var l=E+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),G=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Y(t%52)+n;return(Y(t%52)+n).replace(G,"$1-$2")}var Q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return Q(5381,e)};function J(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(w(n)&&!A(n))return!1}return!0}var $=X("5.3.11"),ee=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&J(e),this.componentId=t,this.baseHash=Q($,t),this.baseStyle=n,q.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=Ce(this.rules,e,t,n).join(""),a=K(Q(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=Q(this.baseHash,n.hash),u="",d=0;d<l;d++){var h=this.rules[d];if("string"==typeof h)u+=h;else if(h){var p=Ce(h,e,t,n),f=Array.isArray(p)?p.join(""):p;c=Q(c,f+d),u+=f}}if(u){var m=K(c>>>0);if(!t.hasNameForId(r,m)){var g=n(u,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),te=/^\s*\/\/.*$/gm,ne=[":","[",".","#"];function re(e){var t,n,r,i,o=void 0===e?b:e,a=o.options,s=void 0===a?b:a,l=o.plugins,u=void 0===l?y:l,d=new c(s),h=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,c,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){h.push(e)})),f=function(e,r,o){return 0===r&&-1!==ne.indexOf(o[n.length])||o.match(i)?e:"."+t};function m(e,o,a,s){void 0===s&&(s="&");var l=e.replace(te,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),d(a||!o?"":o,c)}return d.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,f))},p,function(e){if(-2===e){var t=h;return h=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||S(15),Q(e,t.name)}),5381).toString():"",m}var ie=r.createContext(),oe=(ie.Consumer,r.createContext()),ae=(oe.Consumer,new q),se=re();function le(){return(0,r.useContext)(ie)||ae}function ce(){return(0,r.useContext)(oe)||se}function ue(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],i=t[1],o=le(),a=(0,r.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,r.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,r.useEffect)((function(){l()(n,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),r.createElement(ie.Provider,{value:a},r.createElement(oe.Provider,{value:s},e.children))}var de=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=se);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),he=/([A-Z])/,pe=/([A-Z])/g,fe=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ge(e){return he.test(e)?e.replace(pe,me).replace(fe,"-ms-"):e}var ve=function(e){return null==e||!1===e||""===e};function Ce(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=Ce(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return ve(e)?"":A(e)?"."+e.styledComponentId:w(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Ce(e(t),t,n,r):e instanceof de?n?(e.inject(n,r),e.getName(r)):e:C(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!ve(t[a])&&(Array.isArray(t[a])&&t[a].isCss||w(t[a])?o.push(ge(a)+":",t[a],";"):C(t[a])?o.push.apply(o,e(t[a],a)):o.push(ge(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in u||r.startsWith("--")?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}var ye=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(e)||C(e)?ye(Ce(v(y,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ye(Ce(v(e,n)))}new Set;var we=function(e,t,n){return void 0===n&&(n=b),e.theme!==n.theme&&e.theme||t||n.theme},xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ae=/(^-|-$)/g;function Ee(e){return e.replace(xe,"-").replace(Ae,"")}var _e=function(e){return K(X(e)>>>0)};function Te(e){return"string"==typeof e&&!0}var Se=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ke=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Pe(e,t,n){var r=e[n];Se(t)&&Se(r)?De(r,t):e[n]=t}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Se(a))for(var s in a)ke(s)&&Pe(e,a[s],s)}return e}var Ne=r.createContext();Ne.Consumer;var Fe={};function Ie(e,t,n){var i=A(e),o=!Te(e),a=t.attrs,s=void 0===a?y:a,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ee(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+_e("5.3.11"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,u=t.displayName,d=void 0===u?function(e){return Te(e)?"styled."+e:"Styled("+x(e)+")"}(e):u,h=t.displayName&&t.componentId?Ee(t.displayName)+"-"+t.componentId:t.componentId||c,f=i&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,v=t.shouldForwardProp;i&&e.shouldForwardProp&&(v=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var C,E=new ee(n,h,i?e.componentStyle:void 0),_=E.isStatic&&0===s.length,T=function(e,t){return function(e,t,n,i){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,u=e.styledComponentId,d=e.target,h=function(e,t,n){void 0===e&&(e=b);var r=g({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in w(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(we(t,(0,r.useContext)(Ne),s)||b,t,o),f=h[0],m=h[1],v=function(e,t,n,r){var i=le(),o=ce();return t?e.generateAndInjectStyles(b,i,o):e.generateAndInjectStyles(n,i,o)}(a,i,f),C=n,y=m.$as||t.$as||m.as||t.as||d,x=Te(y),A=m!==t?g({},t,{},m):t,E={};for(var _ in A)"$"!==_[0]&&"as"!==_&&("forwardedAs"===_?E.as=A[_]:(c?c(_,p,y):!x||p(_))&&(E[_]=A[_]));return t.style&&m.style!==t.style&&(E.style=g({},t.style,{},m.style)),E.className=Array.prototype.concat(l,u,v!==u?v:null,t.className,m.className).filter(Boolean).join(" "),E.ref=C,(0,r.createElement)(y,E)}(C,e,t,_)};return T.displayName=d,(C=r.forwardRef(T)).attrs=f,C.componentStyle=E,C.displayName=d,C.shouldForwardProp=v,C.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):y,C.styledComponentId=h,C.target=i?e.target:e,C.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(Te(e)?e:Ee(x(e)));return Ie(e,g({},i,{attrs:f,componentId:o}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?De({},e.defaultProps,t):t}}),Object.defineProperty(C,"toString",{value:function(){return"."+C.styledComponentId}}),o&&m()(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var Re=function(e){return function e(t,n,r){if(void 0===r&&(r=b),!(0,a.isValidElementType)(n))return S(1,String(n));var i=function(){return t(n,r,be.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,g({},r,{},i))},i.attrs=function(i){return e(t,n,g({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Re[e]=Re(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),q.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var i=r(Ce(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&q.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();function Me(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=be.apply(void 0,[e].concat(n)).join(""),o=_e(i);return new de(o,i)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=B();return"<style "+[n&&'nonce="'+n+'"',E+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?S(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return S(2);var n=((t={})[E]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=B();return i&&(n.nonce=i),[r.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new q({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?S(2):r.createElement(ue,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return S(3)}}();const Oe=Re;var je=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Le=242.776657104492,Be=Me(Ue||(Ue=je(["\n  12.5% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  43.75% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  100% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n"],["\n  12.5% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  43.75% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  100% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n"])),.14*Le,Le,.11*Le,.35*Le,Le,.35*Le,.01*Le,Le,.99*Le);Oe.path(Ve||(Ve=je(["\n  stroke-dasharray: ","px, ",";\n  stroke-dashoffset: 0;\n  animation: "," ","s linear infinite;\n"],["\n  stroke-dasharray: ","px, ",";\n  stroke-dashoffset: 0;\n  animation: "," ","s linear infinite;\n"])),.01*Le,Le,Be,1.6);var Ue,Ve;var He=function(e){return{display:e?"flex":"none"}},ze=function(){return ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ze.apply(this,arguments)},Ze=function(e,t,n){var r=Math.max(e,t),i=-n-r/2+1,o=2*n+r;return[i,i,o,o].join(" ")};const We=function(e){var t,n=e.height,a=void 0===n?80:n,s=e.width,l=void 0===s?80:s,c=e.color,u=void 0===c?i:c,d=e.secondaryColor,h=void 0===d?i:d,p=e.ariaLabel,f=void 0===p?"oval-loading":p,m=e.wrapperStyle,g=e.wrapperClass,v=e.visible,C=void 0===v||v,y=e.strokeWidth,b=void 0===y?2:y,w=e.strokeWidthSecondary;return r.createElement("div",ze({style:ze(ze({},He(C)),m),className:g,"data-testid":"oval-loading","aria-label":f},o),r.createElement("svg",{width:l,height:a,viewBox:Ze(Number(b),Number(w||b),20),xmlns:"http://www.w3.org/2000/svg",stroke:u,"data-testid":"oval-svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(1 1)",strokeWidth:Number(w||b),"data-testid":"oval-secondary-group"},r.createElement("circle",{strokeOpacity:".5",cx:"0",cy:"0",r:20,stroke:h,strokeWidth:b}),r.createElement("path",{d:(t=20,["M"+t+" 0c0-9.94-8.06",t,t,t].join("-"))},r.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 0 0",to:"360 0 0",dur:"1s",repeatCount:"indefinite"}))))))};const qe=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!==typeof n[e])return n[e];if(e&&e.indexOf(".")>0){for(var r=e.split("."),i=r.length,o=n[r[0]],a=1;null!=o&&a<i;)o=o[r[a]],a+=1;if("undefined"!==typeof o)return o}return t}};var Ge,Ye,Ke,Qe=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Xe=Me(Ge||(Ge=Qe(["\n to {\n    transform: rotate(360deg);\n  }\n"],["\n to {\n    transform: rotate(360deg);\n  }\n"])));Oe.svg(Ye||(Ye=Qe(["\n  animation: "," 0.75s steps(12, end) infinite;\n  animation-duration: ","s;\n"],["\n  animation: "," 0.75s steps(12, end) infinite;\n  animation-duration: ","s;\n"])),Xe,qe("speed","0.75")),Oe.polyline(Ke||(Ke=Qe(["\n  stroke-width: ","px;\n  stroke-linecap: round;\n\n  &:nth-child(12n + 0) {\n    stroke-opacity: 0.08;\n  }\n\n  &:nth-child(12n + 1) {\n    stroke-opacity: 0.17;\n  }\n\n  &:nth-child(12n + 2) {\n    stroke-opacity: 0.25;\n  }\n\n  &:nth-child(12n + 3) {\n    stroke-opacity: 0.33;\n  }\n\n  &:nth-child(12n + 4) {\n    stroke-opacity: 0.42;\n  }\n\n  &:nth-child(12n + 5) {\n    stroke-opacity: 0.5;\n  }\n\n  &:nth-child(12n + 6) {\n    stroke-opacity: 0.58;\n  }\n\n  &:nth-child(12n + 7) {\n    stroke-opacity: 0.66;\n  }\n\n  &:nth-child(12n + 8) {\n    stroke-opacity: 0.75;\n  }\n\n  &:nth-child(12n + 9) {\n    stroke-opacity: 0.83;\n  }\n\n  &:nth-child(12n + 11) {\n    stroke-opacity: 0.92;\n  }\n"],["\n  stroke-width: ","px;\n  stroke-linecap: round;\n\n  &:nth-child(12n + 0) {\n    stroke-opacity: 0.08;\n  }\n\n  &:nth-child(12n + 1) {\n    stroke-opacity: 0.17;\n  }\n\n  &:nth-child(12n + 2) {\n    stroke-opacity: 0.25;\n  }\n\n  &:nth-child(12n + 3) {\n    stroke-opacity: 0.33;\n  }\n\n  &:nth-child(12n + 4) {\n    stroke-opacity: 0.42;\n  }\n\n  &:nth-child(12n + 5) {\n    stroke-opacity: 0.5;\n  }\n\n  &:nth-child(12n + 6) {\n    stroke-opacity: 0.58;\n  }\n\n  &:nth-child(12n + 7) {\n    stroke-opacity: 0.66;\n  }\n\n  &:nth-child(12n + 8) {\n    stroke-opacity: 0.75;\n  }\n\n  &:nth-child(12n + 9) {\n    stroke-opacity: 0.83;\n  }\n\n  &:nth-child(12n + 11) {\n    stroke-opacity: 0.92;\n  }\n"])),(function(e){return e.width}));var Je=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},$e=Me(et||(et=Je(["\n to {\n    stroke-dashoffset: 136;\n  }\n"],["\n to {\n    stroke-dashoffset: 136;\n  }\n"])));Oe.polygon(tt||(tt=Je(["\n  stroke-dasharray: 17;\n  animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"],["\n  stroke-dasharray: 17;\n  animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"])),$e),Oe.svg(nt||(nt=Je(["\n  transform-origin: 50% 65%;\n"],["\n  transform-origin: 50% 65%;\n"])));var et,tt,nt},64191:(e,t,n)=>{"use strict";var r=h(n(7547)),i=h(n(40105)),o=h(n(33652)),a=h(n(40970)),s=h(n(92369)),l=h(n(1084)),c=h(n(61462)),u=h(n(5982)),d=h(n(51733));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){var e,n,r,a;(0,o.default)(this,t);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.handleClickToPause=function(){r.anim.isPaused?r.anim.play():r.anim.pause()},a=n,(0,s.default)(r,a)}return(0,l.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.options,n=e.eventListeners,i=t.loop,o=t.autoplay,a=t.animationData,s=t.rendererSettings,l=t.segments;this.options={container:this.el,renderer:"svg",loop:!1!==i,autoplay:!1!==o,segments:!1!==l,animationData:a,rendererSettings:s},this.options=(0,r.default)({},this.options,t),this.anim=d.default.loadAnimation(this.options),this.registerEvents(n)}},{key:"componentWillUpdate",value:function(e){this.options.animationData!==e.options.animationData&&(this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options=(0,r.default)({},this.options,e.options),this.anim=d.default.loadAnimation(this.options),this.registerEvents(e.eventListeners))}},{key:"componentDidUpdate",value:function(){this.props.isStopped?this.stop():this.props.segments?this.playSegments():this.play(),this.pause(),this.setSpeed(),this.setDirection()}},{key:"componentWillUnmount",value:function(){this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options.animationData=null,this.anim=null}},{key:"setSpeed",value:function(){this.anim.setSpeed(this.props.speed)}},{key:"setDirection",value:function(){this.anim.setDirection(this.props.direction)}},{key:"play",value:function(){this.anim.play()}},{key:"playSegments",value:function(){this.anim.playSegments(this.props.segments)}},{key:"stop",value:function(){this.anim.stop()}},{key:"pause",value:function(){(this.props.isPaused&&!this.anim.isPaused||!this.props.isPaused&&this.anim.isPaused)&&this.anim.pause()}},{key:"destroy",value:function(){this.anim.destroy()}},{key:"registerEvents",value:function(e){var t=this;e.forEach((function(e){t.anim.addEventListener(e.eventName,e.callback)}))}},{key:"deRegisterEvents",value:function(e){var t=this;e.forEach((function(e){t.anim.removeEventListener(e.eventName,e.callback)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,i=t.height,o=t.ariaRole,a=t.ariaLabel,s=t.isClickToPauseDisabled,l=t.title,u=function(e){return"number"===typeof e?e+"px":e||"100%"},d=(0,r.default)({width:u(n),height:u(i),overflow:"hidden",margin:"0 auto",outline:"none"},this.props.style),h=s?function(){return null}:this.handleClickToPause;return c.default.createElement("div",{ref:function(t){e.el=t},style:d,onClick:h,title:l,role:o,"aria-label":a,tabIndex:"0"})}}]),t}(c.default.Component);t.A=p,p.propTypes={eventListeners:u.default.arrayOf(u.default.object),options:u.default.object.isRequired,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number]),isStopped:u.default.bool,isPaused:u.default.bool,speed:u.default.number,segments:u.default.arrayOf(u.default.number),direction:u.default.number,ariaRole:u.default.string,ariaLabel:u.default.string,isClickToPauseDisabled:u.default.bool,title:u.default.string,style:u.default.string},p.defaultProps={eventListeners:[],isStopped:!1,isPaused:!1,speed:1,ariaRole:"button",ariaLabel:"animation",isClickToPauseDisabled:!1,title:""}},66762:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:()=>f,default:()=>g});var r=n(61462),i=n(72551);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var l,c,u=(void 0===l&&(l=0),function(){return++l}),d={},h={},p=["touchstart","touchmove"],f="ignore-react-onclickoutside";function m(e,t){var n={};return-1!==p.indexOf(t)&&c&&(n.passive=!e.props.preventDefault),n}const g=function(e,t){var n,l,p=e.displayName||e.name||"Component";return l=n=function(n){var l,f;function g(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!==typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!==typeof t.props.handleClickOutside){if("function"!==typeof t.handleClickOutside)throw new Error("WrappedComponent: "+p+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"===typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"===typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,i.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!==typeof document&&!h[r._uid]){"undefined"===typeof c&&(c=function(){if("undefined"!==typeof window&&"function"===typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),h[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){var t;null!==r.componentNode&&(r.initTimeStamp>e.timeStamp||(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e)))},e.forEach((function(e){document.addEventListener(e,d[r._uid],m(a(r),e))}))}},r.disableOnClickOutside=function(){delete h[r._uid];var e=d[r._uid];if(e&&"undefined"!==typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(a(r),t))})),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=u(),r.initTimeStamp=performance.now(),r}f=n,(l=g).prototype=Object.create(f.prototype),l.prototype.constructor=l,o(l,f);var v=g.prototype;return v.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},v.componentDidMount=function(){if("undefined"!==typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"===typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!==typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+p+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},v.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},v.componentWillUnmount=function(){this.disableOnClickOutside()},v.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},g}(r.Component),n.displayName="OnClickOutside("+p+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},l}},81397:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Manager:()=>a,Popper:()=>Me,Reference:()=>Le,usePopper:()=>Ne});var r=n(61462),i=r.createContext(),o=r.createContext();function a(e){var t=e.children,n=r.useState(null),a=n[0],s=n[1],l=r.useRef(!1);r.useEffect((function(){return function(){l.current=!0}}),[]);var c=r.useCallback((function(e){l.current||s(e)}),[]);return r.createElement(i.Provider,{value:a},r.createElement(o.Provider,{value:c},t))}var s=function(e){return Array.isArray(e)?e[0]:e},l=function(e){if("function"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},c=function(e,t){if("function"===typeof e)return l(e,t);null!=e&&(e.current=t)},u=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},d="undefined"!==typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,h=n(72551);function p(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof p(e).Element||e instanceof Element}function m(e){return e instanceof p(e).HTMLElement||e instanceof HTMLElement}function g(e){return"undefined"!==typeof ShadowRoot&&(e instanceof p(e).ShadowRoot||e instanceof ShadowRoot)}var v=Math.max,C=Math.min,y=Math.round;function b(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function w(){return!/^((?!chrome|android).)*safari/i.test(b())}function x(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&m(e)&&(i=e.offsetWidth>0&&y(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&y(r.height)/e.offsetHeight||1);var a=(f(e)?p(e):window).visualViewport,s=!w()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,u=r.width/i,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function A(e){var t=p(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function E(e){return e?(e.nodeName||"").toLowerCase():null}function _(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function T(e){return x(_(e)).left+A(e).scrollLeft}function S(e){return p(e).getComputedStyle(e)}function k(e){var t=S(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function P(e,t,n){void 0===n&&(n=!1);var r=m(t),i=m(t)&&function(e){var t=e.getBoundingClientRect(),n=y(t.width)/e.offsetWidth||1,r=y(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=_(t),a=x(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==E(t)||k(o))&&(s=function(e){return e!==p(e)&&m(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:A(e);var t}(t)),m(t)?((l=x(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=T(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function D(e){var t=x(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function N(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(g(e)?e.host:null)||_(e)}function F(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:m(e)&&k(e)?e:F(N(e))}function I(e,t){var n;void 0===t&&(t=[]);var r=F(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=p(r),a=i?[o].concat(o.visualViewport||[],k(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(I(N(a)))}function R(e){return["table","td","th"].indexOf(E(e))>=0}function M(e){return m(e)&&"fixed"!==S(e).position?e.offsetParent:null}function O(e){for(var t=p(e),n=M(e);n&&R(n)&&"static"===S(n).position;)n=M(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(b());if(/Trident/i.test(b())&&m(e)&&"fixed"===S(e).position)return null;var n=N(e);for(g(n)&&(n=n.host);m(n)&&["html","body"].indexOf(E(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var j="top",L="bottom",B="right",U="left",V="auto",H=[j,L,B,U],z="start",Z="end",W="clippingParents",q="viewport",G="popper",Y="reference",K=H.reduce((function(e,t){return e.concat([t+"-"+z,t+"-"+Z])}),[]),Q=[].concat(H,[V]).reduce((function(e,t){return e.concat([t,t+"-"+z,t+"-"+Z])}),[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function J(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function $(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?ee:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;c(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:f(e)?I(e):e.contextElement?I(e.contextElement):[],popper:I(t)};var u=function(e){var t=J(e);return X.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,i.options.modifiers)));return i.orderedModifiers=u.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var s=o({state:i,name:t,instance:l,options:r}),c=function(){};a.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(te(t,n)){i.rects={reference:P(t,O(n),"fixed"===i.options.strategy),popper:D(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"===typeof a&&(i=a({state:i,options:u,name:d,instance:l})||i)}else i.reset=!1,r=-1}}},update:$((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){c(),s=!0}};if(!te(e,t))return l;function c(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var re={passive:!0};function ie(e){return e.split("-")[0]}function oe(e){return e.split("-")[1]}function ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function se(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?ie(i):null,a=i?oe(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case j:t={x:s,y:n.y-r.height};break;case L:t={x:s,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:l};break;case U:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?ae(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case z:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Z:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=a.x,f=void 0===h?0:h,m=a.y,g=void 0===m?0:m,v="function"===typeof u?u({x:f,y:g}):{x:f,y:g};f=v.x,g=v.y;var C=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=U,x=j,A=window;if(c){var E=O(n),T="clientHeight",k="clientWidth";if(E===p(n)&&"static"!==S(E=_(n)).position&&"absolute"===s&&(T="scrollHeight",k="scrollWidth"),i===j||(i===U||i===B)&&o===Z)x=L,g-=(d&&E===A&&A.visualViewport?A.visualViewport.height:E[T])-r.height,g*=l?1:-1;if(i===U||(i===j||i===L)&&o===Z)w=B,f-=(d&&E===A&&A.visualViewport?A.visualViewport.width:E[k])-r.width,f*=l?1:-1}var P,D=Object.assign({position:s},c&&le),N=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:y(n*i)/i||0,y:y(r*i)/i||0}}({x:f,y:g},p(n)):{x:f,y:g};return f=N.x,g=N.y,l?Object.assign({},D,((P={})[x]=b?"0":"",P[w]=C?"0":"",P.transform=(A.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",P)):Object.assign({},D,((t={})[x]=b?g+"px":"",t[w]=C?f+"px":"",t.transform="",t))}const ue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Q.reduce((function(e,n){return e[n]=function(e,t,n){var r=ie(e),i=[U,j].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[U,B].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var de={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var pe={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function me(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&g(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ve(e,t,n){return t===q?ge(function(e,t){var n=p(e),r=_(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=w();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+T(e),y:l}}(e,n)):f(t)?function(e,t){var n=x(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ge(function(e){var t,n=_(e),r=A(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=v(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=v(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+T(e),l=-r.scrollTop;return"rtl"===S(i||n).direction&&(s+=v(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(_(e)))}function Ce(e,t,n,r){var i="clippingParents"===t?function(e){var t=I(N(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&m(e)?O(e):e;return f(n)?t.filter((function(e){return f(e)&&me(e,n)&&"body"!==E(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=ve(e,n,r);return t.top=v(i.top,t.top),t.right=C(i.right,t.right),t.bottom=C(i.bottom,t.bottom),t.left=v(i.left,t.left),t}),ve(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ye(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function be(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function we(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?W:s,c=n.rootBoundary,u=void 0===c?q:c,d=n.elementContext,h=void 0===d?G:d,p=n.altBoundary,m=void 0!==p&&p,g=n.padding,v=void 0===g?0:g,C=ye("number"!==typeof v?v:be(v,H)),y=h===G?Y:G,b=e.rects.popper,w=e.elements[m?y:h],A=Ce(f(w)?w:w.contextElement||_(e.elements.popper),l,u,a),E=x(e.elements.reference),T=se({reference:E,element:b,strategy:"absolute",placement:i}),S=ge(Object.assign({},b,T)),k=h===G?S:E,P={top:A.top-k.top+C.top,bottom:k.bottom-A.bottom+C.bottom,left:A.left-k.left+C.left,right:k.right-A.right+C.right},D=e.modifiersData.offset;if(h===G&&D){var N=D[i];Object.keys(P).forEach((function(e){var t=[B,L].indexOf(e)>=0?1:-1,n=[j,L].indexOf(e)>=0?"y":"x";P[e]+=N[n]*t}))}return P}function xe(e,t,n){return v(e,C(t,n))}const Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=void 0===h||h,f=n.tetherOffset,m=void 0===f?0:f,g=we(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=ie(t.placement),b=oe(t.placement),w=!b,x=ae(y),A="x"===x?"y":"x",E=t.modifiersData.popperOffsets,_=t.rects.reference,T=t.rects.popper,S="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(E){if(o){var F,I="y"===x?j:U,R="y"===x?L:B,M="y"===x?"height":"width",V=E[x],H=V+g[I],Z=V-g[R],W=p?-T[M]/2:0,q=b===z?_[M]:T[M],G=b===z?-T[M]:-_[M],Y=t.elements.arrow,K=p&&Y?D(Y):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[I],J=Q[R],$=xe(0,_[M],K[M]),ee=w?_[M]/2-W-$-X-k.mainAxis:q-$-X-k.mainAxis,te=w?-_[M]/2+W+$+J+k.mainAxis:G+$+J+k.mainAxis,ne=t.elements.arrow&&O(t.elements.arrow),re=ne?"y"===x?ne.clientTop||0:ne.clientLeft||0:0,se=null!=(F=null==P?void 0:P[x])?F:0,le=V+te-se,ce=xe(p?C(H,V+ee-se-re):H,V,p?v(Z,le):Z);E[x]=ce,N[x]=ce-V}if(s){var ue,de="x"===x?j:U,he="x"===x?L:B,pe=E[A],fe="y"===A?"height":"width",me=pe+g[de],ge=pe-g[he],ve=-1!==[j,U].indexOf(y),Ce=null!=(ue=null==P?void 0:P[A])?ue:0,ye=ve?me:pe-_[fe]-T[fe]-Ce+k.altAxis,be=ve?pe+_[fe]+T[fe]-Ce-k.altAxis:ge,Ae=p&&ve?function(e,t,n){var r=xe(e,t,n);return r>n?n:r}(ye,pe,be):xe(p?ye:me,pe,p?be:ge);E[A]=Ae,N[A]=Ae-pe}t.modifiersData[r]=N}},requiresIfExists:["offset"]};const Ee={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ie(n.placement),l=ae(s),c=[U,B].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return ye("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:be(e,H))}(i.padding,n),d=D(o),h="y"===l?j:U,p="y"===l?L:B,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=O(o),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,C=f/2-m/2,y=u[h],b=v-d[c]-u[p],w=v/2-d[c]/2+C,x=xe(y,w,b),A=l;n.modifiersData[r]=((t={})[A]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&me(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function _e(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Te(e){return[j,B,L,U].some((function(t){return e[t]>=0}))}var Se=ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=p(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,re)})),s&&l.addEventListener("resize",n.update,re),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),s&&l.removeEventListener("resize",n.update,re)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:ie(t.placement),variation:oe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];m(i)&&E(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});m(r)&&E(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ue,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=ie(g),C=l||(v===g||!f?[he(g)]:function(e){if(ie(e)===V)return[];var t=he(e);return[fe(e),t,fe(t)]}(g)),y=[g].concat(C).reduce((function(e,n){return e.concat(ie(n)===V?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Q:l,u=oe(r),d=u?s?K:K.filter((function(e){return oe(e)===u})):H,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var p=h.reduce((function(t,n){return t[n]=we(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[ie(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,w=t.rects.popper,x=new Map,A=!0,E=y[0],_=0;_<y.length;_++){var T=y[_],S=ie(T),k=oe(T)===z,P=[j,L].indexOf(S)>=0,D=P?"width":"height",N=we(t,{placement:T,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),F=P?k?B:U:k?L:j;b[D]>w[D]&&(F=he(F));var I=he(F),R=[];if(o&&R.push(N[S]<=0),s&&R.push(N[F]<=0,N[I]<=0),R.every((function(e){return e}))){E=T,A=!1;break}x.set(T,R)}if(A)for(var M=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},O=f?3:1;O>0;O--){if("break"===M(O))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Ae,Ee,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),l=_e(a,r),c=_e(s,i,o),u=Te(l),d=Te(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ke=n(87625),Pe=n.n(ke),De=[],Ne=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||De},a=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],l=a[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);h.flushSync((function(){l({styles:u(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:u(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),p=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Pe()(i.current,e)?i.current||e:(i.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),f=r.useRef();return d((function(){f.current&&f.current.setOptions(p)}),[p]),d((function(){if(null!=e&&null!=t){var r=(n.createPopper||Se)(e,t,p);return f.current=r,function(){r.destroy(),f.current=null}}}),[e,t,n.createPopper]),{state:f.current?f.current.state:null,styles:s.styles,attributes:s.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},Fe=function(){},Ie=function(){return Promise.resolve(null)},Re=[];function Me(e){var t=e.placement,n=void 0===t?"bottom":t,o=e.strategy,a=void 0===o?"absolute":o,l=e.modifiers,u=void 0===l?Re:l,d=e.referenceElement,h=e.onFirstUpdate,p=e.innerRef,f=e.children,m=r.useContext(i),g=r.useState(null),v=g[0],C=g[1],y=r.useState(null),b=y[0],w=y[1];r.useEffect((function(){c(p,v)}),[p,v]);var x=r.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:h,modifiers:[].concat(u,[{name:"arrow",enabled:null!=b,options:{element:b}}])}}),[n,a,h,u,b]),A=Ne(d||m,v,x),E=A.state,_=A.styles,T=A.forceUpdate,S=A.update,k=r.useMemo((function(){return{ref:C,style:_.popper,placement:E?E.placement:n,hasPopperEscaped:E&&E.modifiersData.hide?E.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:E&&E.modifiersData.hide?E.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:_.arrow,ref:w},forceUpdate:T||Fe,update:S||Ie}}),[C,w,n,E,_,S,T]);return s(f)(k)}var Oe=n(7273),je=n.n(Oe);function Le(e){var t=e.children,n=e.innerRef,i=r.useContext(o),a=r.useCallback((function(e){c(n,e),l(i,e)}),[n,i]);return r.useEffect((function(){return function(){return c(n,null)}}),[]),r.useEffect((function(){je()(Boolean(i),"`Reference` should not be used outside of a `Manager` component.")}),[i]),s(t)({ref:a})}},87625:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},83906:(e,t,n)=>{"use strict";var r,i;n.d(t,{Kd:()=>f,N_:()=>v,ok:()=>b});var o=n(61462),a=n(72551),s=n(98853),l=n(60482);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const h=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(w){}new Map;const p=(r||(r=n.t(o,2))).startTransition;(i||(i=n.t(a,2))).flushSync,(r||(r=n.t(o,2))).useId;function f(e){let{basename:t,children:n,future:r,window:i}=e,a=o.useRef();null==a.current&&(a.current=(0,l.zR)({window:i,v5Compat:!0}));let c=a.current,[u,d]=o.useState({action:c.action,location:c.location}),{v7_startTransition:h}=r||{},f=o.useCallback((e=>{h&&p?p((()=>d(e))):d(e)}),[d,h]);return o.useLayoutEffect((()=>c.listen(f)),[c,f]),o.createElement(s.Ix,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:r})}const m="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,v=o.forwardRef((function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:d,state:p,target:f,to:v,preventScrollReset:C,unstable_viewTransition:y}=e,b=u(e,h),{basename:x}=o.useContext(s.jb),A=!1;if("string"===typeof v&&g.test(v)&&(n=v,m))try{let e=new URL(window.location.href),t=v.startsWith("//")?new URL(e.protocol+v):new URL(v),n=(0,l.pb)(t.pathname,x);t.origin===e.origin&&null!=n?v=n+t.search+t.hash:A=!0}catch(w){}let E=(0,s.$P)(v,{relative:i}),_=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:c,unstable_viewTransition:u}=void 0===t?{}:t,d=(0,s.Zp)(),h=(0,s.zy)(),p=(0,s.x$)(e,{relative:c});return o.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,l.AO)(h)===(0,l.AO)(p);d(e,{replace:n,state:i,preventScrollReset:a,relative:c,unstable_viewTransition:u})}}),[h,d,p,r,i,n,e,a,c,u])}(v,{replace:d,state:p,target:f,preventScrollReset:C,relative:i,unstable_viewTransition:y});return o.createElement("a",c({},b,{href:n||E,onClick:A||a?r:function(e){r&&r(e),e.defaultPrevented||_(e)},ref:t,target:f}))}));var C,y;function b(e){let t=o.useRef(d(e)),n=o.useRef(!1),r=(0,s.zy)(),i=o.useMemo((()=>function(e,t){let n=d(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(r.search,n.current?null:t.current)),[r.search]),a=(0,s.Zp)(),l=o.useCallback(((e,t)=>{const r=d("function"===typeof e?e(i):e);n.current=!0,a("?"+r,t)}),[a,i]);return[i,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(C||(C={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(y||(y={}))},98853:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>p,BV:()=>M,C5:()=>F,Ix:()=>R,Zp:()=>v,g:()=>C,jb:()=>c,qh:()=>I,x$:()=>y,zy:()=>m});var i=n(61462),o=n(60482);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=i.createContext(null);const l=i.createContext(null);const c=i.createContext(null);const u=i.createContext(null);const d=i.createContext({outlet:null,matches:[],isDataRoute:!1});const h=i.createContext(null);function p(e,t){let{relative:n}=void 0===t?{}:t;f()||(0,o.Oi)(!1);let{basename:r,navigator:a}=i.useContext(c),{hash:s,pathname:l,search:u}=y(e,{relative:n}),d=l;return"/"!==r&&(d="/"===l?r:(0,o.HS)([r,l])),a.createHref({pathname:d,search:u,hash:s})}function f(){return null!=i.useContext(u)}function m(){return f()||(0,o.Oi)(!1),i.useContext(u).location}function g(e){i.useContext(c).static||i.useLayoutEffect(e)}function v(){let{isDataRoute:e}=i.useContext(d);return e?function(){let{router:e}=k(T.UseNavigateStable),t=D(S.UseNavigateStable),n=i.useRef(!1);return g((()=>{n.current=!0})),i.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){f()||(0,o.Oi)(!1);let e=i.useContext(s),{basename:t,future:n,navigator:r}=i.useContext(c),{matches:a}=i.useContext(d),{pathname:l}=m(),u=JSON.stringify((0,o.yD)(a,n.v7_relativeSplatPath)),h=i.useRef(!1);return g((()=>{h.current=!0})),i.useCallback((function(n,i){if(void 0===i&&(i={}),!h.current)return;if("number"===typeof n)return void r.go(n);let a=(0,o.Gh)(n,JSON.parse(u),l,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(i.replace?r.replace:r.push)(a,i.state,i)}),[t,r,u,l,e])}()}function C(){let{matches:e}=i.useContext(d),t=e[e.length-1];return t?t.params:{}}function y(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=i.useContext(c),{matches:a}=i.useContext(d),{pathname:s}=m(),l=JSON.stringify((0,o.yD)(a,r.v7_relativeSplatPath));return i.useMemo((()=>(0,o.Gh)(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function b(e,t,n,r){f()||(0,o.Oi)(!1);let{navigator:s}=i.useContext(c),{matches:l}=i.useContext(d),h=l[l.length-1],p=h?h.params:{},g=(h&&h.pathname,h?h.pathnameBase:"/");h&&h.route;let v,C=m();if(t){var y;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===g||(null==(y=e.pathname)?void 0:y.startsWith(g))||(0,o.Oi)(!1),v=e}else v=C;let b=v.pathname||"/",w=b;if("/"!==g){let e=g.replace(/^\//,"").split("/");w="/"+b.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=(0,o.ue)(e,{pathname:w});let A=_(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,r);return t&&A?i.createElement(u.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:o.rc.Pop}},A):A}function w(){let e=function(){var e;let t=i.useContext(h),n=P(S.UseRouteError),r=D(S.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:a},n):null,null)}const x=i.createElement(w,null);class A extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(d.Provider,{value:this.props.routeContext},i.createElement(h.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:r}=e,o=i.useContext(s);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(d.Provider,{value:t},r)}function _(e,t,n,r){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var s;if(null==(s=n)||!s.errors)return null;e=n.matches}let l=e,c=null==(a=n)?void 0:a.errors;if(null!=c){let e=l.findIndex((e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id])));e>=0||(0,o.Oi)(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let i=0;i<l.length;i++){let e=l[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=i),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight(((e,r,o)=>{let a,s=!1,h=null,p=null;var f;n&&(a=c&&r.route.id?c[r.route.id]:void 0,h=r.route.errorElement||x,u&&(d<0&&0===o?(f="route-fallback",!1||N[f]||(N[f]=!0),s=!0,p=null):d===o&&(s=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,o+1)),g=()=>{let t;return t=a?h:s?p:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(E,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?i.createElement(A,{location:n.location,revalidation:n.revalidation,component:h,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var T=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(T||{}),S=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(S||{});function k(e){let t=i.useContext(s);return t||(0,o.Oi)(!1),t}function P(e){let t=i.useContext(l);return t||(0,o.Oi)(!1),t}function D(e){let t=function(e){let t=i.useContext(d);return t||(0,o.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}const N={};(r||(r=n.t(i,2))).startTransition;function F(e){let{to:t,replace:n,state:r,relative:a}=e;f()||(0,o.Oi)(!1);let{future:s,static:l}=i.useContext(c),{matches:u}=i.useContext(d),{pathname:h}=m(),p=v(),g=(0,o.Gh)(t,(0,o.yD)(u,s.v7_relativeSplatPath),h,"path"===a),C=JSON.stringify(g);return i.useEffect((()=>p(JSON.parse(C),{replace:n,state:r,relative:a})),[p,C,a,n,r]),null}function I(e){(0,o.Oi)(!1)}function R(e){let{basename:t="/",children:n=null,location:r,navigationType:s=o.rc.Pop,navigator:l,static:d=!1,future:h}=e;f()&&(0,o.Oi)(!1);let p=t.replace(/^\/*/,"/"),m=i.useMemo((()=>({basename:p,navigator:l,static:d,future:a({v7_relativeSplatPath:!1},h)})),[p,h,l,d]);"string"===typeof r&&(r=(0,o.Rr)(r));let{pathname:g="/",search:v="",hash:C="",state:y=null,key:b="default"}=r,w=i.useMemo((()=>{let e=(0,o.pb)(g,p);return null==e?null:{location:{pathname:e,search:v,hash:C,state:y,key:b},navigationType:s}}),[p,g,v,C,y,b,s]);return null==w?null:i.createElement(c.Provider,{value:m},i.createElement(u.Provider,{children:n,value:w}))}function M(e){let{children:t,location:n}=e;return b(O(t),n)}new Promise((()=>{}));i.Component;function O(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,((e,r)=>{if(!i.isValidElement(e))return;let a=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,O(e.props.children,a));e.type!==I&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=O(e.props.children,a)),n.push(s)})),n}},26284:(e,t,n)=>{"use strict";var r,i=n(61462),o=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},44320:function(e,t,n){!function(e,t){"use strict";var n="default"in t?t.default:t;function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=a(t);return e=n?(e=a(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,!e||"object"!=typeof e&&"function"!=typeof e?l(r):e}}function u(e,t){var n,r=(t=void 0===t?{}:t).insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css","top"===r&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)))}var d={animated:"rsw_1z",fadeInRight:"rsw_1M",fadeInLeft:"rsw_19",fadeOutRight:"rsw_3C",fadeOutLeft:"rsw_1u"};u("/**\n * Snippets from animate.css\n * Credit goes to https://github.com/daneden\n * github.com/daneden/animate.css\n*/\n.rsw_1z {\n  -webkit-animation-duration: .8192s;\n  animation-duration: .8192s;\n  -webkit-animation-fill-mode: backwards;\n  animation-fill-mode: backwards;\n}\n\n/** fadeInRight */\n@-webkit-keyframes rsw_1M {\n  from {\n    opacity: 0;\n    -webkit-transform: translate3d(100%, 0, 0);\n    transform: translate3d(100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    -webkit-transform: none;\n    transform: none;\n  }\n}\n\n@keyframes rsw_1M {\n  from {\n    opacity: 0;\n    -webkit-transform: translate3d(100%, 0, 0);\n    transform: translate3d(100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    -webkit-transform: none;\n    transform: none;\n  }\n}\n\n.rsw_1M {\n  -webkit-animation-name: rsw_1M;\n  animation-name: rsw_1M;\n}\n\n/** fadeInLeft */\n@-webkit-keyframes rsw_19 {\n  from {\n    opacity: 0;\n    -webkit-transform: translate3d(-100%, 0, 0);\n    transform: translate3d(-100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    -webkit-transform: none;\n    transform: none;\n  }\n}\n\n@keyframes rsw_19 {\n  from {\n    opacity: 0;\n    -webkit-transform: translate3d(-100%, 0, 0);\n    transform: translate3d(-100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    -webkit-transform: none;\n    transform: none;\n  }\n}\n\n.rsw_19 {\n  -webkit-animation-name: rsw_19;\n  animation-name: rsw_19;\n}\n\n/** fadeOutRight */\n@-webkit-keyframes rsw_3C {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: translate3d(100%, 0, 0);\n    transform: translate3d(100%, 0, 0);\n  }\n}\n\n@keyframes rsw_3C {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: translate3d(100%, 0, 0);\n    transform: translate3d(100%, 0, 0);\n  }\n}\n\n.rsw_3C {\n  -webkit-animation-name: rsw_3C;\n  animation-name: rsw_3C;\n}\n\n/** fadeOutLeft */\n@-webkit-keyframes rsw_1u {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: translate3d(-100%, 0, 0);\n    transform: translate3d(-100%, 0, 0);\n  }\n}\n\n@keyframes rsw_1u {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: translate3d(-100%, 0, 0);\n    transform: translate3d(-100%, 0, 0);\n  }\n}\n\n.rsw_1u {\n  -webkit-animation-name: rsw_1u;\n  animation-name: rsw_1u;\n}\n");var h="rsw_2Y",p="rsw_2f",f="rsw_3G";u("/** Step Wizard */\n.rsw_2Y {\n    position: relative;\n}\n\n.rsw_2f {\n    opacity: 0;\n    pointer-events: none;\n    position: absolute;\n    top: 0;\n    width: 100%;\n    z-index: 0;\n}\n\n.rsw_3G {\n    opacity: 1;\n    pointer-events: inherit;\n    position: relative;\n    z-index: 1;\n}\n");var m=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,t.PureComponent);var e,a,u,p=c(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),o(l(t=p.call(this,e)),"initialState",(function(){var e={activeStep:0,classes:{},hashKeys:{},namedSteps:{}},n="object"===("undefined"==typeof window?"undefined":r(window))?t.getHash():"",i=t.getSteps();i.forEach((function(t,n){e.hashKeys[n]=t.props&&t.props.hashKey||"step".concat(n+1),e.hashKeys[e.hashKeys[n]]=n,e.namedSteps[n]=t.props&&t.props.stepName||"step".concat(n+1),e.namedSteps[e.namedSteps[n]]=n}));var o=t.props.initialStep-1;return o&&i[o]&&(e.activeStep=o),t.props.isHashEnabled&&n&&void 0!==e.hashKeys[n]&&(e.activeStep=e.hashKeys[n]),t.props.transitions&&(e.classes[e.activeStep]=t.props.transitions.intro||""),e})),o(l(t),"getHash",(function(){return decodeURI(window.location.hash).replace(/^#/,"")})),o(l(t),"getTransitions",(function(){return t.props.transitions||{enterRight:"".concat(d.animated," ").concat(d.fadeInRight),enterLeft:"".concat(d.animated," ").concat(d.fadeInLeft),exitRight:"".concat(d.animated," ").concat(d.fadeOutRight),exitLeft:"".concat(d.animated," ").concat(d.fadeOutLeft)}})),o(l(t),"onHashChange",(function(){t.setActiveStep(t.state.hashKeys[t.getHash()]||0)})),o(l(t),"isInvalidStep",(function(e){return e<0||e>=t.totalSteps})),o(l(t),"setActiveStep",(function(e){var n,r,i=t.state.activeStep;i!==e&&!t.isInvalidStep(e)&&(n=t.state.classes,r=t.getTransitions(),i<e?(n[i]=r.exitLeft,n[e]=r.enterRight):(n[i]=r.exitRight,n[e]=r.enterLeft),t.setState({activeStep:e,classes:n},(function(){t.onStepChange({previousStep:i+1,activeStep:e+1})})))})),o(l(t),"onStepChange",(function(e){t.props.onStepChange(e),t.props.isHashEnabled&&t.updateHash(t.state.activeStep)})),o(l(t),"getSteps",(function(){return n.Children.toArray(t.props.children)})),o(l(t),"firstStep",(function(){return t.goToStep(1)})),o(l(t),"lastStep",(function(){return t.goToStep(t.totalSteps)})),o(l(t),"nextStep",(function(){return t.setActiveStep(t.state.activeStep+1)})),o(l(t),"previousStep",(function(){return t.setActiveStep(t.state.activeStep-1)})),o(l(t),"goToStep",(function(e){t.props.isHashEnabled&&"string"==typeof e&&void 0!==t.state.hashKeys[e]?t.setActiveStep(t.state.hashKeys[e]):t.setActiveStep(e-1)})),o(l(t),"goToNamedStep",(function(e){"string"==typeof e&&void 0!==t.state.namedSteps[e]?t.setActiveStep(t.state.namedSteps[e]):console.error('Cannot find step with name "'.concat(e,'"'))})),o(l(t),"updateHash",(function(e){window.location.hash=t.state.hashKeys[e]})),o(l(t),"isReactComponent",(function(e){return"function"==typeof(e=e.type)||"object"===r(e)})),t.state=t.initialState(),t}return e=f,(a=[{key:"componentDidMount",value:function(){this.props.isHashEnabled&&window.addEventListener("hashchange",this.onHashChange),this.props.instance(this)}},{key:"componentWillUnmount",value:function(){this.props.isHashEnabled&&window.removeEventListener("hashchange",this.onHashChange)}},{key:"currentStep",get:function(){return this.state.activeStep+1}},{key:"totalSteps",get:function(){return this.getSteps().length}},{key:"render",value:function(){var e=this,t={currentStep:this.currentStep,totalSteps:this.totalSteps,nextStep:this.nextStep,previousStep:this.previousStep,goToStep:this.goToStep,goToNamedStep:this.goToNamedStep,firstStep:this.firstStep,lastStep:this.lastStep},r=this.state.classes,i=n.Children.map(this.getSteps(),(function(i,o){return i?(t.isActive=o===e.state.activeStep,t.transitions=r[o],!e.props.isLazyMount||e.props.isLazyMount&&t.isActive?n.createElement(g,t,e.isReactComponent(i)?n.cloneElement(i,t):i):null):null}));return n.createElement("div",{className:this.props.className},this.props.nav&&n.cloneElement(this.props.nav,t),n.createElement("div",{className:h},i))}}])&&i(e.prototype,a),u&&i(e,u),f}();m.defaultProps={children:[],className:null,initialStep:1,instance:function(){},isHashEnabled:!1,isLazyMount:!1,nav:null,onStepChange:function(){},transitions:void 0};var g=function(e){var t=e.children,r=e.isActive;return e=e.transitions,n.createElement("div",{className:"".concat(p," ").concat(e," ").concat(r?f:"").trim()},t)};g.defaultProps={children:[],isActive:!1,transitions:""},e.Step=g,e.default=m,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(61462))},55878:(e,t,n)=>{"use strict";var r=n(61462),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},72825:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function C(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=v.prototype;var b=y.prototype=new C;b.constructor=y,m(b,v.prototype),b.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,A={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,i)&&!E.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:A.current}}function T(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function k(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+k(l,0):o,w(a)?(i="",null!=e&&(i=e.replace(S,"$&/")+"/"),P(a,t,i,"",(function(e){return e}))):null!=a&&(T(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var u=o+k(s=e[c],c);l+=P(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,i,u=o+k(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,n){if(null==e)return e;var r=[],i=0;return P(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var F={current:null},I={transition:null},R={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:I,ReactCurrentOwner:A};function M(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=y,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.act=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=A.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=M,t.useCallback=function(e,t){return F.current.useCallback(e,t)},t.useContext=function(e){return F.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return F.current.useDeferredValue(e)},t.useEffect=function(e,t){return F.current.useEffect(e,t)},t.useId=function(){return F.current.useId()},t.useImperativeHandle=function(e,t,n){return F.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return F.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return F.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return F.current.useMemo(e,t)},t.useReducer=function(e,t,n){return F.current.useReducer(e,t,n)},t.useRef=function(e){return F.current.useRef(e)},t.useState=function(e){return F.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return F.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return F.current.useTransition()},t.version="18.3.1"},61462:(e,t,n)=>{"use strict";e.exports=n(72825)},99334:(e,t,n)=>{"use strict";e.exports=n(55878)},53017:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<i&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,h=null,p=3,f=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,C="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,I(x);else{var t=r(u);null!==t&&R(w,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,C(T),T=-1),f=!0;var o=p;try{for(b(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!P());){var a=h.callback;if("function"===typeof a){h.callback=null,p=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?h.callback=s:h===r(c)&&i(c),b(n)}else i(c);h=r(c)}if(null!==h)var l=!0;else{var d=r(u);null!==d&&R(w,d.startTime-n),l=!1}return l}finally{h=null,p=o,f=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,E=!1,_=null,T=-1,S=5,k=-1;function P(){return!(t.unstable_now()-k<S)}function D(){if(null!==_){var e=t.unstable_now();k=e;var n=!0;try{n=_(!0,e)}finally{n?A():(E=!1,_=null)}}else E=!1}if("function"===typeof y)A=function(){y(D)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,F=N.port2;N.port1.onmessage=D,A=function(){F.postMessage(null)}}else A=function(){v(D,0)};function I(e){_=e,E||(E=!0,A())}function R(e,n){T=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,I(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(C(T),T=-1):g=!0,R(w,o-a))):(e.sortIndex=s,n(c,e),m||f||(m=!0,I(x))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},86756:(e,t,n)=>{"use strict";e.exports=n(53017)},90884:(e,t,n)=>{"use strict";t.KN=void 0;var r,i=n(75701),o=(r=n(74143))&&r.__esModule?r:{default:r};var a=function(e){var t=e.allowedSizes,n=e.defaultSize,r=e.padding;return function e(){var a=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;if(!this||this.constructor!==e)return new e(s);if(t&&!t.includes(s))throw new Error("Unsupported hash length");var l=new o.default({capacity:s});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(i.Buffer.isBuffer(e))return l.absorb(e),a;if("string"===typeof e)return a.update(i.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"===typeof e?{format:e}:e,n=l.squeeze({buffer:t.buffer,padding:t.padding||r});return t.format&&"binary"!==t.format?n.toString(t.format):n},this.reset=function(){return l.reset(),a},this}},s=a({allowedSizes:[224,256,384,512],defaultSize:512,padding:1});var l=a({allowedSizes:[224,256,384,512],defaultSize:512,padding:6});t.KN=l,a({allowedSizes:[128,256],defaultSize:256,padding:31});var c=s;l.SHA3Hash=c},74143:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(75701),o=(r=n(83614))&&r.__esModule?r:{default:r};var a=function(e,t){for(var n=0;n<e.length;n+=8){var r=n/4;t[r]^=e[n+7]<<24|e[n+6]<<16|e[n+5]<<8|e[n+4],t[r+1]^=e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]}return t},s=function(e,t){for(var n=0;n<t.length;n+=8){var r=n/4;t[n]=e[r+1],t[n+1]=e[r+1]>>>8,t[n+2]=e[r+1]>>>16,t[n+3]=e[r+1]>>>24,t[n+4]=e[r],t[n+5]=e[r]>>>8,t[n+6]=e[r]>>>16,t[n+7]=e[r]>>>24}return t},l=function(e){var t=this,n=e.capacity,r=e.padding,l=(0,o.default)(),c=n/8,u=200-n/4,d=0,h=new Uint32Array(50),p=i.Buffer.allocUnsafe(u);return this.absorb=function(e){for(var n=0;n<e.length;n++)p[d]=e[n],(d+=1)>=u&&(a(p,h),l(h),d=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||i.Buffer.allocUnsafe(c),padding:e.padding||r,queue:i.Buffer.allocUnsafe(p.length),state:new Uint32Array(h.length)};p.copy(t.queue);for(var n=0;n<h.length;n++)t.state[n]=h[n];t.queue.fill(0,d),t.queue[d]|=t.padding,t.queue[u-1]|=128,a(t.queue,t.state);for(var o=0;o<t.buffer.length;o+=u)l(t.state),s(t.state,t.buffer.slice(o,o+u));return t.buffer},this.reset=function(){return p.fill(0),h.fill(0),d=0,t},this};t.default=l},64443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(22162))&&r.__esModule?r:{default:r};var o=function(e){for(var t=e.A,n=e.C,r=0;r<25;r+=5){for(var o=0;o<5;o++)(0,i.default)(t,r+o)(n,o);for(var a=0;a<5;a++){var s=2*(r+a),l=(a+1)%5*2,c=(a+2)%5*2;t[s]^=~n[l]&n[c],t[s+1]^=~n[l+1]&n[c+1]}}};t.default=o},22162:e=>{"use strict";e.exports=function(e,t){return function(n,r){var i=2*r,o=2*t;n[i]=e[o],n[i+1]=e[o+1]}}},83614:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(64443)),i=s(n(82184)),o=s(n(78090)),a=s(n(99841));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e=new Uint32Array(10),t=new Uint32Array(10),n=new Uint32Array(2);return function(s){for(var l=0;l<24;l++)(0,a.default)({A:s,C:e,D:t,W:n}),(0,o.default)({A:s,C:e,W:n}),(0,r.default)({A:s,C:e}),(0,i.default)({A:s,roundIndex:l});e.fill(0),t.fill(0),n.fill(0)}};t.default=l},82184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(53775))&&r.__esModule?r:{default:r};var o=function(e){var t=e.A,n=2*e.roundIndex;t[0]^=i.default[n],t[1]^=i.default[n+1]};t.default=o},53775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=new Uint32Array([0,1,0,32898,2147483648,32906,2147483648,2147516416,0,32907,0,2147483649,2147483648,2147516545,2147483648,32777,0,138,0,136,0,2147516425,0,2147483658,0,2147516555,2147483648,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,0,32778,2147483648,2147483658,2147483648,2147516545,2147483648,32896,0,2147483649,2147483648,2147516424]);t.default=n},78090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(17369)),i=a(n(10991)),o=a(n(22162));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.A,n=e.C,a=e.W;(0,o.default)(t,1)(a,0);for(var s=0,l=0,c=0,u=32,d=0;d<24;d++){var h=r.default[d],p=i.default[d];(0,o.default)(t,h)(n,0),s=a[0],l=a[1],u=32-p,a[c=p<32?0:1]=s<<p|l>>>u,a[(c+1)%2]=l<<p|s>>>u,(0,o.default)(a,0)(t,h),(0,o.default)(n,0)(a,0)}};t.default=s},17369:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];t.default=n},10991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];t.default=n},99841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(22162))&&r.__esModule?r:{default:r};var o=function(e){for(var t=e.A,n=e.C,r=e.D,o=e.W,a=0,s=0,l=0;l<5;l++){var c=2*l,u=2*(l+5),d=2*(l+10),h=2*(l+15),p=2*(l+20);n[c]=t[c]^t[u]^t[d]^t[h]^t[p],n[c+1]=t[c+1]^t[u+1]^t[d+1]^t[h+1]^t[p+1]}for(var f=0;f<5;f++){(0,i.default)(n,(f+1)%5)(o,0),a=o[0],s=o[1],o[0]=a<<1|s>>>31,o[1]=s<<1|a>>>31,r[2*f]=n[(f+4)%5*2]^o[0],r[2*f+1]=n[(f+4)%5*2+1]^o[1];for(var m=0;m<25;m+=5)t[2*(m+f)]^=r[2*f],t[2*(m+f)+1]^=r[2*f+1]}};t.default=o},88043:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},1822:e=>{"use strict";e.exports=(e,t)=>{if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},86110:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>"%".concat(e.charCodeAt(0).toString(16).toUpperCase())))},73151:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(11286));t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,i.default)(e),o="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}})),n}},799:function(e){e.exports=function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(e){if(Array.isArray(e))return e}function n(t){if(Array.isArray(t))return e(t)}function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t=g(t),A(e,C()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return e.get(r(e,t))}function c(e,t,n){a(e,t),t.set(e,n)}function u(e,t,n){return e.set(r(e,t),n),n}function d(e,t,n){if(C())return Reflect.construct.apply(null,arguments);var r=[null];return r.push.apply(r,t),new(e.bind.apply(e,r))}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P(r.key),r)}}function p(e,t,n){return t&&h(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=N(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function m(){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=T(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},m.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}function y(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function b(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function _(e,n){return t(e)||b(e,n)||N(e,n)||w()}function T(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}function S(e){return n(e)||y(e)||N(e)||x()}function k(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function P(e){var t=k(e,"string");return"symbol"==typeof t?t:t+""}function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function N(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}var F=100,I={},R=function(){I.previousActiveElement instanceof HTMLElement?(I.previousActiveElement.focus(),I.previousActiveElement=null):document.body&&document.body.focus()},M=function(e){return new Promise((function(t){if(!e)return t();var n=window.scrollX,r=window.scrollY;I.restoreFocusTimeout=setTimeout((function(){R(),t()}),F),window.scrollTo(n,r)}))},O="swal2-",j=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce((function(e,t){return e[t]=O+t,e}),{}),L=["success","warning","info","question","error"].reduce((function(e,t){return e[t]=O+t,e}),{}),B="SweetAlert2:",U=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},V=function(e){console.warn("".concat(B," ").concat("object"===D(e)?e.join(" "):e))},H=function(e){console.error("".concat(B," ").concat(e))},z=[],Z=function(e){z.includes(e)||(z.push(e),V(e))},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Z('"'.concat(e,'" is deprecated and will be removed in the next major release.').concat(t?' Use "'.concat(t,'" instead.'):""))},q=function(e){return"function"===typeof e?e():e},G=function(e){return e&&"function"===typeof e.toPromise},Y=function(e){return G(e)?e.toPromise():Promise.resolve(e)},K=function(e){return e&&Promise.resolve(e)===e},Q=function(){return document.body.querySelector(".".concat(j.container))},X=function(e){var t=Q();return t?t.querySelector(e):null},J=function(e){return X(".".concat(e))},$=function(){return J(j.popup)},ee=function(){return J(j.icon)},te=function(){return J(j["icon-content"])},ne=function(){return J(j.title)},re=function(){return J(j["html-container"])},ie=function(){return J(j.image)},oe=function(){return J(j["progress-steps"])},ae=function(){return J(j["validation-message"])},se=function(){return X(".".concat(j.actions," .").concat(j.confirm))},le=function(){return X(".".concat(j.actions," .").concat(j.cancel))},ce=function(){return X(".".concat(j.actions," .").concat(j.deny))},ue=function(){return J(j["input-label"])},de=function(){return X(".".concat(j.loader))},he=function(){return J(j.actions)},pe=function(){return J(j.footer)},fe=function(){return J(j["timer-progress-bar"])},me=function(){return J(j.close)},ge='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',ve=function(){var e=$();if(!e)return[];var t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort((function(e,t){var n=parseInt(e.getAttribute("tabindex")||"0"),r=parseInt(t.getAttribute("tabindex")||"0");return n>r?1:n<r?-1:0})),r=e.querySelectorAll(ge),i=Array.from(r).filter((function(e){return"-1"!==e.getAttribute("tabindex")}));return S(new Set(n.concat(i))).filter((function(e){return je(e)}))},Ce=function(){return xe(document.body,j.shown)&&!xe(document.body,j["toast-shown"])&&!xe(document.body,j["no-backdrop"])},ye=function(){var e=$();return!!e&&xe(e,j.toast)},be=function(){var e=$();return!!e&&e.hasAttribute("data-loading")},we=function(e,t){if(e.textContent="",t){var n=(new DOMParser).parseFromString(t,"text/html"),r=n.querySelector("head");r&&Array.from(r.childNodes).forEach((function(t){e.appendChild(t)}));var i=n.querySelector("body");i&&Array.from(i.childNodes).forEach((function(t){t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},xe=function(e,t){if(!t)return!1;for(var n=t.split(/\s+/),r=0;r<n.length;r++)if(!e.classList.contains(n[r]))return!1;return!0},Ae=function(e,t){Array.from(e.classList).forEach((function(n){Object.values(j).includes(n)||Object.values(L).includes(n)||Object.values(t.showClass||{}).includes(n)||e.classList.remove(n)}))},Ee=function(e,t,n){if(Ae(e,t),t.customClass){var r=t.customClass[n];r&&("string"===typeof r||r.forEach?ke(e,r):V("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(D(r),'"')))}},_e=function(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(j.popup," > .").concat(j[t]));case"checkbox":return e.querySelector(".".concat(j.popup," > .").concat(j.checkbox," input"));case"radio":return e.querySelector(".".concat(j.popup," > .").concat(j.radio," input:checked"))||e.querySelector(".".concat(j.popup," > .").concat(j.radio," input:first-child"));case"range":return e.querySelector(".".concat(j.popup," > .").concat(j.range," input"));default:return e.querySelector(".".concat(j.popup," > .").concat(j.input))}},Te=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},Se=function(e,t,n){e&&t&&("string"===typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((function(t){Array.isArray(e)?e.forEach((function(e){n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},ke=function(e,t){Se(e,t,!0)},Pe=function(e,t){Se(e,t,!1)},De=function(e,t){for(var n=Array.from(e.children),r=0;r<n.length;r++){var i=n[r];if(i instanceof HTMLElement&&xe(i,t))return i}},Ne=function(e,t,n){n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?e.style.setProperty(t,"number"===typeof n?"".concat(n,"px"):n):e.style.removeProperty(t)},Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},Ie=function(e){e&&(e.style.display="none")},Re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"block";e&&new MutationObserver((function(){Oe(e,e.innerHTML,t)})).observe(e,{childList:!0,subtree:!0})},Me=function(e,t,n,r){var i=e.querySelector(t);i&&i.style.setProperty(n,r)},Oe=function(e,t){t?Fe(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):Ie(e)},je=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},Le=function(){return!je(se())&&!je(ce())&&!je(le())},Be=function(e){return!!(e.scrollHeight>e.clientHeight)},Ue=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},Ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=fe();n&&je(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},He=function(){var e=fe();if(e){var t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width="".concat(n,"%")}},ze=function(){return"undefined"===typeof window||"undefined"===typeof document},Ze='\n <div aria-labelledby="'.concat(j.title,'" aria-describedby="').concat(j["html-container"],'" class="').concat(j.popup,'" tabindex="-1">\n   <button type="button" class="').concat(j.close,'"></button>\n   <ul class="').concat(j["progress-steps"],'"></ul>\n   <div class="').concat(j.icon,'"></div>\n   <img class="').concat(j.image,'" />\n   <h2 class="').concat(j.title,'" id="').concat(j.title,'"></h2>\n   <div class="').concat(j["html-container"],'" id="').concat(j["html-container"],'"></div>\n   <input class="').concat(j.input,'" id="').concat(j.input,'" />\n   <input type="file" class="').concat(j.file,'" />\n   <div class="').concat(j.range,'">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="').concat(j.select,'" id="').concat(j.select,'"></select>\n   <div class="').concat(j.radio,'"></div>\n   <label class="').concat(j.checkbox,'">\n     <input type="checkbox" id="').concat(j.checkbox,'" />\n     <span class="').concat(j.label,'"></span>\n   </label>\n   <textarea class="').concat(j.textarea,'" id="').concat(j.textarea,'"></textarea>\n   <div class="').concat(j["validation-message"],'" id="').concat(j["validation-message"],'"></div>\n   <div class="').concat(j.actions,'">\n     <div class="').concat(j.loader,'"></div>\n     <button type="button" class="').concat(j.confirm,'"></button>\n     <button type="button" class="').concat(j.deny,'"></button>\n     <button type="button" class="').concat(j.cancel,'"></button>\n   </div>\n   <div class="').concat(j.footer,'"></div>\n   <div class="').concat(j["timer-progress-bar-container"],'">\n     <div class="').concat(j["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),We=function(){var e=Q();return!!e&&(e.remove(),Pe([document.documentElement,document.body],[j["no-backdrop"],j["toast-shown"],j["has-column"]]),!0)},qe=function(){I.currentInstance.resetValidationMessage()},Ge=function(){var e=$(),t=De(e,j.input),n=De(e,j.file),r=e.querySelector(".".concat(j.range," input")),i=e.querySelector(".".concat(j.range," output")),o=De(e,j.select),a=e.querySelector(".".concat(j.checkbox," input")),s=De(e,j.textarea);t.oninput=qe,n.onchange=qe,o.onchange=qe,a.onchange=qe,s.oninput=qe,r.oninput=function(){qe(),i.value=r.value},r.onchange=function(){qe(),i.value=r.value}},Ye=function(e){return"string"===typeof e?document.querySelector(e):e},Ke=function(e){var t=$();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},Qe=function(e){"rtl"===window.getComputedStyle(e).direction&&ke(Q(),j.rtl)},Xe=function(e){var t=We();if(ze())H("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=j.container,t&&ke(n,j["no-transition"]),we(n,Ze);var r=Ye(e.target);r.appendChild(n),Ke(e),Qe(r),Ge()}},Je=function(e,t){e instanceof HTMLElement?t.appendChild(e):"object"===D(e)?$e(e,t):e&&we(t,e)},$e=function(e,t){e.jquery?et(t,e):we(t,e.toString())},et=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},tt=function(){if(ze())return!1;var e=document.createElement("div");return"undefined"!==typeof e.style.webkitAnimation?"webkitAnimationEnd":"undefined"!==typeof e.style.animation&&"animationend"}(),nt=function(e,t){var n=he(),r=de();n&&r&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?Fe(n):Ie(n),Ee(n,t,"actions"),rt(n,r,t),we(r,t.loaderHtml||""),Ee(r,t,"loader"))};function rt(e,t,n){var r=se(),i=ce(),o=le();r&&i&&o&&(ot(r,"confirm",n),ot(i,"deny",n),ot(o,"cancel",n),it(r,i,o,n),n.reverseButtons&&(n.toast?(e.insertBefore(o,r),e.insertBefore(i,r)):(e.insertBefore(o,t),e.insertBefore(i,t),e.insertBefore(r,t))))}function it(e,t,n,r){r.buttonsStyling?(ke([e,t,n],j.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,ke(e,j["default-outline"])),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor,ke(t,j["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,ke(n,j["default-outline"]))):Pe([e,t,n],j.styled)}function ot(e,t,n){var r=U(t);Oe(e,n["show".concat(r,"Button")],"inline-block"),we(e,n["".concat(t,"ButtonText")]||""),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]||""),e.className=j[t],Ee(e,n,"".concat(t,"Button"))}var at=function(e,t){var n=me();n&&(we(n,t.closeButtonHtml||""),Ee(n,t,"closeButton"),Oe(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))},st=function(e,t){var n=Q();n&&(lt(n,t.backdrop),ct(n,t.position),ut(n,t.grow),Ee(n,t,"container"))};function lt(e,t){"string"===typeof t?e.style.background=t:t||ke([document.documentElement,document.body],j["no-backdrop"])}function ct(e,t){t&&(t in j?ke(e,j[t]):(V('The "position" parameter is not valid, defaulting to "center"'),ke(e,j.center)))}function ut(e,t){t&&ke(e,j["grow-".concat(t)])}var dt={innerParams:new WeakMap,domCache:new WeakMap},ht=["input","file","range","select","radio","checkbox","textarea"],pt=function(e,t){var n=$();if(n){var r=dt.innerParams.get(e),i=!r||t.input!==r.input;ht.forEach((function(e){var r=De(n,j[e]);r&&(gt(e,t.inputAttributes),r.className=j[e],i&&Ie(r))})),t.input&&(i&&ft(t),vt(t))}},ft=function(e){if(e.input)if(xt[e.input]){var t=bt(e.input),n=xt[e.input](t,e);Fe(t),e.inputAutoFocus&&setTimeout((function(){Te(n)}))}else H("Unexpected type of input! Expected ".concat(Object.keys(xt).join(" | "),', got "').concat(e.input,'"'))},mt=function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t].name;["id","type","value","style"].includes(n)||e.removeAttribute(n)}},gt=function(e,t){var n=_e($(),e);if(n)for(var r in mt(n),t)n.setAttribute(r,t[r])},vt=function(e){var t=bt(e.input);"object"===D(e.customClass)&&ke(t,e.customClass.input)},Ct=function(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},yt=function(e,t,n){if(n.inputLabel){var r=document.createElement("label"),i=j["input-label"];r.setAttribute("for",e.id),r.className=i,"object"===D(n.customClass)&&ke(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},bt=function(e){return De($(),j[e]||j.input)},wt=function(e,t){["string","number"].includes(D(t))?e.value="".concat(t):K(t)||V('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(D(t),'"'))},xt={};xt.text=xt.email=xt.password=xt.number=xt.tel=xt.url=xt.search=xt.date=xt["datetime-local"]=xt.time=xt.week=xt.month=function(e,t){return wt(e,t.inputValue),yt(e,e,t),Ct(e,t),e.type=t.input,e},xt.file=function(e,t){return yt(e,e,t),Ct(e,t),e},xt.range=function(e,t){var n=e.querySelector("input"),r=e.querySelector("output");return wt(n,t.inputValue),n.type=t.input,wt(r,t.inputValue),yt(n,e,t),e},xt.select=function(e,t){if(e.textContent="",t.inputPlaceholder){var n=document.createElement("option");we(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return yt(e,e,t),e},xt.radio=function(e){return e.textContent="",e},xt.checkbox=function(e,t){var n=_e($(),"checkbox");n.value="1",n.checked=Boolean(t.inputValue);var r=e.querySelector("span");return we(r,t.inputPlaceholder),n},xt.textarea=function(e,t){wt(e,t.inputValue),Ct(e,t),yt(e,e,t);var n=function(e){return parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight)};return setTimeout((function(){if("MutationObserver"in window){var r=parseInt(window.getComputedStyle($()).width);new MutationObserver((function(){if(document.body.contains(e)){var i=e.offsetWidth+n(e);i>r?$().style.width="".concat(i,"px"):Ne($(),"width",t.width)}})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};var At=function(e,t){var n=re();n&&(Re(n),Ee(n,t,"htmlContainer"),t.html?(Je(t.html,n),Fe(n,"block")):t.text?(n.textContent=t.text,Fe(n,"block")):Ie(n),pt(e,t))},Et=function(e,t){var n=pe();n&&(Re(n),Oe(n,t.footer,"block"),t.footer&&Je(t.footer,n),Ee(n,t,"footer"))},_t=function(e,t){var n=dt.innerParams.get(e),r=ee();if(r){if(n&&t.icon===n.icon)return Dt(r,t),void Tt(r,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(L).indexOf(t.icon))return H('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void Ie(r);Fe(r),Dt(r,t),Tt(r,t),ke(r,t.showClass&&t.showClass.icon)}else Ie(r)}},Tt=function(e,t){for(var n=0,r=Object.entries(L);n<r.length;n++){var i=_(r[n],2),o=i[0],a=i[1];t.icon!==o&&Pe(e,a)}ke(e,t.icon&&L[t.icon]),Nt(e,t),St(),Ee(e,t,"icon")},St=function(){var e=$();if(e)for(var t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),r=0;r<n.length;r++)n[r].style.backgroundColor=t},kt='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',Pt='\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n',Dt=function(e,t){if(t.icon||t.iconHtml){var n=e.innerHTML,r="";t.iconHtml?r=Ft(t.iconHtml):"success"===t.icon?(r=kt,n=n.replace(/ style=".*?"/g,"")):"error"===t.icon?r=Pt:t.icon&&(r=Ft({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==r.trim()&&we(e,r)}},Nt=function(e,t){if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(var n=0,r=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];n<r.length;n++){var i=r[n];Me(e,i,"background-color",t.iconColor)}Me(e,".swal2-success-ring","border-color",t.iconColor)}},Ft=function(e){return'<div class="'.concat(j["icon-content"],'">').concat(e,"</div>")},It=function(e,t){var n=ie();n&&(t.imageUrl?(Fe(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),Ne(n,"width",t.imageWidth),Ne(n,"height",t.imageHeight),n.className=j.image,Ee(n,t,"image")):Ie(n))},Rt=function(e,t){var n=Q(),r=$();if(n&&r){if(t.toast){Ne(n,"width",t.width),r.style.width="100%";var i=de();i&&r.insertBefore(i,ee())}else Ne(r,"width",t.width);Ne(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),Ie(ae()),Mt(r,t)}},Mt=function(e,t){var n=t.showClass||{};e.className="".concat(j.popup," ").concat(je(e)?n.popup:""),t.toast?(ke([document.documentElement,document.body],j["toast-shown"]),ke(e,j.toast)):ke(e,j.modal),Ee(e,t,"popup"),"string"===typeof t.customClass&&ke(e,t.customClass),t.icon&&ke(e,j["icon-".concat(t.icon)])},Ot=function(e,t){var n=oe();if(n){var r=t.progressSteps,i=t.currentProgressStep;r&&0!==r.length&&void 0!==i?(Fe(n),n.textContent="",i>=r.length&&V("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.forEach((function(e,o){var a=jt(e);if(n.appendChild(a),o===i&&ke(a,j["active-progress-step"]),o!==r.length-1){var s=Lt(t);n.appendChild(s)}}))):Ie(n)}},jt=function(e){var t=document.createElement("li");return ke(t,j["progress-step"]),we(t,e),t},Lt=function(e){var t=document.createElement("li");return ke(t,j["progress-step-line"]),e.progressStepsDistance&&Ne(t,"width",e.progressStepsDistance),t},Bt=function(e,t){var n=ne();n&&(Re(n),Oe(n,t.title||t.titleText,"block"),t.title&&Je(t.title,n),t.titleText&&(n.innerText=t.titleText),Ee(n,t,"title"))},Ut=function(e,t){Rt(e,t),st(e,t),Ot(e,t),_t(e,t),It(e,t),Bt(e,t),at(e,t),At(e,t),nt(e,t),Et(e,t);var n=$();"function"===typeof t.didRender&&n&&t.didRender(n)},Vt=function(){return je($())},Ht=function(){var e;return null===(e=se())||void 0===e?void 0:e.click()},zt=function(){var e;return null===(e=ce())||void 0===e?void 0:e.click()},Zt=function(){var e;return null===(e=le())||void 0===e?void 0:e.click()},Wt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),qt=function(e){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Gt=function(e,t,n){qt(e),t.toast||(e.keydownHandler=function(e){return Xt(t,e,n)},e.keydownTarget=t.keydownListenerCapture?window:$(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Yt=function(e,t){var n,r=ve();if(r.length)return(e+=t)===r.length?e=0:-1===e&&(e=r.length-1),void r[e].focus();null===(n=$())||void 0===n||n.focus()},Kt=["ArrowRight","ArrowDown"],Qt=["ArrowLeft","ArrowUp"],Xt=function(e,t,n){e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Jt(t,e):"Tab"===t.key?$t(t):[].concat(Kt,Qt).includes(t.key)?en(t.key):"Escape"===t.key&&tn(t,e,n)))},Jt=function(e,t){if(q(t.allowEnterKey)){var n=_e($(),t.input);if(e.target&&n&&e.target instanceof HTMLElement&&e.target.outerHTML===n.outerHTML){if(["textarea","file"].includes(t.input))return;Ht(),e.preventDefault()}}},$t=function(e){for(var t=e.target,n=ve(),r=-1,i=0;i<n.length;i++)if(t===n[i]){r=i;break}e.shiftKey?Yt(r,-1):Yt(r,1),e.stopPropagation(),e.preventDefault()},en=function(e){var t=he(),n=se(),r=ce(),i=le();if(t&&n&&r&&i){var o=[n,r,i];if(!(document.activeElement instanceof HTMLElement)||o.includes(document.activeElement)){var a=Kt.includes(e)?"nextElementSibling":"previousElementSibling",s=document.activeElement;if(s){for(var l=0;l<t.children.length;l++){if(!(s=s[a]))return;if(s instanceof HTMLButtonElement&&je(s))break}s instanceof HTMLButtonElement&&s.focus()}}}},tn=function(e,t,n){q(t.allowEscapeKey)&&(e.preventDefault(),n(Wt.esc))},nn={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap},rn=function(){var e=Q();Array.from(document.body.children).forEach((function(t){t.contains(e)||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")||""),t.setAttribute("aria-hidden","true"))}))},on=function(){Array.from(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},an="undefined"!==typeof window&&!!window.GestureEvent,sn=function(){if(an&&!xe(document.body,j.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),ke(document.body,j.iosfix),ln()}},ln=function(){var e,t=Q();t&&(t.ontouchstart=function(t){e=cn(t)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())})},cn=function(e){var t=e.target,n=Q(),r=re();return!(!n||!r)&&!un(e)&&!dn(e)&&(t===n||!Be(n)&&t instanceof HTMLElement&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&(!Be(r)||!r.contains(t)))},un=function(e){return e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType},dn=function(e){return e.touches&&e.touches.length>1},hn=function(){if(xe(document.body,j.iosfix)){var e=parseInt(document.body.style.top,10);Pe(document.body,j.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},pn=function(){var e=document.createElement("div");e.className=j["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},fn=null,mn=function(e){null===fn&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&(fn=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(fn+pn(),"px"))},gn=function(){null!==fn&&(document.body.style.paddingRight="".concat(fn,"px"),fn=null)};function vn(e,t,n,r){ye()?Tn(e,r):(M(n).then((function(){return Tn(e,r)})),qt(I)),an?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),Ce()&&(gn(),hn(),on()),Cn()}function Cn(){Pe([document.documentElement,document.body],[j.shown,j["height-auto"],j["no-backdrop"],j["toast-shown"]])}function yn(e){e=An(e);var t=nn.swalPromiseResolve.get(this),n=bn(this);this.isAwaitingPromise?e.isDismissed||(xn(this),t(e)):n&&t(e)}var bn=function(e){var t=$();if(!t)return!1;var n=dt.innerParams.get(e);if(!n||xe(t,n.hideClass.popup))return!1;Pe(t,n.showClass.popup),ke(t,n.hideClass.popup);var r=Q();return Pe(r,n.showClass.backdrop),ke(r,n.hideClass.backdrop),En(e,t,n),!0};function wn(e){var t=nn.swalPromiseReject.get(this);xn(this),t&&t(e)}var xn=function(e){e.isAwaitingPromise&&(delete e.isAwaitingPromise,dt.innerParams.get(e)||e._destroy())},An=function(e){return"undefined"===typeof e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e)},En=function(e,t,n){var r=Q(),i=tt&&Ue(t);"function"===typeof n.willClose&&n.willClose(t),i?_n(e,t,r,n.returnFocus,n.didClose):vn(e,r,n.returnFocus,n.didClose)},_n=function(e,t,n,r,i){tt&&(I.swalCloseEventFinishedCallback=vn.bind(null,e,n,r,i),t.addEventListener(tt,(function(e){e.target===t&&(I.swalCloseEventFinishedCallback(),delete I.swalCloseEventFinishedCallback)})))},Tn=function(e,t){setTimeout((function(){"function"===typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},Sn=function(e){var t=$();if(t||new Pi,t=$()){var n=de();ye()?Ie(ee()):kn(t,e),Fe(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()}},kn=function(e,t){var n=he(),r=de();n&&r&&(!t&&je(se())&&(t=se()),Fe(n),t&&(Ie(t),r.setAttribute("data-button-to-replace",t.className),n.insertBefore(r,t)),ke([e,n],j.loading))},Pn=function(e,t){"select"===t.input||"radio"===t.input?Rn(e,t):["text","email","number","tel","textarea"].some((function(e){return e===t.input}))&&(G(t.inputValue)||K(t.inputValue))&&(Sn(se()),Mn(e,t))},Dn=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Nn(n);case"radio":return Fn(n);case"file":return In(n);default:return t.inputAutoTrim?n.value.trim():n.value}},Nn=function(e){return e.checked?1:0},Fn=function(e){return e.checked?e.value:null},In=function(e){return e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},Rn=function(e,t){var n=$();if(n){var r=function(e){"select"===t.input?On(n,Ln(e),t):"radio"===t.input&&jn(n,Ln(e),t)};G(t.inputOptions)||K(t.inputOptions)?(Sn(se()),Y(t.inputOptions).then((function(t){e.hideLoading(),r(t)}))):"object"===D(t.inputOptions)?r(t.inputOptions):H("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(D(t.inputOptions)))}},Mn=function(e,t){var n=e.getInput();n&&(Ie(n),Y(t.inputValue).then((function(r){n.value="number"===t.input?"".concat(parseFloat(r)||0):"".concat(r),Fe(n),n.focus(),e.hideLoading()})).catch((function(t){H("Error in inputValue promise: ".concat(t)),n.value="",Fe(n),n.focus(),e.hideLoading()})))};function On(e,t,n){var r=De(e,j.select);if(r){var i=function(e,t,r){var i=document.createElement("option");i.value=r,we(i,t),i.selected=Bn(r,n.inputValue),e.appendChild(i)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var o=document.createElement("optgroup");o.label=t,o.disabled=!1,r.appendChild(o),n.forEach((function(e){return i(o,e[1],e[0])}))}else i(r,n,t)})),r.focus()}}function jn(e,t,n){var r=De(e,j.radio);if(r){t.forEach((function(e){var t=e[0],i=e[1],o=document.createElement("input"),a=document.createElement("label");o.type="radio",o.name=j.radio,o.value=t,Bn(t,n.inputValue)&&(o.checked=!0);var s=document.createElement("span");we(s,i),s.className=j.label,a.appendChild(o),a.appendChild(s),r.appendChild(a)}));var i=r.querySelectorAll("input");i.length&&i[0].focus()}}var Ln=function e(t){var n=[];return t instanceof Map?t.forEach((function(t,r){var i=t;"object"===D(i)&&(i=e(i)),n.push([r,i])})):Object.keys(t).forEach((function(r){var i=t[r];"object"===D(i)&&(i=e(i)),n.push([r,i])})),n},Bn=function(e,t){return!!t&&t.toString()===e.toString()},Un=void 0,Vn=function(e){var t=dt.innerParams.get(e);e.disableButtons(),t.input?Zn(e,"confirm"):Kn(e,!0)},Hn=function(e){var t=dt.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Zn(e,"deny"):qn(e,!1)},zn=function(e,t){e.disableButtons(),t(Wt.cancel)},Zn=function(e,t){var n=dt.innerParams.get(e);if(n.input){var r=e.getInput(),i=Dn(e,n);n.inputValidator?Wn(e,i,t):r&&!r.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||r.validationMessage)):"deny"===t?qn(e,i):Kn(e,i)}else H('The "input" parameter is needed to be set when using returnInputValueOn'.concat(U(t)))},Wn=function(e,t,n){var r=dt.innerParams.get(e);e.disableInput(),Promise.resolve().then((function(){return Y(r.inputValidator(t,r.validationMessage))})).then((function(r){e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):"deny"===n?qn(e,t):Kn(e,t)}))},qn=function(e,t){var n=dt.innerParams.get(e||Un);n.showLoaderOnDeny&&Sn(ce()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((function(){return Y(n.preDeny(t,n.validationMessage))})).then((function(n){!1===n?(e.hideLoading(),xn(e)):e.close({isDenied:!0,value:"undefined"===typeof n?t:n})})).catch((function(t){return Yn(e||Un,t)}))):e.close({isDenied:!0,value:t})},Gn=function(e,t){e.close({isConfirmed:!0,value:t})},Yn=function(e,t){e.rejectPromise(t)},Kn=function(e,t){var n=dt.innerParams.get(e||Un);n.showLoaderOnConfirm&&Sn(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((function(){return Y(n.preConfirm(t,n.validationMessage))})).then((function(n){je(ae())||!1===n?(e.hideLoading(),xn(e)):Gn(e,"undefined"===typeof n?t:n)})).catch((function(t){return Yn(e||Un,t)}))):Gn(e,t)};function Qn(){var e=dt.innerParams.get(this);if(e){var t=dt.domCache.get(this);Ie(t.loader),ye()?e.icon&&Fe(ee()):Xn(t),Pe([t.popup,t.actions],j.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}}var Xn=function(e){var t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?Fe(t[0],"inline-block"):Le()&&Ie(e.actions)};function Jn(){var e=dt.innerParams.get(this),t=dt.domCache.get(this);return t?_e(t.popup,e.input):null}function $n(e,t,n){var r=dt.domCache.get(e);t.forEach((function(e){r[e].disabled=n}))}function er(e,t){var n=$();if(n&&e)if("radio"===e.type)for(var r=n.querySelectorAll('[name="'.concat(j.radio,'"]')),i=0;i<r.length;i++)r[i].disabled=t;else e.disabled=t}function tr(){$n(this,["confirmButton","denyButton","cancelButton"],!1)}function nr(){$n(this,["confirmButton","denyButton","cancelButton"],!0)}function rr(){er(this.getInput(),!1)}function ir(){er(this.getInput(),!0)}function or(e){var t=dt.domCache.get(this),n=dt.innerParams.get(this);we(t.validationMessage,e),t.validationMessage.className=j["validation-message"],n.customClass&&n.customClass.validationMessage&&ke(t.validationMessage,n.customClass.validationMessage),Fe(t.validationMessage);var r=this.getInput();r&&(r.setAttribute("aria-invalid","true"),r.setAttribute("aria-describedby",j["validation-message"]),Te(r),ke(r,j.inputerror))}function ar(){var e=dt.domCache.get(this);e.validationMessage&&Ie(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),Pe(t,j.inputerror))}var sr={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},lr=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],cr={allowEnterKey:void 0},ur=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],dr=function(e){return Object.prototype.hasOwnProperty.call(sr,e)},hr=function(e){return-1!==lr.indexOf(e)},pr=function(e){return cr[e]},fr=function(e){dr(e)||V('Unknown parameter "'.concat(e,'"'))},mr=function(e){ur.includes(e)&&V('The parameter "'.concat(e,'" is incompatible with toasts'))},gr=function(e){var t=pr(e);t&&W(e,t)},vr=function(e){for(var t in!1===e.backdrop&&e.allowOutsideClick&&V('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e)fr(t),e.toast&&mr(t),gr(t)};function Cr(e){var t=$(),n=dt.innerParams.get(this);if(t&&!xe(t,n.hideClass.popup)){var r=yr(e),i=Object.assign({},n,r);Ut(this,i),dt.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}else V("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.")}var yr=function(e){var t={};return Object.keys(e).forEach((function(n){hr(n)?t[n]=e[n]:V("Invalid parameter to update: ".concat(n))})),t};function br(){var e=dt.domCache.get(this),t=dt.innerParams.get(this);t?(e.popup&&I.swalCloseEventFinishedCallback&&(I.swalCloseEventFinishedCallback(),delete I.swalCloseEventFinishedCallback),"function"===typeof t.didDestroy&&t.didDestroy(),wr(this)):xr(this)}var wr=function(e){xr(e),delete e.params,delete I.keydownHandler,delete I.keydownTarget,delete I.currentInstance},xr=function(e){e.isAwaitingPromise?(Ar(dt,e),e.isAwaitingPromise=!0):(Ar(nn,e),Ar(dt,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Ar=function(e,t){for(var n in e)e[n].delete(t)},Er=Object.freeze({__proto__:null,_destroy:br,close:yn,closeModal:yn,closePopup:yn,closeToast:yn,disableButtons:nr,disableInput:ir,disableLoading:Qn,enableButtons:tr,enableInput:rr,getInput:Jn,handleAwaitingPromise:xn,hideLoading:Qn,rejectPromise:wn,resetValidationMessage:ar,showValidationMessage:or,update:Cr}),_r=function(e,t,n){e.toast?Tr(e,t,n):(Pr(t),Dr(t),Nr(e,t,n))},Tr=function(e,t,n){t.popup.onclick=function(){e&&(Sr(e)||e.timer||e.input)||n(Wt.close)}},Sr=function(e){return!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton)},kr=!1,Pr=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=function(){},t.target===e.container&&(kr=!0)}}},Dr=function(e){e.container.onmousedown=function(t){t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(t){e.popup.onmouseup=function(){},(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(kr=!0)}}},Nr=function(e,t,n){t.container.onclick=function(r){kr?kr=!1:r.target===t.container&&q(e.allowOutsideClick)&&n(Wt.backdrop)}},Fr=function(e){return"object"===D(e)&&e.jquery},Ir=function(e){return e instanceof Element||Fr(e)},Rr=function(e){var t={};return"object"!==D(e[0])||Ir(e[0])?["title","html","icon"].forEach((function(n,r){var i=e[r];"string"===typeof i||Ir(i)?t[n]=i:void 0!==i&&H("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(D(i)))})):Object.assign(t,e[0]),t};function Mr(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(e,n)}function Or(e){var t=function(t){function n(){return s(this,n),o(this,n,arguments)}return v(n,t),p(n,[{key:"_main",value:function(t,r){return m(g(n.prototype),"_main",this).call(this,t,Object.assign({},e,r))}}])}(this);return t}var jr=function(){return I.timeout&&I.timeout.getTimerLeft()},Lr=function(){if(I.timeout)return He(),I.timeout.stop()},Br=function(){if(I.timeout){var e=I.timeout.start();return Ve(e),e}},Ur=function(){var e=I.timeout;return e&&(e.running?Lr():Br())},Vr=function(e){if(I.timeout){var t=I.timeout.increase(e);return Ve(t,!0),t}},Hr=function(){return!(!I.timeout||!I.timeout.isRunning())},zr=!1,Zr={};function Wr(){Zr[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,zr||(document.body.addEventListener("click",Gr),zr=!0)}var qr,Gr=function(e){for(var t=e.target;t&&t!==document;t=t.parentNode)for(var n in Zr){var r=t.getAttribute(n);if(r)return void Zr[n].fire({template:r})}},Yr=Object.freeze({__proto__:null,argsToParams:Rr,bindClickHandler:Wr,clickCancel:Zt,clickConfirm:Ht,clickDeny:zt,enableLoading:Sn,fire:Mr,getActions:he,getCancelButton:le,getCloseButton:me,getConfirmButton:se,getContainer:Q,getDenyButton:ce,getFocusableElements:ve,getFooter:pe,getHtmlContainer:re,getIcon:ee,getIconContent:te,getImage:ie,getInputLabel:ue,getLoader:de,getPopup:$,getProgressSteps:oe,getTimerLeft:jr,getTimerProgressBar:fe,getTitle:ne,getValidationMessage:ae,increaseTimer:Vr,isDeprecatedParameter:pr,isLoading:be,isTimerRunning:Hr,isUpdatableParameter:hr,isValidParameter:dr,isVisible:Vt,mixin:Or,resumeTimer:Br,showLoading:Sn,stopTimer:Lr,toggleTimer:Ur}),Kr=function(){function e(t,n){s(this,e),this.callback=t,this.remaining=n,this.running=!1,this.start()}return p(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}])}(),Qr=["swal-title","swal-html","swal-footer"],Xr=function(e){var t="string"===typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};var n=t.content;return oi(n),Object.assign(Jr(n),$r(n),ei(n),ti(n),ni(n),ri(n),ii(n,Qr))},Jr=function(e){var t={};return Array.from(e.querySelectorAll("swal-param")).forEach((function(e){ai(e,["name","value"]);var n=e.getAttribute("name"),r=e.getAttribute("value");"boolean"===typeof sr[n]?t[n]="false"!==r:"object"===D(sr[n])?t[n]=JSON.parse(r):t[n]=r})),t},$r=function(e){var t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((function(e){var n=e.getAttribute("name"),r=e.getAttribute("value");t[n]=new Function("return ".concat(r))()})),t},ei=function(e){var t={};return Array.from(e.querySelectorAll("swal-button")).forEach((function(e){ai(e,["type","color","aria-label"]);var n=e.getAttribute("type");t["".concat(n,"ButtonText")]=e.innerHTML,t["show".concat(U(n),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},ti=function(e){var t={},n=e.querySelector("swal-image");return n&&(ai(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")||void 0),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")||void 0),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")||void 0),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt")||void 0)),t},ni=function(e){var t={},n=e.querySelector("swal-icon");return n&&(ai(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},ri=function(e){var t={},n=e.querySelector("swal-input");n&&(ai(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));var r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(t.inputOptions={},r.forEach((function(e){ai(e,["value"]);var n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},ii=function(e,t){var n={};for(var r in t){var i=t[r],o=e.querySelector(i);o&&(ai(o,[]),n[i.replace(/^swal-/,"")]=o.innerHTML.trim())}return n},oi=function(e){var t=Qr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((function(e){var n=e.tagName.toLowerCase();t.includes(n)||V("Unrecognized element <".concat(n,">"))}))},ai=function(e,t){Array.from(e.attributes).forEach((function(n){-1===t.indexOf(n.name)&&V(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},si=10,li=function(e){var t=Q(),n=$();"function"===typeof e.willOpen&&e.willOpen(n);var r=window.getComputedStyle(document.body).overflowY;hi(t,n,e),setTimeout((function(){ui(t,n)}),si),Ce()&&(di(t,e.scrollbarPadding,r),rn()),ye()||I.previousActiveElement||(I.previousActiveElement=document.activeElement),"function"===typeof e.didOpen&&setTimeout((function(){return e.didOpen(n)})),Pe(t,j["no-transition"])},ci=function e(t){var n=$();if(t.target===n&&tt){var r=Q();n.removeEventListener(tt,e),r.style.overflowY="auto"}},ui=function(e,t){tt&&Ue(t)?(e.style.overflowY="hidden",t.addEventListener(tt,ci)):e.style.overflowY="auto"},di=function(e,t,n){sn(),t&&"hidden"!==n&&mn(n),setTimeout((function(){e.scrollTop=0}))},hi=function(e,t,n){ke(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),Fe(t,"grid"),setTimeout((function(){ke(t,n.showClass.popup),t.style.removeProperty("opacity")}),si)):Fe(t,"grid"),ke([document.documentElement,document.body],j.shown),n.heightAuto&&n.backdrop&&!n.toast&&ke([document.documentElement,document.body],j["height-auto"])},pi={email:function(e,t){return/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function fi(e){e.inputValidator||("email"===e.input&&(e.inputValidator=pi.email),"url"===e.input&&(e.inputValidator=pi.url))}function mi(e){(!e.target||"string"===typeof e.target&&!document.querySelector(e.target)||"string"!==typeof e.target&&!e.target.appendChild)&&(V('Target parameter is not valid, defaulting to "body"'),e.target="body")}function gi(e){fi(e),e.showLoaderOnConfirm&&!e.preConfirm&&V("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),mi(e),"string"===typeof e.title&&(e.title=e.title.split("\n").join("<br />")),Xe(e)}var vi=new WeakMap,Ci=function(){function e(){if(s(this,e),c(this,vi,void 0),"undefined"!==typeof window){qr=this;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Object.freeze(this.constructor.argsToParams(n));this.params=i,this.isAwaitingPromise=!1,u(vi,this,this._main(qr.params))}}return p(e,[{key:"_main",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(vr(Object.assign({},t,e)),I.currentInstance){var n=nn.swalPromiseResolve.get(I.currentInstance),r=I.currentInstance.isAwaitingPromise;I.currentInstance._destroy(),r||n({isDismissed:!0}),Ce()&&on()}I.currentInstance=qr;var i=bi(e,t);gi(i),Object.freeze(i),I.timeout&&(I.timeout.stop(),delete I.timeout),clearTimeout(I.restoreFocusTimeout);var o=wi(qr);return Ut(qr,i),dt.innerParams.set(qr,i),yi(qr,o,i)}},{key:"then",value:function(e){return l(vi,this).then(e)}},{key:"finally",value:function(e){return l(vi,this).finally(e)}}])}(),yi=function(e,t,n){return new Promise((function(r,i){var o=function(t){e.close({isDismissed:!0,dismiss:t})};nn.swalPromiseResolve.set(e,r),nn.swalPromiseReject.set(e,i),t.confirmButton.onclick=function(){Vn(e)},t.denyButton.onclick=function(){Hn(e)},t.cancelButton.onclick=function(){zn(e,o)},t.closeButton.onclick=function(){o(Wt.close)},_r(n,t,o),Gt(I,n,o),Pn(e,n),li(n),xi(I,n,o),Ai(t,n),setTimeout((function(){t.container.scrollTop=0}))}))},bi=function(e,t){var n=Xr(e),r=Object.assign({},sr,t,n,e);return r.showClass=Object.assign({},sr.showClass,r.showClass),r.hideClass=Object.assign({},sr.hideClass,r.hideClass),!1===r.animation&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},wi=function(e){var t={popup:$(),container:Q(),actions:he(),confirmButton:se(),denyButton:ce(),cancelButton:le(),loader:de(),closeButton:me(),validationMessage:ae(),progressSteps:oe()};return dt.domCache.set(e,t),t},xi=function(e,t,n){var r=fe();Ie(r),t.timer&&(e.timeout=new Kr((function(){n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(Fe(r),Ee(r,t,"timerProgressBar"),setTimeout((function(){e.timeout&&e.timeout.running&&Ve(t.timer)}))))},Ai=function(e,t){if(!t.toast)return q(t.allowEnterKey)?void(Ei(e)||_i(e,t)||Yt(-1,1)):(W("allowEnterKey"),void Ti())},Ei=function(e){var t,n=f(e.popup.querySelectorAll("[autofocus]"));try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r instanceof HTMLElement&&je(r))return r.focus(),!0}}catch(i){n.e(i)}finally{n.f()}return!1},_i=function(e,t){return t.focusDeny&&je(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&je(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!je(e.confirmButton))&&(e.confirmButton.focus(),!0)},Ti=function(){document.activeElement instanceof HTMLElement&&"function"===typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!==typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){var Si=new Date,ki=localStorage.getItem("swal-initiation");ki?(Si.getTime()-Date.parse(ki))/864e5>3&&setTimeout((function(){document.body.style.pointerEvents="none";var e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((function(){e.play().catch((function(){}))}),2500)}),500):localStorage.setItem("swal-initiation","".concat(Si))}Ci.prototype.disableButtons=nr,Ci.prototype.enableButtons=tr,Ci.prototype.getInput=Jn,Ci.prototype.disableInput=ir,Ci.prototype.enableInput=rr,Ci.prototype.hideLoading=Qn,Ci.prototype.disableLoading=Qn,Ci.prototype.showValidationMessage=or,Ci.prototype.resetValidationMessage=ar,Ci.prototype.close=yn,Ci.prototype.closePopup=yn,Ci.prototype.closeModal=yn,Ci.prototype.closeToast=yn,Ci.prototype.rejectPromise=wn,Ci.prototype.update=Cr,Ci.prototype._destroy=br,Object.assign(Ci,Yr),Object.keys(Er).forEach((function(e){Ci[e]=function(){var t;return qr&&qr[e]?(t=qr)[e].apply(t,arguments):null}})),Ci.DismissReason=Wt,Ci.version="11.12.2";var Pi=Ci;return Pi.default=Pi,Pi}(),"undefined"!==typeof this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')},24504:e=>{const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),o=e=>n(e).reduce(((e,t)=>"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())),"");e.exports={words:n,upperFirst:r,camelCase:o,pascalCase:e=>r(o(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},77623:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){}},41567:e=>{function t(e,t){var n=e.length,r=new Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||l(e[o],o,new Set);return r;function l(e,t,o){if(o.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(h){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var u=a.get(e)||new Set;if(t=(u=Array.from(u)).length){o.add(e);do{var d=u[--t];l(d,s.get(d),o)}while(t);o.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},60796:(e,t,n)=>{"use strict";function r(e,t){return t=t||{},new Promise((function(n,r){var i=new XMLHttpRequest,o=[],a=[],s={},l=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:l,headers:{keys:function(){return o},entries:function(){return a},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){o.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?s[t]+","+n:n})),n(l())},i.onerror=r,i.withCredentials="include"==t.credentials,t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)}))}n.r(t),n.d(t,{default:()=>r})},33905:(e,t,n)=>{"use strict";var r=n(61462);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s((function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,n,t]),a((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},12898:(e,t,n)=>{"use strict";e.exports=n(33905)},7273:e=>{"use strict";var t=function(){};e.exports=t},75370:(e,t)=>{"use strict";function n(e,t,n){return n.globals&&(e=n.globals[e.name]),new e("".concat(n.context?n.context:"Value"," ").concat(t,"."))}function r(e,t){if("bigint"===typeof e)throw n(TypeError,"is a BigInt which cannot be converted to a number",t);return t.globals?t.globals.Number(e):Number(e)}function i(e){return s(e>0&&e%1===.5&&0===(1&e)||e<0&&e%1===-.5&&1===(1&e)?Math.floor(e):Math.round(e))}function o(e){return s(Math.trunc(e))}function a(e){return e<0?-1:1}function s(e){return 0===e?0:e}function l(e,t){let l,c,{unsigned:u}=t;u?(l=0,c=2**e-1):(l=-(2**(e-1)),c=2**(e-1)-1);const d=2**e,h=2**(e-1);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=r(e,t);if(p=s(p),t.enforceRange){if(!Number.isFinite(p))throw n(TypeError,"is not a finite number",t);if(p=o(p),p<l||p>c)throw n(TypeError,"is outside the accepted range of ".concat(l," to ").concat(c,", inclusive"),t);return p}return!Number.isNaN(p)&&t.clamp?(p=Math.min(Math.max(p,l),c),p=i(p),p):Number.isFinite(p)&&0!==p?(p=o(p),p>=l&&p<=c?p:(p=function(e,t){const n=e%t;return a(t)!==a(n)?n+t:n}(p,d),!u&&p>=h?p-d:p)):0}}function c(e,t){let{unsigned:a}=t;const l=Number.MAX_SAFE_INTEGER,c=a?0:Number.MIN_SAFE_INTEGER,u=a?BigInt.asUintN:BigInt.asIntN;return function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=r(t,a);if(d=s(d),a.enforceRange){if(!Number.isFinite(d))throw n(TypeError,"is not a finite number",a);if(d=o(d),d<c||d>l)throw n(TypeError,"is outside the accepted range of ".concat(c," to ").concat(l,", inclusive"),a);return d}if(!Number.isNaN(d)&&a.clamp)return d=Math.min(Math.max(d,c),l),d=i(d),d;if(!Number.isFinite(d)||0===d)return 0;let h=BigInt(o(d));return h=u(e,h),Number(h)}}t.any=e=>e,t.undefined=()=>{},t.boolean=e=>Boolean(e),t.byte=l(8,{unsigned:!1}),t.octet=l(8,{unsigned:!0}),t.short=l(16,{unsigned:!1}),t["unsigned short"]=l(16,{unsigned:!0}),t.long=l(32,{unsigned:!1}),t["unsigned long"]=l(32,{unsigned:!0}),t["long long"]=c(64,{unsigned:!1}),t["unsigned long long"]=c(64,{unsigned:!0}),t.double=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=r(e,t);if(!Number.isFinite(i))throw n(TypeError,"is not a finite floating-point value",t);return i},t["unrestricted double"]=function(e){return r(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},t.float=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=r(e,t);if(!Number.isFinite(i))throw n(TypeError,"is not a finite floating-point value",t);if(Object.is(i,-0))return i;const o=Math.fround(i);if(!Number.isFinite(o))throw n(TypeError,"is outside the range of a single-precision floating-point value",t);return o},t["unrestricted float"]=function(e){const t=r(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return isNaN(t)||Object.is(t,-0)?t:Math.fround(t)},t.DOMString=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.treatNullAsEmptyString&&null===e)return"";if("symbol"===typeof e)throw n(TypeError,"is a symbol, which cannot be converted to a string",t);return(t.globals?t.globals.String:String)(e)},t.ByteString=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=t.DOMString(e,r);let o;for(let t=0;void 0!==(o=i.codePointAt(t));++t)if(o>255)throw n(TypeError,"is not a valid ByteString",r);return i},t.USVString=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.DOMString(e,n),i=r.length,o=[];for(let t=0;t<i;++t){const e=r.charCodeAt(t);if(e<55296||e>57343)o.push(String.fromCodePoint(e));else if(56320<=e&&e<=57343)o.push(String.fromCodePoint(65533));else if(t===i-1)o.push(String.fromCodePoint(65533));else{const n=r.charCodeAt(t+1);if(56320<=n&&n<=57343){const r=1023&e,i=1023&n;o.push(String.fromCodePoint(65536+1024*r+i)),++t}else o.push(String.fromCodePoint(65533))}}return o.join("")},t.object=function(e){if(null===e||"object"!==typeof e&&"function"!==typeof e)throw n(TypeError,"is not an object",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return e};const u=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,d="function"===typeof SharedArrayBuffer?Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get:null;function h(e){try{return u.call(e),!0}catch{return!1}}function p(e){try{return d.call(e),!0}catch{return!1}}function f(e){try{return new Uint8Array(e),!1}catch{return!0}}t.ArrayBuffer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!h(e)){if(t.allowShared&&!p(e))throw n(TypeError,"is not an ArrayBuffer or SharedArrayBuffer",t);throw n(TypeError,"is not an ArrayBuffer",t)}if(f(e))throw n(TypeError,"is a detached ArrayBuffer",t);return e};const m=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;t.DataView=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{m.call(e)}catch(r){throw n(TypeError,"is not a DataView",t)}if(!t.allowShared&&p(e.buffer))throw n(TypeError,"is backed by a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw n(TypeError,"is backed by a detached ArrayBuffer",t);return e};const g=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array).prototype,Symbol.toStringTag).get;[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach((e=>{const{name:r}=e,i=/^[AEIOU]/u.test(r)?"an":"a";t[r]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ArrayBuffer.isView(e)||g.call(e)!==r)throw n(TypeError,"is not ".concat(i," ").concat(r," object"),t);if(!t.allowShared&&p(e.buffer))throw n(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw n(TypeError,"is a view on a detached ArrayBuffer",t);return e}})),t.ArrayBufferView=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ArrayBuffer.isView(e))throw n(TypeError,"is not a view on an ArrayBuffer or SharedArrayBuffer",t);if(!t.allowShared&&p(e.buffer))throw n(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw n(TypeError,"is a view on a detached ArrayBuffer",t);return e},t.BufferSource=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ArrayBuffer.isView(e)){if(!t.allowShared&&p(e.buffer))throw n(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw n(TypeError,"is a view on a detached ArrayBuffer",t);return e}if(!t.allowShared&&!h(e))throw n(TypeError,"is not an ArrayBuffer or a view on one",t);if(t.allowShared&&!p(e)&&!h(e))throw n(TypeError,"is not an ArrayBuffer, SharedArrayBuffer, or a view on one",t);if(f(e))throw n(TypeError,"is a detached ArrayBuffer",t);return e},t.DOMTimeStamp=t["unsigned long long"]},57941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeFlowAccessURL=void 0;t.composeFlowAccessURL=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=null===e||void 0===e?void 0:e.toLowerCase();return n.includes("alchemy.com")&&n.endsWith("v2")?"".concat(n,"/").concat(t):n}},12994:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},93615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sliceIntoChunks=void 0;t.sliceIntoChunks=(e,t)=>{const n=[];for(let r=0;r<e.length;r+=t){const i=e.slice(r,r+t);n.push(i)}return n}},80259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FLOW_SCAN_TX_TESTNET_URL=t.FLOW_SCAN_TX_MAINNET_URL=t.flowtyDiscordLink=void 0,t.flowtyDiscordLink="https://discord.gg/flowty",t.FLOW_SCAN_TX_MAINNET_URL="https://flowscan.io/tx",t.FLOW_SCAN_TX_TESTNET_URL="https://testnet.flowscan.io/tx"},79587:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.FlowtyException=void 0;const i=n(6558);class o extends Error{constructor(e,t,n){const o=(0,i.getMessageFromError)(e);super("".concat(n||"unknown origin"," ").concat(o||"unknown error message"," ").concat(JSON.stringify(t)," ")),r(this,"error",void 0),r(this,"context",void 0),r(this,"origin",void 0),this.error=e,this.context=t,this.origin=n}}t.FlowtyException=o},47593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateCommission=t.calculateDapperFee=t.calculateFlowtyFee=void 0;t.calculateFlowtyFee=(e,t)=>0;t.calculateDapperFee=(e,t)=>0===t?0:"DUC"===e?Math.max(.44,.01*t):0;t.calculateCommission=(e,n)=>(0,t.calculateFlowtyFee)(e,n)+(0,t.calculateDapperFee)(e,n)},59063:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.IEventType=t.DapperOfferKind=t.OfferKind=t.isContractWithValuation=t.NFT_CONTRACT_TO_VALUATION_PROVIDER=t.ListingStatus=t.NFTValuationProvider=t.NFT_CONTRACT_NAMES=t.NFT_COLLECTION_PATHS=t.NFTCollectionNames=void 0,function(e){e.Example="Example Nft",e.Versus="Versus",e.NBATopShot="NBA Top Shot",e.Gaia="Gaia"}(n=t.NFTCollectionNames||(t.NFTCollectionNames={})),t.NFT_COLLECTION_PATHS={[n.Example]:"ExampleNFT.CollectionPublicPath",[n.Versus]:"/public/versusArtCollection",[n.NBATopShot]:"/public/MomentCollection",[n.Gaia]:"Gaia.CollectionPublicPath"},t.NFT_CONTRACT_NAMES={[n.Example]:"ExampleNFT",[n.Versus]:"",[n.NBATopShot]:"TopShot",[n.Gaia]:"Gaia"},function(e){e.FlovDev="Flov.dev",e.OwnTheMoment="OwnTheMoment",e.Blended="Blended"}(r=t.NFTValuationProvider||(t.NFTValuationProvider={})),function(e){e.Listed="LISTED",e.Funded="FUNDED",e.Repaid="REPAID",e.Delisted="DELISTED",e.Cancelled="CANCELLED",e.Settled="SETTLED",e.Invalid="INVALID",e.Rented="RENTED",e.Returned="RETURNED",e.Expired="EXPIRED",e.Purchased="PURCHASED"}(t.ListingStatus||(t.ListingStatus={})),t.NFT_CONTRACT_TO_VALUATION_PROVIDER={AllDay:[r.OwnTheMoment],Flovatar:[r.FlovDev],TopShot:[r.OwnTheMoment]};t.isContractWithValuation=e=>e in t.NFT_CONTRACT_TO_VALUATION_PROVIDER,function(e){e.None="",e.Global="global",e.EditionName="editionName",e.TypeAndID="typeAndID"}(t.OfferKind||(t.OfferKind={})),function(e){e.None="None",e.DapperNFT="DapperNFT",e.GaiaNFT="GaiaNFT",e.FlowtyNFT="FlowtyNFT",e.FlowtyGlobal="FlowtyGlobal"}(t.DapperOfferKind||(t.DapperOfferKind={})),function(e){e.Listed="LISTED",e.Funded="FUNDED",e.Repaid="REPAID",e.Delisted="DELISTED",e.Settled="SETTLED",e.RentalListed="RENTAL_LISTED",e.RentalRented="RENTAL_RENTED",e.RentalReturned="RENTAL_RETURNED",e.RentalSettled="RENTAL_SETTLED",e.RentalDestroyed="RENTAL_DESTROYED",e.StorefrontListed="STOREFRONT_LISTED",e.StorefrontPurchased="STOREFRONT_PURCHASED",e.StorefrontCompleted="STOREFRONT_COMPLETED",e.StorefrontDelisted="STOREFRONT_DELISTED",e.StorefrontOfferCreated="STOREFRONT_OFFER_CREATED",e.StorefrontOfferCancelled="STOREFRONT_OFFER_CANCELLED",e.StorefrontOfferAccepted="STOREFRONT_OFFER_ACCEPTED",e.StorefrontOfferCompleted="STOREFRONT_OFFER_COMPLETED"}(t.IEventType||(t.IEventType={}))},85788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},88573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNftId=t.getNFTDetail=t.getCardTerms=t.getMetadataFields=t.emptyFlowNFTToNFT=t.getSquareImage=t.getBannerImage=t.getImageURL=t.specialCaseImages=t.flowNFTToCard=t.getHeaderTraits=t.getTraitsByName=t.getAdditionalDetailsFromFlowNFT=t.hasTopShotDetailFields=t.getImagesFromFlowNFT=t.getTitleFromFlowNFT=t.getNFTIdentifier=t.nftLocationDataToType=t.nftLocationDataFromListing=t.idToNFTLocationData=t.nftTypeToContractID=t.nftTypeAndIdToLocationData=t.nftTypeToContract=t.flattenFlowNFTTraits=void 0;const r=n(32109),i=n(89145),o=n(34818),a=n(51803),s="https://flowty-public.mypinata.cloud/ipfs/",l="https://flowty.quicknode-ipfs.com/ipfs/",c="https://ipfs.io/ipfs/",u="https://flowverse.myfilebase.com/ipfs/";t.flattenFlowNFTTraits=e=>{var t,n;if(null===e||void 0===e||null===(t=e.nftView)||void 0===t||null===(t=t.traits)||void 0===t||!t.traits)return{metadata:{}};const r={};if(e.nftView.traits.traits.forEach((e=>{r[e.name]=e.value})),null!==(n=e.nftView)&&void 0!==n&&n.editions&&e.nftView.editions.infoList.length>0){const t=e.nftView.editions.infoList[0];t.max&&(r.editionMax=t.max),t.name&&(r.editionName=t.name),r.editionNumber=t.number}return{metadata:r}};t.nftTypeToContract=e=>{const t=e.split(".");return{address:(0,i.formatAddress)(t[1]),name:t[2]}};t.nftTypeAndIdToLocationData=(e,t)=>{const n=null===e||void 0===e?void 0:e.split(".");return!n||n.length<4?{contract:{address:"",name:""},nftID:t,resourceName:""}:{contract:{address:(0,i.formatAddress)(n[1]),name:n[2]},nftID:t,resourceName:n[3]}};t.nftTypeToContractID=e=>{const t=e.split(".");return"".concat((0,i.formatAddress)(t[1]),".").concat(t[2])};t.idToNFTLocationData=e=>{const t=e.split(".");return 4===t.length?{contract:{address:t[0],name:t[1]},nftID:t[3],resourceName:t[2]}:{contract:{address:t[0],name:t[1]},nftID:t[t.length-1],resourceName:"NFT"}};t.nftLocationDataFromListing=e=>{const t=e.nftType.split("."),n=4===t.length?t[3]:"NFT";return{contract:{address:(0,i.formatAddress)(t[1]),name:t[2]},nftID:e.nftID,resourceName:n}};t.nftLocationDataToType=e=>{const{address:t,name:n}=e.contract;return e.resourceName?"A.".concat(t.substring(2),".").concat(n,".").concat(e.resourceName):"A.".concat(t.substring(2),".").concat(n,".NFT")};t.getNFTIdentifier=e=>"NFT"!==e.resourceName?"".concat(e.contract.address,".").concat(e.contract.name,".").concat(e.resourceName,".").concat(e.nftID):"".concat(e.contract.address,".").concat(e.contract.name,".").concat(e.nftID);t.getTitleFromFlowNFT=(e,n)=>{var r,i,o;if(n.type&&n.type.includes("TopShot")&&(null!==(o=n.nftView)&&void 0!==o&&null!==(o=o.traits)&&void 0!==o&&o.traits)){let e="",t="",r="";if(n.nftView.traits.traits.forEach((n=>{"TeamAtMoment"===n.name&&(e=n.value.toString()),"FullName"===n.name&&(t=n.value.toString()),"PlayCategory"===n.name&&(r=n.value.toString())})),""!==t)return t;if(e)return"Redemption"===r?"".concat(e," - Redemption"):e}if(n.type&&n.type.includes("AllDay")){const e=(0,t.flattenFlowNFTTraits)(n);if(e.metadata.playerFirstName&&e.metadata.playerLastName){const{playerFirstName:t,playerLastName:n}=e.metadata;return"".concat(t," ").concat(n)}var a;if(e.metadata.teamName)return"".concat(e.metadata.teamName," ").concat(null!==(a=e.metadata.playType)&&void 0!==a?a:"")}if(n.type&&n.type.includes("Golazos")){const e=(0,t.flattenFlowNFTTraits)(n),{metadata:r}=e,i="".concat(r.PlayerFirstName," ").concat(r.PlayerLastName).trim(),o=r.PlayerKnownName||i;if(o)return o}if(null!==(r=n.nftView)&&void 0!==r&&null!==(r=r.display)&&void 0!==r&&r.name)return n.nftView.display.name;if(null!==(i=n.nft)&&void 0!==i&&i.title)return n.nft.title;const s=(0,t.idToNFTLocationData)(e);return"".concat(s.contract.name," #").concat(s.nftID)};const d=e=>{const t=new URL(e);return t.searchParams.has("pinataGatewayToken")||t.searchParams.set("pinataGatewayToken","xFpPpu5fb5PZMLV6RF8ueOm08-BkzG5BLYJf1jVw1NL8RUORAi5yj3BwsexCJWIz"),t.toString()};t.getImagesFromFlowNFT=e=>{if(e.nftView&&e.nftView.display){var t;let n=e.nftView.display.thumbnail;null!==(t=n)&&void 0!==t&&t.startsWith("ipfs://")&&(n=d("".concat(s).concat(n.substring(7))));return[{mediaType:"image",url:n}]}return e.nft&&e.nft.media?e.nft.media.map((e=>({mediaType:e.mimeType||"",url:e.uri}))):null};t.hasTopShotDetailFields=e=>{var t;if(null===e||void 0===e||null===(t=e.nft)||void 0===t||null===(t=t.metadata)||void 0===t||!t.metadata)return!1;const{Set:n,Series:r,Serial:i,Tier:o}=e.nft.metadata.metadata;return n&&r&&i&&o};const h=e=>{var t,n,r,i;return null!==(t=e.nftView)&&void 0!==t&&null!==(t=t.editions)&&void 0!==t&&t.infoList&&0!==e.nftView.editions.infoList.length?(null===(n=e.nftView.editions.infoList[0].number)||void 0===n?void 0:n.toString())||(null===e||void 0===e||null===(r=e.id)||void 0===r?void 0:r.toString())||"":(null===e||void 0===e||null===(i=e.id)||void 0===i?void 0:i.toString())||""},p=e=>{var t;return null!==e&&void 0!==e&&null!==(t=e.nftView)&&void 0!==t&&t.serial?e.nftView.serial:h(e)},f=e=>{var t,n,r;return null!==(t=e.nftView)&&void 0!==t&&null!==(t=t.editions)&&void 0!==t&&t.infoList&&0!==e.nftView.editions.infoList.length&&null!==(n=null===(r=e.nftView.editions.infoList[0].max)||void 0===r?void 0:r.toString())&&void 0!==n?n:null};t.getAdditionalDetailsFromFlowNFT=e=>{var n,i,o,a,s,l;if("TopShot"===e.contractName&&null!==e&&void 0!==e&&null!==(n=e.nftView)&&void 0!==n&&n.traits){var c,u;const t={};e.nftView.traits.traits.forEach((e=>{t[e.name]=e.value}));let n="N/A";null!==(c=e.nftView)&&void 0!==c&&c.editions&&e.nftView.editions.infoList.length>0&&null!==(u=e.nftView.editions)&&void 0!==u&&null!==(u=u.infoList[0])&&void 0!==u&&u.max&&(n=e.nftView.editions.infoList[0].max.toString());const i="#".concat(t.SerialNumber," / ").concat(n),o=(0,r.flowSeriesToTopShotSeries)(t.SeriesNumber);return["".concat(t.SetName," (").concat(Number.isNaN(+o)?o:"Series ".concat(o),")"),"".concat(t.Tier," ").concat(i)]}if("TopShot"===e.contractName&&null!==e&&void 0!==e&&null!==(i=e.nft)&&void 0!==i&&i.metadata.metadata&&null!==e&&void 0!==e&&null!==(o=e.nft)&&void 0!==o&&o.metadata.metadata.Set&&(0,t.hasTopShotDetailFields)(e)){const{Set:t,Series:n,Serial:i,Supply:o,Tier:a}=e.nft.metadata.metadata,s="#".concat(i," / ").concat(o),l=(0,r.flowSeriesToTopShotSeries)(n);return["".concat(t," (").concat(Number.isNaN(+l)?l:"Series ".concat(l),")"),"".concat(a," ").concat(s)]}if("UFC_NFT"===e.contractName&&null!==e&&void 0!==e&&null!==(a=e.nftView)&&void 0!==a&&null!==(a=a.traits)&&void 0!==a&&a.traits){var d;const t={};e.nftView.traits.traits.forEach((e=>{t[e.name]=e.value}));const n=t.EditionNum||t.editionNum||h(e)||p(e),r=t["EDITION SIZE"]||f(e),i="#".concat(n," / ").concat(r);return[t.SET&&t.SERIES?"".concat(t.SET," (Series ").concat(t.SERIES,")"):"","".concat(null!==(d=t.TIER)&&void 0!==d?d:""," ").concat(i).trim()]}if("AllDay"===e.contractName&&null!==e&&void 0!==e&&null!==(s=e.nftView)&&void 0!==s&&null!==(s=s.traits)&&void 0!==s&&s.traits){var m;const t={};e.nftView.traits.traits.forEach((e=>{t[e.name]=e.value}));const n=t.serialNumber||t["Serial Number"];let r=0;r=null!==e&&void 0!==e&&null!==(m=e.nftView)&&void 0!==m&&m.editions&&e.nftView.editions.infoList.length>0&&e.nftView.editions.infoList[0].max?e.nftView.editions.infoList[0].max:Number(t["Num Minted"]);const i=t.setName||t["Set Name"],o=t.seriesName||"Series ".concat(t["Series Number"]),a="#".concat(n," / ").concat(r),s="".concat(i," (").concat(o,")"),l=t.editionTier||t.Tier;return[s,"".concat(l," ").concat(a)]}if("Golazos"===e.contractName&&null!==e&&void 0!==e&&null!==(l=e.nftView)&&void 0!==l&&null!==(l=l.traits)&&void 0!==l&&l.traits){var g;const t={};e.nftView.traits.traits.forEach((e=>{t[e.name]=e.value}));const n=(null===(g=e.nftView.editions)||void 0===g||null===(g=g.infoList[0])||void 0===g?void 0:g.max)||"N/A",{setName:r,seriesName:i,serialNumber:o,editionTier:a}=t;return["".concat(r," (").concat(i,")"),"".concat(a," #").concat(o," / ").concat(n)]}return null};t.getTraitsByName=(e,t)=>{const n={};t.forEach((t=>{e.has(t.name)&&(n[t.name]=t)}));const r=[];return Array.from(e.keys()).forEach((e=>{n[e]&&r.push(n[e])})),r};t.getHeaderTraits=e=>{var n;if(null===(n=e.nftView)||void 0===n||!n.traits)return[];let r=new Set;switch(e.contractName){case"TopShot":r=new Set(["Tier","SetName","SeriesName"]);break;case"AllDay":r=new Set(["editionTier","setName","seriesName"]);break;case"UFC_NFT":r=new Set(["TIER","SET","SERIES"])}return(0,t.getTraitsByName)(r,e.nftView.traits.traits)};t.flowNFTToCard=(e,n)=>{const r=(0,t.idToNFTLocationData)(e);return{additionalDetails:(0,t.getAdditionalDetailsFromFlowNFT)(n),collectionAddress:n.contractAddress||r.contract.address,collectionName:n.contractName||r.contract.name,headerTraits:(0,t.getHeaderTraits)(n),images:(0,t.getImagesFromFlowNFT)(n),max:f(n),num:p(n),title:(0,t.getTitleFromFlowNFT)(e,n),video:null}},t.specialCaseImages={AllDay:{banner:o.AllDayBanner,square:o.AllDayThumbnail},LaLiga:{banner:o.LaLigaBanner,square:o.LaLigaThumbnail},TopShot:{banner:o.TopShotBanner,square:o.TopShotSquare},UFC:{banner:o.StrikeBanner,square:o.StrikeThumbnail},default:{banner:o.DefaultBanner,square:o.DefaultThumbnail}};t.getImageURL=(e,t)=>{if(t)return e;if(!e)return"https://storage.googleapis.com/flowty-images/fallback_image.svg";if(null!==e&&void 0!==e&&e.startsWith("ipfs://"))return d("".concat(s).concat(e.substring(7)));if(e.startsWith(l))return d(e.replace(l,s));const n=e.toLowerCase();if(!function(e){return/^(?:[a-z]+:)?\/\//i.test(e)}(e)){if(e.startsWith("data:")){return(0,a.tryHandleDataUrl)(e)}return d("".concat(s).concat(function(e){return e.replace(/^\/+/,"")}(e)))}if(e.startsWith(c))return d(e.replace(c,s));if(e.startsWith(s))return d(e);if(e.startsWith(u))return d(e.replace(u,s));if("https://nbatopshot.com/static/img/og/og.png"===n||n.includes("/flowty-images/basketball.jpg")||n.includes("flowty-images/topshot/350x350.png"))return o.TopShotThumbnail;if(n.includes("nbatopshot")||n.includes("allday")){const t=new URL(e);return t.searchParams.set("width","1451"),t.searchParams.set("format","webp"),t.searchParams.set("quality","80"),t.searchParams.set("cv","1"),t.href}return e};t.getBannerImage=(e,n)=>{var r;const i=null===n||void 0===n||null===(r=n.collectionDisplay)||void 0===r||null===(r=r.bannerImage)||void 0===r?void 0:r.file;if(!i)return t.specialCaseImages.default.banner;const{url:o,cid:a,path:l}=i;let h=o||a;if(!h)return t.specialCaseImages.default.banner;if(l&&(h="".concat(h,"/").concat(l)),h.startsWith("http")||h.startsWith("ipfs://")||(h="".concat(s).concat(h)),h.startsWith(c))return d(h.replace(c,s));if(h.startsWith(u))return d(h.replace(u,s));const p=e.toLowerCase();return p.includes("topshot"),p.includes("allday"),p.includes("ufc")||(p.includes("strike"),0)?t.specialCaseImages.UFC.banner:(p.includes("laliga"),h||t.specialCaseImages.default.banner)};t.getSquareImage=(e,n)=>{var r;const i=null===n||void 0===n||null===(r=n.collectionDisplay)||void 0===r?void 0:r.squareImage.file;if(!i)return t.specialCaseImages.default.square;const{cid:o,url:a,path:l}=i;let h=a||o;return h?(l&&(h="".concat(h,"/").concat(l)),h.startsWith("http")||h.startsWith("ipfs://")||(h="".concat(s).concat(h)),h.startsWith(c)||h.startsWith(s)?d(h.replace(c,s)):h.startsWith(u)?d(h.replace(u,s)):h?(0,t.getImageURL)(h):t.specialCaseImages.default.square):t.specialCaseImages.default.square};t.emptyFlowNFTToNFT=e=>{var n,r,i,o,a,s;const l={};if(null!==e&&void 0!==e&&null!==(n=e.nftView)&&void 0!==n&&n.traits&&e.nftView.traits.traits.forEach((e=>{l[e.name]=e.value})),null!==(r=e.nftView)&&void 0!==r&&r.editions&&e.nftView.editions.infoList.length>0){const t=e.nftView.editions.infoList[0];t.max&&(l.editionMax=t.max),t.name&&(l.editionName=t.name),l.editionNumber=t.number}const c=null!==(i=e.card)&&void 0!==i&&null!==(i=i.images)&&void 0!==i&&i.length&&e.card.images.length>0?e.card.images[0].url:(null===(o=e.nftView)||void 0===o||null===(o=o.display)||void 0===o?void 0:o.thumbnail)||"",u=(0,t.getImageURL)(c),d=(0,t.getTitleFromFlowNFT)("0x".concat(e.type,".").concat(e.id),e);let h,p;return null!==(a=e.nftView)&&void 0!==a&&a.collectionData?(h="/public/".concat(e.nftView.collectionData.publicPath.identifier),p="/storage/".concat(e.nftView.collectionData.storagePath.identifier)):(h="".concat(e.contractName,".CollectionPublicPath"),p="".concat(e.contractName,".CollectionStoragePath")),{contract:{address:e.contractAddress,contractMetadata:{publicCollectionName:"",publicPath:h,storagePath:p},externalDomain:"",name:e.contractName},description:"",externalDomainViewUrl:"",id:{tokenId:(null===(s=e.id)||void 0===s?void 0:s.toString())||"1",tokenMetadata:{uuid:""}},media:[{mimeType:"image",uri:u}],metadata:{metadata:l},title:d,tokenUri:{raw:""}}};t.getMetadataFields=(e,t)=>{var n;const i=null!==(n=null===e||void 0===e?void 0:e.metadata)&&void 0!==n?n:{};let o={};if(t.includes("TopShot")){var a,s,l,c,u;const e=(0,r.flowSeriesToTopShotSeries)(null!==(a=i.TopShotSeries)&&void 0!==a?a:i.SeriesNumber),t=null!==(s=null!==(l=i.Serial)&&void 0!==l?l:i.SerialNumber)&&void 0!==s?s:i.editionNumber,n=null!==(c=i.Supply)&&void 0!==c?c:i.editionMax;o.Name=i.FullName,o.Set=null!==(u=i.Set)&&void 0!==u?u:i.SetName,o.Tier=(null===i||void 0===i?void 0:i.Tier)||"Unknown",o.Series=Number.isNaN(+e)?e:"Series ".concat(e),o.Serial="".concat(t," / ").concat(n),o.Team=i.TeamAtMoment,o["Play Type"]=i.PlayType}else o={...i};return o};t.getCardTerms=(e,n)=>{const r=(0,t.getMetadataFields)(e,n);if(n.includes("TopShot"))return["".concat((0,i.truncateString)(r.Set,15)," (").concat(r.Series,")"),"".concat(r.Tier," ").concat(r.Serial)];if(n.includes("AllDay")){const e=r["Set Name"]||r.setName,t=r["Series Number"]?"Series ".concat(r["Series Number"]):r.seriesName,n=r["Serial Number"]||r.serialNumber,o=r.Tier||r.editionTier,a=r["Num Minted"]||r.editionMax;return["".concat((0,i.truncateString)(e,15)," (").concat(t,")"),"".concat(o," #").concat(n," / ").concat(a)]}return n.includes("UFC_NFT"),[null,null]};t.getNFTDetail=function(e){var n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="";if(r&&(i="".concat(r.title||"","\n ").concat(r.additionalDetails&&r.additionalDetails.join("\n")||"")),i&&!i.includes("undefined")&&!i.includes("N/A"))return i;if(null===e||void 0===e||null===(n=e.metadata)||void 0===n||!n.metadata)return"";const{name:o,address:a}=e.contract,s="".concat(a,".").concat(o);if("TopShot"===e.contract.name){const n=(0,t.getCardTerms)(e.metadata,s);return"".concat(e.title||""," \n ").concat(n.join(" "))}return e.title};t.getNftId=e=>{const n=(0,t.nftTypeAndIdToLocationData)(e.type,e.id);return(0,t.getNFTIdentifier)(n)}},98323:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},34818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultImage=t.DefaultThumbnail=t.DefaultBanner=t.LaLigaThumbnail=t.LaLigaBanner=t.StrikeBanner=t.StrikeThumbnail=t.AllDayBanner=t.AllDayThumbnail=t.TopShotBanner=t.TopShotSquare=t.TopShotThumbnail=void 0,t.TopShotThumbnail="https://storage.googleapis.com/flowty-images/topshot.png",t.TopShotSquare="https://storage.googleapis.com/flowty-images/TopShot/512x512.png",t.TopShotBanner="https://storage.googleapis.com/flowty-images/TopShot/1400x350.png",t.AllDayThumbnail="https://storage.googleapis.com/flowty-images/AllDay/350x350.jpg",t.AllDayBanner="https://storage.googleapis.com/flowty-images/AllDay/1400x350.jpg",t.StrikeThumbnail="https://storage.googleapis.com/flowty-images/Strike/350x350.png",t.StrikeBanner="https://storage.googleapis.com/flowty-images/Strike/1400x350.png",t.LaLigaBanner="https://storage.googleapis.com/flowty-images/LaLiga/1400x350.png",t.LaLigaThumbnail="https://storage.googleapis.com/flowty-images/LaLiga/350x350.png",t.DefaultBanner="https://i.ibb.co/QQrdypK/fall-Back-Banner.png",t.DefaultThumbnail="https://i.ibb.co/N3Trjct/new-fallback-image.png";t.getDefaultImage=e=>"https://api-ufj4afzoca-uc.a.run.app/6.x/thumbs/png?seed=".concat(e)},10514:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(93615),t),i(n(85788),t),i(n(88573),t),i(n(57941),t),i(n(59063),t),i(n(12110),t),i(n(49714),t),i(n(6558),t),i(n(88383),t),i(n(84955),t),i(n(89145),t),i(n(32109),t),i(n(12994),t),i(n(93955),t),i(n(17784),t),i(n(47593),t),i(n(98323),t),i(n(79587),t),i(n(50288),t),i(n(52078),t),i(n(55174),t),i(n(51803),t),i(n(34818),t),i(n(80259),t),i(n(14645),t),i(n(61497),t)},93955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},12110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.solveWithMarketplaceAmountAndPeriodicInterest=t.solveWithAmountAndRepayment=t.solveWithAmountAndInterest=t.borrowerToLenderValues=t.calcBorrowerInterestRate=t.calcLenderInterest=t.calcLenderRepaymentAmount=t.calcLenderFundingAmount=t.calcRoyaltyFeeAmount=t.calcFlowtyFeeAmount=t.calcTotalBorrowerRepayment=t.calcBorrowerInterestOwed=t.numToSeconds=t.calcAPRInterest=t.calcAPRWithLoanAmounts=t.calcInterestAmount=t.FLOWTY_INTEREST_FEE=t.ONE_DAY_IN_SECONDS=t.ONE_MINUTE_IN_SECONDS=void 0,t.ONE_MINUTE_IN_SECONDS=3600,t.ONE_DAY_IN_SECONDS=86400,t.FLOWTY_INTEREST_FEE=.1;t.calcInterestAmount=(e,t)=>t*e;t.calcAPRWithLoanAmounts=(e,n,r)=>{try{const i=365/(r/t.ONE_DAY_IN_SECONDS)*(n/e-1);return Number.isNaN(i)?0:i}catch(i){return 0}};t.calcAPRInterest=(e,n)=>{try{const r=365/(n/t.ONE_DAY_IN_SECONDS)*e*100;return Number.isNaN(r)?0:r}catch(r){return 0}};t.numToSeconds=e=>e*t.ONE_DAY_IN_SECONDS;t.calcBorrowerInterestOwed=e=>e.amount&&e.interest?Math.round(Math.round(100*e.amount)*e.interest)/100:0;t.calcTotalBorrowerRepayment=e=>null!==e&&void 0!==e&&e.amount&&null!==e&&void 0!==e&&e.interest?Math.round(Math.round(100*e.amount)+(0,t.calcBorrowerInterestOwed)(e))/100:0;t.calcFlowtyFeeAmount=e=>t.FLOWTY_INTEREST_FEE*(0,t.calcBorrowerInterestOwed)(e);t.calcRoyaltyFeeAmount=(e,t)=>e.amount&&t?Math.round(Math.round(100*e.amount)*t)/100:0;t.calcLenderFundingAmount=(e,n)=>{if(!e.amount)return 0;const r=(0,t.calcFlowtyFeeAmount)(e),i=(0,t.calcRoyaltyFeeAmount)(e,n);return(Math.round(100*e.amount)+Math.round(100*r)+Math.round(100*i))/100};t.calcLenderRepaymentAmount=(e,n)=>{const r=(0,t.calcTotalBorrowerRepayment)(e),i=(0,t.calcRoyaltyFeeAmount)(e,n);return(Math.round(100*r)+Math.round(100*i))/100};t.calcLenderInterest=(e,n)=>(0,t.calcLenderRepaymentAmount)(e,n)/(0,t.calcLenderFundingAmount)(e,n)-1;t.calcBorrowerInterestRate=e=>{if(!e.amount)return 0;return(0,t.calcBorrowerInterestOwed)(e)/e.amount};t.borrowerToLenderValues=(e,n)=>{const r=(0,t.calcLenderFundingAmount)(e,n),i=(0,t.calcLenderInterest)(e,n);return{amount:e.amount,interest:e.interest,marketplaceAmount:r,periodicInterest:i,term:e.term}};t.solveWithAmountAndInterest=(e,n)=>{if(null===e.amount||void 0===e.amount||null===e.interest||void 0===e.interest)return null;const r=e.amount*e.interest,i=t.FLOWTY_INTEREST_FEE*r,o=n*e.amount,a=e.amount+i+o,s=e.amount+r,l=(s+o)/a-1;return{amount:e.amount,flowtyInterestFee:i,interest:e.interest,marketplaceAmount:a,periodicInterest:l,repaymentDue:s,royaltyFee:o,term:e.term?e.term:0,totalRepayment:s+o}};t.solveWithAmountAndRepayment=(e,n)=>{if(null===e.amount||void 0===e.amount||null===e.repayment||void 0===e.repayment)return null;const r=e.repayment,{amount:i}=e,o=r-i,a=t.FLOWTY_INTEREST_FEE*o,s=n*e.amount,l=e.amount+a+s,c=r+s;return{amount:i,flowtyInterestFee:a,interest:r/e.repayment-1,marketplaceAmount:l,periodicInterest:c/l-1,repaymentDue:r,royaltyFee:s,term:e.term?e.term:0,totalRepayment:r}};t.solveWithMarketplaceAmountAndPeriodicInterest=(e,n)=>{if(null===e.marketplaceAmount||void 0===e.marketplaceAmount||null===e.periodicInterest||void 0===e.periodicInterest)return null;const r=e.marketplaceAmount*(1+e.periodicInterest),i=(r-e.marketplaceAmount)/(1-t.FLOWTY_INTEREST_FEE),o=(r-i)/(1+n),a=i/o,s=i+o,l=(0,t.calcRoyaltyFeeAmount)({amount:o,interest:a},n);return{amount:o,flowtyInterestFee:(0,t.calcFlowtyFeeAmount)({amount:o,interest:a}),interest:a,marketplaceAmount:e.marketplaceAmount,periodicInterest:e.periodicInterest,repaymentDue:s,royaltyFee:l,term:e.term?e.term:0,totalRepayment:r}}},84955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},14645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationType=void 0,function(e){e.Transaction="TRANSACTION",e.StorefrontPurchased="STOREFRONT_PURCHASED",e.OfferReceived="OFFER_RECEIVED",e.OfferAccepted="OFFER_ACCEPTED",e.RentalFunded="RENTAL_FUNDED",e.RentalReturned="RENTAL_RETURNED",e.RentalSettled="RENTAL_SETTLED",e.PrivateRental="PRIVATE_RENTAL",e.LoanFunded="LOAN_FUNDED",e.LoanRepaid="LOAN_REPAID",e.LoanSettled="LOAN_SETTLED",e.LoanExpirationWarning="LOAN_EXPIRATION",e.RentalExpirationWarning="RENTAL_EXPIRATION",e.ListingInvalid="LISTING_INVALID",e.OfferExpired="OFFER_EXPIRED"}(t.NotificationType||(t.NotificationType={}))},17784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},89145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAddress=t.formatCollectionDisplayName=t.safeParseJSON=t.utf8ToHexString=t.truncateString=void 0;t.truncateString=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return e?e.length>t?"".concat(e.substring(0,t),".."):e:""};const n=new TextEncoder;t.utf8ToHexString=e=>{const t=n.encode(e);let r="";return t.forEach((e=>{const t=e.toString(16);r+="0".concat(t).slice(-2)})),r};t.safeParseJSON=e=>{try{return JSON.parse(null!==e&&void 0!==e?e:"")}catch(t){return null}};t.formatCollectionDisplayName=e=>""===e?"<NO NAME>":e.split("-").map((e=>e[0].toUpperCase()+e.substring(1))).join(" ");t.formatAddress=e=>e?e.startsWith("0x")?e:"0x".concat(e):""},49714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenFromType=t.getContractAddressFromType=t.getContractNameFromType=t.TOKEN_TO_READABLE_TOKEN=t.TOKEN_TYPE_TO_TOKEN=t.SUPPORTED_TOKEN_LIST=t.SUPPORTED_DAPPER_TOKENS=t.SUPPORTED_NON_DAPPER_TOKENS=t.SupportedTokens=void 0;const r=n(89145);var i;!function(e){e.FLOW="FLOW",e.USDC="USDC",e.DUC="DUC"}(i=t.SupportedTokens||(t.SupportedTokens={})),t.SUPPORTED_NON_DAPPER_TOKENS=[i.FLOW,i.USDC],t.SUPPORTED_DAPPER_TOKENS=[i.DUC],t.SUPPORTED_TOKEN_LIST=[...t.SUPPORTED_NON_DAPPER_TOKENS,...t.SUPPORTED_DAPPER_TOKENS],t.TOKEN_TYPE_TO_TOKEN={DapperUtilityCoin:i.DUC,FlowToken:i.FLOW,USDCFlow:i.USDC},t.TOKEN_TO_READABLE_TOKEN={DUC:"Dapper Balance",FLOW:"FLOW",USDC:"USDC"};t.getContractNameFromType=e=>{const t=e.split(".");if(t.length<3)throw Error("invalid contract type identifier");return t[2]};t.getContractAddressFromType=e=>{const t=e.split(".");if(t.length<3)throw Error("invalid contract type identifier");return(0,r.formatAddress)(t[1])};t.getTokenFromType=e=>{const n=(0,t.getContractNameFromType)(e);if(n in t.TOKEN_TYPE_TO_TOKEN){const e=n;return t.TOKEN_TYPE_TO_TOKEN[e]}return i.FLOW}},32109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkIsLocked=t.flowSeriesToTopShotSeries=void 0;t.flowSeriesToTopShotSeries=e=>{var t;switch(Number(e)){case 0:return"1";case 2:return"2";case 3:return"Summer 2021";case 4:return"3";case 5:return"4";case 6:return"2023-24";default:return null!==(t=null===e||void 0===e?void 0:e.toString())&&void 0!==t?t:""}};t.checkIsLocked=e=>{var t;if(!e)return!1;const n=null===e||void 0===e||null===(t=e.nftView)||void 0===t||null===(t=t.traits)||void 0===t?void 0:t.traits;if(!n)return!1;return!(null===n||void 0===n||!n.find((e=>"Locked"===e.name&&("boolean"===typeof e.value?e.value:"true"===e.value))))}},6558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateObject=t.getMessageFromError=t.assertNever=void 0;t.assertNever=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";throw new Error("assertNever failed: got ".concat(e," with type ").concat(typeof e," ").concat(t))};t.getMessageFromError=e=>e instanceof Error?e.message:e instanceof String||"string"===typeof e?e:"Unknown Error",t.validateObject=function(e,t){const n={};return Object.keys(t).forEach((t=>{if(void 0===e[t])throw console.error("validateObject failed",t,e),new Error("Missing key: ".concat(t));n[t]=e[t]})),n}},51803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryHandleDataUrl=void 0;const r=n(65472),i=n(58244),o=/[^A-Z0-9+/=]/i,a=e=>{if(!r.isSupported)return"";const t=i(e);if(!t)return"";let n=(new TextDecoder).decode(t.body),a="",s="";return"image/svg+xml"!==t.mimeType.essence?"":((e=>{const t=e.length;if(!t||t%4!==0||o.test(e))return!1;const n=e.indexOf("=");return-1===n||n===t-1||n===t-2&&"="===e[t-1]})(n)?(n=atob(n),s="base64"):s="utf8",a=r.sanitize(decodeURI(n)),"base64"===s&&(a=atob(a)),"data:".concat(t.mimeType.essence,";").concat(s,",").concat(encodeURIComponent(a)))};t.tryHandleDataUrl=e=>{try{return a(e)}catch(t){return""}}},88383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},50288:(e,t)=>{"use strict";function n(e){return void 0!==e["TopShotTrueValue.trueValue"]}Object.defineProperty(t,"__esModule",{value:!0}),t.getNormalizedOTMValues=t.isTopShotOTMValuation=void 0,t.isTopShotOTMValuation=n;t.getNormalizedOTMValues=e=>{var t;if(n(e)){const t=e;return{contractName:"TopShot",setId:t.set_id_id||"",value:t["TopShotTrueValue.trueValue"]}}const r=e;return{contractName:"AllDay",setId:(null===(t=r.setFlowID_id)||void 0===t?void 0:t.toString())||"",value:r["AllDayTrueValue.trueValue"]}}},55174:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateDTV=t.calculateLTV=void 0;t.calculateLTV=(e,t)=>parseFloat((e/t).toFixed(2));t.calculateDTV=(e,t)=>parseFloat((e/t).toFixed(2))},61497:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProviderName=t.getProviderImage=void 0;const n="https://storage.googleapis.com/flowty-images/tokens/flow-reference-wallet.png";t.getProviderImage=function(e){const t=e.toLowerCase();return t.includes("dapper")?"https://storage.googleapis.com/flowty-images/tokens/dapper_logo.png":t.includes("blocto")?"https://storage.googleapis.com/flowty-images/tokens/blocto_logo.png":t.includes("fcw")||/flow.*reference/i.test(t)?n:""};t.getProviderName=e=>{const t=e.toLowerCase();return t.includes("dapper")?"Dapper":t.includes("blocto")?"Blocto":t.includes("fcw")||/flow.*reference/i.test(t)?"Flow Reference Wallet":""}},58244:(e,t,n)=>{"use strict";const r=n(57982),{parseURL:i,serializeURL:o,percentDecodeString:a}=n(65814),{stripLeadingAndTrailingASCIIWhitespace:s,isomorphicDecode:l,forgivingBase64Decode:c}=n(81126);e.exports=t=>{const n=i(t);return null===n?null:e.exports.fromURLRecord(n)},e.exports.fromURLRecord=e=>{if("data"!==e.scheme)return null;const t=o(e,!0).substring(5);let n=0,i="";for(;n<t.length&&","!==t[n];)i+=t[n],++n;if(i=s(i),n===t.length)return null;++n;const u=t.substring(n);let d=a(u);const h=/(.*); *[Bb][Aa][Ss][Ee]64$/u.exec(i);if(h){const e=l(d);if(d=c(e),null===d)return null;i=h[1]}let p;i.startsWith(";")&&(i="text/plain".concat(i));try{p=new r(i)}catch(f){p=new r("text/plain;charset=US-ASCII")}return{mimeType:p,body:d}}},81126:(e,t)=>{"use strict";t.stripLeadingAndTrailingASCIIWhitespace=e=>e.replace(/^[ \t\n\f\r]+/u,"").replace(/[ \t\n\f\r]+$/u,""),t.isomorphicDecode=e=>Array.from(e,(e=>String.fromCodePoint(e))).join(""),t.forgivingBase64Decode=e=>{let t;try{t=atob(e)}catch{return null}return Uint8Array.from(t,(e=>e.codePointAt(0)))}},70078:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>w,encode:()=>C,toASCII:()=>b,toUnicode:()=>y,ucs2decode:()=>p,ucs2encode:()=>f});const r=2147483647,i=36,o=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function h(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function p(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const f=e=>String.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=i)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let o=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r<l;++r)e.charCodeAt(r)>=128&&d("not-basic"),t.push(e.charCodeAt(r));for(let h=l>0?l+1:0;h<n;){const l=o;for(let t=1,a=i;;a+=i){h>=n&&d("invalid-input");const l=(u=e.charCodeAt(h++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:i;l>=i&&d("invalid-input"),l>c((r-o)/t)&&d("overflow"),o+=l*t;const p=a<=s?1:a>=s+26?26:a-s;if(l<p)break;const f=i-p;t>c(r/f)&&d("overflow"),t*=f}const p=t.length+1;s=g(o-l,p,0==l),c(o/p)>r-a&&d("overflow"),a+=c(o/p),o%=p,t.splice(o++,0,a)}var u;return String.fromCodePoint(...t)},C=function(e){const t=[],n=(e=p(e)).length;let o=128,a=0,s=72;for(const r of e)r<128&&t.push(u(r));const l=t.length;let h=l;for(l&&t.push("-");h<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const p=h+1;n-o>c((r-a)/p)&&d("overflow"),a+=(n-o)*p,o=n;for(const f of e)if(f<o&&++a>r&&d("overflow"),f===o){let e=a;for(let n=i;;n+=i){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,a=i-r;t.push(u(m(r+o%a,0))),e=c(o/a)}t.push(u(m(e,0))),s=g(a,p,h===l),a=0,++h}++a,++o}return t.join("")},y=function(e){return h(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},b=function(e){return h(e,(function(e){return a.test(e)?"xn--"+C(e):e}))},w={version:"2.3.1",ucs2:{decode:p,encode:f},decode:v,encode:C,toASCII:b,toUnicode:y}},46450:(e,t,n)=>{"use strict";const r=n(70078),i=n(42441),o=n(39466),{STATUS_MAPPING:a}=n(96746);function s(e){return/[^\x00-\x7F]/u.test(e)}function l(e,t){let{useSTD3ASCIIRules:n}=t,r=0,i=o.length-1;for(;r<=i;){const t=Math.floor((r+i)/2),s=o[t],l=Array.isArray(s[0])?s[0][0]:s[0],c=Array.isArray(s[0])?s[0][1]:s[0];if(l<=e&&c>=e)return!n||s[1]!==a.disallowed_STD3_valid&&s[1]!==a.disallowed_STD3_mapped?s[1]===a.disallowed_STD3_valid?[a.valid,...s.slice(2)]:s[1]===a.disallowed_STD3_mapped?[a.mapped,...s.slice(2)]:s.slice(1):[a.disallowed,...s.slice(2)];l>e?i=t-1:r=t+1}return null}function c(e,t){let{checkHyphens:n,checkBidi:r,checkJoiners:o,transitionalProcessing:s,useSTD3ASCIIRules:c,isBidi:u}=t;if(0===e.length)return!0;if(e.normalize("NFC")!==e)return!1;const d=Array.from(e);if(n&&("-"===d[2]&&"-"===d[3]||e.startsWith("-")||e.endsWith("-")))return!1;if(e.includes("."))return!1;if(i.combiningMarks.test(d[0]))return!1;for(const i of d){const[e]=l(i.codePointAt(0),{useSTD3ASCIIRules:c});if(s){if(e!==a.valid)return!1}else if(e!==a.valid&&e!==a.deviation)return!1}if(o){let e=0;for(const[t,n]of d.entries())if("\u200c"===n||"\u200d"===n){if(t>0){if(i.combiningClassVirama.test(d[t-1]))continue;if("\u200c"===n){const n=d.indexOf("\u200c",t+1),r=n<0?d.slice(e):d.slice(e,n);if(i.validZWNJ.test(r.join(""))){e=t+1;continue}}}return!1}}if(r&&u){let t;if(i.bidiS1LTR.test(d[0]))t=!1;else{if(!i.bidiS1RTL.test(d[0]))return!1;t=!0}if(t){if(!i.bidiS2.test(e)||!i.bidiS3.test(e)||i.bidiS4EN.test(e)&&i.bidiS4AN.test(e))return!1}else if(!i.bidiS5.test(e)||!i.bidiS6.test(e))return!1}return!0}function u(e,t){let n=function(e,t){let{useSTD3ASCIIRules:n,transitionalProcessing:r}=t,i="";for(const o of e){const[e,t]=l(o.codePointAt(0),{useSTD3ASCIIRules:n});switch(e){case a.disallowed:i+=o;break;case a.ignored:break;case a.mapped:i+=r&&"\u1e9e"===o?"ss":t;break;case a.deviation:i+=r?t:o;break;case a.valid:i+=o}}return i}(e,t);n=n.normalize("NFC");const o=n.split("."),u=function(e){const t=e.map((e=>{if(e.startsWith("xn--"))try{return r.decode(e.substring(4))}catch(t){return""}return e})).join(".");return i.bidiDomain.test(t)}(o);let d=!1;for(const[i,a]of o.entries()){let e=a,n=t.transitionalProcessing;if(e.startsWith("xn--")){if(s(e)){d=!0;continue}try{e=r.decode(e.substring(4))}catch{if(!t.ignoreInvalidPunycode){d=!0;continue}}o[i]=e,n=!1}if(d)continue;c(e,{...t,transitionalProcessing:n,isBidi:u})||(d=!0)}return{string:o.join("."),error:d}}e.exports={toASCII:function(e){let{checkHyphens:t=!1,checkBidi:n=!1,checkJoiners:i=!1,useSTD3ASCIIRules:o=!1,verifyDNSLength:a=!1,transitionalProcessing:l=!1,ignoreInvalidPunycode:c=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const d=u(e,{checkHyphens:t,checkBidi:n,checkJoiners:i,useSTD3ASCIIRules:o,transitionalProcessing:l,ignoreInvalidPunycode:c});let h=d.string.split(".");if(h=h.map((e=>{if(s(e))try{return"xn--".concat(r.encode(e))}catch(t){d.error=!0}return e})),a){const e=h.join(".").length;(e>253||0===e)&&(d.error=!0);for(let t=0;t<h.length;++t)if(h[t].length>63||0===h[t].length){d.error=!0;break}}return d.error?null:h.join(".")},toUnicode:function(e){let{checkHyphens:t=!1,checkBidi:n=!1,checkJoiners:r=!1,useSTD3ASCIIRules:i=!1,transitionalProcessing:o=!1,ignoreInvalidPunycode:a=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=u(e,{checkHyphens:t,checkBidi:n,checkJoiners:r,useSTD3ASCIIRules:i,transitionalProcessing:o,ignoreInvalidPunycode:a});return{domain:s.string,error:s.error}}}},42441:e=>{"use strict";e.exports={combiningMarks:/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11145}\u{11146}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111C9}-\u{111CC}\u{111CE}\u{111CF}\u{1122C}-\u{11237}\u{1123E}\u{11241}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133B}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11435}-\u{11446}\u{1145E}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{1182C}-\u{1183A}\u{11930}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{1193E}\u{11940}\u{11942}\u{11943}\u{119D1}-\u{119D7}\u{119DA}-\u{119E0}\u{119E4}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D8A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D97}\u{11EF3}-\u{11EF6}\u{11F00}\u{11F01}\u{11F03}\u{11F34}-\u{11F3A}\u{11F3E}-\u{11F42}\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F51}-\u{16F87}\u{16F8F}-\u{16F92}\u{16FE4}\u{16FF0}\u{16FF1}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u,combiningClassVirama:/[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0EBA\u0F84\u1039\u103A\u1714\u1715\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA82C\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{11070}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11839}\u{1193D}\u{1193E}\u{119E0}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}\u{11D97}\u{11F41}\u{11F42}]/u,validZWNJ:/[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u0886\u0889-\u088D\u08A0-\u08A9\u08AF\u08B0\u08B3-\u08B8\u08BA-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{10D00}-\u{10D21}\u{10D23}\u{10F30}-\u{10F32}\u{10F34}-\u{10F44}\u{10F51}-\u{10F53}\u{10F70}-\u{10F73}\u{10F76}-\u{10F81}\u{10FB0}\u{10FB2}\u{10FB3}\u{10FB8}\u{10FBB}\u{10FBC}\u{10FBE}\u{10FBF}\u{10FC1}\u{10FC4}\u{10FCA}\u{10FCB}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0858\u0860\u0862-\u0865\u0867-\u086A\u0870-\u0882\u0886\u0889-\u088E\u08A0-\u08AC\u08AE-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{10D01}-\u{10D23}\u{10F30}-\u{10F44}\u{10F51}-\u{10F54}\u{10F70}-\u{10F81}\u{10FB0}\u{10FB2}-\u{10FB6}\u{10FB8}-\u{10FBF}\u{10FC1}-\u{10FC4}\u{10FC9}\u{10FCA}\u{1E900}-\u{1E943}]/u,bidiDomain:/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,bidiS1LTR:/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B50-\u1B6A\u1B74-\u1B7E\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u,bidiS1RTL:/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,bidiS2:/^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\u0600-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u07FD-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u0898-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2426\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E3\u31EF\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82C\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uAB6A\uAB6B\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019C}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}-\u{10EAD}\u{10EB0}\u{10EB1}\u{10EFD}-\u{10F27}\u{10F30}-\u{10F59}\u{10F70}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11FD5}-\u{11FF1}\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE2}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D1E9}\u{1D1EA}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6DB}\u{1D715}\u{1D74F}\u{1D789}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E2FF}\u{1E4EC}-\u{1E4EF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10F}\u{1F12F}\u{1F16A}-\u{1F16F}\u{1F1AD}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}\u{1F8B1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA88}\u{1FA90}-\u{1FABD}\u{1FABF}-\u{1FAC5}\u{1FACE}-\u{1FADB}\u{1FAE0}-\u{1FAE8}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBCA}\u{1FBF0}-\u{1FBF9}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u,bidiS3:/[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u,bidiS4EN:/[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}]/u,bidiS4AN:/[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u0890\u0891\u08E2\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}]/u,bidiS5:/^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u1715\u171F-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ACE\u1B00-\u1B4C\u1B50-\u1B7E\u1B80-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD0-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20C0\u20D0-\u20F0\u2100-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B97-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31E3\u31EF-\u321E\u3220-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA82C\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB6B\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E-\uFD4F\uFDCF\uFDFD-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019C}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{1104D}\u{11052}-\u{11075}\u{1107F}-\u{110C2}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11147}\u{11150}-\u{11176}\u{11180}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11400}-\u{1145B}\u{1145D}-\u{11461}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{11746}\u{11800}-\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E4}\u{11A00}-\u{11A47}\u{11A50}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF8}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FF1}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{13455}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}-\u{16FE4}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1EA}\u{1D200}-\u{1D245}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D300}-\u{1D356}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F1AD}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}\u{1F8B1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA88}\u{1FA90}-\u{1FABD}\u{1FABF}-\u{1FAC5}\u{1FACE}-\u{1FADB}\u{1FAE0}-\u{1FAE8}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBCA}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u,bidiS6:/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B50-\u1B6A\u1B74-\u1B7E\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10EFD}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{13440}\u{13447}-\u{13455}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u}},96746:e=>{"use strict";e.exports.STATUS_MAPPING={mapped:1,valid:2,disallowed:3,disallowed_STD3_valid:4,disallowed_STD3_mapped:5,deviation:6,ignored:7}},45259:(e,t,n)=>{"use strict";const{asciiLowercase:r,solelyContainsHTTPTokenCodePoints:i,soleyContainsHTTPQuotedStringTokenCodePoints:o}=n(84812);e.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=r(String(e)),this._map.get(e)}has(e){return e=r(String(e)),this._map.has(e)}set(e,t){if(e=r(String(e)),t=String(t),!i(e))throw new Error('Invalid MIME type parameter name "'.concat(e,'": only HTTP token code points are valid.'));if(!o(t))throw new Error('Invalid MIME type parameter value "'.concat(t,'": only HTTP quoted-string token code points are ')+"valid.");return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=r(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}},57982:(e,t,n)=>{"use strict";const r=n(45259),i=n(38782),o=n(34345),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:s}=n(84812);e.exports=class{constructor(e){e=String(e);const t=i(e);if(null===t)throw new Error('Could not parse MIME type string "'.concat(e,'"'));this._type=t.type,this._subtype=t.subtype,this._parameters=new r(t.parameters)}static parse(e){try{return new this(e)}catch(t){return null}}get essence(){return"".concat(this.type,"/").concat(this.subtype)}get type(){return this._type}set type(e){if(0===(e=a(String(e))).length)throw new Error("Invalid type: must be a non-empty string");if(!s(e))throw new Error("Invalid type ".concat(e,": must contain only HTTP token code points"));this._type=e}get subtype(){return this._subtype}set subtype(e){if(0===(e=a(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string");if(!s(e))throw new Error("Invalid subtype ".concat(e,": must contain only HTTP token code points"));this._subtype=e}get parameters(){return this._parameters}toString(){return o(this)}isJavaScript(){let{prohibitParameters:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(this._type){case"text":switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return!e||0===this._parameters.size;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!e||0===this._parameters.size;default:return!1}default:return!1}}isXML(){return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")}isHTML(){return"html"===this._subtype&&"text"===this._type}}},38782:(e,t,n)=>{"use strict";const{removeLeadingAndTrailingHTTPWhitespace:r,removeTrailingHTTPWhitespace:i,isHTTPWhitespaceChar:o,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:s,asciiLowercase:l,collectAnHTTPQuotedString:c}=n(84812);e.exports=e=>{e=r(e);let t=0,n="";for(;t<e.length&&"/"!==e[t];)n+=e[t],++t;if(0===n.length||!a(n))return null;if(t>=e.length)return null;++t;let u="";for(;t<e.length&&";"!==e[t];)u+=e[t],++t;if(u=i(u),0===u.length||!a(u))return null;const d={type:l(n),subtype:l(u),parameters:new Map};for(;t<e.length;){for(++t;o(e[t]);)++t;let n="";for(;t<e.length&&";"!==e[t]&&"="!==e[t];)n+=e[t],++t;if(n=l(n),t<e.length){if(";"===e[t])continue;++t}let r=null;if('"'===e[t])for([r,t]=c(e,t);t<e.length&&";"!==e[t];)++t;else{for(r="";t<e.length&&";"!==e[t];)r+=e[t],++t;if(r=i(r),""===r)continue}n.length>0&&a(n)&&s(r)&&!d.parameters.has(n)&&d.parameters.set(n,r)}return d}},34345:(e,t,n)=>{"use strict";const{solelyContainsHTTPTokenCodePoints:r}=n(84812);e.exports=e=>{let t="".concat(e.type,"/").concat(e.subtype);if(0===e.parameters.size)return t;for(let[n,i]of e.parameters)t+=";",t+=n,t+="=",r(i)&&0!==i.length||(i=i.replace(/(["\\])/gu,"\\$1"),i='"'.concat(i,'"')),t+=i;return t}},84812:(e,t)=>{"use strict";t.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),t.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,""),t.isHTTPWhitespaceChar=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,t.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),t.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),t.asciiLowercase=e=>e.replace(/[A-Z]/gu,(e=>e.toLowerCase())),t.collectAnHTTPQuotedString=(e,t)=>{let n="";for(t++;;){for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)n+=e[t],++t;if(t>=e.length)break;const r=e[t];if(++t,"\\"!==r)break;if(t>=e.length){n+="\\";break}n+=e[t],++t}return[n,t]}},65814:(e,t,n)=>{"use strict";const{URL:r,URLSearchParams:i}=n(89850),o=n(863),a=n(79537),s={Array:Array,Object:Object,Promise:Promise,String:String,TypeError:TypeError};r.install(s,["Window"]),i.install(s,["Window"]),t.URL=s.URL,t.URLSearchParams=s.URLSearchParams,t.parseURL=o.parseURL,t.basicURLParse=o.basicURLParse,t.serializeURL=o.serializeURL,t.serializePath=o.serializePath,t.serializeHost=o.serializeHost,t.serializeInteger=o.serializeInteger,t.serializeURLOrigin=o.serializeURLOrigin,t.setTheUsername=o.setTheUsername,t.setThePassword=o.setThePassword,t.cannotHaveAUsernamePasswordPort=o.cannotHaveAUsernamePasswordPort,t.hasAnOpaquePath=o.hasAnOpaquePath,t.percentDecodeString=a.percentDecodeString,t.percentDecodeBytes=a.percentDecodeBytes},46752:(e,t,n)=>{"use strict";const r=n(75370),i=n(87163);t.convert=function(e,t){let{context:n="The provided value"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("function"!==typeof t)throw new e.TypeError(n+" is not a function");function o(){const o=i.tryWrapperForImpl(this);let a;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];for(let e=0;e<l.length;e++)l[e]=i.tryWrapperForImpl(l[e]);return a=Reflect.apply(t,o,l),a=r.any(a,{context:n,globals:e}),a}return o.construct=function(){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];for(let e=0;e<a.length;e++)a[e]=i.tryWrapperForImpl(a[e]);let l=Reflect.construct(t,a);return l=r.any(l,{context:n,globals:e}),l},o[i.wrapperSymbol]=t,o.objectReference=t,o}},88158:(e,t,n)=>{"use strict";const r=n(863),i=n(51705),o=n(95753);t.implementation=class{constructor(e,t){const n=t[0],i=t[1];let a=null;if(void 0!==i&&(a=r.basicURLParse(i),null===a))throw new TypeError("Invalid base URL: ".concat(i));const s=r.basicURLParse(n,{baseURL:a});if(null===s)throw new TypeError("Invalid URL: ".concat(n));const l=null!==s.query?s.query:"";this._url=s,this._query=o.createImpl(e,[l],{doNotStripQMark:!0}),this._query._url=this}static canParse(e,t){let n=null;if(void 0!==t&&(n=r.basicURLParse(t),null===n))return!1;return null!==r.basicURLParse(e,{baseURL:n})}get href(){return r.serializeURL(this._url)}set href(e){const t=r.basicURLParse(e);if(null===t)throw new TypeError("Invalid URL: ".concat(e));this._url=t,this._query._list.splice(0);const{query:n}=t;null!==n&&(this._query._list=i.parseUrlencodedString(n))}get origin(){return r.serializeURLOrigin(this._url)}get protocol(){return"".concat(this._url.scheme,":")}set protocol(e){r.basicURLParse("".concat(e,":"),{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){r.cannotHaveAUsernamePasswordPort(this._url)||r.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){r.cannotHaveAUsernamePasswordPort(this._url)||r.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?r.serializeHost(e.host):"".concat(r.serializeHost(e.host),":").concat(r.serializeInteger(e.port))}set host(e){r.hasAnOpaquePath(this._url)||r.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":r.serializeHost(this._url.host)}set hostname(e){r.hasAnOpaquePath(this._url)||r.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":r.serializeInteger(this._url.port)}set port(e){r.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:r.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return r.serializePath(this._url)}set pathname(e){r.hasAnOpaquePath(this._url)||(this._url.path=[],r.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?".concat(this._url.query)}set search(e){const t=this._url;if(""===e)return t.query=null,this._query._list=[],void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const n="?"===e[0]?e.substring(1):e;t.query="",r.basicURLParse(n,{url:t,stateOverride:"query"}),this._query._list=i.parseUrlencodedString(n)}get searchParams(){return this._query}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#".concat(this._url.fragment)}set hash(e){if(""===e)return this._url.fragment=null,void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const t="#"===e[0]?e.substring(1):e;this._url.fragment="",r.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}_potentiallyStripTrailingSpacesFromAnOpaquePath(){r.hasAnOpaquePath(this._url)&&null===this._url.fragment&&null===this._url.query&&(this._url.path=this._url.path.replace(/\u0020+$/u,""))}}},58603:(e,t,n)=>{"use strict";const r=n(75370),i=n(87163),o=i.implSymbol,a=i.ctorRegistrySymbol;function s(e,t){let n;return void 0!==t&&(n=t.prototype),i.isObject(n)||(n=e[a].URL.prototype),Object.create(n)}t.is=e=>i.isObject(e)&&i.hasOwn(e,o)&&e[o]instanceof c.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof c.implementation,t.convert=function(e,n){let{context:r="The provided value"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.is(n))return i.implForWrapper(n);throw new e.TypeError("".concat(r," is not of type 'URL'."))},t.create=(e,n,r)=>{const i=s(e);return t.setup(i,e,n,r)},t.createImpl=(e,n,r)=>{const o=t.create(e,n,r);return i.implForWrapper(o)},t._internalSetup=(e,t)=>{},t.setup=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return a.wrapper=e,t._internalSetup(e,n),Object.defineProperty(e,o,{value:new c.implementation(n,r,a),configurable:!0}),e[o][i.wrapperSymbol]=e,c.init&&c.init(e[o]),e},t.new=(e,n)=>{const r=s(e,n);return t._internalSetup(r,e),Object.defineProperty(r,o,{value:Object.create(c.implementation.prototype),configurable:!0}),r[o][i.wrapperSymbol]=r,c.init&&c.init(r[o]),r[o]};const l=new Set(["Window","Worker"]);t.install=(e,n)=>{if(!n.some((e=>l.has(e))))return;const a=i.initCtorRegistry(e);class s{constructor(n){if(arguments.length<1)throw new e.TypeError("Failed to construct 'URL': 1 argument required, but only ".concat(arguments.length," present."));const i=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to construct 'URL': parameter 1",globals:e}),i.push(t)}{let t=arguments[1];void 0!==t&&(t=r.USVString(t,{context:"Failed to construct 'URL': parameter 2",globals:e})),i.push(t)}return t.setup(Object.create(new.target.prototype),e,i)}toJSON(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'toJSON' called on an object that is not a valid instance of URL.");return n[o].toJSON()}get href(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get href' called on an object that is not a valid instance of URL.");return n[o].href}set href(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set href' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'href' property on 'URL': The provided value",globals:e}),i[o].href=n}toString(){if(!t.is(this))throw new e.TypeError("'toString' called on an object that is not a valid instance of URL.");return this[o].href}get origin(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get origin' called on an object that is not a valid instance of URL.");return n[o].origin}get protocol(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get protocol' called on an object that is not a valid instance of URL.");return n[o].protocol}set protocol(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set protocol' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'protocol' property on 'URL': The provided value",globals:e}),i[o].protocol=n}get username(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get username' called on an object that is not a valid instance of URL.");return n[o].username}set username(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set username' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'username' property on 'URL': The provided value",globals:e}),i[o].username=n}get password(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get password' called on an object that is not a valid instance of URL.");return n[o].password}set password(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set password' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'password' property on 'URL': The provided value",globals:e}),i[o].password=n}get host(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get host' called on an object that is not a valid instance of URL.");return n[o].host}set host(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set host' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'host' property on 'URL': The provided value",globals:e}),i[o].host=n}get hostname(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get hostname' called on an object that is not a valid instance of URL.");return n[o].hostname}set hostname(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set hostname' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'hostname' property on 'URL': The provided value",globals:e}),i[o].hostname=n}get port(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get port' called on an object that is not a valid instance of URL.");return n[o].port}set port(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set port' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'port' property on 'URL': The provided value",globals:e}),i[o].port=n}get pathname(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get pathname' called on an object that is not a valid instance of URL.");return n[o].pathname}set pathname(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set pathname' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'pathname' property on 'URL': The provided value",globals:e}),i[o].pathname=n}get search(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get search' called on an object that is not a valid instance of URL.");return n[o].search}set search(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set search' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'search' property on 'URL': The provided value",globals:e}),i[o].search=n}get searchParams(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get searchParams' called on an object that is not a valid instance of URL.");return i.getSameObject(this,"searchParams",(()=>i.tryWrapperForImpl(n[o].searchParams)))}get hash(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get hash' called on an object that is not a valid instance of URL.");return n[o].hash}set hash(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'set hash' called on an object that is not a valid instance of URL.");n=r.USVString(n,{context:"Failed to set the 'hash' property on 'URL': The provided value",globals:e}),i[o].hash=n}static canParse(t){if(arguments.length<1)throw new e.TypeError("Failed to execute 'canParse' on 'URL': 1 argument required, but only ".concat(arguments.length," present."));const n=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'canParse' on 'URL': parameter 1",globals:e}),n.push(t)}{let t=arguments[1];void 0!==t&&(t=r.USVString(t,{context:"Failed to execute 'canParse' on 'URL': parameter 2",globals:e})),n.push(t)}return c.implementation.canParse(...n)}}Object.defineProperties(s.prototype,{toJSON:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},searchParams:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"URL",configurable:!0}}),Object.defineProperties(s,{canParse:{enumerable:!0}}),a.URL=s,Object.defineProperty(e,"URL",{configurable:!0,writable:!0,value:s}),n.includes("Window")&&Object.defineProperty(e,"webkitURL",{configurable:!0,writable:!0,value:s})};const c=n(88158)},83088:(e,t,n)=>{"use strict";const r=n(51705);t.implementation=class{constructor(e,t,n){let{doNotStripQMark:i=!1}=n,o=t[0];if(this._list=[],this._url=null,i||"string"!==typeof o||"?"!==o[0]||(o=o.slice(1)),Array.isArray(o))for(const r of o){if(2!==r.length)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([r[0],r[1]])}else if("object"===typeof o&&null===Object.getPrototypeOf(o))for(const r of Object.keys(o)){const e=o[r];this._list.push([r,e])}else this._list=r.parseUrlencodedString(o)}_updateSteps(){if(null!==this._url){let e=r.serializeUrlencoded(this._list);""===e&&(e=null),this._url._url.query=e,null===e&&this._url._potentiallyStripTrailingSpacesFromAnOpaquePath()}}get size(){return this._list.length}append(e,t){this._list.push([e,t]),this._updateSteps()}delete(e,t){let n=0;for(;n<this._list.length;)this._list[n][0]!==e||void 0!==t&&this._list[n][1]!==t?n++:this._list.splice(n,1);this._updateSteps()}get(e){for(const t of this._list)if(t[0]===e)return t[1];return null}getAll(e){const t=[];for(const n of this._list)n[0]===e&&t.push(n[1]);return t}has(e,t){for(const n of this._list)if(n[0]===e&&(void 0===t||n[1]===t))return!0;return!1}set(e,t){let n=!1,r=0;for(;r<this._list.length;)this._list[r][0]===e?n?this._list.splice(r,1):(n=!0,this._list[r][1]=t,r++):r++;n||this._list.push([e,t]),this._updateSteps()}sort(){this._list.sort(((e,t)=>e[0]<t[0]?-1:e[0]>t[0]?1:0)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return r.serializeUrlencoded(this._list)}}},95753:(e,t,n)=>{"use strict";const r=n(75370),i=n(87163),o=n(46752),a=i.newObjectInRealm,s=i.implSymbol,l=i.ctorRegistrySymbol,c="URLSearchParams";function u(e,t){let n;return void 0!==t&&(n=t.prototype),i.isObject(n)||(n=e[l].URLSearchParams.prototype),Object.create(n)}t.is=e=>i.isObject(e)&&i.hasOwn(e,s)&&e[s]instanceof h.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof h.implementation,t.convert=function(e,n){let{context:r="The provided value"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.is(n))return i.implForWrapper(n);throw new e.TypeError("".concat(r," is not of type 'URLSearchParams'."))},t.createDefaultIterator=(e,t,n)=>{const r=e[l]["URLSearchParams Iterator"],o=Object.create(r);return Object.defineProperty(o,i.iterInternalSymbol,{value:{target:t,kind:n,index:0},configurable:!0}),o},t.create=(e,n,r)=>{const i=u(e);return t.setup(i,e,n,r)},t.createImpl=(e,n,r)=>{const o=t.create(e,n,r);return i.implForWrapper(o)},t._internalSetup=(e,t)=>{},t.setup=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.wrapper=e,t._internalSetup(e,n),Object.defineProperty(e,s,{value:new h.implementation(n,r,o),configurable:!0}),e[s][i.wrapperSymbol]=e,h.init&&h.init(e[s]),e},t.new=(e,n)=>{const r=u(e,n);return t._internalSetup(r,e),Object.defineProperty(r,s,{value:Object.create(h.implementation.prototype),configurable:!0}),r[s][i.wrapperSymbol]=r,h.init&&h.init(r[s]),r[s]};const d=new Set(["Window","Worker"]);t.install=(e,n)=>{if(!n.some((e=>d.has(e))))return;const l=i.initCtorRegistry(e);class u{constructor(){const n=[];{let t=arguments[0];if(void 0!==t)if(i.isObject(t))if(void 0!==t[Symbol.iterator]){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const n=[],o=t;for(let t of o){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const n=[],i=t;for(let t of i)t=r.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",globals:e}),n.push(t);t=n}n.push(t)}t=n}}else{if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const n=Object.create(null);for(const i of Reflect.ownKeys(t)){const o=Object.getOwnPropertyDescriptor(t,i);if(o&&o.enumerable){let o=i;o=r.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key",globals:e});let a=t[i];a=r.USVString(a,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value",globals:e}),n[o]=a}}t=n}}else t=r.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1",globals:e});else t="";n.push(t)}return t.setup(Object.create(new.target.prototype),e,n)}append(n,o){const a=null!==this&&void 0!==this?this:e;if(!t.is(a))throw new e.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError("Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ".concat(arguments.length," present."));const l=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1",globals:e}),l.push(t)}{let t=arguments[1];t=r.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2",globals:e}),l.push(t)}return i.tryWrapperForImpl(a[s].append(...l))}delete(n){const o=null!==this&&void 0!==this?this:e;if(!t.is(o))throw new e.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ".concat(arguments.length," present."));const a=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1",globals:e}),a.push(t)}{let t=arguments[1];void 0!==t&&(t=r.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 2",globals:e})),a.push(t)}return i.tryWrapperForImpl(o[s].delete(...a))}get(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ".concat(arguments.length," present."));const o=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}return i[s].get(...o)}getAll(n){const o=null!==this&&void 0!==this?this:e;if(!t.is(o))throw new e.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ".concat(arguments.length," present."));const a=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1",globals:e}),a.push(t)}return i.tryWrapperForImpl(o[s].getAll(...a))}has(n){const i=null!==this&&void 0!==this?this:e;if(!t.is(i))throw new e.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ".concat(arguments.length," present."));const o=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}{let t=arguments[1];void 0!==t&&(t=r.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 2",globals:e})),o.push(t)}return i[s].has(...o)}set(n,o){const a=null!==this&&void 0!==this?this:e;if(!t.is(a))throw new e.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError("Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ".concat(arguments.length," present."));const l=[];{let t=arguments[0];t=r.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1",globals:e}),l.push(t)}{let t=arguments[1];t=r.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2",globals:e}),l.push(t)}return i.tryWrapperForImpl(a[s].set(...l))}sort(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");return i.tryWrapperForImpl(n[s].sort())}toString(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");return n[s].toString()}keys(){if(!t.is(this))throw new e.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key")}values(){if(!t.is(this))throw new e.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"value")}entries(){if(!t.is(this))throw new e.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key+value")}forEach(n){if(!t.is(this))throw new e.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");n=o.convert(e,n,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const r=arguments[1];let a=Array.from(this[s]),l=0;for(;l<a.length;){const[e,t]=a[l].map(i.tryWrapperForImpl);n.call(r,t,e,this),a=Array.from(this[s]),l++}}get size(){const n=null!==this&&void 0!==this?this:e;if(!t.is(n))throw new e.TypeError("'get size' called on an object that is not a valid instance of URLSearchParams.");return n[s].size}}Object.defineProperties(u.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},size:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:u.prototype.entries,configurable:!0,writable:!0}}),l[c]=u,l["URLSearchParams Iterator"]=Object.create(l["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"URLSearchParams Iterator"}}),i.define(l["URLSearchParams Iterator"],{next(){const t=this&&this[i.iterInternalSymbol];if(!t)throw new e.TypeError("next() called on a value that is not a URLSearchParams iterator object");const{target:n,kind:r,index:o}=t,l=Array.from(n[s]);if(o>=l.length)return a(e,{value:void 0,done:!0});const c=l[o];return t.index=o+1,a(e,i.iteratorResult(c.map(i.tryWrapperForImpl),r))}}),Object.defineProperty(e,c,{configurable:!0,writable:!0,value:u})};const h=n(83088)},89373:e=>{"use strict";const t=new TextEncoder,n=new TextDecoder("utf-8",{ignoreBOM:!0});e.exports={utf8Encode:function(e){return t.encode(e)},utf8DecodeWithoutBOM:function(e){return n.decode(e)}}},56856:e=>{"use strict";function t(e){return e>=48&&e<=57}function n(e){return e>=65&&e<=90||e>=97&&e<=122}e.exports={isASCIIDigit:t,isASCIIAlpha:n,isASCIIAlphanumeric:function(e){return n(e)||t(e)},isASCIIHex:function(e){return t(e)||e>=65&&e<=70||e>=97&&e<=102}}},79537:(e,t,n)=>{"use strict";const{isASCIIHex:r}=n(56856),{utf8Encode:i}=n(89373);function o(e){return e.codePointAt(0)}function a(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0".concat(t)),"%".concat(t)}function s(e){const t=new Uint8Array(e.byteLength);let n=0;for(let i=0;i<e.byteLength;++i){const o=e[i];if(37!==o)t[n++]=o;else if(37!==o||r(e[i+1])&&r(e[i+2])){const r=parseInt(String.fromCodePoint(e[i+1],e[i+2]),16);t[n++]=r,i+=2}else t[n++]=o}return t.slice(0,n)}function l(e){return e<=31||e>126}const c=new Set([o(" "),o('"'),o("<"),o(">"),o("`")]);const u=new Set([o(" "),o('"'),o("#"),o("<"),o(">")]);function d(e){return l(e)||u.has(e)}const h=new Set([o("?"),o("`"),o("{"),o("}")]);function p(e){return d(e)||h.has(e)}const f=new Set([o("/"),o(":"),o(";"),o("="),o("@"),o("["),o("\\"),o("]"),o("^"),o("|")]);function m(e){return p(e)||f.has(e)}const g=new Set([o("$"),o("%"),o("&"),o("+"),o(",")]);const v=new Set([o("!"),o("'"),o("("),o(")"),o("~")]);function C(e,t){const n=i(e);let r="";for(const i of n)t(i)?r+=a(i):r+=String.fromCharCode(i);return r}e.exports={isC0ControlPercentEncode:l,isFragmentPercentEncode:function(e){return l(e)||c.has(e)},isQueryPercentEncode:d,isSpecialQueryPercentEncode:function(e){return d(e)||e===o("'")},isPathPercentEncode:p,isUserinfoPercentEncode:m,isURLEncodedPercentEncode:function(e){return function(e){return m(e)||g.has(e)}(e)||v.has(e)},percentDecodeString:function(e){return s(i(e))},percentDecodeBytes:s,utf8PercentEncodeString:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="";for(const i of e)r+=n&&" "===i?"+":C(i,t);return r},utf8PercentEncodeCodePoint:function(e,t){return C(String.fromCodePoint(e),t)}}},863:(e,t,n)=>{"use strict";const r=n(46450),i=n(56856),{utf8DecodeWithoutBOM:o}=n(89373),{percentDecodeString:a,utf8PercentEncodeCodePoint:s,utf8PercentEncodeString:l,isC0ControlPercentEncode:c,isFragmentPercentEncode:u,isQueryPercentEncode:d,isSpecialQueryPercentEncode:h,isPathPercentEncode:p,isUserinfoPercentEncode:f}=n(79537);function m(e){return e.codePointAt(0)}const g={ftp:21,file:null,http:80,https:443,ws:80,wss:443},v=Symbol("failure");function C(e){return[...e].length}function y(e,t){const n=e[t];return isNaN(n)?void 0:String.fromCodePoint(n)}function b(e){return"."===e||"%2e"===e.toLowerCase()}function w(e){return 2===e.length&&i.isASCIIAlpha(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function x(e){return-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u)}function A(e){return void 0!==g[e]}function E(e){return A(e.scheme)}function _(e){return!A(e.scheme)}function T(e){return g[e]}function S(e){if(""===e)return v;let t=10;if(e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e)return 0;let n=/[^0-7]/u;return 10===t&&(n=/[^0-9]/u),16===t&&(n=/[^0-9A-Fa-f]/u),n.test(e)?v:parseInt(e,t)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("["===e[0])return"]"!==e[e.length-1]?v:function(e){const t=[0,0,0,0,0,0,0,0];let n=0,r=null,o=0;if((e=Array.from(e,(e=>e.codePointAt(0))))[o]===m(":")){if(e[o+1]!==m(":"))return v;o+=2,++n,r=n}for(;o<e.length;){if(8===n)return v;if(e[o]===m(":")){if(null!==r)return v;++o,++n,r=n;continue}let a=0,s=0;for(;s<4&&i.isASCIIHex(e[o]);)a=16*a+parseInt(y(e,o),16),++o,++s;if(e[o]===m(".")){if(0===s)return v;if(o-=s,n>6)return v;let r=0;for(;void 0!==e[o];){let a=null;if(r>0){if(!(e[o]===m(".")&&r<4))return v;++o}if(!i.isASCIIDigit(e[o]))return v;for(;i.isASCIIDigit(e[o]);){const t=parseInt(y(e,o));if(null===a)a=t;else{if(0===a)return v;a=10*a+t}if(a>255)return v;++o}t[n]=256*t[n]+a,++r,2!==r&&4!==r||++n}if(4!==r)return v;break}if(e[o]===m(":")){if(++o,void 0===e[o])return v}else if(void 0!==e[o])return v;t[n]=a,++n}if(null!==r){let e=n-r;for(n=7;0!==n&&e>0;){const i=t[r+e-1];t[r+e-1]=t[n],t[n]=i,--n,--e}}else if(null===r&&8!==n)return v;return t}(e.substring(1,e.length-1));if(t)return function(e){if(x(e))return v;return l(e,c)}(e);const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=r.toASCII(e,{checkBidi:!0,checkHyphens:!1,checkJoiners:!0,useSTD3ASCIIRules:t,verifyDNSLength:t});if(null===n||""===n)return v;return n}(o(a(e)));return n===v?v:x(s=n)||-1!==s.search(/[\u0000-\u001F]|%|\u007F/u)?v:function(e){const t=e.split(".");if(""===t[t.length-1]){if(1===t.length)return!1;t.pop()}const n=t[t.length-1];if(S(n)!==v)return!0;if(/^[0-9]+$/u.test(n))return!0;return!1}(n)?function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return v;const n=[];for(const o of t){const e=S(o);if(e===v)return v;n.push(e)}for(let o=0;o<n.length-1;++o)if(n[o]>255)return v;if(n[n.length-1]>=256**(5-n.length))return v;let r=n.pop(),i=0;for(const o of n)r+=o*256**(3-i),++i;return r}(n):n;var s}function P(e){return"number"===typeof e?function(e){let t="",n=e;for(let r=1;r<=4;++r)t=String(n%256)+t,4!==r&&(t=".".concat(t)),n=Math.floor(n/256);return t}(e):e instanceof Array?"[".concat(function(e){let t="";const n=function(e){let t=null,n=1,r=null,i=0;for(let o=0;o<e.length;++o)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n?r:t}(e);let r=!1;for(let i=0;i<=7;++i)r&&0===e[i]||(r&&(r=!1),n!==i?(t+=e[i].toString(16),7!==i&&(t+=":")):(t+=0===i?"::":":",r=!0));return t}(e),"]"):e}function D(e){const{path:t}=e;var n;0!==t.length&&("file"===e.scheme&&1===t.length&&(n=t[0],/^[A-Za-z]:$/u.test(n))||t.pop())}function N(e){return""!==e.username||""!==e.password}function F(e){return"string"===typeof e.path}function I(e,t,n,r,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=n||"utf-8",this.stateOverride=i,this.url=r,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/gu,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const o=function(e){return e.replace(/\u0009|\u000A|\u000D/gu,"")}(this.input);for(o!==this.input&&(this.parseError=!0),this.input=o,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=Array.from(this.input,(e=>e.codePointAt(0)));this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),n=this["parse ".concat(this.state)](e,t);if(!n)break;if(n===v){this.failure=!0;break}}}I.prototype["parse scheme start"]=function(e,t){if(i.isASCIIAlpha(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,v;this.state="no scheme",--this.pointer}return!0},I.prototype["parse scheme"]=function(e,t){if(i.isASCIIAlphanumeric(e)||e===m("+")||e===m("-")||e===m("."))this.buffer+=t.toLowerCase();else if(e===m(":")){if(this.stateOverride){if(E(this.url)&&!A(this.buffer))return!1;if(!E(this.url)&&A(this.buffer))return!1;if((N(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&""===this.url.host)return!1}if(this.url.scheme=this.buffer,this.stateOverride)return this.url.port===T(this.url.scheme)&&(this.url.port=null),!1;this.buffer="","file"===this.url.scheme?(this.input[this.pointer+1]===m("/")&&this.input[this.pointer+2]===m("/")||(this.parseError=!0),this.state="file"):E(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":E(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===m("/")?(this.state="path or authority",++this.pointer):(this.url.path="",this.state="opaque path")}else{if(this.stateOverride)return this.parseError=!0,v;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},I.prototype["parse no scheme"]=function(e){return null===this.base||F(this.base)&&e!==m("#")?v:(F(this.base)&&e===m("#")?(this.url.scheme=this.base.scheme,this.url.path=this.base.path,this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},I.prototype["parse special relative or authority"]=function(e){return e===m("/")&&this.input[this.pointer+1]===m("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},I.prototype["parse path or authority"]=function(e){return e===m("/")?this.state="authority":(this.state="path",--this.pointer),!0},I.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,e===m("/")?this.state="relative slash":E(this.url)&&e===m("\\")?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):isNaN(e)||(this.url.query=null,this.url.path.pop(),this.state="path",--this.pointer)),!0},I.prototype["parse relative slash"]=function(e){return!E(this.url)||e!==m("/")&&e!==m("\\")?e===m("/")?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(e===m("\\")&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},I.prototype["parse special authority slashes"]=function(e){return e===m("/")&&this.input[this.pointer+1]===m("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},I.prototype["parse special authority ignore slashes"]=function(e){return e!==m("/")&&e!==m("\\")?(this.state="authority",--this.pointer):this.parseError=!0,!0},I.prototype["parse authority"]=function(e,t){if(e===m("@")){this.parseError=!0,this.atFlag&&(this.buffer="%40".concat(this.buffer)),this.atFlag=!0;const e=C(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(e===m(":")&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const n=s(e,f);this.passwordTokenSeenFlag?this.url.password+=n:this.url.username+=n}this.buffer=""}else if(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||E(this.url)&&e===m("\\")){if(this.atFlag&&""===this.buffer)return this.parseError=!0,v;this.pointer-=C(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},I.prototype["parse hostname"]=I.prototype["parse host"]=function(e,t){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(e!==m(":")||this.arrFlag)if(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||E(this.url)&&e===m("\\")){if(--this.pointer,E(this.url)&&""===this.buffer)return this.parseError=!0,v;if(this.stateOverride&&""===this.buffer&&(N(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=k(this.buffer,_(this.url));if(e===v)return v;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else e===m("[")?this.arrFlag=!0:e===m("]")&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,v;if("hostname"===this.stateOverride)return!1;const e=k(this.buffer,_(this.url));if(e===v)return v;this.url.host=e,this.buffer="",this.state="port"}return!0},I.prototype["parse port"]=function(e,t){if(i.isASCIIDigit(e))this.buffer+=t;else{if(!(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||E(this.url)&&e===m("\\")||this.stateOverride))return this.parseError=!0,v;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>65535)return this.parseError=!0,v;this.url.port=e===T(this.url.scheme)?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const R=new Set([m("/"),m("\\"),m("?"),m("#")]);function M(e,t){const n=e.length-t;return n>=2&&(r=e[t],o=e[t+1],i.isASCIIAlpha(r)&&(o===m(":")||o===m("|")))&&(2===n||R.has(e[t+2]));var r,o}function O(e){if(F(e))return e.path;let t="";for(const n of e.path)t+="/".concat(n);return t}I.prototype["parse file"]=function(e){return this.url.scheme="file",this.url.host="",e===m("/")||e===m("\\")?(e===m("\\")&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):isNaN(e)||(this.url.query=null,M(this.input,this.pointer)?(this.parseError=!0,this.url.path=[]):D(this.url),this.state="path",--this.pointer)):(this.state="path",--this.pointer),!0},I.prototype["parse file slash"]=function(e){var t;return e===m("/")||e===m("\\")?(e===m("\\")&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(!M(this.input,this.pointer)&&(2===(t=this.base.path[0]).length&&i.isASCIIAlpha(t.codePointAt(0))&&":"===t[1])&&this.url.path.push(this.base.path[0]),this.url.host=this.base.host),this.state="path",--this.pointer),!0},I.prototype["parse file host"]=function(e,t){if(isNaN(e)||e===m("/")||e===m("\\")||e===m("?")||e===m("#"))if(--this.pointer,!this.stateOverride&&w(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=k(this.buffer,_(this.url));if(e===v)return v;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},I.prototype["parse path start"]=function(e){return E(this.url)?(e===m("\\")&&(this.parseError=!0),this.state="path",e!==m("/")&&e!==m("\\")&&--this.pointer):this.stateOverride||e!==m("?")?this.stateOverride||e!==m("#")?void 0!==e?(this.state="path",e!==m("/")&&--this.pointer):this.stateOverride&&null===this.url.host&&this.url.path.push(""):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},I.prototype["parse path"]=function(e){var t;return isNaN(e)||e===m("/")||E(this.url)&&e===m("\\")||!this.stateOverride&&(e===m("?")||e===m("#"))?(E(this.url)&&e===m("\\")&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(D(this.url),e===m("/")||E(this.url)&&e===m("\\")||this.url.path.push("")):!b(this.buffer)||e===m("/")||E(this.url)&&e===m("\\")?b(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&w(this.buffer)&&(this.buffer="".concat(this.buffer[0],":")),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="",e===m("?")&&(this.url.query="",this.state="query"),e===m("#")&&(this.url.fragment="",this.state="fragment")):(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=s(e,p)),!0},I.prototype["parse opaque path"]=function(e){return e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):(isNaN(e)||e===m("%")||(this.parseError=!0),e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path+=s(e,c))),!0},I.prototype["parse query"]=function(e,t){if(E(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8"),!this.stateOverride&&e===m("#")||isNaN(e)){const t=E(this.url)?h:d;this.url.query+=l(this.buffer,t),this.buffer="",e===m("#")&&(this.url.fragment="",this.state="fragment")}else isNaN(e)||(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t);return!0},I.prototype["parse fragment"]=function(e){return isNaN(e)||(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=s(e,u)),!0},e.exports.serializeURL=function(e,t){let n="".concat(e.scheme,":");return null!==e.host&&(n+="//",""===e.username&&""===e.password||(n+=e.username,""!==e.password&&(n+=":".concat(e.password)),n+="@"),n+=P(e.host),null!==e.port&&(n+=":".concat(e.port))),null===e.host&&!F(e)&&e.path.length>1&&""===e.path[0]&&(n+="/."),n+=O(e),null!==e.query&&(n+="?".concat(e.query)),t||null===e.fragment||(n+="#".concat(e.fragment)),n},e.exports.serializePath=O,e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":{const n=e.exports.parseURL(O(t));return null===n||"http"!==n.scheme&&"https"!==n.scheme?"null":e.exports.serializeURLOrigin(n)}case"ftp":case"http":case"https":case"ws":case"wss":return function(e){let t="".concat(e.scheme,"://");return t+=P(e.host),null!==e.port&&(t+=":".concat(e.port)),t}({scheme:t.scheme,host:t.host,port:t.port});default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const n=new I(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return n.failure?null:n.url},e.exports.setTheUsername=function(e,t){e.username=l(t,f)},e.exports.setThePassword=function(e,t){e.password=l(t,f)},e.exports.serializeHost=P,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||"file"===e.scheme},e.exports.hasAnOpaquePath=F,e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(t,n){return void 0===n&&(n={}),e.exports.basicURLParse(t,{baseURL:n.baseURL,encodingOverride:n.encodingOverride})}},51705:(e,t,n)=>{"use strict";const{utf8Encode:r,utf8DecodeWithoutBOM:i}=n(89373),{percentDecodeBytes:o,utf8PercentEncodeString:a,isURLEncodedPercentEncode:s}=n(79537);function l(e){return e.codePointAt(0)}function c(e,t,n){let r=e.indexOf(t);for(;r>=0;)e[r]=n,r=e.indexOf(t,r+1);return e}e.exports={parseUrlencodedString:function(e){return function(e){const t=function(e,t){const n=[];let r=0,i=e.indexOf(t);for(;i>=0;)n.push(e.slice(r,i)),r=i+1,i=e.indexOf(t,r);return r!==e.length&&n.push(e.slice(r)),n}(e,l("&")),n=[];for(const r of t){if(0===r.length)continue;let e,t;const a=r.indexOf(l("="));a>=0?(e=r.slice(0,a),t=r.slice(a+1)):(e=r,t=new Uint8Array(0)),e=c(e,43,32),t=c(t,43,32);const s=i(o(e)),u=i(o(t));n.push([s,u])}return n}(r(e))},serializeUrlencoded:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n="utf-8";void 0!==t&&(n=t);let r="";for(const[i,o]of e.entries()){const e=a(o[0],s,!0);let t=o[1];o.length>2&&void 0!==o[2]&&("hidden"===o[2]&&"_charset_"===e?t=n:"file"===o[2]&&(t=t.name)),t=a(t,s,!0),0!==i&&(r+="&"),r+="".concat(e,"=").concat(t)}return r}}},87163:(e,t)=>{"use strict";const n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const r=Symbol("wrapper"),i=Symbol("impl"),o=Symbol("SameObject caches"),a=Symbol.for("[webidl2js] constructor registry"),s=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function l(e){if(n(e,a))return e[a];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=s}return e[a]=t,t}function c(e){return e?e[r]:null}function u(e){return e?e[i]:null}const d=Symbol("internal");const h=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const p=Symbol("supports property index"),f=Symbol("supported property indices"),m=Symbol("supports property name"),g=Symbol("supported property names"),v=Symbol("indexed property get"),C=Symbol("indexed property set new"),y=Symbol("indexed property set existing"),b=Symbol("named property get"),w=Symbol("named property set new"),x=Symbol("named property set existing"),A=Symbol("named property delete"),E=Symbol("async iterator get the next iteration result"),_=Symbol("async iterator return steps"),T=Symbol("async iterator initialization steps"),S=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"===typeof e&&null!==e||"function"===typeof e},hasOwn:n,define:function(e,t){for(const n of Reflect.ownKeys(t)){const r=Reflect.getOwnPropertyDescriptor(t,n);if(r&&!Reflect.defineProperty(e,n,r))throw new TypeError("Cannot redefine property: ".concat(String(n)))}},newObjectInRealm:function(e,t){const n=l(e);return Object.defineProperties(Object.create(n["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:r,implSymbol:i,getSameObject:function(e,t,n){return e[o]||(e[o]=Object.create(null)),t in e[o]||(e[o][t]=n()),e[o][t]},ctorRegistrySymbol:a,initCtorRegistry:l,wrapperForImpl:c,implForWrapper:u,tryWrapperForImpl:function(e){const t=c(e);return t||e},tryImplForWrapper:function(e){const t=u(e);return t||e},iterInternalSymbol:d,isArrayBuffer:function(e){try{return h.call(e),!0}catch(t){return!1}},isArrayIndexPropName:function(e){if("string"!==typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e==="".concat(t)},supportsPropertyIndex:p,supportedPropertyIndices:f,supportsPropertyName:m,supportedPropertyNames:g,indexedGet:v,indexedSetNew:C,indexedSetExisting:y,namedGet:b,namedSetNew:w,namedSetExisting:x,namedDelete:A,asyncIteratorNext:E,asyncIteratorReturn:_,asyncIteratorInit:T,asyncIteratorEOI:S,iteratorResult:function(e,t){let n,[r,i]=e;switch(t){case"key":n=r;break;case"value":n=i;break;case"key+value":n=[r,i]}return{value:n,done:!1}}}},89850:(e,t,n)=>{"use strict";const r=n(58603),i=n(95753);t.URL=r,t.URLSearchParams=i},33723:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.FlowtyAPI=void 0;const i=n(2035);t.FlowtyAPI=class{constructor(e){r(this,"baseURL",void 0),r(this,"getItem",(async e=>{const t="".concat(this.baseURL,"/item/").concat(e.contractAddress,"/").concat(e.contractName,"/").concat(e.resourceName,"/").concat(e.nftID);return(await i.default.get(t)).data})),r(this,"refreshMetadata",(async e=>i.default.get("".concat(this.baseURL,"/nft/refresh?id=").concat(e)).then((e=>e.data)))),this.baseURL=e}}},35387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectWallet=void 0;const r=n(19388);t.connectWallet=async()=>{await r.authenticate()}},87110:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.FlowtyBuilder=void 0;const i=n(95920),o=n(99822);t.FlowtyBuilder=class{withApiURL(e){return this.config.apiURL=e,this}withContractAddress(e,t){return this.config.contractAddresses[e]=t,this}withNetwork(e){switch(e){case"mainnet":return this.withMainnet();case"testnet":return this.withTestnet();case"emulator":return this.withEmulator();default:throw new Error("Unrecognized network")}}withCrescendo(e){if(this.config.crescendo=e,this.config.crescendo)switch(this.config.network){case"mainnet":this.config.contractAddresses.TransactionTypes="0x26836b2113af9115";break;case"testnet":this.config.contractAddresses.TransactionTypes="0x0364649c96f0dcec"}return this}build(){return new o.Flowty(this.config)}constructor(){r(this,"config",void 0),this.config=new i.Config("",{AddressUtils:"",BaseCollection:"",CapabilityCache:"",ContractFactory:"",ContractFactoryTemplate:"",ContractManager:"",DapperOffersV2:"",DapperUtilityCoin:"",DapperWalletCollections:"",Doodles:"",DropTypes:"",FlowToken:"",FlowUtilityToken:"",Flowty:"",FlowtyActiveCheckers:"",FlowtyAddressVerifiers:"",FlowtyDrops:"",FlowtyOffersResolver:"",FlowtyPricers:"",FlowtyUtils:"",FlowtyWrapped:"",FungibleToken:"",FungibleTokenMetadataViews:"",FungibleTokenRouter:"",HybridCustody:"",LostAndFound:"",LostAndFoundHelper:"",MetadataViews:"",NFTCatalog:"",NFTMetadata:"",NFTStorefrontV2:"",NFTStorefrontV2_Shared:"",NonFungibleToken:"",Offers:"",OffersV2_Dapper:"",OpenEditionInitializer:"",OpenEditionTemplate:"",Resolver:"",StringUtils:"",TokenForwarding:"",TopShot:"",TransactionTypes:"",USDCFlow:"",ViewResolver:""},"emulator",!1)}withMainnet(){return this.config=new i.Config("https://api2.flowty.io",{AddressUtils:"0xa340dc0a4ec828ab",BaseCollection:"0xbefbaccb5032a457",CapabilityCache:"0xacc5081c003e24cf",ContractFactory:"0xbefbaccb5032a457",ContractFactoryTemplate:"0xbefbaccb5032a457",ContractManager:"0xbefbaccb5032a457",DapperOffersV2:"0xb8ea91944fd51c43",DapperUtilityCoin:"0xead892083b3e2c6c",DapperWalletCollections:"0x42a54b4f70e7dc81",Doodles:"0xe81193c424cfd3fb",DropTypes:"0x54233ec36b0c883b",FlowToken:"0x1654653399040a61",FlowUtilityToken:"0xead892083b3e2c6c",Flowty:"0x5c57f79c6694797f",FlowtyActiveCheckers:"0xbefbaccb5032a457",FlowtyAddressVerifiers:"0xbefbaccb5032a457",FlowtyDrops:"0xbefbaccb5032a457",FlowtyOffersResolver:"0x322d96c958eb8c46",FlowtyPricers:"0xbefbaccb5032a457",FlowtyUtils:"0x3cdbb3d569211ff3",FlowtyWrapped:"0x592eb32b47d8b85f",FungibleToken:"0xf233dcee88fe0abe",FungibleTokenMetadataViews:"0xf233dcee88fe0abe",FungibleTokenRouter:"0x707c0b39a8d689cb",HybridCustody:"0xd8a7e05a7ac670c0",LostAndFound:"0x473d6a2c37eab5be",LostAndFoundHelper:"0x473d6a2c37eab5be",MetadataViews:"0x1d7e57aa55817448",NFTCatalog:"0x49a7cda3a1eecc29",NFTMetadata:"0xbefbaccb5032a457",NFTStorefrontV2:"0x3cdbb3d569211ff3",NFTStorefrontV2_Shared:"0x4eb8a10cb9f87357",NonFungibleToken:"0x1d7e57aa55817448",Offers:"0x3c1c4b041ad18279",OffersV2_Dapper:"0xb8ea91944fd51c43",OpenEditionInitializer:"0xbefbaccb5032a457",OpenEditionTemplate:"0xbefbaccb5032a457",Resolver:"0xb8ea91944fd51c43",StringUtils:"0xa340dc0a4ec828ab",TokenForwarding:"0xe544175ee0461c4b",TopShot:"0x0b2a3299cc857e29",TransactionTypes:"0xccd763254ec95a9e",USDCFlow:"0xf1ab99c82dee3526",ViewResolver:"0x1d7e57aa55817448"},"mainnet",!1),this}withTestnet(){return this.config=new i.Config("https://api2.testnet.flowty.io",{AddressUtils:"0x31ad40c07a2a9788",BaseCollection:"0xea3e1b74e99dc035",CapabilityCache:"0x83d75469f66d2ee6",ContractFactory:"0xea3e1b74e99dc035",ContractFactoryTemplate:"0xea3e1b74e99dc035",ContractManager:"0xea3e1b74e99dc035",DapperOffersV2:"0x8a5f647e58dde1ee",DapperUtilityCoin:"0x82ec283f88a62e65",DapperWalletCollections:"0xb67c471ade6fdbea",Doodles:"0x1c5033ad60821c97",DropTypes:"0xfc6a7e477099ca54",FlowToken:"0x7e60df042a9c0868",FlowUtilityToken:"0x82ec283f88a62e65",Flowty:"0xe1d43e0cfc237807",FlowtyActiveCheckers:"0xea3e1b74e99dc035",FlowtyAddressVerifiers:"0xea3e1b74e99dc035",FlowtyDrops:"0xea3e1b74e99dc035",FlowtyOffersResolver:"0xc96178f4d1e4c1fd",FlowtyPricers:"0xea3e1b74e99dc035",FlowtyUtils:"0xb051bdaddb672a33",FlowtyWrapped:"0xd1712bc9e162f9e3",FungibleToken:"0x9a0766d93b6608b7",FungibleTokenMetadataViews:"0x9a0766d93b6608b7",FungibleTokenRouter:"0x83231f90a288bc35",HybridCustody:"0x294e44e1ec6993c6",LostAndFound:"0xbe4635353f55bbd4",LostAndFoundHelper:"0xbe4635353f55bbd4",MetadataViews:"0x631e88ae7f1d7c20",NFTCatalog:"0x324c34e1c517e4db",NFTMetadata:"0xea3e1b74e99dc035",NFTStorefrontV2:"0xb051bdaddb672a33",NFTStorefrontV2_Shared:"0x6225830c8c0957ba",NonFungibleToken:"0x631e88ae7f1d7c20",Offers:"0x0d3dc5ad70be03d1",OffersV2_Dapper:"0x8a5f647e58dde1ee",OpenEditionInitializer:"0xea3e1b74e99dc035",OpenEditionTemplate:"0xea3e1b74e99dc035",Resolver:"0x8a5f647e58dde1ee",StringUtils:"0x31ad40c07a2a9788",TokenForwarding:"0x51ea0e37c27a1f1a",TopShot:"0x877931736ee77cff",TransactionTypes:"0x86d1c2159a5d9eca",USDCFlow:"0x64adf39cbc354fcb",ViewResolver:"0x631e88ae7f1d7c20"},"testnet",!1),this}withEmulator(){return this.config=new i.Config("http://localhost:9000",{AddressUtils:"0xf8d6e0586b0a20c7",BaseCollection:"0xf8d6e0586b0a20c7",CapabilityCache:"0xf8d6e0586b0a20c7",ContractFactory:"0xf8d6e0586b0a20c7",ContractFactoryTemplate:"0xf8d6e0586b0a20c7",ContractManager:"0xf8d6e0586b0a20c7",DapperOffersV2:"0xf8d6e0586b0a20c7",DapperUtilityCoin:"0xf8d6e0586b0a20c7",DapperWalletCollections:"0xf8d6e0586b0a20c7",Doodles:"0xf8d6e0586b0a20c7",DropTypes:"0xf8d6e0586b0a20c7",FlowToken:"0x0ae53cb6e3f42a79",FlowUtilityToken:"0xf8d6e0586b0a20c7",Flowty:"0xf8d6e0586b0a20c7",FlowtyActiveCheckers:"0xf8d6e0586b0a20c7",FlowtyAddressVerifiers:"0xf8d6e0586b0a20c7",FlowtyDrops:"0xf8d6e0586b0a20c7",FlowtyOffersResolver:"0xf8d6e0586b0a20c7",FlowtyPricers:"0xf8d6e0586b0a20c7",FlowtyUtils:"0xf8d6e0586b0a20c7",FlowtyWrapped:"0xf8d6e0586b0a20c7",FungibleToken:"0xee82856bf20e2aa6",FungibleTokenMetadataViews:"0xf8d6e0586b0a20c7",FungibleTokenRouter:"0xf8d6e0586b0a20c7",HybridCustody:"0xf8d6e0586b0a20c7",LostAndFound:"0xf8d6e0586b0a20c7",LostAndFoundHelper:"0xf8d6e0586b0a20c7",MetadataViews:"0xf8d6e0586b0a20c7",NFTCatalog:"0xf8d6e0586b0a20c7",NFTMetadata:"0xf8d6e0586b0a20c7",NFTStorefrontV2:"0xf8d6e0586b0a20c7",NFTStorefrontV2_Shared:"0x1",NonFungibleToken:"0xf8d6e0586b0a20c7",Offers:"0xf8d6e0586b0a20c7",OffersV2_Dapper:"0xf8d6e0586b0a20c7",OpenEditionInitializer:"0xf8d6e0586b0a20c7",OpenEditionTemplate:"0xf8d6e0586b0a20c7",Resolver:"0xf8d6e0586b0a20c7",StringUtils:"0xf8d6e0586b0a20c7",TokenForwarding:"0xf8d6e0586b0a20c7",TopShot:"0xf8d6e0586b0a20c7",TransactionTypes:"0xf8d6e0586b0a20c7",USDCFlow:"0xf8d6e0586b0a20c7",ViewResolver:"0xf8d6e0586b0a20c7"},"emulator",!1),this}}},84631:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.CheckerService=void 0;const i=n(19388);t.CheckerService=class{constructor(){r(this,"verifyAddress",(async e=>{let t=!1;try{(await i.account(e)).address&&(t=!0)}catch(n){console.log("Couldn't find account [".concat(e,"] for private listing"))}return t}))}}},47037:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionService=void 0;const i=n(20841),o=n(53918),a=n(65094),s=n(19388);t.CollectionService=class{constructor(e){r(this,"config",void 0),r(this,"setupCollection",(async(e,t,n,r)=>{if(!e||!t)return null;const l=(0,i.getSetupCollectionTxn)(this.config,n,e,t,r),c=[s.arg(e,a.Address),s.arg(t,a.String)];return(0,o.sendMutation)(l,c)})),this.config=e}}},20841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSetupCollectionTxn=void 0;t.getSetupCollectionTxn=(e,t,l,c,u)=>t?e.crescendo?s(e):o(e):e.crescendo?a(e):"TopShot"===c&&l===e.contractAddresses.TopShot?i(e):u?n(e):r(e);const n=e=>"",r=e=>"",i=e=>"",o=e=>"",a=e=>"// flowty.io - Setup Collection with the NFT Catalog\nimport ViewResolver from ".concat(e.contractAddresses.ViewResolver,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,'\n\ntransaction(contractAddress: Address, contractName: String) {\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        let contractAcct = getAccount(contractAddress)\n\n        let dc = contractAcct.contracts.get(name: contractName)\n            ?? panic("contract not found")\n        let vr = contractAcct.contracts.borrow<&{ViewResolver}>(name: contractName)\n        let publicTypes = dc.publicTypes()\n        let nftResourceType = Type<@{NonFungibleToken.NFT}>()\n        for pt in publicTypes {\n            if !pt.isSubtype(of: nftResourceType) {\n                continue\n            }\n\n            var storagePath: StoragePath? = nil\n            var publicPath: PublicPath? = nil\n\n            var catalogIdentifier = ""\n            if let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: pt.identifier) {\n                for k in catalogIdentifiers.keys {\n                    if catalogIdentifiers[k] == true {\n                        catalogIdentifier = k\n                        break\n                    }\n                }\n            }\n\n            if catalogIdentifier != "" {\n                if let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) {\n                    storagePath = catalogEntry.collectionData.storagePath\n                    publicPath = catalogEntry.collectionData.publicPath\n                }\n            }\n\n            let vr = getAccount(contractAddress).contracts.borrow<&{ViewResolver}>(name: contractName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n            let md = vr.resolveContractView(resourceType: pt, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n            let collectionData = md as! MetadataViews.NFTCollectionData\n\n            publicPath = publicPath ?? collectionData.publicPath\n            storagePath = storagePath ?? collectionData.storagePath\n            assert(storagePath != nil && publicPath != nil, message: "could not resolve publicPath or storagePath for collection")\n\n            if acct.storage.borrow<&AnyResource>(from: storagePath!) == nil {\n                acct.storage.save(<-collectionData.createEmptyCollection(), to: storagePath!)\n            }\n\n            let targetType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n            var hasProvider = false\n            acct.capabilities.storage.forEachController(forPath: storagePath!, fun(c: &StorageCapabilityController): Bool {\n\t\t\t\t\t\t\t\tif c.borrowType.isRecovered {\n\t\t\t\t\t\t\t\t\t\treturn true\n\t\t\t\t\t\t\t\t}\n\n                if c.borrowType.isSubtype(of: targetType) {\n                    hasProvider = true\n                    return false\n                }\n                return true\n            })\n\n            if !hasProvider {\n                let provider = acct.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(storagePath!)\n                cache.addCapability(resourceType: pt, cap: provider)\n            }\n\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicPath!).check() {\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storagePath!),\n                    at: publicPath!\n                )\n            }\n        }\n    }\n}'),s=e=>"// flowty.io - Setup Collection with the NFT Catalog\n\nimport NFTCatalog from ".concat(e.contractAddresses.NFTCatalog,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport DapperWalletCollections from ").concat(e.contractAddresses.DapperWalletCollections,'\n\ntransaction(contractAddress: Address, contractName: String) {\n  prepare(acct: auth(Storage, Capabilities) &Account) {\n    let contractAcct = getAccount(contractAddress)\n    let c = contractAcct.contracts.borrow<&{NonFungibleToken}>(name: contractName) ?? panic("contract not found")\n\n    let contractType = c.getType()\n    assert(DapperWalletCollections.containsType(contractType), message: "not a valid NFT type")\n\n    let nftTypeIdentifier = contractType.identifier.concat(".NFT")\n    let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier) ?? panic("not found in catalog")\n    var catalogIdentifier = ""\n    for k in catalogIdentifiers.keys {\n      if catalogIdentifiers[k] == true {\n        catalogIdentifier = k\n        break\n      }\n    }\n\n    assert(catalogIdentifier != "", message: "no valid catalog identifier found")\n\n    let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) ?? panic("catalog entry not found")\n\n    let publicPath = catalogEntry.collectionData.publicPath\n    let storagePath = catalogEntry.collectionData.storagePath\n\n    if acct.storage.borrow<&AnyResource>(from: storagePath) == nil {\n      let collection <- c.createEmptyCollection(nftType: catalogEntry.nftType)\n      acct.storage.save(<-collection, to: storagePath)\n    }\n\n    if !acct.capabilities.get<&{NonFungibleToken.Collection}>(publicPath).check() {\n        acct.capabilities.unpublish(publicPath)\n        acct.capabilities.publish(\n            acct.capabilities.storage.issue<&{NonFungibleToken.Collection}>(storagePath),\n            at: publicPath\n        )\n    }\n\n    let providerStoragePath = FlowtyUtils.getCapabilityStoragePath(type: catalogEntry.nftType, suffix: "CollectionProviderForFlowty")\n    let copiedCap = acct.storage.copy<Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Collection}>>(from: providerStoragePath)\n    if copiedCap?.check() != true {\n      let provider = acct.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath)\n      assert(provider.check(), message: "collection provider capability is not valid")\n      acct.storage.save(provider, to: providerStoragePath)\n    }\n  }\n}')},49686:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.CreateOpenEdition=void 0;const i=n(65094),o=n(19388),a=n(53918),s=n(48873);t.CreateOpenEdition=class{constructor(e){r(this,"config",void 0),r(this,"createOpenEdition",(async e=>{var t;let{collectionDetails:n,nftDetails:r,dropDetails:l,phaseDetails:c,txAvailableCallback:u}=e;const d={cid:r.nftThumbnail,description:r.nftDescription,externalURL:r.nftExternalURL,name:r.nftName},h=Object.entries(d).map((e=>({key:e[0],value:e[1]}))),p={bannerImageCid:n.collectionPageBannerImage,bannerImageMediaType:n.collectionBannerImageMediaType,description:n.collectionDescription,externalURL:n.collectionExternalURL,name:n.collectionName,squareImageCid:n.collectionSquareImage,squareImageMediaType:n.collectionSquareImageMediaType};n.collectionTwitterHandle&&(p.twitter=n.collectionTwitterHandle),n.collectionInstagramHandle&&(p.instagram=n.collectionInstagramHandle),n.collectionDiscordHandle&&(p.discord=n.collectionDiscordHandle);const f=Object.entries(p).map((e=>({key:e[0],value:e[1]}))),m={description:l.dropDescription,name:l.dropName,nftType:l.dropNftType||"",thumbnailCid:l.dropThumbnail},g=Object.entries(m).map((e=>({key:e[0],value:e[1]})));let v=null!==(t=n.collectionRoyalty)&&void 0!==t?t:0;v=100*v/1e4;const C=[o.arg(n.contractName,i.String),o.arg("0.01",i.UFix64),o.arg(c[0].phaseStartDate,i.Optional(i.UInt64)),o.arg(c[0].phaseEndDate,i.Optional(i.UInt64)),o.arg(Number(c[0].phasePrice).toFixed(5),i.UFix64),o.arg(this.config.getIdentifier("FlowToken","Vault"),i.String),o.arg([],i.Dictionary({key:i.String,value:i.String})),o.arg(h,i.Dictionary({key:i.String,value:i.String})),o.arg(f,i.Dictionary({key:i.String,value:i.String})),o.arg(g,i.Dictionary({key:i.String,value:i.String})),o.arg(v.toFixed(5)||null,i.Optional(i.UFix64))];console.log("txArgs",C);const y=(0,s.createOpenEditionTransactionFn)(this.config);try{return await(0,a.sendMutation)(y,C,u)}catch(b){throw console.log("TX ERROR",b),(0,a.Err)("createOpenEdition Error",b),b}})),this.config=e}}},48873:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOpenEditionTransactionFn=void 0;t.createOpenEditionTransactionFn=e=>"import ContractFactory from ".concat(e.contractAddresses.ContractFactory,"\nimport ContractFactoryTemplate from ").concat(e.contractAddresses.ContractFactoryTemplate,"\nimport OpenEditionTemplate from ").concat(e.contractAddresses.ContractFactoryTemplate,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport OpenEditionInitializer from ").concat(e.contractAddresses.OpenEditionInitializer,"\nimport ContractManager from ").concat(e.contractAddresses.ContractManager,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport FlowToken from ").concat(e.contractAddresses.FlowToken,"\nimport FlowtyDrops from ").concat(e.contractAddresses.FlowtyDrops,"\nimport NFTMetadata from ").concat(e.contractAddresses.NFTMetadata,"\nimport FlowtyActiveCheckers from ").concat(e.contractAddresses.FlowtyActiveCheckers,"\nimport FlowtyPricers from ").concat(e.contractAddresses.FlowtyPricers,"\nimport FlowtyAddressVerifiers from ").concat(e.contractAddresses.FlowtyAddressVerifiers,"\nimport FungibleTokenRouter from ").concat(e.contractAddresses.FungibleTokenRouter,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n    \ntransaction(contractName: String, managerInitialTokenBalance: UFix64, start: UInt64?, end: UInt64?, price: UFix64, paymentTokenType: String, phaseArgs: {String: String}, metadataArgs: {String: String}, collectionInfoArgs: {String: String}, dropDetailArgs: {String: String}, collectionRoyalty: UFix64?) {\n    prepare(acct: auth(Storage, Capabilities, Inbox) &Account) {\n        if acct.storage.borrow<&AnyResource>(from: ContractManager.StoragePath) == nil {\n            let v = acct.storage.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(from: /storage/flowTokenVault)!\n            let tokens <- v.withdraw(amount: managerInitialTokenBalance) as! @FlowToken.Vault\n\n            let contractManager <- ContractManager.createManager(tokens: <-tokens, defaultRouterAddress: acct.address)\n            let contractAddress = contractManager.getAccount().address\n            acct.storage.save(<- contractManager, to: ContractManager.StoragePath)\n\n            acct.capabilities.unpublish(ContractManager.PublicPath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&ContractManager.Manager>(ContractManager.StoragePath),\n                at: ContractManager.PublicPath\n            )\n\n            acct.storage.borrow<auth(ContractManager.Manage) &ContractManager.Manager>(from: ContractManager.StoragePath)!.onSave()\n            \n            // there is a published hybrid custody capability to redeem\n            if acct.storage.borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath) == nil {\n                let m <- HybridCustody.createManager(filter: nil)\n                acct.storage.save(<- m, to: HybridCustody.ManagerStoragePath)\n\n                for c in acct.capabilities.storage.getControllers(forPath: HybridCustody.ManagerStoragePath) {\n                        c.delete()\n                }\n\n                acct.capabilities.unpublish(HybridCustody.ManagerPublicPath)\n                acct.capabilities.publish(\n                        acct.capabilities.storage.issue<&{HybridCustody.ManagerPublic}>(HybridCustody.ManagerStoragePath),\n                        at: HybridCustody.ManagerPublicPath\n                )\n\n                acct.capabilities.storage.issue<auth(HybridCustody.Manage) &{HybridCustody.ManagerPrivate, HybridCustody.ManagerPublic}>(HybridCustody.ManagerStoragePath)\n            }\n\n            let inboxName = HybridCustody.getChildAccountIdentifier(acct.address)\n            let cap = acct.inbox.claim<auth(HybridCustody.Child) &{HybridCustody.AccountPrivate, HybridCustody.AccountPublic, ViewResolver.Resolver}>(inboxName, provider: contractAddress)\n                    ?? panic("child account cap not found")\n\n            let hcManager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                    ?? panic("manager no found")\n            hcManager.addAccount(cap: cap)\n        \n            hcManager.setChildAccountDisplay(address: cap.address, MetadataViews.Display(\n                name: "Creator Hub",\n                description: "Created by the Flowty Creator Hub",\n                thumbnail: MetadataViews.HTTPFile(url: "https://avatars.flowty.io/6.x/thumbs/png?seed=".concat(cap.address.toString()))\n            ))\n        }\n\n        let manager = acct.storage.borrow<auth(ContractManager.Manage) &ContractManager.Manager>(from: ContractManager.StoragePath)\n            ?? panic("manager was not borrowed successfully")\n\n        let addr = manager.getAccount().address\n        let addrStr = addr.toString()\n        let nftType = "A.".concat(addrStr.slice(from: 2, upTo: addrStr.length)).concat(".").concat(contractName).concat(".NFT")\n        let royalty: MetadataViews.Royalty? = collectionRoyalty != nil ? MetadataViews.Royalty(\n            receiver: getAccount(addr).capabilities.get<&{FungibleToken.Receiver}>(FungibleTokenRouter.PublicPath),\n            cut: collectionRoyalty!,\n            description: ""\n        ) : nil\n\n        let data: {String: AnyStruct} = {}\n        let nftMetadata: NFTMetadata.Metadata = NFTMetadata.Metadata(\n            name: metadataArgs["name"]!,\n            description: metadataArgs["description"]!,\n            thumbnail: MetadataViews.IPFSFile(cid: metadataArgs["cid"]!, path: metadataArgs["path"]),\n            traits: nil,\n            editions: nil,\n            externalURL: metadataArgs["externalURL"] != nil ? MetadataViews.ExternalURL(metadataArgs["externalURL"]!) : nil,\n            royalties: royalty != nil ? MetadataViews.Royalties([royalty!]) : nil,\n            data: data\n        )\n\n        let socials: {String: MetadataViews.ExternalURL} = {}\n        let keys = ["twitter", "x", "discord", "instagram"]\n        for k in keys {\n            if let v = collectionInfoArgs[k] {\n                socials[k] = MetadataViews.ExternalURL(v)\n            }\n        }\n\n        let collectionDisplay = MetadataViews.NFTCollectionDisplay(\n            name: collectionInfoArgs["name"]!,\n            description: collectionInfoArgs["description"]!,\n            externalURL: MetadataViews.ExternalURL(collectionInfoArgs["externalURL"]!),\n            squareImage: MetadataViews.Media(\n                file: MetadataViews.IPFSFile(cid: collectionInfoArgs["squareImageCid"]!, path: collectionInfoArgs["squareImagePath"]),\n                mediaType: collectionInfoArgs["squareImageMediaType"]!\n            ),\n            bannerImage: MetadataViews.Media(\n                file: MetadataViews.IPFSFile(cid: collectionInfoArgs["bannerImageCid"]!, path: collectionInfoArgs["bannerImagePath"]),\n                mediaType: collectionInfoArgs["bannerImageMediaType"]!\n            ),\n            socials: socials\n        )\n\n        let dropDetails = FlowtyDrops.DropDetails(\n            display: MetadataViews.Display(\n                name: dropDetailArgs["name"]!,\n                description: dropDetailArgs["description"]!,\n                thumbnail: MetadataViews.IPFSFile(cid: dropDetailArgs["thumbnailCid"]!, path: dropDetailArgs["thumbnailPath"])\n            ),\n            medias: nil,\n            commissionRate: 0.05,\n            nftType: nftType,\n            paymentTokenTypes: { paymentTokenType: true }\n        )\n\n        let phaseDetails = FlowtyDrops.PhaseDetails(\n            activeChecker: FlowtyActiveCheckers.TimestampChecker(start: start, end: end),\n            display: phaseArgs["displayName"] != nil ? MetadataViews.Display(\n                name: phaseArgs["displayName"]!,\n                description: phaseArgs["displayDescription"]!,\n                thumbnail: MetadataViews.IPFSFile(cid: phaseArgs["displayCid"]!, path: phaseArgs["displayPath"])\n            ) : nil,\n            pricer: FlowtyPricers.FlatPrice(price: price, paymentTokenType: CompositeType(paymentTokenType)!),\n            addressVerifier: FlowtyAddressVerifiers.AllowAll(maxPerMint: 10)\n        )\n\n        // The Open edition initializer requires at least two keys:\n        // - data: NFTMetadata.Metadata\n        // - collectionInfo: NFTMetadata.CollectionInfo\n        // \n        // You can also specify some optional paramters:\n        // - dropDetails: FlowtyDrops.DropDetails\n        // - phaseDetails: [FlowtyDrops.PhaseDetails]\n        // - minterController: This is supplied in the initialization of the contract itself\n        let arr: [FlowtyDrops.PhaseDetails] = [phaseDetails]\n        let params: {String: AnyStruct} = {\n            "data": nftMetadata,\n            "collectionInfo": NFTMetadata.CollectionInfo(collectionDisplay: collectionDisplay),\n            "dropDetails": dropDetails,\n            "phaseDetails": arr\n        }\n\n        ContractFactory.createContract(templateType: Type<OpenEditionTemplate>(), acct: manager.borrowContractAccount(), name: contractName, params: params, initializeIdentifier: Type<OpenEditionInitializer>().identifier)\n    }\n}')},7784:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DropDetails=void 0;const i=n(53918),o=n(82364),a=n(10355),s=n(19388),l=n(65094);t.DropDetails=class{constructor(e){r(this,"config",void 0),r(this,"getDropDetails",(async e=>{let{contractAddress:t,contractName:n,dropID:r,minter:o,quantity:c,paymentIdentifier:u}=e;const d=[s.arg(t,l.Address),s.arg(n,l.String),s.arg(r,l.UInt64),s.arg(o||null,l.Optional(l.Address)),s.arg(c||null,l.Optional(l.Int)),s.arg(u||null,l.Optional(l.String))],h=(0,a.getDropDetails)(this.config.contractAddresses.DropTypes);try{return await(0,i.executeScript)(h,d)}catch(p){throw console.log("Get drop details Script Error",p),(0,i.Err)("Error running drop details script",p),p}})),r(this,"getAllDropDetails",(async e=>{let{nftResourceTypeIdentifier:t,minter:n,quantity:r,paymentIdentifier:a}=e;const c=[s.arg(t,l.String),s.arg(n||null,l.Optional(l.Address)),s.arg(r||null,l.Optional(l.Int)),s.arg(a||null,l.Optional(l.String))],u=(0,o.getAllDropDetails)(this.config.contractAddresses.DropTypes);try{return await(0,i.executeScript)(u,c)}catch(d){throw console.log("Get drop details Script Error",d),(0,i.Err)("Error running all drop details script",d),d}})),this.config=e}}},84972:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DropMint=void 0;const i=n(53918),o=n(18336),a=n(19388),s=n(65094);t.DropMint=class{constructor(e){r(this,"config",void 0),r(this,"mint",(async e=>{let{commissionAddress:t,contractAddress:n,contractName:r,dropID:l,dropPhaseIndex:c,nftIdentifier:u,numToMint:d,paymentIdentifier:h,paymentReceiverPath:p,paymentStoragePath:f,totalCost:m,txAvailableCallback:g}=e;const v=[a.arg(n,s.Address),a.arg(r,s.String),a.arg(d.toString(),s.Int),a.arg(m.toFixed(2),s.UFix64),a.arg(h,s.String),a.arg(f,s.String),a.arg(p,s.String),a.arg(l,s.UInt64),a.arg(c.toString(),s.Int),a.arg(u,s.String),a.arg(t,s.Address)],C=(0,o.getMintDropTx)(this.config);try{return await(0,i.sendMutation)(C,v,g)}catch(y){throw console.log("TX ERROR",y),(0,i.Err)("mintDrop Error",y),y}})),this.config=e}}},82364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAllDropDetails=void 0;t.getAllDropDetails=e=>"import DropTypes from ".concat(e,"\n\naccess(all) fun main(nftTypeIdentifier: String, minter: Address?, quantity: Int?, paymentIdentifier: String?): [DropTypes.DropSummary] {\n    return DropTypes.getAllDropSummaries(nftTypeIdentifier: nftTypeIdentifier, minter: minter, quantity: quantity, paymentIdentifiers: paymentIdentifier != nil ? [paymentIdentifier!] : [])\n}")},10355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDropDetails=void 0;t.getDropDetails=e=>"import DropTypes from ".concat(e,"\n\n  access(all) fun main(contractAddress: Address, contractName: String, dropID: UInt64, minter: Address?, quantity: Int?, paymentIdentifier: String?): DropTypes.DropSummary? {\n    return DropTypes.getDropSummary(contractAddress: contractAddress, contractName: contractName, dropID: dropID, minter: minter, quantity: quantity, paymentIdentifiers: paymentIdentifier != nil ? [paymentIdentifier!]: [])\n}")},18336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMintDropTx=void 0;t.getMintDropTx=e=>"import ViewResolver from ".concat(e.contractAddresses.ViewResolver,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport FlowtyDrops from ").concat(e.contractAddresses.FlowtyDrops,'\n  \ntransaction(\n    contractAddress: Address,\n    contractName: String,\n    numToMint: Int,\n    totalCost: UFix64,\n    paymentIdentifier: String,\n    paymentStorageIdentifier: String,\n    paymentReceiverIdentifier: String,\n    dropID: UInt64,\n    dropPhaseIndex: Int,\n    nftIdentifier: String,\n    commissionAddress: Address\n) {\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        let paymentStoragePath = StoragePath(identifier: paymentStorageIdentifier) ?? panic("invalid storage identifier")\n        let paymentReceiverPath = PublicPath(identifier: paymentReceiverIdentifier) ?? panic("invalid receiver identifier")\n\n        let dc = getAccount(contractAddress).contracts.get(name: contractName) ?? panic("contract name not found")\n        let nftResourceType = Type<@{NonFungibleToken.NFT}>()\n\n        let resolver = getAccount(contractAddress).contracts.borrow<&{ViewResolver}>(name: contractName)\n            ?? panic("ViewResolver contract interface not found on contract address + name")\n        let nftType = CompositeType(nftIdentifier) ?? panic("invalid nftIdentifier: ".concat(nftIdentifier))\n\n        let collectionData = resolver.resolveContractView(resourceType: nftType, viewType: Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n        if acct.storage.borrow<&AnyResource>(from: collectionData.storagePath) == nil {\n            acct.storage.save(<- collectionData.createEmptyCollection(), to: collectionData.storagePath)\n\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(collectionData.storagePath), \n                at: collectionData.publicPath\n            )\n        }\n        let receiverCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)!\n\n        let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: paymentStoragePath)\n            ?? panic("could not borrow token provider")\n\n        let paymentVault <- vault.withdraw(amount: totalCost)\n\n        let dropResolver = resolver.resolveContractView(resourceType: nftType, viewType: Type<FlowtyDrops.DropResolver>())! as! FlowtyDrops.DropResolver\n        // let dropResolver = resolver.resolveView(Type<FlowtyDrops.DropResolver>())! as! FlowtyDrops.DropResolver\n        let dropContainer = dropResolver.borrowContainer()\n            ?? panic("unable to borrow drop container")\n\n        let drop = dropContainer.borrowDropPublic(id: dropID) ?? panic("drop not found")\n\n        let commissionReceiver = getAccount(commissionAddress).capabilities.get<&{FungibleToken.Receiver}>(paymentReceiverPath)\n        let remainder <- drop.mint(\n            payment: <-paymentVault,\n            amount: numToMint,\n            phaseIndex: dropPhaseIndex,\n            expectedType: nftType,\n            receiverCap: receiverCap,\n            commissionReceiver: commissionReceiver,\n            data: {}\n        )\n\n        if remainder.balance > 0.0 {\n            acct.storage.borrow<&{FungibleToken.Receiver}>(from: paymentStoragePath)!.deposit(from: <-remainder)\n        } else {\n            destroy remainder\n        }\n    }\n}')},99822:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Flowty=void 0;const i=n(33723),o=n(84631),a=n(47037),s=n(49686),l=n(7784),c=n(84972),u=n(33088),d=n(21605),h=n(60721),p=n(38101),f=n(89510),m=n(48658),g=n(3799),v=n(72986),C=n(22780),y=n(32673),b=n(86097),w=n(98389),x=n(2245),A=n(38769),E=n(59235),_=n(64775);t.Flowty=class{constructor(e){r(this,"config",void 0),r(this,"storefrontListing",void 0),r(this,"loanListing",void 0),r(this,"rentListing",void 0),r(this,"transferService",void 0),r(this,"checkerService",void 0),r(this,"storefrontPurchase",void 0),r(this,"fundLoanListingService",void 0),r(this,"repayLoanService",void 0),r(this,"fundRentalListingService",void 0),r(this,"returnRentalService",void 0),r(this,"makeOfferService",void 0),r(this,"acceptOfferService",void 0),r(this,"cancelOfferService",void 0),r(this,"dropDetailsService",void 0),r(this,"lostAndFoundService",void 0),r(this,"dropMintService",void 0),r(this,"editChildAccountService",void 0),r(this,"createOpenEditionService",void 0),r(this,"scripts",void 0),r(this,"tokens",void 0),r(this,"collections",void 0),r(this,"api",void 0),r(this,"createStorefrontBulkListing",(async(e,t,n,r,i)=>this.storefrontListing.createStorefrontBulkListing(e,t,n,r,i))),r(this,"removeBulkListing",(async(e,t,n)=>(console.log("remove bulk listing",{listingResourceIDs:e,listingType:t}),this.storefrontListing.removeBulkListing(e,t,n)))),r(this,"returnRental",(async(e,t,n,r,i)=>this.returnRentalService.returnRental(e,t,n,r,i))),r(this,"createOpenEdition",(async e=>{let{collectionDetails:t,nftDetails:n,dropDetails:r,phaseDetails:i,txAvailableCallback:o}=e;return this.createOpenEditionService.createOpenEdition({collectionDetails:t,dropDetails:r,nftDetails:n,phaseDetails:i,txAvailableCallback:o})})),r(this,"repayLoan",(async e=>{let{fundItemID:t,address:n,token:r,ftPrivatePathIdentifier:i,ftProviderAddress:o,txAvailableCallback:a}=e;return this.repayLoanService.repayLoan({address:n,ftPrivatePathIdentifier:i,ftProviderAddress:o,fundItemID:t,token:r,txAvailableCallback:a})})),r(this,"editChildAccountDisplay",(async e=>{let{childAddress:t,name:n,desc:r,thumbnail:i,txAvailableCallback:o}=e;return this.editChildAccountService.editChildAccountDisplay({childAddress:t,desc:r,name:n,thumbnail:i,txAvailableCallback:o})})),r(this,"setupCollection",(async(e,t,n,r)=>this.collections.setupCollection(e,t,n,r))),this.config=e,this.storefrontListing=new w.StorefrontListing(this.config),this.loanListing=new h.LoanListing(this.config),this.rentListing=new g.RentListing(this.config),this.transferService=new _.TransferService(this.config),this.checkerService=new o.CheckerService,this.storefrontPurchase=new A.StorefrontPurchase(this.config),this.fundLoanListingService=new d.FundLoanListing(this.config),this.repayLoanService=new p.RepayLoanService(this.config),this.fundRentalListingService=new m.FundRentalListing(this.config),this.returnRentalService=new v.ReturnRental(this.config),this.makeOfferService=new x.MakeOffer(this.config),this.acceptOfferService=new y.AcceptOffer(this.config),this.cancelOfferService=new b.CancelOffer(this.config),this.dropDetailsService=new l.DropDetails(this.config),this.dropMintService=new c.DropMint(this.config),this.lostAndFoundService=new f.LostAndFound(this.config),this.editChildAccountService=new u.EditChildAccount(this.config),this.createOpenEditionService=new s.CreateOpenEdition(this.config),this.scripts=new C.ScriptService(this.config),this.tokens=new E.TokenService(this.config),this.collections=new a.CollectionService(this.config),this.api=new i.FlowtyAPI(this.config.apiURL)}async createStorefrontListing(e){let{nftData:t,buyer:n,salePrice:r,expiry:i,token:o,txAvailableCallback:a,nftProviderPathIdentifier:s,ftReceiverAddress:l}=e;return this.storefrontListing.createStorefrontListing({buyer:n,expiry:i,ftReceiverAddress:l,nftData:t,nftProviderPathIdentifier:s,salePrice:r,token:o,txAvailableCallback:a}).then((e=>e)).catch((e=>e))}async removeStorefrontListing(e){let{listingResourceID:t,listingType:n,txAvailableCallback:r}=e;return this.storefrontListing.removeStorefrontListing({listingResourceID:t,listingType:n,txAvailableCallback:r}).then((e=>e)).catch((e=>e))}async createLoanListing(e){let{nftData:t,loanAmount:n,loanInterestRate:r,loanDuration:i,loanAutoRepaymentEnabled:o,loanExpiresAfterDays:a,token:s,ftPrivatePathIdentifier:l,nftProviderPathIdentifier:c,ftReceiverAddress:u,txAvailableCallback:d}=e;return this.loanListing.createLoanListing({ftPrivatePathIdentifier:l,ftReceiverAddress:u,loanAmount:n,loanAutoRepaymentEnabled:o,loanDuration:i,loanExpiresAfterDays:a,loanInterestRate:r,nftData:t,nftProviderPathIdentifier:c,token:s,txAvailableCallback:d}).then((e=>e)).catch((e=>e))}async removeLoanListing(e){let{listingResourceID:t,txAvailableCallback:n}=e;return this.loanListing.removeLoanListing({listingResourceID:t,txAvailableCallback:n}).then((e=>e)).catch((e=>e))}async createRentListing(e){let{nftData:t,rentalFee:n,rentalDeposit:r,rentalTerm:i,token:o,renterAddress:a,rentalExpiresAfterDays:s,nftProviderPathIdentifier:l,ftReceiverAddress:c,txAvailableCallback:u}=e;return this.rentListing.createRentListing({ftReceiverAddress:c,nftData:t,nftProviderPathIdentifier:l,rentalDeposit:r,rentalExpiresAfterDays:s,rentalFee:n,rentalTerm:i,renterAddress:a,token:o,txAvailableCallback:u}).then((e=>e)).catch((e=>e))}async removeRentListing(e){let{listingResourceID:t,txAvailableCallback:n}=e;return this.rentListing.removeRentListing({listingResourceID:t,txAvailableCallback:n}).then((e=>e)).catch((e=>e))}async transferNft(e){let{nftData:t,transferRecipient:n,nftProviderPathIdentifier:r,txAvailableCallback:i}=e;return this.transferService.transferNft({nftData:t,nftProviderPathIdentifier:r,transferRecipient:n,txAvailableCallback:i}).then((e=>e)).catch((e=>e))}async verifyAddress(e){return this.checkerService.verifyAddress(e).then((e=>e)).catch((e=>e))}async purchaseStorefrontListing(e){let{listing:t,token:n,nftReceiverAddress:r,ftProviderAddress:i,privateFTPath:o,txAvailableCallback:a}=e;return this.storefrontPurchase.purchaseStorefrontListing({ftProviderAddress:i,listing:t,nftReceiverAddress:r,privateFTPath:o,token:n,txAvailableCallback:a}).then((e=>e)).catch((e=>e))}async fundLoanListing(e){let{listingData:t,nftReceiverAddress:n,ftPrivatePathIdentifier:r,ftProviderAddress:i,nftData:o,token:a,txAvailableCallback:s}=e;return this.fundLoanListingService.fundLoanListing({ftPrivatePathIdentifier:r,ftProviderAddress:i,listingData:t,nftData:o,nftReceiverAddress:n,token:a,txAvailableCallback:s}).then((e=>e)).catch((e=>e))}async fundRentalListing(e){let{listingData:t,token:n,nftData:r,enabledAutoReturn:i,nftReceiverAddress:o,ftProviderAddress:a,ftPrivatePathIdentifier:s,nftProviderPathIdentifier:l,txAvailableCallback:c}=e;return this.fundRentalListingService.fundRentalListing({enabledAutoReturn:i,ftPrivatePathIdentifier:s,ftProviderAddress:a,listingData:t,nftData:r,nftProviderPathIdentifier:l,nftReceiverAddress:o,token:n,txAvailableCallback:c}).then((e=>e)).catch((e=>e))}async makeOffer(e){let{nftData:t,txAvailableCallback:n,nftReceiverAddress:r,ftProviderAddress:i,ftProviderPathIdentifier:o,token:a,tokenIdentifier:s,offerAmount:l,expiry:c}=e;return this.makeOfferService.makeOffer({expiry:c,ftProviderAddress:i,ftProviderPathIdentifier:o,nftData:t,nftReceiverAddress:r,offerAmount:l,token:a,tokenIdentifier:s,txAvailableCallback:n}).then((e=>e)).catch((e=>e))}async acceptOffer(e){let{nftData:t,txAvailableCallback:n,nftProviderPathIdentifier:r,ftReceiverAddress:i,token:o,offerResourceID:a,offerStorefrontAddress:s,nftStoragePath:l}=e;return this.acceptOfferService.acceptOffer({ftReceiverAddress:i,nftData:t,nftProviderPathIdentifier:r,nftStoragePath:l,offerResourceID:a,offerStorefrontAddress:s,token:o,txAvailableCallback:n}).then((e=>e)).catch((e=>e))}async cancelOffer(e){let{offerResourceID:t,token:n,txAvailableCallback:r}=e;return this.cancelOfferService.cancelOffer({offerResourceID:t,token:n,txAvailableCallback:r})}async getDropDetails(e){let{contractAddress:t,contractName:n,dropID:r,minter:i,quantity:o,paymentIdentifier:a}=e;return this.dropDetailsService.getDropDetails({contractAddress:t,contractName:n,dropID:r,minter:i,paymentIdentifier:a,quantity:o})}async getAllDropDetails(e){let{nftResourceTypeIdentifier:t,minter:n,quantity:r,paymentIdentifier:i}=e;return this.dropDetailsService.getAllDropDetails({minter:n,nftResourceTypeIdentifier:t,paymentIdentifier:i,quantity:r})}async dropMint(e){let{commissionAddress:t,contractAddress:n,contractName:r,dropID:i,dropPhaseIndex:o,nftIdentifier:a,numToMint:s,paymentIdentifier:l,paymentReceiverPath:c,paymentStoragePath:u,totalCost:d,txAvailableCallback:h}=e;return this.dropMintService.mint({commissionAddress:t,contractAddress:n,contractName:r,dropID:i,dropPhaseIndex:o,nftIdentifier:a,numToMint:s,paymentIdentifier:l,paymentReceiverPath:c,paymentStoragePath:u,totalCost:d,txAvailableCallback:h})}async redeemLostAndFound(e){let{catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,ticketID:i,txAvailableCallback:o}=e;return this.lostAndFoundService.redeemLostAndFound({catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,ticketID:i,txAvailableCallback:o})}async redeemAllTicketsLostAndFound(e){let{catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,txAvailableCallback:i}=e;return this.lostAndFoundService.redeemAllTicketsLostAndFound({catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,txAvailableCallback:i})}}},33088:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EditChildAccount=void 0;const i=n(53918),o=n(5340),a=n(19388),s=n(65094);t.EditChildAccount=class{constructor(e){r(this,"config",void 0),r(this,"editChildAccountDisplay",(async e=>{let{childAddress:t,name:n,desc:r,thumbnail:l,txAvailableCallback:c}=e;const u=(0,o.setChildAccountDisplayTx)(this.config.contractAddresses.HybridCustody,this.config.contractAddresses.MetadataViews);try{const e=[a.arg(t,s.Address),a.arg(n,s.String),a.arg(r,s.String),a.arg(l,s.String)];return await(0,i.sendMutation)(u,e,c)}catch(d){throw console.log("TX ERROR",d),(0,i.Err)("Edit Child Account Error",d),d}})),this.config=e}}},5340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setChildAccountDisplayTx=void 0;t.setChildAccountDisplayTx=(e,t)=>"\nimport HybridCustody from ".concat(e,"\nimport MetadataViews from ").concat(t,'\n\n\ttransaction(childAddress: Address, name: String, description: String, thumbnail: String) {\n\t\tprepare(acct: auth(Storage, Capabilities) &Account) {\n\t\t\t\tlet m = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n\t\t\t\t\t\t?? panic("manager not found")\n\t\t\t\t\n\t\t\t\tlet d = MetadataViews.Display(\n\t\t\t\t\t\tname: name,\n\t\t\t\t\t\tdescription: description,\n\t\t\t\t\t\tthumbnail: MetadataViews.HTTPFile(url: thumbnail)\n\t\t\t\t)\n\t\t\t\tm.setChildAccountDisplay(address: childAddress, d)\n\t\t}\n\t}\n')},98081:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Flowty=t.FlowtyBuilder=t.IdentifierToPaymentToken=t.PaymentTokenToIdentifier=t.errorMessages=t.ErrorType=t.CustomErrorMessages=t.parseError=t.connectWallet=t.verifyAddress=t.useGetFlowtyStorefrontFee=t.useGetCollectionRoyalty=t.useGetFees=void 0;var o=n(87111);Object.defineProperty(t,"useGetFees",{enumerable:!0,get:function(){return o.useGetFees}});var a=n(50776);Object.defineProperty(t,"useGetCollectionRoyalty",{enumerable:!0,get:function(){return a.useGetCollectionRoyalty}});var s=n(21657);Object.defineProperty(t,"useGetFlowtyStorefrontFee",{enumerable:!0,get:function(){return s.useGetFlowtyStorefrontFee}});var l=n(65490);Object.defineProperty(t,"verifyAddress",{enumerable:!0,get:function(){return l.verifyAddress}});var c=n(35387);Object.defineProperty(t,"connectWallet",{enumerable:!0,get:function(){return c.connectWallet}});var u=n(59238);Object.defineProperty(t,"parseError",{enumerable:!0,get:function(){return u.parseError}}),Object.defineProperty(t,"CustomErrorMessages",{enumerable:!0,get:function(){return u.CustomErrorMessages}}),Object.defineProperty(t,"ErrorType",{enumerable:!0,get:function(){return u.ErrorType}}),Object.defineProperty(t,"errorMessages",{enumerable:!0,get:function(){return u.errorMessages}});var d=n(77706);Object.defineProperty(t,"PaymentTokenToIdentifier",{enumerable:!0,get:function(){return d.PaymentTokenToIdentifier}}),Object.defineProperty(t,"IdentifierToPaymentToken",{enumerable:!0,get:function(){return d.IdentifierToPaymentToken}});var h=n(87110);Object.defineProperty(t,"FlowtyBuilder",{enumerable:!0,get:function(){return h.FlowtyBuilder}});var p=n(99822);Object.defineProperty(t,"Flowty",{enumerable:!0,get:function(){return p.Flowty}}),i(n(95920),t)},21605:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.FundLoanListing=void 0;const i=n(53918),o=n(51738),a=n(19388),s=n(65094);t.FundLoanListing=class{constructor(e){r(this,"config",void 0),r(this,"fundLoanListing",(async e=>{var t;let{listingData:n,token:r,nftData:l,nftReceiverAddress:c,ftPrivatePathIdentifier:u,ftProviderAddress:d,txAvailableCallback:h}=e;const p=n.listingResourceID||"",f=(null===(t=n.flowtyStorefrontAddress)||void 0===t?void 0:t.toString())||"0",m=this.config.crescendo?a.arg(u||"0",s.UInt64):a.arg(u,s.String),g=[a.arg(p.toString(),s.UInt64),a.arg(f,s.Address),m,a.arg(c,s.Address),a.arg(d,s.Address)],v=(0,o.getFundLoanListingTxn)(this.config,r,l);try{return await(0,i.sendMutation)(v,g,h)}catch(C){throw console.log("TX ERROR",C),(0,i.Err)("createStorefrontListing",C),C}})),this.config=e}}},51738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFundLoanListingTxn=void 0;t.getFundLoanListingTxn=(e,t,i)=>e.crescendo?r(e):n(e,t,i);const n=(e,t,n)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport Flowty from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\ntransaction(\n    listingResourceID: UInt64,\n    flowtyStorefrontAddress: Address,\n    ftProviderControllerID: UInt64,\n    nftReceiverAddress: Address,\n    ftProviderAddress: Address\n) {\n    let paymentVault: @{FungibleToken.Vault}\n    let storefront: &{Flowty.FlowtyStorefrontPublic}\n    let listing: &{Flowty.ListingPublic}\n\n    let tokenReceiver: Capability<&{FungibleToken.Receiver}>\n    let nftReceiver: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        if(acct.storage.borrow<&Flowty.FlowtyStorefront>(from: Flowty.FlowtyStorefrontStoragePath) == nil) {\n            let storefront <- Flowty.createStorefront()\n\n            acct.storage.save(<-storefront, to: Flowty.FlowtyStorefrontStoragePath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{Flowty.FlowtyStorefrontPublic}>(Flowty.FlowtyStorefrontStoragePath),\n                at: Flowty.FlowtyStorefrontPublicPath\n            )\n        }\n\n        self.storefront = getAccount(flowtyStorefrontAddress).capabilities.get<&{Flowty.FlowtyStorefrontPublic}>(Flowty.FlowtyStorefrontPublicPath)\n            .borrow() ?? panic("Could not borrow FlowtyStorefront from provided address")\n\n        assert(self.storefront.getType() == Type<@Flowty.FlowtyStorefront>(), message: "unexpected storefront type")\n\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("No Listing with that ID in FlowtyStorefront. Already funded or delisted.")\n        let details = self.listing.getDetails()\n\n        let nft = self.listing.borrowNFT() ?? panic("failed to borrow listing nft")\n        let nftType = nft.getType()\n\n        let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftType.identifier) ?? panic("not found in catalog")\n        var catalogIdentifier = ""\n        for k in catalogIdentifiers.keys {\n            if catalogIdentifiers[k] == true {\n                catalogIdentifier = k\n                break\n            }\n        }\n\n        assert(catalogIdentifier != "", message: "no valid catalog identifier found")\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) ?? panic("catalog entry not found")\n\n        let publicCollectionPath = catalogEntry.collectionData.publicPath\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        if nftReceiverAddress == acct.address {\n            // ensure collection exists\n            if acct.storage.borrow<&{NonFungibleToken.Collection}>(from: storageCollectionPath) == nil {\n\n                // create a new Collection\n                let collection <- nft.createEmptyCollection()\n                // Put the new Collection in storage\n                acct.storage.save(<-collection, to: storageCollectionPath)\n            }\n\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath).check() {\n                acct.capabilities.unpublish(publicCollectionPath)\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                    at: publicCollectionPath\n                )\n            }\n\n            self.nftReceiver = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n            assert(manager.borrowAccount(addr: nftReceiverAddress) != nil, message: "No child account with that address")\n\n            self.nftReceiver = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n        }\n\n        assert(self.nftReceiver.borrow() != nil, message: "Missing or mis-typed NFT Collection")\n\n        let ftAddress = AddressUtils.parseAddress(details.paymentVaultType)!\n        let contractName = details.paymentVaultType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: details.paymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        if ftProviderAddress == acct.address {\n            let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n                ?? panic("Cannot borrow token vault from acct storage")\n            self.paymentVault <- vault.withdraw(amount: self.listing.getDetails().getTotalPayment())\n\n            self.tokenReceiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n            let child = manager.borrowAccount(addr: ftProviderAddress) ?? panic("no child account with that address")\n\n            let ftProviderCap = child.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>()) ?? panic("no ft provider found")\n            let tokenProvider = ftProviderCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n            assert(tokenProvider.check(), message: "invalid provider capability")\n\n            let ftProviderVault = tokenProvider.borrow() ?? panic("child account token vault could not be borrowed")\n            self.paymentVault <- ftProviderVault.withdraw(amount: self.listing.getDetails().getTotalPayment())\n            self.tokenReceiver = getAccount(ftProviderAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        }\n\n        assert(self.tokenReceiver.borrow() != nil, message: "Missing or mis-typed token receiver")\n    }\n\n    execute {\n        self.listing.fund(\n            payment: <-self.paymentVault,\n            lenderFungibleTokenReceiver: self.tokenReceiver,\n            lenderNFTCollection: self.nftReceiver\n        )\n    }\n}')},60721:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.LoanListing=void 0;const i=n(53918),o=n(15307),a=n(77706),s=n(19388),l=n(65094);t.LoanListing=class{constructor(e){r(this,"config",void 0),r(this,"createLoanListing",(async e=>{let{nftData:t,loanAmount:n,loanInterestRate:r,loanDuration:c,loanAutoRepaymentEnabled:u,loanExpiresAfterDays:d,token:h,ftPrivatePathIdentifier:p,nftProviderPathIdentifier:f,ftReceiverAddress:m,txAvailableCallback:g}=e;if(!t)throw new Error("Flow NFT it's null");const{id:v,type:C,nftOwner:y}=t,b=Number(c),w=(0,i.termNumberToSeconds)(b),x=(0,i.expirationDaysToSeconds)(d),A=await(0,i.getCatalogEntryForType)(C,this.config),E=(0,o.getLoanListingTransactionContent)(this.config,h,t);let _=s.arg(p,l.String),T=s.arg(f,l.String);this.config.crescendo&&(_=s.arg(p||"0",l.UInt64),T=s.arg(f||"0",l.UInt64));const S=[s.arg(v.toString(),l.UInt64),s.arg(n.toFixed(2),l.UFix64),s.arg(r.toFixed(6),l.UFix64),s.arg(w.toFixed(1),l.UFix64),s.arg(u,l.Bool),s.arg(x.toFixed(2),l.UFix64),_,T,s.arg(A||"",l.String),s.arg(y,l.Address),s.arg(m,l.Address)];this.config.crescendo&&S.push(s.arg(a.PaymentTokenToIdentifier[h.symbol],l.String)),console.log("txArguments",{txArguments:S,txContent:E});try{return await(0,i.sendMutation)(E,S,g)}catch(k){throw console.log("TX ERROR",k),(0,i.Err)("createStorefrontListing",k),k}})),r(this,"removeLoanListing",(async e=>{let{listingResourceID:t,txAvailableCallback:n}=e;const r=[s.arg(t.toString(),l.UInt64)],a=(0,o.getDelistLoanListingTransactionContent)(this.config);try{return await(0,i.sendMutation)(a,r,n)}catch(c){throw console.log("TX ERROR",c),c}})),this.config=e}}},15307:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDelistLoanListingTransactionContent=t.getLoanListingTransactionContent=void 0;t.getLoanListingTransactionContent=(e,t,i)=>e.crescendo?r(e):n(e,t,i);t.getDelistLoanListingTransactionContent=e=>e.crescendo?o(e):i(e);const n=(e,t,n)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport Flowty from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\ntransaction(\n    listItemID: UInt64,\n    amount: UFix64,\n    interestRate: UFix64,\n    term: UFix64,\n    autoRepaymentEnabled: Bool,\n    loanExpiresAfter: UFix64,\n    ftProviderControllerID: UInt64,\n    nftProviderControllerID: UInt64,\n    collectionIdentifier: String,\n    nftProviderAddress: Address,\n    ftReceiverAddress: Address,\n    paymentTokenIdentifier: String\n) {\n    let tokenReceiver: Capability<&{FungibleToken.Receiver}>\n    let nftProvider: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    let storefront: auth(Flowty.List) &Flowty.FlowtyStorefront\n    let nftReceiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let paymentVault: @{FungibleToken.Vault}\n    let tokenProvider: Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>?\n    let paymentTokenType: Type\n    let nftType: Type\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        self.paymentTokenType = CompositeType(paymentTokenIdentifier) ?? panic("invalid payment token type identifier")\n\n        if(acct.storage.borrow<&Flowty.FlowtyStorefront>(from: Flowty.FlowtyStorefrontStoragePath) == nil) {\n            // Create a new empty .Storefront\n            let storefront <- Flowty.createStorefront()\n\n            // save it to the account\n            acct.storage.save(<-storefront, to: Flowty.FlowtyStorefrontStoragePath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{Flowty.FlowtyStorefrontPublic}>(Flowty.FlowtyStorefrontStoragePath),\n                at: Flowty.FlowtyStorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n        self.nftType = catalogEntry.nftType\n\n        // We need a provider capability, but one is not provided by default so we create one if needed.\n        let publicCollectionPath = catalogEntry.collectionData.publicPath\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        let ftAddress = AddressUtils.parseAddress(self.paymentTokenType)!\n        let contractName = self.paymentTokenType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: self.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        // Do we need to setup this vault for the signing account?\n        if ftReceiverAddress == acct.address && acct.storage.type(at: ftVaultData.storagePath) == nil {\n            acct.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n            acct.capabilities.unpublish(ftVaultData.receiverPath)\n            acct.capabilities.unpublish(ftVaultData.metadataPath)\n\n            acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n            acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n        }\n\n        if autoRepaymentEnabled {\n            if ftReceiverAddress == acct.address {\n                let borrowType = Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>()\n                if let provider = cache.getCapabilityByType(resourceType: self.paymentTokenType, capabilityType: CapabilityType(borrowType)!) {\n                    self.tokenProvider = provider as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n                } else {\n                    self.tokenProvider = acct.capabilities.storage.issueWithType(ftVaultData.storagePath, type: borrowType) as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n                    cache.addCapability(resourceType: self.paymentTokenType, cap: self.tokenProvider!)\n                }\n            } else {\n                let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n                let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n                let ftProviderCap = child.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>()) ?? panic("no ft provider found")\n                self.tokenProvider = ftProviderCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>?\n            }\n\n            assert(self.tokenProvider!.check(), message: "Missing or mis-typed token provider")\n        } else {\n            self.tokenProvider = nil\n        }\n\n        if ftReceiverAddress == acct.address {\n            if acct.storage.borrow<&{FungibleToken.Vault}>(from: ftVaultData.storagePath) == nil {\n                acct.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath),\n                    at: ftVaultData.receiverPath\n                )\n\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{FungibleToken.Balance}>(ftVaultData.storagePath),\n                    at: ftVaultData.metadataPath\n                )\n            }\n\n            self.tokenReceiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)!\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.tokenReceiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)!\n        }\n\n        assert(self.tokenReceiver.check(), message: "Missing or mis-typed token receiver")\n\n        if nftProviderAddress == acct.address {\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath).check() {\n                acct.capabilities.unpublish(publicCollectionPath)\n\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                    at: publicCollectionPath\n                )\n            }\n\n            let borrowType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n            if let provider = cache.getCapabilityByType(resourceType: self.nftType, capabilityType: CapabilityType(borrowType)!) {\n                self.nftProvider = provider as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n            } else {\n                self.nftProvider = acct.capabilities.storage.issueWithType(catalogEntry.collectionData.storagePath, type: borrowType) as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n                cache.addCapability(resourceType: self.nftType, cap: self.nftProvider!)\n            }\n\n            self.nftReceiver = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftProviderAddress) ?? panic("no child account with that address")\n\n            let providerCap = child.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no nft provider found")\n            self.nftProvider = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n\n            let receiverCap = child.getPublicCapability(path: publicCollectionPath, type: Type<&{NonFungibleToken.CollectionPublic}>()) ?? panic("no nft collection public found")\n            self.nftReceiver = receiverCap as! Capability<&{NonFungibleToken.CollectionPublic}>\n        }\n\n        assert(self.nftProvider.check(), message: "Missing or mis-typed NFT Provider")\n        assert(self.nftReceiver.check(), message: "Missing or mis-typed NFT Receiver")\n\n        self.storefront = acct.storage.borrow<auth(Flowty.List) &Flowty.FlowtyStorefront>(from: Flowty.FlowtyStorefrontStoragePath)\n            ?? panic("Missing or mis-typed Flowty FlowtyStorefront")\n\n        let tokenVault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Vault}>(from: ftVaultData.storagePath)\n            ?? panic("Cannot borrow token vault from acct storage")\n\n        self.paymentVault <- tokenVault.withdraw(amount: Flowty.ListingFee)\n    }\n\n    execute {\n        let paymentCut = Flowty.PaymentCut(\n            receiver: self.tokenReceiver,\n            amount: amount\n        )\n        self.storefront.createListing(\n            payment: <-self.paymentVault,\n            nftProviderCapability: self.nftProvider,\n            nftPublicCollectionCapability: self.nftReceiver,\n            fusdProviderCapability: self.tokenProvider,\n            nftType: self.nftType,\n            nftID: listItemID,\n            amount: amount,\n            interestRate: interestRate,\n            term: term,\n            paymentVaultType: self.paymentTokenType,\n            paymentCuts: [paymentCut],\n            expiresAfter: loanExpiresAfter\n        )\n    }\n}'),i=e=>"",o=e=>"import Flowty from ".concat(e.contractAddresses.Flowty,'\n\ntransaction(listingResourceID: UInt64) {\n\tlet storefront: auth(Flowty.Cancel) &Flowty.FlowtyStorefront\n\n\tprepare(acct: auth(Storage) &Account) {\n\t\tself.storefront = acct.storage.borrow<auth(Flowty.Cancel) &Flowty.FlowtyStorefront>(from: Flowty.FlowtyStorefrontStoragePath)\n\t\t\t?? panic("Missing or mis-typed Flowty.FlowtyStorefront")\n\t}\n\n\texecute {\n\t\tself.storefront.removeListing(listingResourceID: listingResourceID)\n\t}\n}')},38101:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.RepayLoanService=void 0;const i=n(44585),o=n(53918),a=n(19388),s=n(65094);t.RepayLoanService=class{constructor(e){r(this,"config",void 0),r(this,"repayLoan",(async e=>{let{fundItemID:t,address:n,token:r,ftPrivatePathIdentifier:l,ftProviderAddress:c,txAvailableCallback:u}=e;const d=(0,i.getRepayLoanTxn)(this.config,r),h=this.config.crescendo?a.arg(l||"0",s.UInt64):a.arg(l,s.String),p=[a.arg(t.toString(),s.UInt64),a.arg(n,s.Address),a.arg(c,s.Address),h];try{return await(0,o.sendMutation)(d,p,u)}catch(f){throw console.log("TX ERROR",f),f}})),this.config=e}}},44585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRepayLoanTxn=void 0;t.getRepayLoanTxn=(e,t)=>e.crescendo?r(e):n(e,t);const n=(e,t)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport Flowty from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\ntransaction(fundingResourceID: UInt64, flowtyMarketplaceAddress: Address, ftProviderAddress: Address, ftProviderControllerID: UInt64) {\n    let paymentVault: @{FungibleToken.Vault}\n    let marketplace: &{Flowty.FlowtyMarketplacePublic}\n    let funding: &{Flowty.FundingPublic}\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        self.marketplace = Flowty.borrowMarketplacePublic()\n\n        self.funding = self.marketplace.borrowFunding(fundingResourceID: fundingResourceID)\n            ?? panic("No Funding with that ID in FlowtyMarketplace")\n\n        let details = self.funding.getDetails()\n        \n        let ftAddress = AddressUtils.parseAddress(details.paymentVaultType)!\n        let contractName = details.paymentVaultType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: details.paymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        let repaymentAmount = self.funding.getDetails().repaymentAmount\n\n        if ftProviderAddress == acct.address{\n            let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Vault}>(from: ftVaultData.storagePath)\n                ?? panic("Cannot borrow vault from acct storage")\n            self.paymentVault <- vault.withdraw(amount: repaymentAmount)\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: ftProviderAddress) ?? panic("ftProvider account not found")\n\n            let providerCap = childAcct.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>()) ?? panic("no cap found")\n            let ftProvider = providerCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n            let ftProviderVault = ftProvider.borrow() ?? panic("no vault found")\n\n            self.paymentVault <- ftProviderVault.withdraw(amount: repaymentAmount)\n        }\n    }\n\n    execute {\n        self.funding.repay(payment: <-self.paymentVault)\n    }\n\n    post {\n        self.funding.getDetails().repaid == true: "loan is not repaid"\n    }\n}')},89510:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.LostAndFound=void 0;const i=n(53918),o=n(68924),a=n(41158),s=n(19388),l=n(65094);t.LostAndFound=class{constructor(e){r(this,"config",void 0),r(this,"redeemLostAndFound",(async e=>{let{catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,ticketID:o,txAvailableCallback:c}=e;const u=[s.arg(r,l.Address),s.arg(o.toString(),l.UInt64),s.arg(t,l.String),s.arg(n,l.String)],d=(0,a.redeemItemTx)(this.config);try{return await(0,i.sendMutation)(d,u,c)}catch(h){throw console.log("TX ERROR",h),(0,i.Err)("redeem LostAndFound Error",h),h}})),r(this,"redeemAllTicketsLostAndFound",(async e=>{let{catalogIdentifier:t,nftTypeIdentifier:n,receiverAddress:r,txAvailableCallback:a}=e;const c=[s.arg(r,l.Address),s.arg(t,l.String),s.arg(n,l.String)],u=(0,o.redemAllItemsTx)(this.config);try{return await(0,i.sendMutation)(u,c,a)}catch(d){throw console.log("TX ERROR",d),(0,i.Err)("redeem LostAndFound Error",d),d}})),this.config=e}}},86728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLostAndFoundTicketsScript=void 0;t.getLostAndFoundTicketsScript=e=>"\nimport LostAndFound from ".concat(e.contractAddresses.LostAndFound,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,'\n        \naccess(all) struct Ticket {\n    // An optional message to attach to this item.\n    access(all) let memo: String?\n    // The address that it allowed to withdraw the item from this ticket\n    access(all) let redeemer: Address\n    //The type of the resource (non-optional) so that bins can represent the true type of an item\n    access(all) let type: Type\n    access(all) let typeIdentifier: String\n    // State maintained by LostAndFound\n    access(all) let redeemed: Bool\n    access(all) let nftID: UInt64?\n    access(all) let name : String?\n    access(all) let description : String?\n    access(all) let thumbnail : String?\n    access(all) let ticketID : UInt64?\n    access(all) let catalogIdentifier: String?\n    init(_ ticket: &LostAndFound.Ticket, catalogIdentifier: String?) {\n        self.memo = ticket.memo \n        self.redeemer = ticket.redeemer \n        self.type = ticket.type \n        self.typeIdentifier = ticket.type.identifier\n        self.redeemed = ticket.redeemed \n        self.nftID = ticket.getNonFungibleTokenID()\n        self.name = ticket.display?.name\n        self.description = ticket.display?.description\n        self.thumbnail = ticket.display?.thumbnail?.uri()\n        self.ticketID = ticket.uuid\n        self.catalogIdentifier = catalogIdentifier\n    }\n}\n\naccess(all) fun main(addr: Address): [Ticket] {\n    let tickets: [Ticket] = []\n    for ticket in LostAndFound.borrowAllTickets(addr: addr) {\n        log(ticket.type.identifier)\n        let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: ticket.type.identifier)\n        var catalogIdentifier = ""\n        if (catalogIdentifiers == nil) {\n            continue\n        } else {\n            for k in catalogIdentifiers!.keys {\n                if catalogIdentifiers![k] == true {\n                    catalogIdentifier = k\n                    break\n                }\n            }\n        }\n        tickets.append(Ticket(ticket, catalogIdentifier: catalogIdentifier))\n    }\n    \n    return tickets\n}')},68924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redemAllItemsTx=void 0;t.redemAllItemsTx=e=>"\nimport NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport LostAndFound from ").concat(e.contractAddresses.LostAndFound,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport StringUtils from ").concat(e.contractAddresses.StringUtils,'\n\ntransaction (receiverAddress: Address, collectionIdentifier: String, nftTypeIdentifier: String) {\n    let receiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let redeemer: Address\n    let catalogEntry: NFTCatalog.NFTCatalogMetadata\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        self.catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n        let publicCollectionPath = self.catalogEntry.collectionData.publicPath\n        let storageCollectionPath = self.catalogEntry.collectionData.storagePath\n        self.redeemer = acct.address\n        let contractAddress = AddressUtils.parseAddress(self.catalogEntry.nftType)!\n        let segments = StringUtils.split(self.catalogEntry.nftType.identifier, ".")\n        let contractName = segments[2]\n        let nftContract = getAccount(contractAddress).contracts.borrow<&{NonFungibleToken}>(name: contractName)\n            ?? panic("Contract is not of type NonFungibleToken")\n        let nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nftTypeIdentifier")\n\n        if acct.storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: storageCollectionPath) == nil {\n            let collection: @{NonFungibleToken.Collection} <- nftContract.createEmptyCollection(nftType: nftType)\n            // save it to the account\n            acct.storage.save(<-collection, to: storageCollectionPath)\n\n            // create a public capability for the collection\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                at: publicCollectionPath\n            )\n        }\n\n        self.receiver = getAccount(receiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)\n        assert(self.receiver.check(), message: "receiver not configured correctly!")\n    }\n    execute {\n        LostAndFound.redeemAll(type: self.catalogEntry.nftType, max: nil, receiver: self.receiver)\n    }\n}')},41158:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redeemItemTx=void 0;t.redeemItemTx=e=>"\nimport NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport LostAndFound from ").concat(e.contractAddresses.LostAndFound,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport StringUtils from ").concat(e.contractAddresses.StringUtils,'\n\ntransaction (receiverAddress: Address, ticketID: UInt64, collectionIdentifier: String, nftTypeIdentifier: String) {\n    let receiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let redeemer: Address\n    let catalogEntry: NFTCatalog.NFTCatalogMetadata\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        self.catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n        let publicCollectionPath = self.catalogEntry.collectionData.publicPath\n        let storageCollectionPath = self.catalogEntry.collectionData.storagePath\n        self.redeemer = acct.address\n        let contractAddress = AddressUtils.parseAddress(self.catalogEntry.nftType)!\n        let segments = StringUtils.split(self.catalogEntry.nftType.identifier, ".")\n        let contractName = segments[2] // A.1234.TopShot.NFT (TopShot == contractName)\n        let nftContract = getAccount(contractAddress).contracts.borrow<&{NonFungibleToken}>(name: contractName)\n            ?? panic("Contract is not of type NonFungibleToken")\n        let nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nftTypeIdentifier")\n\n        if acct.storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: storageCollectionPath) == nil {\n            let collection: @{NonFungibleToken.Collection} <- nftContract.createEmptyCollection(nftType: nftType)\n            // save it to the account\n            acct.storage.save(<-collection, to: storageCollectionPath)\n\n            // create a public capability for the collection\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                at: publicCollectionPath\n            )\n        }\n\n        self.receiver = getAccount(receiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)\n        assert(self.receiver.check(), message: "receiver not configured correctly!")\n    }\n    execute {\n        let manager = LostAndFound.borrowShelfManager()\n        let shelf = manager.borrowShelf(redeemer: self.receiver.address)!\n        assert(shelf != nil, message: "shelf not found")\n        shelf.redeem(type: self.catalogEntry.nftType, ticketID: ticketID, receiver: self.receiver)\n    }\n}')},48658:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.FundRentalListing=void 0;const i=n(53918),o=n(40664),a=n(19388),s=n(65094);t.FundRentalListing=class{constructor(e){r(this,"config",void 0),r(this,"fundRentalListing",(async e=>{let{listingData:t,token:n,nftData:r,enabledAutoReturn:l,nftReceiverAddress:c,ftPrivatePathIdentifier:u,ftProviderAddress:d,nftProviderPathIdentifier:h,txAvailableCallback:p}=e;const{listingResourceID:f,flowtyStorefrontAddress:m}=t,g=this.config.crescendo?a.arg(u||"0",s.UInt64):a.arg(u,s.String),v=this.config.crescendo?a.arg(h||"0",s.UInt64):a.arg(h,s.String),C=[a.arg(f.toString(),s.UInt64),a.arg(m,s.Address),a.arg(l,s.Bool),a.arg(c,s.Address),a.arg(d,s.Address),g,v],y=(0,o.getFillRentalTxn)(this.config,n,r);try{return await(0,i.sendMutation)(y,C,p)}catch(b){throw console.log("TX ERROR",b),(0,i.Err)("createStorefrontListing",b),b}})),this.config=e}}},40664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFillRentalTxn=void 0;t.getFillRentalTxn=(e,t,i)=>e.crescendo?r(e):n(e,t,i);const n=(e,t,n)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport FlowtyRentals from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\ntransaction(\n    listingResourceID: UInt64,\n    flowtyStorefrontAddress: Address,\n    autoReturn: Bool,\n    nftReceiverAddress: Address,\n    ftProviderAddress: Address,\n    ftProviderControllerID: UInt64,\n    nftProviderControllerID: UInt64,\n) {\n    let paymentVault: @{FungibleToken.Vault}\n    let storefront: &{FlowtyRentals.FlowtyRentalsStorefrontPublic}\n    let listing: &{FlowtyRentals.ListingPublic}\n\n    let tokenReceiver: Capability<&{FungibleToken.Receiver}>\n    let nftReceiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let provider: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.CollectionPublic, NonFungibleToken.Provider}>?\n    let ftProvider: auth(FungibleToken.Withdraw) &{FungibleToken.Provider}\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        if(acct.storage.borrow<&FlowtyRentals.FlowtyRentalsStorefront>(from: FlowtyRentals.FlowtyRentalsStorefrontStoragePath) == nil) {\n            // Create a new empty .Storefront\n            let storefront <- FlowtyRentals.createStorefront()\n\n            // save it to the account\n            acct.storage.save(<-storefront, to: FlowtyRentals.FlowtyRentalsStorefrontStoragePath)\n\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{FlowtyRentals.FlowtyRentalsStorefrontPublic}>(FlowtyRentals.FlowtyRentalsStorefrontStoragePath),\n                at: FlowtyRentals.FlowtyRentalsStorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        self.storefront = getAccount(flowtyStorefrontAddress).capabilities.get<&{FlowtyRentals.FlowtyRentalsStorefrontPublic}>(FlowtyRentals.FlowtyRentalsStorefrontPublicPath)!.borrow()\n            ?? panic("Could not borrow FlowtyRentalsStorefront from provided address")\n\n        assert(self.storefront.getType() == Type<@FlowtyRentals.FlowtyRentalsStorefront>(), message: "unexpected storefront type")\n\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("No Listing with that ID in FlowtyRentalsStorefront. Already rented or delisted.")\n        let listingDetails = self.listing.getDetails()\n        let price = listingDetails.amount\n\n        let nft = self.listing.borrowNFT() ?? panic("nft not found")\n        let nftType = nft.getType()\n\n        let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftType.identifier) ?? panic("not found in catalog")\n        var catalogIdentifier = ""\n        for k in catalogIdentifiers.keys {\n            if catalogIdentifiers[k] == true {\n                catalogIdentifier = k\n                break\n            }\n        }\n        assert(catalogIdentifier != "", message: "no valid catalog identifier found")\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) ?? panic("catalog entry not found")\n        let publicCollectionPath = catalogEntry.collectionData.publicPath\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        let ftAddress = AddressUtils.parseAddress(listingDetails.paymentVaultType)!\n        let contractName = listingDetails.paymentVaultType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n        let ftVaultData = ftContract.resolveContractView(resourceType: listingDetails.paymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        if ftProviderAddress == acct.address {\n            self.ftProvider = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n                ?? panic("failed to borrow payment token vault from storage")\n            self.tokenReceiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            // signer is the parent account and ftProvider is child Account\n            // get the manager resource and borrow proxyAccount\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: ftProviderAddress) ?? panic("ftProvider account not found")\n\n            let cap = childAcct.getCapability(controllerID: ftProviderControllerID, type: Type<&{FungibleToken.Provider}>()) ?? panic("no cap found")\n\n            let providerCap = cap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n            self.ftProvider = providerCap.borrow() ?? panic("failed to borrow fungible token provider from child acount")\n            self.tokenReceiver = getAccount(ftProviderAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        }\n\n        assert(self.tokenReceiver.check(), message: "Missing or mis-typed token receiver")\n\n        let paymentAmount = self.listing.getDetails().getTotalPayment()\n        self.paymentVault <- self.ftProvider.withdraw(amount: paymentAmount)\n\n        if nftReceiverAddress == acct.address {\n            if acct.storage.borrow<&{NonFungibleToken.Collection}>(from: storageCollectionPath) == nil {\n                let collection <- nft.createEmptyCollection()\n                acct.storage.save(<-collection, to: storageCollectionPath)\n            }\n\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath).check() {\n                acct.capabilities.unpublish(publicCollectionPath)\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                    at: publicCollectionPath\n                )\n            }\n\n            self.nftReceiver = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n\n            if autoReturn {\n                let borrowType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n                if let provider = cache.getCapabilityByType(resourceType: catalogEntry.nftType, capabilityType: CapabilityType(borrowType)!) {\n                    self.provider = provider as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n                } else {\n                    self.provider = acct.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath)\n                    cache.addCapability(resourceType: catalogEntry.nftType, cap: self.provider!)\n                }\n            } else {\n                self.provider = nil\n            }\n        } else {\n            self.nftReceiver = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n\n            if autoReturn {\n                // Get child nft provider for auto return, if path doesn\'t exist we can\'t create it\n                let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n                let childAcct = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nftReceiver account not found")\n                let providerCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no nft provider found")\n\n                self.provider = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n            } else {\n                self.provider = nil\n            }\n        }\n        assert(self.nftReceiver.check(), message: "Missing or mis-typed NFT Collection")\n        assert(self.provider == nil || self.provider!.check(), message: "Missing or mis-typed NFT provider")\n  }\n\n    execute {\n        self.listing.rent(\n            payment: <-self.paymentVault,\n            renterFungibleTokenReceiver: self.tokenReceiver,\n            renterNFTCollection: self.nftReceiver,\n            renterNFTProvider: self.provider\n        )\n    }\n}')},3799:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.RentListing=void 0;const i=n(53918),o=n(86645),a=n(77706),s=n(19388),l=n(65094);t.RentListing=class{constructor(e){r(this,"config",void 0),r(this,"createRentListing",(async e=>{let{nftData:t,rentalFee:n,rentalDeposit:r,rentalTerm:c,token:u,renterAddress:d,rentalExpiresAfterDays:h,nftProviderPathIdentifier:p,ftReceiverAddress:f,txAvailableCallback:m}=e;if(!t)throw new Error("Flow NFT it's null");const{id:g,type:v,nftOwner:C}=t,y=(0,o.getCreateRentalListingTxn)(this.config,u,t),b=Number(c),w=(0,i.termNumberToSeconds)(b),x=(0,i.expirationDaysToSeconds)(h),A=await(0,i.getCatalogEntryForType)(v,this.config),E=this.config.crescendo?s.arg(p||"0",l.UInt64):s.arg(p,l.String),_=[s.arg(g.toString(),l.UInt64),s.arg(n.toFixed(2),l.UFix64),s.arg(r.toFixed(2),l.UFix64),s.arg(w.toFixed(1),l.UFix64),s.arg(x.toFixed(2),l.UFix64),s.arg(""===d?null:d,l.Optional(l.Address)),s.arg(C,l.Address),E,s.arg(A,l.String),s.arg(f,l.Address)];this.config.crescendo&&_.push(s.arg(a.PaymentTokenToIdentifier[u.symbol],l.String));try{return await(0,i.sendMutation)(y,_,m)}catch(T){throw console.log("TX ERROR",T),(0,i.Err)("createStorefrontListing",T),T}})),r(this,"removeRentListing",(async e=>{let{listingResourceID:t,txAvailableCallback:n}=e;const r=[s.arg(t.toString(),l.UInt64)],a=(0,o.getDelistRentalListingTxn)(this.config);try{return await(0,i.sendMutation)(a,r,n)}catch(c){throw console.log("TX ERROR",c),c}})),this.config=e}}},86645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDelistRentalListingTxn=t.getCreateRentalListingTxn=void 0;t.getCreateRentalListingTxn=(e,t,i)=>e.crescendo?r(e):n(e,t,i);t.getDelistRentalListingTxn=e=>e.crescendo?o(e):i(e);const n=(e,t,n)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport FlowtyRentals from ").concat(e.contractAddresses.Flowty,"\nimport Flowty from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\ntransaction(\n    listItemID: UInt64,\n    amount: UFix64,\n    deposit: UFix64,\n    term: UFix64,\n    expiresAfter: UFix64,\n    renter: Address?,\n    nftProviderAddress: Address,\n    nftProviderControllerID: UInt64,\n    collectionIdentifier: String,\n    ftReceiverAddress: Address,\n    paymentTokenIdentifier: String\n) {\n    let receiver: Capability<&{FungibleToken.Receiver}>\n    let nftProvider: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    let storefront: auth(FlowtyRentals.List) &FlowtyRentals.FlowtyRentalsStorefront\n    let nftReceiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let paymentTokenType: Type\n    let nftType: Type\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier)\n            ?? panic("Provided collection is not in the NFT Catalog.")\n        self.paymentTokenType = CompositeType(paymentTokenIdentifier) ?? panic("invalid payment token type")\n        self.nftType = catalogEntry.nftType\n\n        let publicCollectionPath = catalogEntry.collectionData.publicPath\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        if(acct.storage.borrow<&FlowtyRentals.FlowtyRentalsStorefront>(from: FlowtyRentals.FlowtyRentalsStorefrontStoragePath) == nil) {\n            let storefront <- FlowtyRentals.createStorefront()\n\n            acct.storage.save(<-storefront, to: FlowtyRentals.FlowtyRentalsStorefrontStoragePath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{FlowtyRentals.FlowtyRentalsStorefrontPublic}>(FlowtyRentals.FlowtyRentalsStorefrontStoragePath),\n                at: FlowtyRentals.FlowtyRentalsStorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        let ftAddress = AddressUtils.parseAddress(self.paymentTokenType)!\n        let contractName = self.paymentTokenType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: self.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        if ftReceiverAddress == acct.address {\n            \n            if acct.storage.borrow<&{FungibleToken.Vault}>(from: ftVaultData.storagePath) == nil {\n                acct.storage.save(<-ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n\n                acct.capabilities.unpublish(ftVaultData.receiverPath)\n                acct.capabilities.unpublish(ftVaultData.metadataPath)\n\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath),\n                    at: ftVaultData.receiverPath\n                )\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath),\n                    at: ftVaultData.metadataPath\n                )\n            }\n\n            self.receiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.receiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        }\n\n        assert(self.receiver.check(), message: "Missing or mis-typed receiver")\n\n        if nftProviderAddress == acct.address {\n            let borrowType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n            if let provider = cache.getCapabilityByType(resourceType: catalogEntry.nftType, capabilityType: CapabilityType(borrowType)!) {\n                self.nftProvider = provider as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n            } else {\n                self.nftProvider = acct.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath)\n                cache.addCapability(resourceType: catalogEntry.nftType, cap: self.nftProvider)\n            }\n\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath).check() {\n                acct.capabilities.unpublish(publicCollectionPath)\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(storageCollectionPath),\n                    at: publicCollectionPath\n                )\n            }\n\n            self.nftReceiver = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicCollectionPath)!\n        } else {           \n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftProviderAddress) ?? panic("no child account with that address")\n            let providerCap = child.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no nft provider found")\n            \n            self.nftProvider = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n            let item = self.nftProvider.borrow() ?? panic("nft provider could not be borrowed")\n\n            let receiverCap = child.getPublicCapability(path: publicCollectionPath, type: Type<&{NonFungibleToken.CollectionPublic}>()) ?? panic("no nft collection public found")\n            self.nftReceiver = receiverCap as! Capability<&{NonFungibleToken.CollectionPublic}>\n        }\n\n        assert(self.nftProvider.check(), message: "Missing or mis-typed NFT Provider")\n        assert(self.nftReceiver.check(), message: "Missing or mis-typed NFT Receiver")\n\n        self.storefront = acct.storage.borrow<auth(FlowtyRentals.List) &FlowtyRentals.FlowtyRentalsStorefront>(from: FlowtyRentals.FlowtyRentalsStorefrontStoragePath)\n            ?? panic("Missing or mis-typed FlowtyRentals.FlowtyRentalsStorefront")\n    }\n\n    execute {\n        let paymentCut = Flowty.PaymentCut(\n            receiver: self.receiver,\n            amount: amount\n        )\n\n        self.storefront.createListing(\n            nftProviderCapability: self.nftProvider,\n            nftPublicCollectionCapability: self.nftReceiver,\n            ownerFungibleTokenReceiver: self.receiver,\n            nftType: self.nftType,\n            nftID: listItemID,\n            amount: amount,\n            deposit: deposit,\n            term: term,\n            paymentVaultType: self.paymentTokenType,\n            paymentCut: paymentCut,\n            expiresAfter: expiresAfter,\n            renter: renter\n        )\n    }\n}'),i=e=>"",o=e=>"import FlowtyRentals from ".concat(e.contractAddresses.Flowty,'\n\ntransaction(listingResourceID: UInt64) {\n\tlet storefront: auth(FlowtyRentals.Cancel) &{FlowtyRentals.FlowtyRentalsStorefrontManager}\n\n\tprepare(acct: auth(Storage) &Account) {\n\t\tself.storefront = acct.storage.borrow<auth(FlowtyRentals.Cancel) &{FlowtyRentals.FlowtyRentalsStorefrontManager}>(from: FlowtyRentals.FlowtyRentalsStorefrontStoragePath)\n\t\t\t?? panic("Missing or mis-typed FlowtyRentals.FlowtyRentalsStorefront")\n\t}\n\n\texecute {\n\t\tself.storefront.removeListing(listingResourceID: listingResourceID)\n\t}\n}')},72986:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ReturnRental=void 0;const i=n(19388),o=n(65094),a=n(53918),s=n(86255);t.ReturnRental=class{constructor(e){r(this,"config",void 0),r(this,"returnRental",(async(e,t,n,r,l)=>{if(!e.nftData)throw new Error("Selected listing has no associated nft");if(!e.paymentTokenName)throw new Error("Invalid payment token");if(!e.rentalResourceID)throw new Error("Invalid rental resource ID");const c=(0,s.getReturnRentalTxn)(this.config,t,{contractAddress:e.nftData.collectionAddress,contractName:e.nftData.collectionName,id:e.nftID,nftOwner:"",type:e.nftType}),u=this.config.crescendo?i.arg(l||"0",o.UInt64):i.arg(l,o.String),d=[i.arg(e.rentalResourceID.toString(),o.UInt64),i.arg(this.config.contractAddresses.Flowty,o.Address),i.arg(r,o.Address),u];return(0,a.sendMutation)(c,d,n)})),this.config=e}}},86255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReturnRentalTxn=void 0;t.getReturnRentalTxn=(e,t,i)=>e.crescendo?r(e):n(e,t,i);const n=(e,t,n)=>"",r=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport FlowtyRentals from ").concat(e.contractAddresses.Flowty,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\ntransaction(\n    rentalResourceID: UInt64,\n    marketplaceAddr: Address,\n    nftProviderAddress: Address,\n    nftProviderControllerID: UInt64\n) {\n    let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}\n    let marketplace: &{FlowtyRentals.FlowtyRentalsMarketplacePublic}\n    let rental: &{FlowtyRentals.RentalPublic}\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        self.marketplace = getAccount(marketplaceAddr).capabilities.get<&{FlowtyRentals.FlowtyRentalsMarketplacePublic}>(FlowtyRentals.FlowtyRentalsMarketplacePublicPath)\n            .borrow() ?? panic("Could not find FlowtyRentals marketplace")\n\n        self.rental = self.marketplace.borrowRental(rentalResourceID: rentalResourceID) ?? panic("failed to find rental resource")\n\n        let rentalDetails = self.rental.getDetails()\n        let nftType = rentalDetails.nftType\n\n        let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftType.identifier) ?? panic("not found in catalog")\n        var catalogIdentifier = ""\n        for k in catalogIdentifiers.keys {\n            if catalogIdentifiers[k] == true {\n                catalogIdentifier = k\n                break\n            }\n        }\n\n        assert(catalogIdentifier != "", message: "no valid catalog identifier found")\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        if nftProviderAddress == acct.address {\n            self.nftProvider = acct.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(from: storageCollectionPath)\n            ?? panic("failed to borrow provider from storage")\n        } else {\n            // signer is the parent account and nftProvider is child Account\n            // get the manager resource and borrow proxyAccount\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n\n            let cap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>()) ?? panic("no cap found")\n            let provider = cap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>\n            assert(provider.check(), message: "invalid provider capability")\n\n            self.nftProvider = provider.borrow() ?? panic("unable to borrow provider")\n        }\n    }\n\n  execute {\n    let nft <- self.nftProvider.withdraw(withdrawID: self.rental.getDetails().nftID)\n    self.rental.returnNFT(nft: <-nft)\n  }\n}')},22780:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptService=void 0;const i=n(10514),o=n(53918),a=n(6146),s=n(75105),l=n(4189),c=n(12239),u=n(71350),d=n(89073),h=n(43738),p=n(42222),f=n(56483),m=n(71374),g=n(8223),v=n(82172),C=n(25954),y=n(31888),b=n(30719),w=n(7399),x=n(90617),A=n(48209),E=n(86728),_=n(19388),T=n(65094);t.ScriptService=class{constructor(e){r(this,"config",void 0),r(this,"hasExposedProviders",(async e=>{const t=[_.arg(e,T.Address)];return await(0,o.executeScript)((0,v.hasExposedProviders)(this.config),t,"hasExposedProviders")})),r(this,"getRoyaltyRate",(async(e,t,n)=>{const r=[_.arg(e,T.Address),_.arg(t,T.UInt64),_.arg(n,T.String)];return await(0,o.executeScript)((0,m.getRoyaltyRate)(this.config),r,"getRoyaltyRate")})),r(this,"getFlowtyStorefrontFee",(async e=>await(0,o.executeScript)((0,d.getFlowtyStorefrontFeeScript)(this.config),[_.arg(e,T.String)],"getFlowtyStorefrontFee"))),r(this,"getStorefrontFees",(async(e,t,n,r,i)=>{const a=(0,x.getStorefrontFeesScript)(this.config),s=[_.arg(e,T.Address),_.arg(t,T.String),_.arg(n.toString(),T.UInt64),_.arg(r,T.String),_.arg(i.toFixed(7),T.UFix64)];return await(0,o.executeScript)(a,s,"getStorefrontFees")})),r(this,"getAccountWalletBalance",(async e=>{if(!e)return null;try{return{address:e,balances:await(0,o.executeScript)((0,g.getWalletBalanceScript)(this.config),[_.arg(e,T.Address)],"getBalanceScript")}}catch(t){(0,o.Err)("Failed to get account wallet balance",t)}return null})),r(this,"validateUserOwnsNft",(async(e,t,n,r,i,a)=>{const s=(0,A.getValidateOwnershipScript)(this.config,n,r,i,a),l="A.".concat(r.slice(2),".").concat(n,".").concat(i);return(0,o.executeScript)(s,[_.arg(e,T.Address),_.arg(t.toString(),T.UInt64),_.arg(l,T.String)],"validateUserOwnsNft")})),r(this,"isCollectionSetup",(async(e,t,n,r,i)=>{const a=[_.arg(e,T.Address),_.arg(t,T.Address),_.arg(n,T.String)];return i&&!this.config.crescendo&&a.push(_.arg(r,T.Bool)),(0,o.executeScript)((0,b.getIsCollectionSetupScript)(this.config,i),a,"isCollectionSetupScript",1)})),r(this,"getHybridCustodyNFTProviderPathsForStorage",(async(e,t,n)=>{const r=(0,p.getHybridCustodyNFTProviderPathsForStorageScript)(this.config),i=[_.arg(e,T.Address),_.arg(t,T.Address),_.arg(n,T.String)],a=await(0,o.executeScript)(r,i,"getNFTProviderPathsForStorageScript",0);return a||null})),r(this,"getAddressesWithCollectionPublic",(async(e,t,n)=>{const r=[_.arg(e,T.Array(T.Address)),_.arg(t,T.Address),_.arg(n,T.String)];return(0,o.executeScript)((0,s.getAddressesWithCollectionPublicScript)(this.config),r,"checkCollectionPublicOnAddressesScript",2)})),r(this,"getHybridCustodyAccountSummaries",(async e=>{if(null===e||void 0===e||!e.startsWith("0x"))return{};const t=[_.arg(e,T.Address)],n=await(0,o.executeScript)((0,C.getHybridCustodyDescribeFTAccountScript)(this.config),t,"getHybridCustodyAccountSummaries",5);return n?Object.fromEntries(Object.entries(n).map((e=>{var t,n,r;let[o,a]=e;const s={description:(null===(t=a.display)||void 0===t?void 0:t.description)||"",name:null===(n=a.display)||void 0===n?void 0:n.name,thumbnail:(null===(r=a.display)||void 0===r?void 0:r.thumbnail)||(0,i.getDefaultImage)(o)};return[o,{...a,display:s}]}))):{}})),r(this,"getHybridCustodyFTProvidersScript",(async e=>{if(null===e||void 0===e||!e.startsWith("0x"))return null;const t=[_.arg(e,T.Address)];return(0,o.executeScript)((0,y.getHybridCustodyFTProvidersScript)(this.config),t,"getHybridCustodyFTProvidersScript",2)})),r(this,"getBalanceForAvailableProvidersScript",(async(e,t)=>{const n=[_.arg(e,T.Address),_.arg(t,T.Array(T.String))];return(0,o.executeScript)((0,l.getBalanceForAvailableProvidersScript)(this.config),n,"getBalanceForAvailableProvidersScript",2)})),r(this,"isDapperCollection",(async(e,t)=>{const n=[_.arg(e,T.Address),_.arg(t,T.String)];return(0,o.executeScript)((0,w.getIsDapperCollectionScript)(this.config),n,"isDapperCollectionScript",3)})),r(this,"getIdentifierFromCatalog",(async e=>{let t=e;return t.endsWith(".NFT")||(t="".concat(t,".NFT")),(0,o.executeScript)((0,c.getCatalogIdentifiersScript)(this.config),[_.arg(t,T.String)],"getCatalogIdentifiersScript")})),r(this,"getFlowtyWrappedIpfs",(async e=>{const t=[_.arg(e,T.Address)];return await(0,o.executeScript)((0,h.getFlowtyWrappedIpfsScript)(this.config),t,"getIpfsLinkScript",3)})),r(this,"getCatalogEntryForType",(async e=>{const t=await this.getIdentifierFromCatalog(e);if(!t)return null;let n="";const r=Object.keys(t);for(let i=0;i<r.length;i++){const e=r[i];if(t[e]){n=e;break}}return n})),r(this,"getChildAccounts",(async e=>{if(!e)return null;try{return await(0,o.executeScript)((0,u.getChildAccountsScript)(this.config),[_.arg(e,T.Address)],"getChildAccounts",3)||{}}catch(t){console.error("failed to get child accounts",t)}return null})),r(this,"getNftResourceIdentifiers",(async(e,t)=>{if(!this.config.crescendo)return["A.".concat(e.slice(2),".").concat(t,".NFT")];const n=[_.arg(e,T.Address),_.arg(t,T.String)],r=(0,f.getNftResourceTypesScript)(this.config);return(0,o.executeScript)(r,n,"getNftResourceTypes")})),r(this,"getAccountCollections",(async e=>{if(!this.config.crescendo)return null;const t=[_.arg(e,T.Address)],n=(0,a.getAccountCollections)(this.config);return(0,o.executeScript)(n,t,"getNftResourceTypes")})),r(this,"getLostAndFoundTickets",(async e=>{if(null===e||void 0===e||!e.startsWith("0x"))return[];const t=[_.arg(e,T.Address)],n=await(0,o.executeScript)((0,E.getLostAndFoundTicketsScript)(this.config),t,"getLostAndFoundTickets",5);return n||[]})),this.config=e}}},6146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountCollections=void 0;t.getAccountCollections=e=>"import ContractManager from ".concat(e.contractAddresses.ContractManager,"\nimport BaseCollection from ").concat(e.contractAddresses.BaseCollection,"\nimport NFTMetadata from ").concat(e.contractAddresses.NFTMetadata,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,'\n\naccess(all) struct AccountContract {\n    access(all) let address: Address\n    access(all) let contracts: [CollectionContract]\n\n    init(address: Address, contracts: [CollectionContract]) {\n        self.address = address\n        self.contracts = contracts\n    }\n}\n\naccess(all) struct CollectionContract {\n    access(all) var name: String\n    access(all) var collectionDisplay: MetadataViews.NFTCollectionDisplay\n\n    init(_ name: String, _ collectionDisplay: MetadataViews.NFTCollectionDisplay) {\n        self.name = name\n        self.collectionDisplay = collectionDisplay\n    }\n}\n\naccess(all) fun main(userAddress: Address): AccountContract {\n    let contractsData: [CollectionContract] = []\n\n    let userAccount = getAccount(userAddress)\n    let contractManagerCap = userAccount.capabilities.borrow<&ContractManager.Manager>(ContractManager.PublicPath)\n\n    if (contractManagerCap == nil) {\n        return AccountContract(address: userAddress, contracts: [])\n    }\n\n    let managerAccount: &Account = contractManagerCap!.getAccount()\n    let managerAddress = contractManagerCap!.getAccount().address\n    let contracts: &[String] = managerAccount.contracts.names\n\n\n    if contracts.length == 0 {\n        return AccountContract(address: userAddress, contracts: [])\n    }\n\n    for c in contracts {\n        let baseContract = managerAccount.contracts.borrow<&{BaseCollection}>(name: c) ?? panic("collection not found")\n        let identifier = baseContract.getType().identifier.concat(".NFT")\n        let metadataContainer = baseContract.MetadataCap.borrow()!\n\n        let collectionDisplay = baseContract.resolveContractView(resourceType: CompositeType(identifier)!, viewType: Type<MetadataViews.NFTCollectionDisplay>())! as! MetadataViews.NFTCollectionDisplay\n\n        contractsData.append(CollectionContract(c, collectionDisplay))\n    }\n    return AccountContract(address: managerAddress, contracts: contractsData)\n}')},75105:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddressesWithCollectionPublicScript=void 0;t.getAddressesWithCollectionPublicScript=e=>e.crescendo?r(e):n(e);const n=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,"\n\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,'\n\npub fun main(addressesToCheck: [Address], contractAddress: Address, contractName: String): [Address] {\n  let pathOpt = getReceiverPath(contractAddress, contractName)\n  if pathOpt == nil {\n    return []\n  }\n\n  let pathToCheck = pathOpt!\n\n  let matches: [Address] = []\n  for a in addressesToCheck {\n    let acct = getAccount(a)\n    if acct.getCapability<&{NonFungibleToken.CollectionPublic}>(pathToCheck).check() {\n      matches.append(a)\n    }\n  }\n  return matches\n}\n\npub fun getReceiverPath(_ address: Address, _ name: String): PublicPath? {\n  // build the nft type identifier\n  let contractAddressStr = address.toString()\n  let identifier = "A.".concat(contractAddressStr.slice(from: 2, upTo: contractAddressStr.length)).concat(".").concat(name).concat(".NFT")\n\n  if let catalogEntries = NFTCatalog.getCollectionsForType(nftTypeIdentifier: identifier) {\n    var catalogIdentifier = ""\n    for k in catalogEntries.keys {\n      if catalogEntries[k] == true {\n        catalogIdentifier = k\n        break\n      }\n    }\n\n    if let entry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) {\n      return entry.collectionData.publicPath\n    }\n  }\n\n  let c = getAccount(address).contracts.borrow<&ViewResolver>(name: name)\n\n  if c == nil {\n    return nil\n  }\n\n  let md = c!.resolveView(Type<MetadataViews.NFTCollectionData>())\n  if md == nil {\n    return nil\n  }\n\n  let collectionData = md! as! MetadataViews.NFTCollectionData\n  return collectionData.publicPath\n}'),r=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,"\n\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,'\n\naccess(all) fun main(addressesToCheck: [Address], contractAddress: Address, contractName: String): [Address] {\n  let pathOpt = getReceiverPath(contractAddress, contractName)\n  if pathOpt == nil {\n    return []\n  }\n\n  let pathToCheck = pathOpt!\n\n  let matches: [Address] = []\n  for a in addressesToCheck {\n    let acct = getAccount(a)\n    if acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(pathToCheck).check() {\n      matches.append(a)\n    }\n  }\n  return matches\n}\n\naccess(all) fun getReceiverPath(_ address: Address, _ name: String): PublicPath? {\n  // build the nft type identifier\n  let contractAddressStr = address.toString()\n  let identifier = "A.".concat(contractAddressStr.slice(from: 2, upTo: contractAddressStr.length)).concat(".").concat(name).concat(".NFT")\n  let nftType = CompositeType(identifier) ?? panic("invalid identifier: ".concat(identifier))\n\n  if let catalogEntries = NFTCatalog.getCollectionsForType(nftTypeIdentifier: identifier) {\n    var catalogIdentifier = ""\n    for k in catalogEntries.keys {\n      if catalogEntries[k] == true {\n        catalogIdentifier = k\n        break\n      }\n    }\n\n    if let entry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) {\n      return entry.collectionData.publicPath\n    }\n  }\n\n  let c = getAccount(address).contracts.borrow<&{ViewResolver}>(name: name)\n\n  if c == nil {\n    return nil\n  }\n\n  let md = c!.resolveContractView(resourceType: nftType, viewType: Type<MetadataViews.NFTCollectionData>())\n  if md == nil {\n    return nil\n  }\n\n  let collectionData = md! as! MetadataViews.NFTCollectionData\n  return collectionData.publicPath\n}')},4189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBalanceForAvailableProvidersScript=void 0;t.getBalanceForAvailableProvidersScript=e=>e.crescendo?n(e):r(e);const n=e=>"import FlowtyUtils from ".concat(e.contractAddresses.NFTStorefrontV2,"\n\naccess(all) fun main(address: Address, identifiers: [String]):  {String: UFix64}{\n  let allowedTokens = FlowtyUtils.getSupportedTokens()\n  let cache: {Type: Bool} = {}\n  for a in allowedTokens {\n    cache[a] = true\n  }\n\n  let foundTypes: {String: UFix64} = {}\n\n  for id in identifiers {\n    let composite: Type = CompositeType(id)!\n    if cache[composite] == nil {\n      continue\n    }\n\n    let balance = FlowtyUtils.getTokenBalance(address: address, vaultType: composite)\n    foundTypes[id] = balance\n  }\n\n  return foundTypes\n}"),r=e=>"import FlowtyUtils from ".concat(e.contractAddresses.NFTStorefrontV2,"\n\npub fun main(address: Address, identifiers: [String]):  {String: UFix64}{\n  let allowedTokens = FlowtyUtils.getSupportedTokens()\n  let cache: {Type: Bool} = {}\n  for a in allowedTokens {\n    cache[a] = true\n  }\n\n  let foundTypes: {String: UFix64} = {}\n  \n  for id in identifiers {\n    let composite: Type = CompositeType(id)!\n    if cache[composite] == nil {\n      continue\n    }\n\n    let balance = FlowtyUtils.getTokenBalance(address: address, vaultType: composite)\n    foundTypes[id] = balance\n  }\n  \n  return foundTypes\n}")},12239:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCatalogIdentifiersScript=void 0;t.getCatalogIdentifiersScript=e=>"\nimport NFTCatalog from ".concat(e.contractAddresses.NFTCatalog,"\n\n// Get the NFTCatalog collection identifier for a supplied nftType identifier\naccess(all) fun main(nftTypeIdentifier: String):AnyStruct? {\n  let collections = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier)\n  return collections\n}")},71350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChildAccountsScript=void 0;t.getChildAccountsScript=e=>e.crescendo?n(e):r(e);const n=e=>"import HybridCustody from ".concat(e.contractAddresses.HybridCustody,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,'\n\naccess(all) struct Display {\n    access(all) let name: String\n    access(all) let description: String\n    access(all) let thumbnail: String\n\n    init(_ d: MetadataViews.Display) {\n        self.name = d.name\n        self.description = d.description\n        self.thumbnail = d.thumbnail.uri()\n    }\n}\n\naccess(all) struct ChildAccount {\n    access(all) let address: Address\n    access(all) let display: Display?\n\n    init(_ a: Address, _ d: MetadataViews.Display?) {\n        self.address = a\n        self.display = d != nil ? Display(d!) : nil\n    }\n}\n\naccess(all) fun main(parent: Address): {Address: ChildAccount}? {\n    let acct = getAuthAccount<auth(Storage, Capabilities) &Account>(parent)\n    let m = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    if m == nil {\n        return nil\n    }\n    let manager = m!\n\n    let addresses = manager.getChildAddresses()\n\n    let accounts: {Address: ChildAccount} = {}\n\n    for a in addresses {\n        if let child = manager.borrowAccount(addr: a) {\n            var display: MetadataViews.Display? = nil\n            if let d = child.resolveView(Type<MetadataViews.Display>()) {\n                display = d as! MetadataViews.Display\n            } else {\n\t\t\t\t\t\t\t\tlet name = a.toString()\n\t\t\t\t\t\t\t\tdisplay = MetadataViews.Display(\n\t\t\t\t\t\t\t\t\t\tname: name,\n\t\t\t\t\t\t\t\t\t\tdescription: "",\n\t\t\t\t\t\t\t\t\t\tthumbnail: MetadataViews.HTTPFile(\n\t\t\t\t\t\t\t\t\t\t\turl: "https://api-ufj4afzoca-uc.a.run.app/6.x/thumbs/png?seed=".concat(name)\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n            }\n            accounts[a] = ChildAccount(a, display)\n        }\n    }\n\n    return accounts.length > 0 ? accounts : nil\n}'),r=e=>"import HybridCustody from ".concat(e.contractAddresses.HybridCustody,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,'\n\npub struct Display {\n    pub let name: String\n    pub let description: String\n    pub let thumbnail: String\n\n    init(_ d: MetadataViews.Display) {\n        self.name = d.name\n        self.description = d.description\n        self.thumbnail = d.thumbnail.uri()\n    }\n}\n\npub struct ChildAccount {\n    pub let address: Address\n    pub let display: Display?\n\n    init(_ a: Address, _ d: MetadataViews.Display?) {\n        self.address = a\n        self.display = d != nil ? Display(d!) : nil\n    }\n}\n\npub fun main(parent: Address): {Address: ChildAccount}? {\n    let acct = getAuthAccount(parent)\n    let m = acct.borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    if m == nil {\n        return nil\n    }\n    let manager = m!\n\n    let addresses = manager.getChildAddresses()\n\n    let accounts: {Address: ChildAccount} = {}\n\n    for a in addresses {\n        if let child = manager.borrowAccount(addr: a) {\n            var display: MetadataViews.Display? = nil\n            if let d = child.resolveView(Type<MetadataViews.Display>()) {\n                display = d as! MetadataViews.Display\n            } else {\n\t\t\t\t\t\t\t\tlet name = a.toString()\n\t\t\t\t\t\t\t\tdisplay = MetadataViews.Display(\n\t\t\t\t\t\t\t\t\t\tname: name,\n\t\t\t\t\t\t\t\t\t\tdescription: "",\n\t\t\t\t\t\t\t\t\t\tthumbnail: MetadataViews.HTTPFile(\n\t\t\t\t\t\t\t\t\t\t\turl: "https://api-ufj4afzoca-uc.a.run.app/6.x/thumbs/png?seed=".concat(name)\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n            }\n            accounts[a] = ChildAccount(a, display)\n        }\n    }\n\n    return accounts.length > 0 ? accounts : nil\n}')},89073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFlowtyStorefrontFeeScript=void 0;t.getFlowtyStorefrontFeeScript=e=>(e=>"import NFTStorefrontV2 from ".concat(e.contractAddresses.NFTStorefrontV2,"\n\naccess(all) fun main(identifier: String): UFix64 {\n    let c = CompositeType(identifier)!\n    return NFTStorefrontV2.getFee(p: UFix64(1), t: c)\n}"))(e)},43738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFlowtyWrappedIpfsScript=void 0;t.getFlowtyWrappedIpfsScript=e=>e.crescendo?r(e):n(e);const n=e=>"\nimport FlowtyWrapped from ".concat(e.contractAddresses.FlowtyWrapped,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,'\n\npub fun main(addr: Address): AnyStruct {\n\t\tif(!getAccount(addr).getCapability<&{FlowtyWrapped.FlowtyWrappedCollectionPublic}>(FlowtyWrapped.CollectionPublicPath).check()) {\n\t\t\t\treturn false\n\t\t}\n\n\t\tlet cap = getAccount(addr).getCapability<&{FlowtyWrapped.FlowtyWrappedCollectionPublic}>(FlowtyWrapped.CollectionPublicPath).borrow() ?? panic("Could not borrow capability from public collection")\n\t\tif(cap.getIDs().length == 0) {\n\t\t\t\treturn false\n\t\t}\n\n\t\tlet id = cap.getIDs()[0]\n\t\tlet wrappedRef = cap.borrowFlowtyWrapped(id: id)!\n\t\tlet medias = wrappedRef.resolveView(Type<MetadataViews.Medias>())! as! MetadataViews.Medias\n\n\t\tlet ipfsMedia = medias.items[0]\n\t\treturn ipfsMedia.file.uri()\n}'),r=e=>"\nimport FlowtyWrapped from ".concat(e.contractAddresses.FlowtyWrapped,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,'\n\naccess(all) fun main(addr: Address): AnyStruct {\n    if(!getAccount(addr).capabilities.get<&{FlowtyWrapped.FlowtyWrappedCollectionPublic}>(FlowtyWrapped.CollectionPublicPath).check()) {\n        return false\n    }\n\n    let cap = getAccount(addr).capabilities.get<&{FlowtyWrapped.FlowtyWrappedCollectionPublic}>(FlowtyWrapped.CollectionPublicPath).borrow() ?? panic("Could not borrow capability from public collection")\n    if(cap.getIDs().length == 0) {\n        return false\n    }\n    let id = cap.getIDs()[0]\n    let wrappedRef = cap.borrowFlowtyWrapped(id: id)!\n    let medias = wrappedRef.resolveView(Type<MetadataViews.Medias>())! as! MetadataViews.Medias\n\n    let ipfsMedia = medias.items[0]\n    return ipfsMedia.file.uri()\n}')},42222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHybridCustodyNFTProviderPathsForStorageScript=void 0;t.getHybridCustodyNFTProviderPathsForStorageScript=e=>e.crescendo?r(e):n(e);const n=e=>"\nimport NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\npub fun main(parent: Address, child: Address, storagePath: String):AnyStruct {\n  let storagePath = StoragePath(identifier: storagePath) ?? panic("invalid storage path")\n  let storageStr = storagePath.toString()\n\n  let account = getAuthAccount(parent)\n  let manager = account.borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    ?? panic("manager not found")\n  let childAcct = manager.borrowAccount(addr: child)\n    ?? panic("child account not found")\n\n  // loop through each private path, and check that it\n  // 1. targets our storage path\n  // 2. is the correct subtype\n\n  let paths: [PrivatePath] = []\n  let childAuthAcct = getAuthAccount(child)\n  childAuthAcct.forEachPrivate(fun (path: PrivatePath, type: Type): Bool {\n    if let s = childAuthAcct.getLinkTarget(path) {\n      if s.toString() != storageStr {\n        return true\n      }\n    } else {\n      return true\n    }\n\n    let cap = childAcct.getCapability(path: path, type: Type<&{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>())\n    if cap == nil {\n    \treturn true\n    }\n    let provider = cap! as! Capability<&{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    if !provider.check() {\n        return true\n    }\n    \n    paths.append(path)\n    return true\n  })\n\n  return paths\n}'),r=e=>"\nimport NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\naccess(all) fun main(parent: Address, child: Address, storagePath: String): [UInt64] {\n    let storagePath = StoragePath(identifier: storagePath) ?? panic("invalid storage path")\n    let storageStr = storagePath.toString()\n\n    let account = getAuthAccount<auth(Storage, Capabilities) &Account>(parent)\n    let manager = account.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager not found")\n    let childAcct = manager.borrowAccount(addr: child)\n        ?? panic("child account not found")\n\n    // loop through each private path, and check that it\n    // 1. targets our storage path\n    // 2. is the correct subtype\n\n    let capabilityIDs: [UInt64] = []\n    let childAuthAcct = getAuthAccount<auth(Storage, Capabilities) &Account>(child)\n\n    let targetType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n    childAuthAcct.capabilities.storage.forEachController(forPath: storagePath, fun(c: &StorageCapabilityController): Bool {\n        if c.borrowType.isRecovered {\n                return true\n        }\n\n        if !c.borrowType.isSubtype(of: targetType) {\n            return true\n        }\n\n        // is this capability accessible?\n        let cap = childAcct.getCapability(controllerID: c.capabilityID, type: targetType)\n        if cap == nil {\n            return true\n        }\n\n        capabilityIDs.append(c.capabilityID)\n        return false // do not loop again since we\'ve found a capability that matches what we\'re looking for\n    })\n\n    return capabilityIDs\n}')},56483:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNftResourceTypesScript=void 0;t.getNftResourceTypesScript=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\n\naccess(all) fun main(addr: Address, name: String): [String] {\n\n    let acct = getAccount(addr)\n    let c = acct.contracts.get(name: name)\n    if c == nil {\n        return []\n    }\n\n    let types: [String] = []\n\n    let publicTypes = c!.publicTypes()\n    let nftResourceType = Type<@{NonFungibleToken.NFT}>()\n    for pt in publicTypes {\n        if pt.isSubtype(of: nftResourceType) {\n           types.append(pt.identifier)\n        }\n    }\n\n    return types\n}")},71374:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRoyaltyRate=void 0;t.getRoyaltyRate=e=>e.crescendo?(e=>"import FlowtyUtils from ".concat(e.contractAddresses.FlowtyUtils,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,'\n\naccess(all) fun main(addr: Address, nftID: UInt64, path: String): UFix64 {\n  let p = StoragePath(identifier: path)!\n  let c = getAuthAccount<auth(Storage) &Account>(addr).storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: p) ?? panic("collection not found")\n  let nft = c.borrowNFT(nftID) ?? panic("nft not found")\n  return FlowtyUtils.getRoyaltyRate(nft)\n}'))(e):(e=>"import FlowtyUtils from ".concat(e.contractAddresses.FlowtyUtils,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,'\n\npub fun main(addr: Address, nftID: UInt64, path: String): UFix64 {\n  let p = StoragePath(identifier: path)!\n  let c = getAuthAccount(addr).borrow<&{NonFungibleToken.CollectionPublic}>(from: p) ?? panic("collection not found")\n  let nft = c.borrowNFT(id: nftID)\n  return FlowtyUtils.getRoyaltyRate(nft)\n}'))(e)},8223:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWalletBalanceScript=void 0;t.getWalletBalanceScript=e=>"import FlowtyUtils from ".concat(e.contractAddresses.FlowtyUtils,"\n\naccess(all) fun main(address: Address): {String: UFix64} {\n    return FlowtyUtils.getAllBalances(address: address)\n}")},82172:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasExposedProviders=void 0;t.hasExposedProviders=e=>e.crescendo?n(e):r(e);const n=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\n\naccess(all) fun main(addr: Address):Bool {\n  let acct = getAuthAccount<auth(Capabilities, Storage) &Account>(addr)\n\n  let impactedPaths: [PublicPath] = []\n  let nftProviderType = Type<Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>>()\n\tlet ftProviderType = Type<Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>>()\n\n  acct.storage.forEachPublic(fun (path: PublicPath, type: Type): Bool {\n    if type.isSubtype(of: nftProviderType) || type.isSubtype(of: ftProviderType) {\n      impactedPaths.append(path)\n    }\n    \n    return true\n  })\n\n  return impactedPaths.length > 0\n}"),r=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\n\npub fun main(addr: Address):Bool {\n  let acct = getAuthAccount(addr)\n\n  let impactedPaths: [PublicPath] = []\n  let nftProviderType = Type<Capability<&{NonFungibleToken.Provider}>>()\n\tlet ftProviderType = Type<Capability<&{FungibleToken.Provider}>>()\n\n  acct.forEachPublic(fun (path: PublicPath, type: Type): Bool {\n    if type.isSubtype(of: nftProviderType) || type.isSubtype(of: ftProviderType) {\n      impactedPaths.append(path)\n    }\n    \n    return true\n  })\n\n  return impactedPaths.length > 0\n}")},25954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHybridCustodyDescribeFTAccountScript=void 0;t.getHybridCustodyDescribeFTAccountScript=e=>e.crescendo?n(e):r(e);const n=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.NonFungibleToken,"\nimport FlowToken from ").concat(e.contractAddresses.FlowToken,"\nimport USDCFlow from ").concat(e.contractAddresses.USDCFlow,"\n\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\n\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FlowtyUtils from ").concat(e.contractAddresses.NFTStorefrontV2,'\n\naccess(all) fun main(parent: Address): {Address: AccountSummary} {\n  let summaries: {Address: AccountSummary} = {}\n  \n  let flowTokenType = Type<@FlowToken.Vault>()\n  let usdcTokenType = Type<@USDCFlow.Vault>()\n\n  // get parent summary. We don\'t have to do as much work on this one because it is the main account\n  // we can build all provider/receiver paths we need so those will always be available\n  var flowBalance = FlowtyUtils.getTokenBalance(address: parent, vaultType: flowTokenType)\n  var usdcBalance = FlowtyUtils.getTokenBalance(address: parent, vaultType: usdcTokenType)\n\n  summaries[parent] = AccountSummary(\n    parent, false,\n    {\n      flowTokenType.identifier: TokenSummary(flowBalance, nil, [], flowTokenType.identifier),\n      usdcTokenType.identifier: TokenSummary(usdcBalance, nil, [], usdcTokenType.identifier)\n    },\n    nil,\n    true\n  )\n\n  let account = getAuthAccount<auth(Capabilities, Storage) &Account>(parent)\n  let m = account.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n  if m == nil {  \n  \treturn summaries \n  }\n  let manager = m!\n\n  let isParentDapper = isDapper(account)\n\n  for childAddress in manager.getChildAddresses() {\n  \tif childAddress == parent {\n      continue\n    }\n\n    let child = manager.borrowAccount(addr: childAddress)\n      ?? panic("child account not found")\n    summaries[childAddress] = getSummaryForChild(isParentDapper: isParentDapper, child: child, flowTokenType: flowTokenType, usdcTokenType: usdcTokenType)\n  }\n\n  \n  return summaries\n}\n\naccess(all) fun getSummaryForChild(isParentDapper: Bool, child: auth(HybridCustody.Child) &{HybridCustody.AccountPrivate, HybridCustody.AccountPublic, ViewResolver.Resolver}, flowTokenType: Type, usdcTokenType: Type): AccountSummary {\n  let childAuthAcct = getAuthAccount<auth(Capabilities, Storage) &Account>(child.owner!.address)\n\n  let flowBalance = isParentDapper ? nil : getBalance(child: child, path: /public/flowTokenBalance)\n  let usdcBalance = isParentDapper ? nil : getBalance(child: child, path: /public/usdcFlowMetadata)\n\n  var hasFlowReceiver: PublicPath? = nil\n  var hasUsdcReceiver: PublicPath? = nil\n  if !isParentDapper {\n    hasFlowReceiver = hasReceiver(child: child, path: /public/flowTokenReceiver) ? /public/flowTokenReceiver : nil\n    hasUsdcReceiver = hasReceiver(child: child, path: /public/usdcFlowReceiver) ? /public/usdcFlowReceiver : nil\n  }\n\n  let providers = getFTProviders(child, childAuthAcct)\n\n  let f = TokenSummary(flowBalance, hasFlowReceiver, providers[flowTokenType]?.providerPaths ?? [], flowTokenType.identifier)\n  let usdc = TokenSummary(usdcBalance, hasUsdcReceiver, providers[usdcTokenType]?.providerPaths ?? [], usdcTokenType.identifier)\n  let d = isDapper(childAuthAcct)\n\n  var dis: Display? = nil\n  if let display = child.resolveView(Type<MetadataViews.Display>()) {\n    dis = Display(display as! MetadataViews.Display)\n  } else {\n  \tlet name = childAuthAcct.address.toString()\n\t\tdis = Display(\n\t\t\tMetadataViews.Display(\n\t\t\t\tname: name,\n\t\t\t\tdescription: "",\n\t\t\t\tthumbnail: MetadataViews.HTTPFile(\n\t\t\t\t\turl: "https://api-ufj4afzoca-uc.a.run.app/6.x/thumbs/png?seed=".concat(name)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n  }\n\n  return AccountSummary(childAuthAcct.address, d, { flowTokenType.identifier: f }, dis, false)\n}\n\naccess(all) fun isDapper(_ acct: auth(Capabilities, Storage) &Account): Bool {\n  let path = /public/dapperUtilityCoinReceiver\n  acct.capabilities.unpublish(path)\n  acct.capabilities.publish(\n    acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(/storage/dapperUtilityCoinReceiver),\n    at: path\n  )\n\n  let tmp = acct.capabilities.get<&{FungibleToken.Receiver}>(path)\n  if tmp == nil {\n    return false\n  }\n\n  let cap = tmp!\n  if !cap.check() {\n    return false\n  }\n\n  let receiver = cap.borrow()\n  if receiver == nil {\n      return false\n  }\n\n  if receiver!.getType() != Type<@TokenForwarding.Forwarder>() {\n      return false\n  }\n\n  let forwarder = receiver! as! &TokenForwarding.Forwarder\n  let nextReceiver = forwarder.safeBorrow()\n  if nextReceiver == nil {\n      return false\n  }\n\n  if nextReceiver!.getType() != Type<@DapperUtilityCoin.Vault>() {\n    // if it points to the duc vault, return the current address\n    return false\n  }\n\n  return true\n}\n\naccess(all) fun getBalance(child: auth(HybridCustody.Child) &{HybridCustody.AccountPrivate, HybridCustody.AccountPublic}, path: PublicPath): UFix64? {\n  if let tmp = child.getPublicCapability(path: path, type: Type<&{FungibleToken.Balance}>()) {\n    let cap = tmp! as! Capability<&{FungibleToken.Balance}>\n    if cap.check() {\n      return cap.borrow()!.balance\n    }\n  }\n\n  return nil\n}\n\naccess(all) fun hasReceiver(child: auth(HybridCustody.Child) &{HybridCustody.AccountPrivate, HybridCustody.AccountPublic}, path: PublicPath): Bool {\n  if let tmp = child.getPublicCapability(path: path, type: Type<&{FungibleToken.Receiver}>()) {\n    let cap = tmp! as! Capability<&{FungibleToken.Receiver}>\n    return cap.check()\n  }\n\n  return false\n}\n\naccess(all) fun getFTProviders(_ child: auth(HybridCustody.Child) &{HybridCustody.AccountPrivate, HybridCustody.AccountPublic}, _ childAuthAcct: auth(Capabilities, Storage) &Account): {Type: Access} {\n  let accessible: {Type: Access} = {}\n\n  let storagePaths: [StoragePath] = [\n    /storage/flowTokenVault,\n    /storage/usdcFlowVault,\n    /storage/dapperUtilityCoinVault,\n    /storage/flowUtilityTokenVault\n  ]\n\n  let targetType = Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>()\n\n  for s in storagePaths {\n    childAuthAcct.capabilities.storage.forEachController(forPath: s, fun(con: &StorageCapabilityController): Bool {\n        if con.borrowType.isRecovered {\n            return true\n        }\n\n        if !con.borrowType.isSubtype(of: targetType) {\n            return true\n        }\n\n        let cap = child.getCapability(controllerID: con.capabilityID, type: targetType)\n        if cap == nil {\n            return true\n        }\n\n        let provider = cap! as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n        if !provider.check() {\n            return true\n        }\n\n        if let storedType = childAuthAcct.storage.type(at: s) {\n            if accessible[storedType] == nil {\n                accessible[storedType] = Access(storedType)\n            }\n\n            accessible[storedType]?.addControllerID(con.capabilityID)\n        } else {\n            return true\n        }\n\n        return true\n    })\n  }\n\n  return accessible\n}\n\naccess(all) struct AccountSummary {\n  access(all) let address: Address\n  access(all) let isDapper: Bool\n  access(all) let tokens: {String: TokenSummary}\n  access(all) let display: Display?\n  access(all) let isMain: Bool\n\n  init(_ a: Address, _ d: Bool, _ tokens: {String: TokenSummary}, _ dis: Display?, _ isMain: Bool) {\n    self.address = a\n    self.isDapper = d\n    self.tokens = tokens\n    self.display = dis\n\n    self.isMain = isMain\n  }\n}\n\naccess(all) struct TokenSummary {\n  access(all) let balance: UFix64?\n  access(all) let receiverPath: PublicPath?\n  access(all) let providerPaths: [PrivatePath]\n  access(all) let type: String\n\n  init(_ b: UFix64?, _ r: PublicPath?, _ p: [PrivatePath], _ t: String) {\n    self.balance = b\n    self.receiverPath = r\n    self.providerPaths = p\n    self.type = t\n  }\n}\n\naccess(all) struct Display {\n  access(all) let name: String\n  access(all) let description: String\n  access(all) let thumbnail: String\n\n  init(_ d: MetadataViews.Display) {\n      self.name = d.name\n      self.description = d.description\n      self.thumbnail = d.thumbnail.uri()\n  }\n}\n\naccess(all) struct Access {\n  access(all) let type: Type\n  access(all) let providerPaths: [PrivatePath]\n  access(all) let controllerIDs: [UInt64]\n\n  access(all) fun addPrivPath(_ p: PrivatePath) {\n    self.providerPaths.append(p)\n  }\n\n  access(all) fun addControllerID(_ num: UInt64) {\n    self.controllerIDs.append(num)\n  }\n\n  init(_ t: Type) {\n    self.type = t\n    self.providerPaths = []\n    self.controllerIDs = []\n  }\n}\n\naccess(all) struct TokenConfig {\n  access(all) let tokenType: String\n  access(all) let balance: UFix64?\n  access(all) let receiverPaths: [PublicPath]\n  access(all) let providerPaths: [PrivatePath]\n\n  init(_ tt: String, _ b: UFix64?, _ rs: [PublicPath], _ ps: [PrivatePath]) {\n    self.tokenType = tt\n    self.balance = b\n    self.receiverPaths = rs\n    self.providerPaths = ps\n  }\n}\n\naccess(all) struct AccountConfig {\n  access(all) let address: Address\n  access(all) let tokens: [TokenConfig]\n\n  init(_ a: Address, _ ts: [TokenConfig]) {\n    self.address = a\n    self.tokens = ts\n  }\n}'),r=e=>""},31888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHybridCustodyFTProvidersScript=void 0;t.getHybridCustodyFTProvidersScript=e=>e.crescendo?n(e):r(e);const n=e=>"import HybridCustody from ".concat(e.contractAddresses.HybridCustody,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,'\n\n// This script iterates through a parent\'s child accounts, \n// identifies private paths with an accessible FungibleToken.Provider, and returns the corresponding typeIds\naccess(all) fun main(addr: Address): {Address: {String: UInt64}}  {\n  let account = getAuthAccount<auth(Capabilities, Storage) &Account>(addr)\n  \n  var typeIdsWithProvider = {} as {Address: {String: UInt64}} \n\n  if getAuthAccount<auth(Capabilities, Storage) &Account>(addr).storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath) == nil {\n    return typeIdsWithProvider\n  }\n\n  let manager = getAuthAccount<auth(Capabilities, Storage) &Account>(addr).storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath) ?? panic ("manager does not exist")\n\n  // Iterate through child accounts\n  for address in manager.getChildAddresses() {\n  \tif address == addr {\n      continue\n    }\n  \n    let addr = getAuthAccount<auth(Capabilities, Storage) &Account>(address)\n    let foundTypes: {String: UInt64} = {}\n    let childAcct = manager.borrowAccount(addr: address) ?? panic("child account not found")\n\n    let storagePaths: [StoragePath] = [\n        /storage/flowTokenVault,\n        /storage/usdcFlowVault,\n        /storage/dapperUtilityCoinVault,\n        /storage/flowUtilityTokenVault\n    ]\n\n    let targetType = Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>()\n    for s in storagePaths {\n        addr.capabilities.storage.forEachController(forPath: s, fun(con: &StorageCapabilityController): Bool {        \n\t\t\t\t\t\tif con.borrowType.isRecovered {\n\t\t\t\t\t\t\t\treturn true\n\t\t\t\t\t\t}\n\n            if !con.borrowType.isSubtype(of: targetType){\n                return true\n            }\n\n            if let cap = childAcct.getCapability(controllerID: con.capabilityID, type: targetType) {\n                let providerCap = cap as! Capability<&{FungibleToken.Provider}> \n\n                if !providerCap.check(){\n                return true\n                }\n\n                let resourceTypeIdentifier = cap.borrow<&AnyResource>()!.getType().identifier\n\n                foundTypes[resourceTypeIdentifier] = con.capabilityID\n            }\n\n            return true\n        })\n    }\n\n    typeIdsWithProvider[address] = foundTypes\n  }\n\n  return typeIdsWithProvider\n}'),r=e=>"import HybridCustody from ".concat(e.contractAddresses.HybridCustody,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,'\n\n// This script iterates through a parent\'s child accounts, \n// identifies private paths with an accessible FungibleToken.Provider, and returns the corresponding typeIds\npub fun main(addr: Address): {Address: {String: Path}}  {\n  let account = getAuthAccount(addr)\n  \n  var typeIdsWithProvider = {} as {Address: {String: Path}} \n\n  if getAuthAccount(addr).borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath) == nil {\n    return typeIdsWithProvider\n  }\n\n  let manager = getAuthAccount(addr).borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath) ?? panic ("manager does not exist")\n\n  \n  let providerType = Type<Capability<&{FungibleToken.Provider}>>()\n\n  // Iterate through child accounts\n  for address in manager.getChildAddresses() {\n  \tif address == addr {\n      continue\n    }\n  \n    let addr = getAuthAccount(address)\n    let foundTypes: {String: Path} = {}\n    let childAcct = manager.borrowAccount(addr: address) ?? panic("child account not found")\n    // get all private paths\n    addr.forEachPrivate(fun (path: PrivatePath, type: Type): Bool {\n      // Check which private paths have FT Provider AND can be borrowed\n      if !type.isSubtype(of: providerType){\n        return true\n      }\n      if let cap = childAcct.getCapability(path: path, type: Type<&{FungibleToken.Provider}>()) {\n        let providerCap = cap as! Capability<&{FungibleToken.Provider}> \n\n        if !providerCap.check(){\n          return true\n        }\n\n        let resourceTypeIdentifier = cap.borrow<&AnyResource>()!.getType().identifier\n\n        foundTypes[resourceTypeIdentifier] = path\n      }\n      return true\n    })\n\n    typeIdsWithProvider[address] = foundTypes\n  }\n\n  return typeIdsWithProvider\n}')},30719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsCollectionSetupScript=void 0;t.getIsCollectionSetupScript=(e,t)=>t&&!e.crescendo?n(e):e.crescendo?i(e):r(e);const n=e=>"\nimport NFTCatalog from ".concat(e.contractAddresses.NFTCatalog,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,'\n\npub fun main(addr: Address, contractAddress: Address, contractName: String, isDapper: Bool): Bool {\n  let acct = getAuthAccount(addr)\n\n  let contractAcct = getAccount(contractAddress)\n  let tmp = contractAcct.contracts.borrow<&NonFungibleToken>(name: contractName)\n  if tmp == nil {\n  \treturn true\n\t}\n\t\n\tlet c = tmp!\n\n  let nftTypeIdentifier = c.getType().identifier.concat(".NFT")\n  let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier)\n  if catalogIdentifiers == nil {\n    return false\n  }\n\n  var catalogIdentifier = ""\n  for k in catalogIdentifiers!.keys {\n    if catalogIdentifiers![k] == true {\n      catalogIdentifier = k\n      break\n    }\n  }\n\n  if catalogIdentifier == "" {\n    return false\n  }\n\n  let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) ?? panic("catalog entry not found")\n\n  let publicPath = catalogEntry.collectionData.publicPath\n  let storagePath = catalogEntry.collectionData.storagePath\n  let privatePath = catalogEntry.collectionData.privatePath\n\n  if acct.borrow<&AnyResource>(from: storagePath) == nil {\n    return false\n  }\n\n  if !acct.getCapability<&{NonFungibleToken.CollectionPublic, MetadataViews.ResolverCollection}>(publicPath).check() { \n    return false\n  }\n\n  if !acct.getCapability<&{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic, NonFungibleToken.Receiver, MetadataViews.ResolverCollection}>(privatePath).check() { \n    return false\n  }\n\n  return true\n}'),r=e=>"\nimport NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.NonFungibleToken,'\n\npub fun main(addr: Address, contractAddress: Address, contractName: String): Bool {\n  let acct = getAuthAccount(addr)\n\n  let contractAcct = getAccount(contractAddress)\n  let tmp = contractAcct.contracts.borrow<&NonFungibleToken>(name: contractName)\n  if tmp == nil {\n  \treturn true\n\t}\n\t\n\tlet c = tmp!\n\n\n  let contract = getAccount(contractAddress).contracts.borrow<&ViewResolver>(name: contractName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n  let md = contract.resolveView(Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n  let collectionData = md as! MetadataViews.NFTCollectionData\n\n  let publicPath = collectionData.publicPath\n  let storagePath = collectionData.storagePath\n  let privatePath = collectionData.providerPath\n\n  if acct.borrow<&AnyResource>(from: storagePath) == nil {\n    return false\n  }\n\n  if !acct.getCapability<&{NonFungibleToken.CollectionPublic, MetadataViews.ResolverCollection}>(publicPath).check() { \n    return false\n  }\n\n  if !acct.getCapability<&{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic, NonFungibleToken.Receiver, MetadataViews.ResolverCollection}>(privatePath).check() { \n    return false\n  }\n\n  return true\n}\n'),i=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,'\n\naccess(all) fun main(addr: Address, contractAddress: Address, contractName: String): Bool {\n    let acct = getAuthAccount<auth(Capabilities, Storage) &Account>(addr)\n\n    let contractAcct = getAccount(contractAddress)\n    let publicTypes = contractAcct.contracts.get(name: contractName)!.publicTypes()\n    let nftResourceType = Type<@{NonFungibleToken.NFT}>()\n    for pt in publicTypes {\n        if !pt.isSubtype(of: nftResourceType) {\n            continue\n        }\n\n        let vr = getAccount(contractAddress).contracts.borrow<&{ViewResolver}>(name: contractName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n        let md = vr.resolveContractView(resourceType: pt, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n        let collectionData = md as! MetadataViews.NFTCollectionData\n\n        let publicPath = collectionData.publicPath\n        let storagePath = collectionData.storagePath\n\n        if acct.storage.borrow<&AnyResource>(from: storagePath) == nil {\n            return false\n        }\n\n        if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicPath).check() { \n            return false\n        }\n\n        let targetType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n        var hasProvider = false\n        acct.capabilities.storage.forEachController(forPath: storagePath, fun(c: &StorageCapabilityController): Bool {\n\t\t\t\t\t\tif c.borrowType.isRecovered {\n\t\t\t\t\t\t\t\treturn true\n\t\t\t\t\t\t}\n\n            if c.borrowType.isSubtype(of: targetType) {\n                hasProvider = true\n            }\n            return true\n        })\n    }\n\n\n    return true\n}')},7399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsDapperCollectionScript=void 0;t.getIsDapperCollectionScript=e=>e.crescendo?r(e):n(e);const n=e=>"\nimport DapperWalletCollections from ".concat(e.contractAddresses.DapperWalletCollections,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\n\npub fun main(contractAddress: Address, contractName: String): Bool {\n\tlet contractAcct = getAccount(contractAddress)\n\tlet tmp = contractAcct.contracts.borrow<&NonFungibleToken>(name: contractName)\n\tif tmp == nil {\n\t\treturn false\n  }\n\n  let c = tmp!\n  return DapperWalletCollections.containsType(c.getType())\n}\n"),r=e=>"\nimport DapperWalletCollections from ".concat(e.contractAddresses.DapperWalletCollections,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\n\naccess(all) fun main(contractAddress: Address, contractName: String): Bool {\n\tlet contractAcct = getAccount(contractAddress)\n\tlet tmp = contractAcct.contracts.borrow<&{NonFungibleToken}>(name: contractName)\n\tif tmp == nil {\n\t\treturn false\n  }\n\n  let c = tmp!\n  return DapperWalletCollections.containsType(c.getType())\n}")},90617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStorefrontFeesScript=void 0;t.getStorefrontFeesScript=e=>e.crescendo?r(e):n(e);const n=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,'\n\npub struct Fees {\n  pub let dapper: UFix64\n  pub let flowty: UFix64\n  pub let royalties: UFix64\n  pub let seller: UFix64\n\n  init(_ d :UFix64, _ f: UFix64, _ r: UFix64, _ s: UFix64) {\n    self.dapper = d\n    self.flowty = f\n    self.royalties = r\n    self.seller = s\n  }\n}\n\npub fun main(addr: Address, path: String, nftID: UInt64, paymentTokenIdentifier: String, price: UFix64): Fees {\n  let tokenComposite = CompositeType(paymentTokenIdentifier)!\n  let acct = getAuthAccount(addr)\n  let storagePath = StoragePath(identifier: path)!\n  let col = acct.borrow<&{NonFungibleToken.CollectionPublic}>(from: storagePath) ?? panic("collection not found")\n  let nft = col.borrowNFT(id: nftID)\n\n  let mpFee = NFTStorefrontV2.getFee(p: price, t: tokenComposite)\n\n  // dapper only has a fee if we are using DUC\n  var dapperFee = 0.0\n  let flowtyFee = mpFee - dapperFee\n\n  let cap = acct.getCapability<&{FungibleToken.Receiver}>(/public/foo)\n  let cuts = NFTStorefrontV2.getPaymentCuts(r: cap, n: nft, p: price, tokenType: tokenComposite)\n\n  var royalties = 0.0\n  var seller = 0.0\n  for i, c in cuts {\n    if i == cuts.length - 1 {\n      seller = c.amount\n      continue\n    }\n\n    royalties = royalties + c.amount\n  }\n\n  return Fees(dapperFee, flowtyFee, royalties, seller)\n}'),r=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,'\n\naccess(all) struct Fees {\n  access(all) let dapper: UFix64\n  access(all) let flowty: UFix64\n  access(all) let royalties: UFix64\n  access(all) let seller: UFix64\n\n  init(_ d :UFix64, _ f: UFix64, _ r: UFix64, _ s: UFix64) {\n    self.dapper = d\n    self.flowty = f\n    self.royalties = r\n    self.seller = s\n  }\n}\n\naccess(all) fun main(addr: Address, path: String, nftID: UInt64, paymentTokenIdentifier: String, price: UFix64): Fees {\n  let tokenComposite = CompositeType(paymentTokenIdentifier)!\n  let acct = getAuthAccount<auth(Storage, Capabilities) &Account>(addr)\n  let storagePath = StoragePath(identifier: path)!\n  let col = acct.storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: storagePath) ?? panic("collection not found")\n  let nft = col.borrowNFT(nftID) ?? panic("nft not found")\n\n  let mpFee = NFTStorefrontV2.getFee(p: price, t: tokenComposite)\n\n  // dapper only has a fee if we are using DUC\n  var dapperFee = 0.0\n  let flowtyFee = mpFee - dapperFee\n\n  let cap = acct.capabilities.get<&{FungibleToken.Receiver}>(/public/flowTokenReceiver)!\n  let cuts = NFTStorefrontV2.getPaymentCuts(r: cap, n: nft, p: price, tokenType: tokenComposite)\n\n  var royalties = 0.0\n  var seller = 0.0\n  for i, c in cuts {\n    if i == cuts.length - 1 {\n      seller = c.amount\n      continue\n    }\n\n    royalties = royalties + c.amount\n  }\n\n  return Fees(dapperFee, flowtyFee, royalties, seller)\n}')},48209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValidateOwnershipScript=void 0;t.getValidateOwnershipScript=(e,t,i,o,a)=>e.crescendo?r(e):n(e,t,i,o,a);const n=(e,t,n,r,i)=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport ").concat(t," from ").concat(n,"\n\npub fun main(address: Address, nftId: UInt64, typeIdentifier: String): Bool {\n    // see note in AccountService.ts about using NFT resource name\n    let expectedType = Type<@").concat(t,".").concat(r,'>()\n    let statedType = CompositeType(typeIdentifier) ?? panic("Invalid type identifier")\n\n    let collection = getAuthAccount(address)\n        .borrow<&{NonFungibleToken.CollectionPublic}>(from: /storage/').concat(i,")\n    if collection == nil {\n      return false\n    }\n\n    return statedType == expectedType && collection!.getIDs().contains(nftId)\n}"),r=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,'\n\naccess(all) fun main(address: Address, nftId: UInt64, typeIdentifier: String): Bool {\n    let nftType = CompositeType(typeIdentifier) ?? panic("Invalid type identifier")\n\n    var storagePath: StoragePath? = nil\n    if let identifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftType.identifier) {\n        var identifier = ""\n        for i in identifiers.keys {\n            if identifiers[i]! == true {\n                identifier = i\n                break\n            }\n        }\n\n        if identifier != "" {\n            let entry = NFTCatalog.getCatalogEntry(collectionIdentifier: identifier)!\n            storagePath = entry.collectionData.storagePath\n        }\n    } else {\n        let nftAddress = AddressUtils.parseAddress(nftType)!\n        let nftContractName = typeIdentifier.split(separator: ".")[2]\n        let nftContract = getAccount(nftAddress).contracts.borrow<&{ViewResolver}>(name: nftContractName)\n            ?? panic("contract not found or does not implement ViewResolver interface")\n\n        let md = nftContract.resolveContractView(resourceType: nftType, viewType: Type<MetadataViews.NFTCollectionData>())\n            ?? panic("NFTCollectionData metadata view not found")\n\n        let collectionData = md as! MetadataViews.NFTCollectionData\n        storagePath = collectionData.storagePath\n    }\n\n    assert(storagePath != nil, message: "unable to find storage path for type: ".concat(nftType.identifier))\n\n    let collection = getAuthAccount<auth(Storage) &Account>(address).storage.borrow<&{NonFungibleToken.Collection}>(from: storagePath!)\n    if collection == nil {\n      return false\n    }\n\n    let nft = collection!.borrowNFT(nftId)\n    return nft != nil && nft!.getType() == nftType\n}')},32673:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.AcceptOffer=void 0;const i=n(53918),o=n(10034),a=n(19388),s=n(65094);t.AcceptOffer=class{constructor(e){r(this,"config",void 0),r(this,"acceptOffer",(async e=>{let{nftData:t,txAvailableCallback:n,token:r,ftReceiverAddress:l,nftProviderPathIdentifier:c,offerResourceID:u,offerStorefrontAddress:d,nftStoragePath:h}=e;if(!t)throw new Error("Flow NFT it's null");const{contractAddress:p,contractName:f,id:m,type:g,nftOwner:v}=t,C=await(0,i.getCatalogEntryForType)(g,this.config),y=["DUC","FUT"].includes(r.symbol),b=y?h:c,w=y||!this.config.crescendo?a.arg(b,s.String):a.arg(b||"0",s.UInt64),x=[];C||y||x.push(a.arg(p,s.Address)),x.push(a.arg(m.toString(),s.UInt64),a.arg(u.toString(),s.UInt64),a.arg(d,s.Address),w),y||x.push(a.arg(C||f,s.String),a.arg(v,s.Address),a.arg(l,s.Address),a.arg(t.type,s.String));const A=(0,o.getAcceptOfferTxn)(this.config,r,!!C);console.debug("txContent",{txArguments:x,txContent:A});try{return await(0,i.sendMutation)(A,x,n)}catch(E){throw console.log("TX ERROR",E),(0,i.Err)("createStorefrontListing",E),E}})),this.config=e}}},10034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAcceptOfferTxn=void 0;t.getAcceptOfferTxn=(e,t,l)=>"DUC"===t.symbol?e.crescendo?s(e):i(e):l?e.crescendo?o(e):n(e):e.crescendo?a(e):r(e);const n=e=>"",r=e=>"",i=e=>"",o=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport Offers from ").concat(e.contractAddresses.Offers,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\ntransaction(\n    nftID: UInt64,\n    offerID: UInt64,\n    storefrontAddress: Address,\n    nftProviderControllerID: UInt64,\n    collectionIdentifier: String,\n    nftProviderAddress: Address,\n    ftReceiverAddress: Address,\n    nftTypeIdentifier: String\n) {\n    let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}\n    let ftReceiver: Capability<&{FungibleToken.Receiver}>\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        let storefront = getAccount(storefrontAddress).capabilities.get<&{Offers.StorefrontPublic}>(Offers.OffersPublicPath)\n            .borrow() ?? panic("storefront not found")\n        assert(storefront.getType() == Type<@Offers.Storefront>(), message: "unexpected storefront type")\n\n        let offer = storefront.borrowOffer(offerResourceID: offerID) ?? panic("offer not found")\n        let details = offer.getDetails()\n        let tokenInfo = FlowtyUtils.getTokenInfo(details.paymentTokenType) ?? panic("token info not found")\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n        let storageCollectionPath = catalogEntry.collectionData.storagePath\n\n        if nftProviderAddress == acct.address {\n            self.nftProvider = acct.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(from: storageCollectionPath)\n                ?? panic("provider not found")\n        } else {\n            // Get child nft provider for auto return, if path doesn\'t exist we can\'t create it\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n            let receiverCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>()) ?? panic("no cap found")\n\n            let cap = receiverCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>\n            self.nftProvider = cap.borrow() ?? panic("invalid provider capability")\n        }\n\n        let nft <- self.nftProvider.withdraw(withdrawID: nftID)\n\n        if ftReceiverAddress == acct.address {\n            let ftContractAddress = AddressUtils.parseAddress(details.paymentTokenType)!\n            let ftContractName = details.paymentTokenType.identifier.split(separator: ".")[2]\n            let ftContract = getAccount(ftContractAddress).contracts.borrow<&{FungibleToken}>(name: ftContractName)\n                ?? panic("payment type does not implement FungibleToken")\n            let ftVaultData = ftContract.resolveContractView(resourceType: details.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as!  FungibleTokenMetadataViews.FTVaultData\n\n            if acct.storage.type(at: ftVaultData.storagePath) == nil {\n                acct.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n                acct.capabilities.unpublish(ftVaultData.receiverPath)\n                acct.capabilities.unpublish(ftVaultData.metadataPath)\n\n                acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n                acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n            }\n            self.ftReceiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.ftReceiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(tokenInfo.receiverPath)\n        }\n\n        assert(self.ftReceiver.borrow() != nil, message: "Missing or mis-typed FlowToken receiver")  \n\n        storefront.acceptOffer(offerResourceID: offerID, nft: <-nft, receiver: self.ftReceiver)\n    }\n}'),a=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport Offers from ").concat(e.contractAddresses.Offers,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\ntransaction(\n  collectionAddress: Address,\n  nftID: UInt64,\n  offerID: UInt64,\n  storefrontAddress: Address,\n  nftProviderControllerID: UInt64,\n  collectionName: String,\n  nftProviderAddress: Address,\n  ftReceiverAddress: Address,\n  nftTypeIdentifier: String\n) {\n    let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}\n    let ftReceiver: Capability<&{FungibleToken.Receiver}>\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        let nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nft type identifier")\n\n        let storefront = getAccount(storefrontAddress).capabilities.get<&{Offers.StorefrontPublic}>(Offers.OffersPublicPath)\n            .borrow() ?? panic("storefront not found")\n        assert(storefront.getType() == Type<@Offers.Storefront>(), message: "unexpected storefront type")\n\n        let offer = storefront.borrowOffer(offerResourceID: offerID) ?? panic("offer not found")\n        let details = offer.getDetails()\n\n        let c = getAccount(collectionAddress).contracts.borrow<&{ViewResolver}>(name: collectionName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n        let md = c.resolveContractView(resourceType: nftType, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n        let collectionData = md as! MetadataViews.NFTCollectionData\n        \n        let tokenInfo = FlowtyUtils.getTokenInfo(details.paymentTokenType) ?? panic("token info not found")\n\n        if nftProviderAddress == acct.address {\n            if !acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath).check() {\n                // we do not unlink first because this does not come from the NFT Catalog.\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(collectionData.storagePath),\n                    at: collectionData.publicPath\n                )\n            }\n\n            self.nftProvider = acct.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(from: collectionData.storagePath)\n                ?? panic("invalid nft provider borrowed from storage")\n        } else {\n            // Get child nft provider for auto return, if path doesn\'t exist we can\'t create it\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n            let receiverCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<&{NonFungibleToken.Provider}>()) ?? panic("no cap found")\n\n            let cap = receiverCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>\n            self.nftProvider = cap.borrow() ?? panic("invalid nft provider")\n        }\n\n        let nft <- self.nftProvider.withdraw(withdrawID: nftID)\n\n        if ftReceiverAddress == acct.address {\n            let ftContractAddress = AddressUtils.parseAddress(details.paymentTokenType)!\n            let ftContractName = details.paymentTokenType.identifier.split(separator: ".")[2]\n            let ftContract = getAccount(ftContractAddress).contracts.borrow<&{FungibleToken}>(name: ftContractName)\n                ?? panic("payment type does not implement FungibleToken")\n            let ftVaultData = ftContract.resolveContractView(resourceType: details.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as!  FungibleTokenMetadataViews.FTVaultData\n\n            if acct.storage.type(at: ftVaultData.storagePath) == nil {\n                acct.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n                acct.capabilities.unpublish(ftVaultData.receiverPath)\n                acct.capabilities.unpublish(ftVaultData.metadataPath)\n\n                acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n                acct.capabilities.publish(acct.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n            }\n            self.ftReceiver = acct.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.ftReceiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(tokenInfo.receiverPath)\n        }\n\n        assert(self.ftReceiver.borrow() != nil, message: "Missing or mis-typed FlowToken receiver")  \n\n        storefront.acceptOffer(offerResourceID: offerID, nft: <-nft, receiver: self.ftReceiver)\n    }\n}'),s=e=>"import OffersV2 from ".concat(e.contractAddresses.OffersV2_Dapper,"\nimport DapperOffersV2 from ").concat(e.contractAddresses.DapperOffersV2,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,'\n\ntransaction(nftID: UInt64, offerId: UInt64, DapperOfferAddress: Address, storagePathIdentifier: String) {\n    let dapperOffer: &DapperOffersV2.DapperOffer\n    let offer: &{OffersV2.OfferPublic}\n    let receiverCapability: Capability<&{FungibleToken.Receiver}>\n    prepare(signer: auth(Storage) &Account) {\n        // Get the DapperOffers resource\n        self.dapperOffer = getAccount(DapperOfferAddress).capabilities.get<&DapperOffersV2.DapperOffer>(DapperOffersV2.DapperOffersPublicPath).borrow()\n            ?? panic("Could not borrow DapperOffer from provided address")\n        // Set the fungible token receiver capabillity\n        self.receiverCapability = signer.capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver)\n        assert(self.receiverCapability.borrow() != nil, message: "Missing or mis-typed DapperUtilityCoin receiver")\n        // Get the DapperOffer details\n        self.offer = self.dapperOffer.borrowOffer(offerId: offerId)\n            ?? panic("No Offer with that ID in DapperOffer")\n\t\t\t\t\n\t\t\t\tlet details = self.offer.getDetails()\n                \n        // Get the NFT resource and withdraw the NFT from the signers account\n        let nftCollection = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(from: StoragePath(identifier: storagePathIdentifier)!)\n            ?? panic("Cannot borrow NFT collection receiver from account")\n\n\t\tlet nft <- (nftCollection.withdraw(withdrawID: nftID) as! @AnyResource) as! @{NonFungibleToken.NFT}\n\t\t\n        self.offer.accept(\n            item: <-nft,\n            receiverCapability: self.receiverCapability\n        )\n    }\n    execute {\n        // delete the offer\n        self.dapperOffer.cleanup(offerId: offerId)\n    }\n}')},86097:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.CancelOffer=void 0;const i=n(53918),o=n(90732),a=n(19388),s=n(65094);t.CancelOffer=class{constructor(e){r(this,"config",void 0),r(this,"cancelOffer",(async e=>{let{txAvailableCallback:t,token:n,offerResourceID:r}=e;const l=[a.arg(r.toString(),s.UInt64)],c="DUC"===n,u=(0,o.getCancelOfferTxn)(this.config,c);try{return await(0,i.sendMutation)(u,l,t)}catch(d){throw console.log("TX ERROR",d),(0,i.Err)("createStorefrontListing",d),d}})),this.config=e}}},90732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCancelOfferTxn=void 0;t.getCancelOfferTxn=(e,t)=>t?e.crescendo?o(e):r(e):e.crescendo?i(e):n(e);const n=e=>"",r=e=>"",i=e=>"import Offers from ".concat(e.contractAddresses.Offers,'\n\ntransaction(offerResourceID: UInt64) {\n    prepare(acct: auth(BorrowValue) &Account) {\n        let storefront = acct.storage.borrow<auth(Offers.Cancel) &Offers.Storefront>(from: Offers.OffersStoragePath)\n            ?? panic("storefront not found")\n        storefront.cancelOffer(offerResourceID: offerResourceID)\n    }\n}'),o=e=>"import DapperOffersV2 from ".concat(e.contractAddresses.DapperOffersV2,'\n\ntransaction(offerId: UInt64) {\n    prepare(signer: auth(BorrowValue) &Account) {\n        let offers = signer.storage.borrow<auth(DapperOffersV2.Manager) &DapperOffersV2.DapperOffer>(from: DapperOffersV2.DapperOffersStoragePath) ?? panic("offers resource not found")\n        offers.removeOffer(offerId: offerId)\n    }\n}')},98389:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.StorefrontListing=void 0;const i=n(53918),o=n(1132),a=n(48156),s=n(77706),l=n(19388),c=n(65094);t.StorefrontListing=class{constructor(e){r(this,"config",void 0),r(this,"createStorefrontListing",(async e=>{let{nftData:t,buyer:n,expiry:r,salePrice:a,token:u,txAvailableCallback:d,nftProviderPathIdentifier:h,ftReceiverAddress:p}=e;const f=(0,i.expirationDaysToSeconds)(r),m=Number(a).toFixed(4);if(!t)throw new Error("Flow NFT it's null");const{contractAddress:g,contractName:v,id:C,type:y,nftOwner:b}=t,w=await(0,i.getCatalogEntryForType)(y,this.config),x=(0,o.getStorefrontListingTxn)(this.config,u,t,!!w),A=[],E=["DUC","FUT"].includes(u.symbol);if(w&&E)A.push(l.arg(w,c.String),l.arg(C.toString(),c.UInt64),l.arg(m.toString(),c.UFix64),l.arg(null,c.Optional(c.String)),l.arg(n,c.Optional(c.String)),l.arg(f.toString(),c.UInt64));else if(w){const e=this.config.crescendo?l.arg(h||"0",c.UInt64):l.arg(h,c.String);A.push(l.arg(w,c.String),l.arg(C.toString(),c.UInt64),l.arg(m.toString(),c.UFix64),l.arg(null,c.Optional(c.String)),l.arg(n,c.Optional(c.String)),l.arg(f.toString(),c.UInt64),e,l.arg(b,c.Address),l.arg(p,c.Address))}else{const e=this.config.crescendo?l.arg(h||"0",c.UInt64):l.arg(h,c.String);this.config.crescendo?A.push(l.arg(t.type,c.String)):A.push(l.arg(g,c.Address),l.arg(v,c.String)),A.push(l.arg(C.toString(),c.UInt64),l.arg(m.toString(),c.UFix64),l.arg(null,c.Optional(c.String)),l.arg(n,c.Optional(c.String)),l.arg(f.toString(),c.UInt64),e,l.arg(b,c.Address),l.arg(p,c.Address))}this.config.crescendo&&!E&&A.push(l.arg(s.PaymentTokenToIdentifier[u.symbol],c.String)),console.log("createStorefrontListing",{buyer:n,expiry:r,ftReceiverAddress:p,nftData:t,nftProviderPathIdentifier:h,salePrice:a,token:u,txArguments:A});try{return await(0,i.sendMutation)(x,A,d)}catch(_){throw console.log("TX ERROR",_),(0,i.Err)("createStorefrontListing",_),_}})),r(this,"removeStorefrontListing",(async e=>{let{listingResourceID:t,listingType:n,txAvailableCallback:r}=e;console.log("removeStorefrontListing",{listingResourceID:t,listingType:n});const a=(0,o.getDelistStorefrontListingTxn)(this.config,n),s=[l.arg(t.toString(),c.UInt64)];try{return await(0,i.sendMutation)(a,s,r)}catch(u){throw console.log("TX ERROR",u),(0,i.Err)("removeStorefrontListing",u),u}})),r(this,"removeBulkListing",(async(e,t,n)=>{const r=[l.arg(e,c.Array(c.UInt64))],a=(0,o.getBulkDelistStorefrontListingTxn)(this.config);try{console.log("bulk delisting...",{txArguments:r,txContent:a});return await(0,i.sendMutation)(a,r,n)}catch(s){throw console.log("TX ERROR",s),(0,i.Err)("removeBulkListing",s),s}})),r(this,"createStorefrontBulkListing",(async(e,t,n,r,s)=>{const u={domain:"public",identifier:n},d=this.config.getIdentifier(r.contractName,"Vault"),h=(0,o.getBulkStorefrontListingTxn)(this.config,r),p=this.config.getIdentifier("TransactionTypes","StorefrontListingRequest"),f=(0,a.encodeStorefrontListingRequests)(e,p,this.config.crescendo,l.arg,c),m=["DUC","FUT"].includes(r.symbol)?[f]:[f,l.arg(t,c.Address),l.arg(u,c.Path),l.arg(d,c.String)];try{const e=(0,i.sendMutation)(h,m,s);return await e}catch(g){throw console.error(g),g}})),this.config=e}}},48156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStorefrontListingRequests=t.encodeStorefrontListingRequestFields=t.getStorefrontListingRequestStruct=void 0;t.getStorefrontListingRequestStruct=(e,t,n)=>{const r=n?{name:"nftProviderControllerID",value:e.UInt64}:{name:"nftProviderPath",value:e.Path};return e.Struct(t,[{name:"nftProviderAddress",value:e.Address},r,{name:"nftStoragePath",value:e.Path},{name:"nftTypeIdentifier",value:e.String},{name:"nftID",value:e.UInt64},{name:"price",value:e.UFix64},{name:"customID",value:e.Optional(e.String)},{name:"expiry",value:e.UInt64},{name:"buyerAddress",value:e.Optional(e.Address)},{name:"catalogCollection",value:e.Bool}])};t.encodeStorefrontListingRequestFields=(e,t)=>{const n=t?{name:"nftProviderControllerID",value:e.nftProviderPathIdentifier||"0"}:{name:"nftProviderPath",value:{domain:"private",identifier:e.nftProviderPathIdentifier}};return{fields:[{name:"nftProviderAddress",value:e.nftProviderAddress},n,{name:"nftStoragePath",value:{domain:"storage",identifier:e.nftStoragePathIdentifier}},{name:"nftTypeIdentifier",value:e.nftTypeIdentifier},{name:"nftID",value:e.nftID.toString()},{name:"price",value:e.price.toFixed(5)},{name:"customID",value:e.customID},{name:"expiry",value:e.expiry.toString()},{name:"buyerAddress",value:e.buyerAddress},{name:"catalogCollection",value:e.catalogCollection}]}};t.encodeStorefrontListingRequests=(e,n,r,i,o)=>{const a=[];for(const s of e){const e=(0,t.encodeStorefrontListingRequestFields)(s,r);a.push(e)}return i(a,o.Array((0,t.getStorefrontListingRequestStruct)(o,n,r)))}},1132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBulkDelistStorefrontListingTxn=t.getDelistStorefrontListingTxn=t.getBulkStorefrontListingTxn=t.getStorefrontListingTxn=void 0;const r=n(10514);t.getStorefrontListingTxn=(e,t,n,r)=>e.crescendo?h(e,t,n,r):u(e,t,n,r);t.getBulkStorefrontListingTxn=(e,t)=>e.crescendo?o(e,t):i(e,t);t.getDelistStorefrontListingTxn=(e,t)=>{const n=(0,r.formatAddress)(t.split(".")[1]);if(n===e.contractAddresses.NFTStorefrontV2)return e.crescendo?w(e):b(e);if(n===e.contractAddresses.NFTStorefrontV2_Shared)return e.crescendo?A(e):x(e);throw new Error("unknown listing type")};t.getBulkDelistStorefrontListingTxn=e=>e.crescendo?_(e):E(e);const i=(e,t)=>"DUC"===t.symbol?a(e):s(e),o=(e,t)=>"DUC"===t.symbol?l(e):c(e),a=e=>"",s=e=>"",l=e=>"// Flowty - List multiple items for sale at the same time\nimport FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport TransactionTypes from ").concat(e.contractAddresses.TransactionTypes,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\ntransaction(saleRequests: [TransactionTypes.StorefrontListingRequest]) {\n    prepare(seller: auth(Storage, Capabilities) &Account) {\n        if seller.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            let storefront <- NFTStorefrontV2.createStorefront()\n            seller.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n            seller.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            seller.capabilities.publish(\n                seller.capabilities.storage.issue<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontStoragePath), \n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let paymentReceiver = seller.capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver)\n        assert(paymentReceiver.check() != nil, message: "Missing or mis-typed DapperUtilityCoin receiver")\n\n        let nftCache: {String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>} = {}\n        let nftRef: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>} = &nftCache\n\n        let typeCache: {String: Type} = {}\n        let typeRef: auth(Mutate) &{String: Type} = &typeCache\n\n        let storefront = seller.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)!\n        for request in saleRequests {\n          createListing(seller, storefront, request, paymentReceiver, nftRef, typeRef)\n        }\n    }\n}\n\naccess(all) fun createListing(\n  _ seller: auth(Storage, Capabilities) &Account,\n  _ storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront,\n  _ r: TransactionTypes.StorefrontListingRequest,\n  _ paymentReceiver: Capability<&{FungibleToken.Receiver}>,\n  _ nftCache: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>},\n  _ typeCache: auth(Mutate) &{String: Type}\n) {\n  if typeCache[r.nftTypeIdentifier] == nil {\n    typeCache[r.nftTypeIdentifier] = CompositeType(r.nftTypeIdentifier) ?? panic("invalid nft type identifier")\n  }\n\n  let collectionCap = getCollectionCap(seller, r, nftCache, typeCache[r.nftTypeIdentifier]!)\n\n  // check for existing listings of the NFT\n  var existingListingIDs = storefront.getExistingListingIDs(\n      nftType: typeCache[r.nftTypeIdentifier]!,\n      nftID: r.nftID\n  )\n  // remove existing listings\n  for listingID in existingListingIDs {\n      storefront.removeListing(listingResourceID: listingID)\n  }\n\n  // Create listing\n  storefront.createListing(\n    nftProviderCapability: collectionCap,\n    paymentReceiver: paymentReceiver,\n    nftType: typeCache[r.nftTypeIdentifier]!,\n    nftID: r.nftID,\n    salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),\n    price: r.price,\n    customID: r.customID,\n    expiry: UInt64(getCurrentBlock().timestamp) + r.expiry,\n    buyer: r.buyerAddress\n  )\n}\n\naccess(all) fun getCollectionCap(\n  _ seller: auth(Storage, Capabilities) &Account,\n  _ r: TransactionTypes.StorefrontListingRequest,\n  _ nftCache: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>},\n  _ nftType: Type\n): Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}> {\n  let key = r.nftProviderAddress.toString().concat(r.nftTypeIdentifier)\n  if nftCache[key] != nil {\n    return nftCache[key]!\n  }\n\n  if r.nftProviderAddress == seller.address {\n    let storagePath = FlowtyUtils.getCapabilityStoragePath(type: nftType, suffix: "CollectionProviderForFlowty")\n\n    let copiedCap = seller.storage.copy<Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>>(from: storagePath)\n    if copiedCap != nil && copiedCap!.check() {\n      nftCache[key] = copiedCap!\n      return copiedCap!\n    } else {\n      // clean this storage slot in case something is there already\n      seller.storage.load<AnyStruct>(from: storagePath)\n      let cap = seller.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(r.nftStoragePath)\n      assert(cap.check(), message: "invalid issued provider capability")\n      seller.storage.save(cap, to: storagePath)\n      nftCache[key] = cap\n\n      return cap\n    }\n  }\n\n  let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    ?? panic("Missing or mis-typed HybridCustody Manager")\n\n  let child = manager.borrowAccount(addr: r.nftProviderAddress) ?? panic("no child account with that address")\n  let providerCap = child.getCapability(controllerID: r.nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>())\n    ?? panic("no nft provider found")\n  let cap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n  nftCache[key] = cap\n\n  return cap\n}'),c=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport TransactionTypes from ").concat(e.contractAddresses.TransactionTypes,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\ntransaction(\n  saleRequests: [TransactionTypes.StorefrontListingRequest],\n  paymentReceiverAddress: Address,\n  paymentReceiverPath: PublicPath,\n  salePaymentVaultTypeIdentifier: String\n) {\n    prepare(seller: auth(Capabilities, Storage) &Account) {\n        if seller.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            // Create a new empty Storefront\n            let storefront <- NFTStorefrontV2.createStorefront()\n            // save it to the account\n            seller.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n            // create a public capability for the Storefront, first unlinking to ensure we remove anything that\'s already present\n            seller.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            seller.capabilities.publish(\n                seller.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if seller.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            seller.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = seller.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        let paymentType = CompositeType(salePaymentVaultTypeIdentifier) ?? panic("invalid payment type identifier")\n        let paymentReceiver = getPaymentReceiver(seller, paymentReceiverAddress, paymentReceiverPath, paymentType)\n\n        let nftCache: {String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>} = {}\n        let nftRef: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>} = &nftCache\n\n        let typeCache: {String: Type} = {}\n        let typeRef: auth(Mutate) &{String: Type} = &typeCache\n\n        let storefront = seller.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)!\n        for request in saleRequests {\n          createListing(seller, storefront, request, paymentReceiver, paymentType, nftRef, typeRef, cache)\n        }\n    }\n}\n\naccess(all) fun createListing(\n  _ seller: auth(Capabilities, Storage) &Account,\n  _ storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront,\n  _ r: TransactionTypes.StorefrontListingRequest,\n  _ paymentReceiver: Capability<&{FungibleToken.Receiver}>,\n  _ paymentType: Type,\n  _ nftCache: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>},\n  _ typeCache: auth(Mutate) &{String: Type},\n  _ capabilityCache: auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache\n) {\n  if typeCache[r.nftTypeIdentifier] == nil {\n    typeCache[r.nftTypeIdentifier] = CompositeType(r.nftTypeIdentifier) ?? panic("invalid nft type identifier")\n  }\n\n  let collectionCap = getCollectionCap(seller, r, nftCache, typeCache[r.nftTypeIdentifier]!, capabilityCache)\n\n  // check for existing listings of the NFT\n  var existingListingIDs = storefront.getExistingListingIDs(\n      nftType: typeCache[r.nftTypeIdentifier]!,\n      nftID: r.nftID\n  )\n  // remove existing listings\n  for listingID in existingListingIDs {\n      storefront.removeListing(listingResourceID: listingID)\n  }\n\n  // Create listing\n  storefront.createListing(\n    nftProviderCapability: collectionCap,\n    paymentReceiver: paymentReceiver,\n    nftType: typeCache[r.nftTypeIdentifier]!,\n    nftID: r.nftID,\n    salePaymentVaultType: paymentType,\n    price: r.price,\n    customID: r.customID,\n    expiry: UInt64(getCurrentBlock().timestamp) + r.expiry,\n    buyer: r.buyerAddress\n  )\n}\n\naccess(all) fun getPaymentReceiver(\n  _ seller: auth(Capabilities, Storage) &Account,\n  _ paymentReceiverAddress: Address,\n  _ paymentPath: PublicPath,\n  _ paymentType: Type\n): Capability<&{FungibleToken.Receiver}> {\n  let tokenInfo = FlowtyUtils.getTokenInfo(paymentType) ?? panic("token info not found")\n  let ftContractAddress = AddressUtils.parseAddress(paymentType)!\n  let ftContractName = paymentType.identifier.split(separator: ".")[2]\n  let ftContract = getAccount(ftContractAddress).contracts.borrow<&{FungibleToken}>(name: ftContractName)\n    ?? panic("payment type does not implement FungibleToken")\n  let ftVaultData = ftContract.resolveContractView(resourceType: paymentType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as!  FungibleTokenMetadataViews.FTVaultData\n\n  if paymentReceiverAddress == seller.address {\n    // Do we need to setup this vault for the signing account?\n    if seller.storage.type(at: ftVaultData.storagePath) == nil {\n      seller.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n      seller.capabilities.unpublish(ftVaultData.receiverPath)\n      seller.capabilities.unpublish(ftVaultData.metadataPath)\n\n      seller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n      seller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n    }\n\n    var cap = seller.capabilities.get<&{FungibleToken.Receiver}>(paymentPath)\n    if !cap.check() {\n      cap = seller.capabilities.get<&{FungibleToken.Receiver}>(paymentPath)\n    }\n\n    return cap\n  }\n\n  let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    ?? panic("Missing or mis-typed HybridCustody Manager")\n\n  let child = manager.borrowAccount(addr: paymentReceiverAddress) ?? panic("no child account with that address")\n  let cap = getAccount(paymentReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(paymentPath)\n\n  return cap\n}\n\naccess(all) fun getCollectionCap(\n  _ seller: auth(Capabilities, Storage) &Account,\n  _ r: TransactionTypes.StorefrontListingRequest,\n  _ nftCache: auth(Mutate) &{String: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>},\n  _ nftType: Type,\n  _ capabilityCache: auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache\n): Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}> {\n  let key = r.nftProviderAddress.toString().concat(r.nftTypeIdentifier)\n  if nftCache[key] != nil {\n    return nftCache[key]!\n  }\n\n\n  if r.nftProviderAddress == seller.address {\n    let borrowType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n    if let provider = capabilityCache.getCapabilityByType(resourceType: nftType, capabilityType: CapabilityType(borrowType)!) {\n        nftCache[key] = provider as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    } else {\n        let nftProvider = seller.capabilities.storage.issueWithType(r.nftStoragePath, type: borrowType) as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n        capabilityCache.addCapability(resourceType: nftType, cap: nftProvider!)\n        nftCache[key] = nftProvider\n    }\n\n    return nftCache[key]!\n  }\n\n  let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n    ?? panic("Missing or mis-typed HybridCustody Manager")\n\n  let child = manager.borrowAccount(addr: r.nftProviderAddress) ?? panic("no child account with that address")\n  let providerCap = child.getCapability(controllerID: r.nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>())\n    ?? panic("no nft provider found")\n  let cap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n  nftCache[key] = cap\n\n  return cap\n}'),u=(e,t,n,r)=>{const i=["DUC","FUT"].includes(t.symbol);return d(e,t,n,r,i)},d=(e,t,n,r,i)=>i?"DUC"===t.symbol?C(e):y(e):r?m(e,t,n):g(e,t,n),h=(e,t,n,r)=>["DUC","FUT"].includes(t.symbol)?p(e):r?f(e):v(e),p=e=>"import DapperUtilityCoin from ".concat(e.contractAddresses.DapperUtilityCoin,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,'\n\n/// If the given nft has a support of the RoyaltyView then royalties will added as the sale cut.\ntransaction(collectionIdentifier: String, saleItemID: UInt64, saleItemPrice: UFix64, customID: String?, buyer: Address?, expiry: UInt64) {\n    let paymentReceiver: Capability<&{FungibleToken.Receiver}>\n    let collectionCap: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    let storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront\n    let nftType: Type\n\n    prepare(seller: auth(Storage, Capabilities) &Account) {\n        if seller.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            let storefront <- NFTStorefrontV2.createStorefront()\n            seller.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n            seller.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            seller.capabilities.publish(\n                seller.capabilities.storage.issue<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n        // Receiver for the sale cut.\n        self.paymentReceiver = seller.capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver)\n        assert(self.paymentReceiver.borrow() != nil, message: "Missing or mis-typed DapperUtilityCoin receiver")\n\n        let capStoragePath = FlowtyUtils.getCapabilityStoragePath(type: catalogEntry.nftType, suffix: "CollectionProviderForFlowtyNFTStorefront")\n        let cap = seller.storage.copy<Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>>(from: capStoragePath)\n        if cap != nil && cap!.check() {\n            self.collectionCap = cap!\n        } else {\n            // clean this storage slot in case something is there already\n            seller.storage.load<AnyStruct>(from: capStoragePath)\n            self.collectionCap = seller.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath)\n            seller.storage.save(self.collectionCap, to: capStoragePath)\n        }\n\n        assert(self.collectionCap.check(), message: "collection provider is invalid")\n\n        let collection = self.collectionCap.borrow()\n            ?? panic("Could not borrow a reference to the collection")\n        let nft = collection.borrowNFT(saleItemID)\n            ?? panic("nft could not be borrowed from provider collection")\n        assert(nft.getType() == catalogEntry.nftType, message: "nftType must match type for catalog entry")\n        self.nftType = catalogEntry.nftType\n\n        self.storefront = seller.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("Missing or mis-typed NFTStorefront Storefront")\n    }\n\n    execute {\n        // check for existing listings of the NFT\n        var existingListingIDs = self.storefront.getExistingListingIDs(\n            nftType: self.nftType,\n            nftID: saleItemID\n        )\n        // remove existing listings\n        for listingID in existingListingIDs {\n            self.storefront.removeListing(listingResourceID: listingID)\n        }\n\n        // Create listing\n        self.storefront.createListing(\n            nftProviderCapability: self.collectionCap,\n            paymentReceiver: self.paymentReceiver,\n            nftType: self.nftType,\n            nftID: saleItemID,\n            salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),\n            price: saleItemPrice,\n            customID: customID,\n            expiry: UInt64(getCurrentBlock().timestamp) + expiry,\n            buyer: buyer\n        )\n    }\n}'),f=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\n/// Transaction used to facilitate the creation of the listing under the signer\'s owned storefront resource.\ntransaction(\n  collectionIdentifier: String,\n  saleItemID: UInt64,\n  saleItemPrice: UFix64,\n  customID: String?,\n  buyer: Address?,\n  expiry: UInt64,\n  nftProviderControllerID: UInt64,\n  nftProviderAddress: Address,\n  ftReceiverAddress: Address,\n  paymentTokenIdentifier: String\n) {\n    let paymentReceiver: Capability<&{FungibleToken.Receiver}>\n    let nftProvider: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    let storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront\n    let nftType: Type\n    let salePaymentVaultType: Type\n\n    prepare(seller: auth(Capabilities, Storage) &Account) {\n        self.salePaymentVaultType = CompositeType(paymentTokenIdentifier) ?? panic("invalid sale vault type")\n\n        if seller.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            // Create a new empty Storefront\n            let storefront <- NFTStorefrontV2.createStorefront()\n            // save it to the account\n            seller.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n            // create a public capability for the Storefront, first unlinking to ensure we remove anything that\'s already present\n            seller.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            seller.capabilities.publish(\n              seller.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n              at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if seller.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            seller.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = seller.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")        \n\n        let ftAddress = AddressUtils.parseAddress(self.salePaymentVaultType)!\n        let contractName = self.salePaymentVaultType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: self.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n        if ftReceiverAddress == seller.address {\n        \t\tif seller.storage.type(at: ftVaultData.storagePath) == nil {\n\t\t\t\t\t\t\t\tseller.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n\t\t\t\t\t\t\t\tseller.capabilities.unpublish(ftVaultData.receiverPath)\n\t\t\t\t\t\t\t\tseller.capabilities.unpublish(ftVaultData.metadataPath)\n\t\n\t\t\t\t\t\t\t\tseller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n\t\t\t\t\t\t\t\tseller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n            }\n\n            self.paymentReceiver = seller.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.paymentReceiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)!\n        }\n\n        assert(self.paymentReceiver.check(), message: "Missing or mis-typed token receiver")\n\n        if nftProviderAddress == seller.address {\n            let borrowType = Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()\n            if let provider = cache.getCapabilityByType(resourceType: catalogEntry.nftType, capabilityType: CapabilityType(borrowType)!) {\n                self.nftProvider = provider as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n            } else {\n                self.nftProvider = seller.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath)\n                cache.addCapability(resourceType: catalogEntry.nftType, cap: self.nftProvider)\n            }\n        } else {\n            let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftProviderAddress) ?? panic("no child account with that address")\n            let providerCap = child.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no nft provider found")\n            self.nftProvider = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n        }\n\n        assert(self.nftProvider.borrow() != nil, message: "Missing or mis-typed NFT provider")\n\n        let collection = self.nftProvider.borrow()\n            ?? panic("Could not borrow a reference to the collection")\n        let nft = collection.borrowNFT(saleItemID) ?? panic("nft could not be borrowed")\n        self.nftType = nft.getType()\n\n        self.storefront = seller.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("Missing or mis-typed NFTStorefront Storefront")\n    }\n\n    execute {\n        // check for existing listings of the NFT\n        var existingListingIDs = self.storefront.getExistingListingIDs(\n            nftType: self.nftType,\n            nftID: saleItemID\n        )\n        // remove existing listings\n        for listingID in existingListingIDs {\n            self.storefront.removeListing(listingResourceID: listingID)\n        }\n\n        // Create listing\n        self.storefront.createListing(\n            nftProviderCapability: self.nftProvider,\n            paymentReceiver: self.paymentReceiver,\n            nftType: self.nftType,\n            nftID: saleItemID,\n            salePaymentVaultType: self.salePaymentVaultType,\n            price: saleItemPrice,\n            customID: customID,\n            expiry: UInt64(getCurrentBlock().timestamp) + expiry,\n            buyer: buyer\n        )\n    }\n}'),m=(e,t,n)=>"",g=(e,t,n)=>"",v=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\n// Flowty - Sell item without the use of the NFT Catalog\n// This transaction will list an item for sale on Flowty\'s Marketplace\n// using the contract\'s NFTCollectionData metdata view.\n//\n// Importantly, if there is a conflicting link present on an account,\n// this transaction will NOT override anything already present.\ntransaction(\n    nftTypeIdentifier: String,\n    saleItemID: UInt64,\n    saleItemPrice: UFix64,\n    customID: String?,\n    buyer: Address?,\n    expiry: UInt64,\n    nftProviderControllerID: UInt64,\n    nftProviderAddress: Address,\n    ftReceiverAddress: Address,\n    paymentTokenTypeIdentifier: String,\n) {\n    let paymentReceiver: Capability<&{FungibleToken.Receiver}>\n    let collectionCap: Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n    let storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront\n    let nftType: Type\n    let paymentTokenType: Type\n\n    prepare(seller: auth(Capabilities, Storage) &Account) {\n        self.nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nft type identifier")\n        self.paymentTokenType = CompositeType(paymentTokenTypeIdentifier) ?? panic("invalid payment token type identifier")\n\n        if seller.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            let storefront <- NFTStorefrontV2.createStorefront()\n            seller.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n            seller.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            seller.capabilities.publish(\n                seller.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if seller.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            seller.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = seller.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        let ftAddress = AddressUtils.parseAddress(self.paymentTokenType)!\n        let ftContractName = self.paymentTokenType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: ftContractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: self.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        let nftContractAddress = AddressUtils.parseAddress(self.nftType)!\n        let nftContractName = self.nftType.identifier.split(separator: ".")[2]\n        let c = getAccount(nftContractAddress).contracts.borrow<&{ViewResolver}>(name: nftContractName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n        let md = c.resolveContractView(resourceType: self.nftType, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n        let collectionData = md as! MetadataViews.NFTCollectionData\n\n        if ftReceiverAddress == seller.address {\n            if seller.storage.type(at: ftVaultData.storagePath) == nil {\n                seller.storage.save(<- ftVaultData.createEmptyVault(), to: ftVaultData.storagePath)\n                seller.capabilities.unpublish(ftVaultData.receiverPath)\n                seller.capabilities.unpublish(ftVaultData.metadataPath)\n\n                seller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Receiver}>(ftVaultData.storagePath), at: ftVaultData.receiverPath)\n                seller.capabilities.publish(seller.capabilities.storage.issue<&{FungibleToken.Vault}>(ftVaultData.storagePath), at: ftVaultData.metadataPath)\n            }\n\n            self.paymentReceiver = seller.capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        } else {\n            let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftReceiverAddress) ?? panic("no child account with that address")\n            self.paymentReceiver = getAccount(ftReceiverAddress).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n        }\n\n        assert(self.paymentReceiver.check(), message: "Missing or mis-typed token receiver")\n\n        if nftProviderAddress == seller.address {\n            self.collectionCap = seller.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(collectionData.storagePath)\n        } else {\n            let manager = seller.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftProviderAddress) ?? panic("no child account with that address")\n            let providerCap = child.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no nft provider found")\n            self.collectionCap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n        }\n\n        let collection = self.collectionCap.borrow()\n            ?? panic("Could not borrow a reference to the collection")\n        let nft = collection.borrowNFT(saleItemID) ?? panic("nft not found")\n        assert(self.nftType == nft.getType(), message: "borrowed nft type does not match supplied nft type")\n\n        self.storefront = seller.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("Missing or mis-typed NFTStorefront Storefront")\n    }\n\n    execute {\n        // check for existing listings of the NFT\n        var existingListingIDs = self.storefront.getExistingListingIDs(\n            nftType: self.nftType,\n            nftID: saleItemID\n        )\n        // remove existing listings\n        for listingID in existingListingIDs {\n            self.storefront.removeListing(listingResourceID: listingID)\n        }\n\n        let salePaymentVaultType = CompositeType(paymentTokenTypeIdentifier) ?? panic("invalid payment token type identifier")\n\n        // Create listing\n        self.storefront.createListing(\n            nftProviderCapability: self.collectionCap,\n            paymentReceiver: self.paymentReceiver,\n            nftType: self.nftType,\n            nftID: saleItemID,\n            salePaymentVaultType: salePaymentVaultType,\n            price: saleItemPrice,\n            customID: customID,\n            expiry: UInt64(getCurrentBlock().timestamp) + expiry,\n            buyer: buyer\n        )\n    }\n}'),C=e=>"",y=e=>"",b=e=>"",w=e=>"import NFTStorefrontV2 from ".concat(e.contractAddresses.NFTStorefrontV2,'\n\n// Remove a listing from the Flowty marketplace\ntransaction(listingResourceID: UInt64) {\n    let storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &{NFTStorefrontV2.StorefrontManager}\n\n    prepare(acct: auth(Storage) &Account) {\n        self.storefront = acct.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &{NFTStorefrontV2.StorefrontManager}>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("Missing or mis-typed NFTStorefrontV2.Storefront")\n    }\n\n    execute {\n        self.storefront.removeListing(listingResourceID: listingResourceID)\n    }\n}'),x=e=>"",A=e=>"import NFTStorefrontV2 from ".concat(e.contractAddresses.NFTStorefrontV2_Shared,'\n\ntransaction(listingResourceID: UInt64) {\n    prepare(acct: auth(BorrowValue) &Account) {\n        let storefront = acct.storage.borrow<auth(NFTStorefrontV2.RemoveListing) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("storefront not found")\n        \n        storefront.removeListing(listingResourceID: listingResourceID)\n    }\n}'),E=e=>"",_=e=>"import NFTStorefrontV2 from ".concat(e.contractAddresses.NFTStorefrontV2,'\n\n// Remove multiple listings from the Flowty marketplace\ntransaction(existingListingIDs: [UInt64]) {\n    let storefront: auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &{NFTStorefrontV2.StorefrontManager}\n    prepare(acct: auth(Storage) &Account) {\n        self.storefront = acct.storage.borrow<auth(NFTStorefrontV2.List, NFTStorefrontV2.Cancel) &{NFTStorefrontV2.StorefrontManager}>(from: NFTStorefrontV2.StorefrontStoragePath)\n            ?? panic("Missing or mis-typed NFTStorefrontV2.Storefront")\n    }\n    execute {\n        // remove existing listings\n        for listingID in existingListingIDs {\n            self.storefront.removeListing(listingResourceID: listingID)\n        }\n    }\n}')},2245:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.MakeOffer=t.FLOWTYV2_CONTRACT_ADDR=void 0;const i=n(53918),o=n(75339),a=n(55712),s=n(68279),l=n(19388),c=n(65094);t.FLOWTYV2_CONTRACT_ADDR="0x3cdbb3d569211ff3";t.MakeOffer=class{constructor(e){r(this,"config",void 0),r(this,"makeOffer",(async e=>{let{nftData:t,expiry:n,ftProviderPathIdentifier:r,offerAmount:u,nftReceiverAddress:d,ftProviderAddress:h,txAvailableCallback:p,token:f,tokenIdentifier:m}=e;if(!t)throw new Error("Flow NFT it's null");const{contractAddress:g,contractName:v,id:C,type:y,nftOwner:b}=t,w=await(0,i.getCatalogEntryForType)(y,this.config),x=["DUC","FUT"].includes(f.symbol),A=(0,a.getTargetedOfferTxn)(this.config,f,t,!!w);console.debug("txContent",{txContent:A});const E={expiry:n.toString()},_=Object.entries(E).map((e=>({key:e[0],value:e[1]}))),T=[],S=this.config.crescendo?l.arg(r||"0",c.UInt64):l.arg(r,c.String);if(w&&x){const e=[l.arg(g,c.Address),l.arg(v,c.String)],r=await l.query({args:(t,n)=>e,cadence:(0,o.getCollectionPathsScript)(this.config)}),i=[l.arg(b,c.Address),l.arg(C.toString(),c.UInt64),l.arg(r.storagePath.split("/")[2],c.String),l.arg(u.toFixed(6),c.UFix64)],a=await l.query({args:(e,t)=>i,cadence:(0,s.getDWRoyaltyScript)(this.config)}),d=Object.entries(a).map((e=>({key:e[0],value:e[1]}))),h="0xe1f2a091f7bb5245";T.push(l.arg(u.toFixed(6),c.UFix64),l.arg(d,c.Dictionary({key:c.Address,value:c.UFix64})),l.arg(_,c.Dictionary({key:c.String,value:c.String})),l.arg(C.toString(),c.UInt64),l.arg(g,c.Address),l.arg(v,c.String),l.arg(r.publicPath.split("/")[2],c.String),l.arg(r.storagePath.split("/")[2],c.String),l.arg(h,c.Address),l.arg(n.toString(),c.UInt64)),this.config.crescendo&&T.push(l.arg(t.type,c.String))}else w?T.push(l.arg(w,c.String),l.arg(C.toString(),c.UInt64),l.arg(1..toString(),c.Int),l.arg(u.toFixed(6),c.UFix64),l.arg(m,c.String),l.arg(n.toString(),c.UInt64),l.arg(d,c.Address),l.arg(h,c.Address),S):T.push(l.arg(t.type,c.String),l.arg(C.toString(),c.UInt64),l.arg(1..toString(),c.Int),l.arg(u.toFixed(6),c.UFix64),l.arg(m,c.String),l.arg(n.toString(),c.UInt64),l.arg(d,c.Address),l.arg(h,c.Address),S);try{return await(0,i.sendMutation)(A,T,p)}catch(k){throw console.log("TX ERROR",k),(0,i.Err)("createStorefrontListing",k),k}})),this.config=e}}},55712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTargetedOfferTxn=void 0;t.getTargetedOfferTxn=(e,t,c,u)=>"DUC"!==t.symbol||c.contractAddress!==e.contractAddresses.TopShot||e.crescendo?"DUC"===t.symbol?e.crescendo?s(e):r(e):u?e.crescendo?a(e):i(e,t):e.crescendo?l(e):o(e,t):n(e);const n=e=>"",r=e=>"",i=(e,t)=>"",o=(e,t)=>"",a=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport Offers from ").concat(e.contractAddresses.Offers,"\nimport Filter from ").concat(e.contractAddresses.Offers,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\ntransaction(\n    collectionIdentifier: String,\n    nftID: UInt64,\n    numAcceptable: Int,\n    offeredAmount: UFix64,\n    paymentTokenIdentifier: String,\n    expiry: UInt64,\n    nftReceiverAddress: Address,\n    ftProviderAddress: Address,\n    ftProviderControllerID: UInt64\n) {\n    let storefront: auth(Offers.List) &Offers.Storefront\n    let paymentTokenType: Type\n    let nftType: Type\n    let tokenProvider: Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n    var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        let value = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier)\n            ?? panic("Collection Identifier is not in the NFT Catalog.")\n\n        if acct.storage.borrow<&Offers.Storefront>(from: Offers.OffersStoragePath) == nil {\n            let s <- Offers.createStorefront()\n            acct.storage.save(<-s, to: Offers.OffersStoragePath)\n\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{Offers.StorefrontPublic}>(Offers.OffersStoragePath),\n                at: Offers.OffersPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        self.storefront = acct.storage.borrow<auth(Offers.List) &Offers.Storefront>(from: Offers.OffersStoragePath) ?? panic("storefront not found")\n        self.paymentTokenType = CompositeType(paymentTokenIdentifier)!\n\n        let paymentTokenAddress = AddressUtils.parseAddress(self.paymentTokenType)!\n        let paymentTokenContractName = self.paymentTokenType.identifier.split(separator: ".")[2]\n        let paymentTokenContract = getAccount(paymentTokenAddress).contracts.borrow<&{ViewResolver}>(name: paymentTokenContractName)\n            ?? panic("payment token does not implement ViewResolver")\n        let ftVaultData = paymentTokenContract.resolveContractView(resourceType: self.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData\n\n        if ftProviderAddress == acct.address {\n            let borrowType = Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>()\n            if let provider = cache.getCapabilityByType(resourceType: self.paymentTokenType, capabilityType: CapabilityType(borrowType)!) {\n                self.tokenProvider = provider as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n            } else {\n                self.tokenProvider = acct.capabilities.storage.issueWithType(ftVaultData.storagePath, type: borrowType) as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n                cache.addCapability(resourceType: self.paymentTokenType, cap: self.tokenProvider)\n            }\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftProviderAddress)\n                ?? panic("fungible token provider address is not a child of this account")\n\n            let ftProviderCap = child.getCapability(controllerID: ftProviderControllerID, type: Type<&{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>())\n                ?? panic("no ft provider found in child account")\n            self.tokenProvider = ftProviderCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n        }\n        assert(self.tokenProvider.check(), message: "invalid token provider")\n\n        if nftReceiverAddress == acct.address {\n            if acct.storage.borrow<&AnyResource>(from: value.collectionData.storagePath) == nil {\n                let contractAcct = getAccount(value.contractAddress)\n                let c = contractAcct.contracts.borrow<&{ViewResolver}>(name: value.contractName)\n                    ?? panic("unable to borrow contract reference to setup collection")\n                let cd = c.resolveContractView(resourceType: value.nftType, viewType: Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                acct.storage.save(<- cd.createEmptyCollection(), to: value.collectionData.storagePath)\n            }\n\n            self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            // unlink and relink first, if it still isn\'t working, then we will try to save it!\n            if !self.collectionCap.check() {\n                // we do not unlink first because this does not come from the NFT Catalog.\n                acct.capabilities.unpublish(value.collectionData.publicPath)\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(value.collectionData.storagePath),\n                    at: value.collectionData.publicPath\n                )\n                self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            }\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child of this account")\n            let nftReceiver = getAccount(nftReceiverAddress)\n            self.collectionCap = nftReceiver.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            // We can\'t change child account links in any way\n        }\n        assert(self.collectionCap.check(), message: "invalid nft collection receiver")\n\n        self.nftType = value.nftType\n    }\n\n    execute {\n        let filter = Filter.TypeAndIDFilter(self.nftType, nftID)\n        let fg = Filter.FilterGroup([filter])\n\n        self.storefront.createOffer(\n            offeredAmount: offeredAmount,\n            paymentTokenType: self.paymentTokenType,\n            filterGroup: fg,\n            expiry: expiry,\n            numAcceptable: numAcceptable,\n            taker: nil,\n            paymentProvider: self.tokenProvider,\n            nftReceiver: self.collectionCap\n        )\n    }\n}'),s=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport OffersV2 from ").concat(e.contractAddresses.OffersV2_Dapper,"\nimport DapperOffersV2 from ").concat(e.contractAddresses.DapperOffersV2,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport Resolver from ").concat(e.contractAddresses.Resolver,"\nimport FlowtyOffersResolver from ").concat(e.contractAddresses.FlowtyOffersResolver,"\nimport StringUtils from ").concat(e.contractAddresses.StringUtils,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,'\n\ntransaction(\n    amount: UFix64,\n    royalties: {Address: UFix64},\n    offerParamsString: {String: String},\n    nftId: UInt64,\n    collectionAddress: Address,\n    collectionName: String,\n    publicPathIdentifier: String,\n    storagePathIdentifier: String,\n    proxyAddress: Address,\n    expiry: UInt64,\n    nftTypeIdentifier: String\n) {\n    var nftReceiver: Capability<&{NonFungibleToken.CollectionPublic}>\n    let dapperOffer: auth(DapperOffersV2.Manager) &DapperOffersV2.DapperOffer\n    let ducVaultRef: Capability<auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault>\n    let resolverCapability: Capability<&{Resolver.ResolverPublic}>\n    let tokenAdminCollection: Capability<auth(DapperOffersV2.ProxyManager) &DapperOffersV2.DapperOffer>\n\n    prepare(signer: auth(Storage, Capabilities) &Account, dapper: auth(Storage, Capabilities) &Account) {\n        let contractAcct = getAccount(collectionAddress)\n        let borrowedContract = contractAcct.contracts.borrow<&{NonFungibleToken}>(name: collectionName) ?? panic("collection not found")\n        let nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nftTypeIdentifier")\n\n        let storagePath = StoragePath(identifier: storagePathIdentifier)!\n        let publicPath = PublicPath(identifier: publicPathIdentifier)!\n        if signer.storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: storagePath) == nil {\n            let c <- borrowedContract.createEmptyCollection(nftType: nftType)\n            signer.storage.save(<-c, to: storagePath)\n            signer.capabilities.unpublish(publicPath)\n            signer.capabilities.publish(\n                signer.capabilities.storage.issue<&{NonFungibleToken.Receiver, NonFungibleToken.CollectionPublic}>(storagePath),\n                at: publicPath\n            )\n        }\n\n        self.nftReceiver = signer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicPath)\n        if !self.nftReceiver.check() {\n            signer.capabilities.unpublish(publicPath)\n            signer.capabilities.publish(\n                signer.capabilities.storage.issue<&{NonFungibleToken.Receiver, NonFungibleToken.CollectionPublic}>(storagePath),\n                at: publicPath\n            )\n            self.nftReceiver = signer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicPath)\n        }\n\n        let dapperOfferType = Type<@DapperOffersV2.DapperOffer>()\n\n        // Link the DapperOffer resource\n        if signer.storage.borrow<&DapperOffersV2.DapperOffer>(from: DapperOffersV2.DapperOffersStoragePath) == nil {\n            let dapperOffer <- DapperOffersV2.createDapperOffer()\n            signer.storage.save(<-dapperOffer, to: DapperOffersV2.DapperOffersStoragePath)\n            signer.capabilities.publish(\n                signer.capabilities.storage.issue<&{DapperOffersV2.DapperOfferPublic}>(DapperOffersV2.DapperOffersStoragePath),\n                at: DapperOffersV2.DapperOffersPublicPath\n            )\n\n            let managerStoragePath = /storage/flowtyDapperOfferManager\n            let cap = signer.storage.copy<Capability<auth(DapperOffersV2.Manager) &{DapperOffersV2.DapperOfferManager}>>(from: managerStoragePath)\n            if cap?.check() != true {\n                let managerCap = signer.capabilities.storage.issue<auth(DapperOffersV2.Manager) &{DapperOffersV2.DapperOfferManager}>(DapperOffersV2.DapperOffersStoragePath)\n                signer.storage.save(managerCap, to: managerStoragePath)\n            }\n        }\n\n        // DapperOfferProxyManager Setup\n        let proxyStoragePath = /storage/flowtyDapperOfferProxy\n        let copiedProxy = signer.storage.copy<Capability<auth(DapperOffersV2.ProxyManager) &DapperOffersV2.DapperOffer>>(from: proxyStoragePath)\n        if copiedProxy?.check() == true {\n            self.tokenAdminCollection = copiedProxy!\n        } else {\n            self.tokenAdminCollection = signer.capabilities.storage.issue<auth(DapperOffersV2.ProxyManager) &DapperOffersV2.DapperOffer>(DapperOffersV2.DapperOffersStoragePath)\n            signer.storage.load<AnyStruct>(from: proxyStoragePath)\n            signer.storage.save(self.tokenAdminCollection, to: proxyStoragePath)\n        }\n\n        if dapper.storage.borrow<&DapperOffersV2.DapperOffer>(from: DapperOffersV2.DapperOffersStoragePath) == nil {\n            let dapperOffer <- DapperOffersV2.createDapperOffer()\n            dapper.storage.save(<-dapperOffer, to: DapperOffersV2.DapperOffersStoragePath)\n            dapper.capabilities.publish(\n                dapper.capabilities.storage.issue<&{DapperOffersV2.DapperOfferPublic}>(DapperOffersV2.DapperOffersStoragePath),\n                at: DapperOffersV2.DapperOffersPublicPath\n            )\n\n            let proxyManagerStoragePath = /storage/dapperProxyManager\n            let proxyCap = dapper.capabilities.storage.issue<auth(DapperOffersV2.ProxyManager) &{DapperOffersV2.DapperOfferManager, DapperOffersV2.DapperOfferProxyManager}>(DapperOffersV2.DapperOffersStoragePath)\n            dapper.storage.save(proxyCap, to: proxyManagerStoragePath)\n        }\n\n        // Setup Proxy Cancel for Dapper\n        let capabilityReceiver = dapper.capabilities.get<&{DapperOffersV2.DapperOfferPublic}>(/public/DapperOffersV2).borrow()\n            ?? panic("Could not borrow capability receiver reference")\n        capabilityReceiver.addProxyCapability(account: signer.address, cap: self.tokenAdminCollection)\n\n        // Get the capability to the offer creators NFT collection\n        self.nftReceiver = signer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(publicPath)\n        assert(self.nftReceiver.check(), message: "Missing or mis-typed collection receiver")\n\n        self.dapperOffer = signer.storage.borrow<auth(DapperOffersV2.Manager) &DapperOffersV2.DapperOffer>(from: DapperOffersV2.DapperOffersStoragePath)\n            ?? panic("Missing or mis-typed DapperOffersV2.DapperOffer")\n        // Get the capability to the DUC vault\n\n        let ducCapStoragePath = /storage/flowtyDucProvider\n        let copiedDucProvider = dapper.storage.copy<Capability<auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault>>(from: ducCapStoragePath)\n        if copiedDucProvider?.check() == true {\n            self.ducVaultRef = copiedDucProvider!\n        } else {\n            self.ducVaultRef = dapper.capabilities.storage.issue<auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault>(/storage/dapperUtilityCoinVault)\n            dapper.storage.save(self.ducVaultRef, to: ducCapStoragePath)\n        }\n\n        assert(self.ducVaultRef.check() != nil, message: "Missing or mis-typed DapperUtilityCoin provider")\n        self.resolverCapability = FlowtyOffersResolver.getResolverCap()\n    }\n\n    execute {\n        var royaltysList: [OffersV2.Royalty] = []\n        for k in royalties.keys {\n            royaltysList.append(OffersV2.Royalty(\n                receiver: getAccount(k).capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver),\n                amount: royalties[k]!\n            ))\n        }\n\n        let str = collectionAddress.toString()\n        let typeId = StringUtils.join(["A", str.slice(from: 2, upTo: str.length), collectionName, "NFT"], ".")\n\n        offerParamsString.insert(key: "nftId", nftId.toString())\n        offerParamsString.insert(key: "resolver", FlowtyOffersResolver.ResolverType.NFT.rawValue.toString())\n        offerParamsString.insert(key: "_type", "NFT")\n        offerParamsString.insert(key: "typeId", typeId)\n\n        let offerParamsUInt64: {String: UInt64} = { "expiry": expiry }\n\n        self.dapperOffer.createOffer(\n            vaultRefCapability: self.ducVaultRef,\n            nftReceiverCapability: self.nftReceiver,\n            nftType: CompositeType(typeId)!,\n            amount: amount,\n            royalties: royaltysList,\n            offerParamsString: offerParamsString,\n            offerParamsUFix64: {},\n            offerParamsUInt64: offerParamsUInt64,\n            resolverCapability: self.resolverCapability\n        )\n    }\n}'),l=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport StringUtils from ").concat(e.contractAddresses.StringUtils,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport Offers from ").concat(e.contractAddresses.Offers,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport Filter from ").concat(e.contractAddresses.Offers,"\nimport CapabilityCache from ").concat(e.contractAddresses.CapabilityCache,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,'\n\ntransaction(\n    nftTypeIdentifier: String,\n    nftID: UInt64,\n    numAcceptable: Int,\n    offeredAmount: UFix64,\n    paymentTokenIdentifier: String,\n    expiry: UInt64,\n    nftReceiverAddress: Address,\n    ftProviderAddress: Address,\n    ftProviderControllerID: UInt64\n) {\n    let storefront: auth(Offers.List) &Offers.Storefront\n    let paymentTokenType: Type\n    let nftType: Type\n    let tokenProvider: Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n    var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(acct: auth(Capabilities, Storage) &Account) {\n        self.nftType = CompositeType(nftTypeIdentifier) ?? panic("invalid nft type identifier")\n        let collectionAddress = AddressUtils.parseAddress(self.nftType) ?? panic("no address found in nftType")\n        let collectionName = nftTypeIdentifier.split(separator: ".")[2]\n    \n        let contractAcct = getAccount(collectionAddress)\n        let nftContract = contractAcct.contracts.borrow<&{ViewResolver}>(name: collectionName) ?? panic("collection not found")\n        let collectionData = (\n            nftContract.resolveContractView(resourceType: self.nftType, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("collection does not implement NFTCollectionData Metadata View")\n        ) as! MetadataViews.NFTCollectionData\n\n        if acct.storage.borrow<&Offers.Storefront>(from: Offers.OffersStoragePath) == nil {\n            let s <- Offers.createStorefront()\n            acct.storage.save(<-s, to: Offers.OffersStoragePath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{Offers.StorefrontPublic}>(Offers.OffersStoragePath),\n                at: Offers.OffersPublicPath\n            )\n        }\n\n        let namespace = "flowty"\n        let cacheStoragePath = CapabilityCache.getPathForCache(namespace)\n        if acct.storage.borrow<&CapabilityCache.Cache>(from: cacheStoragePath) == nil {\n            let c <- CapabilityCache.createCache(namespace: namespace)\n            acct.storage.save(<-c, to: cacheStoragePath)\n        }\n        let cache = acct.storage.borrow<auth(CapabilityCache.Add, CapabilityCache.Get) &CapabilityCache.Cache>(from: cacheStoragePath)\n            ?? panic("capability cache not found")\n\n        self.storefront = acct.storage.borrow<auth(Offers.List) &Offers.Storefront>(from: Offers.OffersStoragePath) ?? panic("storefront not found")\n        self.paymentTokenType = CompositeType(paymentTokenIdentifier)!\n\n        let paymentTokenAddress = AddressUtils.parseAddress(self.paymentTokenType)!\n        let paymentTokenContractName = self.paymentTokenType.identifier.split(separator: ".")[2]\n        let paymentTokenContract = getAccount(paymentTokenAddress).contracts.borrow<&{ViewResolver}>(name: paymentTokenContractName)\n            ?? panic("payment token does not implement ViewResolver")\n        let ftVaultData = paymentTokenContract.resolveContractView(resourceType: self.paymentTokenType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData\n\n        if ftProviderAddress == acct.address {\n            let borrowType = Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>()\n            if let provider = cache.getCapabilityByType(resourceType: self.paymentTokenType, capabilityType: CapabilityType(borrowType)!) {\n                self.tokenProvider = provider as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n            } else {\n                self.tokenProvider = acct.capabilities.storage.issueWithType(ftVaultData.storagePath, type: borrowType) as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n                cache.addCapability(resourceType: self.paymentTokenType, cap: self.tokenProvider)\n            }\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: ftProviderAddress) ?? panic("fungible token provider address is not a child of this account")\n            let ftProviderCap = child.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>())\n                ?? panic("no ft provider found in child account")\n            self.tokenProvider = ftProviderCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider, FungibleToken.Balance, FungibleToken.Receiver}>\n        }\n        assert(self.tokenProvider.check(), message: "invalid token provider")\n\n        if nftReceiverAddress == acct.address {\n            if acct.storage.borrow<&AnyResource>(from: collectionData.storagePath) == nil {\n                acct.storage.save(<- collectionData.createEmptyCollection(), to: collectionData.storagePath)\n            }\n\n            self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n            if !self.collectionCap.check() {\n                // we do not unlink first because this does not come from the NFT Catalog.\n                acct.capabilities.publish(\n                    acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(collectionData.storagePath),\n                    at: collectionData.publicPath\n                )\n                self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n            }\n        } else {\n            let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("Missing or mis-typed HybridCustody Manager")\n\n            let child = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child of this account")\n            let nftReceiver = getAccount(nftReceiverAddress)\n            self.collectionCap = nftReceiver.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n            // We can\'t change child account links in any way\n        }\n        assert(self.collectionCap.check(), message: "invalid nft collection receiver")\n    }\n\n    execute {\n        let filter = Filter.TypeAndIDFilter(self.nftType, nftID)\n        let fg = Filter.FilterGroup([filter])\n\n        self.storefront.createOffer(\n            offeredAmount: offeredAmount,\n            paymentTokenType: self.paymentTokenType,\n            filterGroup: fg,\n            expiry: expiry,\n            numAcceptable: numAcceptable,\n            taker: nil,\n            paymentProvider: self.tokenProvider,\n            nftReceiver: self.collectionCap\n        )\n    }\n}')},38769:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.StorefrontPurchase=t.InvalidListingMessage=void 0;const i=n(53918),o=n(27263),a=n(19388),s=n(65094);t.InvalidListingMessage="Uh oh! This listing is no longer valid. Our system is working on removing it from the marketplace.";t.StorefrontPurchase=class{constructor(e){r(this,"config",void 0),r(this,"purchaseStorefrontListing",(async e=>{let{listing:n,token:r,nftReceiverAddress:l,ftProviderAddress:c,privateFTPath:u,txAvailableCallback:d}=e;const{commissionReceivers:h,listingResourceID:p,storefrontAddress:f,type:m,nftType:g,paymentTokenName:v}=n;let C=this.config.contractAddresses.NFTStorefrontV2;h&&!h.includes(C)&&h[0]&&([C]=h);if(!await(0,i.validateListing)(n,this.config.apiURL))throw new Error(t.InvalidListingMessage);const y=await(0,i.getCatalogEntryForType)(g,this.config),b=(0,o.getStorefrontPurchaseTxn)(this.config,!!y,m,r),w=this.config.crescendo?a.arg(u||"0",s.UInt64):a.arg(u,s.String),x=[a.arg(f,s.Address),a.arg(p.toString(),s.UInt64),a.arg(C,s.Address)];y?(x.push(a.arg(y,s.String)),x.push(a.arg(l,s.Address)),["DUC","FUT"].includes(v)||(x.push(a.arg(c,s.Address)),x.push(w))):(x.push(a.arg(l,s.Address)),x.push(a.arg(c,s.Address)),x.push(w)),console.debug("storefront purchase txn",{txArgs:x,txContent:b});try{return await(0,i.sendMutation)(b,x,d)}catch(A){throw console.log("TX ERROR",A),(0,i.Err)("createStorefrontListing",A),A}})),this.config=e}}},27263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStorefrontPurchaseTxn=void 0;const r=n(10514);t.getStorefrontPurchaseTxn=(e,t,n,a)=>{const s=(0,r.formatAddress)(n.split(".")[1]);if(s===e.contractAddresses.NFTStorefrontV2)return i(e,t,a);if(s===e.contractAddresses.NFTStorefrontV2_Shared)return o(e,t,a);throw new Error("invalid listing type")};const i=(e,t,n)=>"DUC"===n.symbol?e.crescendo?v(e):a(e):t?e.crescendo?p(e):s(e,n):e.crescendo?f(e):l(e,n),o=(e,t,n)=>"DUC"===n.symbol?e.crescendo?g(e):c(e):t?e.crescendo?m(e):u(e,n):e.crescendo?h(e):d(e,n),a=e=>"",s=(e,t)=>"",l=(e,t)=>"",c=e=>"",u=(e,t)=>"",d=(e,t)=>"",h=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2_Shared,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\n/// Transaction facilitates the purchase of listed NFT.\n/// It takes the storefront address, listing resource that need\n/// to be purchased & a address that will takeaway the commission.\ntransaction(\n  storefrontAddress: Address,\n  listingResourceID: UInt64,\n  commissionRecipient: Address,\n  nftReceiverAddress: Address,\n  paymentAddress: Address,\n  ftControllerId: UInt64\n) {\n    let paymentVault: @{FungibleToken.Vault}\n    let collection: &{NonFungibleToken.CollectionPublic}\n    let storefront: &{NFTStorefrontV2.StorefrontPublic}\n    let listing: &{NFTStorefrontV2.ListingPublic}\n    var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n    let collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(acct: auth(Storage, Capabilities) &Account) {\n        if acct.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            let storefront <- NFTStorefrontV2.createStorefront()\n            acct.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n            acct.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            acct.capabilities.publish(\n              acct.capabilities.storage.issue<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontStoragePath),\n              at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        self.commissionRecipientCap = nil\n        self.storefront = getAccount(storefrontAddress).capabilities.get<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath).borrow()\n            ?? panic("Could not borrow Storefront from provided address")\n        assert(self.storefront.getType() == Type<@NFTStorefrontV2.Storefront>(), message: "unexpected storefront type")\n\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("No Offer with that ID in Storefront")\n        let listingDetails = self.listing.getDetails()\n        let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n        let md = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n        let collectionData = md as! MetadataViews.NFTCollectionData\n\n        if nftReceiverAddress == acct.address {\n          self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n\n          // unlink and relink first, if it still isn\'t working, then we will try to save it!\n          if !self.collectionCap.check() {\n            if acct.storage.borrow<&AnyResource>(from: collectionData.storagePath) == nil {\n              // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n              // if it is not already configured.\n              let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n              acct.storage.save(<- collectionData.createEmptyCollection(), to: collectionData.storagePath)\n            }\n\n            acct.capabilities.unpublish(collectionData.publicPath)\n            acct.capabilities.publish(\n              acct.capabilities.storage.issue<&{NonFungibleToken.Collection}>(collectionData.storagePath),\n              at: collectionData.publicPath\n            )\n          }\n        } else {\n          // signer is the parent account and nftReceiver is child Account\n          // get the manager resource and borrow proxyAccount\n          let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n          let childAcct = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child account")\n          self.collectionCap = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n        }\n\n        // Access the acct or child\'s NFT collection to store the purchased NFT.\n        assert(self.collectionCap.check(), message: "Cannot borrow NFT collection receiver")\n        self.collection = self.collectionCap.borrow()!\n\n        let ftAddress = AddressUtils.parseAddress(listingDetails.salePaymentVaultType)!\n        let contractName = listingDetails.salePaymentVaultType.identifier.split(separator: ".")[2]\n        let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n            ?? panic("could not borrow fungible token contract")\n\n        let ftVaultData = ftContract.resolveContractView(resourceType: listingDetails.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n\n        if paymentAddress == acct.address {\n          let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n            ?? panic("Cannot borrow token vault from acct storage")\n          self.paymentVault <- vault.withdraw(amount: listingDetails.salePrice)\n        } else {\n          // signer is the parent account and ftProvider is child Account\n          // get the manager resource and borrow proxyAccount\n          let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n          let childAcct = manager.borrowAccount(addr: paymentAddress) ?? panic("ftProvider account not found")\n\n          let providerCap = childAcct.getCapability(controllerID: ftControllerId, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>()) ?? panic("token provider not found for supplied child account address")\n          let ftProvider = providerCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n          let ftProviderVault = ftProvider.borrow() ?? panic("child account token vault could not be borrowed")\n          self.paymentVault <- ftProviderVault.withdraw(amount: listingDetails.salePrice)\n        }\n\n        if commissionRecipient != nil && listingDetails.commissionAmount != 0.0 {\n            // Access the capability to receive the commission.\n            let _commissionRecipientCap = getAccount(commissionRecipient).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n            assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have token receiving capability")\n            self.commissionRecipientCap = _commissionRecipientCap\n        } else if listingDetails.commissionAmount == 0.0 {\n            self.commissionRecipientCap = nil\n        } else {\n            panic("Commission recipient can not be empty when commission amount is non zero")\n        }\n    }\n\n    execute {\n        // Purchase the NFT\n        let item <- self.listing.purchase(\n            payment: <-self.paymentVault,\n            commissionRecipient: self.commissionRecipientCap,\n        )\n        // Deposit the NFT in the acct\'s collection.\n        self.collection.deposit(token: <-item)\n    }\n}'),p=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\n/// Storefront purchase txn that can route nfts to a child, and take tokens from a child to pay\ntransaction(\n    storefrontAddress: Address,\n    listingResourceID: UInt64,\n    commissionRecipient: Address,\n    collectionIdentifier: String,\n    nftReceiverAddress: Address,\n    ftProviderAddress: Address,\n    ftProviderControllerID: UInt64\n) {\n  let paymentVault: @{FungibleToken.Vault}\n  let collection: &{NonFungibleToken.CollectionPublic}\n  let storefront: &{NFTStorefrontV2.StorefrontPublic}\n  let listing: &{NFTStorefrontV2.ListingPublic}\n  var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n  var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n  let listingAcceptor: auth(NFTStorefrontV2.Acceptor) &{NFTStorefrontV2.PrivateListingAcceptor}\n\n  prepare(acct: auth(Storage, Capabilities) &Account) {\n    if acct.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n        let storefront <- NFTStorefrontV2.createStorefront()\n        acct.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n        acct.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n        acct.capabilities.publish(\n            acct.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n            at: NFTStorefrontV2.StorefrontPublicPath\n        )\n    }\n\n    self.listingAcceptor = acct.storage.borrow<auth(NFTStorefrontV2.Acceptor) &{NFTStorefrontV2.PrivateListingAcceptor}>(from: NFTStorefrontV2.StorefrontStoragePath) ?? panic("Buyer storefront is invalid")\n\n    let value = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n    self.commissionRecipientCap = nil\n    // Access the storefront public resource of the seller to purchase the listing.\n    self.storefront = getAccount(storefrontAddress).capabilities.get<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath).borrow()\n        ?? panic("Could not borrow Storefront from provided address")\n\n    // Borrow the listing\n    self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n        ?? panic("Listing not found")\n    let listingDetails = self.listing.getDetails()\n    let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n    if nftReceiverAddress == acct.address {\n        self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n        // unlink and relink first, if it still isn\'t working, then we will try to save it!\n        if !self.collectionCap.check() {\n            if acct.storage.borrow<&AnyResource>(from: value.collectionData.storagePath) == nil {\n                // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n                // if it is not already configured.\n                let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                acct.storage.save(<- collectionData.createEmptyCollection(), to: value.collectionData.storagePath)\n            }\n\n            acct.capabilities.unpublish(value.collectionData.publicPath)\n            acct.capabilities.publish(\n                acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(value.collectionData.storagePath),\n                at: value.collectionData.publicPath\n            )\n            self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n        }\n    } else {\n        // signer is the parent account and nftProvider is child Account\n        // get the manager resource and borrow proxyAccount\n        let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n        let childAcct = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child account")\n        self.collectionCap = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n        // We can\'t change child account links in any way\n    }\n\n    // Access the acct or child\'s NFT collection to store the purchased NFT.\n    self.collection = self.collectionCap.borrow() ?? panic("Cannot borrow NFT collection receiver")\n\n    let paymentTokenAddress = AddressUtils.parseAddress(listingDetails.salePaymentVaultType)!\n    let paymentTokenContractName = listingDetails.salePaymentVaultType.identifier.split(separator: ".")[2]\n    let paymentTokenContract = getAccount(paymentTokenAddress).contracts.borrow<&{ViewResolver}>(name: paymentTokenContractName)\n        ?? panic("payment token does not implement ViewResolver")\n    let ftVaultData = paymentTokenContract.resolveContractView(resourceType: listingDetails.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData\n\n    // Access the vault of the buyer/child to pay the sale price of the listing.\n    if ftProviderAddress == acct.address{\n      let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n        ?? panic("Cannot borrow token vault from acct storage")\n      self.paymentVault <- vault.withdraw(amount: listingDetails.salePrice)\n    } else {\n      // signer is the parent account and ftProvider is child Account\n      // get the manager resource and borrow proxyAccount\n      let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: ftProviderAddress) ?? panic("ftProvider account not found")\n\n      let providerCap = childAcct.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>())\n        ?? panic("token provider not found for supplied child account address")\n      let ftProvider = providerCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n      let ftProviderVault = ftProvider.borrow() ?? panic("child account token vault could not be borrowed")\n      self.paymentVault <- ftProviderVault.withdraw(amount: listingDetails.salePrice)\n    }\n\n    if commissionRecipient != nil && listingDetails.commissionAmount != 0.0 {\n      // Access the capability to receive the commission.\n      let _commissionRecipientCap = getAccount(commissionRecipient).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n      assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have token receiving capability")\n      self.commissionRecipientCap = _commissionRecipientCap\n    } else if listingDetails.commissionAmount == 0.0 {\n      self.commissionRecipientCap = nil\n    } else {\n      panic("Commission recipient can not be empty when commission amount is non zero")\n    }\n  }\n\n  execute {\n    // Purchase the NFT\n    let item <- self.listing.purchase(\n      payment: <-self.paymentVault,\n      commissionRecipient: self.commissionRecipientCap,\n      privateListingAcceptor: self.listingAcceptor\n    )\n    // Deposit the NFT in the buyer\'s collection.\n    self.collection.deposit(token: <-item)\n  }\n}'),f=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\n/// Transaction facilitates the purchase of listed NFT.\n/// It takes the storefront address, listing resource that need\n/// to be purchased & a address that will receive the commission.\ntransaction(\n    storefrontAddress: Address,\n    listingResourceID: UInt64,\n    commissionRecipient: Address,\n    nftReceiverAddress: Address,\n    paymentAddress: Address,\n    paymentProviderControllerID: UInt64\n) {\n    let paymentVault: @{FungibleToken.Vault}\n    let collection: &{NonFungibleToken.CollectionPublic}\n    let storefront: &{NFTStorefrontV2.StorefrontPublic}\n    let listing: &{NFTStorefrontV2.ListingPublic}\n    var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n    let listingAcceptor: auth(NFTStorefrontV2.Acceptor) &{NFTStorefrontV2.PrivateListingAcceptor}\n    var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(buyer: auth(Capabilities, Storage) &Account) {\n        if buyer.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            // Create a new empty Storefront\n            let storefront <- NFTStorefrontV2.createStorefront()\n            // save it to the account\n            buyer.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n            // create a public capability for the Storefront, first unlinking to ensure we remove anything that\'s already present\n            buyer.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            buyer.capabilities.publish(\n                buyer.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        self.listingAcceptor = buyer.storage.borrow<auth(NFTStorefrontV2.Acceptor) &{NFTStorefrontV2.PrivateListingAcceptor}>(from: NFTStorefrontV2.StorefrontStoragePath) ?? panic("Buyer storefront is invalid")\n\n        self.commissionRecipientCap = nil\n        // Access the storefront public resource of the seller to purchase the listing.\n        self.storefront = getAccount(storefrontAddress)\n            .capabilities.get<&{NFTStorefrontV2.StorefrontPublic}>(\n                NFTStorefrontV2.StorefrontPublicPath\n            ).borrow()\n            ?? panic("Could not borrow Storefront from provided address")\n\n        // Borrow the listing\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("No Offer with that ID in Storefront")\n        let listingDetails = self.listing.getDetails()\n        let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n        let md = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n        let collectionData = md as! MetadataViews.NFTCollectionData\n\n        if nftReceiverAddress == buyer.address {\n            self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n\n            // unlink and relink first, if it still isn\'t working, then we will try to save it!\n            if !self.collectionCap.check() {\n                if buyer.storage.borrow<&AnyResource>(from: collectionData.storagePath) == nil {\n                    // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n                    // if it is not already configured.\n                    let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                    buyer.storage.save(<- collectionData.createEmptyCollection(), to: collectionData.storagePath)\n                }\n\n                buyer.capabilities.unpublish(collectionData.publicPath)\n                buyer.capabilities.publish(\n                    buyer.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(collectionData.storagePath),\n                    at: collectionData.publicPath\n                )\n            }\n            self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n        } else {\n            // signer is the parent account and nftProvider is child Account\n            // get the manager resource and borrow proxyAccount\n            let manager = buyer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: nftReceiverAddress)\n                ?? panic("nft receiver address is not a child account")\n            self.collectionCap = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath)\n            // We can\'t change child account links in any way\n        }\n\n        // Access the buyer or child\'s NFT collection to store the purchased NFT.\n        assert(self.collectionCap.check(), message: "Cannot borrow NFT collection receiver")\n        self.collection = self.collectionCap.borrow()!\n\n        let paymentTokenAddress = AddressUtils.parseAddress(listingDetails.salePaymentVaultType)!\n        let paymentTokenContractName = listingDetails.salePaymentVaultType.identifier.split(separator: ".")[2]\n        let paymentTokenContract = getAccount(paymentTokenAddress).contracts.borrow<&{ViewResolver}>(name: paymentTokenContractName)\n            ?? panic("payment token does not implement ViewResolver")\n        let ftVaultData = paymentTokenContract.resolveContractView(resourceType: listingDetails.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData\n\n        if paymentAddress == buyer.address {\n            let vault = buyer.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n                ?? panic("Cannot borrow token vault from acct storage")\n            self.paymentVault <- vault.withdraw(amount: listingDetails.salePrice)\n        } else {\n          // signer is the parent account and ftProvider is child Account\n          // get the manager resource and borrow proxyAccount\n          let manager = buyer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n            ?? panic("manager does not exist")\n          let childAcct = manager.borrowAccount(addr: paymentAddress) ?? panic("ftProvider account not found")\n\n          let providerCap = childAcct.getCapability(controllerID: paymentProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>())\n            ?? panic("token provider not found for supplied child account address")\n          let ftProvider = providerCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n          assert(ftProvider.check(), message: "invalid provider capability")\n          let ftProviderVault = ftProvider.borrow() ?? panic("child account token vault could not be borrowed")\n          self.paymentVault <- ftProviderVault.withdraw(amount: listingDetails.salePrice)\n        }\n\n        if commissionRecipient != nil && listingDetails.commissionAmount != 0.0 {\n            // Access the capability to receive the commission.\n            let _commissionRecipientCap = getAccount(commissionRecipient).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n            assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have receiving capability")\n            self.commissionRecipientCap = _commissionRecipientCap\n        } else if listingDetails.commissionAmount == 0.0 {\n            self.commissionRecipientCap = nil\n        } else {\n            panic("Commission recipient can not be empty when commission amount is non zero")\n        }\n    }\n\n    execute {\n        // Purchase the NFT\n        let item <- self.listing.purchase(\n            payment: <-self.paymentVault,\n            commissionRecipient: self.commissionRecipientCap,\n            privateListingAcceptor: self.listingAcceptor\n        )\n        // Deposit the NFT in the buyer\'s collection.\n        self.collection.deposit(token: <-item)\n    }\n}'),m=e=>"import FungibleToken from ".concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2_Shared,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,"\nimport FungibleTokenMetadataViews from ").concat(e.contractAddresses.FungibleTokenMetadataViews,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\n// Shared Storefront purchase txn that can route nfts to a child, and take tokens from a child to pay\ntransaction(\n  storefrontAddress: Address,\n  listingResourceID: UInt64,\n  commissionRecipient: Address,\n  collectionIdentifier: String,\n  nftReceiverAddress: Address,\n  ftProviderAddress: Address,\n  ftProviderControllerID: UInt64\n) {\n  let paymentVault: @{FungibleToken.Vault}\n  let collection: &{NonFungibleToken.CollectionPublic}\n  let storefront: &{NFTStorefrontV2.StorefrontPublic}\n  let listing: &{NFTStorefrontV2.ListingPublic}\n  var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n  var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n  prepare(acct: auth(Storage, Capabilities) &Account) {\n    if acct.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n      let storefront <- NFTStorefrontV2.createStorefront()\n      acct.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n\n      acct.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n      acct.capabilities.publish(\n        acct.capabilities.storage.issue<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontStoragePath),\n        at: NFTStorefrontV2.StorefrontPublicPath\n      )\n    }\n\n    let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n    self.commissionRecipientCap = nil\n    // Access the storefront public resource of the seller to purchase the listing.\n    self.storefront = getAccount(storefrontAddress).capabilities.get<&{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath).borrow()\n      ?? panic("Could not borrow Storefront from provided address")\n    assert(self.storefront.getType() == Type<@NFTStorefrontV2.Storefront>(), message: "unexpected storefront type")\n\n    // Borrow the listing\n    self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n      ?? panic("Listing not found")\n    let listingDetails = self.listing.getDetails()\n\n    let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n    if nftReceiverAddress == acct.address {\n      self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.publicPath)\n\n      // unlink and relink first, if it still isn\'t working, then we will try to save it!\n      if !self.collectionCap.check() {\n        if acct.storage.borrow<&AnyResource>(from: catalogEntry.collectionData.storagePath) == nil {\n          // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n          // if it is not already configured.\n          let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n          acct.storage.save(<- collectionData.createEmptyCollection(), to: catalogEntry.collectionData.storagePath)\n        }\n\n        acct.capabilities.unpublish(catalogEntry.collectionData.publicPath)\n        acct.capabilities.publish(\n          acct.capabilities.storage.issue<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.storagePath),\n          at: catalogEntry.collectionData.publicPath\n        )\n         self.collectionCap = acct.capabilities.get<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.publicPath)\n      }\n    } else {\n      // signer is the parent account and nftProvider is child Account\n      // get the manager resource and borrow proxyAccount\n      let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child account")\n      self.collectionCap = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.publicPath)\n      // We can\'t change child account links in any way\n    }\n\n    // Access the buyer or child\'s NFT collection to store the purchased NFT.\n    self.collection = self.collectionCap.borrow() ?? panic("Cannot borrow NFT collection receiver")\n\n    // Access the vault of the buyer/child to pay the sale price of the listing.\n    let ftAddress = AddressUtils.parseAddress(listingDetails.salePaymentVaultType)!\n    let contractName = listingDetails.salePaymentVaultType.identifier.split(separator: ".")[2]\n    let ftContract = getAccount(ftAddress).contracts.borrow<&{FungibleToken}>(name: contractName)\n        ?? panic("could not borrow fungible token contract")\n\n    let ftVaultData = ftContract.resolveContractView(resourceType: listingDetails.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData \n    if ftProviderAddress == acct.address {\n      let vault = acct.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>(from: ftVaultData.storagePath)\n        ?? panic("Cannot borrow token vault from acct storage")\n      self.paymentVault <- vault.withdraw(amount: listingDetails.salePrice)\n    } else {\n      // signer is the parent account and ftProvider is child Account\n      // get the manager resource and borrow proxyAccount\n      let manager = acct.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: ftProviderAddress) ?? panic("ftProvider account not found")\n\n      let providerCap = childAcct.getCapability(controllerID: ftProviderControllerID, type: Type<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>()) ?? panic("token provider not found for supplied child account address")\n      let ftProvider = providerCap as! Capability<auth(FungibleToken.Withdraw) &{FungibleToken.Provider}>\n      let ftProviderVault = ftProvider.borrow() ?? panic("child account token vault could not be borrowed")\n      self.paymentVault <- ftProviderVault.withdraw(amount: listingDetails.salePrice)\n    }\n\n    if commissionRecipient != nil && listingDetails.commissionAmount != 0.0 {\n      // Access the capability to receive the commission.\n      let _commissionRecipientCap = getAccount(commissionRecipient).capabilities.get<&{FungibleToken.Receiver}>(ftVaultData.receiverPath)\n      assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have token receiving capability")\n      self.commissionRecipientCap = _commissionRecipientCap\n    } else if listingDetails.commissionAmount == 0.0 {\n      self.commissionRecipientCap = nil\n    } else {\n      panic("Commission recipient can not be empty when commission amount is non zero")\n    }\n  }\n\n  execute {\n    // Purchase the NFT\n    let item <- self.listing.purchase(\n      payment: <-self.paymentVault,\n      commissionRecipient: self.commissionRecipientCap\n    )\n    // Deposit the NFT in the buyer\'s (or child\'s) collection.\n    self.collection.deposit(token: <-item)\n  }\n}'),g=e=>"import DapperUtilityCoin from ".concat(e.contractAddresses.DapperUtilityCoin,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2_Shared,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\n// Purchase an item from the shared storefront, a contract maintained by the Flow Foundation\ntransaction(storefrontAddress: Address, listingResourceID: UInt64, commissionRecipient: Address, collectionIdentifier: String, nftReceiverAddress: Address) {\n    let paymentVault: @{FungibleToken.Vault}\n    let collection: &{NonFungibleToken.CollectionPublic}\n    let storefront: &NFTStorefrontV2.Storefront\n    let listing: &{NFTStorefrontV2.ListingPublic}\n    var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n    let balanceBeforeTransfer: UFix64\n    let mainPaymentVault: auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault\n    var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n\n    prepare(dapper: auth(BorrowValue) &Account, buyer: auth(Storage, Capabilities) &Account) {\n        if buyer.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            let storefront <- NFTStorefrontV2.createStorefront()\n            buyer.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n            // create a public capability for the Storefront, first unlinking to ensure we remove anything that\'s already present\n            buyer.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            buyer.capabilities.publish(\n                buyer.capabilities.storage.issue<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        let value = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n        self.commissionRecipientCap = nil\n        // Access the storefront public resource of the seller to purchase the listing.\n        self.storefront = getAccount(storefrontAddress).capabilities.get<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontPublicPath).borrow()\n            ?? panic("Could not borrow Storefront from provided address")\n\n        // Borrow the listing\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n          ?? panic("Listing could not be found")\n        let listingDetails = self.listing.getDetails()\n        let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n        if nftReceiverAddress == buyer.address {\n            self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n\n            // unlink and relink first, if it still isn\'t working, then we will try to save it!\n            if !self.collectionCap.check() {\n                if buyer.storage.borrow<&AnyResource>(from: value.collectionData.storagePath) == nil {\n                    // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n                    // if it is not already configured.\n                    let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                    buyer.storage.save(<- collectionData.createEmptyCollection(), to: value.collectionData.storagePath)\n\n                    buyer.capabilities.unpublish(value.collectionData.publicPath)\n                    buyer.capabilities.publish(\n                        buyer.capabilities.storage.issue<&{NonFungibleToken.Collection}>(value.collectionData.storagePath),\n                        at: value.collectionData.publicPath\n                    )\n                }\n                self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            }\n        } else {\n            let nftReceiver = getAccount(nftReceiverAddress)\n            let manager = buyer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child account")\n            self.collectionCap = nftReceiver.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            // We can\'t change child account links in any way\n        }\n\n        if !self.collectionCap.check() {\n            if buyer.storage.borrow<&AnyResource>(from: value.collectionData.storagePath) == nil {\n                // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n                // if it is not already configured.\n                let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                buyer.storage.save(<-collectionData.createEmptyCollection(), to: value.collectionData.storagePath)\n            }\n\n            buyer.capabilities.unpublish(value.collectionData.publicPath)\n        }\n\n        // Access the buyer\'s NFT collection to store the purchased NFT.\n        self.collection = self.collectionCap.borrow() ?? panic("Cannot borrow NFT collection receiver from account")\n\n        let price = listingDetails.salePrice\n\n        // Access the vault of the buyer to pay the sale price of the listing.\n        self.mainPaymentVault = dapper.storage.borrow<auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault>(from: /storage/dapperUtilityCoinVault)\n            ?? panic("Cannot borrow DapperUtilityCoin vault from buyer storage")\n        self.balanceBeforeTransfer = self.mainPaymentVault.balance\n        self.paymentVault <- self.mainPaymentVault.withdraw(amount: price)\n\n        // Fetch the commission amt.\n        let commissionAmount = self.listing.getDetails().commissionAmount\n\n        if commissionRecipient != nil && commissionAmount != 0.0 {\n            // Access the capability to receive the commission.\n            let _commissionRecipientCap = getAccount(commissionRecipient!).capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver)\n            assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have DapperUtilityCoin receiving capability")\n            self.commissionRecipientCap = _commissionRecipientCap\n        } else if commissionAmount == 0.0 {\n            self.commissionRecipientCap = nil\n        } else {\n            panic("Commission recipient can not be empty when commission amount is non zero")\n        }\n\n    }\n\n    execute {\n        let listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("Listing could not be found")\n\n        let item <- listing.purchase(payment: <-self.paymentVault, commissionRecipient: self.commissionRecipientCap)\n        self.collection.deposit(token: <-item)\n    }\n\n    post {\n        self.mainPaymentVault.balance == self.balanceBeforeTransfer: "DapperUtilityCoin leakage"\n    }\n\n}'),v=e=>"import DapperUtilityCoin from ".concat(e.contractAddresses.DapperUtilityCoin,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport NonFungibleToken from ").concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\n// Purchase a listing from Flowty\'s NFT Storefront\n\ntransaction(storefrontAddress: Address, listingResourceID: UInt64, commissionRecipient: Address, collectionIdentifier: String, nftReceiverAddress: Address) {\n    let paymentVault: @{FungibleToken.Vault}\n    let collection: &{NonFungibleToken.CollectionPublic}\n    var collectionCap: Capability<&{NonFungibleToken.CollectionPublic}>\n    let storefront: &NFTStorefrontV2.Storefront\n    let listing: &{NFTStorefrontV2.ListingPublic}\n    var commissionRecipientCap: Capability<&{FungibleToken.Receiver}>?\n    let balanceBeforeTransfer: UFix64\n    let mainPaymentVault: auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault\n    let listingAcceptor: auth(NFTStorefrontV2.Acceptor) &NFTStorefrontV2.Storefront\n\n    prepare(dapper: auth(BorrowValue) &Account, buyer: auth(Storage, Capabilities) &Account) {\n        if buyer.storage.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {\n            // Create a new empty Storefront\n            let storefront <- NFTStorefrontV2.createStorefront()\n            // save it to the account\n            buyer.storage.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)\n            // create a public capability for the Storefront, first unlinking to ensure we remove anything that\'s already present\n            buyer.capabilities.unpublish(NFTStorefrontV2.StorefrontPublicPath)\n            buyer.capabilities.publish(\n                buyer.capabilities.storage.issue<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontStoragePath),\n                at: NFTStorefrontV2.StorefrontPublicPath\n            )\n        }\n\n        self.listingAcceptor = buyer.storage.borrow<auth(NFTStorefrontV2.Acceptor) &NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) ?? panic("Buyer storefront is invalid")\n\n        let value = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n        self.commissionRecipientCap = nil\n        // Access the storefront public resource of the seller to purchase the listing.\n        self.storefront = getAccount(storefrontAddress).capabilities.get<&NFTStorefrontV2.Storefront>(NFTStorefrontV2.StorefrontPublicPath)!.borrow()\n            ?? panic("Could not borrow Storefront from provided address")\n\n        // Borrow the listing\n        self.listing = self.storefront.borrowListing(listingResourceID: listingResourceID)\n            ?? panic("Listing not found")\n        let listingDetails = self.listing.getDetails()\n        let nftRef = self.listing.borrowNFT() ?? panic("nft not found")\n\n        if nftReceiverAddress == buyer.address {\n            self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            // unlink and relink first, if it still isn\'t working, then we will try to save it!\n            if !self.collectionCap.check() {\n                if buyer.storage.borrow<&AnyResource>(from: value.collectionData.storagePath) == nil {\n                    // pull the metdata resolver for this listing\'s nft and use it to configure this account\'s collection\n                    // if it is not already configured.\n                    let collectionData = nftRef.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData\n                    buyer.storage.save(<-collectionData.createEmptyCollection(), to: value.collectionData.storagePath)\n                }\n\n                buyer.capabilities.unpublish(value.collectionData.publicPath)\n                buyer.capabilities.publish(\n                    buyer.capabilities.storage.issue<&{NonFungibleToken.Collection}>(value.collectionData.storagePath),\n                    at: value.collectionData.publicPath\n                )\n                self.collectionCap = buyer.capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            }\n        } else {\n            // signer is the parent account and nftProvider is child Account\n            // get the manager resource and borrow proxyAccount\n            let manager = buyer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n                ?? panic("manager does not exist")\n            let childAcct = manager.borrowAccount(addr: nftReceiverAddress) ?? panic("nft receiver address is not a child account")\n            self.collectionCap = getAccount(nftReceiverAddress).capabilities.get<&{NonFungibleToken.CollectionPublic}>(value.collectionData.publicPath)\n            // We can\'t change child account links in any way\n        }\n\n        // Access the buyer\'s NFT collection to store the purchased NFT.\n        self.collection = self.collectionCap.borrow() ?? panic("Cannot borrow NFT collection receiver from account")\n\n        let price = listingDetails.salePrice\n\n        // Access the vault of the buyer to pay the sale price of the listing.\n        self.mainPaymentVault = dapper.storage.borrow<auth(FungibleToken.Withdraw) &DapperUtilityCoin.Vault>(from: /storage/dapperUtilityCoinVault)\n            ?? panic("Cannot borrow DapperUtilityCoin vault from buyer storage")\n        self.balanceBeforeTransfer = self.mainPaymentVault.balance\n        self.paymentVault <- self.mainPaymentVault.withdraw(amount: price)\n\n        let commissionAmount = self.listing.getDetails().commissionAmount\n        if commissionRecipient != nil && commissionAmount != 0.0 {\n            let _commissionRecipientCap = getAccount(commissionRecipient).capabilities.get<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver)\n            assert(_commissionRecipientCap.check(), message: "Commission Recipient doesn\'t have DapperUtilityCoin receiving capability")\n            self.commissionRecipientCap = _commissionRecipientCap\n        } else if commissionAmount == 0.0 {\n            self.commissionRecipientCap = nil\n        } else {\n            panic("Commission recipient can not be empty when commission amount is non zero")\n        }\n\n    }\n\n    execute {\n        // Purchase the NFT\n        let item <- self.listing.purchase(\n            payment: <-self.paymentVault,\n            commissionRecipient: self.commissionRecipientCap,\n            privateListingAcceptor: self.listingAcceptor\n        )\n        // Deposit the NFT in the buyer\'s collection.\n        self.collection.deposit(token: <-item)\n    }\n\n    post {\n        self.mainPaymentVault.balance == self.balanceBeforeTransfer: "DapperUtilityCoin leakage"\n    }\n\n}')},59235:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenService=void 0;const i=n(10514);t.TokenService=class{getTokenInfo(e){switch(e){case"FLOW":return{balancePath:"/public/flowTokenBalance",contractAddress:this.config.contractAddresses.FlowToken,contractName:"FlowToken",receiverPath:"/public/flowTokenReceiver",storagePath:"/storage/flowTokenVault",symbol:e};case"USDC":return{balancePath:"/public/usdcFlowMetadata",contractAddress:this.config.contractAddresses.USDCFlow,contractName:"USDCFlow",receiverPath:"/public/usdcFlowReceiver",storagePath:"/storage/usdcFlowVault",symbol:e};case"DUC":return{balancePath:"/public/dapperUtilityCoinBalance",contractAddress:this.config.contractAddresses.DapperUtilityCoin,contractName:"DapperUtilityCoin",receiverPath:"/public/dapperUtilityCoinReceiver",storagePath:"/storage/dapperUtilityCoinVault",symbol:e};default:throw new Error("Unsupported token")}}constructor(e){r(this,"config",void 0),r(this,"getTokenIdentifier",(e=>{let t="",n="";switch(e){case"FLOW":t="FlowToken",n=this.config.contractAddresses.FlowToken;break;case"USDC":t="USDCFlow",n=this.config.contractAddresses.USDCFlow;break;case"DUC":t="DapperUtilityCoin",n=this.config.contractAddresses.DapperUtilityCoin;break;default:return""}return"A.".concat(n.substring(2),".").concat(t,".Vault")})),r(this,"getTokenSymbols",(()=>[i.SupportedTokens.FLOW,i.SupportedTokens.USDC,i.SupportedTokens.DUC])),this.config=e}}},64775:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TransferService=void 0;const i=n(53918),o=n(95324),a=n(19388),s=n(65094);t.TransferService=class{constructor(e){r(this,"config",void 0),r(this,"transferNft",(async e=>{let{nftData:t,transferRecipient:n,nftProviderPathIdentifier:r,txAvailableCallback:l}=e;if(!t)throw new Error("Flow NFT it's null");const{id:c,type:u,nftOwner:d}=t,h=await(0,i.getCatalogEntryForType)(u,this.config),p=(0,o.getTransferNftTxn)(this.config,t,!!h),f=this.config.crescendo?a.arg(r||"0",s.UInt64):a.arg(r,s.String),m=[a.arg(c.toString(),s.UInt64),a.arg(n,s.Address),a.arg(d,s.Address),f];h?m.push(a.arg(h,s.String)):m.push(a.arg(t.type,s.String));try{return await(0,i.sendMutation)(p,m,l)}catch(g){throw console.log("TX ERROR",g),(0,i.Err)("createStorefrontListing",g),g}})),this.config=e}}},95324:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transferNftViewResolverCrescendo=t.transferNftViewResolver=t.getTransferNftTxn=void 0;t.getTransferNftTxn=(e,t,i)=>e.crescendo?r(e,t,i):n(e,t,i);const n=(e,n,r)=>"TopShot"===n.contractName?i(e):r?a(e):(0,t.transferNftViewResolver)(e),r=(e,n,r)=>"TopShot"===n.contractName?o(e):r?s(e):(0,t.transferNftViewResolverCrescendo)(e),i=e=>"",o=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\n\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\n\nimport TopShot from ").concat(e.contractAddresses.TopShot,'\n\n/*\nFlowty - NFT Transfer - Catalog w/ TopShot special handling\nTransfer an NFT from the nftProvider (childAccount) to a specified recipient.\n */\n\ntransaction(tokenID: UInt64, to: Address, nftProviderAddress: Address, nftProviderControllerID: UInt64, collectionIdentifier: String) {\n  let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}\n  prepare(signer: auth(Capabilities, Storage) &Account) {\n    let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n    if nftProviderAddress == signer.address {\n      self.nftProvider = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(from: catalogEntry.collectionData.storagePath)\n        ?? panic("could not find sender collection")\n    } else {\n      let manager = signer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n\n      let providerCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<&{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no cap found")\n      let nftProviderCap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n      self.nftProvider = nftProviderCap.borrow() ?? panic("unable to borrow child account collection provider")\n    }\n\n    let nft <- self.nftProvider.withdraw(withdrawID: tokenID)\n    let recipient = getAccount(to)\n\n    let standardCap = recipient.capabilities.get<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.publicPath)\n    if standardCap.check() {\n      let r = standardCap.borrow() ?? panic("invalid receiver collection")\n      r.deposit(token: <-nft)\n      return\n    }\n    \n    assert(nft.getType() == Type<@TopShot.NFT>(), message: "No receiver found for Item")\n    assert(catalogEntry.collectionData.publicPath.toString() == "MomentCollection", message: "incorrect path for TopShot collection")\n\n    // Special handling for accounts that expose TopShot.MomentCollectionPublic instead of standard\n    let tsCap = recipient.capabilities.get<&{TopShot.MomentCollectionPublic}>(catalogEntry.collectionData.publicPath)\n    if tsCap.check() {\n      let r = tsCap.borrow() ?? panic("invalid TopShot.MomentCollectionPublic")\n      r.deposit(token: <-nft)\n      return\n    }\n\n    // we should not reach here.\n    panic("no valid receiver found")\n  }\n}'),a=e=>"",s=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport NFTCatalog from ").concat(e.contractAddresses.NFTCatalog,"\n\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,'\n\n/*\nFlowty - NFT Transfer - Catalog w/ TopShot special handling\nTransfer an NFT from the nftProvider (childAccount) to a specified recipient.\n */\n\ntransaction(tokenID: UInt64, to: Address, nftProviderAddress: Address, nftProviderControllerID: UInt64, collectionIdentifier: String) {\n  let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}\n  prepare(signer: auth(Capabilities, Storage) &Account) {\n    let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: collectionIdentifier) ?? panic("Provided collection is not in the NFT Catalog.")\n\n    if nftProviderAddress == signer.address {\n      self.nftProvider = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(from: catalogEntry.collectionData.storagePath)\n        ?? panic("could not find sender collection")\n    } else {\n      let manager = signer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n\n      let providerCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no cap found")\n      let nftProviderCap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n      self.nftProvider = nftProviderCap.borrow() ?? panic("unable to borrow child account collection provider")\n    }\n\n    let nft <- self.nftProvider.withdraw(withdrawID: tokenID)\n    let recipient = getAccount(to)\n\n    let standardCap = recipient.capabilities.get<&{NonFungibleToken.CollectionPublic}>(catalogEntry.collectionData.publicPath)\n    if standardCap.check() {\n      let r = standardCap.borrow() ?? panic("invalid receiver collection")\n      r.deposit(token: <-nft)\n      return\n    }\n    \n    // we should not reach here.\n    panic("no valid receiver found")\n  }\n}');t.transferNftViewResolver=e=>"";t.transferNftViewResolverCrescendo=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport ViewResolver from ").concat(e.contractAddresses.ViewResolver,"\nimport HybridCustody from ").concat(e.contractAddresses.HybridCustody,"\nimport AddressUtils from ").concat(e.contractAddresses.AddressUtils,'\n\n/*\nFlowty - NFT Transfer - No Catalog\nTransfer an NFT from the nftProvider (childAccount) to a specified recipient.\n */\n\ntransaction(\n    tokenID: UInt64,\n    to: Address,\n    nftProviderAddress: Address,\n    nftProviderControllerID: UInt64,\n    typeIdentifier: String\n) {\n  let nftProvider: auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}\n  prepare(signer: auth(Capabilities, Storage) &Account) {\n    let nftType = CompositeType(typeIdentifier) ?? panic("invalid type identifier")\n    let contractAddress = AddressUtils.parseAddress(nftType)!\n    let contractName = typeIdentifier.split(separator: ".")[2]\n\n    let c = getAccount(contractAddress).contracts.borrow<&{ViewResolver}>(name: contractName) ?? panic ("Specified contract address and name is not found or does not implement ViewResolver contract.")\n    let md = c.resolveContractView(resourceType: nftType, viewType: Type<MetadataViews.NFTCollectionData>()) ?? panic("NFTCollectionData view not found on the contract.")\n    let collectionData = md as! MetadataViews.NFTCollectionData\n\n    if nftProviderAddress == signer.address {\n      self.nftProvider = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(from: collectionData.storagePath)\n        ?? panic("could not find sender collection")\n    } else {\n      let manager = signer.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)\n        ?? panic("manager does not exist")\n      let childAcct = manager.borrowAccount(addr: nftProviderAddress) ?? panic("nftProvider account not found")\n\n      let providerCap = childAcct.getCapability(controllerID: nftProviderControllerID, type: Type<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>()) ?? panic("no cap found")\n      let nftProviderCap = providerCap as! Capability<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>\n      self.nftProvider = nftProviderCap.borrow() ?? panic("unable to borrow child account collection provider")\n    }\n\n    let recipient = getAccount(to).capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath).borrow() ?? panic("invalid receiver collection")\n    let nft <- self.nftProvider.withdraw(withdrawID: tokenID)\n    recipient.deposit(token: <-nft)\n  }\n}')},95920:(e,t,n)=>{"use strict";var r=n(58212).default;Object.defineProperty(t,"__esModule",{value:!0}),t.AnyStructDictionary=t.FlowtyDropsCollectionInfo=t.MetadataViewsCollectionDisplay=t.MetadataViewsMedia=t.PhaseDetails=t.AllowAllAddressVerifier=t.FreePricer=t.FlatPricePricer=t.TimestampSwitcher=t.DropDetails=t.MetadataViewsDisplay=t.DropsNftMetadata=t.ExternalUrl=t.IpfsFile=t.HttpFile=t.Config=void 0;t.Config=class{constructor(e,t,n,i){r(this,"apiURL",void 0),r(this,"contractAddresses",void 0),r(this,"network",void 0),r(this,"crescendo",void 0),this.apiURL=e,this.contractAddresses=t,this.network=n,this.crescendo=i}getIdentifier(e,t){return"A.".concat(this.contractAddresses[e].substring(2),".").concat(e,".").concat(t)}};t.HttpFile=class{constructor(e){r(this,"url",void 0),this.url=e}getType(e,t){return t.Struct(e.getIdentifier("MetadataViews","HTTPFile"),[{name:"url",value:t.String}])}encode(e){return{type:"Struct",value:{fields:[{name:"url",value:{type:"String",value:this.url}}],id:e.getIdentifier("MetadataViews","HTTPFile")}}}};t.IpfsFile=class{constructor(e,t){r(this,"cid",void 0),r(this,"path",void 0),this.cid=e,this.path=t}getType(e,t){return t.Struct(e.getIdentifier("MetadataViews","IPFSFile"),[{name:"cid",value:t.String},{name:"path",value:t.Optional(t.String)}])}encode(e){const t=null!==this.path?{type:"String",value:this.path}:null;return{type:"Struct",value:{fields:[{name:"cid",value:{type:"String",value:this.cid}},{name:"path",value:t}],id:e.getIdentifier("MetadataViews","IPFSFile")}}}};class i{constructor(e){r(this,"url",void 0),this.url=e}getType(e,t){return t.Struct(e.getIdentifier("MetadataViews","ExternalURL"),[{name:"url",value:t.String}])}encode(e){return{type:"Struct",value:{fields:[{name:"url",value:{type:"String",value:this.url}}],id:e.getIdentifier("MetadataViews","ExternalURL")}}}}t.ExternalUrl=i;t.DropsNftMetadata=class{constructor(e,t,n,i){r(this,"name",void 0),r(this,"description",void 0),r(this,"thumbnail",void 0),r(this,"traits",void 0),r(this,"editions",void 0),r(this,"externalUrl",void 0),this.name=e,this.description=t,this.thumbnail=n,this.externalUrl=i,this.traits=null,this.editions=null}getType(e,t){return t.Struct(e.getIdentifier("NFTMetadata","Metadata"),[{name:"name",value:t.String},{name:"description",value:t.String},{name:"thumbnail",value:this.thumbnail.getType(e,t)},{name:"traits",value:t.Optional(t.Struct(e.getIdentifier("MetadataViews","Traits"),[]))},{name:"editions",value:t.Optional(t.Struct(e.getIdentifier("MetadataViews","Editions"),[]))},{name:"externalURL",value:this.externalUrl.getType(e,t)}])}encode(e){return{type:"Struct",value:{fields:[{name:"name",value:{type:"String",value:this.name}},{name:"description",value:{type:"String",value:this.description}},{name:"thumbnail",value:this.thumbnail.encode(e)},{name:"traits",value:{type:"Optional",value:null}},{name:"editions",value:{type:"Optional",value:null}},{name:"externalURL",value:this.externalUrl.encode(e)},{name:"data",value:{type:"Dictionary",value:[]}}],id:e.getIdentifier("NFTMetadata","Metadata")}}}};t.MetadataViewsDisplay=class{constructor(e,t,n){r(this,"name",void 0),r(this,"description",void 0),r(this,"thumbnail",void 0),this.name=e,this.description=t,this.thumbnail=n}getType(e,t){return t.Struct(e.getIdentifier("MetadataViews","Display"),[{name:"name",value:t.String},{name:"description",value:t.String},{name:"thumbnail",value:this.thumbnail.getType(e,t)}])}encode(e){return{type:"Struct",value:{fields:[{name:"name",value:{type:"String",value:this.name}},{name:"description",value:{type:"String",value:this.description}},{name:"thumbnail",value:this.thumbnail.encode(e)}],id:e.getIdentifier("MetadataViews","Display")}}}};t.DropDetails=class{constructor(e,t,n,i,o){r(this,"display",void 0),r(this,"medias",void 0),r(this,"totalMinted",void 0),r(this,"minters",void 0),r(this,"commissionRate",void 0),r(this,"nftType",void 0),this.display=e,this.totalMinted=t,this.minters=n,this.commissionRate=i,this.nftType=o,this.medias=null}getType(e,t){return t.Struct(e.getIdentifier("FlowtyDrops","DropDetails"),[{name:"display",value:this.display.getType(e,t)},{name:"medias",value:t.Optional(t.AnyStruct)},{name:"totalMinted",value:t.Int},{name:"minters",value:t.Dictionary(t.Address,t.Int)},{name:"commissionRate",value:t.UFix64},{name:"nftType",value:t.String}])}encode(e){return{type:"Struct",value:{fields:[{name:"display",value:this.display.encode(e)},{name:"medias",value:{type:"Optional",value:null}},{name:"totalMinted",value:{type:"Int",value:"0"}},{name:"minters",value:{type:"Dictionary",value:[]}},{name:"commissionRate",value:{type:"UFix64",value:this.commissionRate.toFixed(4)}},{name:"nftType",value:{type:"String",value:this.nftType}}],id:e.getIdentifier("FlowtyDrops","DropDetails")}}}};t.TimestampSwitcher=class{constructor(e,t){r(this,"start",void 0),r(this,"end",void 0),this.start=e,this.end=t}getType(e,t){return t.Struct(e.getIdentifier("FlowtyActiveCheckers","TimestampSwitch"),[{name:"start",value:t.Optional(t.UInt64)},{name:"end",value:t.Optional(t.UInt64)}])}encode(e){return{type:"Struct",value:{fields:[{name:"start",value:{type:"Optional",value:null!==this.start?{type:"UInt64",value:this.start.toString()}:null}},{name:"end",value:{type:"Optional",value:null!==this.end?{type:"UInt64",value:this.end.toString()}:null}}],id:e.getIdentifier("FlowtyActiveCheckers","TimestampSwitch")}}}};t.FlatPricePricer=class{constructor(e,t){r(this,"price",void 0),r(this,"paymentTokenType",void 0),this.price=e,this.paymentTokenType=t}getType(e,t){return t.Struct(e.getIdentifier("FlowtyPricers","FlatPrice"),[{name:"price",value:t.UFix64},{name:"paymentTokenType",value:t.String}])}encode(e){return{type:"Struct",value:{fields:[{name:"price",value:{type:"UFix64",value:this.price.toFixed(4)}},{name:"paymentTokenType",value:{type:"String",value:this.paymentTokenType}}],id:e.getIdentifier("FlowtyPricers","FlatPrice")}}}};t.FreePricer=class{getType(e,t){return t.Struct(e.getIdentifier("FlowtyPricers","Free"),[])}encode(e){return{type:"Struct",value:{fields:[],id:e.getIdentifier("FlowtyPricers","Free")}}}};t.AllowAllAddressVerifier=class{constructor(e){r(this,"maxPerMint",void 0),this.maxPerMint=e}getType(e,t){return t.Struct(e.getIdentifier("FlowtyAddressVerifiers","AllowAll"),[])}encode(e){return{type:"Struct",value:{fields:[{name:"maxPerMint",value:{type:"Int",value:this.maxPerMint.toString()}}],id:e.getIdentifier("FlowtyAddressVerifiers","AllowAll")}}}};t.PhaseDetails=class{constructor(e,t,n,i){r(this,"switcher",void 0),r(this,"display",void 0),r(this,"pricer",void 0),r(this,"addressVerifier",void 0),this.switcher=e,this.display=t,this.pricer=n,this.addressVerifier=i}getType(e,t){t.Struct(e.getIdentifier("FlowtyDrops","PhaseDetails"),[{name:"switcher",value:this.switcher.getType(e,t)},{name:"display",value:t.Optional(t.AnyStruct)},{name:"pricer",value:t.AnyStruct},{name:"addressVerifier",value:t.AnyStruct},{name:"data",value:t.Dictionary(t.String,t.AnyStruct)}])}encode(e){const t=null!==this.display?this.display.encode(e):null;return{type:"Struct",value:{fields:[{name:"switcher",value:this.switcher.encode(e)},{name:"display",value:{type:"Optional",value:t}},{name:"pricer",value:this.pricer.encode(e)},{name:"addressVerifier",value:this.addressVerifier.encode(e)},{name:"data",value:{type:"Dictionary",value:[]}}],id:e.getIdentifier("FlowtyDrops","PhaseDetails")}}}};class o{constructor(e,t){r(this,"file",void 0),r(this,"mediaType",void 0),this.file=e,this.mediaType=t}getType(e,t){t.Struct(e.getIdentifier("MetadataViews","Media"),[{name:"file",value:this.file.getType(e,t)},{name:"mediaType",value:t.String}])}encode(e){return{type:"Struct",value:{fields:[{name:"file",value:this.file.encode(e)},{name:"mediaType",value:{type:"String",value:this.mediaType}}],id:e.getIdentifier("MetadataViews","Media")}}}}t.MetadataViewsMedia=o;t.MetadataViewsCollectionDisplay=class{constructor(e,t,n,i,o,a){r(this,"name",void 0),r(this,"description",void 0),r(this,"externalURL",void 0),r(this,"squareImage",void 0),r(this,"bannerImage",void 0),r(this,"socials",void 0),this.name=e,this.description=t,this.externalURL=n,this.squareImage=i,this.bannerImage=o,this.socials=a}getType(e,t){t.Struct(e.getIdentifier("MetadataViews","NFTCollectionDisplay"),[{name:"name",value:t.String},{name:"description",value:t.String},{name:"externalURL",value:i},{name:"squareImage",value:o},{name:"bannerImage",value:o},{name:"socials",value:t.Dictionary(t.String,t.Struct(e.getIdentifier("MetadataViews","ExternalURL"),[{name:"url",value:t.String}]))}])}encode(e){return{type:"Struct",value:{fields:[{name:"name",value:{type:"String",value:this.name}},{name:"description",value:{type:"String",value:this.description}},{name:"externalURL",value:this.externalURL.encode(e)},{name:"squareImage",value:this.squareImage.encode(e)},{name:"bannerImage",value:this.bannerImage.encode(e)},{name:"socials",value:{type:"Dictionary",value:Object.entries(this.socials).map((t=>{let[n,r]=t;return{key:{type:"String",value:n},value:r.encode(e)}}))}}],id:e.getIdentifier("MetadataViews","NFTCollectionDisplay")}}}};t.FlowtyDropsCollectionInfo=class{constructor(e){r(this,"collectionDisplay",void 0),this.collectionDisplay=e}getType(e,t){t.Struct(e.getIdentifier("NFTMetadata","CollectionInfo"),[])}encode(e){return{type:"Struct",value:{fields:[{name:"collectionDisplay",value:this.collectionDisplay.encode(e)}],id:e.getIdentifier("NFTMetadata","CollectionInfo")}}}};t.AnyStructDictionary=class{constructor(e){r(this,"data",void 0),this.data=e}getType(e,t){throw new Error("not implemented, there is no fcl t.AnyStruct to describe this type's value")}encode(e){return{type:"Dictionary",value:Object.entries(this.data).map((t=>{let[n,r]=t;return{key:{type:"String",value:n},value:r.encode(e)}}))}}}},59238:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.parseError=t.errorMessages=t.CustomErrorMessages=t.ErrorType=void 0,function(e){e.InsufficientBalance="InsufficientBalance",e.NetworkError="NetworkError",e.UnexpectedError="UnexpectedError",e.NoValidReceiver="NoValidReceiver",e.ExpiredSession="ExpiredSession",e.InvalidListing="InvalidListing",e.UnableToFollowTransactionResult="UnableToFollowTransactionResult",e.PopUpBlockerEnabled="PopUpBlockerEnabled",e.SwitchNetwork="SwitchNetwork"}(n||(t.ErrorType=n={})),function(e){e.UnableToFollowTransactionResult="Uh oh! Something went wrong while trying to follow your transaction results"}(r||(t.CustomErrorMessages=r={})),t.errorMessages={[n.InsufficientBalance]:{description:"Your wallet is out of storage capacity. Please add 0.1 FLOW to your account then retry.",title:"Insufficient FLOW Balance",triggerStrings:["insufficient balance","cannot withdraw tokens","Amount withdrawn must be less","self.balance >= amount"]},[n.ExpiredSession]:{description:"Your session has expired. Please sign out and sign back in then retry the transaction.",title:"Expired Session",triggerStrings:["The session id provided was incorrect","Please try disconnecting and reconnecting your wallet"]},[n.InvalidListing]:{description:"Listing is no longer valid and has been removed from the marketplace.",title:"Invalid Listing",triggerStrings:["listing is no longer available","failed to borrow listing nft"]},[n.NoValidReceiver]:{description:"Sign in to Flowty with recipient wallet > go to NFT collection page > enable collection > retry transaction",title:"No Valid Receiver Found",triggerStrings:["no valid receiver found"]},[n.PopUpBlockerEnabled]:{description:"Pop-up blocker is enabled. Please allow pop-ups and try again.",swalAlertOptions:!0,title:"Pop-up Blocker Enabled",triggerStrings:["Popup failed to open"]},[n.NetworkError]:{description:"We're having trouble connecting to the network. Please try again later.",title:"Network Error",triggerStrings:["network error"]},[n.SwitchNetwork]:{description:"Please sign out and sign back in then retry the transaction.",title:"Not Connected to Mainnet",triggerStrings:["is invalid for chain flow-testnet","is invalid for chain flow-mainnet"]},[n.UnableToFollowTransactionResult]:{description:"Flowty cannot verify if the transaction was successful. We recommend one of the following actions (depending on the transaction type): refresh page, visit profile or check account balance.",title:"Unable to Follow Transaction",triggerStrings:[r.UnableToFollowTransactionResult]},[n.UnexpectedError]:{description:"Your transaction failed. Please try again.",title:"Transaction Failed",triggerStrings:[]}};t.parseError=e=>{const n=e.toLowerCase();for(const[i,o]of Object.entries(t.errorMessages))for(const e of o.triggerStrings){var r;if(n.includes(e.toLowerCase()))return{description:o.description,swalAlertOptions:null!==(r=o.swalAlertOptions)&&void 0!==r?r:void 0,title:o.title}}return{description:"Your transaction failed. Please try again.",title:"Transaction Failed"}}},75339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCollectionPathsScript=void 0;t.getCollectionPathsScript=e=>e.crescendo?r(e):n(e);const n=e=>"import NFTCatalog from ".concat(e.contractAddresses.NFTCatalog,'\n\npub struct Paths {\n    pub let storagePath: String\n    pub let publicPath: String\n\n    init(storagePath: String, publicPath: String) {\n        self.storagePath = storagePath\n        self.publicPath = publicPath\n    }\n}\n\npub fun main(contractAddress: Address, contractName: String) : Paths? {\n    let addrString = contractAddress.toString()\n    let nftTypeIdentifier = "A.".concat(addrString.slice(from: 2, upTo: addrString.length)).concat(".").concat(contractName).concat(".NFT")\n    let tmp = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier)\n    if tmp == nil {\n    return nil\n    }\n\n    let catalogIdentifiers = tmp!\n    var catalogIdentifier = ""\n    for k in catalogIdentifiers.keys {\n    if catalogIdentifiers[k] == true {\n        catalogIdentifier = k\n        break\n    }\n    }\n\n    if catalogIdentifier != "" {\n        if let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) {\n            return Paths(\n                storagePath: catalogEntry.collectionData.storagePath.toString(),\n                publicPath: catalogEntry.collectionData.publicPath.toString()\n            )   \n        }\n    }\n\n    return nil\n}'),r=e=>"import NFTCatalog from ".concat(e.contractAddresses.NFTCatalog,'\n\naccess(all) struct Paths {\n    access(all) let storagePath: String\n    access(all) let publicPath: String\n\n    init(storagePath: String, publicPath: String) {\n        self.storagePath = storagePath\n        self.publicPath = publicPath\n    }\n}\n\naccess(all) fun main(contractAddress: Address, contractName: String) : Paths? {\n    let addrString = contractAddress.toString()\n    let nftTypeIdentifier = "A.".concat(addrString.slice(from: 2, upTo: addrString.length)).concat(".").concat(contractName).concat(".NFT")\n    let tmp = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier)\n    if tmp == nil {\n    return nil\n    }\n\n    let catalogIdentifiers = tmp!\n    var catalogIdentifier = ""\n    for k in catalogIdentifiers.keys {\n        if catalogIdentifiers[k] == true {\n            catalogIdentifier = k\n            break\n        }\n    }\n\n    if catalogIdentifier != "" {\n        if let catalogEntry = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier) {\n            return Paths(\n                storagePath: catalogEntry.collectionData.storagePath.toString(),\n                publicPath: catalogEntry.collectionData.publicPath.toString()\n            )   \n        }\n    }\n\n    return nil\n}')},68279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDWRoyaltyScript=void 0;t.getDWRoyaltyScript=e=>e.crescendo?r(e):n(e);const n=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport RoyaltiesOverride from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,'\n\npub fun main(addr: Address, nftID: UInt64, identifier: String, price: UFix64): {Address: UFix64} {\n\tlet acct = getAuthAccount(addr)\n\tlet c = acct.borrow<&{NonFungibleToken.CollectionPublic}>(from: StoragePath(identifier: identifier)!)\n\t\t\t?? panic("collection not found")\n\tlet nft = c.borrowNFT(id: nftID)\n\tlet ti = FlowtyUtils.getTokenInfo(Type<@DapperUtilityCoin.Vault>()) ?? panic("unsupported token type")   \n\n\tlet flowtyAcct = NFTStorefrontV2.getAddress()\n\tvar paymentCuts: {Address: UFix64} = {}\n\n\n\tlet flowtyMerchantAcct = getMerchantAddress(NFTStorefrontV2.getAddress(), ti.receiverPath, /storage/dapperUtilityCoinReceiver) \n\tlet mpFee = NFTStorefrontV2.getFee(p: price, t: Type<@DapperUtilityCoin.Vault>())\n\tif flowtyMerchantAcct != nil {\n\t\t\tpaymentCuts.insert(key: flowtyMerchantAcct!, mpFee)\n\t} \n\t\n\n\tif RoyaltiesOverride.get(nft.getType()) {\n\t\t\treturn paymentCuts\n\t}\n\n\tlet royaltiesMd = nft.resolveView(Type<MetadataViews.Royalties>())! as! MetadataViews.Royalties\n\tlet royalties = royaltiesMd.getRoyalties()\n\n\t// for r in royalties {\n\t//     if let addr = getMerchantAddress(r.receiver.address, ti.receiverPath, /storage/dapperUtilityCoinReceiver) {\n\t//         if addr == flowtyMerchantAcct {\n\t//             paymentCuts[flowtyMerchantAcct!] =  mpFee + r.cut * price\n\t//         } else {\n\t//             paymentCuts[addr] = r.cut * price\n\t//         }\n\t//     }\n\t// }\n\treturn paymentCuts\n}\n\n\npub fun getMerchantAddress(_ addr: Address, _ publicPath: PublicPath, _ storagePath: StoragePath): Address? {\n\t\t// is there a token forwarder at this account?\n\t\tlet acct = getAuthAccount(addr)\n\n\t\t// relink as an auth\'d link for downcasting\n\t\tacct.unlink(publicPath)\n\t\tacct.link<auth &{FungibleToken.Receiver}>(publicPath, target: storagePath)\n\n\t\tlet cap = acct.getCapability<auth &{FungibleToken.Receiver}>(publicPath)\n\t\tif !cap.check() {\n\t\t\t\treturn nil\n\t\t}\n\n\t\tlet receiver = cap.borrow()\n\t\tif receiver == nil {\n\t\t\t\treturn nil\n\t\t}\n\n\t\tif receiver!.getType() != Type<@TokenForwarding.Forwarder>() {\n\t\t\t\treturn nil\n\t\t}\n\n\t\t// is this a forwarder type? If it isn\'t a forwarder, return nil\n\t\tlet forwarder = receiver! as! &TokenForwarding.Forwarder\n\t\tlet nextReceiver = forwarder.safeBorrow()\n\t\tif nextReceiver == nil {\n\t\t\t\treturn nil\n\t\t}\n\n\t\t// does it point to another token forwarder? Or does it point to the DUC vault?\n\t\tif nextReceiver!.getType() == Type<@DapperUtilityCoin.Vault>() {\n\t\t\t\t// if it points to the duc vault, return the current address\n\t\t\t\treturn addr\n\t\t} else {\n\t\t\t\t// if it points to another forwarder, call getMerchantAddress of the tokenforwarder\'s receiver address\n\t\t\t\treturn getMerchantAddress(nextReceiver!.owner!.address, publicPath, storagePath)\n\t\t}\n}'),r=e=>"import NonFungibleToken from ".concat(e.contractAddresses.NonFungibleToken,"\nimport MetadataViews from ").concat(e.contractAddresses.MetadataViews,"\nimport FungibleToken from ").concat(e.contractAddresses.FungibleToken,"\nimport TokenForwarding from ").concat(e.contractAddresses.TokenForwarding,"\nimport DapperUtilityCoin from ").concat(e.contractAddresses.DapperUtilityCoin,"\nimport FlowtyUtils from ").concat(e.contractAddresses.FlowtyUtils,"\nimport RoyaltiesOverride from ").concat(e.contractAddresses.NFTStorefrontV2,"\nimport NFTStorefrontV2 from ").concat(e.contractAddresses.NFTStorefrontV2,'\n\naccess(all) fun main(addr: Address, nftID: UInt64, identifier: String, price: UFix64): {Address: UFix64} {\n\tlet acct = getAuthAccount<auth(Storage, Capabilities) &Account>(addr)\n\tlet c = acct.storage.borrow<&{NonFungibleToken.CollectionPublic}>(from: StoragePath(identifier: identifier)!)\n\t\t\t?? panic("collection not found")\n\tlet nft = c.borrowNFT(nftID) ?? panic("NFT not found in collection")\n\tlet ti = FlowtyUtils.getTokenInfo(Type<@DapperUtilityCoin.Vault>()) ?? panic("unsupported token type")   \n\n\tlet flowtyAcct = NFTStorefrontV2.getAddress()\n\tvar paymentCuts: {Address: UFix64} = {}\n\n\n\tlet flowtyMerchantAcct = getMerchantAddress(NFTStorefrontV2.getAddress(), ti.receiverPath, /storage/dapperUtilityCoinReceiver) \n\tlet mpFee = NFTStorefrontV2.getFee(p: price, t: Type<@DapperUtilityCoin.Vault>())\n\tif flowtyMerchantAcct != nil {\n\t\t\tpaymentCuts.insert(key: flowtyMerchantAcct!, mpFee)\n\t} \n\t\n\n\tif RoyaltiesOverride.get(nft.getType()) {\n        return paymentCuts\n\t}\n\n\tlet royaltiesMd = nft.resolveView(Type<MetadataViews.Royalties>())! as! MetadataViews.Royalties\n\tlet royalties = royaltiesMd.getRoyalties()\n\n\t// for r in royalties {\n\t//     if let addr = getMerchantAddress(r.receiver.address, ti.receiverPath, /storage/dapperUtilityCoinReceiver) {\n\t//         if addr == flowtyMerchantAcct {\n\t//             paymentCuts[flowtyMerchantAcct!] =  mpFee + r.cut * price\n\t//         } else {\n\t//             paymentCuts[addr] = r.cut * price\n\t//         }\n\t//     }\n\t// }\n\treturn paymentCuts\n}\n\naccess(all) fun getMerchantAddress(_ addr: Address, _ publicPath: PublicPath, _ storagePath: StoragePath): Address? {\n    // is there a token forwarder at this account?\n    let acct = getAuthAccount<auth(Storage, Capabilities) &Account>(addr)\n\n    let cap = acct.capabilities.get<&{FungibleToken.Receiver}>(publicPath)\n    if !cap.check() {\n            return nil\n    }\n\n    let receiver = cap.borrow()\n    if receiver == nil {\n        return nil\n    }\n\n    if receiver!.getType() != Type<@TokenForwarding.Forwarder>() {\n        return nil\n    }\n\n    // is this a forwarder type? If it isn\'t a forwarder, return nil\n    let forwarder = receiver! as! &TokenForwarding.Forwarder\n    let nextReceiver = forwarder.safeBorrow()\n    if nextReceiver == nil {\n        return nil\n    }\n\n    // does it point to another token forwarder? Or does it point to the DUC vault?\n    if nextReceiver!.getType() == Type<@DapperUtilityCoin.Vault>() {\n        // if it points to the duc vault, return the current address\n        return addr\n    } else {\n        // if it points to another forwarder, call getMerchantAddress of the tokenforwarder\'s receiver address\n        return getMerchantAddress(nextReceiver!.owner!.address, publicPath, storagePath)\n    }\n}')},77706:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentifierToPaymentToken=t.PaymentTokenToIdentifier=t.USDC_IDENTIFIER=t.FLOW_IDENTIFIER=t.FUT_IDENTIFIER=t.DUC_IDENTIFIER=void 0;const r=n(10514),i=n(53918);t.DUC_IDENTIFIER=i.IS_MAINNET?"A.ead892083b3e2c6c.DapperUtilityCoin.Vault":"A.82ec283f88a62e65.DapperUtilityCoin.Vault",t.FUT_IDENTIFIER=i.IS_MAINNET?"A.ead892083b3e2c6c.FlowUtilityToken.Vault":"A.82ec283f88a62e65.FlowUtilityToken.Vault",t.FLOW_IDENTIFIER=i.IS_MAINNET?"A.1654653399040a61.FlowToken.Vault":"A.7e60df042a9c0868.FlowToken.Vault",t.USDC_IDENTIFIER=i.IS_MAINNET?"A.f1ab99c82dee3526.USDCFlow.Vault":"A.64adf39cbc354fcb.USDCFlow.Vault",t.PaymentTokenToIdentifier={DUC:t.DUC_IDENTIFIER,FLOW:t.FLOW_IDENTIFIER,USDC:t.USDC_IDENTIFIER},t.IdentifierToPaymentToken={[t.DUC_IDENTIFIER]:r.SupportedTokens.DUC,[t.FLOW_IDENTIFIER]:r.SupportedTokens.FLOW,[t.USDC_IDENTIFIER]:r.SupportedTokens.USDC}},53918:(e,t,n)=>{"use strict";var r,i,o=n(87301).default;Object.defineProperty(t,"__esModule",{value:!0}),t.validateListing=t.sendMutation=t.waitForSeal=t.delay=t.getCatalogEntryForType=t.executeScript=t.expirationDaysToSeconds=t.termNumberToSeconds=t.Err=t.IS_MAINNET=void 0;const a=n(2035),s=n(10514),l=n(12239),c=n(59238),u=n(19388),d=n(65094);t.IS_MAINNET=null===(r="https://mainnet.onflow.org")?void 0:r.includes("mainnet");t.Err=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.error(t)};t.termNumberToSeconds=e=>e*s.ONE_DAY_IN_SECONDS;t.expirationDaysToSeconds=e=>Math.round(e*s.ONE_DAY_IN_SECONDS);const h=async e=>{if(!e.endsWith(".cdc"))return e;return(await a.default.get(e)).text()};t.executeScript=async function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unknown",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1e3;try{const t=await u.send([u.script(i||(i=o(["",""])),e),u.args(n)]);return u.decode(t)}catch(c){const i=new Error((0,s.getMessageFromError)(c));if(a>1)return await(0,t.delay)(l),(0,t.executeScript)(e,n,r,a-1);throw new s.FlowtyException(i,{},"executeScript::".concat(r))}};t.getCatalogEntryForType=async(e,n)=>{const r=await(async(e,n)=>(0,t.executeScript)((0,l.getCatalogIdentifiersScript)(n),[u.arg(e,d.String)],"getCatalogIdentifiersScript"))(e,n);if(!r)return null;let i="";const o=Object.keys(r);for(let t=0;t<o.length;t++){const e=o[t];if(r[e]){i=e;break}}return i};t.delay=e=>new Promise((t=>{setTimeout(t,e)}));t.waitForSeal=async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;try{return await u.tx(e).onceSealed()}catch(i){const o=(0,s.getMessageFromError)(i);if(o.includes("panic")||o.includes("assertion failed")||o.includes("Execution failed"))throw new Error(o);if(0===n)throw new Error(c.CustomErrorMessages.UnableToFollowTransactionResult);return await(0,t.delay)(r),(0,t.waitForSeal)(e,n-1)}};t.sendMutation=async(e,n,r)=>{const i=await(async e=>{let t;if("string"===typeof e)t=await h(e);else{const n=e;let r=await h(n.script);n.params.forEach((e=>{let{placeholder:t,param:n}=e;r=r.replaceAll(t,n)})),t=r}return t})(e);console.log("sendMutation",{args:n,transactionCdcScript:e});const o=await u.mutate({args:(e,t)=>n,authorizations:[u.authz],cadence:i,limit:9999,payer:u.authz,proposer:u.authz});r&&r(o);return await(0,t.waitForSeal)(o)};t.validateListing=async(e,t)=>{const n={listingID:e.listingResourceID,listingType:"storefront"},r=await a.default.post("".concat(t,"/validate/listing"),n,{validateStatus:e=>!0});return 200!==r.status||!0===r.data.valid}},50776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useGetCollectionRoyalty=void 0;const r=n(61462);t.useGetCollectionRoyalty=e=>{let{nft:t,flowty:n,mixPanelFn:i}=e;const[o,a]=(0,r.useState)(null),[s,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{(async()=>{if(null!==t&&void 0!==t&&t.owner){var e;const s=null===t||void 0===t||null===(e=t.nftView)||void 0===e||null===(e=e.collectionData)||void 0===e?void 0:e.storagePath;try{var r;l(!0);const e=await n.scripts.getRoyaltyRate(t.owner||"",t.id.toString(),null!==(r=null===s||void 0===s?void 0:s.identifier)&&void 0!==r?r:"");a(e),l(!1)}catch(o){l(!1),i("error getting royalty rate",o)}}})()}),[t]),{isLoading:s,royaltyRate:o}}},87111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useGetFees=void 0;const r=n(61462),i=n(53918);t.useGetFees=e=>{let{nft:t,price:n,token:o,flowty:a}=e;const[s,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(!1),d=(0,r.useRef)(n);return(0,r.useEffect)((()=>{if(d.current=n,t&&n&&o){var e;u(!0);const r=null===t||void 0===t||null===(e=t.nftView)||void 0===e||null===(e=e.collectionData)||void 0===e||null===(e=e.storagePath)||void 0===e?void 0:e.identifier;if(!r||!t.owner)return l(null),void u(!1);(async(e,t,n,r,o)=>{try{const i=await a.scripts.getStorefrontFees(e,t,n,r,o);0!==d.current&&l(i),u(!1)}catch(s){l(null),(0,i.Err)(s)}})(t.owner,r,t.id.toString(),a.tokens.getTokenIdentifier(o),n)}else l(null)}),[t,n,o]),{fees:s,isLoading:c}}},21657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useGetFlowtyStorefrontFee=void 0;const r=n(61462);t.useGetFlowtyStorefrontFee=e=>{let{identifier:t,flowty:n}=e;const[i,o]=(0,r.useState)(null),[a,s]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{n.scripts.getFlowtyStorefrontFee(t).then((e=>{o(e),s(!1)}))}),[t]),{flowtyStorefrontFee:i,isLoading:a}}},65490:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyAddress=void 0;const r=n(19388);t.verifyAddress=async e=>{let t=!1;try{(await r.account(e)).address&&(t=!0)}catch(n){console.log("Couldn't find account [".concat(e,"] for private listing"))}return t}},40035:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;g.push(n)}function C(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(){C(r)}function b(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function x(){var e=f(),n=C(i);if(n){if(w(),!C(o))return v("property missing ':'");var r=C(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return C(s),l}}return y(),function(){var e,t=[];for(b(t);e=x();)!1!==e&&(t.push(e),b(t));return t}()}},54331:function(e,t,n){!function(e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B,U,V,H,z,Z,W,q,G,Y,K,Q,X,J,$,ee,te,ne,re,ie,oe,ae,se,le,ce){"use strict";function ue(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var de=ue(t),he=ue(r),pe=ue(i),fe=ue(o),me=ue(a),ge=ue(s),ve=ue(l),Ce=ue(c),ye=ue(u),be=ue(d),we=ue(h),xe=ue(p),Ae=ue(f),Ee=ue(m),_e=ue(g),Te=ue(v),Se=ue(C),ke=ue(y),Pe=ue(b),De=ue(w),Ne=ue(x),Fe=ue(A),Ie=ue(E),Re=ue(_),Me=ue(T),Oe=ue(S),je=ue(k),Le=ue(P),Be=ue(D),Ue=ue(N),Ve=ue(F),He=ue(I),ze=ue(R),Ze=ue(M),We=ue(O),qe=ue(j),Ge=ue(L),Ye=ue(B),Ke=ue(U),Qe=ue(V),Xe=ue(H),Je=ue(z),$e=ue(Z),et=ue(W),tt=ue(G),nt=ue(Y),rt=ue(K),it=ue(Q),ot=ue(X),at=ue(J),st=ue($),lt=ue(ee),ct=ue(te),ut=ue(ne),dt=ue(re),ht=ue(ie),pt=ue(oe),ft=ue(ae),mt=ue(se),gt=ue(ce);function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yt(e){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yt(e)}function bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ft(r.key),r)}}function xt(e,t,n){return t&&wt(e.prototype,t),n&&wt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function At(e,t,n){return(t=Ft(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Et.apply(this,arguments)}function _t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&St(e,t)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tt(e)}function St(e,t){return St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},St(e,t)}function kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tt(e);if(t){var i=Tt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kt(e)}(this,n)}}function Dt(e){return function(e){if(Array.isArray(e))return Nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ft(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var It=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Rt=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Mt={p:Rt,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return It(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",It(i,t)).replace("{{time}}",Rt(o,t))}},Ot=12,jt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Lt(e){var t=e?"string"==typeof e||e instanceof String?pt.default(e):dt.default(e):new Date;return Bt(t)?t:null}function Bt(e,t){return t=t||new Date("1/1/1000"),fe.default(e)&&!ct.default(e,t)}function Ut(e,t,n){if("en"===n)return me.default(e,t,{awareOfUnicodeTokens:!0});var r=tn(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&en()&&tn(en())&&(r=tn(en())),me.default(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function Vt(e,t){var n=t.dateFormat,r=t.locale;return e&&Ut(e,Array.isArray(n)?n[0]:n,r)||""}function Ht(e,t){var n=t.hour,r=void 0===n?0:n,i=t.minute,o=void 0===i?0:i,a=t.second,s=void 0===a?0:a;return Ue.default(Be.default(Le.default(e,s),o),r)}function zt(e,t,n){var r=tn(t||en());return Qe.default(e,{locale:r,weekStartsOn:n})}function Zt(e){return Xe.default(e)}function Wt(e){return $e.default(e)}function qt(e){return Je.default(e)}function Gt(){return Ke.default(Lt())}function Yt(e,t){return e&&t?at.default(e,t):!e&&!t}function Kt(e,t){return e&&t?ot.default(e,t):!e&&!t}function Qt(e,t){return e&&t?st.default(e,t):!e&&!t}function Xt(e,t){return e&&t?it.default(e,t):!e&&!t}function Jt(e,t){return e&&t?rt.default(e,t):!e&&!t}function $t(e,t,n){var r,i=Ke.default(t),o=et.default(n);try{r=ut.default(e,{start:i,end:o})}catch(e){r=!1}return r}function en(){return("undefined"!=typeof window?window:globalThis).__localeId__}function tn(e){if("string"==typeof e){var t="undefined"!=typeof window?window:globalThis;return t.__localeData__?t.__localeData__[e]:null}return e}function nn(e,t){return Ut(Ve.default(Lt(),e),"LLLL",t)}function rn(e,t){return Ut(Ve.default(Lt(),e),"LLL",t)}function on(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.excludeDateIntervals,a=t.includeDates,s=t.includeDateIntervals,l=t.filterDate;return pn(e,{minDate:n,maxDate:r})||i&&i.some((function(t){return Xt(e,t)}))||o&&o.some((function(t){var n=t.start,r=t.end;return ut.default(e,{start:n,end:r})}))||a&&!a.some((function(t){return Xt(e,t)}))||s&&!s.some((function(t){var n=t.start,r=t.end;return ut.default(e,{start:n,end:r})}))||l&&!l(Lt(e))||!1}function an(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return ut.default(e,{start:n,end:r})})):n&&n.some((function(t){return Xt(e,t)}))||!1}function sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return pn(e,{minDate:Xe.default(n),maxDate:tt.default(r)})||i&&i.some((function(t){return Kt(e,t)}))||o&&!o.some((function(t){return Kt(e,t)}))||a&&!a(Lt(e))||!1}function ln(e,t,n,r){var i=Oe.default(e),o=Re.default(e),a=Oe.default(t),s=Re.default(t),l=Oe.default(r);return i===a&&i===l?o<=n&&n<=s:i<a?l===i&&o<=n||l===a&&s>=n||l<a&&l>i:void 0}function cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return pn(e,{minDate:n,maxDate:r})||i&&i.some((function(t){return Qt(e,t)}))||o&&!o.some((function(t){return Qt(e,t)}))||a&&!a(Lt(e))||!1}function un(e,t,n){if(!fe.default(t)||!fe.default(n))return!1;var r=Oe.default(t),i=Oe.default(n);return r<=e&&i>=e}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate,s=new Date(e,0,1);return pn(s,{minDate:$e.default(n),maxDate:nt.default(r)})||i&&i.some((function(e){return Yt(s,e)}))||o&&!o.some((function(e){return Yt(s,e)}))||a&&!a(Lt(s))||!1}function hn(e,t,n,r){var i=Oe.default(e),o=Me.default(e),a=Oe.default(t),s=Me.default(t),l=Oe.default(r);return i===a&&i===l?o<=n&&n<=s:i<a?l===i&&o<=n||l===a&&s>=n||l<a&&l>i:void 0}function pn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&qe.default(e,n)<0||r&&qe.default(e,r)>0}function fn(e,t){return t.some((function(t){return De.default(t)===De.default(e)&&Pe.default(t)===Pe.default(e)}))}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,i=t.filterTime;return n&&fn(e,n)||r&&!fn(e,r)||i&&!i(e)||!1}function gn(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,o=Lt(),a=Ue.default(Be.default(o,Pe.default(e)),De.default(e)),s=Ue.default(Be.default(o,Pe.default(n)),De.default(n)),l=Ue.default(Be.default(o,Pe.default(r)),De.default(r));try{i=!ut.default(a,{start:s,end:l})}catch(e){i=!1}return i}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,i=_e.default(e,1);return n&&Ge.default(n,i)>0||r&&r.every((function(e){return Ge.default(e,i)>0}))||!1}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=be.default(e,1);return n&&Ge.default(i,n)>0||r&&r.every((function(e){return Ge.default(i,e)>0}))||!1}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,i=Se.default(e,1);return n&&Ye.default(n,i)>0||r&&r.every((function(e){return Ye.default(e,i)>0}))||!1}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=xe.default(e,1);return n&&Ye.default(i,n)>0||r&&r.every((function(e){return Ye.default(i,e)>0}))||!1}function wn(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return qe.default(e,t)>=0}));return Ze.default(r)}return n?Ze.default(n):t}function xn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return qe.default(e,t)<=0}));return We.default(r)}return n?We.default(n):t}function An(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=e.length;r<i;r++){var o=e[r];if(pe.default(o)){var a=Ut(o,"MM.dd.yyyy"),s=n.get(a)||[];s.includes(t)||(s.push(t),n.set(a,s))}else if("object"===yt(o)){var l=Object.keys(o),c=l[0],u=o[l[0]];if("string"==typeof c&&u.constructor===Array)for(var d=0,h=u.length;d<h;d++){var p=Ut(u[d],"MM.dd.yyyy"),f=n.get(p)||[];f.includes(c)||(f.push(c),n.set(p,f))}}}return n}function En(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",n=new Map;return e.forEach((function(e){var r=e.date,i=e.holidayName;if(pe.default(r)){var o=Ut(r,"MM.dd.yyyy"),a=n.get(o)||{};if(!("className"in a)||a.className!==t||(s=a.holidayNames,l=[i],s.length!==l.length||!s.every((function(e,t){return e===l[t]})))){var s,l;a.className=t;var c=a.holidayNames;a.holidayNames=c?[].concat(Dt(c),[i]):[i],n.set(o,a)}}})),n}function _n(e,t,n,r,i){for(var o=i.length,a=[],s=0;s<o;s++){var l=ge.default(ve.default(e,De.default(i[s])),Pe.default(i[s])),c=ge.default(e,(n+1)*r);lt.default(l,t)&&ct.default(l,c)&&a.push(i[s])}return a}function Tn(e){return e<10?"0".concat(e):"".concat(e)}function Sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ot,n=Math.ceil(Oe.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function kn(e){var t=e.getSeconds(),n=e.getMilliseconds();return dt.default(e.getTime()-1e3*t-n)}function Pn(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=Oe.default(n)<=a),r&&s&&(s=Oe.default(r)>=a),s&&i.push(a)}return i}var Dn=function(e){_t(r,e);var n=Pt(r);function r(e){var i;bt(this,r),At(kt(i=n.call(this,e)),"renderOptions",(function(){var e=i.props.year,t=i.state.yearsList.map((function(t){return de.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:i.onChange.bind(kt(i),t),"aria-selected":e===t?"true":void 0},e===t?de.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=i.props.minDate?Oe.default(i.props.minDate):null,r=i.props.maxDate?Oe.default(i.props.maxDate):null;return r&&i.state.yearsList.find((function(e){return e===r}))||t.unshift(de.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:i.incrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&i.state.yearsList.find((function(e){return e===n}))||t.push(de.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:i.decrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),At(kt(i),"onChange",(function(e){i.props.onChange(e)})),At(kt(i),"handleClickOutside",(function(){i.props.onCancel()})),At(kt(i),"shiftYears",(function(e){var t=i.state.yearsList.map((function(t){return t+e}));i.setState({yearsList:t})})),At(kt(i),"incrementYears",(function(){return i.shiftYears(1)})),At(kt(i),"decrementYears",(function(){return i.shiftYears(-1)}));var o=e.yearDropdownItemNumber,a=e.scrollableYearDropdown,s=o||(a?10:5);return i.state={yearsList:Pn(i.props.year,s,i.props.minDate,i.props.maxDate)},i.dropdownRef=t.createRef(),i}return xt(r,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=he.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return de.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),r}(de.default.Component),Nn=ft.default(Dn),Fn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),At(kt(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?Oe.default(e.props.minDate):1900,n=e.props.maxDate?Oe.default(e.props.maxDate):2100,r=[],i=t;i<=n;i++)r.push(de.default.createElement("option",{key:i,value:i},i));return r})),At(kt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),At(kt(e),"renderSelectMode",(function(){return de.default.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),At(kt(e),"renderReadView",(function(t){return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},de.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),At(kt(e),"renderDropdown",(function(){return de.default.createElement(Nn,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),At(kt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),At(kt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),At(kt(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),At(kt(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),At(kt(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),At(kt(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return xt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return de.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component),In=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"isSelectedMonth",(function(t){return e.props.month===t})),At(kt(e),"renderOptions",(function(){return e.props.monthNames.map((function(t,n){return de.default.createElement("div",{className:e.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(kt(e),n),"aria-selected":e.isSelectedMonth(n)?"true":void 0},e.isSelectedMonth(n)?de.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",t)}))})),At(kt(e),"onChange",(function(t){return e.props.onChange(t)})),At(kt(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return xt(n,[{key:"render",value:function(){return de.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),n}(de.default.Component),Rn=ft.default(In),Mn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),At(kt(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return de.default.createElement("option",{key:t,value:t},e)}))})),At(kt(e),"renderSelectMode",(function(t){return de.default.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),At(kt(e),"renderReadView",(function(t,n){return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},de.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[e.props.month]))})),At(kt(e),"renderDropdown",(function(t){return de.default.createElement(Rn,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),At(kt(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),At(kt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),At(kt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return xt(n,[{key:"render",value:function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return rn(e,t.props.locale)}:function(e){return nn(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return de.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component);function On(e,t){for(var n=[],r=Zt(e),i=Zt(t);!lt.default(r,i);)n.push(Lt(r)),r=be.default(r,1);return n}var jn=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"renderOptions",(function(){return r.state.monthYearsList.map((function(e){var t=je.default(e),n=Yt(r.props.date,e)&&Kt(r.props.date,e);return de.default.createElement("div",{className:n?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(kt(r),t),"aria-selected":n?"true":void 0},n?de.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",Ut(e,r.props.dateFormat,r.props.locale))}))})),At(kt(r),"onChange",(function(e){return r.props.onChange(e)})),At(kt(r),"handleClickOutside",(function(){r.props.onCancel()})),r.state={monthYearsList:On(r.props.minDate,r.props.maxDate)},r}return xt(n,[{key:"render",value:function(){var e=he.default({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return de.default.createElement("div",{className:e},this.renderOptions())}}]),n}(de.default.Component),Ln=ft.default(jn),Bn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),At(kt(e),"renderSelectOptions",(function(){for(var t=Zt(e.props.minDate),n=Zt(e.props.maxDate),r=[];!lt.default(t,n);){var i=je.default(t);r.push(de.default.createElement("option",{key:i,value:i},Ut(t,e.props.dateFormat,e.props.locale))),t=be.default(t,1)}return r})),At(kt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),At(kt(e),"renderSelectMode",(function(){return de.default.createElement("select",{value:je.default(Zt(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),At(kt(e),"renderReadView",(function(t){var n=Ut(e.props.date,e.props.dateFormat,e.props.locale);return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},de.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))})),At(kt(e),"renderDropdown",(function(){return de.default.createElement(Ln,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown,locale:e.props.locale})})),At(kt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),At(kt(e),"onChange",(function(t){e.toggleDropdown();var n=Lt(parseInt(t));Yt(e.props.date,n)&&Kt(e.props.date,n)||e.props.onChange(n)})),At(kt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return xt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return de.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component),Un=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"dayEl",de.default.createRef()),At(kt(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),At(kt(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),At(kt(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),At(kt(e),"isSameDay",(function(t){return Xt(e.props.day,t)})),At(kt(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!(e.isSameDay(e.props.selected)||e.isSameWeek(e.props.selected))&&(e.isSameDay(e.props.preSelection)||e.isSameWeek(e.props.preSelection))})),At(kt(e),"isDisabled",(function(){return on(e.props.day,e.props)})),At(kt(e),"isExcluded",(function(){return an(e.props.day,e.props)})),At(kt(e),"isStartOfWeek",(function(){return Xt(e.props.day,zt(e.props.day,e.props.locale,e.props.calendarStartDay))})),At(kt(e),"isSameWeek",(function(t){return e.props.showWeekPicker&&Xt(t,zt(e.props.day,e.props.locale,e.props.calendarStartDay))})),At(kt(e),"getHighLightedClass",(function(){var t=e.props,n=t.day,r=t.highlightDates;if(!r)return!1;var i=Ut(n,"MM.dd.yyyy");return r.get(i)})),At(kt(e),"getHolidaysClass",(function(){var t=e.props,n=t.day,r=t.holidays;if(!r)return!1;var i=Ut(n,"MM.dd.yyyy");return r.has(i)?[r.get(i).className]:void 0})),At(kt(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,i=t.endDate;return!(!r||!i)&&$t(n,r,i)})),At(kt(e),"isInSelectingRange",(function(){var t,n=e.props,r=n.day,i=n.selectsStart,o=n.selectsEnd,a=n.selectsRange,s=n.selectsDisabledDaysInRange,l=n.startDate,c=n.endDate,u=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return!(!(i||o||a)||!u||!s&&e.isDisabled())&&(i&&c&&(ct.default(u,c)||Jt(u,c))?$t(r,u,c):(o&&l&&(lt.default(u,l)||Jt(u,l))||!(!a||!l||c||!lt.default(u,l)&&!Jt(u,l)))&&$t(r,l,u))})),At(kt(e),"isSelectingRangeStart",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,i=n.startDate,o=n.selectsStart,a=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return Xt(r,o?a:i)})),At(kt(e),"isSelectingRangeEnd",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,i=n.endDate,o=n.selectsEnd,a=n.selectsRange,s=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return Xt(r,o||a?s:i)})),At(kt(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,i=t.endDate;return!(!r||!i)&&Xt(r,n)})),At(kt(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,i=t.endDate;return!(!r||!i)&&Xt(i,n)})),At(kt(e),"isWeekend",(function(){var t=Ne.default(e.props.day);return 0===t||6===t})),At(kt(e),"isAfterMonth",(function(){return void 0!==e.props.month&&(e.props.month+1)%12===Re.default(e.props.day)})),At(kt(e),"isBeforeMonth",(function(){return void 0!==e.props.month&&(Re.default(e.props.day)+1)%12===e.props.month})),At(kt(e),"isCurrentDay",(function(){return e.isSameDay(Lt())})),At(kt(e),"isSelected",(function(){return e.isSameDay(e.props.selected)||e.isSameWeek(e.props.selected)})),At(kt(e),"getClassNames",(function(t){var n,r=e.props.dayClassName?e.props.dayClassName(t):void 0;return he.default("react-datepicker__day",r,"react-datepicker__day--"+Ut(e.props.day,"ddd",n),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSelected(),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isCurrentDay(),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isAfterMonth()||e.isBeforeMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"),e.getHolidaysClass())})),At(kt(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,i=void 0===r?"Choose":r,o=t.ariaLabelPrefixWhenDisabled,a=void 0===o?"Not available":o,s=e.isDisabled()||e.isExcluded()?a:i;return"".concat(s," ").concat(Ut(n,"PPPP",e.props.locale))})),At(kt(e),"getTitle",(function(){var t=e.props,n=t.day,r=t.holidays,i=void 0===r?new Map:r,o=Ut(n,"MM.dd.yyyy");return i.has(o)&&i.get(o).holidayNames.length>0?i.get(o).holidayNames.join(", "):""})),At(kt(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,i=n||e.props.preSelection;return(!e.props.showWeekPicker||!e.props.showWeekNumber&&e.isStartOfWeek())&&(e.isKeyboardSelected()||e.isSameDay(r)&&Xt(i,r))?0:-1})),At(kt(e),"handleFocusDay",(function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!n.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(r=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(r=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(r=!1)),r&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))})),At(kt(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(Fe.default(e.props.day),e.props.day):Fe.default(e.props.day)})),At(kt(e),"render",(function(){return de.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&de.default.createElement("span",{className:"holiday-overlay"},e.getTitle()))})),e}return xt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(de.default.Component),Vn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"weekNumberEl",de.default.createRef()),At(kt(e),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),At(kt(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),At(kt(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!Xt(e.props.date,e.props.selected)&&Xt(e.props.date,e.props.preSelection)})),At(kt(e),"getTabIndex",(function(){return e.props.showWeekPicker&&e.props.showWeekNumber&&(e.isKeyboardSelected()||Xt(e.props.date,e.props.selected)&&Xt(e.props.preSelection,e.props.selected))?0:-1})),At(kt(e),"handleFocusWeekNumber",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&Xt(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})})),e}return xt(n,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,r=void 0===n?"week ":n,i={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick,"react-datepicker__week-number--selected":Xt(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return de.default.createElement("div",{ref:this.weekNumberEl,className:he.default(i),"aria-label":"".concat(r," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}]),n}(de.default.Component),Hn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),At(kt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),At(kt(e),"handleWeekClick",(function(t,n,r){if("function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.showWeekPicker){var i=zt(t,e.props.locale,e.props.calendarStartDay);e.handleDayClick(i,r)}e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),At(kt(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):function(e,t){var n=t&&tn(t)||en()&&tn(en());return Ie.default(e,n?{locale:n}:null)}(t)})),At(kt(e),"renderDays",(function(){var t=zt(e.props.day,e.props.locale,e.props.calendarStartDay),n=[],r=e.formatWeekNumber(t);if(e.props.showWeekNumber){var i=e.props.onWeekSelect||e.props.showWeekPicker?e.handleWeekClick.bind(kt(e),t,r):void 0;n.push(de.default.createElement(Vn,{key:"W",weekNumber:r,date:t,onClick:i,selected:e.props.selected,preSelection:e.props.preSelection,ariaLabelPrefix:e.props.ariaLabelPrefix,showWeekPicker:e.props.showWeekPicker,showWeekNumber:e.props.showWeekNumber,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef}))}return n.concat([0,1,2,3,4,5,6].map((function(n){var r=Ce.default(t,n);return de.default.createElement(Un,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:r.valueOf(),day:r,month:e.props.month,onClick:e.handleDayClick.bind(kt(e),r),onMouseEnter:e.handleDayMouseEnter.bind(kt(e),r),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,highlightDates:e.props.highlightDates,holidays:e.props.holidays,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,showWeekPicker:e.props.showWeekPicker,showWeekNumber:e.props.showWeekNumber,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart,locale:e.props.locale})})))})),At(kt(e),"startOfWeek",(function(){return zt(e.props.day,e.props.locale,e.props.calendarStartDay)})),At(kt(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!Xt(e.startOfWeek(),e.props.selected)&&Xt(e.startOfWeek(),e.props.preSelection)})),e}return xt(n,[{key:"render",value:function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":Xt(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return de.default.createElement("div",{className:he.default(e)},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),n}(de.default.Component),zn="two_columns",Zn="three_columns",Wn="four_columns",qn=At(At(At({},zn,{grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2}),Zn,{grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3}),Wn,{grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4});function Gn(e,t){return e?Wn:t?zn:Zn}var Yn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"MONTH_REFS",Dt(Array(12)).map((function(){return de.default.createRef()}))),At(kt(e),"QUARTER_REFS",Dt(Array(4)).map((function(){return de.default.createRef()}))),At(kt(e),"isDisabled",(function(t){return on(t,e.props)})),At(kt(e),"isExcluded",(function(t){return an(t,e.props)})),At(kt(e),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),At(kt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),At(kt(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),At(kt(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate;return!(!i||!o)&&Kt(Ve.default(r,t),i)})),At(kt(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate;return!(!i||!o)&&Qt(He.default(r,t),i)})),At(kt(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate;return!(!i||!o)&&Kt(Ve.default(r,t),o)})),At(kt(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate;return!(!i||!o)&&Qt(He.default(r,t),o)})),At(kt(e),"isInSelectingRangeMonth",(function(t){var n,r=e.props,i=r.day,o=r.selectsStart,a=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,u=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?ln(u,c,t,i):(a&&l||!(!s||!l||c))&&ln(l,u,t,i))})),At(kt(e),"isSelectingMonthRangeStart",(function(t){var n;if(!e.isInSelectingRangeMonth(t))return!1;var r=e.props,i=r.day,o=r.startDate,a=r.selectsStart,s=Ve.default(i,t),l=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return Kt(s,a?l:o)})),At(kt(e),"isSelectingMonthRangeEnd",(function(t){var n;if(!e.isInSelectingRangeMonth(t))return!1;var r=e.props,i=r.day,o=r.endDate,a=r.selectsEnd,s=r.selectsRange,l=Ve.default(i,t),c=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return Kt(l,a||s?c:o)})),At(kt(e),"isInSelectingRangeQuarter",(function(t){var n,r=e.props,i=r.day,o=r.selectsStart,a=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,u=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?hn(u,c,t,i):(a&&l||!(!s||!l||c))&&hn(l,u,t,i))})),At(kt(e),"isWeekInMonth",(function(t){var n=e.props.day,r=Ce.default(t,6);return Kt(t,n)||Kt(r,n)})),At(kt(e),"isCurrentMonth",(function(e,t){return Oe.default(e)===Oe.default(Lt())&&t===Re.default(Lt())})),At(kt(e),"isCurrentQuarter",(function(e,t){return Oe.default(e)===Oe.default(Lt())&&t===Me.default(Lt())})),At(kt(e),"isSelectedMonth",(function(e,t,n){return Re.default(n)===t&&Oe.default(e)===Oe.default(n)})),At(kt(e),"isSelectedQuarter",(function(e,t,n){return Me.default(e)===t&&Oe.default(e)===Oe.default(n)})),At(kt(e),"renderWeeks",(function(){for(var t=[],n=e.props.fixedHeight,r=0,i=!1,o=zt(Zt(e.props.day),e.props.locale,e.props.calendarStartDay);t.push(de.default.createElement(Hn,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:r,day:o,month:Re.default(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,highlightDates:e.props.highlightDates,holidays:e.props.holidays,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,showWeekNumber:e.props.showWeekNumbers,showWeekPicker:e.props.showWeekPicker,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,calendarStartDay:e.props.calendarStartDay,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})),!i;){r++,o=ye.default(o,1);var a=n&&r>=6,s=!n&&!e.isWeekInMonth(o);if(a||s){if(!e.props.peekNextMonth)break;i=!0}}return t})),At(kt(e),"onMonthClick",(function(t,n){e.handleDayClick(Zt(Ve.default(e.props.day,n)),t)})),At(kt(e),"onMonthMouseEnter",(function(t){e.handleDayMouseEnter(Zt(Ve.default(e.props.day,t)))})),At(kt(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),At(kt(e),"onMonthKeyDown",(function(t,n){var r=e.props,i=r.selected,o=r.preSelection,a=r.disabledKeyboardNavigation,s=r.showTwoColumnMonthYearPicker,l=r.showFourColumnMonthYearPicker,c=r.setPreSelection,u=t.key;if("Tab"!==u&&t.preventDefault(),!a){var d=Gn(l,s),h=qn[d].verticalNavigationOffset,p=qn[d].grid;switch(u){case"Enter":e.onMonthClick(t,n),c(i);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,be.default(o,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,_e.default(o,1));break;case"ArrowUp":e.handleMonthNavigation(p[0].includes(n)?n+12-h:n-h,_e.default(o,h));break;case"ArrowDown":e.handleMonthNavigation(p[p.length-1].includes(n)?n-12+h:n+h,be.default(o,h))}}})),At(kt(e),"onQuarterClick",(function(t,n){e.handleDayClick(qt(He.default(e.props.day,n)),t)})),At(kt(e),"onQuarterMouseEnter",(function(t){e.handleDayMouseEnter(qt(He.default(e.props.day,t)))})),At(kt(e),"handleQuarterNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),At(kt(e),"onQuarterKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,we.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,Te.default(e.props.preSelection,1))}})),At(kt(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,u=n.monthClassName,d=n.excludeDates,h=n.includeDates,p=u?u(Ve.default(r,t)):void 0,f=Ve.default(r,t);return he.default("react-datepicker__month-text","react-datepicker__month-".concat(t),p,{"react-datepicker__month-text--disabled":(s||l||d||h)&&sn(f,e.props),"react-datepicker__month-text--selected":e.isSelectedMonth(r,t,a),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&Re.default(c)===t,"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":ln(i,o,t,r),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),At(kt(e),"getTabIndex",(function(t){var n=Re.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),At(kt(e),"getQuarterTabIndex",(function(t){var n=Me.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),At(kt(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,i=void 0===r?"Choose":r,o=n.disabledDayAriaLabelPrefix,a=void 0===o?"Not available":o,s=n.day,l=Ve.default(s,t),c=e.isDisabled(l)||e.isExcluded(l)?a:i;return"".concat(c," ").concat(Ut(l,"MMMM yyyy"))})),At(kt(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,u=n.disabledKeyboardNavigation;return he.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(s||l)&&cn(He.default(r,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(r,t,a),"react-datepicker__quarter-text--keyboard-selected":!u&&Me.default(c)===t,"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":hn(i,o,t,r),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})})),At(kt(e),"getMonthContent",(function(t){var n=e.props,r=n.showFullMonthYearPicker,i=n.renderMonthContent,o=n.locale,a=n.day,s=rn(t,o),l=nn(t,o);return i?i(t,s,l,a):r?l:s})),At(kt(e),"getQuarterContent",(function(t){var n=e.props,r=n.renderQuarterContent,i=function(e,t){return Ut(He.default(Lt(),e),"QQQ",t)}(t,n.locale);return r?r(t,i):i})),At(kt(e),"renderMonths",(function(){var t=e.props,n=t.showTwoColumnMonthYearPicker,r=t.showFourColumnMonthYearPicker,i=t.day,o=t.selected;return qn[Gn(r,n)].grid.map((function(t,n){return de.default.createElement("div",{className:"react-datepicker__month-wrapper",key:n},t.map((function(t,n){return de.default.createElement("div",{ref:e.MONTH_REFS[t],key:n,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},onMouseEnter:function(){return e.onMonthMouseEnter(t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(i,t)?"date":void 0,"aria-selected":e.isSelectedMonth(i,t,o)},e.getMonthContent(t))})))}))})),At(kt(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return de.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,i){return de.default.createElement("div",{key:i,ref:e.QUARTER_REFS[i],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},onMouseEnter:function(){return e.onQuarterMouseEnter(t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},e.getQuarterContent(t))})))})),At(kt(e),"getClassNames",(function(){var t=e.props,n=t.selectingDate,r=t.selectsStart,i=t.selectsEnd,o=t.showMonthYearPicker,a=t.showQuarterYearPicker,s=t.showWeekPicker;return he.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":a},{"react-datepicker__weekPicker":s})})),e}return xt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,o=void 0===i?"month ":i;return de.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Ut(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(de.default.Component),Kn=function(e){_t(n,e);var t=Pt(n);function n(){var e;bt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return At(kt(e=t.call.apply(t,[this].concat(i))),"state",{height:null}),At(kt(e),"scrollToTheSelectedTime",(function(){requestAnimationFrame((function(){e.list&&(e.list.scrollTop=e.centerLi&&n.calcCenterPosition(e.props.monthRef?e.props.monthRef.clientHeight-e.header.clientHeight:e.list.clientHeight,e.centerLi))}))})),At(kt(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&gn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&mn(t,e.props)||e.props.onChange(t)})),At(kt(e),"isSelectedTime",(function(t){return e.props.selected&&(n=t,kn(e.props.selected).getTime()===kn(n).getTime());var n})),At(kt(e),"isDisabledTime",(function(t){return(e.props.minTime||e.props.maxTime)&&gn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&mn(t,e.props)})),At(kt(e),"liClasses",(function(t){var n=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t):void 0];return e.isSelectedTime(t)&&n.push("react-datepicker__time-list-item--selected"),e.isDisabledTime(t)&&n.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*De.default(t)+Pe.default(t))%e.props.intervals!=0&&n.push("react-datepicker__time-list-item--injected"),n.join(" ")})),At(kt(e),"handleOnKeyDown",(function(t,n){" "===t.key&&(t.preventDefault(),t.key="Enter"),"ArrowUp"!==t.key&&"ArrowLeft"!==t.key||!t.target.previousSibling||(t.preventDefault(),t.target.previousSibling.focus()),"ArrowDown"!==t.key&&"ArrowRight"!==t.key||!t.target.nextSibling||(t.preventDefault(),t.target.nextSibling.focus()),"Enter"===t.key&&e.handleClick(n),e.props.handleOnKeyDown(t)})),At(kt(e),"renderTimes",(function(){for(var t,n=[],r=e.props.format?e.props.format:"p",i=e.props.intervals,o=e.props.selected||e.props.openToDate||Lt(),a=(t=o,Ke.default(t)),s=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),l=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(o),c=l/i,u=0;u<c;u++){var d=ge.default(a,u*i);if(n.push(d),s){var h=_n(a,d,u,i,s);n=n.concat(h)}}var p=n.reduce((function(e,t){return t.getTime()<=o.getTime()?t:e}),n[0]);return n.map((function(t,n){return de.default.createElement("li",{key:n,onClick:e.handleClick.bind(kt(e),t),className:e.liClasses(t),ref:function(n){t===p&&(e.centerLi=n)},onKeyDown:function(n){e.handleOnKeyDown(n,t)},tabIndex:t===p?0:-1,role:"option","aria-selected":e.isSelectedTime(t)?"true":void 0,"aria-disabled":e.isDisabledTime(t)?"true":void 0},Ut(t,r,e.props.locale))}))})),e}return xt(n,[{key:"componentDidMount",value:function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return de.default.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){e.header=t}},de.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),de.default.createElement("div",{className:"react-datepicker__time"},de.default.createElement("div",{className:"react-datepicker__time-box"},de.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),n}(de.default.Component);At(Kn,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var Qn=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"YEAR_REFS",Dt(Array(r.props.yearItemNumber)).map((function(){return de.default.createRef()}))),At(kt(r),"isDisabled",(function(e){return on(e,r.props)})),At(kt(r),"isExcluded",(function(e){return an(e,r.props)})),At(kt(r),"selectingDate",(function(){var e;return null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection})),At(kt(r),"updateFocusOnPaginate",(function(e){var t=function(){this.YEAR_REFS[e].current.focus()}.bind(kt(r));window.requestAnimationFrame(t)})),At(kt(r),"handleYearClick",(function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)})),At(kt(r),"handleYearNavigation",(function(e,t){var n=r.props,i=n.date,o=n.yearItemNumber,a=Sn(i,o).startPeriod;r.isDisabled(t)||r.isExcluded(t)||(r.props.setPreSelection(t),e-a==-1?r.updateFocusOnPaginate(o-1):e-a===o?r.updateFocusOnPaginate(0):r.YEAR_REFS[e-a].current.focus())})),At(kt(r),"isSameDay",(function(e,t){return Xt(e,t)})),At(kt(r),"isCurrentYear",(function(e){return e===Oe.default(Lt())})),At(kt(r),"isRangeStart",(function(e){return r.props.startDate&&r.props.endDate&&Yt(ze.default(Lt(),e),r.props.startDate)})),At(kt(r),"isRangeEnd",(function(e){return r.props.startDate&&r.props.endDate&&Yt(ze.default(Lt(),e),r.props.endDate)})),At(kt(r),"isInRange",(function(e){return un(e,r.props.startDate,r.props.endDate)})),At(kt(r),"isInSelectingRange",(function(e){var t=r.props,n=t.selectsStart,i=t.selectsEnd,o=t.selectsRange,a=t.startDate,s=t.endDate;return!(!(n||i||o)||!r.selectingDate())&&(n&&s?un(e,r.selectingDate(),s):(i&&a||!(!o||!a||s))&&un(e,a,r.selectingDate()))})),At(kt(r),"isSelectingRangeStart",(function(e){if(!r.isInSelectingRange(e))return!1;var t=r.props,n=t.startDate,i=t.selectsStart;return Yt(ze.default(Lt(),e),i?r.selectingDate():n)})),At(kt(r),"isSelectingRangeEnd",(function(e){if(!r.isInSelectingRange(e))return!1;var t=r.props,n=t.endDate,i=t.selectsEnd,o=t.selectsRange;return Yt(ze.default(Lt(),e),i||o?r.selectingDate():n)})),At(kt(r),"isKeyboardSelected",(function(e){var t=Wt(ze.default(r.props.date,e));return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!Xt(t,Wt(r.props.selected))&&Xt(t,Wt(r.props.preSelection))})),At(kt(r),"onYearClick",(function(e,t){var n=r.props.date;r.handleYearClick(Wt(ze.default(n,t)),e)})),At(kt(r),"onYearKeyDown",(function(e,t){var n=e.key;if(!r.props.disabledKeyboardNavigation)switch(n){case"Enter":r.onYearClick(e,t),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleYearNavigation(t+1,xe.default(r.props.preSelection,1));break;case"ArrowLeft":r.handleYearNavigation(t-1,Se.default(r.props.preSelection,1))}})),At(kt(r),"getYearClassNames",(function(e){var t=r.props,n=t.minDate,i=t.maxDate,o=t.selected,a=t.excludeDates,s=t.includeDates,l=t.filterDate;return he.default("react-datepicker__year-text",{"react-datepicker__year-text--selected":e===Oe.default(o),"react-datepicker__year-text--disabled":(n||i||a||s||l)&&dn(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--range-start":r.isRangeStart(e),"react-datepicker__year-text--range-end":r.isRangeEnd(e),"react-datepicker__year-text--in-range":r.isInRange(e),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(e),"react-datepicker__year-text--today":r.isCurrentYear(e)})})),At(kt(r),"getYearTabIndex",(function(e){return r.props.disabledKeyboardNavigation?"-1":e===Oe.default(r.props.preSelection)?"0":"-1"})),At(kt(r),"getYearContainerClassNames",(function(){var e=r.props,t=e.selectingDate,n=e.selectsStart,i=e.selectsEnd,o=e.selectsRange;return he.default("react-datepicker__year",{"react-datepicker__year--selecting-range":t&&(n||i||o)})})),At(kt(r),"getYearContent",(function(e){return r.props.renderYearContent?r.props.renderYearContent(e):e})),r}return xt(n,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,o=n.onYearMouseEnter,a=n.onYearMouseLeave,s=Sn(r,i),l=s.startPeriod,c=s.endPeriod,u=function(n){t.push(de.default.createElement("div",{ref:e.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){e.onYearKeyDown(t,n)},tabIndex:e.getYearTabIndex(n),className:e.getYearClassNames(n),onMouseEnter:function(e){return o(e,n)},onMouseLeave:function(e){return a(e,n)},key:n,"aria-current":e.isCurrentYear(n)?"date":void 0},e.getYearContent(n)))},d=l;d<=c;d++)u(d);return de.default.createElement("div",{className:this.getYearContainerClassNames()},de.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.clearSelectingDate},t))}}]),n}(de.default.Component),Xn=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"onTimeChange",(function(e){r.setState({time:e});var t=r.props.date,n=t instanceof Date&&!isNaN(t)?t:new Date;n.setHours(e.split(":")[0]),n.setMinutes(e.split(":")[1]),r.props.onChange(n)})),At(kt(r),"renderTimeInput",(function(){var e=r.state.time,t=r.props,n=t.date,i=t.timeString,o=t.customTimeInput;return o?de.default.cloneElement(o,{date:n,value:e,onChange:r.onTimeChange}):de.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||i)}})})),r.state={time:r.props.timeString},r}return xt(n,[{key:"render",value:function(){return de.default.createElement("div",{className:"react-datepicker__input-time-container"},de.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),de.default.createElement("div",{className:"react-datepicker-time__input-container"},de.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}]),n}(de.default.Component);function Jn(e){var t=e.className,n=e.children,r=e.showPopperArrow,i=e.arrowProps,o=void 0===i?{}:i;return de.default.createElement("div",{className:t},r&&de.default.createElement("div",Et({className:"react-datepicker__triangle"},o)),n)}var $n=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],er=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"handleClickOutside",(function(e){r.props.onClickOutside(e)})),At(kt(r),"setClickOutsideRef",(function(){return r.containerRef.current})),At(kt(r),"handleDropdownFocus",(function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return $n.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),At(kt(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,i=e.openToDate,o=wn(r.props),a=xn(r.props),s=Lt();return i||n||t||(o&&ct.default(s,o)?o:a&&lt.default(s,a)?a:s)})),At(kt(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:be.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),At(kt(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:_e.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),At(kt(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),At(kt(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),At(kt(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),At(kt(r),"handleYearMouseEnter",(function(e,t){r.setState({selectingDate:ze.default(Lt(),t)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(e,t)})),At(kt(r),"handleYearMouseLeave",(function(e,t){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(e,t)})),At(kt(r),"handleYearChange",(function(e){r.props.onYearChange&&(r.props.onYearChange(e),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),At(kt(r),"handleMonthChange",(function(e){r.handleCustomMonthChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),At(kt(r),"handleCustomMonthChange",(function(e){r.props.onMonthChange&&(r.props.onMonthChange(e),r.setState({isRenderAriaLiveMessage:!0}))})),At(kt(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),At(kt(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:ze.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),At(kt(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Ve.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),At(kt(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:ze.default(Ve.default(n,Re.default(e)),Oe.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),At(kt(r),"header",(function(){var e=zt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale,r.props.calendarStartDay),t=[];return r.props.showWeekNumbers&&t.push(de.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=Ce.default(e,t),i=r.formatWeekday(n,r.props.locale),o=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return de.default.createElement("div",{key:t,className:he.default("react-datepicker__day-name",o)},i)})))})),At(kt(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Ut(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Ut(e,"EEE",t)}(e,t):function(e,t){return Ut(e,"EEEEEE",t)}(e,t)})),At(kt(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:Se.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),At(kt(r),"clearSelectingDate",(function(){r.setState({selectingDate:null})})),At(kt(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=yn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,i=void 0===r?Ot:r,o=Sn(Wt(Se.default(e,i)),i).endPeriod,a=n&&Oe.default(n);return a&&a>o||!1}(r.state.date,r.props);break;default:e=vn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var i=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,o=r.props,a=o.previousMonthButtonLabel,s=o.previousYearButtonLabel,l=r.props,c=l.previousMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Previous Month":c,d=l.previousYearAriaLabel,h=void 0===d?"string"==typeof s?s:"Previous Year":d;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":i?h:u},de.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},i?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),At(kt(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:xe.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),At(kt(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=bn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,i=void 0===r?Ot:r,o=Sn(xe.default(e,i),i).startPeriod,a=n&&Oe.default(n);return a&&a<o||!1}(r.state.date,r.props);break;default:e=Cn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];r.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var n=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.increaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),n=null);var i=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,o=r.props,a=o.nextMonthButtonLabel,s=o.nextYearButtonLabel,l=r.props,c=l.nextMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Next Month":c,d=l.nextYearAriaLabel,h=void 0===d?"string"==typeof s?s:"Next Year":d;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":i?h:u},de.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},i?r.props.nextYearButtonLabel:r.props.nextMonthButtonLabel))}}})),At(kt(r),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),de.default.createElement("div",{className:t.join(" ")},Ut(e,r.props.dateFormat,r.props.locale))})),At(kt(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return de.default.createElement(Fn,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Oe.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),At(kt(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return de.default.createElement(Mn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Re.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),At(kt(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return de.default.createElement(Bn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),At(kt(r),"handleTodayButtonClick",(function(e){r.props.onSelect(Gt(),e),r.props.setPreSelection&&r.props.setPreSelection(Gt())})),At(kt(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return de.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.handleTodayButtonClick(e)}},r.props.todayButton)})),At(kt(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return de.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),de.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),de.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),At(kt(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var i=vn(r.state.date,r.props),o=Cn(r.state.date,r.props),a=yn(r.state.date,r.props),s=bn(r.state.date,r.props),l=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(Ct(Ct({},r.state),{},{customHeaderCount:n,monthDate:t,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:i,nextMonthButtonDisabled:o,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),l&&de.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),At(kt(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,i=Sn(e,t.yearItemNumber),o=i.startPeriod,a=i.endPeriod;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(o," - ").concat(a):Oe.default(e))})),At(kt(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),At(kt(r),"renderMonths",(function(){var e;if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var t=[],n=r.props.showPreviousMonths?r.props.monthsShown-1:0,i=_e.default(r.state.date,n),o=null!==(e=r.props.monthSelectedIn)&&void 0!==e?e:n,a=0;a<r.props.monthsShown;++a){var s=a-o+n,l=be.default(i,s),c="month-".concat(a),u=a<r.props.monthsShown-1,d=a>0;t.push(de.default.createElement("div",{key:c,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:l,i:a}),de.default.createElement(Yn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:l,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:a,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,holidays:r.props.holidays,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,renderMonthContent:r.props.renderMonthContent,renderQuarterContent:r.props.renderQuarterContent,renderYearContent:r.props.renderYearContent,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showWeekPicker:r.props.showWeekPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:u,monthShowsDuplicateDaysStart:d})))}return t}})),At(kt(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?de.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),de.default.createElement(Qn,Et({onDayClick:r.handleDayClick,selectingDate:r.state.selectingDate,clearSelectingDate:r.clearSelectingDate,date:r.state.date},r.props,{onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave}))):void 0})),At(kt(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return de.default.createElement(Kn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),At(kt(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=Bt(e)&&Boolean(r.props.selected)?"".concat(Tn(e.getHours()),":").concat(Tn(e.getMinutes())):"";if(r.props.showTimeInput)return de.default.createElement(Xn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),At(kt(r),"renderAriaLiveRegion",(function(){var e,t=Sn(r.state.date,r.props.yearItemNumber),n=t.startPeriod,i=t.endPeriod;return e=r.props.showYearPicker?"".concat(n," - ").concat(i):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Oe.default(r.state.date):"".concat(nn(Re.default(r.state.date),r.props.locale)," ").concat(Oe.default(r.state.date)),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&e)})),At(kt(r),"renderChildren",(function(){if(r.props.children)return de.default.createElement("div",{className:"react-datepicker__children-container"},r.props.children)})),r.containerRef=de.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},r}return xt(n,[{key:"componentDidMount",value:function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||Xt(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Xt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!Kt(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return n&&t.handleCustomMonthChange(t.state.date)}))}}},{key:"render",value:function(){var e=this.props.container||Jn;return de.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},de.default.createElement(e,{className:he.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:Ot}}}]),n}(de.default.Component),tr=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,i=e.onClick,o="react-datepicker__calendar-icon";return de.default.isValidElement(t)?de.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof i&&i(e)}}):"string"==typeof t?de.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:i}):de.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},de.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},nr=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return xt(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return mt.default.createPortal(this.props.children,this.el)}}]),n}(de.default.Component),rr=function(e){return!e.disabled&&-1!==e.tabIndex},ir=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(rr)})),At(kt(r),"handleFocusStart",(function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),At(kt(r),"handleFocusEnd",(function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()})),r.tabLoopRef=de.default.createRef(),r}return xt(n,[{key:"render",value:function(){return this.props.enableTabLoop?de.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},de.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,de.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(de.default.Component),or=function(e){_t(n,e);var t=Pt(n);function n(){return bt(this,n),t.apply(this,arguments)}return xt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,i=t.hidePopper,o=t.popperComponent,a=t.popperModifiers,s=t.popperPlacement,l=t.popperProps,c=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,h=t.portalId,p=t.portalHost;if(!i){var f=he.default("react-datepicker-popper",n);e=de.default.createElement(le.Popper,Et({modifiers:a,placement:s},l),(function(e){var t=e.ref,n=e.style,r=e.placement,i=e.arrowProps;return de.default.createElement(ir,{enableTabLoop:u},de.default.createElement("div",{ref:t,style:n,className:f,"data-placement":r,onKeyDown:d},de.default.cloneElement(o,{arrowProps:i})))}))}this.props.popperContainer&&(e=de.default.createElement(this.props.popperContainer,{},e)),h&&!i&&(e=de.default.createElement(nr,{portalId:h,portalHost:p},e));var m=he.default("react-datepicker-wrapper",r);return de.default.createElement(le.Manager,{className:"react-datepicker-manager"},de.default.createElement(le.Reference,null,(function(e){var t=e.ref;return de.default.createElement("div",{ref:t,className:m},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(de.default.Component),ar="react-datepicker-ignore-onclickoutside",sr=ft.default(er),lr="Date input not valid.",cr=function(e){_t(n,e);var t=Pt(n);function n(e){var r;return bt(this,n),At(kt(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Lt()})),At(kt(r),"modifyHolidays",(function(){var e;return null===(e=r.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var n=new Date(t.date);return fe.default(n)?[].concat(Dt(e),[Ct(Ct({},t),{},{date:n})]):e}),[])})),At(kt(r),"calcInitialState",(function(){var e,t=r.getPreSelection(),n=wn(r.props),i=xn(r.props),o=n&&ct.default(t,Ke.default(n))?n:i&&lt.default(t,et.default(i))?i:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==e?e:o,highlightDates:An(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),At(kt(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),At(kt(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),At(kt(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),At(kt(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:dr},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),At(kt(r),"inputOk",(function(){return pe.default(r.state.preSelection)})),At(kt(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),At(kt(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),At(kt(r),"sendFocusBackToInput",(function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},(function(){r.preventFocusTimeout=setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))}))})),At(kt(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),At(kt(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),At(kt(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),At(kt(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),At(kt(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),At(kt(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[0];if(!r.props.onChangeRaw||(r.props.onChangeRaw.apply(kt(r),t),"function"==typeof i.isDefaultPrevented&&!i.isDefaultPrevented())){r.setState({inputValue:i.target.value,lastPreSelectChange:ur});var o,a,s,l,c,u,d,h,p=(o=i.target.value,a=r.props.dateFormat,s=r.props.locale,l=r.props.strictParsing,c=r.props.minDate,u=null,d=tn(s)||tn(en()),h=!0,Array.isArray(a)?(a.forEach((function(e){var t=ht.default(o,e,new Date,{locale:d});l&&(h=Bt(t,c)&&o===Ut(t,e,s)),Bt(t,c)&&h&&(u=t)})),u):(u=ht.default(o,a,new Date,{locale:d}),l?h=Bt(u)&&o===Ut(u,a,s):Bt(u)||(a=a.match(jt).map((function(e){var t=e[0];return"p"===t||"P"===t?d?(0,Mt[t])(e,d.formatLong):t:e})).join(""),o.length>0&&(u=ht.default(o,a.slice(0,o.length),new Date)),Bt(u)||(u=new Date(o))),Bt(u)&&h?u:null));r.props.showTimeSelectOnly&&r.props.selected&&p&&!Xt(p,r.props.selected)&&(p=gt.default(r.props.selected,{hours:De.default(p),minutes:Pe.default(p),seconds:ke.default(p)})),!p&&i.target.value||(r.props.showWeekPicker&&(p=zt(p,r.props.locale,r.props.calendarStartDay)),r.setSelected(p,i,!0))}})),At(kt(r),"handleSelect",(function(e,t,n){if(r.props.shouldCloseOnSelect&&!r.props.showTimeSelect&&r.sendFocusBackToInput(),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.props.showWeekPicker&&(e=zt(e,r.props.locale,r.props.calendarStartDay)),r.setSelected(e,t,!1,n),r.props.showDateSelect&&r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(e);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var i=r.props,o=i.startDate,a=i.endDate;!o||a||ct.default(e,o)||r.setOpen(!1)}})),At(kt(r),"setSelected",(function(e,t,n,i){var o=e;if(r.props.showYearPicker){if(null!==o&&dn(Oe.default(o),r.props))return}else if(r.props.showMonthYearPicker){if(null!==o&&sn(o,r.props))return}else if(null!==o&&on(o,r.props))return;var a=r.props,s=a.onChange,l=a.selectsRange,c=a.startDate,u=a.endDate;if(!Jt(r.props.selected,o)||r.props.allowSameDay||l)if(null!==o&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(o=Ht(o,{hour:De.default(r.props.selected),minute:Pe.default(r.props.selected),second:ke.default(r.props.selected)})),r.props.inline||r.setState({preSelection:o}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:i})),l){var d=c&&u;c||u?c&&!u&&(ct.default(o,c)?s([o,null],t):s([c,o],t)):s([o,null],t),d&&s([o,null],t)}else s(o,t);n||(r.props.onSelect(o,t),r.setState({inputValue:null}))})),At(kt(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,i=!0;if(e){r.props.showWeekPicker&&(e=zt(e,r.props.locale,r.props.calendarStartDay));var o=Ke.default(e);if(t&&n)i=$t(e,r.props.minDate,r.props.maxDate);else if(t){var a=Ke.default(r.props.minDate);i=lt.default(e,a)||Jt(o,a)}else if(n){var s=et.default(r.props.maxDate);i=ct.default(e,s)||Jt(o,s)}}i&&r.setState({preSelection:e})})),At(kt(r),"toggleCalendar",(function(){r.setOpen(!r.state.open)})),At(kt(r),"handleTimeChange",(function(e){var t=r.props.selected?r.props.selected:r.getPreSelection(),n=r.props.selected?e:Ht(t,{hour:De.default(e),minute:Pe.default(e)});r.setState({preSelection:n}),r.props.onChange(n),r.props.shouldCloseOnSelect&&(r.sendFocusBackToInput(),r.setOpen(!1)),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})})),At(kt(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),At(kt(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.props.showWeekPicker&&r.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',i=r.calendar.componentNode&&r.calendar.componentNode.querySelector(n);return void(i&&i.focus({preventScroll:!0}))}var o=Lt(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===dr?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t?(e.preventDefault(),r.sendFocusBackToInput(),r.setOpen(!1)):"Tab"===t&&r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:lr})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),At(kt(r),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),At(kt(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Lt(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:lr});else if(!r.props.disabledKeyboardNavigation){var i;switch(t){case"ArrowLeft":i=r.props.showWeekPicker?Ee.default(n,1):Ae.default(n,1);break;case"ArrowRight":i=r.props.showWeekPicker?ye.default(n,1):Ce.default(n,1);break;case"ArrowUp":i=Ee.default(n,1);break;case"ArrowDown":i=ye.default(n,1);break;case"PageUp":i=_e.default(n,1);break;case"PageDown":i=be.default(n,1);break;case"Home":i=Se.default(n,1);break;case"End":i=xe.default(n,1);break;default:i=null}if(!i)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:lr}));if(e.preventDefault(),r.setState({lastPreSelectChange:dr}),r.props.adjustDateOnChange&&r.setSelected(i),r.setPreSelection(i),r.props.inline){var o=Re.default(n),a=Re.default(i),s=Oe.default(n),l=Oe.default(i);o!==a||s!==l?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),At(kt(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.sendFocusBackToInput())})),At(kt(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.sendFocusBackToInput(),r.props.selectsRange?r.props.onChange([null,null],e):r.props.onChange(null,e),r.setState({inputValue:null})})),At(kt(r),"clear",(function(){r.onClearClick()})),At(kt(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),At(kt(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?de.default.createElement(sr,{ref:function(e){r.calendar=e},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,holidays:En(r.modifyHolidays()),includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:ar,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showDateSelect:r.props.showDateSelect,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,renderMonthContent:r.props.renderMonthContent,renderQuarterContent:r.props.renderQuarterContent,renderYearContent:r.props.renderYearContent,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,onYearMouseEnter:r.props.onYearMouseEnter,onYearMouseLeave:r.props.onYearMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showWeekPicker:r.props.showWeekPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),At(kt(r),"renderAriaLiveRegion",(function(){var e,t=r.props,n=t.dateFormat,i=t.locale,o=r.props.showTimeInput||r.props.showTimeSelect?"PPPPp":"PPPP";return e=r.props.selectsRange?"Selected start date: ".concat(Vt(r.props.startDate,{dateFormat:o,locale:i}),". ").concat(r.props.endDate?"End date: "+Vt(r.props.endDate,{dateFormat:o,locale:i}):""):r.props.showTimeSelectOnly?"Selected time: ".concat(Vt(r.props.selected,{dateFormat:n,locale:i})):r.props.showYearPicker?"Selected year: ".concat(Vt(r.props.selected,{dateFormat:"yyyy",locale:i})):r.props.showMonthYearPicker?"Selected month: ".concat(Vt(r.props.selected,{dateFormat:"MMMM yyyy",locale:i})):r.props.showQuarterYearPicker?"Selected quarter: ".concat(Vt(r.props.selected,{dateFormat:"yyyy, QQQ",locale:i})):"Selected date: ".concat(Vt(r.props.selected,{dateFormat:o,locale:i})),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)})),At(kt(r),"renderDateInput",(function(){var e,t=he.default(r.props.className,At({},ar,r.state.open)),n=r.props.customInput||de.default.createElement("input",{type:"text"}),i=r.props.customInputRef||"ref",o="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=Vt(e,n),i=t?Vt(t,n):"";return"".concat(r," - ").concat(i)}(r.props.startDate,r.props.endDate,r.props):Vt(r.props.selected,r.props);return de.default.cloneElement(n,(At(At(At(At(At(At(At(At(At(At(e={},i,(function(e){r.input=e})),"value",o),"onBlur",r.handleBlur),"onChange",r.handleChange),"onClick",r.onInputClick),"onFocus",r.handleFocus),"onKeyDown",r.onInputKeyDown),"id",r.props.id),"name",r.props.name),"form",r.props.form),At(At(At(At(At(At(At(At(At(At(e,"autoFocus",r.props.autoFocus),"placeholder",r.props.placeholderText),"disabled",r.props.disabled),"autoComplete",r.props.autoComplete),"className",he.default(n.props.className,t)),"title",r.props.title),"readOnly",r.props.readOnly),"required",r.props.required),"tabIndex",r.props.tabIndex),"aria-describedby",r.props.ariaDescribedBy),At(At(At(e,"aria-invalid",r.props.ariaInvalid),"aria-labelledby",r.props.ariaLabelledBy),"aria-required",r.props.ariaRequired)))})),At(kt(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.disabled,i=e.selected,o=e.startDate,a=e.endDate,s=e.clearButtonTitle,l=e.clearButtonClassName,c=void 0===l?"":l,u=e.ariaLabelClose,d=void 0===u?"Close":u;return!t||null==i&&null==o&&null==a?null:de.default.createElement("button",{type:"button",className:he.default("react-datepicker__close-icon",c,{"react-datepicker__close-icon--disabled":n}),disabled:n,"aria-label":d,onClick:r.onClearClick,title:s,tabIndex:-1})})),r.state=r.calcInitialState(),r.preventFocusTimeout=null,r}return xt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Re.default(n)!==Re.default(r)||Oe.default(n)!==Oe.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:An(this.props.highlightDates)}),t.focused||Jt(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,i=e.toggleCalendarOnIconClick,o=this.state.open;return de.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&de.default.createElement(tr,Et({icon:n,className:"".concat(r," ").concat(o&&"react-datepicker-ignore-onclickoutside")},i?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?de.default.createElement(ir,{enableTabLoop:this.props.enableTabLoop},de.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=de.default.createElement(nr,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),de.default.createElement("div",null,this.renderInputContainer(),t)}return de.default.createElement(or,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Ot,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1}}}]),n}(de.default.Component),ur="input",dr="navigate";e.CalendarContainer=Jn,e.default=cr,e.getDefaultLocale=en,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(61462),n(5982),n(80978),n(3288),n(94034),n(20390),n(1068),n(11170),n(33744),n(17604),n(23160),n(88910),n(71903),n(66717),n(38503),n(69377),n(37099),n(74688),n(33125),n(98105),n(84635),n(30022),n(63436),n(28205),n(60154),n(80036),n(2585),n(71993),n(36393),n(32389),n(93759),n(64603),n(87520),n(91485),n(57208),n(65022),n(65521),n(46125),n(24140),n(6321),n(37121),n(24713),n(89983),n(93408),n(48266),n(19808),n(73814),n(22469),n(85716),n(70336),n(88948),n(10211),n(62646),n(42762),n(5819),n(47566),n(76705),n(61987),n(11056),n(66762),n(72551),n(81397),n(71108))},11647:(e,t,n)=>{var r=n(40035);function i(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,a,s=r(e),l="function"===typeof t,c=0,u=s.length;c<u;c++)o=(n=s[c]).property,a=n.value,l?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}e.exports=i,e.exports.default=i},55989:(e,t,n)=>{"use strict";var r,i;n.d(t,{YO:()=>we,zM:()=>Z,ai:()=>$,Ik:()=>ye,Yj:()=>X});try{r=Map}catch(Ae){}try{i=Set}catch(Ae){}function o(e,t,n){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(a);if(r&&e instanceof r)return new Map(Array.from(e.entries()));if(i&&e instanceof i)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var s=Object.create(e);for(var l in n.push(s),e){var c=t.findIndex((function(t){return t===e[l]}));s[l]=c>-1?n[c]:o(e[l],t,n)}return s}return e}function a(e){return o(e,[],[])}const s=Object.prototype.toString,l=Error.prototype.toString,c=RegExp.prototype.toString,u="undefined"!==typeof Symbol?Symbol.prototype.toString:()=>"",d=/^Symbol\((.*)\)(.*)$/;function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return u.call(e).replace(d,"Symbol($1)");const r=s.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+l.call(e)+"]":"RegExp"===r?c.call(e):null}function p(e,t){let n=h(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=h(this[e],t);return null!==r?r:n}),2)}let f={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:e=>{let{path:t,type:n,value:r,originalValue:i}=e,o=null!=i&&i!==r,a="".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(p(r,!0),"`")+(o?" (cast from the value `".concat(p(i,!0),"`)."):".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},m={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},g={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},v={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},C={isValue:"${path} field must be ${value}"},y={noUnknown:"${path} field has unspecified keys: ${unknown}"},b={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:f,string:m,number:g,date:v,object:y,array:b,boolean:C});var w=n(66278),x=n.n(w);const A=e=>e&&e.__isYupSchema__;const E=class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"===typeof t)return void(this.fn=t);if(!x()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"===typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((e=>e===n))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let a=t.pop(),s=t.pop(),l=o(...t)?r:i;if(l)return"function"===typeof l?l(s):s.concat(l.resolve(a))}}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!A(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}};function _(e){return null==e?[]:[].concat(e)}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}let S=/\$\{\s*(\w+)\s*\}/g;class k extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=T({},t,{path:n})),"string"===typeof e?e.replace(S,((e,n)=>p(t[n]))):"function"===typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],_(e).forEach((e=>{k.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)})),this.message=this.errors.length>1?"".concat(this.errors.length," errors occurred"):this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,k)}}function P(e,t){let{endEarly:n,tests:r,args:i,value:o,errors:a,sort:s,path:l}=e,c=(e=>{let t=!1;return function(){t||(t=!0,e(...arguments))}})(t),u=r.length;const d=[];if(a=a||[],!u)return a.length?c(new k(a,o,l)):c(null,o);for(let h=0;h<r.length;h++){(0,r[h])(i,(function(e){if(e){if(!k.isError(e))return c(e,o);if(n)return e.value=o,c(e,o);d.push(e)}if(--u<=0){if(d.length&&(s&&d.sort(s),a.length&&d.push(...a),a=d),a.length)return void c(new k(a,o,l),o);c(null,o)}}))}}var D=n(99958),N=n.n(D),F=n(6342);const I="$",R=".";class M{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===I,this.isValue=this.key[0]===R,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?I:this.isValue?R:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,F.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return"Ref(".concat(this.key,")")}static isRef(e){return e&&e.__isYupRef}}function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function j(e){function t(t,n){let{value:r,path:i="",label:o,options:a,originalValue:s,sync:l}=t,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["value","path","label","options","originalValue","sync"]);const{name:u,test:d,params:h,message:p}=e;let{parent:f,context:m}=a;function g(e){return M.isRef(e)?e.getValue(r,f,m):e}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=N()(O({value:r,originalValue:s,label:o,path:e.path||i},h,e.params),g),n=new k(k.formatError(e.message||p,t),r,t.path,e.type||u);return n.params=t,n}let C,y=O({path:i,parent:f,type:u,createError:v,resolve:g,options:a,originalValue:s},c);if(l){try{var b;if(C=d.call(y,r,y),"function"===typeof(null==(b=C)?void 0:b.then))throw new Error('Validation test of type: "'.concat(y.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(w){return void n(w)}k.isError(C)?n(C):C?n(null,C):n(v())}else try{Promise.resolve(d.call(y,r,y)).then((e=>{k.isError(e)?n(e):e?n(null,e):n(v())})).catch(n)}catch(w){n(w)}}return t.OPTIONS=e,t}M.prototype.__isYupRef=!0;function L(e,t,n){let r,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,F.forEach)(t,((s,l,c)=>{let u=l?(e=>e.substr(0,e.length-1).substr(1))(s):s;if((e=e.resolve({context:a,parent:r,value:n})).innerType){let i=c?parseInt(u,10):0;if(n&&i>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[i],e=e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(o,' which is a type: "').concat(e._type,'")'));r=n,n=n&&n[u],e=e.fields[u]}i=u,o=l?"["+s+"]":"."+s})),{schema:e,parent:r,parentPath:i}):{parent:r,parentPath:t,schema:e}}class B{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const e=[];for(const t of this.list)e.push(t);for(const[,t]of this.refs)e.push(t.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce(((t,n)=>t.concat(M.isRef(n)?e(n):n)),[])}add(e){M.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){M.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new B;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){const n=this.clone();return e.list.forEach((e=>n.add(e))),e.refs.forEach((e=>n.add(e))),t.list.forEach((e=>n.delete(e))),t.refs.forEach((e=>n.delete(e))),n}}function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}class V{constructor(e){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new B,this._blacklist=new B,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(f.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=U({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=U({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=a(U({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(){if(0===arguments.length)return this.spec.meta;let e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));let t=this,n=e.clone();const r=U({},t.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=t._typeError),n._whitelistError||(n._whitelistError=t._whitelistError),n._blacklistError||(n._blacklistError=t._blacklistError),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(U({value:e},t)),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){let i=p(e),o=p(r);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n._type,'". \n\n')+"attempted value: ".concat(i," \n")+(o!==i?"result of cast: ".concat(o):""))}return r}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault()),n}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,{sync:r,path:i,from:o=[],originalValue:a=e,strict:s=this.spec.strict,abortEarly:l=this.spec.abortEarly}=t,c=e;s||(c=this._cast(c,U({assert:!1},t)));let u={value:c,path:i,options:t,originalValue:a,schema:this,label:this.spec.label,sync:r,from:o},d=[];this._typeError&&d.push(this._typeError);let h=[];this._whitelistError&&h.push(this._whitelistError),this._blacklistError&&h.push(this._blacklistError),P({args:u,value:c,path:i,sync:r,tests:d,endEarly:l},(e=>{e?n(e,c):P({tests:this.tests.concat(h),args:u,path:i,sync:r,value:c,endEarly:l},n)}))}validate(e,t,n){let r=this.resolve(U({},t,{value:e}));return"function"===typeof n?r._validate(e,t,n):new Promise(((n,i)=>r._validate(e,t,((e,t)=>{e?i(e):n(t)}))))}validateSync(e,t){let n;return this.resolve(U({},t,{value:e}))._validate(e,U({},t,{sync:!0}),((e,t)=>{if(e)throw e;n=t})),n}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(k.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(k.isError(n))return!1;throw n}}_getDefault(){let e=this.spec.default;return null==e?e:"function"===typeof e?e.call(this):a(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.defined;return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.required;return this.clone({presence:"required"}).withMutation((t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}})))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e}nullable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(){let e;if(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]},void 0===e.message&&(e.message=f.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");let t=this.clone(),n=j(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((t=>{if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}when(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");let n=this.clone(),r=_(e).map((e=>new M(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push(new E(r,t)),n}typeError(e){let t=this.clone();return t._typeError=j({message:e,name:"typeError",test(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.oneOf,n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=j({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}notOneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.notOneOf,n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=j({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}strip(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}describe(){const e=this.clone(),{label:t,meta:n}=e.spec;return{meta:n,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))}}}V.prototype.__isYupSchema__=!0;for(const Ee of["validate","validateSync"])V.prototype["".concat(Ee,"At")]=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{parent:r,parentPath:i,schema:o}=L(this,e,t,n.context);return o[Ee](r&&r[i],U({},n,{parent:r,path:e}))};for(const Ee of["equals","is"])V.prototype[Ee]=V.prototype.oneOf;for(const Ee of["not","nope"])V.prototype[Ee]=V.prototype.notOneOf;V.prototype.optional=V.prototype.notRequired;const H=V;H.prototype;const z=e=>null==e;function Z(){return new W}class W extends V{constructor(){super({type:"boolean"}),this.withMutation((()=>{this.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}_typeCheck(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e}isTrue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>z(e)||!0===e})}isFalse(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>z(e)||!1===e})}}Z.prototype=W.prototype;let q=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,G=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Y=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,K=e=>z(e)||e===e.trim(),Q={}.toString();function X(){return new J}class J extends V{constructor(){super({type:"string"}),this.withMutation((()=>{this.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;const t=null!=e&&e.toString?e.toString():e;return t===Q?e:t}))}))}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return z(t)||t.length===this.resolve(e)}})}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return z(t)||t.length>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return z(t)||t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"===typeof t?({excludeEmptyString:i=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||m.matches,params:{regex:e},test:t=>z(t)||""===t&&i||-1!==t.search(e)})}email(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.email;return this.matches(q,{name:"email",message:e,excludeEmptyString:!0})}url(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.url;return this.matches(G,{name:"url",message:e,excludeEmptyString:!0})}uuid(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.uuid;return this.matches(Y,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.trim;return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:K})}lowercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.lowercase;return this.transform((e=>z(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>z(e)||e===e.toLowerCase()})}uppercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.uppercase;return this.transform((e=>z(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>z(e)||e===e.toUpperCase()})}}X.prototype=J.prototype;function $(){return new ee}class ee extends V{constructor(){super({type:"number"}),this.withMutation((()=>{this.transform((function(e){let t=e;if("string"===typeof t){if(t=t.replace(/\s/g,""),""===t)return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!(e=>e!=+e)(e)}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return z(t)||t>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return z(t)||t<=this.resolve(e)}})}lessThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return z(t)||t<this.resolve(e)}})}moreThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test(t){return z(t)||t>this.resolve(e)}})}positive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.positive;return this.moreThan(0,e)}negative(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.negative;return this.lessThan(0,e)}integer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.integer;return this.test({name:"integer",message:e,test:e=>z(e)||Number.isInteger(e)})}truncate(){return this.transform((e=>z(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>z(t)?t:Math[e](t)))}}$.prototype=ee.prototype;var te=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let ne=new Date("");function re(){return new ie}class ie extends V{constructor(){super({type:"date"}),this.withMutation((()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],i=0;if(n=te.exec(e)){for(var o,a=0;o=r[a];++a)n[o]=+n[o]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(i=60*n[10]+n[11],"+"===n[9]&&(i=0-i)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+i,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?ne:new Date(e))}))}))}_typeCheck(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}prepareParam(e,t){let n;if(M.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return z(e)||e>=this.resolve(n)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return z(e)||e<=this.resolve(n)}})}}ie.INVALID_DATE=ne,re.prototype=ie.prototype,re.INVALID_DATE=ne;var oe=n(76970),ae=n.n(oe),se=n(17648),le=n.n(se),ce=n(59844),ue=n.n(ce),de=n(41567),he=n.n(de);function pe(e,t){let n=1/0;return e.some(((e,r)=>{var i;if(-1!==(null==(i=t.path)?void 0:i.indexOf(e)))return n=r,!0})),n}function fe(e){return(t,n)=>pe(e,t)-pe(e,n)}function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}let ge=e=>"[object Object]"===Object.prototype.toString.call(e);const ve=fe([]);class Ce extends V{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=ve,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{this.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&this.shape(e)}))}_typeCheck(e){return ge(e)||"function"===typeof e}_cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault();if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=this._nodes.concat(Object.keys(r).filter((e=>-1===this._nodes.indexOf(e)))),s={},l=me({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(const u of a){let e=i[u],n=x()(r,u);if(e){let n,i=r[u];l.path=(t.path?"".concat(t.path,"."):"")+u,e=e.resolve({value:i,context:t.context,parent:s});let o="spec"in e?e.spec:void 0,a=null==o?void 0:o.strict;if(null==o?void 0:o.strip){c=c||u in r;continue}n=t.__validating&&a?r[u]:e.cast(r[u],l),void 0!==n&&(s[u]=n)}else n&&!o&&(s[u]=r[u]);s[u]!==r[u]&&(c=!0)}return c?s:r}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=[],{sync:i,from:o=[],originalValue:a=e,abortEarly:s=this.spec.abortEarly,recursive:l=this.spec.recursive}=t;o=[{schema:this,value:a},...o],t.__validating=!0,t.originalValue=a,t.from=o,super._validate(e,t,((e,c)=>{if(e){if(!k.isError(e)||s)return void n(e,c);r.push(e)}if(!l||!ge(c))return void n(r[0]||null,c);a=a||c;let u=this._nodes.map((e=>(n,r)=>{let i=-1===e.indexOf(".")?(t.path?"".concat(t.path,"."):"")+e:"".concat(t.path||"",'["').concat(e,'"]'),s=this.fields[e];s&&"validate"in s?s.validate(c[e],me({},t,{path:i,from:o,strict:!0,parent:c,originalValue:a[e]}),r):r(null)}));P({sync:i,tests:u,value:c,errors:r,endEarly:s,sort:this._sortErrors,path:t.path},n)}))}clone(e){const t=super.clone(e);return t.fields=me({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,i]of Object.entries(this.fields)){const e=n[r];void 0===e?n[r]=i:e instanceof V&&i instanceof V&&(n[r]=i.concat(e))}return t.withMutation((()=>t.shape(n,this._excludedEdges)))}getDefaultFromShape(){let e={};return this._nodes.forEach((t=>{const n=this.fields[t];e[t]="default"in n?n.getDefault():void 0})),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.clone(),r=Object.assign(n.fields,e);return n.fields=r,n._sortErrors=fe(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),n._excludedEdges=[...n._excludedEdges,...t]),n._nodes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,i=new Set(t.map((e=>{let[t,n]=e;return"".concat(t,"-").concat(n)})));function o(e,t){let o=(0,F.split)(e)[0];r.add(o),i.has("".concat(t,"-").concat(o))||n.push([t,o])}for(const a in e)if(x()(e,a)){let t=e[a];r.add(a),M.isRef(t)&&t.isSibling?o(t.path,a):A(t)&&"deps"in t&&t.deps.forEach((e=>o(e,a)))}return he().array(Array.from(r),n).reverse()}(r,n._excludedEdges),n}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.clone().withMutation((e=>(e.fields={},e.shape(t))))}omit(e){const t=this.clone(),n=t.fields;t.fields={};for(const r of e)delete n[r];return t.withMutation((()=>t.shape(n)))}from(e,t,n){let r=(0,F.getter)(e,!0);return this.transform((i=>{if(null==i)return i;let o=i;return x()(i,e)&&(o=me({},i),n||delete o[e],o[t]=r(i)),o}))}noUnknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.noUnknown;"string"===typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.noUnknown;return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>t&&ue()(t,((t,n)=>e(n)))))}camelCase(){return this.transformKeys(le())}snakeCase(){return this.transformKeys(ae())}constantCase(){return this.transformKeys((e=>ae()(e).toUpperCase()))}describe(){let e=super.describe();return e.fields=N()(this.fields,(e=>e.describe())),e}}function ye(e){return new Ce(e)}function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be.apply(this,arguments)}function we(e){return new xe(e)}ye.prototype=Ce.prototype;class xe extends V{constructor(e){super({type:"array"}),this.innerType=void 0,this.innerType=e,this.withMutation((()=>{this.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))}))}_typeCheck(e){return Array.isArray(e)}get _subType(){return this.innerType}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const i=n.map(((e,n)=>{const i=this.innerType.cast(e,be({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return i!==e&&(r=!0),i}));return r?i:n}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;var r,i;let o=[],a=t.sync,s=t.path,l=this.innerType,c=null!=(r=t.abortEarly)?r:this.spec.abortEarly,u=null!=(i=t.recursive)?i:this.spec.recursive,d=null!=t.originalValue?t.originalValue:e;super._validate(e,t,((e,r)=>{if(e){if(!k.isError(e)||c)return void n(e,r);o.push(e)}if(!u||!l||!this._typeCheck(r))return void n(o[0]||null,r);d=d||r;let i=new Array(r.length);for(let n=0;n<r.length;n++){let e=r[n],o="".concat(t.path||"","[").concat(n,"]"),a=be({},t,{path:o,strict:!0,parent:r,index:n,originalValue:d[n]});i[n]=(t,n)=>l.validate(e,a,n)}P({sync:a,path:s,value:r,errors:o,endEarly:c,tests:i},n)}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!A(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+p(e));return t.innerType=e,t}length(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return z(t)||t.length===this.resolve(e)}})}min(e,t){return t=t||b.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return z(t)||t.length>=this.resolve(e)}})}max(e,t){return t=t||b.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return z(t)||t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(){let e=super.describe();return this.innerType&&(e.innerType=this.innerType.describe()),e}nullable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return super.nullable(e)}defined(){return super.defined()}required(e){return super.required(e)}}we.prototype=xe.prototype},45423:()=>{},28383:()=>{},82590:()=>{},85515:()=>{},82474:()=>{},39630:()=>{},71040:()=>{},66337:e=>{e.exports=function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")},e.exports.__esModule=!0,e.exports.default=e.exports},42562:e=>{e.exports=function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")},e.exports.__esModule=!0,e.exports.default=e.exports},19159:(e,t,n)=>{var r=n(66337);e.exports=function(e,t){return e.get(r(e,t))},e.exports.__esModule=!0,e.exports.default=e.exports},98740:(e,t,n)=>{var r=n(42562);e.exports=function(e,t,n){r(e,t),t.set(e,n)},e.exports.__esModule=!0,e.exports.default=e.exports},13675:(e,t,n)=>{var r=n(66337);e.exports=function(e,t,n){return e.set(r(e,t),n),n},e.exports.__esModule=!0,e.exports.default=e.exports},89333:(e,t,n)=>{var r=n(42562);e.exports=function(e,t){r(e,t),t.add(e)},e.exports.__esModule=!0,e.exports.default=e.exports},58212:(e,t,n)=>{var r=n(56347);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},4293:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87301:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},23878:(e,t,n)=>{var r=n(14319).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},56347:(e,t,n)=>{var r=n(14319).default,i=n(23878);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},14319:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},80978:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},6430:(e,t,n)=>{"use strict";const r=n(79527);e.exports=a;const i=function(){function e(e){return"undefined"!==typeof e&&e}try{return"undefined"!==typeof globalThis||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{},o={mapHttpRequest:h,mapHttpResponse:h,wrapRequestSerializer:p,wrapResponseSerializer:p,wrapErrorSerializer:p,req:h,res:h,err:function(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const n in e)void 0===t[n]&&(t[n]=e[n]);return t}};function a(e){(e=e||{}).browser=e.browser||{};const t=e.browser.transmit;if(t&&"function"!==typeof t.send)throw Error("pino: transmit option must have a send function");const n=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);const r=e.serializers||{},o=function(e,t){if(Array.isArray(e))return e.filter((function(e){return"!stdSerializers.err"!==e}));return!0===e&&Object.keys(t)}(e.browser.serialize,r);let h=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(h=!1);"function"===typeof n&&(n.error=n.fatal=n.warn=n.info=n.debug=n.trace=n),!1===e.enabled&&(e.level="silent");const p=e.level||"info",m=Object.create(n);m.log||(m.log=f),Object.defineProperty(m,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(m,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,s(g,m,"error","log"),s(g,m,"fatal","error"),s(g,m,"warn","error"),s(g,m,"info","log"),s(g,m,"debug","log"),s(g,m,"trace","log")}});const g={transmit:t,serialize:o,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"],timestamp:d(e)};return m.levels=a.levels,m.level=p,m.setMaxListeners=m.getMaxListeners=m.emit=m.addListener=m.on=m.prependListener=m.once=m.prependOnceListener=m.removeListener=m.removeAllListeners=m.listeners=m.listenerCount=m.eventNames=m.write=m.flush=f,m.serializers=r,m._serialize=o,m._stdErrSerialize=h,m.child=function(n,i){if(!n)throw new Error("missing bindings for child Pino");i=i||{},o&&n.serializers&&(i.serializers=n.serializers);const a=i.serializers;if(o&&a){var s=Object.assign({},r,a),d=!0===e.browser.serialize?Object.keys(s):o;delete n.serializers,l([n],d,s,this._stdErrSerialize)}function h(e){this._childLevel=1+(0|e._childLevel),this.error=c(e,n,"error"),this.fatal=c(e,n,"fatal"),this.warn=c(e,n,"warn"),this.info=c(e,n,"info"),this.debug=c(e,n,"debug"),this.trace=c(e,n,"trace"),s&&(this.serializers=s,this._serialize=d),t&&(this._logEvent=u([].concat(e._logEvent.bindings,n)))}return h.prototype=this,new h(this)},t&&(m._logEvent=u()),m}function s(e,t,n,o){const s=Object.getPrototypeOf(t);t[n]=t.levelVal>t.levels.values[n]?f:s[n]?s[n]:i[n]||i[o]||f,function(e,t,n){if(!e.transmit&&t[n]===f)return;t[n]=(o=t[n],function(){const s=e.timestamp(),c=new Array(arguments.length),d=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var h=0;h<c.length;h++)c[h]=arguments[h];if(e.serialize&&!e.asObject&&l(c,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?o.call(d,function(e,t,n,i){e._serialize&&l(n,e._serialize,e.serializers,e._stdErrSerialize);const o=n.slice();let s=o[0];const c={};i&&(c.time=i),c.level=a.levels.values[t];let u=1+(0|e._childLevel);if(u<1&&(u=1),null!==s&&"object"===typeof s){for(;u--&&"object"===typeof o[0];)Object.assign(c,o.shift());s=o.length?r(o.shift(),o):void 0}else"string"===typeof s&&(s=r(o.shift(),o));return void 0!==s&&(c.msg=s),c}(this,n,c,s)):o.apply(d,c),e.transmit){const r=e.transmit.level||t.level,i=a.levels.values[r],o=a.levels.values[n];if(o<i)return;!function(e,t,n){const r=t.send,i=t.ts,o=t.methodLevel,a=t.methodValue,s=t.val,c=e._logEvent.bindings;l(n,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=i,e._logEvent.messages=n.filter((function(e){return-1===c.indexOf(e)})),e._logEvent.level.label=o,e._logEvent.level.value=a,r(o,e._logEvent,s),e._logEvent=u(c)}(this,{ts:s,methodLevel:n,methodValue:o,transmitLevel:r,transmitValue:a.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},c)}});var o}(e,t,n)}function l(e,t,n,r){for(const i in e)if(r&&e[i]instanceof Error)e[i]=a.stdSerializers.err(e[i]);else if("object"===typeof e[i]&&!Array.isArray(e[i]))for(const r in e[i])t&&t.indexOf(r)>-1&&r in n&&(e[i][r]=n[r](e[i][r]))}function c(e,t,n){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var i=1;i<r.length;i++)r[i]=arguments[i-1];return e[n].apply(this,r)}}function u(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function d(e){return"function"===typeof e.timestamp?e.timestamp:!1===e.timestamp?m:g}function h(){return{}}function p(e){return e}function f(){}function m(){return!1}function g(){return Date.now()}a.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},a.stdSerializers=o,a.stdTimeFunctions=Object.assign({},{nullTime:m,epochTime:g,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},86284:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},2474:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},55152:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},30414:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(11369);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.A)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},24586:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11369);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},72715:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},48926:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{A:()=>i})},95309:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17545),i=n(2474);function o(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.A)(e)}},22119:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},11369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(17545);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},17545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},27985:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(86284);function i(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},88729:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FirebaseError:()=>o.g,SDK_VERSION:()=>me,_DEFAULT_ENTRY_NAME:()=>J,_addComponent:()=>re,_addOrOverwriteComponent:()=>ie,_apps:()=>ee,_clearComponents:()=>ue,_components:()=>ne,_getProvider:()=>ae,_isFirebaseApp:()=>le,_isFirebaseServerApp:()=>ce,_registerComponent:()=>oe,_removeServiceInstance:()=>se,_serverApps:()=>te,deleteApp:()=>be,getApp:()=>Ce,getApps:()=>ye,initializeApp:()=>ge,initializeServerApp:()=>ve,onLog:()=>xe,registerVersion:()=>we,setLogLevel:()=>Ae});var r=n(35877),i=n(76096),o=n(75805);const a=(e,t)=>t.some((t=>e instanceof t));let s,l;const c=new WeakMap,u=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap;let f={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return u.get(e);if("objectStoreNames"===t)return e.objectStoreNames||d.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return v(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function m(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(l||(l=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(C(this),n),v(c.get(this))}:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(e.apply(C(this),n))}:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];const o=e.call(C(this),t,...r);return d.set(o,t.sort?t.sort():[t]),v(o)}}function g(e){return"function"===typeof e?m(e):(e instanceof IDBTransaction&&function(e){if(u.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",o),e.removeEventListener("abort",o)},i=()=>{t(),r()},o=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",o),e.addEventListener("abort",o)}));u.set(e,t)}(e),a(e,s||(s=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function v(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",o)},i=()=>{t(v(e.result)),r()},o=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",o)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),p.set(t,e),t}(e);if(h.has(e))return h.get(e);const t=g(e);return t!==e&&(h.set(e,t),p.set(t,e)),t}const C=e=>p.get(e);const y=["get","getKey","getAll","getAllKeys","count"],b=["put","add","delete","clear"],w=new Map;function x(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(w.get(t))return w.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=b.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!y.includes(n))return;const o=async function(e){const t=this.transaction(e,i?"readwrite":"readonly");let o=t.store;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];return r&&(o=o.index(s.shift())),(await Promise.all([o[n](...s),i&&t.done]))[0]};return w.set(t,o),o}f=(e=>({...e,get:(t,n,r)=>x(t,n)||e.get(t,n,r),has:(t,n)=>!!x(t,n)||e.has(t,n)}))(f);class A{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map((e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null===t||void 0===t?void 0:t.type)}(e)){const t=e.getImmediate();return"".concat(t.library,"/").concat(t.version)}return null})).filter((e=>e)).join(" ")}}const E="@firebase/app",_="0.10.6",T=new i.Vy("@firebase/app"),S="@firebase/app-compat",k="@firebase/analytics-compat",P="@firebase/analytics",D="@firebase/app-check-compat",N="@firebase/app-check",F="@firebase/auth",I="@firebase/auth-compat",R="@firebase/database",M="@firebase/database-compat",O="@firebase/functions",j="@firebase/functions-compat",L="@firebase/installations",B="@firebase/installations-compat",U="@firebase/messaging",V="@firebase/messaging-compat",H="@firebase/performance",z="@firebase/performance-compat",Z="@firebase/remote-config",W="@firebase/remote-config-compat",q="@firebase/storage",G="@firebase/storage-compat",Y="@firebase/firestore",K="@firebase/vertexai-preview",Q="@firebase/firestore-compat",X="firebase",J="[DEFAULT]",$={[E]:"fire-core",[S]:"fire-core-compat",[P]:"fire-analytics",[k]:"fire-analytics-compat",[N]:"fire-app-check",[D]:"fire-app-check-compat",[F]:"fire-auth",[I]:"fire-auth-compat",[R]:"fire-rtdb",[M]:"fire-rtdb-compat",[O]:"fire-fn",[j]:"fire-fn-compat",[L]:"fire-iid",[B]:"fire-iid-compat",[U]:"fire-fcm",[V]:"fire-fcm-compat",[H]:"fire-perf",[z]:"fire-perf-compat",[Z]:"fire-rc",[W]:"fire-rc-compat",[q]:"fire-gcs",[G]:"fire-gcs-compat",[Y]:"fire-fst",[Q]:"fire-fst-compat",[K]:"fire-vertex","fire-js":"fire-js",[X]:"fire-js-all"},ee=new Map,te=new Map,ne=new Map;function re(e,t){try{e.container.addComponent(t)}catch(n){T.debug("Component ".concat(t.name," failed to register with FirebaseApp ").concat(e.name),n)}}function ie(e,t){e.container.addOrOverwriteComponent(t)}function oe(e){const t=e.name;if(ne.has(t))return T.debug("There were multiple attempts to register component ".concat(t,".")),!1;ne.set(t,e);for(const n of ee.values())re(n,e);for(const n of te.values())re(n,e);return!0}function ae(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}function se(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J;ae(e,t).clearInstance(n)}function le(e){return void 0!==e.options}function ce(e){return void 0!==e.settings}function ue(){ne.clear()}const de={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},he=new o.FA("app","Firebase",de);class pe{constructor(e,t,n){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=n,this.container.addComponent(new r.uA("app",(()=>this),"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw he.create("app-deleted",{appName:this._name})}}class fe extends pe{constructor(e,t,n,r){const i=void 0!==t.automaticDataCollectionEnabled&&t.automaticDataCollectionEnabled,o={name:n,automaticDataCollectionEnabled:i};if(void 0!==e.apiKey)super(e,o,r);else{super(e.options,o,r)}this._serverConfig=Object.assign({automaticDataCollectionEnabled:i},t),this._finalizationRegistry=null,"undefined"!==typeof FinalizationRegistry&&(this._finalizationRegistry=new FinalizationRegistry((()=>{this.automaticCleanup()}))),this._refCount=0,this.incRefCount(this._serverConfig.releaseOnDeref),this._serverConfig.releaseOnDeref=void 0,t.releaseOnDeref=void 0,we(E,_,"serverapp")}toJSON(){}get refCount(){return this._refCount}incRefCount(e){this.isDeleted||(this._refCount++,void 0!==e&&null!==this._finalizationRegistry&&this._finalizationRegistry.register(e,this))}decRefCount(){return this.isDeleted?0:--this._refCount}automaticCleanup(){be(this)}get settings(){return this.checkDestroyed(),this._serverConfig}checkDestroyed(){if(this.isDeleted)throw he.create("server-app-deleted")}}const me="10.12.3";function ge(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if("object"!==typeof t){t={name:t}}const i=Object.assign({name:J,automaticDataCollectionEnabled:!1},t),a=i.name;if("string"!==typeof a||!a)throw he.create("bad-app-name",{appName:String(a)});if(n||(n=(0,o.T9)()),!n)throw he.create("no-options");const s=ee.get(a);if(s){if((0,o.bD)(n,s.options)&&(0,o.bD)(i,s.config))return s;throw he.create("duplicate-app",{appName:a})}const l=new r.h1(a);for(const r of ne.values())l.addComponent(r);const c=new pe(n,i,l);return ee.set(a,c),c}function ve(e,t){if((0,o.Bd)()&&!(0,o.p7)())throw he.create("invalid-server-app-environment");let n;void 0===t.automaticDataCollectionEnabled&&(t.automaticDataCollectionEnabled=!1),n=le(e)?e.options:e;const i=Object.assign(Object.assign({},t),n);void 0!==i.releaseOnDeref&&delete i.releaseOnDeref;if(void 0!==t.releaseOnDeref&&"undefined"===typeof FinalizationRegistry)throw he.create("finalization-registry-not-supported",{});const a=""+(e=>[...e].reduce(((e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0),0))(JSON.stringify(i)),s=te.get(a);if(s)return s.incRefCount(t.releaseOnDeref),s;const l=new r.h1(a);for(const r of ne.values())l.addComponent(r);const c=new fe(n,t,a,l);return te.set(a,c),c}function Ce(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J;const t=ee.get(e);if(!t&&e===J&&(0,o.T9)())return ge();if(!t)throw he.create("no-app",{appName:e});return t}function ye(){return Array.from(ee.values())}async function be(e){let t=!1;const n=e.name;if(ee.has(n))t=!0,ee.delete(n);else if(te.has(n)){e.decRefCount()<=0&&(te.delete(n),t=!0)}t&&(await Promise.all(e.container.getProviders().map((e=>e.delete()))),e.isDeleted=!0)}function we(e,t,n){var i;let o=null!==(i=$[e])&&void 0!==i?i:e;n&&(o+="-".concat(n));const a=o.match(/\s|\//),s=t.match(/\s|\//);if(a||s){const e=['Unable to register library "'.concat(o,'" with version "').concat(t,'":')];return a&&e.push('library name "'.concat(o,'" contains illegal characters (whitespace or "/")')),a&&s&&e.push("and"),s&&e.push('version name "'.concat(t,'" contains illegal characters (whitespace or "/")')),void T.warn(e.join(" "))}oe(new r.uA("".concat(o,"-version"),(()=>({library:o,version:t})),"VERSION"))}function xe(e,t){if(null!==e&&"function"!==typeof e)throw he.create("invalid-log-argument");(0,i.Ey)(e,t)}function Ae(e){(0,i.He)(e)}const Ee="firebase-heartbeat-database",_e=1,Te="firebase-heartbeat-store";let Se=null;function ke(){return Se||(Se=function(e,t){let{blocked:n,upgrade:r,blocking:i,terminated:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=indexedDB.open(e,t),s=v(a);return r&&a.addEventListener("upgradeneeded",(e=>{r(v(a.result),e.oldVersion,e.newVersion,v(a.transaction),e)})),n&&a.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),s.then((e=>{o&&e.addEventListener("close",(()=>o())),i&&e.addEventListener("versionchange",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}(Ee,_e,{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore(Te)}catch(n){console.warn(n)}}}).catch((e=>{throw he.create("idb-open",{originalErrorMessage:e.message})}))),Se}async function Pe(e,t){try{const n=(await ke()).transaction(Te,"readwrite"),r=n.objectStore(Te);await r.put(t,De(e)),await n.done}catch(n){if(n instanceof o.g)T.warn(n.message);else{const e=he.create("idb-set",{originalErrorMessage:null===n||void 0===n?void 0:n.message});T.warn(e.message)}}}function De(e){return"".concat(e.name,"!").concat(e.options.appId)}class Ne{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new Ie(t),this._heartbeatsCachePromise=this._storage.read().then((e=>(this._heartbeatsCache=e,e)))}async triggerHeartbeat(){var e,t;const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=Fe();if((null!=(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)||(this._heartbeatsCache=await this._heartbeatsCachePromise,null!=(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)))&&this._heartbeatsCache.lastSentHeartbeatDate!==r&&!this._heartbeatsCache.heartbeats.some((e=>e.date===r)))return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter((e=>{const t=new Date(e.date).valueOf();return Date.now()-t<=2592e6})),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){var e;if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null==(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)||0===this._heartbeatsCache.heartbeats.length)return"";const t=Fe(),{heartbeatsToSend:n,unsentEntries:r}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024;const n=[];let r=e.slice();for(const i of e){const e=n.find((e=>e.agent===i.agent));if(e){if(e.dates.push(i.date),Re(n)>t){e.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),Re(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}(this._heartbeatsCache.heartbeats),i=(0,o.Uj)(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function Fe(){return(new Date).toISOString().substring(0,10)}class Ie{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,o.zW)()&&(0,o.eX)().then((()=>!0)).catch((()=>!1))}async read(){if(await this._canUseIndexedDBPromise){const e=await async function(e){try{const t=(await ke()).transaction(Te),n=await t.objectStore(Te).get(De(e));return await t.done,n}catch(t){if(t instanceof o.g)T.warn(t.message);else{const e=he.create("idb-get",{originalErrorMessage:null===t||void 0===t?void 0:t.message});T.warn(e.message)}}}(this.app);return(null===e||void 0===e?void 0:e.heartbeats)?e:{heartbeats:[]}}return{heartbeats:[]}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return Pe(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return Pe(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:[...n.heartbeats,...e.heartbeats]})}}}function Re(e){return(0,o.Uj)(JSON.stringify({version:2,heartbeats:e})).length}var Me;Me="",oe(new r.uA("platform-logger",(e=>new A(e)),"PRIVATE")),oe(new r.uA("heartbeat",(e=>new Ne(e)),"PRIVATE")),we(E,_,Me),we(E,_,"esm2017"),we("fire-js","")},35877:(e,t,n)=>{"use strict";n.d(t,{h1:()=>s,uA:()=>i});var r=n(75805);class i{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const o="[DEFAULT]";class a{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){const e=new r.cY;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{const n=this.getOrInitializeService({instanceIdentifier:t});n&&e.resolve(n)}catch(n){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;const n=this.normalizeInstanceIdentifier(null===e||void 0===e?void 0:e.identifier),r=null!==(t=null===e||void 0===e?void 0:e.optional)&&void 0!==t&&t;if(!this.isInitialized(n)&&!this.shouldAutoInitialize()){if(r)return null;throw Error("Service ".concat(this.name," is not available"))}try{return this.getOrInitializeService({instanceIdentifier:n})}catch(i){if(r)return null;throw i}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error("Mismatching Component ".concat(e.name," for Provider ").concat(this.name,"."));if(this.component)throw Error("Component for ".concat(this.name," has already been provided"));if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:o})}catch(t){}for(const[e,n]of this.instancesDeferred.entries()){const r=this.normalizeInstanceIdentifier(e);try{const e=this.getOrInitializeService({instanceIdentifier:r});n.resolve(e)}catch(t){}}}}clearInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter((e=>"INTERNAL"in e)).map((e=>e.INTERNAL.delete())),...e.filter((e=>"_delete"in e)).map((e=>e._delete()))])}isComponentSet(){return null!=this.component}isInitialized(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return this.instances.has(e)}getOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return this.instancesOptions.get(e)||{}}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{options:t={}}=e,n=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(n))throw Error("".concat(this.name,"(").concat(n,") has already been initialized"));if(!this.isComponentSet())throw Error("Component ".concat(this.name," has not been registered yet"));const r=this.getOrInitializeService({instanceIdentifier:n,options:t});for(const[i,o]of this.instancesDeferred.entries()){n===this.normalizeInstanceIdentifier(i)&&o.resolve(r)}return r}onInit(e,t){var n;const r=this.normalizeInstanceIdentifier(t),i=null!==(n=this.onInitCallbacks.get(r))&&void 0!==n?n:new Set;i.add(e),this.onInitCallbacks.set(r,i);const o=this.instances.get(r);return o&&e(o,r),()=>{i.delete(e)}}invokeOnInitCallbacks(e,t){const n=this.onInitCallbacks.get(t);if(n)for(const i of n)try{i(e,t)}catch(r){}}getOrInitializeService(e){let{instanceIdentifier:t,options:n={}}=e,r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:(i=t,i===o?void 0:i),options:n}),this.instances.set(t,r),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch(a){}var i;return r||null}normalizeInstanceIdentifier(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return this.component?this.component.multipleInstances?e:o:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class s{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component ".concat(e.name," has already been registered with ").concat(this.name));t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const t=new a(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}},76096:(e,t,n)=>{"use strict";n.d(t,{$b:()=>i,Ey:()=>d,He:()=>u,Vy:()=>c});const r=[];var i;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));const o={debug:i.DEBUG,verbose:i.VERBOSE,info:i.INFO,warn:i.WARN,error:i.ERROR,silent:i.SILENT},a=i.INFO,s={[i.DEBUG]:"log",[i.VERBOSE]:"log",[i.INFO]:"info",[i.WARN]:"warn",[i.ERROR]:"error"},l=function(e,t){if(t<e.logLevel)return;const n=(new Date).toISOString(),r=s[t];if(!r)throw new Error("Attempted to log a message with an invalid logType (value: ".concat(t,")"));for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];console[r]("[".concat(n,"]  ").concat(e.name,":"),...o)};class c{constructor(e){this.name=e,this._logLevel=a,this._logHandler=l,this._userLogHandler=null,r.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in i))throw new TypeError('Invalid value "'.concat(e,'" assigned to `logLevel`'));this._logLevel=e}setLogLevel(e){this._logLevel="string"===typeof e?o[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!==typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._userLogHandler&&this._userLogHandler(this,i.DEBUG,...t),this._logHandler(this,i.DEBUG,...t)}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._userLogHandler&&this._userLogHandler(this,i.VERBOSE,...t),this._logHandler(this,i.VERBOSE,...t)}info(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._userLogHandler&&this._userLogHandler(this,i.INFO,...t),this._logHandler(this,i.INFO,...t)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._userLogHandler&&this._userLogHandler(this,i.WARN,...t),this._logHandler(this,i.WARN,...t)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._userLogHandler&&this._userLogHandler(this,i.ERROR,...t),this._logHandler(this,i.ERROR,...t)}}function u(e){r.forEach((t=>{t.setLogLevel(e)}))}function d(e,t){for(const n of r){let r=null;t&&t.level&&(r=o[t.level]),n.userLogHandler=null===e?null:function(t,n){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];const l=a.map((e=>{if(null==e)return null;if("string"===typeof e)return e;if("number"===typeof e||"boolean"===typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(t){return null}})).filter((e=>e)).join(" ");n>=(null!==r&&void 0!==r?r:t.logLevel)&&e({level:i[n].toLowerCase(),message:l,args:a,type:t.name})}}}},64861:(e,t,n)=>{"use strict";n.d(t,{UE:()=>F,RK:()=>S,ll:()=>E,rD:()=>M,__:()=>_,UU:()=>P,jD:()=>N,mG:()=>I,ER:()=>R,cY:()=>T,iD:()=>A,BN:()=>k,Ej:()=>D});var r=n(16649);function i(e,t,n){let{reference:i,floating:o}=e;const a=(0,r.TV)(t),s=(0,r.Dz)(t),l=(0,r.sq)(s),c=(0,r.C0)(t),u="y"===a,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,p=i[l]/2-o[l]/2;let f;switch(c){case"top":f={x:d,y:i.y-o.height};break;case"bottom":f={x:d,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}switch((0,r.Sg)(t)){case"start":f[s]-=p*(n&&u?-1:1);break;case"end":f[s]+=p*(n&&u?-1:1)}return f}async function o(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=(0,r._3)(t,e),m=(0,r.nI)(f),g=l[p?"floating"===h?"reference":"floating":h],v=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),C="floating"===h?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},w=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:c}):C);return{top:(v.top-w.top+m.top)/b.y,bottom:(w.bottom-v.bottom+m.bottom)/b.y,left:(v.left-w.left+m.left)/b.x,right:(w.right-v.right+m.right)/b.x}}function a(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s(e){return r.r_.some((t=>e[t]>=0))}function l(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}var c=n(31211);function u(e){const t=(0,c.L9)(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=(0,c.sb)(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:i,l=(0,r.LI)(n)!==a||(0,r.LI)(i)!==s;return l&&(n=a,i=s),{width:n,height:i,$:l}}function d(e){return(0,c.vq)(e)?e:e.contextElement}function h(e){const t=d(e);if(!(0,c.sb)(t))return(0,r.Jx)(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:a}=u(t);let s=(a?(0,r.LI)(n.width):n.width)/i,l=(a?(0,r.LI)(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const p=(0,r.Jx)(0);function f(e){const t=(0,c.zk)(e);return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function m(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=d(e);let s=(0,r.Jx)(1);t&&(i?(0,c.vq)(i)&&(s=h(i)):s=h(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,c.zk)(e))&&t}(a,n,i)?f(a):(0,r.Jx)(0);let u=(o.left+l.x)/s.x,p=(o.top+l.y)/s.y,m=o.width/s.x,g=o.height/s.y;if(a){const e=(0,c.zk)(a),t=i&&(0,c.vq)(i)?(0,c.zk)(i):i;let n=e,r=n.frameElement;for(;r&&i&&t!==n;){const e=h(r),t=r.getBoundingClientRect(),i=(0,c.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;u*=e.x,p*=e.y,m*=e.x,g*=e.y,u+=o,p+=a,n=(0,c.zk)(r),r=n.frameElement}}return(0,r.B1)({width:m,height:g,x:u,y:p})}function g(e){return m((0,c.ep)(e)).left+(0,c.CP)(e).scrollLeft}function v(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=(0,c.zk)(e),r=(0,c.ep)(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=(0,c.Tc)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)i=function(e){const t=(0,c.ep)(e),n=(0,c.CP)(e),i=e.ownerDocument.body,o=(0,r.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=(0,r.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+g(e);const l=-n.scrollTop;return"rtl"===(0,c.L9)(i).direction&&(s+=(0,r.T9)(t.clientWidth,i.clientWidth)-o),{width:o,height:a,x:s,y:l}}((0,c.ep)(e));else if((0,c.vq)(t))i=function(e,t){const n=m(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,a=(0,c.sb)(e)?h(e):(0,r.Jx)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:i*a.y}}(t,n);else{const n=f(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(i)}function C(e,t){const n=(0,c.$4)(e);return!(n===t||!(0,c.vq)(n)||(0,c.eu)(n))&&("fixed"===(0,c.L9)(n).position||C(n,t))}function y(e,t,n){const i=(0,c.sb)(t),o=(0,c.ep)(t),a="fixed"===n,s=m(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const u=(0,r.Jx)(0);if(i||!i&&!a)if(("body"!==(0,c.mq)(t)||(0,c.ZU)(o))&&(l=(0,c.CP)(t)),i){const e=m(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=g(o));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function b(e){return"static"===(0,c.L9)(e).position}function w(e,t){return(0,c.sb)(e)&&"fixed"!==(0,c.L9)(e).position?t?t(e):e.offsetParent:null}function x(e,t){const n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!b(t))return t;t=(0,c.$4)(t)}return n}let r=w(e,t);for(;r&&(0,c.Lv)(r)&&b(r);)r=w(r,t);return r&&(0,c.eu)(r)&&b(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}const A={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const a="fixed"===o,s=(0,c.ep)(i),l=!!t&&(0,c.Tf)(t.floating);if(i===s||l&&a)return n;let u={scrollLeft:0,scrollTop:0},d=(0,r.Jx)(1);const p=(0,r.Jx)(0),f=(0,c.sb)(i);if((f||!f&&!a)&&(("body"!==(0,c.mq)(i)||(0,c.ZU)(s))&&(u=(0,c.CP)(i)),(0,c.sb)(i))){const e=m(i);d=h(i),p.x=e.x+i.clientLeft,p.y=e.y+i.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+p.x,y:n.y*d.y-u.scrollTop*d.y+p.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const a=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,c.v9)(e,[],!1).filter((e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e))),i=null;const o="fixed"===(0,c.L9)(e).position;let a=o?(0,c.$4)(e):e;for(;(0,c.vq)(a)&&!(0,c.eu)(a);){const t=(0,c.L9)(a),n=(0,c.sQ)(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||(0,c.ZU)(a)&&!n&&C(e,a))?r=r.filter((e=>e!==a)):i=t,a=(0,c.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=a[0],l=a.reduce(((e,n)=>{const i=v(t,n,o);return e.top=(0,r.T9)(i.top,e.top),e.right=(0,r.jk)(i.right,e.right),e.bottom=(0,r.jk)(i.bottom,e.bottom),e.left=(0,r.T9)(i.left,e.left),e}),v(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:x,getElementRects:async function(e){const t=this.getOffsetParent||x,n=this.getDimensions,r=await n(e.floating);return{reference:y(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=u(e);return{width:t,height:n}},getScale:h,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function E(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"===typeof ResizeObserver,layoutShift:l="function"===typeof IntersectionObserver,animationFrame:u=!1}=i,h=d(e),p=o||a?[...h?(0,c.v9)(h):[],...(0,c.v9)(t)]:[];p.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const f=h&&l?function(e,t){let n,i=null;const o=(0,c.ep)(e);function a(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),a();const{left:u,top:d,width:h,height:p}=e.getBoundingClientRect();if(l||t(),!h||!p)return;const f={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(o.clientWidth-(u+h))+"px "+-(0,r.RI)(o.clientHeight-(d+p))+"px "+-(0,r.RI)(u)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,c))||1};let m=!0;function g(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}m=!1}try{i=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(v){i=new IntersectionObserver(g,f)}i.observe(e)}(!0),a}(h,n):null;let g,v=-1,C=null;s&&(C=new ResizeObserver((e=>{let[r]=e;r&&r.target===h&&C&&(C.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var e;null==(e=C)||e.observe(t)}))),n()})),h&&!u&&C.observe(h),C.observe(t));let y=u?m(e):null;return u&&function t(){const r=m(e);!y||r.x===y.x&&r.y===y.y&&r.width===y.width&&r.height===y.height||n();y=r,g=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=C)||e.disconnect(),C=null,u&&cancelAnimationFrame(g)}}const _=o,T=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:a,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:i,elements:o}=e,a=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,h=(0,r._3)(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"===typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&"number"===typeof m&&(f="end"===l?-1*m:m),c?{x:f*d,y:p*u}:{x:p*u,y:f*d}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:{...c,placement:s}}}}},S=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,a;const{rects:s,middlewareData:l,placement:c,platform:u,elements:d}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:f=r.DD,autoAlignment:m=!0,...g}=(0,r._3)(e,t),v=void 0!==p||f===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(p||null,m,f):f,C=await o(t,g),y=(null==(n=l.autoPlacement)?void 0:n.index)||0,b=v[y];if(null==b)return{};const w=(0,r.w7)(b,s,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(c!==b)return{reset:{placement:v[0]}};const x=[C[(0,r.C0)(b)],C[w[0]],C[w[1]]],A=[...(null==(i=l.autoPlacement)?void 0:i.overflows)||[],{placement:b,overflows:x}],E=v[y+1];if(E)return{data:{index:y+1,overflows:A},reset:{placement:E}};const _=A.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),T=(null==(a=_.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||_[0][0];return T!==c?{data:{index:y+1,overflows:A},reset:{placement:T}}:{}}}},k=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r._3)(e,t),d={x:n,y:i},h=await o(t,u),p=(0,r.TV)((0,r.C0)(a)),f=(0,r.PG)(p);let m=d[f],g=d[p];if(s){const e="y"===f?"bottom":"right",t=m+h["y"===f?"top":"left"],n=m-h[e];m=(0,r.qE)(t,m,n)}if(l){const e="y"===p?"bottom":"right",t=g+h["y"===p?"top":"left"],n=g-h[e];g=(0,r.qE)(t,g,n)}const v=c.fn({...t,[f]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-i}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:a,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...C}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const y=(0,r.C0)(a),b=(0,r.TV)(c),w=(0,r.C0)(c)===c,x=await(null==u.isRTL?void 0:u.isRTL(d.floating)),A=f||(w||!v?[(0,r.bV)(c)]:(0,r.WJ)(c)),E="none"!==g;!f&&E&&A.push(...(0,r.lP)(c,v,g,x));const _=[c,...A],T=await o(t,C),S=[];let k=(null==(i=s.flip)?void 0:i.overflows)||[];if(h&&S.push(T[y]),p){const e=(0,r.w7)(a,l,x);S.push(T[e[0]],T[e[1]])}if(k=[...k,{placement:a,overflows:S}],!S.every((e=>e<=0))){var P,D;const e=((null==(P=s.flip)?void 0:P.index)||0)+1,t=_[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(D=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:D.placement;if(!n)switch(m){case"bestFit":{var N;const e=null==(N=k.filter((e=>{if(E){const t=(0,r.TV)(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:N[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},D=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...c}=(0,r._3)(e,t),u=await o(t,c),d=(0,r.C0)(n),h=(0,r.Sg)(n),p="y"===(0,r.TV)(n),{width:f,height:m}=i.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=h===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g="end"===h?"top":"bottom");const C=m-u.top-u.bottom,y=f-u.left-u.right,b=(0,r.jk)(m-u[g],C),w=(0,r.jk)(f-u[v],y),x=!t.middlewareData.shift;let A=b,E=w;if(p?E=h||x?(0,r.jk)(w,y):y:A=h||x?(0,r.jk)(b,C):C,x&&!h){const e=(0,r.T9)(u.left,0),t=(0,r.T9)(u.right,0),n=(0,r.T9)(u.top,0),i=(0,r.T9)(u.bottom,0);p?E=f-2*(0!==e||0!==t?e+t:(0,r.T9)(u.left,u.right)):A=m-2*(0!==n||0!==i?n+i:(0,r.T9)(u.top,u.bottom))}await l({...t,availableWidth:E,availableHeight:A});const _=await a.getDimensions(s.floating);return f!==_.width||m!==_.height?{reset:{rects:!0}}:{}}}},N=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...l}=(0,r._3)(e,t);switch(i){case"referenceHidden":{const e=a(await o(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:s(e)}}}case"escaped":{const e=a(await o(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:s(e)}}}default:return{}}}}},F=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r._3)(e,t)||{};if(null==u)return{};const h=(0,r.nI)(d),p={x:n,y:i},f=(0,r.Dz)(o),m=(0,r.sq)(f),g=await s.getDimensions(u),v="y"===f,C=v?"top":"left",y=v?"bottom":"right",b=v?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[f]-p[f]-a.floating[m],x=p[f]-a.reference[f],A=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let E=A?A[b]:0;E&&await(null==s.isElement?void 0:s.isElement(A))||(E=l.floating[b]||a.floating[m]);const _=w/2-x/2,T=E/2-g[m]/2-1,S=(0,r.jk)(h[C],T),k=(0,r.jk)(h[y],T),P=S,D=E-g[m]-k,N=E/2-g[m]/2+_,F=(0,r.qE)(P,N,D),I=!c.arrow&&null!=(0,r.Sg)(o)&&N!==F&&a.reference[m]/2-(N<P?S:k)-g[m]/2<0,R=I?N<P?N-P:N-D:0;return{[f]:p[f]+R,data:{[f]:F,centerOffset:N-F-R,...I&&{alignmentOffset:R}},reset:I}}}),I=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:o,platform:a,strategy:s}=t,{padding:c=2,x:u,y:d}=(0,r._3)(e,t),h=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),p=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let i=null;for(let r=0;r<t.length;r++){const e=t[r];!i||e.y-i.y>i.height/2?n.push([e]):n[n.length-1].push(e),i=e}return n.map((e=>(0,r.B1)(l(e))))}(h),f=(0,r.B1)(l(h)),m=(0,r.nI)(c);const g=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=d)return p.find((e=>u>e.left-m.left&&u<e.right+m.right&&d>e.top-m.top&&d<e.bottom+m.bottom))||f;if(p.length>=2){if("y"===(0,r.TV)(n)){const e=p[0],t=p[p.length-1],i="top"===(0,r.C0)(n),o=e.top,a=t.bottom,s=i?e.left:t.left,l=i?e.right:t.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...p.map((e=>e.right))),i=(0,r.jk)(...p.map((e=>e.left))),o=p.filter((n=>e?n.left===i:n.right===t)),a=o[0].top,s=o[o.length-1].bottom;return{top:a,bottom:s,left:i,right:t,width:t-i,height:s-a,x:i,y:a}}return f}},floating:i.floating,strategy:s});return o.reference.x!==g.reference.x||o.reference.y!==g.reference.y||o.reference.width!==g.reference.width||o.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},R=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:o,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=(0,r._3)(e,t),d={x:n,y:i},h=(0,r.TV)(o),p=(0,r.PG)(h);let f=d[p],m=d[h];const g=(0,r._3)(l,t),v="number"===typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+v.mainAxis,n=a.reference[p]+a.reference[e]-v.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var C,y;const e="y"===p?"width":"height",t=["top","left"].includes((0,r.C0)(o)),n=a.reference[h]-a.floating[e]+(t&&(null==(C=s.offset)?void 0:C[h])||0)+(t?0:v.crossAxis),i=a.reference[h]+a.reference[e]+(t?0:(null==(y=s.offset)?void 0:y[h])||0)-(t?v.crossAxis:0);m<n?m=n:m>i&&(m=i)}return{[p]:f,[h]:m}}}},M=(e,t,n)=>{const r=new Map,o={platform:A,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:h}=i(u,r,c),p=r,f={},m=0;for(let g=0;g<l.length;g++){const{name:n,fn:a}=l[g],{x:v,y:C,data:y,reset:b}=await a({x:d,y:h,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,h=null!=C?C:h,f={...f,[n]:{...f[n],...y}},b&&m<=50&&(m++,"object"===typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:d,y:h}=i(u,p,c))),g=-1)}return{x:d,y:h,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:a})}},31211:(e,t,n)=>{"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof i(e).Node}function s(e){return e instanceof Element||e instanceof i(e).Element}function l(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function c(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function u(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function d(e){return["table","td","th"].includes(r(e))}function h(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function p(e){const t=m(),n=s(e)?v(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function f(e){let t=y(e);for(;l(t)&&!g(t);){if(p(t))return t;if(h(t))return null;t=y(t)}return null}function m(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(r(e))}function v(e){return i(e).getComputedStyle(e)}function C(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function y(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||o(e);return c(t)?t.host:t}function b(e){const t=y(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:l(t)&&u(t)?t:b(t)}function w(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=b(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),s=i(o);if(a){const e=function(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}(s);return t.concat(s,s.visualViewport||[],u(o)?o:[],e&&n?w(e):[])}return t.concat(o,w(o,[],n))}n.d(t,{$4:()=>y,CP:()=>C,L9:()=>v,Lv:()=>d,Ng:()=>c,Tc:()=>m,Tf:()=>h,ZU:()=>u,ep:()=>o,eu:()=>g,gJ:()=>f,mq:()=>r,sQ:()=>p,sb:()=>l,v9:()=>w,vq:()=>s,zk:()=>i})},16649:(e,t,n)=>{"use strict";n.d(t,{B1:()=>S,C0:()=>m,DD:()=>o,Dz:()=>b,Jx:()=>u,LI:()=>l,PG:()=>v,RI:()=>c,Sg:()=>g,T9:()=>s,TV:()=>y,WJ:()=>x,_3:()=>f,aD:()=>A,bV:()=>_,jk:()=>a,lP:()=>E,nI:()=>T,qE:()=>p,r_:()=>r,sq:()=>C,w7:()=>w});const r=["top","right","bottom","left"],i=["start","end"],o=r.reduce(((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1])),[]),a=Math.min,s=Math.max,l=Math.round,c=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},h={start:"end",end:"start"};function p(e,t,n){return s(e,a(t,n))}function f(e,t){return"function"===typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function C(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(m(e))?"y":"x"}function b(e){return v(y(e))}function w(e,t,n){void 0===n&&(n=!1);const r=g(e),i=b(e),o=C(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=_(a)),[a,_(a)]}function x(e){const t=_(e);return[A(e),t,A(t)]}function A(e){return e.replace(/start|end/g,(e=>h[e]))}function E(e,t,n,r){const i=g(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(m(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(A)))),o}function _(e){return e.replace(/left|right|bottom|top/g,(e=>d[e]))}function T(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function S(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},46855:(e,t,n)=>{"use strict";n.d(t,{l:()=>ge});var r=n(61462),i=n.t(r,2),o=n(61824),a=n(519),s=n(27620),l=n(70114),c=n(29783),u=n(71276),d=n(52527),h=n(29823),p=n(24896);function f(e,t){let n=(0,r.useRef)([]),i=(0,a._)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,o]of t.entries())if(n.current[r]!==o){let r=i(t,e);return n.current=t,r}}),[i,...t])}var m=n(17192);let g=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&g[0]!==e.target&&(g.unshift(e.target),g=g.filter((e=>null!=e&&e.isConnected)),g.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}));var v=n(33498),C=n(9417),y=n(61484),b=n(21150);function w(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var x=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(x||{});let A=(0,b.FX)((function(e,t){let n=(0,r.useRef)(null),i=(0,h.P)(n,t),{initialFocus:x,containers:A,features:E=30,...T}=e;(0,d.g)()||(E=1);let S=(0,u.g)(n);!function(e,t){let{ownerDocument:n}=e,i=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,r.useRef)(g.slice());return f(((e,n)=>{let[r]=e,[i]=n;!0===i&&!1===r&&(0,y._)((()=>{t.current.splice(0)})),!1===i&&!0===r&&(t.current=g.slice())}),[e,g,t]),(0,a._)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(t);f((()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,v.pW)(i())}),[t]),(0,c.X)((()=>{t&&(0,v.pW)(i())}))}({ownerDocument:S},Boolean(16&E));let k=function(e,t){let{ownerDocument:n,container:i,initialFocus:o}=e,a=(0,r.useRef)(null),s=(0,l.a)();return f((()=>{if(!t)return;let e=i.current;e&&(0,y._)((()=>{if(!s.current)return;let t=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===t)return void(a.current=t)}else if(e.contains(t))return void(a.current=t);null!=o&&o.current?(0,v.pW)(o.current):(0,v.CU)(e,v.BD.First)===v.Me.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.current=null==n?void 0:n.activeElement}))}),[t]),a}({ownerDocument:S,container:n,initialFocus:x},Boolean(2&E));!function(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:o}=e,a=(0,l.a)();(0,s.M)(null==n?void 0:n.defaultView,"focus",(e=>{if(!t||!a.current)return;let n=w(i);r.current instanceof HTMLElement&&n.add(r.current);let s=o.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?_(n,l)?(o.current=l,(0,v.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,v.pW)(s)):(0,v.pW)(o.current)}),!0)}({ownerDocument:S,container:n,containers:A,previousActiveElement:k},Boolean(8&E));let P=(0,p.u)(),D=(0,a._)((e=>{let t=n.current;t&&(0,C.Y)(P.current,{[p.O.Forwards]:()=>{(0,v.CU)(t,v.BD.First,{skipElements:[e.relatedTarget]})},[p.O.Backwards]:()=>{(0,v.CU)(t,v.BD.Last,{skipElements:[e.relatedTarget]})}})})),N=(0,o.L)(),F=(0,r.useRef)(!1),I={ref:i,onKeyDown(e){"Tab"==e.key&&(F.current=!0,N.requestAnimationFrame((()=>{F.current=!1})))},onBlur(e){let t=w(A);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(_(t,r)||(F.current?(0,v.CU)(n.current,(0,C.Y)(P.current,{[p.O.Forwards]:()=>v.BD.Next,[p.O.Backwards]:()=>v.BD.Previous})|v.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,v.pW)(e.target)))}};return r.createElement(r.Fragment,null,Boolean(4&E)&&r.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:D,features:m.O.Focusable}),(0,b.XX)({ourProps:I,theirProps:T,defaultTag:"div",name:"FocusTrap"}),Boolean(4&E)&&r.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:D,features:m.O.Focusable}))})),E=Object.assign(A,{features:x});function _(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var T=n(56574);const S="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:k,useEffect:P,useLayoutEffect:D,useDebugValue:N}=i;function F(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!S(n,e)}catch{return!0}}"undefined"!=typeof window&&"undefined"!=typeof window.document&&window.document.createElement;const I=(e=>e.useSyncExternalStore)(i);var R=n(99155),M=n(53703);function O(){let e;return{before(t){let{doc:n}=t;var r;let i=n.documentElement;e=(null!=(r=n.defaultView)?r:window).innerWidth-i.clientWidth},after(t){let{doc:n,d:r}=t,i=n.documentElement,o=i.clientWidth-i.offsetWidth,a=e-o;r.style(i,"paddingRight","".concat(a,"px"))}}}var j=n(69597);function L(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let B=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=t[e].call(n,...o);s&&(n=s,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,M.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let{doc:t,d:n,meta:r}=e,i={doc:t,d:n,meta:L(r)},o=[(0,j.un)()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}n.microTask((()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,M.e)();e.style(t.documentElement,"scrollBehavior","auto"),n.add((()=>n.microTask((()=>e.dispose()))))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,o=null;n.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=t.querySelector(r);a&&!i(a)&&(o=a)}catch{}}),!0),n.addEventListener(t,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")})),n.addEventListener(t,"touchmove",(e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}),{passive:!1}),n.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;r!==t&&window.scrollTo(0,r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},O(),{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];o.forEach((e=>{let{before:t}=e;return null==t?void 0:t(i)})),o.forEach((e=>{let{after:t}=e;return null==t?void 0:t(i)}))},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});function U(e,t,n){let r=function(e){return I(e.subscribe,e.getSnapshot,e.getSnapshot)}(B),i=e?r.get(e):void 0,o=!!i&&i.count>0;return(0,R.s)((()=>{if(e&&t)return B.dispatch("PUSH",e,n),()=>B.dispatch("POP",e,n)}),[t,e]),o}B.subscribe((()=>{let e=B.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&B.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&B.dispatch("TEARDOWN",n)}}));var V=n(36854);let H=new Map,z=new Map;function Z(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,R.s)((()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let i=null!=(n=z.get(r))?n:0;return z.set(r,i+1),0!==i||(H.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=z.get(r))?e:1;if(1===t?z.delete(r):z.set(r,t-1),1!==t)return;let n=H.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,H.delete(r))}}),[e,t])}var W=n(44808),q=n(65408),G=n(55197),Y=n(3117);let K=(0,r.createContext)((()=>{}));K.displayName="StackContext";var Q=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Q||{});function X(e){let{children:t,onUpdate:n,type:i,element:o,enabled:s}=e,l=(0,r.useContext)(K),c=(0,a._)((function(){null==n||n(...arguments),l(...arguments)}));return(0,R.s)((()=>{let e=void 0===s||!0===s;return e&&c(0,i,o),()=>{e&&c(1,i,o)}}),[c,i,o,s]),r.createElement(K.Provider,{value:c},t)}var J=n(52661);let $=(0,r.createContext)(null);function ee(){let e=(0,r.useContext)($);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ee),e}return e}let te=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:r="headlessui-description-".concat(n),...i}=e,o=ee(),a=(0,h.P)(t);(0,R.s)((()=>o.register(r)),[r,o.register]);let s={ref:a,...o.props,id:r};return(0,b.XX)({ourProps:s,theirProps:i,slot:o.slot||{},defaultTag:"p",name:o.name||"Description"})})),ne=Object.assign(te,{});var re=n(93322),ie=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ie||{}),oe=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(oe||{});let ae={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},se=(0,r.createContext)(null);function le(e){let t=(0,r.useContext)(se);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,le),t}return t}function ce(e,t){return(0,C.Y)(t.type,ae,e,t)}se.displayName="DialogContext";let ue=b.O5.RenderStrategy|b.O5.Static;let de=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:i="headlessui-dialog-".concat(n),open:o,onClose:l,initialFocus:c,role:p="dialog",__demoMode:f=!1,...m}=e,[g,v]=(0,r.useState)(0),y=(0,r.useRef)(!1);p="dialog"===p||"alertdialog"===p?p:(y.current||(y.current=!0,console.warn("Invalid role [".concat(p,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let w=(0,G.O_)();void 0===o&&null!==w&&(o=(w&G.Uw.Open)===G.Uw.Open);let x=(0,r.useRef)(null),A=(0,h.P)(x,t),_=(0,u.g)(x),S=e.hasOwnProperty("open")||null!==w,k=e.hasOwnProperty("onClose");if(!S&&!k)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!S)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!k)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof o)throw new Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(o));if("function"!=typeof l)throw new Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(l));let P=o?0:1,[D,N]=(0,r.useReducer)(ce,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),F=(0,a._)((()=>l(!1))),I=(0,a._)((e=>N({type:0,id:e}))),R=!!(0,d.g)()&&(!f&&0===P),M=g>1,O=null!==(0,r.useContext)(se),[j,L]=(0,T.k)(),B={get current(){var e;return null!=(e=D.panelRef.current)?e:x.current}},{resolveContainers:H,mainTreeNodeRef:z,MainTreeNode:K}=(0,q.i)({portals:j,defaultContainers:[B]}),J=M?"parent":"leaf",ee=null!==w&&(w&G.Uw.Closing)===G.Uw.Closing,te=!O&&!ee&&R,ne=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==_?void 0:_.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(z.current)&&e instanceof HTMLElement))))?t:null}),[z]);Z(ne,te);let ie=!!M||R,oe=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==_?void 0:_.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(z.current)&&e instanceof HTMLElement)))?t:null}),[z]);Z(oe,ie);let ae=!(!R||M);(0,W.j)(H,(e=>{e.preventDefault(),F()}),ae);let le=!(M||0!==P);(0,s.M)(null==_?void 0:_.defaultView,"keydown",(e=>{le&&(e.defaultPrevented||e.key===re.D.Escape&&(e.preventDefault(),e.stopPropagation(),F()))})),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];U(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(_,!(ee||0!==P||O),H),(0,r.useEffect)((()=>{if(0!==P||!x.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&F()}}));return e.observe(x.current),()=>e.disconnect()}),[P,x,F]);let[de,he]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,a._)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),i=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement($.Provider,{value:i},e.children)}),[t])]}(),pe=(0,r.useMemo)((()=>[{dialogState:P,close:F,setTitleId:I},D]),[P,D,F,I]),fe=(0,r.useMemo)((()=>({open:0===P})),[P]),me={ref:A,id:i,role:p,"aria-modal":0===P||void 0,"aria-labelledby":D.titleId,"aria-describedby":de};return r.createElement(X,{type:"Dialog",enabled:0===P,element:x,onUpdate:(0,a._)(((e,t)=>{"Dialog"===t&&(0,C.Y)(e,{[Q.Add]:()=>v((e=>e+1)),[Q.Remove]:()=>v((e=>e-1))})}))},r.createElement(Y.a,{force:!0},r.createElement(T.Z,null,r.createElement(se.Provider,{value:pe},r.createElement(T.Z.Group,{target:x},r.createElement(Y.a,{force:!1},r.createElement(he,{slot:fe,name:"Dialog.Description"},r.createElement(E,{initialFocus:c,containers:H,features:R?(0,C.Y)(J,{parent:E.features.RestoreFocus,leaf:E.features.All&~E.features.FocusLock}):E.features.None},r.createElement(L,null,(0,b.XX)({ourProps:me,theirProps:m,slot:fe,defaultTag:"div",features:ue,visible:0===P,name:"Dialog"}))))))))),r.createElement(K,null))})),he=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:i="headlessui-dialog-backdrop-".concat(n),...o}=e,[{dialogState:a},s]=le("Dialog.Backdrop"),l=(0,h.P)(t);(0,r.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[s.panelRef]);let c=(0,r.useMemo)((()=>({open:0===a})),[a]);return r.createElement(Y.a,{force:!0},r.createElement(T.Z,null,(0,b.XX)({ourProps:{ref:l,id:i,"aria-hidden":!0},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),pe=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:i="headlessui-dialog-panel-".concat(n),...o}=e,[{dialogState:s},l]=le("Dialog.Panel"),c=(0,h.P)(t,l.panelRef),u=(0,r.useMemo)((()=>({open:0===s})),[s]),d=(0,a._)((e=>{e.stopPropagation()}));return(0,b.XX)({ourProps:{ref:c,id:i,onClick:d},theirProps:o,slot:u,defaultTag:"div",name:"Dialog.Panel"})})),fe=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:i="headlessui-dialog-overlay-".concat(n),...o}=e,[{dialogState:s,close:l}]=le("Dialog.Overlay"),c=(0,h.P)(t),u=(0,a._)((e=>{if(e.target===e.currentTarget){if((0,J.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),l()}})),d=(0,r.useMemo)((()=>({open:0===s})),[s]);return(0,b.XX)({ourProps:{ref:c,id:i,"aria-hidden":!0,onClick:u},theirProps:o,slot:d,defaultTag:"div",name:"Dialog.Overlay"})})),me=(0,b.FX)((function(e,t){let n=(0,V.B)(),{id:i="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:a,setTitleId:s}]=le("Dialog.Title"),l=(0,h.P)(t);(0,r.useEffect)((()=>(s(i),()=>s(null))),[i,s]);let c=(0,r.useMemo)((()=>({open:0===a})),[a]);return(0,b.XX)({ourProps:{ref:l,id:i},theirProps:o,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),ge=Object.assign(de,{Backdrop:he,Panel:pe,Overlay:fe,Title:me,Description:ne})},93322:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},35032:(e,t,n)=>{"use strict";n.d(t,{W:()=>q});var r=n(61462),i=n(99155),o=n(75064);function a(e,t){let[n,a]=(0,r.useState)(e),s=(0,o.Y)(e);return(0,i.s)((()=>a(s.current)),[s,a,...t]),n}var s=n(519);var l=n(61824),c=n(36854),u=n(44808),d=n(27869),h=n(29823),p=n(27404),f=n(50305),m=n(17192),g=n(55197),v=n(52661),C=n(58566),y=n(53703),b=n(33498);function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[r,i]of Object.entries(e))A(n,x(t,r),i);return n}function x(e,t){return e?e+"["+t+"]":t}function A(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())A(e,x(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,"".concat(n)]):null==n?e.push([t,""]):w(n,t,e)}var E=n(9417),_=n(43139),T=n(21150),S=n(93322),k=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(k||{}),P=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(P||{}),D=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(D||{}),N=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(N||{});function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,b.wl)(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{options:r,activeOptionIndex:i}}let I={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=F(e),i=(0,C.X)(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find((e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))})),o=i?e.options.indexOf(i):-1;return-1===o||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=F(e,(e=>[...e,n]));return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=F(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},R=(0,r.createContext)(null);function M(e){let t=(0,r.useContext)(R);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return t}R.displayName="ListboxActionsContext";let O=(0,r.createContext)(null);function j(e){let t=(0,r.useContext)(O);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}function L(e,t){return(0,E.Y)(t.type,I,e,t)}O.displayName="ListboxDataContext";let B=r.Fragment;let U=T.O5.RenderStrategy|T.O5.Static;let V=(0,T.FX)((function(e,t){let{value:n,defaultValue:o,form:a,name:c,onChange:d,by:p=(e,t)=>e===t,disabled:f=!1,horizontal:v=!1,multiple:y=!1,...x}=e;const A=v?"horizontal":"vertical";let _=(0,h.P)(t),[S=(y?[]:void 0),k]=function(e,t,n){let[i,o]=(0,r.useState)(n),a=void 0!==e,l=(0,r.useRef)(a),c=(0,r.useRef)(!1),u=(0,r.useRef)(!1);return!a||l.current||c.current?!a&&l.current&&!u.current&&(u.current=!0,l.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(c.current=!0,l.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:i,(0,s._)((e=>(a||o(e),null==t?void 0:t(e))))]}(n,d,o),[P,D]=(0,r.useReducer)(L,{dataRef:(0,r.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),N=(0,r.useRef)({static:!1,hold:!1}),F=(0,r.useRef)(null),I=(0,r.useRef)(null),M=(0,r.useRef)(null),j=(0,s._)("string"==typeof p?(e,t)=>{let n=p;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:p),U=(0,r.useCallback)((e=>(0,E.Y)(V.mode,{1:()=>S.some((t=>j(t,e))),0:()=>j(S,e)})),[S]),V=(0,r.useMemo)((()=>({...P,value:S,disabled:f,mode:y?1:0,orientation:A,compare:j,isSelected:U,optionsPropsRef:N,labelRef:F,buttonRef:I,optionsRef:M})),[S,f,y,P]);(0,i.s)((()=>{P.dataRef.current=V}),[V]),(0,u.j)([V.buttonRef,V.optionsRef],((e,t)=>{var n;D({type:1}),(0,b.Bm)(t,b.MZ.Loose)||(e.preventDefault(),null==(n=V.buttonRef.current)||n.focus())}),0===V.listboxState);let H=(0,r.useMemo)((()=>({open:0===V.listboxState,disabled:f,value:S})),[V,f,S]),z=(0,s._)((e=>{let t=V.options.find((t=>t.id===e));t&&Q(t.dataRef.current.value)})),Z=(0,s._)((()=>{if(null!==V.activeOptionIndex){let{dataRef:e,id:t}=V.options[V.activeOptionIndex];Q(e.current.value),D({type:2,focus:C.B.Specific,id:t})}})),W=(0,s._)((()=>D({type:0}))),q=(0,s._)((()=>D({type:1}))),G=(0,s._)(((e,t,n)=>e===C.B.Specific?D({type:2,focus:C.B.Specific,id:t,trigger:n}):D({type:2,focus:e,trigger:n}))),Y=(0,s._)(((e,t)=>(D({type:5,id:e,dataRef:t}),()=>D({type:6,id:e})))),K=(0,s._)((e=>(D({type:7,id:e}),()=>D({type:7,id:null})))),Q=(0,s._)((e=>(0,E.Y)(V.mode,{0:()=>null==k?void 0:k(e),1(){let t=V.value.slice(),n=t.findIndex((t=>j(t,e)));return-1===n?t.push(e):t.splice(n,1),null==k?void 0:k(t)}}))),X=(0,s._)((e=>D({type:3,value:e}))),J=(0,s._)((()=>D({type:4}))),$=(0,r.useMemo)((()=>({onChange:Q,registerOption:Y,registerLabel:K,goToOption:G,closeListbox:q,openListbox:W,selectActiveOption:Z,selectOption:z,search:X,clearSearch:J})),[]),ee={ref:_},te=(0,r.useRef)(null),ne=(0,l.L)();return(0,r.useEffect)((()=>{te.current&&void 0!==o&&ne.addEventListener(te.current,"reset",(()=>{null==k||k(o)}))}),[te,k]),r.createElement(R.Provider,{value:$},r.createElement(O.Provider,{value:V},r.createElement(g.El,{value:(0,E.Y)(V.listboxState,{0:g.Uw.Open,1:g.Uw.Closed})},null!=c&&null!=S&&w({[c]:S}).map(((e,t)=>{let[n,i]=e;return r.createElement(m.j,{features:m.O.Hidden,ref:0===t?e=>{var t;te.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,T.oE)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:a,disabled:f,name:n,value:i})})})),(0,T.XX)({ourProps:ee,theirProps:x,slot:H,defaultTag:B,name:"Listbox"}))))})),H=(0,T.FX)((function(e,t){var n;let i=(0,c.B)(),{id:o="headlessui-listbox-button-".concat(i),...u}=e,p=j("Listbox.Button"),f=M("Listbox.Button"),m=(0,h.P)(p.buttonRef,t),g=(0,l.L)(),y=(0,s._)((e=>{switch(e.key){case S.D.Space:case S.D.Enter:case S.D.ArrowDown:e.preventDefault(),f.openListbox(),g.nextFrame((()=>{p.value||f.goToOption(C.B.First)}));break;case S.D.ArrowUp:e.preventDefault(),f.openListbox(),g.nextFrame((()=>{p.value||f.goToOption(C.B.Last)}))}})),b=(0,s._)((e=>{if(e.key===S.D.Space)e.preventDefault()})),w=(0,s._)((e=>{if((0,v.l)(e.currentTarget))return e.preventDefault();0===p.listboxState?(f.closeListbox(),g.nextFrame((()=>{var e;return null==(e=p.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),f.openListbox())})),x=a((()=>{if(p.labelId)return[p.labelId,o].join(" ")}),[p.labelId,o]),A=(0,r.useMemo)((()=>({open:0===p.listboxState,disabled:p.disabled,value:p.value})),[p]),E={ref:m,id:o,type:(0,d.c)(e,p.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=p.optionsRef.current)?void 0:n.id,"aria-expanded":0===p.listboxState,"aria-labelledby":x,disabled:p.disabled,onKeyDown:y,onKeyUp:b,onClick:w};return(0,T.XX)({ourProps:E,theirProps:u,slot:A,defaultTag:"button",name:"Listbox.Button"})})),z=(0,T.FX)((function(e,t){let n=(0,c.B)(),{id:o="headlessui-listbox-label-".concat(n),...a}=e,l=j("Listbox.Label"),u=M("Listbox.Label"),d=(0,h.P)(l.labelRef,t);(0,i.s)((()=>u.registerLabel(o)),[o]);let p=(0,s._)((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})})),f=(0,r.useMemo)((()=>({open:0===l.listboxState,disabled:l.disabled})),[l]);return(0,T.XX)({ourProps:{ref:d,id:o,onClick:p},theirProps:a,slot:f,defaultTag:"label",name:"Listbox.Label"})})),Z=(0,T.FX)((function(e,t){var n;let i=(0,c.B)(),{id:o="headlessui-listbox-options-".concat(i),...u}=e,d=j("Listbox.Options"),p=M("Listbox.Options"),f=(0,h.P)(d.optionsRef,t),m=(0,l.L)(),v=(0,l.L)(),b=(0,g.O_)(),w=null!==b?(b&g.Uw.Open)===g.Uw.Open:0===d.listboxState;(0,r.useEffect)((()=>{var e;let t=d.optionsRef.current;t&&0===d.listboxState&&t!==(null==(e=(0,_.T)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})}),[d.listboxState,d.optionsRef]);let x=(0,s._)((e=>{switch(v.dispose(),e.key){case S.D.Space:if(""!==d.searchQuery)return e.preventDefault(),e.stopPropagation(),p.search(e.key);case S.D.Enter:if(e.preventDefault(),e.stopPropagation(),null!==d.activeOptionIndex){let{dataRef:e}=d.options[d.activeOptionIndex];p.onChange(e.current.value)}0===d.mode&&(p.closeListbox(),(0,y.e)().nextFrame((()=>{var e;return null==(e=d.buttonRef.current)?void 0:e.focus({preventScroll:!0})})));break;case(0,E.Y)(d.orientation,{vertical:S.D.ArrowDown,horizontal:S.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),p.goToOption(C.B.Next);case(0,E.Y)(d.orientation,{vertical:S.D.ArrowUp,horizontal:S.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),p.goToOption(C.B.Previous);case S.D.Home:case S.D.PageUp:return e.preventDefault(),e.stopPropagation(),p.goToOption(C.B.First);case S.D.End:case S.D.PageDown:return e.preventDefault(),e.stopPropagation(),p.goToOption(C.B.Last);case S.D.Escape:return e.preventDefault(),e.stopPropagation(),p.closeListbox(),m.nextFrame((()=>{var e;return null==(e=d.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case S.D.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(p.search(e.key),v.setTimeout((()=>p.clearSearch()),350))}})),A=a((()=>{var e;return null==(e=d.buttonRef.current)?void 0:e.id}),[d.buttonRef.current]),k=(0,r.useMemo)((()=>({open:0===d.listboxState})),[d]),P={"aria-activedescendant":null===d.activeOptionIndex||null==(n=d.options[d.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===d.mode||void 0,"aria-labelledby":A,"aria-orientation":d.orientation,id:o,onKeyDown:x,role:"listbox",tabIndex:0,ref:f};return(0,T.XX)({ourProps:P,theirProps:u,slot:k,defaultTag:"ul",features:U,visible:w,name:"Listbox.Options"})})),W=(0,T.FX)((function(e,t){let n=(0,c.B)(),{id:a="headlessui-listbox-option-".concat(n),disabled:l=!1,value:u,...d}=e,m=j("Listbox.Option"),g=M("Listbox.Option"),v=null!==m.activeOptionIndex&&m.options[m.activeOptionIndex].id===a,b=m.isSelected(u),w=(0,r.useRef)(null),x=(0,p.q)(w),A=(0,o.Y)({disabled:l,value:u,domRef:w,get textValue(){return x()}}),E=(0,h.P)(t,w);(0,i.s)((()=>{if(0!==m.listboxState||!v||0===m.activationTrigger)return;let e=(0,y.e)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=w.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[w,v,m.listboxState,m.activationTrigger,m.activeOptionIndex]),(0,i.s)((()=>g.registerOption(a,A)),[A,a]);let _=(0,s._)((e=>{if(l)return e.preventDefault();g.onChange(u),0===m.mode&&(g.closeListbox(),(0,y.e)().nextFrame((()=>{var e;return null==(e=m.buttonRef.current)?void 0:e.focus({preventScroll:!0})})))})),S=(0,s._)((()=>{if(l)return g.goToOption(C.B.Nothing);g.goToOption(C.B.Specific,a)})),k=(0,f.J)(),P=(0,s._)((e=>k.update(e))),D=(0,s._)((e=>{k.wasMoved(e)&&(l||v||g.goToOption(C.B.Specific,a,0))})),N=(0,s._)((e=>{k.wasMoved(e)&&(l||v&&g.goToOption(C.B.Nothing))})),F=(0,r.useMemo)((()=>({active:v,selected:b,disabled:l})),[v,b,l]);return(0,T.XX)({ourProps:{id:a,ref:E,role:"option",tabIndex:!0===l?void 0:-1,"aria-disabled":!0===l||void 0,"aria-selected":b,disabled:void 0,onClick:_,onFocus:S,onPointerEnter:P,onMouseEnter:P,onPointerMove:D,onMouseMove:D,onPointerLeave:N,onMouseLeave:N},theirProps:d,slot:F,defaultTag:"li",name:"Listbox.Option"})})),q=Object.assign(V,{Button:H,Label:z,Options:Z,Option:W})},60712:(e,t,n)=>{"use strict";n.d(t,{A:()=>H});var r=n(61462),i=n(56574),o=n(519),a=n(27620),s=n(36854),l=n(99155),c=n(75064),u=n(44808),d=n(71276),h=n(27869),p=n(65408),f=n(29823),m=n(24896),g=n(17192),v=n(55197),C=n(52661),y=n(33498),b=n(9417),w=n(43139),x=n(21150),A=n(93322),E=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(E||{}),_=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(_||{});let T={0:e=>{let t={...e,popoverState:(0,b.Y)(e.popoverState,{0:1,1:0})};return 0===t.popoverState&&(t.__demoMode=!1),t},1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},S=(0,r.createContext)(null);function k(e){let t=(0,r.useContext)(S);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}S.displayName="PopoverContext";let P=(0,r.createContext)(null);function D(e){let t=(0,r.useContext)(P);if(null===t){let t=new Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}P.displayName="PopoverAPIContext";let N=(0,r.createContext)(null);function F(){return(0,r.useContext)(N)}N.displayName="PopoverGroupContext";let I=(0,r.createContext)(null);function R(e,t){return(0,b.Y)(t.type,T,e,t)}I.displayName="PopoverPanelContext";let M=x.O5.RenderStrategy|x.O5.Static;let O=x.O5.RenderStrategy|x.O5.Static;let j=(0,x.FX)((function(e,t){var n;let{__demoMode:s=!1,...l}=e,h=(0,r.useRef)(null),m=(0,f.P)(t,(0,f.a)((e=>{h.current=e}))),g=(0,r.useRef)([]),C=(0,r.useReducer)(R,{__demoMode:s,popoverState:s?0:1,buttons:g,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,r.createRef)(),afterPanelSentinel:(0,r.createRef)()}),[{popoverState:w,button:A,buttonId:E,panel:_,panelId:T,beforePanelSentinel:k,afterPanelSentinel:D},N]=C,M=(0,d.g)(null!=(n=h.current)?n:A),O=(0,r.useMemo)((()=>{if(!A||!_)return!1;for(let a of document.querySelectorAll("body > *"))if(Number(null==a?void 0:a.contains(A))^Number(null==a?void 0:a.contains(_)))return!0;let e=(0,y.iq)(),t=e.indexOf(A),n=(t+e.length-1)%e.length,r=(t+1)%e.length,i=e[n],o=e[r];return!_.contains(i)&&!_.contains(o)}),[A,_]),j=(0,c.Y)(E),L=(0,c.Y)(T),B=(0,r.useMemo)((()=>({buttonId:j,panelId:L,close:()=>N({type:1})})),[j,L,N]),U=F(),V=null==U?void 0:U.registerPopover,H=(0,o._)((()=>{var e;return null!=(e=null==U?void 0:U.isFocusWithinPopoverGroup())?e:(null==M?void 0:M.activeElement)&&((null==A?void 0:A.contains(M.activeElement))||(null==_?void 0:_.contains(M.activeElement)))}));(0,r.useEffect)((()=>null==V?void 0:V(B)),[V,B]);let[z,Z]=(0,i.k)(),W=(0,p.i)({mainTreeNodeRef:null==U?void 0:U.mainTreeNodeRef,portals:z,defaultContainers:[A,_]});(0,a.M)(null==M?void 0:M.defaultView,"focus",(e=>{var t,n,r,i;e.target!==window&&e.target instanceof HTMLElement&&0===w&&(H()||A&&_&&(W.contains(e.target)||null!=(n=null==(t=k.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(i=null==(r=D.current)?void 0:r.contains)&&i.call(r,e.target)||N({type:1})))}),!0),(0,u.j)(W.resolveContainers,((e,t)=>{N({type:1}),(0,y.Bm)(t,y.MZ.Loose)||(e.preventDefault(),null==A||A.focus())}),0===w);let q=(0,o._)((e=>{N({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:A:A;null==t||t.focus()})),G=(0,r.useMemo)((()=>({close:q,isPortalled:O})),[q,O]),Y=(0,r.useMemo)((()=>({open:0===w,close:q})),[w,q]),K={ref:m};return r.createElement(I.Provider,{value:null},r.createElement(S.Provider,{value:C},r.createElement(P.Provider,{value:G},r.createElement(v.El,{value:(0,b.Y)(w,{0:v.Uw.Open,1:v.Uw.Closed})},r.createElement(Z,null,(0,x.XX)({ourProps:K,theirProps:l,slot:Y,defaultTag:"div",name:"Popover"}),r.createElement(W.MainTreeNode,null))))))})),L=(0,x.FX)((function(e,t){let n=(0,s.B)(),{id:i="headlessui-popover-button-".concat(n),...a}=e,[l,c]=k("Popover.Button"),{isPortalled:u}=D("Popover.Button"),p=(0,r.useRef)(null),v="headlessui-focus-sentinel-".concat((0,s.B)()),w=F(),E=null==w?void 0:w.closeOthers,_=null!==(0,r.useContext)(I);(0,r.useEffect)((()=>{if(!_)return c({type:3,buttonId:i}),()=>{c({type:3,buttonId:null})}}),[_,i,c]);let[T]=(0,r.useState)((()=>Symbol())),S=(0,f.P)(p,t,_?null:e=>{if(e)l.buttons.current.push(T);else{let e=l.buttons.current.indexOf(T);-1!==e&&l.buttons.current.splice(e,1)}l.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&c({type:2,button:e})}),P=(0,f.P)(p,t),N=(0,d.g)(p),R=(0,o._)((e=>{var t,n,r;if(_){if(1===l.popoverState)return;switch(e.key){case A.D.Space:case A.D.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),c({type:1}),null==(r=l.button)||r.focus()}}else switch(e.key){case A.D.Space:case A.D.Enter:e.preventDefault(),e.stopPropagation(),1===l.popoverState&&(null==E||E(l.buttonId)),c({type:0});break;case A.D.Escape:if(0!==l.popoverState)return null==E?void 0:E(l.buttonId);if(!p.current||null!=N&&N.activeElement&&!p.current.contains(N.activeElement))return;e.preventDefault(),e.stopPropagation(),c({type:1})}})),M=(0,o._)((e=>{_||e.key===A.D.Space&&e.preventDefault()})),O=(0,o._)((t=>{var n,r;(0,C.l)(t.currentTarget)||e.disabled||(_?(c({type:1}),null==(n=l.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===l.popoverState&&(null==E||E(l.buttonId)),c({type:0}),null==(r=l.button)||r.focus()))})),j=(0,o._)((e=>{e.preventDefault(),e.stopPropagation()})),L=0===l.popoverState,B=(0,r.useMemo)((()=>({open:L})),[L]),U=(0,h.c)(e,p),V=_?{ref:P,type:U,onKeyDown:R,onClick:O}:{ref:S,id:l.buttonId,type:U,"aria-expanded":0===l.popoverState,"aria-controls":l.panel?l.panelId:void 0,onKeyDown:R,onKeyUp:M,onClick:O,onMouseDown:j},H=(0,m.u)(),z=(0,o._)((()=>{let e=l.panel;e&&(0,b.Y)(H.current,{[m.O.Forwards]:()=>(0,y.CU)(e,y.BD.First),[m.O.Backwards]:()=>(0,y.CU)(e,y.BD.Last)})===y.Me.Error&&(0,y.CU)((0,y.iq)().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),(0,b.Y)(H.current,{[m.O.Forwards]:y.BD.Next,[m.O.Backwards]:y.BD.Previous}),{relativeTo:l.button})}));return r.createElement(r.Fragment,null,(0,x.XX)({ourProps:V,theirProps:a,slot:B,defaultTag:"button",name:"Popover.Button"}),L&&!_&&u&&r.createElement(g.j,{id:v,features:g.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:z}))})),B=(0,x.FX)((function(e,t){let n=(0,s.B)(),{id:i="headlessui-popover-overlay-".concat(n),...a}=e,[{popoverState:l},c]=k("Popover.Overlay"),u=(0,f.P)(t),d=(0,v.O_)(),h=null!==d?(d&v.Uw.Open)===v.Uw.Open:0===l,p=(0,o._)((e=>{if((0,C.l)(e.currentTarget))return e.preventDefault();c({type:1})})),m=(0,r.useMemo)((()=>({open:0===l})),[l]);return(0,x.XX)({ourProps:{ref:u,id:i,"aria-hidden":!0,onClick:p},theirProps:a,slot:m,defaultTag:"div",features:M,visible:h,name:"Popover.Overlay"})})),U=(0,x.FX)((function(e,t){let n=(0,s.B)(),{id:i="headlessui-popover-panel-".concat(n),focus:a=!1,...c}=e,[u,h]=k("Popover.Panel"),{close:p,isPortalled:C}=D("Popover.Panel"),w="headlessui-focus-sentinel-before-".concat((0,s.B)()),E="headlessui-focus-sentinel-after-".concat((0,s.B)()),_=(0,r.useRef)(null),T=(0,f.P)(_,t,(e=>{h({type:4,panel:e})})),S=(0,d.g)(_),P=(0,x.cq)();(0,l.s)((()=>(h({type:5,panelId:i}),()=>{h({type:5,panelId:null})})),[i,h]);let N=(0,v.O_)(),F=null!==N?(N&v.Uw.Open)===v.Uw.Open:0===u.popoverState,R=(0,o._)((e=>{var t;if(e.key===A.D.Escape){if(0!==u.popoverState||!_.current||null!=S&&S.activeElement&&!_.current.contains(S.activeElement))return;e.preventDefault(),e.stopPropagation(),h({type:1}),null==(t=u.button)||t.focus()}}));(0,r.useEffect)((()=>{var t;e.static||1===u.popoverState&&(null==(t=e.unmount)||t)&&h({type:4,panel:null})}),[u.popoverState,e.unmount,e.static,h]),(0,r.useEffect)((()=>{if(u.__demoMode||!a||0!==u.popoverState||!_.current)return;let e=null==S?void 0:S.activeElement;_.current.contains(e)||(0,y.CU)(_.current,y.BD.First)}),[u.__demoMode,a,_,u.popoverState]);let M=(0,r.useMemo)((()=>({open:0===u.popoverState,close:p})),[u,p]),j={ref:T,id:i,onKeyDown:R,onBlur:a&&0===u.popoverState?e=>{var t,n,r,i,o;let a=e.relatedTarget;a&&_.current&&(null!=(t=_.current)&&t.contains(a)||(h({type:1}),(null!=(r=null==(n=u.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,a)||null!=(o=null==(i=u.afterPanelSentinel.current)?void 0:i.contains)&&o.call(i,a))&&a.focus({preventScroll:!0})))}:void 0,tabIndex:-1},L=(0,m.u)(),B=(0,o._)((()=>{let e=_.current;e&&(0,b.Y)(L.current,{[m.O.Forwards]:()=>{var t;(0,y.CU)(e,y.BD.First)===y.Me.Error&&(null==(t=u.afterPanelSentinel.current)||t.focus())},[m.O.Backwards]:()=>{var e;null==(e=u.button)||e.focus({preventScroll:!0})}})})),U=(0,o._)((()=>{let e=_.current;e&&(0,b.Y)(L.current,{[m.O.Forwards]:()=>{var e;if(!u.button)return;let t=(0,y.iq)(),n=t.indexOf(u.button),r=t.slice(0,n+1),i=[...t.slice(n+1),...r];for(let o of i.slice())if("true"===o.dataset.headlessuiFocusGuard||null!=(e=u.panel)&&e.contains(o)){let e=i.indexOf(o);-1!==e&&i.splice(e,1)}(0,y.CU)(i,y.BD.First,{sorted:!1})},[m.O.Backwards]:()=>{var t;(0,y.CU)(e,y.BD.Previous)===y.Me.Error&&(null==(t=u.button)||t.focus())}})}));return r.createElement(I.Provider,{value:i},F&&C&&r.createElement(g.j,{id:w,ref:u.beforePanelSentinel,features:g.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:B}),(0,x.XX)({mergeRefs:P,ourProps:j,theirProps:c,slot:M,defaultTag:"div",features:O,visible:F,name:"Popover.Panel"}),F&&C&&r.createElement(g.j,{id:E,ref:u.afterPanelSentinel,features:g.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:U}))})),V=(0,x.FX)((function(e,t){let n=(0,r.useRef)(null),i=(0,f.P)(n,t),[a,s]=(0,r.useState)([]),l=(0,p.x)(),c=(0,o._)((e=>{s((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),u=(0,o._)((e=>(s((t=>[...t,e])),()=>c(e)))),d=(0,o._)((()=>{var e;let t=(0,w.T)(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||a.some((e=>{var n,i;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(i=t.getElementById(e.panelId.current))?void 0:i.contains(r))}))})),h=(0,o._)((e=>{for(let t of a)t.buttonId.current!==e&&t.close()})),m=(0,r.useMemo)((()=>({registerPopover:u,unregisterPopover:c,isFocusWithinPopoverGroup:d,closeOthers:h,mainTreeNodeRef:l.mainTreeNodeRef})),[u,c,d,h,l.mainTreeNodeRef]),g=(0,r.useMemo)((()=>({})),[]),v=e,C={ref:i};return r.createElement(N.Provider,{value:m},(0,x.XX)({ourProps:C,theirProps:v,slot:g,defaultTag:"div",name:"Popover.Group"}),r.createElement(l.MainTreeNode,null))})),H=Object.assign(j,{Button:L,Overlay:B,Panel:U,Group:V})},56574:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w,k:()=>C});var r=n(61462),i=n(72551),o=n(519),a=n(99155),s=n(29783),l=n(71276),c=n(52527),u=n(29823),d=n(3117),h=n(94635),p=n(21150);let f=r.Fragment;let m=r.Fragment,g=(0,r.createContext)(null);let v=(0,r.createContext)(null);function C(){let e=(0,r.useContext)(v),t=(0,r.useRef)([]),n=(0,o._)((n=>(t.current.push(n),e&&e.register(n),()=>i(n)))),i=(0,o._)((n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)})),a=(0,r.useMemo)((()=>({register:n,unregister:i,portals:t})),[n,i,t]);return[t,(0,r.useMemo)((()=>function(e){let{children:t}=e;return r.createElement(v.Provider,{value:a},t)}),[a])]}let y=(0,p.FX)((function(e,t){let n=e,o=(0,r.useRef)(null),m=(0,u.P)((0,u.a)((e=>{o.current=e})),t),C=(0,l.g)(o),y=function(e){let t=(0,d.S)(),n=(0,r.useContext)(g),i=(0,l.g)(e),[o,a]=(0,r.useState)((()=>{if(!t&&null!==n||h._.isServer)return null;let e=null==i?void 0:i.getElementById("headlessui-portal-root");if(e)return e;if(null===i)return null;let r=i.createElement("div");return r.setAttribute("id","headlessui-portal-root"),i.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==o&&(null!=i&&i.body.contains(o)||null==i||i.body.appendChild(o))}),[o,i]),(0,r.useEffect)((()=>{t||null!==n&&a(n.current)}),[n,a,t]),o}(o),[b]=(0,r.useState)((()=>{var e;return h._.isServer?null:null!=(e=null==C?void 0:C.createElement("div"))?e:null})),w=(0,r.useContext)(v),x=(0,c.g)();return(0,a.s)((()=>{!y||!b||y.contains(b)||(b.setAttribute("data-headlessui-portal",""),y.appendChild(b))}),[y,b]),(0,a.s)((()=>{if(b&&w)return w.register(b)}),[w,b]),(0,s.X)((()=>{var e;!y||!b||(b instanceof Node&&y.contains(b)&&y.removeChild(b),y.childNodes.length<=0&&(null==(e=y.parentElement)||e.removeChild(y)))})),x&&y&&b?(0,i.createPortal)((0,p.XX)({ourProps:{ref:m},theirProps:n,defaultTag:f,name:"Portal"}),b):null})),b=(0,p.FX)((function(e,t){let{target:n,...i}=e,o={ref:(0,u.P)(t)};return r.createElement(g.Provider,{value:n},(0,p.XX)({ourProps:o,theirProps:i,defaultTag:m,name:"Popover.Group"}))})),w=Object.assign(y,{Group:b})},51572:(e,t,n)=>{"use strict";n.d(t,{e:()=>F});var r=n(61462),i=n(61824),o=n(519),a=n(70114);var s=n(99155),l=n(75064),c=n(52527),u=n(29823),d=n(53703),h=n(9417);function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}function m(e,t,n,r){let i=n?"enter":"leave",o=(0,d.e)(),a=void 0!==r?function(e){let t={called:!1};return function(){if(!t.called)return t.called=!0,e(...arguments)}}(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=(0,h.Y)(i,{enter:()=>t.enter,leave:()=>t.leave}),l=(0,h.Y)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,h.Y)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return f(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),p(e,...t.base,...s,...c),o.nextFrame((()=>{f(e,...t.base,...s,...c),p(e,...t.base,...s,...l),function(e,t){let n=(0,d.e)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=o+a;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(f(e,...t.base,...s),p(e,...t.base,...t.entered),a())))})),o.dispose}var g=n(55197),v=n(49429),C=n(21150);function y(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(/\s+/).filter((e=>e.length>1))}let b=(0,r.createContext)(null);b.displayName="TransitionContext";var w=(e=>(e.Visible="visible",e.Hidden="hidden",e))(w||{});let x=(0,r.createContext)(null);function A(e){return"children"in e?A(e.children):e.current.filter((e=>{let{el:t}=e;return null!==t.current})).filter((e=>{let{state:t}=e;return"visible"===t})).length>0}function E(e,t){let n=(0,l.Y)(e),s=(0,r.useRef)([]),c=(0,a.a)(),u=(0,i.L)(),d=(0,o._)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C.mK.Hidden,r=s.current.findIndex((t=>{let{el:n}=t;return n===e}));-1!==r&&((0,h.Y)(t,{[C.mK.Unmount](){s.current.splice(r,1)},[C.mK.Hidden](){s.current[r].state="hidden"}}),u.microTask((()=>{var e;!A(s)&&c.current&&(null==(e=n.current)||e.call(n))})))})),p=(0,o._)((e=>{let t=s.current.find((t=>{let{el:n}=t;return n===e}));return t?"visible"!==t.state&&(t.state="visible"):s.current.push({el:e,state:"visible"}),()=>d(e,C.mK.Unmount)})),f=(0,r.useRef)([]),m=(0,r.useRef)(Promise.resolve()),g=(0,r.useRef)({enter:[],leave:[],idle:[]}),v=(0,o._)(((e,n,r)=>{f.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((t=>{let[n]=t;return n!==e}))),null==t||t.chains.current[n].push([e,new Promise((e=>{f.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(g.current[n].map((e=>{let[t,n]=e;return n}))).then((()=>e()))}))]),"enter"===n?m.current=m.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),y=(0,o._)(((e,t,n)=>{Promise.all(g.current[t].splice(0).map((e=>{let[t,n]=e;return n}))).then((()=>{var e;null==(e=f.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:s,register:p,unregister:d,onStart:v,onStop:y,wait:m,chains:g})),[p,d,s,v,y,g,m])}function _(){}x.displayName="NestingContext";let T=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function S(e){var t;let n={};for(let r of T)n[r]=null!=(t=e[r])?t:_;return n}let k=C.O5.RenderStrategy;let P=(0,C.FX)((function(e,t){let{show:n,appear:i=!1,unmount:a=!0,...l}=e,d=(0,r.useRef)(null),h=(0,u.P)(d,t);(0,c.g)();let p=(0,g.O_)();if(void 0===n&&null!==p&&(n=(p&g.Uw.Open)===g.Uw.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,m]=(0,r.useState)(n?"visible":"hidden"),v=E((()=>{m("hidden")})),[y,w]=(0,r.useState)(!0),_=(0,r.useRef)([n]);(0,s.s)((()=>{!1!==y&&_.current[_.current.length-1]!==n&&(_.current.push(n),w(!1))}),[_,n]);let T=(0,r.useMemo)((()=>({show:n,appear:i,initial:y})),[n,i,y]);(0,r.useEffect)((()=>{if(n)m("visible");else if(A(v)){let e=d.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&m("hidden")}else m("hidden")}),[n,v]);let S={unmount:a},P=(0,o._)((()=>{var t;y&&w(!1),null==(t=e.beforeEnter)||t.call(e)})),N=(0,o._)((()=>{var t;y&&w(!1),null==(t=e.beforeLeave)||t.call(e)}));return r.createElement(x.Provider,{value:v},r.createElement(b.Provider,{value:T},(0,C.XX)({ourProps:{...S,as:r.Fragment,children:r.createElement(D,{ref:h,...S,...l,beforeEnter:P,beforeLeave:N})},theirProps:{},defaultTag:r.Fragment,features:k,visible:"visible"===f,name:"Transition"})))})),D=(0,C.FX)((function(e,t){var n,p;let{beforeEnter:f,afterEnter:w,beforeLeave:_,afterLeave:T,enter:P,enterFrom:D,enterTo:N,entered:F,leave:I,leaveFrom:R,leaveTo:M,...O}=e,j=(0,r.useRef)(null),L=(0,u.P)(j,t),B=null==(n=O.unmount)||n?C.mK.Unmount:C.mK.Hidden,{show:U,appear:V,initial:H}=function(){let e=(0,r.useContext)(b);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[z,Z]=(0,r.useState)(U?"visible":"hidden"),W=function(){let e=(0,r.useContext)(x);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:q,unregister:G}=W;(0,r.useEffect)((()=>q(j)),[q,j]),(0,r.useEffect)((()=>{if(B===C.mK.Hidden&&j.current)return U&&"visible"!==z?void Z("visible"):(0,h.Y)(z,{hidden:()=>G(j),visible:()=>q(j)})}),[z,j,q,G,U,B]);let Y=(0,l.Y)({base:y(O.className),enter:y(P),enterFrom:y(D),enterTo:y(N),entered:y(F),leave:y(I),leaveFrom:y(R),leaveTo:y(M)}),K=function(e){let t=(0,r.useRef)(S(e));return(0,r.useEffect)((()=>{t.current=S(e)}),[e]),t}({beforeEnter:f,afterEnter:w,beforeLeave:_,afterLeave:T}),Q=(0,c.g)();(0,r.useEffect)((()=>{if(Q&&"visible"===z&&null===j.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[j,z,Q]);let X=V&&U&&H,J=!Q||H&&!V?"idle":U?"enter":"leave",$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,r.useState)(e),i=(0,a.a)(),o=(0,r.useCallback)((e=>{i.current&&n((t=>t|e))}),[t,i]),s=(0,r.useCallback)((e=>Boolean(t&e)),[t]),l=(0,r.useCallback)((e=>{i.current&&n((t=>t&~e))}),[n,i]),c=(0,r.useCallback)((e=>{i.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:o,hasFlag:s,removeFlag:l,toggleFlag:c}}(0),ee=(0,o._)((e=>(0,h.Y)(e,{enter:()=>{$.addFlag(g.Uw.Opening),K.current.beforeEnter()},leave:()=>{$.addFlag(g.Uw.Closing),K.current.beforeLeave()},idle:()=>{}}))),te=(0,o._)((e=>(0,h.Y)(e,{enter:()=>{$.removeFlag(g.Uw.Opening),K.current.afterEnter()},leave:()=>{$.removeFlag(g.Uw.Closing),K.current.afterLeave()},idle:()=>{}}))),ne=E((()=>{Z("hidden"),G(j)}),W),re=(0,r.useRef)(!1);!function(e){let{immediate:t,container:n,direction:r,classes:o,onStart:c,onStop:u}=e,h=(0,a.a)(),p=(0,i.L)(),f=(0,l.Y)(r);(0,s.s)((()=>{t&&(f.current="enter")}),[t]),(0,s.s)((()=>{let e=(0,d.e)();p.add(e.dispose);let t=n.current;if(t&&"idle"!==f.current&&h.current)return e.dispose(),c.current(f.current),e.add(m(t,o.current,"enter"===f.current,(()=>{e.dispose(),u.current(f.current)}))),e.dispose}),[r])}({immediate:X,container:j,classes:Y,direction:J,onStart:(0,l.Y)((e=>{re.current=!0,ne.onStart(j,e,ee)})),onStop:(0,l.Y)((e=>{re.current=!1,ne.onStop(j,e,te),"leave"===e&&!A(ne)&&(Z("hidden"),G(j))}))});let ie=O,oe={ref:L};return X?ie={...ie,className:(0,v.x)(O.className,...Y.current.enter,...Y.current.enterFrom)}:re.current&&(ie.className=(0,v.x)(O.className,null==(p=j.current)?void 0:p.className),""===ie.className&&delete ie.className),r.createElement(x.Provider,{value:ne},r.createElement(g.El,{value:(0,h.Y)(z,{visible:g.Uw.Open,hidden:g.Uw.Closed})|$.flags},(0,C.XX)({ourProps:oe,theirProps:ie,defaultTag:"div",features:k,visible:"visible"===z,name:"Transition.Child"})))})),N=(0,C.FX)((function(e,t){let n=null!==(0,r.useContext)(b),i=null!==(0,g.O_)();return r.createElement(r.Fragment,null,!n&&i?r.createElement(P,{ref:t,...e}):r.createElement(D,{ref:t,...e}))})),F=Object.assign(P,{Child:N,Root:P})},61824:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(61462),i=n(53703);function o(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},27620:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(61462),i=n(75064);function o(e,t,n,o){let a=(0,i.Y)(n);(0,r.useEffect)((()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}},519:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(61462),i=n(75064);let o=function(e){let t=(0,i.Y)(e);return r.useCallback((function(){return t.current(...arguments)}),[t])}},36854:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r,i=n(61462),o=n(94635),a=n(99155),s=n(52527);let l=null!=(r=i.useId)?r:function(){let e=(0,s.g)(),[t,n]=i.useState(e?()=>o._.nextId():null);return(0,a.s)((()=>{null===t&&n(o._.nextId())}),[t]),null!=t?""+t:void 0}},70114:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(61462),i=n(99155);function o(){let e=(0,r.useRef)(!1);return(0,i.s)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},99155:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(61462),i=n(94635);let o=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},75064:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(61462),i=n(99155);function o(e){let t=(0,r.useRef)(e);return(0,i.s)((()=>{t.current=e}),[e]),t}},29783:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(61462),i=n(61484),o=n(519);function a(e){let t=(0,o._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>(n.current=!1,()=>{n.current=!0,(0,i._)((()=>{n.current&&t()}))})),[t])}},44808:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(61462),i=n(33498),o=n(69597),a=n(75064);function s(e,t,n){let i=(0,a.Y)(t);(0,r.useEffect)((()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}var l=n(11330);function c(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=(0,r.useRef)(!1);function c(n,r){if(!a.current||n.defaultPrevented)return;let o=r(n);if(null===o||!o.getRootNode().contains(o)||!o.isConnected)return;let s=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of s){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!(0,i.Bm)(o,i.MZ.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let u=(0,r.useRef)(null);s("pointerdown",(e=>{var t,n;a.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),s("mousedown",(e=>{var t,n;a.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),s("click",(e=>{(0,o.Fr)()||u.current&&(c(e,(()=>u.current)),u.current=null)}),!0),s("touchend",(e=>c(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),(0,l.M)("blur",(e=>c(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},71276:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(61462),i=n(43139);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>(0,i.T)(...t)),[...t])}},27869:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(61462),i=n(99155);function o(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function a(e,t){let[n,a]=(0,r.useState)((()=>o(e)));return(0,i.s)((()=>{a(o(e))}),[e.type,e.as]),(0,i.s)((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}},65408:(e,t,n)=>{"use strict";n.d(t,{i:()=>s,x:()=>l});var r=n(61462),i=n(17192),o=n(519),a=n(71276);function s(){let{defaultContainers:e=[],portals:t,mainTreeNodeRef:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var s;let l=(0,r.useRef)(null!=(s=null==n?void 0:n.current)?s:null),c=(0,a.g)(l),u=(0,o._)((()=>{var n,r,i;let o=[];for(let t of e)null!==t&&(t instanceof HTMLElement?o.push(t):"current"in t&&t.current instanceof HTMLElement&&o.push(t.current));if(null!=t&&t.current)for(let e of t.current)o.push(e);for(let e of null!=(n=null==c?void 0:c.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(l.current)||e.contains(null==(i=null==(r=l.current)?void 0:r.getRootNode())?void 0:i.host)||o.some((t=>e.contains(t)))||o.push(e));return o}));return{resolveContainers:u,contains:(0,o._)((e=>u().some((t=>t.contains(e))))),mainTreeNodeRef:l,MainTreeNode:(0,r.useMemo)((()=>function(){return null!=n?null:r.createElement(i.j,{features:i.O.Hidden,ref:l})}),[l,n])}}function l(){let e=(0,r.useRef)(null);return{mainTreeNodeRef:e,MainTreeNode:(0,r.useMemo)((()=>function(){return r.createElement(i.j,{features:i.O.Hidden,ref:e})}),[e])}}},52527:(e,t,n)=>{"use strict";var r;n.d(t,{g:()=>a});var i=n(61462),o=n(94635);function a(){let e=function(){let e="undefined"==typeof document;return(e=>e.useSyncExternalStore)(r||(r=n.t(i,2)))((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,a]=i.useState(o._.isHandoffComplete);return t&&!1===o._.isHandoffComplete&&a(!1),i.useEffect((()=>{!0!==t&&a(!0)}),[t]),i.useEffect((()=>o._.handoff()),[]),!e&&t}},29823:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,a:()=>a});var r=n(61462),i=n(519);let o=Symbol();function a(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.assign(e,{[o]:t})}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let a=(0,r.useRef)(t);(0,r.useEffect)((()=>{a.current=t}),[t]);let s=(0,i._)((e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return t.every((e=>null==e||(null==e?void 0:e[o])))?void 0:s}},24896:(e,t,n)=>{"use strict";n.d(t,{O:()=>o,u:()=>a});var r=n(61462),i=n(11330),o=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(o||{});function a(){let e=(0,r.useRef)(0);return(0,i.M)("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}},27404:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(61462);let i=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o(e){var t,n;let r=null!=(t=e.innerText)?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let a=!1;for(let i of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))i.remove(),a=!0;let s=a?null!=(n=o.innerText)?n:"":r;return i.test(s)&&(s=s.replace(i,"")),s}var a=n(519);function s(e){let t=(0,r.useRef)(""),n=(0,r.useRef)("");return(0,a._)((()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():o(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return o(e).trim()}(r).trim().toLowerCase();return t.current=i,n.current=a,a}))}},50305:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(61462);function i(e){return[e.screenX,e.screenY]}function o(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},11330:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(61462),i=n(75064);function o(e,t,n){let o=(0,i.Y)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}},17192:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,j:()=>o});var r=n(21150);var i=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(i||{});let o=(0,r.FX)((function(e,t){var n;let{features:i=1,...o}=e,a={ref:t,"aria-hidden":2===(2&i)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:4===(4&i)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4===(4&i)&&2!==(2&i)&&{display:"none"}}};return(0,r.XX)({ourProps:a,theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})}))},55197:(e,t,n)=>{"use strict";n.d(t,{El:()=>s,O_:()=>a,Uw:()=>o});var r=n(61462);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function a(){return(0,r.useContext)(i)}function s(e){let{value:t,children:n}=e;return r.createElement(i.Provider,{value:t},n)}},3117:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,a:()=>a});var r=n(61462);let i=(0,r.createContext)(!1);function o(){return(0,r.useContext)(i)}function a(e){return r.createElement(i.Provider,{value:e.force},e.children)}},52661:(e,t,n)=>{"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:()=>r})},58566:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,X:()=>i});var r=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(r||{});function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}},49429:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},53703:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(61484);function i(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add((()=>e.removeEventListener(n,r,i)))),requestAnimationFrame(){let e=requestAnimationFrame(...arguments);return t.add((()=>cancelAnimationFrame(e)))},nextFrame(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame((()=>t.requestAnimationFrame(...n)))},setTimeout(){let e=setTimeout(...arguments);return t.add((()=>clearTimeout(e)))},microTask(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];let o={current:!0};return(0,r._)((()=>{o.current&&n[0]()})),t.add((()=>{o.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=i();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},94635:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let o=new class{constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},33498:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Bm:()=>h,CU:()=>y,Fh:()=>p,MZ:()=>d,Me:()=>l,iq:()=>u,p9:()=>C,pW:()=>m,wl:()=>v});var r=n(53703),i=n(9417),o=n(43139);let a=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>"".concat(e,":not([tabindex='-1'])"))).join(",");var s=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(s||{}),l=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(l||{}),c=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(c||{});function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(a)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var d=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(d||{});function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var n;return e!==(null==(n=(0,o.T)(e))?void 0:n.body)&&(0,i.Y)(t,{0:()=>e.matches(a),1(){let t=e;for(;null!==t;){if(t.matches(a))return!0;t=t.parentElement}return!1}})}function p(e){let t=(0,o.T)(e);(0,r.e)().nextFrame((()=>{t&&!h(t.activeElement,0)&&m(e)}))}var f=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(f||{});function m(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let g=["textarea","input"].join(",");function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function C(e,t){return y(u(),t,{relativeTo:e})}function y(e,t){let{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?v(e):e:u(e);i.length>0&&a.length>1&&(a=a.filter((e=>!i.includes(e)))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},h=0,p=a.length;do{if(h>=p||h+p<=0)return 0;let e=c+h;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=a[e],null==s||s.focus(d),h+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,g))&&n}(s)&&s.select(),2}},9417:(e,t,n)=>{"use strict";function r(e,t){if(e in t){let r=t[e];for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return"function"==typeof r?r(...i):r}let a=new Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map((e=>'"'.concat(e,'"'))).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,r),a}n.d(t,{Y:()=>r})},61484:(e,t,n)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{_:()=>r})},43139:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(94635);function i(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},69597:(e,t,n)=>{"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>i,un:()=>r})},21150:(e,t,n)=>{"use strict";n.d(t,{FX:()=>p,O5:()=>a,XX:()=>l,cq:()=>u,mK:()=>s,oE:()=>f});var r=n(61462),i=n(49429),o=n(9417),a=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(a||{}),s=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(s||{});function l(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:a,visible:s=!0,name:l,mergeRefs:u}=e;u=null!=u?u:d;let p=h(n,t);if(s)return c(p,r,i,l,u);let f=null!=a?a:0;if(2&f){let{static:e=!1,...t}=p;if(e)return c(t,r,i,l,u)}if(1&f){let{unmount:e=!0,...t}=p;return(0,o.Y)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},r,i,l,u)})}return c(p,r,i,l,u)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,{as:s=n,children:l,refName:c="ref",...u}=m(e,["unmount","static"]),d=void 0!==e.ref?{[c]:e.ref}:{},p="function"==typeof l?l(t):l;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let g={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(g["data-headlessui-state"]=n.join(" "))}if(s===r.Fragment&&Object.keys(f(u)).length>0){if(!(0,r.isValidElement)(p)||Array.isArray(p)&&p.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <".concat(o,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(u).map((e=>"  - ".concat(e))).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>"  - ".concat(e))).join("\n")].join("\n"));let e=p.props,t="function"==typeof(null==e?void 0:e.className)?function(){return(0,i.x)(null==e?void 0:e.className(...arguments),u.className)}:(0,i.x)(null==e?void 0:e.className,u.className),n=t?{className:t}:{};return(0,r.cloneElement)(p,Object.assign({},h(p.props,f(m(u,["ref"]))),g,d,{ref:a(p.ref,d.ref)},n))}return(0,r.createElement)(s,Object.assign({},m(u,["ref"]),s!==r.Fragment&&d,s!==r.Fragment&&g),p)}function u(){let e=(0,r.useRef)([]),t=(0,r.useCallback)((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!r.every((e=>null==e)))return e.current=r,t}}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((e=>null==e))?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let o of t)for(let e in o)e.startsWith("on")&&"function"==typeof o[e]?(null!=i[e]||(i[e]=[]),i[e].push(o[e])):r[e]=o[e];if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(i).map((e=>[e,void 0]))));for(let o in i)Object.assign(r,{[o](e){let t=i[o];for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];for(let i of t){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;i(e,...r)}}});return r}function p(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function f(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}},49048:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))}))},74042:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M16.707 10.293a1 1 0 010 1.414l-6 6a1 1 0 01-1.414 0l-6-6a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l4.293-4.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}))},84239:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}))},87043:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}))},42332:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))}))},83849:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))}))},86718:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))}))},99154:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))}))},82995:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))}))},67687:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(61462);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))}))},16e3:(e,t,n)=>{"use strict";function r(e){if(e)throw e}n.d(t,{V:()=>r})},71549:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create:()=>o,default:()=>i});var r={};!function e(t,n,r,i){var o=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),a="function"===typeof Path2D&&"function"===typeof DOMMatrix,s=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(i){return!1}return!0}();function l(){}function c(e){var r=n.exports.Promise,i=void 0!==r?r:t.Promise;return"function"===typeof i?new i(e):(e(l,l),null)}var u,d,h,p=(u=s,d=new Map,{transform:function(e){if(u)return e;if(d.has(e))return d.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),d.set(e,t),t},clear:function(){d.clear()}}),f=function(){var e,t,n=Math.floor(1e3/60),r={},i=0;return"function"===typeof requestAnimationFrame&&"function"===typeof cancelAnimationFrame?(e=function(e){var t=Math.random();return r[t]=requestAnimationFrame((function o(a){i===a||i+n-1<a?(i=a,delete r[t],e()):r[t]=requestAnimationFrame(o)})),t},t=function(e){r[e]&&cancelAnimationFrame(r[e])}):(e=function(e){return setTimeout(e,n)},t=function(e){return clearTimeout(e)}),{frame:e,cancel:t}}(),m=function(){var t,n,i={};return function(){if(t)return t;if(!r&&o){var a=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{t=new Worker(URL.createObjectURL(new Blob([a])))}catch(s){return void 0!==typeof console&&"function"===typeof console.warn&&console.warn("\ud83c\udf8a Could not load worker",s),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(r,o,a){if(n)return t(r,null),n;var s=Math.random().toString(36).slice(2);return n=c((function(o){function l(t){t.data.callback===s&&(delete i[s],e.removeEventListener("message",l),n=null,p.clear(),a(),o())}e.addEventListener("message",l),t(r,s),i[s]=l.bind(null,{data:{callback:s}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),i)i[t](),delete i[t]}}(t)}return t}}(),g={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function v(e,t,n){return function(e,t){return t?t(e):e}(e&&(null!==(r=e[t])&&void 0!==r)?e[t]:g[t],n);var r}function C(e){return e<0?0:Math.floor(e)}function y(e){return parseInt(e,16)}function b(e){return e.map(w)}function w(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:y(t.substring(0,2)),g:y(t.substring(2,4)),b:y(t.substring(4,6))}}function x(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function A(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function E(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}function _(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,o=t.wobbleX+t.random*t.tiltCos,s=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),a&&"path"===t.shape.type&&"string"===typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,n,r,i,o,a){var s=new Path2D(e),l=new Path2D;l.addPath(s,new DOMMatrix(t));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(a)*i,Math.sin(a)*i,-Math.sin(a)*o,Math.cos(a)*o,n,r])),c}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(o-r),.1*Math.abs(s-i),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var l=Math.PI/10*t.wobble,c=.1*Math.abs(o-r),u=.1*Math.abs(s-i),d=t.shape.bitmap.width*t.scalar,h=t.shape.bitmap.height*t.scalar,f=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*u,Math.cos(l)*u,t.x,t.y]);f.multiplySelf(new DOMMatrix(t.shape.matrix));var m=e.createPattern(p.transform(t.shape.bitmap),"no-repeat");m.setTransform(f),e.globalAlpha=1-n,e.fillStyle=m,e.fillRect(t.x-d/2,t.y-h/2,d,h),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(o-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,n,r,i,o,a,s,l){e.save(),e.translate(t,n),e.rotate(o),e.scale(r,i),e.arc(0,0,1,a,s,l),e.restore()}(e,t.x,t.y,Math.abs(o-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var g=Math.PI/2*3,v=4*t.scalar,C=8*t.scalar,y=t.x,b=t.y,w=5,x=Math.PI/w;w--;)y=t.x+Math.cos(g)*C,b=t.y+Math.sin(g)*C,e.lineTo(y,b),g+=x,y=t.x+Math.cos(g)*v,b=t.y+Math.sin(g)*v,e.lineTo(y,b),g+=x;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(i)),e.lineTo(Math.floor(o),Math.floor(s)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}function T(e,n){var a,s=!e,l=!!v(n||{},"resize"),u=!1,d=v(n,"disableForReducedMotion",Boolean),h=o&&!!v(n||{},"useWorker")?m():null,g=s?x:A,y=!(!e||!h)&&!!e.__confetti_initialized,w="function"===typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function T(t,n,o){for(var s,l,u=v(t,"particleCount",C),d=v(t,"angle",Number),h=v(t,"spread",Number),m=v(t,"startVelocity",Number),y=v(t,"decay",Number),w=v(t,"gravity",Number),x=v(t,"drift",Number),A=v(t,"colors",b),T=v(t,"ticks",Number),S=v(t,"shapes"),k=v(t,"scalar"),P=!!v(t,"flat"),D=function(e){var t=v(e,"origin",Object);return t.x=v(t,"x",Number),t.y=v(t,"y",Number),t}(t),N=u,F=[],I=e.width*D.x,R=e.height*D.y;N--;)F.push(E({x:I,y:R,angle:d,spread:h,startVelocity:m,color:A[N%A.length],shape:S[(s=0,l=S.length,Math.floor(Math.random()*(l-s))+s)],ticks:T,decay:y,gravity:w,drift:x,scalar:k,flat:P}));return a?a.addFettis(F):(a=function(e,t,n,o,a){var s,l,u=t.slice(),d=e.getContext("2d"),h=c((function(t){function c(){s=l=null,d.clearRect(0,0,o.width,o.height),p.clear(),a(),t()}s=f.frame((function t(){!r||o.width===i.width&&o.height===i.height||(o.width=e.width=i.width,o.height=e.height=i.height),o.width||o.height||(n(e),o.width=e.width,o.height=e.height),d.clearRect(0,0,o.width,o.height),(u=u.filter((function(e){return _(d,e)}))).length?s=f.frame(t):c()})),l=c}));return{addFettis:function(e){return u=u.concat(e),h},canvas:e,promise:h,reset:function(){s&&f.cancel(s),l&&l()}}}(e,F,g,n,o),a.promise)}function S(n){var r=d||v(n,"disableForReducedMotion",Boolean),i=v(n,"zIndex",Number);if(r&&w)return c((function(e){e()}));s&&a?e=a.canvas:s&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(i),document.body.appendChild(e)),l&&!y&&g(e);var o={width:e.width,height:e.height};function p(){if(h){var t={getBoundingClientRect:function(){if(!s)return e.getBoundingClientRect()}};return g(t),void h.postMessage({resize:{width:t.width,height:t.height}})}o.width=o.height=null}function f(){a=null,l&&(u=!1,t.removeEventListener("resize",p)),s&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,y=!1)}return h&&!y&&h.init(e),y=!0,h&&(e.__confetti_initialized=!0),l&&!u&&(u=!0,t.addEventListener("resize",p,!1)),h?h.fire(n,o,f):T(n,o,f)}return S.reset=function(){h&&h.reset(),a&&a.reset()},S}function S(){return h||(h=T(null,{useWorker:!0,resize:!0})),h}n.exports=function(){return S().apply(this,arguments)},n.exports.reset=function(){S().reset()},n.exports.create=T,n.exports.shapeFromPath=function(e){if(!a)throw new Error("path confetti are not supported in this browser");var t,n;"string"===typeof e?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),i=document.createElement("canvas").getContext("2d");if(!n){for(var o,s,l=1e3,c=l,u=l,d=0,h=0,p=0;p<l;p+=2)for(var f=0;f<l;f+=2)i.isPointInPath(r,p,f,"nonzero")&&(c=Math.min(c,p),u=Math.min(u,f),d=Math.max(d,p),h=Math.max(h,f));o=d-c,s=h-u;var m=Math.min(10/o,10/s);n=[m,0,0,m,-Math.round(o/2+c)*m,-Math.round(s/2+u)*m]}return{type:"path",path:t,matrix:n}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",i='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"===typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,i="fontFamily"in e?e.fontFamily:i,r="color"in e?e.color:r);var o=10*n,a=o+"px "+i,s=new OffscreenCanvas(o,o),l=s.getContext("2d");l.font=a;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),d=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),h=c.actualBoundingBoxLeft+2,p=c.actualBoundingBoxAscent+2;u+=4,d+=4,(l=(s=new OffscreenCanvas(u,d)).getContext("2d")).font=a,l.fillStyle=r,l.fillText(t,h,p);var f=1/n;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[f,0,0,f,-u*f/2,-d*f/2]}}}(function(){return"undefined"!==typeof window?window:"undefined"!==typeof self?self:this||{}}(),r,!1);const i=r.exports;var o=r.exports.create},50768:(e,t,n)=>{"use strict";function r(e,t){const n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},23220:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function i(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{$:()=>i,A:()=>o});const o=i},78394:(e,t,n)=>{"use strict";function r(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>r})},87566:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});const r=document.createElement("i");function i(e){const t="&"+e+";";r.innerHTML=t;const n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}},40485:(e,t,n)=>{"use strict";n.d(t,{AB:()=>r.AB,Dc:()=>r.Dc,GG:()=>r.GG,My:()=>r.My,P:()=>r.P,Uo:()=>r.Uo,_M:()=>r._M,aQ:()=>r.aQ,or:()=>r.or,rJ:()=>r.rJ});var r=n(80081)},55744:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(t.align||[]).concat(),r=t.stringLength||i,a=[],s=[],l=[],c=[];let u=0,d=-1;for(;++d<e.length;){const n=[],i=[];let o=-1;for(e[d].length>u&&(u=e[d].length);++o<e[d].length;){const a=null===(h=e[d][o])||void 0===h?"":String(h);if(!1!==t.alignDelimiters){const e=r(a);i[o]=e,(void 0===c[o]||e>c[o])&&(c[o]=e)}n.push(a)}s[d]=n,l[d]=i}var h;let p=-1;if("object"===typeof n&&"length"in n)for(;++p<u;)a[p]=o(n[p]);else{const e=o(n);for(;++p<u;)a[p]=e}p=-1;const f=[],m=[];for(;++p<u;){const e=a[p];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let i=!1===t.alignDelimiters?1:Math.max(1,c[p]-n.length-r.length);const o=n+"-".repeat(i)+r;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>c[p]&&(c[p]=i),m[p]=i),f[p]=o}s.splice(1,0,f),l.splice(1,0,m),d=-1;const g=[];for(;++d<s.length;){const e=s[d],n=l[d];p=-1;const r=[];for(;++p<u;){const i=e[p]||"";let o="",s="";if(!1!==t.alignDelimiters){const e=c[p]-(n[p]||0),t=a[p];114===t?o=" ".repeat(e):99===t?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(o=" ".repeat(e/2),s=o):s=" ".repeat(e)}!1===t.delimiterStart||p||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!p||r.push(" "),!1!==t.alignDelimiters&&r.push(o),r.push(i),!1!==t.alignDelimiters&&r.push(s),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&p===u-1||r.push("|")}g.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return g.join("\n")}function i(e){return e.length}function o(e){const t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}n.d(t,{Q:()=>r})},91814:(e,t,n)=>{"use strict";n.d(t,{qy:()=>C,JW:()=>y});class r{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function i(e,t){const n={},i={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(i,e[o].normal);return new r(n,i,t)}r.prototype.property={},r.prototype.normal={},r.prototype.space=null;var o=n(81041),a=n(92107);const s={}.hasOwnProperty;function l(e){const t={},n={};let i;for(i in e.properties)if(s.call(e.properties,i)){const r=e.properties[i],s=new a.E(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),t[i]=s,n[(0,o.S)(i)]=i,n[(0,o.S)(s.attribute)]=i}return new r(t,n,e.space)}const c=l({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function h(e,t){return d(e,t.toLowerCase())}const p=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:h,properties:{xmlns:null,xmlnsXLink:null}});var f=n(35066);const m=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:f.booleanish,ariaAutoComplete:null,ariaBusy:f.booleanish,ariaChecked:f.booleanish,ariaColCount:f.number,ariaColIndex:f.number,ariaColSpan:f.number,ariaControls:f.spaceSeparated,ariaCurrent:null,ariaDescribedBy:f.spaceSeparated,ariaDetails:null,ariaDisabled:f.booleanish,ariaDropEffect:f.spaceSeparated,ariaErrorMessage:null,ariaExpanded:f.booleanish,ariaFlowTo:f.spaceSeparated,ariaGrabbed:f.booleanish,ariaHasPopup:null,ariaHidden:f.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:f.spaceSeparated,ariaLevel:f.number,ariaLive:null,ariaModal:f.booleanish,ariaMultiLine:f.booleanish,ariaMultiSelectable:f.booleanish,ariaOrientation:null,ariaOwns:f.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:f.number,ariaPressed:f.booleanish,ariaReadOnly:f.booleanish,ariaRelevant:null,ariaRequired:f.booleanish,ariaRoleDescription:f.spaceSeparated,ariaRowCount:f.number,ariaRowIndex:f.number,ariaRowSpan:f.number,ariaSelected:f.booleanish,ariaSetSize:f.number,ariaSort:null,ariaValueMax:f.number,ariaValueMin:f.number,ariaValueNow:f.number,ariaValueText:null,role:null}}),g=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:h,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f.commaSeparated,acceptCharset:f.spaceSeparated,accessKey:f.spaceSeparated,action:null,allow:null,allowFullScreen:f.boolean,allowPaymentRequest:f.boolean,allowUserMedia:f.boolean,alt:null,as:null,async:f.boolean,autoCapitalize:null,autoComplete:f.spaceSeparated,autoFocus:f.boolean,autoPlay:f.boolean,blocking:f.spaceSeparated,capture:null,charSet:null,checked:f.boolean,cite:null,className:f.spaceSeparated,cols:f.number,colSpan:null,content:null,contentEditable:f.booleanish,controls:f.boolean,controlsList:f.spaceSeparated,coords:f.number|f.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:f.boolean,defer:f.boolean,dir:null,dirName:null,disabled:f.boolean,download:f.overloadedBoolean,draggable:f.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:f.boolean,formTarget:null,headers:f.spaceSeparated,height:f.number,hidden:f.boolean,high:f.number,href:null,hrefLang:null,htmlFor:f.spaceSeparated,httpEquiv:f.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:f.boolean,inputMode:null,integrity:null,is:null,isMap:f.boolean,itemId:null,itemProp:f.spaceSeparated,itemRef:f.spaceSeparated,itemScope:f.boolean,itemType:f.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:f.boolean,low:f.number,manifest:null,max:null,maxLength:f.number,media:null,method:null,min:null,minLength:f.number,multiple:f.boolean,muted:f.boolean,name:null,nonce:null,noModule:f.boolean,noValidate:f.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:f.boolean,optimum:f.number,pattern:null,ping:f.spaceSeparated,placeholder:null,playsInline:f.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:f.boolean,referrerPolicy:null,rel:f.spaceSeparated,required:f.boolean,reversed:f.boolean,rows:f.number,rowSpan:f.number,sandbox:f.spaceSeparated,scope:null,scoped:f.boolean,seamless:f.boolean,selected:f.boolean,shadowRootClonable:f.boolean,shadowRootDelegatesFocus:f.boolean,shadowRootMode:null,shape:null,size:f.number,sizes:null,slot:null,span:f.number,spellCheck:f.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:f.number,step:null,style:null,tabIndex:f.number,target:null,title:null,translate:null,type:null,typeMustMatch:f.boolean,useMap:null,value:f.booleanish,width:f.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f.spaceSeparated,axis:null,background:null,bgColor:null,border:f.number,borderColor:null,bottomMargin:f.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:f.boolean,declare:f.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:f.number,leftMargin:f.number,link:null,longDesc:null,lowSrc:null,marginHeight:f.number,marginWidth:f.number,noResize:f.boolean,noHref:f.boolean,noShade:f.boolean,noWrap:f.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:f.number,rules:null,scheme:null,scrolling:f.booleanish,standby:null,summary:null,text:null,topMargin:f.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:f.boolean,disableRemotePlayback:f.boolean,prefix:null,property:null,results:f.number,security:null,unselectable:null}}),v=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:f.commaOrSpaceSeparated,accentHeight:f.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f.number,amplitude:f.number,arabicForm:null,ascent:f.number,attributeName:null,attributeType:null,azimuth:f.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f.number,by:null,calcMode:null,capHeight:f.number,className:f.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f.number,diffuseConstant:f.number,direction:null,display:null,dur:null,divisor:f.number,dominantBaseline:null,download:f.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:f.number,enableBackground:null,end:null,event:null,exponent:f.number,externalResourcesRequired:null,fill:null,fillOpacity:f.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:f.commaSeparated,g2:f.commaSeparated,glyphName:f.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f.number,horizOriginX:f.number,horizOriginY:f.number,id:null,ideographic:f.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f.number,k:f.number,k1:f.number,k2:f.number,k3:f.number,k4:f.number,kernelMatrix:f.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f.number,overlineThickness:f.number,paintOrder:null,panose1:null,path:null,pathLength:f.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f.number,pointsAtY:f.number,pointsAtZ:f.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:f.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:f.commaOrSpaceSeparated,rev:f.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:f.commaOrSpaceSeparated,requiredFeatures:f.commaOrSpaceSeparated,requiredFonts:f.commaOrSpaceSeparated,requiredFormats:f.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f.number,specularExponent:f.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f.number,strikethroughThickness:f.number,string:null,stroke:null,strokeDashArray:f.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f.number,strokeOpacity:f.number,strokeWidth:null,style:null,surfaceScale:f.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:f.commaOrSpaceSeparated,tabIndex:f.number,tableValues:null,target:null,targetX:f.number,targetY:f.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:f.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f.number,underlineThickness:f.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f.number,values:null,vAlphabetic:f.number,vMathematical:f.number,vectorEffect:null,vHanging:f.number,vIdeographic:f.number,version:null,vertAdvY:f.number,vertOriginX:f.number,vertOriginY:f.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),C=i([u,c,p,m,g],"html"),y=i([u,c,p,m,v],"svg")},43551:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(81041),i=n(92107),o=n(36339);const a=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e,t){const n=(0,r.S)(t);let c=t,h=o.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&a.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!s.test(e)){let n=e.replace(l,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}h=i.E}return new h(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},1214:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});const r={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"}},81041:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},92107:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(36339),i=n(35066);const o=Object.keys(i);class a extends r.R{constructor(e,t,n,r){let a=-1;if(super(e,t),s(this,"space",r),"number"===typeof n)for(;++a<o.length;){const e=o[a];s(this,o[a],(n&i[e])===i[e])}}}function s(e,t,n){n&&(e[t]=n)}a.prototype.defined=!0},36339:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.property=e,this.attribute=t}}r.prototype.space=null,r.prototype.boolean=!1,r.prototype.booleanish=!1,r.prototype.overloadedBoolean=!1,r.prototype.number=!1,r.prototype.commaSeparated=!1,r.prototype.spaceSeparated=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.mustUseProperty=!1,r.prototype.defined=!1},35066:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>o,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>s,overloadedBoolean:()=>a,spaceSeparated:()=>l});let r=0;const i=d(),o=d(),a=d(),s=d(),l=d(),c=d(),u=d();function d(){return 2**++r}},39744:(e,t,n)=>{"use strict";n.d(t,{m_:()=>S});var r=n(61462),i=n(64861),o=n(80978);const a="react-tooltip-core-styles",s="react-tooltip-base-styles",l={core:!1,base:!1};function c(e){let{css:t,id:n=s,type:r="base",ref:i}=e;var o,c;if(!t||"undefined"==typeof document||l[r])return;if("core"===r&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"})||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==r&&"undefined"!=typeof process&&(null===(c=null===process||void 0===process?void 0:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_FUNC_SYNC_BLOCK_FOR_EVENT_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpSyncBlockForEvent",REACT_APP_NFT_CATALOG:"0x49a7cda3a1eecc29",REACT_APP_FIREBASE_MESSAGING_SENDER_ID:"420613377967",REACT_APP_SENTRY_API:"https://1bcdd2a5673f4443bf75dec1a6aabb07@o1241144.ingest.sentry.io/6394633",REACT_APP_NFT_COLLECTION_VERSUS:"versusArtCollection",REACT_APP_ADDRESS_NON_FUNGIBLE_TOKEN_CONTRACT:"0x1d7e57aa55817448",REACT_APP_ADDRESS_FUSD_CONTRACT:"0x3c5959b568896393",REACT_APP_STAGE:"prod",REACT_APP_NFT_COLLECTION:"NFTCollection",REACT_APP_ADDRESS_FLOWTYV2_CONTRACT:"0x3cdbb3d569211ff3",REACT_APP_STRAPI_URL:"https://confident-crystal-513bf384d1.strapiapp.com",REACT_APP_ALCHEMY_API_KEY:"awb0hwzcpabz98d9r914ubkoyfijcbot",REACT_APP_ADDRESS_GAIA_CONTRACT:"0x8b148183c28ff88f",REACT_APP_WALLET_CONNECT_PROJECT_ID:"f7123e5336b0e8f36e501e08130ca360",REACT_APP_FIREBASE_MEASUREMENT_ID:"G-GSDNE57K7S",REACT_APP_FIREBASE_STORAGE_BUCKET:"flowty-prod.appspot.com",REACT_APP_FIREBASE_AUTH_DOMAIN:"flowty-prod.firebaseapp.com",REACT_APP_NFT_COLLECTION_TOP_SHOT:"MomentCollection",REACT_APP_MIXPANEL_TOKEN:"b17ea6f8cf14401cd0282da7c49532b0",REACT_APP_STOREFRONT_COLLECTION:"exampleNFTCollectionProviderForFlowtyStorefront",REACT_APP_BASE_URL:"https://us-central1-flowty-prod.cloudfunctions.net",REACT_APP_WALLET_DISCOVERY_V2:"https://fcl-discovery.onflow.org/authn",REACT_APP_CRESCENDO:"true",REACT_APP_WALLET_DISCOVERY_ENDPOINT_V2:"https://fcl-discovery.onflow.org/api/authn",REACT_APP_FIREBASE_PROJECT_ID:"flowty-prod",REACT_APP_BLOCTO_WALLET_DISCOVERY:"https://flow-wallet.blocto.app/api/flow/authn",REACT_APP_WALLET_DISCOVERY:"https://fcl-discovery.onflow.org/authn",REACT_APP_FIREBASE_APP_ID:"1:420613377967:web:81b2cfb562e11bf64e695a",REACT_APP_ADDRESS_FUNGIBLE_TOKEN_CONTRACT:"0xf233dcee88fe0abe",REACT_APP_ADDRESS_TOPSHOT_CONTRACT:"0x0b2a3299cc857e29",REACT_APP_ADDRESS_FLOWTY_CONTRACT:"0x5c57f79c6694797f",REACT_APP_ACCESS_API:"https://mainnet.onflow.org",REACT_APP_FIREBASE_API_KEY:"AIzaSyDnlvFR2w8lyyGws2cLq0KQTKmtEy_Q0Hc",REACT_APP_ADDRESS_PROFILE_CONTRACT:"",REACT_APP_API_URL:"https://api2.flowty.io",REACT_APP_FUNC_CREATE_TOKEN_URL:"https://us-central1-flowty-prod.cloudfunctions.net/httpCreateCustomToken"})||void 0===c?void 0:c.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===r&&(n=a),i||(i={});const{insertAt:u}=i;if(document.getElementById(n))return;const d=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.id=n,h.type="text/css","top"===u&&d.firstChild?d.insertBefore(h,d.firstChild):d.appendChild(h),h.styleSheet?h.styleSheet.cssText=t:h.appendChild(document.createTextNode(t)),l[r]=!0}const u=async e=>{let{elementReference:t=null,tooltipReference:n=null,tooltipArrowReference:r=null,place:o="top",offset:a=10,strategy:s="absolute",middlewares:l=[(0,i.cY)(Number(a)),(0,i.UU)({fallbackAxisSideDirection:"start"}),(0,i.BN)({padding:5})],border:c}=e;if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(null===n)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const u=l;return r?(u.push((0,i.UE)({element:r,padding:5})),(0,i.rD)(t,n,{placement:o,strategy:s,middleware:u}).then((e=>{let{x:t,y:n,placement:r,middlewareData:i}=e;var o,a;const s={left:"".concat(t,"px"),top:"".concat(n,"px"),border:c},{x:l,y:u}=null!==(o=i.arrow)&&void 0!==o?o:{x:0,y:0},d=null!==(a={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]])&&void 0!==a?a:"bottom",h=c&&{borderBottom:c,borderRight:c};let p=0;if(c){const e="".concat(c).match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?"".concat(l,"px"):"",top:null!=u?"".concat(u,"px"):"",right:"",bottom:"",...h,[d]:"-".concat(4+p,"px")},place:r}}))):(0,i.rD)(t,n,{placement:"bottom",strategy:s,middleware:u}).then((e=>{let{x:t,y:n,placement:r}=e;return{tooltipStyles:{left:"".concat(t,"px"),top:"".concat(n,"px")},tooltipArrowStyles:{},place:r}}))},d=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),h=(e,t,n)=>{let r=null;const i=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];const s=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(s,t)),n||(r&&clearTimeout(r),r=setTimeout(s,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},p=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,f=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>f(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!p(e)||!p(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>f(e[n],t[n])))},m=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},g=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(m(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},v="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,C=e=>{e.current&&(clearTimeout(e.current),e.current=null)},y="DEFAULT_TOOLTIP_ID",b={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},w=(0,r.createContext)({getTooltipData:()=>b});function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;return(0,r.useContext)(w).getTooltipData(e)}var A={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},E={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const _=e=>{let{forwardRef:t,id:n,className:a,classNameArrow:s,variant:l="dark",anchorId:c,anchorSelect:d,place:p="top",offset:m=10,events:y=["hover"],openOnClick:b=!1,positionStrategy:w="absolute",middlewares:_,wrapper:T,delayShow:S=0,delayHide:k=0,float:P=!1,hidden:D=!1,noArrow:N=!1,clickable:F=!1,closeOnEsc:I=!1,closeOnScroll:R=!1,closeOnResize:M=!1,openEvents:O,closeEvents:j,globalCloseEvents:L,imperativeModeOnly:B,style:U,position:V,afterShow:H,afterHide:z,content:Z,contentWrapperRef:W,isOpen:q,defaultIsOpen:G=!1,setIsOpen:Y,activeAnchor:K,setActiveAnchor:Q,border:X,opacity:J,arrowColor:$,role:ee="tooltip"}=e;var te;const ne=(0,r.useRef)(null),re=(0,r.useRef)(null),ie=(0,r.useRef)(null),oe=(0,r.useRef)(null),ae=(0,r.useRef)(null),[se,le]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:p}),[ce,ue]=(0,r.useState)(!1),[de,he]=(0,r.useState)(!1),[pe,fe]=(0,r.useState)(null),me=(0,r.useRef)(!1),ge=(0,r.useRef)(null),{anchorRefs:ve,setActiveAnchor:Ce}=x(n),ye=(0,r.useRef)(!1),[be,we]=(0,r.useState)([]),xe=(0,r.useRef)(!1),Ae=b||y.includes("click"),Ee=Ae||(null==O?void 0:O.click)||(null==O?void 0:O.dblclick)||(null==O?void 0:O.mousedown),_e=O?{...O}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!O&&Ae&&Object.assign(_e,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Te=j?{...j}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!j&&Ae&&Object.assign(Te,{mouseleave:!1,blur:!1,mouseout:!1});const Se=L?{...L}:{escape:I||!1,scroll:R||!1,resize:M||!1,clickOutsideAnchor:Ee||!1};B&&(Object.assign(_e,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Te,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Se,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),v((()=>(xe.current=!0,()=>{xe.current=!1})),[]);const ke=e=>{xe.current&&(e&&he(!0),setTimeout((()=>{xe.current&&(null==Y||Y(e),void 0===q&&ue(e))}),10))};(0,r.useEffect)((()=>{if(void 0===q)return()=>null;q&&he(!0);const e=setTimeout((()=>{ue(q)}),10);return()=>{clearTimeout(e)}}),[q]),(0,r.useEffect)((()=>{if(ce!==me.current)if(C(ae),me.current=ce,ce)null==H||H();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})();ae.current=setTimeout((()=>{he(!1),fe(null),null==z||z()}),e+25)}}),[ce]);const Pe=e=>{le((t=>f(t,e)?t:e))},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;C(ie),de?ke(!0):ie.current=setTimeout((()=>{ke(!0)}),e)},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k;C(oe),oe.current=setTimeout((()=>{ye.current||ke(!1)}),e)},Fe=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return Q(null),void Ce({current:null});S?De():ke(!0),Q(n),Ce({current:n}),C(oe)},Ie=()=>{F?Ne(k||100):k?Ne():ke(!1),C(ie)},Re=e=>{let{x:t,y:n}=e;var r;const i={getBoundingClientRect:()=>({x:t,y:n,width:0,height:0,top:n,left:t,right:t,bottom:n})};u({place:null!==(r=null==pe?void 0:pe.place)&&void 0!==r?r:p,offset:m,elementReference:i,tooltipReference:ne.current,tooltipArrowReference:re.current,strategy:w,middlewares:_,border:X}).then((e=>{Pe(e)}))},Me=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};Re(n),ge.current=n},Oe=e=>{var t;if(!ce)return;const n=e.target;n.isConnected&&((null===(t=ne.current)||void 0===t?void 0:t.contains(n))||[document.querySelector("[id='".concat(c,"']")),...be].some((e=>null==e?void 0:e.contains(n)))||(ke(!1),C(ie)))},je=h(Fe,50,!0),Le=h(Ie,50,!0),Be=e=>{Le.cancel(),je(e)},Ue=()=>{je.cancel(),Le()},Ve=(0,r.useCallback)((()=>{var e,t;const n=null!==(e=null==pe?void 0:pe.position)&&void 0!==e?e:V;n?Re(n):P?ge.current&&Re(ge.current):(null==K?void 0:K.isConnected)&&u({place:null!==(t=null==pe?void 0:pe.place)&&void 0!==t?t:p,offset:m,elementReference:K,tooltipReference:ne.current,tooltipArrowReference:re.current,strategy:w,middlewares:_,border:X}).then((e=>{xe.current&&Pe(e)}))}),[ce,K,Z,U,p,null==pe?void 0:pe.place,m,w,V,null==pe?void 0:pe.position,P]);(0,r.useEffect)((()=>{var e,t;const n=new Set(ve);be.forEach((e=>{n.add({current:e})}));const r=document.querySelector("[id='".concat(c,"']"));r&&n.add({current:r});const o=()=>{ke(!1)},a=g(K),s=g(ne.current);Se.scroll&&(window.addEventListener("scroll",o),null==a||a.addEventListener("scroll",o),null==s||s.addEventListener("scroll",o));let l=null;Se.resize?window.addEventListener("resize",o):K&&ne.current&&(l=(0,i.ll)(K,ne.current,Ve,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const u=e=>{"Escape"===e.key&&ke(!1)};Se.escape&&window.addEventListener("keydown",u),Se.clickOutsideAnchor&&window.addEventListener("click",Oe);const d=[],h=e=>{ce&&(null==e?void 0:e.target)===K||Fe(e)},p=e=>{ce&&(null==e?void 0:e.target)===K&&Ie()},f=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],m=["click","dblclick","mousedown","mouseup"];Object.entries(_e).forEach((e=>{let[t,n]=e;n&&(f.includes(t)?d.push({event:t,listener:Be}):m.includes(t)&&d.push({event:t,listener:h}))})),Object.entries(Te).forEach((e=>{let[t,n]=e;n&&(f.includes(t)?d.push({event:t,listener:Ue}):m.includes(t)&&d.push({event:t,listener:p}))})),P&&d.push({event:"pointermove",listener:Me});const v=()=>{ye.current=!0},C=()=>{ye.current=!1,Ie()};return F&&!Ee&&(null===(e=ne.current)||void 0===e||e.addEventListener("mouseenter",v),null===(t=ne.current)||void 0===t||t.addEventListener("mouseleave",C)),d.forEach((e=>{let{event:t,listener:r}=e;n.forEach((e=>{var n;null===(n=e.current)||void 0===n||n.addEventListener(t,r)}))})),()=>{var e,t;Se.scroll&&(window.removeEventListener("scroll",o),null==a||a.removeEventListener("scroll",o),null==s||s.removeEventListener("scroll",o)),Se.resize?window.removeEventListener("resize",o):null==l||l(),Se.clickOutsideAnchor&&window.removeEventListener("click",Oe),Se.escape&&window.removeEventListener("keydown",u),F&&!Ee&&(null===(e=ne.current)||void 0===e||e.removeEventListener("mouseenter",v),null===(t=ne.current)||void 0===t||t.removeEventListener("mouseleave",C)),d.forEach((e=>{let{event:t,listener:r}=e;n.forEach((e=>{var n;null===(n=e.current)||void 0===n||n.removeEventListener(t,r)}))}))}}),[K,Ve,de,ve,be,O,j,L,Ae,S,k]),(0,r.useEffect)((()=>{var e,t;let r=null!==(t=null!==(e=null==pe?void 0:pe.anchorSelect)&&void 0!==e?e:d)&&void 0!==t?t:"";!r&&n&&(r="[data-tooltip-id='".concat(n.replace(/'/g,"\\'"),"']"));const i=new MutationObserver((e=>{const t=[],i=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===n?t.push(e.target):e.oldValue===n&&i.push(e.target)),"childList"===e.type){if(K){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{i.push(...t.filter((e=>e.matches(r)))),i.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,K))&&(he(!1),ke(!1),Q(null),C(ie),C(oe),!0)}))}if(r)try{const n=[...e.addedNodes].filter((e=>1===e.nodeType));t.push(...n.filter((e=>e.matches(r)))),t.push(...n.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}}})),(t.length||i.length)&&we((e=>[...e.filter((e=>!i.includes(e))),...t]))}));return i.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{i.disconnect()}}),[n,d,null==pe?void 0:pe.anchorSelect,K]),(0,r.useEffect)((()=>{Ve()}),[Ve]),(0,r.useEffect)((()=>{if(!(null==W?void 0:W.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Ve()))}));return e.observe(W.current),()=>{e.disconnect()}}),[Z,null==W?void 0:W.current]),(0,r.useEffect)((()=>{var e;const t=document.querySelector("[id='".concat(c,"']")),n=[...be,t];K&&n.includes(K)||Q(null!==(e=be[0])&&void 0!==e?e:t)}),[c,be,K]),(0,r.useEffect)((()=>(G&&ke(!0),()=>{C(ie),C(oe)})),[]),(0,r.useEffect)((()=>{var e;let t=null!==(e=null==pe?void 0:pe.anchorSelect)&&void 0!==e?e:d;if(!t&&n&&(t="[data-tooltip-id='".concat(n.replace(/'/g,"\\'"),"']")),t)try{const e=Array.from(document.querySelectorAll(t));we(e)}catch(e){we([])}}),[n,d,null==pe?void 0:pe.anchorSelect]),(0,r.useEffect)((()=>{ie.current&&(C(ie),De(S))}),[S]);const He=null!==(te=null==pe?void 0:pe.content)&&void 0!==te?te:Z,ze=ce&&Object.keys(se.tooltipStyles).length>0;return(0,r.useImperativeHandle)(t,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn('[react-tooltip] "'.concat(e.anchorSelect,'" is not a valid CSS selector'))}fe(null!=e?e:null),(null==e?void 0:e.delay)?De(e.delay):ke(!0)},close:e=>{(null==e?void 0:e.delay)?Ne(e.delay):ke(!1)},activeAnchor:K,place:se.place,isOpen:Boolean(de&&!D&&He&&ze)}))),de&&!D&&He?r.createElement(T,{id:n,role:ee,className:o("react-tooltip",A.tooltip,E.tooltip,E[l],a,"react-tooltip__place-".concat(se.place),A[ze?"show":"closing"],ze?"react-tooltip__show":"react-tooltip__closing","fixed"===w&&A.fixed,F&&A.clickable),onTransitionEnd:e=>{C(ae),ce||"opacity"!==e.propertyName||(he(!1),fe(null),null==z||z())},style:{...U,...se.tooltipStyles,opacity:void 0!==J&&ze?J:void 0},ref:ne},He,r.createElement(T,{className:o("react-tooltip-arrow",A.arrow,E.arrow,s,N&&A.noArrow),style:{...se.tooltipArrowStyles,background:$?"linear-gradient(to right bottom, transparent 50%, ".concat($," 50%)"):void 0},ref:re})):null},T=e=>{let{content:t}=e;return r.createElement("span",{dangerouslySetInnerHTML:{__html:t}})},S=r.forwardRef(((e,t)=>{let{id:n,anchorId:i,anchorSelect:a,content:s,html:l,render:c,className:u,classNameArrow:h,variant:p="dark",place:f="top",offset:m=10,wrapper:g="div",children:v=null,events:C=["hover"],openOnClick:y=!1,positionStrategy:b="absolute",middlewares:w,delayShow:A=0,delayHide:E=0,float:S=!1,hidden:k=!1,noArrow:P=!1,clickable:D=!1,closeOnEsc:N=!1,closeOnScroll:F=!1,closeOnResize:I=!1,openEvents:R,closeEvents:M,globalCloseEvents:O,imperativeModeOnly:j=!1,style:L,position:B,isOpen:U,defaultIsOpen:V=!1,disableStyleInjection:H=!1,border:z,opacity:Z,arrowColor:W,setIsOpen:q,afterShow:G,afterHide:Y,role:K="tooltip"}=e;const[Q,X]=(0,r.useState)(s),[J,$]=(0,r.useState)(l),[ee,te]=(0,r.useState)(f),[ne,re]=(0,r.useState)(p),[ie,oe]=(0,r.useState)(m),[ae,se]=(0,r.useState)(A),[le,ce]=(0,r.useState)(E),[ue,de]=(0,r.useState)(S),[he,pe]=(0,r.useState)(k),[fe,me]=(0,r.useState)(g),[ge,ve]=(0,r.useState)(C),[Ce,ye]=(0,r.useState)(b),[be,we]=(0,r.useState)(null),[xe,Ae]=(0,r.useState)(null),Ee=(0,r.useRef)(H),{anchorRefs:_e,activeAnchor:Te}=x(n),Se=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),ke=e=>{const t={place:e=>{var t;te(null!==(t=e)&&void 0!==t?t:f)},content:e=>{X(null!=e?e:s)},html:e=>{$(null!=e?e:l)},variant:e=>{var t;re(null!==(t=e)&&void 0!==t?t:p)},offset:e=>{oe(null===e?m:Number(e))},wrapper:e=>{var t;me(null!==(t=e)&&void 0!==t?t:g)},events:e=>{const t=null==e?void 0:e.split(" ");ve(null!=t?t:C)},"position-strategy":e=>{var t;ye(null!==(t=e)&&void 0!==t?t:b)},"delay-show":e=>{se(null===e?A:Number(e))},"delay-hide":e=>{ce(null===e?E:Number(e))},float:e=>{de(null===e?S:"true"===e)},hidden:e=>{pe(null===e?k:"true"===e)},"class-name":e=>{we(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((e=>{let[n,r]=e;var i;null===(i=t[n])||void 0===i||i.call(t,r)}))};(0,r.useEffect)((()=>{X(s)}),[s]),(0,r.useEffect)((()=>{$(l)}),[l]),(0,r.useEffect)((()=>{te(f)}),[f]),(0,r.useEffect)((()=>{re(p)}),[p]),(0,r.useEffect)((()=>{oe(m)}),[m]),(0,r.useEffect)((()=>{se(A)}),[A]),(0,r.useEffect)((()=>{ce(E)}),[E]),(0,r.useEffect)((()=>{de(S)}),[S]),(0,r.useEffect)((()=>{pe(k)}),[k]),(0,r.useEffect)((()=>{ye(b)}),[b]),(0,r.useEffect)((()=>{Ee.current!==H&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[H]),(0,r.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===H,disableBase:H}}))}),[]),(0,r.useEffect)((()=>{var e;const t=new Set(_e);let r=a;if(!r&&n&&(r="[data-tooltip-id='".concat(n.replace(/'/g,"\\'"),"']")),r)try{document.querySelectorAll(r).forEach((e=>{t.add({current:e})}))}catch(e){console.warn('[react-tooltip] "'.concat(r,'" is not a valid CSS selector'))}const o=document.querySelector("[id='".concat(i,"']"));if(o&&t.add({current:o}),!t.size)return()=>null;const s=null!==(e=null!=xe?xe:o)&&void 0!==e?e:Te.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=Se(s);ke(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=Se(s);ke(e),l.observe(s,c)}return()=>{l.disconnect()}}),[_e,Te,xe,i,a]),(0,r.useEffect)((()=>{(null==L?void 0:L.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),z&&!d("border","".concat(z))&&console.warn('[react-tooltip] "'.concat(z,'" is not a valid `border`.')),(null==L?void 0:L.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),Z&&!d("opacity","".concat(Z))&&console.warn('[react-tooltip] "'.concat(Z,'" is not a valid `opacity`.'))}),[]);let Pe=v;const De=(0,r.useRef)(null);if(c){const e=c({content:(null==xe?void 0:xe.getAttribute("data-tooltip-content"))||Q||null,activeAnchor:xe});Pe=e?r.createElement("div",{ref:De,className:"react-tooltip-content-wrapper"},e):null}else Q&&(Pe=Q);J&&(Pe=r.createElement(T,{content:J}));const Ne={forwardRef:t,id:n,anchorId:i,anchorSelect:a,className:o(u,be),classNameArrow:h,content:Pe,contentWrapperRef:De,place:ee,variant:ne,offset:ie,wrapper:fe,events:ge,openOnClick:y,positionStrategy:Ce,middlewares:w,delayShow:ae,delayHide:le,float:ue,hidden:he,noArrow:P,clickable:D,closeOnEsc:N,closeOnScroll:F,closeOnResize:I,openEvents:R,closeEvents:M,globalCloseEvents:O,imperativeModeOnly:j,style:L,position:B,isOpen:U,defaultIsOpen:V,border:z,opacity:Z,arrowColor:W,setIsOpen:q,afterShow:G,afterHide:Y,activeAnchor:xe,setActiveAnchor:e=>Ae(e),role:K};return r.createElement(_,{...Ne})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||c({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||c({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}))},61861:(e,t,n)=>{"use strict";function r(e){return e.join(" ").trim()}n.d(t,{A:()=>r})},44106:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});const r=9,i=32;function o(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(a(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(a(t.slice(i),i>0,!1)),o.join("")}function a(e,t,n){let o=0,a=e.length;if(t){let t=e.codePointAt(o);for(;t===r||t===i;)o++,t=e.codePointAt(o)}if(n){let t=e.codePointAt(a-1);for(;t===r||t===i;)a--,t=e.codePointAt(a-1)}return a>o?e.slice(o,a):""}},27841:(e,t,n)=>{"use strict";function r(){const e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=-1;const o=n.pop();if("function"!==typeof o)throw new TypeError("Expected function as last argument, not "+o);!function t(r){const a=e[++i];let s=-1;if(r)o(r);else{for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u<l;u++)c[u-1]=arguments[u];for(;++s<n.length;)null!==c[s]&&void 0!==c[s]||(c[s]=n[s]);n=c,a?function(e,t){let n;return i;function i(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];const l=e.length>i.length;let c;l&&i.push(o);try{c=e.apply(this,i)}catch(r){if(l&&n)throw r;return o(r)}l||(c&&c.then&&"function"===typeof c.then?c.then(a,o):c instanceof Error?o(c):a(c))}function o(e){if(!n){n=!0;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t(e,...i)}}function a(e){o(null,e)}}(a,t)(...c):o(null,...c)}}(null,...n)},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}n.d(t,{S:()=>r})},65587:(e,t,n)=>{"use strict";n.d(t,{Tt:()=>r,YH:()=>o,fX:()=>s,sH:()=>i,zs:()=>a});function r(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function i(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function a(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError},39466:e=>{"use strict";e.exports=JSON.parse('[[[0,44],4],[[45,46],2],[47,4],[[48,57],2],[[58,64],4],[65,1,"a"],[66,1,"b"],[67,1,"c"],[68,1,"d"],[69,1,"e"],[70,1,"f"],[71,1,"g"],[72,1,"h"],[73,1,"i"],[74,1,"j"],[75,1,"k"],[76,1,"l"],[77,1,"m"],[78,1,"n"],[79,1,"o"],[80,1,"p"],[81,1,"q"],[82,1,"r"],[83,1,"s"],[84,1,"t"],[85,1,"u"],[86,1,"v"],[87,1,"w"],[88,1,"x"],[89,1,"y"],[90,1,"z"],[[91,96],4],[[97,122],2],[[123,127],4],[[128,159],3],[160,5," "],[[161,167],2],[168,5," \u0308"],[169,2],[170,1,"a"],[[171,172],2],[173,7],[174,2],[175,5," \u0304"],[[176,177],2],[178,1,"2"],[179,1,"3"],[180,5," \u0301"],[181,1,"\u03bc"],[182,2],[183,2],[184,5," \u0327"],[185,1,"1"],[186,1,"o"],[187,2],[188,1,"1\u20444"],[189,1,"1\u20442"],[190,1,"3\u20444"],[191,2],[192,1,"\xe0"],[193,1,"\xe1"],[194,1,"\xe2"],[195,1,"\xe3"],[196,1,"\xe4"],[197,1,"\xe5"],[198,1,"\xe6"],[199,1,"\xe7"],[200,1,"\xe8"],[201,1,"\xe9"],[202,1,"\xea"],[203,1,"\xeb"],[204,1,"\xec"],[205,1,"\xed"],[206,1,"\xee"],[207,1,"\xef"],[208,1,"\xf0"],[209,1,"\xf1"],[210,1,"\xf2"],[211,1,"\xf3"],[212,1,"\xf4"],[213,1,"\xf5"],[214,1,"\xf6"],[215,2],[216,1,"\xf8"],[217,1,"\xf9"],[218,1,"\xfa"],[219,1,"\xfb"],[220,1,"\xfc"],[221,1,"\xfd"],[222,1,"\xfe"],[223,6,"ss"],[[224,246],2],[247,2],[[248,255],2],[256,1,"\u0101"],[257,2],[258,1,"\u0103"],[259,2],[260,1,"\u0105"],[261,2],[262,1,"\u0107"],[263,2],[264,1,"\u0109"],[265,2],[266,1,"\u010b"],[267,2],[268,1,"\u010d"],[269,2],[270,1,"\u010f"],[271,2],[272,1,"\u0111"],[273,2],[274,1,"\u0113"],[275,2],[276,1,"\u0115"],[277,2],[278,1,"\u0117"],[279,2],[280,1,"\u0119"],[281,2],[282,1,"\u011b"],[283,2],[284,1,"\u011d"],[285,2],[286,1,"\u011f"],[287,2],[288,1,"\u0121"],[289,2],[290,1,"\u0123"],[291,2],[292,1,"\u0125"],[293,2],[294,1,"\u0127"],[295,2],[296,1,"\u0129"],[297,2],[298,1,"\u012b"],[299,2],[300,1,"\u012d"],[301,2],[302,1,"\u012f"],[303,2],[304,1,"i\u0307"],[305,2],[[306,307],1,"ij"],[308,1,"\u0135"],[309,2],[310,1,"\u0137"],[[311,312],2],[313,1,"\u013a"],[314,2],[315,1,"\u013c"],[316,2],[317,1,"\u013e"],[318,2],[[319,320],1,"l\xb7"],[321,1,"\u0142"],[322,2],[323,1,"\u0144"],[324,2],[325,1,"\u0146"],[326,2],[327,1,"\u0148"],[328,2],[329,1,"\u02bcn"],[330,1,"\u014b"],[331,2],[332,1,"\u014d"],[333,2],[334,1,"\u014f"],[335,2],[336,1,"\u0151"],[337,2],[338,1,"\u0153"],[339,2],[340,1,"\u0155"],[341,2],[342,1,"\u0157"],[343,2],[344,1,"\u0159"],[345,2],[346,1,"\u015b"],[347,2],[348,1,"\u015d"],[349,2],[350,1,"\u015f"],[351,2],[352,1,"\u0161"],[353,2],[354,1,"\u0163"],[355,2],[356,1,"\u0165"],[357,2],[358,1,"\u0167"],[359,2],[360,1,"\u0169"],[361,2],[362,1,"\u016b"],[363,2],[364,1,"\u016d"],[365,2],[366,1,"\u016f"],[367,2],[368,1,"\u0171"],[369,2],[370,1,"\u0173"],[371,2],[372,1,"\u0175"],[373,2],[374,1,"\u0177"],[375,2],[376,1,"\xff"],[377,1,"\u017a"],[378,2],[379,1,"\u017c"],[380,2],[381,1,"\u017e"],[382,2],[383,1,"s"],[384,2],[385,1,"\u0253"],[386,1,"\u0183"],[387,2],[388,1,"\u0185"],[389,2],[390,1,"\u0254"],[391,1,"\u0188"],[392,2],[393,1,"\u0256"],[394,1,"\u0257"],[395,1,"\u018c"],[[396,397],2],[398,1,"\u01dd"],[399,1,"\u0259"],[400,1,"\u025b"],[401,1,"\u0192"],[402,2],[403,1,"\u0260"],[404,1,"\u0263"],[405,2],[406,1,"\u0269"],[407,1,"\u0268"],[408,1,"\u0199"],[[409,411],2],[412,1,"\u026f"],[413,1,"\u0272"],[414,2],[415,1,"\u0275"],[416,1,"\u01a1"],[417,2],[418,1,"\u01a3"],[419,2],[420,1,"\u01a5"],[421,2],[422,1,"\u0280"],[423,1,"\u01a8"],[424,2],[425,1,"\u0283"],[[426,427],2],[428,1,"\u01ad"],[429,2],[430,1,"\u0288"],[431,1,"\u01b0"],[432,2],[433,1,"\u028a"],[434,1,"\u028b"],[435,1,"\u01b4"],[436,2],[437,1,"\u01b6"],[438,2],[439,1,"\u0292"],[440,1,"\u01b9"],[[441,443],2],[444,1,"\u01bd"],[[445,451],2],[[452,454],1,"d\u017e"],[[455,457],1,"lj"],[[458,460],1,"nj"],[461,1,"\u01ce"],[462,2],[463,1,"\u01d0"],[464,2],[465,1,"\u01d2"],[466,2],[467,1,"\u01d4"],[468,2],[469,1,"\u01d6"],[470,2],[471,1,"\u01d8"],[472,2],[473,1,"\u01da"],[474,2],[475,1,"\u01dc"],[[476,477],2],[478,1,"\u01df"],[479,2],[480,1,"\u01e1"],[481,2],[482,1,"\u01e3"],[483,2],[484,1,"\u01e5"],[485,2],[486,1,"\u01e7"],[487,2],[488,1,"\u01e9"],[489,2],[490,1,"\u01eb"],[491,2],[492,1,"\u01ed"],[493,2],[494,1,"\u01ef"],[[495,496],2],[[497,499],1,"dz"],[500,1,"\u01f5"],[501,2],[502,1,"\u0195"],[503,1,"\u01bf"],[504,1,"\u01f9"],[505,2],[506,1,"\u01fb"],[507,2],[508,1,"\u01fd"],[509,2],[510,1,"\u01ff"],[511,2],[512,1,"\u0201"],[513,2],[514,1,"\u0203"],[515,2],[516,1,"\u0205"],[517,2],[518,1,"\u0207"],[519,2],[520,1,"\u0209"],[521,2],[522,1,"\u020b"],[523,2],[524,1,"\u020d"],[525,2],[526,1,"\u020f"],[527,2],[528,1,"\u0211"],[529,2],[530,1,"\u0213"],[531,2],[532,1,"\u0215"],[533,2],[534,1,"\u0217"],[535,2],[536,1,"\u0219"],[537,2],[538,1,"\u021b"],[539,2],[540,1,"\u021d"],[541,2],[542,1,"\u021f"],[543,2],[544,1,"\u019e"],[545,2],[546,1,"\u0223"],[547,2],[548,1,"\u0225"],[549,2],[550,1,"\u0227"],[551,2],[552,1,"\u0229"],[553,2],[554,1,"\u022b"],[555,2],[556,1,"\u022d"],[557,2],[558,1,"\u022f"],[559,2],[560,1,"\u0231"],[561,2],[562,1,"\u0233"],[563,2],[[564,566],2],[[567,569],2],[570,1,"\u2c65"],[571,1,"\u023c"],[572,2],[573,1,"\u019a"],[574,1,"\u2c66"],[[575,576],2],[577,1,"\u0242"],[578,2],[579,1,"\u0180"],[580,1,"\u0289"],[581,1,"\u028c"],[582,1,"\u0247"],[583,2],[584,1,"\u0249"],[585,2],[586,1,"\u024b"],[587,2],[588,1,"\u024d"],[589,2],[590,1,"\u024f"],[591,2],[[592,680],2],[[681,685],2],[[686,687],2],[688,1,"h"],[689,1,"\u0266"],[690,1,"j"],[691,1,"r"],[692,1,"\u0279"],[693,1,"\u027b"],[694,1,"\u0281"],[695,1,"w"],[696,1,"y"],[[697,705],2],[[706,709],2],[[710,721],2],[[722,727],2],[728,5," \u0306"],[729,5," \u0307"],[730,5," \u030a"],[731,5," \u0328"],[732,5," \u0303"],[733,5," \u030b"],[734,2],[735,2],[736,1,"\u0263"],[737,1,"l"],[738,1,"s"],[739,1,"x"],[740,1,"\u0295"],[[741,745],2],[[746,747],2],[748,2],[749,2],[750,2],[[751,767],2],[[768,831],2],[832,1,"\u0300"],[833,1,"\u0301"],[834,2],[835,1,"\u0313"],[836,1,"\u0308\u0301"],[837,1,"\u03b9"],[[838,846],2],[847,7],[[848,855],2],[[856,860],2],[[861,863],2],[[864,865],2],[866,2],[[867,879],2],[880,1,"\u0371"],[881,2],[882,1,"\u0373"],[883,2],[884,1,"\u02b9"],[885,2],[886,1,"\u0377"],[887,2],[[888,889],3],[890,5," \u03b9"],[[891,893],2],[894,5,";"],[895,1,"\u03f3"],[[896,899],3],[900,5," \u0301"],[901,5," \u0308\u0301"],[902,1,"\u03ac"],[903,1,"\xb7"],[904,1,"\u03ad"],[905,1,"\u03ae"],[906,1,"\u03af"],[907,3],[908,1,"\u03cc"],[909,3],[910,1,"\u03cd"],[911,1,"\u03ce"],[912,2],[913,1,"\u03b1"],[914,1,"\u03b2"],[915,1,"\u03b3"],[916,1,"\u03b4"],[917,1,"\u03b5"],[918,1,"\u03b6"],[919,1,"\u03b7"],[920,1,"\u03b8"],[921,1,"\u03b9"],[922,1,"\u03ba"],[923,1,"\u03bb"],[924,1,"\u03bc"],[925,1,"\u03bd"],[926,1,"\u03be"],[927,1,"\u03bf"],[928,1,"\u03c0"],[929,1,"\u03c1"],[930,3],[931,1,"\u03c3"],[932,1,"\u03c4"],[933,1,"\u03c5"],[934,1,"\u03c6"],[935,1,"\u03c7"],[936,1,"\u03c8"],[937,1,"\u03c9"],[938,1,"\u03ca"],[939,1,"\u03cb"],[[940,961],2],[962,6,"\u03c3"],[[963,974],2],[975,1,"\u03d7"],[976,1,"\u03b2"],[977,1,"\u03b8"],[978,1,"\u03c5"],[979,1,"\u03cd"],[980,1,"\u03cb"],[981,1,"\u03c6"],[982,1,"\u03c0"],[983,2],[984,1,"\u03d9"],[985,2],[986,1,"\u03db"],[987,2],[988,1,"\u03dd"],[989,2],[990,1,"\u03df"],[991,2],[992,1,"\u03e1"],[993,2],[994,1,"\u03e3"],[995,2],[996,1,"\u03e5"],[997,2],[998,1,"\u03e7"],[999,2],[1000,1,"\u03e9"],[1001,2],[1002,1,"\u03eb"],[1003,2],[1004,1,"\u03ed"],[1005,2],[1006,1,"\u03ef"],[1007,2],[1008,1,"\u03ba"],[1009,1,"\u03c1"],[1010,1,"\u03c3"],[1011,2],[1012,1,"\u03b8"],[1013,1,"\u03b5"],[1014,2],[1015,1,"\u03f8"],[1016,2],[1017,1,"\u03c3"],[1018,1,"\u03fb"],[1019,2],[1020,2],[1021,1,"\u037b"],[1022,1,"\u037c"],[1023,1,"\u037d"],[1024,1,"\u0450"],[1025,1,"\u0451"],[1026,1,"\u0452"],[1027,1,"\u0453"],[1028,1,"\u0454"],[1029,1,"\u0455"],[1030,1,"\u0456"],[1031,1,"\u0457"],[1032,1,"\u0458"],[1033,1,"\u0459"],[1034,1,"\u045a"],[1035,1,"\u045b"],[1036,1,"\u045c"],[1037,1,"\u045d"],[1038,1,"\u045e"],[1039,1,"\u045f"],[1040,1,"\u0430"],[1041,1,"\u0431"],[1042,1,"\u0432"],[1043,1,"\u0433"],[1044,1,"\u0434"],[1045,1,"\u0435"],[1046,1,"\u0436"],[1047,1,"\u0437"],[1048,1,"\u0438"],[1049,1,"\u0439"],[1050,1,"\u043a"],[1051,1,"\u043b"],[1052,1,"\u043c"],[1053,1,"\u043d"],[1054,1,"\u043e"],[1055,1,"\u043f"],[1056,1,"\u0440"],[1057,1,"\u0441"],[1058,1,"\u0442"],[1059,1,"\u0443"],[1060,1,"\u0444"],[1061,1,"\u0445"],[1062,1,"\u0446"],[1063,1,"\u0447"],[1064,1,"\u0448"],[1065,1,"\u0449"],[1066,1,"\u044a"],[1067,1,"\u044b"],[1068,1,"\u044c"],[1069,1,"\u044d"],[1070,1,"\u044e"],[1071,1,"\u044f"],[[1072,1103],2],[1104,2],[[1105,1116],2],[1117,2],[[1118,1119],2],[1120,1,"\u0461"],[1121,2],[1122,1,"\u0463"],[1123,2],[1124,1,"\u0465"],[1125,2],[1126,1,"\u0467"],[1127,2],[1128,1,"\u0469"],[1129,2],[1130,1,"\u046b"],[1131,2],[1132,1,"\u046d"],[1133,2],[1134,1,"\u046f"],[1135,2],[1136,1,"\u0471"],[1137,2],[1138,1,"\u0473"],[1139,2],[1140,1,"\u0475"],[1141,2],[1142,1,"\u0477"],[1143,2],[1144,1,"\u0479"],[1145,2],[1146,1,"\u047b"],[1147,2],[1148,1,"\u047d"],[1149,2],[1150,1,"\u047f"],[1151,2],[1152,1,"\u0481"],[1153,2],[1154,2],[[1155,1158],2],[1159,2],[[1160,1161],2],[1162,1,"\u048b"],[1163,2],[1164,1,"\u048d"],[1165,2],[1166,1,"\u048f"],[1167,2],[1168,1,"\u0491"],[1169,2],[1170,1,"\u0493"],[1171,2],[1172,1,"\u0495"],[1173,2],[1174,1,"\u0497"],[1175,2],[1176,1,"\u0499"],[1177,2],[1178,1,"\u049b"],[1179,2],[1180,1,"\u049d"],[1181,2],[1182,1,"\u049f"],[1183,2],[1184,1,"\u04a1"],[1185,2],[1186,1,"\u04a3"],[1187,2],[1188,1,"\u04a5"],[1189,2],[1190,1,"\u04a7"],[1191,2],[1192,1,"\u04a9"],[1193,2],[1194,1,"\u04ab"],[1195,2],[1196,1,"\u04ad"],[1197,2],[1198,1,"\u04af"],[1199,2],[1200,1,"\u04b1"],[1201,2],[1202,1,"\u04b3"],[1203,2],[1204,1,"\u04b5"],[1205,2],[1206,1,"\u04b7"],[1207,2],[1208,1,"\u04b9"],[1209,2],[1210,1,"\u04bb"],[1211,2],[1212,1,"\u04bd"],[1213,2],[1214,1,"\u04bf"],[1215,2],[1216,3],[1217,1,"\u04c2"],[1218,2],[1219,1,"\u04c4"],[1220,2],[1221,1,"\u04c6"],[1222,2],[1223,1,"\u04c8"],[1224,2],[1225,1,"\u04ca"],[1226,2],[1227,1,"\u04cc"],[1228,2],[1229,1,"\u04ce"],[1230,2],[1231,2],[1232,1,"\u04d1"],[1233,2],[1234,1,"\u04d3"],[1235,2],[1236,1,"\u04d5"],[1237,2],[1238,1,"\u04d7"],[1239,2],[1240,1,"\u04d9"],[1241,2],[1242,1,"\u04db"],[1243,2],[1244,1,"\u04dd"],[1245,2],[1246,1,"\u04df"],[1247,2],[1248,1,"\u04e1"],[1249,2],[1250,1,"\u04e3"],[1251,2],[1252,1,"\u04e5"],[1253,2],[1254,1,"\u04e7"],[1255,2],[1256,1,"\u04e9"],[1257,2],[1258,1,"\u04eb"],[1259,2],[1260,1,"\u04ed"],[1261,2],[1262,1,"\u04ef"],[1263,2],[1264,1,"\u04f1"],[1265,2],[1266,1,"\u04f3"],[1267,2],[1268,1,"\u04f5"],[1269,2],[1270,1,"\u04f7"],[1271,2],[1272,1,"\u04f9"],[1273,2],[1274,1,"\u04fb"],[1275,2],[1276,1,"\u04fd"],[1277,2],[1278,1,"\u04ff"],[1279,2],[1280,1,"\u0501"],[1281,2],[1282,1,"\u0503"],[1283,2],[1284,1,"\u0505"],[1285,2],[1286,1,"\u0507"],[1287,2],[1288,1,"\u0509"],[1289,2],[1290,1,"\u050b"],[1291,2],[1292,1,"\u050d"],[1293,2],[1294,1,"\u050f"],[1295,2],[1296,1,"\u0511"],[1297,2],[1298,1,"\u0513"],[1299,2],[1300,1,"\u0515"],[1301,2],[1302,1,"\u0517"],[1303,2],[1304,1,"\u0519"],[1305,2],[1306,1,"\u051b"],[1307,2],[1308,1,"\u051d"],[1309,2],[1310,1,"\u051f"],[1311,2],[1312,1,"\u0521"],[1313,2],[1314,1,"\u0523"],[1315,2],[1316,1,"\u0525"],[1317,2],[1318,1,"\u0527"],[1319,2],[1320,1,"\u0529"],[1321,2],[1322,1,"\u052b"],[1323,2],[1324,1,"\u052d"],[1325,2],[1326,1,"\u052f"],[1327,2],[1328,3],[1329,1,"\u0561"],[1330,1,"\u0562"],[1331,1,"\u0563"],[1332,1,"\u0564"],[1333,1,"\u0565"],[1334,1,"\u0566"],[1335,1,"\u0567"],[1336,1,"\u0568"],[1337,1,"\u0569"],[1338,1,"\u056a"],[1339,1,"\u056b"],[1340,1,"\u056c"],[1341,1,"\u056d"],[1342,1,"\u056e"],[1343,1,"\u056f"],[1344,1,"\u0570"],[1345,1,"\u0571"],[1346,1,"\u0572"],[1347,1,"\u0573"],[1348,1,"\u0574"],[1349,1,"\u0575"],[1350,1,"\u0576"],[1351,1,"\u0577"],[1352,1,"\u0578"],[1353,1,"\u0579"],[1354,1,"\u057a"],[1355,1,"\u057b"],[1356,1,"\u057c"],[1357,1,"\u057d"],[1358,1,"\u057e"],[1359,1,"\u057f"],[1360,1,"\u0580"],[1361,1,"\u0581"],[1362,1,"\u0582"],[1363,1,"\u0583"],[1364,1,"\u0584"],[1365,1,"\u0585"],[1366,1,"\u0586"],[[1367,1368],3],[1369,2],[[1370,1375],2],[1376,2],[[1377,1414],2],[1415,1,"\u0565\u0582"],[1416,2],[1417,2],[1418,2],[[1419,1420],3],[[1421,1422],2],[1423,2],[1424,3],[[1425,1441],2],[1442,2],[[1443,1455],2],[[1456,1465],2],[1466,2],[[1467,1469],2],[1470,2],[1471,2],[1472,2],[[1473,1474],2],[1475,2],[1476,2],[1477,2],[1478,2],[1479,2],[[1480,1487],3],[[1488,1514],2],[[1515,1518],3],[1519,2],[[1520,1524],2],[[1525,1535],3],[[1536,1539],3],[1540,3],[1541,3],[[1542,1546],2],[1547,2],[1548,2],[[1549,1551],2],[[1552,1557],2],[[1558,1562],2],[1563,2],[1564,3],[1565,2],[1566,2],[1567,2],[1568,2],[[1569,1594],2],[[1595,1599],2],[1600,2],[[1601,1618],2],[[1619,1621],2],[[1622,1624],2],[[1625,1630],2],[1631,2],[[1632,1641],2],[[1642,1645],2],[[1646,1647],2],[[1648,1652],2],[1653,1,"\u0627\u0674"],[1654,1,"\u0648\u0674"],[1655,1,"\u06c7\u0674"],[1656,1,"\u064a\u0674"],[[1657,1719],2],[[1720,1721],2],[[1722,1726],2],[1727,2],[[1728,1742],2],[1743,2],[[1744,1747],2],[1748,2],[[1749,1756],2],[1757,3],[1758,2],[[1759,1768],2],[1769,2],[[1770,1773],2],[[1774,1775],2],[[1776,1785],2],[[1786,1790],2],[1791,2],[[1792,1805],2],[1806,3],[1807,3],[[1808,1836],2],[[1837,1839],2],[[1840,1866],2],[[1867,1868],3],[[1869,1871],2],[[1872,1901],2],[[1902,1919],2],[[1920,1968],2],[1969,2],[[1970,1983],3],[[1984,2037],2],[[2038,2042],2],[[2043,2044],3],[2045,2],[[2046,2047],2],[[2048,2093],2],[[2094,2095],3],[[2096,2110],2],[2111,3],[[2112,2139],2],[[2140,2141],3],[2142,2],[2143,3],[[2144,2154],2],[[2155,2159],3],[[2160,2183],2],[2184,2],[[2185,2190],2],[2191,3],[[2192,2193],3],[[2194,2199],3],[[2200,2207],2],[2208,2],[2209,2],[[2210,2220],2],[[2221,2226],2],[[2227,2228],2],[2229,2],[[2230,2237],2],[[2238,2247],2],[[2248,2258],2],[2259,2],[[2260,2273],2],[2274,3],[2275,2],[[2276,2302],2],[2303,2],[2304,2],[[2305,2307],2],[2308,2],[[2309,2361],2],[[2362,2363],2],[[2364,2381],2],[2382,2],[2383,2],[[2384,2388],2],[2389,2],[[2390,2391],2],[2392,1,"\u0915\u093c"],[2393,1,"\u0916\u093c"],[2394,1,"\u0917\u093c"],[2395,1,"\u091c\u093c"],[2396,1,"\u0921\u093c"],[2397,1,"\u0922\u093c"],[2398,1,"\u092b\u093c"],[2399,1,"\u092f\u093c"],[[2400,2403],2],[[2404,2405],2],[[2406,2415],2],[2416,2],[[2417,2418],2],[[2419,2423],2],[2424,2],[[2425,2426],2],[[2427,2428],2],[2429,2],[[2430,2431],2],[2432,2],[[2433,2435],2],[2436,3],[[2437,2444],2],[[2445,2446],3],[[2447,2448],2],[[2449,2450],3],[[2451,2472],2],[2473,3],[[2474,2480],2],[2481,3],[2482,2],[[2483,2485],3],[[2486,2489],2],[[2490,2491],3],[2492,2],[2493,2],[[2494,2500],2],[[2501,2502],3],[[2503,2504],2],[[2505,2506],3],[[2507,2509],2],[2510,2],[[2511,2518],3],[2519,2],[[2520,2523],3],[2524,1,"\u09a1\u09bc"],[2525,1,"\u09a2\u09bc"],[2526,3],[2527,1,"\u09af\u09bc"],[[2528,2531],2],[[2532,2533],3],[[2534,2545],2],[[2546,2554],2],[2555,2],[2556,2],[2557,2],[2558,2],[[2559,2560],3],[2561,2],[2562,2],[2563,2],[2564,3],[[2565,2570],2],[[2571,2574],3],[[2575,2576],2],[[2577,2578],3],[[2579,2600],2],[2601,3],[[2602,2608],2],[2609,3],[2610,2],[2611,1,"\u0a32\u0a3c"],[2612,3],[2613,2],[2614,1,"\u0a38\u0a3c"],[2615,3],[[2616,2617],2],[[2618,2619],3],[2620,2],[2621,3],[[2622,2626],2],[[2627,2630],3],[[2631,2632],2],[[2633,2634],3],[[2635,2637],2],[[2638,2640],3],[2641,2],[[2642,2648],3],[2649,1,"\u0a16\u0a3c"],[2650,1,"\u0a17\u0a3c"],[2651,1,"\u0a1c\u0a3c"],[2652,2],[2653,3],[2654,1,"\u0a2b\u0a3c"],[[2655,2661],3],[[2662,2676],2],[2677,2],[2678,2],[[2679,2688],3],[[2689,2691],2],[2692,3],[[2693,2699],2],[2700,2],[2701,2],[2702,3],[[2703,2705],2],[2706,3],[[2707,2728],2],[2729,3],[[2730,2736],2],[2737,3],[[2738,2739],2],[2740,3],[[2741,2745],2],[[2746,2747],3],[[2748,2757],2],[2758,3],[[2759,2761],2],[2762,3],[[2763,2765],2],[[2766,2767],3],[2768,2],[[2769,2783],3],[2784,2],[[2785,2787],2],[[2788,2789],3],[[2790,2799],2],[2800,2],[2801,2],[[2802,2808],3],[2809,2],[[2810,2815],2],[2816,3],[[2817,2819],2],[2820,3],[[2821,2828],2],[[2829,2830],3],[[2831,2832],2],[[2833,2834],3],[[2835,2856],2],[2857,3],[[2858,2864],2],[2865,3],[[2866,2867],2],[2868,3],[2869,2],[[2870,2873],2],[[2874,2875],3],[[2876,2883],2],[2884,2],[[2885,2886],3],[[2887,2888],2],[[2889,2890],3],[[2891,2893],2],[[2894,2900],3],[2901,2],[[2902,2903],2],[[2904,2907],3],[2908,1,"\u0b21\u0b3c"],[2909,1,"\u0b22\u0b3c"],[2910,3],[[2911,2913],2],[[2914,2915],2],[[2916,2917],3],[[2918,2927],2],[2928,2],[2929,2],[[2930,2935],2],[[2936,2945],3],[[2946,2947],2],[2948,3],[[2949,2954],2],[[2955,2957],3],[[2958,2960],2],[2961,3],[[2962,2965],2],[[2966,2968],3],[[2969,2970],2],[2971,3],[2972,2],[2973,3],[[2974,2975],2],[[2976,2978],3],[[2979,2980],2],[[2981,2983],3],[[2984,2986],2],[[2987,2989],3],[[2990,2997],2],[2998,2],[[2999,3001],2],[[3002,3005],3],[[3006,3010],2],[[3011,3013],3],[[3014,3016],2],[3017,3],[[3018,3021],2],[[3022,3023],3],[3024,2],[[3025,3030],3],[3031,2],[[3032,3045],3],[3046,2],[[3047,3055],2],[[3056,3058],2],[[3059,3066],2],[[3067,3071],3],[3072,2],[[3073,3075],2],[3076,2],[[3077,3084],2],[3085,3],[[3086,3088],2],[3089,3],[[3090,3112],2],[3113,3],[[3114,3123],2],[3124,2],[[3125,3129],2],[[3130,3131],3],[3132,2],[3133,2],[[3134,3140],2],[3141,3],[[3142,3144],2],[3145,3],[[3146,3149],2],[[3150,3156],3],[[3157,3158],2],[3159,3],[[3160,3161],2],[3162,2],[[3163,3164],3],[3165,2],[[3166,3167],3],[[3168,3169],2],[[3170,3171],2],[[3172,3173],3],[[3174,3183],2],[[3184,3190],3],[3191,2],[[3192,3199],2],[3200,2],[3201,2],[[3202,3203],2],[3204,2],[[3205,3212],2],[3213,3],[[3214,3216],2],[3217,3],[[3218,3240],2],[3241,3],[[3242,3251],2],[3252,3],[[3253,3257],2],[[3258,3259],3],[[3260,3261],2],[[3262,3268],2],[3269,3],[[3270,3272],2],[3273,3],[[3274,3277],2],[[3278,3284],3],[[3285,3286],2],[[3287,3292],3],[3293,2],[3294,2],[3295,3],[[3296,3297],2],[[3298,3299],2],[[3300,3301],3],[[3302,3311],2],[3312,3],[[3313,3314],2],[3315,2],[[3316,3327],3],[3328,2],[3329,2],[[3330,3331],2],[3332,2],[[3333,3340],2],[3341,3],[[3342,3344],2],[3345,3],[[3346,3368],2],[3369,2],[[3370,3385],2],[3386,2],[[3387,3388],2],[3389,2],[[3390,3395],2],[3396,2],[3397,3],[[3398,3400],2],[3401,3],[[3402,3405],2],[3406,2],[3407,2],[[3408,3411],3],[[3412,3414],2],[3415,2],[[3416,3422],2],[3423,2],[[3424,3425],2],[[3426,3427],2],[[3428,3429],3],[[3430,3439],2],[[3440,3445],2],[[3446,3448],2],[3449,2],[[3450,3455],2],[3456,3],[3457,2],[[3458,3459],2],[3460,3],[[3461,3478],2],[[3479,3481],3],[[3482,3505],2],[3506,3],[[3507,3515],2],[3516,3],[3517,2],[[3518,3519],3],[[3520,3526],2],[[3527,3529],3],[3530,2],[[3531,3534],3],[[3535,3540],2],[3541,3],[3542,2],[3543,3],[[3544,3551],2],[[3552,3557],3],[[3558,3567],2],[[3568,3569],3],[[3570,3571],2],[3572,2],[[3573,3584],3],[[3585,3634],2],[3635,1,"\u0e4d\u0e32"],[[3636,3642],2],[[3643,3646],3],[3647,2],[[3648,3662],2],[3663,2],[[3664,3673],2],[[3674,3675],2],[[3676,3712],3],[[3713,3714],2],[3715,3],[3716,2],[3717,3],[3718,2],[[3719,3720],2],[3721,2],[3722,2],[3723,3],[3724,2],[3725,2],[[3726,3731],2],[[3732,3735],2],[3736,2],[[3737,3743],2],[3744,2],[[3745,3747],2],[3748,3],[3749,2],[3750,3],[3751,2],[[3752,3753],2],[[3754,3755],2],[3756,2],[[3757,3762],2],[3763,1,"\u0ecd\u0eb2"],[[3764,3769],2],[3770,2],[[3771,3773],2],[[3774,3775],3],[[3776,3780],2],[3781,3],[3782,2],[3783,3],[[3784,3789],2],[3790,2],[3791,3],[[3792,3801],2],[[3802,3803],3],[3804,1,"\u0eab\u0e99"],[3805,1,"\u0eab\u0ea1"],[[3806,3807],2],[[3808,3839],3],[3840,2],[[3841,3850],2],[3851,2],[3852,1,"\u0f0b"],[[3853,3863],2],[[3864,3865],2],[[3866,3871],2],[[3872,3881],2],[[3882,3892],2],[3893,2],[3894,2],[3895,2],[3896,2],[3897,2],[[3898,3901],2],[[3902,3906],2],[3907,1,"\u0f42\u0fb7"],[[3908,3911],2],[3912,3],[[3913,3916],2],[3917,1,"\u0f4c\u0fb7"],[[3918,3921],2],[3922,1,"\u0f51\u0fb7"],[[3923,3926],2],[3927,1,"\u0f56\u0fb7"],[[3928,3931],2],[3932,1,"\u0f5b\u0fb7"],[[3933,3944],2],[3945,1,"\u0f40\u0fb5"],[3946,2],[[3947,3948],2],[[3949,3952],3],[[3953,3954],2],[3955,1,"\u0f71\u0f72"],[3956,2],[3957,1,"\u0f71\u0f74"],[3958,1,"\u0fb2\u0f80"],[3959,1,"\u0fb2\u0f71\u0f80"],[3960,1,"\u0fb3\u0f80"],[3961,1,"\u0fb3\u0f71\u0f80"],[[3962,3968],2],[3969,1,"\u0f71\u0f80"],[[3970,3972],2],[3973,2],[[3974,3979],2],[[3980,3983],2],[[3984,3986],2],[3987,1,"\u0f92\u0fb7"],[[3988,3989],2],[3990,2],[3991,2],[3992,3],[[3993,3996],2],[3997,1,"\u0f9c\u0fb7"],[[3998,4001],2],[4002,1,"\u0fa1\u0fb7"],[[4003,4006],2],[4007,1,"\u0fa6\u0fb7"],[[4008,4011],2],[4012,1,"\u0fab\u0fb7"],[4013,2],[[4014,4016],2],[[4017,4023],2],[4024,2],[4025,1,"\u0f90\u0fb5"],[[4026,4028],2],[4029,3],[[4030,4037],2],[4038,2],[[4039,4044],2],[4045,3],[4046,2],[4047,2],[[4048,4049],2],[[4050,4052],2],[[4053,4056],2],[[4057,4058],2],[[4059,4095],3],[[4096,4129],2],[4130,2],[[4131,4135],2],[4136,2],[[4137,4138],2],[4139,2],[[4140,4146],2],[[4147,4149],2],[[4150,4153],2],[[4154,4159],2],[[4160,4169],2],[[4170,4175],2],[[4176,4185],2],[[4186,4249],2],[[4250,4253],2],[[4254,4255],2],[[4256,4293],3],[4294,3],[4295,1,"\u2d27"],[[4296,4300],3],[4301,1,"\u2d2d"],[[4302,4303],3],[[4304,4342],2],[[4343,4344],2],[[4345,4346],2],[4347,2],[4348,1,"\u10dc"],[[4349,4351],2],[[4352,4441],2],[[4442,4446],2],[[4447,4448],3],[[4449,4514],2],[[4515,4519],2],[[4520,4601],2],[[4602,4607],2],[[4608,4614],2],[4615,2],[[4616,4678],2],[4679,2],[4680,2],[4681,3],[[4682,4685],2],[[4686,4687],3],[[4688,4694],2],[4695,3],[4696,2],[4697,3],[[4698,4701],2],[[4702,4703],3],[[4704,4742],2],[4743,2],[4744,2],[4745,3],[[4746,4749],2],[[4750,4751],3],[[4752,4782],2],[4783,2],[4784,2],[4785,3],[[4786,4789],2],[[4790,4791],3],[[4792,4798],2],[4799,3],[4800,2],[4801,3],[[4802,4805],2],[[4806,4807],3],[[4808,4814],2],[4815,2],[[4816,4822],2],[4823,3],[[4824,4846],2],[4847,2],[[4848,4878],2],[4879,2],[4880,2],[4881,3],[[4882,4885],2],[[4886,4887],3],[[4888,4894],2],[4895,2],[[4896,4934],2],[4935,2],[[4936,4954],2],[[4955,4956],3],[[4957,4958],2],[4959,2],[4960,2],[[4961,4988],2],[[4989,4991],3],[[4992,5007],2],[[5008,5017],2],[[5018,5023],3],[[5024,5108],2],[5109,2],[[5110,5111],3],[5112,1,"\u13f0"],[5113,1,"\u13f1"],[5114,1,"\u13f2"],[5115,1,"\u13f3"],[5116,1,"\u13f4"],[5117,1,"\u13f5"],[[5118,5119],3],[5120,2],[[5121,5740],2],[[5741,5742],2],[[5743,5750],2],[[5751,5759],2],[5760,3],[[5761,5786],2],[[5787,5788],2],[[5789,5791],3],[[5792,5866],2],[[5867,5872],2],[[5873,5880],2],[[5881,5887],3],[[5888,5900],2],[5901,2],[[5902,5908],2],[5909,2],[[5910,5918],3],[5919,2],[[5920,5940],2],[[5941,5942],2],[[5943,5951],3],[[5952,5971],2],[[5972,5983],3],[[5984,5996],2],[5997,3],[[5998,6000],2],[6001,3],[[6002,6003],2],[[6004,6015],3],[[6016,6067],2],[[6068,6069],3],[[6070,6099],2],[[6100,6102],2],[6103,2],[[6104,6107],2],[6108,2],[6109,2],[[6110,6111],3],[[6112,6121],2],[[6122,6127],3],[[6128,6137],2],[[6138,6143],3],[[6144,6149],2],[6150,3],[[6151,6154],2],[[6155,6157],7],[6158,3],[6159,7],[[6160,6169],2],[[6170,6175],3],[[6176,6263],2],[6264,2],[[6265,6271],3],[[6272,6313],2],[6314,2],[[6315,6319],3],[[6320,6389],2],[[6390,6399],3],[[6400,6428],2],[[6429,6430],2],[6431,3],[[6432,6443],2],[[6444,6447],3],[[6448,6459],2],[[6460,6463],3],[6464,2],[[6465,6467],3],[[6468,6469],2],[[6470,6509],2],[[6510,6511],3],[[6512,6516],2],[[6517,6527],3],[[6528,6569],2],[[6570,6571],2],[[6572,6575],3],[[6576,6601],2],[[6602,6607],3],[[6608,6617],2],[6618,2],[[6619,6621],3],[[6622,6623],2],[[6624,6655],2],[[6656,6683],2],[[6684,6685],3],[[6686,6687],2],[[6688,6750],2],[6751,3],[[6752,6780],2],[[6781,6782],3],[[6783,6793],2],[[6794,6799],3],[[6800,6809],2],[[6810,6815],3],[[6816,6822],2],[6823,2],[[6824,6829],2],[[6830,6831],3],[[6832,6845],2],[6846,2],[[6847,6848],2],[[6849,6862],2],[[6863,6911],3],[[6912,6987],2],[6988,2],[[6989,6991],3],[[6992,7001],2],[[7002,7018],2],[[7019,7027],2],[[7028,7036],2],[[7037,7038],2],[7039,3],[[7040,7082],2],[[7083,7085],2],[[7086,7097],2],[[7098,7103],2],[[7104,7155],2],[[7156,7163],3],[[7164,7167],2],[[7168,7223],2],[[7224,7226],3],[[7227,7231],2],[[7232,7241],2],[[7242,7244],3],[[7245,7293],2],[[7294,7295],2],[7296,1,"\u0432"],[7297,1,"\u0434"],[7298,1,"\u043e"],[7299,1,"\u0441"],[[7300,7301],1,"\u0442"],[7302,1,"\u044a"],[7303,1,"\u0463"],[7304,1,"\ua64b"],[[7305,7311],3],[7312,1,"\u10d0"],[7313,1,"\u10d1"],[7314,1,"\u10d2"],[7315,1,"\u10d3"],[7316,1,"\u10d4"],[7317,1,"\u10d5"],[7318,1,"\u10d6"],[7319,1,"\u10d7"],[7320,1,"\u10d8"],[7321,1,"\u10d9"],[7322,1,"\u10da"],[7323,1,"\u10db"],[7324,1,"\u10dc"],[7325,1,"\u10dd"],[7326,1,"\u10de"],[7327,1,"\u10df"],[7328,1,"\u10e0"],[7329,1,"\u10e1"],[7330,1,"\u10e2"],[7331,1,"\u10e3"],[7332,1,"\u10e4"],[7333,1,"\u10e5"],[7334,1,"\u10e6"],[7335,1,"\u10e7"],[7336,1,"\u10e8"],[7337,1,"\u10e9"],[7338,1,"\u10ea"],[7339,1,"\u10eb"],[7340,1,"\u10ec"],[7341,1,"\u10ed"],[7342,1,"\u10ee"],[7343,1,"\u10ef"],[7344,1,"\u10f0"],[7345,1,"\u10f1"],[7346,1,"\u10f2"],[7347,1,"\u10f3"],[7348,1,"\u10f4"],[7349,1,"\u10f5"],[7350,1,"\u10f6"],[7351,1,"\u10f7"],[7352,1,"\u10f8"],[7353,1,"\u10f9"],[7354,1,"\u10fa"],[[7355,7356],3],[7357,1,"\u10fd"],[7358,1,"\u10fe"],[7359,1,"\u10ff"],[[7360,7367],2],[[7368,7375],3],[[7376,7378],2],[7379,2],[[7380,7410],2],[[7411,7414],2],[7415,2],[[7416,7417],2],[7418,2],[[7419,7423],3],[[7424,7467],2],[7468,1,"a"],[7469,1,"\xe6"],[7470,1,"b"],[7471,2],[7472,1,"d"],[7473,1,"e"],[7474,1,"\u01dd"],[7475,1,"g"],[7476,1,"h"],[7477,1,"i"],[7478,1,"j"],[7479,1,"k"],[7480,1,"l"],[7481,1,"m"],[7482,1,"n"],[7483,2],[7484,1,"o"],[7485,1,"\u0223"],[7486,1,"p"],[7487,1,"r"],[7488,1,"t"],[7489,1,"u"],[7490,1,"w"],[7491,1,"a"],[7492,1,"\u0250"],[7493,1,"\u0251"],[7494,1,"\u1d02"],[7495,1,"b"],[7496,1,"d"],[7497,1,"e"],[7498,1,"\u0259"],[7499,1,"\u025b"],[7500,1,"\u025c"],[7501,1,"g"],[7502,2],[7503,1,"k"],[7504,1,"m"],[7505,1,"\u014b"],[7506,1,"o"],[7507,1,"\u0254"],[7508,1,"\u1d16"],[7509,1,"\u1d17"],[7510,1,"p"],[7511,1,"t"],[7512,1,"u"],[7513,1,"\u1d1d"],[7514,1,"\u026f"],[7515,1,"v"],[7516,1,"\u1d25"],[7517,1,"\u03b2"],[7518,1,"\u03b3"],[7519,1,"\u03b4"],[7520,1,"\u03c6"],[7521,1,"\u03c7"],[7522,1,"i"],[7523,1,"r"],[7524,1,"u"],[7525,1,"v"],[7526,1,"\u03b2"],[7527,1,"\u03b3"],[7528,1,"\u03c1"],[7529,1,"\u03c6"],[7530,1,"\u03c7"],[7531,2],[[7532,7543],2],[7544,1,"\u043d"],[[7545,7578],2],[7579,1,"\u0252"],[7580,1,"c"],[7581,1,"\u0255"],[7582,1,"\xf0"],[7583,1,"\u025c"],[7584,1,"f"],[7585,1,"\u025f"],[7586,1,"\u0261"],[7587,1,"\u0265"],[7588,1,"\u0268"],[7589,1,"\u0269"],[7590,1,"\u026a"],[7591,1,"\u1d7b"],[7592,1,"\u029d"],[7593,1,"\u026d"],[7594,1,"\u1d85"],[7595,1,"\u029f"],[7596,1,"\u0271"],[7597,1,"\u0270"],[7598,1,"\u0272"],[7599,1,"\u0273"],[7600,1,"\u0274"],[7601,1,"\u0275"],[7602,1,"\u0278"],[7603,1,"\u0282"],[7604,1,"\u0283"],[7605,1,"\u01ab"],[7606,1,"\u0289"],[7607,1,"\u028a"],[7608,1,"\u1d1c"],[7609,1,"\u028b"],[7610,1,"\u028c"],[7611,1,"z"],[7612,1,"\u0290"],[7613,1,"\u0291"],[7614,1,"\u0292"],[7615,1,"\u03b8"],[[7616,7619],2],[[7620,7626],2],[[7627,7654],2],[[7655,7669],2],[[7670,7673],2],[7674,2],[7675,2],[7676,2],[7677,2],[[7678,7679],2],[7680,1,"\u1e01"],[7681,2],[7682,1,"\u1e03"],[7683,2],[7684,1,"\u1e05"],[7685,2],[7686,1,"\u1e07"],[7687,2],[7688,1,"\u1e09"],[7689,2],[7690,1,"\u1e0b"],[7691,2],[7692,1,"\u1e0d"],[7693,2],[7694,1,"\u1e0f"],[7695,2],[7696,1,"\u1e11"],[7697,2],[7698,1,"\u1e13"],[7699,2],[7700,1,"\u1e15"],[7701,2],[7702,1,"\u1e17"],[7703,2],[7704,1,"\u1e19"],[7705,2],[7706,1,"\u1e1b"],[7707,2],[7708,1,"\u1e1d"],[7709,2],[7710,1,"\u1e1f"],[7711,2],[7712,1,"\u1e21"],[7713,2],[7714,1,"\u1e23"],[7715,2],[7716,1,"\u1e25"],[7717,2],[7718,1,"\u1e27"],[7719,2],[7720,1,"\u1e29"],[7721,2],[7722,1,"\u1e2b"],[7723,2],[7724,1,"\u1e2d"],[7725,2],[7726,1,"\u1e2f"],[7727,2],[7728,1,"\u1e31"],[7729,2],[7730,1,"\u1e33"],[7731,2],[7732,1,"\u1e35"],[7733,2],[7734,1,"\u1e37"],[7735,2],[7736,1,"\u1e39"],[7737,2],[7738,1,"\u1e3b"],[7739,2],[7740,1,"\u1e3d"],[7741,2],[7742,1,"\u1e3f"],[7743,2],[7744,1,"\u1e41"],[7745,2],[7746,1,"\u1e43"],[7747,2],[7748,1,"\u1e45"],[7749,2],[7750,1,"\u1e47"],[7751,2],[7752,1,"\u1e49"],[7753,2],[7754,1,"\u1e4b"],[7755,2],[7756,1,"\u1e4d"],[7757,2],[7758,1,"\u1e4f"],[7759,2],[7760,1,"\u1e51"],[7761,2],[7762,1,"\u1e53"],[7763,2],[7764,1,"\u1e55"],[7765,2],[7766,1,"\u1e57"],[7767,2],[7768,1,"\u1e59"],[7769,2],[7770,1,"\u1e5b"],[7771,2],[7772,1,"\u1e5d"],[7773,2],[7774,1,"\u1e5f"],[7775,2],[7776,1,"\u1e61"],[7777,2],[7778,1,"\u1e63"],[7779,2],[7780,1,"\u1e65"],[7781,2],[7782,1,"\u1e67"],[7783,2],[7784,1,"\u1e69"],[7785,2],[7786,1,"\u1e6b"],[7787,2],[7788,1,"\u1e6d"],[7789,2],[7790,1,"\u1e6f"],[7791,2],[7792,1,"\u1e71"],[7793,2],[7794,1,"\u1e73"],[7795,2],[7796,1,"\u1e75"],[7797,2],[7798,1,"\u1e77"],[7799,2],[7800,1,"\u1e79"],[7801,2],[7802,1,"\u1e7b"],[7803,2],[7804,1,"\u1e7d"],[7805,2],[7806,1,"\u1e7f"],[7807,2],[7808,1,"\u1e81"],[7809,2],[7810,1,"\u1e83"],[7811,2],[7812,1,"\u1e85"],[7813,2],[7814,1,"\u1e87"],[7815,2],[7816,1,"\u1e89"],[7817,2],[7818,1,"\u1e8b"],[7819,2],[7820,1,"\u1e8d"],[7821,2],[7822,1,"\u1e8f"],[7823,2],[7824,1,"\u1e91"],[7825,2],[7826,1,"\u1e93"],[7827,2],[7828,1,"\u1e95"],[[7829,7833],2],[7834,1,"a\u02be"],[7835,1,"\u1e61"],[[7836,7837],2],[7838,1,"\xdf"],[7839,2],[7840,1,"\u1ea1"],[7841,2],[7842,1,"\u1ea3"],[7843,2],[7844,1,"\u1ea5"],[7845,2],[7846,1,"\u1ea7"],[7847,2],[7848,1,"\u1ea9"],[7849,2],[7850,1,"\u1eab"],[7851,2],[7852,1,"\u1ead"],[7853,2],[7854,1,"\u1eaf"],[7855,2],[7856,1,"\u1eb1"],[7857,2],[7858,1,"\u1eb3"],[7859,2],[7860,1,"\u1eb5"],[7861,2],[7862,1,"\u1eb7"],[7863,2],[7864,1,"\u1eb9"],[7865,2],[7866,1,"\u1ebb"],[7867,2],[7868,1,"\u1ebd"],[7869,2],[7870,1,"\u1ebf"],[7871,2],[7872,1,"\u1ec1"],[7873,2],[7874,1,"\u1ec3"],[7875,2],[7876,1,"\u1ec5"],[7877,2],[7878,1,"\u1ec7"],[7879,2],[7880,1,"\u1ec9"],[7881,2],[7882,1,"\u1ecb"],[7883,2],[7884,1,"\u1ecd"],[7885,2],[7886,1,"\u1ecf"],[7887,2],[7888,1,"\u1ed1"],[7889,2],[7890,1,"\u1ed3"],[7891,2],[7892,1,"\u1ed5"],[7893,2],[7894,1,"\u1ed7"],[7895,2],[7896,1,"\u1ed9"],[7897,2],[7898,1,"\u1edb"],[7899,2],[7900,1,"\u1edd"],[7901,2],[7902,1,"\u1edf"],[7903,2],[7904,1,"\u1ee1"],[7905,2],[7906,1,"\u1ee3"],[7907,2],[7908,1,"\u1ee5"],[7909,2],[7910,1,"\u1ee7"],[7911,2],[7912,1,"\u1ee9"],[7913,2],[7914,1,"\u1eeb"],[7915,2],[7916,1,"\u1eed"],[7917,2],[7918,1,"\u1eef"],[7919,2],[7920,1,"\u1ef1"],[7921,2],[7922,1,"\u1ef3"],[7923,2],[7924,1,"\u1ef5"],[7925,2],[7926,1,"\u1ef7"],[7927,2],[7928,1,"\u1ef9"],[7929,2],[7930,1,"\u1efb"],[7931,2],[7932,1,"\u1efd"],[7933,2],[7934,1,"\u1eff"],[7935,2],[[7936,7943],2],[7944,1,"\u1f00"],[7945,1,"\u1f01"],[7946,1,"\u1f02"],[7947,1,"\u1f03"],[7948,1,"\u1f04"],[7949,1,"\u1f05"],[7950,1,"\u1f06"],[7951,1,"\u1f07"],[[7952,7957],2],[[7958,7959],3],[7960,1,"\u1f10"],[7961,1,"\u1f11"],[7962,1,"\u1f12"],[7963,1,"\u1f13"],[7964,1,"\u1f14"],[7965,1,"\u1f15"],[[7966,7967],3],[[7968,7975],2],[7976,1,"\u1f20"],[7977,1,"\u1f21"],[7978,1,"\u1f22"],[7979,1,"\u1f23"],[7980,1,"\u1f24"],[7981,1,"\u1f25"],[7982,1,"\u1f26"],[7983,1,"\u1f27"],[[7984,7991],2],[7992,1,"\u1f30"],[7993,1,"\u1f31"],[7994,1,"\u1f32"],[7995,1,"\u1f33"],[7996,1,"\u1f34"],[7997,1,"\u1f35"],[7998,1,"\u1f36"],[7999,1,"\u1f37"],[[8000,8005],2],[[8006,8007],3],[8008,1,"\u1f40"],[8009,1,"\u1f41"],[8010,1,"\u1f42"],[8011,1,"\u1f43"],[8012,1,"\u1f44"],[8013,1,"\u1f45"],[[8014,8015],3],[[8016,8023],2],[8024,3],[8025,1,"\u1f51"],[8026,3],[8027,1,"\u1f53"],[8028,3],[8029,1,"\u1f55"],[8030,3],[8031,1,"\u1f57"],[[8032,8039],2],[8040,1,"\u1f60"],[8041,1,"\u1f61"],[8042,1,"\u1f62"],[8043,1,"\u1f63"],[8044,1,"\u1f64"],[8045,1,"\u1f65"],[8046,1,"\u1f66"],[8047,1,"\u1f67"],[8048,2],[8049,1,"\u03ac"],[8050,2],[8051,1,"\u03ad"],[8052,2],[8053,1,"\u03ae"],[8054,2],[8055,1,"\u03af"],[8056,2],[8057,1,"\u03cc"],[8058,2],[8059,1,"\u03cd"],[8060,2],[8061,1,"\u03ce"],[[8062,8063],3],[8064,1,"\u1f00\u03b9"],[8065,1,"\u1f01\u03b9"],[8066,1,"\u1f02\u03b9"],[8067,1,"\u1f03\u03b9"],[8068,1,"\u1f04\u03b9"],[8069,1,"\u1f05\u03b9"],[8070,1,"\u1f06\u03b9"],[8071,1,"\u1f07\u03b9"],[8072,1,"\u1f00\u03b9"],[8073,1,"\u1f01\u03b9"],[8074,1,"\u1f02\u03b9"],[8075,1,"\u1f03\u03b9"],[8076,1,"\u1f04\u03b9"],[8077,1,"\u1f05\u03b9"],[8078,1,"\u1f06\u03b9"],[8079,1,"\u1f07\u03b9"],[8080,1,"\u1f20\u03b9"],[8081,1,"\u1f21\u03b9"],[8082,1,"\u1f22\u03b9"],[8083,1,"\u1f23\u03b9"],[8084,1,"\u1f24\u03b9"],[8085,1,"\u1f25\u03b9"],[8086,1,"\u1f26\u03b9"],[8087,1,"\u1f27\u03b9"],[8088,1,"\u1f20\u03b9"],[8089,1,"\u1f21\u03b9"],[8090,1,"\u1f22\u03b9"],[8091,1,"\u1f23\u03b9"],[8092,1,"\u1f24\u03b9"],[8093,1,"\u1f25\u03b9"],[8094,1,"\u1f26\u03b9"],[8095,1,"\u1f27\u03b9"],[8096,1,"\u1f60\u03b9"],[8097,1,"\u1f61\u03b9"],[8098,1,"\u1f62\u03b9"],[8099,1,"\u1f63\u03b9"],[8100,1,"\u1f64\u03b9"],[8101,1,"\u1f65\u03b9"],[8102,1,"\u1f66\u03b9"],[8103,1,"\u1f67\u03b9"],[8104,1,"\u1f60\u03b9"],[8105,1,"\u1f61\u03b9"],[8106,1,"\u1f62\u03b9"],[8107,1,"\u1f63\u03b9"],[8108,1,"\u1f64\u03b9"],[8109,1,"\u1f65\u03b9"],[8110,1,"\u1f66\u03b9"],[8111,1,"\u1f67\u03b9"],[[8112,8113],2],[8114,1,"\u1f70\u03b9"],[8115,1,"\u03b1\u03b9"],[8116,1,"\u03ac\u03b9"],[8117,3],[8118,2],[8119,1,"\u1fb6\u03b9"],[8120,1,"\u1fb0"],[8121,1,"\u1fb1"],[8122,1,"\u1f70"],[8123,1,"\u03ac"],[8124,1,"\u03b1\u03b9"],[8125,5," \u0313"],[8126,1,"\u03b9"],[8127,5," \u0313"],[8128,5," \u0342"],[8129,5," \u0308\u0342"],[8130,1,"\u1f74\u03b9"],[8131,1,"\u03b7\u03b9"],[8132,1,"\u03ae\u03b9"],[8133,3],[8134,2],[8135,1,"\u1fc6\u03b9"],[8136,1,"\u1f72"],[8137,1,"\u03ad"],[8138,1,"\u1f74"],[8139,1,"\u03ae"],[8140,1,"\u03b7\u03b9"],[8141,5," \u0313\u0300"],[8142,5," \u0313\u0301"],[8143,5," \u0313\u0342"],[[8144,8146],2],[8147,1,"\u0390"],[[8148,8149],3],[[8150,8151],2],[8152,1,"\u1fd0"],[8153,1,"\u1fd1"],[8154,1,"\u1f76"],[8155,1,"\u03af"],[8156,3],[8157,5," \u0314\u0300"],[8158,5," \u0314\u0301"],[8159,5," \u0314\u0342"],[[8160,8162],2],[8163,1,"\u03b0"],[[8164,8167],2],[8168,1,"\u1fe0"],[8169,1,"\u1fe1"],[8170,1,"\u1f7a"],[8171,1,"\u03cd"],[8172,1,"\u1fe5"],[8173,5," \u0308\u0300"],[8174,5," \u0308\u0301"],[8175,5,"`"],[[8176,8177],3],[8178,1,"\u1f7c\u03b9"],[8179,1,"\u03c9\u03b9"],[8180,1,"\u03ce\u03b9"],[8181,3],[8182,2],[8183,1,"\u1ff6\u03b9"],[8184,1,"\u1f78"],[8185,1,"\u03cc"],[8186,1,"\u1f7c"],[8187,1,"\u03ce"],[8188,1,"\u03c9\u03b9"],[8189,5," \u0301"],[8190,5," \u0314"],[8191,3],[[8192,8202],5," "],[8203,7],[[8204,8205],6,""],[[8206,8207],3],[8208,2],[8209,1,"\u2010"],[[8210,8214],2],[8215,5," \u0333"],[[8216,8227],2],[[8228,8230],3],[8231,2],[[8232,8238],3],[8239,5," "],[[8240,8242],2],[8243,1,"\u2032\u2032"],[8244,1,"\u2032\u2032\u2032"],[8245,2],[8246,1,"\u2035\u2035"],[8247,1,"\u2035\u2035\u2035"],[[8248,8251],2],[8252,5,"!!"],[8253,2],[8254,5," \u0305"],[[8255,8262],2],[8263,5,"??"],[8264,5,"?!"],[8265,5,"!?"],[[8266,8269],2],[[8270,8274],2],[[8275,8276],2],[[8277,8278],2],[8279,1,"\u2032\u2032\u2032\u2032"],[[8280,8286],2],[8287,5," "],[8288,7],[[8289,8291],3],[8292,7],[8293,3],[[8294,8297],3],[[8298,8303],3],[8304,1,"0"],[8305,1,"i"],[[8306,8307],3],[8308,1,"4"],[8309,1,"5"],[8310,1,"6"],[8311,1,"7"],[8312,1,"8"],[8313,1,"9"],[8314,5,"+"],[8315,1,"\u2212"],[8316,5,"="],[8317,5,"("],[8318,5,")"],[8319,1,"n"],[8320,1,"0"],[8321,1,"1"],[8322,1,"2"],[8323,1,"3"],[8324,1,"4"],[8325,1,"5"],[8326,1,"6"],[8327,1,"7"],[8328,1,"8"],[8329,1,"9"],[8330,5,"+"],[8331,1,"\u2212"],[8332,5,"="],[8333,5,"("],[8334,5,")"],[8335,3],[8336,1,"a"],[8337,1,"e"],[8338,1,"o"],[8339,1,"x"],[8340,1,"\u0259"],[8341,1,"h"],[8342,1,"k"],[8343,1,"l"],[8344,1,"m"],[8345,1,"n"],[8346,1,"p"],[8347,1,"s"],[8348,1,"t"],[[8349,8351],3],[[8352,8359],2],[8360,1,"rs"],[[8361,8362],2],[8363,2],[8364,2],[[8365,8367],2],[[8368,8369],2],[[8370,8373],2],[[8374,8376],2],[8377,2],[8378,2],[[8379,8381],2],[8382,2],[8383,2],[8384,2],[[8385,8399],3],[[8400,8417],2],[[8418,8419],2],[[8420,8426],2],[8427,2],[[8428,8431],2],[8432,2],[[8433,8447],3],[8448,5,"a/c"],[8449,5,"a/s"],[8450,1,"c"],[8451,1,"\xb0c"],[8452,2],[8453,5,"c/o"],[8454,5,"c/u"],[8455,1,"\u025b"],[8456,2],[8457,1,"\xb0f"],[8458,1,"g"],[[8459,8462],1,"h"],[8463,1,"\u0127"],[[8464,8465],1,"i"],[[8466,8467],1,"l"],[8468,2],[8469,1,"n"],[8470,1,"no"],[[8471,8472],2],[8473,1,"p"],[8474,1,"q"],[[8475,8477],1,"r"],[[8478,8479],2],[8480,1,"sm"],[8481,1,"tel"],[8482,1,"tm"],[8483,2],[8484,1,"z"],[8485,2],[8486,1,"\u03c9"],[8487,2],[8488,1,"z"],[8489,2],[8490,1,"k"],[8491,1,"\xe5"],[8492,1,"b"],[8493,1,"c"],[8494,2],[[8495,8496],1,"e"],[8497,1,"f"],[8498,3],[8499,1,"m"],[8500,1,"o"],[8501,1,"\u05d0"],[8502,1,"\u05d1"],[8503,1,"\u05d2"],[8504,1,"\u05d3"],[8505,1,"i"],[8506,2],[8507,1,"fax"],[8508,1,"\u03c0"],[[8509,8510],1,"\u03b3"],[8511,1,"\u03c0"],[8512,1,"\u2211"],[[8513,8516],2],[[8517,8518],1,"d"],[8519,1,"e"],[8520,1,"i"],[8521,1,"j"],[[8522,8523],2],[8524,2],[8525,2],[8526,2],[8527,2],[8528,1,"1\u20447"],[8529,1,"1\u20449"],[8530,1,"1\u204410"],[8531,1,"1\u20443"],[8532,1,"2\u20443"],[8533,1,"1\u20445"],[8534,1,"2\u20445"],[8535,1,"3\u20445"],[8536,1,"4\u20445"],[8537,1,"1\u20446"],[8538,1,"5\u20446"],[8539,1,"1\u20448"],[8540,1,"3\u20448"],[8541,1,"5\u20448"],[8542,1,"7\u20448"],[8543,1,"1\u2044"],[8544,1,"i"],[8545,1,"ii"],[8546,1,"iii"],[8547,1,"iv"],[8548,1,"v"],[8549,1,"vi"],[8550,1,"vii"],[8551,1,"viii"],[8552,1,"ix"],[8553,1,"x"],[8554,1,"xi"],[8555,1,"xii"],[8556,1,"l"],[8557,1,"c"],[8558,1,"d"],[8559,1,"m"],[8560,1,"i"],[8561,1,"ii"],[8562,1,"iii"],[8563,1,"iv"],[8564,1,"v"],[8565,1,"vi"],[8566,1,"vii"],[8567,1,"viii"],[8568,1,"ix"],[8569,1,"x"],[8570,1,"xi"],[8571,1,"xii"],[8572,1,"l"],[8573,1,"c"],[8574,1,"d"],[8575,1,"m"],[[8576,8578],2],[8579,3],[8580,2],[[8581,8584],2],[8585,1,"0\u20443"],[[8586,8587],2],[[8588,8591],3],[[8592,8682],2],[[8683,8691],2],[[8692,8703],2],[[8704,8747],2],[8748,1,"\u222b\u222b"],[8749,1,"\u222b\u222b\u222b"],[8750,2],[8751,1,"\u222e\u222e"],[8752,1,"\u222e\u222e\u222e"],[[8753,8945],2],[[8946,8959],2],[8960,2],[8961,2],[[8962,9000],2],[9001,1,"\u3008"],[9002,1,"\u3009"],[[9003,9082],2],[9083,2],[9084,2],[[9085,9114],2],[[9115,9166],2],[[9167,9168],2],[[9169,9179],2],[[9180,9191],2],[9192,2],[[9193,9203],2],[[9204,9210],2],[[9211,9214],2],[9215,2],[[9216,9252],2],[[9253,9254],2],[[9255,9279],3],[[9280,9290],2],[[9291,9311],3],[9312,1,"1"],[9313,1,"2"],[9314,1,"3"],[9315,1,"4"],[9316,1,"5"],[9317,1,"6"],[9318,1,"7"],[9319,1,"8"],[9320,1,"9"],[9321,1,"10"],[9322,1,"11"],[9323,1,"12"],[9324,1,"13"],[9325,1,"14"],[9326,1,"15"],[9327,1,"16"],[9328,1,"17"],[9329,1,"18"],[9330,1,"19"],[9331,1,"20"],[9332,5,"(1)"],[9333,5,"(2)"],[9334,5,"(3)"],[9335,5,"(4)"],[9336,5,"(5)"],[9337,5,"(6)"],[9338,5,"(7)"],[9339,5,"(8)"],[9340,5,"(9)"],[9341,5,"(10)"],[9342,5,"(11)"],[9343,5,"(12)"],[9344,5,"(13)"],[9345,5,"(14)"],[9346,5,"(15)"],[9347,5,"(16)"],[9348,5,"(17)"],[9349,5,"(18)"],[9350,5,"(19)"],[9351,5,"(20)"],[[9352,9371],3],[9372,5,"(a)"],[9373,5,"(b)"],[9374,5,"(c)"],[9375,5,"(d)"],[9376,5,"(e)"],[9377,5,"(f)"],[9378,5,"(g)"],[9379,5,"(h)"],[9380,5,"(i)"],[9381,5,"(j)"],[9382,5,"(k)"],[9383,5,"(l)"],[9384,5,"(m)"],[9385,5,"(n)"],[9386,5,"(o)"],[9387,5,"(p)"],[9388,5,"(q)"],[9389,5,"(r)"],[9390,5,"(s)"],[9391,5,"(t)"],[9392,5,"(u)"],[9393,5,"(v)"],[9394,5,"(w)"],[9395,5,"(x)"],[9396,5,"(y)"],[9397,5,"(z)"],[9398,1,"a"],[9399,1,"b"],[9400,1,"c"],[9401,1,"d"],[9402,1,"e"],[9403,1,"f"],[9404,1,"g"],[9405,1,"h"],[9406,1,"i"],[9407,1,"j"],[9408,1,"k"],[9409,1,"l"],[9410,1,"m"],[9411,1,"n"],[9412,1,"o"],[9413,1,"p"],[9414,1,"q"],[9415,1,"r"],[9416,1,"s"],[9417,1,"t"],[9418,1,"u"],[9419,1,"v"],[9420,1,"w"],[9421,1,"x"],[9422,1,"y"],[9423,1,"z"],[9424,1,"a"],[9425,1,"b"],[9426,1,"c"],[9427,1,"d"],[9428,1,"e"],[9429,1,"f"],[9430,1,"g"],[9431,1,"h"],[9432,1,"i"],[9433,1,"j"],[9434,1,"k"],[9435,1,"l"],[9436,1,"m"],[9437,1,"n"],[9438,1,"o"],[9439,1,"p"],[9440,1,"q"],[9441,1,"r"],[9442,1,"s"],[9443,1,"t"],[9444,1,"u"],[9445,1,"v"],[9446,1,"w"],[9447,1,"x"],[9448,1,"y"],[9449,1,"z"],[9450,1,"0"],[[9451,9470],2],[9471,2],[[9472,9621],2],[[9622,9631],2],[[9632,9711],2],[[9712,9719],2],[[9720,9727],2],[[9728,9747],2],[[9748,9749],2],[[9750,9751],2],[9752,2],[9753,2],[[9754,9839],2],[[9840,9841],2],[[9842,9853],2],[[9854,9855],2],[[9856,9865],2],[[9866,9873],2],[[9874,9884],2],[9885,2],[[9886,9887],2],[[9888,9889],2],[[9890,9905],2],[9906,2],[[9907,9916],2],[[9917,9919],2],[[9920,9923],2],[[9924,9933],2],[9934,2],[[9935,9953],2],[9954,2],[9955,2],[[9956,9959],2],[[9960,9983],2],[9984,2],[[9985,9988],2],[9989,2],[[9990,9993],2],[[9994,9995],2],[[9996,10023],2],[10024,2],[[10025,10059],2],[10060,2],[10061,2],[10062,2],[[10063,10066],2],[[10067,10069],2],[10070,2],[10071,2],[[10072,10078],2],[[10079,10080],2],[[10081,10087],2],[[10088,10101],2],[[10102,10132],2],[[10133,10135],2],[[10136,10159],2],[10160,2],[[10161,10174],2],[10175,2],[[10176,10182],2],[[10183,10186],2],[10187,2],[10188,2],[10189,2],[[10190,10191],2],[[10192,10219],2],[[10220,10223],2],[[10224,10239],2],[[10240,10495],2],[[10496,10763],2],[10764,1,"\u222b\u222b\u222b\u222b"],[[10765,10867],2],[10868,5,"::="],[10869,5,"=="],[10870,5,"==="],[[10871,10971],2],[10972,1,"\u2add\u0338"],[[10973,11007],2],[[11008,11021],2],[[11022,11027],2],[[11028,11034],2],[[11035,11039],2],[[11040,11043],2],[[11044,11084],2],[[11085,11087],2],[[11088,11092],2],[[11093,11097],2],[[11098,11123],2],[[11124,11125],3],[[11126,11157],2],[11158,3],[11159,2],[[11160,11193],2],[[11194,11196],2],[[11197,11208],2],[11209,2],[[11210,11217],2],[11218,2],[[11219,11243],2],[[11244,11247],2],[[11248,11262],2],[11263,2],[11264,1,"\u2c30"],[11265,1,"\u2c31"],[11266,1,"\u2c32"],[11267,1,"\u2c33"],[11268,1,"\u2c34"],[11269,1,"\u2c35"],[11270,1,"\u2c36"],[11271,1,"\u2c37"],[11272,1,"\u2c38"],[11273,1,"\u2c39"],[11274,1,"\u2c3a"],[11275,1,"\u2c3b"],[11276,1,"\u2c3c"],[11277,1,"\u2c3d"],[11278,1,"\u2c3e"],[11279,1,"\u2c3f"],[11280,1,"\u2c40"],[11281,1,"\u2c41"],[11282,1,"\u2c42"],[11283,1,"\u2c43"],[11284,1,"\u2c44"],[11285,1,"\u2c45"],[11286,1,"\u2c46"],[11287,1,"\u2c47"],[11288,1,"\u2c48"],[11289,1,"\u2c49"],[11290,1,"\u2c4a"],[11291,1,"\u2c4b"],[11292,1,"\u2c4c"],[11293,1,"\u2c4d"],[11294,1,"\u2c4e"],[11295,1,"\u2c4f"],[11296,1,"\u2c50"],[11297,1,"\u2c51"],[11298,1,"\u2c52"],[11299,1,"\u2c53"],[11300,1,"\u2c54"],[11301,1,"\u2c55"],[11302,1,"\u2c56"],[11303,1,"\u2c57"],[11304,1,"\u2c58"],[11305,1,"\u2c59"],[11306,1,"\u2c5a"],[11307,1,"\u2c5b"],[11308,1,"\u2c5c"],[11309,1,"\u2c5d"],[11310,1,"\u2c5e"],[11311,1,"\u2c5f"],[[11312,11358],2],[11359,2],[11360,1,"\u2c61"],[11361,2],[11362,1,"\u026b"],[11363,1,"\u1d7d"],[11364,1,"\u027d"],[[11365,11366],2],[11367,1,"\u2c68"],[11368,2],[11369,1,"\u2c6a"],[11370,2],[11371,1,"\u2c6c"],[11372,2],[11373,1,"\u0251"],[11374,1,"\u0271"],[11375,1,"\u0250"],[11376,1,"\u0252"],[11377,2],[11378,1,"\u2c73"],[11379,2],[11380,2],[11381,1,"\u2c76"],[[11382,11383],2],[[11384,11387],2],[11388,1,"j"],[11389,1,"v"],[11390,1,"\u023f"],[11391,1,"\u0240"],[11392,1,"\u2c81"],[11393,2],[11394,1,"\u2c83"],[11395,2],[11396,1,"\u2c85"],[11397,2],[11398,1,"\u2c87"],[11399,2],[11400,1,"\u2c89"],[11401,2],[11402,1,"\u2c8b"],[11403,2],[11404,1,"\u2c8d"],[11405,2],[11406,1,"\u2c8f"],[11407,2],[11408,1,"\u2c91"],[11409,2],[11410,1,"\u2c93"],[11411,2],[11412,1,"\u2c95"],[11413,2],[11414,1,"\u2c97"],[11415,2],[11416,1,"\u2c99"],[11417,2],[11418,1,"\u2c9b"],[11419,2],[11420,1,"\u2c9d"],[11421,2],[11422,1,"\u2c9f"],[11423,2],[11424,1,"\u2ca1"],[11425,2],[11426,1,"\u2ca3"],[11427,2],[11428,1,"\u2ca5"],[11429,2],[11430,1,"\u2ca7"],[11431,2],[11432,1,"\u2ca9"],[11433,2],[11434,1,"\u2cab"],[11435,2],[11436,1,"\u2cad"],[11437,2],[11438,1,"\u2caf"],[11439,2],[11440,1,"\u2cb1"],[11441,2],[11442,1,"\u2cb3"],[11443,2],[11444,1,"\u2cb5"],[11445,2],[11446,1,"\u2cb7"],[11447,2],[11448,1,"\u2cb9"],[11449,2],[11450,1,"\u2cbb"],[11451,2],[11452,1,"\u2cbd"],[11453,2],[11454,1,"\u2cbf"],[11455,2],[11456,1,"\u2cc1"],[11457,2],[11458,1,"\u2cc3"],[11459,2],[11460,1,"\u2cc5"],[11461,2],[11462,1,"\u2cc7"],[11463,2],[11464,1,"\u2cc9"],[11465,2],[11466,1,"\u2ccb"],[11467,2],[11468,1,"\u2ccd"],[11469,2],[11470,1,"\u2ccf"],[11471,2],[11472,1,"\u2cd1"],[11473,2],[11474,1,"\u2cd3"],[11475,2],[11476,1,"\u2cd5"],[11477,2],[11478,1,"\u2cd7"],[11479,2],[11480,1,"\u2cd9"],[11481,2],[11482,1,"\u2cdb"],[11483,2],[11484,1,"\u2cdd"],[11485,2],[11486,1,"\u2cdf"],[11487,2],[11488,1,"\u2ce1"],[11489,2],[11490,1,"\u2ce3"],[[11491,11492],2],[[11493,11498],2],[11499,1,"\u2cec"],[11500,2],[11501,1,"\u2cee"],[[11502,11505],2],[11506,1,"\u2cf3"],[11507,2],[[11508,11512],3],[[11513,11519],2],[[11520,11557],2],[11558,3],[11559,2],[[11560,11564],3],[11565,2],[[11566,11567],3],[[11568,11621],2],[[11622,11623],2],[[11624,11630],3],[11631,1,"\u2d61"],[11632,2],[[11633,11646],3],[11647,2],[[11648,11670],2],[[11671,11679],3],[[11680,11686],2],[11687,3],[[11688,11694],2],[11695,3],[[11696,11702],2],[11703,3],[[11704,11710],2],[11711,3],[[11712,11718],2],[11719,3],[[11720,11726],2],[11727,3],[[11728,11734],2],[11735,3],[[11736,11742],2],[11743,3],[[11744,11775],2],[[11776,11799],2],[[11800,11803],2],[[11804,11805],2],[[11806,11822],2],[11823,2],[11824,2],[11825,2],[[11826,11835],2],[[11836,11842],2],[[11843,11844],2],[[11845,11849],2],[[11850,11854],2],[11855,2],[[11856,11858],2],[[11859,11869],2],[[11870,11903],3],[[11904,11929],2],[11930,3],[[11931,11934],2],[11935,1,"\u6bcd"],[[11936,12018],2],[12019,1,"\u9f9f"],[[12020,12031],3],[12032,1,"\u4e00"],[12033,1,"\u4e28"],[12034,1,"\u4e36"],[12035,1,"\u4e3f"],[12036,1,"\u4e59"],[12037,1,"\u4e85"],[12038,1,"\u4e8c"],[12039,1,"\u4ea0"],[12040,1,"\u4eba"],[12041,1,"\u513f"],[12042,1,"\u5165"],[12043,1,"\u516b"],[12044,1,"\u5182"],[12045,1,"\u5196"],[12046,1,"\u51ab"],[12047,1,"\u51e0"],[12048,1,"\u51f5"],[12049,1,"\u5200"],[12050,1,"\u529b"],[12051,1,"\u52f9"],[12052,1,"\u5315"],[12053,1,"\u531a"],[12054,1,"\u5338"],[12055,1,"\u5341"],[12056,1,"\u535c"],[12057,1,"\u5369"],[12058,1,"\u5382"],[12059,1,"\u53b6"],[12060,1,"\u53c8"],[12061,1,"\u53e3"],[12062,1,"\u56d7"],[12063,1,"\u571f"],[12064,1,"\u58eb"],[12065,1,"\u5902"],[12066,1,"\u590a"],[12067,1,"\u5915"],[12068,1,"\u5927"],[12069,1,"\u5973"],[12070,1,"\u5b50"],[12071,1,"\u5b80"],[12072,1,"\u5bf8"],[12073,1,"\u5c0f"],[12074,1,"\u5c22"],[12075,1,"\u5c38"],[12076,1,"\u5c6e"],[12077,1,"\u5c71"],[12078,1,"\u5ddb"],[12079,1,"\u5de5"],[12080,1,"\u5df1"],[12081,1,"\u5dfe"],[12082,1,"\u5e72"],[12083,1,"\u5e7a"],[12084,1,"\u5e7f"],[12085,1,"\u5ef4"],[12086,1,"\u5efe"],[12087,1,"\u5f0b"],[12088,1,"\u5f13"],[12089,1,"\u5f50"],[12090,1,"\u5f61"],[12091,1,"\u5f73"],[12092,1,"\u5fc3"],[12093,1,"\u6208"],[12094,1,"\u6236"],[12095,1,"\u624b"],[12096,1,"\u652f"],[12097,1,"\u6534"],[12098,1,"\u6587"],[12099,1,"\u6597"],[12100,1,"\u65a4"],[12101,1,"\u65b9"],[12102,1,"\u65e0"],[12103,1,"\u65e5"],[12104,1,"\u66f0"],[12105,1,"\u6708"],[12106,1,"\u6728"],[12107,1,"\u6b20"],[12108,1,"\u6b62"],[12109,1,"\u6b79"],[12110,1,"\u6bb3"],[12111,1,"\u6bcb"],[12112,1,"\u6bd4"],[12113,1,"\u6bdb"],[12114,1,"\u6c0f"],[12115,1,"\u6c14"],[12116,1,"\u6c34"],[12117,1,"\u706b"],[12118,1,"\u722a"],[12119,1,"\u7236"],[12120,1,"\u723b"],[12121,1,"\u723f"],[12122,1,"\u7247"],[12123,1,"\u7259"],[12124,1,"\u725b"],[12125,1,"\u72ac"],[12126,1,"\u7384"],[12127,1,"\u7389"],[12128,1,"\u74dc"],[12129,1,"\u74e6"],[12130,1,"\u7518"],[12131,1,"\u751f"],[12132,1,"\u7528"],[12133,1,"\u7530"],[12134,1,"\u758b"],[12135,1,"\u7592"],[12136,1,"\u7676"],[12137,1,"\u767d"],[12138,1,"\u76ae"],[12139,1,"\u76bf"],[12140,1,"\u76ee"],[12141,1,"\u77db"],[12142,1,"\u77e2"],[12143,1,"\u77f3"],[12144,1,"\u793a"],[12145,1,"\u79b8"],[12146,1,"\u79be"],[12147,1,"\u7a74"],[12148,1,"\u7acb"],[12149,1,"\u7af9"],[12150,1,"\u7c73"],[12151,1,"\u7cf8"],[12152,1,"\u7f36"],[12153,1,"\u7f51"],[12154,1,"\u7f8a"],[12155,1,"\u7fbd"],[12156,1,"\u8001"],[12157,1,"\u800c"],[12158,1,"\u8012"],[12159,1,"\u8033"],[12160,1,"\u807f"],[12161,1,"\u8089"],[12162,1,"\u81e3"],[12163,1,"\u81ea"],[12164,1,"\u81f3"],[12165,1,"\u81fc"],[12166,1,"\u820c"],[12167,1,"\u821b"],[12168,1,"\u821f"],[12169,1,"\u826e"],[12170,1,"\u8272"],[12171,1,"\u8278"],[12172,1,"\u864d"],[12173,1,"\u866b"],[12174,1,"\u8840"],[12175,1,"\u884c"],[12176,1,"\u8863"],[12177,1,"\u897e"],[12178,1,"\u898b"],[12179,1,"\u89d2"],[12180,1,"\u8a00"],[12181,1,"\u8c37"],[12182,1,"\u8c46"],[12183,1,"\u8c55"],[12184,1,"\u8c78"],[12185,1,"\u8c9d"],[12186,1,"\u8d64"],[12187,1,"\u8d70"],[12188,1,"\u8db3"],[12189,1,"\u8eab"],[12190,1,"\u8eca"],[12191,1,"\u8f9b"],[12192,1,"\u8fb0"],[12193,1,"\u8fb5"],[12194,1,"\u9091"],[12195,1,"\u9149"],[12196,1,"\u91c6"],[12197,1,"\u91cc"],[12198,1,"\u91d1"],[12199,1,"\u9577"],[12200,1,"\u9580"],[12201,1,"\u961c"],[12202,1,"\u96b6"],[12203,1,"\u96b9"],[12204,1,"\u96e8"],[12205,1,"\u9751"],[12206,1,"\u975e"],[12207,1,"\u9762"],[12208,1,"\u9769"],[12209,1,"\u97cb"],[12210,1,"\u97ed"],[12211,1,"\u97f3"],[12212,1,"\u9801"],[12213,1,"\u98a8"],[12214,1,"\u98db"],[12215,1,"\u98df"],[12216,1,"\u9996"],[12217,1,"\u9999"],[12218,1,"\u99ac"],[12219,1,"\u9aa8"],[12220,1,"\u9ad8"],[12221,1,"\u9adf"],[12222,1,"\u9b25"],[12223,1,"\u9b2f"],[12224,1,"\u9b32"],[12225,1,"\u9b3c"],[12226,1,"\u9b5a"],[12227,1,"\u9ce5"],[12228,1,"\u9e75"],[12229,1,"\u9e7f"],[12230,1,"\u9ea5"],[12231,1,"\u9ebb"],[12232,1,"\u9ec3"],[12233,1,"\u9ecd"],[12234,1,"\u9ed1"],[12235,1,"\u9ef9"],[12236,1,"\u9efd"],[12237,1,"\u9f0e"],[12238,1,"\u9f13"],[12239,1,"\u9f20"],[12240,1,"\u9f3b"],[12241,1,"\u9f4a"],[12242,1,"\u9f52"],[12243,1,"\u9f8d"],[12244,1,"\u9f9c"],[12245,1,"\u9fa0"],[[12246,12271],3],[[12272,12283],3],[[12284,12287],3],[12288,5," "],[12289,2],[12290,1,"."],[[12291,12292],2],[[12293,12295],2],[[12296,12329],2],[[12330,12333],2],[[12334,12341],2],[12342,1,"\u3012"],[12343,2],[12344,1,"\u5341"],[12345,1,"\u5344"],[12346,1,"\u5345"],[12347,2],[12348,2],[12349,2],[12350,2],[12351,2],[12352,3],[[12353,12436],2],[[12437,12438],2],[[12439,12440],3],[[12441,12442],2],[12443,5," \u3099"],[12444,5," \u309a"],[[12445,12446],2],[12447,1,"\u3088\u308a"],[12448,2],[[12449,12542],2],[12543,1,"\u30b3\u30c8"],[[12544,12548],3],[[12549,12588],2],[12589,2],[12590,2],[12591,2],[12592,3],[12593,1,"\u1100"],[12594,1,"\u1101"],[12595,1,"\u11aa"],[12596,1,"\u1102"],[12597,1,"\u11ac"],[12598,1,"\u11ad"],[12599,1,"\u1103"],[12600,1,"\u1104"],[12601,1,"\u1105"],[12602,1,"\u11b0"],[12603,1,"\u11b1"],[12604,1,"\u11b2"],[12605,1,"\u11b3"],[12606,1,"\u11b4"],[12607,1,"\u11b5"],[12608,1,"\u111a"],[12609,1,"\u1106"],[12610,1,"\u1107"],[12611,1,"\u1108"],[12612,1,"\u1121"],[12613,1,"\u1109"],[12614,1,"\u110a"],[12615,1,"\u110b"],[12616,1,"\u110c"],[12617,1,"\u110d"],[12618,1,"\u110e"],[12619,1,"\u110f"],[12620,1,"\u1110"],[12621,1,"\u1111"],[12622,1,"\u1112"],[12623,1,"\u1161"],[12624,1,"\u1162"],[12625,1,"\u1163"],[12626,1,"\u1164"],[12627,1,"\u1165"],[12628,1,"\u1166"],[12629,1,"\u1167"],[12630,1,"\u1168"],[12631,1,"\u1169"],[12632,1,"\u116a"],[12633,1,"\u116b"],[12634,1,"\u116c"],[12635,1,"\u116d"],[12636,1,"\u116e"],[12637,1,"\u116f"],[12638,1,"\u1170"],[12639,1,"\u1171"],[12640,1,"\u1172"],[12641,1,"\u1173"],[12642,1,"\u1174"],[12643,1,"\u1175"],[12644,3],[12645,1,"\u1114"],[12646,1,"\u1115"],[12647,1,"\u11c7"],[12648,1,"\u11c8"],[12649,1,"\u11cc"],[12650,1,"\u11ce"],[12651,1,"\u11d3"],[12652,1,"\u11d7"],[12653,1,"\u11d9"],[12654,1,"\u111c"],[12655,1,"\u11dd"],[12656,1,"\u11df"],[12657,1,"\u111d"],[12658,1,"\u111e"],[12659,1,"\u1120"],[12660,1,"\u1122"],[12661,1,"\u1123"],[12662,1,"\u1127"],[12663,1,"\u1129"],[12664,1,"\u112b"],[12665,1,"\u112c"],[12666,1,"\u112d"],[12667,1,"\u112e"],[12668,1,"\u112f"],[12669,1,"\u1132"],[12670,1,"\u1136"],[12671,1,"\u1140"],[12672,1,"\u1147"],[12673,1,"\u114c"],[12674,1,"\u11f1"],[12675,1,"\u11f2"],[12676,1,"\u1157"],[12677,1,"\u1158"],[12678,1,"\u1159"],[12679,1,"\u1184"],[12680,1,"\u1185"],[12681,1,"\u1188"],[12682,1,"\u1191"],[12683,1,"\u1192"],[12684,1,"\u1194"],[12685,1,"\u119e"],[12686,1,"\u11a1"],[12687,3],[[12688,12689],2],[12690,1,"\u4e00"],[12691,1,"\u4e8c"],[12692,1,"\u4e09"],[12693,1,"\u56db"],[12694,1,"\u4e0a"],[12695,1,"\u4e2d"],[12696,1,"\u4e0b"],[12697,1,"\u7532"],[12698,1,"\u4e59"],[12699,1,"\u4e19"],[12700,1,"\u4e01"],[12701,1,"\u5929"],[12702,1,"\u5730"],[12703,1,"\u4eba"],[[12704,12727],2],[[12728,12730],2],[[12731,12735],2],[[12736,12751],2],[[12752,12771],2],[[12772,12782],3],[12783,3],[[12784,12799],2],[12800,5,"(\u1100)"],[12801,5,"(\u1102)"],[12802,5,"(\u1103)"],[12803,5,"(\u1105)"],[12804,5,"(\u1106)"],[12805,5,"(\u1107)"],[12806,5,"(\u1109)"],[12807,5,"(\u110b)"],[12808,5,"(\u110c)"],[12809,5,"(\u110e)"],[12810,5,"(\u110f)"],[12811,5,"(\u1110)"],[12812,5,"(\u1111)"],[12813,5,"(\u1112)"],[12814,5,"(\uac00)"],[12815,5,"(\ub098)"],[12816,5,"(\ub2e4)"],[12817,5,"(\ub77c)"],[12818,5,"(\ub9c8)"],[12819,5,"(\ubc14)"],[12820,5,"(\uc0ac)"],[12821,5,"(\uc544)"],[12822,5,"(\uc790)"],[12823,5,"(\ucc28)"],[12824,5,"(\uce74)"],[12825,5,"(\ud0c0)"],[12826,5,"(\ud30c)"],[12827,5,"(\ud558)"],[12828,5,"(\uc8fc)"],[12829,5,"(\uc624\uc804)"],[12830,5,"(\uc624\ud6c4)"],[12831,3],[12832,5,"(\u4e00)"],[12833,5,"(\u4e8c)"],[12834,5,"(\u4e09)"],[12835,5,"(\u56db)"],[12836,5,"(\u4e94)"],[12837,5,"(\u516d)"],[12838,5,"(\u4e03)"],[12839,5,"(\u516b)"],[12840,5,"(\u4e5d)"],[12841,5,"(\u5341)"],[12842,5,"(\u6708)"],[12843,5,"(\u706b)"],[12844,5,"(\u6c34)"],[12845,5,"(\u6728)"],[12846,5,"(\u91d1)"],[12847,5,"(\u571f)"],[12848,5,"(\u65e5)"],[12849,5,"(\u682a)"],[12850,5,"(\u6709)"],[12851,5,"(\u793e)"],[12852,5,"(\u540d)"],[12853,5,"(\u7279)"],[12854,5,"(\u8ca1)"],[12855,5,"(\u795d)"],[12856,5,"(\u52b4)"],[12857,5,"(\u4ee3)"],[12858,5,"(\u547c)"],[12859,5,"(\u5b66)"],[12860,5,"(\u76e3)"],[12861,5,"(\u4f01)"],[12862,5,"(\u8cc7)"],[12863,5,"(\u5354)"],[12864,5,"(\u796d)"],[12865,5,"(\u4f11)"],[12866,5,"(\u81ea)"],[12867,5,"(\u81f3)"],[12868,1,"\u554f"],[12869,1,"\u5e7c"],[12870,1,"\u6587"],[12871,1,"\u7b8f"],[[12872,12879],2],[12880,1,"pte"],[12881,1,"21"],[12882,1,"22"],[12883,1,"23"],[12884,1,"24"],[12885,1,"25"],[12886,1,"26"],[12887,1,"27"],[12888,1,"28"],[12889,1,"29"],[12890,1,"30"],[12891,1,"31"],[12892,1,"32"],[12893,1,"33"],[12894,1,"34"],[12895,1,"35"],[12896,1,"\u1100"],[12897,1,"\u1102"],[12898,1,"\u1103"],[12899,1,"\u1105"],[12900,1,"\u1106"],[12901,1,"\u1107"],[12902,1,"\u1109"],[12903,1,"\u110b"],[12904,1,"\u110c"],[12905,1,"\u110e"],[12906,1,"\u110f"],[12907,1,"\u1110"],[12908,1,"\u1111"],[12909,1,"\u1112"],[12910,1,"\uac00"],[12911,1,"\ub098"],[12912,1,"\ub2e4"],[12913,1,"\ub77c"],[12914,1,"\ub9c8"],[12915,1,"\ubc14"],[12916,1,"\uc0ac"],[12917,1,"\uc544"],[12918,1,"\uc790"],[12919,1,"\ucc28"],[12920,1,"\uce74"],[12921,1,"\ud0c0"],[12922,1,"\ud30c"],[12923,1,"\ud558"],[12924,1,"\ucc38\uace0"],[12925,1,"\uc8fc\uc758"],[12926,1,"\uc6b0"],[12927,2],[12928,1,"\u4e00"],[12929,1,"\u4e8c"],[12930,1,"\u4e09"],[12931,1,"\u56db"],[12932,1,"\u4e94"],[12933,1,"\u516d"],[12934,1,"\u4e03"],[12935,1,"\u516b"],[12936,1,"\u4e5d"],[12937,1,"\u5341"],[12938,1,"\u6708"],[12939,1,"\u706b"],[12940,1,"\u6c34"],[12941,1,"\u6728"],[12942,1,"\u91d1"],[12943,1,"\u571f"],[12944,1,"\u65e5"],[12945,1,"\u682a"],[12946,1,"\u6709"],[12947,1,"\u793e"],[12948,1,"\u540d"],[12949,1,"\u7279"],[12950,1,"\u8ca1"],[12951,1,"\u795d"],[12952,1,"\u52b4"],[12953,1,"\u79d8"],[12954,1,"\u7537"],[12955,1,"\u5973"],[12956,1,"\u9069"],[12957,1,"\u512a"],[12958,1,"\u5370"],[12959,1,"\u6ce8"],[12960,1,"\u9805"],[12961,1,"\u4f11"],[12962,1,"\u5199"],[12963,1,"\u6b63"],[12964,1,"\u4e0a"],[12965,1,"\u4e2d"],[12966,1,"\u4e0b"],[12967,1,"\u5de6"],[12968,1,"\u53f3"],[12969,1,"\u533b"],[12970,1,"\u5b97"],[12971,1,"\u5b66"],[12972,1,"\u76e3"],[12973,1,"\u4f01"],[12974,1,"\u8cc7"],[12975,1,"\u5354"],[12976,1,"\u591c"],[12977,1,"36"],[12978,1,"37"],[12979,1,"38"],[12980,1,"39"],[12981,1,"40"],[12982,1,"41"],[12983,1,"42"],[12984,1,"43"],[12985,1,"44"],[12986,1,"45"],[12987,1,"46"],[12988,1,"47"],[12989,1,"48"],[12990,1,"49"],[12991,1,"50"],[12992,1,"1\u6708"],[12993,1,"2\u6708"],[12994,1,"3\u6708"],[12995,1,"4\u6708"],[12996,1,"5\u6708"],[12997,1,"6\u6708"],[12998,1,"7\u6708"],[12999,1,"8\u6708"],[13000,1,"9\u6708"],[13001,1,"10\u6708"],[13002,1,"11\u6708"],[13003,1,"12\u6708"],[13004,1,"hg"],[13005,1,"erg"],[13006,1,"ev"],[13007,1,"ltd"],[13008,1,"\u30a2"],[13009,1,"\u30a4"],[13010,1,"\u30a6"],[13011,1,"\u30a8"],[13012,1,"\u30aa"],[13013,1,"\u30ab"],[13014,1,"\u30ad"],[13015,1,"\u30af"],[13016,1,"\u30b1"],[13017,1,"\u30b3"],[13018,1,"\u30b5"],[13019,1,"\u30b7"],[13020,1,"\u30b9"],[13021,1,"\u30bb"],[13022,1,"\u30bd"],[13023,1,"\u30bf"],[13024,1,"\u30c1"],[13025,1,"\u30c4"],[13026,1,"\u30c6"],[13027,1,"\u30c8"],[13028,1,"\u30ca"],[13029,1,"\u30cb"],[13030,1,"\u30cc"],[13031,1,"\u30cd"],[13032,1,"\u30ce"],[13033,1,"\u30cf"],[13034,1,"\u30d2"],[13035,1,"\u30d5"],[13036,1,"\u30d8"],[13037,1,"\u30db"],[13038,1,"\u30de"],[13039,1,"\u30df"],[13040,1,"\u30e0"],[13041,1,"\u30e1"],[13042,1,"\u30e2"],[13043,1,"\u30e4"],[13044,1,"\u30e6"],[13045,1,"\u30e8"],[13046,1,"\u30e9"],[13047,1,"\u30ea"],[13048,1,"\u30eb"],[13049,1,"\u30ec"],[13050,1,"\u30ed"],[13051,1,"\u30ef"],[13052,1,"\u30f0"],[13053,1,"\u30f1"],[13054,1,"\u30f2"],[13055,1,"\u4ee4\u548c"],[13056,1,"\u30a2\u30d1\u30fc\u30c8"],[13057,1,"\u30a2\u30eb\u30d5\u30a1"],[13058,1,"\u30a2\u30f3\u30da\u30a2"],[13059,1,"\u30a2\u30fc\u30eb"],[13060,1,"\u30a4\u30cb\u30f3\u30b0"],[13061,1,"\u30a4\u30f3\u30c1"],[13062,1,"\u30a6\u30a9\u30f3"],[13063,1,"\u30a8\u30b9\u30af\u30fc\u30c9"],[13064,1,"\u30a8\u30fc\u30ab\u30fc"],[13065,1,"\u30aa\u30f3\u30b9"],[13066,1,"\u30aa\u30fc\u30e0"],[13067,1,"\u30ab\u30a4\u30ea"],[13068,1,"\u30ab\u30e9\u30c3\u30c8"],[13069,1,"\u30ab\u30ed\u30ea\u30fc"],[13070,1,"\u30ac\u30ed\u30f3"],[13071,1,"\u30ac\u30f3\u30de"],[13072,1,"\u30ae\u30ac"],[13073,1,"\u30ae\u30cb\u30fc"],[13074,1,"\u30ad\u30e5\u30ea\u30fc"],[13075,1,"\u30ae\u30eb\u30c0\u30fc"],[13076,1,"\u30ad\u30ed"],[13077,1,"\u30ad\u30ed\u30b0\u30e9\u30e0"],[13078,1,"\u30ad\u30ed\u30e1\u30fc\u30c8\u30eb"],[13079,1,"\u30ad\u30ed\u30ef\u30c3\u30c8"],[13080,1,"\u30b0\u30e9\u30e0"],[13081,1,"\u30b0\u30e9\u30e0\u30c8\u30f3"],[13082,1,"\u30af\u30eb\u30bc\u30a4\u30ed"],[13083,1,"\u30af\u30ed\u30fc\u30cd"],[13084,1,"\u30b1\u30fc\u30b9"],[13085,1,"\u30b3\u30eb\u30ca"],[13086,1,"\u30b3\u30fc\u30dd"],[13087,1,"\u30b5\u30a4\u30af\u30eb"],[13088,1,"\u30b5\u30f3\u30c1\u30fc\u30e0"],[13089,1,"\u30b7\u30ea\u30f3\u30b0"],[13090,1,"\u30bb\u30f3\u30c1"],[13091,1,"\u30bb\u30f3\u30c8"],[13092,1,"\u30c0\u30fc\u30b9"],[13093,1,"\u30c7\u30b7"],[13094,1,"\u30c9\u30eb"],[13095,1,"\u30c8\u30f3"],[13096,1,"\u30ca\u30ce"],[13097,1,"\u30ce\u30c3\u30c8"],[13098,1,"\u30cf\u30a4\u30c4"],[13099,1,"\u30d1\u30fc\u30bb\u30f3\u30c8"],[13100,1,"\u30d1\u30fc\u30c4"],[13101,1,"\u30d0\u30fc\u30ec\u30eb"],[13102,1,"\u30d4\u30a2\u30b9\u30c8\u30eb"],[13103,1,"\u30d4\u30af\u30eb"],[13104,1,"\u30d4\u30b3"],[13105,1,"\u30d3\u30eb"],[13106,1,"\u30d5\u30a1\u30e9\u30c3\u30c9"],[13107,1,"\u30d5\u30a3\u30fc\u30c8"],[13108,1,"\u30d6\u30c3\u30b7\u30a7\u30eb"],[13109,1,"\u30d5\u30e9\u30f3"],[13110,1,"\u30d8\u30af\u30bf\u30fc\u30eb"],[13111,1,"\u30da\u30bd"],[13112,1,"\u30da\u30cb\u30d2"],[13113,1,"\u30d8\u30eb\u30c4"],[13114,1,"\u30da\u30f3\u30b9"],[13115,1,"\u30da\u30fc\u30b8"],[13116,1,"\u30d9\u30fc\u30bf"],[13117,1,"\u30dd\u30a4\u30f3\u30c8"],[13118,1,"\u30dc\u30eb\u30c8"],[13119,1,"\u30db\u30f3"],[13120,1,"\u30dd\u30f3\u30c9"],[13121,1,"\u30db\u30fc\u30eb"],[13122,1,"\u30db\u30fc\u30f3"],[13123,1,"\u30de\u30a4\u30af\u30ed"],[13124,1,"\u30de\u30a4\u30eb"],[13125,1,"\u30de\u30c3\u30cf"],[13126,1,"\u30de\u30eb\u30af"],[13127,1,"\u30de\u30f3\u30b7\u30e7\u30f3"],[13128,1,"\u30df\u30af\u30ed\u30f3"],[13129,1,"\u30df\u30ea"],[13130,1,"\u30df\u30ea\u30d0\u30fc\u30eb"],[13131,1,"\u30e1\u30ac"],[13132,1,"\u30e1\u30ac\u30c8\u30f3"],[13133,1,"\u30e1\u30fc\u30c8\u30eb"],[13134,1,"\u30e4\u30fc\u30c9"],[13135,1,"\u30e4\u30fc\u30eb"],[13136,1,"\u30e6\u30a2\u30f3"],[13137,1,"\u30ea\u30c3\u30c8\u30eb"],[13138,1,"\u30ea\u30e9"],[13139,1,"\u30eb\u30d4\u30fc"],[13140,1,"\u30eb\u30fc\u30d6\u30eb"],[13141,1,"\u30ec\u30e0"],[13142,1,"\u30ec\u30f3\u30c8\u30b2\u30f3"],[13143,1,"\u30ef\u30c3\u30c8"],[13144,1,"0\u70b9"],[13145,1,"1\u70b9"],[13146,1,"2\u70b9"],[13147,1,"3\u70b9"],[13148,1,"4\u70b9"],[13149,1,"5\u70b9"],[13150,1,"6\u70b9"],[13151,1,"7\u70b9"],[13152,1,"8\u70b9"],[13153,1,"9\u70b9"],[13154,1,"10\u70b9"],[13155,1,"11\u70b9"],[13156,1,"12\u70b9"],[13157,1,"13\u70b9"],[13158,1,"14\u70b9"],[13159,1,"15\u70b9"],[13160,1,"16\u70b9"],[13161,1,"17\u70b9"],[13162,1,"18\u70b9"],[13163,1,"19\u70b9"],[13164,1,"20\u70b9"],[13165,1,"21\u70b9"],[13166,1,"22\u70b9"],[13167,1,"23\u70b9"],[13168,1,"24\u70b9"],[13169,1,"hpa"],[13170,1,"da"],[13171,1,"au"],[13172,1,"bar"],[13173,1,"ov"],[13174,1,"pc"],[13175,1,"dm"],[13176,1,"dm2"],[13177,1,"dm3"],[13178,1,"iu"],[13179,1,"\u5e73\u6210"],[13180,1,"\u662d\u548c"],[13181,1,"\u5927\u6b63"],[13182,1,"\u660e\u6cbb"],[13183,1,"\u682a\u5f0f\u4f1a\u793e"],[13184,1,"pa"],[13185,1,"na"],[13186,1,"\u03bca"],[13187,1,"ma"],[13188,1,"ka"],[13189,1,"kb"],[13190,1,"mb"],[13191,1,"gb"],[13192,1,"cal"],[13193,1,"kcal"],[13194,1,"pf"],[13195,1,"nf"],[13196,1,"\u03bcf"],[13197,1,"\u03bcg"],[13198,1,"mg"],[13199,1,"kg"],[13200,1,"hz"],[13201,1,"khz"],[13202,1,"mhz"],[13203,1,"ghz"],[13204,1,"thz"],[13205,1,"\u03bcl"],[13206,1,"ml"],[13207,1,"dl"],[13208,1,"kl"],[13209,1,"fm"],[13210,1,"nm"],[13211,1,"\u03bcm"],[13212,1,"mm"],[13213,1,"cm"],[13214,1,"km"],[13215,1,"mm2"],[13216,1,"cm2"],[13217,1,"m2"],[13218,1,"km2"],[13219,1,"mm3"],[13220,1,"cm3"],[13221,1,"m3"],[13222,1,"km3"],[13223,1,"m\u2215s"],[13224,1,"m\u2215s2"],[13225,1,"pa"],[13226,1,"kpa"],[13227,1,"mpa"],[13228,1,"gpa"],[13229,1,"rad"],[13230,1,"rad\u2215s"],[13231,1,"rad\u2215s2"],[13232,1,"ps"],[13233,1,"ns"],[13234,1,"\u03bcs"],[13235,1,"ms"],[13236,1,"pv"],[13237,1,"nv"],[13238,1,"\u03bcv"],[13239,1,"mv"],[13240,1,"kv"],[13241,1,"mv"],[13242,1,"pw"],[13243,1,"nw"],[13244,1,"\u03bcw"],[13245,1,"mw"],[13246,1,"kw"],[13247,1,"mw"],[13248,1,"k\u03c9"],[13249,1,"m\u03c9"],[13250,3],[13251,1,"bq"],[13252,1,"cc"],[13253,1,"cd"],[13254,1,"c\u2215kg"],[13255,3],[13256,1,"db"],[13257,1,"gy"],[13258,1,"ha"],[13259,1,"hp"],[13260,1,"in"],[13261,1,"kk"],[13262,1,"km"],[13263,1,"kt"],[13264,1,"lm"],[13265,1,"ln"],[13266,1,"log"],[13267,1,"lx"],[13268,1,"mb"],[13269,1,"mil"],[13270,1,"mol"],[13271,1,"ph"],[13272,3],[13273,1,"ppm"],[13274,1,"pr"],[13275,1,"sr"],[13276,1,"sv"],[13277,1,"wb"],[13278,1,"v\u2215m"],[13279,1,"a\u2215m"],[13280,1,"1\u65e5"],[13281,1,"2\u65e5"],[13282,1,"3\u65e5"],[13283,1,"4\u65e5"],[13284,1,"5\u65e5"],[13285,1,"6\u65e5"],[13286,1,"7\u65e5"],[13287,1,"8\u65e5"],[13288,1,"9\u65e5"],[13289,1,"10\u65e5"],[13290,1,"11\u65e5"],[13291,1,"12\u65e5"],[13292,1,"13\u65e5"],[13293,1,"14\u65e5"],[13294,1,"15\u65e5"],[13295,1,"16\u65e5"],[13296,1,"17\u65e5"],[13297,1,"18\u65e5"],[13298,1,"19\u65e5"],[13299,1,"20\u65e5"],[13300,1,"21\u65e5"],[13301,1,"22\u65e5"],[13302,1,"23\u65e5"],[13303,1,"24\u65e5"],[13304,1,"25\u65e5"],[13305,1,"26\u65e5"],[13306,1,"27\u65e5"],[13307,1,"28\u65e5"],[13308,1,"29\u65e5"],[13309,1,"30\u65e5"],[13310,1,"31\u65e5"],[13311,1,"gal"],[[13312,19893],2],[[19894,19903],2],[[19904,19967],2],[[19968,40869],2],[[40870,40891],2],[[40892,40899],2],[[40900,40907],2],[40908,2],[[40909,40917],2],[[40918,40938],2],[[40939,40943],2],[[40944,40956],2],[[40957,40959],2],[[40960,42124],2],[[42125,42127],3],[[42128,42145],2],[[42146,42147],2],[[42148,42163],2],[42164,2],[[42165,42176],2],[42177,2],[[42178,42180],2],[42181,2],[42182,2],[[42183,42191],3],[[42192,42237],2],[[42238,42239],2],[[42240,42508],2],[[42509,42511],2],[[42512,42539],2],[[42540,42559],3],[42560,1,"\ua641"],[42561,2],[42562,1,"\ua643"],[42563,2],[42564,1,"\ua645"],[42565,2],[42566,1,"\ua647"],[42567,2],[42568,1,"\ua649"],[42569,2],[42570,1,"\ua64b"],[42571,2],[42572,1,"\ua64d"],[42573,2],[42574,1,"\ua64f"],[42575,2],[42576,1,"\ua651"],[42577,2],[42578,1,"\ua653"],[42579,2],[42580,1,"\ua655"],[42581,2],[42582,1,"\ua657"],[42583,2],[42584,1,"\ua659"],[42585,2],[42586,1,"\ua65b"],[42587,2],[42588,1,"\ua65d"],[42589,2],[42590,1,"\ua65f"],[42591,2],[42592,1,"\ua661"],[42593,2],[42594,1,"\ua663"],[42595,2],[42596,1,"\ua665"],[42597,2],[42598,1,"\ua667"],[42599,2],[42600,1,"\ua669"],[42601,2],[42602,1,"\ua66b"],[42603,2],[42604,1,"\ua66d"],[[42605,42607],2],[[42608,42611],2],[[42612,42619],2],[[42620,42621],2],[42622,2],[42623,2],[42624,1,"\ua681"],[42625,2],[42626,1,"\ua683"],[42627,2],[42628,1,"\ua685"],[42629,2],[42630,1,"\ua687"],[42631,2],[42632,1,"\ua689"],[42633,2],[42634,1,"\ua68b"],[42635,2],[42636,1,"\ua68d"],[42637,2],[42638,1,"\ua68f"],[42639,2],[42640,1,"\ua691"],[42641,2],[42642,1,"\ua693"],[42643,2],[42644,1,"\ua695"],[42645,2],[42646,1,"\ua697"],[42647,2],[42648,1,"\ua699"],[42649,2],[42650,1,"\ua69b"],[42651,2],[42652,1,"\u044a"],[42653,1,"\u044c"],[42654,2],[42655,2],[[42656,42725],2],[[42726,42735],2],[[42736,42737],2],[[42738,42743],2],[[42744,42751],3],[[42752,42774],2],[[42775,42778],2],[[42779,42783],2],[[42784,42785],2],[42786,1,"\ua723"],[42787,2],[42788,1,"\ua725"],[42789,2],[42790,1,"\ua727"],[42791,2],[42792,1,"\ua729"],[42793,2],[42794,1,"\ua72b"],[42795,2],[42796,1,"\ua72d"],[42797,2],[42798,1,"\ua72f"],[[42799,42801],2],[42802,1,"\ua733"],[42803,2],[42804,1,"\ua735"],[42805,2],[42806,1,"\ua737"],[42807,2],[42808,1,"\ua739"],[42809,2],[42810,1,"\ua73b"],[42811,2],[42812,1,"\ua73d"],[42813,2],[42814,1,"\ua73f"],[42815,2],[42816,1,"\ua741"],[42817,2],[42818,1,"\ua743"],[42819,2],[42820,1,"\ua745"],[42821,2],[42822,1,"\ua747"],[42823,2],[42824,1,"\ua749"],[42825,2],[42826,1,"\ua74b"],[42827,2],[42828,1,"\ua74d"],[42829,2],[42830,1,"\ua74f"],[42831,2],[42832,1,"\ua751"],[42833,2],[42834,1,"\ua753"],[42835,2],[42836,1,"\ua755"],[42837,2],[42838,1,"\ua757"],[42839,2],[42840,1,"\ua759"],[42841,2],[42842,1,"\ua75b"],[42843,2],[42844,1,"\ua75d"],[42845,2],[42846,1,"\ua75f"],[42847,2],[42848,1,"\ua761"],[42849,2],[42850,1,"\ua763"],[42851,2],[42852,1,"\ua765"],[42853,2],[42854,1,"\ua767"],[42855,2],[42856,1,"\ua769"],[42857,2],[42858,1,"\ua76b"],[42859,2],[42860,1,"\ua76d"],[42861,2],[42862,1,"\ua76f"],[42863,2],[42864,1,"\ua76f"],[[42865,42872],2],[42873,1,"\ua77a"],[42874,2],[42875,1,"\ua77c"],[42876,2],[42877,1,"\u1d79"],[42878,1,"\ua77f"],[42879,2],[42880,1,"\ua781"],[42881,2],[42882,1,"\ua783"],[42883,2],[42884,1,"\ua785"],[42885,2],[42886,1,"\ua787"],[[42887,42888],2],[[42889,42890],2],[42891,1,"\ua78c"],[42892,2],[42893,1,"\u0265"],[42894,2],[42895,2],[42896,1,"\ua791"],[42897,2],[42898,1,"\ua793"],[42899,2],[[42900,42901],2],[42902,1,"\ua797"],[42903,2],[42904,1,"\ua799"],[42905,2],[42906,1,"\ua79b"],[42907,2],[42908,1,"\ua79d"],[42909,2],[42910,1,"\ua79f"],[42911,2],[42912,1,"\ua7a1"],[42913,2],[42914,1,"\ua7a3"],[42915,2],[42916,1,"\ua7a5"],[42917,2],[42918,1,"\ua7a7"],[42919,2],[42920,1,"\ua7a9"],[42921,2],[42922,1,"\u0266"],[42923,1,"\u025c"],[42924,1,"\u0261"],[42925,1,"\u026c"],[42926,1,"\u026a"],[42927,2],[42928,1,"\u029e"],[42929,1,"\u0287"],[42930,1,"\u029d"],[42931,1,"\uab53"],[42932,1,"\ua7b5"],[42933,2],[42934,1,"\ua7b7"],[42935,2],[42936,1,"\ua7b9"],[42937,2],[42938,1,"\ua7bb"],[42939,2],[42940,1,"\ua7bd"],[42941,2],[42942,1,"\ua7bf"],[42943,2],[42944,1,"\ua7c1"],[42945,2],[42946,1,"\ua7c3"],[42947,2],[42948,1,"\ua794"],[42949,1,"\u0282"],[42950,1,"\u1d8e"],[42951,1,"\ua7c8"],[42952,2],[42953,1,"\ua7ca"],[42954,2],[[42955,42959],3],[42960,1,"\ua7d1"],[42961,2],[42962,3],[42963,2],[42964,3],[42965,2],[42966,1,"\ua7d7"],[42967,2],[42968,1,"\ua7d9"],[42969,2],[[42970,42993],3],[42994,1,"c"],[42995,1,"f"],[42996,1,"q"],[42997,1,"\ua7f6"],[42998,2],[42999,2],[43000,1,"\u0127"],[43001,1,"\u0153"],[43002,2],[[43003,43007],2],[[43008,43047],2],[[43048,43051],2],[43052,2],[[43053,43055],3],[[43056,43065],2],[[43066,43071],3],[[43072,43123],2],[[43124,43127],2],[[43128,43135],3],[[43136,43204],2],[43205,2],[[43206,43213],3],[[43214,43215],2],[[43216,43225],2],[[43226,43231],3],[[43232,43255],2],[[43256,43258],2],[43259,2],[43260,2],[43261,2],[[43262,43263],2],[[43264,43309],2],[[43310,43311],2],[[43312,43347],2],[[43348,43358],3],[43359,2],[[43360,43388],2],[[43389,43391],3],[[43392,43456],2],[[43457,43469],2],[43470,3],[[43471,43481],2],[[43482,43485],3],[[43486,43487],2],[[43488,43518],2],[43519,3],[[43520,43574],2],[[43575,43583],3],[[43584,43597],2],[[43598,43599],3],[[43600,43609],2],[[43610,43611],3],[[43612,43615],2],[[43616,43638],2],[[43639,43641],2],[[43642,43643],2],[[43644,43647],2],[[43648,43714],2],[[43715,43738],3],[[43739,43741],2],[[43742,43743],2],[[43744,43759],2],[[43760,43761],2],[[43762,43766],2],[[43767,43776],3],[[43777,43782],2],[[43783,43784],3],[[43785,43790],2],[[43791,43792],3],[[43793,43798],2],[[43799,43807],3],[[43808,43814],2],[43815,3],[[43816,43822],2],[43823,3],[[43824,43866],2],[43867,2],[43868,1,"\ua727"],[43869,1,"\uab37"],[43870,1,"\u026b"],[43871,1,"\uab52"],[[43872,43875],2],[[43876,43877],2],[[43878,43879],2],[43880,2],[43881,1,"\u028d"],[[43882,43883],2],[[43884,43887],3],[43888,1,"\u13a0"],[43889,1,"\u13a1"],[43890,1,"\u13a2"],[43891,1,"\u13a3"],[43892,1,"\u13a4"],[43893,1,"\u13a5"],[43894,1,"\u13a6"],[43895,1,"\u13a7"],[43896,1,"\u13a8"],[43897,1,"\u13a9"],[43898,1,"\u13aa"],[43899,1,"\u13ab"],[43900,1,"\u13ac"],[43901,1,"\u13ad"],[43902,1,"\u13ae"],[43903,1,"\u13af"],[43904,1,"\u13b0"],[43905,1,"\u13b1"],[43906,1,"\u13b2"],[43907,1,"\u13b3"],[43908,1,"\u13b4"],[43909,1,"\u13b5"],[43910,1,"\u13b6"],[43911,1,"\u13b7"],[43912,1,"\u13b8"],[43913,1,"\u13b9"],[43914,1,"\u13ba"],[43915,1,"\u13bb"],[43916,1,"\u13bc"],[43917,1,"\u13bd"],[43918,1,"\u13be"],[43919,1,"\u13bf"],[43920,1,"\u13c0"],[43921,1,"\u13c1"],[43922,1,"\u13c2"],[43923,1,"\u13c3"],[43924,1,"\u13c4"],[43925,1,"\u13c5"],[43926,1,"\u13c6"],[43927,1,"\u13c7"],[43928,1,"\u13c8"],[43929,1,"\u13c9"],[43930,1,"\u13ca"],[43931,1,"\u13cb"],[43932,1,"\u13cc"],[43933,1,"\u13cd"],[43934,1,"\u13ce"],[43935,1,"\u13cf"],[43936,1,"\u13d0"],[43937,1,"\u13d1"],[43938,1,"\u13d2"],[43939,1,"\u13d3"],[43940,1,"\u13d4"],[43941,1,"\u13d5"],[43942,1,"\u13d6"],[43943,1,"\u13d7"],[43944,1,"\u13d8"],[43945,1,"\u13d9"],[43946,1,"\u13da"],[43947,1,"\u13db"],[43948,1,"\u13dc"],[43949,1,"\u13dd"],[43950,1,"\u13de"],[43951,1,"\u13df"],[43952,1,"\u13e0"],[43953,1,"\u13e1"],[43954,1,"\u13e2"],[43955,1,"\u13e3"],[43956,1,"\u13e4"],[43957,1,"\u13e5"],[43958,1,"\u13e6"],[43959,1,"\u13e7"],[43960,1,"\u13e8"],[43961,1,"\u13e9"],[43962,1,"\u13ea"],[43963,1,"\u13eb"],[43964,1,"\u13ec"],[43965,1,"\u13ed"],[43966,1,"\u13ee"],[43967,1,"\u13ef"],[[43968,44010],2],[44011,2],[[44012,44013],2],[[44014,44015],3],[[44016,44025],2],[[44026,44031],3],[[44032,55203],2],[[55204,55215],3],[[55216,55238],2],[[55239,55242],3],[[55243,55291],2],[[55292,55295],3],[[55296,57343],3],[[57344,63743],3],[63744,1,"\u8c48"],[63745,1,"\u66f4"],[63746,1,"\u8eca"],[63747,1,"\u8cc8"],[63748,1,"\u6ed1"],[63749,1,"\u4e32"],[63750,1,"\u53e5"],[[63751,63752],1,"\u9f9c"],[63753,1,"\u5951"],[63754,1,"\u91d1"],[63755,1,"\u5587"],[63756,1,"\u5948"],[63757,1,"\u61f6"],[63758,1,"\u7669"],[63759,1,"\u7f85"],[63760,1,"\u863f"],[63761,1,"\u87ba"],[63762,1,"\u88f8"],[63763,1,"\u908f"],[63764,1,"\u6a02"],[63765,1,"\u6d1b"],[63766,1,"\u70d9"],[63767,1,"\u73de"],[63768,1,"\u843d"],[63769,1,"\u916a"],[63770,1,"\u99f1"],[63771,1,"\u4e82"],[63772,1,"\u5375"],[63773,1,"\u6b04"],[63774,1,"\u721b"],[63775,1,"\u862d"],[63776,1,"\u9e1e"],[63777,1,"\u5d50"],[63778,1,"\u6feb"],[63779,1,"\u85cd"],[63780,1,"\u8964"],[63781,1,"\u62c9"],[63782,1,"\u81d8"],[63783,1,"\u881f"],[63784,1,"\u5eca"],[63785,1,"\u6717"],[63786,1,"\u6d6a"],[63787,1,"\u72fc"],[63788,1,"\u90ce"],[63789,1,"\u4f86"],[63790,1,"\u51b7"],[63791,1,"\u52de"],[63792,1,"\u64c4"],[63793,1,"\u6ad3"],[63794,1,"\u7210"],[63795,1,"\u76e7"],[63796,1,"\u8001"],[63797,1,"\u8606"],[63798,1,"\u865c"],[63799,1,"\u8def"],[63800,1,"\u9732"],[63801,1,"\u9b6f"],[63802,1,"\u9dfa"],[63803,1,"\u788c"],[63804,1,"\u797f"],[63805,1,"\u7da0"],[63806,1,"\u83c9"],[63807,1,"\u9304"],[63808,1,"\u9e7f"],[63809,1,"\u8ad6"],[63810,1,"\u58df"],[63811,1,"\u5f04"],[63812,1,"\u7c60"],[63813,1,"\u807e"],[63814,1,"\u7262"],[63815,1,"\u78ca"],[63816,1,"\u8cc2"],[63817,1,"\u96f7"],[63818,1,"\u58d8"],[63819,1,"\u5c62"],[63820,1,"\u6a13"],[63821,1,"\u6dda"],[63822,1,"\u6f0f"],[63823,1,"\u7d2f"],[63824,1,"\u7e37"],[63825,1,"\u964b"],[63826,1,"\u52d2"],[63827,1,"\u808b"],[63828,1,"\u51dc"],[63829,1,"\u51cc"],[63830,1,"\u7a1c"],[63831,1,"\u7dbe"],[63832,1,"\u83f1"],[63833,1,"\u9675"],[63834,1,"\u8b80"],[63835,1,"\u62cf"],[63836,1,"\u6a02"],[63837,1,"\u8afe"],[63838,1,"\u4e39"],[63839,1,"\u5be7"],[63840,1,"\u6012"],[63841,1,"\u7387"],[63842,1,"\u7570"],[63843,1,"\u5317"],[63844,1,"\u78fb"],[63845,1,"\u4fbf"],[63846,1,"\u5fa9"],[63847,1,"\u4e0d"],[63848,1,"\u6ccc"],[63849,1,"\u6578"],[63850,1,"\u7d22"],[63851,1,"\u53c3"],[63852,1,"\u585e"],[63853,1,"\u7701"],[63854,1,"\u8449"],[63855,1,"\u8aaa"],[63856,1,"\u6bba"],[63857,1,"\u8fb0"],[63858,1,"\u6c88"],[63859,1,"\u62fe"],[63860,1,"\u82e5"],[63861,1,"\u63a0"],[63862,1,"\u7565"],[63863,1,"\u4eae"],[63864,1,"\u5169"],[63865,1,"\u51c9"],[63866,1,"\u6881"],[63867,1,"\u7ce7"],[63868,1,"\u826f"],[63869,1,"\u8ad2"],[63870,1,"\u91cf"],[63871,1,"\u52f5"],[63872,1,"\u5442"],[63873,1,"\u5973"],[63874,1,"\u5eec"],[63875,1,"\u65c5"],[63876,1,"\u6ffe"],[63877,1,"\u792a"],[63878,1,"\u95ad"],[63879,1,"\u9a6a"],[63880,1,"\u9e97"],[63881,1,"\u9ece"],[63882,1,"\u529b"],[63883,1,"\u66c6"],[63884,1,"\u6b77"],[63885,1,"\u8f62"],[63886,1,"\u5e74"],[63887,1,"\u6190"],[63888,1,"\u6200"],[63889,1,"\u649a"],[63890,1,"\u6f23"],[63891,1,"\u7149"],[63892,1,"\u7489"],[63893,1,"\u79ca"],[63894,1,"\u7df4"],[63895,1,"\u806f"],[63896,1,"\u8f26"],[63897,1,"\u84ee"],[63898,1,"\u9023"],[63899,1,"\u934a"],[63900,1,"\u5217"],[63901,1,"\u52a3"],[63902,1,"\u54bd"],[63903,1,"\u70c8"],[63904,1,"\u88c2"],[63905,1,"\u8aaa"],[63906,1,"\u5ec9"],[63907,1,"\u5ff5"],[63908,1,"\u637b"],[63909,1,"\u6bae"],[63910,1,"\u7c3e"],[63911,1,"\u7375"],[63912,1,"\u4ee4"],[63913,1,"\u56f9"],[63914,1,"\u5be7"],[63915,1,"\u5dba"],[63916,1,"\u601c"],[63917,1,"\u73b2"],[63918,1,"\u7469"],[63919,1,"\u7f9a"],[63920,1,"\u8046"],[63921,1,"\u9234"],[63922,1,"\u96f6"],[63923,1,"\u9748"],[63924,1,"\u9818"],[63925,1,"\u4f8b"],[63926,1,"\u79ae"],[63927,1,"\u91b4"],[63928,1,"\u96b8"],[63929,1,"\u60e1"],[63930,1,"\u4e86"],[63931,1,"\u50da"],[63932,1,"\u5bee"],[63933,1,"\u5c3f"],[63934,1,"\u6599"],[63935,1,"\u6a02"],[63936,1,"\u71ce"],[63937,1,"\u7642"],[63938,1,"\u84fc"],[63939,1,"\u907c"],[63940,1,"\u9f8d"],[63941,1,"\u6688"],[63942,1,"\u962e"],[63943,1,"\u5289"],[63944,1,"\u677b"],[63945,1,"\u67f3"],[63946,1,"\u6d41"],[63947,1,"\u6e9c"],[63948,1,"\u7409"],[63949,1,"\u7559"],[63950,1,"\u786b"],[63951,1,"\u7d10"],[63952,1,"\u985e"],[63953,1,"\u516d"],[63954,1,"\u622e"],[63955,1,"\u9678"],[63956,1,"\u502b"],[63957,1,"\u5d19"],[63958,1,"\u6dea"],[63959,1,"\u8f2a"],[63960,1,"\u5f8b"],[63961,1,"\u6144"],[63962,1,"\u6817"],[63963,1,"\u7387"],[63964,1,"\u9686"],[63965,1,"\u5229"],[63966,1,"\u540f"],[63967,1,"\u5c65"],[63968,1,"\u6613"],[63969,1,"\u674e"],[63970,1,"\u68a8"],[63971,1,"\u6ce5"],[63972,1,"\u7406"],[63973,1,"\u75e2"],[63974,1,"\u7f79"],[63975,1,"\u88cf"],[63976,1,"\u88e1"],[63977,1,"\u91cc"],[63978,1,"\u96e2"],[63979,1,"\u533f"],[63980,1,"\u6eba"],[63981,1,"\u541d"],[63982,1,"\u71d0"],[63983,1,"\u7498"],[63984,1,"\u85fa"],[63985,1,"\u96a3"],[63986,1,"\u9c57"],[63987,1,"\u9e9f"],[63988,1,"\u6797"],[63989,1,"\u6dcb"],[63990,1,"\u81e8"],[63991,1,"\u7acb"],[63992,1,"\u7b20"],[63993,1,"\u7c92"],[63994,1,"\u72c0"],[63995,1,"\u7099"],[63996,1,"\u8b58"],[63997,1,"\u4ec0"],[63998,1,"\u8336"],[63999,1,"\u523a"],[64000,1,"\u5207"],[64001,1,"\u5ea6"],[64002,1,"\u62d3"],[64003,1,"\u7cd6"],[64004,1,"\u5b85"],[64005,1,"\u6d1e"],[64006,1,"\u66b4"],[64007,1,"\u8f3b"],[64008,1,"\u884c"],[64009,1,"\u964d"],[64010,1,"\u898b"],[64011,1,"\u5ed3"],[64012,1,"\u5140"],[64013,1,"\u55c0"],[[64014,64015],2],[64016,1,"\u585a"],[64017,2],[64018,1,"\u6674"],[[64019,64020],2],[64021,1,"\u51de"],[64022,1,"\u732a"],[64023,1,"\u76ca"],[64024,1,"\u793c"],[64025,1,"\u795e"],[64026,1,"\u7965"],[64027,1,"\u798f"],[64028,1,"\u9756"],[64029,1,"\u7cbe"],[64030,1,"\u7fbd"],[64031,2],[64032,1,"\u8612"],[64033,2],[64034,1,"\u8af8"],[[64035,64036],2],[64037,1,"\u9038"],[64038,1,"\u90fd"],[[64039,64041],2],[64042,1,"\u98ef"],[64043,1,"\u98fc"],[64044,1,"\u9928"],[64045,1,"\u9db4"],[64046,1,"\u90de"],[64047,1,"\u96b7"],[64048,1,"\u4fae"],[64049,1,"\u50e7"],[64050,1,"\u514d"],[64051,1,"\u52c9"],[64052,1,"\u52e4"],[64053,1,"\u5351"],[64054,1,"\u559d"],[64055,1,"\u5606"],[64056,1,"\u5668"],[64057,1,"\u5840"],[64058,1,"\u58a8"],[64059,1,"\u5c64"],[64060,1,"\u5c6e"],[64061,1,"\u6094"],[64062,1,"\u6168"],[64063,1,"\u618e"],[64064,1,"\u61f2"],[64065,1,"\u654f"],[64066,1,"\u65e2"],[64067,1,"\u6691"],[64068,1,"\u6885"],[64069,1,"\u6d77"],[64070,1,"\u6e1a"],[64071,1,"\u6f22"],[64072,1,"\u716e"],[64073,1,"\u722b"],[64074,1,"\u7422"],[64075,1,"\u7891"],[64076,1,"\u793e"],[64077,1,"\u7949"],[64078,1,"\u7948"],[64079,1,"\u7950"],[64080,1,"\u7956"],[64081,1,"\u795d"],[64082,1,"\u798d"],[64083,1,"\u798e"],[64084,1,"\u7a40"],[64085,1,"\u7a81"],[64086,1,"\u7bc0"],[64087,1,"\u7df4"],[64088,1,"\u7e09"],[64089,1,"\u7e41"],[64090,1,"\u7f72"],[64091,1,"\u8005"],[64092,1,"\u81ed"],[[64093,64094],1,"\u8279"],[64095,1,"\u8457"],[64096,1,"\u8910"],[64097,1,"\u8996"],[64098,1,"\u8b01"],[64099,1,"\u8b39"],[64100,1,"\u8cd3"],[64101,1,"\u8d08"],[64102,1,"\u8fb6"],[64103,1,"\u9038"],[64104,1,"\u96e3"],[64105,1,"\u97ff"],[64106,1,"\u983b"],[64107,1,"\u6075"],[64108,1,"\ud850\udeee"],[64109,1,"\u8218"],[[64110,64111],3],[64112,1,"\u4e26"],[64113,1,"\u51b5"],[64114,1,"\u5168"],[64115,1,"\u4f80"],[64116,1,"\u5145"],[64117,1,"\u5180"],[64118,1,"\u52c7"],[64119,1,"\u52fa"],[64120,1,"\u559d"],[64121,1,"\u5555"],[64122,1,"\u5599"],[64123,1,"\u55e2"],[64124,1,"\u585a"],[64125,1,"\u58b3"],[64126,1,"\u5944"],[64127,1,"\u5954"],[64128,1,"\u5a62"],[64129,1,"\u5b28"],[64130,1,"\u5ed2"],[64131,1,"\u5ed9"],[64132,1,"\u5f69"],[64133,1,"\u5fad"],[64134,1,"\u60d8"],[64135,1,"\u614e"],[64136,1,"\u6108"],[64137,1,"\u618e"],[64138,1,"\u6160"],[64139,1,"\u61f2"],[64140,1,"\u6234"],[64141,1,"\u63c4"],[64142,1,"\u641c"],[64143,1,"\u6452"],[64144,1,"\u6556"],[64145,1,"\u6674"],[64146,1,"\u6717"],[64147,1,"\u671b"],[64148,1,"\u6756"],[64149,1,"\u6b79"],[64150,1,"\u6bba"],[64151,1,"\u6d41"],[64152,1,"\u6edb"],[64153,1,"\u6ecb"],[64154,1,"\u6f22"],[64155,1,"\u701e"],[64156,1,"\u716e"],[64157,1,"\u77a7"],[64158,1,"\u7235"],[64159,1,"\u72af"],[64160,1,"\u732a"],[64161,1,"\u7471"],[64162,1,"\u7506"],[64163,1,"\u753b"],[64164,1,"\u761d"],[64165,1,"\u761f"],[64166,1,"\u76ca"],[64167,1,"\u76db"],[64168,1,"\u76f4"],[64169,1,"\u774a"],[64170,1,"\u7740"],[64171,1,"\u78cc"],[64172,1,"\u7ab1"],[64173,1,"\u7bc0"],[64174,1,"\u7c7b"],[64175,1,"\u7d5b"],[64176,1,"\u7df4"],[64177,1,"\u7f3e"],[64178,1,"\u8005"],[64179,1,"\u8352"],[64180,1,"\u83ef"],[64181,1,"\u8779"],[64182,1,"\u8941"],[64183,1,"\u8986"],[64184,1,"\u8996"],[64185,1,"\u8abf"],[64186,1,"\u8af8"],[64187,1,"\u8acb"],[64188,1,"\u8b01"],[64189,1,"\u8afe"],[64190,1,"\u8aed"],[64191,1,"\u8b39"],[64192,1,"\u8b8a"],[64193,1,"\u8d08"],[64194,1,"\u8f38"],[64195,1,"\u9072"],[64196,1,"\u9199"],[64197,1,"\u9276"],[64198,1,"\u967c"],[64199,1,"\u96e3"],[64200,1,"\u9756"],[64201,1,"\u97db"],[64202,1,"\u97ff"],[64203,1,"\u980b"],[64204,1,"\u983b"],[64205,1,"\u9b12"],[64206,1,"\u9f9c"],[64207,1,"\ud84a\udc4a"],[64208,1,"\ud84a\udc44"],[64209,1,"\ud84c\udfd5"],[64210,1,"\u3b9d"],[64211,1,"\u4018"],[64212,1,"\u4039"],[64213,1,"\ud854\ude49"],[64214,1,"\ud857\udcd0"],[64215,1,"\ud85f\uded3"],[64216,1,"\u9f43"],[64217,1,"\u9f8e"],[[64218,64255],3],[64256,1,"ff"],[64257,1,"fi"],[64258,1,"fl"],[64259,1,"ffi"],[64260,1,"ffl"],[[64261,64262],1,"st"],[[64263,64274],3],[64275,1,"\u0574\u0576"],[64276,1,"\u0574\u0565"],[64277,1,"\u0574\u056b"],[64278,1,"\u057e\u0576"],[64279,1,"\u0574\u056d"],[[64280,64284],3],[64285,1,"\u05d9\u05b4"],[64286,2],[64287,1,"\u05f2\u05b7"],[64288,1,"\u05e2"],[64289,1,"\u05d0"],[64290,1,"\u05d3"],[64291,1,"\u05d4"],[64292,1,"\u05db"],[64293,1,"\u05dc"],[64294,1,"\u05dd"],[64295,1,"\u05e8"],[64296,1,"\u05ea"],[64297,5,"+"],[64298,1,"\u05e9\u05c1"],[64299,1,"\u05e9\u05c2"],[64300,1,"\u05e9\u05bc\u05c1"],[64301,1,"\u05e9\u05bc\u05c2"],[64302,1,"\u05d0\u05b7"],[64303,1,"\u05d0\u05b8"],[64304,1,"\u05d0\u05bc"],[64305,1,"\u05d1\u05bc"],[64306,1,"\u05d2\u05bc"],[64307,1,"\u05d3\u05bc"],[64308,1,"\u05d4\u05bc"],[64309,1,"\u05d5\u05bc"],[64310,1,"\u05d6\u05bc"],[64311,3],[64312,1,"\u05d8\u05bc"],[64313,1,"\u05d9\u05bc"],[64314,1,"\u05da\u05bc"],[64315,1,"\u05db\u05bc"],[64316,1,"\u05dc\u05bc"],[64317,3],[64318,1,"\u05de\u05bc"],[64319,3],[64320,1,"\u05e0\u05bc"],[64321,1,"\u05e1\u05bc"],[64322,3],[64323,1,"\u05e3\u05bc"],[64324,1,"\u05e4\u05bc"],[64325,3],[64326,1,"\u05e6\u05bc"],[64327,1,"\u05e7\u05bc"],[64328,1,"\u05e8\u05bc"],[64329,1,"\u05e9\u05bc"],[64330,1,"\u05ea\u05bc"],[64331,1,"\u05d5\u05b9"],[64332,1,"\u05d1\u05bf"],[64333,1,"\u05db\u05bf"],[64334,1,"\u05e4\u05bf"],[64335,1,"\u05d0\u05dc"],[[64336,64337],1,"\u0671"],[[64338,64341],1,"\u067b"],[[64342,64345],1,"\u067e"],[[64346,64349],1,"\u0680"],[[64350,64353],1,"\u067a"],[[64354,64357],1,"\u067f"],[[64358,64361],1,"\u0679"],[[64362,64365],1,"\u06a4"],[[64366,64369],1,"\u06a6"],[[64370,64373],1,"\u0684"],[[64374,64377],1,"\u0683"],[[64378,64381],1,"\u0686"],[[64382,64385],1,"\u0687"],[[64386,64387],1,"\u068d"],[[64388,64389],1,"\u068c"],[[64390,64391],1,"\u068e"],[[64392,64393],1,"\u0688"],[[64394,64395],1,"\u0698"],[[64396,64397],1,"\u0691"],[[64398,64401],1,"\u06a9"],[[64402,64405],1,"\u06af"],[[64406,64409],1,"\u06b3"],[[64410,64413],1,"\u06b1"],[[64414,64415],1,"\u06ba"],[[64416,64419],1,"\u06bb"],[[64420,64421],1,"\u06c0"],[[64422,64425],1,"\u06c1"],[[64426,64429],1,"\u06be"],[[64430,64431],1,"\u06d2"],[[64432,64433],1,"\u06d3"],[[64434,64449],2],[64450,2],[[64451,64466],3],[[64467,64470],1,"\u06ad"],[[64471,64472],1,"\u06c7"],[[64473,64474],1,"\u06c6"],[[64475,64476],1,"\u06c8"],[64477,1,"\u06c7\u0674"],[[64478,64479],1,"\u06cb"],[[64480,64481],1,"\u06c5"],[[64482,64483],1,"\u06c9"],[[64484,64487],1,"\u06d0"],[[64488,64489],1,"\u0649"],[[64490,64491],1,"\u0626\u0627"],[[64492,64493],1,"\u0626\u06d5"],[[64494,64495],1,"\u0626\u0648"],[[64496,64497],1,"\u0626\u06c7"],[[64498,64499],1,"\u0626\u06c6"],[[64500,64501],1,"\u0626\u06c8"],[[64502,64504],1,"\u0626\u06d0"],[[64505,64507],1,"\u0626\u0649"],[[64508,64511],1,"\u06cc"],[64512,1,"\u0626\u062c"],[64513,1,"\u0626\u062d"],[64514,1,"\u0626\u0645"],[64515,1,"\u0626\u0649"],[64516,1,"\u0626\u064a"],[64517,1,"\u0628\u062c"],[64518,1,"\u0628\u062d"],[64519,1,"\u0628\u062e"],[64520,1,"\u0628\u0645"],[64521,1,"\u0628\u0649"],[64522,1,"\u0628\u064a"],[64523,1,"\u062a\u062c"],[64524,1,"\u062a\u062d"],[64525,1,"\u062a\u062e"],[64526,1,"\u062a\u0645"],[64527,1,"\u062a\u0649"],[64528,1,"\u062a\u064a"],[64529,1,"\u062b\u062c"],[64530,1,"\u062b\u0645"],[64531,1,"\u062b\u0649"],[64532,1,"\u062b\u064a"],[64533,1,"\u062c\u062d"],[64534,1,"\u062c\u0645"],[64535,1,"\u062d\u062c"],[64536,1,"\u062d\u0645"],[64537,1,"\u062e\u062c"],[64538,1,"\u062e\u062d"],[64539,1,"\u062e\u0645"],[64540,1,"\u0633\u062c"],[64541,1,"\u0633\u062d"],[64542,1,"\u0633\u062e"],[64543,1,"\u0633\u0645"],[64544,1,"\u0635\u062d"],[64545,1,"\u0635\u0645"],[64546,1,"\u0636\u062c"],[64547,1,"\u0636\u062d"],[64548,1,"\u0636\u062e"],[64549,1,"\u0636\u0645"],[64550,1,"\u0637\u062d"],[64551,1,"\u0637\u0645"],[64552,1,"\u0638\u0645"],[64553,1,"\u0639\u062c"],[64554,1,"\u0639\u0645"],[64555,1,"\u063a\u062c"],[64556,1,"\u063a\u0645"],[64557,1,"\u0641\u062c"],[64558,1,"\u0641\u062d"],[64559,1,"\u0641\u062e"],[64560,1,"\u0641\u0645"],[64561,1,"\u0641\u0649"],[64562,1,"\u0641\u064a"],[64563,1,"\u0642\u062d"],[64564,1,"\u0642\u0645"],[64565,1,"\u0642\u0649"],[64566,1,"\u0642\u064a"],[64567,1,"\u0643\u0627"],[64568,1,"\u0643\u062c"],[64569,1,"\u0643\u062d"],[64570,1,"\u0643\u062e"],[64571,1,"\u0643\u0644"],[64572,1,"\u0643\u0645"],[64573,1,"\u0643\u0649"],[64574,1,"\u0643\u064a"],[64575,1,"\u0644\u062c"],[64576,1,"\u0644\u062d"],[64577,1,"\u0644\u062e"],[64578,1,"\u0644\u0645"],[64579,1,"\u0644\u0649"],[64580,1,"\u0644\u064a"],[64581,1,"\u0645\u062c"],[64582,1,"\u0645\u062d"],[64583,1,"\u0645\u062e"],[64584,1,"\u0645\u0645"],[64585,1,"\u0645\u0649"],[64586,1,"\u0645\u064a"],[64587,1,"\u0646\u062c"],[64588,1,"\u0646\u062d"],[64589,1,"\u0646\u062e"],[64590,1,"\u0646\u0645"],[64591,1,"\u0646\u0649"],[64592,1,"\u0646\u064a"],[64593,1,"\u0647\u062c"],[64594,1,"\u0647\u0645"],[64595,1,"\u0647\u0649"],[64596,1,"\u0647\u064a"],[64597,1,"\u064a\u062c"],[64598,1,"\u064a\u062d"],[64599,1,"\u064a\u062e"],[64600,1,"\u064a\u0645"],[64601,1,"\u064a\u0649"],[64602,1,"\u064a\u064a"],[64603,1,"\u0630\u0670"],[64604,1,"\u0631\u0670"],[64605,1,"\u0649\u0670"],[64606,5," \u064c\u0651"],[64607,5," \u064d\u0651"],[64608,5," \u064e\u0651"],[64609,5," \u064f\u0651"],[64610,5," \u0650\u0651"],[64611,5," \u0651\u0670"],[64612,1,"\u0626\u0631"],[64613,1,"\u0626\u0632"],[64614,1,"\u0626\u0645"],[64615,1,"\u0626\u0646"],[64616,1,"\u0626\u0649"],[64617,1,"\u0626\u064a"],[64618,1,"\u0628\u0631"],[64619,1,"\u0628\u0632"],[64620,1,"\u0628\u0645"],[64621,1,"\u0628\u0646"],[64622,1,"\u0628\u0649"],[64623,1,"\u0628\u064a"],[64624,1,"\u062a\u0631"],[64625,1,"\u062a\u0632"],[64626,1,"\u062a\u0645"],[64627,1,"\u062a\u0646"],[64628,1,"\u062a\u0649"],[64629,1,"\u062a\u064a"],[64630,1,"\u062b\u0631"],[64631,1,"\u062b\u0632"],[64632,1,"\u062b\u0645"],[64633,1,"\u062b\u0646"],[64634,1,"\u062b\u0649"],[64635,1,"\u062b\u064a"],[64636,1,"\u0641\u0649"],[64637,1,"\u0641\u064a"],[64638,1,"\u0642\u0649"],[64639,1,"\u0642\u064a"],[64640,1,"\u0643\u0627"],[64641,1,"\u0643\u0644"],[64642,1,"\u0643\u0645"],[64643,1,"\u0643\u0649"],[64644,1,"\u0643\u064a"],[64645,1,"\u0644\u0645"],[64646,1,"\u0644\u0649"],[64647,1,"\u0644\u064a"],[64648,1,"\u0645\u0627"],[64649,1,"\u0645\u0645"],[64650,1,"\u0646\u0631"],[64651,1,"\u0646\u0632"],[64652,1,"\u0646\u0645"],[64653,1,"\u0646\u0646"],[64654,1,"\u0646\u0649"],[64655,1,"\u0646\u064a"],[64656,1,"\u0649\u0670"],[64657,1,"\u064a\u0631"],[64658,1,"\u064a\u0632"],[64659,1,"\u064a\u0645"],[64660,1,"\u064a\u0646"],[64661,1,"\u064a\u0649"],[64662,1,"\u064a\u064a"],[64663,1,"\u0626\u062c"],[64664,1,"\u0626\u062d"],[64665,1,"\u0626\u062e"],[64666,1,"\u0626\u0645"],[64667,1,"\u0626\u0647"],[64668,1,"\u0628\u062c"],[64669,1,"\u0628\u062d"],[64670,1,"\u0628\u062e"],[64671,1,"\u0628\u0645"],[64672,1,"\u0628\u0647"],[64673,1,"\u062a\u062c"],[64674,1,"\u062a\u062d"],[64675,1,"\u062a\u062e"],[64676,1,"\u062a\u0645"],[64677,1,"\u062a\u0647"],[64678,1,"\u062b\u0645"],[64679,1,"\u062c\u062d"],[64680,1,"\u062c\u0645"],[64681,1,"\u062d\u062c"],[64682,1,"\u062d\u0645"],[64683,1,"\u062e\u062c"],[64684,1,"\u062e\u0645"],[64685,1,"\u0633\u062c"],[64686,1,"\u0633\u062d"],[64687,1,"\u0633\u062e"],[64688,1,"\u0633\u0645"],[64689,1,"\u0635\u062d"],[64690,1,"\u0635\u062e"],[64691,1,"\u0635\u0645"],[64692,1,"\u0636\u062c"],[64693,1,"\u0636\u062d"],[64694,1,"\u0636\u062e"],[64695,1,"\u0636\u0645"],[64696,1,"\u0637\u062d"],[64697,1,"\u0638\u0645"],[64698,1,"\u0639\u062c"],[64699,1,"\u0639\u0645"],[64700,1,"\u063a\u062c"],[64701,1,"\u063a\u0645"],[64702,1,"\u0641\u062c"],[64703,1,"\u0641\u062d"],[64704,1,"\u0641\u062e"],[64705,1,"\u0641\u0645"],[64706,1,"\u0642\u062d"],[64707,1,"\u0642\u0645"],[64708,1,"\u0643\u062c"],[64709,1,"\u0643\u062d"],[64710,1,"\u0643\u062e"],[64711,1,"\u0643\u0644"],[64712,1,"\u0643\u0645"],[64713,1,"\u0644\u062c"],[64714,1,"\u0644\u062d"],[64715,1,"\u0644\u062e"],[64716,1,"\u0644\u0645"],[64717,1,"\u0644\u0647"],[64718,1,"\u0645\u062c"],[64719,1,"\u0645\u062d"],[64720,1,"\u0645\u062e"],[64721,1,"\u0645\u0645"],[64722,1,"\u0646\u062c"],[64723,1,"\u0646\u062d"],[64724,1,"\u0646\u062e"],[64725,1,"\u0646\u0645"],[64726,1,"\u0646\u0647"],[64727,1,"\u0647\u062c"],[64728,1,"\u0647\u0645"],[64729,1,"\u0647\u0670"],[64730,1,"\u064a\u062c"],[64731,1,"\u064a\u062d"],[64732,1,"\u064a\u062e"],[64733,1,"\u064a\u0645"],[64734,1,"\u064a\u0647"],[64735,1,"\u0626\u0645"],[64736,1,"\u0626\u0647"],[64737,1,"\u0628\u0645"],[64738,1,"\u0628\u0647"],[64739,1,"\u062a\u0645"],[64740,1,"\u062a\u0647"],[64741,1,"\u062b\u0645"],[64742,1,"\u062b\u0647"],[64743,1,"\u0633\u0645"],[64744,1,"\u0633\u0647"],[64745,1,"\u0634\u0645"],[64746,1,"\u0634\u0647"],[64747,1,"\u0643\u0644"],[64748,1,"\u0643\u0645"],[64749,1,"\u0644\u0645"],[64750,1,"\u0646\u0645"],[64751,1,"\u0646\u0647"],[64752,1,"\u064a\u0645"],[64753,1,"\u064a\u0647"],[64754,1,"\u0640\u064e\u0651"],[64755,1,"\u0640\u064f\u0651"],[64756,1,"\u0640\u0650\u0651"],[64757,1,"\u0637\u0649"],[64758,1,"\u0637\u064a"],[64759,1,"\u0639\u0649"],[64760,1,"\u0639\u064a"],[64761,1,"\u063a\u0649"],[64762,1,"\u063a\u064a"],[64763,1,"\u0633\u0649"],[64764,1,"\u0633\u064a"],[64765,1,"\u0634\u0649"],[64766,1,"\u0634\u064a"],[64767,1,"\u062d\u0649"],[64768,1,"\u062d\u064a"],[64769,1,"\u062c\u0649"],[64770,1,"\u062c\u064a"],[64771,1,"\u062e\u0649"],[64772,1,"\u062e\u064a"],[64773,1,"\u0635\u0649"],[64774,1,"\u0635\u064a"],[64775,1,"\u0636\u0649"],[64776,1,"\u0636\u064a"],[64777,1,"\u0634\u062c"],[64778,1,"\u0634\u062d"],[64779,1,"\u0634\u062e"],[64780,1,"\u0634\u0645"],[64781,1,"\u0634\u0631"],[64782,1,"\u0633\u0631"],[64783,1,"\u0635\u0631"],[64784,1,"\u0636\u0631"],[64785,1,"\u0637\u0649"],[64786,1,"\u0637\u064a"],[64787,1,"\u0639\u0649"],[64788,1,"\u0639\u064a"],[64789,1,"\u063a\u0649"],[64790,1,"\u063a\u064a"],[64791,1,"\u0633\u0649"],[64792,1,"\u0633\u064a"],[64793,1,"\u0634\u0649"],[64794,1,"\u0634\u064a"],[64795,1,"\u062d\u0649"],[64796,1,"\u062d\u064a"],[64797,1,"\u062c\u0649"],[64798,1,"\u062c\u064a"],[64799,1,"\u062e\u0649"],[64800,1,"\u062e\u064a"],[64801,1,"\u0635\u0649"],[64802,1,"\u0635\u064a"],[64803,1,"\u0636\u0649"],[64804,1,"\u0636\u064a"],[64805,1,"\u0634\u062c"],[64806,1,"\u0634\u062d"],[64807,1,"\u0634\u062e"],[64808,1,"\u0634\u0645"],[64809,1,"\u0634\u0631"],[64810,1,"\u0633\u0631"],[64811,1,"\u0635\u0631"],[64812,1,"\u0636\u0631"],[64813,1,"\u0634\u062c"],[64814,1,"\u0634\u062d"],[64815,1,"\u0634\u062e"],[64816,1,"\u0634\u0645"],[64817,1,"\u0633\u0647"],[64818,1,"\u0634\u0647"],[64819,1,"\u0637\u0645"],[64820,1,"\u0633\u062c"],[64821,1,"\u0633\u062d"],[64822,1,"\u0633\u062e"],[64823,1,"\u0634\u062c"],[64824,1,"\u0634\u062d"],[64825,1,"\u0634\u062e"],[64826,1,"\u0637\u0645"],[64827,1,"\u0638\u0645"],[[64828,64829],1,"\u0627\u064b"],[[64830,64831],2],[[64832,64847],2],[64848,1,"\u062a\u062c\u0645"],[[64849,64850],1,"\u062a\u062d\u062c"],[64851,1,"\u062a\u062d\u0645"],[64852,1,"\u062a\u062e\u0645"],[64853,1,"\u062a\u0645\u062c"],[64854,1,"\u062a\u0645\u062d"],[64855,1,"\u062a\u0645\u062e"],[[64856,64857],1,"\u062c\u0645\u062d"],[64858,1,"\u062d\u0645\u064a"],[64859,1,"\u062d\u0645\u0649"],[64860,1,"\u0633\u062d\u062c"],[64861,1,"\u0633\u062c\u062d"],[64862,1,"\u0633\u062c\u0649"],[[64863,64864],1,"\u0633\u0645\u062d"],[64865,1,"\u0633\u0645\u062c"],[[64866,64867],1,"\u0633\u0645\u0645"],[[64868,64869],1,"\u0635\u062d\u062d"],[64870,1,"\u0635\u0645\u0645"],[[64871,64872],1,"\u0634\u062d\u0645"],[64873,1,"\u0634\u062c\u064a"],[[64874,64875],1,"\u0634\u0645\u062e"],[[64876,64877],1,"\u0634\u0645\u0645"],[64878,1,"\u0636\u062d\u0649"],[[64879,64880],1,"\u0636\u062e\u0645"],[[64881,64882],1,"\u0637\u0645\u062d"],[64883,1,"\u0637\u0645\u0645"],[64884,1,"\u0637\u0645\u064a"],[64885,1,"\u0639\u062c\u0645"],[[64886,64887],1,"\u0639\u0645\u0645"],[64888,1,"\u0639\u0645\u0649"],[64889,1,"\u063a\u0645\u0645"],[64890,1,"\u063a\u0645\u064a"],[64891,1,"\u063a\u0645\u0649"],[[64892,64893],1,"\u0641\u062e\u0645"],[64894,1,"\u0642\u0645\u062d"],[64895,1,"\u0642\u0645\u0645"],[64896,1,"\u0644\u062d\u0645"],[64897,1,"\u0644\u062d\u064a"],[64898,1,"\u0644\u062d\u0649"],[[64899,64900],1,"\u0644\u062c\u062c"],[[64901,64902],1,"\u0644\u062e\u0645"],[[64903,64904],1,"\u0644\u0645\u062d"],[64905,1,"\u0645\u062d\u062c"],[64906,1,"\u0645\u062d\u0645"],[64907,1,"\u0645\u062d\u064a"],[64908,1,"\u0645\u062c\u062d"],[64909,1,"\u0645\u062c\u0645"],[64910,1,"\u0645\u062e\u062c"],[64911,1,"\u0645\u062e\u0645"],[[64912,64913],3],[64914,1,"\u0645\u062c\u062e"],[64915,1,"\u0647\u0645\u062c"],[64916,1,"\u0647\u0645\u0645"],[64917,1,"\u0646\u062d\u0645"],[64918,1,"\u0646\u062d\u0649"],[[64919,64920],1,"\u0646\u062c\u0645"],[64921,1,"\u0646\u062c\u0649"],[64922,1,"\u0646\u0645\u064a"],[64923,1,"\u0646\u0645\u0649"],[[64924,64925],1,"\u064a\u0645\u0645"],[64926,1,"\u0628\u062e\u064a"],[64927,1,"\u062a\u062c\u064a"],[64928,1,"\u062a\u062c\u0649"],[64929,1,"\u062a\u062e\u064a"],[64930,1,"\u062a\u062e\u0649"],[64931,1,"\u062a\u0645\u064a"],[64932,1,"\u062a\u0645\u0649"],[64933,1,"\u062c\u0645\u064a"],[64934,1,"\u062c\u062d\u0649"],[64935,1,"\u062c\u0645\u0649"],[64936,1,"\u0633\u062e\u0649"],[64937,1,"\u0635\u062d\u064a"],[64938,1,"\u0634\u062d\u064a"],[64939,1,"\u0636\u062d\u064a"],[64940,1,"\u0644\u062c\u064a"],[64941,1,"\u0644\u0645\u064a"],[64942,1,"\u064a\u062d\u064a"],[64943,1,"\u064a\u062c\u064a"],[64944,1,"\u064a\u0645\u064a"],[64945,1,"\u0645\u0645\u064a"],[64946,1,"\u0642\u0645\u064a"],[64947,1,"\u0646\u062d\u064a"],[64948,1,"\u0642\u0645\u062d"],[64949,1,"\u0644\u062d\u0645"],[64950,1,"\u0639\u0645\u064a"],[64951,1,"\u0643\u0645\u064a"],[64952,1,"\u0646\u062c\u062d"],[64953,1,"\u0645\u062e\u064a"],[64954,1,"\u0644\u062c\u0645"],[64955,1,"\u0643\u0645\u0645"],[64956,1,"\u0644\u062c\u0645"],[64957,1,"\u0646\u062c\u062d"],[64958,1,"\u062c\u062d\u064a"],[64959,1,"\u062d\u062c\u064a"],[64960,1,"\u0645\u062c\u064a"],[64961,1,"\u0641\u0645\u064a"],[64962,1,"\u0628\u062d\u064a"],[64963,1,"\u0643\u0645\u0645"],[64964,1,"\u0639\u062c\u0645"],[64965,1,"\u0635\u0645\u0645"],[64966,1,"\u0633\u062e\u064a"],[64967,1,"\u0646\u062c\u064a"],[[64968,64974],3],[64975,2],[[64976,65007],3],[65008,1,"\u0635\u0644\u06d2"],[65009,1,"\u0642\u0644\u06d2"],[65010,1,"\u0627\u0644\u0644\u0647"],[65011,1,"\u0627\u0643\u0628\u0631"],[65012,1,"\u0645\u062d\u0645\u062f"],[65013,1,"\u0635\u0644\u0639\u0645"],[65014,1,"\u0631\u0633\u0648\u0644"],[65015,1,"\u0639\u0644\u064a\u0647"],[65016,1,"\u0648\u0633\u0644\u0645"],[65017,1,"\u0635\u0644\u0649"],[65018,5,"\u0635\u0644\u0649 \u0627\u0644\u0644\u0647 \u0639\u0644\u064a\u0647 \u0648\u0633\u0644\u0645"],[65019,5,"\u062c\u0644 \u062c\u0644\u0627\u0644\u0647"],[65020,1,"\u0631\u06cc\u0627\u0644"],[65021,2],[[65022,65023],2],[[65024,65039],7],[65040,5,","],[65041,1,"\u3001"],[65042,3],[65043,5,":"],[65044,5,";"],[65045,5,"!"],[65046,5,"?"],[65047,1,"\u3016"],[65048,1,"\u3017"],[65049,3],[[65050,65055],3],[[65056,65059],2],[[65060,65062],2],[[65063,65069],2],[[65070,65071],2],[65072,3],[65073,1,"\u2014"],[65074,1,"\u2013"],[[65075,65076],5,"_"],[65077,5,"("],[65078,5,")"],[65079,5,"{"],[65080,5,"}"],[65081,1,"\u3014"],[65082,1,"\u3015"],[65083,1,"\u3010"],[65084,1,"\u3011"],[65085,1,"\u300a"],[65086,1,"\u300b"],[65087,1,"\u3008"],[65088,1,"\u3009"],[65089,1,"\u300c"],[65090,1,"\u300d"],[65091,1,"\u300e"],[65092,1,"\u300f"],[[65093,65094],2],[65095,5,"["],[65096,5,"]"],[[65097,65100],5," \u0305"],[[65101,65103],5,"_"],[65104,5,","],[65105,1,"\u3001"],[65106,3],[65107,3],[65108,5,";"],[65109,5,":"],[65110,5,"?"],[65111,5,"!"],[65112,1,"\u2014"],[65113,5,"("],[65114,5,")"],[65115,5,"{"],[65116,5,"}"],[65117,1,"\u3014"],[65118,1,"\u3015"],[65119,5,"#"],[65120,5,"&"],[65121,5,"*"],[65122,5,"+"],[65123,1,"-"],[65124,5,"<"],[65125,5,">"],[65126,5,"="],[65127,3],[65128,5,"\\\\"],[65129,5,"$"],[65130,5,"%"],[65131,5,"@"],[[65132,65135],3],[65136,5," \u064b"],[65137,1,"\u0640\u064b"],[65138,5," \u064c"],[65139,2],[65140,5," \u064d"],[65141,3],[65142,5," \u064e"],[65143,1,"\u0640\u064e"],[65144,5," \u064f"],[65145,1,"\u0640\u064f"],[65146,5," \u0650"],[65147,1,"\u0640\u0650"],[65148,5," \u0651"],[65149,1,"\u0640\u0651"],[65150,5," \u0652"],[65151,1,"\u0640\u0652"],[65152,1,"\u0621"],[[65153,65154],1,"\u0622"],[[65155,65156],1,"\u0623"],[[65157,65158],1,"\u0624"],[[65159,65160],1,"\u0625"],[[65161,65164],1,"\u0626"],[[65165,65166],1,"\u0627"],[[65167,65170],1,"\u0628"],[[65171,65172],1,"\u0629"],[[65173,65176],1,"\u062a"],[[65177,65180],1,"\u062b"],[[65181,65184],1,"\u062c"],[[65185,65188],1,"\u062d"],[[65189,65192],1,"\u062e"],[[65193,65194],1,"\u062f"],[[65195,65196],1,"\u0630"],[[65197,65198],1,"\u0631"],[[65199,65200],1,"\u0632"],[[65201,65204],1,"\u0633"],[[65205,65208],1,"\u0634"],[[65209,65212],1,"\u0635"],[[65213,65216],1,"\u0636"],[[65217,65220],1,"\u0637"],[[65221,65224],1,"\u0638"],[[65225,65228],1,"\u0639"],[[65229,65232],1,"\u063a"],[[65233,65236],1,"\u0641"],[[65237,65240],1,"\u0642"],[[65241,65244],1,"\u0643"],[[65245,65248],1,"\u0644"],[[65249,65252],1,"\u0645"],[[65253,65256],1,"\u0646"],[[65257,65260],1,"\u0647"],[[65261,65262],1,"\u0648"],[[65263,65264],1,"\u0649"],[[65265,65268],1,"\u064a"],[[65269,65270],1,"\u0644\u0622"],[[65271,65272],1,"\u0644\u0623"],[[65273,65274],1,"\u0644\u0625"],[[65275,65276],1,"\u0644\u0627"],[[65277,65278],3],[65279,7],[65280,3],[65281,5,"!"],[65282,5,"\\""],[65283,5,"#"],[65284,5,"$"],[65285,5,"%"],[65286,5,"&"],[65287,5,"\'"],[65288,5,"("],[65289,5,")"],[65290,5,"*"],[65291,5,"+"],[65292,5,","],[65293,1,"-"],[65294,1,"."],[65295,5,"/"],[65296,1,"0"],[65297,1,"1"],[65298,1,"2"],[65299,1,"3"],[65300,1,"4"],[65301,1,"5"],[65302,1,"6"],[65303,1,"7"],[65304,1,"8"],[65305,1,"9"],[65306,5,":"],[65307,5,";"],[65308,5,"<"],[65309,5,"="],[65310,5,">"],[65311,5,"?"],[65312,5,"@"],[65313,1,"a"],[65314,1,"b"],[65315,1,"c"],[65316,1,"d"],[65317,1,"e"],[65318,1,"f"],[65319,1,"g"],[65320,1,"h"],[65321,1,"i"],[65322,1,"j"],[65323,1,"k"],[65324,1,"l"],[65325,1,"m"],[65326,1,"n"],[65327,1,"o"],[65328,1,"p"],[65329,1,"q"],[65330,1,"r"],[65331,1,"s"],[65332,1,"t"],[65333,1,"u"],[65334,1,"v"],[65335,1,"w"],[65336,1,"x"],[65337,1,"y"],[65338,1,"z"],[65339,5,"["],[65340,5,"\\\\"],[65341,5,"]"],[65342,5,"^"],[65343,5,"_"],[65344,5,"`"],[65345,1,"a"],[65346,1,"b"],[65347,1,"c"],[65348,1,"d"],[65349,1,"e"],[65350,1,"f"],[65351,1,"g"],[65352,1,"h"],[65353,1,"i"],[65354,1,"j"],[65355,1,"k"],[65356,1,"l"],[65357,1,"m"],[65358,1,"n"],[65359,1,"o"],[65360,1,"p"],[65361,1,"q"],[65362,1,"r"],[65363,1,"s"],[65364,1,"t"],[65365,1,"u"],[65366,1,"v"],[65367,1,"w"],[65368,1,"x"],[65369,1,"y"],[65370,1,"z"],[65371,5,"{"],[65372,5,"|"],[65373,5,"}"],[65374,5,"~"],[65375,1,"\u2985"],[65376,1,"\u2986"],[65377,1,"."],[65378,1,"\u300c"],[65379,1,"\u300d"],[65380,1,"\u3001"],[65381,1,"\u30fb"],[65382,1,"\u30f2"],[65383,1,"\u30a1"],[65384,1,"\u30a3"],[65385,1,"\u30a5"],[65386,1,"\u30a7"],[65387,1,"\u30a9"],[65388,1,"\u30e3"],[65389,1,"\u30e5"],[65390,1,"\u30e7"],[65391,1,"\u30c3"],[65392,1,"\u30fc"],[65393,1,"\u30a2"],[65394,1,"\u30a4"],[65395,1,"\u30a6"],[65396,1,"\u30a8"],[65397,1,"\u30aa"],[65398,1,"\u30ab"],[65399,1,"\u30ad"],[65400,1,"\u30af"],[65401,1,"\u30b1"],[65402,1,"\u30b3"],[65403,1,"\u30b5"],[65404,1,"\u30b7"],[65405,1,"\u30b9"],[65406,1,"\u30bb"],[65407,1,"\u30bd"],[65408,1,"\u30bf"],[65409,1,"\u30c1"],[65410,1,"\u30c4"],[65411,1,"\u30c6"],[65412,1,"\u30c8"],[65413,1,"\u30ca"],[65414,1,"\u30cb"],[65415,1,"\u30cc"],[65416,1,"\u30cd"],[65417,1,"\u30ce"],[65418,1,"\u30cf"],[65419,1,"\u30d2"],[65420,1,"\u30d5"],[65421,1,"\u30d8"],[65422,1,"\u30db"],[65423,1,"\u30de"],[65424,1,"\u30df"],[65425,1,"\u30e0"],[65426,1,"\u30e1"],[65427,1,"\u30e2"],[65428,1,"\u30e4"],[65429,1,"\u30e6"],[65430,1,"\u30e8"],[65431,1,"\u30e9"],[65432,1,"\u30ea"],[65433,1,"\u30eb"],[65434,1,"\u30ec"],[65435,1,"\u30ed"],[65436,1,"\u30ef"],[65437,1,"\u30f3"],[65438,1,"\u3099"],[65439,1,"\u309a"],[65440,3],[65441,1,"\u1100"],[65442,1,"\u1101"],[65443,1,"\u11aa"],[65444,1,"\u1102"],[65445,1,"\u11ac"],[65446,1,"\u11ad"],[65447,1,"\u1103"],[65448,1,"\u1104"],[65449,1,"\u1105"],[65450,1,"\u11b0"],[65451,1,"\u11b1"],[65452,1,"\u11b2"],[65453,1,"\u11b3"],[65454,1,"\u11b4"],[65455,1,"\u11b5"],[65456,1,"\u111a"],[65457,1,"\u1106"],[65458,1,"\u1107"],[65459,1,"\u1108"],[65460,1,"\u1121"],[65461,1,"\u1109"],[65462,1,"\u110a"],[65463,1,"\u110b"],[65464,1,"\u110c"],[65465,1,"\u110d"],[65466,1,"\u110e"],[65467,1,"\u110f"],[65468,1,"\u1110"],[65469,1,"\u1111"],[65470,1,"\u1112"],[[65471,65473],3],[65474,1,"\u1161"],[65475,1,"\u1162"],[65476,1,"\u1163"],[65477,1,"\u1164"],[65478,1,"\u1165"],[65479,1,"\u1166"],[[65480,65481],3],[65482,1,"\u1167"],[65483,1,"\u1168"],[65484,1,"\u1169"],[65485,1,"\u116a"],[65486,1,"\u116b"],[65487,1,"\u116c"],[[65488,65489],3],[65490,1,"\u116d"],[65491,1,"\u116e"],[65492,1,"\u116f"],[65493,1,"\u1170"],[65494,1,"\u1171"],[65495,1,"\u1172"],[[65496,65497],3],[65498,1,"\u1173"],[65499,1,"\u1174"],[65500,1,"\u1175"],[[65501,65503],3],[65504,1,"\xa2"],[65505,1,"\xa3"],[65506,1,"\xac"],[65507,5," \u0304"],[65508,1,"\xa6"],[65509,1,"\xa5"],[65510,1,"\u20a9"],[65511,3],[65512,1,"\u2502"],[65513,1,"\u2190"],[65514,1,"\u2191"],[65515,1,"\u2192"],[65516,1,"\u2193"],[65517,1,"\u25a0"],[65518,1,"\u25cb"],[[65519,65528],3],[[65529,65531],3],[65532,3],[65533,3],[[65534,65535],3],[[65536,65547],2],[65548,3],[[65549,65574],2],[65575,3],[[65576,65594],2],[65595,3],[[65596,65597],2],[65598,3],[[65599,65613],2],[[65614,65615],3],[[65616,65629],2],[[65630,65663],3],[[65664,65786],2],[[65787,65791],3],[[65792,65794],2],[[65795,65798],3],[[65799,65843],2],[[65844,65846],3],[[65847,65855],2],[[65856,65930],2],[[65931,65932],2],[[65933,65934],2],[65935,3],[[65936,65947],2],[65948,2],[[65949,65951],3],[65952,2],[[65953,65999],3],[[66000,66044],2],[66045,2],[[66046,66175],3],[[66176,66204],2],[[66205,66207],3],[[66208,66256],2],[[66257,66271],3],[66272,2],[[66273,66299],2],[[66300,66303],3],[[66304,66334],2],[66335,2],[[66336,66339],2],[[66340,66348],3],[[66349,66351],2],[[66352,66368],2],[66369,2],[[66370,66377],2],[66378,2],[[66379,66383],3],[[66384,66426],2],[[66427,66431],3],[[66432,66461],2],[66462,3],[66463,2],[[66464,66499],2],[[66500,66503],3],[[66504,66511],2],[[66512,66517],2],[[66518,66559],3],[66560,1,"\ud801\udc28"],[66561,1,"\ud801\udc29"],[66562,1,"\ud801\udc2a"],[66563,1,"\ud801\udc2b"],[66564,1,"\ud801\udc2c"],[66565,1,"\ud801\udc2d"],[66566,1,"\ud801\udc2e"],[66567,1,"\ud801\udc2f"],[66568,1,"\ud801\udc30"],[66569,1,"\ud801\udc31"],[66570,1,"\ud801\udc32"],[66571,1,"\ud801\udc33"],[66572,1,"\ud801\udc34"],[66573,1,"\ud801\udc35"],[66574,1,"\ud801\udc36"],[66575,1,"\ud801\udc37"],[66576,1,"\ud801\udc38"],[66577,1,"\ud801\udc39"],[66578,1,"\ud801\udc3a"],[66579,1,"\ud801\udc3b"],[66580,1,"\ud801\udc3c"],[66581,1,"\ud801\udc3d"],[66582,1,"\ud801\udc3e"],[66583,1,"\ud801\udc3f"],[66584,1,"\ud801\udc40"],[66585,1,"\ud801\udc41"],[66586,1,"\ud801\udc42"],[66587,1,"\ud801\udc43"],[66588,1,"\ud801\udc44"],[66589,1,"\ud801\udc45"],[66590,1,"\ud801\udc46"],[66591,1,"\ud801\udc47"],[66592,1,"\ud801\udc48"],[66593,1,"\ud801\udc49"],[66594,1,"\ud801\udc4a"],[66595,1,"\ud801\udc4b"],[66596,1,"\ud801\udc4c"],[66597,1,"\ud801\udc4d"],[66598,1,"\ud801\udc4e"],[66599,1,"\ud801\udc4f"],[[66600,66637],2],[[66638,66717],2],[[66718,66719],3],[[66720,66729],2],[[66730,66735],3],[66736,1,"\ud801\udcd8"],[66737,1,"\ud801\udcd9"],[66738,1,"\ud801\udcda"],[66739,1,"\ud801\udcdb"],[66740,1,"\ud801\udcdc"],[66741,1,"\ud801\udcdd"],[66742,1,"\ud801\udcde"],[66743,1,"\ud801\udcdf"],[66744,1,"\ud801\udce0"],[66745,1,"\ud801\udce1"],[66746,1,"\ud801\udce2"],[66747,1,"\ud801\udce3"],[66748,1,"\ud801\udce4"],[66749,1,"\ud801\udce5"],[66750,1,"\ud801\udce6"],[66751,1,"\ud801\udce7"],[66752,1,"\ud801\udce8"],[66753,1,"\ud801\udce9"],[66754,1,"\ud801\udcea"],[66755,1,"\ud801\udceb"],[66756,1,"\ud801\udcec"],[66757,1,"\ud801\udced"],[66758,1,"\ud801\udcee"],[66759,1,"\ud801\udcef"],[66760,1,"\ud801\udcf0"],[66761,1,"\ud801\udcf1"],[66762,1,"\ud801\udcf2"],[66763,1,"\ud801\udcf3"],[66764,1,"\ud801\udcf4"],[66765,1,"\ud801\udcf5"],[66766,1,"\ud801\udcf6"],[66767,1,"\ud801\udcf7"],[66768,1,"\ud801\udcf8"],[66769,1,"\ud801\udcf9"],[66770,1,"\ud801\udcfa"],[66771,1,"\ud801\udcfb"],[[66772,66775],3],[[66776,66811],2],[[66812,66815],3],[[66816,66855],2],[[66856,66863],3],[[66864,66915],2],[[66916,66926],3],[66927,2],[66928,1,"\ud801\udd97"],[66929,1,"\ud801\udd98"],[66930,1,"\ud801\udd99"],[66931,1,"\ud801\udd9a"],[66932,1,"\ud801\udd9b"],[66933,1,"\ud801\udd9c"],[66934,1,"\ud801\udd9d"],[66935,1,"\ud801\udd9e"],[66936,1,"\ud801\udd9f"],[66937,1,"\ud801\udda0"],[66938,1,"\ud801\udda1"],[66939,3],[66940,1,"\ud801\udda3"],[66941,1,"\ud801\udda4"],[66942,1,"\ud801\udda5"],[66943,1,"\ud801\udda6"],[66944,1,"\ud801\udda7"],[66945,1,"\ud801\udda8"],[66946,1,"\ud801\udda9"],[66947,1,"\ud801\uddaa"],[66948,1,"\ud801\uddab"],[66949,1,"\ud801\uddac"],[66950,1,"\ud801\uddad"],[66951,1,"\ud801\uddae"],[66952,1,"\ud801\uddaf"],[66953,1,"\ud801\uddb0"],[66954,1,"\ud801\uddb1"],[66955,3],[66956,1,"\ud801\uddb3"],[66957,1,"\ud801\uddb4"],[66958,1,"\ud801\uddb5"],[66959,1,"\ud801\uddb6"],[66960,1,"\ud801\uddb7"],[66961,1,"\ud801\uddb8"],[66962,1,"\ud801\uddb9"],[66963,3],[66964,1,"\ud801\uddbb"],[66965,1,"\ud801\uddbc"],[66966,3],[[66967,66977],2],[66978,3],[[66979,66993],2],[66994,3],[[66995,67001],2],[67002,3],[[67003,67004],2],[[67005,67071],3],[[67072,67382],2],[[67383,67391],3],[[67392,67413],2],[[67414,67423],3],[[67424,67431],2],[[67432,67455],3],[67456,2],[67457,1,"\u02d0"],[67458,1,"\u02d1"],[67459,1,"\xe6"],[67460,1,"\u0299"],[67461,1,"\u0253"],[67462,3],[67463,1,"\u02a3"],[67464,1,"\uab66"],[67465,1,"\u02a5"],[67466,1,"\u02a4"],[67467,1,"\u0256"],[67468,1,"\u0257"],[67469,1,"\u1d91"],[67470,1,"\u0258"],[67471,1,"\u025e"],[67472,1,"\u02a9"],[67473,1,"\u0264"],[67474,1,"\u0262"],[67475,1,"\u0260"],[67476,1,"\u029b"],[67477,1,"\u0127"],[67478,1,"\u029c"],[67479,1,"\u0267"],[67480,1,"\u0284"],[67481,1,"\u02aa"],[67482,1,"\u02ab"],[67483,1,"\u026c"],[67484,1,"\ud837\udf04"],[67485,1,"\ua78e"],[67486,1,"\u026e"],[67487,1,"\ud837\udf05"],[67488,1,"\u028e"],[67489,1,"\ud837\udf06"],[67490,1,"\xf8"],[67491,1,"\u0276"],[67492,1,"\u0277"],[67493,1,"q"],[67494,1,"\u027a"],[67495,1,"\ud837\udf08"],[67496,1,"\u027d"],[67497,1,"\u027e"],[67498,1,"\u0280"],[67499,1,"\u02a8"],[67500,1,"\u02a6"],[67501,1,"\uab67"],[67502,1,"\u02a7"],[67503,1,"\u0288"],[67504,1,"\u2c71"],[67505,3],[67506,1,"\u028f"],[67507,1,"\u02a1"],[67508,1,"\u02a2"],[67509,1,"\u0298"],[67510,1,"\u01c0"],[67511,1,"\u01c1"],[67512,1,"\u01c2"],[67513,1,"\ud837\udf0a"],[67514,1,"\ud837\udf1e"],[[67515,67583],3],[[67584,67589],2],[[67590,67591],3],[67592,2],[67593,3],[[67594,67637],2],[67638,3],[[67639,67640],2],[[67641,67643],3],[67644,2],[[67645,67646],3],[67647,2],[[67648,67669],2],[67670,3],[[67671,67679],2],[[67680,67702],2],[[67703,67711],2],[[67712,67742],2],[[67743,67750],3],[[67751,67759],2],[[67760,67807],3],[[67808,67826],2],[67827,3],[[67828,67829],2],[[67830,67834],3],[[67835,67839],2],[[67840,67861],2],[[67862,67865],2],[[67866,67867],2],[[67868,67870],3],[67871,2],[[67872,67897],2],[[67898,67902],3],[67903,2],[[67904,67967],3],[[67968,68023],2],[[68024,68027],3],[[68028,68029],2],[[68030,68031],2],[[68032,68047],2],[[68048,68049],3],[[68050,68095],2],[[68096,68099],2],[68100,3],[[68101,68102],2],[[68103,68107],3],[[68108,68115],2],[68116,3],[[68117,68119],2],[68120,3],[[68121,68147],2],[[68148,68149],2],[[68150,68151],3],[[68152,68154],2],[[68155,68158],3],[68159,2],[[68160,68167],2],[68168,2],[[68169,68175],3],[[68176,68184],2],[[68185,68191],3],[[68192,68220],2],[[68221,68223],2],[[68224,68252],2],[[68253,68255],2],[[68256,68287],3],[[68288,68295],2],[68296,2],[[68297,68326],2],[[68327,68330],3],[[68331,68342],2],[[68343,68351],3],[[68352,68405],2],[[68406,68408],3],[[68409,68415],2],[[68416,68437],2],[[68438,68439],3],[[68440,68447],2],[[68448,68466],2],[[68467,68471],3],[[68472,68479],2],[[68480,68497],2],[[68498,68504],3],[[68505,68508],2],[[68509,68520],3],[[68521,68527],2],[[68528,68607],3],[[68608,68680],2],[[68681,68735],3],[68736,1,"\ud803\udcc0"],[68737,1,"\ud803\udcc1"],[68738,1,"\ud803\udcc2"],[68739,1,"\ud803\udcc3"],[68740,1,"\ud803\udcc4"],[68741,1,"\ud803\udcc5"],[68742,1,"\ud803\udcc6"],[68743,1,"\ud803\udcc7"],[68744,1,"\ud803\udcc8"],[68745,1,"\ud803\udcc9"],[68746,1,"\ud803\udcca"],[68747,1,"\ud803\udccb"],[68748,1,"\ud803\udccc"],[68749,1,"\ud803\udccd"],[68750,1,"\ud803\udcce"],[68751,1,"\ud803\udccf"],[68752,1,"\ud803\udcd0"],[68753,1,"\ud803\udcd1"],[68754,1,"\ud803\udcd2"],[68755,1,"\ud803\udcd3"],[68756,1,"\ud803\udcd4"],[68757,1,"\ud803\udcd5"],[68758,1,"\ud803\udcd6"],[68759,1,"\ud803\udcd7"],[68760,1,"\ud803\udcd8"],[68761,1,"\ud803\udcd9"],[68762,1,"\ud803\udcda"],[68763,1,"\ud803\udcdb"],[68764,1,"\ud803\udcdc"],[68765,1,"\ud803\udcdd"],[68766,1,"\ud803\udcde"],[68767,1,"\ud803\udcdf"],[68768,1,"\ud803\udce0"],[68769,1,"\ud803\udce1"],[68770,1,"\ud803\udce2"],[68771,1,"\ud803\udce3"],[68772,1,"\ud803\udce4"],[68773,1,"\ud803\udce5"],[68774,1,"\ud803\udce6"],[68775,1,"\ud803\udce7"],[68776,1,"\ud803\udce8"],[68777,1,"\ud803\udce9"],[68778,1,"\ud803\udcea"],[68779,1,"\ud803\udceb"],[68780,1,"\ud803\udcec"],[68781,1,"\ud803\udced"],[68782,1,"\ud803\udcee"],[68783,1,"\ud803\udcef"],[68784,1,"\ud803\udcf0"],[68785,1,"\ud803\udcf1"],[68786,1,"\ud803\udcf2"],[[68787,68799],3],[[68800,68850],2],[[68851,68857],3],[[68858,68863],2],[[68864,68903],2],[[68904,68911],3],[[68912,68921],2],[[68922,69215],3],[[69216,69246],2],[69247,3],[[69248,69289],2],[69290,3],[[69291,69292],2],[69293,2],[[69294,69295],3],[[69296,69297],2],[[69298,69372],3],[[69373,69375],2],[[69376,69404],2],[[69405,69414],2],[69415,2],[[69416,69423],3],[[69424,69456],2],[[69457,69465],2],[[69466,69487],3],[[69488,69509],2],[[69510,69513],2],[[69514,69551],3],[[69552,69572],2],[[69573,69579],2],[[69580,69599],3],[[69600,69622],2],[[69623,69631],3],[[69632,69702],2],[[69703,69709],2],[[69710,69713],3],[[69714,69733],2],[[69734,69743],2],[[69744,69749],2],[[69750,69758],3],[69759,2],[[69760,69818],2],[[69819,69820],2],[69821,3],[[69822,69825],2],[69826,2],[[69827,69836],3],[69837,3],[[69838,69839],3],[[69840,69864],2],[[69865,69871],3],[[69872,69881],2],[[69882,69887],3],[[69888,69940],2],[69941,3],[[69942,69951],2],[[69952,69955],2],[[69956,69958],2],[69959,2],[[69960,69967],3],[[69968,70003],2],[[70004,70005],2],[70006,2],[[70007,70015],3],[[70016,70084],2],[[70085,70088],2],[[70089,70092],2],[70093,2],[[70094,70095],2],[[70096,70105],2],[70106,2],[70107,2],[70108,2],[[70109,70111],2],[70112,3],[[70113,70132],2],[[70133,70143],3],[[70144,70161],2],[70162,3],[[70163,70199],2],[[70200,70205],2],[70206,2],[[70207,70209],2],[[70210,70271],3],[[70272,70278],2],[70279,3],[70280,2],[70281,3],[[70282,70285],2],[70286,3],[[70287,70301],2],[70302,3],[[70303,70312],2],[70313,2],[[70314,70319],3],[[70320,70378],2],[[70379,70383],3],[[70384,70393],2],[[70394,70399],3],[70400,2],[[70401,70403],2],[70404,3],[[70405,70412],2],[[70413,70414],3],[[70415,70416],2],[[70417,70418],3],[[70419,70440],2],[70441,3],[[70442,70448],2],[70449,3],[[70450,70451],2],[70452,3],[[70453,70457],2],[70458,3],[70459,2],[[70460,70468],2],[[70469,70470],3],[[70471,70472],2],[[70473,70474],3],[[70475,70477],2],[[70478,70479],3],[70480,2],[[70481,70486],3],[70487,2],[[70488,70492],3],[[70493,70499],2],[[70500,70501],3],[[70502,70508],2],[[70509,70511],3],[[70512,70516],2],[[70517,70655],3],[[70656,70730],2],[[70731,70735],2],[[70736,70745],2],[70746,2],[70747,2],[70748,3],[70749,2],[70750,2],[70751,2],[[70752,70753],2],[[70754,70783],3],[[70784,70853],2],[70854,2],[70855,2],[[70856,70863],3],[[70864,70873],2],[[70874,71039],3],[[71040,71093],2],[[71094,71095],3],[[71096,71104],2],[[71105,71113],2],[[71114,71127],2],[[71128,71133],2],[[71134,71167],3],[[71168,71232],2],[[71233,71235],2],[71236,2],[[71237,71247],3],[[71248,71257],2],[[71258,71263],3],[[71264,71276],2],[[71277,71295],3],[[71296,71351],2],[71352,2],[71353,2],[[71354,71359],3],[[71360,71369],2],[[71370,71423],3],[[71424,71449],2],[71450,2],[[71451,71452],3],[[71453,71467],2],[[71468,71471],3],[[71472,71481],2],[[71482,71487],2],[[71488,71494],2],[[71495,71679],3],[[71680,71738],2],[71739,2],[[71740,71839],3],[71840,1,"\ud806\udcc0"],[71841,1,"\ud806\udcc1"],[71842,1,"\ud806\udcc2"],[71843,1,"\ud806\udcc3"],[71844,1,"\ud806\udcc4"],[71845,1,"\ud806\udcc5"],[71846,1,"\ud806\udcc6"],[71847,1,"\ud806\udcc7"],[71848,1,"\ud806\udcc8"],[71849,1,"\ud806\udcc9"],[71850,1,"\ud806\udcca"],[71851,1,"\ud806\udccb"],[71852,1,"\ud806\udccc"],[71853,1,"\ud806\udccd"],[71854,1,"\ud806\udcce"],[71855,1,"\ud806\udccf"],[71856,1,"\ud806\udcd0"],[71857,1,"\ud806\udcd1"],[71858,1,"\ud806\udcd2"],[71859,1,"\ud806\udcd3"],[71860,1,"\ud806\udcd4"],[71861,1,"\ud806\udcd5"],[71862,1,"\ud806\udcd6"],[71863,1,"\ud806\udcd7"],[71864,1,"\ud806\udcd8"],[71865,1,"\ud806\udcd9"],[71866,1,"\ud806\udcda"],[71867,1,"\ud806\udcdb"],[71868,1,"\ud806\udcdc"],[71869,1,"\ud806\udcdd"],[71870,1,"\ud806\udcde"],[71871,1,"\ud806\udcdf"],[[71872,71913],2],[[71914,71922],2],[[71923,71934],3],[71935,2],[[71936,71942],2],[[71943,71944],3],[71945,2],[[71946,71947],3],[[71948,71955],2],[71956,3],[[71957,71958],2],[71959,3],[[71960,71989],2],[71990,3],[[71991,71992],2],[[71993,71994],3],[[71995,72003],2],[[72004,72006],2],[[72007,72015],3],[[72016,72025],2],[[72026,72095],3],[[72096,72103],2],[[72104,72105],3],[[72106,72151],2],[[72152,72153],3],[[72154,72161],2],[72162,2],[[72163,72164],2],[[72165,72191],3],[[72192,72254],2],[[72255,72262],2],[72263,2],[[72264,72271],3],[[72272,72323],2],[[72324,72325],2],[[72326,72345],2],[[72346,72348],2],[72349,2],[[72350,72354],2],[[72355,72367],3],[[72368,72383],2],[[72384,72440],2],[[72441,72447],3],[[72448,72457],2],[[72458,72703],3],[[72704,72712],2],[72713,3],[[72714,72758],2],[72759,3],[[72760,72768],2],[[72769,72773],2],[[72774,72783],3],[[72784,72793],2],[[72794,72812],2],[[72813,72815],3],[[72816,72817],2],[[72818,72847],2],[[72848,72849],3],[[72850,72871],2],[72872,3],[[72873,72886],2],[[72887,72959],3],[[72960,72966],2],[72967,3],[[72968,72969],2],[72970,3],[[72971,73014],2],[[73015,73017],3],[73018,2],[73019,3],[[73020,73021],2],[73022,3],[[73023,73031],2],[[73032,73039],3],[[73040,73049],2],[[73050,73055],3],[[73056,73061],2],[73062,3],[[73063,73064],2],[73065,3],[[73066,73102],2],[73103,3],[[73104,73105],2],[73106,3],[[73107,73112],2],[[73113,73119],3],[[73120,73129],2],[[73130,73439],3],[[73440,73462],2],[[73463,73464],2],[[73465,73471],3],[[73472,73488],2],[73489,3],[[73490,73530],2],[[73531,73533],3],[[73534,73538],2],[[73539,73551],2],[[73552,73561],2],[[73562,73647],3],[73648,2],[[73649,73663],3],[[73664,73713],2],[[73714,73726],3],[73727,2],[[73728,74606],2],[[74607,74648],2],[74649,2],[[74650,74751],3],[[74752,74850],2],[[74851,74862],2],[74863,3],[[74864,74867],2],[74868,2],[[74869,74879],3],[[74880,75075],2],[[75076,77711],3],[[77712,77808],2],[[77809,77810],2],[[77811,77823],3],[[77824,78894],2],[78895,2],[[78896,78904],3],[[78905,78911],3],[[78912,78933],2],[[78934,82943],3],[[82944,83526],2],[[83527,92159],3],[[92160,92728],2],[[92729,92735],3],[[92736,92766],2],[92767,3],[[92768,92777],2],[[92778,92781],3],[[92782,92783],2],[[92784,92862],2],[92863,3],[[92864,92873],2],[[92874,92879],3],[[92880,92909],2],[[92910,92911],3],[[92912,92916],2],[92917,2],[[92918,92927],3],[[92928,92982],2],[[92983,92991],2],[[92992,92995],2],[[92996,92997],2],[[92998,93007],3],[[93008,93017],2],[93018,3],[[93019,93025],2],[93026,3],[[93027,93047],2],[[93048,93052],3],[[93053,93071],2],[[93072,93759],3],[93760,1,"\ud81b\ude60"],[93761,1,"\ud81b\ude61"],[93762,1,"\ud81b\ude62"],[93763,1,"\ud81b\ude63"],[93764,1,"\ud81b\ude64"],[93765,1,"\ud81b\ude65"],[93766,1,"\ud81b\ude66"],[93767,1,"\ud81b\ude67"],[93768,1,"\ud81b\ude68"],[93769,1,"\ud81b\ude69"],[93770,1,"\ud81b\ude6a"],[93771,1,"\ud81b\ude6b"],[93772,1,"\ud81b\ude6c"],[93773,1,"\ud81b\ude6d"],[93774,1,"\ud81b\ude6e"],[93775,1,"\ud81b\ude6f"],[93776,1,"\ud81b\ude70"],[93777,1,"\ud81b\ude71"],[93778,1,"\ud81b\ude72"],[93779,1,"\ud81b\ude73"],[93780,1,"\ud81b\ude74"],[93781,1,"\ud81b\ude75"],[93782,1,"\ud81b\ude76"],[93783,1,"\ud81b\ude77"],[93784,1,"\ud81b\ude78"],[93785,1,"\ud81b\ude79"],[93786,1,"\ud81b\ude7a"],[93787,1,"\ud81b\ude7b"],[93788,1,"\ud81b\ude7c"],[93789,1,"\ud81b\ude7d"],[93790,1,"\ud81b\ude7e"],[93791,1,"\ud81b\ude7f"],[[93792,93823],2],[[93824,93850],2],[[93851,93951],3],[[93952,94020],2],[[94021,94026],2],[[94027,94030],3],[94031,2],[[94032,94078],2],[[94079,94087],2],[[94088,94094],3],[[94095,94111],2],[[94112,94175],3],[94176,2],[94177,2],[94178,2],[94179,2],[94180,2],[[94181,94191],3],[[94192,94193],2],[[94194,94207],3],[[94208,100332],2],[[100333,100337],2],[[100338,100343],2],[[100344,100351],3],[[100352,101106],2],[[101107,101589],2],[[101590,101631],3],[[101632,101640],2],[[101641,110575],3],[[110576,110579],2],[110580,3],[[110581,110587],2],[110588,3],[[110589,110590],2],[110591,3],[[110592,110593],2],[[110594,110878],2],[[110879,110882],2],[[110883,110897],3],[110898,2],[[110899,110927],3],[[110928,110930],2],[[110931,110932],3],[110933,2],[[110934,110947],3],[[110948,110951],2],[[110952,110959],3],[[110960,111355],2],[[111356,113663],3],[[113664,113770],2],[[113771,113775],3],[[113776,113788],2],[[113789,113791],3],[[113792,113800],2],[[113801,113807],3],[[113808,113817],2],[[113818,113819],3],[113820,2],[[113821,113822],2],[113823,2],[[113824,113827],7],[[113828,118527],3],[[118528,118573],2],[[118574,118575],3],[[118576,118598],2],[[118599,118607],3],[[118608,118723],2],[[118724,118783],3],[[118784,119029],2],[[119030,119039],3],[[119040,119078],2],[[119079,119080],3],[119081,2],[[119082,119133],2],[119134,1,"\ud834\udd57\ud834\udd65"],[119135,1,"\ud834\udd58\ud834\udd65"],[119136,1,"\ud834\udd58\ud834\udd65\ud834\udd6e"],[119137,1,"\ud834\udd58\ud834\udd65\ud834\udd6f"],[119138,1,"\ud834\udd58\ud834\udd65\ud834\udd70"],[119139,1,"\ud834\udd58\ud834\udd65\ud834\udd71"],[119140,1,"\ud834\udd58\ud834\udd65\ud834\udd72"],[[119141,119154],2],[[119155,119162],3],[[119163,119226],2],[119227,1,"\ud834\uddb9\ud834\udd65"],[119228,1,"\ud834\uddba\ud834\udd65"],[119229,1,"\ud834\uddb9\ud834\udd65\ud834\udd6e"],[119230,1,"\ud834\uddba\ud834\udd65\ud834\udd6e"],[119231,1,"\ud834\uddb9\ud834\udd65\ud834\udd6f"],[119232,1,"\ud834\uddba\ud834\udd65\ud834\udd6f"],[[119233,119261],2],[[119262,119272],2],[[119273,119274],2],[[119275,119295],3],[[119296,119365],2],[[119366,119487],3],[[119488,119507],2],[[119508,119519],3],[[119520,119539],2],[[119540,119551],3],[[119552,119638],2],[[119639,119647],3],[[119648,119665],2],[[119666,119672],2],[[119673,119807],3],[119808,1,"a"],[119809,1,"b"],[119810,1,"c"],[119811,1,"d"],[119812,1,"e"],[119813,1,"f"],[119814,1,"g"],[119815,1,"h"],[119816,1,"i"],[119817,1,"j"],[119818,1,"k"],[119819,1,"l"],[119820,1,"m"],[119821,1,"n"],[119822,1,"o"],[119823,1,"p"],[119824,1,"q"],[119825,1,"r"],[119826,1,"s"],[119827,1,"t"],[119828,1,"u"],[119829,1,"v"],[119830,1,"w"],[119831,1,"x"],[119832,1,"y"],[119833,1,"z"],[119834,1,"a"],[119835,1,"b"],[119836,1,"c"],[119837,1,"d"],[119838,1,"e"],[119839,1,"f"],[119840,1,"g"],[119841,1,"h"],[119842,1,"i"],[119843,1,"j"],[119844,1,"k"],[119845,1,"l"],[119846,1,"m"],[119847,1,"n"],[119848,1,"o"],[119849,1,"p"],[119850,1,"q"],[119851,1,"r"],[119852,1,"s"],[119853,1,"t"],[119854,1,"u"],[119855,1,"v"],[119856,1,"w"],[119857,1,"x"],[119858,1,"y"],[119859,1,"z"],[119860,1,"a"],[119861,1,"b"],[119862,1,"c"],[119863,1,"d"],[119864,1,"e"],[119865,1,"f"],[119866,1,"g"],[119867,1,"h"],[119868,1,"i"],[119869,1,"j"],[119870,1,"k"],[119871,1,"l"],[119872,1,"m"],[119873,1,"n"],[119874,1,"o"],[119875,1,"p"],[119876,1,"q"],[119877,1,"r"],[119878,1,"s"],[119879,1,"t"],[119880,1,"u"],[119881,1,"v"],[119882,1,"w"],[119883,1,"x"],[119884,1,"y"],[119885,1,"z"],[119886,1,"a"],[119887,1,"b"],[119888,1,"c"],[119889,1,"d"],[119890,1,"e"],[119891,1,"f"],[119892,1,"g"],[119893,3],[119894,1,"i"],[119895,1,"j"],[119896,1,"k"],[119897,1,"l"],[119898,1,"m"],[119899,1,"n"],[119900,1,"o"],[119901,1,"p"],[119902,1,"q"],[119903,1,"r"],[119904,1,"s"],[119905,1,"t"],[119906,1,"u"],[119907,1,"v"],[119908,1,"w"],[119909,1,"x"],[119910,1,"y"],[119911,1,"z"],[119912,1,"a"],[119913,1,"b"],[119914,1,"c"],[119915,1,"d"],[119916,1,"e"],[119917,1,"f"],[119918,1,"g"],[119919,1,"h"],[119920,1,"i"],[119921,1,"j"],[119922,1,"k"],[119923,1,"l"],[119924,1,"m"],[119925,1,"n"],[119926,1,"o"],[119927,1,"p"],[119928,1,"q"],[119929,1,"r"],[119930,1,"s"],[119931,1,"t"],[119932,1,"u"],[119933,1,"v"],[119934,1,"w"],[119935,1,"x"],[119936,1,"y"],[119937,1,"z"],[119938,1,"a"],[119939,1,"b"],[119940,1,"c"],[119941,1,"d"],[119942,1,"e"],[119943,1,"f"],[119944,1,"g"],[119945,1,"h"],[119946,1,"i"],[119947,1,"j"],[119948,1,"k"],[119949,1,"l"],[119950,1,"m"],[119951,1,"n"],[119952,1,"o"],[119953,1,"p"],[119954,1,"q"],[119955,1,"r"],[119956,1,"s"],[119957,1,"t"],[119958,1,"u"],[119959,1,"v"],[119960,1,"w"],[119961,1,"x"],[119962,1,"y"],[119963,1,"z"],[119964,1,"a"],[119965,3],[119966,1,"c"],[119967,1,"d"],[[119968,119969],3],[119970,1,"g"],[[119971,119972],3],[119973,1,"j"],[119974,1,"k"],[[119975,119976],3],[119977,1,"n"],[119978,1,"o"],[119979,1,"p"],[119980,1,"q"],[119981,3],[119982,1,"s"],[119983,1,"t"],[119984,1,"u"],[119985,1,"v"],[119986,1,"w"],[119987,1,"x"],[119988,1,"y"],[119989,1,"z"],[119990,1,"a"],[119991,1,"b"],[119992,1,"c"],[119993,1,"d"],[119994,3],[119995,1,"f"],[119996,3],[119997,1,"h"],[119998,1,"i"],[119999,1,"j"],[120000,1,"k"],[120001,1,"l"],[120002,1,"m"],[120003,1,"n"],[120004,3],[120005,1,"p"],[120006,1,"q"],[120007,1,"r"],[120008,1,"s"],[120009,1,"t"],[120010,1,"u"],[120011,1,"v"],[120012,1,"w"],[120013,1,"x"],[120014,1,"y"],[120015,1,"z"],[120016,1,"a"],[120017,1,"b"],[120018,1,"c"],[120019,1,"d"],[120020,1,"e"],[120021,1,"f"],[120022,1,"g"],[120023,1,"h"],[120024,1,"i"],[120025,1,"j"],[120026,1,"k"],[120027,1,"l"],[120028,1,"m"],[120029,1,"n"],[120030,1,"o"],[120031,1,"p"],[120032,1,"q"],[120033,1,"r"],[120034,1,"s"],[120035,1,"t"],[120036,1,"u"],[120037,1,"v"],[120038,1,"w"],[120039,1,"x"],[120040,1,"y"],[120041,1,"z"],[120042,1,"a"],[120043,1,"b"],[120044,1,"c"],[120045,1,"d"],[120046,1,"e"],[120047,1,"f"],[120048,1,"g"],[120049,1,"h"],[120050,1,"i"],[120051,1,"j"],[120052,1,"k"],[120053,1,"l"],[120054,1,"m"],[120055,1,"n"],[120056,1,"o"],[120057,1,"p"],[120058,1,"q"],[120059,1,"r"],[120060,1,"s"],[120061,1,"t"],[120062,1,"u"],[120063,1,"v"],[120064,1,"w"],[120065,1,"x"],[120066,1,"y"],[120067,1,"z"],[120068,1,"a"],[120069,1,"b"],[120070,3],[120071,1,"d"],[120072,1,"e"],[120073,1,"f"],[120074,1,"g"],[[120075,120076],3],[120077,1,"j"],[120078,1,"k"],[120079,1,"l"],[120080,1,"m"],[120081,1,"n"],[120082,1,"o"],[120083,1,"p"],[120084,1,"q"],[120085,3],[120086,1,"s"],[120087,1,"t"],[120088,1,"u"],[120089,1,"v"],[120090,1,"w"],[120091,1,"x"],[120092,1,"y"],[120093,3],[120094,1,"a"],[120095,1,"b"],[120096,1,"c"],[120097,1,"d"],[120098,1,"e"],[120099,1,"f"],[120100,1,"g"],[120101,1,"h"],[120102,1,"i"],[120103,1,"j"],[120104,1,"k"],[120105,1,"l"],[120106,1,"m"],[120107,1,"n"],[120108,1,"o"],[120109,1,"p"],[120110,1,"q"],[120111,1,"r"],[120112,1,"s"],[120113,1,"t"],[120114,1,"u"],[120115,1,"v"],[120116,1,"w"],[120117,1,"x"],[120118,1,"y"],[120119,1,"z"],[120120,1,"a"],[120121,1,"b"],[120122,3],[120123,1,"d"],[120124,1,"e"],[120125,1,"f"],[120126,1,"g"],[120127,3],[120128,1,"i"],[120129,1,"j"],[120130,1,"k"],[120131,1,"l"],[120132,1,"m"],[120133,3],[120134,1,"o"],[[120135,120137],3],[120138,1,"s"],[120139,1,"t"],[120140,1,"u"],[120141,1,"v"],[120142,1,"w"],[120143,1,"x"],[120144,1,"y"],[120145,3],[120146,1,"a"],[120147,1,"b"],[120148,1,"c"],[120149,1,"d"],[120150,1,"e"],[120151,1,"f"],[120152,1,"g"],[120153,1,"h"],[120154,1,"i"],[120155,1,"j"],[120156,1,"k"],[120157,1,"l"],[120158,1,"m"],[120159,1,"n"],[120160,1,"o"],[120161,1,"p"],[120162,1,"q"],[120163,1,"r"],[120164,1,"s"],[120165,1,"t"],[120166,1,"u"],[120167,1,"v"],[120168,1,"w"],[120169,1,"x"],[120170,1,"y"],[120171,1,"z"],[120172,1,"a"],[120173,1,"b"],[120174,1,"c"],[120175,1,"d"],[120176,1,"e"],[120177,1,"f"],[120178,1,"g"],[120179,1,"h"],[120180,1,"i"],[120181,1,"j"],[120182,1,"k"],[120183,1,"l"],[120184,1,"m"],[120185,1,"n"],[120186,1,"o"],[120187,1,"p"],[120188,1,"q"],[120189,1,"r"],[120190,1,"s"],[120191,1,"t"],[120192,1,"u"],[120193,1,"v"],[120194,1,"w"],[120195,1,"x"],[120196,1,"y"],[120197,1,"z"],[120198,1,"a"],[120199,1,"b"],[120200,1,"c"],[120201,1,"d"],[120202,1,"e"],[120203,1,"f"],[120204,1,"g"],[120205,1,"h"],[120206,1,"i"],[120207,1,"j"],[120208,1,"k"],[120209,1,"l"],[120210,1,"m"],[120211,1,"n"],[120212,1,"o"],[120213,1,"p"],[120214,1,"q"],[120215,1,"r"],[120216,1,"s"],[120217,1,"t"],[120218,1,"u"],[120219,1,"v"],[120220,1,"w"],[120221,1,"x"],[120222,1,"y"],[120223,1,"z"],[120224,1,"a"],[120225,1,"b"],[120226,1,"c"],[120227,1,"d"],[120228,1,"e"],[120229,1,"f"],[120230,1,"g"],[120231,1,"h"],[120232,1,"i"],[120233,1,"j"],[120234,1,"k"],[120235,1,"l"],[120236,1,"m"],[120237,1,"n"],[120238,1,"o"],[120239,1,"p"],[120240,1,"q"],[120241,1,"r"],[120242,1,"s"],[120243,1,"t"],[120244,1,"u"],[120245,1,"v"],[120246,1,"w"],[120247,1,"x"],[120248,1,"y"],[120249,1,"z"],[120250,1,"a"],[120251,1,"b"],[120252,1,"c"],[120253,1,"d"],[120254,1,"e"],[120255,1,"f"],[120256,1,"g"],[120257,1,"h"],[120258,1,"i"],[120259,1,"j"],[120260,1,"k"],[120261,1,"l"],[120262,1,"m"],[120263,1,"n"],[120264,1,"o"],[120265,1,"p"],[120266,1,"q"],[120267,1,"r"],[120268,1,"s"],[120269,1,"t"],[120270,1,"u"],[120271,1,"v"],[120272,1,"w"],[120273,1,"x"],[120274,1,"y"],[120275,1,"z"],[120276,1,"a"],[120277,1,"b"],[120278,1,"c"],[120279,1,"d"],[120280,1,"e"],[120281,1,"f"],[120282,1,"g"],[120283,1,"h"],[120284,1,"i"],[120285,1,"j"],[120286,1,"k"],[120287,1,"l"],[120288,1,"m"],[120289,1,"n"],[120290,1,"o"],[120291,1,"p"],[120292,1,"q"],[120293,1,"r"],[120294,1,"s"],[120295,1,"t"],[120296,1,"u"],[120297,1,"v"],[120298,1,"w"],[120299,1,"x"],[120300,1,"y"],[120301,1,"z"],[120302,1,"a"],[120303,1,"b"],[120304,1,"c"],[120305,1,"d"],[120306,1,"e"],[120307,1,"f"],[120308,1,"g"],[120309,1,"h"],[120310,1,"i"],[120311,1,"j"],[120312,1,"k"],[120313,1,"l"],[120314,1,"m"],[120315,1,"n"],[120316,1,"o"],[120317,1,"p"],[120318,1,"q"],[120319,1,"r"],[120320,1,"s"],[120321,1,"t"],[120322,1,"u"],[120323,1,"v"],[120324,1,"w"],[120325,1,"x"],[120326,1,"y"],[120327,1,"z"],[120328,1,"a"],[120329,1,"b"],[120330,1,"c"],[120331,1,"d"],[120332,1,"e"],[120333,1,"f"],[120334,1,"g"],[120335,1,"h"],[120336,1,"i"],[120337,1,"j"],[120338,1,"k"],[120339,1,"l"],[120340,1,"m"],[120341,1,"n"],[120342,1,"o"],[120343,1,"p"],[120344,1,"q"],[120345,1,"r"],[120346,1,"s"],[120347,1,"t"],[120348,1,"u"],[120349,1,"v"],[120350,1,"w"],[120351,1,"x"],[120352,1,"y"],[120353,1,"z"],[120354,1,"a"],[120355,1,"b"],[120356,1,"c"],[120357,1,"d"],[120358,1,"e"],[120359,1,"f"],[120360,1,"g"],[120361,1,"h"],[120362,1,"i"],[120363,1,"j"],[120364,1,"k"],[120365,1,"l"],[120366,1,"m"],[120367,1,"n"],[120368,1,"o"],[120369,1,"p"],[120370,1,"q"],[120371,1,"r"],[120372,1,"s"],[120373,1,"t"],[120374,1,"u"],[120375,1,"v"],[120376,1,"w"],[120377,1,"x"],[120378,1,"y"],[120379,1,"z"],[120380,1,"a"],[120381,1,"b"],[120382,1,"c"],[120383,1,"d"],[120384,1,"e"],[120385,1,"f"],[120386,1,"g"],[120387,1,"h"],[120388,1,"i"],[120389,1,"j"],[120390,1,"k"],[120391,1,"l"],[120392,1,"m"],[120393,1,"n"],[120394,1,"o"],[120395,1,"p"],[120396,1,"q"],[120397,1,"r"],[120398,1,"s"],[120399,1,"t"],[120400,1,"u"],[120401,1,"v"],[120402,1,"w"],[120403,1,"x"],[120404,1,"y"],[120405,1,"z"],[120406,1,"a"],[120407,1,"b"],[120408,1,"c"],[120409,1,"d"],[120410,1,"e"],[120411,1,"f"],[120412,1,"g"],[120413,1,"h"],[120414,1,"i"],[120415,1,"j"],[120416,1,"k"],[120417,1,"l"],[120418,1,"m"],[120419,1,"n"],[120420,1,"o"],[120421,1,"p"],[120422,1,"q"],[120423,1,"r"],[120424,1,"s"],[120425,1,"t"],[120426,1,"u"],[120427,1,"v"],[120428,1,"w"],[120429,1,"x"],[120430,1,"y"],[120431,1,"z"],[120432,1,"a"],[120433,1,"b"],[120434,1,"c"],[120435,1,"d"],[120436,1,"e"],[120437,1,"f"],[120438,1,"g"],[120439,1,"h"],[120440,1,"i"],[120441,1,"j"],[120442,1,"k"],[120443,1,"l"],[120444,1,"m"],[120445,1,"n"],[120446,1,"o"],[120447,1,"p"],[120448,1,"q"],[120449,1,"r"],[120450,1,"s"],[120451,1,"t"],[120452,1,"u"],[120453,1,"v"],[120454,1,"w"],[120455,1,"x"],[120456,1,"y"],[120457,1,"z"],[120458,1,"a"],[120459,1,"b"],[120460,1,"c"],[120461,1,"d"],[120462,1,"e"],[120463,1,"f"],[120464,1,"g"],[120465,1,"h"],[120466,1,"i"],[120467,1,"j"],[120468,1,"k"],[120469,1,"l"],[120470,1,"m"],[120471,1,"n"],[120472,1,"o"],[120473,1,"p"],[120474,1,"q"],[120475,1,"r"],[120476,1,"s"],[120477,1,"t"],[120478,1,"u"],[120479,1,"v"],[120480,1,"w"],[120481,1,"x"],[120482,1,"y"],[120483,1,"z"],[120484,1,"\u0131"],[120485,1,"\u0237"],[[120486,120487],3],[120488,1,"\u03b1"],[120489,1,"\u03b2"],[120490,1,"\u03b3"],[120491,1,"\u03b4"],[120492,1,"\u03b5"],[120493,1,"\u03b6"],[120494,1,"\u03b7"],[120495,1,"\u03b8"],[120496,1,"\u03b9"],[120497,1,"\u03ba"],[120498,1,"\u03bb"],[120499,1,"\u03bc"],[120500,1,"\u03bd"],[120501,1,"\u03be"],[120502,1,"\u03bf"],[120503,1,"\u03c0"],[120504,1,"\u03c1"],[120505,1,"\u03b8"],[120506,1,"\u03c3"],[120507,1,"\u03c4"],[120508,1,"\u03c5"],[120509,1,"\u03c6"],[120510,1,"\u03c7"],[120511,1,"\u03c8"],[120512,1,"\u03c9"],[120513,1,"\u2207"],[120514,1,"\u03b1"],[120515,1,"\u03b2"],[120516,1,"\u03b3"],[120517,1,"\u03b4"],[120518,1,"\u03b5"],[120519,1,"\u03b6"],[120520,1,"\u03b7"],[120521,1,"\u03b8"],[120522,1,"\u03b9"],[120523,1,"\u03ba"],[120524,1,"\u03bb"],[120525,1,"\u03bc"],[120526,1,"\u03bd"],[120527,1,"\u03be"],[120528,1,"\u03bf"],[120529,1,"\u03c0"],[120530,1,"\u03c1"],[[120531,120532],1,"\u03c3"],[120533,1,"\u03c4"],[120534,1,"\u03c5"],[120535,1,"\u03c6"],[120536,1,"\u03c7"],[120537,1,"\u03c8"],[120538,1,"\u03c9"],[120539,1,"\u2202"],[120540,1,"\u03b5"],[120541,1,"\u03b8"],[120542,1,"\u03ba"],[120543,1,"\u03c6"],[120544,1,"\u03c1"],[120545,1,"\u03c0"],[120546,1,"\u03b1"],[120547,1,"\u03b2"],[120548,1,"\u03b3"],[120549,1,"\u03b4"],[120550,1,"\u03b5"],[120551,1,"\u03b6"],[120552,1,"\u03b7"],[120553,1,"\u03b8"],[120554,1,"\u03b9"],[120555,1,"\u03ba"],[120556,1,"\u03bb"],[120557,1,"\u03bc"],[120558,1,"\u03bd"],[120559,1,"\u03be"],[120560,1,"\u03bf"],[120561,1,"\u03c0"],[120562,1,"\u03c1"],[120563,1,"\u03b8"],[120564,1,"\u03c3"],[120565,1,"\u03c4"],[120566,1,"\u03c5"],[120567,1,"\u03c6"],[120568,1,"\u03c7"],[120569,1,"\u03c8"],[120570,1,"\u03c9"],[120571,1,"\u2207"],[120572,1,"\u03b1"],[120573,1,"\u03b2"],[120574,1,"\u03b3"],[120575,1,"\u03b4"],[120576,1,"\u03b5"],[120577,1,"\u03b6"],[120578,1,"\u03b7"],[120579,1,"\u03b8"],[120580,1,"\u03b9"],[120581,1,"\u03ba"],[120582,1,"\u03bb"],[120583,1,"\u03bc"],[120584,1,"\u03bd"],[120585,1,"\u03be"],[120586,1,"\u03bf"],[120587,1,"\u03c0"],[120588,1,"\u03c1"],[[120589,120590],1,"\u03c3"],[120591,1,"\u03c4"],[120592,1,"\u03c5"],[120593,1,"\u03c6"],[120594,1,"\u03c7"],[120595,1,"\u03c8"],[120596,1,"\u03c9"],[120597,1,"\u2202"],[120598,1,"\u03b5"],[120599,1,"\u03b8"],[120600,1,"\u03ba"],[120601,1,"\u03c6"],[120602,1,"\u03c1"],[120603,1,"\u03c0"],[120604,1,"\u03b1"],[120605,1,"\u03b2"],[120606,1,"\u03b3"],[120607,1,"\u03b4"],[120608,1,"\u03b5"],[120609,1,"\u03b6"],[120610,1,"\u03b7"],[120611,1,"\u03b8"],[120612,1,"\u03b9"],[120613,1,"\u03ba"],[120614,1,"\u03bb"],[120615,1,"\u03bc"],[120616,1,"\u03bd"],[120617,1,"\u03be"],[120618,1,"\u03bf"],[120619,1,"\u03c0"],[120620,1,"\u03c1"],[120621,1,"\u03b8"],[120622,1,"\u03c3"],[120623,1,"\u03c4"],[120624,1,"\u03c5"],[120625,1,"\u03c6"],[120626,1,"\u03c7"],[120627,1,"\u03c8"],[120628,1,"\u03c9"],[120629,1,"\u2207"],[120630,1,"\u03b1"],[120631,1,"\u03b2"],[120632,1,"\u03b3"],[120633,1,"\u03b4"],[120634,1,"\u03b5"],[120635,1,"\u03b6"],[120636,1,"\u03b7"],[120637,1,"\u03b8"],[120638,1,"\u03b9"],[120639,1,"\u03ba"],[120640,1,"\u03bb"],[120641,1,"\u03bc"],[120642,1,"\u03bd"],[120643,1,"\u03be"],[120644,1,"\u03bf"],[120645,1,"\u03c0"],[120646,1,"\u03c1"],[[120647,120648],1,"\u03c3"],[120649,1,"\u03c4"],[120650,1,"\u03c5"],[120651,1,"\u03c6"],[120652,1,"\u03c7"],[120653,1,"\u03c8"],[120654,1,"\u03c9"],[120655,1,"\u2202"],[120656,1,"\u03b5"],[120657,1,"\u03b8"],[120658,1,"\u03ba"],[120659,1,"\u03c6"],[120660,1,"\u03c1"],[120661,1,"\u03c0"],[120662,1,"\u03b1"],[120663,1,"\u03b2"],[120664,1,"\u03b3"],[120665,1,"\u03b4"],[120666,1,"\u03b5"],[120667,1,"\u03b6"],[120668,1,"\u03b7"],[120669,1,"\u03b8"],[120670,1,"\u03b9"],[120671,1,"\u03ba"],[120672,1,"\u03bb"],[120673,1,"\u03bc"],[120674,1,"\u03bd"],[120675,1,"\u03be"],[120676,1,"\u03bf"],[120677,1,"\u03c0"],[120678,1,"\u03c1"],[120679,1,"\u03b8"],[120680,1,"\u03c3"],[120681,1,"\u03c4"],[120682,1,"\u03c5"],[120683,1,"\u03c6"],[120684,1,"\u03c7"],[120685,1,"\u03c8"],[120686,1,"\u03c9"],[120687,1,"\u2207"],[120688,1,"\u03b1"],[120689,1,"\u03b2"],[120690,1,"\u03b3"],[120691,1,"\u03b4"],[120692,1,"\u03b5"],[120693,1,"\u03b6"],[120694,1,"\u03b7"],[120695,1,"\u03b8"],[120696,1,"\u03b9"],[120697,1,"\u03ba"],[120698,1,"\u03bb"],[120699,1,"\u03bc"],[120700,1,"\u03bd"],[120701,1,"\u03be"],[120702,1,"\u03bf"],[120703,1,"\u03c0"],[120704,1,"\u03c1"],[[120705,120706],1,"\u03c3"],[120707,1,"\u03c4"],[120708,1,"\u03c5"],[120709,1,"\u03c6"],[120710,1,"\u03c7"],[120711,1,"\u03c8"],[120712,1,"\u03c9"],[120713,1,"\u2202"],[120714,1,"\u03b5"],[120715,1,"\u03b8"],[120716,1,"\u03ba"],[120717,1,"\u03c6"],[120718,1,"\u03c1"],[120719,1,"\u03c0"],[120720,1,"\u03b1"],[120721,1,"\u03b2"],[120722,1,"\u03b3"],[120723,1,"\u03b4"],[120724,1,"\u03b5"],[120725,1,"\u03b6"],[120726,1,"\u03b7"],[120727,1,"\u03b8"],[120728,1,"\u03b9"],[120729,1,"\u03ba"],[120730,1,"\u03bb"],[120731,1,"\u03bc"],[120732,1,"\u03bd"],[120733,1,"\u03be"],[120734,1,"\u03bf"],[120735,1,"\u03c0"],[120736,1,"\u03c1"],[120737,1,"\u03b8"],[120738,1,"\u03c3"],[120739,1,"\u03c4"],[120740,1,"\u03c5"],[120741,1,"\u03c6"],[120742,1,"\u03c7"],[120743,1,"\u03c8"],[120744,1,"\u03c9"],[120745,1,"\u2207"],[120746,1,"\u03b1"],[120747,1,"\u03b2"],[120748,1,"\u03b3"],[120749,1,"\u03b4"],[120750,1,"\u03b5"],[120751,1,"\u03b6"],[120752,1,"\u03b7"],[120753,1,"\u03b8"],[120754,1,"\u03b9"],[120755,1,"\u03ba"],[120756,1,"\u03bb"],[120757,1,"\u03bc"],[120758,1,"\u03bd"],[120759,1,"\u03be"],[120760,1,"\u03bf"],[120761,1,"\u03c0"],[120762,1,"\u03c1"],[[120763,120764],1,"\u03c3"],[120765,1,"\u03c4"],[120766,1,"\u03c5"],[120767,1,"\u03c6"],[120768,1,"\u03c7"],[120769,1,"\u03c8"],[120770,1,"\u03c9"],[120771,1,"\u2202"],[120772,1,"\u03b5"],[120773,1,"\u03b8"],[120774,1,"\u03ba"],[120775,1,"\u03c6"],[120776,1,"\u03c1"],[120777,1,"\u03c0"],[[120778,120779],1,"\u03dd"],[[120780,120781],3],[120782,1,"0"],[120783,1,"1"],[120784,1,"2"],[120785,1,"3"],[120786,1,"4"],[120787,1,"5"],[120788,1,"6"],[120789,1,"7"],[120790,1,"8"],[120791,1,"9"],[120792,1,"0"],[120793,1,"1"],[120794,1,"2"],[120795,1,"3"],[120796,1,"4"],[120797,1,"5"],[120798,1,"6"],[120799,1,"7"],[120800,1,"8"],[120801,1,"9"],[120802,1,"0"],[120803,1,"1"],[120804,1,"2"],[120805,1,"3"],[120806,1,"4"],[120807,1,"5"],[120808,1,"6"],[120809,1,"7"],[120810,1,"8"],[120811,1,"9"],[120812,1,"0"],[120813,1,"1"],[120814,1,"2"],[120815,1,"3"],[120816,1,"4"],[120817,1,"5"],[120818,1,"6"],[120819,1,"7"],[120820,1,"8"],[120821,1,"9"],[120822,1,"0"],[120823,1,"1"],[120824,1,"2"],[120825,1,"3"],[120826,1,"4"],[120827,1,"5"],[120828,1,"6"],[120829,1,"7"],[120830,1,"8"],[120831,1,"9"],[[120832,121343],2],[[121344,121398],2],[[121399,121402],2],[[121403,121452],2],[[121453,121460],2],[121461,2],[[121462,121475],2],[121476,2],[[121477,121483],2],[[121484,121498],3],[[121499,121503],2],[121504,3],[[121505,121519],2],[[121520,122623],3],[[122624,122654],2],[[122655,122660],3],[[122661,122666],2],[[122667,122879],3],[[122880,122886],2],[122887,3],[[122888,122904],2],[[122905,122906],3],[[122907,122913],2],[122914,3],[[122915,122916],2],[122917,3],[[122918,122922],2],[[122923,122927],3],[122928,1,"\u0430"],[122929,1,"\u0431"],[122930,1,"\u0432"],[122931,1,"\u0433"],[122932,1,"\u0434"],[122933,1,"\u0435"],[122934,1,"\u0436"],[122935,1,"\u0437"],[122936,1,"\u0438"],[122937,1,"\u043a"],[122938,1,"\u043b"],[122939,1,"\u043c"],[122940,1,"\u043e"],[122941,1,"\u043f"],[122942,1,"\u0440"],[122943,1,"\u0441"],[122944,1,"\u0442"],[122945,1,"\u0443"],[122946,1,"\u0444"],[122947,1,"\u0445"],[122948,1,"\u0446"],[122949,1,"\u0447"],[122950,1,"\u0448"],[122951,1,"\u044b"],[122952,1,"\u044d"],[122953,1,"\u044e"],[122954,1,"\ua689"],[122955,1,"\u04d9"],[122956,1,"\u0456"],[122957,1,"\u0458"],[122958,1,"\u04e9"],[122959,1,"\u04af"],[122960,1,"\u04cf"],[122961,1,"\u0430"],[122962,1,"\u0431"],[122963,1,"\u0432"],[122964,1,"\u0433"],[122965,1,"\u0434"],[122966,1,"\u0435"],[122967,1,"\u0436"],[122968,1,"\u0437"],[122969,1,"\u0438"],[122970,1,"\u043a"],[122971,1,"\u043b"],[122972,1,"\u043e"],[122973,1,"\u043f"],[122974,1,"\u0441"],[122975,1,"\u0443"],[122976,1,"\u0444"],[122977,1,"\u0445"],[122978,1,"\u0446"],[122979,1,"\u0447"],[122980,1,"\u0448"],[122981,1,"\u044a"],[122982,1,"\u044b"],[122983,1,"\u0491"],[122984,1,"\u0456"],[122985,1,"\u0455"],[122986,1,"\u045f"],[122987,1,"\u04ab"],[122988,1,"\ua651"],[122989,1,"\u04b1"],[[122990,123022],3],[123023,2],[[123024,123135],3],[[123136,123180],2],[[123181,123183],3],[[123184,123197],2],[[123198,123199],3],[[123200,123209],2],[[123210,123213],3],[123214,2],[123215,2],[[123216,123535],3],[[123536,123566],2],[[123567,123583],3],[[123584,123641],2],[[123642,123646],3],[123647,2],[[123648,124111],3],[[124112,124153],2],[[124154,124895],3],[[124896,124902],2],[124903,3],[[124904,124907],2],[124908,3],[[124909,124910],2],[124911,3],[[124912,124926],2],[124927,3],[[124928,125124],2],[[125125,125126],3],[[125127,125135],2],[[125136,125142],2],[[125143,125183],3],[125184,1,"\ud83a\udd22"],[125185,1,"\ud83a\udd23"],[125186,1,"\ud83a\udd24"],[125187,1,"\ud83a\udd25"],[125188,1,"\ud83a\udd26"],[125189,1,"\ud83a\udd27"],[125190,1,"\ud83a\udd28"],[125191,1,"\ud83a\udd29"],[125192,1,"\ud83a\udd2a"],[125193,1,"\ud83a\udd2b"],[125194,1,"\ud83a\udd2c"],[125195,1,"\ud83a\udd2d"],[125196,1,"\ud83a\udd2e"],[125197,1,"\ud83a\udd2f"],[125198,1,"\ud83a\udd30"],[125199,1,"\ud83a\udd31"],[125200,1,"\ud83a\udd32"],[125201,1,"\ud83a\udd33"],[125202,1,"\ud83a\udd34"],[125203,1,"\ud83a\udd35"],[125204,1,"\ud83a\udd36"],[125205,1,"\ud83a\udd37"],[125206,1,"\ud83a\udd38"],[125207,1,"\ud83a\udd39"],[125208,1,"\ud83a\udd3a"],[125209,1,"\ud83a\udd3b"],[125210,1,"\ud83a\udd3c"],[125211,1,"\ud83a\udd3d"],[125212,1,"\ud83a\udd3e"],[125213,1,"\ud83a\udd3f"],[125214,1,"\ud83a\udd40"],[125215,1,"\ud83a\udd41"],[125216,1,"\ud83a\udd42"],[125217,1,"\ud83a\udd43"],[[125218,125258],2],[125259,2],[[125260,125263],3],[[125264,125273],2],[[125274,125277],3],[[125278,125279],2],[[125280,126064],3],[[126065,126132],2],[[126133,126208],3],[[126209,126269],2],[[126270,126463],3],[126464,1,"\u0627"],[126465,1,"\u0628"],[126466,1,"\u062c"],[126467,1,"\u062f"],[126468,3],[126469,1,"\u0648"],[126470,1,"\u0632"],[126471,1,"\u062d"],[126472,1,"\u0637"],[126473,1,"\u064a"],[126474,1,"\u0643"],[126475,1,"\u0644"],[126476,1,"\u0645"],[126477,1,"\u0646"],[126478,1,"\u0633"],[126479,1,"\u0639"],[126480,1,"\u0641"],[126481,1,"\u0635"],[126482,1,"\u0642"],[126483,1,"\u0631"],[126484,1,"\u0634"],[126485,1,"\u062a"],[126486,1,"\u062b"],[126487,1,"\u062e"],[126488,1,"\u0630"],[126489,1,"\u0636"],[126490,1,"\u0638"],[126491,1,"\u063a"],[126492,1,"\u066e"],[126493,1,"\u06ba"],[126494,1,"\u06a1"],[126495,1,"\u066f"],[126496,3],[126497,1,"\u0628"],[126498,1,"\u062c"],[126499,3],[126500,1,"\u0647"],[[126501,126502],3],[126503,1,"\u062d"],[126504,3],[126505,1,"\u064a"],[126506,1,"\u0643"],[126507,1,"\u0644"],[126508,1,"\u0645"],[126509,1,"\u0646"],[126510,1,"\u0633"],[126511,1,"\u0639"],[126512,1,"\u0641"],[126513,1,"\u0635"],[126514,1,"\u0642"],[126515,3],[126516,1,"\u0634"],[126517,1,"\u062a"],[126518,1,"\u062b"],[126519,1,"\u062e"],[126520,3],[126521,1,"\u0636"],[126522,3],[126523,1,"\u063a"],[[126524,126529],3],[126530,1,"\u062c"],[[126531,126534],3],[126535,1,"\u062d"],[126536,3],[126537,1,"\u064a"],[126538,3],[126539,1,"\u0644"],[126540,3],[126541,1,"\u0646"],[126542,1,"\u0633"],[126543,1,"\u0639"],[126544,3],[126545,1,"\u0635"],[126546,1,"\u0642"],[126547,3],[126548,1,"\u0634"],[[126549,126550],3],[126551,1,"\u062e"],[126552,3],[126553,1,"\u0636"],[126554,3],[126555,1,"\u063a"],[126556,3],[126557,1,"\u06ba"],[126558,3],[126559,1,"\u066f"],[126560,3],[126561,1,"\u0628"],[126562,1,"\u062c"],[126563,3],[126564,1,"\u0647"],[[126565,126566],3],[126567,1,"\u062d"],[126568,1,"\u0637"],[126569,1,"\u064a"],[126570,1,"\u0643"],[126571,3],[126572,1,"\u0645"],[126573,1,"\u0646"],[126574,1,"\u0633"],[126575,1,"\u0639"],[126576,1,"\u0641"],[126577,1,"\u0635"],[126578,1,"\u0642"],[126579,3],[126580,1,"\u0634"],[126581,1,"\u062a"],[126582,1,"\u062b"],[126583,1,"\u062e"],[126584,3],[126585,1,"\u0636"],[126586,1,"\u0638"],[126587,1,"\u063a"],[126588,1,"\u066e"],[126589,3],[126590,1,"\u06a1"],[126591,3],[126592,1,"\u0627"],[126593,1,"\u0628"],[126594,1,"\u062c"],[126595,1,"\u062f"],[126596,1,"\u0647"],[126597,1,"\u0648"],[126598,1,"\u0632"],[126599,1,"\u062d"],[126600,1,"\u0637"],[126601,1,"\u064a"],[126602,3],[126603,1,"\u0644"],[126604,1,"\u0645"],[126605,1,"\u0646"],[126606,1,"\u0633"],[126607,1,"\u0639"],[126608,1,"\u0641"],[126609,1,"\u0635"],[126610,1,"\u0642"],[126611,1,"\u0631"],[126612,1,"\u0634"],[126613,1,"\u062a"],[126614,1,"\u062b"],[126615,1,"\u062e"],[126616,1,"\u0630"],[126617,1,"\u0636"],[126618,1,"\u0638"],[126619,1,"\u063a"],[[126620,126624],3],[126625,1,"\u0628"],[126626,1,"\u062c"],[126627,1,"\u062f"],[126628,3],[126629,1,"\u0648"],[126630,1,"\u0632"],[126631,1,"\u062d"],[126632,1,"\u0637"],[126633,1,"\u064a"],[126634,3],[126635,1,"\u0644"],[126636,1,"\u0645"],[126637,1,"\u0646"],[126638,1,"\u0633"],[126639,1,"\u0639"],[126640,1,"\u0641"],[126641,1,"\u0635"],[126642,1,"\u0642"],[126643,1,"\u0631"],[126644,1,"\u0634"],[126645,1,"\u062a"],[126646,1,"\u062b"],[126647,1,"\u062e"],[126648,1,"\u0630"],[126649,1,"\u0636"],[126650,1,"\u0638"],[126651,1,"\u063a"],[[126652,126703],3],[[126704,126705],2],[[126706,126975],3],[[126976,127019],2],[[127020,127023],3],[[127024,127123],2],[[127124,127135],3],[[127136,127150],2],[[127151,127152],3],[[127153,127166],2],[127167,2],[127168,3],[[127169,127183],2],[127184,3],[[127185,127199],2],[[127200,127221],2],[[127222,127231],3],[127232,3],[127233,5,"0,"],[127234,5,"1,"],[127235,5,"2,"],[127236,5,"3,"],[127237,5,"4,"],[127238,5,"5,"],[127239,5,"6,"],[127240,5,"7,"],[127241,5,"8,"],[127242,5,"9,"],[[127243,127244],2],[[127245,127247],2],[127248,5,"(a)"],[127249,5,"(b)"],[127250,5,"(c)"],[127251,5,"(d)"],[127252,5,"(e)"],[127253,5,"(f)"],[127254,5,"(g)"],[127255,5,"(h)"],[127256,5,"(i)"],[127257,5,"(j)"],[127258,5,"(k)"],[127259,5,"(l)"],[127260,5,"(m)"],[127261,5,"(n)"],[127262,5,"(o)"],[127263,5,"(p)"],[127264,5,"(q)"],[127265,5,"(r)"],[127266,5,"(s)"],[127267,5,"(t)"],[127268,5,"(u)"],[127269,5,"(v)"],[127270,5,"(w)"],[127271,5,"(x)"],[127272,5,"(y)"],[127273,5,"(z)"],[127274,1,"\u3014s\u3015"],[127275,1,"c"],[127276,1,"r"],[127277,1,"cd"],[127278,1,"wz"],[127279,2],[127280,1,"a"],[127281,1,"b"],[127282,1,"c"],[127283,1,"d"],[127284,1,"e"],[127285,1,"f"],[127286,1,"g"],[127287,1,"h"],[127288,1,"i"],[127289,1,"j"],[127290,1,"k"],[127291,1,"l"],[127292,1,"m"],[127293,1,"n"],[127294,1,"o"],[127295,1,"p"],[127296,1,"q"],[127297,1,"r"],[127298,1,"s"],[127299,1,"t"],[127300,1,"u"],[127301,1,"v"],[127302,1,"w"],[127303,1,"x"],[127304,1,"y"],[127305,1,"z"],[127306,1,"hv"],[127307,1,"mv"],[127308,1,"sd"],[127309,1,"ss"],[127310,1,"ppv"],[127311,1,"wc"],[[127312,127318],2],[127319,2],[[127320,127326],2],[127327,2],[[127328,127337],2],[127338,1,"mc"],[127339,1,"md"],[127340,1,"mr"],[[127341,127343],2],[[127344,127352],2],[127353,2],[127354,2],[[127355,127356],2],[[127357,127358],2],[127359,2],[[127360,127369],2],[[127370,127373],2],[[127374,127375],2],[127376,1,"dj"],[[127377,127386],2],[[127387,127404],2],[127405,2],[[127406,127461],3],[[127462,127487],2],[127488,1,"\u307b\u304b"],[127489,1,"\u30b3\u30b3"],[127490,1,"\u30b5"],[[127491,127503],3],[127504,1,"\u624b"],[127505,1,"\u5b57"],[127506,1,"\u53cc"],[127507,1,"\u30c7"],[127508,1,"\u4e8c"],[127509,1,"\u591a"],[127510,1,"\u89e3"],[127511,1,"\u5929"],[127512,1,"\u4ea4"],[127513,1,"\u6620"],[127514,1,"\u7121"],[127515,1,"\u6599"],[127516,1,"\u524d"],[127517,1,"\u5f8c"],[127518,1,"\u518d"],[127519,1,"\u65b0"],[127520,1,"\u521d"],[127521,1,"\u7d42"],[127522,1,"\u751f"],[127523,1,"\u8ca9"],[127524,1,"\u58f0"],[127525,1,"\u5439"],[127526,1,"\u6f14"],[127527,1,"\u6295"],[127528,1,"\u6355"],[127529,1,"\u4e00"],[127530,1,"\u4e09"],[127531,1,"\u904a"],[127532,1,"\u5de6"],[127533,1,"\u4e2d"],[127534,1,"\u53f3"],[127535,1,"\u6307"],[127536,1,"\u8d70"],[127537,1,"\u6253"],[127538,1,"\u7981"],[127539,1,"\u7a7a"],[127540,1,"\u5408"],[127541,1,"\u6e80"],[127542,1,"\u6709"],[127543,1,"\u6708"],[127544,1,"\u7533"],[127545,1,"\u5272"],[127546,1,"\u55b6"],[127547,1,"\u914d"],[[127548,127551],3],[127552,1,"\u3014\u672c\u3015"],[127553,1,"\u3014\u4e09\u3015"],[127554,1,"\u3014\u4e8c\u3015"],[127555,1,"\u3014\u5b89\u3015"],[127556,1,"\u3014\u70b9\u3015"],[127557,1,"\u3014\u6253\u3015"],[127558,1,"\u3014\u76d7\u3015"],[127559,1,"\u3014\u52dd\u3015"],[127560,1,"\u3014\u6557\u3015"],[[127561,127567],3],[127568,1,"\u5f97"],[127569,1,"\u53ef"],[[127570,127583],3],[[127584,127589],2],[[127590,127743],3],[[127744,127776],2],[[127777,127788],2],[[127789,127791],2],[[127792,127797],2],[127798,2],[[127799,127868],2],[127869,2],[[127870,127871],2],[[127872,127891],2],[[127892,127903],2],[[127904,127940],2],[127941,2],[[127942,127946],2],[[127947,127950],2],[[127951,127955],2],[[127956,127967],2],[[127968,127984],2],[[127985,127991],2],[[127992,127999],2],[[128000,128062],2],[128063,2],[128064,2],[128065,2],[[128066,128247],2],[128248,2],[[128249,128252],2],[[128253,128254],2],[128255,2],[[128256,128317],2],[[128318,128319],2],[[128320,128323],2],[[128324,128330],2],[[128331,128335],2],[[128336,128359],2],[[128360,128377],2],[128378,2],[[128379,128419],2],[128420,2],[[128421,128506],2],[[128507,128511],2],[128512,2],[[128513,128528],2],[128529,2],[[128530,128532],2],[128533,2],[128534,2],[128535,2],[128536,2],[128537,2],[128538,2],[128539,2],[[128540,128542],2],[128543,2],[[128544,128549],2],[[128550,128551],2],[[128552,128555],2],[128556,2],[128557,2],[[128558,128559],2],[[128560,128563],2],[128564,2],[[128565,128576],2],[[128577,128578],2],[[128579,128580],2],[[128581,128591],2],[[128592,128639],2],[[128640,128709],2],[[128710,128719],2],[128720,2],[[128721,128722],2],[[128723,128724],2],[128725,2],[[128726,128727],2],[[128728,128731],3],[128732,2],[[128733,128735],2],[[128736,128748],2],[[128749,128751],3],[[128752,128755],2],[[128756,128758],2],[[128759,128760],2],[128761,2],[128762,2],[[128763,128764],2],[[128765,128767],3],[[128768,128883],2],[[128884,128886],2],[[128887,128890],3],[[128891,128895],2],[[128896,128980],2],[[128981,128984],2],[128985,2],[[128986,128991],3],[[128992,129003],2],[[129004,129007],3],[129008,2],[[129009,129023],3],[[129024,129035],2],[[129036,129039],3],[[129040,129095],2],[[129096,129103],3],[[129104,129113],2],[[129114,129119],3],[[129120,129159],2],[[129160,129167],3],[[129168,129197],2],[[129198,129199],3],[[129200,129201],2],[[129202,129279],3],[[129280,129291],2],[129292,2],[[129293,129295],2],[[129296,129304],2],[[129305,129310],2],[129311,2],[[129312,129319],2],[[129320,129327],2],[129328,2],[[129329,129330],2],[[129331,129342],2],[129343,2],[[129344,129355],2],[129356,2],[[129357,129359],2],[[129360,129374],2],[[129375,129387],2],[[129388,129392],2],[129393,2],[129394,2],[[129395,129398],2],[[129399,129400],2],[129401,2],[129402,2],[129403,2],[[129404,129407],2],[[129408,129412],2],[[129413,129425],2],[[129426,129431],2],[[129432,129442],2],[[129443,129444],2],[[129445,129450],2],[[129451,129453],2],[[129454,129455],2],[[129456,129465],2],[[129466,129471],2],[129472,2],[[129473,129474],2],[[129475,129482],2],[129483,2],[129484,2],[[129485,129487],2],[[129488,129510],2],[[129511,129535],2],[[129536,129619],2],[[129620,129631],3],[[129632,129645],2],[[129646,129647],3],[[129648,129651],2],[129652,2],[[129653,129655],2],[[129656,129658],2],[[129659,129660],2],[[129661,129663],3],[[129664,129666],2],[[129667,129670],2],[[129671,129672],2],[[129673,129679],3],[[129680,129685],2],[[129686,129704],2],[[129705,129708],2],[[129709,129711],2],[[129712,129718],2],[[129719,129722],2],[[129723,129725],2],[129726,3],[129727,2],[[129728,129730],2],[[129731,129733],2],[[129734,129741],3],[[129742,129743],2],[[129744,129750],2],[[129751,129753],2],[[129754,129755],2],[[129756,129759],3],[[129760,129767],2],[129768,2],[[129769,129775],3],[[129776,129782],2],[[129783,129784],2],[[129785,129791],3],[[129792,129938],2],[129939,3],[[129940,129994],2],[[129995,130031],3],[130032,1,"0"],[130033,1,"1"],[130034,1,"2"],[130035,1,"3"],[130036,1,"4"],[130037,1,"5"],[130038,1,"6"],[130039,1,"7"],[130040,1,"8"],[130041,1,"9"],[[130042,131069],3],[[131070,131071],3],[[131072,173782],2],[[173783,173789],2],[[173790,173791],2],[[173792,173823],3],[[173824,177972],2],[[177973,177976],2],[177977,2],[[177978,177983],3],[[177984,178205],2],[[178206,178207],3],[[178208,183969],2],[[183970,183983],3],[[183984,191456],2],[[191457,191471],3],[[191472,192093],2],[[192094,194559],3],[194560,1,"\u4e3d"],[194561,1,"\u4e38"],[194562,1,"\u4e41"],[194563,1,"\ud840\udd22"],[194564,1,"\u4f60"],[194565,1,"\u4fae"],[194566,1,"\u4fbb"],[194567,1,"\u5002"],[194568,1,"\u507a"],[194569,1,"\u5099"],[194570,1,"\u50e7"],[194571,1,"\u50cf"],[194572,1,"\u349e"],[194573,1,"\ud841\ude3a"],[194574,1,"\u514d"],[194575,1,"\u5154"],[194576,1,"\u5164"],[194577,1,"\u5177"],[194578,1,"\ud841\udd1c"],[194579,1,"\u34b9"],[194580,1,"\u5167"],[194581,1,"\u518d"],[194582,1,"\ud841\udd4b"],[194583,1,"\u5197"],[194584,1,"\u51a4"],[194585,1,"\u4ecc"],[194586,1,"\u51ac"],[194587,1,"\u51b5"],[194588,1,"\ud864\udddf"],[194589,1,"\u51f5"],[194590,1,"\u5203"],[194591,1,"\u34df"],[194592,1,"\u523b"],[194593,1,"\u5246"],[194594,1,"\u5272"],[194595,1,"\u5277"],[194596,1,"\u3515"],[194597,1,"\u52c7"],[194598,1,"\u52c9"],[194599,1,"\u52e4"],[194600,1,"\u52fa"],[194601,1,"\u5305"],[194602,1,"\u5306"],[194603,1,"\u5317"],[194604,1,"\u5349"],[194605,1,"\u5351"],[194606,1,"\u535a"],[194607,1,"\u5373"],[194608,1,"\u537d"],[[194609,194611],1,"\u537f"],[194612,1,"\ud842\ude2c"],[194613,1,"\u7070"],[194614,1,"\u53ca"],[194615,1,"\u53df"],[194616,1,"\ud842\udf63"],[194617,1,"\u53eb"],[194618,1,"\u53f1"],[194619,1,"\u5406"],[194620,1,"\u549e"],[194621,1,"\u5438"],[194622,1,"\u5448"],[194623,1,"\u5468"],[194624,1,"\u54a2"],[194625,1,"\u54f6"],[194626,1,"\u5510"],[194627,1,"\u5553"],[194628,1,"\u5563"],[[194629,194630],1,"\u5584"],[194631,1,"\u5599"],[194632,1,"\u55ab"],[194633,1,"\u55b3"],[194634,1,"\u55c2"],[194635,1,"\u5716"],[194636,1,"\u5606"],[194637,1,"\u5717"],[194638,1,"\u5651"],[194639,1,"\u5674"],[194640,1,"\u5207"],[194641,1,"\u58ee"],[194642,1,"\u57ce"],[194643,1,"\u57f4"],[194644,1,"\u580d"],[194645,1,"\u578b"],[194646,1,"\u5832"],[194647,1,"\u5831"],[194648,1,"\u58ac"],[194649,1,"\ud845\udce4"],[194650,1,"\u58f2"],[194651,1,"\u58f7"],[194652,1,"\u5906"],[194653,1,"\u591a"],[194654,1,"\u5922"],[194655,1,"\u5962"],[194656,1,"\ud845\udea8"],[194657,1,"\ud845\udeea"],[194658,1,"\u59ec"],[194659,1,"\u5a1b"],[194660,1,"\u5a27"],[194661,1,"\u59d8"],[194662,1,"\u5a66"],[194663,1,"\u36ee"],[194664,3],[194665,1,"\u5b08"],[[194666,194667],1,"\u5b3e"],[194668,1,"\ud846\uddc8"],[194669,1,"\u5bc3"],[194670,1,"\u5bd8"],[194671,1,"\u5be7"],[194672,1,"\u5bf3"],[194673,1,"\ud846\udf18"],[194674,1,"\u5bff"],[194675,1,"\u5c06"],[194676,3],[194677,1,"\u5c22"],[194678,1,"\u3781"],[194679,1,"\u5c60"],[194680,1,"\u5c6e"],[194681,1,"\u5cc0"],[194682,1,"\u5c8d"],[194683,1,"\ud847\udde4"],[194684,1,"\u5d43"],[194685,1,"\ud847\udde6"],[194686,1,"\u5d6e"],[194687,1,"\u5d6b"],[194688,1,"\u5d7c"],[194689,1,"\u5de1"],[194690,1,"\u5de2"],[194691,1,"\u382f"],[194692,1,"\u5dfd"],[194693,1,"\u5e28"],[194694,1,"\u5e3d"],[194695,1,"\u5e69"],[194696,1,"\u3862"],[194697,1,"\ud848\udd83"],[194698,1,"\u387c"],[194699,1,"\u5eb0"],[194700,1,"\u5eb3"],[194701,1,"\u5eb6"],[194702,1,"\u5eca"],[194703,1,"\ud868\udf92"],[194704,1,"\u5efe"],[[194705,194706],1,"\ud848\udf31"],[194707,1,"\u8201"],[[194708,194709],1,"\u5f22"],[194710,1,"\u38c7"],[194711,1,"\ud84c\udeb8"],[194712,1,"\ud858\uddda"],[194713,1,"\u5f62"],[194714,1,"\u5f6b"],[194715,1,"\u38e3"],[194716,1,"\u5f9a"],[194717,1,"\u5fcd"],[194718,1,"\u5fd7"],[194719,1,"\u5ff9"],[194720,1,"\u6081"],[194721,1,"\u393a"],[194722,1,"\u391c"],[194723,1,"\u6094"],[194724,1,"\ud849\uded4"],[194725,1,"\u60c7"],[194726,1,"\u6148"],[194727,1,"\u614c"],[194728,1,"\u614e"],[194729,1,"\u614c"],[194730,1,"\u617a"],[194731,1,"\u618e"],[194732,1,"\u61b2"],[194733,1,"\u61a4"],[194734,1,"\u61af"],[194735,1,"\u61de"],[194736,1,"\u61f2"],[194737,1,"\u61f6"],[194738,1,"\u6210"],[194739,1,"\u621b"],[194740,1,"\u625d"],[194741,1,"\u62b1"],[194742,1,"\u62d4"],[194743,1,"\u6350"],[194744,1,"\ud84a\udf0c"],[194745,1,"\u633d"],[194746,1,"\u62fc"],[194747,1,"\u6368"],[194748,1,"\u6383"],[194749,1,"\u63e4"],[194750,1,"\ud84a\udff1"],[194751,1,"\u6422"],[194752,1,"\u63c5"],[194753,1,"\u63a9"],[194754,1,"\u3a2e"],[194755,1,"\u6469"],[194756,1,"\u647e"],[194757,1,"\u649d"],[194758,1,"\u6477"],[194759,1,"\u3a6c"],[194760,1,"\u654f"],[194761,1,"\u656c"],[194762,1,"\ud84c\udc0a"],[194763,1,"\u65e3"],[194764,1,"\u66f8"],[194765,1,"\u6649"],[194766,1,"\u3b19"],[194767,1,"\u6691"],[194768,1,"\u3b08"],[194769,1,"\u3ae4"],[194770,1,"\u5192"],[194771,1,"\u5195"],[194772,1,"\u6700"],[194773,1,"\u669c"],[194774,1,"\u80ad"],[194775,1,"\u43d9"],[194776,1,"\u6717"],[194777,1,"\u671b"],[194778,1,"\u6721"],[194779,1,"\u675e"],[194780,1,"\u6753"],[194781,1,"\ud84c\udfc3"],[194782,1,"\u3b49"],[194783,1,"\u67fa"],[194784,1,"\u6785"],[194785,1,"\u6852"],[194786,1,"\u6885"],[194787,1,"\ud84d\udc6d"],[194788,1,"\u688e"],[194789,1,"\u681f"],[194790,1,"\u6914"],[194791,1,"\u3b9d"],[194792,1,"\u6942"],[194793,1,"\u69a3"],[194794,1,"\u69ea"],[194795,1,"\u6aa8"],[194796,1,"\ud84d\udea3"],[194797,1,"\u6adb"],[194798,1,"\u3c18"],[194799,1,"\u6b21"],[194800,1,"\ud84e\udca7"],[194801,1,"\u6b54"],[194802,1,"\u3c4e"],[194803,1,"\u6b72"],[194804,1,"\u6b9f"],[194805,1,"\u6bba"],[194806,1,"\u6bbb"],[194807,1,"\ud84e\ude8d"],[194808,1,"\ud847\udd0b"],[194809,1,"\ud84e\udefa"],[194810,1,"\u6c4e"],[194811,1,"\ud84f\udcbc"],[194812,1,"\u6cbf"],[194813,1,"\u6ccd"],[194814,1,"\u6c67"],[194815,1,"\u6d16"],[194816,1,"\u6d3e"],[194817,1,"\u6d77"],[194818,1,"\u6d41"],[194819,1,"\u6d69"],[194820,1,"\u6d78"],[194821,1,"\u6d85"],[194822,1,"\ud84f\udd1e"],[194823,1,"\u6d34"],[194824,1,"\u6e2f"],[194825,1,"\u6e6e"],[194826,1,"\u3d33"],[194827,1,"\u6ecb"],[194828,1,"\u6ec7"],[194829,1,"\ud84f\uded1"],[194830,1,"\u6df9"],[194831,1,"\u6f6e"],[194832,1,"\ud84f\udf5e"],[194833,1,"\ud84f\udf8e"],[194834,1,"\u6fc6"],[194835,1,"\u7039"],[194836,1,"\u701e"],[194837,1,"\u701b"],[194838,1,"\u3d96"],[194839,1,"\u704a"],[194840,1,"\u707d"],[194841,1,"\u7077"],[194842,1,"\u70ad"],[194843,1,"\ud841\udd25"],[194844,1,"\u7145"],[194845,1,"\ud850\ude63"],[194846,1,"\u719c"],[194847,3],[194848,1,"\u7228"],[194849,1,"\u7235"],[194850,1,"\u7250"],[194851,1,"\ud851\ude08"],[194852,1,"\u7280"],[194853,1,"\u7295"],[194854,1,"\ud851\udf35"],[194855,1,"\ud852\udc14"],[194856,1,"\u737a"],[194857,1,"\u738b"],[194858,1,"\u3eac"],[194859,1,"\u73a5"],[[194860,194861],1,"\u3eb8"],[194862,1,"\u7447"],[194863,1,"\u745c"],[194864,1,"\u7471"],[194865,1,"\u7485"],[194866,1,"\u74ca"],[194867,1,"\u3f1b"],[194868,1,"\u7524"],[194869,1,"\ud853\udc36"],[194870,1,"\u753e"],[194871,1,"\ud853\udc92"],[194872,1,"\u7570"],[194873,1,"\ud848\udd9f"],[194874,1,"\u7610"],[194875,1,"\ud853\udfa1"],[194876,1,"\ud853\udfb8"],[194877,1,"\ud854\udc44"],[194878,1,"\u3ffc"],[194879,1,"\u4008"],[194880,1,"\u76f4"],[194881,1,"\ud854\udcf3"],[194882,1,"\ud854\udcf2"],[194883,1,"\ud854\udd19"],[194884,1,"\ud854\udd33"],[194885,1,"\u771e"],[[194886,194887],1,"\u771f"],[194888,1,"\u774a"],[194889,1,"\u4039"],[194890,1,"\u778b"],[194891,1,"\u4046"],[194892,1,"\u4096"],[194893,1,"\ud855\udc1d"],[194894,1,"\u784e"],[194895,1,"\u788c"],[194896,1,"\u78cc"],[194897,1,"\u40e3"],[194898,1,"\ud855\ude26"],[194899,1,"\u7956"],[194900,1,"\ud855\ude9a"],[194901,1,"\ud855\udec5"],[194902,1,"\u798f"],[194903,1,"\u79eb"],[194904,1,"\u412f"],[194905,1,"\u7a40"],[194906,1,"\u7a4a"],[194907,1,"\u7a4f"],[194908,1,"\ud856\udd7c"],[[194909,194910],1,"\ud856\udea7"],[194911,3],[194912,1,"\u4202"],[194913,1,"\ud856\udfab"],[194914,1,"\u7bc6"],[194915,1,"\u7bc9"],[194916,1,"\u4227"],[194917,1,"\ud857\udc80"],[194918,1,"\u7cd2"],[194919,1,"\u42a0"],[194920,1,"\u7ce8"],[194921,1,"\u7ce3"],[194922,1,"\u7d00"],[194923,1,"\ud857\udf86"],[194924,1,"\u7d63"],[194925,1,"\u4301"],[194926,1,"\u7dc7"],[194927,1,"\u7e02"],[194928,1,"\u7e45"],[194929,1,"\u4334"],[194930,1,"\ud858\ude28"],[194931,1,"\ud858\ude47"],[194932,1,"\u4359"],[194933,1,"\ud858\uded9"],[194934,1,"\u7f7a"],[194935,1,"\ud858\udf3e"],[194936,1,"\u7f95"],[194937,1,"\u7ffa"],[194938,1,"\u8005"],[194939,1,"\ud859\udcda"],[194940,1,"\ud859\udd23"],[194941,1,"\u8060"],[194942,1,"\ud859\udda8"],[194943,1,"\u8070"],[194944,1,"\ud84c\udf5f"],[194945,1,"\u43d5"],[194946,1,"\u80b2"],[194947,1,"\u8103"],[194948,1,"\u440b"],[194949,1,"\u813e"],[194950,1,"\u5ab5"],[194951,1,"\ud859\udfa7"],[194952,1,"\ud859\udfb5"],[194953,1,"\ud84c\udf93"],[194954,1,"\ud84c\udf9c"],[194955,1,"\u8201"],[194956,1,"\u8204"],[194957,1,"\u8f9e"],[194958,1,"\u446b"],[194959,1,"\u8291"],[194960,1,"\u828b"],[194961,1,"\u829d"],[194962,1,"\u52b3"],[194963,1,"\u82b1"],[194964,1,"\u82b3"],[194965,1,"\u82bd"],[194966,1,"\u82e6"],[194967,1,"\ud85a\udf3c"],[194968,1,"\u82e5"],[194969,1,"\u831d"],[194970,1,"\u8363"],[194971,1,"\u83ad"],[194972,1,"\u8323"],[194973,1,"\u83bd"],[194974,1,"\u83e7"],[194975,1,"\u8457"],[194976,1,"\u8353"],[194977,1,"\u83ca"],[194978,1,"\u83cc"],[194979,1,"\u83dc"],[194980,1,"\ud85b\udc36"],[194981,1,"\ud85b\udd6b"],[194982,1,"\ud85b\udcd5"],[194983,1,"\u452b"],[194984,1,"\u84f1"],[194985,1,"\u84f3"],[194986,1,"\u8516"],[194987,1,"\ud85c\udfca"],[194988,1,"\u8564"],[194989,1,"\ud85b\udf2c"],[194990,1,"\u455d"],[194991,1,"\u4561"],[194992,1,"\ud85b\udfb1"],[194993,1,"\ud85c\udcd2"],[194994,1,"\u456b"],[194995,1,"\u8650"],[194996,1,"\u865c"],[194997,1,"\u8667"],[194998,1,"\u8669"],[194999,1,"\u86a9"],[195000,1,"\u8688"],[195001,1,"\u870e"],[195002,1,"\u86e2"],[195003,1,"\u8779"],[195004,1,"\u8728"],[195005,1,"\u876b"],[195006,1,"\u8786"],[195007,3],[195008,1,"\u87e1"],[195009,1,"\u8801"],[195010,1,"\u45f9"],[195011,1,"\u8860"],[195012,1,"\u8863"],[195013,1,"\ud85d\ude67"],[195014,1,"\u88d7"],[195015,1,"\u88de"],[195016,1,"\u4635"],[195017,1,"\u88fa"],[195018,1,"\u34bb"],[195019,1,"\ud85e\udcae"],[195020,1,"\ud85e\udd66"],[195021,1,"\u46be"],[195022,1,"\u46c7"],[195023,1,"\u8aa0"],[195024,1,"\u8aed"],[195025,1,"\u8b8a"],[195026,1,"\u8c55"],[195027,1,"\ud85f\udca8"],[195028,1,"\u8cab"],[195029,1,"\u8cc1"],[195030,1,"\u8d1b"],[195031,1,"\u8d77"],[195032,1,"\ud85f\udf2f"],[195033,1,"\ud842\udc04"],[195034,1,"\u8dcb"],[195035,1,"\u8dbc"],[195036,1,"\u8df0"],[195037,1,"\ud842\udcde"],[195038,1,"\u8ed4"],[195039,1,"\u8f38"],[195040,1,"\ud861\uddd2"],[195041,1,"\ud861\udded"],[195042,1,"\u9094"],[195043,1,"\u90f1"],[195044,1,"\u9111"],[195045,1,"\ud861\udf2e"],[195046,1,"\u911b"],[195047,1,"\u9238"],[195048,1,"\u92d7"],[195049,1,"\u92d8"],[195050,1,"\u927c"],[195051,1,"\u93f9"],[195052,1,"\u9415"],[195053,1,"\ud862\udffa"],[195054,1,"\u958b"],[195055,1,"\u4995"],[195056,1,"\u95b7"],[195057,1,"\ud863\udd77"],[195058,1,"\u49e6"],[195059,1,"\u96c3"],[195060,1,"\u5db2"],[195061,1,"\u9723"],[195062,1,"\ud864\udd45"],[195063,1,"\ud864\ude1a"],[195064,1,"\u4a6e"],[195065,1,"\u4a76"],[195066,1,"\u97e0"],[195067,1,"\ud865\udc0a"],[195068,1,"\u4ab2"],[195069,1,"\ud865\udc96"],[[195070,195071],1,"\u980b"],[195072,1,"\u9829"],[195073,1,"\ud865\uddb6"],[195074,1,"\u98e2"],[195075,1,"\u4b33"],[195076,1,"\u9929"],[195077,1,"\u99a7"],[195078,1,"\u99c2"],[195079,1,"\u99fe"],[195080,1,"\u4bce"],[195081,1,"\ud866\udf30"],[195082,1,"\u9b12"],[195083,1,"\u9c40"],[195084,1,"\u9cfd"],[195085,1,"\u4cce"],[195086,1,"\u4ced"],[195087,1,"\u9d67"],[195088,1,"\ud868\udcce"],[195089,1,"\u4cf8"],[195090,1,"\ud868\udd05"],[195091,1,"\ud868\ude0e"],[195092,1,"\ud868\ude91"],[195093,1,"\u9ebb"],[195094,1,"\u4d56"],[195095,1,"\u9ef9"],[195096,1,"\u9efe"],[195097,1,"\u9f05"],[195098,1,"\u9f0f"],[195099,1,"\u9f16"],[195100,1,"\u9f3b"],[195101,1,"\ud869\ude00"],[[195102,196605],3],[[196606,196607],3],[[196608,201546],2],[[201547,201551],3],[[201552,205743],2],[[205744,262141],3],[[262142,262143],3],[[262144,327677],3],[[327678,327679],3],[[327680,393213],3],[[393214,393215],3],[[393216,458749],3],[[458750,458751],3],[[458752,524285],3],[[524286,524287],3],[[524288,589821],3],[[589822,589823],3],[[589824,655357],3],[[655358,655359],3],[[655360,720893],3],[[720894,720895],3],[[720896,786429],3],[[786430,786431],3],[[786432,851965],3],[[851966,851967],3],[[851968,917501],3],[[917502,917503],3],[917504,3],[917505,3],[[917506,917535],3],[[917536,917631],3],[[917632,917759],3],[[917760,917999],7],[[918000,983037],3],[[983038,983039],3],[[983040,1048573],3],[[1048574,1048575],3],[[1048576,1114109],3],[[1114110,1114111],3]]')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var i=Object.create(null);__webpack_require__.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>n[e]));return o.default=()=>n,__webpack_require__.d(i,o),i}})(),__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,n)=>(__webpack_require__.f[n](e,t),t)),[])),__webpack_require__.u=e=>"static/js/"+e+"."+{4:"5dc619ea",78:"2882f779",944:"74b3ad07",952:"ef2034ff"}[e]+".chunk.js",__webpack_require__.miniCssF=e=>{},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="web:";__webpack_require__.l=(n,r,i,o)=>{if(e[n])e[n].push(r);else{var a,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+i){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+i),a.src=n),e[n]=[r];var d=(t,r)=>{a.onerror=a.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(r))),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),__webpack_require__.p="/",(()=>{var e={792:0};__webpack_require__.f.j=(t,n)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=i);var o=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(o,(n=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,i,o=n[0],a=n[1],s=n[2],l=0;if(o.some((t=>0!==e[t]))){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(n);l<o.length;l++)i=o[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkweb=self.webpackChunkweb||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),__webpack_require__.nc=void 0;var __webpack_exports__={};(()=>{"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{attentionMarkers:()=>jd,contentInitial:()=>Nd,disable:()=>Ld,document:()=>Dd,flow:()=>Id,flowInitial:()=>Fd,insideSpan:()=>Od,string:()=>Rd,text:()=>Md});const t="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function n(e){return e&&e.Math==Math?e:void 0}const r="object"==typeof globalThis&&n(globalThis)||"object"==typeof window&&n(window)||"object"==typeof self&&n(self)||"object"==typeof __webpack_require__.g&&n(__webpack_require__.g)||function(){return this}()||{};function i(){return r}function o(e,t,n){const i=n||r,o=i.__SENTRY__=i.__SENTRY__||{};return o[e]||(o[e]=t())}const a=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in r))return e();const t=r.console,n={},i=Object.keys(s);i.forEach((e=>{const r=s[e];n[e]=t[e],t[e]=r}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const c=function(){let e=!1;const n={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return t?a.forEach((t=>{n[t]=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];e&&l((()=>{r.console[t]("".concat("Sentry Logger ","[").concat(t,"]:"),...i)}))}})):a.forEach((e=>{n[e]=()=>{}})),n}(),u=Object.prototype.toString;function d(e){switch(u.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(e,Error)}}function h(e,t){return u.call(e)==="[object ".concat(t,"]")}function p(e){return h(e,"ErrorEvent")}function f(e){return h(e,"DOMError")}function m(e){return h(e,"String")}function g(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function v(e){return null===e||g(e)||"object"!==typeof e&&"function"!==typeof e}function C(e){return h(e,"Object")}function y(e){return"undefined"!==typeof Event&&w(e,Event)}function b(e){return Boolean(e&&e.then&&"function"===typeof e.then)}function w(e,t){try{return e instanceof t}catch(n){return!1}}function x(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}const A=i(),E=80;function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||E;for(;n&&o++<r&&(c=T(n,u),!("html"===c||o>1&&a+i.length*l+c.length>=d));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(s)}catch(n){return"<unknown>"}}function T(e,t){const n=e,r=[];let i,o,a,s,l;if(!n||!n.tagName)return"";if(A.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(c&&c.length)c.forEach((e=>{r.push("[".concat(e[0],'="').concat(e[1],'"]'))}));else if(n.id&&r.push("#".concat(n.id)),i=n.className,i&&m(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(".".concat(o[l]));const u=["aria-label","type","name","title","alt"];for(l=0;l<u.length;l++)a=u[l],s=n.getAttribute(a),s&&r.push("[".concat(a,'="').concat(s,'"]'));return r.join("")}function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!==typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}function k(e,t){if(!Array.isArray(e))return"";const n=[];for(let i=0;i<e.length;i++){const t=e[i];try{x(t)?n.push("[VueViewModel]"):n.push(String(t))}catch(r){n.push("[value cannot be serialized]")}}return n.join(t)}function P(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!m(e)&&(h(t,"RegExp")?t.test(e):!!m(t)&&(n?e===t:e.includes(t)))}function D(e){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((n=>P(e,n,t)))}function N(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"===typeof i&&I(i,r),e[t]=i}function F(e,n,r){try{Object.defineProperty(e,n,{value:r,writable:!0,configurable:!0})}catch(i){t&&c.log('Failed to add non-enumerable property "'.concat(n,'" to object'),e)}}function I(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,F(e,"__sentry_original__",t)}catch(n){}}function R(e){return e.__sentry_original__}function M(e){if(d(e))return{message:e.message,name:e.name,stack:e.stack,...j(e)};if(y(e)){const t={type:e.type,target:O(e.target),currentTarget:O(e.currentTarget),...j(e)};return"undefined"!==typeof CustomEvent&&w(e,CustomEvent)&&(t.detail=e.detail),t}return e}function O(e){try{return t=e,"undefined"!==typeof Element&&w(t,Element)?_(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function j(e){if("object"===typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function L(e){return B(e,new Map)}function B(e,t){if(function(e){if(!C(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(t){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const i of Object.keys(e))"undefined"!==typeof e[i]&&(r[i]=B(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(B(e,t))})),r}return e}function U(){const e=r,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(ns){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function V(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function H(e){const{message:t,event_id:n}=e;if(t)return t;const r=V(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function z(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function Z(e,t){const n=V(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function W(e){if(e&&e.__sentry_captured__)return!0;try{F(e,"__sentry_captured__",!0)}catch(t){}return!1}function q(e){return Array.isArray(e)?e:[e]}const G="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var Y;function K(e){return new X((t=>{t(e)}))}function Q(e){return new X(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(Y||(Y={}));class X{constructor(e){X.prototype.__init.call(this),X.prototype.__init2.call(this),X.prototype.__init3.call(this),X.prototype.__init4.call(this),this._state=Y.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new X(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new X(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(Y.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Y.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===Y.PENDING&&(b(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===Y.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===Y.RESOLVED&&e[1](this._value),this._state===Y.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function J(){return o("globalEventProcessors",(()=>[]))}function $(e){J().push(e)}function ee(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new X(((i,o)=>{const a=e[r];if(null===t||"function"!==typeof a)i(t);else{const s=a({...t},n);G&&a.id&&null===s&&c.log('Event processor "'.concat(a.id,'" dropped event')),b(s)?s.then((t=>ee(e,t,n,r+1).then(i))).then(null,o):ee(e,s,n,r+1).then(i).then(null,o)}}))}const te=1e3;function ne(){return Date.now()/te}const re=function(){const{performance:e}=r;if(!e||!e.now)return ne;const t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/te}();let ie;(()=>{const{performance:e}=r;if(!e||!e.now)return void(ie="none");const t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,a=o<t,s=e.timing&&e.timing.navigationStart,l="number"===typeof s?Math.abs(s+n-i):t;a||l<t?o<=l?(ie="timeOrigin",e.timeOrigin):ie="navigationStart":ie="dateNow"})();const oe="production";function ae(e){const t=re(),n={sid:U(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return L({sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?"".concat(e.did):void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&se(n,e),n}function se(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||re(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:U()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function le(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),se(e,n)}const ce=50,ue=/\(error: (.*)\)/,de=/captureMessage|captureException/;function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=[],i=e.split("\n");for(let o=t;o<i.length;o++){const e=i[o];if(e.length>1024)continue;const t=ue.test(e)?e.replace(ue,"$1"):e;if(!t.match(/\S*Error: /)){for(const e of r){const r=e(t);if(r){n.push(r);break}}if(n.length>=ce)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),de.test(t[t.length-1].function||"")&&(t.pop(),de.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,ce).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(n)}}const pe="<anonymous>";function fe(e){try{return e&&"function"===typeof e&&e.name||pe}catch(t){return pe}}function me(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return ve("",e,t,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function ge(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400;const r=me(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?ge(e,t-1,n):r;var i}function ve(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){const e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}();const[o,a]=i;if(null==t||["number","boolean","string"].includes(typeof t)&&("number"!==typeof(s=t)||s===s))return t;var s;const l=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof __webpack_require__.g&&t===__webpack_require__.g)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if(x(t))return"[VueViewModel]";if(function(e){return C(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}(t))return"[SyntheticEvent]";if("number"===typeof t&&t!==t)return"[NaN]";if("function"===typeof t)return"[Function: ".concat(fe(t),"]");if("symbol"===typeof t)return"[".concat(String(t),"]");if("bigint"===typeof t)return"[BigInt: ".concat(String(t),"]");const n=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?"[HTMLElement: ".concat(n,"]"):"[object ".concat(n,"]")}catch(n){return"**non-serializable** (".concat(n,")")}}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;const c="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===c)return l.replace("object ","");if(o(t))return"[Circular ~]";const u=t;if(u&&"function"===typeof u.toJSON)try{return ve("",u.toJSON(),c-1,r,i)}catch(f){}const d=Array.isArray(t)?[]:{};let h=0;const p=M(t);for(const m in p){if(!Object.prototype.hasOwnProperty.call(p,m))continue;if(h>=r){d[m]="[MaxProperties ~]";break}const e=p[m];d[m]=ve(m,e,c-1,r,i),h++}return a(t),d}const Ce=1;function ye(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:a,tags:s,origin:l}=be(e);return L({data:r,op:i,parent_span_id:o,span_id:t,status:a,tags:s,trace_id:n,origin:l})}function be(e){return function(e){return"function"===typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"===typeof e.toJSON?e.toJSON():{}}function we(e){const{traceFlags:t}=e.spanContext();return Boolean(t&Ce)}function xe(e,t,n,i,o,a){const{normalizeDepth:s=3,normalizeMaxBreadth:l=1e3}=e,c={...t,event_id:t.event_id||n.event_id||U(),timestamp:t.timestamp||ne()},u=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:oe);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=S(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=S(a.value,o));const s=e.request;s&&s.url&&(s.url=S(s.url,o))}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,u),void 0===t.type&&function(e,t){const n=r._sentryDebugIds;if(!n)return;let i;const o=Ae.get(t);o?i=o:(i=new Map,Ae.set(t,i));const a=Object.keys(n).reduce(((e,r)=>{let o;const a=i.get(r);a?o=a:(o=t(r),i.set(r,o));for(let t=o.length-1;t>=0;t--){const i=o[t];if(i.filename){e[i.filename]=n[r];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=a[e.filename])}))}))}catch(s){}}(c,e.stackParser);const d=function(e,t){if(!t)return e;const n=e?e.clone():new ze;return n.update(t),n}(i,n.captureContext);n.mechanism&&Z(c,n.mechanism);const h=o&&o.getEventProcessors?o.getEventProcessors():[],p=function(){He||(He=new ze);return He}().getScopeData();if(a){Ue(p,a.getScopeData())}if(d){Ue(p,d.getScopeData())}const f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),Be(c,p);return ee([...h,...J(),...p.eventProcessors],c,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(r){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof s&&s>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:me(e.data,t,n)}})))},...e.user&&{user:me(e.user,t,n)},...e.contexts&&{contexts:me(e.contexts,t,n)},...e.extra&&{extra:me(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=me(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>{const r=be(e).data;return r&&(e.data=me(r,t,n)),e})));return r}(e,s,l):e)))}const Ae=new WeakMap;function Ee(e){if(e)return function(e){return e instanceof ze||"function"===typeof e}(e)||function(e){return Object.keys(e).some((e=>_e.includes(e)))}(e)?{captureContext:e}:e}const _e=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Te(e,t){return Xe().captureException(e,Ee(t))}function Se(e,t){return Xe().captureEvent(e,t)}function ke(e,t){Xe().addBreadcrumb(e,t)}function Pe(){const e=Xe();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(2===n.length){const[t,r]=n;return t?e.withScope((()=>(e.getStackTop().scope=t,r(t)))):e.withScope(r)}return e.withScope(n[0])}function De(){return Xe().getClient()}function Ne(){return Xe().getScope()}function Fe(e){const t=De(),n=Je(),i=Ne(),{release:o,environment:a=oe}=t&&t.getOptions()||{},{userAgent:s}=r.navigator||{},l=ae({release:o,environment:a,user:i.getUser()||n.getUser(),...s&&{userAgent:s},...e}),c=n.getSession();return c&&"ok"===c.status&&se(c,{status:"exited"}),Ie(),n.setSession(l),i.setSession(l),l}function Ie(){const e=Je(),t=Ne(),n=t.getSession()||e.getSession();n&&le(n),Re(),e.setSession(),t.setSession()}function Re(){const e=Je(),t=Ne(),n=De(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function Me(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Ie():Re()}function Oe(e){return e.transaction}function je(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},a=L({environment:r.environment||oe,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function Le(e){const t=De();if(!t)return{};const n=je(be(e).trace_id||"",t,Ne()),r=Oe(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:o,source:a}=r.metadata;null!=o&&(n.sample_rate="".concat(o));const s=be(r);return a&&"url"!==a&&(n.transaction=s.description),n.sampled=String(we(r)),t.emit&&t.emit("createDsc",n),n}function Be(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=L(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=L(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=L(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=L(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts});a&&(e.level=a);s&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:ye(t),...e.contexts};const n=Oe(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Le(t),...e.sdkProcessingMetadata};const r=be(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,r),function(e,t){e.fingerprint=e.fingerprint?q(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}function Ue(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:h,transactionName:p,span:f}=t;Ve(e,"extra",n),Ve(e,"tags",r),Ve(e,"user",i),Ve(e,"contexts",o),Ve(e,"sdkProcessingMetadata",s),a&&(e.level=a),p&&(e.transactionName=p),f&&(e.span=f),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function Ve(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}let He;class ze{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Ze()}static clone(e){return e?e.clone():new ze}clone(){const e=new ze;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&se(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e;if(t instanceof ze){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if(C(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Ze(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:ne(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Be(e,this.getScopeData());return ee([...n,...J(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:U();if(!this._client)return c.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:U();if(!this._client)return c.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:U();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(c.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function Ze(){return{traceId:U(),spanId:U().substring(16)}}const We="7.118.0",qe=parseFloat(We),Ge=100;class Ye{constructor(e,t,n){let r,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:qe;this._version=o,t?r=t:(r=new ze,r.setClient(e)),n?i=n:(i=new ze,i.setClient(e)),this._stack=[{scope:r}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(r){throw this.popScope(),r}return b(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:U(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:U(),i=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:U();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=Ge}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const a={timestamp:ne(),...e},s=i?l((()=>i(a,t))):a;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,o))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=Qe(this);try{e(this)}finally{Qe(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return G&&c.warn("Cannot retrieve integration ".concat(e.id," from the current Hub")),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(G&&!n){this.getClient()?c.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):c.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&le(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:o=oe}=n&&n.getOptions()||{},{userAgent:a}=r.navigator||{},s=ae({release:i,environment:o,user:t.getUser(),...a&&{userAgent:a},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&se(l,{status:"exited"}),this.endSession(),t.setSession(s),s}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e){const t=Ke().__SENTRY__;if(t&&t.extensions&&"function"===typeof t.extensions[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.extensions[e].apply(this,r)}G&&c.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}function Ke(){return r.__SENTRY__=r.__SENTRY__||{extensions:{},hub:void 0},r}function Qe(e){const t=Ke(),n=tt(t);return nt(t,e),n}function Xe(){const e=Ke();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return $e(e)}function Je(){return Xe().getIsolationScope()}function $e(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke();return et(e)&&!tt(e).isOlderThan(qe)||nt(e,new Ye),tt(e)}function et(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function tt(e){return o("hub",(()=>new Ye),e)}function nt(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}const rt=[];function it(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"===typeof n?q(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),o=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(e=>"Debug"===e.name));if(-1!==o){const[e]=i.splice(o,1);i.push(e)}return i}function ot(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function at(e,t,n){if(n[t.name])G&&c.log("Integration skipped because it was already installed: ".concat(t.name));else{if(n[t.name]=t,-1===rt.indexOf(t.name)&&(t.setupOnce($,Xe),rt.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),e.on&&"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}G&&c.log("Integration installed: ".concat(t.name))}}function st(e,t){return Object.assign((function(){return t(...arguments)}),{id:e})}const lt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],ct=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],ut="InboundFilters",dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:ut,setupOnce(){},processEvent(t,n,r){const i=r.getOptions(),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:lt],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:ct],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return G&&c.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(H(e))),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(r){}n&&n.value&&(t.push(n.value),n.type&&t.push("".concat(n.type,": ").concat(n.value)));G&&0===t.length&&c.error("Could not extract message for event ".concat(H(e)));return t}(e).some((e=>D(e,t)))}(e,t.ignoreErrors))return G&&c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(H(e))),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&D(n,t)}(e,t.ignoreTransactions))return G&&c.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat(H(e))),!0;if(function(e,t){if(!t||!t.length)return!1;const n=ht(e);return!!n&&D(n,t)}(e,t.denyUrls))return G&&c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(H(e),".\nUrl: ").concat(ht(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=ht(e);return!n||D(n,t)}(e,t.allowUrls))return G&&c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(H(e),".\nUrl: ").concat(ht(e))),!0;return!1}(t,o)?null:t}}};st(ut,dt);function ht(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(t){}return n?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return G&&c.error("Cannot extract url for event ".concat(H(e))),null}}let pt;const ft="FunctionToString",mt=new WeakMap,gt=()=>({name:ft,setupOnce(){pt=Function.prototype.toString;try{Function.prototype.toString=function(){const e=R(this),t=mt.has(De())&&void 0!==e?e:this;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return pt.apply(t,r)}}catch(e){}},setup(e){mt.set(e,!0)}});st(ft,gt);function vt(e,t){!0===t.debug&&(G?c.enable():l((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));Ne().update(t.initialScope);const n=new e(t);!function(e){const t=Xe(),n=t.getStackTop();n.client=e,n.scope.setClient(e)}(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}const Ct=i();function yt(){if(!("fetch"in Ct))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function bt(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const wt=i();const xt={},At={};function Et(e,t){xt[e]=xt[e]||[],xt[e].push(t)}function _t(e,t){At[e]||(t(),At[e]=!0)}function Tt(e,n){const r=e&&xt[e];if(r)for(const o of r)try{o(n)}catch(i){t&&c.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(fe(o),"\nError:"),i)}}const St=r;let kt;function Pt(e){const t="history";Et(t,e),_t(t,Dt)}function Dt(){if(!function(){const e=wt.chrome,t=e&&e.app&&e.app.runtime,n="history"in wt&&!!wt.history.pushState&&!!wt.history.replaceState;return!t&&n}())return;const e=St.onpopstate;function t(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n.length>2?n[2]:void 0;if(i){const e=kt,t=String(i);kt=t;Tt("history",{from:e,to:t})}return e.apply(this,n)}}St.onpopstate=function(){const t=St.location.href,n=kt;kt=t;if(Tt("history",{from:n,to:t}),e)try{for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.apply(this,i)}catch(a){}},N(St.history,"pushState",t),N(St.history,"replaceState",t)}const Nt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ft(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return"".concat(s,"://").concat(l).concat(t&&i?":".concat(i):"")+"@".concat(n).concat(o?":".concat(o):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function It(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Rt(e){const n="string"===typeof e?function(e){const t=Nt.exec(e);if(!t)return void l((()=>{console.error("Invalid Sentry Dsn: ".concat(e))}));const[n,r,i="",o,a="",s]=t.slice(1);let c="",u=s;const d=u.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),u=d.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return It({host:o,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(e):It(e);if(n&&function(e){if(!t)return!0;const{port:n,projectId:r,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(c.error("Invalid Sentry Dsn: ".concat(t," missing")),!0)))&&(r.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?!n||!isNaN(parseInt(n,10))||(c.error("Invalid Sentry Dsn: Invalid port ".concat(n)),!1):(c.error("Invalid Sentry Dsn: Invalid protocol ".concat(i)),!1):(c.error("Invalid Sentry Dsn: Invalid projectId ".concat(r)),!1))}(n))return n}function Mt(e){return[e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function Ot(e,t){const[n,r]=e;return[n,[...r,t]]}function jt(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function Lt(e,t){return(t||new TextEncoder).encode(e)}function Bt(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(e){"string"===typeof i?i="string"===typeof e?i+e:[Lt(i,t),e]:i.push("string"===typeof e?Lt(e,t):e)}for(const s of r){const[e,t]=s;if(o("\n".concat(JSON.stringify(e),"\n")),"string"===typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(a){e=JSON.stringify(me(t))}o(e)}}return"string"===typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(i)}function Ut(e,t){const n="string"===typeof e.data?Lt(e.data,t):e.data;return[L({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const Vt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function Ht(e){return Vt[e]}function zt(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class Zt extends Error{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const Wt="7";function qt(e){const t=e.protocol?"".concat(e.protocol,":"):"",n=e.port?":".concat(e.port):"";return"".concat(t,"//").concat(e.host).concat(n).concat(e.path?"/".concat(e.path):"","/api/")}function Gt(e,t){return function(e){return Object.keys(e).map((t=>"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t])))).join("&")}({sentry_key:e.publicKey,sentry_version:Wt,...t&&{sentry_client:"".concat(t.name,"/").concat(t.version)}})}function Yt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="string"===typeof t?t:t.tunnel,r="string"!==typeof t&&t._metadata?t._metadata.sdk:void 0;return n||"".concat(function(e){return"".concat(qt(e)).concat(e.projectId,"/envelope/")}(e),"?").concat(Gt(e,r))}function Kt(e,t,n,r){const i=zt(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Ft(r)},...i&&{trace:L({...i})}}}(e,i,r,t);delete e.sdkProcessingMetadata;return Mt(a,[[{type:o},e]])}function Qt(e,t,n,r){const i={sent_at:(new Date).toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=Ft(t));const o=function(e){const t=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?"|#".concat(e.map((e=>{let[t,n]=e;return"".concat(t,":").concat(n)})).join(",")):"";t+="".concat(n.name,"@").concat(n.unit,":").concat(n.metric,"|").concat(n.metricType).concat(r,"|T").concat(n.timestamp,"\n")}return t}(e);return[{type:"statsd",length:t.length},t]}(e);return Mt(i,[o])}const Xt="Not capturing exception because it's already been captured.";class Jt{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=Rt(e.dsn):G&&c.warn("No DSN provided, client will not send events."),this._dsn){const t=Yt(this._dsn,e);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if(W(e))return void(G&&c.log(Xt));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=g(e)?e:String(e),a=v(e)?this.eventFromMessage(o,t,n):this.eventFromException(e,n);return this._process(a.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&W(t.originalException))return void(G&&c.log(Xt));let r=t&&t.event_id;const i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,i||n).then((e=>{r=e}))),r}captureSession(e){"string"!==typeof e.release?G&&c.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),se(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):K(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return G&&c.warn("Cannot retrieve integration ".concat(e.id," from the current Client")),null}}addIntegration(e){const t=this._integrations[e.name];at(this,e,this._integrations),t||ot(this,[e])}sendEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",e,t);let n=Kt(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of t.attachments||[])n=Ot(n,Ut(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=zt(n);return Mt({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Ft(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n="".concat(e,":").concat(t);G&&c.log('Adding outcome: "'.concat(n,'"')),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){G&&c.log("Flushing aggregated metrics, number of metrics: ".concat(e.length));const t=Qt(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this._hooks[e]&&this._hooks[e].forEach((e=>e(...n)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&at(e,t,n)})),n}(this,e),ot(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(se(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new X((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Je();const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),xe(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:i,parentSpanId:o,dsc:a}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};const s=a||je(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(G){const t=e;"log"===t.logLevel?c.log(t.message):c.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,o=en(e),a=$t(e),s=e.type||"error",l="before send for type `".concat(s,"`");if(a&&"number"===typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),Q(new Zt("Discarding event because it's not included in the random sample (sampling rate = ".concat(i,")"),"log"));const c="replay_event"===s?"replay":s,u=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,u).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,e),new Zt("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if($t(t)&&r)return r(t,n);if(en(t)&&i)return i(t,n);return t}(r,n,t);return function(e,t){const n="".concat(t," must return `null` or a valid event.");if(b(e))return e.then((e=>{if(!C(e)&&null!==e)throw new Zt(n);return e}),(e=>{throw new Zt("".concat(t," rejected with ").concat(e))}));if(!C(e)&&null!==e)throw new Zt(n);return e}(i,l)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",c,e),new Zt("".concat(l," returned `null`, will not send event."),"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof Zt)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new Zt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(e))}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{G&&c.error("Error while sending event:",e)}));G&&c.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function $t(e){return void 0===e.type}function en(e){return"transaction"===e.type}function tn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[t],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm";const i=e._metadata||{};i.sdk||(i.sdk={name:"sentry.javascript.".concat(t),packages:n.map((e=>({name:"".concat(r,":@sentry/").concat(e),version:We}))),version:We}),e._metadata=i}const nn="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function rn(e,t){const n=an(e,t),r={type:t&&t.name,value:ln(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function on(e,t){return{exception:{values:[rn(e,t)]}}}function an(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(sn.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(i){}return[]}const sn=/Minified React error #\d+;/i;function ln(e){const t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function cn(e,t,n,r,i){let o;if(p(t)&&t.error){return on(e,t.error)}if(f(t)||h(t,"DOMException")){const i=t;if("stack"in t)o=on(e,t);else{const t=i.name||(f(i)?"DOMError":"DOMException"),a=i.message?"".concat(t,": ").concat(i.message):t;o=un(e,a,n,r),z(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":"".concat(i.code)}),o}if(d(t))return on(e,t);if(C(t)||y(t)){return o=function(e,t,n,r){const i=De(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:y(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:dn(t,{isUnhandledRejection:r})}]},extra:{__serialized__:ge(t,o)}};if(n){const t=an(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,i),Z(o,{synthetic:!0}),o}return o=un(e,t,n,r),z(o,"".concat(t),void 0),Z(o,{synthetic:!0}),o}function un(e,t,n,r){const i={};if(r&&n){const r=an(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(g(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function dn(e,t){let{isUnhandledRejection:n}=t;const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40;const n=Object.keys(M(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return S(n[0],t);for(let r=n.length;r>0;r--){const e=n.slice(0,r).join(", ");if(!(e.length>t))return r===n.length?e:S(e,t)}return""}(e),i=n?"promise rejection":"exception";if(p(e))return"Event `ErrorEvent` captured as ".concat(i," with message `").concat(e.message,"`");if(y(e)){const t=function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}(e);return"Event `".concat(t,"` (type=").concat(e.type,") captured as ").concat(i)}return"Object captured as ".concat(i," with keys: ").concat(r)}const hn=r;let pn=0;function fn(){return pn>0}function mn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("function"!==typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if(R(e))return e}catch(i){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);const i=r.map((e=>mn(e,t)));return e.apply(this,i)}catch(i){throw pn++,setTimeout((()=>{pn--})),Pe((e=>{e.addEventProcessor((e=>(t.mechanism&&(z(e,void 0,void 0),Z(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),Te(i)})),i}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(o){}I(r,e),F(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(o){}return r}class gn extends Jt{constructor(e){tn(e,"browser",["browser"],hn.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&hn.document&&hn.document.addEventListener("visibilitychange",(()=>{"hidden"===hn.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=cn(e,t,n&&n.syntheticException||void 0,r);return Z(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),K(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const o=un(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),K(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(nn&&c.warn("SDK not enabled, will not capture user feedback."));const t=function(e,t){let{metadata:n,tunnel:r,dsn:i}=t;const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}},...!!r&&!!i&&{dsn:Ft(i)}},a=function(e){return[{type:"user_report"},e]}(e);return Mt(o,[a])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(nn&&c.log("No outcomes to send"));if(!this._dsn)return void(nn&&c.log("No dsn provided, will not send outcomes"));nn&&c.log("Sending outcomes:",e);const t=(n=e,Mt((r=this._options.tunnel&&Ft(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||ne(),discarded_events:n}]]));var n,r,i;this._sendEnvelope(t)}}function vn(){"console"in r&&a.forEach((function(e){e in r.console&&N(r.console,e,(function(t){return s[e]=t,function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Tt("console",{args:n,level:e});const o=s[e];o&&o.apply(r.console,n)}}))}))}const Cn=r,yn=1e3;let bn,wn,xn;function An(){if(!Cn.document)return;const e=Tt.bind(null,"dom"),t=En(e,!0);Cn.document.addEventListener("click",t,!1),Cn.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=Cn[t]&&Cn[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(N(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){const r=En(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(o){}return t.call(this,n,r,i)}})),N(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(i){}return e.call(this,t,n,r)}})))}))}function En(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(t){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;F(n,"_sentryCaptured",!0),r&&!r._sentryId&&F(r,"_sentryId",U());const i="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==wn)return!1;try{if(!e.target||e.target._sentryId!==xn)return!1}catch(t){}return!0}(n)){e({event:n,name:i,global:t}),wn=n.type,xn=r?r._sentryId:void 0}clearTimeout(bn),bn=Cn.setTimeout((()=>{xn=void 0,wn=void 0}),yn)}}const _n=r,Tn="__sentry_xhr_v3__";function Sn(){if(!_n.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;N(e,"open",(function(e){return function(){const t=Date.now();for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const o=m(r[0])?r[0].toUpperCase():void 0,a=function(e){if(m(e))return e;try{return e.toString()}catch(t){}return}(r[1]);if(!o||!a)return e.apply(this,r);this[Tn]={method:o,url:a,request_headers:{}},"POST"===o&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const e=this[Tn];if(e&&4===this.readyState){try{e.status_code=this.status}catch(n){}Tt("xhr",{args:[o,a],endTimestamp:Date.now(),startTimestamp:t,xhr:this})}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?N(this,"onreadystatechange",(function(e){return function(){s();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}})):this.addEventListener("readystatechange",s),N(this,"setRequestHeader",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[i,o]=n,a=this[Tn];return a&&m(i)&&m(o)&&(a.request_headers[i.toLowerCase()]=o),e.apply(this,n)}})),e.apply(this,r)}})),N(e,"send",(function(e){return function(){const t=this[Tn];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!t)return e.apply(this,r);void 0!==r[0]&&(t.body=r[0]);return Tt("xhr",{args:[t.method,t.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,r)}}))}function kn(){(function(){if("string"===typeof EdgeRuntime)return!0;if(!yt())return!1;if(bt(Ct.fetch))return!0;let e=!1;const n=Ct.document;if(n&&"function"===typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t),t.contentWindow&&t.contentWindow.fetch&&(e=bt(t.contentWindow.fetch)),n.head.removeChild(t)}catch(r){t&&c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e})()&&N(r,"fetch",(function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const{method:o,url:a}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Dn(t),method:Pn(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Dn(t),method:Pn(t,"method")?String(t.method).toUpperCase():"GET"}}(n),s={args:n,fetchData:{method:o,url:a},startTimestamp:Date.now()};return Tt("fetch",{...s}),e.apply(r,n).then((e=>(Tt("fetch",{...s,endTimestamp:Date.now(),response:e}),e)),(e=>{throw Tt("fetch",{...s,endTimestamp:Date.now(),error:e}),e}))}}))}function Pn(e,t){return!!e&&"object"===typeof e&&!!e[t]}function Dn(e){return"string"===typeof e?e:e?Pn(e,"url")?e.url:e.toString?e.toString():"":""}const Nn=["fatal","error","warning","log","info","debug"];function Fn(e){return"warn"===e?"warning":Nn.includes(e)?e:"log"}function In(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const Rn=1024,Mn="Breadcrumbs",On=function(){const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}};return{name:Mn,setupOnce(){},setup(t){var n;e.console&&function(e){const t="console";Et(t,e),_t(t,vn)}(function(e){return function(t){if(De()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:Fn(t.level),message:k(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: ".concat(k(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}ke(n,{input:t.args,level:t.level})}}(t)),e.dom&&(n=function(e,t){return function(n){if(De()!==e)return;let r,i,o="object"===typeof t?t.serializeAttribute:void 0,a="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>Rn&&(nn&&c.warn("`dom.maxStringLength` cannot exceed ".concat(Rn,", but a value of ").concat(a," was configured. Sentry will use ").concat(Rn," instead.")),a=Rn),"string"===typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=_(t,{keyAttrs:o,maxStringLength:a}),i=function(e){if(!A.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}(t)}catch(l){r="<unknown>"}if(0===r.length)return;const s={category:"ui.".concat(n.name),message:r};i&&(s.data={"ui.component_name":i}),ke(s,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),Et("dom",n),_t("dom",An)),e.xhr&&function(e){Et("xhr",e),_t("xhr",Sn)}(function(e){return function(t){if(De()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Tn];if(!n||!r||!i)return;const{method:o,url:a,status_code:s,body:l}=i;ke({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},{xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r})}}(t)),e.fetch&&function(e){const t="fetch";Et(t,e),_t(t,kn)}(function(e){return function(t){if(De()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){ke({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r})}else{const e=t.response;ke({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}(t)),e.history&&Pt(function(e){return function(t){if(De()!==e)return;let n=t.from,r=t.to;const i=In(hn.location.href);let o=n?In(n):void 0;const a=In(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),ke({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on&&t.on("beforeSendEvent",function(e){return function(t){De()===e&&ke({category:"sentry.".concat("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:H(t)},{event:t})}}(t))}}};st(Mn,On);const jn="Dedupe",Ln=()=>{let e;return{name:jn,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Un(e,t))return!1;if(!Bn(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=Vn(t),r=Vn(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Un(e,t))return!1;if(!Bn(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return nn&&c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}};st(jn,Ln);function Bn(e,t){let n=Hn(e),r=Hn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const e=r[i],t=n[i];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function Un(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(i){return!1}}function Vn(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Hn(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}let zn=null;function Zn(){zn=r.onerror,r.onerror=function(e,t,n,r,i){return Tt("error",{column:r,error:i,line:n,msg:e,url:t}),!(!zn||zn.__SENTRY_LOADER__)&&zn.apply(this,arguments)},r.onerror.__SENTRY_INSTRUMENTED__=!0}let Wn=null;function qn(){Wn=r.onunhandledrejection,r.onunhandledrejection=function(e){return Tt("unhandledrejection",e),!(Wn&&!Wn.__SENTRY_LOADER__)||Wn.apply(this,arguments)},r.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Gn="GlobalHandlers",Yn=function(){const e={onerror:!0,onunhandledrejection:!0,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}};return{name:Gn,setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(e){!function(e){const t="error";Et(t,e),_t(t,Zn)}((t=>{const{stackParser:n,attachStacktrace:r}=Xn();if(De()!==e||fn())return;const{msg:i,url:o,line:a,column:s,error:l}=t,c=void 0===l&&m(i)?function(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=p(e)?e.message:e,a="Error";const s=o.match(i);s&&(a=s[1],o=s[2]);const l={exception:{values:[{type:a,value:o}]}};return Kn(l,t,n,r)}(i,o,a,s):Kn(cn(n,l||i,void 0,r,!1),o,a,s);c.level="error",Se(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}))}(t),Qn("onerror")),e.onunhandledrejection&&(!function(e){!function(e){const t="unhandledrejection";Et(t,e),_t(t,qn)}((t=>{const{stackParser:n,attachStacktrace:r}=Xn();if(De()!==e||fn())return;const i=function(e){if(v(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(n){}return e}(t),o=v(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:cn(n,i,void 0,r,!0);o.level="error",Se(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(t),Qn("onunhandledrejection"))}}};st(Gn,Yn);function Kn(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=m(t)&&t.length>0?t:function(){try{return A.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function Qn(e){nn&&c.log("Global Handler attached: ".concat(e))}function Xn(){const e=De();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Jn="HttpContext",$n=()=>({name:Jn,setupOnce(){},preprocessEvent(e){if(!hn.navigator&&!hn.location&&!hn.document)return;const t=e.request&&e.request.url||hn.location&&hn.location.href,{referrer:n}=hn.document||{},{userAgent:r}=hn.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}});st(Jn,$n);function er(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;if(!o.exception||!o.exception.values||!a||!w(a.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var l,c;s&&(o.exception.values=(l=tr(e,t,i,a.originalException,r,o.exception.values,s,0),c=n,l.map((e=>(e.value&&(e.value=S(e.value,c)),e)))))}function tr(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let l=[...o];if(w(r[i],Error)){nr(a,s);const o=e(t,r[i]),c=l.length;rr(o,i,c,s),l=tr(e,t,n,r[i],i,[o,...l],o,c)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if(w(r,Error)){nr(a,s);const c=e(t,r),u=l.length;rr(c,"errors[".concat(o,"]"),u,s),l=tr(e,t,n,r,i,[c,...l],c,u)}})),l}function nr(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function rr(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const ir="LinkedErrors",or=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.limit||5,n=e.key||"cause";return{name:ir,setupOnce(){},preprocessEvent(e,r,i){const o=i.getOptions();er(rn,o.stackParser,o.maxValueLength,n,t,e,r)}}},ar=(st(ir,or),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"]),sr="TryCatch",lr=function(){const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}};return{name:sr,setupOnce(){e.setTimeout&&N(hn,"setTimeout",cr),e.setInterval&&N(hn,"setInterval",cr),e.requestAnimationFrame&&N(hn,"requestAnimationFrame",ur),e.XMLHttpRequest&&"XMLHttpRequest"in hn&&N(XMLHttpRequest.prototype,"send",dr);const t=e.eventTarget;if(t){(Array.isArray(t)?t:ar).forEach(hr)}}}};st(sr,lr);function cr(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n[0];return n[0]=mn(i,{mechanism:{data:{function:fe(e)},handled:!1,type:"instrument"}}),e.apply(this,n)}}function ur(e){return function(t){return e.apply(this,[mn(t,{mechanism:{data:{function:"requestAnimationFrame",handler:fe(e)},handled:!1,type:"instrument"}})])}}function dr(e){return function(){const t=this;["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in t&&"function"===typeof t[e]&&N(t,e,(function(t){const n={mechanism:{data:{function:e,handler:fe(t)},handled:!1,type:"instrument"}},r=R(t);return r&&(n.mechanism.data.handler=fe(r)),mn(t,n)}))}));for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.apply(this,r)}}function hr(e){const t=hn,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(N(n,"addEventListener",(function(t){return function(n,r,i){try{"function"===typeof r.handleEvent&&(r.handleEvent=mn(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:fe(r),target:e},handled:!1,type:"instrument"}}))}catch(o){}return t.apply(this,[n,mn(r,{mechanism:{data:{function:"addEventListener",handler:fe(r),target:e},handled:!1,type:"instrument"}}),i])}})),N(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(o){}return e.call(this,t,i,r)}})))}const pr="?";function fr(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const mr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gr=/\((\S*)(?::(\d+))(?::(\d+))\)/,vr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Cr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,yr=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,br=he(...[[30,e=>{const t=mr.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=gr.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=wr(t[1]||pr,t[2]);return fr(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=vr.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Cr.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||pr;return[n,e]=wr(n,e),fr(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=yr.exec(e);return t?fr(t[2],t[1]||pr,+t[3],t[4]?+t[4]:void 0):void 0}]]),wr=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:pr,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]};function xr(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Q(new Zt("Not adding Promise because buffer limit was reached."));const i=r();return-1===t.indexOf(i)&&t.push(i),i.then((()=>n(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new X(((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{K(e).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}const Ar=6e4;function Er(e,t){let{statusCode:n,headers:r}=t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();const o={...e},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const l of a.trim().split(",")){const[e,t,,,n]=l.split(":",5),r=parseInt(e,10),a=1e3*(isNaN(r)?60:r);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(o[s]=i+a);else o.all=i+a}else s?o.all=i+function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();const n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;const r=Date.parse("".concat(e));return isNaN(r)?Ar:r-t}(s,i):429===n&&(o.all=i+6e4);return o}const _r=30;function Tr(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xr(e.bufferSize||_r),r={};function i(i){const o=[];if(jt(i,((t,n)=>{const i=Ht(n);if(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Sr(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)})),0===o.length)return K();const a=Mt(i[0],o),s=t=>{jt(a,((n,r)=>{const i=Sr(n,r);e.recordDroppedEvent(t,Ht(r),i)}))};return n.add((()=>t({body:Bt(a,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&G&&c.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=Er(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof Zt)return G&&c.error("Skipped sending event because buffer is full."),s("queue_overflow"),K();throw e}))}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function Sr(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}let kr;function Pr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){if(kr)return kr;if(bt(hn.fetch))return kr=hn.fetch.bind(hn);const e=hn.document;let t=hn.fetch;if(e&&"function"===typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){nn&&c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return kr=t.bind(hn)}(),n=0,r=0;return Tr(e,(function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,a).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(s){return kr=void 0,n-=o,r--,Q(s)}}))}const Dr=4;function Nr(e){return Tr(e,(function(t){return new X(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===Dr&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}const Fr=[dt(),gt(),lr(),On(),Yn(),or(),Ln(),$n()];function Ir(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...Fr]),void 0===e.release&&("string"===typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),hn.SENTRY_RELEASE&&hn.SENTRY_RELEASE.id&&(e.release=hn.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(n=e.stackParser||br,Array.isArray(n)?he(...n):n),integrations:it(e),transport:e.transport||(yt()?Pr:Nr)};var n;vt(gn,t),e.autoSessionTracking&&function(){if("undefined"===typeof hn.document)return void(nn&&c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));Fe({ignoreDuration:!0}),Me(),Pt((e=>{let{from:t,to:n}=e;void 0!==t&&t!==n&&(Fe({ignoreDuration:!0}),Me())}))}()}var Rr=__webpack_require__(86359),Mr=__webpack_require__(40745),Or=__webpack_require__(35488),jr=__webpack_require__(57435),Lr=__webpack_require__(1939),Br=__webpack_require__(35174),Ur=__webpack_require__(46106),Vr=__webpack_require__(89678),Hr=__webpack_require__(51851);const zr=(0,Hr.VZ)(),Zr=80;function Wr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||Zr;for(;n&&o++<r&&(c=qr(n,u),!("html"===c||o>1&&a+i.length*l+c.length>=d));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(s)}catch(n){return"<unknown>"}}function qr(e,t){const n=e,r=[];let i,o,a,s,l;if(!n||!n.tagName)return"";if(zr.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(c&&c.length)c.forEach((e=>{r.push("[".concat(e[0],'="').concat(e[1],'"]'))}));else if(n.id&&r.push("#".concat(n.id)),i=n.className,i&&(0,Vr.Kg)(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(".".concat(o[l]));const u=["aria-label","type","name","title","alt"];for(l=0;l<u.length;l++)a=u[l],s=n.getAttribute(a),s&&r.push("[".concat(a,'="').concat(s,'"]'));return r.join("")}function Gr(e){if(!zr.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}const Yr="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var Kr=__webpack_require__(14835);const Qr=Hr.OW;var Xr=__webpack_require__(82243);const Jr=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}},$r=()=>Qr.__WEB_VITALS_POLYFILL__?Qr.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=Qr.performance.timing,t=Qr.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const r in e)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n})()):Qr.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],ei=()=>{const e=$r();return e&&e.activationStart||0},ti=(e,t)=>{const n=$r();let r="navigate";return n&&(r=Qr.document&&Qr.document.prerendering||ei()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:"undefined"===typeof t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},ni=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(r){}},ri=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==Qr.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};Qr.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},ii=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=ti("CLS",0);let r,i=0,o=[];const a=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=o[0],a=o[o.length-1];i&&0!==o.length&&e.startTime-a.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e]),i>n.value&&(n.value=i,n.entries=o,r&&r())}}))},s=ni("layout-shift",a);if(s){r=Jr(e,n,t.reportAllChanges);const i=()=>{a(s.takeRecords()),r(!0)};return ri(i),i}};let oi=-1;const ai=()=>(oi<0&&(Qr.document&&Qr.document.visibilityState&&(oi="hidden"!==Qr.document.visibilityState||Qr.document.prerendering?1/0:0),ri((e=>{let{timeStamp:t}=e;oi=t}),!0)),{get firstHiddenTime(){return oi}}),si=e=>{const t=ai(),n=ti("FID");let r;const i=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},o=e=>{e.forEach(i)},a=ni("first-input",o);r=Jr(e,n),a&&ri((()=>{o(a.takeRecords()),a.disconnect()}),!0)};let li=0,ci=1/0,ui=0;const di=e=>{e.forEach((e=>{e.interactionId&&(ci=Math.min(ci,e.interactionId),ui=Math.max(ui,e.interactionId),li=ui?(ui-ci)/7+1:0)}))};let hi;const pi=()=>{"interactionCount"in performance||hi||(hi=ni("event",di,{type:"event",buffered:!0,durationThreshold:0}))},fi=()=>hi?li:performance.interactionCount||0,mi=[],gi={},vi=e=>{const t=mi[mi.length-1],n=gi[e.interactionId];if(n||mi.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};gi[t.id]=t,mi.push(t)}mi.sort(((e,t)=>t.latency-e.latency)),mi.splice(10).forEach((e=>{delete gi[e.id]}))}},Ci=(e,t)=>{t=t||{},pi();const n=ti("INP");let r;const i=e=>{e.forEach((e=>{if(e.interactionId&&vi(e),"first-input"===e.entryType){!mi.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&vi(e)}}));const t=(()=>{const e=Math.min(mi.length-1,Math.floor(fi()/50));return mi[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},o=ni("event",i,{durationThreshold:t.durationThreshold||40});r=Jr(e,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),ri((()=>{i(o.takeRecords()),n.value<0&&fi()>0&&(n.value=0,n.entries=[]),r(!0)})))},yi={},bi=e=>{const t=ai(),n=ti("LCP");let r;const i=e=>{const i=e[e.length-1];if(i){const e=Math.max(i.startTime-ei(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[i],r())}},o=ni("largest-contentful-paint",i);if(o){r=Jr(e,n);const t=()=>{yi[n.id]||(i(o.takeRecords()),o.disconnect(),yi[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{Qr.document&&addEventListener(e,t,{once:!0,capture:!0})})),ri(t,!0),t}},wi=e=>{Qr.document&&(Qr.document.prerendering?addEventListener("prerenderingchange",(()=>wi(e)),!0):"complete"!==Qr.document.readyState?addEventListener("load",(()=>wi(e)),!0):setTimeout(e,0))},xi=(e,t)=>{t=t||{};const n=ti("TTFB"),r=Jr(e,n,t.reportAllChanges);wi((()=>{const e=$r();if(e){if(n.value=Math.max(e.responseStart-ei(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}}))},Ai={},Ei={};let _i,Ti,Si,ki,Pi;function Di(e,t){return Li(e,t),Ei[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);ni(e,(t=>{Ni(e,{entries:t})}),t)}(e),Ei[e]=!0),Bi(e,t)}function Ni(e,t){const n=Ai[e];if(n&&n.length)for(const i of n)try{i(t)}catch(r){Yr&&Br.vF.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat((0,Xr.qQ)(i),"\nError:"),r)}}function Fi(){return ii((e=>{Ni("cls",{metric:e}),_i=e}),{reportAllChanges:!0})}function Ii(){return si((e=>{Ni("fid",{metric:e}),Ti=e}))}function Ri(){return bi((e=>{Ni("lcp",{metric:e}),Si=e}))}function Mi(){return xi((e=>{Ni("ttfb",{metric:e}),ki=e}))}function Oi(){return Ci((e=>{Ni("inp",{metric:e}),Pi=e}))}function ji(e,t,n,r){let i,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return Li(e,t),Ei[e]||(i=n(),Ei[e]=!0),r&&t({metric:r}),Bi(e,t,o?i:void 0)}function Li(e,t){Ai[e]=Ai[e]||[],Ai[e].push(t)}function Bi(e,t,n){return()=>{n&&n();const r=Ai[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}var Ui=__webpack_require__(88889);function Vi(e){return[{type:"span"},e]}var Hi=__webpack_require__(14245),zi=__webpack_require__(81356),Zi=__webpack_require__(22395);function Wi(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function qi(e){return e.split(/[\?#]/,1)[0]}function Gi(e){return e.split(/\\?\//).filter((e=>e.length>0&&","!==e)).length}function Yi(e){return"number"===typeof e&&isFinite(e)}function Ki(e,t){let{startTimestamp:n,...r}=t;return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild({startTimestamp:n,...r})}const Qi=2147483647;function Xi(e){return e/1e3}function Ji(){return Qr&&Qr.addEventListener&&Qr.performance}let $i,eo,to=0,no={};function ro(){const e=Ji();if(e&&Zi.k3){e.mark&&Qr.performance.mark("sentry-tracing-init");const t=function(){return e=e=>{let{metric:t}=e;const n=t.entries[t.entries.length-1];if(!n)return;const r=Xi(Zi.k3),i=Xi(n.startTime);Yr&&Br.vF.log("[Measurements] Adding FID"),no.fid={value:t.value,unit:"millisecond"},no["mark.fid"]={value:r+i,unit:"second"}},ji("fid",e,Ii,Ti);var e}(),n=function(e){return ji("cls",e,Fi,_i,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}((e=>{let{metric:t}=e;const n=t.entries[t.entries.length-1];n&&(Yr&&Br.vF.log("[Measurements] Adding CLS"),no.cls={value:t.value,unit:""},eo=n)}),!0),r=function(e){return ji("lcp",e,Ri,Si,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}((e=>{let{metric:t}=e;const n=t.entries[t.entries.length-1];n&&(Yr&&Br.vF.log("[Measurements] Adding LCP"),no.lcp={value:t.value,unit:"millisecond"},$i=n)}),!0),i=function(){return e=e=>{let{metric:t}=e;t.entries[t.entries.length-1]&&(Yr&&Br.vF.log("[Measurements] Adding TTFB"),no.ttfb={value:t.value,unit:"millisecond"})},ji("ttfb",e,Mi,ki);var e}();return()=>{t(),n(),r(),i()}}return()=>{}}function io(e,t){if(Ji()&&Zi.k3){const n=function(e,t){return n=n=>{let{metric:r}=n;if(void 0===r.value)return;const i=r.entries.find((e=>e.duration===r.value&&void 0!==oo[e.name])),o=(0,Lr.KU)();if(!i||!o)return;const a=oo[i.name],s=o.getOptions(),l=Xi(Zi.k3+i.startTime),c=Xi(r.value),u=void 0!==i.interactionId?e[i.interactionId]:void 0;if(void 0===u)return;const{routeName:d,parentContext:h,activeTransaction:p,user:f,replayId:m}=u,g=void 0!==f?f.email||f.id||f.ip_address:void 0,v=void 0!==p?p.getProfileId():void 0,C=new Ui.L({startTimestamp:l,endTimestamp:l+c,op:"ui.interaction.".concat(a),name:Wr(i.target),attributes:{release:s.release,environment:s.environment,transaction:d,...void 0!==g&&""!==g?{user:g}:{},...void 0!==v?{profile_id:v}:{},...void 0!==m?{replay_id:m}:{}},exclusiveTime:r.value,measurements:{inp:{value:r.value,unit:"millisecond"}}}),y=function(e,t,n){if(!(0,Hi.w)(t))return!1;let r;return r=void 0!==e&&"function"===typeof t.tracesSampler?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:Qr.location}):void 0!==e&&void 0!==e.sampled?e.sampled:"undefined"!==typeof t.tracesSampleRate?t.tracesSampleRate:1,(0,zi.v)(r)?!0===r?n:!1===r?0:r*n:(Yr&&Br.vF.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}(h,s,t);if(y&&Math.random()<y){const e=C?function(e,t){const n={sent_at:(new Date).toISOString()};return t&&(n.dsn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return"".concat(s,"://").concat(l).concat(t&&i?":".concat(i):"")+"@".concat(n).concat(o?":".concat(o):"","/").concat(r?"".concat(r,"/"):r).concat(a)}(t)),function(e){return[e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}(n,e.map(Vi))}([C],o.getDsn()):void 0,t=o&&o.getTransport();t&&e&&t.send(e).then(null,(e=>{Yr&&Br.vF.error("Error while sending interaction:",e)}))}},ji("inp",n,Oi,Pi);var n}(e,t);return()=>{n()}}return()=>{}}const oo={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function ao(e){const t=Ji();if(!t||!Qr.performance.getEntries||!Zi.k3)return;Yr&&Br.vF.log("[Tracing] Adding & adjusting spans using Performance API");const n=Xi(Zi.k3),r=t.getEntries(),{op:i,start_timestamp:o}=(0,Kr.et)(e);if(r.slice(to).forEach((t=>{const r=Xi(t.startTime),i=Xi(t.duration);if(!("navigation"===e.op&&o&&n+r<o))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{so(e,t,r,n)})),so(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),so(e,t,"fetch",n,"cache","domainLookupStart"),so(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(Ki(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+Xi(t.requestStart),endTimestamp:n+Xi(t.responseEnd)}),Ki(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+Xi(t.responseStart),endTimestamp:n+Xi(t.responseEnd)}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const o=i+n,a=o+r;Ki(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})}(e,t,r,i,n);const o=ai(),a=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&a&&(Yr&&Br.vF.log("[Measurements] Adding FP"),no.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(Yr&&Br.vF.log("[Measurements] Adding FCP"),no.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a=Wi(n),s={};lo(s,t,"transferSize","http.response_transfer_size"),lo(s,t,"encodedBodySize","http.response_content_length"),lo(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus);a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop());a.host&&(s["server.address"]=a.host);s["url.same_origin"]=n.includes(Qr.location.origin);const l=o+r,c=l+i;Ki(e,{description:n.replace(Qr.location.origin,""),endTimestamp:c,op:t.initiatorType?"resource.".concat(t.initiatorType):"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:l,data:s})}(e,t,t.name,r,i,n)}})),to=Math.max(r.length-1,0),function(e){const t=Qr.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Yi(n.rtt)&&(no["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Yi(t.deviceMemory)&&e.setTag("deviceMemory","".concat(t.deviceMemory," GB"));Yi(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===i){!function(e){const t=$r();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(Yr&&Br.vF.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(no),["fcp","fp","lcp"].forEach((e=>{if(!no[e]||!o||n>=o)return;const t=no[e].value,r=n+Xi(t),i=Math.abs(1e3*(r-o)),a=i-t;Yr&&Br.vF.log("[Measurements] Normalized ".concat(e," from ").concat(t," to ").concat(i," (").concat(a,")")),no[e].value=i}));const t=no["mark.fid"];t&&no.fid&&(Ki(e,{description:"first input delay",endTimestamp:t.value+Xi(no.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete no["mark.fid"]),"fcp"in no||delete no.cls,Object.keys(no).forEach((e=>{!function(e,t,n){const r=(0,Or.Z7)();r&&r.setMeasurement(e,t,n)}(e,no[e].value,no[e].unit)})),function(e){$i&&(Yr&&Br.vF.log("[Measurements] Adding LCP Data"),$i.element&&e.setTag("lcp.element",Wr($i.element)),$i.id&&e.setTag("lcp.id",$i.id),$i.url&&e.setTag("lcp.url",$i.url.trim().slice(0,200)),e.setTag("lcp.size",$i.size));eo&&eo.sources&&(Yr&&Br.vF.log("[Measurements] Adding CLS Data"),eo.sources.forEach(((t,n)=>e.setTag("cls.source.".concat(n+1),Wr(t.node)))))}(e)}$i=void 0,eo=void 0,no={}}function so(e,t,n,r,i,o){const a=o?t[o]:t["".concat(n,"End")],s=t["".concat(n,"Start")];s&&a&&Ki(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+Xi(s),endTimestamp:r+Xi(a)})}function lo(e,t,n,r){const i=t[n];null!=i&&i<Qi&&(e[r]=i)}var co=__webpack_require__(8551),uo=__webpack_require__(67853),ho=__webpack_require__(84316),po=__webpack_require__(37054),fo=__webpack_require__(51293),mo=__webpack_require__(94150);const go=(0,Hr.VZ)();function vo(){if(!("fetch"in go))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Co(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var yo=__webpack_require__(87436);function bo(){(function(){if("string"===typeof EdgeRuntime)return!0;if(!vo())return!1;if(Co(go.fetch))return!0;let e=!1;const t=go.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Co(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){mo.T&&Br.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e})()&&(0,fo.GS)(Hr.OW,"fetch",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const{method:i,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:xo(t),method:wo(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:xo(t),method:wo(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:i,url:o},startTimestamp:Date.now()};return(0,yo.aj)("fetch",{...a}),e.apply(Hr.OW,n).then((e=>{const t={...a,endTimestamp:Date.now(),response:e};return(0,yo.aj)("fetch",t),e}),(e=>{const t={...a,endTimestamp:Date.now(),error:e};throw(0,yo.aj)("fetch",t),e}))}}))}function wo(e,t){return!!e&&"object"===typeof e&&!!e[t]}function xo(e){return"string"===typeof e?e:e?wo(e,"url")?e.url:e.toString?e.toString():"":""}const Ao=Hr.OW,Eo="__sentry_xhr_v3__";function _o(){if(!Ao.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,fo.GS)(e,"open",(function(e){return function(){const t=Date.now();for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const o=(0,Vr.Kg)(r[0])?r[0].toUpperCase():void 0,a=function(e){if((0,Vr.Kg)(e))return e;try{return e.toString()}catch(t){}return}(r[1]);if(!o||!a)return e.apply(this,r);this[Eo]={method:o,url:a,request_headers:{}},"POST"===o&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const e=this[Eo];if(e&&4===this.readyState){try{e.status_code=this.status}catch(n){}const r={args:[o,a],endTimestamp:Date.now(),startTimestamp:t,xhr:this};(0,yo.aj)("xhr",r)}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?(0,fo.GS)(this,"onreadystatechange",(function(e){return function(){s();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}})):this.addEventListener("readystatechange",s),(0,fo.GS)(this,"setRequestHeader",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[i,o]=n,a=this[Eo];return a&&(0,Vr.Kg)(i)&&(0,Vr.Kg)(o)&&(a.request_headers[i.toLowerCase()]=o),e.apply(this,n)}})),e.apply(this,r)}})),(0,fo.GS)(e,"send",(function(e){return function(){const t=this[Eo];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!t)return e.apply(this,r);void 0!==r[0]&&(t.body=r[0]);const o={args:[t.method,t.url],startTimestamp:Date.now(),xhr:this};return(0,yo.aj)("xhr",o),e.apply(this,r)}}))}function To(e){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((n=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(0,Vr.Kg)(e)&&((0,Vr.gd)(t)?t.test(e):!!(0,Vr.Kg)(t)&&(n?e===t:e.includes(t)))}(e,n,t)))}var So=__webpack_require__(67118);function ko(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"auto.http.browser";if(!(0,Hi.w)()||!e.fetchData)return;const o=t(e.fetchData.url);if(e.endTimestamp&&o){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(!function(e,t){if(t.response){(0,co.N8)(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus("internal_error");e.end()}(n,e),delete r[t]))}const a=(0,Lr.o5)(),s=(0,Lr.KU)(),{method:l,url:c}=e.fetchData,u=function(e){try{return new URL(e).href}catch(t){return}}(c),d=u?Wi(u).host:void 0,h=o?(0,ho.Uk)({name:"".concat(l," ").concat(c),onlyIfParent:!0,attributes:{url:c,type:"fetch","http.method":l,"http.url":u,"server.address":d,[jr.JD]:i},op:"http.client"}):void 0;if(h&&(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h),n(e.fetchData.url)&&s){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const o=i||n.getSpan(),a=(0,uo.rm)(),{traceId:s,spanId:l,sampled:c,dsc:u}={...a.getPropagationContext(),...n.getPropagationContext()},d=o?(0,Kr.Qh)(o):(0,Ur.TC)(s,l,c),h=(0,So.De)(u||(o?(0,po.k)(o):(0,po.l)(s,t,n))),p=r.headers||("undefined"!==typeof Request&&(0,Vr.tH)(e,Request)?e.headers:void 0);if(p){if("undefined"!==typeof Headers&&(0,Vr.tH)(p,Headers)){const e=new Headers(p);return e.append("sentry-trace",d),h&&e.append(So.hF,h),e}if(Array.isArray(p)){const e=[...p,["sentry-trace",d]];return h&&e.push([So.hF,h]),e}{const e="baggage"in p?p.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),h&&t.push(h),{...p,"sentry-trace":d,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":d,baggage:h}}(t,s,a,n,h)}return h}const Po=["localhost",/^\/(?!\/)/],Do={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Po,tracePropagationTargets:Po};function No(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a}={traceFetch:Do.traceFetch,traceXHR:Do.traceXHR,...e},s="function"===typeof o?o:e=>!0,l=e=>function(e,t){return To(e,t||Po)}(e,r||i),c={};var u;t&&function(e){const t="fetch";(0,yo.s5)(t,e),(0,yo.AS)(t,bo)}((e=>{const t=ko(e,s,l,c);if(t){const n=Ro(e.fetchData.url),r=n?Wi(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}a&&t&&Fo(t)})),n&&(u=e=>{const t=function(e,t,n,r){const i=e.xhr,o=i&&i[Eo];if(!(0,Hi.w)()||!i||i.__sentry_own_request__||!o)return;const a=t(o.url);if(e.endTimestamp&&a){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==o.status_code&&((0,co.N8)(t,o.status_code),t.end(),delete r[e]))}const s=(0,Lr.o5)(),l=(0,uo.rm)(),c=Ro(o.url),u=c?Wi(c).host:void 0,d=a?(0,ho.Uk)({name:"".concat(o.method," ").concat(o.url),onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,"http.url":c,url:o.url,"server.address":u,[jr.JD]:"auto.http.browser"},op:"http.client"}):void 0;d&&(i.__sentry_xhr_span_id__=d.spanContext().spanId,r[i.__sentry_xhr_span_id__]=d);const h=(0,Lr.KU)();if(i.setRequestHeader&&n(o.url)&&h){const{traceId:e,spanId:t,sampled:n,dsc:r}={...l.getPropagationContext(),...s.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(So.hF,n)}catch(ns){}}(i,d?(0,Kr.Qh)(d):(0,Ur.TC)(e,t,n),(0,So.De)(r||(d?(0,po.k)(d):(0,po.l)(e,h,s))))}return d}(e,s,l,c);a&&t&&Fo(t)},(0,yo.s5)("xhr",u),(0,yo.AS)("xhr",_o))}function Fo(e){const{url:t}=(0,Kr.et)(e).data||{};if(!t||"string"!==typeof t)return;const n=Di("resource",(r=>{let{entries:i}=r;i.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){const t=function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}r===e&&(t=r);return{name:t,version:n}}(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!Zi.k3)return r;return[...r,["http.request.redirect_start",Io(e.redirectStart)],["http.request.fetch_start",Io(e.fetchStart)],["http.request.domain_lookup_start",Io(e.domainLookupStart)],["http.request.domain_lookup_end",Io(e.domainLookupEnd)],["http.request.connect_start",Io(e.connectStart)],["http.request.secure_connection_start",Io(e.secureConnectionStart)],["http.request.connection_end",Io(e.connectEnd)],["http.request.request_start",Io(e.requestStart)],["http.request.response_start",Io(e.responseStart)],["http.request.response_end",Io(e.responseEnd)]]}(r);t.forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function Io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return((Zi.k3||performance.timeOrigin)+e)/1e3}function Ro(e){try{return new URL(e,Qr.location.origin).href}catch(t){return}}const Mo=(0,Hr.VZ)();const Oo=Hr.OW;let jo;function Lo(){if(!function(){const e=Mo.chrome,t=e&&e.app&&e.app.runtime,n="history"in Mo&&!!Mo.history.pushState&&!!Mo.history.replaceState;return!t&&n}())return;const e=Oo.onpopstate;function t(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n.length>2?n[2]:void 0;if(i){const e=jo,t=String(i);jo=t;const n={from:e,to:t};(0,yo.aj)("history",n)}return e.apply(this,n)}}Oo.onpopstate=function(){const t=Oo.location.href,n=jo;jo=t;const r={from:n,to:t};if((0,yo.aj)("history",r),e)try{for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return e.apply(this,o)}catch(s){}},(0,fo.GS)(Oo.history,"pushState",t),(0,fo.GS)(Oo.history,"replaceState",t)}const Bo={...Rr.Cq,markBackgroundTransactions:!0,routingInstrumentation:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!Qr||!Qr.location)return void(Yr&&Br.vF.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=Qr.location.href;t&&(r=e({name:Qr.location.pathname,startTimestamp:Zi.k3?Zi.k3/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&function(e){const t="history";(0,yo.s5)(t,e),(0,yo.AS)(t,Lo)}((t=>{let{to:n,from:o}=t;void 0===o&&i&&-1!==i.indexOf(n)?i=void 0:o!==n&&(i=void 0,r&&(Yr&&Br.vF.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.end()),r=e({name:Qr.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...Do};function Uo(e){const t=(n="meta[name=".concat(e,"]"),zr.document&&zr.document.querySelector?zr.document.querySelector(n):null);var n;return t?t.getAttribute("content"):void 0}function Vo(e){const t=e.attributes&&e.attributes[jr.i_],n=e.data&&e.data[jr.i_],r=e.metadata&&e.metadata.source;return t||n||r}function Ho(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o((function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.call(t,...r)})),t=void 0)}return n}var zo=__webpack_require__(65356),Zo=__webpack_require__(33842);function Wo(e){const t=Ho([e,"call",e=>e(),"access",e=>e.getClient,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"!==(Ho([t,"optionalAccess",e=>e.instrumenter])||"sentry")}class qo{static __initStatic(){this.id="Apollo"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{useNestjs:!1};this.name=qo.id,this._useNest=!!e.useNestjs}loadDependency(){return this._useNest?this._module=this._module||(0,zo.Vw)("@nestjs/graphql"):this._module=this._module||(0,zo.Vw)("apollo-server-core"),this._module}setupOnce(e,t){if(Wo(t))Yr&&Br.vF.log("Apollo Integration is skipped because of instrumenter configuration.");else if(this._useNest){const e=this.loadDependency();if(!e)return void(Yr&&Br.vF.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package."));(0,fo.GS)(e.GraphQLFactory.prototype,"mergeWithSchema",(function(e){return function(){(0,fo.GS)(this.resolversExplorerService,"explore",(function(e){return function(){return Go((0,Zo.k9)(e.call(this)),t)}}));for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.call(this,...r)}}))}else{const e=this.loadDependency();if(!e)return void(Yr&&Br.vF.error("Apollo Integration was unable to require apollo-server-core package."));(0,fo.GS)(e.ApolloServerBase.prototype,"constructSchema",(function(e){return function(){if(!this.config.resolvers)return Yr&&(this.config.schema?(Br.vF.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),Br.vF.warn()):this.config.modules&&Br.vF.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),Br.vF.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),e.call(this);const n=(0,Zo.k9)(this.config.resolvers);return this.config.resolvers=Go(n,t),e.call(this)}}))}}}function Go(e,t){return e.map((e=>(Object.keys(e).forEach((n=>{Object.keys(e[n]).forEach((r=>{"function"===typeof e[n][r]&&function(e,t,n,r){(0,fo.GS)(e[t],n,(function(e){return function(){const i=Ho([r().getScope().getSpan(),"optionalAccess",e=>e.startChild,"call",e=>e({description:"".concat(t,".").concat(n),op:"graphql.resolve",origin:"auto.graphql.apollo"})]);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];const l=e.call(this,...a);return(0,Vr.Qg)(l)?l.then((e=>(Ho([i,"optionalAccess",e=>e.end,"call",e=>e()]),e))):(Ho([i,"optionalAccess",e=>e.end,"call",e=>e()]),l)}}))}(e,n,r,t)}))})),e)))}qo.__initStatic();function Yo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.method&&e.method.toUpperCase();let r="",i="url";t.customRoute||e.route?(r=t.customRoute||"".concat(e.baseUrl||"").concat(e.route&&e.route.path),i="route"):(e.originalUrl||e.url)&&(r=qi(e.originalUrl||e.url||""));let o="";return t.method&&n&&(o+=n),t.method&&t.path&&(o+=" "),t.path&&r&&(o+=r),[o,i]}class Ko{static __initStatic(){this.id="Express"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=Ko.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}setupOnce(e,t){this._router?Wo(t)?Yr&&Br.vF.log("Express Integration is skipped because of instrumenter configuration."):(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t.forEach((t=>function(e,t){const n=e[t];return e[t]=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.call(this,...function(e,t){return e.map((e=>"function"===typeof e?Qo(e,t):Array.isArray(e)?e.map((e=>"function"===typeof e?Qo(e,t):e)):e))}(r,t))},e}(e,t)))}(this._router,this._methods),function(e){const t="settings"in e;t&&void 0===e._router&&e.lazyrouter&&e.lazyrouter();const n=t?e._router:e;if(!n)return Yr&&Br.vF.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(Yr&&Br.vF.debug("Routing instrumentation is currently only supported in Express 4."));const r=Object.getPrototypeOf(n),i=r.process_params;r.process_params=function(e,t,n,r,o){n._reconstructedRoute||(n._reconstructedRoute="");const{layerRoutePath:a,isRegex:s,isArray:l,numExtraSegments:c}=function(e){let t=Ho([e,"access",e=>e.route,"optionalAccess",e=>e.path]);const n=(0,Vr.gd)(t),r=Array.isArray(t);if(!t){const[n]=Hr.OW.process.versions.node.split(".").map(Number);n>=16&&(t=Xo(e.path,e.regexp,e.keys))}if(!t)return{isRegex:n,isArray:r,numExtraSegments:0};const i=r?Math.max((a=t,a.reduce(((e,t)=>e+Gi(t.toString())),0)-Gi(e.path||"")),0):0,o=function(e,t){if(e)return t.map((e=>e.toString())).join(",");return t&&t.toString()}(r,t);var a;return{layerRoutePath:o,isRegex:n,isArray:r,numExtraSegments:i}}(e);let u;(a||s||l)&&(n._hasParameters=!0),u=a||(function(e,t,n){const r=Ho([qi(e||""),"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>!!e))]);let i=0;const o=Ho([t,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>!!e)),"access",e=>e.length])||0;return Ho([n,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>Ho([r,"optionalAccess",e=>e[o+i]])===e&&(i+=1,!0))),"access",e=>e.join,"call",e=>e("/")])}(n.originalUrl,n._reconstructedRoute,e.path)||"");const d=u.split("/").filter((e=>e.length>0&&(s||l||!e.includes("*")))).join("/");d&&d.length>0&&(n._reconstructedRoute+="/".concat(d).concat(s?"/":""));if(Gi(qi(n.originalUrl||""))+c===Gi(n._reconstructedRoute)){n._hasParameters||n._reconstructedRoute!==n.originalUrl&&(n._reconstructedRoute=n.originalUrl?qi(n.originalUrl):n.originalUrl);const e=r.__sentry_transaction,t=e&&(0,Kr.et)(e).data||{};if(e&&"custom"!==t[jr.i_]){const t=n._reconstructedRoute||"/",[r,i]=Yo(n,{path:!0,method:!0,customRoute:t});e.updateName(r),e.setAttribute(jr.i_,i)}}return i.call(this,e,t,n,r,o)}}(this._router)):Yr&&Br.vF.error("ExpressIntegration is missing an Express instance")}}function Qo(e,t){const n=e.length;switch(n){case 2:return function(n,r){const i=r.__sentry_transaction;if(i){const n=i.startChild({description:e.name,op:"middleware.express.".concat(t),origin:"auto.middleware.express"});r.once("finish",(()=>{n.end()}))}return e.call(this,n,r)};case 3:return function(n,r,i){const o=Ho([r.__sentry_transaction,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:"middleware.express.".concat(t),origin:"auto.middleware.express"})]);e.call(this,n,r,(function(){Ho([o,"optionalAccess",e=>e.end,"call",e=>e()]);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.call(this,...t)}))};case 4:return function(n,r,i,o){const a=Ho([i.__sentry_transaction,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:"middleware.express.".concat(t),origin:"auto.middleware.express"})]);e.call(this,n,r,i,(function(){Ho([a,"optionalAccess",e=>e.end,"call",e=>e()]);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o.call(this,...t)}))};default:throw new Error("Express middleware takes 2-4 arguments. Got: ".concat(n))}}Ko.__initStatic();const Xo=(e,t,n)=>{if(!e||!t||!n||0===Object.keys(n).length||!Ho([n,"access",e=>e[0],"optionalAccess",e=>e.offset]))return;const r=n.sort(((e,t)=>e.offset-t.offset)),i=new RegExp(t,"".concat(t.flags,"d")).exec(e);if(!i||!i.indices)return;const[,...o]=i.indices;if(o.length!==r.length)return;let a=e,s=0;return o.forEach(((e,t)=>{if(e){const[n,i]=e,o=a.substring(0,n-s),l=":".concat(r[t].name),c=a.substring(i-s);a=o+l+c,s+=i-n-l.length}})),a};class Jo{static __initStatic(){this.id="GraphQL"}constructor(){this.name=Jo.id}loadDependency(){return this._module=this._module||(0,zo.Vw)("graphql/execution/execute.js")}setupOnce(e,t){if(Wo(t))return void(Yr&&Br.vF.log("GraphQL Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();n?(0,fo.GS)(n,"execute",(function(e){return function(){const n=t().getScope(),r=n.getSpan(),i=Ho([r,"optionalAccess",e=>e.startChild,"call",e=>e({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);Ho([n,"optionalAccess",e=>e.setSpan,"call",e=>e(i)]);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];const l=e.call(this,...a);return(0,Vr.Qg)(l)?l.then((e=>(Ho([i,"optionalAccess",e=>e.end,"call",e=>e()]),Ho([n,"optionalAccess",e=>e.setSpan,"call",e=>e(r)]),e))):(Ho([i,"optionalAccess",e=>e.end,"call",e=>e()]),Ho([n,"optionalAccess",e=>e.setSpan,"call",e=>e(r)]),l)}})):Yr&&Br.vF.error("GraphQL Integration was unable to require graphql/execution package.")}}Jo.__initStatic();const $o=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],ea={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class ta{static __initStatic(){this.id="Mongo"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=ta.id,this._operations=Array.isArray(e.operations)?e.operations:$o,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}loadDependency(){const e=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,zo.Vw)(e)}setupOnce(e,t){if(Wo(t))return void(Yr&&Br.vF.log("Mongo Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(n)this._instrumentOperations(n.Collection,this._operations,t);else{const e=this._useMongoose?"mongoose":"mongodb";Yr&&Br.vF.error("Mongo Integration was unable to require `".concat(e,"` package."))}}_instrumentOperations(e,t,n){t.forEach((t=>this._patchOperation(e,t,n)))}_patchOperation(e,t,n){if(!(t in e.prototype))return;const r=this._getSpanContextFromOperationArguments.bind(this);(0,fo.GS)(e.prototype,t,(function(e){return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];const s=o[o.length-1],l=n(),c=l.getScope(),u=l.getClient(),d=c.getSpan(),h=Ho([u,"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]);if("function"!==typeof s||"mapReduce"===t&&2===o.length){const n=Ho([d,"optionalAccess",e=>e.startChild,"call",e=>e(r(this,t,o,h))]),i=e.call(this,...o);if((0,Vr.Qg)(i))return i.then((e=>(Ho([n,"optionalAccess",e=>e.end,"call",e=>e()]),e)));if((p=i)&&"object"===typeof p&&p.once&&"function"===typeof p.once){const e=i;try{e.once("close",(()=>{Ho([n,"optionalAccess",e=>e.end,"call",e=>e()])}))}catch(m){Ho([n,"optionalAccess",e=>e.end,"call",e=>e()])}return e}return Ho([n,"optionalAccess",e=>e.end,"call",e=>e()]),i}var p;const f=Ho([d,"optionalAccess",e=>e.startChild,"call",e=>e(r(this,t,o.slice(0,-1)))]);return e.call(this,...o.slice(0,-1),(function(e,t){Ho([f,"optionalAccess",e=>e.end,"call",e=>e()]),s(e,t)}))}}))}_getSpanContextFromOperationArguments(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i={"db.system":"mongodb","db.name":e.dbName,"db.operation":t,"db.mongodb.collection":e.collectionName},o={op:"db",origin:"auto.db.mongo",description:t,data:i},a=ea[t],s=Array.isArray(this._describeOperations)?this._describeOperations.includes(t):this._describeOperations;if(!a||!s||!r)return o;try{if("mapReduce"===t){const[e,t]=n;i[a[0]]="string"===typeof e?e:e.name||"<anonymous>",i[a[1]]="string"===typeof t?t:t.name||"<anonymous>"}else for(let e=0;e<a.length;e++)i["db.mongodb.".concat(a[e])]=JSON.stringify(n[e])}catch(l){}return o}}ta.__initStatic();class na{static __initStatic(){this.id="Mysql"}constructor(){this.name=na.id}loadDependency(){return this._module=this._module||(0,zo.Vw)("mysql/lib/Connection.js")}setupOnce(e,t){if(Wo(t))return void(Yr&&Br.vF.log("Mysql Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(Yr&&Br.vF.error("Mysql Integration was unable to require `mysql` package."));let r;try{n.prototype.connect=new Proxy(n.prototype.connect,{apply:(e,t,n)=>(r||(r=t.config),e.apply(t,n))})}catch(o){Yr&&Br.vF.error("Mysql Integration was unable to instrument `mysql` config.")}function i(e){if(!e)return;const t=r?{"server.address":r.host,"server.port":r.port,"db.user":r.user}:{};Object.keys(t).forEach((n=>{e.setAttribute(n,t[n])})),e.end()}(0,fo.GS)(n,"createQuery",(function(e){return function(n,r,o){const a=Ho([t().getScope().getSpan(),"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"===typeof n?n:n.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);if("function"===typeof o)return e.call(this,n,r,(function(e,t,n){i(a),o(e,t,n)}));if("function"===typeof r)return e.call(this,n,(function(e,t,n){i(a),r(e,t,n)}));const s=e.call(this,n,r);return s.on("end",(()=>{i(a)})),s}}))}}na.__initStatic();class ra{static __initStatic(){this.id="Postgres"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=ra.id,this._usePgNative=!!e.usePgNative,this._module=e.module}loadDependency(){return this._module=this._module||(0,zo.Vw)("pg")}setupOnce(e,t){if(Wo(t))return void(Yr&&Br.vF.log("Postgres Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(Yr&&Br.vF.error("Postgres Integration was unable to require `pg` package."));const r=this._usePgNative?Ho([n,"access",e=>e.native,"optionalAccess",e=>e.Client]):n.Client;r?(0,fo.GS)(r.prototype,"query",(function(e){return function(n,r,i){const o=t().getScope().getSpan(),a={"db.system":"postgresql"};try{this.database&&(a["db.name"]=this.database),this.host&&(a["server.address"]=this.host),this.port&&(a["server.port"]=this.port),this.user&&(a["db.user"]=this.user)}catch(c){}const s=Ho([o,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"===typeof n?n:n.text,op:"db",origin:"auto.db.postgres",data:a})]);if("function"===typeof i)return e.call(this,n,r,(function(e,t){Ho([s,"optionalAccess",e=>e.end,"call",e=>e()]),i(e,t)}));if("function"===typeof r)return e.call(this,n,(function(e,t){Ho([s,"optionalAccess",e=>e.end,"call",e=>e()]),r(e,t)}));const l="undefined"!==typeof r?e.call(this,n,r):e.call(this,n);return(0,Vr.Qg)(l)?l.then((e=>(Ho([s,"optionalAccess",e=>e.end,"call",e=>e()]),e))):(Ho([s,"optionalAccess",e=>e.end,"call",e=>e()]),l)}})):Yr&&Br.vF.error("Postgres Integration was unable to access 'pg-native' bindings.")}}ra.__initStatic();class ia{static __initStatic(){this.id="Prisma"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.name=ia.id,(t=e.client)&&t.$use&&!e.client._sentryInstrumented){(0,fo.my)(e.client,"_sentryInstrumented",!0);const t={};try{const n=e.client._engineConfig;if(n){const{activeProvider:e,clientVersion:r}=n;e&&(t["db.system"]=e),r&&(t["db.prisma.version"]=r)}}catch(n){}e.client.$use(((e,n)=>{if(Wo(uo.BF))return n(e);const r=e.action,i=e.model;return(0,ho.Lk)({name:i?"".concat(i," ").concat(r):r,onlyIfParent:!0,op:"db.prisma",attributes:{[jr.JD]:"auto.db.prisma"},data:{...t,"db.operation":r}},(()=>n(e)))}))}else Yr&&Br.vF.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",e.client);var t}setupOnce(){}}ia.__initStatic();var oa=__webpack_require__(23151);const aa=class{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,(0,Mr.U)(),Yr&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options={...Bo,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=ro(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&io(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&Di("longtask",(e=>{let{entries:t}=e;for(const n of t){const e=(0,Or.Z7)();if(!e)return;const t=Xi(Zi.k3+n.startTime),r=Xi(n.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r})}})),this.options._experiments.enableInteractions&&Di("event",(e=>{let{entries:t}=e;for(const n of t){const e=(0,Or.Z7)();if(!e)return;if("click"===n.name){const t=Xi(Zi.k3+n.startTime),r=Xi(n.duration),i={description:Wr(n.target),op:"ui.interaction.".concat(n.name),origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r},o=Gr(n.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}})),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:l,traceXHR:c,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:h}=this.options,p=r&&r.tracePropagationTargets,f=p||this.options.tracePropagationTargets;Yr&&this._hasSetTracePropagationTargets&&p&&Br.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),a,o),s&&(Qr.document?Qr.document.addEventListener("visibilitychange",(()=>{const e=(0,Or.Z7)();if(Qr.document.hidden&&e){const t="cancelled",{op:n,status:r}=(0,Kr.et)(e);Yr&&Br.vF.log("[Tracing] Transaction: ".concat(t," -> since tab moved to the background, op: ").concat(n)),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):Yr&&Br.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),h.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),No({traceFetch:l,traceXHR:c,tracePropagationTargets:f,shouldCreateSpanForRequest:u,enableHTTPTimings:d})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(Yr&&Br.vF.warn("[Tracing] Did not create ".concat(e.op," transaction because _getCurrentHub is invalid.")));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,a="pageload"===e.op;let s;if(a){const t=a?Uo("sentry-trace"):"",n=a?Uo("baggage"):void 0,{traceId:r,dsc:i,parentSpanId:o,sampled:l}=(0,Ur.kM)(t,n);s={traceId:r,parentSpanId:o,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:i},trimEnd:!0}}else s={trimEnd:!0,...e};const l="function"===typeof n?n(s):s,c=void 0===l?{...s,sampled:!1}:l;c.metadata=c.name!==s.name?{...c.metadata,source:"custom"}:c.metadata,this._latestRoute.name=c.name,this._latestRoute.context=c,!1===c.sampled&&Yr&&Br.vF.log("[Tracing] Will not send ".concat(c.op," transaction because of beforeNavigate.")),Yr&&Br.vF.log("[Tracing] Starting ".concat(c.op," transaction on scope"));const{location:u}=Qr,d=(0,Mr.p)(t,c,r,i,!0,{location:u},o,a);return a&&Qr.document&&(Qr.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Qr.document.readyState)&&d.sendAutoFinishSignal()})),["interactive","complete"].includes(Qr.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback((e=>{this._collectWebVitals(),ao(e)})),d}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=(0,Or.Z7)();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(Yr&&Br.vF.warn("[Tracing] Did not create ".concat(i," transaction because a pageload or navigation transaction is in progress.")));if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)return void(Yr&&Br.vF.warn("[Tracing] Did not create ".concat(i," transaction because _getCurrentHub is invalid.")));if(!this._latestRoute.name)return void(Yr&&Br.vF.warn("[Tracing] Did not create ".concat(i," transaction because _latestRouteName is missing.")));const a=this._getCurrentHub(),{location:s}=Qr,l={name:this._latestRoute.name,op:i,trimEnd:!0,data:{[jr.i_]:this._latestRoute.context?Vo(this._latestRoute.context):"url"}};e=(0,Mr.p)(a,l,t,n,!0,{location:s},r)};["click"].forEach((e=>{Qr.document&&addEventListener(e,t,{once:!1,capture:!0})}))}_registerInpInteractionListener(){const e=e=>{let{entries:t}=e;const n=(0,Lr.KU)(),r=void 0!==n&&void 0!==n.getIntegrationByName?n.getIntegrationByName("Replay"):void 0,i=void 0!==r?r.getReplayId():void 0,o=(0,Or.Z7)(),a=(0,Lr.o5)(),s=void 0!==a?a.getUser():void 0;t.forEach((e=>{if(function(e){return"duration"in e}(e)){const t=e.interactionId;if(void 0===t)return;const n=this._interactionIdToRouteNameMapping[t],r=e.duration,a=e.startTime,l=Object.keys(this._interactionIdToRouteNameMapping),c=l.length>0?l.reduce(((e,t)=>this._interactionIdToRouteNameMapping[e].duration<this._interactionIdToRouteNameMapping[t].duration?e:t)):void 0;if("first-input"===e.entryType){if(l.map((e=>this._interactionIdToRouteNameMapping[e])).some((e=>e.duration===r&&e.startTime===a)))return}if(!t)return;if(n)n.duration=Math.max(n.duration,r);else if(l.length<10||void 0===c||r>this._interactionIdToRouteNameMapping[c].duration){const e=this._latestRoute.name,n=this._latestRoute.context;e&&n&&(c&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[c],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:r,parentContext:n,user:s,activeTransaction:o,replayId:i,startTime:a})}}}))};Di("event",e),Di("first-input",e)}};("undefined"===typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,oa.l)();var sa=__webpack_require__(61462),la=__webpack_require__(55808),ca=__webpack_require__(83906),ua=__webpack_require__(88642),da=__webpack_require__(5982),ha=__webpack_require__.n(da),pa=__webpack_require__(45175),fa=__webpack_require__.n(pa),ma=__webpack_require__(35165),ga=__webpack_require__.n(ma),va=__webpack_require__(88043),Ca=__webpack_require__.n(va);function ya(){return ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ya.apply(this,arguments)}function ba(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wa(e,t)}function wa(e,t){return wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},wa(e,t)}function xa(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}var Aa={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Ea={rel:["amphtml","canonical","alternate"]},_a={type:["application/ld+json"]},Ta={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Sa=Object.keys(Aa).map((function(e){return Aa[e]})),ka={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Pa=Object.keys(ka).reduce((function(e,t){return e[ka[t]]=t,e}),{}),Da=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Na=function(e){var t=Da(e,Aa.TITLE),n=Da(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=Da(e,"defaultTitle");return t||r||void 0},Fa=function(e){return Da(e,"onChangeClientState")||function(){}},Ia=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return ya({},e,t)}),{})},Ra=function(e,t){return t.filter((function(e){return void 0!==e[Aa.BASE]})).map((function(e){return e[Aa.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Ma=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],l=ya({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},Oa=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},ja=function(e){return Array.isArray(e)?e.join(""):e},La=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},Ba=function(e,t){var n;return ya({},e,((n={})[t]=void 0,n))},Ua=[Aa.NOSCRIPT,Aa.SCRIPT,Aa.STYLE],Va=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Ha=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},za=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[ka[n]||n]=e[n],t}),t)},Za=function(e,t){return t.map((function(t,n){var r,i=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach((function(e){var n=ka[e]||e;"innerHTML"===n||"cssText"===n?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[n]=t[e]})),sa.createElement(e,i)}))},Wa=function(e,t,n){switch(e){case Aa.TITLE:return{toComponent:function(){return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,i=za(n,r),[sa.createElement(Aa.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=Ha(n),o=ja(t);return i?"<"+e+' data-rh="true" '+i+">"+Va(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+Va(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return za(t)},toString:function(){return Ha(t)}};default:return{toComponent:function(){return Za(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+Va(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===Ua.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},qa=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,h=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var f=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,i=La(e.metaTags,Ta),o=La(t,Ea),a=La(n,_a);return{priorityMethods:{toComponent:function(){return[].concat(Za(Aa.META,i.priority),Za(Aa.LINK,o.priority),Za(Aa.SCRIPT,a.priority))},toString:function(){return Wa(Aa.META,i.priority,r)+" "+Wa(Aa.LINK,o.priority,r)+" "+Wa(Aa.SCRIPT,a.priority,r)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);p=f.priorityMethods,u=f.linkTags,d=f.metaTags,h=f.scriptTags}return{priority:p,base:Wa(Aa.BASE,t,r),bodyAttributes:Wa("bodyAttributes",n,r),htmlAttributes:Wa("htmlAttributes",i,r),link:Wa(Aa.LINK,u,r),meta:Wa(Aa.META,d,r),noscript:Wa(Aa.NOSCRIPT,o,r),script:Wa(Aa.SCRIPT,h,r),style:Wa(Aa.STYLE,a,r),title:Wa(Aa.TITLE,{title:l,titleAttributes:c},r)}},Ga=[],Ya=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?Ga:n.instances},add:function(e){(n.canUseDOM?Ga:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?Ga:n.instances).indexOf(e);(n.canUseDOM?Ga:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=qa({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Ka=sa.createContext({}),Qa=ha().shape({setHelmet:ha().func,helmetInstances:ha().shape({get:ha().func,add:ha().func,remove:ha().func})}),Xa="undefined"!=typeof document,Ja=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new Ya(r.props.context,t.canUseDOM),r}return ba(t,e),t.prototype.render=function(){return sa.createElement(Ka.Provider,{value:this.helmetData.value},this.props.children)},t}(sa.Component);Ja.canUseDOM=Xa,Ja.propTypes={context:ha().shape({helmet:ha().shape()}),children:ha().node.isRequired},Ja.defaultProps={context:{}},Ja.displayName="HelmetProvider";var $a=function(e,t){var n,r=document.head||document.querySelector(Aa.HEAD),i=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:a}},es=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},ts=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;es(Aa.BODY,e.bodyAttributes),es(Aa.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=ja(e)),es(Aa.TITLE,t)}(u,d);var h={baseTag:$a(Aa.BASE,n),linkTags:$a(Aa.LINK,i),metaTags:$a(Aa.META,o),noscriptTags:$a(Aa.NOSCRIPT,a),scriptTags:$a(Aa.SCRIPT,l),styleTags:$a(Aa.STYLE,c)},p={},f={};Object.keys(h).forEach((function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(f[e]=h[e].oldTags)})),t&&t(),s(e,p,f)},ns=null,rs=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}ba(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!Ca()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,o=(e=n.helmetInstances.get().map((function(e){var t=ya({},e.props);return delete t.context,t})),{baseTag:Ra(["href"],e),bodyAttributes:Ia("bodyAttributes",e),defer:Da(e,"defer"),encode:Da(e,"encodeSpecialCharacters"),htmlAttributes:Ia("htmlAttributes",e),linkTags:Ma(Aa.LINK,["rel","href"],e),metaTags:Ma(Aa.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Ma(Aa.NOSCRIPT,["innerHTML"],e),onChangeClientState:Fa(e),scriptTags:Ma(Aa.SCRIPT,["src","innerHTML"],e),styleTags:Ma(Aa.STYLE,["cssText"],e),title:Na(e),titleAttributes:Ia("titleAttributes",e),prioritizeSeoTags:Oa(e,"prioritizeSeoTags")});Ja.canUseDOM?(t=o,ns&&cancelAnimationFrame(ns),t.defer?ns=requestAnimationFrame((function(){ts(t,(function(){ns=null}))})):(ts(t),ns=null)):qa&&(i=qa(o)),r(i)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(sa.Component);rs.propTypes={context:Qa.isRequired},rs.displayName="HelmetDispatcher";var is=["children"],os=["children"],as=function(e){function t(){return e.apply(this,arguments)||this}ba(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!fa()(Ba(this.props,"helmetData"),Ba(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Aa.SCRIPT:case Aa.NOSCRIPT:return{innerHTML:t};case Aa.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return ya({},r,((t={})[n.type]=[].concat(r[n.type]||[],[ya({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case Aa.TITLE:return ya({},i,((t={})[r.type]=a,t.titleAttributes=ya({},o),t));case Aa.BODY:return ya({},i,{bodyAttributes:ya({},o)});case Aa.HTML:return ya({},i,{htmlAttributes:ya({},o)});default:return ya({},i,((n={})[r.type]=ya({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=ya({},t);return Object.keys(e).forEach((function(t){var r;n=ya({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return ga()(Sa.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Sa.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),ga()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,r={};return sa.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=xa(i,is),s=Object.keys(a).reduce((function(e,t){return e[Pa[t]||t]=a[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case Aa.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case Aa.LINK:case Aa.META:case Aa.NOSCRIPT:case Aa.SCRIPT:case Aa.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=xa(e,os),r=ya({},n),i=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!i||i instanceof Ya||(i=new Ya(i.context,i.instances)),i?sa.createElement(rs,ya({},r,{context:i.value,helmetData:void 0})):sa.createElement(Ka.Consumer,null,(function(e){return sa.createElement(rs,ya({},r,{context:e}))}))},t}(sa.Component);as.propTypes={base:ha().object,bodyAttributes:ha().object,children:ha().oneOfType([ha().arrayOf(ha().node),ha().node]),defaultTitle:ha().string,defer:ha().bool,encodeSpecialCharacters:ha().bool,htmlAttributes:ha().object,link:ha().arrayOf(ha().object),meta:ha().arrayOf(ha().object),noscript:ha().arrayOf(ha().object),onChangeClientState:ha().func,script:ha().arrayOf(ha().object),style:ha().arrayOf(ha().object),title:ha().string,titleAttributes:ha().object,titleTemplate:ha().string,prioritizeSeoTags:ha().bool,helmetData:ha().object},as.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},as.displayName="Helmet";var ss=__webpack_require__(92838),ls=__webpack_require__(2035),cs=__webpack_require__.n(ls),us=__webpack_require__(10514),ds=__webpack_require__(78273);const hs=["A.fdae91e14e960079.GaiaPackNFT.NFT","A.e81193c424cfd3fb.Doodles.NFT"],ps=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;const n="".concat(ss.Sw,"/catalog");try{const e=new AbortController,t=await cs().get(n,{signal:e.signal});if(200!==t.status)throw new Error("Failed to fetch ".concat(n,": ").concat(t.statusText));const r=new Set(t.data.denylist);return hs.forEach((e=>r.add(e))),{catalog:new Set(t.data.catalog),denylist:new Set(hs)}}catch(r){if(ds.o.track("FAILED_TO_FETCH_CATALOG",{e:r}),cs().isCancel(r)||r&&r.isAxiosError&&r.response,e-1===0)throw new us.FlowtyException(r,{params:r.response},"FAILED_TO_FETCH_CATALOG");return ps(e-1,t)}};var fs=__webpack_require__(89425),ms=__webpack_require__(99334);const gs=(0,sa.createContext)({catalogCache:new Set,denylistCache:new Set}),vs=e=>{let{children:t}=e;const[n,r]=(0,sa.useState)(new Set),[i,o]=(0,sa.useState)(new Set);(0,sa.useEffect)((()=>{(async()=>{try{const e=await ps();(0,fs.t)("getFlowtyCollections",{response:e}),o(e.catalog),r(e.denylist)}catch(e){ds.o.track("ERROR_FETCHING_FLOWTY_COLLECTIONS",{error:e})}})()}),[]);const a=(0,sa.useMemo)((()=>({catalogCache:i,denylistCache:n})),[i,n]);return(0,ms.jsx)(gs.Provider,{value:a,children:t})};function Cs(){return(0,sa.useContext)(gs)}var ys=__webpack_require__(27149),bs=__webpack_require__(28117);const ws={navbarOffsetHeight:0,setNavbarOffsetHeight(){},setVisibleInNav(){},visibleInNav:!1},xs=(0,sa.createContext)(ws),As=e=>{let{children:t}=e;const[n,r]=(0,sa.useState)(!1),[i,o]=(0,sa.useState)(0),a={navbarOffsetHeight:i,setNavbarOffsetHeight:o,setVisibleInNav:r,visibleInNav:n};return(0,ms.jsx)(xs.Provider,{value:a,children:t})},Es={setView(){},view:"large"},_s=(0,sa.createContext)(Es),Ts=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n,children:r}=e;const[i,o]=(0,sa.useState)((null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.preferredCardSize)||"large"),a={setView:o,view:i};return(0,ms.jsx)(_s.Provider,{value:a,children:r})}))),Ss=()=>(0,sa.useContext)(_s);var ks=__webpack_require__(11170),Ps=__webpack_require__(49413),Ds=__webpack_require__(51330);var Ns=__webpack_require__(11056);class Fs{static async getSpork(){const e={hasSpork:!1,message:null,messageType:"info",shouldDisable:!1},t=ss.db?"sporks":"testnet-sporks",n=new Date,r=function(e,t){(0,Ps.A)(2,arguments);var n=(0,Ds.A)(t);return(0,ks.default)(e,-n)}(n,6),i=(0,ks.default)(n,6),o=new URLSearchParams;null===o||void 0===o||o.append("filters[$and][0][endTimestamp][$gte]",encodeURIComponent(r.getTime())),null===o||void 0===o||o.append("filters[$and][1][startTimestamp][$lte]",encodeURIComponent(i.getTime())),null===o||void 0===o||o.append("sort",encodeURIComponent("startTimestamp:asc"));const a="".concat(ss.j$,"/api/").concat(t,"?").concat(o.toString());try{var s;const t=await cs().get(a),r=null===t||void 0===t||null===(s=t.data)||void 0===s?void 0:s.data;if(null===r||void 0===r||!r.length)return e;const i=r[0],o=(0,Ns.default)(i.attributes.endTimestamp);if(o<n){(0,fs.t)("Spork is over",{endTimestamp:o,today:n});return{hasSpork:!0,message:i.attributes.recentSporkMessage,messageType:i.attributes.recentSporkMessageType,shouldDisable:!1}}const l=(0,Ns.default)(i.attributes.startTimestamp);if(l<n){(0,fs.t)("Spork in progress",{startTime:l,today:n});return{hasSpork:!0,message:i.attributes.sporkMessage,messageType:i.attributes.sporkMessageType,shouldDisable:i.attributes.shouldDisable}}(0,fs.t)("Upcoming Spork Event",{startTime:l,today:n});return{hasSpork:!0,message:i.attributes.upcomingSporkMessage,messageType:i.attributes.upcomingSporkMessageType,shouldDisable:!1}}catch(l){ds.o.track("ERROR_FETCHING_SPORKS",{error:l});const t=l;return"ECONNABORTED"===t.code||"ERR_NETWORK"===t.code?Te(new us.FlowtyException(t,{},"sporks")):ds.o.track("ERROR_FETCHING_SPORKS_NETWORK",{axiosError:t}),e}}}const Is=(0,sa.createContext)({disableActions:!1,isShowing:!1,messageType:"info",setIsShowing(e){},sporkMessage:""}),Rs=e=>{let{children:t}=e;const[n,r]=(0,sa.useState)(null),[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)("info"),[l,c]=(0,sa.useState)(!1);(0,sa.useEffect)((()=>{(async()=>{try{const e=await Fs.getSpork();e.hasSpork&&(r(e.message),o(e.shouldDisable),s(e.messageType),c(!0))}catch(e){ds.o.track("ERROR_FETCHING_SPORK_MESSAGE",e)}})()}),[]);const u={disableActions:i,isShowing:l,messageType:a,setIsShowing:c,sporkMessage:n};return(0,ms.jsx)(Is.Provider,{value:u,children:t})};function Ms(){return(0,sa.useContext)(Is)}var Os=__webpack_require__(98853),js=__webpack_require__(80978),Ls=__webpack_require__.n(js),Bs=__webpack_require__(12273);let Us=function(e){return e.Loans="loans",e.Rentals="rentals",e.Swaps="swaps",e.Storefront="sales",e.Offers="offers",e}({});var Vs=function(e){return e.Loans="loans",e.Rentals="rentals",e.Swaps="swaps",e.Storefront="storefront",e.Offers="offers",e}(Vs||{});const Hs=[{name:Us.Storefront,route:"storefront"},{name:Us.Loans,route:"loans"},{name:Us.Rentals,route:"rentals"}],zs=e=>{let{path:t,isCollectionPage:n,collectionAddress:r,collectionName:i}=e;const{activeRoute:o}=(()=>{const{pathname:e}=(0,Os.zy)();return{activeRoute:[{path:e.includes("/storefront"),type:Vs.Storefront},{path:e.includes("/loans"),type:Vs.Loans},{path:e.includes("/rentals"),type:Vs.Rentals},{path:e.includes("/offers"),type:Vs.Storefront}].reduce(((e,t)=>t.path?t.type:e),Vs.Storefront)}})(),a=(0,Os.Zp)(),s=(0,sa.useMemo)((()=>Hs.map((e=>({id:e.route,label:e.name})))),[Hs]);return(0,ms.jsx)("div",{className:"py-3 md:pb-[20px] md:sticky md:top-[74px] z-20 bg-darkBg",children:(0,ms.jsx)(Bs.cs,{activeTab:o,tabs:s,onChange:e=>{a(n?"/collection/".concat(r,"/").concat(i,"/activity/").concat(e):"/".concat(t,"/").concat(e),{replace:!0})},type:"primary"})})},Zs=e=>{let{children:t}=e;return(0,ms.jsxs)("div",{className:"",children:[(0,ms.jsx)(zs,{path:"user-profile"}),t]})};let Ws=function(e){return e.Ascending="asc",e.Descending="desc",e}({});Ws.Ascending;var qs,Gs;function Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ys.apply(null,arguments)}function Ks(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Ys({width:"36px",height:"36px",viewBox:"0 0 36 36",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),void 0===n?sa.createElement("title",{id:r},"caret-line"):n?sa.createElement("title",{id:r},n):null,qs||(qs=sa.createElement("path",{className:"clr-i-outline clr-i-outline-path-1",d:"M29.52,22.52,18,10.6,6.48,22.52a1.7,1.7,0,0,0,2.45,2.36L18,15.49l9.08,9.39a1.7,1.7,0,0,0,2.45-2.36Z"})),Gs||(Gs=sa.createElement("rect",{x:0,y:0,width:36,height:36,fillOpacity:0})))}const Qs=sa.forwardRef(Ks),Xs=(__webpack_require__.p,function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center"){case"center":return"mx-auto";case"left":return"mr-auto";case"right":return"ml-auto";default:return""}}),Js=e=>{let{fields:t,items:n,onSort:r=()=>{},getItemKey:i=e=>"".concat(e.id),initialSortConfig:o=null,onClickRow:a,stickyHeaders:s,composeRowHref:l}=e;const[c,u]=(0,sa.useState)(o),d=(0,sa.useCallback)((e=>()=>{if((null===c||void 0===c?void 0:c.column)===e){if(c.order===Ws.Descending)return void u({column:e,order:Ws.Ascending});u({column:e,order:Ws.Descending})}}),[c]);return(0,sa.useEffect)((()=>{r(c)}),[c]),(0,sa.useEffect)((()=>{"blockTimestamp"===(null===c||void 0===c?void 0:c.column)&&"desc"===(null===c||void 0===c?void 0:c.order)&&ds.o.track("Table Sorted",{sortedBy:c})}),[null===c||void 0===c?void 0:c.column]),(0,ms.jsx)("div",{className:"lg:px-1.5 lg:-mb-70",children:(0,ms.jsx)("div",{className:"w-full rounded-md pb-2 SortableTable overflow-x-auto ".concat(s?"2xl:overflow-x-visible":"2xl:overflow-x-auto "),children:(0,ms.jsxs)("table",{className:"w-full border-separate bg-darkBg",style:{borderSpacing:0},children:[(0,ms.jsx)("thead",{className:"bg-[#04070B] ".concat(s&&"2xl:top-[130px] sticky"),children:(0,ms.jsx)("tr",{children:null===t||void 0===t?void 0:t.map(((e,t)=>{let{name:n,title:r,sortable:i,align:o="left"}=e;return(0,ms.jsx)("th",{scope:"col",className:"th px-6 py-4 text-left text-base font-bold text-[#DDDDDD] uppercase tracking-wider",children:(0,ms.jsxs)("button",{type:"button",className:"bg-transparent ".concat(i?"":"cursor-default"," p-0 m-0 flex flex-row items-center ").concat(Xs(o)),disabled:!i,onClick:i?d(n):()=>{},children:[r,i&&(0,ms.jsx)(Qs,{className:"fill-[#DDDDDD] ".concat((null===c||void 0===c?void 0:c.column)===n?"opacity-100":"opacity-20 hover:opacity-30"," ").concat("desc"===(null===c||void 0===c?void 0:c.order)?"transform rotate-180":""," "),height:20})]})},"".concat(n,"-").concat(t))}))})}),(0,ms.jsx)("tbody",{className:"bg-transparent divide-y divide-white",children:null===n||void 0===n?void 0:n.map(((e,n)=>(0,ms.jsx)("tr",{onClick:t=>null===a||void 0===a?void 0:a({e:t,index:n,item:e}),className:"".concat(a?"cursor-pointer":""," hover:bg-gray-700 group"),children:null===t||void 0===t?void 0:t.map((t=>{var n,r,i,o,a;return(0,ms.jsx)("td",{className:"group-hover:text-primary px-6 py-6 whitespace-nowrap text-".concat(null!==(n=t.align)&&void 0!==n?n:"left"),children:l?(0,ms.jsx)("a",{href:l(e),className:"group-hover:text-primary",children:null!==(r=null===(i=t.customRender)||void 0===i?void 0:i.call(t,{field:t,item:e}))&&void 0!==r?r:(0,ms.jsx)("div",{className:"text-sm font-medium text-gray-900  text-".concat(t.align),children:e[t.name]})}):(0,ms.jsx)(ms.Fragment,{children:null!==(o=null===(a=t.customRender)||void 0===a?void 0:a.call(t,{field:t,item:e}))&&void 0!==o?o:(0,ms.jsx)("div",{className:"text-sm font-medium text-gray-900 text-".concat(t.align),children:e[t.name]})})},t.name)}))},"".concat(i(e),"-").concat(n))))})]})})})};Js.defaultProps={onSort:()=>{}};const $s=Js;var el=__webpack_require__(20390),tl=__webpack_require__(43677),nl=__webpack_require__(14146),rl=__webpack_require__(83170);const il=async e=>{let{collectionAddress:t,collectionName:n}=e;try{var r;const e=await(0,nl.r)({collectionAddress:t,collectionName:n});return(0,us.getSquareImage)((null===e||void 0===e||null===(r=e.collectionDisplay)||void 0===r?void 0:r.name)||"",e||null)}catch(i){return console.error("Error retrieving collection image"),rl.A}};var ol=__webpack_require__(13090);const al=e=>{let{collectionAddress:t,collectionName:n,srcImg:r}=e;const[i,o]=(0,sa.useState)("");return(0,ms.jsx)(ms.Fragment,{children:i?(0,ms.jsx)("img",{src:i,onError:e=>{(0,ol.R)(e)},alt:"".concat(i," asset"),className:"object-cover aspect-square rounded-[4px]"}):(0,ms.jsx)("img",{src:r,onError:()=>{il({collectionAddress:t,collectionName:n}).then((e=>{o(e)}))},alt:"".concat(r," asset"),className:"object-cover aspect-square rounded-[4px]"})})},sl=[{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:t.type.toLowerCase()})},name:"status",sortable:!1,title:"Status"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.activityType})},name:"type",sortable:!1,title:"Type"},{customRender:e=>{let{item:t}=e;return t.blockTimestamp?(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm")}):null},name:"date",sortable:!1,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.nftInfo)||void 0===a||!a.nft)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.nftInfo)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.nftInfo)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.nftInfo)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=U.nftInfo)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(C=U.nftInfo)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(b=U.nftInfo)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===(x=U.nftInfo)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.nftInfo)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(T=U.nftInfo)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.nftInfo)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.nftInfo)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.nftInfo)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.nftInfo)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.nftInfo)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"}];var ll=__webpack_require__(75027),cl=__webpack_require__.n(ll),ul=__webpack_require__(70124),dl=__webpack_require__.n(ul),hl=__webpack_require__(96321);const pl=e=>{var t,n;let{limit:r=25,accountId:i,makerCb:o,sort:a,filterActivityBy:s,eventCollection:l="p2pEvents",addressPath:c="data.lender",storefrontAccountId:u,nftTypes:d}=e;let h=hl.kA.collection(l).orderBy(null!==(t=null===a||void 0===a?void 0:a.column)&&void 0!==t?t:"blockTimestamp",null!==(n=null===a||void 0===a?void 0:a.order)&&void 0!==n?n:"desc").where("additionalData.card.collectionAddress","!=","0xd0bcefdf1e67ea85");null!==s&&void 0!==s&&s.min&&(h=h.where("type","==",null===s||void 0===s?void 0:s.min)),i&&(h=h.where("accountAddress","in",[i])),u&&(h=h.where(c,"in",[u])),d&&d.length>0&&(h=h.where("data.nftType","in",d)),h.limit(r).onSnapshot((async e=>{let{docs:t}=e;if("storefrontEvents"===l){const e=t.map((e=>{var t,n;const r=e.data();return{...r,amount:r.data.salePrice||r.data.amount,card:(null===r||void 0===r||null===(t=r.additionalDetails)||void 0===t?void 0:t.card)||(null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.card)||null,commissionAmount:r.data.commissionAmount,id:e.id,paymentTokenName:r.data.paymentTokenName||(0,us.getTokenFromType)(r.data.salePaymentVaultType||r.data.paymentTokenType),salePaymentVaultType:r.data.salePaymentVaultType,type:r.type}}));o(e)}}))},fl=e=>{var t,n;let{limit:r=25,accountId:i,makerCb:o,takerCb:a,sort:s,filterActivityBy:l,eventCollection:c="p2pEvents",listingCollection:u="listingAvailable",addressPath:d="data.lender",storefrontAccountId:h,accountIDs:p}=e;const f=p||[i],m=p||[h];(0,fs.t)("subscribeToAllActivity accountIDs",{accountIDs:p});let g=hl.kA.collection(c).orderBy(null!==(t=null===s||void 0===s?void 0:s.column)&&void 0!==t?t:"blockTimestamp",null!==(n=null===s||void 0===s?void 0:s.order)&&void 0!==n?n:"desc"),v=hl.kA.collection(c).orderBy("blockTimestamp","desc");null!==l&&void 0!==l&&l.min&&(g=g.where("type","==",null===l||void 0===l?void 0:l.min),v=v.where("type","==",null===l||void 0===l?void 0:l.min)),i&&(g=g.where("accountAddress","in",f),v=v.where(d,"in",f)),h&&(g=g.where(d,"in",m),v=v.where("accountAddress","in",m));const C=g.limit(r).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection(u).where("listingResourceID","in",e.map((e=>{var t;return null===(t=e.data().data)||void 0===t?void 0:t.listingResourceID})).filter((e=>!!e))).get()))).then((e=>{if("p2pEvents"===c){const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");o(t.map((e=>{var t,r,i,o,a,s,l;return{...e.data(),amount:null===(t=n[e.data().data.listingResourceID])||void 0===t?void 0:t.amount,id:e.id,nftInfo:null===(r=n[e.data().data.listingResourceID])||void 0===r?void 0:r.detail,paymentTokenName:null===(i=n[e.data().data.listingResourceID])||void 0===i?void 0:i.paymentTokenName,rate:null===(o=n[e.data().data.listingResourceID])||void 0===o?void 0:o.interestRate,royaltyRate:null===(a=n[e.data().data.listingResourceID])||void 0===a?void 0:a.royaltyRate,term:null===(s=n[e.data().data.listingResourceID])||void 0===s?void 0:s.term,valuations:null===(l=n[e.data().data.listingResourceID])||void 0===l?void 0:l.valuations}})))}else if("rentalEvents"===c){const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");o(t.map((e=>{var t,r,i,o,a,s,l;return{...e.data(),amount:null===(t=n[e.data().data.listingResourceID])||void 0===t?void 0:t.amount,deposit:null===(r=n[e.data().data.listingResourceID])||void 0===r?void 0:r.deposit,id:e.id,nftInfo:null===(i=n[e.data().data.listingResourceID])||void 0===i?void 0:i.detail,paymentTokenName:null===(o=n[e.data().data.listingResourceID])||void 0===o?void 0:o.paymentTokenName,royaltyRate:null===(a=n[e.data().data.listingResourceID])||void 0===a?void 0:a.royaltyRate,term:null===(s=n[e.data().data.listingResourceID])||void 0===s?void 0:s.term,valuations:null===(l=n[e.data().data.listingResourceID])||void 0===l?void 0:l.valuations}})))}else if("storefrontEvents"===c){const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");o(t.map((e=>{var t,r,i,o,a;return{...e.data(),amount:null===(t=n[e.data().data.listingResourceID])||void 0===t?void 0:t.salePrice,card:null===(r=n[e.data().data.listingResourceID])||void 0===r?void 0:r.card,commissionAmount:null===(i=n[e.data().data.listingResourceID])||void 0===i?void 0:i.commissionAmount,id:e.id.toString(),paymentTokenName:null===(o=n[e.data().data.listingResourceID])||void 0===o?void 0:o.paymentTokenName,salePaymentVaultType:null===(a=n[e.data().data.listingResourceID])||void 0===a?void 0:a.salePaymentVaultType}})))}}))})),y=i||h?v.limit(r).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection(u).where("listingResourceID","in",e.map((e=>{var t;return null===(t=e.data().data)||void 0===t?void 0:t.listingResourceID})).filter((e=>!!e))).get()))).then((e=>{const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");a&&a(t.map((e=>{var t;return{...e.data(),id:e.id,nftInfo:null===(t=n[e.data().data.listingResourceID])||void 0===t?void 0:t.detail}})))}))})):()=>{};return()=>{C(),y()}},ml=e=>{let{limit:t=25,accountId:n,cb:r,filterBy:i,accountIDs:o,stateType:a}=e;const s=o||[n];let l=hl.kA.collection("listingAvailable");l=hl.kA.collection("listingAvailable").where("state","==",a).where("flowtyStorefrontAddress","in",s);const c=[];"state"!==i.path&&c.length>0&&(l=l.where("state","in",c)),i.path?"state"===i.path?l=l.where(i.path,"==",i.min):"interestRate"===i.path?(i.min&&(l=l.where(i.path,">=",Number(i.min)/100)),i.max&&(l=l.where(i.path,"<=",Number(i.max)/100)),l=l.orderBy(i.path,"desc")):"blockTimestamp"===i.path||"settleDeadline"===i.path?(i.min&&(l=l.where(i.path,">=",i.min)),i.max&&(l=l.where(i.path,"<=",i.max)),l=l.orderBy(i.path,"desc")):(i.min&&(l=l.where(i.path,">=",Number(i.min))),i.max&&(l=l.where(i.path,"<=",Number(i.max))),l=l.orderBy(i.path,"desc")):l=l.orderBy("blockTimestamp","desc");const u=l.limit(t).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection("listingAvailable").where("listingResourceID","in",e.map((e=>e.data().listingResourceID))).get()))).then((e=>{const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");r(t.map((e=>{var t;return{...e.data(),listingAvailable:n[e.data().listingResourceID],nftInfo:null===(t=n[e.data().listingResourceID])||void 0===t?void 0:t.detail}})))}))}));return()=>{u()}};var gl=__webpack_require__(98860),vl=__webpack_require__(54331),Cl=__webpack_require__.n(vl);const yl=e=>{let{showFilter:t,setShowFilter:n,FilterFields:r,filterOptions:i,setAllFieldsNull:o,filterBy:a,setFilterBy:s}=e;const[l,c]=(0,sa.useState)(!1),u=(e,t,n,r,i)=>{o(),c(!0),""===e&&c(!1),t({...n,[r]:e}),s({...n,path:i,[r]:e})};return(0,ms.jsxs)("div",{className:"h-full z-50 rounded-r-md fixed top-0 right-0 bg-[#232d39] overflow-x-auto pb-[40px] transition duration-700 overflow-y-auto flex flex-col ".concat(t?"w-0":"w-400"),children:[(0,ms.jsx)("button",{className:"".concat(l?"bg-green-500 hover:bg-green-600":"bg-red-500 hover:bg-red-600"," float-right text-black font-bold uppercase text-sm px-6 py-4 shadow hover:shadow-lg outline-none focus:outline-none ease-linear transition-all duration-150"),type:"button",onClick:()=>n(!t),children:l?"View":"Close"}),(0,ms.jsx)("div",{className:"p-6",children:(0,ms.jsx)(gl.l1,{initialValues:{},onSubmit:()=>{},children:()=>(0,ms.jsx)(ms.Fragment,{children:r.map((e=>(0,ms.jsxs)("div",{className:"my-4",children:[(0,ms.jsx)("p",{className:"text-base font-semibold text-start text-white mb-1",children:e.title}),(0,ms.jsx)("div",{className:"grid gap-y-6 gap-x-4 grid-cols-6",children:e.selectField?(0,ms.jsx)("div",{className:"col-span-12 flex-col",children:(0,ms.jsxs)("select",{className:"h-[37px] w-full text-sm bg-transparent border font-semibold justify-end rounded-md px-4 hover:border-white focus:border-primary focus:outline-none ",name:"status",onChange:t=>((e,t,n)=>{o(),c(!0),t(e),s({...a,max:"",min:e,path:n})})(t.target.value,e.setValue,e.path),value:(null===e||void 0===e?void 0:e.value)||"",children:[(0,ms.jsx)("option",{value:"",hidden:!0,children:"Choose here"}),i.map(((e,t)=>(0,ms.jsx)("option",{value:(null===e||void 0===e?void 0:e.value)||"",className:"text-black",children:e.label},t)))]})}):e.dateField?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"col-span-3",children:(0,ms.jsx)("div",{className:"mt-1",children:(0,ms.jsx)(Cl(),{className:"h-[37px] w-full text-sm bg-transparent border font-semibold justify-end rounded-md px-3 hover:border-white focus:border-primary focus:outline-none ",selected:e.value.min,onChange:t=>u(t,e.setValue,e.value,"min",e.path),placeholderText:"Min",maxDate:e.value.max})})}),(0,ms.jsx)("div",{className:"col-span-3",children:(0,ms.jsx)("div",{className:"mt-1",children:(0,ms.jsx)(Cl(),{className:"h-[37px] w-full text-sm bg-transparent border font-semibold justify-end rounded-md px-3 hover:border-white focus:border-primary focus:outline-none ",selected:e.value.max,onChange:t=>u(t,e.setValue,e.value,"max",e.path),placeholderText:"Max",minDate:e.value.min})})})]}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"col-span-3",children:(0,ms.jsx)("div",{className:"mt-1",children:(0,ms.jsx)(Bs.f,{placeholder:"Min",className:"h-[37px] w-full text-sm bg-transparent border font-semibold justify-end rounded-md px-3 hover:border-white focus:border-primary focus:outline-none ",name:"".concat(e.title,"min"),value:e.value.min,onChange:t=>u(t.target.value,e.setValue,e.value,"min",e.path)})})}),(0,ms.jsx)("div",{className:"col-span-3",children:(0,ms.jsx)("div",{className:"mt-1",children:(0,ms.jsx)(Bs.f,{placeholder:"Max",className:"h-[37px] w-full text-sm bg-transparent border font-semibold justify-end rounded-md px-3 hover:border-white focus:border-primary focus:outline-none ",name:"".concat(e.title,"max"),value:e.value.max,onChange:t=>u(t.target.value,e.setValue,e.value,"max",e.path)})})})]})})]},e.path)))})})}),(0,ms.jsx)("div",{className:"px-6 mt-2.5",children:(0,ms.jsx)(Bs.M2,{type:"button",text:"Reset",onClick:()=>{c(!1),o(),s({...a,max:"",min:"",path:""})},variant:"secondary",btnSize:"small"})}),(0,ms.jsx)("p",{className:"text-sm text-left px-6 mt-6 text-white",children:"Filter by the fields above. As of now, you can filter by one field at a time. We will be rolling out multi-field filtering soon."})]})},bl=e=>{let{showFilter:t,setShowFilter:n,filterBy:r,setFilterBy:i,filterOptions:o}=e;const[a,s]=(0,sa.useState)(null),l=[{path:"state",selectField:!0,setValue:s,title:"Status",value:a}];return(0,sa.useEffect)((()=>{null===r||void 0===r||!r.path||null!==r&&void 0!==r&&r.min||null!==r&&void 0!==r&&r.max||i({...r,path:null})}),[r]),(0,ms.jsx)(yl,{showFilter:t,setShowFilter:n,FilterFields:l,filterOptions:o,setAllFieldsNull:()=>{s("")},filterBy:r,setFilterBy:i})},wl=function(e){let{onInfiniteScroll:t,isLoading:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const i=(0,sa.useRef)(null);return(0,sa.useCallback)((e=>(n||(i.current&&i.current.disconnect(),i.current=new IntersectionObserver((e=>{e[0].isIntersecting&&t()})),e&&i.current.observe(e)),null)),[n,...r])},xl=e=>{let{show:t=!0}=e;return(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:t&&(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 mr-2",children:(0,ms.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3"})}),"Scroll down to load more"]})})},Al=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(0),[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(1),[l,c]=(0,sa.useState)(!0),[u,d]=(0,sa.useState)({max:"",min:"",path:""}),[h,p]=(0,sa.useState)([]),[f,m]=(0,sa.useState)([]),[g,v]=(0,sa.useState)([]),C=(0,Os.Zp)(),y=(0,sa.useMemo)((()=>a*ss.cb),[a]),b=(0,sa.useMemo)((()=>f.map((e=>({...e,activityType:"Lender"}))).concat(h.map((e=>({...e,activityType:"Borrower"})))).concat(g.map((e=>({...e,activityType:"Borrower"}))))),[f,h,g]),w=(0,sa.useMemo)((()=>b.length),[b]),x=wl({isLoading:i,onInfiniteScroll(){i||(s(a+1),r(w)),ds.o.track("Inifinite Scroll Loans Activity Table")}},[w,i]);return(0,sa.useEffect)((()=>{o(!(n!==w||!w))}),[n,w]),(0,sa.useEffect)((()=>{var e,n,r;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(fl({accountIDs:(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[],accountId:null===t||void 0===t||null===(n=t.loggedUser)||void 0===n?void 0:n.addr,filterActivityBy:u,limit:y,makerCb(e){p(e)},takerCb(e){m(e)}}),void(e=>{let{limit:t=25,accountId:n,makerCb:r,accountIDs:i,filterActivityBy:o,listingCollection:a="listingAvailable"}=e;const s=i||[n];let l=hl.kA.collection("p2pEvents");l=hl.kA.collection("p2pEvents").where("type","==",(null===o||void 0===o?void 0:o.min)||"DELISTED").where("data.flowtyStorefrontAddress","in",s).orderBy("blockTimestamp","desc");const c=l.limit(t).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection(a).where("listingResourceID","in",e.map((e=>{var t;return null===(t=e.data().data)||void 0===t?void 0:t.listingResourceID})).filter((e=>!!e))).get()))).then((e=>{const n=dl()(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))),"listingResourceID");r(t.map((e=>{var t;return{...e.data(),nftInfo:null===(t=n[e.data().data.listingResourceID])||void 0===t?void 0:t.detail}})))}))}))})({accountIDs:(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[],accountId:null===t||void 0===t||null===(r=t.loggedUser)||void 0===r?void 0:r.addr,filterActivityBy:u,limit:y,makerCb(e){v(e)}})):()=>{}}),[y,null===t||void 0===t?void 0:t.loggedUser,u]),(0,sa.useEffect)((()=>{s(1)}),[u]),(0,sa.useEffect)((()=>{u.path&&ds.o.track("Profile Activity Loans Page Filtered",{filter:u,user:null===t||void 0===t?void 0:t.loggedUser})}),[u.path]),(0,ms.jsxs)("div",{className:" w-full flex flex-col ",children:[(0,ms.jsx)(bl,{filterOptions:[{label:"Settled",value:"SETTLED"},{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Listed",value:"LISTED"},{label:"Delisted",value:"DELISTED"}],showFilter:l,setShowFilter:c,filterBy:u,setFilterBy:d}),(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{c(!l)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{var t;let{item:n}=e;return(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.listingResourceID)&&C(BD(n.data.listingResourceID))},fields:sl,items:b,stickyHeaders:!0,composeRowHref:e=>BD(e.data.listingResourceID)})}),i?(0,ms.jsx)("div",{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:x})]})]})}))),El=e=>{let{showFilter:t,setShowFilter:n,filterBy:r,setFilterBy:i}=e;const[o,a]=(0,sa.useState)(""),[s,l]=(0,sa.useState)({max:null,min:null}),[c,u]=(0,sa.useState)({max:null,min:null}),[d,h]=(0,sa.useState)({max:null,min:null}),[p,f]=(0,sa.useState)({max:null,min:null}),[m,g]=(0,sa.useState)({max:null,min:null}),[v,C]=(0,sa.useState)({max:null,min:null}),y=[{path:"state",selectField:!0,setValue:a,title:"Status",value:o},{dateField:!0,path:"blockTimestamp",setValue:l,title:"Start Date",value:s},{dateField:!0,path:"settleDeadline",setValue:u,title:"Due Date",value:c},{path:"amount",setValue:h,title:"Amount",value:d},{path:"interestRate",setValue:f,title:"Rate %",value:p},{path:"derivations.apr",setValue:g,title:"APR %",value:m},{path:"derivations.calculatedValues.totalRepayment",setValue:C,title:"Repayment Amount",value:v}];(0,sa.useEffect)((()=>{!r.path||r.min||r.max||i({...r,path:""})}),[r]);return(0,ms.jsx)(yl,{showFilter:t,setShowFilter:n,FilterFields:y,filterOptions:[{label:"Listed",value:"LISTED"},{label:"Delisted",value:"DELISTED"},{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Settled",value:"SETTLED"}],setAllFieldsNull:()=>{a(""),l({max:"",min:""}),u({max:"",min:""}),h({max:"",min:""}),f({max:"",min:""}),g({max:"",min:""}),C({max:"",min:""})},filterBy:r,setFilterBy:i,tableName:"Borrower Table"})};var _l=__webpack_require__(4377),Tl=__webpack_require__.n(_l);const Sl=e=>{if(!e)return"0 Days";const t=Number(e);if(t/60<60)return"".concat((t/60).toFixed(2)," Mins");if(t/3600<24)return"".concat((t/3600).toFixed(1)," Hrs");const n=t/86400;return"".concat(n.toFixed(0)," ").concat(n>1?"Days":"Day")},kl=e=>{var t,n,r,i,o,a;const s=(null===e||void 0===e||null===(t=(n=e).toDate)||void 0===t||null===(r=t.call(n))||void 0===r||null===(i=r.getTime)||void 0===i?void 0:i.call(r))||(null===e||void 0===e||null===(o=(a=e).getTime)||void 0===o?void 0:o.call(a))||Number(e);return new Date(s+ss.Zu)},Pl=e=>kl(e)<new Date,Dl=e=>kl(e)<new Date;var Nl=__webpack_require__(85873);const Fl=e=>[{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:null!==(t=null===r||void 0===r||null===(n=r.listingAvailable)||void 0===n?void 0:n.state.toLowerCase())&&void 0!==t?t:r.settled?"Settled":"Not settled"})},name:"status",sortable:!1,title:"Status"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:null!==(t=n.listingAvailable)&&void 0!==t&&t.blockTimestamp?(0,el.default)(n.listingAvailable.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"loanStart",sortable:!1,title:"Loan Start Date"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:t.settleDeadline?(0,el.default)(t.settleDeadline.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"dueDate",sortable:!1,title:"Due Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B,U,V,H,z,Z,W,q,G,Y,K,Q,X,J,$,ee;let{item:te}=e;const ne="A.".concat(null===(t=te.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=te.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=te.listingAvailable)||void 0===a||null===(s=a.detail)||void 0===s||!s.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===te||void 0===te||null===(l=te.listingAvailable)||void 0===l||null===(c=l.detail)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionAddress)||"",collectionName:(null===te||void 0===te||null===(d=te.listingAvailable)||void 0===d||null===(h=d.detail)||void 0===h||null===(p=h.card)||void 0===p?void 0:p.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(f=null===te||void 0===te||null===(m=te.listingAvailable)||void 0===m||null===(g=m.detail)||void 0===g||null===(v=g.card)||void 0===v||null===(C=v.images)||void 0===C||null===(y=C[0])||void 0===y?void 0:y.url)&&void 0!==f?f:tl.A,(0,ss.hx)(ne))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(b=te.listingAvailable)&&void 0!==b&&null!==(w=b.detail)&&void 0!==w&&null!==(x=w.card)&&void 0!==x&&x.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(A=te.listingAvailable)||void 0===A||null===(E=A.detail)||void 0===E||null===(_=E.card)||void 0===_?void 0:_.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(T=te.listingAvailable)||void 0===T||null===(S=T.detail)||void 0===S||null===(k=S.card)||void 0===k?void 0:k.title}),(null===(P=te.listingAvailable)||void 0===P||null===(D=P.detail)||void 0===D||null===(N=D.card)||void 0===N?void 0:N.num)&&!(null!==(F=te.listingAvailable)&&void 0!==F&&null!==(I=F.detail)&&void 0!==I&&null!==(R=I.card)&&void 0!==R&&R.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(M=te.listingAvailable)||void 0===M||null===(O=M.detail)||void 0===O||null===(j=O.card)||void 0===j?void 0:j.num]})]}),null!==te&&void 0!==te&&null!==(L=te.listingAvailable)&&void 0!==L&&null!==(B=L.detail)&&void 0!==B&&null!==(U=B.card)&&void 0!==U&&U.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==te&&void 0!==te&&null!==(V=te.listingAvailable)&&void 0!==V&&null!==(H=V.detail)&&void 0!==H&&null!==(z=H.card)&&void 0!==z&&z.additionalDetails?null===te||void 0===te||null===(Z=te.listingAvailable)||void 0===Z||null===(W=Z.detail)||void 0===W||null===(q=W.card)||void 0===q||null===(G=q.additionalDetails)||void 0===G?void 0:G.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===te||void 0===te||null===(Y=te.listingAvailable)||void 0===Y||null===(K=Y.detail)||void 0===K||null===(Q=K.card)||void 0===Q?void 0:Q.headerTraits)&&(null===te||void 0===te||null===(X=te.listingAvailable)||void 0===X||null===(J=X.detail)||void 0===J||null===($=J.card)||void 0===$||null===(ee=$.headerTraits)||void 0===ee?void 0:ee.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t;let{item:n}=e;return null!==n&&void 0!==n&&null!==(t=n.listingAvailable)&&void 0!==t&&t.amount?(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(n.listingAvailable.amount),isSmall:!0,token:n.listingAvailable.paymentTokenName})}):null},name:"amount",sortable:!1,title:"Amount"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:null!==n&&void 0!==n&&null!==(t=n.listingAvailable)&&void 0!==t&&t.enabledAutoRepayment?"Yes":"No"})},name:"autoRepayment",sortable:!1,title:"Auto Repayment"},{customRender:e=>{var t;let{item:n}=e;return null!==(t=n.listingAvailable)&&void 0!==t&&t.interestRate?(0,ms.jsxs)("div",{className:"flex flex-row justify-center items-center",children:[(100*n.listingAvailable.interestRate).toFixed(2),"%"]}):null},name:"rate",sortable:!1,title:"Rate"},{customRender:e=>{var t,n;let{item:r}=e;return null!==(t=r.listingAvailable)&&void 0!==t&&t.term?(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:Sl(null===(n=r.listingAvailable)||void 0===n?void 0:n.term)}):null},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{let{item:t}=e;return null!==t&&void 0!==t&&t.listingAvailable?(0,ms.jsxs)("div",{className:"flex flex-row justify-center items-center",children:[Tl()((0,us.calcAPRInterest)(t?Number(t.listingAvailable.interestRate):0,t?Number(t.listingAvailable.term):0)).format("0,0.00"),"%"]}):null},name:"apr",sortable:!1,title:"APR"},{customRender:e=>{let{item:t}=e;var n,r,i;return t.listingAvailable&&null!==(n=t.calculatedValues)&&void 0!==n&&n.totalRepayment?(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:(0,ms.jsx)(Nl.se,{amount:null===t||void 0===t||null===(r=t.calculatedValues)||void 0===r?void 0:r.repaymentDue,isSmall:!0,token:(null===t||void 0===t||null===(i=t.listingAvailable)||void 0===i?void 0:i.paymentTokenName)||us.SupportedTokens.FLOW})}):null},name:"repayment",sortable:!1,title:"Repayment Amount"},{customRender:t=>{let{item:n}=t;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(null===n||void 0===n?void 0:n.lender))},className:"flex flex-row justify-start items-center hover:text-green-300",children:(0,ms.jsx)("a",{href:"/user/".concat(null===n||void 0===n?void 0:n.lender),children:(null===n||void 0===n?void 0:n.lender)||"--"})})},name:"lender",sortable:!1,title:"Lender"}],Il=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(0),[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(1),[l,c]=(0,sa.useState)(!0),[u,d]=(0,sa.useState)({max:"",min:"",path:""}),[h,p]=(0,sa.useState)([]),[f,m]=(0,sa.useState)([]),[g,v]=(0,sa.useState)([]),C=(0,Os.Zp)(),y=(0,sa.useMemo)((()=>a*ss.cb),[a]),b=(0,sa.useMemo)((()=>h.length),[h]),w=(0,sa.useMemo)((()=>h.concat(f).concat(g)),[h,g]),x=wl({isLoading:i,onInfiniteScroll(){i||(s(a+1),r(b)),ds.o.track("Inifinite Scroll Loans Borrower Table")}},[b]);return(0,sa.useEffect)((()=>{o(!(n!==b||!b))}),[n,b]),(0,sa.useEffect)((()=>{u.path&&ds.o.track("Profile Borrower Loans Page Filtered",{filter:u,user:null===t||void 0===t?void 0:t.loggedUser})}),[u.path]),(0,sa.useEffect)((()=>{var e,n,r,i;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?((e=>{let{limit:t=25,accountId:n,cb:r,filterBy:i,accountIDs:o}=e;const a=o||[n];let s=hl.kA.collection("listingAvailable").where("flowtyStorefrontAddress","in",a);const l=[];"state"!==i.path&&l.length>0&&(s=s.where("state","in",l)),i.path?"state"===i.path?s=s.where(i.path,"==",i.min):"interestRate"===i.path?(i.min&&(s=s.where(i.path,">=",Number(i.min)/100)),i.max&&(s=s.where(i.path,"<=",Number(i.max)/100)),s=s.orderBy(i.path,"desc")):"blockTimestamp"===i.path||"settleDeadline"===i.path?(i.min&&(s=s.where(i.path,">=",i.min)),i.max&&(s=s.where(i.path,"<=",i.max)),s=s.orderBy(i.path,"desc")):(i.min&&(s=s.where(i.path,">=",Number(i.min))),i.max&&(s=s.where(i.path,"<=",Number(i.max))),s=s.orderBy(i.path,"desc")):s=s.orderBy("blockTimestamp","desc");const c=s.limit(t).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection("fundingAvailable").where("listingResourceID","in",e.map((e=>e.data().listingResourceID))).get()))).then((e=>{const n=dl()(t.map((e=>({...e.data(),id:e.id}))),"listingResourceID");r(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))).map((e=>({...e,listingAvailable:n[e.listingResourceID]}))))}))}))})({accountId:null===t||void 0===t||null===(n=t.loggedUser)||void 0===n?void 0:n.addr,cb(e){const t=e.map((e=>{var t,n,r,i,o,a,s;return{...e,calculatedValues:{...(0,us.solveWithAmountAndInterest)({amount:null!==e&&void 0!==e&&null!==(t=e.listingAvailable)&&void 0!==t&&t.amount?Number(null===(n=e.listingAvailable)||void 0===n?void 0:n.amount):0,interest:null!==e&&void 0!==e&&null!==(r=e.listingAvailable)&&void 0!==r&&r.interestRate?Number(null===(i=e.listingAvailable)||void 0===i?void 0:i.interestRate):0,term:null!==e&&void 0!==e&&null!==(o=e.listingAvailable)&&void 0!==o&&o.term?Number(null===(a=e.listingAvailable)||void 0===a?void 0:a.term):0},(null===e||void 0===e||null===(s=e.listingAvailable)||void 0===s?void 0:s.royaltyRate)||0)}}}));p(t)},filterBy:u,limit:y}),ml({accountIDs:(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[],accountId:null===t||void 0===t||null===(r=t.loggedUser)||void 0===r?void 0:r.addr,cb(e){m(e)},filterBy:u,limit:y,stateType:"DELISTED"}),void ml({accountIDs:(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[],accountId:null===t||void 0===t||null===(i=t.loggedUser)||void 0===i?void 0:i.addr,cb(e){v(e)},filterBy:u,limit:y,stateType:"LISTED"})):()=>{}}),[y,null===t||void 0===t?void 0:t.loggedUser,u]),(0,sa.useEffect)((()=>{s(1)}),[u]),(0,ms.jsxs)("div",{className:" w-full flex flex-col ",children:[(0,ms.jsx)(El,{showFilter:l,setShowFilter:c,filterBy:u,setFilterBy:d}),(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{c(!l)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{let{item:t}=e;return(null===t||void 0===t?void 0:t.listingResourceID)&&C(BD(t.listingResourceID))},fields:Fl(C),items:w,stickyHeaders:!0,composeRowHref:e=>BD(e.listingResourceID)})}),i?(0,ms.jsx)("div",{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:x})]})]})}))),Rl=e=>{let{showFilter:t,setShowFilter:n,filterBy:r,setFilterBy:i}=e;const[o,a]=(0,sa.useState)(""),[s,l]=(0,sa.useState)({max:null,min:null}),[c,u]=(0,sa.useState)({max:null,min:null}),[d,h]=(0,sa.useState)({max:null,min:null}),[p,f]=(0,sa.useState)({max:null,min:null}),[m,g]=(0,sa.useState)({max:null,min:null}),[v,C]=(0,sa.useState)({max:null,min:null}),y=[{path:"state",selectField:!0,setValue:a,title:"Status",value:o},{dateField:!0,path:"listingAvailable.blockTimestamp",setValue:l,title:"Start Date",value:s},{dateField:!0,path:"listingAvailable.settleDeadline",setValue:u,title:"Due Date",value:c},{path:"listingAvailable.derivations.calculatedValues.marketplaceAmount",setValue:h,title:"Amount",value:d},{path:"listingAvailable.derivations.calculatedValues.periodicInterest",setValue:f,title:"Rate %",value:p},{path:"listingAvailable.derivations.marketplaceAPR",setValue:g,title:"APR %",value:m},{path:"listingAvailable.derivations.calculatedValues.totalRepayment",setValue:C,title:"Repayment Amount",value:v}];(0,sa.useEffect)((()=>{!r.path||r.min||r.max||i({...r,path:""})}),[r]);return(0,ms.jsx)(yl,{showFilter:t,setShowFilter:n,FilterFields:y,filterOptions:[{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Settled",value:"SETTLED"}],setAllFieldsNull:()=>{a(""),l({max:"",min:""}),u({max:"",min:""}),h({max:"",min:""}),f({max:"",min:""}),g({max:"",min:""}),C({max:"",min:""})},filterBy:r,setFilterBy:i,tableName:"Lender Table"})},Ml=e=>[{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:null===t||void 0===t?void 0:t.state.toLowerCase()})},name:"status",sortable:!1,title:"Status"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.blockTimestamp?(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"loanStart",sortable:!1,title:"Loan Start Date"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.settleDeadline?(0,el.default)(t.settleDeadline.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"dueDate",sortable:!1,title:"Due Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.detail)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.detail)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.detail)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.detail)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=U.detail)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(C=U.detail)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(b=U.detail)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===(x=U.detail)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.detail)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(T=U.detail)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.detail)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.detail)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.detail)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.detail)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.detail)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null!==(t=null===i||void 0===i||null===(n=i.derivations)||void 0===n||null===(r=n.calculatedValues)||void 0===r?void 0:r.marketplaceAmount)&&void 0!==t?t:0),isSmall:!0,token:i.paymentTokenName||us.SupportedTokens.FLOW})})},name:"amount",sortable:!1,title:"Amount"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(100*(null!==(t=null===i||void 0===i||null===(n=i.derivations)||void 0===n||null===(r=n.calculatedValues)||void 0===r?void 0:r.periodicInterest)&&void 0!==t?t:0)).toFixed(2),"%"]})},name:"rate",sortable:!1,title:"Rate"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(t.term)})},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Tl()(null!==(t=null===r||void 0===r||null===(n=r.derivations)||void 0===n?void 0:n.marketplaceAPR)&&void 0!==t?t:0).format("0,0.00"),"%"]})},name:"apr",sortable:!1,title:"APR"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-center items-center",children:(0,ms.jsx)(Nl.se,{amount:null!==(t=null===i||void 0===i||null===(n=i.derivations)||void 0===n||null===(r=n.calculatedValues)||void 0===r?void 0:r.totalRepayment)&&void 0!==t?t:0,isSmall:!0,token:i.paymentTokenName||us.SupportedTokens.FLOW})})},name:"repayment",sortable:!1,title:"Repayment Amount"},{customRender:t=>{let{item:n}=t;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress))},className:"flex flex-row justify-start items-center hover:text-green-300",children:(0,ms.jsx)("a",{href:"/user/".concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress),children:(null===n||void 0===n?void 0:n.flowtyStorefrontAddress)||"--"})})},name:"borrower",sortable:!1,title:"Borrower"}],Ol=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(0),[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(1),[l,c]=(0,sa.useState)(!0),[u,d]=(0,sa.useState)({max:"",min:"",path:""}),[h,p]=(0,sa.useState)([]),f=(0,Os.Zp)(),m=(0,sa.useMemo)((()=>a*ss.cb),[a]),g=(0,sa.useMemo)((()=>h.length),[h]),v=wl({isLoading:i,onInfiniteScroll(){i||(s(a+1),r(g)),ds.o.track("Inifinite Scroll Loans Lender Table")}},[g]);return(0,sa.useEffect)((()=>{o(!(n!==g||!g))}),[n,g]),(0,sa.useEffect)((()=>{var e,n;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(e=>{let{isRentalView:t=!1,limit:n=25,accountId:r,cb:i,filterBy:o}=e;const a=t?"listingRented":"fundingAvailable",s=t?"renter":"lender";let l=hl.kA.collection(a).where(s,"in",[r]);return o.path?"listingAvailable.derivations.calculatedValues.periodicInterest"===o.path?(o.min&&(l=l.where(o.path,">=",Number(o.min)/100)),o.max&&(l=l.where(o.path,"<=",Number(o.max)/100)),l=l.orderBy(o.path,"desc")):"listingAvailable.blockTimestamp"===o.path||"listingAvailable.settleDeadline"===o.path?(o.min&&(l=l.where(o.path,">=",o.min)),o.max&&(l=l.where(o.path,"<=",o.max)),l=l.orderBy(o.path,"desc")):"state"!==o.path&&(o.min&&(l=l.where(o.path,">=",Number(o.min))),o.max&&(l=l.where(o.path,"<=",Number(o.max))),l=l.orderBy(o.path,"desc")):l=l.orderBy("listingAvailable.blockTimestamp","desc"),l.limit(n).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>"state"===o.path?hl.kA.collection("listingAvailable").where("state","==",o.min).where("listingResourceID","in",e.map((e=>e.data().listingResourceID))).get():hl.kA.collection("listingAvailable").where("listingResourceID","in",e.map((e=>e.data().listingResourceID))).get()))).then((e=>{const n=dl()(t.map((e=>({...e.data(),id:e.id}))),"listingResourceID");i(e.flatMap((e=>null===e||void 0===e?void 0:e.docs.map((e=>({...e.data(),id:e.id}))))).map((e=>({...e,fundingAvailable:n[e.listingResourceID]}))))}))}))})({accountId:null===t||void 0===t||null===(n=t.loggedUser)||void 0===n?void 0:n.addr,cb(e){const t=e.map((e=>({...e,calculatedValues:{...(0,us.solveWithAmountAndInterest)({amount:e.amount?Number(e.amount):0,interest:e.interestRate?Number(e.interestRate):0,term:e.term?Number(e.term):0},(null===e||void 0===e?void 0:e.royaltyRate)||0)}})));(0,fs.t)("subscribeToMyLoans",t),p(t)},filterBy:u,limit:m}):()=>{}}),[m,null===t||void 0===t?void 0:t.loggedUser,u]),(0,sa.useEffect)((()=>{s(1)}),[u]),(0,sa.useEffect)((()=>{u.path&&ds.o.track("Profile Lender Loans Page Filtered",{filter:u,user:null===t||void 0===t?void 0:t.loggedUser})}),[u.path]),(0,ms.jsxs)("div",{className:" w-full flex flex-col ",children:[(0,ms.jsx)(Rl,{showFilter:l,setShowFilter:c,filterBy:u,setFilterBy:d}),(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{c(!l)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{let{item:t}=e;return(null===t||void 0===t?void 0:t.listingResourceID)&&f(BD(t.listingResourceID))},fields:Ml(f),items:h,stickyHeaders:!0,composeRowHref:e=>BD(e.listingResourceID)})}),i?(0,ms.jsx)("div",{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:v})]})]})}))),jl=[{content:(0,ms.jsx)(Al,{}),name:"Activity"},{content:(0,ms.jsx)(Il,{}),name:"Borrower"},{content:(0,ms.jsx)(Ol,{}),name:"Lender"}],Ll=()=>{const[e,t]=(0,sa.useState)(jl[0].name);return(0,sa.useEffect)((()=>{ds.o.track("Profile Activity Loans Visited",{currentTab:e})}),[e]),(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Zs,{}),(0,ms.jsxs)("div",{className:"mt-4 transition duration-700",children:[(0,ms.jsxs)("div",{children:[(0,ms.jsx)("nav",{className:"-mb-px flex space-x-8","aria-label":"loanTabs",children:jl.map((n=>(0,ms.jsx)("div",{onClick:()=>{t(n.name),ds.o.track("Profile Activity Loans Toggled: ".concat(n.name),{tab:n.name})},className:Ls()(n.name===e?"border-indigo-500 text-white":"border-transparent text-gray-500 hover:text-white hover:border-indigo-500","whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"),children:n.name},n.name)))}),(0,ms.jsx)("div",{className:"line-separator bg-gradient-to-r from-darkBg via-secondary to-darkBg"})]}),(0,ms.jsx)("div",{className:"mt-8 mb-3",children:jl.map((t=>t.name===e?(0,ms.jsx)("div",{children:t.content},t.name):null))})]})]})},Bl=e=>{let{address:t}=e;const[n,r]=(0,sa.useState)(!1),i=()=>r(!1);return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("button",{"data-tooltip-id":"copy-wallet-tooltip","data-tooltip-content":"Copy Wallet Address","data-tooltip-place":"right",className:"bg-[#606E7D33] hover:bg-[#606E7D52] border border-[#FFFFFF1F] rounded-md px-[12px] py-[6px] cursor-pointer leading-[normal] flex",onClick:()=>{r(!0),setTimeout(i,5e3),navigator.clipboard.writeText(t)},children:[(0,ms.jsx)("span",{className:"text-[#DEDEDE] font-normal text-[0.875rem] md:text-[14px] mr-[0.25rem]",children:t}),(0,ms.jsx)("div",{children:n?(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-[14px] h-[14px] text-primary",children:(0,ms.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75"})}):(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:(0,ms.jsx)("path",{d:"M9.1875 10.5625V12.5312C9.1875 12.8937 8.89369 13.1875 8.53125 13.1875H2.84375C2.48131 13.1875 2.1875 12.8937 2.1875 12.5312V5.09375C2.1875 4.73131 2.48131 4.4375 2.84375 4.4375H3.9375C4.23562 4.4375 4.52794 4.46235 4.8125 4.51009M9.1875 10.5625H11.1562C11.5187 10.5625 11.8125 10.2687 11.8125 9.90625V7.0625C11.8125 4.46113 9.9205 2.30166 7.4375 1.88509C7.15294 1.83735 6.86062 1.8125 6.5625 1.8125H5.46875C5.10631 1.8125 4.8125 2.10631 4.8125 2.46875V4.51009M9.1875 10.5625H5.46875C5.10631 10.5625 4.8125 10.2687 4.8125 9.90625V4.51009M11.8125 8.375V7.28125C11.8125 6.19394 10.9311 5.3125 9.84375 5.3125H8.96875C8.60631 5.3125 8.3125 5.01869 8.3125 4.65625V3.78125C8.3125 2.69394 7.43106 1.8125 6.34375 1.8125H5.6875",stroke:"#DEDEDE",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})};let Ul=function(e){return e[e.Listed=0]="Listed",e[e.Funded=1]="Funded",e[e.History=2]="History",e}({});const Vl=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{activeTabBtn:n=Ul.Listed,authStore:r}=e;const i=[{content:(0,ms.jsx)(Ll,{}),id:"tag-1",label:"User Activity"}];return(0,ms.jsxs)("div",{className:"pt-4 flex flex-col justify-center",children:[(0,ms.jsx)("div",{className:"self-center",children:(0,ms.jsx)("div",{className:"flex justify-center items-center",children:(0,ms.jsx)(Bl,{address:"".concat(null===r||void 0===r||null===(t=r.loggedUser)||void 0===t?void 0:t.addr)})})}),(0,ms.jsx)("div",{className:"mt-3",children:(0,ms.jsx)(Bs.cs,{activeTab:"tag-1",tabs:i,onChange:()=>{},type:"primary",isCenter:!0})})]})})));var Hl;function zl(){return zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zl.apply(null,arguments)}function Zl(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",zl({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"animate-spin h-5 w-5 mr-2 text-white",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Hl||(Hl=sa.createElement("g",{id:"Icon/Outline/refresh"},sa.createElement("path",{id:"Icon",d:"M3.33331 3.33333V7.49999H3.81791M16.6151 9.16666C16.205 5.87807 13.3997 3.33333 9.99998 3.33333C7.20216 3.33333 4.80689 5.0568 3.81791 7.49999M3.81791 7.49999H7.49998M16.6666 16.6667V12.5H16.182M16.182 12.5C15.1931 14.9432 12.7978 16.6667 9.99998 16.6667C6.6003 16.6667 3.79497 14.1219 3.38489 10.8333M16.182 12.5H12.5",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))))}const Wl=sa.forwardRef(Zl),ql=(__webpack_require__.p,[{label:"Listed",value:"RENTAL_LISTED"},{label:"Delisted",value:"RENTAL_DESTROYED"},{label:"Rented",value:"RENTAL_RENTED"},{label:"Returned",value:"RENTAL_RETURNED"},{label:"Settled",value:"RENTAL_SETTLED"},{label:"Expired",value:"EXPIRED"}]),Gl=e=>(0,ms.jsx)(bl,{...e,filterOptions:ql}),Yl=[{label:"Settled",value:"SETTLED"},{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Listed",value:"LISTED"},{label:"Expired",value:"EXPIRED"}],Kl=e=>(0,ms.jsx)(bl,{...e,filterOptions:Yl});var Ql,Xl,Jl;function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$l.apply(null,arguments)}function ec(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",$l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-external-link",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Ql||(Ql=sa.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})),Xl||(Xl=sa.createElement("polyline",{points:"15 3 21 3 21 9"})),Jl||(Jl=sa.createElement("line",{x1:10,y1:14,x2:21,y2:3})))}const tc=sa.forwardRef(ec);__webpack_require__.p;var nc=__webpack_require__(39744);const rc=e=>{let{children:t,valuationType:n}=e;return(0,ms.jsx)("div",{className:"z-10 relative",children:(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(n,"-overlay")}),(0,ms.jsx)("div",{"data-tooltip-id":"".concat(n,"-overlay"),"data-tooltip-content":"\tAny valuation metric on flowty is derived from third-party estimations\n\t\t\t\tand metrics that do not represent financial advice nor the actual\n\t\t\t\texpected ".concat(n," or valuation of a listing or NFT. Please do\n\t\t\t\tyour own research.")}),t]})})},ic=e=>{let{contractName:t,nftID:n,labelType:r}=e;switch(t){case"Flovatar":return(0,ms.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://flov.dev/?mint=".concat(n),children:(0,ms.jsx)(rc,{valuationType:r,children:(0,ms.jsxs)("p",{className:"flex pt-1",children:[us.NFTValuationProvider.FlovDev," ",r,(0,ms.jsx)(tc,{className:"inline-block pb-1"})]})})});case"TopShot":case"AllDay":return(0,ms.jsx)(rc,{valuationType:r,children:(0,ms.jsxs)("p",{className:"flex text-lightText text-lg font-light",children:["Blended ",r]})});default:return(0,us.assertNever)(t)}},oc=e=>[{customRender:e=>{let{item:t}=e;const n=t.type[0]+t.type.slice(1).toLowerCase();return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:n})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.blockTimestamp?(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.additionalData)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.additionalData)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.additionalData)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.additionalData)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=U.additionalData)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.title?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(C=U.additionalData)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(b=U.additionalData)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===(x=U.additionalData)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.additionalData)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(T=U.additionalData)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.additionalData)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.additionalData)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.additionalData)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.nftInfo)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.nftInfo)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.calculatedValues.marketplaceAmount,isSmall:!0,token:t.paymentTokenName})})},name:"amount",sortable:!1,title:"Amount"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Tl()(100*(null!==(t=n.calculatedValues.periodicInterest)&&void 0!==t?t:0)).format("0,0.00"),"%"]})},name:"rate",sortable:!1,title:"Rate"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(t.calculatedValues.term)})},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{let{item:t}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Tl()((0,us.calcAPRInterest)(t?Number(t.calculatedValues.periodicInterest):0,t?Number(t.calculatedValues.term):0)).format("0,0.00"),"%"]})},name:"apr",sortable:!1,title:"APR"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.calculatedValues.totalRepayment,isSmall:!0,token:t.paymentTokenName||ss.HT})})},name:"repayment",sortable:!1,title:"Repayment Amount"},{customRender:e=>{var t,n,r,i;let{item:o}=e;const a=Number((null===o||void 0===o||null===(t=o.nftInfo)||void 0===t||null===(n=t.valuations)||void 0===n||null===(r=n.aggregate)||void 0===r?void 0:r.loanToValueRatio)||(null===o||void 0===o||null===(i=o.additionalData)||void 0===i?void 0:i.loanToValueRatio)||0);return a?(0,ms.jsx)(rc,{valuationType:"LTV",children:(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Math.round(100*a),"%"]})}):(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:"N/A"})},name:"valuations.aggregate.loanToValueRatio",sortable:!1,title:"3rd Party LTV"},{customRender:t=>{var n,r;let{item:i}=t;return(0,ms.jsx)("div",{onClick:t=>{var n;t.preventDefault(),t.stopPropagation(),e("/user/".concat(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.lender))},className:"lender flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.lender),children:(null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.lender)||"--"})})},name:"lender",sortable:!1,title:"Lender"},{customRender:t=>{var n,r,i,o;let{item:a}=t;return(0,ms.jsx)("div",{onClick:t=>{var n,r;t.preventDefault(),t.stopPropagation(),e("/user/".concat((null===a||void 0===a||null===(n=a.data)||void 0===n?void 0:n.borrower)||(null===a||void 0===a||null===(r=a.nftInfo)||void 0===r?void 0:r.storefrontAddress)))},className:"borrower flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat((null===a||void 0===a||null===(n=a.data)||void 0===n?void 0:n.borrower)||(null===a||void 0===a||null===(r=a.nftInfo)||void 0===r?void 0:r.storefrontAddress)),children:(null===a||void 0===a||null===(i=a.data)||void 0===i?void 0:i.borrower)||(null===a||void 0===a||null===(o=a.nftInfo)||void 0===o?void 0:o.storefrontAddress)||"--"})})},name:"borrower",sortable:!1,title:"Borrower"}],ac=e=>{let{metaTitle:t,metaDescription:n,metaImage:r}=e;return(0,ms.jsx)(Ja,{children:(0,ms.jsxs)(as,{children:[(0,ms.jsx)("meta",{name:"description",content:n}),(0,ms.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,ms.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ms.jsx)("meta",{name:"twitter:site",content:"@flowty"}),(0,ms.jsx)("meta",{name:"twitter:title",content:t}),(0,ms.jsx)("meta",{name:"twitter:description",content:n}),(0,ms.jsx)("meta",{name:"twitter:image",content:r}),(0,ms.jsx)("meta",{name:"description",content:n}),(0,ms.jsx)("meta",{property:"og:title",content:t}),(0,ms.jsx)("meta",{property:"og:description",content:n}),(0,ms.jsx)("meta",{property:"og:image",content:r}),(0,ms.jsx)("title",{children:t})]})})};var sc=__webpack_require__(31991);const lc=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n}=e;return(0,ms.jsx)("div",{className:"container z-[999] fixed top-0 left-0 right-0",children:null===(t=(0,sc.zu)(null===n||void 0===n?void 0:n.activeGlobalAlerts))||void 0===t?void 0:t.map((e=>{const t=e.component;return(0,ms.jsx)(t,{},e.id)}))})})));var cc=__webpack_require__(51572),uc=__webpack_require__(46855),dc=__webpack_require__(19388),hc=__webpack_require__(799),pc=__webpack_require__.n(hc);const fc=e=>new Promise((t=>{setTimeout(t,e)})),mc="accounts",gc=async(e,t)=>{try{return await hl.db.collection(mc).doc(e).update(t),!0}catch(n){return ds.o.track("ERROR_FIREBASE_UPDATE_ACCOUNT_DATA",{error:n}),(0,fs._)("Error updating account data:",(0,us.getMessageFromError)(n)),!1}},vc=async e=>{(0,fs.t)("getting account with id",e);const t=await hl.db.collection(mc).doc(e).get();if(t.exists){(0,fs.t)("account exists...");const e=t.data();return e.email||(e.email=""),(0,fs.t)("obtained account",e),e}throw new Error("Could not find account for address ".concat(e))},Cc=async e=>{(0,fs.t)("creating account token...",{user:e});let t=null;for(const i of e.services)if("account-proof"===i.type){t=i;break}if(t)try{(0,fs.t)("creating custom token...",{service:t,user:e});return(await cs().post("".concat(ss.Sw,"/auth/verify-proof"),{proof:t})).data.customToken}catch(r){var n;(0,fs._)("createAccountToken error",{message:(0,us.getMessageFromError)(r),responseData:null===(n=r.response)||void 0===n?void 0:n.data})}return(async e=>{try{var t,n;const e=(0,us.utf8ToHexString)("By signing in, you agree to flowtyNFT Inc's \nTerms of Service and Privacy Policy");await fc(500);const r=await dc.currentUser().signUserMessage(e);return"string"===typeof r&&r.startsWith("Declined")?(ds.o.track("[PREVIEW 2-4233]CatchBlock RejectionError",{}),""):"object"===typeof r&&null!==r&&void 0!==r&&null!==(t=r.message)&&void 0!==t&&t.includes("Popup failed to open")?((0,fs._)("pop up error detected"),ds.o.track("[AuthService] PopupError",{}),await pc().fire({icon:"error",showConfirmButton:!0,timer:5e3,title:"Pop-up blocker is enabled. Please allow pop-ups and try again."}),""):null!==r&&void 0!==r&&null!==(n=r[0])&&void 0!==n&&n.addr?(await cs().post("".concat(ss.Sw,"/login"),{compositeSignature:r,msg:e})).data.customToken:""}catch(r){return(0,fs._)("failed to login with user signature",(0,us.getMessageFromError)(r)),""}})()};var yc=__webpack_require__(95899);const bc=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(!0),[i,o]=(0,sa.useState)(!1),a=()=>{r(!1)};return(0,ms.jsx)("div",{children:(0,ms.jsx)(cc.e,{appear:!0,show:n,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:"relative z-40",static:!0,onClose:()=>null,children:[(0,ms.jsx)(cc.e.Child,{enter:"transition duration-000 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",as:sa.Fragment,children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,ms.jsx)("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-1000",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,ms.jsx)(uc.l.Panel,{className:"relative z-40 shadow-xl bg-darkBg rounded-[10px] border border-[#343A40]",children:(0,ms.jsxs)("div",{className:"flex flex-col select-none w-[24rem] md:w-[436px]",children:[(0,ms.jsx)("div",{className:"p-[40px]",children:(0,ms.jsx)("span",{className:"text-white text-shadow text-[24px] font-montserrat font-black leading-normal font-montserrat",children:"Updated Terms Of Service"})}),(0,ms.jsx)("div",{className:"mx-auto p-[40px] border-y border-[#343A40]",children:i?(0,ms.jsx)("div",{className:"mx-auto text-center",children:(0,ms.jsx)(yc.BM,{height:200,width:200})}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("p",{className:"text-neutral-900 text-sm font-montserrat font-medium leading-normal",children:["We updated our"," ",(0,ms.jsx)("a",{className:"text-primary underline",href:"https://www.flowty.io/tos",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"})," ","and"," ",(0,ms.jsx)("a",{className:"text-primary underline",href:"https://www.flowty.io/privacy",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),". To continue using Flowty, please review and agree to these changes."]}),(0,ms.jsx)("p",{className:"text-neutral-900 text-sm font-montserrat font-medium leading-normal mt-[10px]",children:'Simply click "ACCEPT AND CONTINUE" to confirm that you have read and agree to the updated policies.'})]})}),(0,ms.jsx)("div",{className:"rounded-b-[.625rem] py-[20px] flex flex-col items-center justify-center",children:(0,ms.jsx)("div",{className:"w-96 mb-2",children:(0,ms.jsx)(Bs.M2,{type:"button",onClick:async()=>{o(!0);try{var e;null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(await gc(t.loggedUser.addr,{hasAcceptedTermsV2:!0}),null===t||void 0===t||t.setNewTermsAcknowledged(!0),ds.o.track("AGREED_TO_LATEST_TERMS")):ds.o.track("AGREED_TO_LATEST_TERMS_ERROR",{error:"No User"})}catch(n){ds.o.track("AGREED_TO_LATEST_TERMS_ERROR",{error:n}),a()}finally{o(!1),a()}},text:"ACCEPT AND CONTINUE",variant:"secondary",btnSize:"large",disabled:i})})})]})})})})]})})})})));var wc=__webpack_require__(55989);const xc=wc.Ik().shape({email:wc.Yj().email("Invalid email").required("Required")});async function Ac(e){var t,n;let r=null!==(t=await(null===hl.j2||void 0===hl.j2||null===(n=hl.j2.currentUser)||void 0===n?void 0:n.getIdToken(!0)))&&void 0!==t?t:"";var i,o;""===r&&(await fc(1e3),r=null!==(i=await(null===hl.j2||void 0===hl.j2||null===(o=hl.j2.currentUser)||void 0===o?void 0:o.getIdToken(!0)))&&void 0!==i?i:"");const a="".concat(ss.Sw,"/notifications/subscribe"),s={Authorization:r};try{return(await cs().post(a,{email:e},{headers:s})).data}catch(l){console.log("subscribeEmailToNotification",{error:l})}}const Ec=async(e,t,n,r)=>{try{const i=[],o=[];1==n?i.push("offers"):0==n&&o.push("offers"),1==r?i.push("newsletter"):0==r&&o.push("newsletter"),await async function(e){var t,n;let{resubscribeNames:r,unsubscribeNames:i,email:o}=e;if(!r.length&&!i.length)return;let a=null!==(t=await(null===hl.j2||void 0===hl.j2||null===(n=hl.j2.currentUser)||void 0===n?void 0:n.getIdToken(!0)))&&void 0!==t?t:"";var s,l;""===a&&(await fc(1e3),a=null!==(s=await(null===hl.j2||void 0===hl.j2||null===(l=hl.j2.currentUser)||void 0===l?void 0:l.getIdToken(!0)))&&void 0!==s?s:"");const c="".concat(ss.Sw,"/notifications/save"),u={Authorization:a};try{return(await cs().post(c,{email:o,resubscribeNames:r,unsubscribeNames:i},{headers:u})).data}catch(d){(0,fs.t)("updateEmailNotificationSubscriptions",{error:d})}}({email:t,resubscribeNames:i,unsubscribeNames:o}).then((n=>(null===e||void 0===e||e.setMarketingEmail(t),n)))}catch(i){return(0,fs.t)("handleSubscribe",i),i}};var _c=__webpack_require__(48470);const Tc=async(e,t,n,r,i)=>{if(!e)throw new Error("Required parameter loggedUserAddress should be provided");{var o;const a="welcome"===r?{email:t.emailOptIn?null===t||void 0===t?void 0:t.email:"",emailOptIn:null===t||void 0===t?void 0:t.emailOptIn,hasAcceptedTermsV2:!0,preferredCardSize:(null===t||void 0===t?void 0:t.preferredCardSize)||"large",welcomePopupAcknowledged:!0}:"settings"===r?{avatar:t.avatar||"",email:(null===t||void 0===t?void 0:t.email)||"",preferredCardSize:(null===t||void 0===t?void 0:t.preferredCardSize)||"large",userName:(null===t||void 0===t||null===(o=t.userName)||void 0===o?void 0:o.toLowerCase())||""}:{};await gc(e,a).then((()=>{n()})).catch((e=>{null===i||void 0===i||i(e)}))}},Sc=e=>{var t,n,r,i,o;return{avatar:(null===e||void 0===e||null===(t=e.loggedUser)||void 0===t?void 0:t.avatar)||"",email:(null===e||void 0===e||null===(n=e.loggedUser)||void 0===n?void 0:n.email)||"",emailOptIn:(null===e||void 0===e||null===(r=e.loggedUser)||void 0===r?void 0:r.emailOptIn)||!1,marketingEmail:(null===e||void 0===e||null===(i=e.loggedUser)||void 0===i?void 0:i.marketingEmail)||"",userName:(null===e||void 0===e||null===(o=e.loggedUser)||void 0===o?void 0:o.userName)||""}},kc=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(!0),[i,o]=(0,sa.useState)(!1),a=wc.Ik().shape({email:wc.Yj().email("Invalid email").when("emailOptIn",{is:!0,then:wc.Yj().required("Email is required when opting in").email("Invalid email"),otherwise:wc.Yj().optional()}),welcomeCheckboxTerms:wc.zM().required("Please read and agree to the Flowty terms before proceeding.")}),s=()=>{r(!1),o(!0)};return(0,ms.jsxs)("div",{children:[(0,ms.jsx)(_c.s,{setShow:o,show:i,seconds:5,message:"Successfully Saved Preferences",type:"SUCCESS"}),(0,ms.jsx)(cc.e,{appear:!0,show:n,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:"relative z-40",static:!0,onClose:()=>null,children:[(0,ms.jsx)(cc.e.Child,{enter:"transition duration-000 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",as:sa.Fragment,children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,ms.jsx)("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-1000",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,ms.jsx)(uc.l.Panel,{className:"relative z-40 shadow-xl",children:(0,ms.jsx)("div",{className:"bg-darkBg rounded-[10px] border border-[#343A40]",children:(0,ms.jsx)(gl.l1,{initialValues:(()=>{const e=Sc(t);var n,r,i,o;return e.email&&0!==e.email.length?e:{...e,email:null!==t&&void 0!==t&&null!==(n=t.loggedUser)&&void 0!==n&&n.emailOptIn&&(null===t||void 0===t||null===(r=t.loggedUser)||void 0===r?void 0:r.blockToEmail)||"",emailOptIn:!0,preferredCardSize:null!==(i=null===t||void 0===t||null===(o=t.loggedUser)||void 0===o?void 0:o.preferredCardSize)&&void 0!==i?i:"large",subscribe:!0}})(),validationSchema:a,enableReinitialize:!0,onSubmit:e=>{var n;null===t||void 0===t||t.setEmail(null===e||void 0===e?void 0:e.email),null!==e&&void 0!==e&&e.emailOptIn&&(null===t||void 0===t||t.setOptIn(null===e||void 0===e?void 0:e.emailOptIn)),ds.o.track("WELCOME_MESSAGE_SUBMIT",{values:e}),null===t||void 0===t||t.setWelcomeMessagePopupAcknowledged(!0),null===t||void 0===t||t.setNewTermsAcknowledged(!0),null!==e&&void 0!==e&&e.preferredCardSize&&(null===t||void 0===t||t.setPreferredCardSize(null===e||void 0===e?void 0:e.preferredCardSize)),!0===e.subscribe&&(null===t||void 0===t||t.setMarketingEmail(null===e||void 0===e?void 0:e.email),(async e=>{try{const t=await Ac(e);return ds.o.track("ADD_MARKETING_EMAIL_SUCCESS",{email:e}),t}catch(t){ds.o.track("ADD_MARKETING_EMAIL_FAILURE",{email:e,error:t})}})(null===e||void 0===e?void 0:e.email)),Tc(null===t||void 0===t||null===(n=t.loggedUser)||void 0===n?void 0:n.addr,e,s,"welcome",(()=>{})).then((()=>{ds.o.track("WELCOME_MESSAGE_MODAL_FORM_SUBMIT_SUCCESS",{values:e})})).catch((t=>{ds.o.track("WELCOME_MESSAGE_MODAL_FORM_SUBMIT_FAILURE",{error:t,values:e})}))},children:e=>{let{isSubmitting:t,setFieldValue:n,values:r,setTouched:i,handleChange:o,validateField:a}=e;return(0,ms.jsxs)(gl.lV,{className:"flex flex-col select-none",children:[(0,ms.jsx)("div",{className:"p-[40px]",children:(0,ms.jsx)("span",{className:"text-white text-shadow text-[24px] font-montserrat font-black leading-normal font-montserrat",children:"Welcome to Flowty!"})}),(0,ms.jsx)("div",{className:"mx-auto p-[40px] bg-darkBg border-y border-[#343A40]",children:t?(0,ms.jsx)("div",{className:"mx-auto text-center",children:(0,ms.jsx)(yc.BM,{height:200,width:200})}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("h2",{className:"text-xl font-bold mb-[20px]",children:"Email Notification Preferences"}),(0,ms.jsxs)("div",{className:"flex flex-col space-y-[24px]",children:[(0,ms.jsx)(Bs.Al,{name:"emailOptIn",toggled:r.emailOptIn,onToggle:e=>{n("emailOptIn",e),0==e&&(n("email",""),n("subscribe",!1))},label:(0,ms.jsx)("p",{className:"text-[12px] text-[#DBDBDB] font-normal w-[21.43rem] md:w-[320px] leading-none",children:"Receive emails for new purchases, listings, loans, rentals and other user-initiated actions"})},0),(0,ms.jsx)(Bs.Al,{name:"subscribe",toggled:r.subscribe,onToggle:e=>{n("subscribe",e)},disabled:!r.emailOptIn,label:(0,ms.jsx)("p",{className:"text-[12px] text-[#DBDBDB] font-normal w-[21.43rem] md:w-[320px] leading-none",children:"Receive emails for offers received on your NFTs and Flowty marketing"})},1)]}),(0,ms.jsxs)("div",{className:"mt-[32px]",children:[(0,ms.jsx)("label",{htmlFor:"email",className:"text-base font-bold",children:"Email Address"}),(0,ms.jsx)(gl.D0,{type:"email",name:"email",id:"email",disabled:!r.emailOptIn,onChange:e=>{o(e),i({email:!0})},onKeyDown:e=>{"Backspace"!==e.key&&"Delete"!==e.key||setTimeout((()=>{""===e.target.value&&a("email")}),0),i({email:!0})},className:"border rounded-[.3125rem] leading-tight pr-[0.75rem] py-[.5rem] pl-[1.06rem] min-w-[22.687rem] text-white font-bold bg-transparent w-full mt-4 ".concat(r.emailOptIn?"opacity-100":"opacity-50 cursor-not-allowed")})]}),(0,ms.jsx)("div",{className:"mt-[32px]",children:(0,ms.jsx)(Bs.VR,{label:(0,ms.jsxs)("span",{className:"text-[#ADB5BD] text-12px font-normal",children:["I have read and agreed to Flowty's"," ",(0,ms.jsx)("a",{className:"text-primary underline",href:"https://www.flowty.io/tos",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"})," ","and"," ",(0,ms.jsx)("a",{className:"text-primary underline",href:"https://www.flowty.io/privacy",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy."})]}),name:"welcomeCheckboxTerms",id:"welcomeCheckboxTerms",errorMessage:"Please review and agree to our terms of service"})})]})}),(0,ms.jsxs)("div",{className:"bg-darkBg  rounded-b-[.625rem] py-[20px] flex flex-col items-center justify-center",children:[(0,ms.jsx)("div",{className:"w-96 mb-2",children:(0,ms.jsx)(Bs.M2,{type:"submit",text:"SAVE PREFERENCES",variant:"secondary",disabled:t||!r.welcomeCheckboxTerms||r.emailOptIn&&!r.email,btnSize:"large"})}),(0,ms.jsx)("div",{className:"text-[12px] text-[#7D7D7D] font-normal leading-normal",children:"Update preferences in Settings Page"})]})]})}})})})})})]})})]})})));var Pc=__webpack_require__(48532);function Dc(e){return e&&"object"===typeof e?"position"in e||"type"in e?Fc(e.position):"start"in e||"end"in e?Fc(e):"line"in e||"column"in e?Nc(e):"":""}function Nc(e){return Ic(e&&e.line)+":"+Ic(e&&e.column)}function Fc(e){return Nc(e&&e.start)+"-"+Nc(e&&e.end)}function Ic(e){return e&&"number"===typeof e?e:1}class Rc extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"===typeof t&&(n=t,t=void 0),"string"===typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=Dc(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="","object"===typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}Rc.prototype.file="",Rc.prototype.name="",Rc.prototype.reason="",Rc.prototype.message="",Rc.prototype.stack="",Rc.prototype.fatal=null,Rc.prototype.column=null,Rc.prototype.line=null,Rc.prototype.source=null,Rc.prototype.ruleId=null,Rc.prototype.position=null;const Mc={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');Oc(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(Oc(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){Oc(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++t<r.length;)Oc(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":function(e){Oc(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function Oc(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const jc={cwd:function(){return"/"}};function Lc(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function Bc(e){if("string"===typeof e)e=new URL(e);else if(!Lc(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const Uc=["history","path","basename","stem","extname","dirname"];class Vc{constructor(e){let t;t=e?"string"===typeof e||function(e){return Pc(e)}(e)?{value:e}:Lc(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=jc.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<Uc.length;){const e=Uc[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Uc.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){Lc(e)&&(e=Bc(e)),zc(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"===typeof this.path?Mc.dirname(this.path):void 0}set dirname(e){Zc(this.basename,"dirname"),this.path=Mc.join(e||"",this.basename)}get basename(){return"string"===typeof this.path?Mc.basename(this.path):void 0}set basename(e){zc(e,"basename"),Hc(e,"basename"),this.path=Mc.join(this.dirname||"",e)}get extname(){return"string"===typeof this.path?Mc.extname(this.path):void 0}set extname(e){if(Hc(e,"extname"),Zc(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Mc.join(this.dirname,this.stem+(e||""))}get stem(){return"string"===typeof this.path?Mc.basename(this.path,this.extname):void 0}set stem(e){zc(e,"stem"),Hc(e,"stem"),this.path=Mc.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new Rc(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function Hc(e,t){if(e&&e.includes(Mc.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Mc.sep+"`")}function zc(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Zc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var Wc=__webpack_require__(16e3),qc=__webpack_require__(98043);function Gc(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var Yc=__webpack_require__(27841);const Kc=function e(){const t=(0,Yc.S)(),n=[];let r,i={},o=-1;return a.data=function(e,t){if("string"===typeof e)return 2===arguments.length?(eu("data",r),i[e]=t,a):Qc.call(i,e)&&i[e]||null;if(e)return eu("data",r),i=e,a;return i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o<n.length;){const[e,...r]=n[o];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const i=e.call(a,...r);"function"===typeof i&&t.use(i)}return r=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];let l;if(eu("use",r),null===e||void 0===e);else if("function"===typeof e)h(e,...o);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?d(e):u(e)}l&&(i.settings=Object.assign(i.settings||{},l));return a;function c(e){if("function"===typeof e)h(e);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;h(t,...n)}else u(e)}}function u(e){d(e.plugins),e.settings&&(l=Object.assign(l||{},e.settings))}function d(e){let t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){c(e[t])}}}function h(e,t){let r,i=-1;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?(Gc(r[1])&&Gc(t)&&(t=qc(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=ru(e),n=a.Parser;if(Jc("parse",n),Xc(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=ru(t),r=a.Compiler;if($c("stringify",r),tu(e),Xc(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,n,r){tu(e),a.freeze(),r||"function"!==typeof n||(r=n,n=void 0);if(!r)return new Promise(i);function i(i,o){function a(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}t.run(e,ru(n),a)}i(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,i),nu("runSync","run",r),n;function i(e,t){(0,Wc.V)(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),Jc("process",a.Parser),$c("process",a.Compiler),!t)return new Promise(n);function n(n,r){const i=ru(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,((e,t,n)=>{if(!e&&t&&n){const i=a.stringify(t,n);void 0===i||null===i||("string"===typeof(r=i)||Pc(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),Jc("processSync",a.Parser),$c("processSync",a.Compiler);const n=ru(e);return a.process(n,r),nu("processSync","process",t),n;function r(e){t=!0,(0,Wc.V)(e)}},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(qc(!0,{},i)),t}}().freeze(),Qc={}.hasOwnProperty;function Xc(e,t){return"function"===typeof e&&e.prototype&&(function(e){let t;for(t in e)if(Qc.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function Jc(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function $c(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function eu(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tu(e){if(!Gc(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function nu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ru(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Vc(e)}const iu={};function ou(e,t,n){if(function(e){return Boolean(e&&"object"===typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return au(e.children,t,n)}return Array.isArray(e)?au(e,t,n):""}function au(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=ou(e[i],t,n);return r.join("")}function su(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function lu(e,t){return e.length>0?(su(e,e.length,0,t),e):t}const cu={}.hasOwnProperty;function uu(e){const t={};let n=-1;for(;++n<e.length;)du(t,e[n]);return t}function du(e,t){let n;for(n in t){const r=(cu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){cu.call(r,o)||(r[o]=[]);const e=i[o];hu(r[o],Array.isArray(e)?e:e?[e]:[])}}}function hu(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);su(e,0,0,r)}const pu=_u(/[A-Za-z]/),fu=_u(/[\dA-Za-z]/),mu=_u(/[#-'*+\--9=?A-Z^-~]/);function gu(e){return null!==e&&(e<32||127===e)}const vu=_u(/\d/),Cu=_u(/[\dA-Fa-f]/),yu=_u(/[!-/:-@[-`{-~]/);function bu(e){return null!==e&&e<-2}function wu(e){return null!==e&&(e<0||32===e)}function xu(e){return-2===e||-1===e||32===e}const Au=_u(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Eu=_u(/\s/);function _u(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Tu(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(xu(r))return e.enter(n),a(r);return t(r)};function a(r){return xu(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const Su={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Tu(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):bu(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const ku={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&C();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}v(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return su(t.events,o+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(i){if(a===n.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return f(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Pu,u,d)(i)}function u(e){return r&&C(),v(a),h(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,f(e)}function h(n){return t.containerState={},e.attempt(Pu,p,f)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),h(e)}function f(n){return null===n?(r&&C(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):bu(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;su(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function C(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Pu={tokenize:function(e,t,n){return Tu(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Du={tokenize:function(e,t,n){return function(t){return xu(t)?Tu(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||bu(e)?t(e):n(e)}},partial:!0};function Nu(e){const t={};let n,r,i,o,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Fu(e,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,c),a.unshift(n),su(e,r,c-r+1,a))}}return!l}function Fu(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,d,h=-1,p=n,f=0,m=0;const g=[m];for(;p;){for(;e[++i][1]!==p;);o.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++h<s.length;)"exit"===s[h][0]&&"enter"===s[h-1][0]&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){const t=s.slice(g[h],g[h+1]),n=o.pop();l.unshift([n,n+t.length-1]),su(e,n,2,t)}for(h=-1;++h<l.length;)c[f+l[h][0]]=f+l[h][1],f+=l[h][1]-l[h][0]-1;return c}const Iu={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):bu(t)?e.check(Ru,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Nu(e),e}},Ru={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Tu(e,i,"linePrefix")};function i(i){if(null===i||bu(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const Mu={tokenize:function(e){const t=this,n=e.attempt(Du,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,Tu(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Iu,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Ou={resolveAll:Uu()},ju=Bu("string"),Lu=Bu("text");function Bu(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:Uu("text"===e?Vu:void 0)}}function Uu(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function Vu(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"===typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function Hu(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function zu(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(e){bu(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:C((function(e,t){y(e,t.from)})),check:C(v),interrupt:C(v,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"===typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(p(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,b()},write:function(e){if(a=lu(a,e),m(),null!==a[a.length-1])return[];return y(t,0),u.events=Hu(o,u.events,u),u.events}};let d,h=t.tokenize.call(u,c);return t.resolveAll&&o.push(t),u;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"===typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function f(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function m(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){l=void 0,d=e,h=h(e)}function v(e,t){t.restore()}function C(e,t){return function(n,i,o){let a,d,h,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?o:g(e[d])}function g(e){return function(n){p=function(){const e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,b()}}(),h=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return C(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,v,C)(n)}}function v(t){return l=!0,e(h,p),i}function C(e){return l=!0,p.restore(),++d<a.length?g(a[d]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&su(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Zu={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||bu(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),xu(t)?Tu(e,o,"whitespace")(t):o(t))}}};const Wu={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:vu(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Zu,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return vu(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Du,r.interrupt?n:c,e.attempt(qu,d,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return xu(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Du,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Tu(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!xu(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Gu,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Tu(e,e.attempt(Wu,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},qu={tokenize:function(e,t,n){const r=this;return Tu(e,(function(e){const i=r.events[r.events.length-1];return!xu(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Gu={tokenize:function(e,t,n){const r=this;return Tu(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Yu={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return xu(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(xu(t))return Tu(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(Yu,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Ku(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d;if(null===t||32===t||41===t||gu(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t)};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||bu(t)?n(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function f(i){return u||null!==i&&41!==i&&!wu(i)?u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||gu(i)?n(i):(e.consume(i),92===i?m:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function Qu(e,t,n,r,i,o){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):bu(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||bu(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!xu(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Xu(e,t,n,r,i,o){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):bu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Tu(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||bu(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ju(e,t){let n;return function r(i){if(bu(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(xu(i))return Tu(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function $u(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ed={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return Qu.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=$u(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return wu(t)?Ju(e,s)(t):s(t)}function s(t){return Ku(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(td,c,c)(t)}function c(t){return xu(t)?Tu(e,u,"whitespace")(t):u(t)}function u(o){return null===o||bu(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},td={tokenize:function(e,t,n){return function(t){return wu(t)?Ju(e,r)(t):n(t)};function r(t){return Xu(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return xu(t)?Tu(e,o,"whitespace")(t):o(t)}function o(e){return null===e||bu(e)?t(e):n(e)}},partial:!0};const nd={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Tu(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):bu(t)?e.attempt(rd,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||bu(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},rd={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):bu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):Tu(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):bu(e)?i(e):n(e)}},partial:!0};const id={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||wu(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||bu(n)?(e.exit("atxHeading"),t(n)):xu(n)?Tu(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||wu(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},su(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const od={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),xu(t)?Tu(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||bu(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const ad=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],sd=["pre","script","style","textarea"],ld={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,p):63===s?(e.consume(s),i=3,r.interrupt?t:R):pu(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(o){return 45===o?(e.consume(o),i=2,d):91===o?(e.consume(o),i=5,s=0,h):pu(o)?(e.consume(o),i=4,r.interrupt?t:R):n(o)}function d(i){return 45===i?(e.consume(i),r.interrupt?t:R):n(i)}function h(i){const o="CDATA[";return i===o.charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:T:h):n(i)}function p(t){return pu(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||wu(s)){const l=47===s,c=a.toLowerCase();return l||o||!sd.includes(c)?ad.includes(a.toLowerCase())?(i=6,l?(e.consume(s),m):r.interrupt?t(s):T(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):v(s)):(i=1,r.interrupt?t(s):T(s))}return 45===s||fu(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:T):n(i)}function g(t){return xu(t)?(e.consume(t),g):E(t)}function v(t){return 47===t?(e.consume(t),E):58===t||95===t||pu(t)?(e.consume(t),C):xu(t)?(e.consume(t),v):E(t)}function C(t){return 45===t||46===t||58===t||95===t||fu(t)?(e.consume(t),C):y(t)}function y(t){return 61===t?(e.consume(t),b):xu(t)?(e.consume(t),y):v(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):xu(t)?(e.consume(t),b):x(t)}function w(t){return t===l?(e.consume(t),l=null,A):null===t||bu(t)?n(t):(e.consume(t),w)}function x(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||wu(t)?y(t):(e.consume(t),x)}function A(e){return 47===e||62===e||xu(e)?v(e):n(e)}function E(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||bu(t)?T(t):xu(t)?(e.consume(t),_):n(t)}function T(t){return 45===t&&2===i?(e.consume(t),D):60===t&&1===i?(e.consume(t),N):62===t&&4===i?(e.consume(t),M):63===t&&3===i?(e.consume(t),R):93===t&&5===i?(e.consume(t),I):!bu(t)||6!==i&&7!==i?null===t||bu(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),T):(e.exit("htmlFlowData"),e.check(cd,O,S)(t))}function S(t){return e.check(ud,k,O)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||bu(t)?S(t):(e.enter("htmlFlowData"),T(t))}function D(t){return 45===t?(e.consume(t),R):T(t)}function N(t){return 47===t?(e.consume(t),a="",F):T(t)}function F(t){if(62===t){const n=a.toLowerCase();return sd.includes(n)?(e.consume(t),M):T(t)}return pu(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),F):T(t)}function I(t){return 93===t?(e.consume(t),R):T(t)}function R(t){return 62===t?(e.consume(t),M):45===t&&2===i?(e.consume(t),R):T(t)}function M(t){return null===t||bu(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),M)}function O(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},cd={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Du,t,n)}},partial:!0},ud={tokenize:function(e,t,n){const r=this;return function(t){if(bu(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const dd={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},hd={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),xu(t)?Tu(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(i++,e.consume(t),u):i>=s?(e.exit("codeFencedFenceSequence"),xu(t)?Tu(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||bu(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),xu(t)?Tu(e,c,"whitespace")(t):c(t))}function c(n){return null===n||bu(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(dd,p,C)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||bu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):xu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Tu(e,d,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function d(t){return null===t||bu(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||bu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),h)}function p(t){return e.attempt(i,C,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&xu(t)?Tu(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||bu(t)?e.check(dd,p,C)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||bu(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function C(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var pd=__webpack_require__(87566);const fd={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=fu,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Cu,c):(e.enter("characterReferenceValue"),i=7,o=vu,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==fu||(0,pd.s)(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++<i?(e.consume(s),c):n(s)}}};const md={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return yu(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const gd={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Tu(e,t,"linePrefix")}}};const vd={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){if(!i)return n(t);if(i._inactive)return u(t);return o=r.parser.defined.includes($u(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s};function s(t){return 40===t?e.attempt(Cd,c,o?c:u)(t):91===t?e.attempt(yd,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(bd,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=lu(o,e.slice(r+1,r+s+3)),o=lu(o,[["enter",u,t]]),o=lu(o,Hu(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=lu(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=lu(o,e.slice(i+1)),o=lu(o,[["exit",l,t]]),su(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Cd={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return wu(t)?Ju(e,i)(t):i(t)}function i(t){return 41===t?c(t):Ku(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return wu(t)?Ju(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?Xu(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return wu(t)?Ju(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},yd={tokenize:function(e,t,n){const r=this;return function(t){return Qu.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes($u(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},bd={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const wd={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:vd.resolveAll};function xd(e){return null===e||wu(e)||Eu(e)?1:Au(e)?2:void 0}const Ad={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=xd(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=xd(s),u=!c||2===c&&i||n.includes(s),d=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!d)),l._close=Boolean(42===o?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,i,o,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),h=Object.assign({},e[u][1].start);Ed(d,-s),Ed(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:h},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=lu(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=lu(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=lu(l,Hu(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=lu(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=lu(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,su(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function Ed(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const _d={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return pu(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||fu(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||fu(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||gu(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):mu(t)?(e.consume(t),l):n(t)}function c(e){return fu(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||fu(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}};const Td={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),C):pu(t)?(e.consume(t),A):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,p):pu(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):bu(t)?(a=u,F(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?N(e):45===e?d(e):u(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),6===o?f:p):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):bu(t)?(a=f,F(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?N(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?N(t):bu(t)?(a=v,F(t)):(e.consume(t),v)}function C(t){return null===t?n(t):63===t?(e.consume(t),y):bu(t)?(a=C,F(t)):(e.consume(t),C)}function y(e){return 62===e?N(e):C(e)}function b(t){return pu(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||fu(t)?(e.consume(t),w):x(t)}function x(t){return bu(t)?(a=x,F(t)):xu(t)?(e.consume(t),x):N(t)}function A(t){return 45===t||fu(t)?(e.consume(t),A):47===t||62===t||wu(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),N):58===t||95===t||pu(t)?(e.consume(t),_):bu(t)?(a=E,F(t)):xu(t)?(e.consume(t),E):N(t)}function _(t){return 45===t||46===t||58===t||95===t||fu(t)?(e.consume(t),_):T(t)}function T(t){return 61===t?(e.consume(t),S):bu(t)?(a=T,F(t)):xu(t)?(e.consume(t),T):E(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,k):bu(t)?(a=S,F(t)):xu(t)?(e.consume(t),S):(e.consume(t),P)}function k(t){return t===i?(e.consume(t),i=void 0,D):null===t?n(t):bu(t)?(a=k,F(t)):(e.consume(t),k)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||wu(t)?E(t):(e.consume(t),P)}function D(e){return 47===e||62===e||wu(e)?E(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function F(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return xu(t)?Tu(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),a(t)}}};const Sd={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:vd.resolveAll};const kd={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return bu(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const Pd={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):bu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||bu(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const Dd={42:Wu,43:Wu,45:Wu,48:Wu,49:Wu,50:Wu,51:Wu,52:Wu,53:Wu,54:Wu,55:Wu,56:Wu,57:Wu,62:Yu},Nd={91:ed},Fd={[-2]:nd,[-1]:nd,32:nd},Id={35:id,42:Zu,45:[od,Zu],60:ld,61:od,95:Zu,96:hd,126:hd},Rd={38:fd,92:md},Md={[-5]:gd,[-4]:gd,[-3]:gd,33:wd,38:fd,42:Ad,60:[_d,Td],91:Sd,92:[kd,md],93:vd,95:Ad,96:Pd},Od={null:[Ad,Ou]},jd={null:[42,95]},Ld={null:[]};const Bd=/[\0\t\n\r]/g;function Ud(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const Vd=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Hd(e){return e.replace(Vd,zd)}function zd(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Ud(n.slice(t?2:1),t?16:10)}return(0,pd.s)(n)||e}const Zd={}.hasOwnProperty,Wd=function(t,n,r){return"string"!==typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ne),autolinkProtocol:S,autolinkEmail:S,atxHeading:s(J),blockQuote:s(G),characterEscape:S,characterReference:S,codeFenced:s(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Y,l),codeText:s(K,l),codeTextData:S,data:S,codeFlowValue:S,definition:s(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(X),hardBreakEscape:s($),hardBreakTrailing:s($),htmlFlow:s(ee,l),htmlFlowData:S,htmlText:s(ee,l),htmlTextData:S,image:s(te),label:l,link:s(ne),listItem:s(ie),listItemValue:f,listOrdered:s(re,p),listUnordered:s(re),paragraph:s(oe),reference:V,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(J),strong:s(ae),thematicBreak:s(le)},exit:{atxHeading:u(),atxHeadingSequence:A,autolink:u(),autolinkEmail:q,autolinkProtocol:W,blockQuote:u(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:Z,codeFenced:u(C),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:k,codeIndented:u(y),codeText:u(I),codeTextData:k,data:k,definition:u(),definitionDestinationString:x,definitionLabelString:b,definitionTitleString:w,emphasis:u(),hardBreakEscape:u(D),hardBreakTrailing:u(D),htmlFlow:u(N),htmlFlowData:k,htmlText:u(F),htmlTextData:k,image:u(M),label:j,labelText:O,lineEnding:P,link:u(R),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:H,resourceDestinationString:L,resourceTitleString:B,resource:U,setextHeading:u(T),setextHeadingLineSequence:_,setextHeadingText:E,strong:u(),thematicBreak:u()}};Gd(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:d,buffer:l,resume:h,setData:o,getData:a},s=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])s.push(u);else{u=i(e,s.pop(),u)}for(u=-1;++u<e.length;){const n=t[e[u][0]];Zd.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},r),e[u][1])}if(r.tokenStack.length>0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||Kd).call(r,void 0,e[0])}for(n.position={start:qd(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:qd(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)n=t.transforms[u](n)||n;return n}function i(e,t,n){let r,i,o,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(s,0,["enter",r,t[2]]),s++,n++,o=void 0,a=!0)}}return e[t][1]._spread=c,n}function o(e,t){n[e]=t}function a(e){return n[e]}function s(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:qd(t.start)},e}function u(e){return t;function t(t){e&&e.call(this,t),d.call(this,t)}}function d(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Dc({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||Kd).call(this,e,r[0])}return n.position.end=qd(e.end),n}function h(){return function(e,t){const n=t||iu;return ou(e,"boolean"!==typeof n.includeImageAlt||n.includeImageAlt,"boolean"!==typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function p(){o("expectingFirstListItemValue",!0)}function f(e){if(a("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue")}}function m(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function C(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=$u(this.sliceSerialize(e)).toLowerCase()}function w(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function A(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){o("setextHeadingSlurpLineEnding",!0)}function _(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function T(){o("setextHeadingSlurpLineEnding")}function S(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=se(),n.position={start:qd(e.start)},t.children.push(n)),this.stack.push(n)}function k(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=qd(e.end)}function P(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){return n.children[n.children.length-1].position.end=qd(e.end),void o("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(S.call(this,e),k.call(this,e))}function D(){o("atHardBreak",!0)}function N(){const e=this.resume();this.stack[this.stack.length-1].value=e}function F(){const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function M(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function O(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Hd(t),n.identifier=$u(t).toLowerCase()}function j(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function L(){const e=this.resume();this.stack[this.stack.length-1].url=e}function B(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){o("inReference")}function V(){o("referenceType","collapsed")}function H(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=$u(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function z(e){o("characterReferenceType",e.type)}function Z(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;if(n)r=Ud(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType");else{r=(0,pd.s)(t)}const i=this.stack.pop();i.value+=r,i.position.end=qd(e.end)}function W(e){k.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){k.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function G(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function Q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:void 0,children:[]}}function $(){return{type:"break"}}function ee(){return{type:"html",value:""}}function te(){return{type:"image",title:null,url:"",alt:null}}function ne(){return{type:"link",title:null,url:"",children:[]}}function re(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ie(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function oe(){return{type:"paragraph",children:[]}}function ae(){return{type:"strong",children:[]}}function se(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}(r)(function(e){for(;!Nu(e););return e}(function(t){const n={defined:[],lazy:{},constructs:uu([e,...(t||{}).extensions||[]]),content:r(Su),document:r(ku),flow:r(Mu),string:r(ju),text:r(Lu)};return n;function r(e){return function(t){return zu(n,e,t)}}}(r).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,d,h;for(i=n+i.toString(o),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(Bd.lastIndex=u,l=Bd.exec(i),d=l&&void 0!==l.index?l.index:i.length,h=i.charCodeAt(d),!l){n=i.slice(u);break}if(10===h&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(i.slice(u,d)),t+=d-u),h){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(t,n,!0))))};function qd(e){return{line:e.line,column:e.column,offset:e.offset}}function Gd(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Gd(e,r):Yd(e,r)}}function Yd(e,t){let n;for(n in t)if(Zd.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function Kd(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Dc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Dc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Dc({start:t.start,end:t.end})+") is still open")}function Qd(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return Wd(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Xd(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&fu(e.charCodeAt(n+1))&&fu(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="\ufffd"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Jd=function(e){if(void 0===e||null===e)return eh;if("string"===typeof e)return function(e){return $d(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Jd(e[n]);return $d(r);function r(){let e=-1;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;)if(t[e].call(this,...r))return!0;return!1}}(e):function(e){return $d(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return $d(e);throw new Error("Expected function, string, or object as test")};function $d(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Boolean(t&&"object"===typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function eh(){return!0}const th=!0,nh=!1,rh=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);const i=Jd(t),o=r?-1:1;!function e(a,s,l){const c=a&&"object"===typeof a?a:{};if("string"===typeof c.type){const e="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,h=[];if((!t||i(a,s,l[l.length-1]||null))&&(h=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[th,e];return[e]}(n(a,l)),h[0]===nh))return h;if(a.children&&"skip"!==h[0])for(u=(r?a.children.length:-1)+o,d=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===nh)return c;u="number"===typeof c[1]?c[1]:u+o}return h}}(e,void 0,[])()};const ih=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),rh(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},oh=sh("start"),ah=sh("end");function sh(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const lh={}.hasOwnProperty;function ch(e){return String(e||"").toUpperCase()}function uh(e,t){const n=String(t.identifier).toUpperCase(),r=Xd(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function dh(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function hh(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}var ph=__webpack_require__(44106);const fh={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:uh,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},uh(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return dh(e,t);const r={src:Xd(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Xd(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return dh(e,t);const r={href:Xd(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Xd(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=hh(n[r])}return t}(n):hh(t),o={},a=[];if("boolean"===typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=oh(t.children[1]),a=ah(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(t,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:(0,ph.E)(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:mh,yaml:mh,definition:mh,footnoteDefinition:mh};function mh(){return null}const gh={}.hasOwnProperty;function vh(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...fh,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return ih(e,"definition",(e=>{const n=ch(e.identifier);n&&!lh.call(t,n)&&(t[n]=e)})),function(e){const n=ch(e);return n&&lh.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Ch,a.applyData=yh,a.one=function(e,t){return bh(a,e,t)},a.all=function(e){return wh(a,e)},a.wrap=xh,a.augment=o,ih(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();gh.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:oh(n),end:ah(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Ch(e,t){e.position&&(t.position=function(e){return{start:oh(e),end:ah(e)}}(e))}function yh(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function bh(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return gh.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:wh(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||gh.call(n,"hProperties")||gh.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:wh(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function wh(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=bh(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function xh(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Ah(e,t){const n=vh(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),o=String(r.identifier).toUpperCase(),a=Xd(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}const Eh=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(Ah(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>Ah(t,e)}(e||t)};var _h=__webpack_require__(91814);function Th(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{ih(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"===typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"===typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var Sh=__webpack_require__(54437);function kh(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var Ph=__webpack_require__(43551),Dh=__webpack_require__(1214),Nh=__webpack_require__(61861),Fh=__webpack_require__(78394);const Ih=__webpack_require__(11647),Rh=["http","https","mailto","tel"];function Mh(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<Rh.length;){const e=Rh[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&r>i?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const Oh={}.hasOwnProperty,jh=new Set(["table","thead","tbody","tfoot","tr"]);function Lh(e,t){const n=[];let r,i=-1;for(;++i<t.children.length;)r=t.children[i],"element"===r.type?n.push(Bh(e,r,i,t)):"text"===r.type?"element"===t.type&&jh.has(t.tagName)&&kh(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function Bh(e,t,n,r){const i=e.options,o=void 0===i.transformLinkUri?Mh:i.transformLinkUri,a=e.schema,s=t.tagName,l={};let c,u=a;if("html"===a.space&&"svg"===s&&(u=_h.JW,e.schema=u),t.properties)for(c in t.properties)Oh.call(t.properties,c)&&Vh(l,c,t.properties[c],e);"ol"!==s&&"ul"!==s||e.listDepth++;const d=Lh(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const h=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},p=i.components&&Oh.call(i.components,s)?i.components[s]:s,f="string"===typeof p||p===sa.Fragment;if(!Sh.isValidElementType(p))throw new TypeError("Component for name `".concat(s,"` not defined or is not renderable"));if(l.key=n,"a"===s&&i.linkTarget&&(l.target="function"===typeof i.linkTarget?i.linkTarget(String(l.href||""),t.children,"string"===typeof l.title?l.title:null):i.linkTarget),"a"===s&&o&&(l.href=o(String(l.href||""),t.children,"string"===typeof l.title?l.title:null)),f||"code"!==s||"element"!==r.type||"pre"===r.tagName||(l.inline=!0),f||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&i.transformImageUri&&(l.src=i.transformImageUri(String(l.src||""),String(l.alt||""),"string"===typeof l.title?l.title:null)),!f&&"li"===s&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=Uh(r,t),l.ordered="ol"===r.tagName}var m;return f||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),f||(l.isHeader="th"===s)),f||"tr"!==s||"element"!==r.type||(l.isHeader=Boolean("thead"===r.tagName)),i.sourcePos&&(l["data-sourcepos"]=[(m=h).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map(String).join("")),!f&&i.rawSourcePos&&(l.sourcePosition=t.position),!f&&i.includeElementIndex&&(l.index=Uh(r,t),l.siblingCount=Uh(r)),f||(l.node=t),d.length>0?sa.createElement(p,l,d):sa.createElement(p,l)}function Uh(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Vh(e,t,n,r){const i=(0,Ph.I)(r.schema,t);let o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?(0,Fh.A)(o):(0,Nh.A)(o)),"style"===i.property&&"string"===typeof o&&(o=function(e){const t={};try{Ih(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,Hh)]=n}}(o)),i.space&&i.property?e[Oh.call(Dh.H,i.property)?Dh.H[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function Hh(e,t){return t.toUpperCase()}const zh={}.hasOwnProperty,Zh={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Wh(e){for(const o in Zh)if(zh.call(Zh,o)&&zh.call(e,o)){const e=Zh[o];console.warn("[react-markdown] Warning: please ".concat(e.to?"use `".concat(e.to,"` instead of"):"remove"," `").concat(o,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(e.id,"> for more info)")),delete Zh[o]}const t=Kc().use(Qd).use(e.remarkPlugins||[]).use(Eh,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Th,e),n=new Vc;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=sa.createElement(sa.Fragment,{},Lh({options:e,schema:_h.qy,listDepth:0},r));return e.className&&(i=sa.createElement("div",{className:e.className},i)),i}Wh.propTypes={children:da.string,className:da.string,allowElement:da.func,allowedElements:da.arrayOf(da.string),disallowedElements:da.arrayOf(da.string),unwrapDisallowed:da.bool,remarkPlugins:da.arrayOf(da.oneOfType([da.object,da.func,da.arrayOf(da.oneOfType([da.bool,da.string,da.object,da.func,da.arrayOf(da.any)]))])),rehypePlugins:da.arrayOf(da.oneOfType([da.object,da.func,da.arrayOf(da.oneOfType([da.bool,da.string,da.object,da.func,da.arrayOf(da.any)]))])),sourcePos:da.bool,rawSourcePos:da.bool,skipHtml:da.bool,includeElementIndex:da.bool,transformLinkUri:da.oneOfType([da.func,da.bool]),linkTarget:da.oneOfType([da.func,da.string]),transformImageUri:da.func,components:da.object};const qh={tokenize:function(e,t,n){let r=0;return function t(o){if((87===o||119===o)&&r<3)return r++,e.consume(o),t;if(46===o&&3===r)return e.consume(o),i;return n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},Gh={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(Kh,l,s)(t):null===t||wu(t)||Eu(t)||45!==t&&Au(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Yh={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Kh,t,o)(a):null===a||wu(a)||Eu(a)?t(a):(e.consume(a),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},Kh={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),o):93===a?(e.consume(a),i):60===a||null===a||wu(a)||Eu(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||wu(e)||Eu(e)?t(e):r(e)}function o(e){return pu(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):pu(t)?(e.consume(t),a):n(t)}},partial:!0},Qh={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return fu(e)?n(e):t(e)}},partial:!0},Xh={tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!rp.call(r,r.previous)||sp(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qh,e.attempt(Gh,e.attempt(Yh,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:rp},Jh={tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){if((72===t||104===t)&&ip.call(r,r.previous)&&!sp(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(pu(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){return null===t||gu(t)||wu(t)||Eu(t)||Au(t)?n(t):e.attempt(Gh,e.attempt(Yh,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ip},$h={tokenize:function(e,t,n){const r=this;let i,o;return function(t){if(!ap(t)||!op.call(r,r.previous)||sp(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return ap(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Qh,c,l)(t):45===t||95===t||fu(t)?(o=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),i=!0,s}function c(a){return o&&i&&pu(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:op},ep={},tp={text:ep};let np=48;for(;np<123;)ep[np]=$h,np++,58===np?np=65:91===np&&(np=97);function rp(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||wu(e)}function ip(e){return!pu(e)}function op(e){return!(47===e||ap(e))}function ap(e){return 43===e||45===e||46===e||95===e||fu(e)}function sp(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}ep[43]=$h,ep[45]=$h,ep[46]=$h,ep[95]=$h,ep[72]=[$h,Jh],ep[104]=[$h,Jh],ep[87]=[$h,Xh],ep[119]=[$h,Xh];const lp={tokenize:function(e,t,n){const r=this;return Tu(e,(function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function cp(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=$u(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!o.includes(s.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function up(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function dp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||wu(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes($u(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return wu(s)||(o=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function hp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||wu(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=$u(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return wu(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),Tu(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function pp(e,t,n){return e.check(Du,t,e.attempt(lp,t,n))}function fp(e){e.exit("gfmFootnoteDefinition")}function mp(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const l=xd(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=xd(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&su(a,a.length,0,Hu(s,e.slice(r+1,n),t)),su(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),su(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null!==t&&void 0!==t||(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class gp{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0===n&&0===r.length)return;for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function vp(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}const Cp={flow:{null:{tokenize:function(e,t,n){const r=this;let i,o=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?b:s;if(o===b&&r.parser.lazy[r.now().line])return n(e);return o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return i=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):bu(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):xu(t)?Tu(e,l,"whitespace")(t):(a+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||wu(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,xu(t)?Tu(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t))}function h(t){return 45===t||58===t?f(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):y(t)}function p(t){return xu(t)?Tu(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||bu(t)?C(t):y(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return xu(t)?Tu(e,C,"whitespace")(t):C(t)}function C(n){return 124===n?h(n):(null===n||bu(n))&&i&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function b(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||bu(n)?(e.exit("tableRow"),t(n)):xu(n)?Tu(e,w,"whitespace")(n):(e.enter("data"),x(n))}function x(t){return null===t||124===t||wu(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?A:x)}function A(t){return 92===t||124===t?(e.consume(t),x):x(t)}},resolveAll:function(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const h=new gp;for(;++o<e.length;){const p=e[o],f=p[1];"enter"===p[0]?"tableHead"===f.type?(u=!1,0!==d&&(bp(h,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},h.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=yp(h,t,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=yp(h,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,0!==l[1]?(c[0]=c[1],i=yp(h,t,l,s,o,i)):0!==c[1]&&(i=yp(h,t,c,s,o,i)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)}0!==d&&bp(h,t,d,n,r);h.consume(t.events),o=-1;for(;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=vp(t.events,o))}return e}}}};function yp(e,t,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},wp(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=wp(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=wp(t.events,n[2]),o=wp(t.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},wp(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function bp(e,t,n,r,i){const o=[],a=wp(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function wp(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const xp={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return wu(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return bu(r)?t(r):xu(r)?e.check({tokenize:Ep},t,n)(r):n(r)}}},Ap={text:{91:xp}};function Ep(e,t,n){return Tu(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}var _p=__webpack_require__(50768);const Tp={}.hasOwnProperty,Sp=function(e,t,n,r){let i,o;"string"===typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});const a=Jd(i.ignore||[]),s=function(e){const t=[];if("object"!==typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([kp(e[n][0]),Pp(e[n][1])])}else{let n;for(n in e)Tp.call(e,n)&&t.push([kp(n),Pp(e[n])])}return t}(o);let l=-1;for(;++l<s.length;)rh(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],i=s[l][1];let o=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let s=i(...d,a);if("string"===typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),o=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(o<e.value.length&&u.push({type:"text",value:e.value.slice(o)}),n.children.splice(a,1,...u)):u=[e];return a+u.length}(e,t)}};function kp(e){return"string"===typeof e?new RegExp(function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Pp(e){return"function"===typeof e?e:()=>e}const Dp="phrasing",Np=["autolink","link","image","label"],Fp={transforms:[function(e){Sp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Mp],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Op]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Rp,literalAutolinkHttp:Rp,literalAutolinkWww:Rp},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Ip={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Dp,notInConstruct:Np},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Dp,notInConstruct:Np},{character:":",before:"[ps]",after:"\\/",inConstruct:Dp,notInConstruct:Np}]};function Rp(e){this.config.enter.autolinkProtocol.call(this,e)}function Mp(e,t,n,r,i){let o="";if(!jp(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=(0,_p.D)(e,"(");let o=(0,_p.D)(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Op(e,t,n,r){return!(!jp(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function jp(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Eu(n)||Au(n))&&(!t||47!==n)}function Lp(e){return e.label||!e.identifier?e.label||"":Hd(e.identifier)}function Bp(e,t,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"===typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Up=/\r?\n|\r/g;function Vp(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Hp(e,t){return zp(e,t.inConstruct,!0)&&!zp(e,t.notInConstruct,!1)}function zp(e,t,n){if("string"===typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Zp(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!Hp(e.stack,t))continue;const n=Vp(t);let o;for(;o=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0);i.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:e,after:n})}}i.sort(Wp);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const e=i[s];e<l||e>=c||(e+1<c&&i[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||i[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&o.push(qp(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\")))}return o.push(qp(r.slice(l,c),n.after)),o.join("")}function Wp(e,t){return e-t}function qp(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=e+t;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(e.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(e.slice(l)),i.join("")}function Gp(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function Yp(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Kp(){this.buffer()}function Qp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=$u(this.sliceSerialize(e)).toLowerCase()}function Xp(e){this.exit(e)}function Jp(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function $p(){this.buffer()}function ef(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=$u(this.sliceSerialize(e)).toLowerCase()}function tf(e){this.exit(e)}function nf(e,t,n,r){const i=Gp(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(Zp(n,Lp(e),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}function rf(e,t,n,r){const i=Gp(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(Zp(n,Lp(e),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(function(e,t){const n=[];let r,i=0,o=0;for(;r=Up.exec(e);)a(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(e.slice(i)),n.join("");function a(e){n.push(t(e,o,!e))}}(function(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(Bp(n,i[s+1],e,t)))}return r.pop(),a.join("")}(e,n,i.current()),of)),a(),o}function of(e,t,n){return 0===t?e:(n?"":"    ")+e}function af(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a<i.length;){const c=i[a];let u;if(r[r.length-1]=a,a+1<i.length){let n=t.handle.handlers[i[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}nf.peek=function(){return"["};cf.peek=function(){return"~"};const sf={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},lf={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:cf}};function cf(e,t,n,r){const i=Gp(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=af(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function uf(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=Vp(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}uf.peek=function(){return"`"};var df=__webpack_require__(55744);const hf={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:ff,tableHeader:ff,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,mf));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:pf,tableHeader:pf,tableRow:pf}};function pf(e){this.exit(e)}function ff(e){this.enter({type:"tableCell",children:[]},e)}function mf(e,t){return"|"===t?t:e}function gf(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){const i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=uf(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=af(e,n,{...r,before:o,after:o});return a(),i(),s}function s(e,t){return(0,df.Q)(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function vf(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"===typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e}));return l(),c}const Cf={exit:{taskListCheckValueChecked:bf,taskListCheckValueUnchecked:bf,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"===typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},yf={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const i=e.children[0],o="boolean"===typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=Gp(r);o&&s.move(a);let l=vf(e,t,n,{...r,...s.current()});o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return l}}};function bf(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function wf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return uu([tp,{document:{91:{tokenize:hp,continuation:{tokenize:pp},exit:fp}},text:{91:{tokenize:dp},93:{add:"after",tokenize:cp,resolveTo:up}}},mp(e),Cp,Ap])}(e)),n("fromMarkdownExtensions",[Fp,{enter:{gfmFootnoteDefinition:Yp,gfmFootnoteDefinitionLabelString:Kp,gfmFootnoteCall:Jp,gfmFootnoteCallString:$p},exit:{gfmFootnoteDefinition:Xp,gfmFootnoteDefinitionLabelString:Qp,gfmFootnoteCall:tf,gfmFootnoteCallString:ef}},sf,hf,Cf]),n("toMarkdownExtensions",function(e){return{extensions:[Ip,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:rf,footnoteReference:nf}},lf,gf(e),yf]}}(e))}const xf=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))}));var Af=__webpack_require__(86718),Ef=__webpack_require__(67687);const _f=()=>{const{messageType:e,sporkMessage:t,isShowing:n,setIsShowing:r}=Ms(),i=(0,sa.useRef)(null),o=(0,sa.useRef)(!1),{pathname:a}=(0,Os.zy)();return(0,sa.useEffect)((()=>{if(!o.current&&t&&n){var e;const n=document.createRange().createContextualFragment(t);null===(e=i.current)||void 0===e||e.append(n),o.current=!0}}),[t,n]),(0,ms.jsx)(ms.Fragment,{children:t&&n&&"/create"!==a&&(0,ms.jsx)("div",{className:"rounded-md  bg-opacity-10 border-[0.5px]  p-6 mb-8 flex w-full\n\t\t\t".concat("info"===e?"bg-[#3A70D9] border-[#3A70D9]":"warning"===e?"border-[#FF6E25] bg-[#FF6E25]":"border-danger bg-danger","\n\t\t"),children:(0,ms.jsxs)("div",{className:"flex justify-between w-full",children:[(0,ms.jsxs)("div",{className:"flex",children:[(0,ms.jsx)("div",{className:"px-2",children:"info"===e?(0,ms.jsx)(xf,{className:"h-6 w-6 text-[#3A70D9]","aria-hidden":"true"}):(0,ms.jsx)(Af.A,{className:"h-6 w-6 ".concat("warning"===e?"text-[#FF6E25]":"text-danger")})}),(0,ms.jsxs)("div",{className:"flex flex-col px-1 py-0.5 ",children:[(0,ms.jsx)("h2",{className:"uppercase  \n\t\t\t\t".concat("info"===e?"text-[#3A70D9]":"warning"===e?"text-[#FF6E25]":"text-danger","\n\t\t\t\t"),children:e}),(0,ms.jsx)(Wh,{remarkPlugins:[wf],className:"text-base markdown-messages",children:t})]})]}),(0,ms.jsx)("div",{className:"h-full flex items-center px-2",children:(0,ms.jsx)(Ef.A,{onClick:()=>r(!1),className:"h-7 w-7 cursor-pointer hover:text-danger"})})]})})})};var Tf=__webpack_require__(48231);var Sf=__webpack_require__(59238);const kf=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;try{return await dc.tx(e).onceSealed()}catch(r){const i=(0,us.getMessageFromError)(r);if(i.includes("panic")||i.includes("assertion failed")||i.includes("Execution failed"))throw new Error(i);if(0===t)throw new Error(Sf.CustomErrorMessages.UnableToFollowTransactionResult);return await fc(n),kf(e,t-1)}};var Pf=__webpack_require__(88729),Df=__webpack_require__(75805),Nf=__webpack_require__(76096),Ff=__webpack_require__(65587),If=__webpack_require__(35877);function Rf(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const Mf=Rf,Of=new Df.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),jf=new Nf.Vy("@firebase/auth");function Lf(e){if(jf.logLevel<=Nf.$b.ERROR){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];jf.error("Auth (".concat(Pf.SDK_VERSION,"): ").concat(e),...n)}}function Bf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw zf(e,...n)}function Uf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return zf(e,...n)}function Vf(e,t,n){const r=Object.assign(Object.assign({},Mf()),{[t]:n});return new Df.FA("auth","Firebase",r).create(t,{appName:e.name})}function Hf(e){return Vf(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function zf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("string"!==typeof e){const t=n[0],r=[...n.slice(1)];return r[0]&&(r[0].appName=e.name),e._errorFactory.create(t,...r)}return Of.create(e,...n)}function Zf(e,t){if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];throw zf(t,...r)}}function Wf(e){const t="INTERNAL ASSERTION FAILED: "+e;throw Lf(t),new Error(t)}function qf(e,t){e||Wf(t)}function Gf(){return"http:"===Yf()||"https:"===Yf()}function Yf(){var e;return"undefined"!==typeof self&&(null===(e=self.location)||void 0===e?void 0:e.protocol)||null}class Kf{constructor(e,t){this.shortDelay=e,this.longDelay=t,qf(t>e,"Short delay should be less than long delay!"),this.isMobile=(0,Df.jZ)()||(0,Df.lV)()}get(){return"undefined"!==typeof navigator&&navigator&&"onLine"in navigator&&"boolean"===typeof navigator.onLine&&(Gf()||(0,Df.sr)()||"connection"in navigator)&&!navigator.onLine?Math.min(5e3,this.shortDelay):this.isMobile?this.longDelay:this.shortDelay}}function Qf(e,t){qf(e.emulator,"Emulator should always be set here");const{url:n}=e.emulator;return t?"".concat(n).concat(t.startsWith("/")?t.slice(1):t):n}class Xf{static initialize(e,t,n){this.fetchImpl=e,t&&(this.headersImpl=t),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:"undefined"!==typeof self&&"fetch"in self?self.fetch:"undefined"!==typeof globalThis&&globalThis.fetch?globalThis.fetch:"undefined"!==typeof fetch?fetch:void Wf("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:"undefined"!==typeof self&&"Headers"in self?self.Headers:"undefined"!==typeof globalThis&&globalThis.Headers?globalThis.Headers:"undefined"!==typeof Headers?Headers:void Wf("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:"undefined"!==typeof self&&"Response"in self?self.Response:"undefined"!==typeof globalThis&&globalThis.Response?globalThis.Response:"undefined"!==typeof Response?Response:void Wf("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const Jf={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},$f=new Kf(3e4,6e4);function em(e,t){return e.tenantId&&!t.tenantId?Object.assign(Object.assign({},t),{tenantId:e.tenantId}):t}async function tm(e,t,n,r){return nm(e,arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},(async()=>{let i={},o={};r&&("GET"===t?o=r:i={body:JSON.stringify(r)});const a=(0,Df.Am)(Object.assign({key:e.config.apiKey},o)).slice(1),s=await e._getAdditionalHeaders();return s["Content-Type"]="application/json",e.languageCode&&(s["X-Firebase-Locale"]=e.languageCode),Xf.fetch()(im(e,e.config.apiHost,n,a),Object.assign({method:t,headers:s,referrerPolicy:"no-referrer"},i))}))}async function nm(e,t,n){e._canInitEmulator=!1;const r=Object.assign(Object.assign({},Jf),t);try{const t=new am(e),i=await Promise.race([n(),t.promise]);t.clearNetworkTimeout();const o=await i.json();if("needConfirmation"in o)throw sm(e,"account-exists-with-different-credential",o);if(i.ok&&!("errorMessage"in o))return o;{const t=i.ok?o.errorMessage:o.error.message,[n,a]=t.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===n)throw sm(e,"credential-already-in-use",o);if("EMAIL_EXISTS"===n)throw sm(e,"email-already-in-use",o);if("USER_DISABLED"===n)throw sm(e,"user-disabled",o);const s=r[n]||n.toLowerCase().replace(/[_\s]+/g,"-");if(a)throw Vf(e,s,a);Bf(e,s)}}catch(i){if(i instanceof Df.g)throw i;Bf(e,"network-request-failed",{message:String(i)})}}async function rm(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const o=await tm(e,t,n,r,i);return"mfaPendingCredential"in o&&Bf(e,"multi-factor-auth-required",{_serverResponse:o}),o}function im(e,t,n,r){const i="".concat(t).concat(n,"?").concat(r);return e.config.emulator?Qf(e.config,i):"".concat(e.config.apiScheme,"://").concat(i)}function om(e){switch(e){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class am{constructor(e){this.auth=e,this.timer=null,this.promise=new Promise(((e,t)=>{this.timer=setTimeout((()=>t(Uf(this.auth,"network-request-failed"))),$f.get())}))}clearNetworkTimeout(){clearTimeout(this.timer)}}function sm(e,t,n){const r={appName:e.name};n.email&&(r.email=n.email),n.phoneNumber&&(r.phoneNumber=n.phoneNumber);const i=Uf(e,t,r);return i.customData._tokenResponse=n,i}function lm(e){return void 0!==e&&void 0!==e.enterprise}class cm{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===e.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(const t of this.recaptchaEnforcementState)if(t.provider&&t.provider===e)return om(t.enforcementState);return null}isProviderEnabled(e){return"ENFORCE"===this.getProviderEnforcementState(e)||"AUDIT"===this.getProviderEnforcementState(e)}}async function um(e,t){return tm(e,"GET","/v2/recaptchaConfig",em(e,t))}async function dm(e,t){return tm(e,"POST","/v1/accounts:lookup",t)}function hm(e){if(e)try{const t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch(t){}}function pm(e){return 1e3*Number(e)}function fm(e){const[t,n,r]=e.split(".");if(void 0===t||void 0===n||void 0===r)return Lf("JWT malformed, contained fewer than 3 sections"),null;try{const e=(0,Df.u)(n);return e?JSON.parse(e):(Lf("Failed to decode base64 JWT payload"),null)}catch(i){return Lf("Caught error parsing JWT payload as JSON",null===i||void 0===i?void 0:i.toString()),null}}function mm(e){const t=fm(e);return Zf(t,"internal-error"),Zf("undefined"!==typeof t.exp,"internal-error"),Zf("undefined"!==typeof t.iat,"internal-error"),Number(t.exp)-Number(t.iat)}async function gm(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return t;try{return await t}catch(n){throw n instanceof Df.g&&function(e){let{code:t}=e;return t==="auth/".concat("user-disabled")||t==="auth/".concat("user-token-expired")}(n)&&e.auth.currentUser===e&&await e.auth.signOut(),n}}class vm{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(e){var t;if(e){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const e=(null!==(t=this.user.stsTokenManager.expirationTime)&&void 0!==t?t:0)-Date.now()-3e5;return Math.max(0,e)}}schedule(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isRunning)return;const t=this.getInterval(e);this.timerId=setTimeout((async()=>{await this.iteration()}),t)}async iteration(){try{await this.user.getIdToken(!0)}catch(e){return void((null===e||void 0===e?void 0:e.code)==="auth/".concat("network-request-failed")&&this.schedule(!0))}this.schedule()}}class Cm{constructor(e,t){this.createdAt=e,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=hm(this.lastLoginAt),this.creationTime=hm(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}async function ym(e){var t;const n=e.auth,r=await e.getIdToken(),i=await gm(e,dm(n,{idToken:r}));Zf(null===i||void 0===i?void 0:i.users.length,n,"internal-error");const o=i.users[0];e._notifyReloadListener(o);const a=(null===(t=o.providerUserInfo)||void 0===t?void 0:t.length)?bm(o.providerUserInfo):[],s=(l=e.providerData,c=a,[...l.filter((e=>!c.some((t=>t.providerId===e.providerId)))),...c]);var l,c;const u=e.isAnonymous,d=!(e.email&&o.passwordHash)&&!(null===s||void 0===s?void 0:s.length),h=!!u&&d,p={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:s,metadata:new Cm(o.createdAt,o.lastLoginAt),isAnonymous:h};Object.assign(e,p)}function bm(e){return e.map((e=>{var{providerId:t}=e,n=(0,Ff.Tt)(e,["providerId"]);return{providerId:t,uid:n.rawId||"",displayName:n.displayName||null,email:n.email||null,phoneNumber:n.phoneNumber||null,photoURL:n.photoUrl||null}}))}class wm{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){Zf(e.idToken,"internal-error"),Zf("undefined"!==typeof e.idToken,"internal-error"),Zf("undefined"!==typeof e.refreshToken,"internal-error");const t="expiresIn"in e&&"undefined"!==typeof e.expiresIn?Number(e.expiresIn):mm(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,t)}updateFromIdToken(e){Zf(0!==e.length,"internal-error");const t=mm(e);this.updateTokensAndExpiration(e,null,t)}async getToken(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]||!this.accessToken||this.isExpired?(Zf(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null):this.accessToken}clearRefreshToken(){this.refreshToken=null}async refresh(e,t){const{accessToken:n,refreshToken:r,expiresIn:i}=await async function(e,t){const n=await nm(e,{},(async()=>{const n=(0,Df.Am)({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:r,apiKey:i}=e.config,o=im(e,r,"/v1/token","key=".concat(i)),a=await e._getAdditionalHeaders();return a["Content-Type"]="application/x-www-form-urlencoded",Xf.fetch()(o,{method:"POST",headers:a,body:n})}));return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}}(e,t);this.updateTokensAndExpiration(n,r,Number(i))}updateTokensAndExpiration(e,t,n){this.refreshToken=t||null,this.accessToken=e||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(e,t){const{refreshToken:n,accessToken:r,expirationTime:i}=t,o=new wm;return n&&(Zf("string"===typeof n,"internal-error",{appName:e}),o.refreshToken=n),r&&(Zf("string"===typeof r,"internal-error",{appName:e}),o.accessToken=r),i&&(Zf("number"===typeof i,"internal-error",{appName:e}),o.expirationTime=i),o}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new wm,this.toJSON())}_performRefresh(){return Wf("not implemented")}}function xm(e,t){Zf("string"===typeof e||"undefined"===typeof e,"internal-error",{appName:t})}class Am{constructor(e){var{uid:t,auth:n,stsTokenManager:r}=e,i=(0,Ff.Tt)(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new vm(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=n,this.stsTokenManager=r,this.accessToken=r.accessToken,this.displayName=i.displayName||null,this.email=i.email||null,this.emailVerified=i.emailVerified||!1,this.phoneNumber=i.phoneNumber||null,this.photoURL=i.photoURL||null,this.isAnonymous=i.isAnonymous||!1,this.tenantId=i.tenantId||null,this.providerData=i.providerData?[...i.providerData]:[],this.metadata=new Cm(i.createdAt||void 0,i.lastLoginAt||void 0)}async getIdToken(e){const t=await gm(this,this.stsTokenManager.getToken(this.auth,e));return Zf(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(e){return async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(0,Df.Ku)(e),r=await n.getIdToken(t),i=fm(r);Zf(i&&i.exp&&i.auth_time&&i.iat,n.auth,"internal-error");const o="object"===typeof i.firebase?i.firebase:void 0,a=null===o||void 0===o?void 0:o.sign_in_provider;return{claims:i,token:r,authTime:hm(pm(i.auth_time)),issuedAtTime:hm(pm(i.iat)),expirationTime:hm(pm(i.exp)),signInProvider:a||null,signInSecondFactor:(null===o||void 0===o?void 0:o.sign_in_second_factor)||null}}(this,e)}reload(){return async function(e){const t=(0,Df.Ku)(e);await ym(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}(this)}_assign(e){this!==e&&(Zf(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map((e=>Object.assign({},e))),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const t=new Am(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return t.metadata._copy(this.metadata),t}_onReload(e){Zf(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),n=!0),t&&await ym(this),await this.auth._persistUserIfCurrent(this),n&&this.auth._notifyListenersIfCurrent(this)}async delete(){if((0,Pf._isFirebaseServerApp)(this.auth.app))return Promise.reject(Hf(this.auth));const e=await this.getIdToken();return await gm(this,async function(e,t){return tm(e,"POST","/v1/accounts:delete",t)}(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map((e=>Object.assign({},e))),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,t){var n,r,i,o,a,s,l,c;const u=null!==(n=t.displayName)&&void 0!==n?n:void 0,d=null!==(r=t.email)&&void 0!==r?r:void 0,h=null!==(i=t.phoneNumber)&&void 0!==i?i:void 0,p=null!==(o=t.photoURL)&&void 0!==o?o:void 0,f=null!==(a=t.tenantId)&&void 0!==a?a:void 0,m=null!==(s=t._redirectEventId)&&void 0!==s?s:void 0,g=null!==(l=t.createdAt)&&void 0!==l?l:void 0,v=null!==(c=t.lastLoginAt)&&void 0!==c?c:void 0,{uid:C,emailVerified:y,isAnonymous:b,providerData:w,stsTokenManager:x}=t;Zf(C&&x,e,"internal-error");const A=wm.fromJSON(this.name,x);Zf("string"===typeof C,e,"internal-error"),xm(u,e.name),xm(d,e.name),Zf("boolean"===typeof y,e,"internal-error"),Zf("boolean"===typeof b,e,"internal-error"),xm(h,e.name),xm(p,e.name),xm(f,e.name),xm(m,e.name),xm(g,e.name),xm(v,e.name);const E=new Am({uid:C,auth:e,email:d,emailVerified:y,displayName:u,isAnonymous:b,photoURL:p,phoneNumber:h,tenantId:f,stsTokenManager:A,createdAt:g,lastLoginAt:v});return w&&Array.isArray(w)&&(E.providerData=w.map((e=>Object.assign({},e)))),m&&(E._redirectEventId=m),E}static async _fromIdTokenResponse(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=new wm;r.updateFromServerResponse(t);const i=new Am({uid:t.localId,auth:e,stsTokenManager:r,isAnonymous:n});return await ym(i),i}static async _fromGetAccountInfoResponse(e,t,n){const r=t.users[0];Zf(void 0!==r.localId,"internal-error");const i=void 0!==r.providerUserInfo?bm(r.providerUserInfo):[],o=!(r.email&&r.passwordHash)&&!(null===i||void 0===i?void 0:i.length),a=new wm;a.updateFromIdToken(n);const s=new Am({uid:r.localId,auth:e,stsTokenManager:a,isAnonymous:o}),l={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:i,metadata:new Cm(r.createdAt,r.lastLoginAt),isAnonymous:!(r.email&&r.passwordHash)&&!(null===i||void 0===i?void 0:i.length)};return Object.assign(s,l),s}}const Em=new Map;function _m(e){qf(e instanceof Function,"Expected a class definition");let t=Em.get(e);return t?(qf(t instanceof e,"Instance stored in cache mismatched with class"),t):(t=new e,Em.set(e,t),t)}class Tm{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,t){this.storage[e]=t}async _get(e){const t=this.storage[e];return void 0===t?null:t}async _remove(e){delete this.storage[e]}_addListener(e,t){}_removeListener(e,t){}}Tm.type="NONE";const Sm=Tm;function km(e,t,n){return"firebase".concat(":",e,":").concat(t,":").concat(n)}class Pm{constructor(e,t,n){this.persistence=e,this.auth=t,this.userKey=n;const{config:r,name:i}=this.auth;this.fullUserKey=km(this.userKey,r.apiKey,i),this.fullPersistenceKey=km("persistence",r.apiKey,i),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);return e?Am._fromJSON(this.auth,e):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const t=await this.getCurrentUser();return await this.removeCurrentUser(),this.persistence=e,t?this.setCurrentUser(t):void 0}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"authUser";if(!t.length)return new Pm(_m(Sm),e,n);const r=(await Promise.all(t.map((async e=>{if(await e._isAvailable())return e})))).filter((e=>e));let i=r[0]||_m(Sm);const o=km(n,e.config.apiKey,e.name);let a=null;for(const c of t)try{const t=await c._get(o);if(t){const n=Am._fromJSON(e,t);c!==i&&(a=n),i=c;break}}catch(l){}const s=r.filter((e=>e._shouldAllowMigration));return i._shouldAllowMigration&&s.length?(i=s[0],a&&await i._set(o,a.toJSON()),await Promise.all(t.map((async e=>{if(e!==i)try{await e._remove(o)}catch(l){}}))),new Pm(i,e,n)):new Pm(i,e,n)}}function Dm(e){const t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(Rm(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(Nm(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(Om(t))return"Blackberry";if(jm(t))return"Webos";if(Fm(t))return"Safari";if((t.includes("chrome/")||Im(t))&&!t.includes("edge/"))return"Chrome";if(Mm(t))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,n=e.match(t);if(2===(null===n||void 0===n?void 0:n.length))return n[1]}return"Other"}function Nm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/firefox\//i.test(e)}function Fm(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)()).toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function Im(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/crios\//i.test(e)}function Rm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/iemobile/i.test(e)}function Mm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/android/i.test(e)}function Om(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/blackberry/i.test(e)}function jm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/webos/i.test(e)}function Lm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function Bm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Df.ZQ)();return Lm(e)||Mm(e)||jm(e)||Om(e)||/windows phone/i.test(e)||Rm(e)}function Um(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];switch(e){case"Browser":t=Dm((0,Df.ZQ)());break;case"Worker":t="".concat(Dm((0,Df.ZQ)()),"-").concat(e);break;default:t=e}const r=n.length?n.join(","):"FirebaseCore-web";return"".concat(t,"/","JsCore","/").concat(Pf.SDK_VERSION,"/").concat(r)}class Vm{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,t){const n=t=>new Promise(((n,r)=>{try{n(e(t))}catch(i){r(i)}}));n.onAbort=t,this.queue.push(n);const r=this.queue.length-1;return()=>{this.queue[r]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const t=[];try{for(const n of this.queue)await n(e),n.onAbort&&t.push(n.onAbort)}catch(n){t.reverse();for(const e of t)try{e()}catch(ns){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:null===n||void 0===n?void 0:n.message})}}}class Hm{constructor(e){var t,n,r,i;const o=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(t=o.minPasswordLength)&&void 0!==t?t:6,o.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=o.maxPasswordLength),void 0!==o.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=o.containsLowercaseCharacter),void 0!==o.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=o.containsUppercaseCharacter),void 0!==o.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=o.containsNumericCharacter),void 0!==o.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=o.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(r=null===(n=e.allowedNonAlphanumericCharacters)||void 0===n?void 0:n.join(""))&&void 0!==r?r:"",this.forceUpgradeOnSignin=null!==(i=e.forceUpgradeOnSignin)&&void 0!==i&&i,this.schemaVersion=e.schemaVersion}validatePassword(e){var t,n,r,i,o,a;const s={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,s),this.validatePasswordCharacterOptions(e,s),s.isValid&&(s.isValid=null===(t=s.meetsMinPasswordLength)||void 0===t||t),s.isValid&&(s.isValid=null===(n=s.meetsMaxPasswordLength)||void 0===n||n),s.isValid&&(s.isValid=null===(r=s.containsLowercaseLetter)||void 0===r||r),s.isValid&&(s.isValid=null===(i=s.containsUppercaseLetter)||void 0===i||i),s.isValid&&(s.isValid=null===(o=s.containsNumericCharacter)||void 0===o||o),s.isValid&&(s.isValid=null===(a=s.containsNonAlphanumericCharacter)||void 0===a||a),s}validatePasswordLengthOptions(e,t){const n=this.customStrengthOptions.minPasswordLength,r=this.customStrengthOptions.maxPasswordLength;n&&(t.meetsMinPasswordLength=e.length>=n),r&&(t.meetsMaxPasswordLength=e.length<=r)}validatePasswordCharacterOptions(e,t){let n;this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);for(let r=0;r<e.length;r++)n=e.charAt(r),this.updatePasswordCharacterOptionsStatuses(t,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(e,t,n,r,i){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=r)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=i))}}class zm{constructor(e,t,n,r){this.app=e,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=n,this.config=r,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new Wm(this),this.idTokenSubscription=new Wm(this),this.beforeStateQueue=new Vm(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=Of,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=r.sdkClientVersion}_initializeWithPersistence(e,t){return t&&(this._popupRedirectResolver=_m(t)),this._initializationPromise=this.queue((async()=>{var n,r;if(!this._deleted&&(this.persistenceManager=await Pm.create(this,e),!this._deleted)){if(null===(n=this._popupRedirectResolver)||void 0===n?void 0:n._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch(i){}await this.initializeCurrentUser(t),this.lastNotifiedUid=(null===(r=this.currentUser)||void 0===r?void 0:r.uid)||null,this._deleted||(this._isInitialized=!0)}})),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();return this.currentUser||e?this.currentUser&&e&&this.currentUser.uid===e.uid?(this._currentUser._assign(e),void await this.currentUser.getIdToken()):void await this._updateCurrentUser(e,!0):void 0}async initializeCurrentUserFromIdToken(e){try{const t=await dm(this,{idToken:e}),n=await Am._fromGetAccountInfoResponse(this,t,e);await this.directlySetCurrentUser(n)}catch(t){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",t),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var t;if((0,Pf._isFirebaseServerApp)(this.app)){const e=this.app.settings.authIdToken;return e?new Promise((t=>{setTimeout((()=>this.initializeCurrentUserFromIdToken(e).then(t,t)))})):this.directlySetCurrentUser(null)}const n=await this.assertedPersistence.getCurrentUser();let r=n,i=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const n=null===(t=this.redirectUser)||void 0===t?void 0:t._redirectEventId,o=null===r||void 0===r?void 0:r._redirectEventId,a=await this.tryRedirectSignIn(e);n&&n!==o||!(null===a||void 0===a?void 0:a.user)||(r=a.user,i=!0)}if(!r)return this.directlySetCurrentUser(null);if(!r._redirectEventId){if(i)try{await this.beforeStateQueue.runMiddleware(r)}catch(o){r=n,this._popupRedirectResolver._overrideRedirectResult(this,(()=>Promise.reject(o)))}return r?this.reloadAndSetCurrentUserOrClear(r):this.directlySetCurrentUser(null)}return Zf(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===r._redirectEventId?this.directlySetCurrentUser(r):this.reloadAndSetCurrentUserOrClear(r)}async tryRedirectSignIn(e){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch(n){await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(e){try{await ym(e)}catch(t){if((null===t||void 0===t?void 0:t.code)!=="auth/".concat("network-request-failed"))return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=function(){if("undefined"===typeof navigator)return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if((0,Pf._isFirebaseServerApp)(this.app))return Promise.reject(Hf(this));const t=e?(0,Df.Ku)(e):null;return t&&Zf(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._deleted)return e&&Zf(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(e),this.queue((async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()}))}async signOut(){return(0,Pf._isFirebaseServerApp)(this.app)?Promise.reject(Hf(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return(0,Pf._isFirebaseServerApp)(this.app)?Promise.reject(Hf(this)):this.queue((async()=>{await this.assertedPersistence.setPersistence(_m(e))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(e)}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await async function(e){return tm(e,"GET","/v2/passwordPolicy",em(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}(this),t=new Hm(e);null===this.tenantId?this._projectPasswordPolicy=t:this._tenantPasswordPolicies[this.tenantId]=t}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new Df.FA("auth","Firebase",e())}onAuthStateChanged(e,t,n){return this.registerStateListener(this.authStateSubscription,e,t,n)}beforeAuthStateChanged(e,t){return this.beforeStateQueue.pushCallback(e,t)}onIdTokenChanged(e,t,n){return this.registerStateListener(this.idTokenSubscription,e,t,n)}authStateReady(){return new Promise(((e,t)=>{if(this.currentUser)e();else{const n=this.onAuthStateChanged((()=>{n(),e()}),t)}}))}async revokeAccessToken(e){if(this.currentUser){const t={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:await this.currentUser.getIdToken()};null!=this.tenantId&&(t.tenantId=this.tenantId),await async function(e,t){return tm(e,"POST","/v2/accounts:revokeToken",em(e,t))}(this,t)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(e=this._currentUser)||void 0===e?void 0:e.toJSON()}}async _setRedirectUser(e,t){const n=await this.getOrInitRedirectPersistenceManager(t);return null===e?n.removeCurrentUser():n.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const t=e&&_m(e)||this._popupRedirectResolver;Zf(t,this,"argument-error"),this.redirectPersistenceManager=await Pm.create(this,[_m(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var t,n;return this._isInitialized&&await this.queue((async()=>{})),(null===(t=this._currentUser)||void 0===t?void 0:t._redirectEventId)===e?this._currentUser:(null===(n=this.redirectUser)||void 0===n?void 0:n._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue((async()=>this.directlySetCurrentUser(e)))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return"".concat(this.config.authDomain,":").concat(this.config.apiKey,":").concat(this.name)}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,t;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const n=null!==(t=null===(e=this.currentUser)||void 0===e?void 0:e.uid)&&void 0!==t?t:null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,t,n,r){if(this._deleted)return()=>{};const i="function"===typeof t?t:t.next.bind(t);let o=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(Zf(a,this,"internal-error"),a.then((()=>{o||i(this.currentUser)})),"function"===typeof t){const i=e.addObserver(t,n,r);return()=>{o=!0,i()}}{const n=e.addObserver(t);return()=>{o=!0,n()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return Zf(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){e&&!this.frameworks.includes(e)&&(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=Um(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const t={"X-Client-Version":this.clientVersion};this.app.options.appId&&(t["X-Firebase-gmpid"]=this.app.options.appId);const n=await(null===(e=this.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getHeartbeatsHeader());n&&(t["X-Firebase-Client"]=n);const r=await this._getAppCheckToken();return r&&(t["X-Firebase-AppCheck"]=r),t}async _getAppCheckToken(){var e;const t=await(null===(e=this.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getToken());return(null===t||void 0===t?void 0:t.error)&&function(e){if(jf.logLevel<=Nf.$b.WARN){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];jf.warn("Auth (".concat(Pf.SDK_VERSION,"): ").concat(e),...n)}}("Error while retrieving App Check token: ".concat(t.error)),null===t||void 0===t?void 0:t.token}}function Zm(e){return(0,Df.Ku)(e)}class Wm{constructor(e){this.auth=e,this.observer=null,this.addObserver=(0,Df.tD)((e=>this.observer=e))}get next(){return Zf(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let qm={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function Gm(e){return qm.loadJS(e)}function Ym(e){return"__".concat(e).concat(Math.floor(1e6*Math.random()))}class Km{constructor(e){this.type="recaptcha-enterprise",this.auth=Zm(e)}async verify(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"verify",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(t,n,r){const i=window.grecaptcha;lm(i)?i.enterprise.ready((()=>{i.enterprise.execute(t,{action:e}).then((e=>{n(e)})).catch((()=>{n("NO_RECAPTCHA")}))})):r(Error("No reCAPTCHA enterprise script loaded."))}return new Promise(((e,r)=>{(async function(e){if(!t){if(null==e.tenantId&&null!=e._agentRecaptchaConfig)return e._agentRecaptchaConfig.siteKey;if(null!=e.tenantId&&void 0!==e._tenantRecaptchaConfigs[e.tenantId])return e._tenantRecaptchaConfigs[e.tenantId].siteKey}return new Promise((async(t,n)=>{um(e,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then((r=>{if(void 0!==r.recaptchaKey){const n=new cm(r);return null==e.tenantId?e._agentRecaptchaConfig=n:e._tenantRecaptchaConfigs[e.tenantId]=n,t(n.siteKey)}n(new Error("recaptcha Enterprise site key undefined"))})).catch((e=>{n(e)}))}))})(this.auth).then((i=>{if(!t&&lm(window.grecaptcha))n(i,e,r);else{if("undefined"===typeof window)return void r(new Error("RecaptchaVerifier is only supported in browser"));let t=qm.recaptchaEnterpriseScript;0!==t.length&&(t+=i),Gm(t).then((()=>{n(i,e,r)})).catch((e=>{r(e)}))}})).catch((e=>{r(e)}))}))}}async function Qm(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=new Km(e);let o;try{o=await i.verify(n)}catch(s){o=await i.verify(n,!0)}const a=Object.assign({},t);return r?Object.assign(a,{captchaResp:o}):Object.assign(a,{captchaResponse:o}),Object.assign(a,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(a,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),a}async function Xm(e,t,n,r){var i;if(null===(i=e._getRecaptchaConfig())||void 0===i?void 0:i.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const i=await Qm(e,t,n,"getOobCode"===n);return r(e,i)}return r(e,t).catch((async i=>{if(i.code==="auth/".concat("missing-recaptcha-token")){console.log("".concat(n," is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow."));const i=await Qm(e,t,n,"getOobCode"===n);return r(e,i)}return Promise.reject(i)}))}class Jm{constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return Wf("not implemented")}_getIdTokenResponse(e){return Wf("not implemented")}_linkToIdToken(e,t){return Wf("not implemented")}_getReauthenticationResolver(e){return Wf("not implemented")}}async function $m(e,t){return tm(e,"POST","/v1/accounts:signUp",t)}async function eg(e,t){return rm(e,"POST","/v1/accounts:signInWithPassword",em(e,t))}class tg extends Jm{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;super("password",n),this._email=e,this._password=t,this._tenantId=r}static _fromEmailAndPassword(e,t){return new tg(e,t,"password")}static _fromEmailAndCode(e,t){return new tg(e,t,"emailLink",arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const t="string"===typeof e?JSON.parse(e):e;if((null===t||void 0===t?void 0:t.email)&&(null===t||void 0===t?void 0:t.password)){if("password"===t.signInMethod)return this._fromEmailAndPassword(t.email,t.password);if("emailLink"===t.signInMethod)return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return Xm(e,{returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",eg);case"emailLink":return async function(e,t){return rm(e,"POST","/v1/accounts:signInWithEmailLink",em(e,t))}(e,{email:this._email,oobCode:this._password});default:Bf(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return Xm(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",$m);case"emailLink":return async function(e,t){return rm(e,"POST","/v1/accounts:signInWithEmailLink",em(e,t))}(e,{idToken:t,email:this._email,oobCode:this._password});default:Bf(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}async function ng(e,t){return rm(e,"POST","/v1/accounts:signInWithIdp",em(e,t))}class rg extends Jm{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const t=new rg(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):Bf("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const t="string"===typeof e?JSON.parse(e):e,{providerId:n,signInMethod:r}=t,i=(0,Ff.Tt)(t,["providerId","signInMethod"]);if(!n||!r)return null;const o=new rg(n,r);return o.idToken=i.idToken||void 0,o.accessToken=i.accessToken||void 0,o.secret=i.secret,o.nonce=i.nonce,o.pendingToken=i.pendingToken||null,o}_getIdTokenResponse(e){return ng(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,ng(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,ng(e,t)}buildRequest(){const e={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=(0,Df.Am)(t)}return e}}const ig={USER_NOT_FOUND:"user-not-found"};class og extends Jm{constructor(e){super("phone","phone"),this.params=e}static _fromVerification(e,t){return new og({verificationId:e,verificationCode:t})}static _fromTokenResponse(e,t){return new og({phoneNumber:e,temporaryProof:t})}_getIdTokenResponse(e){return async function(e,t){return rm(e,"POST","/v1/accounts:signInWithPhoneNumber",em(e,t))}(e,this._makeVerificationRequest())}_linkToIdToken(e,t){return async function(e,t){const n=await rm(e,"POST","/v1/accounts:signInWithPhoneNumber",em(e,t));if(n.temporaryProof)throw sm(e,"account-exists-with-different-credential",n);return n}(e,Object.assign({idToken:t},this._makeVerificationRequest()))}_getReauthenticationResolver(e){return async function(e,t){return rm(e,"POST","/v1/accounts:signInWithPhoneNumber",em(e,Object.assign(Object.assign({},t),{operation:"REAUTH"})),ig)}(e,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:e,phoneNumber:t,verificationId:n,verificationCode:r}=this.params;return e&&t?{temporaryProof:e,phoneNumber:t}:{sessionInfo:n,code:r}}toJSON(){const e={providerId:this.providerId};return this.params.phoneNumber&&(e.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(e.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(e.verificationCode=this.params.verificationCode),this.params.verificationId&&(e.verificationId=this.params.verificationId),e}static fromJSON(e){"string"===typeof e&&(e=JSON.parse(e));const{verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}=e;return n||t||r||i?new og({verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}):null}}class ag{constructor(e){var t,n,r,i,o,a;const s=(0,Df.I9)((0,Df.hp)(e)),l=null!==(t=s.apiKey)&&void 0!==t?t:null,c=null!==(n=s.oobCode)&&void 0!==n?n:null,u=function(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(r=s.mode)&&void 0!==r?r:null);Zf(l&&c&&u,"argument-error"),this.apiKey=l,this.operation=u,this.code=c,this.continueUrl=null!==(i=s.continueUrl)&&void 0!==i?i:null,this.languageCode=null!==(o=s.languageCode)&&void 0!==o?o:null,this.tenantId=null!==(a=s.tenantId)&&void 0!==a?a:null}static parseLink(e){const t=function(e){const t=(0,Df.I9)((0,Df.hp)(e)).link,n=t?(0,Df.I9)((0,Df.hp)(t)).deep_link_id:null,r=(0,Df.I9)((0,Df.hp)(e)).deep_link_id;return(r?(0,Df.I9)((0,Df.hp)(r)).link:null)||r||n||t||e}(e);try{return new ag(t)}catch(n){return null}}}class sg{constructor(){this.providerId=sg.PROVIDER_ID}static credential(e,t){return tg._fromEmailAndPassword(e,t)}static credentialWithLink(e,t){const n=ag.parseLink(t);return Zf(n,"argument-error"),tg._fromEmailAndCode(e,n.code,n.tenantId)}}sg.PROVIDER_ID="password",sg.EMAIL_PASSWORD_SIGN_IN_METHOD="password",sg.EMAIL_LINK_SIGN_IN_METHOD="emailLink";class lg{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}class cg extends lg{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class ug extends cg{constructor(){super("facebook.com")}static credential(e){return rg._fromParams({providerId:ug.PROVIDER_ID,signInMethod:ug.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return ug.credentialFromTaggedObject(e)}static credentialFromError(e){return ug.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t||!("oauthAccessToken"in t))return null;if(!t.oauthAccessToken)return null;try{return ug.credential(t.oauthAccessToken)}catch(n){return null}}}ug.FACEBOOK_SIGN_IN_METHOD="facebook.com",ug.PROVIDER_ID="facebook.com";class dg extends cg{constructor(){super("google.com"),this.addScope("profile")}static credential(e,t){return rg._fromParams({providerId:dg.PROVIDER_ID,signInMethod:dg.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:t})}static credentialFromResult(e){return dg.credentialFromTaggedObject(e)}static credentialFromError(e){return dg.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{oauthIdToken:n,oauthAccessToken:r}=t;if(!n&&!r)return null;try{return dg.credential(n,r)}catch(i){return null}}}dg.GOOGLE_SIGN_IN_METHOD="google.com",dg.PROVIDER_ID="google.com";class hg extends cg{constructor(){super("github.com")}static credential(e){return rg._fromParams({providerId:hg.PROVIDER_ID,signInMethod:hg.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return hg.credentialFromTaggedObject(e)}static credentialFromError(e){return hg.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t||!("oauthAccessToken"in t))return null;if(!t.oauthAccessToken)return null;try{return hg.credential(t.oauthAccessToken)}catch(n){return null}}}hg.GITHUB_SIGN_IN_METHOD="github.com",hg.PROVIDER_ID="github.com";class pg extends cg{constructor(){super("twitter.com")}static credential(e,t){return rg._fromParams({providerId:pg.PROVIDER_ID,signInMethod:pg.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:t})}static credentialFromResult(e){return pg.credentialFromTaggedObject(e)}static credentialFromError(e){return pg.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{oauthAccessToken:n,oauthTokenSecret:r}=t;if(!n||!r)return null;try{return pg.credential(n,r)}catch(i){return null}}}pg.TWITTER_SIGN_IN_METHOD="twitter.com",pg.PROVIDER_ID="twitter.com";class fg{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=await Am._fromIdTokenResponse(e,n,r),o=mg(n);return new fg({user:i,providerId:o,_tokenResponse:n,operationType:t})}static async _forOperation(e,t,n){await e._updateTokensIfNecessary(n,!0);const r=mg(n);return new fg({user:e,providerId:r,_tokenResponse:n,operationType:t})}}function mg(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}class gg extends Df.g{constructor(e,t,n,r){var i;super(t.code,t.message),this.operationType=n,this.user=r,Object.setPrototypeOf(this,gg.prototype),this.customData={appName:e.name,tenantId:null!==(i=e.tenantId)&&void 0!==i?i:void 0,_serverResponse:t.customData._serverResponse,operationType:n}}static _fromErrorAndOperation(e,t,n,r){return new gg(e,t,n,r)}}function vg(e,t,n,r){return("reauthenticate"===t?n._getReauthenticationResolver(e):n._getIdTokenResponse(e)).catch((n=>{if(n.code==="auth/".concat("multi-factor-auth-required"))throw gg._fromErrorAndOperation(e,n,t,r);throw n}))}async function Cg(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=await gm(e,t._linkToIdToken(e.auth,await e.getIdToken()),n);return fg._forOperation(e,"link",r)}async function yg(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{auth:r}=e;if((0,Pf._isFirebaseServerApp)(r.app))return Promise.reject(Hf(r));const i="reauthenticate";try{const o=await gm(e,vg(r,i,t,e),n);Zf(o.idToken,r,"internal-error");const a=fm(o.idToken);Zf(a,r,"internal-error");const{sub:s}=a;return Zf(e.uid===s,r,"user-mismatch"),fg._forOperation(e,i,o)}catch(o){throw(null===o||void 0===o?void 0:o.code)==="auth/".concat("user-not-found")&&Bf(r,"user-mismatch"),o}}async function bg(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((0,Pf._isFirebaseServerApp)(e.app))return Promise.reject(Hf(e));const r="signIn",i=await vg(e,r,t),o=await fg._fromIdTokenResponse(e,r,i);return n||await e._updateCurrentUser(o.user),o}function wg(e,t,n,r){return(0,Df.Ku)(e).onAuthStateChanged(t,n,r)}new WeakMap;const xg="__sak";class Ag{constructor(e,t){this.storageRetriever=e,this.type=t}_isAvailable(){try{return this.storage?(this.storage.setItem(xg,"1"),this.storage.removeItem(xg),Promise.resolve(!0)):Promise.resolve(!1)}catch(e){return Promise.resolve(!1)}}_set(e,t){return this.storage.setItem(e,JSON.stringify(t)),Promise.resolve()}_get(e){const t=this.storage.getItem(e);return Promise.resolve(t?JSON.parse(t):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}class Eg extends Ag{constructor(){super((()=>window.localStorage),"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.safariLocalStorageNotSynced=function(){const e=(0,Df.ZQ)();return Fm(e)||Lm(e)}()&&function(){try{return!(!window||window===window.top)}catch(e){return!1}}(),this.fallbackToPolling=Bm(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const t of Object.keys(this.listeners)){const n=this.storage.getItem(t),r=this.localCache[t];n!==r&&e(t,r,n)}}onStorageEvent(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.key)return void this.forAllChangedKeys(((e,t,n)=>{this.notifyListeners(e,n)}));const n=e.key;if(t?this.detachListener():this.stopPolling(),this.safariLocalStorageNotSynced){const r=this.storage.getItem(n);if(e.newValue!==r)null!==e.newValue?this.storage.setItem(n,e.newValue):this.storage.removeItem(n);else if(this.localCache[n]===e.newValue&&!t)return}const r=()=>{const e=this.storage.getItem(n);(t||this.localCache[n]!==e)&&this.notifyListeners(n,e)},i=this.storage.getItem(n);(0,Df.lT)()&&10===document.documentMode&&i!==e.newValue&&e.newValue!==e.oldValue?setTimeout(r,10):r()}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t?JSON.parse(t):t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((()=>{this.forAllChangedKeys(((e,t,n)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:n}),!0)}))}),1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){const t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}Eg.type="LOCAL";class _g extends Ag{constructor(){super((()=>window.sessionStorage),"SESSION")}_addListener(e,t){}_removeListener(e,t){}}_g.type="SESSION";class Tg{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const t=this.receivers.find((t=>t.isListeningto(e)));if(t)return t;const n=new Tg(e);return this.receivers.push(n),n}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const t=e,{eventId:n,eventType:r,data:i}=t.data,o=this.handlersMap[r];if(!(null===o||void 0===o?void 0:o.size))return;t.ports[0].postMessage({status:"ack",eventId:n,eventType:r});const a=Array.from(o).map((async e=>e(t.origin,i))),s=await function(e){return Promise.all(e.map((async e=>{try{return{fulfilled:!0,value:await e}}catch(t){return{fulfilled:!1,reason:t}}})))}(a);t.ports[0].postMessage({status:"done",eventId:n,eventType:r,response:s})}_subscribe(e,t){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(t)}_unsubscribe(e,t){this.handlersMap[e]&&t&&this.handlersMap[e].delete(t),t&&0!==this.handlersMap[e].size||delete this.handlersMap[e],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}function Sg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n="";for(let r=0;r<t;r++)n+=Math.floor(10*Math.random());return e+n}Tg.receivers=[];class kg{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50;const r="undefined"!==typeof MessageChannel?new MessageChannel:null;if(!r)throw new Error("connection_unavailable");let i,o;return new Promise(((a,s)=>{const l=Sg("",20);r.port1.start();const c=setTimeout((()=>{s(new Error("unsupported_event"))}),n);o={messageChannel:r,onMessage(e){const t=e;if(t.data.eventId===l)switch(t.data.status){case"ack":clearTimeout(c),i=setTimeout((()=>{s(new Error("timeout"))}),3e3);break;case"done":clearTimeout(i),a(t.data.response);break;default:clearTimeout(c),clearTimeout(i),s(new Error("invalid_response"))}}},this.handlers.add(o),r.port1.addEventListener("message",o.onMessage),this.target.postMessage({eventType:e,eventId:l,data:t},[r.port2])})).finally((()=>{o&&this.removeMessageHandler(o)}))}}function Pg(){return window}function Dg(){return"undefined"!==typeof Pg().WorkerGlobalScope&&"function"===typeof Pg().importScripts}const Ng="firebaseLocalStorageDb",Fg="firebaseLocalStorage",Ig="fbase_key";class Rg{constructor(e){this.request=e}toPromise(){return new Promise(((e,t)=>{this.request.addEventListener("success",(()=>{e(this.request.result)})),this.request.addEventListener("error",(()=>{t(this.request.error)}))}))}}function Mg(e,t){return e.transaction([Fg],t?"readwrite":"readonly").objectStore(Fg)}function Og(){const e=indexedDB.open(Ng,1);return new Promise(((t,n)=>{e.addEventListener("error",(()=>{n(e.error)})),e.addEventListener("upgradeneeded",(()=>{const t=e.result;try{t.createObjectStore(Fg,{keyPath:Ig})}catch(r){n(r)}})),e.addEventListener("success",(async()=>{const n=e.result;n.objectStoreNames.contains(Fg)?t(n):(n.close(),await function(){const e=indexedDB.deleteDatabase(Ng);return new Rg(e).toPromise()}(),t(await Og()))}))}))}async function jg(e,t,n){const r=Mg(e,!0).put({[Ig]:t,value:n});return new Rg(r).toPromise()}function Lg(e,t){const n=Mg(e,!0).delete(t);return new Rg(n).toPromise()}class Bg{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then((()=>{}),(()=>{}))}async _openDb(){return this.db||(this.db=await Og()),this.db}async _withRetries(e){let t=0;for(;;)try{const t=await this._openDb();return await e(t)}catch(n){if(t++>3)throw n;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return Dg()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Tg._getInstance(Dg()?self:null),this.receiver._subscribe("keyChanged",(async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)}))),this.receiver._subscribe("ping",(async(e,t)=>["keyChanged"]))}async initializeSender(){var e,t;if(this.activeServiceWorker=await async function(){if(!(null===navigator||void 0===navigator?void 0:navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch(e){return null}}(),!this.activeServiceWorker)return;this.sender=new kg(this.activeServiceWorker);const n=await this.sender._send("ping",{},800);n&&(null===(e=n[0])||void 0===e?void 0:e.fulfilled)&&(null===(t=n[0])||void 0===t?void 0:t.value.includes("keyChanged"))&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(this.sender&&this.activeServiceWorker&&function(){var e;return(null===(e=null===navigator||void 0===navigator?void 0:navigator.serviceWorker)||void 0===e?void 0:e.controller)||null}()===this.activeServiceWorker)try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch(t){}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await Og();return await jg(e,xg,"1"),await Lg(e,xg),!0}catch(e){}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite((async()=>(await this._withRetries((n=>jg(n,e,t))),this.localCache[e]=t,this.notifyServiceWorker(e))))}async _get(e){const t=await this._withRetries((t=>async function(e,t){const n=Mg(e,!1).get(t),r=await new Rg(n).toPromise();return void 0===r?null:r.value}(t,e)));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite((async()=>(await this._withRetries((t=>Lg(t,e))),delete this.localCache[e],this.notifyServiceWorker(e))))}async _poll(){const e=await this._withRetries((e=>{const t=Mg(e,!1).getAll();return new Rg(t).toPromise()}));if(!e)return[];if(0!==this.pendingWrites)return[];const t=[],n=new Set;if(0!==e.length)for(const{fbase_key:r,value:i}of e)n.add(r),JSON.stringify(this.localCache[r])!==JSON.stringify(i)&&(this.notifyListeners(r,i),t.push(r));for(const r of Object.keys(this.localCache))this.localCache[r]&&!n.has(r)&&(this.notifyListeners(r,null),t.push(r));return t}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((async()=>this._poll()),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&this.stopPolling()}}Bg.type="LOCAL";Ym("rcb"),new Kf(3e4,6e4);const Ug="recaptcha";async function Vg(e,t,n){var r;const i=await n.verify();try{let o;if(Zf("string"===typeof i,e,"argument-error"),Zf(n.type===Ug,e,"argument-error"),o="string"===typeof t?{phoneNumber:t}:t,"session"in o){const t=o.session;if("phoneNumber"in o){Zf("enroll"===t.type,e,"internal-error");const n=await function(e,t){return tm(e,"POST","/v2/accounts/mfaEnrollment:start",em(e,t))}(e,{idToken:t.credential,phoneEnrollmentInfo:{phoneNumber:o.phoneNumber,recaptchaToken:i}});return n.phoneSessionInfo.sessionInfo}{Zf("signin"===t.type,e,"internal-error");const n=(null===(r=o.multiFactorHint)||void 0===r?void 0:r.uid)||o.multiFactorUid;Zf(n,e,"missing-multi-factor-info");const a=await function(e,t){return tm(e,"POST","/v2/accounts/mfaSignIn:start",em(e,t))}(e,{mfaPendingCredential:t.credential,mfaEnrollmentId:n,phoneSignInInfo:{recaptchaToken:i}});return a.phoneResponseInfo.sessionInfo}}{const{sessionInfo:t}=await async function(e,t){return tm(e,"POST","/v1/accounts:sendVerificationCode",em(e,t))}(e,{phoneNumber:o.phoneNumber,recaptchaToken:i});return t}}finally{n._reset()}}class Hg{constructor(e){this.providerId=Hg.PROVIDER_ID,this.auth=Zm(e)}verifyPhoneNumber(e,t){return Vg(this.auth,e,(0,Df.Ku)(t))}static credential(e,t){return og._fromVerification(e,t)}static credentialFromResult(e){const t=e;return Hg.credentialFromTaggedObject(t)}static credentialFromError(e){return Hg.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject(e){let{_tokenResponse:t}=e;if(!t)return null;const{phoneNumber:n,temporaryProof:r}=t;return n&&r?og._fromTokenResponse(n,r):null}}Hg.PROVIDER_ID="phone",Hg.PHONE_SIGN_IN_METHOD="phone";class zg extends Jm{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return ng(e,this._buildIdpRequest())}_linkToIdToken(e,t){return ng(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return ng(e,this._buildIdpRequest())}_buildIdpRequest(e){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function Zg(e){return bg(e.auth,new zg(e),e.bypassAuthState)}function Wg(e){const{auth:t,user:n}=e;return Zf(n,t,"internal-error"),yg(n,new zg(e),e.bypassAuthState)}async function qg(e){const{auth:t,user:n}=e;return Zf(n,t,"internal-error"),Cg(n,new zg(e),e.bypassAuthState)}class Gg{constructor(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];this.auth=e,this.resolver=n,this.user=r,this.bypassAuthState=i,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise((async(e,t)=>{this.pendingPromise={resolve:e,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(n){this.reject(n)}}))}async onAuthEvent(e){const{urlResponse:t,sessionId:n,postBody:r,tenantId:i,error:o,type:a}=e;if(o)return void this.reject(o);const s={auth:this.auth,requestUri:t,sessionId:n,tenantId:i||void 0,postBody:r||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(a)(s))}catch(l){this.reject(l)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return Zg;case"linkViaPopup":case"linkViaRedirect":return qg;case"reauthViaPopup":case"reauthViaRedirect":return Wg;default:Bf(this.auth,"internal-error")}}resolve(e){qf(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){qf(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const Yg=new Kf(2e3,1e4);class Kg extends Gg{constructor(e,t,n,r,i){super(e,t,r,i),this.provider=n,this.authWindow=null,this.pollId=null,Kg.currentPopupAction&&Kg.currentPopupAction.cancel(),Kg.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return Zf(e,this.auth,"internal-error"),e}async onExecution(){qf(1===this.filter.length,"Popup operations only handle one event");const e=Sg();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch((e=>{this.reject(e)})),this.resolver._isIframeWebStorageSupported(this.auth,(e=>{e||this.reject(Uf(this.auth,"web-storage-unsupported"))})),this.pollUserCancellation()}get eventId(){var e;return(null===(e=this.authWindow)||void 0===e?void 0:e.associatedEvent)||null}cancel(){this.reject(Uf(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,Kg.currentPopupAction=null}pollUserCancellation(){const e=()=>{var t,n;(null===(n=null===(t=this.authWindow)||void 0===t?void 0:t.window)||void 0===n?void 0:n.closed)?this.pollId=window.setTimeout((()=>{this.pollId=null,this.reject(Uf(this.auth,"popup-closed-by-user"))}),8e3):this.pollId=window.setTimeout(e,Yg.get())};e()}}Kg.currentPopupAction=null;new Map;new Kf(3e4,6e4);new Kf(5e3,15e3),new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);encodeURIComponent("fac");var Qg="@firebase/auth",Xg="1.7.5";class Jg{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),(null===(e=this.auth.currentUser)||void 0===e?void 0:e.uid)||null}async getToken(e){if(this.assertAuthConfigured(),await this.auth._initializationPromise,!this.auth.currentUser)return null;return{accessToken:await this.auth.currentUser.getIdToken(e)}}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const t=this.auth.onIdTokenChanged((t=>{e((null===t||void 0===t?void 0:t.stsTokenManager.accessToken)||null)}));this.internalListeners.set(e,t),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const t=this.internalListeners.get(e);t&&(this.internalListeners.delete(e),t(),this.updateProactiveRefresh())}assertAuthConfigured(){Zf(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,Df.XA)("authIdTokenMaxAge");var $g;!function(e){qm=e}({loadJS:e=>new Promise(((t,n)=>{const r=document.createElement("script");r.setAttribute("src",e),r.onload=t,r.onerror=e=>{const t=Uf("internal-error");t.customData=e,n(t)},r.type="text/javascript",r.charset="UTF-8",function(){var e,t;return null!==(t=null===(e=document.getElementsByTagName("head"))||void 0===e?void 0:e[0])&&void 0!==t?t:document}().appendChild(r)})),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),$g="Browser",(0,Pf._registerComponent)(new If.uA("auth",((e,t)=>{let{options:n}=t;const r=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),o=e.getProvider("app-check-internal"),{apiKey:a,authDomain:s}=r.options;Zf(a&&!a.includes(":"),"invalid-api-key",{appName:r.name});const l={apiKey:a,authDomain:s,clientPlatform:$g,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Um($g)},c=new zm(r,i,o,l);return function(e,t){const n=(null===t||void 0===t?void 0:t.persistence)||[],r=(Array.isArray(n)?n:[n]).map(_m);(null===t||void 0===t?void 0:t.errorMap)&&e._updateErrorMap(t.errorMap),e._initializeWithPersistence(r,null===t||void 0===t?void 0:t.popupRedirectResolver)}(c,n),c}),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback(((e,t,n)=>{e.getProvider("auth-internal").initialize()}))),(0,Pf._registerComponent)(new If.uA("auth-internal",(e=>(e=>new Jg(e))(Zm(e.getProvider("auth").getImmediate()))),"PRIVATE").setInstantiationMode("EXPLICIT")),(0,Pf.registerVersion)(Qg,Xg,function(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}($g)),(0,Pf.registerVersion)(Qg,Xg,"esm2017");const ev=async e=>cs().get("".concat(ss.Sw,"/ingestAccount"),{params:{address:e}}),tv=async e=>{let t=!1;try{(await dc.account(e)).address&&(t=!0)}catch(n){(0,fs.t)("Couldn't find account [".concat(e,"] for private listing"))}return t},nv=()=>{localStorage.removeItem("FCL_CURRENT_USER"),dc.unauthenticate(),hl.j2.signOut().then((()=>{(0,fs.t)("firebase sign out successful")})),dc.config.put({"discovery.authn.endpoint":"https://fcl-discovery.onflow.org/api/authn","discovery.wallet":"https://fcl-discovery.onflow.org/authn"}),(0,Tf.E6)(),sessionStorage.clear()},rv=(e,t,n,r)=>{var i,o;const a=localStorage.getItem("FCL_CURRENT_USER");let s;if(a&&""!==a)try{s=JSON.parse(a)}catch(l){console.error("Error parsing localStorageUser:",l)}if(Boolean(null===(i=s)||void 0===i?void 0:i.expiresAt)&&(null===(o=s)||void 0===o?void 0:o.expiresAt)<Date.now())nv();else{if(a){try{sessionStorage.getItem("CURRENT_USER")||sessionStorage.setItem("CURRENT_USER",a)}catch(l){}localStorage.removeItem("FCL_CURRENT_USER")}dc.currentUser().subscribe((async i=>{var o;i&&localStorage.setItem("FCL_CURRENT_USER",JSON.stringify(i)),(0,fs.t)("fcl subscribe currentUser",{currentUser:i});const a=n;(0,fs.t)("currentUser is",null===i||void 0===i?void 0:i.addr,null===i||void 0===i?void 0:i.token,a);const s=(null===i||void 0===i||null===(o=i.services)||void 0===o?void 0:o.length)>0&&i.services[0].endpoint&&i.services[0].endpoint.includes("meetdapper.com")||!1,l=i;if(!l)return void e(null);r(!0);const c=l.addr;if(c){var u,d,h;const n=Tf.su.scripts.getAccountWalletBalance(c);(0,fs.t)("accountAddress",c);const r=l.services[0]&&{email:null===(u=l.services[0].scoped)||void 0===u?void 0:u.email}||{};let o,g=(null===l||void 0===l?void 0:l.token)||"";try{if((0,fs.t)("trying to login with firebase"),a)ds.o.track("[PREVIEW 2-4233]YesFbUser",{}),o={user:a};else{if(ds.o.track("[PREVIEW 2-4233]NoFbUser",{}),!g)throw new Error("Not authenticated");o=await iv(g)}(0,fs.t)("obtained firebaseSignedUser...")}catch(f){(0,fs.t)("something went wrong logging in: ",f),(0,fs.t)("getting user signed message..."),ds.o.track("[PREVIEW 2-4233]CatchBlock",{message:null===f||void 0===f?void 0:f.message}),g=await Cc(i),g||nv(),ds.o.track("[PREVIEW 2-4233]createAccountToken",{customToken:g}),(0,fs.t)("obtained custom token, logging in...");try{o=await iv(g),await new Promise(((e,t)=>{const n=wg(hl.j2,(t=>{t&&(n(),e(t));const r=setTimeout((()=>{ds.o.track("[PREVIEW 2-4233]ForcedRefresh",{}),window.location.reload()}),1500);clearTimeout(r)}),(e=>{n(),t(e)}))}))}catch(m){return(0,us.getMessageFromError)(m).includes("Popup failed to open")&&await pc().fire({icon:"error",showConfirmButton:!0,timer:2500,title:"Pop-up blocker is enabled. Please allow pop-ups and try again."}),(0,fs._)("something went wrong logging in with new signature: ",(0,us.getMessageFromError)(m)),void nv()}}if((null===(d=o)||void 0===d||null===(h=d.user)||void 0===h?void 0:h.uid)===c){(0,fs.t)("checking if account exists...",c),ds.o.track("[PREVIEW 2-4233]AccountExists",{});let i=!1;try{i=await(async e=>(await hl.db.collection(mc).doc(e).get()).exists)(c)}catch(f){ds.o.track("ERROR_FIREBASE_CHECK_ACCOUNT_EXISTS",{e:f})}if(ds.o.track("[PREVIEW 2-4233]AccountExists?",{accountExists:i}),!i&&c){(0,fs.t)("account does not exist yet",c),ds.o.track("[PREVIEW 2-4233]No Account",{accountAddress:c});try{await(async(e,t)=>hl.db.collection(mc).doc(e).set(t))(c,{email:""})}catch(f){ds.o.track("ERROR_FIREBASE_SET_ACCOUNT_DATA",{e:f})}}(0,fs.t)("signed in user matches account address"),ds.o.track("[PREVIEW 2-4233]getAccountData",{accountAddress:c});const o=Tf.su.scripts.getHybridCustodyAccountSummaries((null===l||void 0===l?void 0:l.addr)||"");let a=null,u=null;try{var p;a=Tf.su.scripts.getChildAccounts(null!==(p=null===l||void 0===l?void 0:l.addr)&&void 0!==p?p:""),u=Tf.su.scripts.getHybridCustodyFTProvidersScript((null===l||void 0===l?void 0:l.addr)||"").then((async e=>{if(!e)return;const t=Object.entries(e),n={};for(let r=0;r<t.length;r++){const[e,i]=t[r],o=Object.keys(i),a=await Tf.su.scripts.getBalanceForAvailableProvidersScript(e,o);n[e]=o.reduce(((e,t)=>{var n,r;return{...e,[t]:{balance:a[t],domain:null===(n=i[t])||void 0===n?void 0:n.domain,identifier:null===(r=i[t])||void 0===r?void 0:r.identifier}}}),{})}return n}))}catch(f){(0,fs.t)("error on script child account execution",f)}vc(c).then((async t=>{ds.o.track("[PREVIEW 2-4233]getAccountDataResult",{accountData:t});const[d,h,p,f]=await Promise.all([n,a,u,o]),m=Object.keys(h||{}).reduce(((e,t)=>null===h?e:{...e,[t]:{...h[t],tokens:p?p[t]:{}}}),{}),v={...f};v[c]={...(null===f||void 0===f?void 0:f[c])||{},display:{description:"Main Account",name:t.userName||c,thumbnail:t.avatar||""},isDapper:s,isMain:!0};const C={...l,...t,blockToEmail:r.email,isFirstLogin:!i,token:g,accountSummaries:v,balance:d,childAccounts:m,isDapper:s};e(C)})).catch((e=>{ds.o.track("ERROR_FIREBASE_GET_ACCOUNT_DATA",{err:e,message:null===e||void 0===e?void 0:e.message}),ds.o.track("[PREVIEW 2-4233]onSubscribeError",{message:null===e||void 0===e?void 0:e.message}),t(e.toString())})),ds.o.track("Successful Login")}else(0,fs._)("User was not authenticated successfully!",o),ds.o.track("Failed Login"),nv()}else e(null)}))}},iv=e=>hl.j2.signInWithCustomToken(e),ov=async e=>{void 0===e&&null!==e||e(!0);const t=await dc.authenticate(),{addr:n,cid:r,loggedIn:i,expiresAt:o,services:a}=t;void 0===e||null!==n||null!==r||i||null!==o||0!==a.length||e(!1)};var av=__webpack_require__(30339);const sv=[{image:"https://storage.googleapis.com/flowty-images/drops/PromoLaunchpadFlow.webp",message:(0,ms.jsxs)("div",{className:"flex flex-col gap-[24px]",children:[(0,ms.jsxs)("p",{className:"text-[#DEE2E6] text-[14px]",children:["To celebrate Flowty\u2019s new self-service NFT launchpad, we\u2019re giving away ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"20,000 FLOW!"})," "]}),(0,ms.jsxs)("div",{className:"flex max-lg:flex-col gap-[14px]",children:[(0,ms.jsxs)("div",{className:"w-full flex flex-col gap-[12px] text-[#DEE2E6] text-[12px]",children:[(0,ms.jsx)("p",{className:"font-bold",children:"Flowty Contests* (10,000 FLOW)"}),(0,ms.jsxs)("div",{className:"h-full w-full flex flex-col gap-[6px]",children:[(0,ms.jsxs)("div",{className:"h-full w-full flex flex-col border border-[#B9B9B9]",children:[(0,ms.jsxs)("div",{className:"flex",children:[(0,ms.jsx)("p",{className:"w-[110px] border-r border-[#B9B9B9] text-[11px] px-[14px] py-[11px] text-white font-bold",children:"2,500 FLOW"}),(0,ms.jsx)("p",{className:"text-[10px] px-[14px] py-[11px] w-max",children:"Most unique wallets minted"})]}),(0,ms.jsxs)("div",{className:"flex border-t border-[#B9B9B9]",children:[(0,ms.jsx)("p",{className:"w-[110px] border-r border-[#B9B9B9] text-[11px] px-[14px] py-[11px] text-white font-bold",children:"5,000 FLOW"}),(0,ms.jsx)("p",{className:"text-[10px] px-[14px] py-[11px] w-max",children:"2nd - 11th most unique wallets (500ea)"})]}),(0,ms.jsxs)("div",{className:"flex border-t border-[#B9B9B9]",children:[(0,ms.jsx)("p",{className:"w-[110px] border-r border-[#B9B9B9] text-[11px] px-[14px] py-[11px] text-white font-bold",children:"2,500 FLOW"}),(0,ms.jsx)("p",{className:"text-[10px] px-[14px] py-[11px] w-max",children:"5 winners for best art/creativity (500ea)"})]})]}),(0,ms.jsxs)("p",{className:"text-[10px]",children:["*Must include"," ",(0,ms.jsx)("span",{className:"font-bold text-[10px]",children:"Flowty"})," logo / reference in NFT art"]})]})]}),(0,ms.jsxs)("div",{className:"w-full flex flex-col gap-[12px] text-[#DEE2E6] text-[12px]",children:[(0,ms.jsx)("p",{className:"font-bold ",children:"Partner Contests** (10,000 FLOW)"}),(0,ms.jsxs)("div",{className:"h-full w-full flex flex-col gap-[6px]",children:[(0,ms.jsx)("div",{className:"h-full w-full flex flex-col border border-[#B9B9B9]",children:(0,ms.jsxs)("div",{className:"h-full flex",children:[(0,ms.jsx)("p",{className:"w-[110px] border-r border-[#B9B9B9] text-[11px] px-[14px] py-[11px] text-white font-bold",children:"10,000 FLOW"}),(0,ms.jsxs)("ul",{className:"px-[14px] py-[11px] ml-[14px] text-[10px] list-disc",children:[(0,ms.jsx)("li",{children:"20+ community specific contests"}),(0,ms.jsxs)("li",{children:["Collection with most unique ",(0,ms.jsx)("br",{})," wallets minted for each costest ",(0,ms.jsx)("br",{})," will win ~500 FLOW each"]})]})]})}),(0,ms.jsxs)("p",{className:"text-[10px]",children:["**Must include"," ",(0,ms.jsx)("span",{className:"font-bold text-[10px]",children:"Partner"})," logo / reference in NFT art"]})]})]})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,ms.jsxs)("div",{className:"text-[#DEE2E6] text-[12px]",children:[(0,ms.jsx)("p",{className:"text-[12px]",children:"Key Rules:"}),(0,ms.jsxs)("ul",{className:"text-[12px] list-disc ml-[14px]",children:[(0,ms.jsx)("li",{children:"Must be FREE mint"}),(0,ms.jsxs)("li",{children:["Must include"," ",(0,ms.jsx)("span",{className:"font-bold text-[12px]",children:"exactly one hashtag"})," ","(see details) in the collection description"]}),(0,ms.jsx)("li",{children:"Snapshot for all contests will be 2 PM PST on October 2, 2024"})]})]}),(0,ms.jsxs)("p",{className:"text-[#DEE2E6] text-[12px] italic",children:["Please read"," ",(0,ms.jsx)("a",{href:"https://flowty.substack.com/p/nft-launchpad-promo",target:"_blank",rel:"noreferrer",className:"underline",tabIndex:-1,children:"Full Promotional Details"})," ","for all rules on how to qualify and win"]}),(0,ms.jsx)("p",{className:"text-[#DEE2E6] text-[12px]",children:"HAVE FUN AND HAPPY CREATING!"})]})]}),primaryButton:{label:"VISIT LAUNCHPAD",mobileLabel:"VISIT LAUNCHPAD",redirectUrl:"/create"},promotionId:"creators-hub-live",secondaryButton:{label:"FULL PROMOTIONAL DETAILS",mobileLabel:"FULL DETAILS",redirectUrl:"https://flowty.substack.com/p/nft-launchpad-promo"},title:"NFT Launchpad Live on Flowty"}],lv=e=>{var t,n,r,i,o,a;let{landingPage:s,authStore:l,pathname:c}=e;const u=(0,Bs.dv)(),{isShowing:d}=Ms(),[h,p]=(0,sa.useState)(!1),{visibleInNav:f,setNavbarOffsetHeight:m,navbarOffsetHeight:g}=(0,sa.useContext)(xs),[v,C]=(0,sa.useState)(!1),[y,b]=(0,sa.useState)(!1),[w,x]=(0,sa.useState)(!1),A=null===l||void 0===l||null===(t=l.loggedUser)||void 0===t||null===(n=t.hasAcknowledgedPromotions)||void 0===n?void 0:n[null===(r=sv[0])||void 0===r?void 0:r.promotionId],E="featurePopupAcknowledged_".concat(null===(i=sv[0])||void 0===i?void 0:i.promotionId);(0,sa.useEffect)((()=>{var e;l&&l.loadActiveGlobalAlerts(),null!==l&&void 0!==l&&null!==(e=l.loggedUser)&&void 0!==e&&e.loggedIn&&p(!1)}),[null===l||void 0===l||null===(o=l.loggedUser)||void 0===o?void 0:o.loggedIn]);const _=e=>null===e||void 0===e||""===e.trim();(0,sa.useEffect)((()=>{const e=null===l||void 0===l?void 0:l.loggedUser;if(!e||"/tos"===c||"/privacy"===c)return;!e.welcomePopupAcknowledged&&(_(e.email)||ss.Ao&&_(e.marketingEmail))?C(!0):e.hasAcceptedTermsV2?(C(!1),x(!1)):x(!0)}),[null===l||void 0===l?void 0:l.loggedUser,c]),(0,sa.useEffect)((()=>{var e,t;const n="true"===localStorage.getItem(E);"/create"===c||(null===l||void 0===l||null===(e=l.loggedUser)||void 0===e||!e.addr||A)&&(null!==l&&void 0!==l&&null!==(t=l.loggedUser)&&void 0!==t&&t.addr||!1!==n)||b(!0)}),[null===l||void 0===l?void 0:l.loggedUser,null===(a=sv[0])||void 0===a?void 0:a.promotionId,E]);const T=(0,sa.useMemo)((()=>{if(c.includes("/collection"))return;const e=Object.entries(av.C).find((e=>{let[,t]=e;return c.includes(t)}));return e?e[0]:void 0}),[c]);return{authLoading:h,getPaddingBottom:(0,sa.useCallback)((()=>["xs","mobile","tablet"].includes(u)?g:"".concat(g,"px")),[u,s,g,c,T,f]),handleClosePromotion:async()=>{var e,t,n,r,i;(b(!1),null!==l&&void 0!==l&&null!==(e=l.loggedUser)&&void 0!==e&&e.addr)&&(await gc(null===l||void 0===l||null===(t=l.loggedUser)||void 0===t?void 0:t.addr,{hasAcknowledgedPromotions:{[null===(n=sv[0])||void 0===n?void 0:n.promotionId]:!0}}),ds.o.track("User acknowledged promotion",null===(r=sv[0])||void 0===r?void 0:r.promotionId),null===l||void 0===l||l.setPromotionAcknowledged(null===(i=sv[0])||void 0===i?void 0:i.promotionId,!0));localStorage.setItem(E,"true")},isPromotionVisible:y,isShowing:d,navbarOffsetHeight:g,selectedItem:T,setAuthLoading:p,setNavbarOffsetHeight:m,showLatestTermsModal:w,showWelcomeMessage:v,visibleInNav:f}},cv=(0,ua.WQ)("rootStore","authStore")((0,ua.PA)((e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b;let{children:w,authStore:x,landingPage:A}=e;const{pathname:E}=(0,Os.zy)(),{showWelcomeMessage:_,showLatestTermsModal:T,isShowing:S,getPaddingBottom:k,selectedItem:P,setAuthLoading:D,authLoading:N,setNavbarOffsetHeight:F,navbarOffsetHeight:I}=lv({authStore:x,landingPage:A,pathname:E}),{notifications:R,queueNotification:M,fetchMoreNotifications:O,hasMore:j,loading:L}=(e=>{let{loggedUserAddress:t,autoResolve:n=!0,delay:r=1e3}=e;const[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)([]),[l,c]=(0,sa.useState)([]),[u,d]=(0,sa.useState)(null),[h,p]=(0,sa.useState)(!0),f=(0,sa.useMemo)((()=>a.filter((e=>e.type===us.NotificationType.Transaction&&"status"in e&&"PROCESSING"===e.status))),[a]),m=(0,sa.useCallback)((e=>{let{id:t,type:n}=e;c((e=>[...e,{id:t,type:n}]))}),[]),g=(0,sa.useCallback)((async e=>{const n=a.find((t=>t.id===e));if(n&&n.type===us.NotificationType.Transaction)try{const r=await hl.db.collection("/accounts/".concat(t,"/messages")).doc(e).get();if(!r.exists)return;let i=r.data().transactionID;n.type!==us.NotificationType.Transaction||"bulkListing"!==n.listingType&&"bulkDelisting"!==n.listingType||(i=i.split("-")[0]);const{statusString:o}=await kf(i),a="SEALED"===o?"SUCCESSFUL":"FAILED";await hl.db.doc("/accounts/".concat(t,"/messages/").concat(e)).update({status:a}),s((t=>{const r=t.findIndex((t=>t.id===e));if(-1===r)return t;const i=[...t];return i[r]={...n,...n.type===us.NotificationType.Transaction&&{status:a}},i}))}catch(r){await hl.db.collection("/accounts/".concat(t,"/messages")).doc(e).update({status:"FAILED"}),s((t=>{const r=t.findIndex((t=>t.id===e));if(-1===r)return t;const i=[...t];return i[r]={...n,status:"FAILED"},i}))}}),[t,a]),v=(0,sa.useCallback)((async e=>{let{id:t,type:n}=e;"TRANSACTION"===n?await g(t):console.error("Unknown notification type")}),[g]),C=(0,sa.useCallback)((async e=>{for await(const{id:t,type:n}of e)await v({id:t,type:n})}),[v]);(0,sa.useEffect)((()=>{t&&n&&f.length&&C(f)}),[n,f,C,t]),(0,sa.useEffect)((()=>{if(!t)return;const e=hl.db.collection("/accounts/".concat(t,"/messages")).orderBy("timestamp","desc").limit(1).onSnapshot((e=>{const t=[];e.forEach((e=>{t.push({...e.data(),id:e.id})})),s((n=>{const r=e.docChanges().filter((e=>"removed"===e.type)).map((e=>e.doc.id)).filter((e=>void 0!==e)),i=n.filter((e=>e.id&&!r.includes(e.id))),o=[...t,...i],a=new Map(o.map((e=>[e.id,e])));return Array.from(a.values())}))}));return()=>e()}),[t]);const y=(0,sa.useCallback)((async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t)return;e&&o(!0);let n=hl.db.collection("/accounts/".concat(t,"/messages")).orderBy("timestamp","desc").limit(25);u&&!e&&(n=n.startAfter(u));const r=await n.get(),i=[];r.forEach((e=>{i.push({...e.data(),id:e.id})})),r.docs.length<25&&p(!1),d(r.docs[r.docs.length-1]),s((t=>e?i:[...t,...i])),o(!1)}),[u,t]),b=(0,sa.useCallback)((()=>{h&&y()}),[y,h]);return(0,sa.useEffect)((()=>{y(!0)}),[t]),(0,sa.useEffect)((()=>{if(!n&&l.length){const e=setInterval((()=>{const e=[...l];c([]),e.forEach((e=>{let{id:t,type:n}=e;v({id:t,type:n})}))}),r);return()=>{clearInterval(e)}}}),[n,l,v]),{fetchMoreNotifications:b,hasMore:h,loading:i,notifications:a,queueNotification:m}})({autoResolve:!1,loggedUserAddress:(null===x||void 0===x||null===(t=x.loggedUser)||void 0===t?void 0:t.addr)||""}),{showDapperSignInBar:B,setShowDapperSignInBar:U}=(()=>{const[e,t]=(0,sa.useState)((()=>{const e=localStorage.getItem("showDapperSignInBar");return!e||JSON.parse(e)}));return(0,sa.useEffect)((()=>{localStorage.setItem("showDapperSignInBar",JSON.stringify(e))}),[e]),{setShowDapperSignInBar:t,showDapperSignInBar:e}})(),V=(0,sa.useMemo)((()=>{var e;const t=(0,sc.HO)(null===x||void 0===x||null===(e=x.loggedUser)||void 0===e?void 0:e.childAccounts);return Object.values(null!==t&&void 0!==t?t:{})}),[null===x||void 0===x||null===(n=x.loggedUser)||void 0===n?void 0:n.childAccounts]);return(0,ms.jsxs)("div",{className:"App h-full ".concat(A&&"bg-[#04070b]"),children:[(0,ms.jsx)(lc,{}),_&&(0,ms.jsx)(kc,{authStore:x}),T&&(0,ms.jsx)(bc,{authStore:x}),(0,ms.jsxs)("div",{style:{paddingBottom:S?0:k()},children:[(0,ms.jsx)(Bs.AP,{disconnectWallet:()=>{nv(),window.location.reload(),ds.o.track("Successful Logout")},isDapper:null===x||void 0===x||null===(r=x.loggedUser)||void 0===r?void 0:r.isDapper,childAccounts:V,user:{authServiceUid:null===x||void 0===x||null===(i=x.loggedUser)||void 0===i||null===(o=i.services[0])||void 0===o?void 0:o.uid,userAddress:null!==(a=null===x||void 0===x||null===(s=x.loggedUser)||void 0===s?void 0:s.addr)&&void 0!==a?a:"",userAvatar:null!==(l=null===x||void 0===x||null===(c=x.loggedUser)||void 0===c?void 0:c.avatar)&&void 0!==l?l:"",userFlowBalance:null===x||void 0===x||null===(u=x.loggedUser)||void 0===u||null===(d=u.balance)||void 0===d||null===(h=d.balances)||void 0===h?void 0:h[Tf.su.tokens.getTokenIdentifier(us.SupportedTokens.FLOW)],userName:null!==(p=null===x||void 0===x||null===(f=x.loggedUser)||void 0===f?void 0:f.userName)&&void 0!==p?p:"",userUsdcBalance:null===x||void 0===x||null===(m=x.loggedUser)||void 0===m||null===(g=m.balance)||void 0===g||null===(v=g.balances)||void 0===v?void 0:v[Tf.su.tokens.getTokenIdentifier(us.SupportedTokens.USDC)]},notificationData:{fetchMoreNotifications:O,hasMore:j,loadingNotifications:L,notifications:R,queueNotification:M},registerHeight:e=>F(e),isLandingPage:!!A,isCreatePage:"/create"===E,isLogged:!(null===x||void 0===x||null===(C=x.loggedUser)||void 0===C||!C.loggedIn),selectedItem:P,logUser:()=>ov(D),authLoading:N,loggedUserAddress:(null===x||void 0===x||null===(y=x.loggedUser)||void 0===y?void 0:y.addr)||""}),(0,ms.jsx)("div",{style:{marginTop:S?I:0},children:(0,ms.jsx)(_f,{})})]}),!(null!==x&&void 0!==x&&null!==(b=x.loggedUser)&&void 0!==b&&b.loggedIn)&&B&&"/create"!==E&&(0,ms.jsx)(Bs.sD,{onDismiss:()=>{U(!1)},connectDapperWallet:()=>(async()=>{const e=ss.KS.includes("mainnet")?"https://accounts.meetdapper.com/fcl/authn-restricted":"https://staging.accounts.meetdapper.com/fcl/authn-restricted";dc.config().put("discovery.wallet",e),dc.config().put("discovery.wallet.method","POP/RPC"),await dc.authenticate()})()}),w]})}))),uv=e=>{let{children:t}=e;return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty NFT Activity: Loans, Rentals and Storefront. View the latest activity from our users",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsxs)("div",{className:"container bg-darkBg",children:[(0,ms.jsx)(zs,{path:"activity"}),t]})]})},dv=(0,ua.WQ)("authStore")((0,ua.PA)((()=>{const e=(0,Os.Zp)(),[t,n]=(0,sa.useState)(1),[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)([]),[c,u]=(0,sa.useState)({min:"",path:""}),[d,h]=(0,sa.useState)(!0),[p,f]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending});(0,sa.useEffect)((()=>{n(1)}),[p,c]),(0,sa.useEffect)((()=>fl({filterActivityBy:c,limit:ss.cb*t,makerCb(e){a(e)},sort:p,takerCb(e){l(e)}})),[t,c,p]);const m=(0,sa.useMemo)((()=>o.map((e=>{const t=Number((null===e||void 0===e?void 0:e.amount)||e.additionalData.amount||0),n=Number((null===e||void 0===e?void 0:e.rate)||e.additionalData.periodicInterest||0),r=Number((null===e||void 0===e?void 0:e.term)||e.additionalData.term||0);return{...e,calculatedValues:{...(0,us.solveWithAmountAndInterest)({amount:t,interest:n,term:r},(null===e||void 0===e?void 0:e.royaltyRate)||0)}}}))),[s,o]),g=wl({isLoading:!1,onInfiniteScroll(){setTimeout((()=>{i(!1)}),2e3),t*ss.cb===m.length&&(n(t+1),i(!0)),ds.o.track("Infinite Scroll Global Activity Page")}},[t,m]),v=[{label:"All",value:""},{label:"Settled",value:"SETTLED"},{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Listed",value:"LISTED"},{label:"Expired",value:"EXPIRED"}],[C,y]=(0,sa.useState)(v[0].value);return(0,ms.jsx)(uv,{children:(0,ms.jsxs)("div",{children:[(0,ms.jsx)(Kl,{showFilter:d,setShowFilter:h,filterBy:c,setFilterBy:u}),(0,ms.jsx)("div",{className:"flex mb-[20px]",children:(0,ms.jsx)(Bs.DG,{fields:v,selectedField:C,updateSelectedField:e=>{y(e),u({max:"",min:e,path:"state"})}})}),(0,ms.jsx)("div",{className:"line-separator mb-3 md:mb-4 bg-gradient-to-r from-darkBg via-secondary to-darkBg"}),(0,ms.jsx)($s,{onClickRow:t=>{var n,r;let{item:i}=t;const o=null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.nftType,a=null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.nftID.toString(),s=!(!o||!a),l=(0,us.nftTypeAndIdToLocationData)(o,a);s&&e("/asset/".concat(l.contract.address,"/").concat(l.contract.name,"/").concat(l.resourceName,"/").concat(l.nftID))},fields:oc(e),items:m,onSort:f,initialSortConfig:p,stickyHeaders:!0,composeRowHref:e=>{var t,n;const r=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.nftType,i=null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.nftID.toString(),o=(0,us.nftTypeAndIdToLocationData)(r,i);return"/asset/".concat(o.contract.address,"/").concat(o.contract.name,"/").concat(o.resourceName,"/").concat(o.nftID)}}),(0,ms.jsx)("div",{ref:g,children:r?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):t*ss.cb===m.length&&(0,ms.jsx)(xl,{})})]})})}))),hv=e=>{var t,n,r,i,o,a,s;let{asset:l}=e;const c="View Asset: ".concat(null!==(t=null===(n=l.card)||void 0===n?void 0:n.title)&&void 0!==t?t:""," ").concat((e=>{var t,n,r;if(null!==e&&void 0!==e&&null!==(t=e.card)&&void 0!==t&&t.additionalDetails){var i,o;return["".concat(null!==e&&void 0!==e&&null!==(i=e.card)&&void 0!==i&&i.additionalDetails?null===e||void 0===e||null===(o=e.card)||void 0===o?void 0:o.additionalDetails.map((e=>" "+e)):"")]}const a="#".concat(e.id);return"".concat(!e.id||null!==(n=e.card)&&void 0!==n&&null!==(r=n.title)&&void 0!==r&&r.includes("#")?"":a)})(l)),u="View ".concat(null!==(r=null===l||void 0===l||null===(i=l.card)||void 0===i?void 0:i.title)&&void 0!==r?r:""," and much more on flowty.io"),d=(0,us.getImageURL)(null!==l&&void 0!==l&&null!==(o=l.card)&&void 0!==o&&o.images&&(null===l||void 0===l||null===(a=l.card)||void 0===a?void 0:a.images.length)>0?null===l||void 0===l||null===(s=l.card)||void 0===s?void 0:s.images[0].url:"");return(0,ms.jsxs)(as,{children:[(0,ms.jsx)("meta",{name:"description",content:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals."}),(0,ms.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,ms.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ms.jsx)("meta",{name:"twitter:site",content:"@flowty"}),(0,ms.jsx)("meta",{name:"twitter:title",content:c}),(0,ms.jsx)("meta",{name:"twitter:description",content:u}),(0,ms.jsx)("meta",{name:"twitter:image",content:d}),(0,ms.jsx)("meta",{name:"description",content:u}),(0,ms.jsx)("meta",{property:"og:title",content:c}),(0,ms.jsx)("meta",{property:"og:description",content:u}),(0,ms.jsx)("meta",{property:"og:image",content:d}),(0,ms.jsx)("title",{children:c})]})},pv=async e=>(await hl.db.collection("flowNFTTraits").doc(e).get()).data()||null;var fv=__webpack_require__(23220);const mv="-";function gv(e){const t=function(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]},i=function(e,t){if(!t)return e;return e.map((e=>{let[n,r]=e;return[n,r.map((e=>"string"===typeof e?t+e:"object"===typeof e?Object.fromEntries(Object.entries(e).map((e=>{let[n,r]=e;return[t+n,r]}))):e))]}))}(Object.entries(e.classGroups),n);return i.forEach((e=>{let[n,i]=e;yv(i,r,n,t)})),r}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(mv);return""===n[0]&&1!==n.length&&n.shift(),vv(n,t)||function(e){if(Cv.test(e)){const t=Cv.exec(e)[1],n=null===t||void 0===t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}}function vv(e,t){var n;if(0===e.length)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),o=i?vv(e.slice(1),i):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join(mv);return null===(n=t.validators.find((e=>{let{validator:t}=e;return t(a)})))||void 0===n?void 0:n.classGroupId}const Cv=/^\[(.+)\]$/;function yv(e,t,n,r){e.forEach((e=>{if("string"!==typeof e){if("function"===typeof e)return e.isThemeGetter?void yv(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((e=>{let[i,o]=e;yv(o,bv(t,i),n,r)}))}else{(""===e?t:bv(t,e)).classGroupId=n}}))}function bv(e,t){let n=e;return t.split(mv).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function wv(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}}const xv="!";function Av(e){const t=e.separator,n=1===t.length,r=t[0],i=t.length;return function(e){const o=[];let a,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===r&&(n||e.slice(d,d+i)===t)){o.push(e.slice(l,d)),l=d+i;continue}if("/"===c){a=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===o.length?e:e.substring(l),u=c.startsWith(xv);return{modifiers:o,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const Ev=/\s+/;function _v(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Tv(e))&&(r&&(r+=" "),r+=t);return r}function Tv(e){if("string"===typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Tv(e[r]))&&(n&&(n+=" "),n+=t);return n}function Sv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i,o,a,s=function(t){const r=n.reduce(((e,t)=>t(e)),e());return i=function(e){return{cache:wv(e.cacheSize),splitModifiers:Av(e),...gv(e)}}(r),o=i.cache.get,a=i.cache.set,s=l,l(t)};function l(e){const t=o(e);if(t)return t;const n=function(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(Ev).map((e=>{const{modifiers:t,hasImportantModifier:i,baseClassName:o,maybePostfixModifierPosition:a}=n(e);let s=r(a?o.substring(0,a):o),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=r(o),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:i?c+xv:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!o.has(a)&&(o.add(a),i(n,r).forEach((e=>o.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,i);return a(e,n),n}return function(){return s(_v.apply(null,arguments))}}function kv(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Pv=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dv=/^\d+\/\d+$/,Nv=new Set(["px","full","screen"]),Fv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Iv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Ov(e){return Lv(e)||Nv.has(e)||Dv.test(e)}function jv(e){return Xv(e,"length",Jv)}function Lv(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Bv(e){return Xv(e,"number",Lv)}function Uv(e){return Boolean(e)&&Number.isInteger(Number(e))}function Vv(e){return e.endsWith("%")&&Lv(e.slice(0,-1))}function Hv(e){return Pv.test(e)}function zv(e){return Fv.test(e)}const Zv=new Set(["length","size","percentage"]);function Wv(e){return Xv(e,Zv,$v)}function qv(e){return Xv(e,"position",$v)}const Gv=new Set(["image","url"]);function Yv(e){return Xv(e,Gv,tC)}function Kv(e){return Xv(e,"",eC)}function Qv(){return!0}function Xv(e,t,n){const r=Pv.exec(e);return!!r&&(r[1]?"string"===typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function Jv(e){return Iv.test(e)}function $v(){return!1}function eC(e){return Rv.test(e)}function tC(e){return Mv.test(e)}Symbol.toStringTag;function nC(){const e=kv("colors"),t=kv("spacing"),n=kv("blur"),r=kv("brightness"),i=kv("borderColor"),o=kv("borderRadius"),a=kv("borderSpacing"),s=kv("borderWidth"),l=kv("contrast"),c=kv("grayscale"),u=kv("hueRotate"),d=kv("invert"),h=kv("gap"),p=kv("gradientColorStops"),f=kv("gradientColorStopPositions"),m=kv("inset"),g=kv("margin"),v=kv("opacity"),C=kv("padding"),y=kv("saturate"),b=kv("scale"),w=kv("sepia"),x=kv("skew"),A=kv("space"),E=kv("translate"),_=()=>["auto",Hv,t],T=()=>[Hv,t],S=()=>["",Ov,jv],k=()=>["auto",Lv,Hv],P=()=>["","0",Hv],D=()=>[Lv,Bv],N=()=>[Lv,Hv];return{cacheSize:500,separator:":",theme:{colors:[Qv],spacing:[Ov,jv],blur:["none","",zv,Hv],brightness:D(),borderColor:[e],borderRadius:["none","","full",zv,Hv],borderSpacing:T(),borderWidth:S(),contrast:D(),grayscale:P(),hueRotate:N(),invert:P(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[Vv,jv],inset:_(),margin:_(),opacity:D(),padding:T(),saturate:D(),scale:D(),sepia:P(),skew:N(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",Hv]}],container:["container"],columns:[{columns:[zv]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Hv]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Uv,Hv]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Hv]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Uv,Hv]}],"grid-cols":[{"grid-cols":[Qv]}],"col-start-end":[{col:["auto",{span:["full",Uv,Hv]},Hv]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[Qv]}],"row-start-end":[{row:["auto",{span:[Uv,Hv]},Hv]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Hv]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Hv]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Hv,t]}],"min-w":[{"min-w":["min","max","fit",Hv,Ov]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[zv]},zv,Hv]}],h:[{h:[Hv,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Ov,Hv]}],"max-h":[{"max-h":[Hv,t,"min","max","fit"]}],"font-size":[{text:["base",zv,jv]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bv]}],"font-family":[{font:[Qv]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Hv]}],"line-clamp":[{"line-clamp":["none",Lv,Bv]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ov,Hv]}],"list-image":[{"list-image":["none",Hv]}],"list-style-type":[{list:["none","disc","decimal",Hv]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ov,jv]}],"underline-offset":[{"underline-offset":["auto",Ov,Hv]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Hv]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Hv]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",qv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Yv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Ov,Hv]}],"outline-w":[{outline:[Ov,jv]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:S()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Ov,jv]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",zv,Kv]}],"shadow-color":[{shadow:[Qv]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",zv,Hv]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Hv]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",Hv]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",Hv]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Uv,Hv]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Hv]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Hv]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Hv]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ov,jv,Bv]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const rC=Sv(nC);function iC(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return rC((0,fv.$)(t))}const oC=e=>{let{collectionAddress:t,collectionName:n,trait:r,traitDisplayValue:i}=e;const o=new URLSearchParams;o.set("collectionFilters",JSON.stringify({["".concat(t,".").concat(n)]:{[r.name]:{[i]:!0}}})),o.set("orderFilters",JSON.stringify({})),o.set("sort",JSON.stringify({direction:"desc",listingKind:null,path:"blockTimestamp"})),o.set("paymentTokens","null");return"/collection/".concat(t,"/").concat(n,"?").concat(o.toString())},aC=async(e,t)=>{for(const n of[".svg",".png",".jpeg",".jpg",".mp4"].filter((e=>!e.includes(t))))if(e.toLowerCase().endsWith(n))return!1;return fetch("".concat(ss.Sw,"/imageMimeType?url=").concat(e)).then((e=>e.json().then((e=>{let{mimetype:n}=e;return n===".".concat(t)}))))},sC=e=>{let{collectionAddress:t,collectionName:n,onError:r,className:i}=e;const[o,a]=(0,sa.useState)("");return(0,sa.useEffect)((()=>{il({collectionAddress:t,collectionName:n}).then((e=>{a(e)}))}),[]),(0,ms.jsx)("img",{src:o,onError:r,alt:"".concat(o," asset"),className:i})},lC=e=>{let{isOpen:t,onClose:n,ipfsLink:r}=e;return(0,ms.jsx)(cc.e,{appear:!0,show:t,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:"relative z-[60]",onClose:n,children:[(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,ms.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,ms.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,ms.jsxs)(uc.l.Panel,{className:" transform rounded-xl bg-[#212b36]   text-left align-middle shadow-xl transition-all w-[26rem] md:w-[45rem] lg:w-[65rem]",children:[(0,ms.jsxs)(uc.l.Title,{as:"div",className:"p-4 border-b border-[#495057] px-10 w-full flex items-center justify-between",children:[(0,ms.jsx)("div",{}),(0,ms.jsx)(Ef.A,{onClick:n,className:"w-8 h-8 cursor-pointer fill-white"})]}),(0,ms.jsx)("div",{className:"flex w-full h-[85vh]",children:(0,ms.jsx)("iframe",{title:"FlowtyWrapped",src:"https://flowty.mypinata.cloud/ipfs/".concat(r.slice(7)),className:"w-full h-full"})})]})})})})]})})},cC=ss.Ao?"A.592eb32b47d8b85f.FlowtyWrapped.NFT":"A.d1712bc9e162f9e3.FlowtyWrapped.NFT",uC=e=>{var t,n,r,i,o;let{asset:a,classNames:s}=e;const[l,c]=(0,sa.useState)(!1),[u,d]=(0,sa.useState)(!1),h=(0,sa.useMemo)((()=>a.type===cC),[a]);(0,sa.useEffect)((()=>{h&&(async e=>{const t=await Tf.su.scripts.getFlowtyWrappedIpfs(e);t&&d(t)})(null===a||void 0===a?void 0:a.owner)}),[h,a]);const[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(!1),v=(0,sa.useMemo)((()=>{var e,t,n,r;return(0,us.getImageURL)(null!==(e=null===(t=a.card)||void 0===t||null===(n=t.images)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.url)&&void 0!==e?e:tl.A,(0,ss.hx)(a.type))}),[null===(t=a.card)||void 0===t||null===(n=t.images)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.url]);(0,sa.useEffect)((()=>{v&&m&&aC(v,"mp4").then(f)}),[v,m]);const C=(0,sa.useMemo)((()=>{var e,t,n;return(0,Bs.Yj)({traits:null!==(e=null===(t=a.nftView)||void 0===t||null===(n=t.traits)||void 0===n?void 0:n.traits)&&void 0!==e?e:[]})}),[null===(i=a.nftView)||void 0===i||null===(o=i.traits)||void 0===o?void 0:o.traits]),y=(0,sa.useMemo)((()=>{var e,t;if(!p&&m)return(0,ms.jsxs)("div",{className:"relative mx-auto w-fit",children:[(0,ms.jsx)("div",{className:"flex flex-row absolute top-4 left-4",children:(0,ms.jsx)(Bs.t1,{specialTsTraits:C})}),(0,ms.jsx)(sC,{collectionAddress:(null===a||void 0===a||null===(e=a.card)||void 0===e?void 0:e.collectionAddress)||(null===a||void 0===a?void 0:a.contractAddress)||"",collectionName:(null===a||void 0===a||null===(t=a.card)||void 0===t?void 0:t.collectionName)||(null===a||void 0===a?void 0:a.contractName)||"",onError:e=>{(0,ol.R)(e)},className:"bg-no-repeat bg-cover bg-center ".concat(s)})]});if(!p){var n,r;const e=(null===(n=a.card)||void 0===n?void 0:n.title)||"".concat(null===a||void 0===a?void 0:a.contractName," #").concat(null===a||void 0===a||null===(r=a.nftView)||void 0===r?void 0:r.id);return h?(0,ms.jsxs)("div",{className:"relative mx-auto w-fit",children:[(0,ms.jsx)("img",{className:"bg-no-repeat bg-cover bg-center ".concat(s),src:v,alt:e,onError:()=>{g(!0)}}),(0,ms.jsx)("button",{onClick:()=>{c(!0)},className:"absolute top-1/2  left-1/2 transform translate-x-[-50%] translate-y-[-50%] w-[10rem] h-[2.3rem] md:w-[15rem] md:h-[3.3rem] flex justify-center items-center gap-[1rem] flex-shrink-0 open-rich-text-button text-[14px] md:text-[1.5rem] font-[500] text-white font-montserrat",children:"Click To Open"})]}):(0,ms.jsxs)("div",{className:"relative mx-auto w-fit",children:[(0,ms.jsx)("div",{className:"flex flex-row absolute top-4 left-4",children:(0,ms.jsx)(Bs.t1,{specialTsTraits:C})}),(0,ms.jsx)("img",{className:"bg-no-repeat bg-cover bg-center ".concat(s),src:v,alt:e,onError:()=>{g(!0)}})]})}return p?(0,ms.jsx)("div",{className:"".concat(s),children:(0,ms.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,controls:!1,playsInline:!0,preload:"auto",children:(0,ms.jsx)("source",{type:"video/mp4",src:v})})}):void 0}),[s,v,ol.R,p,m,g]);return(0,ms.jsxs)(ms.Fragment,{children:[y,l&&(0,ms.jsx)(lC,{ipfsLink:u.toString(),isOpen:l,onClose:()=>c(!1)})]})};var dC=__webpack_require__(99154);const hC=e=>{let{symbol:t,count:n}=e;return(0,ms.jsx)("div",{style:{lineHeight:1},className:"".concat("LOAN"===t?"bg-[#2F2FA5] text-[#9D9DFE] border-[#9D9DFE]":"".concat("RENT"===t?"bg-[#973C19] text-[#F3B59C] border-[#F3B59C]":"".concat("LOCKED"===t?"bg-[#4C5B69] text-[#c2c2c2] border-[#7EE7C7]":"".concat("FORBIDDEN"===t?"bg-[#C70039] text-[#F3B59C] border-[#F3B59C]":"bg-[#1B8062] text-[#7EE7C7] border-[#7EE7C7]")))," rounded-md py-[0.25rem] px-[0.75rem] text-[0.75rem] mx-0.5 border-[1px] font-bold flex items-center justify-center shadow-xl h-fit m-auto w-fit"),children:"LOCKED"===t?(0,ms.jsx)(dC.A,{className:"h-4 w-4 fill-white"}):(0,ms.jsxs)("span",{children:[t," ","".concat(Number(n)>1?"x".concat(n):"")]})})},pC=["A.e4cf4bdc1751c65d.PackNFT.NFT","A.2d4c3caffbeab845.FLOAT.NFT","A.fdae91e14e960079.GaiaPackNFT.NFT","A.e81193c424cfd3fb.Doodles.NFT"],fC=e=>{var t,n,r,i,o;let{nft:a,orders:s}=e;const{denylistCache:l}=Cs(),[c,u]=(0,sa.useState)(a.type);return(0,sa.useEffect)((()=>{a.type.endsWith(".NFT")||u("".concat(a.type,".NFT"))}),[a]),(0,ms.jsx)(ms.Fragment,{children:0!==(null===(t=a.offers)||void 0===t?void 0:t.length)||s.loans||s.rentals||s.storefront?(0,ms.jsxs)("div",{className:"flex flex-row gap-[0.375rem]",children:[null!==(n=a.offers)&&void 0!==n&&n.length?(0,ms.jsx)(hC,{symbol:"OFFER"}):null,null!==s&&void 0!==s&&null!==(r=s.storefront)&&void 0!==r&&r.length?(0,ms.jsx)(hC,{symbol:"SALE",count:s.storefront.length}):null,null!==s&&void 0!==s&&null!==(i=s.loans)&&void 0!==i&&i.length?(0,ms.jsx)(hC,{symbol:"LOAN",count:s.loans.length}):null,null!==s&&void 0!==s&&null!==(o=s.rentals)&&void 0!==o&&o.length?(0,ms.jsx)(hC,{symbol:"RENT",count:s.rentals.length}):null,l.has(c)&&!pC.includes(c)?(0,ms.jsx)(hC,{symbol:"FORBIDDEN"}):null]}):(0,ms.jsx)("span",{className:"text-[1rem] md:text-[1.125rem] font-bold font-montserrat",children:"None available"})})};var mC;function gC(){return gC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gC.apply(null,arguments)}function vC(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",gC({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,mC||(mC=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.80039 1.63683C5.52384 1.57909 6.21064 1.29461 6.76302 0.823877C8.05205 -0.274626 9.94795 -0.274626 11.237 0.823877C11.7894 1.29461 12.4762 1.57909 13.1996 1.63683C14.8878 1.77155 16.2285 3.11215 16.3632 4.80039C16.4209 5.52384 16.7054 6.21064 17.1761 6.76302C18.2746 8.05205 18.2746 9.94795 17.1761 11.237C16.7054 11.7894 16.4209 12.4762 16.3632 13.1996C16.2285 14.8878 14.8878 16.2285 13.1996 16.3632C12.4762 16.4209 11.7894 16.7054 11.237 17.1761C9.94795 18.2746 8.05205 18.2746 6.76302 17.1761C6.21064 16.7054 5.52384 16.4209 4.80039 16.3632C3.11215 16.2285 1.77155 14.8878 1.63683 13.1996C1.57909 12.4762 1.29461 11.7894 0.823877 11.237C-0.274626 9.94795 -0.274626 8.05205 0.823877 6.76302C1.29461 6.21064 1.57909 5.52384 1.63683 4.80039C1.77155 3.11215 3.11215 1.77155 4.80039 1.63683ZM13.1705 7.5455C13.6098 7.10616 13.6098 6.39384 13.1705 5.9545C12.7312 5.51516 12.0188 5.51516 11.5795 5.9545L7.875 9.65901L6.4205 8.2045C5.98116 7.76516 5.26884 7.76516 4.8295 8.2045C4.39016 8.64384 4.39016 9.35615 4.8295 9.7955L7.0795 12.0455C7.51884 12.4848 8.23116 12.4848 8.6705 12.0455L13.1705 7.5455Z",fill:"#04E5A3"})))}const CC=sa.forwardRef(vC),yC=(__webpack_require__.p,()=>{const{collectionAddress:e,collectionName:t}=(0,Os.g)(),[n,r]=(0,sa.useState)(!0),[i,o]=(0,sa.useState)(null),[a,s]=(0,sa.useState)(!1);return(0,sa.useEffect)((()=>{(0,nl.r)({collectionAddress:"".concat(e),collectionName:"".concat(t)}).then((e=>{o(e),s(!(null===e||void 0===e||!e.isNFTCatalog))})).then((()=>r(!1)))}),[]),(0,ms.jsx)(ms.Fragment,{children:n?(0,ms.jsx)(yc.BM,{width:20,height:20}):(0,ms.jsx)(ms.Fragment,{children:ss.bo?(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)(ca.N_,{className:"flex items-center group font-montserrat",to:"/collection/".concat(e,"/").concat(t),children:[(0,ms.jsx)("div",{className:"w-[1.5rem] h-[1.5rem] bg-cover bg-no-repeat bg-center rounded-[0.1875rem]",style:{backgroundImage:"url(".concat(t?(0,us.getSquareImage)(t,i):rl.A,")")}}),(0,ms.jsx)("p",{className:"mx-2 text-primary text-[1rem] md:text-[1.125rem] font-bold",children:null===i||void 0===i?void 0:i.name}),n?(0,ms.jsx)("div",{className:"w-[16px] h-[16px]"}):(0,ms.jsx)(ms.Fragment,{children:a&&(0,ms.jsx)(CC,{className:"group-hover:stroke-primary",width:16,height:16})})]})}):(0,ms.jsx)("p",{className:"text-primary text-[1rem] md:text-[1.125rem] font-bold",children:null===i||void 0===i?void 0:i.name})})})}),bC=[{collectionAddress:ss.BN,collectionName:"TopShot"},{collectionAddress:ss.zp,collectionName:"AllDay"}],wC=e=>{var t,n,r,i,o,a,s,l,c,u,d,h;let{asset:p,orders:f}=e;const[m,g]=(0,sa.useState)(!1),[v,C]=(0,sa.useState)(!1),[y,b]=(0,sa.useState)(!1),{collectionAddress:w,collectionName:x}=(0,Os.g)(),[A,E]=(0,sa.useState)(!1),_=(0,sa.useCallback)((()=>{const e=(0,us.nftTypeAndIdToLocationData)(p.type,p.id),t=(0,us.getNFTIdentifier)(e);g(!0),Tf.su.api.refreshMetadata(t).then((()=>ds.o.track("REFRESH_NFT_METADATA_SUCCESS"))).catch((e=>ds.o.track("REFRESH_NFT_METADATA_FAILED",e)))}),[]),{traitDataLoading:T,collectionTraits:S}=(e=>{let{contractID:t}=e;const[n,r]=(0,sa.useState)(!0),[i,o]=(0,sa.useState)([]),a=(0,sa.useCallback)((async e=>{try{const t=await pv(e);o(null===t||void 0===t?void 0:t.traits),r(!1)}catch(t){ds.o.track("Error fetching data:",t)}}),[]);return(0,sa.useEffect)((()=>{a(t)}),[t]),{collectionTraits:i,traitDataLoading:n}})({contractID:(0,us.nftTypeToContractID)(p.type)}),k=(e=>{let{traits:t,isLoading:n,collectionTraits:r}=e;const i=(0,sa.useMemo)((()=>{if(!n){const e=t.filter((e=>null===r||void 0===r?void 0:r.some((t=>t.name===e.name)))),n=t.filter((e=>!(null!==r&&void 0!==r&&r.some((t=>t.name===e.name)))));return e.sort(((e,t)=>e.name.localeCompare(t.name))),n.sort(((e,t)=>e.name.localeCompare(t.name))),[...e,...n]}return[]}),[t,r,n]);return i})({collectionTraits:S,isLoading:T,traits:null!==(t=null===(n=p.nftView)||void 0===n||null===(r=n.traits)||void 0===r?void 0:r.traits)&&void 0!==t?t:[]}).map((e=>{const t=(e=>{if("object"!==typeof e.value)return e.displayType,e.value})(e);return{...e,url:oC({collectionAddress:null!==w&&void 0!==w?w:"",collectionName:null!==x&&void 0!==x?x:"",trait:e,traitDisplayValue:null!==t&&void 0!==t?t:""})}})),P=(0,sa.useMemo)((()=>bC.some((e=>e.collectionAddress===w&&e.collectionName===x))),[p]);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"flex flex-col mt-[1rem] lg:mt-[3rem]",children:[(0,ms.jsx)("div",{className:"grid lg:flex lg:flex-row lg:gap-x-[38px] rounded-md bg-[#606e7d33] py-[18px] px-[32px] md:p-[2rem]",children:(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"flex flex-col lg:hidden mb-[1.4rem] gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"font-extrabold font-montserrat text-[1.25rem]",children:null===(i=p.card)||void 0===i?void 0:i.title}),(0,ms.jsx)("span",{className:"font-bold font-montserrat text-[1rem] text-[#C1C1C1]",children:null===(o=p.card)||void 0===o?void 0:o.additionalDetails})]}),(0,ms.jsx)("div",{className:"xl:w-[398px] xl:h-[398px] max-h-[25rem] md:w-[25rem] mx-auto flex justify-center",children:(0,ms.jsx)(uC,{asset:p,classNames:"rounded-[0.625rem] w-full md:w-auto md:m-auto h-auto max-h-full"})}),(0,ms.jsxs)("div",{className:"flex flex-col flex-1 !leading-[18px]",children:[(0,ms.jsxs)("div",{children:[(0,ms.jsxs)("div",{className:"flex flex-row items-center justify-between w-full",children:[(0,ms.jsx)("span",{className:"font-extrabold font-montserrat text-[1.5rem] hidden lg:block",children:null===(a=p.card)||void 0===a?void 0:a.title}),(0,ms.jsxs)("div",{className:"flex pt-[16px] lg:pt-[0px]",children:[(0,ms.jsx)("div",{"data-tooltip-place":"top",onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),"data-tooltip-id":"".concat(p.id,"-refresh-tooltip"),onClick:()=>_(),className:"border-[1px] border-opacity-25 border-[#7c7c7c] group cursor-pointer bg-[#FFFFFF] backdrop-blur-sm p-2 mx-1 rounded-md hover:bg-opacity-[15%] bg-opacity-[8%]",children:(0,ms.jsx)(Wl,{className:iC("w-6 h-6",{"animate-spin":m})})}),(null===p||void 0===p||null===(s=p.nftView)||void 0===s?void 0:s.externalURL)&&(0,ms.jsx)("button",{onClick:()=>{var e,t,n;P?window.open(null!==(e=null===p||void 0===p||null===(t=p.nftView)||void 0===t||null===(n=t.externalURL)||void 0===n?void 0:n.url)&&void 0!==e?e:"","_blank"):b(!0)},children:(0,ms.jsx)("div",{"data-tooltip-place":"top",onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),"data-tooltip-id":"".concat(p.id,"-external-tooltip"),className:"border-[1px] border-opacity-25 border-[#7c7c7c] group cursor-pointer bg-[#FFFFFF] backdrop-blur-sm p-2 mx-1 rounded-md hover:bg-opacity-[15%] bg-opacity-[8%]",children:(0,ms.jsx)(tc,{className:"w-6 h-6"})})})]})]}),(0,ms.jsx)("span",{className:"font-bold font-montserrat text-[1.125rem] text-[#C1C1C1] hidden lg:block mt-2 lg:mt-0",children:null===(l=p.card)||void 0===l?void 0:l.additionalDetails})]}),(0,ms.jsx)("div",{className:"flex flex-row items-center my-[1.4rem] flex-wrap gap-y-[0.25rem] md:gap-y-[0rem]",children:(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row flex-wrap",children:[(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[1rem] text-[#C1C1C1]",children:"Collection"}),(0,ms.jsx)(yC,{})]}),(0,ms.jsx)("div",{className:"horizontal-border-gradient mx-[1.75rem]"}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[1rem] text-[#C1C1C1]",children:"Owned By"}),p.owner&&(0,ms.jsx)(ca.N_,{to:"/user/".concat(p.owner),className:"text-primary text-[1rem] md:text-[1.125rem] leading-8 font-bold font-montserrat truncate max-w-[110px] sm:max-w-full",children:p.owner})]}),(0,ms.jsx)("div",{className:"horizontal-border-gradient mx-[1.75rem]"}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[1rem] text-[#C1C1C1]",children:"Available Listings"}),(0,ms.jsx)("div",{children:(0,ms.jsx)(fC,{nft:p,nftId:null===(c=p.id)||void 0===c?void 0:c.toString(),orders:f})})]})]})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[1rem] text-[#C1C1C1] mb-[0.5rem]",children:"Properties"}),(0,ms.jsx)(Bs.Di,{traits:k,customRender:e=>(0,ms.jsx)(ca.N_,{to:e.url,children:(0,ms.jsx)(Bs.or,{trait:e})},e.name)})]})]})]})}),(0,ms.jsx)(_c.s,{type:"SUCCESS",setShow:g,show:m,seconds:5,message:"Refreshing NFT's metadata. It may take a few minutes for our records to update."}),(0,ms.jsx)(nc.m_,{id:"".concat(null===p||void 0===p?void 0:p.id,"-refresh-tooltip"),style:{backdropFilter:"blur(100px)",backgroundColor:"#33333380",zIndex:999},isOpen:v,children:(0,ms.jsx)("p",{className:"text-sm font-normal leading-none text-white",children:"Something look off? Refresh NFT"})}),(0,ms.jsx)(nc.m_,{id:"".concat(null===p||void 0===p?void 0:p.id,"-external-tooltip"),style:{backdropFilter:"blur(100px)",backgroundColor:"#33333380",zIndex:999},isOpen:A,children:(0,ms.jsx)("p",{className:"text-sm font-normal leading-none text-white",children:"View NFT on ".concat(null===p||void 0===p?void 0:p.contractName)})})]}),(0,ms.jsx)(Bs.tY,{isOpen:y,linkURL:null!==(u=null===p||void 0===p||null===(d=p.nftView)||void 0===d||null===(h=d.externalURL)||void 0===h?void 0:h.url)&&void 0!==u?u:"",onCloseModal:()=>b(!1)})]})},xC=[{description:"View all collections on Flowty.",href:"/marketplace",title:"Marketplace"},{description:"View live platform activity.",href:"/activity",title:"Activity"},{description:"Learn everything there is to know about Flowty's platform.",href:"https://docs.flowty.io/reference/",title:"Flowty FAQ"}],AC=()=>((0,sa.useEffect)((()=>{ds.o.track("404 page visited",{url:window.location.href})}),[]),(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: This page does not exist",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("div",{className:"bg-darkBg",children:(0,ms.jsx)("main",{className:"max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8",children:(0,ms.jsxs)("div",{className:"max-w-xl mx-auto py-16 sm:py-24",children:[(0,ms.jsxs)("div",{className:"text-center",children:[(0,ms.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wide welcome",children:"404 error"}),(0,ms.jsx)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-200 tracking-tight sm:text-5xl",children:"This page does not exist."}),(0,ms.jsx)("p",{className:"mt-2 text-lg text-gray-400",children:"The page you are looking for could not be found."})]}),(0,ms.jsxs)("div",{className:"mt-12",children:[(0,ms.jsx)("h2",{className:"text-sm font-semibold text-gray-300 tracking-wide uppercase",children:"Popular pages"}),(0,ms.jsx)("ul",{className:"mt-4 border-t border-b border-gray-200 divide-y divide-gray-200",children:xC.map((e=>(0,ms.jsxs)("li",{className:"relative py-6 flex items-start space-x-4",children:[(0,ms.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,ms.jsx)("h3",{className:"text-base font-medium text-gray-400",children:(0,ms.jsx)("span",{className:"rounded-sm focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-primary",children:(0,ms.jsxs)("a",{href:e.href,className:"focus:outline-none hover:text-primary",children:[(0,ms.jsx)("span",{className:"absolute inset-0","aria-hidden":"true"}),e.title]})})}),(0,ms.jsx)("p",{className:"text-base text-gray-300",children:e.description})]}),(0,ms.jsx)("div",{className:"flex-shrink-0 self-center",children:(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,ms.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})})]},e.title)))}),(0,ms.jsx)("div",{className:"mt-8",children:(0,ms.jsxs)("a",{href:"/",className:"text-base font-medium welcome hover:text-green-600",children:["Or visit the Flowty landing page",(0,ms.jsx)("span",{"aria-hidden":"true",children:" \u2192"})]})})]})]})})})]})),EC=()=>(0,ms.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[rgba(116,118,117,0.8)] h-[400px] w-full rounded-md shadow-customCollectionPage border border-[#6C757D] mt-[1rem] lg:mt-[3rem]"}),(0,ms.jsxs)("div",{className:"w-full flex gap-2 max-w-[240px] pt-10",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-4/5 h-[40px] rounded-md"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-4/5 h-[40px] rounded-md"})]}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-full h-[37px] rounded-md pb-2 my-[0.5rem]"}),(0,ms.jsxs)("div",{className:"flex flex-col gap-5 md:flex-row",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] md:w-[350px] w-full h-[270px] rounded-md pb-2"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-full h-[270px] rounded-md pb-2"})]})]});const _C=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))}));const TC=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}));var SC=__webpack_require__(14716);const kC=e=>{let{name:t,value:n,disabled:r,onChange:i,isChecked:o,icon:a,iconPosition:s,collapsible:l,label:c,children:u,isOpen:d,setIsOpen:h}=e;const p=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"single-listing-type-chevron",className:(0,SC.cn)("w-[0.875rem] h-[0.5rem]",{"rotate-0":!d,"rotate-180":d}),viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:d?"#04e5a3":"#F8F9FA"})})),[d]);return(0,ms.jsxs)("button",{className:"py-[0.75rem] w-full font-montserrat border-[1px] border-neutral-400 border-opacity-25 text-[0.875rem] font-[600] px-[1rem] rounded-[0.375rem] text-white bg-[#ffffff0a] hover:bg-[#ffffff1f] flex flex-col items-center justify-between gap-[0.375rem] shadow-[0_2px_4px_0px_rgba(0,0,0,0.1)]",children:[(0,ms.jsxs)("div",{className:"flex w-full items-center",onClick:e=>{e.stopPropagation(),h&&h(!d)},children:[(0,ms.jsx)("div",{onClick:()=>{var e;return null===(e=document.getElementById("".concat(n,"-listing-type-radio")))||void 0===e?void 0:e.click()},onKeyDown:()=>{var e;return null===(e=document.getElementById("".concat(n,"-listing-type-radio")))||void 0===e?void 0:e.click()},className:"flex items-center w-[70%] justify-between cursor-pointer",children:(0,ms.jsxs)("div",{className:"flex items-center w-full",children:[(0,ms.jsx)("input",{id:"".concat(n,"-listing-type-radio"),"data-testid":"".concat(n,"-listing-type-radio"),type:"radio",name:t,value:n,disabled:r,checked:o,onChange:e=>{i(e.target.value)},className:"hidden h-5 w-5 text-primary focus:outline-none focus:ring-0 focus:ring-offset-0 cursor-pointer"}),(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full border-2 border-white relative ".concat(o?"bg-primary border-none flex items-center justify-center":"bg-transparent!"),children:(0,ms.jsx)("div",{className:"rounded-full p-[0.27rem] ".concat(o?"bg-[#031021]":"bg-transparent")})}),"left"===s&&a,(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat",children:c}),"right"===s&&a]})]})}),(0,ms.jsx)("div",{className:"ml-auto",children:l&&p})]}),d&&u]})},PC=e=>{let{storefrontForm:t,rentalForm:n,loanForm:r,setEventType:i}=e;const[o,a]=(0,sa.useState)("all"),[s,l]=(0,sa.useState)({loan:!1,rent:!1,storefront:!1}),c=e=>{i(e),l({loan:!1,rent:!1,storefront:!1,[e]:!0}),a(e)};return(0,ms.jsxs)("div",{className:"space-y-2",children:[(0,ms.jsx)(kC,{name:"listing-type",value:"all",label:"Show All",disabled:!1,onChange:c,isChecked:"all"===o,icon:void 0,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(kC,{name:"listing-type",value:"storefront",label:"Buy Now",disabled:!1,onChange:c,isChecked:"storefront"===o,icon:void 0,iconPosition:"right",collapsible:!0,isOpen:s.storefront,setIsOpen:e=>l({...s,storefront:e}),children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:t})}),(0,ms.jsx)(kC,{name:"listing-type",value:"rent",label:"Rentals",disabled:!1,onChange:c,isChecked:"rent"===o,icon:void 0,iconPosition:"right",collapsible:!0,isOpen:s.rent,setIsOpen:e=>l({...s,rent:e}),children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:n})}),(0,ms.jsx)(kC,{name:"listing-type",value:"loan",label:"Loans",disabled:!1,onChange:c,isChecked:"loan"===o,icon:void 0,iconPosition:"right",collapsible:!0,isOpen:s.loan,setIsOpen:e=>l({...s,loan:e}),children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:r})})]})},DC=e=>{let{storefrontForm:t,rentalForm:n,loanForm:r,setEventType:i}=e;return(0,ms.jsxs)("div",{className:"w-max h-fit flex flex-col gap-3 px-2 py-6 eventTypeCard min-w-[344px]",children:[(0,ms.jsx)("div",{className:"flex items-center justify-between w-full px-[1rem]",children:(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.432 9.39523L9.39409 18.433C8.91944 18.9078 8.14511 18.9078 7.67038 18.433L1.56698 12.3296C1.09226 11.855 1.09226 11.0807 1.56698 10.6059L10.6048 1.568C10.8485 1.32429 11.1478 1.20405 11.4925 1.21124L16.4403 1.31577C17.03 1.32816 17.5574 1.56023 17.9985 2.00148C18.4398 2.44273 18.6718 2.97003 18.6842 3.55972L18.7887 8.50753C18.796 8.85222 18.6757 9.15152 18.432 9.39523ZM15.1291 4.87097C14.5496 4.29148 13.61 4.29148 13.0305 4.87097C12.451 5.45046 12.451 6.38999 13.0305 6.96945C13.61 7.54894 14.5496 7.54894 15.1292 6.96945C15.7087 6.38999 15.7087 5.45046 15.1291 4.87097Z",fill:"white",fillOpacity:"0.8"})}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Event Type"})]})}),(0,ms.jsx)("div",{className:"space-y-2 mt-3 overflow-y-auto styled-scroll px-[1rem]",children:(0,ms.jsx)(PC,{loanForm:r,rentalForm:n,storefrontForm:t,setEventType:i})})]})},NC=e=>{let{values:t,setEventType:n}=e;const r=e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ");return(0,ms.jsx)(DC,{setEventType:n,storefrontForm:(0,ms.jsx)("div",{className:"pl-4 flex flex-col gap-4",children:Object.keys(t.storefrontFilters).map((e=>(0,ms.jsx)(Bs.VR,{name:"storefrontFilters.".concat(e),id:"storefrontFilters.".concat(e),label:r(e),className:"text-[14px] font-[700] capitalize"},e)))}),rentalForm:(0,ms.jsx)("div",{className:"pl-4 flex flex-col gap-4",children:Object.keys(t.rentalFilters).map((e=>(0,ms.jsx)(Bs.VR,{name:"rentalFilters.".concat(e),id:"rentalFilters.".concat(e),label:r(e),className:"text-[14px] font-[700] capitalize"},e)))}),loanForm:(0,ms.jsx)("div",{className:"pl-4 flex flex-col gap-4",children:Object.keys(t.loanFilters).map((e=>(0,ms.jsx)(Bs.VR,{name:"loanFilters.".concat(e),id:"loanFilters.".concat(e),label:r(e),className:"text-[14px] font-[700] capitalize"},e)))})})};var FC=__webpack_require__(40485);const IC=e=>{let{openSearchNFT:t,values:n,page:r,setPage:i}=e;const[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)(!0),[c,u]=(0,sa.useState)(!1),[d,h]=(0,sa.useState)(0),p=20*r,f=wl({isLoading:c,onInfiniteScroll(){c||s||i(r+1)}},[d]),m=(e=>!e.storefront||e.loan||e.rent?!e.loan||e.storefront||e.rent?!e.rent||e.storefront||e.loan?"ALL":"RENTAL":"LOAN":"STOREFRONT")(n);return(0,sa.useEffect)((()=>{if(1===r&&l(!0),r>1&&u(!0),"ALL"===m){var e,i;const n=(e=>{let{limit:t=45,cb:n,nftId:r,nftType:i}=e;const o=(0,FC.rJ)(hl.db,"events");let a=(0,FC.P)(o),s=(0,FC.P)(o);s=(0,FC.P)(s,(0,FC.or)((0,FC.Uo)((0,FC._M)("data.nftType","==",i),(0,FC._M)("data.nftID","==",r)),(0,FC.Uo)((0,FC._M)("data.typeAndIDOffer.nftType","==",i),(0,FC._M)("data.typeAndIDOffer.nftID","==",r)))),a=(0,FC.P)(a,(0,FC.or)((0,FC.Uo)((0,FC._M)("data.nftType","==",i),(0,FC._M)("data.nftID","==",r)),(0,FC.Uo)((0,FC._M)("data.typeAndIDOffer.nftType","==",i),(0,FC._M)("data.typeAndIDOffer.nftID","==",r)))),s=(0,FC.P)(s,(0,FC.My)("blockTimestamp","desc")),s=(0,FC.P)(s,(0,FC.AB)(t));const l=(0,FC.GG)(a).then((e=>e.size));return(0,FC.aQ)(s,(e=>{const t=e.docs.map((e=>({id:e.id,...e.data()})));t&&l.then((e=>{n({data:t,totalCount:e})}))}))})({cb:e=>{let{data:t,totalCount:n}=e;h(n),a(t),1===r?l(!1):u(!1)},limit:p,nftId:null!==(e=null===t||void 0===t?void 0:t.id)&&void 0!==e?e:"",nftType:null!==(i=null===t||void 0===t?void 0:t.type)&&void 0!==i?i:""});return()=>n()}if("STOREFRONT"===m){var o,s;const e=(e=>{const t=new Set;return t.add(us.IEventType.StorefrontListed),t.add(us.IEventType.StorefrontPurchased),t.add(us.IEventType.StorefrontOfferCreated),t.add(us.IEventType.StorefrontOfferCancelled),t.add(us.IEventType.StorefrontOfferAccepted),e.purchased||t.delete(us.IEventType.StorefrontPurchased),e.listed||t.delete(us.IEventType.StorefrontListed),e.offerCreated||t.delete(us.IEventType.StorefrontOfferCreated),e.offerCancelled||t.delete(us.IEventType.StorefrontOfferCancelled),e.offerAccepted||t.delete(us.IEventType.StorefrontOfferAccepted),Array.from(t)})(n.storefrontFilters),i=(e=>{let{limit:t=25,cb:n,nftId:r,nftType:i,filterBy:o}=e;const a=(0,FC.rJ)(hl.db,"storefrontEvents");let s=(0,FC.P)(a),l=(0,FC.P)(a);l=(0,FC.P)(l,(0,FC.or)((0,FC.Uo)((0,FC._M)("data.nftType","==",i),(0,FC._M)("data.nftID","==",r)),(0,FC.Uo)((0,FC._M)("data.typeAndIDOffer.nftType","==",i),(0,FC._M)("data.typeAndIDOffer.nftID","==",r)))),s=(0,FC.P)(s,(0,FC.or)((0,FC.Uo)((0,FC._M)("data.nftType","==",i),(0,FC._M)("data.nftID","==",r)),(0,FC.Uo)((0,FC._M)("data.typeAndIDOffer.nftType","==",i),(0,FC._M)("data.typeAndIDOffer.nftID","==",r)))),o.length>0?(l=(0,FC.P)(l,(0,FC._M)("type","in",o)),s=(0,FC.P)(s,(0,FC._M)("type","in",o))):(l=(0,FC.P)(l,(0,FC._M)("type","==","null")),s=(0,FC.P)(s,(0,FC._M)("type","==","null"))),l=(0,FC.P)(l,(0,FC.My)("blockTimestamp","desc")),l=(0,FC.P)(l,(0,FC.AB)(t));const c=(0,FC.GG)(s).then((e=>e.size));return(0,FC.aQ)(l,(e=>{const t=e.docs.map((e=>({id:e.id,...e.data()})));t&&c.then((e=>{n({data:t,totalCount:e})}))}))})({cb:e=>{let{data:t,totalCount:n}=e;h(n),a(t),1===r?l(!1):u(!1)},filterBy:e,limit:p,nftId:null!==(o=null===t||void 0===t?void 0:t.id)&&void 0!==o?o:"",nftType:null!==(s=null===t||void 0===t?void 0:t.type)&&void 0!==s?s:""});return()=>i()}if("RENTAL"===m){var c,d;const e=(e=>{const t=new Set;return t.add(us.IEventType.RentalListed),t.add(us.IEventType.RentalRented),t.add(us.IEventType.RentalReturned),t.add(us.IEventType.RentalSettled),e.listed||t.delete(us.IEventType.RentalListed),e.returned||t.delete(us.IEventType.RentalReturned),e.unreturned||t.delete(us.IEventType.RentalSettled),e.rented||t.delete(us.IEventType.RentalRented),Array.from(t)})(n.rentalFilters),i=(e=>{let{limit:t=25,cb:n,nftId:r,nftType:i,filterBy:o}=e;const a=(0,FC.rJ)(hl.db,"rentalEvents");let s=(0,FC.P)(a),l=(0,FC.P)(a);l=(0,FC.P)(l,(0,FC.Uo)((0,FC.Uo)((0,FC._M)("data.nftType","==",i)),(0,FC.Uo)((0,FC._M)("data.nftID","==",r)))),s=(0,FC.P)(s,(0,FC.Uo)((0,FC.Uo)((0,FC._M)("data.nftType","==",i)),(0,FC.Uo)((0,FC._M)("data.nftID","==",r)))),o.length>0?(l=(0,FC.P)(l,(0,FC._M)("type","in",o)),s=(0,FC.P)(s,(0,FC._M)("type","in",o))):(l=(0,FC.P)(l,(0,FC._M)("type","==","null")),s=(0,FC.P)(s,(0,FC._M)("type","==","null"))),l=(0,FC.P)(l,(0,FC.My)("blockTimestamp","desc")),l=(0,FC.P)(l,(0,FC.AB)(t));const c=(0,FC.GG)(s).then((e=>e.size));return(0,FC.aQ)(l,(e=>{const t=e.docs.map((e=>({id:e.id,...e.data()})));t&&c.then((e=>{n({data:t,totalCount:e})}))}))})({cb:e=>{let{data:t,totalCount:n}=e;h(n),a(t),1===r?l(!1):u(!1)},filterBy:e,limit:p,nftId:null!==(c=null===t||void 0===t?void 0:t.id)&&void 0!==c?c:"",nftType:null!==(d=null===t||void 0===t?void 0:t.type)&&void 0!==d?d:""});return()=>i()}if("LOAN"===m){var f,g;const e=(e=>{const t=new Set;return t.add(us.IEventType.Listed),t.add(us.IEventType.Funded),t.add(us.IEventType.Repaid),t.add(us.IEventType.Settled),e.listed||t.delete(us.IEventType.Listed),e.funded||t.delete(us.IEventType.Funded),e.repaid||t.delete(us.IEventType.Repaid),e.defaulted||t.delete(us.IEventType.Settled),Array.from(t)})(n.loanFilters),i=(e=>{let{limit:t=25,cb:n,nftId:r,nftType:i,filterBy:o}=e;const a=(0,FC.rJ)(hl.db,"p2pEvents");let s=(0,FC.P)(a),l=(0,FC.P)(a);l=(0,FC.P)(l,(0,FC.Uo)((0,FC.Uo)((0,FC._M)("data.nftType","==",i)),(0,FC.Uo)((0,FC._M)("data.nftID","==",r)))),s=(0,FC.P)(s,(0,FC.Uo)((0,FC.Uo)((0,FC._M)("data.nftType","==",i)),(0,FC.Uo)((0,FC._M)("data.nftID","==",r)))),o.length>0?(l=(0,FC.P)(l,(0,FC._M)("type","in",o)),s=(0,FC.P)(s,(0,FC._M)("type","in",o))):(l=(0,FC.P)(l,(0,FC._M)("type","==","null")),s=(0,FC.P)(s,(0,FC._M)("type","==","null"))),l=(0,FC.P)(l,(0,FC.My)("blockTimestamp","desc")),l=(0,FC.P)(l,(0,FC.AB)(t));const c=(0,FC.GG)(s).then((e=>e.size));return(0,FC.aQ)(l,(e=>{const t=e.docs.map((e=>({id:e.id,...e.data()})));t&&c.then((e=>{n({data:t,totalCount:e})}))}))})({cb:e=>{let{data:t,totalCount:n}=e;h(n),a(t),1===r?l(!1):u(!1)},filterBy:e,limit:p,nftId:null!==(f=null===t||void 0===t?void 0:t.id)&&void 0!==f?f:"",nftType:null!==(g=null===t||void 0===t?void 0:t.type)&&void 0!==g?g:""});return()=>i()}a([]),l(!1),u(!1)}),[r,n]),{bottomOfPageRef:f,finalLength:d<=o.length,historyData:o,initialLoading:s,loading:c}},RC=e=>{let{address:t}=e;return(0,ms.jsx)("a",{onClick:e=>e.stopPropagation(),href:"/user/".concat(t),target:"_blank",rel:"noreferrer",className:"text-[#04E5A3] font-bold",children:t})},MC=e=>{let{borrower:t,amount:n,paymentTokenType:r,interestRate:i,term:o}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsx)("p",{className:"text-start",children:"Listing for"}),(0,ms.jsx)(Bs.GM,{price:n+i,token:r}),(0,ms.jsxs)("p",{className:"text-start",children:["with a duration of"," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:Sl(o)})," ","by ",(0,ms.jsx)(RC,{address:t})]})]})};var OC=__webpack_require__(98081);const jC=e=>{let{lender:t}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Loan funded"})," by"," ",(0,ms.jsx)(RC,{address:t})," "]})})},LC=e=>{let{borrower:t,repaymentAmount:n,tokenIdentifier:r}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Loan"})," of",""]}),(0,ms.jsx)(Bs.GM,{price:n,token:r}),(0,ms.jsxs)("p",{className:"text-start",children:["repaid by ",(0,ms.jsx)(RC,{address:t})]})]})},BC=e=>{let{listedBy:t}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Delisted"})," by"," ",(0,ms.jsx)(RC,{address:t})]})})},UC=e=>{let{borrower:t,repaymentAmount:n,tokenIdentifier:r}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Loan"})," of",""]}),(0,ms.jsx)(Bs.GM,{price:n,token:r}),(0,ms.jsxs)("p",{className:"text-start",children:["was not repaid on time by ",(0,ms.jsx)(RC,{address:t})]})]})},VC=e=>{let{loan:t}=e;const n=(0,sa.useMemo)((()=>{switch(t.type){case"LISTED":return(0,ms.jsx)(MC,{borrower:t.data.flowtyStorefrontAddress,amount:t.data.amount,paymentTokenType:OC.IdentifierToPaymentToken[t.data.paymentTokenType],interestRate:t.data.interestRate,term:t.data.term});case"FUNDED":return(0,ms.jsx)(jC,{lender:t.data.lender});case"REPAID":return(0,ms.jsx)(LC,{borrower:t.data.borrower,repaymentAmount:t.data.repaymentAmount,tokenIdentifier:t.paymentTokenName});case"DELISTED":return(0,ms.jsx)(BC,{listedBy:t.data.flowtyStorefrontAddress});case"SETTLED":return(0,ms.jsx)(UC,{borrower:t.data.borrower,repaymentAmount:t.data.repaymentAmount,tokenIdentifier:t.paymentTokenName})}}),[t]);return(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 md:gap-6",children:[(0,ms.jsx)(hC,{symbol:"LOAN"}),n]})},HC=e=>{let{flowtyStorefrontAddress:t,amount:n,deposit:r,paymentTokenType:i,term:o}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 flex-wrap text-[14px]",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Listed"})," for a"," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"rental fee"})," of"]}),(0,ms.jsx)(Bs.GM,{price:n,token:i}),(0,ms.jsxs)("p",{className:"text-start",children:["with a ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"deposit"})," of"," "]}),(0,ms.jsx)(Bs.GM,{price:r,token:i}),(0,ms.jsxs)("p",{className:"text-start",children:["and duration of"," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:Sl(o)})]}),(0,ms.jsxs)("p",{className:"text-start",children:["by ",(0,ms.jsx)(RC,{address:t})," "]})]})},zC=e=>{let{renterAddress:t,owner:n}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)(RC,{address:t})," rented NFT from"," ",(0,ms.jsx)(RC,{address:n})]})})},ZC=e=>{let{lender:t,renter:n}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)(RC,{address:n})," did not return NFT and the"," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"refundable deposit"})," was sent to ",(0,ms.jsx)(RC,{address:t})]})})},WC=e=>{let{renterAddress:t}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)(RC,{address:t})," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"returned NFT"})]})})},qC=e=>{let{flowtyStorefrontAddress:t}=e;return(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Delisted"})," by"," ",(0,ms.jsx)(RC,{address:t})]})})},GC=e=>{let{rent:t}=e;const n=(0,sa.useMemo)((()=>{switch(t.type){case"RENTAL_LISTED":return(0,ms.jsx)(HC,{flowtyStorefrontAddress:t.data.flowtyStorefrontAddress,deposit:t.data.deposit,amount:t.data.amount,term:t.data.term,paymentTokenType:OC.IdentifierToPaymentToken[t.data.paymentTokenType]});case"RENTAL_DESTROYED":return(0,ms.jsx)(qC,{flowtyStorefrontAddress:t.data.flowtyStorefrontAddress});case"RENTAL_RENTED":return(0,ms.jsx)(zC,{renterAddress:t.data.renterAddress,owner:t.data.flowtyStorefrontAddress});case"RENTAL_SETTLED":return(0,ms.jsx)(ZC,{lender:t.data.lender,renter:t.data.renter});case"RENTAL_RETURNED":return(0,ms.jsx)(WC,{renterAddress:t.data.renterAddress})}}),[t]);return(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 md:gap-6",children:[(0,ms.jsx)(hC,{symbol:"RENT"}),n]})},YC=e=>{let{storefrontAddress:t,offerAmount:n,tokenIdentifier:r,taker:i}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap items-center",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Offer"})," for"," ",(0,ms.jsx)(Bs.GM,{price:n,token:r}),(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"from"})," ",(0,ms.jsx)(RC,{address:t})," was"," ",(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"accepted by"})," ",(0,ms.jsx)(RC,{address:i})]})]})},KC=e=>{let{offerAddress:t,offeredAmount:n,paymentTokenType:r}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Offer"})," for"]}),(0,ms.jsx)(Bs.GM,{price:n,token:r}),(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"cancelled"})," by"," ",(0,ms.jsx)(RC,{address:t})," "]})]})},QC=e=>{let{storefrontAddress:t,offeredAmount:n,tokenIdentifier:r}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Offer created"})," by"," ",(0,ms.jsx)(RC,{address:t})," for"," "]}),(0,ms.jsx)(Bs.GM,{price:n,token:r})]})},XC=()=>(0,ms.jsx)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:(0,ms.jsx)("p",{className:"text-start",children:(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Delisted"})})}),JC=e=>{let{storefrontAddress:t,salePrice:n,tokenIdentifier:r}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Listed"})," by"," ",(0,ms.jsx)(RC,{address:t})," for"," "]}),(0,ms.jsx)(Bs.GM,{price:n,token:r})]})},$C=e=>{let{storefrontAddress:t,buyer:n,salePrice:r,tokenIdentifier:i}=e;return(0,ms.jsxs)("div",{className:"flex gap-1 text-[14px] flex-wrap",children:[(0,ms.jsxs)("p",{className:"text-start",children:[(0,ms.jsx)("span",{className:"font-bold text-[14px]",children:"Purchased"})," by"," ",(0,ms.jsx)(RC,{address:n})," from"," ",(0,ms.jsx)(RC,{address:t})," for"," "]}),(0,ms.jsx)(Bs.GM,{price:r,token:i})]})},ey=e=>{var t;let{storefront:n}=e;const r=null!==(t=n.data.salePaymentVaultType)&&void 0!==t?t:"",i=(0,sa.useMemo)((()=>{var e,t,i,o,a,s,l,c,u,d,h,p,f,m;switch(n.type){case"STOREFRONT_LISTED":return(0,ms.jsx)(JC,{storefrontAddress:n.data.storefrontAddress,salePrice:n.data.salePrice,tokenIdentifier:OC.IdentifierToPaymentToken[r]});case"STOREFRONT_DELISTED":return(0,ms.jsx)(XC,{});case"STOREFRONT_PURCHASED":return(0,ms.jsx)($C,{storefrontAddress:n.data.storefrontAddress,buyer:null!==(e=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.buyer)&&void 0!==e?e:"",salePrice:n.data.salePrice,tokenIdentifier:OC.IdentifierToPaymentToken[r]});case"STOREFRONT_OFFER_CREATED":const g=null===n||void 0===n||null===(i=n.data)||void 0===i?void 0:i.paymentTokenName;return(0,ms.jsx)(QC,{storefrontAddress:n.data.storefrontAddress,offeredAmount:null!==(o=null===n||void 0===n||null===(a=n.data)||void 0===a?void 0:a.offeredAmount)&&void 0!==o?o:0,tokenIdentifier:g});case"STOREFRONT_OFFER_ACCEPTED":return(0,ms.jsx)(YC,{taker:"object"===typeof(null===n||void 0===n||null===(s=n.data)||void 0===s?void 0:s.taker)?"-":null!==(l=null===n||void 0===n||null===(c=n.data)||void 0===c?void 0:c.taker)&&void 0!==l?l:"-",storefrontAddress:n.data.storefrontAddress,offerAmount:null!==(u=null===n||void 0===n||null===(d=n.data)||void 0===d?void 0:d.offeredAmount)&&void 0!==u?u:0,tokenIdentifier:null===n||void 0===n||null===(h=n.data)||void 0===h?void 0:h.paymentTokenName});case"STOREFRONT_OFFER_CANCELLED":return(0,ms.jsx)(KC,{offeredAmount:null!==(p=null===n||void 0===n||null===(f=n.data)||void 0===f?void 0:f.offeredAmount)&&void 0!==p?p:0,offerAddress:n.data.flowtyStorefrontAddress,paymentTokenType:null===n||void 0===n||null===(m=n.data)||void 0===m?void 0:m.paymentTokenName});default:return null}}),[n]);return(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 md:gap-6",children:[(0,ms.jsx)(hC,{symbol:"BUY NOW"}),i]})},ty=e=>{let{historyRow:t}=e;const n=(0,sa.useMemo)((()=>null!==t&&void 0!==t&&t.type.includes("STOREFRONT")?"STOREFRONT":null!==t&&void 0!==t&&t.type.includes("RENT")?"RENT":"LOAN"),[t]),r="mainnet"===Tf.su.config.network?us.FLOW_SCAN_TX_MAINNET_URL:us.FLOW_SCAN_TX_TESTNET_URL,i="".concat(r,"/").concat(t.transactionId),o=(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm");return(0,ms.jsxs)("button",{onClick:()=>{window.open(i,"_blank")},className:"w-full flex flex-col md:flex-row gap-2 md:gap-6 justify-between collectionCard p-6",children:["STOREFRONT"===n&&(0,ms.jsx)(ey,{storefront:t}),"RENT"===n&&(0,ms.jsx)(GC,{rent:t}),"LOAN"===n&&(0,ms.jsx)(VC,{loan:t}),(0,ms.jsx)("p",{className:"font-semibold text-[12px] md:text-[16px] md:font-bold text-[#898989] md:text-white whitespace-nowrap",children:o})]})};var ny;function ry(){return ry=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ry.apply(null,arguments)}function iy(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",ry({width:82,height:105,viewBox:"0 0 82 105",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-24 w-24",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,ny||(ny=sa.createElement("path",{d:"M76.5 22.5L81.5 0H44C30.8 2.4 23.5 15.3333 21.5 21.5L0 105H26L35.5 67H53.5L58.5 43.5H41.5C46 27.5 47.5 22.5 50.5 22.5H76.5Z",className:"fill-[#b3bbbe]"})))}const oy=sa.forwardRef(iy),ay=(__webpack_require__.p,e=>{let{values:t,openSearchNFT:n,page:r,setPage:i}=e;const{historyData:o,initialLoading:a,loading:s,finalLength:l,bottomOfPageRef:c}=IC({openSearchNFT:n,page:r,setPage:i,values:t});return(0,ms.jsx)("div",{style:{height:"calc(100vh - 800px)"},className:"w-full flex flex-col gap-3 pr-1 overflow-scroll min-h-[600px]",children:a?(0,ms.jsx)("div",{className:"w-full flex flex-col gap-3",children:Array.from({length:5}).map(((e,t)=>(0,ms.jsx)("div",{className:"rounded flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait w-full h-[72px]"},t)))}):(0,ms.jsxs)(ms.Fragment,{children:[0===o.length&&(0,ms.jsxs)("div",{className:"w-full h-full flex items-center pt-[1.5rem] flex-col animate-pulse gap-3",children:[(0,ms.jsxs)("div",{className:"relative mr-5",children:[(0,ms.jsx)(oy,{}),(0,ms.jsxs)("div",{className:"flex space-x-2 left-11 bottom-0 absolute",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"})]})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("p",{className:"text-white text-montserrat text-[0.875rem] leading-normal font-bold",children:"No History Found"}),(0,ms.jsx)("p",{className:"text-white text-montserrat text-[0.875rem] font-normal leading-normal",children:"Try applying filters"})]})]}),o.map((e=>e.type.includes("DELISTED")||e.type.includes("DESTROYED")?null:(0,ms.jsx)(ty,{historyRow:e},e.id))),s||l?(0,ms.jsx)(ms.Fragment,{children:s&&(0,ms.jsx)("div",{className:"w-full flex justify-center items-center py-4",children:(0,ms.jsx)(yc.BM,{secondaryColor:"#4f4f4f",color:"#B3BBBE",height:40,width:40})})}):(0,ms.jsxs)("div",{className:"w-full h-full",children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{className:"w-full h-[2px]",ref:c})]})]})})}),sy={all:!0,storefront:!1,loan:!1,rent:!1,loanFilters:{funded:!0,repaid:!0,defaulted:!0,listed:!0},rentalFilters:{rented:!0,returned:!0,unreturned:!0,listed:!0},storefrontFilters:{purchased:!0,listed:!0,offerAccepted:!0,offerCancelled:!0,offerCreated:!0}},ly=e=>{let{openSearchNFT:t}=e;const{renderMobile:n}=(0,bs.h)(),[r,i]=(0,sa.useState)(!n),[o,a]=(0,sa.useState)(1),s=e=>{a(e)};return(0,ms.jsxs)("div",{className:"w-full flex flex-col gap-4",children:[(0,ms.jsxs)("button",{onClick:()=>i((e=>!e)),className:"w-max max-md:w-full flex items-center justify-center py-1 collectionCard !rounded-md md:min-w-[344px]",children:[r?(0,ms.jsx)(_C,{height:20,width:20}):(0,ms.jsx)(TC,{height:20,width:20})," ","Filters"," "]}),(0,ms.jsx)("div",{className:"w-full flex gap-4",children:(0,ms.jsx)(gl.l1,{initialValues:sy,onSubmit:()=>{},validate:()=>({}),children:e=>{let{values:a,setFieldValue:l}=e;return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:r?"flex":"hidden",children:(0,ms.jsx)(NC,{values:a,setEventType:e=>{l("all",!1),l("storefront",!1),l("loan",!1),l("rent",!1),l(e,!0),s(1),n&&i(!1)}})}),n&&r?null:(0,ms.jsx)(ay,{openSearchNFT:t,values:a,page:o,setPage:s})]})}})})]})};var cy=__webpack_require__(36597);const uy=()=>{const[e,t]=(0,sa.useState)({loan:[],rental:[],storefront:[]}),[n,r]=(0,sa.useState)(!1),[i,o]=(0,sa.useState)(null),[a,s]=(0,sa.useState)(null),l=e=>(e.listingKind,e);return{cleanItemOrder:()=>{t({loan:[],rental:[],storefront:[]}),o(null),s(null)},fetchFlowNFT:async(e,t)=>{try{const n=await(0,nl.t)({nftId:e,nftType:t});s(n)}catch(n){(0,fs._)("Failed to fetch Flow NFT type.",n)}},flowNFT:a,getItem:async(n,i,a,s)=>{r(!0);try{var c;const r=await Tf.su.api.getItem({contractAddress:n,contractName:i,nftID:a,resourceName:s});o(r);const u=null===(c=r.orders)||void 0===c?void 0:c.reduce(((e,t)=>{var n;const r={...e},i=null!==(n=r[t.listingKind])&&void 0!==n&&n.length?[...r[t.listingKind]]:[];return r[t.listingKind]=[...i,l(t)],r}),e);t(u||{loan:[],rental:[],storefront:[]})}catch(u){(0,fs._)("Failed to fetch asset orders.",u)}finally{r(!1)}},getLoanOrder:async e=>{r(!0);try{const t=await(async e=>{const t=hl.kA.collection("fundingAvailable").where("listingResourceID","==",e);return(await t.get()).docs.map((e=>e.data()))[0].fundingResourceID})(e);return t}catch(t){(0,fs._)("Failed to fetch loan order.",t)}finally{r(!1)}},isOrderLoading:n,orders:e,selectedNft:i}};var dy=__webpack_require__(67625);const hy={isViewOnly:!1,selectCard:async()=>{}},py=(0,sa.createContext)(hy),fy=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i;let{authStore:o,children:a}=e;const[s,l]=(0,sa.useState)(!1),[c,u]=(0,sa.useState)(null),[d,h]=(0,sa.useState)(null),[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(void 0),[v,C]=(0,sa.useState)(null),[y,b]=(0,sa.useState)(!1),[w,x]=(0,sa.useState)(void 0),[A,E]=(0,sa.useState)(null),[_,T]=(0,sa.useState)(null),[S,k]=(0,sa.useState)(!1),[P,D]=(0,sa.useState)({catalogIdentifier:"",ticketID:""}),{cleanItemOrder:N,fetchFlowNFT:F,flowNFT:I,getItem:R,getLoanOrder:M,isOrderLoading:O,orders:j,selectedNft:L}=uy(),{cleanValuation:B,getValuation:U,isLoadingValuation:V,valuation:H}=(()=>{const[e,t]=(0,sa.useState)(null),[n,r]=(0,sa.useState)(!1);return{cleanValuation:()=>{t(null)},getValuation:async e=>{r(!0);try{const n=await cs().post("".concat(ss.Sw,"/nft/valuation"),e);t(n.data)}catch(n){(0,fs._)("Failed to fetch asset orders.",n)}finally{r(!1)}},isLoadingValuation:n,valuation:e}})(),{addressesWithCollectionPublic:z,checkHasProvider:Z,getNftProviderPathIdentifier:W,getPublicAddresses:q}=(()=>{const{hybridCustodyNFTStatus:e,iterateAndRunScript:t}=(0,ys.g)(),[n,r]=(0,sa.useState)([]);return{addressesWithCollectionPublic:n,checkHasProvider:(t,n)=>{var r;const i=null!==(r=null===n||void 0===n?void 0:n.owner)&&void 0!==r?r:"";return((e,t,n)=>{var r;return e?(null===e||void 0===e?void 0:e.owner)===t||(void 0===n?null:(null===n||void 0===n||null===(r=n[null===e||void 0===e?void 0:e.contractAddress.concat(".").concat(null===e||void 0===e?void 0:e.contractName)])||void 0===r?void 0:r.length)>0):null})(n,t,e[i])},getNftProviderPathIdentifier:(t,n,r)=>{var i;return t!==(null===n||void 0===n?void 0:n.owner)?(0,dy.D)((null===e||void 0===e||null===(i=e[(null===n||void 0===n?void 0:n.owner)||""])||void 0===i?void 0:i[r])||[],null===n||void 0===n?void 0:n.contractAddress,null===n||void 0===n?void 0:n.contractName):""},getPublicAddresses:async(e,n,i,o,a,s)=>{try{t([e],n||{},i);const l=await Tf.su.scripts.getAddressesWithCollectionPublic(Object.keys(o)||[],a,s);r(l)}catch(l){(0,fs._)("Failed to fetch hybrid custody",l)}}}})(),[G,Y]=(0,sa.useState)(null),{collectionAddress:K,collectionName:Q}=(null===L||void 0===L?void 0:L.card)||{collectionAddress:"",collectionName:""},X=(e=>{let{collectionAddress:t,collectionName:n}=e;const[r,i]=(0,sa.useState)({});return(0,sa.useEffect)((()=>{const e=localStorage.getItem("collectionImages"),r=e?JSON.parse(e):{},o=(new Date).getTime(),a=r[n];a&&a.expiry>o?i((e=>({...e,[n]:a.url}))):t&&n&&il({collectionAddress:t,collectionName:n}).then((e=>{const t={expiry:o+12096e5,url:e};i((t=>({...t,[n]:e}))),e.includes("new_fallback_image")||localStorage.setItem("collectionImages",JSON.stringify({...r,[n]:t}))}))}),[t,n]),r})({collectionAddress:K,collectionName:Q}),J=X[Q],$=(0,cy.s)(us.SupportedTokens.FLOW),ee=(0,sa.useMemo)((()=>{var e,t,n,r;return A?"storefront"===A.listingKind?"purchase":A.listingKind:"storefront"===(null===L||void 0===L||null===(e=L.orders)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.listingKind)||"make-offer"===p||_?"purchase":null===L||void 0===L||null===(n=L.orders)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.listingKind}),[L,p,_]),te=null!==L&&void 0!==L&&null!==(t=L.type)&&void 0!==t&&t.endsWith(".NFT")?null===L||void 0===L?void 0:L.type:"".concat(null===L||void 0===L?void 0:L.type,".NFT");let ne=!1;te===ss.l8&&(ne=(0,us.checkIsLocked)(L));const re="".concat(null===c||void 0===c?void 0:c.contractAddress,".").concat(null===c||void 0===c?void 0:c.contractName),ie=(0,sa.useMemo)((()=>{var e,t;return Z(null!==(e=null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.addr)&&void 0!==e?e:"",L)||ne}),[L,ne]),oe=(0,sa.useMemo)((()=>{var e,t;return W(null!==(e=null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.addr)&&void 0!==e?e:"",L,re)}),[L,o]);(0,sa.useEffect)((()=>{var e,t,n;if(N(),B(),null===c||void 0===c||!c.contractAddress||null===c||void 0===c||!c.contractName||null===c||void 0===c||!c.nftID)return;const r=(0,us.nftTypeAndIdToLocationData)(null!==(e=null===c||void 0===c?void 0:c.nftType)&&void 0!==e?e:"",null!==(t=null===c||void 0===c?void 0:c.nftID)&&void 0!==t?t:"");R(r.contract.address,r.contract.name,r.nftID,r.resourceName),U(c),F(c.nftID,null!==(n=null===c||void 0===c?void 0:c.nftType)&&void 0!==n?n:"")}),[c]),(0,sa.useEffect)((()=>{var e,t,n;c&&q(re,(null===o||void 0===o||null===(e=o.loggedUser)||void 0===e?void 0:e.childAccounts)||{},(null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.addr)||"",(null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.accountSummaries)||{},(null===c||void 0===c?void 0:c.contractAddress)||"",(null===c||void 0===c?void 0:c.contractName)||"")}),[c]),(0,sa.useEffect)((()=>{var e,t,n;const r=null===L||void 0===L?void 0:L.owner;S?b(!0):r&&null!==o&&void 0!==o&&null!==(e=o.loggedUser)&&void 0!==e&&e.addr?o.loggedUser.addr!==r?null!==o&&void 0!==o&&null!==(t=o.loggedUser)&&void 0!==t&&t.childAccounts?r in((null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.childAccounts)||{})&&b(!0):b(!1):b(!0):b(!1)}),[L,o,S]);const ae=(0,sa.useCallback)(((e,t)=>{ds.o.track(e,t)}),[]),se=(0,sa.useCallback)((async e=>{let{selected:t,initListingType:n,selectedSinglePurchase:r,selectedSingleOffer:i,singleOfferType:o,singleDelistAction:a,singleDelistOrder:s,loanRentalActions:c,lostAndFoundModal:d,lostAndFoundTicketData:p}=e;if(l(!0),u(t),d)return k(!0),void D(p);if(c){if("loan"===c.type){var m,v;const e=await M(null!==(m=null===(v=c)||void 0===v?void 0:v.listingResourceID)&&void 0!==m?m:"");c={...c,fundingResourceID:e}}T(c)}else x(n),E(r),h(i||null),f(o||null),g(a||void 0),C(s||null)}),[]);(0,sa.useEffect)((()=>{var e,t,n;(async()=>{const e=(0,us.nftTypeToContractID)(te);try{const i=await hl.db.collection("flowNFTContract").doc(e).get();if(i.exists){var t;const e=i.data();if(null!==e&&void 0!==e&&null!==(t=e.collectionDisplay)&&void 0!==t&&t.name){var n,r;const t=null===e||void 0===e||null===(n=e.collectionDisplay)||void 0===n||null===(r=n.name)||void 0===r?void 0:r.replaceAll("-"," ");Y(t)}}}catch(i){(0,fs.t)(i,te,e)}})();const r=null===L||void 0===L?void 0:L.owner;r&&null!==o&&void 0!==o&&null!==(e=o.loggedUser)&&void 0!==e&&e.addr?o.loggedUser.addr!==r?null!==o&&void 0!==o&&null!==(t=o.loggedUser)&&void 0!==t&&t.childAccounts?r in((null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.childAccounts)||{})&&b(!0):b(!1):b(!0):b(!1)}),[L,o]);const le=()=>{l(!1),k(!1),D({catalogIdentifier:"",ticketID:""}),N(),B(),u(null),h(null),E(null),T(null)},ce=async e=>{var t;null!==o&&void 0!==o&&null!==(t=o.loggedUser)&&void 0!==t&&t.addr&&await hl.db.collection("/accounts/".concat(o.loggedUser.addr,"/messages")).add({...e,type:us.NotificationType.Transaction})},ue=(0,sa.useMemo)((()=>({isViewOnly:!1,selectCard:se})),[se]);return(0,ms.jsxs)(py.Provider,{value:ue,children:[a,s&&L&&(0,ms.jsx)(ms.Fragment,{children:y&&!_&&"cancel-offer"!==p?(0,ms.jsx)(Bs.ZJ,{createTransactionNotification:ce,collectionDisplayName:G,collectionImage:J,initialListingType:w,valuation:H,isLoadingValuation:V,isOpen:s,onClose:le,openSearchFlowNFT:L,accountSummaries:null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.accountSummaries,hasProvider:ie,spotPrice:$,nftProviderPathIdentifier:oe,flowNFT:null!==I&&void 0!==I?I:void 0,selectedOffer:d,singleAction:m,singleOrder:null!==v&&void 0!==v?v:void 0,strapiUrl:ss.j$,mixPanelFn:ae,addressesWithCollectionPublic:z,flowty:Tf.su}):(0,ms.jsx)(Bs.m9,{isLostAndFound:S,lostAndFoundTicketID:P.ticketID,lostAndFoundCatalogIdentifier:P.catalogIdentifier,flowNft:null!==I&&void 0!==I?I:void 0,createTransactionNotification:ce,collectionImage:J,singleOffer:null!==p&&void 0!==p?p:void 0,offer:d,isLoggedUser:Boolean(null===o||void 0===o||null===(r=o.loggedUser)||void 0===r?void 0:r.loggedIn),purchaseType:ee,nftOrders:A?void 0:j,isLoadingOrders:O,singleListing:null!==A&&void 0!==A?A:void 0,openSearchFlowNFT:L,accountSummaries:null===o||void 0===o||null===(i=o.loggedUser)||void 0===i?void 0:i.accountSummaries,nftProviderPathIdentifier:oe,isOpen:s,onClose:le,valuation:H,isLoadingValuation:V,spotPrice:$,strapiUrl:ss.j$,hasProvider:!0,mixPanelFn:ae,addressesWithCollectionPublic:z,loanRentalActionsData:_||void 0,flowty:Tf.su})})]})}))),my=()=>(0,sa.useContext)(py);function gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cy(e,t,n){return t&&vy(e.prototype,t),n&&vy(e,n),e}function yy(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},by(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},wy(e,t)}function xy(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ay(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=by(e);if(t){var i=by(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xy(this,n)}}function Ey(e){return function(e){if(Array.isArray(e))return _y(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return _y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=String(e);if(0===t)return n;var r=n.match(/(.*?)([0-9]+)(.*)/),i=r?r[1]:"",o=r?r[3]:"",a=r?r[2]:n,s=a.length>=t?a:(Ey(Array(t)).map((function(){return"0"})).join("")+a).slice(-1*t);return"".concat(i).concat(s).concat(o)}var Sy={daysInHours:!1,zeroPadTime:2};function ky(e,t){var n=e.days,r=e.hours,i=e.minutes,o=e.seconds,a=Object.assign(Object.assign({},Sy),t),s=a.daysInHours,l=a.zeroPadTime,c=a.zeroPadDays,u=void 0===c?l:c,d=Math.min(2,l),h=s?Ty(r+24*n,l):Ty(r,d);return{days:s?"":Ty(n,u),hours:h,minutes:Ty(i,d),seconds:Ty(o,d)}}var Py=function(e){yy(n,e);var t=Ay(n);function n(){var e;return gy(this,n),(e=t.apply(this,arguments)).state={count:e.props.count||3},e.startCountdown=function(){e.interval=window.setInterval((function(){0===e.state.count-1?(e.stopCountdown(),e.props.onComplete&&e.props.onComplete()):e.setState((function(e){return{count:e.count-1}}))}),1e3)},e.stopCountdown=function(){clearInterval(e.interval)},e.addTime=function(t){e.stopCountdown(),e.setState((function(e){return{count:e.count+t}}),e.startCountdown)},e}return Cy(n,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?(0,sa.cloneElement)(this.props.children,{count:this.state.count}):null}}]),n}(sa.Component);Py.propTypes={count:da.number,children:da.element,onComplete:da.func};var Dy=function(e){yy(n,e);var t=Ay(n);function n(e){var r;if(gy(this,n),(r=t.call(this,e)).mounted=!1,r.initialTimestamp=r.calcOffsetStartTimestamp(),r.offsetStartTimestamp=r.props.autoStart?0:r.initialTimestamp,r.offsetTime=0,r.legacyMode=!1,r.legacyCountdownRef=(0,sa.createRef)(),r.tick=function(){var e=r.calcTimeDelta(),t=e.completed&&!r.props.overtime?void 0:r.props.onTick;r.setTimeDeltaState(e,void 0,t)},r.start=function(){if(!r.isStarted()){var e=r.offsetStartTimestamp;r.offsetStartTimestamp=0,r.offsetTime+=e?r.calcOffsetStartTimestamp()-e:0;var t=r.calcTimeDelta();r.setTimeDeltaState(t,"STARTED",r.props.onStart),r.props.controlled||t.completed&&!r.props.overtime||(r.clearTimer(),r.interval=window.setInterval(r.tick,r.props.intervalDelay))}},r.pause=function(){r.isPaused()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.setTimeDeltaState(r.state.timeDelta,"PAUSED",r.props.onPause))},r.stop=function(){r.isStopped()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.offsetTime=r.offsetStartTimestamp-r.initialTimestamp,r.setTimeDeltaState(r.calcTimeDelta(),"STOPPED",r.props.onStop))},r.isStarted=function(){return r.isStatus("STARTED")},r.isPaused=function(){return r.isStatus("PAUSED")},r.isStopped=function(){return r.isStatus("STOPPED")},r.isCompleted=function(){return r.isStatus("COMPLETED")},e.date){var i=r.calcTimeDelta();r.state={timeDelta:i,status:i.completed?"COMPLETED":"STOPPED"}}else r.legacyMode=!0;return r}return Cy(n,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(e){this.legacyMode||this.props.date!==e.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var e=this.props,t=e.date,n=e.now,r=e.precision,i=e.controlled,o=e.overtime;return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.now,i=void 0===r?Date.now:r,o=n.precision,a=void 0===o?0:o,s=n.controlled,l=n.offsetTime,c=void 0===l?0:l,u=n.overtime;t="string"===typeof e?new Date(e).getTime():e instanceof Date?e.getTime():e,s||(t+=c);var d=s?t:t-i(),h=Math.min(20,Math.max(0,a)),p=Math.round(1e3*parseFloat(((u?d:Math.max(0,d))/1e3).toFixed(h))),f=Math.abs(p)/1e3;return{total:p,days:Math.floor(f/86400),hours:Math.floor(f/3600%24),minutes:Math.floor(f/60%60),seconds:Math.floor(f%60),milliseconds:Number((f%1*1e3).toFixed()),completed:p<=0}}(t,{now:n,precision:r,controlled:i,offsetTime:this.offsetTime,overtime:o})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(e){this.legacyCountdownRef.current.addTime(e)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(e){return this.state.status===e}},{key:"setTimeDeltaState",value:function(e,t,n){var r=this;if(this.mounted){var i=e.completed&&!this.state.timeDelta.completed,o=e.completed&&"STARTED"===t;i&&!this.props.overtime&&this.clearTimer();return this.setState((function(n){var i=t||n.status;return e.completed&&!r.props.overtime?i="COMPLETED":t||"COMPLETED"!==i||(i="STOPPED"),{timeDelta:e,status:i}}),(function(){n&&n(r.state.timeDelta),r.props.onComplete&&(i||o)&&r.props.onComplete(e,o)}))}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var e=this.props,t=e.daysInHours,n=e.zeroPadTime,r=e.zeroPadDays,i=this.state.timeDelta;return Object.assign(Object.assign({},i),{api:this.getApi(),props:this.props,formatted:ky(i,{daysInHours:t,zeroPadTime:n,zeroPadDays:r})})}},{key:"render",value:function(){if(this.legacyMode){var e=this.props,t=e.count,n=e.children,r=e.onComplete;return(0,sa.createElement)(Py,{ref:this.legacyCountdownRef,count:t,onComplete:r},n)}var i=this.props,o=i.className,a=i.overtime,s=i.children,l=i.renderer,c=this.getRenderProps();if(l)return l(c);if(s&&this.state.timeDelta.completed&&!a)return(0,sa.cloneElement)(s,{countdown:c});var u=c.formatted,d=u.days,h=u.hours,p=u.minutes,f=u.seconds;return(0,sa.createElement)("span",{className:o},c.total<0?"-":"",d,d?":":"",h,":",p,":",f)}}]),n}(sa.Component);Dy.defaultProps=Object.assign(Object.assign({},Sy),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0}),Dy.propTypes={date:(0,da.oneOfType)([(0,da.instanceOf)(Date),da.string,da.number]),daysInHours:da.bool,zeroPadTime:da.number,zeroPadDays:da.number,controlled:da.bool,intervalDelay:da.number,precision:da.number,autoStart:da.bool,overtime:da.bool,className:da.string,children:da.element,renderer:da.func,now:da.func,onMount:da.func,onStart:da.func,onPause:da.func,onStop:da.func,onTick:da.func,onComplete:da.func};const Ny=Dy,Fy=e=>{let{blockTimestamp:t}=e;const[n,r]=(0,sa.useState)(Dl(t));return(0,sa.useEffect)((()=>{r(Dl(t))}),[t]),n?null:(0,ms.jsx)("div",{className:"w-full h-full flex justify-center  bottom-2",children:(0,ms.jsxs)("div",{className:"bg-darkBg bg-opacity-70 h-10 flex justify-center items-center w-full",children:[(0,ms.jsx)("p",{className:"text-white font-bold me-2 pb-0.5",children:"Active in"}),(0,ms.jsx)(Ny,{className:"text-white font-bold",renderer:e=>{let{minutes:t,seconds:n}=e;return(0,ms.jsxs)("span",{className:"text-white text-bold",children:[Ty(t),":",Ty(n)]})},date:kl(t),onComplete:()=>{r(!0)}})]})})},Iy=e=>{let{type:t,isOwner:n,isDapper:r,updateListing:i}=e;const o=(0,sa.useMemo)((()=>"BUY NOW"===t?{actionName:"Sale",listingName:"Sale"}:"RENT"===t?{actionName:"Rent",listingName:"Rental"}:"LOAN"===t?{actionName:"Loan",listingName:"Loan"}:void 0),[t]),a=(0,sa.useMemo)((()=>r&&"BUY NOW"!==t?"How to Access Feature":"List for ".concat(null===o||void 0===o?void 0:o.actionName)),[r,o]);return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("div",{className:"rounded-[0.5rem] flex flex-col flex-grow px-[1.5rem] py-[1.5rem] bg-[#606e7d33] w-full md:w-[25rem] justify-between gap-x-[1.5rem] items-start",children:[r&&n&&"BUY NOW"!==t?(0,ms.jsxs)("div",{className:"w-full h-full flex justify-center items-center flex-col gap-[0.75rem] my-[1.5rem]",children:["Feature not available"," "]}):(0,ms.jsxs)("div",{className:"w-full h-full flex flex-col justify-center items-center animate-pulse gap-[0.75rem] my-[1.5rem]",children:[(0,ms.jsxs)("div",{className:"relative mr-5",children:[(0,ms.jsx)(oy,{}),(0,ms.jsxs)("div",{className:"flex space-x-2 left-11 bottom-0 absolute",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"})]})]}),(0,ms.jsxs)("div",{className:"text-white text-montserrat text-[0.875rem]",children:["No ",null===o||void 0===o?void 0:o.listingName," Listings Found"]})]}),n?(0,ms.jsx)(Bs.M2,{onClick:i,text:(0,ms.jsx)("div",{children:a}),variant:"secondary",btnSize:"small"}):null]})})},Ry=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{asset:n,orders:r,setSelectedListing:i,authStore:o,isAssetOwner:a}=e;const s=null!==(t=null===o||void 0===o?void 0:o.getAccountSummaryAddresses())&&void 0!==t?t:[],l=null===o||void 0===o?void 0:o.loggedUser,c=()=>{dc.authenticate()},u=(0,sa.useMemo)((()=>(null===l||void 0===l?void 0:l.services[0].uid.toLocaleLowerCase())||""),[l]).includes("dapper"),d=(0,sa.useCallback)(((e,t)=>l?e?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Bs.M2,{text:"Delist",onClick:()=>i({listingType:"loan",singleDelistAction:"delistLoan",singleDelistOrder:t}),variant:"secondary",btnSize:"small",bgColor:"danger"}),(0,ms.jsx)(Bs.M2,{text:"Add loan",onClick:()=>i({listingType:"loan",singleDelistAction:void 0,singleDelistOrder:void 0}),variant:"secondary",btnSize:"small",bgColor:"primary"})]}):(0,ms.jsx)(Bs.M2,{text:"FUND",onClick:()=>i({listing:t}),variant:"secondary",btnSize:"small"}):(0,ms.jsx)(Bs.M2,{onClick:c,text:(0,ms.jsx)("b",{children:l?(0,ms.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading",children:(0,ms.jsx)("span",{className:"sr-only",children:"Loading..."})}):(0,ms.jsx)("span",{className:"text-base font-montserrat",children:"Sign in"})}),variant:"secondary",btnSize:"small"})),[l]);return(0,ms.jsx)("div",{className:"mt-[1.5rem] md:min-h-[19.65rem] flex flex-row flex-wrap gap-[1.5rem] items-stretch",children:(null===r||void 0===r?void 0:r.length)>0?r.map(((e,t)=>{var n,r,i,o,a,c,u,h,p,f,m,g,v,C;const y=s.includes(e.flowtyStorefrontAddress)&&!(null===l||void 0===l||!l.loggedIn);return(0,ms.jsxs)("div",{className:"rounded-[0.5rem]  flex flex-col p-[1.5rem] bg-[#606e7d33] w-full lg:w-[25rem] gap-y-[1.5rem] gap-x-[1.5rem] items-start",children:[(0,ms.jsx)(hC,{symbol:"LOAN"}),(0,ms.jsxs)("div",{className:"flex flex-col gap-y-[1.2rem] w-full",children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Loan Amount"}),(0,ms.jsx)(Nl.se,{fontSize:"text-[0.875rem]",isSmall:!0,amount:null===e||void 0===e||null===(n=e.derivations)||void 0===n||null===(r=n.calculatedValues)||void 0===r?void 0:r.marketplaceAmount,token:null===e||void 0===e?void 0:e.paymentTokenName})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Repayment Amount"}),(0,ms.jsx)(Nl.se,{fontSize:"text-[0.875rem]",isSmall:!0,amount:null===(i=e.derivations)||void 0===i||null===(o=i.calculatedValues)||void 0===o?void 0:o.totalRepayment,token:e.paymentTokenName})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Loan Rate"}),(0,ms.jsxs)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:[null===(a=100*(null!==(c=null===e||void 0===e||null===(u=e.derivations)||void 0===u||null===(h=u.calculatedValues)||void 0===h?void 0:h.periodicInterest)&&void 0!==c?c:0))||void 0===a?void 0:a.toFixed(2),"%"]})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"APR"}),(0,ms.jsxs)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:[Tl()((0,us.calcAPRInterest)(e?Number(null===e||void 0===e||null===(p=e.derivations)||void 0===p||null===(f=p.calculatedValues)||void 0===f?void 0:f.periodicInterest):0,e?Number(null===e||void 0===e?void 0:e.term):0)).format("0,0.00"),"%"]})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Duration"}),(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:Sl(Number(null===e||void 0===e?void 0:e.term))})]}),(null===e||void 0===e||null===(m=e.valuations)||void 0===m||null===(g=m.aggregate)||void 0===g?void 0:g.loanToValueRatio)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Blended LTV"}),(0,ms.jsxs)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:[null!==e&&void 0!==e&&e.valuations?"".concat(Tl()(100*(null===e||void 0===e||null===(v=e.valuations)||void 0===v||null===(C=v.aggregate)||void 0===C?void 0:C.loanToValueRatio)).format("0,0.0"),"%"):"-"," "]})]})]}),(0,ms.jsx)(Fy,{blockTimestamp:null===e||void 0===e?void 0:e.blockTimestamp}),(0,ms.jsx)("div",{className:"w-full flex gap-[0.5rem]",children:d(y,e)})]},t)})):(0,ms.jsx)("div",{className:"min-h-[280px] w-full flex flex-col items-stretch",children:(0,ms.jsx)(Iy,{type:"LOAN",isOwner:a,isDapper:u,updateListing:()=>i({listingType:"loan"})})})})}))),My=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{asset:n,orders:r,authStore:i,setSelectedListing:o,isAssetOwner:a}=e;const s=null!==(t=null===i||void 0===i?void 0:i.getAccountSummaryAddresses())&&void 0!==t?t:[],l=null===i||void 0===i?void 0:i.loggedUser,c=()=>{dc.authenticate()},u=(0,sa.useMemo)((()=>(null===l||void 0===l?void 0:l.services[0].uid.toLocaleLowerCase())||""),[l]).includes("dapper"),d=(0,sa.useCallback)(((e,t)=>l?e?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Bs.M2,{text:"Delist",variant:"secondary",bgColor:"danger",onClick:()=>o({listingType:"rent",singleDelistAction:"delistRental",singleDelistOrder:t}),btnSize:"small"}),(0,ms.jsx)(Bs.M2,{text:"Add rental",variant:"secondary",onClick:()=>o({listingType:"rent",singleDelistAction:void 0,singleDelistOrder:void 0}),btnSize:"small"})]}):(0,ms.jsx)(Bs.M2,{onClick:()=>o({listing:t}),text:"Rent",variant:"secondary",btnSize:"small"}):(0,ms.jsx)(Bs.M2,{onClick:c,text:(0,ms.jsx)("b",{children:l?(0,ms.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading",children:(0,ms.jsx)("span",{className:"sr-only",children:"Loading..."})}):(0,ms.jsx)("span",{className:"text-base font-montserrat",children:"Sign in"})}),variant:"secondary",btnSize:"small"})),[l]);return(0,ms.jsx)("div",{className:" mt-[1.5rem] sm:min-h-[19.65rem] flex flex-row flex-wrap gap-[1.5rem] items-stretch",children:(null===r||void 0===r?void 0:r.length)>0?r.map(((e,t)=>{var n,r,i,o;const a=s.includes(e.flowtyStorefrontAddress)&&!(null===l||void 0===l||!l.loggedIn),c=null===e||void 0===e?void 0:e.renter;return(0,ms.jsxs)("div",{className:"rounded-[0.5rem] min-h-[17.5rem] flex flex-col p-[1.5rem] bg-[#606e7d33] w-[25rem] gap-y-[1.5rem] items-start",children:[(0,ms.jsx)(hC,{symbol:"RENT"}),c&&(0,ms.jsxs)("div",{children:[(0,ms.jsx)("h5",{className:"text-white text-xl",children:"Please Note"}),(0,ms.jsxs)("p",{className:"text-lightText text-12 line-height-19 mt-2",children:["This is a private listing and can only be filled by the address ",e.renter,"."]})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-y-[1.2rem] w-full",children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Rental Fee"}),(0,ms.jsx)(Nl.se,{fontSize:"text-[0.875rem]",amount:Number(null===e||void 0===e?void 0:e.amount),isSmall:!0,token:null===e||void 0===e?void 0:e.paymentTokenName})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Rental Deposit"}),(0,ms.jsx)(Nl.se,{fontSize:"text-[0.875rem]",amount:Number(null===e||void 0===e?void 0:e.deposit),isSmall:!0,token:null===e||void 0===e?void 0:e.paymentTokenName})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Total Due Upfront"}),(0,ms.jsx)(Nl.se,{fontSize:"text-[0.875rem]",amount:Number(null===e||void 0===e?void 0:e.deposit)+Number(null===e||void 0===e?void 0:e.amount),isSmall:!0,largeText:!0,token:null===e||void 0===e?void 0:e.paymentTokenName})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Duration"}),(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:Sl(Number(null===e||void 0===e?void 0:e.term))})]}),(null===e||void 0===e||null===(n=e.valuations)||void 0===n||null===(r=n.aggregate)||void 0===r?void 0:r.depositToValueRatio)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Blended DTV"}),(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem] font-bold",children:null===e||void 0===e||null===(i=e.valuations)||void 0===i||null===(o=i.aggregate)||void 0===o?void 0:o.depositToValueRatio})]})]}),(0,ms.jsx)(Fy,{blockTimestamp:null===e||void 0===e?void 0:e.blockTimestamp}),(0,ms.jsx)("div",{className:"w-full flex gap-[0.5rem]",children:d(a,e)})]},t)})):(0,ms.jsx)("div",{className:"min-h-[280px] w-full flex flex-col items-stretch",children:(0,ms.jsx)(Iy,{type:"RENT",isOwner:a,isDapper:u,updateListing:()=>o({listingType:"rent"})})})})})));var Oy=__webpack_require__(72012),jy=__webpack_require__(76705);function Ly(e){(0,Ps.A)(1,arguments);var t=(0,Ds.A)(e);return(0,jy.default)(1e3*t)}const By="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHiSURBVHgBrVO/S8NQEL6XRHAzoqPSuLja1UGM4OYSwUUQf/wF1tXFODvYxTlJMzhawUFwaPwDpB1cnBps7SKlVRGkpj7v0kt/EZw8+MjjvXt3333vi4CUkFIa+DERBm+FiEAIEY7nKuMXESVclrlAEhaihGcOF0/tuoeoInIIPdnXao6pvfhXUHV0PmshLEjp3OIC/Q4T9UIOL8sYNc/m3CznZeMGnEu0j3hmorpG86rqRDGKIh1UWAIhTErE/Qqen+LyHLFGFS1EOaF79vE4wkSr+yX12bdSRqZGpsJieVrNt0HRSsfvleJDp3nPTAyQcN/tRkGKbNckLhVYQiAtqOC3LeFnerl5u3rx+RSP9j2348LCQXsgqpfnZYjI9qn0DgvFyeqlMUTTpnE2Xu9yNAoJqTYKVRKX7iACYvCGiJ8tmt+1vha2w8EruAGNdzO7frg1mfGEIjJCCkMKZY/vtKlAAKOm6QW+O2pyharbVORyZuVkUZvKChCu1lE3oWeuItHUWXV9eM7YA/VCMD4Oe4ZAYSjYgQTyEM6gvdKWQpxLBTJawyePQMIEep4hD5yO/BssppMwwe4VdKCt0yiDHGJbRriQFniQZ5r7iVV5nyifsN3z8FdwssuFkgi5uAn/Hb98kmqwmKkc/gAAAABJRU5ErkJggg==";var Uy=__webpack_require__(43619),Vy=__webpack_require__(40559),Hy=__webpack_require__(50453);function zy(e){const t=new Date,n=(0,Uy.A)(e,t);if(n>1)return"".concat(n," Days");const r=(0,Vy.A)(e,t);if(r>1)return"".concat(r," Hours");const i=(0,Hy.A)(e,t);return i>1?"".concat(i," Minutes"):"1 Minute"}const Zy=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o;let{authStore:a,nft:s}=e;const{collectionName:l,collectionAddress:c,nftId:u}=(0,Os.g)(),[d,h]=(0,sa.useState)([]),{denylistCache:p}=Cs(),{selectCard:f}=my(),m=(0,sa.useCallback)((e=>{let{offer:t,singleOfferType:n}=e;f({selected:{contractAddress:s.contractAddress,contractName:s.contractName,nftID:s.id,nftType:s.type},selectedSingleOffer:t,singleOfferType:n})}),[f]),{hybridCustodyNFTStatus:g,iterateAndRunScript:v}=(0,ys.g)(),C=(null!==(t=null===a||void 0===a?void 0:a.getAccountSummaryAddresses())&&void 0!==t?t:[]).includes((null===s||void 0===s?void 0:s.owner)||""),y=(0,sa.useMemo)((()=>null!==s&&void 0!==s&&s.type.endsWith(".NFT")?s.type:"".concat(null===s||void 0===s?void 0:s.type,".NFT")),[s]),b="".concat(null===s||void 0===s?void 0:s.contractAddress,".").concat(null===s||void 0===s?void 0:s.contractName),w=null===g||void 0===g||null===(n=g[(null===s||void 0===s?void 0:s.owner)||""])||void 0===n||null===(r=n[b])||void 0===r?void 0:r.length,x="".concat(c,".").concat(l);return(0,sa.useEffect)((()=>{var e,t;v([x],(null===a||void 0===a||null===(e=a.loggedUser)||void 0===e?void 0:e.childAccounts)||{},(null===a||void 0===a||null===(t=a.loggedUser)||void 0===t?void 0:t.addr)||"")}),[]),(0,sa.useEffect)((()=>{if(!c||!l||!u)return;const e=(0,us.nftTypeAndIdToLocationData)(s.type,u);Tf.su.api.getItem({contractAddress:c,contractName:l,nftID:u,resourceName:e.resourceName}).then((e=>{const t=e.offers.sort(((e,t)=>t.usdValue-e.usdValue));h(t)})).catch((e=>(0,fs.t)({err:e})))}),[]),(0,ms.jsxs)("div",{className:"flex-1 rounded-[0.5rem] bg-[#606e7d33] w-full",children:[!C&&(null===a||void 0===a||null===(i=a.loggedUser)||void 0===i?void 0:i.loggedIn)&&!p.has(y)&&(0,ms.jsx)("div",{className:"flex flex-row justify-start w-full px-[1.5rem] py-[0.75rem]",children:(0,ms.jsx)("div",{className:"w-[9rem]",children:(0,ms.jsx)(Bs.M2,{text:"MAKE OFFER",onClick:()=>{m({singleOfferType:"make-offer"})},variant:"secondary",bgColor:"white"})})}),(0,ms.jsx)("div",{className:"overflow-x-auto",children:(0,ms.jsxs)("div",{className:"inline-block min-w-full styled-scroll max-h-64 overflow-y-auto px-[1.5rem]",children:[(0,ms.jsxs)("table",{className:"w-full",children:[(0,ms.jsx)("thead",{className:"border-b-[1px] border-[#adb5bd3d]",children:(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("th",{className:"h-[4rem] text-left px-[0.75rem] font-montserrat font-bold text-[#DDDDDD] text-xs md:text-[0.875rem]",children:"OFFER"}),(0,ms.jsx)("th",{className:"h-[4rem] text-left px-[0.75rem] font-montserrat font-bold text-[#DDDDDD] text-xs md:text-[0.875rem]",children:"FROM"}),(0,ms.jsxs)("th",{className:"h-[4rem] text-left px-[0.75rem] font-montserrat font-bold text-[#DDDDDD] text-xs md:text-[0.875rem]",children:["DATE ",(0,ms.jsx)("span",{className:"hidden md:inline-block",children:"OFFERED"})]}),(0,ms.jsx)("th",{className:"h-[4rem] text-left px-[0.75rem] font-montserrat font-bold text-[#DDDDDD] text-xs md:text-[0.875rem]",children:"EXPIRATION"}),(null===a||void 0===a||null===(o=a.loggedUser)||void 0===o?void 0:o.addr)&&(0,ms.jsx)("th",{className:"h-[4rem] px-[0.75rem] font-montserrat font-bold text-[#DDDDDD] text-xs md:text-[0.875rem] text-center",children:"ACTION"})]})}),(0,ms.jsx)("tbody",{children:null===d||void 0===d?void 0:d.map(((e,t)=>{var n,r;return(0,ms.jsxs)("tr",{className:"border-b-[1px] border-[#adb5bd3d] h-[5rem]",children:[(0,ms.jsx)("td",{className:"px-[0.75rem]",children:(0,ms.jsx)("div",{className:"min-w-[3em]",children:(0,ms.jsx)(Nl.se,{amount:e.amount,token:e.paymentTokenName,isSmall:!0,largeText:!1,justifyStart:!0})})}),(0,ms.jsx)("td",{className:"px-[0.75rem] text-[#04E5A3]",children:(0,ms.jsx)("div",{className:"flex flex-col",children:(0,ms.jsx)(ca.N_,{to:"/user/".concat(e.storefrontAddress),children:(0,ms.jsx)("span",{className:"text-eletric-green-900 text-base hover:underline hover:text-primary",children:e.storefrontAddress})})})}),(0,ms.jsx)("td",{className:"px-[0.75rem] whitespace-nowrap font-bold text-base text-[#D9D9D9]",children:(0,el.default)((0,jy.default)(e.blockTimestamp),"yyyy-MM-dd HH:mm")}),(0,ms.jsx)("td",{className:"px-[0.75rem] whitespace-nowrap font-bold text-base  text-[#D9D9D9]",children:zy(Ly(e.expiry))}),(null===a||void 0===a||null===(n=a.loggedUser)||void 0===n?void 0:n.addr)===e.storefrontAddress?(0,ms.jsx)("td",{className:"whitespace-nowrap px-[0.75rem] text-sm text-center",children:(0,ms.jsx)("div",{className:"space-x-3",children:(0,ms.jsx)(Bs.M2,{text:"Cancel",onClick:()=>m({offer:e,singleOfferType:"cancel-offer"}),variant:"secondary",bgColor:"white"})})}):C?(0,ms.jsx)("td",{className:"whitespace-nowrap px-[0.75rem] text-sm text-center",children:(null===a||void 0===a||null===(r=a.loggedUser)||void 0===r?void 0:r.addr)===s.owner||w?(0,ms.jsx)("div",{className:"flex justify-center space-x-4",children:(0,ms.jsx)(Bs.M2,{onClick:()=>m({offer:e}),text:"ACCEPT",variant:"secondary",btnSize:"small"})}):(0,ms.jsxs)("div",{className:"flex gap-2 flex-row-reverse items-center",children:[(0,ms.jsx)(nc.m_,{id:"".concat(s.uuid,"-view-only-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)("img",{"data-tooltip-id":"".concat(s.uuid,"-view-only-tooltip"),"data-tooltip-content":"This profile has view-only access to this item","data-tooltip-place":"bottom",src:By,alt:"Read Only Icon",width:16,height:16}),(0,ms.jsx)(Bs.M2,{disabled:!0,text:"Accept",variant:"primary"})]})}):(0,ms.jsx)("td",{className:"whitespace-nowrap px-[0.75rem] text-sm text-center",children:"-"})]},t)}))})]}),d.length?null:(0,ms.jsxs)("div",{className:"w-full h-full flex justify-center items-center pt-[2.5rem] flex-col animate-pulse gap-[0.75rem]",children:[(0,ms.jsxs)("div",{className:"relative mr-5",children:[(0,ms.jsx)(oy,{}),(0,ms.jsxs)("div",{className:"flex space-x-2 left-11 bottom-0 absolute",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"})]})]}),(0,ms.jsx)("div",{className:"text-white text-montserrat text-[0.875rem]",children:"No Offers Found"})]})]})})]})}))),Wy=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{asset:n,orders:r,authStore:i,setSelectedListing:o,isAssetOwner:a}=e;const s=null===i||void 0===i?void 0:i.loggedUser,l=null!==(t=null===i||void 0===i?void 0:i.getAccountSummaryAddresses())&&void 0!==t?t:[],c=()=>{dc.authenticate()},u=(0,sa.useMemo)((()=>(null===s||void 0===s?void 0:s.services[0].uid.toLocaleLowerCase())||""),[s]).includes("dapper"),d=(0,sa.useCallback)(((e,t)=>s?e?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Bs.M2,{text:"Delist",onClick:()=>o({singleDelistAction:"delistSale",singleDelistOrder:t}),variant:"secondary",btnSize:"small",bgColor:"danger"}),(0,ms.jsx)(Bs.M2,{text:"Edit listing",onClick:()=>o({singleDelistAction:void 0,singleDelistOrder:void 0}),variant:"secondary",btnSize:"small",bgColor:"primary"})]}):(0,ms.jsx)(Bs.M2,{text:"Buy Now",onClick:()=>o({listing:t}),variant:"secondary",btnSize:"small"}):(0,ms.jsx)(Bs.M2,{text:(0,ms.jsx)("b",{children:s?(0,ms.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading",children:(0,ms.jsx)("span",{className:"sr-only",children:"Loading..."})}):(0,ms.jsx)("span",{className:"text-base font-montserrat",children:"Sign in"})}),onClick:c,variant:"secondary",btnSize:"small"})),[s]);return(0,ms.jsxs)("div",{className:"mt-[1.5rem] min-h-[280px] h-full flex flex-row flex-wrap gap-[1.5rem] items-stretch",children:[(null===r||void 0===r?void 0:r.length)>0?r.map(((e,t)=>{var n,r,i,o,a,c,u;const h=l.includes(e.flowtyStorefrontAddress)&&!(null===s||void 0===s||!s.loggedIn);return(0,ms.jsxs)("div",{className:"rounded-[0.5rem] flex flex-col p-[1.5rem] bg-[#606e7d33] w-full lg:w-[25rem] gap-y-[1.5rem] gap-x-[1.5rem] items-start justify-between",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)(hC,{symbol:"BUY NOW"})}),(0,ms.jsxs)("div",{className:"flex flex-col w-full justify-center items-center",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[0.875rem]",children:"Purchase Price"}),(0,ms.jsxs)("div",{className:"flex flex-row",children:[(0,ms.jsx)(Nl.xz,{token:null===e||void 0===e?void 0:e.paymentTokenName,isLarge:!0}),(0,ms.jsx)("p",{className:"font-bold text-[2rem] font-montserrat ml-1",children:null===(n=Tl()(null===e||void 0===e||null===(r=e.amount)||void 0===r?void 0:r.toFixed(2)))||void 0===n?void 0:n.format("0,0.00")})]}),null!==(i=e.valuations)&&void 0!==i&&null!==(o=i.blended)&&void 0!==o&&o.usdValue&&(null===(a=e.valuations)||void 0===a||null===(c=a.blended)||void 0===c?void 0:c.usdValue)>0?(0,ms.jsxs)("p",{className:"font-montserrat text-[0.78125rem]",children:["Third Party FMV:"," ",(0,Oy.K)(null===(u=e.valuations)||void 0===u?void 0:u.blended.usdValue)]}):null]}),(0,ms.jsx)("div",{className:"w-full flex gap-[0.5rem]",children:d(h,e)})]},t)})):(0,ms.jsx)("div",{className:"min-h-full w-full md:w-auto flex flex-col items-stretch",children:(0,ms.jsx)(Iy,{type:"BUY NOW",isOwner:a,isDapper:u,updateListing:()=>o({})})}),(0,ms.jsx)(Zy,{nft:n})]})}))),qy={"A.0b2a3299cc857e29.TopShot":"ad3260ba-a87c-4359-a8b0-def2cc36310b","A.329feb3ab062d289.UFC_NFT":"24ed5274-68f4-42bc-8600-4a6f5fa17359","A.427ceada271aa0b1.SturdyItems":"fb3cebea-cb28-4231-9d56-ea4ecd2f8ff7","A.427ceada271aa0b1.SturdyTokens":"35c53829-12f1-4f0d-ac7f-9a9d2b7bc172","A.87ca73a41bb50ad5.Golazos":"44924327-dea6-4915-a18d-85a827c5eb51","A.8b148183c28ff88f.Gaia":"75dc054b-e405-4fbd-91c3-6dbfc0e691ca","A.e4cf4bdc1751c65d.AllDay":"567226a0-f1fe-4c9a-ba85-423d020d646a"},Gy=e=>{let{flowNFT:t}=e;const n=((e,t)=>{var n;if((0,fs.t)("getDapperInventoryURL",{nftType:e}),!e||!t)return null;const[r,i,o]=e.split("."),a="A.".concat(i,".").concat(o),s=null!==(n=qy[a])&&void 0!==n?n:null;return s?"https://accounts.meetdapper.com/inventory?page=1&sort=DESC&token=".concat(t,"&contract=").concat(a,"&dapp=").concat(s):null})(t.type,t.id);return(0,ms.jsxs)("div",{className:"min-h-[16.65rem] flex flex-col flex-grow w-full justify-between ",children:[(0,ms.jsx)("div",{}),(0,ms.jsx)("span",{className:"w-full px-2 h-full flex justify-center items-center flex-col gap-[0.75rem] my-[1.5rem]",children:"NFTs in Dapper Wallet can only be transferred via Dapper inventory"}),(0,ms.jsx)("div",{className:"flex justify-items-end",children:(0,ms.jsx)(Bs.M2,{text:"View in dapper inventory",variant:"secondary",btnSize:"small",onClick:()=>{window.open(n||"https://accounts.meetdapper.com/inventory","_blank")}})})]})},Yy=e=>{let{onSubmit:t,accounts:n,nft:r,loggedUser:i}=e;const o=(0,sa.useMemo)((()=>{const e=n.find((e=>{if(r.owner===e.address)return e}));return!!e&&e.isDapper}),[n]),a=wc.Ik().shape({address:wc.Yj().required("Required").test("is-not-owner","This user already owns this NFT",(e=>e!==i.addr)).test("is-valid-address","Invalid address",(e=>tv(e||"")))});return o?(0,ms.jsx)("div",{className:"w-full h-full",children:(0,ms.jsx)(Gy,{flowNFT:r})}):(0,ms.jsx)(gl.l1,{initialValues:{address:"",isDapper:!1},validationSchema:a,onSubmit:e=>t(e.address),children:e=>{let{values:n,errors:r}=e;return(0,ms.jsx)(gl.lV,{className:"w-full h-full",children:(0,ms.jsxs)("div",{className:"flex flex-col gap-4 w-full h-full font-montserrat",children:[(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("span",{className:" text-[14px] font-[700] mb-6",children:"TRANSFER"}),(0,ms.jsx)("span",{className:" text-base font-[600] mb-3",children:"Recipient"}),(0,ms.jsx)("div",{className:"flex w-full",children:(0,ms.jsxs)("div",{className:"relative w-full",children:[(0,ms.jsx)(Bs.ez,{name:"address",inputError:Boolean(r.address),valueError:Boolean(r.address),placeholder:"Address"}),r.address&&(0,ms.jsx)("span",{className:"text-red-500 text-left h-6 font-bold font-montserrat-bold w-full mt-2",children:r.address})]})})]}),(0,ms.jsx)("div",{className:"flex flex-col w-full h-full justify-end",children:(0,ms.jsx)("div",{className:"h-full flex flex-col justify-end",children:(0,ms.jsx)("p",{className:"text-sm",children:"Note: Flowty is not responsible for any loss of assets or unexpected outcomes resulting from NFT transfers"})})}),(0,ms.jsx)(Bs.M2,{onClick:()=>t(n.address),text:"Transfer",variant:"secondary",disabled:!n.address||Boolean(r.address),btnSize:"small"})]})})}})};const Ky=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}))}));const Qy=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Xy=e=>{let{transactionID:t}=e;return(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center h-full",children:[(0,ms.jsx)("div",{className:"px-6 w-full flex justify-center items-center my-3",children:(0,ms.jsx)("span",{className:"text-base text-center",children:"Uh oh! Something went wrong while trying to follow your transaction results"})}),t&&(0,ms.jsx)("div",{className:"w-full flex flex-col items-center",children:(0,ms.jsxs)("p",{className:"h-12",children:["You can verify its outcome on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(ss.I4,"/").concat(t),target:"_blank",rel:"noreferrer",children:"Flowscan"})]})})]})},Jy=e=>{let{transactionID:t,flowscanBaseURL:n,statusUncertain:r,error:i,sealed:o,isLoading:a,onSubmit:s}=e;return i&&!r?(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center h-full",children:[t&&(0,ms.jsxs)("p",{className:"h-12",children:["View your transaction on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(n,"/").concat(t),target:"_blank",rel:"noreferrer",children:"Flowscan"})]}),(0,ms.jsxs)("div",{className:"flex justify-center items-center my-3",children:[(0,ms.jsx)(Ky,{className:"h-16 w-16 fill-red-500"}),(0,ms.jsx)("span",{className:"text-lg font-montserrat-bold font-bold",children:"Transaction Failed"})]}),(0,ms.jsx)("div",{className:"px-6 w-full flex justify-center items-center my-3",children:(0,ms.jsxs)("span",{className:"text-base text-center",children:["Your transaction failed. Please try again. If you continue to have issues, please open a support ticket in"," ",(0,ms.jsx)("a",{href:"https://discord.com/channels/657618722634203176/940412791507017729",className:"underline text-primary",children:"Discord"}),"."]})}),(0,ms.jsx)(Bs.M2,{text:"Try Again",onClick:s,variant:"primary"})]}):o&&!i&&t?(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center h-full",children:[(0,ms.jsx)("div",{className:"w-full flex flex-col items-center",children:(0,ms.jsxs)("p",{className:"h-12",children:["Follow your transaction on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(n,"/").concat(t),target:"_blank",rel:"noreferrer",children:"Flowscan"})]})}),(0,ms.jsx)("div",{className:"px-6 w-full flex justify-center items-center my-3",children:(0,ms.jsx)("span",{className:"text-base text-center",children:"It may take a few minutes for your NFT to appear in the receiving account. You can close this window at any time."})}),(0,ms.jsxs)("div",{className:"flex justify-center items-center my-3",children:[(0,ms.jsx)(Qy,{className:"h-16 w-16 fill-primary"}),(0,ms.jsx)("span",{className:"text-lg font-montserrat-bold font-bold",children:"Transaction Successful!"})]})]}):r?(0,ms.jsx)(Xy,{transactionID:t}):a?(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center h-full",children:[t?(0,ms.jsxs)("p",{className:"h-12",children:["Follow your transaction on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(n,"/").concat(t),target:"_blank",rel:"noreferrer",children:"Flowscan"})]}):(0,ms.jsx)("div",{className:"h-12"}),(0,ms.jsx)("span",{className:"text-lg font-montserrat-bold font-bold",children:"Processing..."}),(0,ms.jsx)(yc.BM,{height:150,width:150})]}):null};function $y(e){var t;return null===e||void 0===e||null===(t=e.accountSummaries)||void 0===t?void 0:t[(null===e||void 0===e?void 0:e.addr)||""]}const eb=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o;let{asset:a,authStore:s}=e;const[l,c]=(0,sa.useState)(!1),[u,d]=(0,sa.useState)(!1),[h,p]=(0,sa.useState)(null),[f,m]=(0,sa.useState)(!1),[g,v]=(0,sa.useState)(!1),[C,y]=(0,sa.useState)(""),{hybridCustodyNFTStatus:b}=(0,ys.g)(),w=null===s||void 0===s?void 0:s.loggedUser,{flowNFT:x}=(e=>{let{nftType:t,nftId:n,skip:r}=e;const[i,o]=(0,sa.useState)(null);return(0,sa.useEffect)((()=>{r||(0,nl.t)({nftId:n,nftType:t}).then((e=>o(e)))}),[t,n]),{flowNFT:i}})({nftId:"".concat(null===a||void 0===a?void 0:a.id),nftType:a.type}),A=[$y(w),...Object.values(null!==(t=null===w||void 0===w?void 0:w.accountSummaries)&&void 0!==t?t:{})],E="".concat(null===x||void 0===x?void 0:x.contractAddress,".").concat(null===x||void 0===x?void 0:x.contractName),_=null===x||void 0===x||null===(n=x.nftView)||void 0===n||null===(r=n.collectionData)||void 0===r||null===(i=r.providerPath)||void 0===i?void 0:i.identifier,T=(null===w||void 0===w?void 0:w.walletAddress)===(null===a||void 0===a?void 0:a.owner)?"":(0,dy.D)((null===b||void 0===b||null===(o=b[(null===x||void 0===x?void 0:x.owner)||""])||void 0===o?void 0:o[E])||[],null===x||void 0===x?void 0:x.contractAddress,null===x||void 0===x?void 0:x.contractName,_),S=async e=>{y(e),c(!0),d(!1),p(null);try{await Tf.su.transferNft({nftData:{contractAddress:(null===x||void 0===x?void 0:x.contractAddress)||"",contractName:(null===x||void 0===x?void 0:x.contractName)||"",id:(null===x||void 0===x?void 0:x.id)||"",nftOwner:(null===x||void 0===x?void 0:x.owner)||"",type:(null===x||void 0===x?void 0:x.type)||""},nftProviderPathIdentifier:T,transferRecipient:e,txAvailableCallback:e=>p(e)}).then((e=>{var t,n;if(4!==(null===e||void 0===e?void 0:e.status)&&null!==e&&void 0!==e&&null!==(t=e.toString())&&void 0!==t&&t.includes("Error")||null!==e&&void 0!==e&&null!==(n=e.toString())&&void 0!==n&&n.includes("Declined"))throw new Error(e)})),m(!0),c(!1),ds.o.track("Successful transfer listing transaction",{listingData:x})}catch(t){d(!0);(0,us.getMessageFromError)(t)===OC.CustomErrorMessages.UnableToFollowTransactionResult&&v(!0),c(!1),ds.o.track("Error transfer listing transaction",{err:t,listingData:x})}};return x&&w?(0,ms.jsx)("div",{className:"min-h-[280px] mt-[1.5rem] rounded-[0.5rem] flex flex-col justify-center p-[1.5rem] bg-[#606e7d33] w-auto md:w-[25rem] gap-y-[1.5rem]",children:l||u||f?(0,ms.jsx)(Jy,{isLoading:l,error:u,transactionID:h,flowscanBaseURL:ss.I4,statusUncertain:g,sealed:f,onSubmit:()=>S(C)}):(0,ms.jsx)(Yy,{nft:x,loggedUser:w,accounts:A,onSubmit:S})}):null})));var tb,nb,rb;function ib(){return ib=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ib.apply(null,arguments)}function ob(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",ib({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,tb||(tb=sa.createElement("g",{clipPath:"url(#clip0_970_17310)"},sa.createElement("path",{d:"M5.61791 12.5462L4.15381 10.0103M4.15381 10.0103L6.68971 8.54615M4.15381 10.0103L9.15381 11.35M15.7615 6.68975L14.2974 4.15385M14.2974 4.15385L11.7615 5.61795M14.2974 4.15385L12.9577 9.15385M8.54611 17.6179L10.0102 20.1538M10.0102 20.1538L12.5461 18.6897M10.0102 20.1538L11.35 15.1538M20.1538 14.2974L15.1538 12.9577M20.1538 14.2974L18.6897 11.7615M20.1538 14.2974L17.6179 15.7615",stroke:"#04E5A3",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),nb||(nb=sa.createElement("path",{d:"M19.7192 20.0983C23.9879 15.8296 23.9879 8.90882 19.7192 4.64019C15.4506 0.371564 8.52979 0.371564 4.26116 4.64019M19.7192 20.0983C15.4506 24.3669 8.52979 24.3669 4.26116 20.0983C-0.0074647 15.8296 -0.0074647 8.90882 4.26116 4.64019M19.7192 20.0983L4.26116 4.64019",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),rb||(rb=sa.createElement("defs",null,sa.createElement("clipPath",{id:"clip0_970_17310"},sa.createElement("rect",{width:17.5692,height:17.5692,fill:"white",transform:"translate(0 8.78467) rotate(-30)"})))))}const ab=sa.forwardRef(ob),sb=(__webpack_require__.p,()=>(0,ms.jsx)("div",{className:"py-3 w-full",children:(0,ms.jsxs)("div",{className:"p-4 bg-[#FFFFFF] bg-opacity-10 w-full h-full rounded-md flex",children:[(0,ms.jsx)("div",{className:"h-full px-2",children:(0,ms.jsx)(ab,{className:"h-6 w-6"})}),(0,ms.jsxs)("div",{className:"w-full px-3",children:[(0,ms.jsxs)("div",{className:"leading-4",children:[(0,ms.jsxs)("span",{className:"text-white text-xs font-normal",children:["Icon indicates that an NFT is"," "]}),(0,ms.jsx)("span",{className:"text-white text-xs font-bold",children:"view-only"}),(0,ms.jsxs)("span",{className:"text-white text-xs font-normal",children:[", meaning that a user cannot perform any Flowty actions on the NFT. An NFT may be view-only for several reasons, including:",(0,ms.jsx)("br",{})]})]}),(0,ms.jsxs)("ul",{className:"text-white text-xs font-normal list-disc pl-4",children:[(0,ms.jsx)("li",{children:"NFTs in Dapper Wallets have restrictions."}),(0,ms.jsx)("li",{className:"",children:"The NFT does not have a provider set up."}),(0,ms.jsxs)("li",{className:"",children:[" ","The NFT is stored in a different wallet to the one that a user is currently connected with."]})]})]})]})})),lb=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{asset:n,orders:r,authStore:i}=e;const[o,a]=(0,sa.useState)(r.storefront.length>0?"storefront":r.loans.length>0?"loan":r.rentals.length>0?"rental":"storefront"),{selectCard:s}=my(),l=(0,sa.useCallback)((e=>{let{listing:t,listingType:r,singleDelistAction:i,singleDelistOrder:o}=e;s({initListingType:r,selected:{contractAddress:n.contractAddress,contractName:n.contractName,nftID:n.id,nftType:n.type},selectedSinglePurchase:t,singleDelistAction:i,singleDelistOrder:o})}),[n,s]),c=(null!==(t=null===i||void 0===i?void 0:i.getAccountSummaryAddresses())&&void 0!==t?t:[]).includes((null===n||void 0===n?void 0:n.owner)||""),{hybridCustodyNFTStatus:u,iterateAndRunScript:d}=(0,ys.g)();(0,sa.useEffect)((()=>{var e,t;const r="".concat(n.contractAddress,".").concat(n.contractName);d([r],(null===i||void 0===i||null===(e=i.loggedUser)||void 0===e?void 0:e.childAccounts)||{},(null===i||void 0===i||null===(t=i.loggedUser)||void 0===t?void 0:t.addr)||"")}),[]);const h=(0,sa.useCallback)((e=>{var t,n;if(e.owner===(null===i||void 0===i||null===(t=i.loggedUser)||void 0===t?void 0:t.addr))return!0;const r=u[e.owner];return void 0===r?null:(null===r||void 0===r||null===(n=r[e.contractAddress.concat(".").concat(e.contractName)])||void 0===n?void 0:n.length)>0}),[u]),p=(0,sa.useMemo)((()=>{var e,t,i,o,a,s,u,d,h,p,f,m,g,v;return c?[{badgeNotification:null!==r&&void 0!==r&&null!==(e=r.storefront)&&void 0!==e&&e.length?null===r||void 0===r||null===(t=r.storefront)||void 0===t?void 0:t.length.toString():void 0,content:(0,ms.jsx)(Wy,{setSelectedListing:l,asset:n,orders:null===r||void 0===r?void 0:r.storefront,isAssetOwner:c}),id:"storefront",label:"Buy"},{badgeNotification:null!==r&&void 0!==r&&null!==(i=r.loans)&&void 0!==i&&i.length?null===r||void 0===r||null===(o=r.loans)||void 0===o||null===(a=o.length)||void 0===a?void 0:a.toString():void 0,content:(0,ms.jsx)(Ry,{asset:n,setSelectedListing:l,orders:null===r||void 0===r?void 0:r.loans,isAssetOwner:c}),id:"loan",label:"Loan"},{badgeNotification:null!==r&&void 0!==r&&null!==(s=r.rentals)&&void 0!==s&&s.length?null===(u=r.rentals.length)||void 0===u?void 0:u.toString():void 0,content:(0,ms.jsx)(My,{asset:n,setSelectedListing:l,orders:null===r||void 0===r?void 0:r.rentals,isAssetOwner:c}),id:"rental",label:"Rent"},{content:(0,ms.jsx)(eb,{asset:n}),disabled:!c,id:"accept-storefront-offer",label:"Transfer"}]:[{badgeNotification:null!==r&&void 0!==r&&null!==(d=r.storefront)&&void 0!==d&&d.length?null===r||void 0===r||null===(h=r.storefront)||void 0===h?void 0:h.length.toString():void 0,content:(0,ms.jsx)(Wy,{setSelectedListing:l,asset:n,orders:null===r||void 0===r?void 0:r.storefront,isAssetOwner:c}),id:"storefront",label:"Buy"},{badgeNotification:null!==r&&void 0!==r&&null!==(p=r.loans)&&void 0!==p&&p.length?null===r||void 0===r||null===(f=r.loans)||void 0===f||null===(m=f.length)||void 0===m?void 0:m.toString():void 0,content:(0,ms.jsx)(Ry,{asset:n,setSelectedListing:l,orders:null===r||void 0===r?void 0:r.loans,isAssetOwner:c}),id:"loan",label:"Loan"},{badgeNotification:null!==r&&void 0!==r&&null!==(g=r.rentals)&&void 0!==g&&g.length?null===(v=r.rentals.length)||void 0===v?void 0:v.toString():void 0,content:(0,ms.jsx)(My,{asset:n,setSelectedListing:l,orders:null===r||void 0===r?void 0:r.rentals,isAssetOwner:c}),id:"rental",label:"Rent"}]}),[c,r]),f=(0,sa.useCallback)((e=>{a(e)}),[a]);return(0,ms.jsx)(ms.Fragment,{children:!h(n)&&c?(0,ms.jsx)(sb,{}):(0,ms.jsx)(Bs.cs,{tabs:p,activeTab:o,onChange:f,type:"secondary"})})}))),cb=e=>{let{collectionAddress:t,collectionName:n,resourceName:r,nftId:i}=e;const[o,a]=(0,sa.useState)(null);return(0,sa.useEffect)((()=>{t&&n&&i&&Tf.su.api.getItem({contractAddress:t,contractName:n,nftID:i,resourceName:r}).then((e=>{a(e)})).catch((e=>(0,fs.t)({err:e})))}),[t,n,i,null===o||void 0===o?void 0:o.type]),{openSearchNFT:o}},ub=()=>{const{anyUndefined:e,openSearchNFT:t,orders:n,tabs:r,changeTab:i,currentTab:o}=(()=>{const{collectionAddress:e,collectionName:t,nftId:n,resource:r}=(0,Os.g)(),i=(0,Os.zy)().search,[o,a]=(0,ca.ok)(),s=new URLSearchParams(i),l=(0,sa.useRef)(!0),[c,u]=(0,sa.useState)("history"===o.get("tab")?"HISTORY":"LISTINGS"),d=r||"NFT",{selectCard:h}=my(),[p,f]=(0,sa.useState)(!1);(0,sa.useEffect)((()=>{const r=[e,t,n].includes("undefined");f(r)}),[e,t,n]);const{openSearchNFT:m}=cb({collectionAddress:"".concat(e),collectionName:"".concat(t),nftId:"".concat(n),resourceName:d}),g=(0,sa.useMemo)((()=>{var e,t,n;return{loans:null===m||void 0===m||null===(e=m.orders)||void 0===e?void 0:e.filter((e=>"loan"===(null===e||void 0===e?void 0:e.listingKind))),rentals:null===m||void 0===m||null===(t=m.orders)||void 0===t?void 0:t.filter((e=>"rental"===(null===e||void 0===e?void 0:e.listingKind))),storefront:null===m||void 0===m||null===(n=m.orders)||void 0===n?void 0:n.filter((e=>"storefront"===(null===e||void 0===e?void 0:e.listingKind)))}}),[m]),v=s.get("listingResourceID");return(0,sa.useEffect)((()=>{if(m&&v){var e;const t=null===m||void 0===m||null===(e=m.orders)||void 0===e?void 0:e.find((e=>e.listingResourceID===v));t&&l.current&&(l.current=!1,h({selected:{contractAddress:m.contractAddress,contractName:m.contractName,nftID:m.id,nftType:m.type},selectedSinglePurchase:t}))}}),[g,s]),{anyUndefined:p,changeTab:e=>{"HISTORY"===e?(o.set("tab","history"),a(o)):(o.delete("tab"),a(o)),u(e)},currentTab:c,openSearchNFT:m,orders:g,tabs:[{key:"LISTINGS",name:"Listings"},{key:"HISTORY",name:"History"}]}})();return(0,ms.jsx)(ms.Fragment,{children:e?(0,ms.jsx)(AC,{}):(0,ms.jsx)("div",{className:"bg-cover bg-fixed bg-no-repeat md:bg-repeat-y",children:(0,ms.jsx)(cv,{children:(0,ms.jsx)("div",{className:"flex flex-col w-full container",children:t?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(hv,{asset:t}),(0,ms.jsx)(wC,{asset:t,orders:n}),(0,ms.jsx)("nav",{className:"flex justify-between pt-10","aria-label":"Tabs",children:(0,ms.jsx)("div",{className:"-mb-px flex space-x-8",children:r.map((e=>(0,ms.jsx)("button",{onClick:()=>i(e.key),className:"font-bold font-montserrat uppercase text-base text-neutral-900 px-6 py-1.5\n\t\t\t\t\t\t\t".concat(e.key===o?"border-neutral-900":"border-transparent",' \n\t\t\t\t\t\t\t"whitespace-nowrap px-2 border-b-[4px] text-sm"\n\t\t\t\t\t\t'),children:e.name},e.name)))})}),(0,ms.jsxs)("div",{className:"my-[1.5rem]",children:["LISTINGS"===o&&(0,ms.jsx)(lb,{asset:t,orders:n}),"HISTORY"===o&&(0,ms.jsx)(ly,{openSearchNFT:t})]})]}):(0,ms.jsx)(EC,{})})})})})};class db{static globalSearch(e,t){return cs().post(ss.Sw.concat("/search/global"),e,t).then((e=>e.data))}}const hb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,sa.useState)(e),[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(null),s=(0,sa.useRef)();return(0,sa.useEffect)((()=>{t?(async e=>{var t;i(!0),null===(t=s.current)||void 0===t||t.abort();const n=new AbortController;s.current=n;const r=e.replaceAll(/\s/g,"");try{const e=await db.globalSearch({query:r},{signal:n.signal});a(e)}catch(o){"canceled"!==o.message&&console.error("Search Request Failed",o)}finally{i(!1)}})(t):a(null)}),[t]),{collections:o,isLoading:r,search:t,setSearch:n}},pb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKWSURBVHgBbVNNaxRBEK3q6ZnZaGKiJJIsIioegof8BsWLCGI8hXwYCCKeclHITQT/RU6SGA/Gk7eAIEG8KF48eIgiEndd4yGKrrs7O9Pd5atZFEkyyw7dPfVeVb16zXTAc2x37Ugzk3kRmiVjHEl46pr5Mo3faO6N5f83cW31plgzRiLXWOiQMBccghc2BZHUONCmRLTlqtc39hHYxupzEh7H0jOzExGAqGARJ0w5EUhYHAXyQvLen5i/pTijr6S2MgPwBOgibCOUHKECw5qAsWLAcEj6Y01gTiWNh5NlYn0FYyZ6QFEAQhnVi5IpWlhM0MrwVavyOPJ4jZQVDH16MAT2qwDa8i8cIwuIDQhYWwwA1ou4mHLWzGlbJOSNhPO0s3rY/E6Tuwg8g54BphhkCdRPhUKlVyHXU5ss0vGFnX7Ige8OvEVgk0RCl9l+WdvF4RCyQhsgjDurHE78BvppF95eoZPTjf6v6yNdl9+DasOIl1BKL21DHKAwZQBnwLc5VHxWnd22nF8qyE4qeGBreTgL3SWKeABxuVYAhZ3RiaGCJTDdAVgPMDL5mLh4rg2g5hjcfnS0Y/0iVB2FPmhJEGagqmeo/owJroszeYHYPulV0oFyH9IovW2zVtFKknlhP4YBVqQUWVQXA3l/OB68XxqprEJkqmyFTQtz/IUxfvdsvpkQukiYgjjB+GLMNQ6i/pFNmOlJ6QMMbDt4avUIQgtBHTima0QtgoFJz0DYm6DuYo7Y2M/+rxPz0bnHGOM7JYBtNGNmYGF1Xyjlxi2gcunVA6i2VoxOv9p3mWx95YIYW8VEx0FQCSTNEqC9R1TAm2+5iH666szLA2/jv6e23pfG+UXvwzliq5W8cd38NZ1eyPaG/gFXZFTsABwhLgAAAABJRU5ErkJggg==",fb=e=>{var t,n,r,i,o,a,s,l;let{collection:c,isLoading:u}=e;const[d,h]=(0,sa.useState)(!1),p="max-w-full object-fill aspect-square";return(0,ms.jsx)("div",{children:u?(0,ms.jsx)("div",{className:"collectionCard h-auto p-[18px] z-10 max-sm:m-auto",children:(0,ms.jsxs)("div",{className:"h-full flex flex-col gap-[14px] overflow-hidden",children:[(0,ms.jsx)("div",{className:"flex animate-pulse bg-[#43ff640a] ".concat(p)}),(0,ms.jsxs)("div",{className:"flex flex-col gap-[18px]",children:[(0,ms.jsx)("div",{className:"w-[211px] h-[16px] animate-pulse bg-[#43ff640a] rounded-lg"}),(0,ms.jsxs)("div",{className:"w-full flex justify-between",children:[(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"w-[50px] h-[15px] animate-pulse bg-[#43ff640a] rounded-lg"}),(0,ms.jsx)("div",{className:"w-[88px] h-[15px] animate-pulse bg-[#43ff640a] rounded-lg"})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"w-[50px] h-[15px] animate-pulse bg-[#43ff640a] rounded-lg"}),(0,ms.jsx)("div",{className:"w-[88px] h-[15px] animate-pulse bg-[#43ff640a] rounded-lg"})]})]})]})]})}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(ca.N_,{to:"/collection/".concat(null===c||void 0===c?void 0:c.address,"/").concat(null===c||void 0===c?void 0:c.name),children:(0,ms.jsx)("div",{className:"collectionCard h-full p-[18px] z-10 max-sm:m-auto",children:(0,ms.jsxs)("div",{className:"flex flex-col h-full gap-[14px] overflow-hidden",children:[!d&&(0,ms.jsx)("div",{className:"flex max-w-full ".concat(p," animate-pulse bg-[#43ff640a] ").concat(d?"hidden":"object-fill aspect-square")}),(0,ms.jsx)("div",{className:"flex max-w-full h-full ".concat(d?"object-fill aspect-square":"hidden"),children:(0,ms.jsx)("img",{src:null!==c&&void 0!==c&&null!==(t=c.collectionDisplay)&&void 0!==t&&t.name?(0,us.getSquareImage)((null===c||void 0===c||null===(n=c.collectionDisplay)||void 0===n?void 0:n.name)||"",c||null):rl.A,alt:null!==c&&void 0!==c&&null!==(r=c.collectionDisplay)&&void 0!==r&&r.name?null===c||void 0===c||null===(i=c.collectionDisplay)||void 0===i?void 0:i.name:"",onLoad:()=>{h(!0)},onError:ol.R,className:"".concat(d?"object-fill aspect-square w-full":"hidden")})}),(0,ms.jsxs)("div",{className:"flex flex-col gap-[18px] text-[#FFFFFF]",children:[(0,ms.jsxs)("div",{className:"w-full flex gap-2 items-center text-[#F8F9FA]",children:[(0,ms.jsx)("p",{className:"text-sm sm:text-lg uppercase font-black break-words max-w-[300px] text-ellipsis whitespace-nowrap overflow-hidden",children:null===c||void 0===c||null===(o=c.collectionDisplay)||void 0===o||null===(a=o.name)||void 0===a?void 0:a.replaceAll("-"," ")}),(null===c||void 0===c?void 0:c.isNFTCatalog)&&(0,ms.jsx)("button",{id:"anchor-select",children:(0,ms.jsx)("img",{src:pb,alt:"Catalog check mark","data-tooltip-place":"top","data-tooltip-id":"".concat(null===c||void 0===c?void 0:c.name,"-verified-tooltip")})})]}),(0,ms.jsxs)("div",{className:"w-full flex justify-between",children:[(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"text-xs font-normal text-[#CED4DA]",children:"Total Items"}),(0,ms.jsxs)("p",{className:"text-base uppercase font-bold",children:[(null===c||void 0===c?void 0:c.totalItems)&&(c.totalItems<1e3?c.totalItems:Tl()(c.totalItems||0).format("0.0a").toLocaleUpperCase())," "]})]}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"text-xs font-normal text-[#CED4DA]",children:"Floor Price"}),(0,ms.jsx)("p",{className:"text-base uppercase font-bold text-right",children:null!==c&&void 0!==c&&null!==(s=c.floorPrice)&&void 0!==s&&s.valueInUSD?"$".concat(null===c||void 0===c||null===(l=c.floorPrice)||void 0===l?void 0:l.valueInUSD.toFixed(2)):"-"})]})]})]})]})})}),(0,ms.jsx)(nc.m_,{id:"".concat(null===c||void 0===c?void 0:c.name,"-verified-tooltip"),style:{backdropFilter:"blur(100px)",backgroundColor:"#33333380",zIndex:999},anchorSelect:"#anchor-select",clickable:!0,children:(0,ms.jsxs)("div",{className:"flex flex-col gap-2 z-50",children:[(0,ms.jsxs)("div",{className:"flex gap-1",children:[(0,ms.jsx)("img",{src:pb,alt:"Catalog check mark",className:"w-[16px] h-[16px]"}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#F8F9FA]",children:"Verified Collection"})]}),(0,ms.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,ms.jsx)("p",{className:"text-sm font-normal text-[#ADB5BD] leading-none",children:"Verified by the"}),(0,ms.jsx)("a",{href:"https://www.flow-nft-catalog.com/",target:"_blank",rel:"noreferrer",className:" text-sm font-normal text-[#04E5A3] leading-none",children:"Flow NFT Catalog"})]})]})})]})})},mb=e=>{let{count:t=8}=e;const n="".concat(ss.Sw,"/collections"),[r,i]=(0,sa.useState)([]),[o,a]=(0,sa.useState)(!1),[s,l]=(0,sa.useState)(!1),[c,u]=(0,sa.useState)(0);(0,sa.useEffect)((()=>{a(!0),cs().post(n,{offset:t*c,size:t}).then((e=>{var t,n,o,s,c;i([...r,...null!==(t=null===(n=e.data)||void 0===n?void 0:n.collections)&&void 0!==t?t:[]]),l(r.length+(null!==(o=null===(s=e.data)||void 0===s?void 0:s.collections)&&void 0!==o?o:[]).length>=(null===(c=e.data)||void 0===c?void 0:c.total)),a(!1)}))}),[c]);const d=wl({isLoading:o,onInfiniteScroll(){u(c+1)}},[r]);return(0,sa.useEffect)((()=>{ds.o.track("All collections page visited")}),[]),{collections:r,endOfData:s,isLoading:o,onScrollRef:d}};var gb=__webpack_require__(38190);const vb=()=>{var e;const{collections:t,endOfData:n,isLoading:r,onScrollRef:i}=mb({count:21}),{search:o,setSearch:a,collections:s}=hb(""),l=(0,sa.useMemo)((()=>window.innerWidth>=1280?[0,1,2,3,4,5,6,7]:window.innerWidth>=768?[0,1,2]:[0,1]),[window.innerWidth]),c=(0,Os.Zp)();(0,sa.useEffect)((()=>{c(window.location.pathname,{replace:!0})}),[c]);const u=t.slice(0,5),d=null!==(e=null===s||void 0===s?void 0:s.contracts)&&void 0!==e?e:[];return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty NFT Collections: From NBA TopShot, UFC Moments, NFL All Day to Jolly Jokers, Flovatar and more!",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsxs)("div",{className:"mt-4 container",children:[(0,ms.jsxs)("div",{className:"w-full flex flex-col items-center justify-center gap-[16px] lg:gap-0 lg:flex-row md:justify-between",children:[(0,ms.jsx)("p",{className:"text-2xl uppercase font-black max-sm:text-center self-start","data-testid":"collection-list-header",children:"Collections"}),(0,ms.jsx)(Bs.Ol,{onBlur:()=>a(""),popularSearches:u,onChange:a,hits:d,value:o,placeholder:"Search NFT Collections",debounceTime:300,labelText:"Search NFT Collections"})]}),t.length>0&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"mt-5 grid grid-cols-2  smMobile:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-auto 2xl:grid-cols-5 3xl:grid-cols-7 gap-[12px] max-sm:justify-center",children:[null===t||void 0===t?void 0:t.map(((e,t)=>(0,ms.jsx)(fb,{collection:e},"".concat(e.address,"-").concat(e.name,"-").concat(t)))),r&&(0,ms.jsx)(ms.Fragment,{children:l.map(((e,t)=>(0,ms.jsx)(fb,{isLoading:!0},t)))})]}),!r&&!n&&(0,ms.jsx)("div",{className:"w-full flex justify-center mt-2",children:(0,ms.jsx)(xl,{})})]}),n?(0,ms.jsx)("p",{className:"justify-center items-center flex flex-row mt-16 animate-pulse color-[#D9D9D9] text-sm font-semibold",children:"Nothing else to see here!"}):(0,ms.jsx)(ms.Fragment,{children:r?0===(null===t||void 0===t?void 0:t.length)&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"w-full h-auto mt-12 hidden xl:grid xl:grid-cols-4 2xl:grid-cols-5 3xl:grid-cols-7 gap-[12px] auto-rows-1fr",children:Array.from({length:21}).map(((e,t)=>(0,ms.jsx)(fb,{isLoading:!0},t)))}),(0,ms.jsx)("div",{className:"w-full h-auto mt-12 grid max-md:hidden md:grid-cols-3 lg:grid-cols-4 xl:hidden gap-[10px]",children:[0,1,2,3,4,5,6,7,8].map(((e,t)=>(0,ms.jsx)(fb,{isLoading:!0},t)))}),(0,ms.jsx)("div",{className:"w-full h-auto mt-12 grid max-smMobile:grid-cols-1 max-md:grid-cols-2 md:hidden gap-[10px] max-sm:auto-cols-min justify-center",children:[0,1,2,4,5,6].map(((e,t)=>(0,ms.jsx)(fb,{isLoading:!0},t)))})]}):(0,ms.jsxs)(ms.Fragment,{children:[(null===t||void 0===t?void 0:t.length)>0&&(0,ms.jsx)("div",{ref:i,className:"mt-[8rem]"}),(0,ms.jsx)("p",{className:"justify-center items-center flex flex-row animate-pulse color-[#D9D9D9] text-sm font-semibold",children:"Loading More"})]})})]}),(0,ms.jsx)(ms.Fragment,{children:n&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(gb.c,{}),(0,ms.jsx)(Bs.$z,{subscribeEmailToNotification:Ac,mixPanelFn:(e,t)=>{ds.o.track(e,t)}})]})})]})};function Cb(e){return e.reduce(((e,t)=>{var n;const r={...e};return r[t.collection]={count:t.count,traits:null===t||void 0===t||null===(n=t.traits)||void 0===n?void 0:n.reduce(((e,t)=>{const n={...e};return n[t.name]={count:t.count,values:{}},t.values.forEach((e=>{n[t.name].values[e.value]=e.count})),n}),{})},r}),{})}const yb=!0,bb=ss.hr?{loan:{},rental:{},storefront:{}}:{loan:{},rental:{}},wb=(0,sa.createContext)({canScroll:!0,facets:[],fetchSearchResults:()=>{},filters:{},hits:[],initialLoading:!0,isFilterHidden:!1,isLoading:!0,isLoadingFacets:!0,matchedCount:0,noFilterMappedFacets:{},onlyUnlisted:!1,orderFilters:bb,page:1,pageCount:0,paymentTokens:null,publicAccount:null,search:"",serialFilter:null,setFilters:()=>{},setIsFilterHidden:()=>{},setOnlyUnlisted:()=>{},setOrderFilters:()=>{},setPage:()=>{},setPaymentTokens:()=>{},setSearch:()=>{},setSerialFilter:()=>{},setSort:()=>{},setWalletAddresses(){},sort:null,walletAddresses:[]}),xb=24,Ab={direction:"desc",listingKind:"storefront",path:"blockTimestamp",prefix:void 0},Eb={direction:"desc",listingKind:null,path:"latestBlock",prefix:""},_b={storefront:{}},Tb=e=>{let{publicAccount:t,collectionPage:n,children:r,defaultShowOrders:i=!1,endpoint:o,isHomeScreen:a}=e;const s=(0,Os.zy)(),l=(0,Os.Zp)(),c=s.search,u=new URLSearchParams(c),d=s.pathname,h=(0,us.safeParseJSON)(u.get("collectionFilters"))||{},p=(()=>{const e=(0,us.safeParseJSON)(u.get("orderFilters"));return e||(a||"collection"!==o&&"marketplace"!==o?{}:_b)})(),f=(0,us.safeParseJSON)(u.get("sort"))||null,[m,g]=(0,sa.useState)(!1),[v,C]=(0,sa.useState)(!1),[y,b]=(0,sa.useState)((0,us.safeParseJSON)(u.get("walletAddresses"))||("user"===o?[(null===t||void 0===t?void 0:t.addr)||"",...Object.keys((null===t||void 0===t?void 0:t.childAccounts)||{})]:[])),[w,x]=(0,sa.useState)([]),[A,E]=(0,sa.useState)(""),[_,T]=(0,sa.useState)(h),[S,k]=(0,sa.useState)([]),[P,D]=(0,sa.useState)([]),[N,F]=(0,sa.useState)(0),[I,R]=(0,sa.useState)(1),[M,O]=(0,sa.useState)(!0),[j,L]=(0,sa.useState)(!0),[B,U]=(0,sa.useState)(!0),[V,H]=(0,sa.useState)((()=>{const e=u.get("sort");return e?(0,us.safeParseJSON)(e):"user"===o?Eb:f||Ab})),[z,Z]=(0,sa.useState)(p),[W,q]=(0,sa.useState)(null),[G,Y]=(0,sa.useState)((0,us.safeParseJSON)(u.get("paymentTokens"))),[K,Q]=(0,sa.useState)((0,us.safeParseJSON)(u.get("serialFilter"))),[X,J]=(0,sa.useState)([]),[$,ee]=(0,sa.useState)(""),{iterateAndRunScript:te}=(0,ys.g)(),ne=(0,sa.useRef)(!0),re=(0,sa.useRef)(""),ie=(0,sa.useRef)(null),oe=(0,sa.useRef)(null),ae=(0,sa.useRef)(null),se=(0,sa.useRef)(!0),[le,ce]=n||[],ue=n&&((e,t)=>({collection:"".concat(e,".").concat(t),maxSerial:void 0,minSerial:void 0,traits:[]}))(le||"",ce||""),de=(0,sa.useMemo)((()=>{const e=i?Object.keys(z).length>0?z:bb:z;return Object.keys(e).map((t=>({conditions:Object.keys(e[t]||{}).map((n=>{var r;const i=null===e||void 0===e||null===(r=e[t])||void 0===r?void 0:r[n];return{gte:null===i||void 0===i?void 0:i.min,lte:(null===i||void 0===i?void 0:i.max)||null,path:n}})),kind:t,paymentTokens:"user"!==o&&G?null!==G&&void 0!==G&&G.dapper?Object.keys(G.dapper):Object.keys((null===G||void 0===G?void 0:G.other)||{}):[]})))}),[z,G]),he=(0,sa.useMemo)((()=>{const e={..._};null!==ue&&void 0!==ue&&ue.collection&&!e[ue.collection]&&(e[ue.collection]={});return Object.keys(e).map((t=>{const n=e[t],r=Object.keys(n);return{collection:t,maxSerial:null!==K&&void 0!==K&&K.max?null===K||void 0===K?void 0:K.max.toString():void 0,minSerial:null!==K&&void 0!==K&&K.min?null===K||void 0===K?void 0:K.min.toString():void 0,traits:r.map((n=>({name:n,values:Object.keys(e[t][n])})))}}))}),[_,ue,K]),pe=(0,sa.useMemo)((()=>"collection"===o?"".concat(ss.Sw,"/collection/").concat(le,"/").concat(ce):"user"===o?"".concat(ss.Sw,"/").concat(o,"/").concat(null===t||void 0===t?void 0:t.addr):"".concat(ss.Sw,"/").concat(o)),[le,ce,o,null===t||void 0===t?void 0:t.addr]),fe=e=>{var n;const r=y.filter((e=>((null===e||void 0===e?void 0:e.length)||0)>2));if(e)return{address:(null===t||void 0===t?void 0:t.addr)||null,addresses:r,collectionFilters:[],from:0,includeAllListings:yb,limit:I*xb,onlyUnlisted:v,orderFilters:[],sort:V};if("all"===(null===de||void 0===de||null===(n=de[0])||void 0===n?void 0:n.kind)){const e={direction:"desc",listingKind:null,path:"blockTimestamp"};return{address:(null===t||void 0===t?void 0:t.addr)||null,addresses:r,collectionFilters:he,from:0,includeAllListings:yb,kind:"storefront",limit:I*xb,onlyUnlisted:v,sort:JSON.stringify(V)===JSON.stringify({direction:"desc",listingKind:"all",path:"latestBlock"})?e:V}}return{address:(null===t||void 0===t?void 0:t.addr)||null,addresses:r,collectionFilters:he,from:0,includeAllListings:yb,limit:I*xb,onlyUnlisted:v,orderFilters:de,sort:V}},me=(0,sa.useMemo)((()=>Cb(S)),[S]),ge=(0,sa.useMemo)((()=>Cb(P)),[P]),ve=(0,sa.useCallback)((async()=>{const e=fe(!0);if("collection"===o){const e="".concat(le,".").concat(ce),t=await pv(e);if(!t)return;D([t])}else try{var t;const n=await cs().post(pe+"/facets",e,{signal:null===ae||void 0===ae||null===(t=ae.current)||void 0===t?void 0:t.signal});D(n.data.facets)}catch(n){ds.o.track("ERROR_FETCHING_INITIAL_FACETS",{error:n})}}),[]),Ce=async e=>{if("collection"===o&&le&&ce&&e){const e="".concat(le,".").concat(ce),t=await pv(e);if(!t)return;k([t]);const n=Cb([t]);q(n),U(!1)}else try{var t,n;const e=fe(!1),r=await cs().post(pe+"/facets",e,{signal:null===ae||void 0===ae||null===(t=ae.current)||void 0===t?void 0:t.signal});r.data.facets.length>0&&"collection"===o?k([null===(n=r.data.facets)||void 0===n?void 0:n[0]]):k(r.data.facets);const i=Cb(r.data.facets);q(i);const a=Object.keys(i);J(Object.keys(i)),ee(a.join(",")),U(!1)}catch(r){ds.o.track("FAILED_OSC_FACET_REQUEST",{err:r})}},ye=async e=>{var t,n,r,i,o,a;const l=fe(!1),c=JSON.stringify(l);if(re.current===c&&!Boolean(e))return;L(!0),U(!0),null===(t=ie.current)||void 0===t||t.abort(),ie.current=new AbortController,re.current=c;try{const e=await cs().post(pe,l,{signal:ie.current.signal});x((t=>((e.data.nfts.length>=t.length+xb||0===t.length)&&(ne.current=!0),e.data.total===e.data.nfts.length&&(ne.current=!1),e.data.nfts))),F(e.data.total),M&&O(!1),L(!1)}catch(u){ds.o.track("FAILED_OSC_NFT_REQUEST",{err:u})}null===(n=oe.current)||void 0===n||n.abort(),oe.current=new AbortController;s.pathname.includes("/collection")&&0===(null===(r=l.collectionFilters)||void 0===r||null===(i=r[0])||void 0===i||null===(o=i.traits)||void 0===o?void 0:o.length)&&0===(null===l||void 0===l||null===(a=l.orderFilters)||void 0===a?void 0:a.length)?await Ce(!0):Ce(!1)};(0,sa.useEffect)((()=>{te(X,(null===t||void 0===t?void 0:t.childAccounts)||{},null===t||void 0===t?void 0:t.addr)}),[$]),(0,sa.useEffect)((()=>{R(1),ne.current=!0}),[_,de,V]),(0,sa.useEffect)((()=>{ye()}),[A,he,de,V,I,K,y,t,d]),(0,sa.useEffect)((()=>{se.current&&(se.current=!1,ve())}),[]);const be={collectionFilters:JSON.stringify({}),orderFilters:s.pathname.includes("/user")?JSON.stringify({all:{}}):JSON.stringify({storefront:{}}),paymentTokens:JSON.stringify(null),serialFilter:JSON.stringify({max:"",min:""}),sort:s.pathname.includes("/user")?JSON.stringify({direction:"desc",listingKind:null,path:"latestBlock",prefix:""}):JSON.stringify({direction:"desc",listingKind:"storefront",path:"blockTimestamp"})};(0,sa.useEffect)((()=>{const e={collectionFilters:JSON.stringify(_),orderFilters:JSON.stringify(z),paymentTokens:JSON.stringify(G),serialFilter:JSON.stringify(K),sort:JSON.stringify(V)},t=new URLSearchParams(s.search);Object.entries(e).forEach((e=>{let[n,r]=e;r===be[n]||"null"===r||"{}"===r||"{{}}"===r?t.delete(n):t.set(n,r)}));const n=t.toString();if(n&&c.replace(/\?/g,"")!==n){if("/"===s.pathname)return;l("?".concat(n),{replace:!0})}else n||""===c.replace(/\?/g,"")||l(s.pathname,{replace:!0})}),[_,z,V,G,K,s,c,l]);const we=(0,sa.useMemo)((()=>({canScroll:ne.current,facets:S,fetchSearchResults:ye,filters:_,hits:w,initialLoading:M,isFilterHidden:m,isLoading:j,isLoadingFacets:B,mappedFacets:me,matchedCount:N,noFilterMappedFacets:ge,onlyUnlisted:v,orderFilters:z,page:I,pageCount:Math.ceil(N/xb),paymentTokens:G,publicAccount:t,search:A,serialFilter:K,setFilters:T,setIsFilterHidden:g,setOnlyUnlisted:C,setOrderFilters:Z,setPage:R,setPaymentTokens:Y,setSearch:E,setSerialFilter:Q,setSort:H,setWalletAddresses:b,sort:V,walletAddresses:y})),[ne,S,ye,_,w,M,m,j,B,me,N,ge,v,z,I,xb,G,t,A,K,T,g,C,Z,R,Y,E,Q,H,b,V,y]);return(0,ms.jsx)(wb.Provider,{value:we,children:r({hasNoSpecifiedOrderTypeSelected:1!==Object.keys(z).length,initialLoading:M,isFilterHidden:m,mappedFacets:me,referenceFacets:W})})},Sb=()=>{const e=(0,sa.useContext)(wb);if(void 0===e)throw new Error("useMarketplaceAppContext must be used within a MarketplaceAppProvider");return e};var kb,Pb=__webpack_require__(68875);function Db(){return Db=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Db.apply(null,arguments)}function Nb(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Db({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,kb||(kb=sa.createElement("path",{d:"M12.4999 12.5L10.8332 16.6666L7.49986 7.49998L16.6665 10.8333L12.4999 12.5ZM12.4999 12.5L16.6665 16.6666M5.99005 1.86542L6.6371 4.28023M4.28005 6.63725L1.86523 5.9902M11.6246 3.37522L9.85685 5.14299M5.14288 9.85695L3.37512 11.6247",strokeLinecap:"round",strokeLinejoin:"round"})))}const Fb=sa.forwardRef(Nb),Ib=(__webpack_require__.p,()=>{const{toggleBulkList:e,bulkListActive:t}=(0,bs.h)(),n=(0,Os.zy)();return n.pathname.includes("profile")?(0,ms.jsx)(ms.Fragment,{children:n.pathname.includes("profile")&&(0,ms.jsxs)("button",{"data-testid":"bulk-select-btn",onClick:()=>{e(),t?ds.o.track("BULK_SELECT_CLOSED"):ds.o.track("BULK_SELECT_OPENED")},className:"w-auto h-fit lg:!w-max py-2 px-4 flex justify-center items-center gap-1.5 rounded-md group cursor-pointer border bg-[#FFFFFF] backdrop-blur-sm\n                    \t\t\t\t\t\t".concat(t?"bg-opacity-[8%] border-emerald-400":"border-transparent hover:bg-opacity-[15%] bg-opacity-[8%]","\n\t\t\t\t\t\t\t\t\t\t"),children:[(0,ms.jsx)("p",{className:"text-sm font-medium ".concat(t?"text-emerald-400 ":"text-white","\n\t\t\t\t\t\t"),children:"Bulk Select"}),(0,ms.jsx)(Fb,{className:"h-6 w-6 ".concat(t?"stroke-emerald-400":"stroke-white","\n\t\t\t\t\t\t")})]})}):null}),Rb=__webpack_require__.p+"static/media/dapper_logo.888a3a9ebcc8ca3fa421.png";var Mb,Ob,jb,Lb=__webpack_require__(42777);function Bb(){return Bb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bb.apply(null,arguments)}function Ub(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Bb({width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Mb||(Mb=sa.createElement("rect",{x:.5,width:18,height:18,fill:"url(#pattern0)"})),Ob||(Ob=sa.createElement("rect",{x:.5,width:18,height:18,fill:"url(#pattern1)"})),jb||(jb=sa.createElement("defs",null,sa.createElement("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:1,height:1},sa.createElement("use",{xlinkHref:"#image0_1401_13622",transform:"scale(0.005)"})),sa.createElement("pattern",{id:"pattern1",patternContentUnits:"objectBoundingBox",width:1,height:1},sa.createElement("use",{xlinkHref:"#image0_1401_13622",transform:"scale(0.005)"})),sa.createElement("image",{id:"image0_1401_13622",width:200,height:200,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAWIElEQVR4Ae1dX4ge1RW/k9TaClFTBNGUkvhvtwTUqvkWoSWx1se2mxd90uhTBQMayIakDzXpQxOyC0ZIwT41q0/6ktg+atRgQbLRWoXF3WhNFIwIQtSAbSphytnN/fbutzPz3XvuueeeO3MHdme+mfvnnN85v7n/7xQqHywIjE7MPFoq9VeKzIqi3Dd3cGwvRVo5jWYEiubH+aktAiMTM28opTbbhg8c7sT8ZG9L4Dw6kXwmCMLMoztPbSmL8nVE1GhRyqLcevrg2LFoAiSacSaIpeFGJmZKy6BJBLv43RVrzx762VdJCBtRyEyQGvDbRogaNfu35yd72Rf6aCxdZFCWsFBdI4Wh+rLLTJYlODpPkNt2nRwvyuLoEiT5qo9AWeyYn9p0qP+7gxedJUguLdy8vVh9acPcgXvPusVKP3SnCJJi75M0FyuUemxusndEmlyh5OkEQW6dmLlzlVLvhgKxi+l2hSitJkiuRvFQt82N+lYSRNioNo+XRs+l/GR+cmx9dDGIBWgdQXKpQewhjsm1bQCyFQQZ3f3W+vLS6jOOtszBAyJQlMV9c1ObYH5a0kfyBMklhmz/S719kixB8gCfbGKY0qU8PT9JguRSw3S/dK5TLE2SIkjunUqHDA2Sfj0/2bu24bmoR8kQJJcaovzGW5hUShPxBKFcqupt1ZwAKQJlqaZPT/UeJU2UODHRBBnZOfMvVag7iHXOyclCQHSVSyxBcpVKlheHlkZqlUskQTI5QrujzPQlkkQUQdY/9e61V17x3XmZ5stScSAgbXMJMQQZmTh5TKnitxxGyHmIR0BMu0QEQXKVSrzDRhFQQpUrOkEyOaL4XjKZxiZJVIJkciTjp1EFjUmSaATJ5Ijqc8llHoskq2IglTo5tj+wTs0d3BQDOlSeIOvvf/MTVFwpkWL5DHsJEktRX0P/9Mar1NGnNlYmM7rrVOX92DeP7dioRm+4aoUY26c/Uq/Optmbzl2SsBIkNXJc/cPVambfXSscbPCGVILYlHL3739ffXb+4qBKon9zkoStipUSOXo3r1moQtmQQ7QnWQh3fM/tC7puvec6i9AygnD6EksJwqmQjwkPPLRBjd/t7igplyCDeJ36+IJ6+Lm5wdsif3OUJMEJksIIuU1VpMlD2kQQU0+pehkyBh9xD1rFgrlVkqeP6KqUAXi+NBCAF4fwqtc1sF7IEJn8MihBJE88BOM//7tRckDbluD+BzeI7tKm+u5jnd2CVbGktjt8q1NVQEqtinRJ11DtkSAliERy/GrjWtFvwiriSbwHpJM46BjK58gJsrBMVphlwaiHt90iTKp0xXnk59eLfNmEIAkpQRYaTILWkMPod4hqRrquTSs5YCutEb/Ya0qnJ2kbJASDsapixzRc85Pa/tB6cLwg5j7/Vo0/M6uzjH6mbI+QEUQSOTic4tg7X6rdL6axX/a2X1yv9vw6/GRFSS8LKpKQEETSjochyXHhv5fUpj/8M/ob0keA1/bcoW5c+32fJBrjCiIJySAiFUHKRtSYHoYix+FXzqnDr3zGpAVPNtB2gDGOEIcUklCUIt4EkVC1sp116+oM587/T/1y/3uu0ZIK/8Ljo2rTTWvIZd56aFZ9cO5b8nRdE/QliRdBJHyCIMSbsAvEGHS0EJ0aMtpp5cvzk2Pjg/ra/vYiSOzSI4RRpVQPbA1IHY66miqhh8unFEETpG3kaGM7A0semMRJOU8tZZKgBgrhm4BY8CniQbUKs26jKm/omYJSo22N8Cpdbe/N/PvCAiZQ1aQ4YNkvlPYxD+ysXxRBYn4wExrkVL0ve146k3y3bUingw4KaGxTHPBCiznqjp31i6pixaxeUdWRJbQ1bMYkpIy9tAH3YvWlDXMH7j3rQnjnEiSTwwXe+rDgcDYDdmt+sFrEfDKqFwoV0eqRrX+Cqfk4EeTyiHm9BAGfUAALjUUqQwdUVWzSgB103foeFLbEyjAyMfOVS1wngiilNrskThWWAlDYC0rShDoqbLjTgflnvaf9p9tQ2BSp+zUu8awJEqtqRQEkvPlS3SjNxZhcYb/5z2LPn29+FLbFyODiy9YEwQgiIU6uUoWzQhewtSLIrRMzd4aDuT5l3zdMFwxYjx7PE1+MfW2M1XJ018m9NnGtCLJKqXdtEqMM4wscRT2ZUp82p5UiScqyeNrGJkMJMrrz1BabhCjDwO7pPgcMbkE9OR98CPi+kGCjbe5jZGLm0LA8hxKkLMrXhyVC/Xz7Azeik4SuXAnTrNEKJBoRXkgwnw17VO1Cj03LId6Tw8IOJciwBKif+1atclcutUXs0/Odz+Zre3tJl0LCko2lXyuvGgni0h22Mmn+O751YX6J25ejrw1grh3nUZTF0ab8GgnSFDHEM583iK9hQujT1TR9bCHtkxO1kxW5Vwue+uNdCuYdYQ4fg2Dyw8Sp+9qTa1owA/no2/7TPVzzxYRP5YVXlmr69FSvchPs79UpPqzoqYuHvY8lBzY/jnhUpDBlhan+err//r9/qqbf/MJ8nK8RCBSF2qaUqiSIiCqWzzoBiaUHvDnhL3TPDOx1BfnAtHmJh49tYDMJCUdlFYu7cY4tin0MEAJ8rB5UskjdbAKLC7d9q9auRy9BpL79XJ0W6wSu+TSFh/UlEuRoktHlmQRdohPEZtFQFajcb5cqGeAeVAUkGNKUT5o8UmxlYmR7vYIgnNUr6LnCHLAMVcIBjhhi0zUK3UA22N1eynF81mmdUl9sTrJX+f4KgvQlY7jA9lxJ2B+X03BYUxx9in9+U52sT0x/WPdI9P2oBMEgQ7HkE5OvGcd3MqWZVuhrSUR+5C9pfF7atEk0gmANF/uTAzAVwmcypQk+1zUWa2r5YL8tzMEp/+DcrGUDhVV1MIxCoeLcv//9UElbp0sxFQLepLbOsm7tler4ntut5ZMeEBrsnA7visflAfL+8EeUEgT7EcjPzl901Zc0vO9EOnAO+LMlBwgPOut4PspIdkobvWINBywrQWwEpQgDH4FM8cCWHuDgFIdOB+vssOeuCzkpZK5KAwY0Xbv3XcNX5Yu51y9BYqwcdBFYO4dLHAlhQ8iNTZNyQ2ofbKV/c8VcadgnCNfKQezYh49BKOJi39oUeVel4bN6ryq9FO4x2qC/0rBPEC6AMGMf2Dcml051+YSU23f1Xp3MXPdDYkOpAztBKIXveloYJ2N8C7fCPJkgFmaEzyi7HikOirnq2IXwCwTh2pQa8/bCvCWpDYf5xriE3iJqHKjTw9gW40MYufWYoC5BomxKjRE8x1mOgKuTuYZfnlv3fmmCdE/zFmls6/S24VoEjbcqUQYKbaWm+kaebX6U4WCqOecGdqk6//P/+EK5DhxzDniylSCY8Q/pA0pNhJI01bxJztjP/vS3T51F4BzwZCMIZvzDGblAEWA703x0EwE2gqQM7yPP4dYxYErNlHFqo+yZIBZWhY2ZMUfKpSZGX2wcqW1NmJ+4CvuBdSwYtvHaMtAG/fawpiMf9QhIbWuWRbl3FfYD6/XqrnwCvQ6uR5sG2mDBUyaKqwc0hz/w0IbmADRPN7NUsQ48eBONuBFToehG1UThGg2OCFfwrMfvvi54HpAByzhIrMUuLAgiMzFJcurjC+phZEcAMvsczRIBFoJYyiI+GHxmDLuqsEk52FvLJIwZNpPHRIP/OhPEAXNsb5ZDFiuCVpFn+/RH+bvvK5AKcyMTxBFXaIvUve0dk0IHP7ztln5c2GVSwkZ6fYFadsHSSG8ZZgu7jEjRCcZagLD6T4pcrnJAVVLiIZIgUsEyDUjRq2WmR3WdKlFOIjeVo8KtLh2RBJEK1iCIvt8GH0yP8jcQBbv/GKUctmnNfPyNbVDWcCIJwoqAR2bQaIeSROpUCZhGDkTJBx6BTBA8dv2YMFVCapULhMwk6ZvK+SITxBmy+ghAEqlEySSpt1vTE5EEGUPM3WpSkvuZJoo0skgmSe+mq7nNZJWfSIJI/WqTFaIDgUyySNgNUeoalR//6PsDyMn4mQcKGe0AuyEO7ogIH+Ph/N6I1DUqXJMPXc2dCeKKGHH4KtLoLEJViSBdadU/rbO0cyaINIsY8phODLs7YjawM5LLlwgERLZBEHq0Psr0m18svPVN0vgozbTgyEdEEXFXFUW5T4QkWQhrBHTD3zpCRUCpdf4KUWPeOrFq7uDY3tASwPTsfNAjQFWa0EsWPkWO+XpFWexlqWK9OnveGTHf7wE6Z5hohK6ShGMF5tzUpjdYCILxvRAr9zBypBAn9RL6hcdHxcIsliBiERMoGKaElqSG5IHhTBBJnpJlEYdAHgcZYhLYpd1lI+qutgmGwJjsY7YSBOM4EuqmLuQAL8jjC25cwHzejrPNpQlywk0tntCS66Z1COTxhTpkqu9jZgdwtrkWCDI/2dtSLX6+mxHoJgLzk70CNNclSDdRyFpnBIYgwEoQzCYHr+25Y4gK8h6HmoUrT1M/iTCbSux56Yxfpo6xWQmC2Zkw9r6+x9750hFS/uCpEtL124SA7NG3ee3RJ0hZlFv5TSs/x90v4t5Y0p0WPp6Zj2oEylJN6yd9gpw+OHZM35R2lu5sdXhtvSf8Fv1YbDAfz6zTE3MfKzcmL9c4p6d6j+o4fYLoG6HPmPGQ0DINSx87c3T/gxtUyEmXkp1sGKaY5zF8h50gGGAgTszNBnxmjsKky2M7NmLVro3nQ44YjmYq8udtt5o/RV8vI8jF765YK1Xa2JsNYEsRwHP0hqvINm+D7x36kEOCfe/feK0EMSplKJR6zHywMBhi3hiZmCnN36GuMUaGbmJMTxiVDhiZ6/J2fYtT5e2ab538PvcxunDJrQcItX5JTVaE6goXUBog8wx5Y4xrpqGvqdLR6dmcMeNQNum6hImht4t8g2GXVbEGH4b8HdPRffSSulH1MJ3gQzsxS99h8jU9j/lJ8BUEGSximgSP8Sz2Gwg2qk5h8NC0Dcgr4StUWNtxfRK8yvdXEMQEVup17GnwMHiYEkmwg52U9sdMa6fMH5tWVIJgq1kSpsGD0819/i0Wd5Z4x2e/itpmM5XETGuH+FgfMfP2uV7Ri6UTk9ybpWWMDZ6WA1t10PFDnKVgA7rBhFPsnDouPaqqVyB71BIEBOACIIQT6jRBB59xEp0OxRnkkIapdHI04V5PkLLY0RRRwjNJb24YbQfHjNnLBfn7jPqHsKkkG9XqV6r36p7VVrEgAlc1C/LyAVLaG1OD7aOTTmPYWaruKdm0rnoFOiQ1UDjMWaQ9N50XFgdh1j9U6WSmW/U836NDoLEEGd391vry0mrcggiEjD5v3NScxlXXtutnugunrjD3am6yd8TM37yub4NAtefAvWfNwKGvfaZCuDpcaF26nL6PLbhHzZvIATZsJAgEGJzdGNLwvlMhfAwTUq8upe27LIFr1HzRJuXLw2wzlCDDGDYsA9fnnMWrq2w5/HAEfJYlcNt+fnJsfJhGQwkCCXCWIpCfzwg1lCIhV/ENA7TLz1Mqwc115002syIIdyky/sxsk8xDn8G0+HzwIuBLDu7Sw1x33oSUFUGaEgj1zBcwX4OF0quN6fpi7WvrkJhaE6RpMCWUgL7A+RoulF5tStcXY5+eSyyOLr5sTZBFYcpPsELFiudrwFhyp5AvBba+PZehcXIiyPzk2PrQAg2m71uKQHoUhhyUq+u/KTClsK2rHVxKD0jbiSAQIcbOJxRAgkG3P7DOFc8cfgAB+KBQquQoyuK+AXWG/mycalIXm3MSoykDhWEgPQrCmXJhrl11kSAzDAL6jHNonGLp4lp6gLzOJQhEwjBRg+NzhhVyFIerc1LkOZiGi5O4hB3Mh+o3YEZBDtg8ItLxLCZfVAkCGcUqRWC/W9jSk+KIvc8WhQ4caVC9UGAdf6z18ZjSA7BFEwQixyIJbF1JtTsflEpPTH/I4WfJ5QEbLWDXkg8qCyVHrJ1VsOQAHVBVLK18UZT79DXnmdKhgWhUb0hODELnBZhQkQNkjUUO1bBa0AZDrxIEMohVikDesCk07HtLeUio71Pq45oWVUPczDcmpj6lB+jgVYJAAr4CmEC6XsOcLZ+JjVX5wZuT47seVXnHvNe7ec1CSUrRENd6QLUqZXKAHt4lCCQyMjED3UvXaGC4z6GqSDGNy4lhW/GjeHmTEOQySVh2ha9zHJjiHmoWb1t7u0IRY+uhWfXBubib6lGQA3yNjCASSAIyhDI6pA3f9Yv96TKQw+eg7CavkkNCqUtFDtCPlCC37Zw5UhRqWxVwnPdCkkTrIcERtCw2Z5/dDW3ShzAyMCk/oZwzSEoQACl2e0QbM0RvjE7bPMtwClOi5dccLwvIUQoOlKUH6OXdi7XcHAu9WiK+rwX97hyfOuZywEGcbX5zyAa9iG0lB2BMXoJow8UcH9Ey6HNoR5HiIFpffe6S3tQlh8aQvATRCYcSWKfvcgYHlrK5tIvcUsPGHt8YxCWkrwXderQsyq1FWRwdVCjGb72pc+i3agzdOPOUVlra7k6CxShYCQICnT44dkwp9TVWuBDxwMAxd2APoRNHmtJKDa2z7e4kOrzrOVgbxBREUnvElOvAQxvU+N3XmbdQ19LeqloJitISXibwXUaJR8iqldaXhSCQmVSSgGy+jtRWgkjVC2zGQQ7Ih40g0kniQxSpjoQlvlR9wEZwcJED8graBllUZ+k/p2JLudpfgWPAXxd7vKAqpfW3R4w/JLcPsZYgGk7J1S0tI5xtV9RJfePalCAxl8GaWNtcc5MDZIpCEMg4FZJowzU5W4oEkSqzxnvwHIMcIEM0gkDmqZFEG03P84KPvfB+z0JLYH9et/ZKdXzP7QsRUiOF1jIWOSD/qAQBAVIliTZePodFICY5QLPoBAEhMknCOlmqqccmB+DG2otVZ6jLQIgaca+TNd/nQUACOUBTEQQBQeYne9dyf8mKx9Q5FxcEYG6VFHKA3CKqWIMA5irXICLd+C2JGBpxkQQB4TJJtIm6cZZIDkBeLEEySbpBDNBSKjlANjFtkCp3WARu+Lesq+LmeykgABss9ES/pEULZ5o4V7lMNNK/lk4MjbDoEkQLCefLgOauYBOURK9TIQfAm0wJYvpCLk1MNNK5TokYGtVkShAtMJwXgc5tExMT0delei9FcgCmSZYgpjPk0sREQ951qsTQSCZZgmjh4QwGyCPwJiJirp9NnRyAZPIliOkOo7vfWl9eWn3GvJeveRGAD7zOTW16gzfXcLm1iiAaJin7A2t5unJuQ4kxaKtWEkQrmdsnGomw5zYSQyPWaoJoJUd3ndxblsXT+nc++yMAs25Db9rmL6V/Cp0giIZpZGLmkFLqSf07nzEIlC/PT46NY2KmGKdTBNEGum3XyXEpewZrmaSfoadwbrJ3RLqc1PJ1kiAmiFK+imXKJOYaBvimeneKkSeCIJ0niIl5btQvotHmRrdpb5vrTJAalLpGlkyKakfIBKnGZdndNrZZutqmWGZYix+ZIBYgDQZJsTesK92yg7by/Z0J4ovg5fjSqmS5ykRj2EwQGhwbUxndeWpLWZR7lVKbGwPaPzxRlMXeNs15sledN+T/AeG886pjIoE3AAAAAElFTkSuQmCC"}))))}const Vb=sa.forwardRef(Ub);__webpack_require__.p;var Hb,zb,Zb,Wb,qb,Gb,Yb,Kb;function Qb(){return Qb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qb.apply(null,arguments)}function Xb(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Qb({width:27,height:18,viewBox:"0 0 27 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Hb||(Hb=sa.createElement("path",{d:"M18 18C13.0294 18 9 13.9706 9 9C9 4.02943 13.0294 3.52266e-07 18 0C22.9706 -3.52266e-07 27 4.02943 27 9C27 13.9706 22.9706 18 18 18Z",fill:"white"})),zb||(zb=sa.createElement("path",{d:"M18.002 16C14.1498 16 11.027 12.8723 11.027 9.01398C11.027 5.1557 14.1498 2.02795 18.002 2.02795C21.8542 2.02795 24.9771 5.1557 24.9771 9.01398C24.9771 12.8723 21.8542 16 18.002 16Z",fill:"#FC814A"})),Zb||(Zb=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3543 5.81163V5.31034C14.3543 4.65055 15.1152 4.28266 15.631 4.69305L17.009 5.78943C17.2377 5.9714 17.5212 6.07047 17.8133 6.07047H19.1049C19.4961 6.07047 19.8663 5.89309 20.1118 5.58799L20.2492 5.4172C20.7152 4.83803 21.6492 5.16807 21.6492 5.91187V6.31487C21.6492 6.48795 21.6846 6.65921 21.7532 6.81807L22.0798 7.57396C22.4782 8.496 22.6114 9.51116 22.4644 10.5049L22.4513 10.5934C22.3147 11.517 21.8503 12.3602 21.1432 12.9686C20.5965 13.3769 19.9697 13.6646 19.304 13.8127L19.0489 13.8695C18.4327 13.9443 17.8097 13.9443 17.1935 13.8695L16.8933 13.8115C16.3223 13.7013 15.7812 13.4706 15.3061 13.1347C14.6839 12.6948 14.1965 12.0899 13.8985 11.3879L13.83 11.2266C13.5193 10.4946 13.3983 9.69581 13.4783 8.90448L13.4976 8.71403C13.553 8.16549 13.6911 7.62851 13.907 7.12134L14.253 6.30855C14.3198 6.15143 14.3543 5.98242 14.3543 5.81163Z",fill:"white"})),Wb||(Wb=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.561 4.78126C15.1189 4.42951 14.4666 4.74484 14.4666 5.31037V5.81169C14.4666 5.99765 14.4291 6.1817 14.3563 6.35276L14.0103 7.16556C13.7988 7.66228 13.6637 8.18819 13.6093 8.72541L13.5901 8.91586C13.512 9.68832 13.6301 10.468 13.9334 11.1825L14.0018 11.3438C14.2917 12.0266 14.7657 12.6149 15.3709 13.0427C15.8329 13.3694 16.3591 13.5938 16.9144 13.701L17.2108 13.7582C17.815 13.8313 18.4257 13.8313 19.0298 13.7584L19.2795 13.7028C19.9284 13.5584 20.5396 13.2782 21.0727 12.8806C21.7577 12.2901 22.2075 11.4724 22.34 10.577L22.3531 10.4885C22.497 9.51545 22.3666 8.52148 21.9765 7.61875L21.6499 6.86284C21.5752 6.68986 21.5366 6.50337 21.5366 6.31492V5.9119C21.5366 5.27435 20.736 4.99148 20.3366 5.48788L20.1992 5.6587C19.9324 5.99032 19.53 6.18312 19.1048 6.18312H17.8132C17.4957 6.18312 17.1876 6.07544 16.9389 5.87764L15.561 4.78126ZM14.2418 5.31037C14.2418 4.55634 15.1114 4.13589 15.7009 4.60491L17.0788 5.70127C17.2877 5.86744 17.5465 5.95787 17.8132 5.95787H19.1048C19.462 5.95787 19.8 5.79591 20.0241 5.51736L20.1615 5.34657C20.6941 4.68468 21.7615 5.06184 21.7615 5.9119V6.31492C21.7615 6.47261 21.7938 6.62864 21.8563 6.77337L22.1829 7.52928C22.5896 8.47057 22.7256 9.50692 22.5755 10.5215L22.5624 10.61C22.4219 11.5603 21.944 12.428 21.2163 13.054C21.2144 13.0557 21.2123 13.0573 21.2103 13.0589C20.6509 13.4767 20.0095 13.7711 19.3283 13.9227L19.0732 13.9795C19.0696 13.9803 19.066 13.9809 19.0623 13.9814C18.4371 14.0572 17.8051 14.0572 17.1799 13.9814C17.1773 13.981 17.1747 13.9806 17.1722 13.9801L16.8719 13.9222C16.2852 13.8089 15.7293 13.5718 15.2412 13.2267C14.6019 12.7747 14.1011 12.1532 13.7949 11.432L13.7264 11.2707C13.4083 10.5212 13.2844 9.70339 13.3663 8.89316L13.3856 8.70271C13.4422 8.14288 13.5831 7.59483 13.8034 7.07721L14.1494 6.26442C14.2104 6.12127 14.2418 5.96727 14.2418 5.81169V5.31037ZM20.4169 9.77918C20.3911 9.74476 20.3489 9.72674 20.3063 9.73185L20.0656 9.76078C19.9859 9.77035 19.9407 9.85714 19.9785 9.9281C19.9996 9.96786 20.0422 9.99143 20.0871 9.98834L20.3482 9.97029C20.435 9.9643 20.4807 9.86439 20.4285 9.79469L20.4169 9.77918ZM20.2795 9.50821C20.4019 9.4935 20.5228 9.54528 20.5968 9.64402L20.6084 9.65955C20.7675 9.87207 20.6283 10.1767 20.3637 10.195L20.1025 10.213C19.9692 10.2223 19.8429 10.1522 19.78 10.0341C19.6678 9.8234 19.8021 9.5656 20.0388 9.53714L20.2795 9.50821ZM15.7428 10.0076C15.7998 9.9827 15.866 10.0087 15.8909 10.0657C16.3227 11.055 17.1522 11.547 18.0083 11.7652C18.8176 11.9716 19.6411 11.93 20.1451 11.8347V10.688C20.1451 10.6258 20.1955 10.5754 20.2576 10.5754C20.3197 10.5754 20.37 10.6258 20.37 10.688V11.7836C20.737 11.6846 21.0236 11.5241 21.2452 11.2961C21.4942 11.0401 21.6693 10.6907 21.7786 10.2258C21.7928 10.1652 21.8533 10.1277 21.9138 10.142C21.9742 10.1562 22.0117 10.2168 21.9975 10.2774C21.8818 10.7697 21.6915 11.16 21.4064 11.4532C21.1207 11.7471 20.7478 11.9353 20.2815 12.0369C19.7616 12.1502 18.8511 12.2125 17.9528 11.9835C17.052 11.7539 16.1526 11.2276 15.6849 10.1559C15.66 10.0989 15.6859 10.0325 15.7428 10.0076Z",fill:"black"})),qb||(qb=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2585 7.66394L22.4848 7.59156C22.5265 7.59115 22.5595 7.62683 22.556 7.6685L22.503 8.2851C22.4643 8.73655 22.0872 9.08324 21.635 9.08324C21.2488 9.11009 20.8677 8.97739 20.5808 8.717L20.3944 8.53877C20.2885 8.43744 20.1477 8.38092 20.0012 8.38092C19.8025 8.38092 19.6182 8.48471 19.5149 8.65479L19.4087 8.82941C19.3261 8.96539 19.2111 9.07657 19.0759 9.15425C18.9061 9.2756 18.5837 9.3581 18.2129 9.35999C17.9583 9.37355 17.7028 9.35353 17.4528 9.30016L17.095 9.22381C17.0428 9.20812 17.0167 9.20027 16.991 9.19212C16.5979 9.06746 16.2292 8.87562 15.9013 8.62507C15.8799 8.60863 15.8585 8.59176 15.8157 8.55802L15.7217 8.48392C15.6954 8.46317 15.6822 8.45278 15.6685 8.44378C15.6155 8.40886 15.5546 8.38775 15.4914 8.38231C15.4751 8.38092 15.4583 8.38092 15.4248 8.38092H13.8612H13.5389L13.6211 7.98585C13.6715 7.79606 13.843 7.66394 14.039 7.66394H14.6915H15.2585Z",fill:"black"})),Gb||(Gb=sa.createElement("path",{d:"M9 18C4.02944 18 2.11279e-07 13.9706 0 9C-2.46492e-07 4.02943 4.02944 3.52266e-07 9 0C13.9706 -3.52266e-07 18 4.02943 18 9C18 13.9706 13.9706 18 9 18Z",fill:"white"})),Yb||(Yb=sa.createElement("path",{d:"M9.36962 6C8.19936 6 7.05707 6.48731 6.20313 7.35176C5.26651 8.30017 4.67377 9.70079 4.33401 11.0183C4.11147 11.8801 4 12.7743 4 13.6694C4 13.94 4.01028 14.2083 4.03003 14.4735C4.0543 14.796 4.34511 15.0194 4.6347 14.935C4.88726 14.8617 5.15298 14.8222 5.42694 14.8222C5.98965 14.8222 6.51698 14.9874 6.96905 15.2762C6.98015 15.2833 6.99085 15.2904 7.00195 15.2971C7.73661 15.7701 8.6033 16.03 9.52758 15.9967C11.9384 15.9105 13.9079 13.792 13.9968 11.1889C14.0939 8.34103 11.9849 6 9.36962 6ZM9.36962 13.2847C8.20101 13.2847 7.25369 12.2617 7.25369 11.0001C7.25369 9.73855 8.20101 8.71507 9.36962 8.71507C10.5382 8.71507 11.4856 9.7381 11.4856 11.0001C11.4856 12.2622 10.5382 13.2847 9.36962 13.2847Z",fill:"#14AAFF"})),Kb||(Kb=sa.createElement("path",{d:"M7 4.73514C7 5.34578 6.72342 5.91235 6.26922 6.22364C5.9841 6.41923 5.71678 6.65022 5.47473 6.91333C4.93759 7.49556 4.53678 8.20996 4.23991 8.91818C4.18118 9.05735 4 9.00794 4 8.85312V4.73514C4 3.77698 4.67169 3 5.5 3C6.32831 3 7 3.77698 7 4.73514Z",fill:"#0077FF"})))}const Jb=sa.forwardRef(Xb);__webpack_require__.p;const $b=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),ew=e=>{let{onChange:t,isChecked:n,label:r,icon:i}=e;return(0,ms.jsxs)("div",{className:"flex items-center px-[1.75rem] pt-[0.5rem] w-full gap-[0.5rem]",onClick:()=>t(!n),children:[(0,ms.jsx)("div",{"data-testid":"wallet-currency-checkbox",className:iC("text-black flex justify-center rounded-[0.25rem] items-center focus:border-none cursor-pointer h-[1rem] w-[1rem]",{"bg-primary":n,"bg-transparent border border-white":!n,"border-none":n}),children:n&&(0,ms.jsx)($b,{})}),i,(0,ms.jsx)("div",{className:"text-[0.875rem] font-semibold",children:r})]})},tw={DUC:!0},nw={FLOW:!0,USDC:!0},rw=e=>{let{name:t,value:n,disabled:r,onChange:i,isChecked:o,icon:a,iconPosition:s,children:l,collapsible:c,label:u}=e;const[d,h]=(0,sa.useState)(!1),p=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"account-chevron",className:iC("w-[0.875rem] h-[0.5rem]",{"bg-transparent":!o,"border-none":o,"rotate-0":!d,"rotate-180":d,"text-primary":o}),viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:d?"#04e5a3":"#F8F9FA"})})),[o,d]);return(0,ms.jsxs)("div",{"data-testid":"account-option",className:"cursor-pointer py-[0.75rem] w-full font-montserrat border-[1px] border-neutral-400 border-opacity-25 text-[0.875rem] font-[600] px-[1rem] rounded-[0.375rem] text-white bg-[#ffffff0a] hover:bg-[#ffffff1f] flex flex-col items-center justify-between gap-[0.375rem] shadow-[0_2px_4px_0px_rgba(0,0,0,0.1)]",children:[(0,ms.jsxs)("div",{className:"flex w-full items-center",onClick:e=>{e.stopPropagation(),h(!d)},children:[(0,ms.jsx)("div",{onClick:()=>{var e;return null===(e=document.getElementById("".concat(n,"-wallet-radio")))||void 0===e?void 0:e.click()},onKeyDown:()=>{var e;return null===(e=document.getElementById("".concat(n,"-wallet-radio")))||void 0===e?void 0:e.click()},className:"flex items-center w-[70%] justify-between cursor-pointer",children:(0,ms.jsxs)("div",{className:"flex items-center w-full",children:[(0,ms.jsx)("input",{id:"".concat(n,"-wallet-radio"),"data-testid":"".concat(n,"-wallet-radio"),type:"radio",name:t,value:n,disabled:r,checked:o,onChange:e=>{e.stopPropagation(),d||h(!0),i(e.target.value)},className:"hidden h-5 w-5 text-primary focus:outline-none focus:ring-0 focus:ring-offset-0 cursor-pointer"}),(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full border-2 border-white relative ".concat(o?"bg-primary border-none flex items-center justify-center":"bg-transparent!"),children:(0,ms.jsx)("div",{className:"rounded-full p-[0.27rem] ".concat(o?"bg-[#031021]":"bg-transparent")})}),"left"===s&&a,(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat",children:u}),"right"===s&&a]})]})}),(0,ms.jsx)("div",{className:"ml-auto",children:c&&p})]}),d&&l]})},iw=()=>{var e,t;const{paymentTokens:n,setPaymentTokens:r}=(0,sa.useContext)(wb),[i,o]=(0,sa.useState)("all"),a=Object.values(null!==n&&void 0!==n?n:{}).filter((e=>0!==Object.keys(null!==e&&void 0!==e?e:{}).length));(0,sa.useEffect)((()=>{a.length||o("all")}),[a.length]),(0,sa.useEffect)((()=>{"{}"!==JSON.stringify(null===n||void 0===n?void 0:n.dapper)&&"{}"!==JSON.stringify(null===n||void 0===n?void 0:n.other)?null!==n&&void 0!==n&&n.dapper?o("dapper"):null!==n&&void 0!==n&&n.other&&o("other"):o("all")}),[n]);const s=e=>{ds.o.track("Account type toggled",{accountType:e}),"all"===e&&(o("all"),r(null)),"dapper"===e&&(o("dapper"),r({dapper:{...tw},other:void 0})),"other"===e&&(o("other"),r({dapper:void 0,other:{...nw}}))};return(0,ms.jsxs)("div",{className:"space-y-2",children:[(0,ms.jsx)(rw,{name:"account",value:"all",label:"Show All",disabled:!1,onChange:s,isChecked:"all"===i,icon:void 0,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(rw,{name:"account",value:"dapper",label:"Dapper Wallet",disabled:!1,onChange:s,isChecked:"dapper"===i,icon:(0,ms.jsx)("img",{src:Rb,alt:"Dapper",className:"w-[1.4rem] h-[1.25rem]"}),iconPosition:"left",collapsible:!1}),(0,ms.jsx)(rw,{name:"account",value:"other",label:"Other Wallets",disabled:!1,onChange:s,isChecked:"other"===i,icon:(0,ms.jsx)(Jb,{}),iconPosition:"left",collapsible:!0,children:(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)(ew,{label:"USDC",onChange:e=>{if(o("other"),e)r({dapper:void 0,other:{...null===n||void 0===n?void 0:n.other,USDC:e}});else{var t;const e={...n};null===e||void 0===e||(null===(t=e.other)||void 0===t||delete t.USDC),r(e)}},isChecked:!(null===n||void 0===n||null===(e=n.other)||void 0===e||!e.USDC),icon:(0,ms.jsx)(Vb,{})}),(0,ms.jsx)(ew,{label:"FLOW",onChange:e=>{if(o("other"),e)r({dapper:void 0,other:{...null===n||void 0===n?void 0:n.other,FLOW:e}});else{var t;const e={...n};null===e||void 0===e||(null===(t=e.other)||void 0===t||delete t.FLOW),r(e)}},isChecked:!(null===n||void 0===n||null===(t=n.other)||void 0===t||!t.FLOW),icon:(0,ms.jsx)(Lb.h,{height:18,width:18})})]})})]})},ow=()=>{const[e,t]=(0,sa.useState)(!0),n=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"chevron",onClick:n=>{n.stopPropagation(),t(!e)},className:iC({"rotate-0":!e,"rotate-180":e}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:e?"#04e5a3":"#F8F9FA"})})),[e]);return(0,ms.jsxs)("div",{className:iC("rounded-[0.375rem] cursor-pointer border-[1px] border-neutral-400 border-opacity-25  px-[1rem] py-[0.875rem]",{"hover:bg-[#ffffff29]":!e}),children:[(0,ms.jsxs)("div",{className:"flex items-center justify-between w-full",onClick:()=>t(!e),children:[(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsxs)("svg",{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ms.jsx)("path",{d:"M7.82609 7.91306V7.0435C7.82609 6.12101 8.19254 5.2363 8.84485 4.584C9.49715 3.9317 10.3819 3.56524 11.3043 3.56524H16.5217V1.82611C16.5217 1.59549 16.4301 1.37431 16.267 1.21123C16.104 1.04816 15.8828 0.956543 15.6522 0.956543H0.869565C0.638942 0.956543 0.417765 1.04816 0.25469 1.21123C0.0916147 1.37431 0 1.59549 0 1.82611L0 13.1305C0 13.3611 0.0916147 13.5823 0.25469 13.7453C0.417765 13.9084 0.638942 14 0.869565 14H15.6522C15.8828 14 16.104 13.9084 16.267 13.7453C16.4301 13.5823 16.5217 13.3611 16.5217 13.1305V11.3913H11.3043C10.3819 11.3913 9.49715 11.0249 8.84485 10.3726C8.19254 9.72027 7.82609 8.83556 7.82609 7.91306Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M16.5217 5.30432H11.3043C10.8431 5.30432 10.4007 5.48755 10.0746 5.8137C9.74842 6.13985 9.56519 6.58221 9.56519 7.04345V7.91302C9.56519 8.37426 9.74842 8.81662 10.0746 9.14277C10.4007 9.46892 10.8431 9.65215 11.3043 9.65215H16.5217C16.7523 9.65215 16.9735 9.56053 17.1366 9.39746C17.2997 9.23438 17.3913 9.01321 17.3913 8.78258V6.17389C17.3913 5.94326 17.2997 5.72209 17.1366 5.55901C16.9735 5.39594 16.7523 5.30432 16.5217 5.30432ZM12.6087 8.3478C12.378 8.3478 12.1569 8.25618 11.9938 8.09311C11.8307 7.93003 11.7391 7.70886 11.7391 7.47823C11.7391 7.24761 11.8307 7.02643 11.9938 6.86336C12.1569 6.70028 12.378 6.60867 12.6087 6.60867C12.8393 6.60867 13.0605 6.70028 13.2235 6.86336C13.3866 7.02643 13.4782 7.24761 13.4782 7.47823C13.4782 7.70886 13.3866 7.93003 13.2235 8.09311C13.0605 8.25618 12.8393 8.3478 12.6087 8.3478Z",fill:"#CED4DA"})]}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Wallets & Currencies"})]}),n]}),e?(0,ms.jsx)("div",{className:"space-y-2 mt-3 overflow-y-auto",children:(0,ms.jsx)(iw,{})}):null]})},aw=e=>{let{Comp:t,tooltipText:n}=e;const[r,i]=(0,sa.useState)(!1),o=t;return(0,sa.useEffect)((()=>{var e;null!==o&&void 0!==o&&null!==(e=o.ref)&&void 0!==e&&e.current&&i(o.ref.current.offsetWidth<o.ref.current.scrollWidth)}),[]),(0,ms.jsx)(ms.Fragment,{children:r?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:n}),(0,ms.jsx)("div",{"data-tooltip-content":n,"data-tooltip-id":n,children:t})]}):(0,ms.jsx)(ms.Fragment,{children:t})})},sw=e=>{let{collection:t,isChecked:n,name:r,isCheckboxHidden:i,onChange:o,label:a,count:s,isVerified:l,isCollapsible:c=!0,children:u}=e;const d=(0,sa.useRef)(null),h=(0,Os.zy)(),p=(0,sa.useMemo)((()=>h.pathname.includes("/collection/")),[h]),[f,m]=(0,sa.useState)(p),[g,v]=(0,sa.useState)(null);(0,sa.useEffect)((()=>{(async()=>{const e=await(async e=>{const t=await hl.db.collection("flowNFTContract").doc(e),n=await t.get();return n?n.data():null})(t);v(e)})()}),[t]);const C=(0,sa.useMemo)((()=>l?(0,ms.jsx)("svg",{className:"w-[0.875rem] h-[0.875rem]",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 14 14",fill:"none",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3869 2.41837C4.83705 2.38245 5.26439 2.20544 5.6081 1.91254C6.41016 1.22902 7.58983 1.22902 8.39189 1.91254C8.73559 2.20544 9.16294 2.38245 9.61308 2.41837C10.6635 2.5022 11.4977 3.33635 11.5815 4.38681C11.6174 4.83696 11.7945 5.2643 12.0874 5.60801C12.7709 6.41007 12.7709 7.58974 12.0874 8.3918C11.7945 8.7355 11.6174 9.16285 11.5815 9.61299C11.4977 10.6635 10.6635 11.4976 9.61308 11.5814C9.16294 11.6174 8.73559 11.7944 8.39189 12.0873C7.58983 12.7708 6.41016 12.7708 5.6081 12.0873C5.26439 11.7944 4.83705 11.6174 4.3869 11.5814C3.33644 11.4976 2.50229 10.6635 2.41846 9.61299C2.38254 9.16285 2.20553 8.7355 1.91263 8.3918C1.22912 7.58974 1.22912 6.41007 1.91263 5.60801C2.20553 5.2643 2.38254 4.83696 2.41846 4.38681C2.50229 3.33635 3.33644 2.5022 4.3869 2.41837ZM9.59497 6.09488C9.86834 5.82151 9.86834 5.37829 9.59497 5.10493C9.3216 4.83156 8.87839 4.83156 8.60502 5.10493L6.29999 7.40995L5.39497 6.50493C5.1216 6.23156 4.67839 6.23156 4.40502 6.50493C4.13165 6.7783 4.13165 7.22151 4.40502 7.49488L5.80502 8.89488C6.07839 9.16824 6.5216 9.16824 6.79497 8.89488L9.59497 6.09488Z",fill:"#04E5A3"})}):null),[l]),y=(0,sa.useMemo)((()=>c?(0,ms.jsx)("svg",{"data-testid":"single-collection-chevron",className:iC({"rotate-0":!f,"rotate-180":f}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:f?"#04e5a3":"#F8F9FA"})}):(0,ms.jsx)("div",{className:"w-[14px] h-[8px]"})),[c,f]),b=(0,sa.useMemo)((()=>{var e,t;const n=null===g||void 0===g||null===(e=g.collectionDisplay)||void 0===e||null===(t=e.name)||void 0===t?void 0:t.replace(/-/g," ");return null!==n&&void 0!==n?n:a}),[g]);return(0,ms.jsx)(ms.Fragment,{children:p?(0,ms.jsxs)(ms.Fragment,{children:[u," "]}):(0,ms.jsxs)("div",{className:iC("bg-[#ffffff0a] border-[1px] border-neutral-500 border-opacity-25 rounded-[0.375rem] px-[1rem] py-[0.75rem] cursor-pointer shadow-[0_2px_4px_0px_rgba(0,0,0,0.1)]",{"hover:bg-[#ffffff1f]":!f}),children:[(0,ms.jsxs)("div",{className:iC(" w-full font-montserrat text-[0.9375rem] font-[500] rounded-[0.375rem] text-white flex items-center justify-start gap-[0.375rem]"),children:[(0,ms.jsxs)("div",{className:"flex items-center space-x-3 w-[70%]",onClick:()=>{i||o(!n),c&&m(!0)},children:[i?null:(0,ms.jsx)("div",{className:iC("text-black flex justify-center rounded-[0.25rem] items-center focus:border-none cursor-pointer h-[1rem] w-[1rem]",{"bg-primary":n,"bg-transparent":!n,"border-[1px] border-white":!n,"border-none":n}),children:n&&(0,ms.jsx)($b,{})}),(0,ms.jsx)("img",{className:"w-[2rem] max-w-[2rem] max-h-[2rem] h-[2rem] rounded-[0.25rem]",src:g?(0,us.getSquareImage)(r,g):rl.A,alt:r||"",onError:ol.R}),(0,ms.jsx)(aw,{tooltipText:b,Comp:(0,ms.jsx)("div",{ref:d,className:"font-montserrat text-[0.875rem] max-w-[100px] truncate capitalize",children:b})})]}),(0,ms.jsxs)("div",{className:"flex items-center justify-end ml-auto space-x-2 w-[30%]",onClick:()=>{c&&m(!f)},children:[(0,ms.jsx)("div",{className:"",children:C}),(0,ms.jsx)("div",{className:"font-[500] flex-shrink-0 w-fit text-[0.75rem]",children:s}),(0,ms.jsx)("div",{onClick:()=>{c&&m(!f)},className:"hover:cursor-pointer",children:y})]})]},t),f&&c?(0,ms.jsxs)("div",{className:"pt-2.5 gap-[8px]",children:[" ",u," "]}):null]})})},lw=e=>{let{isLocked:t,isChecked:n,onChange:r,label:i,count:o}=e;const{isLoadingFacets:a}=Sb(),s=i.length>=28,l=s?i.slice(0,26)+"..":i,c=t?"true"===l?"Locked":"Not Locked":l;return(0,ms.jsx)("div",{className:"w-full pt-1",onClick:()=>{r(!n)},children:(0,ms.jsxs)("div",{className:iC("min-w-min flex items-center text-white hover:bg-[#ffffff1f] py-2 rounded-[4px] px-2"),children:[(0,ms.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,ms.jsx)("div",{className:iC("text-black flex justify-center rounded-[0.25rem] items-center focus:border-none cursor-pointer h-[1rem] w-[1rem]",{"bg-primary":n,"bg-transparent border border-white":!n,"border-none":n}),children:n&&(0,ms.jsx)($b,{})}),s&&(0,ms.jsx)(nc.m_,{id:"".concat(l,"-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.875rem",fontWeight:500,zIndex:10}}),(0,ms.jsx)("div",{"data-tooltip-id":"".concat(l,"-tooltip"),"data-tooltip-content":i,"data-tooltip-place":"top",className:"text-[0.875rem] font-semibold",children:c})]}),(0,ms.jsx)("div",{className:"flex items-center ml-auto space-x-2",children:a?(0,ms.jsx)("div",{className:"w-[20px] h-[15px] animate-pulse bg-[#edf3f60a] rounded-lg"}):(0,ms.jsx)("div",{className:"font-[500] text-[0.75rem]",children:o||"-"})})]})})};const cw=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),uw=e=>{let{placeholder:t="",value:n,onChange:r,clearSearch:i}=e;const[o,a]=(0,sa.useState)(!1);return(0,ms.jsxs)("div",{"data-testid":"facet-search-bar",className:"relative flex items-center",children:[!o&&(0,ms.jsx)("div",{className:"absolute flex items-center pl-4",children:(0,ms.jsx)(cw,{height:17,width:17,color:"#9CA3AF"})}),n&&(0,ms.jsx)(Ef.A,{onClick:()=>{a(!1),i()},className:"absolute top-1/2 right-0 transform -translate-y-1/2 -translate-x-1/2 w-4 h-4"}),(0,ms.jsx)("input",{type:"text",onChange:r,value:n,className:iC("block cursor-pointer w-full text-base height-[3rem] font-montserrat rounded-[0.325rem] bg-glassFillGray py-2 text-white placeholder:text-gray-400 hover:placeholder:text-gray-300 hover:bg-glassFillGrayHover outline-none focus:bg-[#2c3645] sm:leading-6",{"border-[1px] border-neutral-500 pl-10":!o,"border-[1px] border-primary pl-4":o}),placeholder:o?"":t,onFocus:()=>a(!0)})]})},dw=e=>{let{isCollapsible:t,addon:n,count:r,resultMappedTrait:i,initialMappedTrait:o,label:a,collection:s}=e;const{filters:l,setFilters:c,isLoadingFacets:u}=Sb(),[d,h]=(0,sa.useState)(""),[p,f]=(0,sa.useState)(!1),m="Locked"===a&&s==="".concat(ss.BN,".TopShot"),g=(0,sa.useMemo)((()=>t?(0,ms.jsx)("svg",{"data-testid":"collection-trait-chevron",className:iC({"rotate-0":!p,"rotate-180":p}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:p?"#04e5a3":"#F8F9FA"})}):null),[t,p]),v=(null===o||void 0===o?void 0:o.values)&&Object.keys(o.values).length>9,C=(null===o||void 0===o?void 0:o.values)&&Object.keys(o.values).filter((e=>d?e.toLowerCase().includes(d.toLowerCase()):e)).map((e=>{var t,n,r;const o=(null===i||void 0===i||null===(t=i.values)||void 0===t?void 0:t[e])||0,u=!(null===l||void 0===l||null===(n=l[s])||void 0===n||null===(r=n[a])||void 0===r||!r[e]);return(0,ms.jsx)(lw,{isLocked:m,count:(0,Oy._)(o),label:e,isChecked:u,onChange:()=>(()=>{var t,n;const r={...l};var i,o,d,h,p,f,m;ds.o.track("Trait toggled",{traitType:{[a]:[null===r||void 0===r||null===(t=r[s])||void 0===t||null===(n=t[a])||void 0===n?void 0:n[e]]}}),null!==r&&void 0!==r&&r[s]||(r[s]={}),u?e?(null===r||void 0===r||null===(i=r[s])||void 0===i||null===(o=i[a])||void 0===o||delete o[e],0===Object.keys(null!==(d=null===r||void 0===r||null===(h=r[s])||void 0===h?void 0:h[a])&&void 0!==d?d:{}).length&&(null===r||void 0===r||null===(p=r[s])||void 0===p||delete p[a])):null===r||void 0===r||null===(f=r[s])||void 0===f||delete f[a]:e?(null!==r&&void 0!==r&&null!==(m=r[s])&&void 0!==m&&m[a]?r[s][a]=r[s][a]:r[s][a]={},r[s][a][e.toString()]=!0):r[s][a]={},c(r)})()},e)}));return(0,ms.jsxs)("div",{className:iC("border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 w-full bg-[#ffffff0a]",{"hover:bg-[#ffffff1f]":!p}),children:[(0,ms.jsxs)("div",{className:"flex justify-between px-[1rem]",onClick:()=>f(!p),children:[(0,ms.jsxs)("div",{className:"flex w-[70%]",onClick:()=>f(!0),children:[(0,ms.jsx)("div",{className:"text-[0.875rem] font-semibold capitalize",children:m?"Lock Status":(y=a,y.split(/(?=[A-Z][a-z])/).join(" "))}),(0,ms.jsx)("div",{className:"font-[500]",children:n})]}),(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem] w-[30%] justify-end",children:[(0,ms.jsx)("div",{className:"font-[500] text-[0.75rem]",children:u?(0,ms.jsx)("div",{className:"w-[20px] h-[15px] animate-pulse bg-[#edf3f60a] rounded-lg"}):r}),(0,ms.jsx)("div",{className:"hover:cursor-pointer",children:g})]})]}),p?(0,ms.jsxs)("div",{children:[(0,ms.jsx)("div",{className:"px-[1rem]",children:v&&(0,ms.jsx)(uw,{value:d,onChange:e=>h(e.target.value),clearSearch:()=>h(""),placeholder:"Search"})}),(0,ms.jsx)("div",{className:"max-h-[300px] overflow-y-auto px-[1rem]",children:C})]}):null]});var y},hw=()=>{var e,t,n,r,i,o,a;const{filters:s,setFilters:l,isLoadingFacets:c,orderFilters:u,mappedFacets:d,noFilterMappedFacets:h}=Sb(),[p,f]=(0,sa.useState)(!0),[m,g]=(0,sa.useState)(""),v=(0,Os.zy)(),C=v.pathname.includes("/collection"),y=0===(null===(e=Object.keys(s||{}))||void 0===e?void 0:e.length)&&0===(null===(t=Object.keys(u||{}))||void 0===t?void 0:t.length),b=(0,sa.useMemo)((()=>{if(C){const e=v.pathname.split("/"),t=e[2],n=e[3],r="A.".concat(null===t||void 0===t?void 0:t.substring(2),".").concat(n,".NFT");return(0,ss.hx)(r)}return!1}),[C]),w=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"collection-chevron",className:iC({"rotate-0":!p,"rotate-180":p}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:p?"#04e5a3":"#F8F9FA"})})),[p]),x=Object.keys(null!==h&&void 0!==h?h:{}).filter((e=>m?e.toLowerCase().replace(/\s+/g,"").includes(m.toLowerCase().replace(/\s+/g,"")):e)).map((e=>{var t,n,r;const i=null===h||void 0===h?void 0:h[e],o=null===d||void 0===d?void 0:d[e],a=!!s[e],c=e.split(".")[0],u=e.split(".")[1],p="A.".concat(null===c||void 0===c?void 0:c.substring(2),".").concat(u,".NFT"),f=(null===i||void 0===i?void 0:i.traits)&&(null===(t=Object.keys(i.traits))||void 0===t?void 0:t.length)&&(null===(n=Object.keys(i.traits))||void 0===n?void 0:n.map((t=>{var n,r,a,s;return(0,ms.jsx)(dw,{collectionName:u,resultMappedTrait:null===o||void 0===o||null===(n=o.traits)||void 0===n?void 0:n[t],initialMappedTrait:null===i||void 0===i||null===(r=i.traits)||void 0===r?void 0:r[t],collection:e,isCollapsible:!0,label:t,count:(0,Oy._)(null===o||void 0===o||null===(a=o.traits)||void 0===a||null===(s=a[t])||void 0===s?void 0:s.count)},t)})));return(0,ms.jsx)(sw,{isCheckboxHidden:C,name:u,isCollapsible:!(null===o||void 0===o||!o.traits)&&!(0,ss.hx)(p),count:(0,Oy._)(null!==(r=null===o||void 0===o?void 0:o.count)&&void 0!==r?r:0),isVerified:!0,collection:e,label:u,onChange:t=>{ds.o.track("Collection toggled",{collectionType:{[e]:[t]}});const n=s?{...s}:{};t?n[e]={}:delete n[e],l(n)},isChecked:a,children:(0,ms.jsx)("div",{className:"space-y-1",children:f})},e)}));return(0,ms.jsxs)("div",{className:iC("rounded-[0.375rem] cursor-pointer border-[1px] border-neutral-400 border-opacity-25 py-[0.875rem]",{"hover:bg-[#ffffff29]":!p}),children:[(0,ms.jsxs)("div",{className:"flex items-center justify-between w-full cursor-pointer px-[1rem]",onClick:()=>f(!p),children:[(0,ms.jsx)("div",{className:"flex items-center gap-[0.5rem]",children:C?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,ms.jsx)("path",{d:"M9.50386 1.13176C9.81129 0.956081 10.1887 0.956081 10.4961 1.13176L12.2461 2.13176C12.7257 2.40577 12.8923 3.01662 12.6182 3.49614C12.3442 3.97566 11.7334 4.14225 11.2539 3.86824L10 3.15175L8.74614 3.86824C8.26662 4.14225 7.65577 3.97566 7.38176 3.49614C7.10775 3.01662 7.27434 2.40577 7.75386 2.13176L9.50386 1.13176Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M5.61824 4.50386C5.89225 4.98338 5.72566 5.59423 5.24614 5.86824L5.01556 6L5.24614 6.13176C5.72566 6.40577 5.89225 7.01662 5.61824 7.49614C5.34423 7.97566 4.73338 8.14225 4.25386 7.86824L4 7.72318V8C4 8.55228 3.55228 9 3 9C2.44772 9 2 8.55228 2 8V6C2 5.75001 2.09173 5.52145 2.24336 5.34614C2.27802 5.30603 2.31598 5.26854 2.35699 5.23411C2.40754 5.19163 2.46236 5.15405 2.52071 5.12213L4.25386 4.13176C4.73338 3.85775 5.34423 4.02434 5.61824 4.50386Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M14.3818 4.50386C14.6558 4.02434 15.2666 3.85775 15.7461 4.13176L17.4793 5.12212C17.5376 5.15405 17.5925 5.19162 17.643 5.23411C17.8613 5.41755 18 5.69258 18 6V8C18 8.55228 17.5523 9 17 9C16.4477 9 16 8.55228 16 8V7.72318L15.7461 7.86824C15.2666 8.14225 14.6558 7.97566 14.3818 7.49614C14.1077 7.01662 14.2743 6.40577 14.7539 6.13176L14.9844 6L14.7539 5.86824C14.2743 5.59423 14.1077 4.98338 14.3818 4.50386Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M7.38176 8.50386C7.65577 8.02434 8.26662 7.85775 8.74614 8.13176L10 8.84825L11.2539 8.13176C11.7334 7.85775 12.3442 8.02434 12.6182 8.50386C12.8923 8.98338 12.7257 9.59423 12.2461 9.86824L11 10.5803V12C11 12.5523 10.5523 13 10 13C9.44772 13 9 12.5523 9 12V10.5803L7.75386 9.86824C7.27434 9.59423 7.10775 8.98338 7.38176 8.50386Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M3 11C3.55228 11 4 11.4477 4 12V13.4197L5.24614 14.1318C5.72566 14.4058 5.89225 15.0166 5.61824 15.4961C5.34423 15.9757 4.73338 16.1423 4.25386 15.8682L2.50386 14.8682C2.19229 14.6902 2 14.3589 2 14V12C2 11.4477 2.44772 11 3 11Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M17 11C17.5523 11 18 11.4477 18 12V14C18 14.3589 17.8077 14.6902 17.4961 14.8682L15.7461 15.8682C15.2666 16.1423 14.6558 15.9757 14.3818 15.4961C14.1077 15.0166 14.2743 14.4058 14.7539 14.1318L16 13.4197V12C16 11.4477 16.4477 11 17 11Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M7.38176 16.5039C7.65577 16.0243 8.26662 15.8577 8.74614 16.1318L9 16.2768V16C9 15.4477 9.44772 15 10 15C10.5523 15 11 15.4477 11 16V16.2768L11.2539 16.1318C11.7334 15.8577 12.3442 16.0243 12.6182 16.5039C12.8923 16.9834 12.7257 17.5942 12.2461 17.8682L10.5113 18.8596C10.3617 18.9488 10.1868 19 10 19C9.81316 19 9.63828 18.9488 9.48866 18.8596L7.75386 17.8682C7.27434 17.5942 7.10775 16.9834 7.38176 16.5039Z",fill:"#CED4DA"})]}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Traits"})]}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ms.jsx)("path",{d:"M7 3C6.44772 3 6 3.44772 6 4C6 4.55228 6.44772 5 7 5H13C13.5523 5 14 4.55228 14 4C14 3.44772 13.5523 3 13 3H7Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M4 7C4 6.44772 4.44772 6 5 6H15C15.5523 6 16 6.44772 16 7C16 7.55228 15.5523 8 15 8H5C4.44772 8 4 7.55228 4 7Z",fill:"#CED4DA"}),(0,ms.jsx)("path",{d:"M2 11C2 9.89543 2.89543 9 4 9H16C17.1046 9 18 9.89543 18 11V15C18 16.1046 17.1046 17 16 17H4C2.89543 17 2 16.1046 2 15V11Z",fill:"#CED4DA"})]}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Collections"})]})}),w]}),p?(0,ms.jsx)("div",{className:"space-y-2 mt-3 max-h-[360px] overflow-y-auto px-[1rem]",children:c&&0===(null===(n=Object.keys(d||{}))||void 0===n?void 0:n.length)?(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"w-full h-[44px] animate-pulse border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 bg-[#747675cb]"}),(0,ms.jsx)("div",{className:"w-full h-[44px] animate-pulse border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 bg-[#747675cb]"}),(0,ms.jsx)("div",{className:"w-full h-[44px] animate-pulse border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 bg-[#747675cb]"}),(0,ms.jsx)("div",{className:"w-full h-[44px] animate-pulse border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 bg-[#747675cb]"}),(0,ms.jsx)("div",{className:"w-full h-[44px] animate-pulse border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 bg-[#747675cb]"})]}):0!==(null===(r=Object.keys(d||{}))||void 0===r?void 0:r.length)||b?(null===(i=Object.keys(d||{}))||void 0===i?void 0:i.length)>0&&void 0===(null===(o=Object.values(d||{}))||void 0===o||null===(a=o[0])||void 0===a?void 0:a.traits)&&C||b?(0,ms.jsx)("div",{className:"w-full h-[44px] border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 cursor-default",children:(0,ms.jsx)("p",{className:"text-center",children:"No Traits Found"})}):(0,ms.jsxs)(ms.Fragment,{children:[!C&&(0,ms.jsx)(uw,{value:m,onChange:e=>g(e.target.value),clearSearch:()=>g(""),placeholder:"Search Collections"}),(0,ms.jsx)(ms.Fragment,{children:x.length?x:m&&(0,ms.jsx)("div",{children:"No results found."})})]}):(0,ms.jsx)("div",{className:"w-full h-[44px] border-[1px] rounded-[4px] py-[0.5rem] border-neutral-400 border-opacity-25 cursor-default",children:(0,ms.jsx)("p",{className:"text-center",children:C||!y?"No Filters Result":"No Owned NFTs"})})}):null]})};function pw(e,t){(0,Ps.A)(2,arguments);var n=(0,jy.default)(e),r=(0,jy.default)(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var fw=__webpack_require__(17545),mw=__webpack_require__(33744),gw=__webpack_require__(23160);function vw(e,t){if((0,Ps.A)(2,arguments),!t||"object"!==(0,fw.A)(t))return new Date(NaN);var n=t.years?(0,Ds.A)(t.years):0,r=t.months?(0,Ds.A)(t.months):0,i=t.weeks?(0,Ds.A)(t.weeks):0,o=t.days?(0,Ds.A)(t.days):0,a=t.hours?(0,Ds.A)(t.hours):0,s=t.minutes?(0,Ds.A)(t.minutes):0,l=t.seconds?(0,Ds.A)(t.seconds):0,c=(0,jy.default)(e),u=r||n?(0,gw.default)(c,r+12*n):c,d=o||i?(0,mw.default)(u,o+7*i):u,h=1e3*(l+60*(s+60*a));return new Date(d.getTime()+h)}var Cw=__webpack_require__(46125),yw=__webpack_require__(48266),bw=__webpack_require__(73814);function ww(e,t){(0,Ps.A)(2,arguments);var n,r=(0,jy.default)(e),i=(0,jy.default)(t),o=pw(r,i),a=Math.abs((0,Cw.default)(r,i));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-o*a);var s=pw(r,i)===-o;(function(e){(0,Ps.A)(1,arguments);var t=(0,jy.default)(e);return(0,yw.default)(t).getTime()===(0,bw.default)(t).getTime()})((0,jy.default)(e))&&1===a&&1===pw(e,i)&&(s=!1),n=o*(a-Number(s))}return 0===n?0:n}var xw=__webpack_require__(59513),Aw=__webpack_require__(24140);function Ew(e){(0,Ps.A)(1,arguments);var t=(0,jy.default)(e.start),n=(0,jy.default)(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(function(e,t){(0,Ps.A)(2,arguments);var n=(0,jy.default)(e),r=(0,jy.default)(t),i=pw(n,r),o=Math.abs((0,Aw.default)(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=pw(n,r)===-i,s=i*(o-Number(a));return 0===s?0:s}(n,t));var i=pw(n,t),o=vw(t,{years:i*r.years});r.months=Math.abs(ww(n,o));var a=vw(o,{months:i*r.months});r.days=Math.abs((0,Uy.A)(n,a));var s=vw(a,{days:i*r.days});r.hours=Math.abs((0,Vy.A)(n,s));var l=vw(s,{hours:i*r.hours});r.minutes=Math.abs((0,Hy.A)(n,l));var c=vw(l,{minutes:i*r.minutes});return r.seconds=Math.abs((0,xw.A)(n,c)),r}var _w=__webpack_require__(40328),Tw=__webpack_require__(11540),Sw=["years","months","weeks","days","hours","minutes","seconds"];const kw=e=>{if("number"!==typeof e)return"";return function(e,t){var n,r,i,o,a;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=(0,_w.q)(),l=null!==(n=null!==(r=null===t||void 0===t?void 0:t.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:Tw.A,c=null!==(i=null===t||void 0===t?void 0:t.format)&&void 0!==i?i:Sw,u=null!==(o=null===t||void 0===t?void 0:t.zero)&&void 0!==o&&o,d=null!==(a=null===t||void 0===t?void 0:t.delimiter)&&void 0!==a?a:" ";return l.formatDistance?c.reduce((function(t,n){var r="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()}))),i=e[n];return"number"===typeof i&&(u||e[n])?t.concat(l.formatDistance(r,i)):t}),[]).join(d):""}(Ew({end:1e3*e,start:0}),{format:["days"]})},Pw=()=>{(0,sa.useEffect)((()=>{const e=e=>{e.preventDefault()},t=document.querySelectorAll('input[type="number"]');return t.forEach((t=>{t.addEventListener("wheel",e,{passive:!1})})),()=>{t.forEach((t=>{t.removeEventListener("wheel",e)}))}}),[])},Dw=()=>{var e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_;const{orderFilters:T,setOrderFilters:S}=(0,sa.useContext)(wb),[k,P]=(0,sa.useState)({max:null!==(e=kw(null===T||void 0===T||null===(t=T.loan)||void 0===t||null===(n=t.term)||void 0===n?void 0:n.max))&&void 0!==e?e:"",min:null!==(r=kw(null===T||void 0===T||null===(i=T.loan)||void 0===i||null===(o=i.term)||void 0===o?void 0:o.min))&&void 0!==r?r:""}),D=!!T.loan,N=e=>e/100,F=e=>Number((100*e).toFixed(0)),I=(e,t,n)=>{const r={...T};let i=e;var o,a,s;("term"===t&&(i=(e=>60*e*60*24)(e),P({...k,[n]:e})),i)?r.loan?r.loan[t]={...r.loan[t],[n]:i}:r.loan={[t]:{[n]:i}}:i?(null===r||void 0===r||null===(o=r.loan)||void 0===o?void 0:o[t])&&delete r.loan[field.name].max:(null===r||void 0===r||null===(a=r.loan)||void 0===a?void 0:a[t])&&(null===r||void 0===r||(null===(s=r.loan)||void 0===s||delete s[t]));S(r)};return Pw(),(0,ms.jsxs)("div",{className:"flex flex-col gap-[1.5rem]",children:[(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] font-[600] text-white",children:"Loan Amount"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"loan-amount-min",onFocus:()=>{D||S({loan:{}})},value:null!==(a=null===T||void 0===T||null===(s=T.loan)||void 0===s||null===(l=s["derivations.calculatedValues.marketplaceAmount"])||void 0===l?void 0:l.min)&&void 0!==a?a:"",name:"derivations.calculatedValues.marketplaceAmount",onChange:e=>I(Number(e.target.value),e.target.name||"","min"),type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"loan-amount-max",onFocus:()=>{D||S({loan:{}})},name:"derivations.calculatedValues.marketplaceAmount",onChange:e=>I(Number(e.target.value),e.target.name||"","max"),value:null!==(c=null===T||void 0===T||null===(u=T.loan)||void 0===u||null===(d=u["derivations.calculatedValues.marketplaceAmount"])||void 0===d?void 0:d.max)&&void 0!==c?c:"",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] text-left font-[600] text-white",children:"APR %"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"loan-apr-min",value:null!==(h=null===T||void 0===T||null===(p=T.loan)||void 0===p||null===(f=p["derivations.marketplaceAPR"])||void 0===f?void 0:f.min)&&void 0!==h?h:"",name:"derivations.marketplaceAPR",onChange:e=>I(Number(e.target.value),e.target.name||"","min"),type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"loan-apr-max",value:null!==(m=null===T||void 0===T||null===(g=T.loan)||void 0===g||null===(v=g["derivations.marketplaceAPR"])||void 0===v?void 0:v.max)&&void 0!==m?m:"",onFocus:()=>{D||S({loan:{}})},name:"derivations.marketplaceAPR",type:"number",onChange:e=>I(Number(e.target.value),e.target.name||"","max"),placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] text-left font-[600] text-white",children:"Duration (Days)"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"loan-duration-min",onFocus:()=>{D||S({loan:{}})},value:k.min||"",name:"term",onChange:e=>{I(Number(e.target.value),e.target.name||"","min")},type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"loan-duration-max",value:k.max||"",onChange:e=>{I(Number(e.target.value),e.target.name||"","max")},name:"term",onFocus:()=>{D||S({loan:{}})},type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] text-left font-[600] text-white",children:"Loan to Value (LTV) %"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"loan-ltv-min",value:null!==T&&void 0!==T&&null!==(C=T.loan)&&void 0!==C&&null!==(y=C["valuations.aggregate.loanToValueRatio"])&&void 0!==y&&y.min?F(null===T||void 0===T||null===(b=T.loan)||void 0===b||null===(w=b["valuations.aggregate.loanToValueRatio"])||void 0===w?void 0:w.min):"",onFocus:()=>{D||S({loan:{}})},onChange:e=>I(N(Number(e.target.value)),e.target.name||"","min"),name:"valuations.aggregate.loanToValueRatio",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"loan-ltv-max",value:null!==T&&void 0!==T&&null!==(x=T.loan)&&void 0!==x&&null!==(A=x["valuations.aggregate.loanToValueRatio"])&&void 0!==A&&A.max?F(null===T||void 0===T||null===(E=T.loan)||void 0===E||null===(_=E["valuations.aggregate.loanToValueRatio"])||void 0===_?void 0:_.max):"",onFocus:()=>{D||S({loan:{}})},onChange:e=>I(N(Number(e.target.value)),e.target.name||"","max"),name:"valuations.aggregate.loanToValueRatio",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]})]})},Nw=()=>{var e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v;const{orderFilters:C,setOrderFilters:y}=(0,sa.useContext)(wb),b=(e,t,n)=>{const r={...C};var i,o,a;e?r.storefront?r.storefront[t]={...r.storefront[t],[n]:e}:r.storefront={[t]:{[n]:e}}:e?(null===r||void 0===r||null===(i=r.storefront)||void 0===i?void 0:i[t])&&delete r.storefront[field.name].max:(null===r||void 0===r||null===(o=r.storefront)||void 0===o?void 0:o[t])&&(null===r||void 0===r||(null===(a=r.storefront)||void 0===a||delete a[t]));y(r)},w=e=>e/100,x=e=>100*e;return Pw(),(0,ms.jsxs)("div",{className:"flex flex-col gap-[1.5rem]",children:[(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] font-[600] text-white",children:"Purchase Price"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"purchase-price-min",value:null!==(e=null===C||void 0===C||null===(t=C.storefront)||void 0===t||null===(n=t.salePrice)||void 0===n?void 0:n.min)&&void 0!==e?e:"",onChange:e=>b(Number(e.target.value),e.target.name||"","min"),name:"salePrice",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"purchase-price-max",value:null!==(r=null===C||void 0===C||null===(i=C.storefront)||void 0===i||null===(o=i.salePrice)||void 0===o?void 0:o.max)&&void 0!==r?r:"",onChange:e=>b(Number(e.target.value),e.target.name||"","max"),name:"salePrice",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] font-[600] text-white text-left",children:"3rd Party FMV"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"fmv-min",value:null!==(a=null===C||void 0===C||null===(s=C.storefront)||void 0===s||null===(l=s["valuations.blended.usdValue"])||void 0===l?void 0:l.min)&&void 0!==a?a:"",onChange:e=>b(Number(e.target.value),e.target.name||"","min"),name:"valuations.blended.usdValue",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"fmv-max",value:null!==(c=null===C||void 0===C||null===(u=C.storefront)||void 0===u||null===(d=u["valuations.blended.usdValue"])||void 0===d?void 0:d.max)&&void 0!==c?c:"",onChange:e=>b(Number(e.target.value),e.target.name||"","max"),name:"valuations.blended.usdValue",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] font-[600] text-white text-left",children:"Discount to FMV %"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"fmv-discount-min",value:null!==C&&void 0!==C&&null!==(h=C.storefront)&&void 0!==h&&null!==(p=h.valuationRatio)&&void 0!==p&&p.min?x(null===C||void 0===C||null===(f=C.storefront)||void 0===f?void 0:f.valuationRatio.min):"",onChange:e=>b(w(Number(e.target.value)),e.target.name||"","min"),name:"valuationRatio",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"fmv-discount-max",value:null!==C&&void 0!==C&&null!==(m=C.storefront)&&void 0!==m&&null!==(g=m.valuationRatio)&&void 0!==g&&g.max?x(null===C||void 0===C||null===(v=C.storefront)||void 0===v?void 0:v.valuationRatio.max):"",onChange:e=>b(w(Number(e.target.value)),e.target.name||"","max"),name:"valuationRatio",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]})]})},Fw=()=>{var e,t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v;const{orderFilters:C,setOrderFilters:y}=(0,sa.useContext)(wb),[b,w]=(0,sa.useState)({max:null!==(e=kw(null===C||void 0===C||null===(t=C.rental)||void 0===t||null===(n=t.term)||void 0===n?void 0:n.max))&&void 0!==e?e:"",min:null!==(r=kw(null===C||void 0===C||null===(i=C.rental)||void 0===i||null===(o=i.term)||void 0===o?void 0:o.min))&&void 0!==r?r:""}),x=(e,t,n)=>{const r={...C};let i=e;var o,a,s;("term"===t&&(i=(e=>60*e*60*24)(e),w({...b,[n]:e})),i)?r.rental?r.rental[t]={...r.rental[t],[n]:i}:r.rental={[t]:{[n]:i}}:i?(null===r||void 0===r||null===(o=r.rental)||void 0===o?void 0:o[t])&&delete r.rental[field.name].max:(null===r||void 0===r||null===(a=r.rental)||void 0===a?void 0:a[t])&&(null===r||void 0===r||(null===(s=r.rental)||void 0===s||delete s[t]));y(r)};return Pw(),(0,ms.jsxs)("div",{className:"flex flex-col gap-[1.5rem]",children:[(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] font-[600] text-white",children:"Rental Fee"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"rental-fee-min",value:null!==(a=null===C||void 0===C||null===(s=C.rental)||void 0===s||null===(l=s.amount)||void 0===l?void 0:l.min)&&void 0!==a?a:"",onChange:e=>x(Number(e.target.value),e.target.name||"","min"),name:"amount",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"rental-fee-max",value:null!==(c=null===C||void 0===C||null===(u=C.rental)||void 0===u||null===(d=u.amount)||void 0===d?void 0:d.max)&&void 0!==c?c:"",onChange:e=>x(Number(e.target.value),e.target.name||"","max"),name:"amount",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] text-left font-[600]",children:"Refundable Deposit"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"refundable-deposit-min",value:null!==(h=null===C||void 0===C||null===(p=C.rental)||void 0===p||null===(f=p.deposit)||void 0===f?void 0:f.min)&&void 0!==h?h:"",onChange:e=>x(Number(e.target.value),e.target.name||"","min"),name:"deposit",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"refundable-deposit-max",value:null!==(m=null===C||void 0===C||null===(g=C.rental)||void 0===g||null===(v=g.deposit)||void 0===v?void 0:v.max)&&void 0!==m?m:"",onChange:e=>x(Number(e.target.value),e.target.name||"","max"),name:"deposit",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]}),(0,ms.jsxs)("div",{className:"text-left flex flex-col gap-[0.5rem]",children:[(0,ms.jsx)("span",{className:"text-[0.875rem] text-left font-[600]",children:"Duration (Days)"}),(0,ms.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,ms.jsx)("input",{"data-testid":"rental-duration-min",value:b.min||"",onChange:e=>{x(Number(e.target.value),e.target.name||"","min")},name:"term",type:"number",placeholder:"Min",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"}),(0,ms.jsx)("input",{"data-testid":"rental-duration-max",value:b.max||"",onChange:e=>{x(Number(e.target.value),e.target.name||"","max")},name:"term",type:"number",placeholder:"Max",className:"w-1/2 px-3 py-0.5 font-semibold bg-transparent border border-[#FCFCFC] rounded-[5px]"})]})]})]})},Iw={all:"latestBlock",loan:"blockTimestamp",rental:"blockTimestamp",storefront:"blockTimestamp"},Rw=()=>{const{orderFilters:e,setOrderFilters:t,setSort:n,onlyUnlisted:r,setOnlyUnlisted:i}=(0,sa.useContext)(wb),[o,a]=(0,sa.useState)("storefront"),[s,l]=(0,sa.useState)({loan:!1,rental:!1,storefront:!1}),c=(0,Os.zy)().pathname,u=(0,sa.useMemo)((()=>c.includes("/user")),[c]);(0,sa.useEffect)((()=>null!==e&&void 0!==e&&e.loan?a("loan"):null!==e&&void 0!==e&&e.all?a("all"):null!==e&&void 0!==e&&e.storefront?a("storefront"):null!==e&&void 0!==e&&e.rental?a("rental"):r?a("unlisted"):void a("all")),[e]);const d=Object.keys(e).length>1,h=r=>{if(ds.o.track("".concat(r," listing toggled"),{listingType:r}),l({loan:!1,rental:!1,storefront:!1,[r]:!0}),a(r),i("unlisted"===r),"all"===r)return t({all:{}}),void n(u?{direction:"desc",listingKind:null,path:"latestBlock",prefix:""}:{direction:"desc",listingKind:null,path:"blockTimestamp"});if("unlisted"===r||null===r)return t({});if(e[r]&&!d)t({}),n({direction:"desc",listingKind:null,path:"blockTimestamp",prefix:void 0});else{const e={direction:"desc",listingKind:r,path:Iw[r],prefix:void 0};if(t({[r]:{}}),u){n({direction:"desc",listingKind:r,path:"blockTimestamp"})}else n(e)}};return(0,ms.jsxs)("div",{className:"space-y-2",children:[(0,ms.jsx)(kC,{name:"listing-type",value:"all",label:"Show All",disabled:!1,onChange:h,isChecked:"all"===o,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(kC,{name:"listing-type",value:"storefront",label:"Buy Now",disabled:!1,onChange:h,isChecked:"storefront"===o,iconPosition:"right",collapsible:!0,isOpen:s.storefront,setIsOpen:e=>{l({...s,storefront:e})},children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:(0,ms.jsx)(Nw,{})})}),(0,ms.jsx)(kC,{name:"listing-type",value:"rental",label:"Rentals",disabled:!1,onChange:h,isChecked:"rental"===o,iconPosition:"right",collapsible:!0,isOpen:s.rental,setIsOpen:e=>l({...s,rental:e}),children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:(0,ms.jsx)(Fw,{})})}),(0,ms.jsx)(kC,{name:"listing-type",value:"loan",label:"Loans",disabled:!1,onChange:h,isChecked:"loan"===o,iconPosition:"right",collapsible:!0,isOpen:s.loan,setIsOpen:e=>l({...s,loan:e}),children:(0,ms.jsx)("div",{className:"w-full pb-1 mt-2.5",children:(0,ms.jsx)(Dw,{})})}),u&&(0,ms.jsx)(kC,{name:"listing-type",value:"unlisted",label:"Unlisted",disabled:!1,onChange:h,isChecked:"unlisted"===o,iconPosition:"right",collapsible:!1})]})},Mw=()=>{const[e,t]=(0,sa.useState)(!0),n=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"listing-type-chevron",className:iC({"rotate-0":!e,"rotate-180":e}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:e?"#04e5a3":"#F8F9FA"})})),[e]);return(0,ms.jsxs)("div",{className:iC("rounded-[0.375rem] cursor-pointer border-[1px] border-neutral-400 border-opacity-25 py-[0.875rem]",{"hover:bg-[#ffffff29]":!e}),children:[(0,ms.jsxs)("div",{className:"flex items-center justify-between w-full px-[1rem]",onClick:()=>t(!e),children:[(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.432 9.39523L9.39409 18.433C8.91944 18.9078 8.14511 18.9078 7.67038 18.433L1.56698 12.3296C1.09226 11.855 1.09226 11.0807 1.56698 10.6059L10.6048 1.568C10.8485 1.32429 11.1478 1.20405 11.4925 1.21124L16.4403 1.31577C17.03 1.32816 17.5574 1.56023 17.9985 2.00148C18.4398 2.44273 18.6718 2.97003 18.6842 3.55972L18.7887 8.50753C18.796 8.85222 18.6757 9.15152 18.432 9.39523ZM15.1291 4.87097C14.5496 4.29148 13.61 4.29148 13.0305 4.87097C12.451 5.45046 12.451 6.38999 13.0305 6.96945C13.61 7.54894 14.5496 7.54894 15.1292 6.96945C15.7087 6.38999 15.7087 5.45046 15.1291 4.87097Z",fill:"white",fillOpacity:"0.8"})}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Listing Type"})]}),n]}),e?(0,ms.jsx)("div",{className:"space-y-2 mt-3 overflow-y-auto styled-scroll px-[1rem]",children:(0,ms.jsx)(Rw,{})}):null]})},Ow=e=>{var t,n;let{values:r,serialFilter:i,setSerialFilter:o,setFieldValue:a,disabled:s=!1}=e;const l=Number(null===r||void 0===r?void 0:r.serialNumberMax)<Number(null===r||void 0===r?void 0:r.serialNumberMin)&&Number(null===r||void 0===r?void 0:r.serialNumberMax)>0;return(0,sa.useEffect)((()=>{l||o({max:null===r||void 0===r?void 0:r.serialNumberMax,min:null===r||void 0===r?void 0:r.serialNumberMin})}),[r]),(0,sa.useEffect)((()=>{s&&(o(null),a("serialNumberMin",""),a("serialNumberMax",""))}),[s]),(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Bs.f,{name:"serialNumberMin",valueError:l,placeholder:(null===i||void 0===i||null===(t=i.min)||void 0===t?void 0:t.toString())||"Min",disabled:s}),(0,ms.jsx)(Bs.f,{name:"serialNumberMax",valueError:l,placeholder:(null===i||void 0===i||null===(n=i.max)||void 0===n?void 0:n.toString())||"Max",disabled:s})]})},jw=()=>{const{serialFilter:e,setSerialFilter:t,filters:n}=(0,sa.useContext)(wb),r=(0,Os.zy)(),i=(0,sa.useMemo)((()=>r.pathname.includes("/collection/")),[r.pathname]),[o,a]=(0,sa.useState)(!0),[s,l]=(0,sa.useState)(!1);(0,sa.useEffect)((()=>{i||Object.keys(n).length?l(!1):l(!0)}),[n]);const c=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"serial-range-chevron",onClick:e=>{e.stopPropagation(),a(!o)},className:iC({"rotate-0":!o,"rotate-180":o}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:o?"#04e5a3":"#F8F9FA"})})),[o]);return(0,ms.jsxs)("div",{className:iC("rounded-[0.375rem] cursor-pointer border-[1px] border-neutral-400 border-opacity-25  px-[1rem] py-[0.875rem]",{"hover:bg-[#ffffff29]":!o}),children:[(0,ms.jsxs)("div",{className:"flex items-center justify-between w-full",onClick:()=>a(!o),children:[(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.24254 3.02985C9.77833 3.1638 10.1041 3.70673 9.97014 4.24253L9.53078 5.99999H12.4692L13.0299 3.75746C13.1638 3.22166 13.7067 2.8959 14.2425 3.02985C14.7783 3.1638 15.1041 3.70673 14.9701 4.24253L14.5308 5.99999H17C17.5523 5.99999 18 6.44771 18 6.99999C18 7.55228 17.5523 7.99999 17 7.99999H14.0308L13.0308 12H15C15.5523 12 16 12.4477 16 13C16 13.5523 15.5523 14 15 14H12.5308L11.9701 16.2425C11.8362 16.7783 11.2933 17.1041 10.7575 16.9701C10.2217 16.8362 9.89591 16.2933 10.0299 15.7575L10.4692 14H7.53078L6.97014 16.2425C6.83619 16.7783 6.29326 17.1041 5.75746 16.9701C5.22167 16.8362 4.89591 16.2933 5.02986 15.7575L5.46922 14H3C2.44772 14 2 13.5523 2 13C2 12.4477 2.44772 12 3 12H5.96922L6.96922 7.99999H5C4.44772 7.99999 4 7.55228 4 6.99999C4 6.44771 4.44772 5.99999 5 5.99999H7.46922L8.02986 3.75746C8.16381 3.22166 8.70674 2.8959 9.24254 3.02985ZM9.03078 7.99999L8.03078 12H10.9692L11.9692 7.99999H9.03078Z",fill:"#CED4DA"})}),(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:"Serial Number Range"})]}),c]}),o?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"flex gap-2 pt-2",children:(0,ms.jsx)(gl.l1,{initialValues:{serialNumberMax:e?e.max:"",serialNumberMin:e?e.min:""},onSubmit:()=>{},validate:()=>({}),children:n=>{let{values:r,setFieldValue:i}=n;return(0,ms.jsx)(Ow,{values:r,setFieldValue:i,serialFilter:e,setSerialFilter:t,disabled:s})}})}),(0,ms.jsxs)("div",{className:"text-xs p-1 min-h-[21px]",children:[" ",s&&"Select at least one collection, then input range"," "]})]}):null]})},Lw=e=>e.split(/(?=[A-Z][a-z])/).join(" "),Bw=e=>{let{label:t,dataTestId:n,text:r,icon:i,addon:o,children:a,onClick:s,isClearAll:l=!1}=e;return(0,ms.jsxs)("div",{"data-testid":n,onKeyDown:e=>{"Enter"===e.key&&s&&s()},onClick:s&&s,className:"py-[0.38rem] lg:py-[1.125rem] tracking-[.00625rem] lg:tracking-[0.1px] font-montserrat text-[.75rem] lg:text-[0.9375rem] font-[500] px-[.5rem] lg:px-[1rem] rounded-[0.375rem] text-white bg-[#e1e1e114] lg:bg-glassFillGray hover:bg-glassFillGrayHover h-[1.75rem] lg:h-[2.5rem]  flex items-center justify-center gap-[0.75rem] shadow-[0_2px_4px_0px_rgba(0,0,0,0.1)] cursor-pointer",children:[i,a,(0,ms.jsxs)("div",{className:"flex flex-row items-center whitespace-nowrap",children:[t&&(0,ms.jsx)("span",{className:"text-[#ffffff50] mr-2",children:" ".concat(Lw(t))}),(0,ms.jsx)("span",{className:"flex text-center",children:r})]}),o,!l&&(0,ms.jsx)("div",{className:"cursor-pointer",children:(0,ms.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{d:"M3.5 10.5L10.5 3.5M3.5 3.5L10.5 10.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},Uw=()=>{var e,t;const[n]=(0,ca.ok)(),{paymentTokens:r,setPaymentTokens:i}=(0,sa.useContext)(wb),o=JSON.parse(null!==(e=n.get(null!==(t="paymentTokens")?t:""))&&void 0!==e?e:"{}"),a=(0,sa.useMemo)((()=>null!==o&&void 0!==o&&o.dapper?"Dapper Wallet":null!==o&&void 0!==o&&o.other?"Other Wallets":"All Accounts"),[o]);return"All Accounts"===a?null:(0,ms.jsx)(Bw,{text:a,label:"Wallet:",onClick:()=>{const e={...r};"Dapper Wallet"===a&&delete e.dapper,"Other Wallets"===a&&delete e.other,i(e)}})};var Vw=__webpack_require__(41551),Hw=__webpack_require__(54622);const zw={DUC:{icon:(0,ms.jsx)(Vw.h,{}),label:"Dapper Balance"},FLOW:{icon:(0,ms.jsx)(Lb.h,{height:18,width:18}),label:"FLOW"},FUT:{icon:(0,ms.jsx)(Hw.h,{}),label:"Dapper FLOW"},USDC:{icon:(0,ms.jsx)(Vb,{}),label:"USDC"}},Zw=()=>{const{paymentTokens:e,setPaymentTokens:t}=(0,sa.useContext)(wb),n=Object.entries(null!==e&&void 0!==e?e:{}).filter((e=>{let[,t]=e;return t&&"object"===typeof t})).map((e=>{let[,t]=e;return Object.keys(t).filter((e=>!0===t[e]))})).reduce(((e,t)=>e.concat(t)),[]);return(0,ms.jsx)(ms.Fragment,{children:n.map((n=>(0,ms.jsx)("div",{className:"flex",children:(0,ms.jsx)("div",{className:"fade-in",children:(0,ms.jsx)(Bw,{text:zw[n].label,addon:zw[n].icon,label:"Currency:",onClick:()=>{const r={...e};var i,o;"DUC"===n&&(null===r||void 0===r||(null===(i=r.dapper)||void 0===i||delete i[n]));"FLOW"!==n&&"USDC"!==n||(null===r||void 0===r||(null===(o=r.other)||void 0===o||delete o[n]));t(r)}})})},n)))})},Ww=e=>{let{trait:t,value:n,handleRemoval:r}=e;const i="".concat(t," ").concat(""!=n?n:"Any");return(0,ms.jsx)(Bw,{onClick:r,text:i.replace(t,""),label:"".concat(t,":")})},qw=()=>{const e=window.location.pathname.includes("/collection/"),{filters:t,setFilters:n}=(0,sa.useContext)(wb),r=Object.keys(t);return(0,ms.jsx)(ms.Fragment,{children:r.map(((r,i)=>{const o=Object.keys(t[r]);return(0,ms.jsxs)("div",{className:"contents flex-wrap gap-[4px]",children:[!e&&(0,ms.jsx)("div",{className:"fade-in","data-testid":"collections-".concat(r.split(".")[1]),children:(0,ms.jsx)(Bw,{text:r.split(".")[1],label:"Collections:",onClick:()=>{const e={...t};delete e[r],n(e)}})}),o.map((e=>{var i;const o=Object.keys(null===t||void 0===t||null===(i=t[r])||void 0===i?void 0:i[e]),a=r==="".concat(ss.BN,".TopShot"),s="Locked"===e&&a;return(0,ms.jsx)(ms.Fragment,{children:o.map((i=>{let a=i;s&&(a="true"===i?"Locked":"Not Locked");return(0,ms.jsx)("div",{className:"fade-in",children:(0,ms.jsx)(Ww,{trait:s?"Lock Status":e,value:a,handleRemoval:()=>{const a={...t};1===(null===o||void 0===o?void 0:o.length)?delete a[r][e]:delete a[r][e][i||""],n(a)}})},e)}))})}))]},"".concat(r,".").concat(i,".").concat(r))}))})},Gw=()=>{const{setOrderFilters:e,orderFilters:t,setSort:n}=(0,sa.useContext)(wb),r=Object.keys(t),i=r[0],o="loan"===i?"LOAN":"rental"===i?"RENT":"storefront"===i?"BUY NOW":"ALL";return(0,ms.jsx)(ms.Fragment,{children:r.length>0&&(0,ms.jsx)("div",{className:"fade-in",children:(0,ms.jsx)(Bw,{addon:(0,ms.jsx)(Bs.FS,{label:o}),label:"Listing Type:",dataTestId:o,onClick:()=>{const r={...t};delete r[i],n({direction:"desc",listingKind:null,path:"blockTimestamp",prefix:void 0}),r.all={},e(r)}})})})},Yw=e=>{let{dataTestId:t,onClick:n}=e;return(0,ms.jsx)("button",{"data-testid":t,onKeyDown:e=>{"Enter"===e.key&&n&&n()},onClick:n,className:"text-left text-white font-montserrat text-xs font-bold leading-4 tracking-[0.00625rem] underline cursor-pointer pb-0 md:pb-[2.06rem]",children:"CLEAR FILTERS"})},Kw=e=>{var t,n;let{isMobile:r=!1}=e;const{paymentTokens:i,setSort:o,orderFilters:a,filters:s,setFilters:l,setOrderFilters:c,setPaymentTokens:u}=(0,sa.useContext)(wb),d=(0,Os.zy)(),h=d.pathname.includes("/collection"),p=(0,Os.Zp)(),f=(null===i||void 0===i?void 0:i.dapper)||(null===i||void 0===i?void 0:i.other),m=Object.keys(s).length>0,g=(null===(t=Object.values(s))||void 0===t?void 0:t[0])||[],v=h?(null===(n=Object.keys(g))||void 0===n?void 0:n.length)>0:m,C=a.loan||a.rental||a.storefront,y=()=>{l({}),d.pathname.includes("/user")?o({direction:"desc",listingKind:null,path:"latestBlock",prefix:""}):o({direction:"desc",listingKind:null,path:"blockTimestamp",prefix:void 0}),u(null),c({all:{}}),p(d.pathname,{replace:!0})};return v||C||f?(0,ms.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-start justify-start gap-[0.63rem] w-full pb-4",children:[(0,ms.jsxs)("div",{className:"flex gap-[.75rem] lg:gap-[8px] w-full overflow-x-auto sm:flex-wrap pb-1 lg:pb-0",children:[(0,ms.jsx)(Uw,{}),(0,ms.jsx)(Gw,{}),(0,ms.jsx)(Zw,{}),(0,ms.jsx)(qw,{})]}),r?(0,ms.jsx)(Yw,{onClick:y}):(0,ms.jsx)(Bw,{text:"Clear All",onClick:y,isClearAll:!0})]}):null};const Qw=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L4.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}));var Xw=__webpack_require__(74042);const Jw={all:[{label:"Recently Viewed",value:"latestBlock"},{label:"Recently Listed",value:"blockTimestamp"},{label:"Serial Number",value:"nftView.serial"}],loan:[{label:"Recently Listed",value:"blockTimestamp"},{label:"Serial Number",value:"nftView.serial"},{label:"Loan Rate",value:"derivations.calculatedValues.periodicInterest"},{label:"APR",value:"derivations.apr"},{label:"Loan Amount",value:"derivations.calculatedValues.marketplaceAmount"},{label:"Duration",value:"term"},{label:"3rd Party LTV",value:"valuations.aggregate.loanToValueRatio"}],profile:[{label:"Recently Viewed",value:"latestBlock"},{label:"Serial Number",value:"nftView.serial"},{label:"Serial Number",value:"nftView.serial"},{label:"Recently Listed",value:"blockTimestamp"}],rental:[{label:"Recently Listed",value:"blockTimestamp"},{label:"Serial Number",value:"nftView.serial"},{label:"Rental Fee",value:"amount"},{label:"Deposit",value:"deposit"},{label:"Duration",value:"term"},{label:"3rd Party DTV",value:"valuations.aggregate.depositToValueRatio"}],storefront:[{label:"Recently Listed",value:"blockTimestamp"},{label:"Serial Number",value:"nftView.serial"},{label:"Price",value:"usdValue"},{label:"FMV",value:"valuations.blended.usdValue"},{label:"Discount to FMV",value:"valuationRatio"}]},$w=()=>{const[e,t]=(0,sa.useState)({isChrome:!1,isEdge:!1,isFirefox:!1,isIE:!1,isOpera:!1,isSafari:!1});return(0,sa.useEffect)((()=>{const e=navigator.userAgent,n=/chrome|chromium|crios/i.test(e)&&!/edge|edg|opr/i.test(e),r=/firefox|fxios/i.test(e),i=/^((?!chrome|android).)*safari/i.test(e),o=/opera|opr|opios/i.test(e),a=/msie|trident/i.test(e),s=/edge|edg/i.test(e);t({isChrome:n,isEdge:s,isFirefox:r,isIE:a,isOpera:o,isSafari:i})}),[]),e},ex=()=>{var e;const{orderFilters:t,setSort:n,sort:r,endpoint:i}=(0,sa.useContext)(wb),[o,a]=(0,sa.useState)(!1),s=Object.keys(t),l=(0,sa.useMemo)((()=>1===s.length?s[0]:null),[s]),c=(0,sa.useMemo)((()=>"user"===i?Jw.profile:l&&Jw[l]?Jw[l]:Jw.all),[l]),{isSafari:u}=$w(),d=()=>a(!1);return(0,sa.useEffect)((()=>(window.addEventListener("click",d),()=>window.removeEventListener("click",d))),[]),(0,ms.jsxs)("div",{className:"relative",children:[(0,ms.jsxs)("button",{onClick:e=>{e.stopPropagation(),a(!o)},className:"flex h-[2.5rem] justify-center items-center py-2 text-base rounded-r-md border border-[#ffffff1f] lg:border-none lg:rounded-md bg-[#606e7d33] hover:bg-glassFillGrayHover font-normal max-sm:px-4 px-8 w-full text-nowrap",children:["Sort By:",(0,ms.jsx)("span",{className:"text-base lg:text-sm 2xl:text-base mx-1 mr-2",children:(null===(e=c.find((e=>e.value===(null===r||void 0===r?void 0:r.path))))||void 0===e?void 0:e.label)||"Recently Viewed"})," ","asc"===(null===r||void 0===r?void 0:r.direction)?(0,ms.jsx)(Qw,{className:"w-[14px] h-[14px] lg:h-4 lg:w-4 2xl:h-[14px] 2xl:w-[14px]"}):(0,ms.jsx)(Xw.A,{className:"w-[14px] h-[14px] lg:h-4 lg:w-4 2xl:h-[14px] 2xl:w-[14px]"})]}),(0,ms.jsxs)("div",{className:iC("absolute top-[42px] rounded-md overflow-hidden transition-all duration-500 ease-in-out z-10 w-full",{"bg-[#2f343a] bg-opacity-95":u,"bg-glassFillGray flowty-dropdown":!u,"max-h-0 p-0 opacity-0":!o,"max-h-96 py-3 opacity-100":o}),children:[null===c||void 0===c?void 0:c.map((e=>(0,ms.jsxs)("button",{className:"flex justify-between items-center px-4 py-2 cursor-pointer w-full hover:bg-slate-500 hover:bg-opacity-20 whitespace-nowrap",onClick:t=>{t.stopPropagation();const i=(null===e||void 0===e?void 0:e.value)===(null===r||void 0===r?void 0:r.path)?null===r||void 0===r?void 0:r.direction:null;let o="asc";if("valuationRatio"===e.value)o="desc";else o="asc";const a="asc"===i?"desc":"desc"===i?"asc":o,s="latestBlock"===e.value||"nftView.serial"===e.value?"":void 0,c={direction:a,listingKind:"nftView.serial"===e.value?null:l,path:(null===e||void 0===e?void 0:e.value)||"",prefix:s};n(c)},children:[(0,ms.jsx)("span",{className:"text-xs mr-4 font-medium text-[#ADB5BD] ".concat((null===r||void 0===r?void 0:r.path)===e.value&&"text-primary"," "),children:e.label}),(null===r||void 0===r?void 0:r.path)===e.value?"asc"===r.direction?(0,ms.jsx)(Qw,{className:"w-4 h-4 fill-primary"}):(0,ms.jsx)(Xw.A,{className:"w-4 h-4 fill-primary"}):null]},e.label))),l?null:(0,ms.jsx)("div",{className:"flex justify-center w-full",children:(0,ms.jsxs)("span",{className:"text-[#ADB5BD] px-4 py-2 text-xs font-normal",children:["Select a"," ",(0,ms.jsx)("span",{className:"font-bold text-xs text-[#ADB5BD]",children:"Listing Type"})," ","to see more sort options"]})})]})]})};const tx=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))}));var nx=__webpack_require__(49048);const rx=()=>(0,ms.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ms.jsx)("path",{d:"M15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H13.3333L17.5 6.66667V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ms.jsx)("path",{d:"M14.1667 17.4999V10.8333H5.83337V17.4999",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ms.jsx)("path",{d:"M5.83337 2.5V6.66667H12.5",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ix=e=>{let{action:t,actionType:n,children:r,head:i,className:o,isShowing:a,onAction:s,onClose:l}=e;return(0,ms.jsx)(cc.e,{appear:!0,show:a,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:iC("relative z-40",o),onClose:l,children:[(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75"})}),(0,ms.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,ms.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-0",leaveFrom:"opacity-0 scale-100",leaveTo:"opacity-0 scale-95",children:(0,ms.jsxs)(uc.l.Panel,{className:" transform rounded-xl bg-[#212b36]   text-left align-middle shadow-xl transition-all",children:[(0,ms.jsxs)(uc.l.Title,{as:"div",className:"border-b border-modal px-4 py-4 w-full flex justify-between items-center",children:[i,(0,ms.jsx)(Ef.A,{onClick:l,className:"h-8 w-8 cursor-pointer hover:fill-gray-400"})]}),(0,ms.jsx)("div",{className:"flex flex-col lg:flex-row w-full",children:r}),(0,ms.jsxs)("div",{className:"flex w-full justify-center px-4 pt-3 pb-6 border-t border-modal",children:[(0,ms.jsx)("button",{onClick:l,className:"w-full h-10 mr-4 flex justify-center items-center border border-white rounded-md font-extrabold text-base shadow-slate-100 hover-button-white",children:"Cancel"}),(0,ms.jsx)("button",{onClick:s,className:"w-full h-10 flex justify-center items-center uppercase  border-transparent rounded-md border-2 text-base font-extrabold text-black ".concat("positive"===n?"bg-primary hover-button":"bg-[#FF2F2F] hover-button-red"),children:t})]})]})})})})]})})},ox=e=>{let{selectedForDelete:t,setSelectedForDelete:n,deleteFilterView:r}=e;return(0,ms.jsx)(ix,{className:"z-[500]",actionType:"negative",isShowing:!!t,onClose:()=>n(null),onAction:()=>r(t),action:"Delete",head:(0,ms.jsxs)("div",{className:"flex w-full",children:[(0,ms.jsx)("div",{className:"text-[#FF2F2F] text-2xl font-bold px-1",children:"Delete"}),(0,ms.jsx)("div",{className:"px-1 text-2xl font-bold text-white",children:"Custom View"})]}),children:(0,ms.jsx)("div",{className:"flex items-center justify-center w-full px-10 py-20 bg-darkBg",children:(0,ms.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,ms.jsx)("div",{className:"mb-4 font-bold",children:"Are you sure you want to delete the filter below?"}),(0,ms.jsx)("div",{className:"text-3xl font-bold capitalize",children:null===t||void 0===t?void 0:t.name})]})})})},ax=e=>{let{collectionAddress:t,collectionName:n,isSaveModalOpen:r,isUserProfile:i,toggleIsSaveModalOpen:o,addFilterView:a,query:s,onShowSnackbar:l,newPresetTitle:c,setNewPresetTitle:u}=e;return(0,ms.jsx)(ix,{className:"z-[500]",actionType:"positive",isShowing:r,onClose:o,onAction:()=>{if(c)if(t&&n){const e="".concat(t,".").concat(n);a({collectionAddressName:e,config:s.toString(),name:c})}else a({config:s.toString(),isUserProfile:i,name:c});else l&&l({message:"Must enter value for preset name!",type:"WARNING"})},action:"save",head:(0,ms.jsxs)("div",{className:"flex w-full",children:[(0,ms.jsx)("div",{className:"px-1 text-2xl font-bold text-primary",children:"Save"}),(0,ms.jsx)("div",{className:"px-1 text-2xl font-bold text-white",children:"Custom View"})]}),children:(0,ms.jsx)("div",{className:"flex items-center justify-center w-full px-10 py-20 bg-darkBg",children:(0,ms.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,ms.jsx)("div",{className:"mb-4 font-bold",children:"What should we call this custom marketplace view?"}),(0,ms.jsx)("input",{onChange:e=>u(e.target.value),type:"text",className:"w-full px-2 text-lg font-bold bg-transparent border-2 border-white rounded-md lg:text-base",id:""})]})})})};const sx=e=>{let{address:t,onShowSnackbar:n}=e;const r=(0,Os.zy)(),{collectionName:i,collectionAddress:o}=(0,Os.g)(),a=r.pathname.includes("user"),{isLoading:s,setFilters:l,setOrderFilters:c,setSerialFilter:u,setSort:d}=(0,sa.useContext)(wb),[h,p]=(0,sa.useState)([]),[f,m]=(0,sa.useState)(null),[g,v]=(0,sa.useState)(!1),[C,y]=(0,sa.useState)(null),[b,w]=(0,sa.useState)(""),x=new URLSearchParams(r.search),A="Default View",E={collectionAddressName:"".concat(o,".").concat(i),config:"orderFilters=%7B%7D&collectionFilters=%7B%7D&sort=%7B%22direction%22%3A%22desc%22%2C%22listingKind%22%3Anull%2C%22path%22%3A%22blockTimestamp%22%7D",isUserProfile:a,name:A},_=(0,sa.useRef)(!1),[T,S]=(0,sa.useState)(!1),k=e=>{_.current=!0,m(e);const t=new URLSearchParams(e.config),n=(0,us.safeParseJSON)(t.get("orderFilters"))||{},r=(0,us.safeParseJSON)(t.get("sort"))||null,i=(0,us.safeParseJSON)(t.get("collectionFilters"))||{},o=(0,us.safeParseJSON)(t.get("serialFilter"))||{};c(n),l(i),u(o),d(r),v(!1),setTimeout((()=>_.current=!1),500)},P=(0,sa.useCallback)((()=>{const e=(t=h,r=x.toString(),t.filter((e=>e.config===r))[0]||null);var t,r;(x.toString()===E.config||e)&&n?n({message:e?"View previously saved as ".concat(e.name,"."):"This is the default view!",type:"WARNING"}):S(!0)}),[h,x.toString()]),D=(0,sa.useCallback)((async e=>{try{const r=await hl.kA.collection("/accounts/".concat(t,"/filterViews")).add({...e,createdAt:(new Date).getTime()});m({...e,id:r.id}),S(!1),ds.o.track("Filter preset added",{filter:x.toString()}),n&&n({message:"Successfully saved filter preset!",type:"SUCCESS"})}catch(r){(0,fs._)("Failed to add preset",r),n&&n({message:"Failed to saved filter preset!",type:"ERROR"}),ds.o.track("Failed to add filter preset",{error:r,filter:x.toString()})}w("")}),[t]),N=(0,sa.useCallback)((async e=>{if(e.id)try{await hl.kA.collection("/accounts/".concat(t,"/filterViews")).doc(e.id).delete(),ds.o.track("Filter preset deleted",{filter:x.toString()}),y(null),n&&n({message:"Successfully deleted filter preset!",type:"SUCCESS"}),(null===f||void 0===f?void 0:f.id)===e.id&&m(null)}catch(r){n&&(n({message:"Failed to delete filter preset!",type:"ERROR"}),ds.o.track("Failed to delete filter preset",{error:r,filter:x.toString()}))}}),[t,f]),F=(0,sa.useCallback)((async()=>{try{if(a)await(async(e,t)=>{await hl.kA.collection("/accounts/".concat(e,"/filterViews")).where("isUserProfile","==",!0).orderBy("createdAt","asc").onSnapshot((async e=>{const n=e.docs.map((e=>({...e.data(),id:e.id})));t(n)}))})(null!==t&&void 0!==t?t:"",p);else{const e="".concat(o,".").concat(i);await(async(e,t,n)=>{await hl.kA.collection("/accounts/".concat(e,"/filterViews")).where("collectionAddressName","==",t).orderBy("createdAt","asc").onSnapshot((async e=>{const t=e.docs.map((e=>({...e.data(),id:e.id})));n(t)}))})(null!==t&&void 0!==t?t:"",e,p)}}catch(e){(0,fs._)("Failed to get user filter views",e)}}),[t]);return(0,sa.useEffect)((()=>{t&&F()}),[t]),(0,sa.useEffect)((()=>{_||m(null)}),[s]),(0,sa.useEffect)((()=>{x.toString()===E.config&&k(E)}),[x.toString()]),{addFilterView:D,applyPreset:k,collectionAddress:o,collectionName:i,defaultPreset:E,defaultPresetLabel:A,deleteFilterView:N,filterViews:h,isMenuOpen:g,isSaveModalOpen:T,isUserProfile:a,newPresetTitle:b,onSaveView:P,query:x,selectedForDelete:C,selectedValue:f,setNewPresetTitle:w,setSelectedForDelete:y,toggleIsSaveModalOpen:()=>S(!T),toggleMenuOpen:()=>v((e=>!e))}},lx=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n,onShowSnackbar:r}=e;const{applyPreset:i,collectionAddress:o,collectionName:a,defaultPresetLabel:s,filterViews:l,toggleMenuOpen:c,selectedValue:u,isMenuOpen:d,isSaveModalOpen:h,isUserProfile:p,defaultPreset:f,selectedForDelete:m,setSelectedForDelete:g,onSaveView:v,toggleIsSaveModalOpen:C,addFilterView:y,newPresetTitle:b,deleteFilterView:w,setNewPresetTitle:x,query:A}=sx({address:null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr,onShowSnackbar:r}),E=(0,sa.useRef)(null);function _(e){E.current&&!E.current.contains(e.target)&&c()}return(0,sa.useEffect)((()=>{if(d)return document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}}),[E,d]),null!==n&&void 0!==n&&n.loggedUser?(0,ms.jsxs)("div",{className:"flex items-center w-full",children:[l.length?(0,ms.jsxs)("div",{className:"relative w-full pr-2",children:[(0,ms.jsxs)("button",{ref:E,onClick:c,className:"min-h-[2.5rem] w-[160px] max-md:w-full px-[1.25rem] flex justify-between items-center rounded-[0.375rem] bg-glassFillGray hover:bg-[#ffffff29]",children:[(0,ms.jsx)("div",{className:"whitespace-nowrap capitalize text-[0.875rem] font-montserrat font-[600] ".concat((null===u||void 0===u?void 0:u.name)&&"text-primary"),children:(0,us.truncateString)((null===u||void 0===u?void 0:u.name)||"Saved Searches",15)}),(0,ms.jsx)(tx,{className:"h-6 w-6 transition-transform ".concat(d&&"rotate-180"," ").concat((null===u||void 0===u?void 0:u.name)&&"text-primary")})]}),(0,ms.jsx)("div",{className:"absolute w-full top-[110%] pr-2 z-10",children:(0,ms.jsx)("div",{className:"w-full bg-[#474747] shadow-lg rounded-md  transition-all duration-500 ease-in-out overflow-y-auto hide-scroll ".concat(d?"max-h-56 opacity-100 ":"max-h-0 opacity-0"),children:[...l,f].map((e=>(0,ms.jsxs)("button",{onClick:()=>{i(e)},className:"flex items-center justify-between w-full px-4 py-2 capitalize cursor-pointer select hover:bg-slate-500 hover:bg-opacity-20 ",children:[(0,ms.jsx)("div",{className:"select ".concat(u&&(null===u||void 0===u?void 0:u.id)===e.id&&"text-primary"),children:(0,us.truncateString)(e.name,12)}),e.name===s?null:(0,ms.jsx)(nx.A,{onClick:t=>{t.stopPropagation(),g(e)},className:"w-6 h-6 cursor-pointer delete text-danger border-none"})]},e.name)))})})]}):null,(0,ms.jsx)(Bs.$d,{onClick:v,text:l.length?"":"Save View",icon:(0,ms.jsx)(rx,{}),className:iC("justify-center hover:bg-[#ffffff29] w-full px-2",{"w-auto":l.length})}),(0,ms.jsx)(ax,{collectionAddress:o,collectionName:a,isSaveModalOpen:h,isUserProfile:p,toggleIsSaveModalOpen:C,addFilterView:y,query:A,onShowSnackbar:r,newPresetTitle:b,setNewPresetTitle:x}),!!m&&(0,ms.jsx)(ox,{selectedForDelete:m,setSelectedForDelete:g,deleteFilterView:w}),(0,ms.jsx)("div",{className:"fixed bottom-0 w-full"})]}):null}))),cx=e=>{let{showAccounts:t=!0}=e;const n=(0,Os.zy)().pathname.includes("/user");return(0,ms.jsxs)("div",{className:"border-glassFillGrayBorder p-[1rem] rounded-[0.5rem] border-[0.3px] hidden lg:overflow-y-auto overflow-x-hidden lg:flex lg:flex-col items-stretch",children:[(0,ms.jsx)("div",{className:"mb-[1rem]",children:(0,ms.jsx)(hw,{})}),(0,ms.jsx)("div",{className:"mb-[1rem]",children:(0,ms.jsx)(jw,{})}),(0,ms.jsx)("div",{className:"mb-[1rem]",children:(0,ms.jsx)(Mw,{})}),ss.hr&&t&&!n&&(0,ms.jsx)("div",{className:"mb-[1rem]",children:(0,ms.jsx)(ow,{})})]})},ux=e=>{let{isFilterHidden:t}=e;return(0,ms.jsx)("div",{className:"transition-width duration-200 ease-out ".concat(t?"w-0":"w-full"),children:(0,ms.jsx)("div",{style:{boxSizing:"border-box",height:"calc(100vh - 204px)"},className:"flex-col transition-opacity duration-[300ms] ease-out lg:flex overflow-y-scroll scroll-pr-0 ".concat(t?"opacity-0":"opacity-100"),children:(0,ms.jsx)(cx,{})})})};var dx,hx,px;function fx(){return fx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fx.apply(null,arguments)}function mx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",fx({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:"w-[20px] h-[20px] lg:h-4 lg:w-4 2xl:h-[20px] 2xl:w-[20px]",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,dx||(dx=sa.createElement("path",{d:"M15 16C15 16.5523 15.4477 17 16 17C16.5523 17 17 16.5523 17 16L17 8.73244C17.5978 8.38663 18 7.74028 18 7C18 6.25972 17.5978 5.61337 17 5.26756L17 4C17 3.44771 16.5523 3 16 3C15.4477 3 15 3.44771 15 4L15 5.26756C14.4022 5.61337 14 6.25972 14 7C14 7.74028 14.4022 8.38663 15 8.73243L15 16Z",fill:"#F8F9FA"})),hx||(hx=sa.createElement("path",{d:"M9 16C9 16.5523 9.44771 17 10 17C10.5523 17 11 16.5523 11 16L11 14.7324C11.5978 14.3866 12 13.7403 12 13C12 12.2597 11.5978 11.6134 11 11.2676L11 4C11 3.44771 10.5523 3 10 3C9.44772 3 9 3.44771 9 4L9 11.2676C8.4022 11.6134 8 12.2597 8 13C8 13.7403 8.4022 14.3866 9 14.7324L9 16Z",fill:"#F8F9FA"})),px||(px=sa.createElement("path",{d:"M4 17C3.44771 17 3 16.5523 3 16L3 8.73243C2.4022 8.38662 2 7.74028 2 7C2 6.25972 2.4022 5.61337 3 5.26756L3 4C3 3.44771 3.44772 3 4 3C4.55229 3 5 3.44771 5 4L5 5.26756C5.5978 5.61337 6 6.25972 6 7C6 7.74028 5.5978 8.38663 5 8.73243L5 16C5 16.5523 4.55229 17 4 17Z",fill:"#F8F9FA"})))}const gx=sa.forwardRef(mx),vx=(__webpack_require__.p,e=>{let{isFilterHidden:t,setIsFilterHidden:n}=e;return(0,ms.jsxs)("button",{onClick:()=>n(!t),className:"flex justify-center gap-2 items-center py-2 text-base rounded-md hover:bg-opacity-[15%] whitespace-nowrap w-full\n\t\t\t\t".concat(t?"bg-[#FFFFFF20]":"bg-glassFillGray hover:bg-glassFillGrayHover","\n\t\t\t\t"),children:[(0,ms.jsx)(gx,{}),(0,ms.jsx)("span",{className:"font-medium text-sm leading-4",children:t?"Show Filters":"Hide Filters"})]})});var Cx;function yx(){return yx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yx.apply(null,arguments)}function bx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",yx({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Cx||(Cx=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L6 4.58579L10.2929 0.292893C10.6834 -0.0976311 11.3166 -0.0976311 11.7071 0.292893C12.0976 0.683417 12.0976 1.31658 11.7071 1.70711L7.41421 6L11.7071 10.2929C12.0976 10.6834 12.0976 11.3166 11.7071 11.7071C11.3166 12.0976 10.6834 12.0976 10.2929 11.7071L6 7.41421L1.70711 11.7071C1.31658 12.0976 0.683417 12.0976 0.292893 11.7071C-0.0976311 11.3166 -0.0976311 10.6834 0.292893 10.2929L4.58579 6L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white"})))}const wx=sa.forwardRef(bx),xx=(__webpack_require__.p,e=>{let{sidebarNavigation:t,children:n}=e;return(0,ms.jsx)("div",{className:"overlay flex min-h-full flex-col overflow-y-auto bg-[#04070B] backdrop-blur-[100px] backdrop-opacity-80 shadow-xl",style:{width:t},children:(0,ms.jsx)("div",{className:"relative flex-1 px-4",children:(0,ms.jsx)("div",{className:"absolute inset-0 flex flex-col",children:n})})})});var Ax,Ex,_x;function Tx(){return Tx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tx.apply(null,arguments)}function Sx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Tx({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:"w-[20px] h-[20px]",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Ax||(Ax=sa.createElement("path",{d:"M15 16C15 16.5523 15.4477 17 16 17C16.5523 17 17 16.5523 17 16L17 8.73244C17.5978 8.38663 18 7.74028 18 7C18 6.25972 17.5978 5.61337 17 5.26756L17 4C17 3.44771 16.5523 3 16 3C15.4477 3 15 3.44771 15 4L15 5.26756C14.4022 5.61337 14 6.25972 14 7C14 7.74028 14.4022 8.38663 15 8.73243L15 16Z",fill:"#F8F9FA"})),Ex||(Ex=sa.createElement("path",{d:"M9 16C9 16.5523 9.44771 17 10 17C10.5523 17 11 16.5523 11 16L11 14.7324C11.5978 14.3866 12 13.7403 12 13C12 12.2597 11.5978 11.6134 11 11.2676L11 4C11 3.44771 10.5523 3 10 3C9.44772 3 9 3.44771 9 4L9 11.2676C8.4022 11.6134 8 12.2597 8 13C8 13.7403 8.4022 14.3866 9 14.7324L9 16Z",fill:"#F8F9FA"})),_x||(_x=sa.createElement("path",{d:"M4 17C3.44771 17 3 16.5523 3 16L3 8.73243C2.4022 8.38662 2 7.74028 2 7C2 6.25972 2.4022 5.61337 3 5.26756L3 4C3 3.44771 3.44772 3 4 3C4.55229 3 5 3.44771 5 4L5 5.26756C5.5978 5.61337 6 6.25972 6 7C6 7.74028 5.5978 8.38663 5 8.73243L5 16C5 16.5523 4.55229 17 4 17Z",fill:"#F8F9FA"})))}const kx=sa.forwardRef(Sx),Px=(__webpack_require__.p,e=>{let{onClick:t,address:n,isActionsTab:r=!1}=e;const[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(!1);return(0,ms.jsxs)("div",{className:"w-full sticky top-[74px] py-[6px] z-20 bg-[#04070B]",children:[(0,ms.jsxs)("div",{className:"flex sm:flex-row flex-wrap ".concat(r?"":"flex-col justify-between"," gap-x-3"),children:[(0,ms.jsxs)("div",{className:"flex flex-wrap items-center md:flex-none pb-[.69rem]",children:[(0,ms.jsx)("button",{onClick:t,className:"flex justify-center h-[2.5rem] w-[5.75rem] gap-2 items-center py-2 px-5 text-base border border-[#ffffff1f] lg:border-none ".concat(r?"rounded-md":"rounded-l-md"," lg:rounded-md hover:bg-opacity-[15%] bg-[#606e7d33] hover:bg-glassFillGrayHover"),children:(0,ms.jsx)(kx,{})}),!r&&(0,ms.jsx)("div",{className:"max-w-[18rem] flex-1 md:flex-none",children:(0,ms.jsx)(ex,{})})]}),(0,ms.jsxs)("div",{className:"order-4 hidden max-lg:flex gap-3",children:[!r&&(0,ms.jsx)(Ib,{}),n&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"profile-refresh-tooltip",style:{backdropFilter:"blur(100px)",backgroundColor:"#33333380",zIndex:999},isOpen:i,children:(0,ms.jsx)("p",{className:"text-sm font-normal leading-none text-white",children:"Something look off? Refresh NFT"})}),(0,ms.jsx)("div",{"data-tooltip-place":"top",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),"data-tooltip-id":"profile-refresh-tooltip",onClick:async()=>{a||(s(!0),ds.o.track("Refresh Inventory Click"),s(!0),ev(null!==n&&void 0!==n?n:""),setTimeout((()=>{s(!1)}),4e3))},className:"group cursor-pointer bg-[#FFFFFF] backdrop-blur-sm p-2 rounded-md hover:bg-opacity-[15%] bg-opacity-[8%] self-start",children:(0,ms.jsx)(Wl,{className:iC("w-6 h-6",{"animate-spin":a})})})]})]})]}),!r&&(0,ms.jsx)("div",{className:"w-full ".concat(n&&"pt-[.69rem]"),children:(0,ms.jsx)(Kw,{isMobile:!0})})]})}),Dx=e=>{let{mobilePageFilters:t,address:n,isActionsTab:r=!1}=e;const[i,o]=(0,sa.useState)("0px");return(0,ms.jsxs)(ms.Fragment,{children:["390px"===i&&(0,ms.jsx)("div",{onClick:()=>o("0px"),style:{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100vh",left:0,position:"fixed",top:0,width:"100vw",zIndex:2}}),(0,ms.jsx)(Px,{onClick:()=>o("390px"),address:n,isActionsTab:r}),(0,ms.jsxs)(xx,{sidebarNavigation:i,children:[(0,ms.jsxs)("button",{onClick:()=>o("0px"),className:"sticky top-0 left-0 w-full z-40 text-white bg-[#04070B] min-h-[2.5rem] rounded-md flex items-center gap-[0.375rem] pt-[2.75rem] pb-[2.19rem]",children:[(0,ms.jsx)("div",{className:"absolute left-5",children:(0,ms.jsx)(wx,{className:"h-4 w-4"})}),(0,ms.jsx)("span",{className:"mx-auto text-3xl font-bold ",children:"Filters"})]}),(0,ms.jsxs)("div",{className:"flex flex-col p-[0.5rem] items-stretch gap-[1rem] w-full px-4",children:[!r&&(0,ms.jsx)(lx,{}),(0,ms.jsx)(gb.c,{}),t]})]})]})},Nx=e=>{let{address:t,nftList:n}=e;const{matchedCount:r,isFilterHidden:i,setIsFilterHidden:o}=Sb(),{width:a}=(0,Pb.k)(),s=a<1200,l=(0,sa.useMemo)((()=>r<1e4?Tl()(r).format("0,0"):"10,000+"),[r]);return(0,ms.jsxs)("div",{children:[s?(0,ms.jsx)(Dx,{mobilePageFilters:(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(hw,{}),(0,ms.jsx)(jw,{}),(0,ms.jsx)(Mw,{}),ss.hr&&(0,ms.jsx)(ow,{})]}),address:t}):(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("div",{className:"lg:flex flex-row gap-3 justify-between pb-4 sticky top-[138px] z-20 bg-darkBg lg:bg-blur-navbar",children:[(0,ms.jsxs)("div",{className:"min-w-[390px] flex flex-row justify-between gap-3",children:[(0,ms.jsx)(vx,{isFilterHidden:i,setIsFilterHidden:o}),(0,ms.jsx)(lx,{})]}),(0,ms.jsx)("div",{className:"w-full flex-row gap-3 justify-between",children:(0,ms.jsxs)("div",{className:"flex flex-row justify-between gap-3",children:[(0,ms.jsxs)("div",{className:"items-center flex flow-row gap-3",children:[(0,ms.jsx)(ex,{}),(0,ms.jsx)("div",{className:"font-montserrat flex items-center font-[700] flex-shrink-0 mr-2",children:"".concat(l," Items")})]}),(0,ms.jsx)(Ib,{})]})})]})}),(0,ms.jsxs)("div",{className:"flex flex-row gap-3",children:[!s&&(0,ms.jsx)("div",{className:"".concat(i?"hidden":"min-w-[390px] sticky top-[193px] h-full"),children:(0,ms.jsx)(ux,{isFilterHidden:i})}),(0,ms.jsxs)("div",{className:"w-full flex flex-col",children:[!s&&(0,ms.jsx)("div",{className:"flex-row gap-3 hidden lg:flex",children:(0,ms.jsx)(Kw,{})}),n]})]})]})},Fx=e=>{var t,n,r,i,o,a;let{isLoading:s,order:l}=e;return(0,ms.jsx)("div",{children:s?(0,ms.jsx)(Bs.rR,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center ",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("span",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Loan Amount"})}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"self-center text-bold text-base font-montserrat",children:(0,ms.jsx)(Nl.se,{amount:(null===l||void 0===l||null===(t=l.derivations)||void 0===t||null===(n=t.calculatedValues)||void 0===n?void 0:n.marketplaceAmount)||0,isSmall:!0,token:null===l||void 0===l?void 0:l.paymentTokenName})})})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center ",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("span",{className:"text-[#AAAAAA] text-base font-montserrat",children:"APR"})}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsxs)("span",{className:"text-bold text-base font-montserrat",children:[Tl()((0,us.calcAPRInterest)(l?Number(null===l||void 0===l||null===(r=l.derivations)||void 0===r||null===(i=r.calculatedValues)||void 0===i?void 0:i.periodicInterest):0,l?Number(l.term):0)).format("0,0.00"),"%"]})})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,ms.jsx)("div",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Duration"}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"text-bold text-base font-montserrat",children:(null===l||void 0===l?void 0:l.term)&&Sl(Number(l.term))})})]}),(0,ms.jsx)("div",{className:"my-1 border-t border-[#474747]"}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,ms.jsx)("div",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Blended LTV"}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"text-bold text-base font-montserrat",children:null!==l&&void 0!==l&&l.valuations?"".concat(Tl()(100*(null===(o=l.valuations)||void 0===o||null===(a=o.aggregate)||void 0===a?void 0:a.loanToValueRatio)).format("0,0.0"),"%"):"-"})})]})]})})},Ix=e=>{let{dapperOffer:t,nonCustodialOffer:n,isWhite:r}=e;return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("span",{className:"".concat(r?"text-white":"text-[#AAAAAA] "," text-base font-montserrat mb-2 text-right"),children:"Best Offer"}),(n||t)&&ss.oT?(0,ms.jsxs)("div",{className:"flex flex-col",children:[n?(0,ms.jsxs)("div",{className:"flex flex-row justify-between text-bold",children:[(0,ms.jsx)("div",{className:"bg-[#FFFFFF2B] rounded-md flex items-center justify-center px-1 mx-1",children:(0,ms.jsx)("img",{src:(0,us.getProviderImage)("blocto"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,ms.jsx)("div",{className:"flex-1",children:(0,ms.jsx)(Nl.ti,{amount:(null===n||void 0===n?void 0:n.amount)||(null===n||void 0===n?void 0:n.salePrice)||0,isSmall:!0,token:(null===n||void 0===n?void 0:n.paymentTokenName)||(null===n||void 0===n?void 0:n.currencyToken)})})]}):(0,ms.jsxs)("div",{className:"flex flex-row justify-between text-bold",children:[(0,ms.jsx)("div",{className:"bg-[#FFFFFF2B] rounded-md flex items-center justify-center px-1 mx-1",children:(0,ms.jsx)("img",{src:(0,us.getProviderImage)("blocto"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,ms.jsx)("div",{className:"flex-1",children:(0,ms.jsx)("div",{className:"nft-price flex items-center justify-end small ",children:(0,ms.jsx)("div",{className:"text-bold text-base font-montserrat inline-block ms-1 ",children:"-"})})})]}),t?(0,ms.jsxs)("div",{className:"flex flex-row justify-between text-bold mt-1",children:[(0,ms.jsx)("div",{className:"bg-[#FFFFFF2B] rounded-md flex items-center justify-center px-1 mx-1",children:(0,ms.jsx)("img",{src:(0,us.getProviderImage)("dapper"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,ms.jsx)("div",{className:"flex-1",children:(0,ms.jsx)(Nl.ti,{amount:(null===t||void 0===t?void 0:t.amount)||(null===t||void 0===t?void 0:t.salePrice)||0,isSmall:!0,token:(null===t||void 0===t?void 0:t.paymentTokenName)||(null===t||void 0===t?void 0:t.currencyToken)})})]}):(0,ms.jsxs)("div",{className:"flex flex-row justify-between text-bold mt-1",children:[(0,ms.jsx)("div",{className:"bg-[#FFFFFF2B] rounded-md flex items-center justify-center px-1 mx-1",children:(0,ms.jsx)("img",{src:(0,us.getProviderImage)("dapper"),alt:"account icon",className:"h-4 w-4 rounded"})}),(0,ms.jsx)("div",{className:"flex-1",children:(0,ms.jsx)("div",{className:"nft-price flex items-center justify-end small ",children:(0,ms.jsx)("div",{className:"text-bold text-base font-montserrat inline-block ms-1 ",children:"-"})})})]})]}):(0,ms.jsx)("span",{className:"text-right",children:"-"})]})})},Rx=e=>{let{isLoading:t,nft:n}=e;return(0,ms.jsx)(ms.Fragment,{children:t?(0,ms.jsx)(Bs.rR,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"font-montserrat text-center mx-auto my-3 text-base flex flex-row justify-center items-center",children:"No Listings Available"}),(0,ms.jsx)("div",{className:"w-full flex justify-end",children:(0,ms.jsx)(Ix,{dapperOffer:n.bestDapperOffer,nonCustodialOffer:n.bestNonCustodialOffer})})]})})},Mx=e=>{let{isLoading:t,order:n}=e;const{view:r}=Ss();return(0,ms.jsx)("div",{children:t?(0,ms.jsx)(Bs.rR,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("span",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Rental Fee"})}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"self-center text-bold",children:(0,ms.jsx)(Nl.se,{amount:(null===n||void 0===n?void 0:n.amount)||0,isSmall:!0,token:null===n||void 0===n?void 0:n.paymentTokenName})})})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,ms.jsx)("div",{children:"large"===r?(0,ms.jsx)("span",{className:" text-[#AAAAAA] text-base font-montserrat",children:"Refundable Deposit"}):(0,ms.jsx)("span",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Deposit"})}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"self-center text-bold",children:(0,ms.jsx)(Nl.se,{amount:(null===n||void 0===n?void 0:n.deposit)||0,isSmall:!0,token:null===n||void 0===n?void 0:n.paymentTokenName})})})]}),(0,ms.jsx)("div",{className:"my-1 border-t border-[#474747]"}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("span",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Total Upfront"})}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"self-center text-bold",children:null!==n&&void 0!==n&&n.amount&&null!==n&&void 0!==n&&n.deposit?(0,ms.jsx)(Nl.se,{amount:Number(n.deposit)+Number(n.amount),isSmall:!0,token:null===n||void 0===n?void 0:n.paymentTokenName}):(0,ms.jsx)("span",{className:"text-white text-end text-sm",children:"-"})})})]}),(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center",children:[(0,ms.jsx)("div",{className:"text-[#AAAAAA] text-base font-montserrat",children:"Duration"}),(0,ms.jsx)("div",{className:"self-center text-end",children:(0,ms.jsx)("span",{className:"text-bold text-base font-montserrat",children:(null===n||void 0===n?void 0:n.term)&&Sl(Number(n.term))})})]})]})})};var Ox;function jx(){return jx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jx.apply(null,arguments)}function Lx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",jx({width:16,height:9,viewBox:"0 0 16 9",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Ox||(Ox=sa.createElement("path",{d:"M0 8.5L16 8.5L8 0.5L0 8.5Z"})))}const Bx=sa.forwardRef(Lx);__webpack_require__.p;function Ux(e){return"OTM"===e.toUpperCase()?"OTM's True Value model":e}const Vx=e=>{var t,n,r,i,o,a,s,l,c,u;let{dapperOffer:d,isLoading:h,nonCustodialOffer:p,order:f}=e;const m=!(null===f||void 0===f||null===(t=f.valuations)||void 0===t||null===(n=t.blended)||void 0===n||!n.usdValue),g=function(e){const t=e.split(",");return t.length>1?"blended":t[0]}((null===f||void 0===f||null===(r=f.valuations)||void 0===r||null===(i=r.blended)||void 0===i?void 0:i.source)||"");return(0,ms.jsx)("div",{children:h?(0,ms.jsx)(Bs.rR,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between mt-1 items-center border-gradient mb-3",children:[(0,ms.jsx)("p",{className:"text-[#AAAAAA] text-base font-montserrat mb-2",children:"Purchase Price"}),(0,ms.jsx)("span",{className:"text-bold mb-2",children:null!==f&&void 0!==f&&f.salePrice?(0,ms.jsx)(Nl.se,{amount:(null===f||void 0===f?void 0:f.salePrice)||0,isSmall:!0,token:null===f||void 0===f?void 0:f.paymentTokenName}):"-"})]}),(0,ms.jsxs)("div",{className:"w-full flex justify-between",children:[m?(0,ms.jsxs)("div",{className:"flex flex-col justify-start items-start h-24 relative group",children:[(null===(o=f.valuations)||void 0===o||null===(a=o.blended)||void 0===a?void 0:a.usdValue)&&(0,ms.jsx)("div",{className:"text-[#AAAAAA] text-base font-montserrat",children:"3rd Party FMV"}),(0,ms.jsx)("div",{className:"self-center text-end py-1 w-full",children:(0,ms.jsx)("span",{className:"text-bold text-base font-montserrat w-full flex justify-start",children:null!==(s=f.valuations)&&void 0!==s&&null!==(l=s.blended)&&void 0!==l&&l.usdValue?"$".concat((0,Oy.K)(null===(c=f.valuations)||void 0===c||null===(u=c.blended)||void 0===u?void 0:u.usdValue)):"-"})}),(0,ms.jsx)("div",{onClick:e=>{e.stopPropagation()},className:"absolute hidden group-hover:block",children:(0,ms.jsxs)("div",{className:"relative right-0 -top-[9rem] bg-[#373D3F] rounded-md min-w-[18rem] z-10 cursor-default flex flex-col",children:[(0,ms.jsxs)("div",{className:"p-3",children:[(0,ms.jsx)("p",{className:"font-bold text-base mb-2",children:"Fair Market Value (FMV)"}),(0,ms.jsxs)("p",{className:"text-sm",children:["An estimate of an NFT's value based on"," ",(0,ms.jsx)(Bs.M2,{variant:"tertiary",onClick:()=>{window.open("OTM"===g.toUpperCase()?"https://www.otmnft.com/nbatopshot/articles/introducing-otm-true-value-account-valuation":"404","_blank")},text:Ux(g)}),". FMV is an estimate and is in no way meant to construe financial advice."]})]}),(0,ms.jsx)(Bx,{className:"fill-[#373D3F]  absolute h-6 w-6 -bottom-4 left-[13%] rotate-180"})]})})]}):(0,ms.jsx)("div",{className:"h-24"}),(0,ms.jsx)(Ix,{dapperOffer:d,nonCustodialOffer:p})]})]})})},Hx=e=>{let{isLoading:t,nft:n,order:r}=e;switch(null===r||void 0===r?void 0:r.listingKind){case"storefront":return(0,ms.jsx)("div",{className:"h-[9.325rem]",children:(0,ms.jsx)(Vx,{isLoading:t,order:r,nonCustodialOffer:null===n||void 0===n?void 0:n.bestNonCustodialOffer,dapperOffer:null===n||void 0===n?void 0:n.bestDapperOffer})});case"loan":return(0,ms.jsx)(Fx,{order:r,isLoading:t});case"rental":return(0,ms.jsx)(Mx,{order:r,isLoading:t});default:return(0,ms.jsx)("div",{className:"h-[9.325rem]",children:(0,ms.jsx)(Rx,{isLoading:!!t,nft:n})})}},zx=e=>{let{nft:t,isLoading:n}=e;return(0,ms.jsxs)("div",{className:"nftCard relative self-center justify-self-center flex flex-col p-[16px] rounded-lg nft-card-shadow cursor-pointer w-full h-full\n\t\t\t".concat("border-opacity-60 border-[0.8px] border-[#7c7c7c]"),children:[(0,ms.jsx)("div",{className:"sm:hover:text-white sm:peer-hover:text-white w-full h-full",children:(0,ms.jsx)("div",{className:"flex sm:flex-col-reverse mb-2 sm:mb-1",children:(0,ms.jsxs)("div",{className:"grid grid-cols-3 sm:grid-cols-1 w-full h-full",children:[n?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"max-w-full w-full object-fill aspect-square hidden sm:flex cursor-wait my-[0.7rem] bg-gray-400 animate-pulse"}),(0,ms.jsx)("div",{className:"sm:hidden cursor-wait rounded bg-gray-400 flex justify-center items-center animate-pulse"})]}):null,n?(0,ms.jsxs)("div",{className:"flex flex-col sm:mb-2 pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"})]}):null]})})}),(0,ms.jsx)(Hx,{order:null,isLoading:n,nft:t})]})},Zx=()=>(0,ms.jsx)("div",{className:"w-full h-full grid pb-4 gap-4",style:{gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))"},children:Array.from({length:16}).map(((e,t)=>(0,ms.jsx)(zx,{nft:{},isLoading:!0},t)))});var Wx;function qx(){return qx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qx.apply(null,arguments)}function Gx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",qx({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Wx||(Wx=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 9V7C5 4.23858 7.23858 2 10 2C12.7614 2 15 4.23858 15 7V9C16.1046 9 17 9.89543 17 11V16C17 17.1046 16.1046 18 15 18H5C3.89543 18 3 17.1046 3 16V11C3 9.89543 3.89543 9 5 9ZM13 7V9H7V7C7 5.34315 8.34315 4 10 4C11.6569 4 13 5.34315 13 7Z",fill:"#D8D8D8"})))}const Yx=sa.forwardRef(Gx);__webpack_require__.p;var Kx;function Qx(){return Qx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qx.apply(null,arguments)}function Xx(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",Qx({width:29,height:28,viewBox:"0 0 29 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Kx||(Kx=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 7C15.2732 7 15.9 7.6268 15.9 8.4V12.6L20.1 12.6C20.8732 12.6 21.5 13.2268 21.5 14C21.5 14.7732 20.8732 15.4 20.1 15.4H15.9V19.6C15.9 20.3732 15.2732 21 14.5 21C13.7268 21 13.1 20.3732 13.1 19.6V15.4H8.9C8.1268 15.4 7.5 14.7732 7.5 14C7.5 13.2268 8.1268 12.6 8.9 12.6H13.1V8.4C13.1 7.6268 13.7268 7 14.5 7Z",fill:"white"})))}const Jx=sa.forwardRef(Xx);__webpack_require__.p;var $x;function eA(){return eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eA.apply(null,arguments)}function tA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",eA({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,$x||($x=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7071 5.29289C17.0976 5.68342 17.0976 6.31658 16.7071 6.70711L8.70711 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071L3.29289 10.7071C2.90237 10.3166 2.90237 9.68342 3.29289 9.29289C3.68342 8.90237 4.31658 8.90237 4.70711 9.29289L8 12.5858L15.2929 5.29289C15.6834 4.90237 16.3166 4.90237 16.7071 5.29289Z",fill:"#04E5A3"})))}const nA=sa.forwardRef(tA);__webpack_require__.p;var rA,iA,oA=__webpack_require__(34630);function aA(){return aA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aA.apply(null,arguments)}function sA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",aA({width:59,height:35,viewBox:"0 0 59 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,rA||(rA=sa.createElement("path",{d:"M29.5 35L3.95225 26L55.0477 26L29.5 35Z"})),iA||(iA=sa.createElement("rect",{x:55,y:26,width:51,height:26,transform:"rotate(180 55 26)"})))}const lA=sa.forwardRef(sA),cA=(__webpack_require__.p,e=>{let{percent:t,source:n,tooltip:r=!1}=e;return t<5?null:(0,ms.jsxs)("div",{className:"relative group",children:[(0,ms.jsx)(lA,{className:"fill-[#5308B2] drop-shadow-[0_0_2px_#5308B2]"}),(0,ms.jsxs)("div",{className:"absolute top-[46%] left-[54%] transform -translate-x-1/2 -translate-y-1/2 text-white font-montserrat-bold font-bold",children:[t,"%"]}),r&&(0,ms.jsx)("div",{onClick:e=>{e.stopPropagation()},className:"absolute hidden group-hover:block",children:(0,ms.jsxs)("div",{className:"relative -left-3/4 top-3 bg-[#373D3F] rounded-md min-w-[18rem] z-10 cursor-default",children:[(0,ms.jsx)("div",{className:"p-[12px]",children:(0,ms.jsxs)("p",{className:"text-sm font-normal",children:["Listed Purchase Price is ",t,"% lower than Fair Market Value (FMV) per ",Ux("".concat(n)),". FMV is an estimate and is not financial advice."]})}),(0,ms.jsx)(Bx,{className:"fill-[#373D3F] absolute h-6 w-6 -top-4 right-[9%]"})]})})]})}),uA=e=>{let{blockTimestamp:t}=e;const[n,r]=(0,sa.useState)(!1);return!t||Dl(t)?null:(0,ms.jsx)(ms.Fragment,{children:!n&&(0,ms.jsx)("div",{className:"absolute top-0 left-0 w-full h-[97%] flex justify-center items-end",children:(0,ms.jsx)("div",{className:"w-full h-full flex justify-center items-end group",children:(0,ms.jsxs)("div",{className:"bg-darkBg bg-opacity-70 w-full flex justify-center items-center h-36 border-y-2  border-white group-hover:hidden",children:[(0,ms.jsx)("p",{className:"text-white  font-bold me-2 pb-0.5",children:"Active in"}),(0,ms.jsx)(Ny,{className:"text-white font-bold",renderer:e=>{let{minutes:t,seconds:n,completed:i}=e;return i&&r(!0),(0,ms.jsxs)("span",{className:"text-white text-bold",children:[Ty(t),":",Ty(n)]})},date:kl(t)})]})})})})},dA=e=>{let{accountSummaries:t,nft:n,publicAccountView:r}=e;const i=(0,sa.useMemo)((()=>{var e,i,o;if(location.pathname.includes("/profile"))return(null===t||void 0===t||null===(e=t[n.owner])||void 0===e||null===(i=e.display)||void 0===i?void 0:i.name)||(null===t||void 0===t||null===(o=t[n.owner])||void 0===o?void 0:o.address);var a,s,l;return(null===t||void 0===t?void 0:t[n.owner])?(null===t||void 0===t||null===(a=t[n.owner])||void 0===a||null===(s=a.display)||void 0===s?void 0:s.name)||(null===t||void 0===t||null===(l=t[n.owner])||void 0===l?void 0:l.address):(null===r||void 0===r?void 0:r.userName)||(null===r||void 0===r?void 0:r.addr)}),[t,n.owner]),o=(0,sa.useMemo)((()=>{var e,i;if(location.pathname.includes("/profile"))return null===t||void 0===t||null===(e=t[n.owner])||void 0===e||null===(i=e.display)||void 0===i?void 0:i.thumbnail;var o,a;return(null===t||void 0===t?void 0:t[n.owner])?null===t||void 0===t||null===(o=t[n.owner])||void 0===o||null===(a=o.display)||void 0===a?void 0:a.thumbnail:null===r||void 0===r?void 0:r.avatar}),[t,n.owner]);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(n.uuid,"-nft-origin-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)("img",{"data-tooltip-id":"".concat(n.uuid,"-nft-origin-tooltip"),"data-tooltip-content":"From ".concat(i," account"),"data-tooltip-place":"right",className:"rounded-full h-5 w-5 aspect-square",src:(0,us.getImageURL)(o||""),alt:"Account owner icon"})]})},hA=e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_;let{nft:T,hasProvider:S,bulkSelected:k,bulkDisabled:P,handleClick:D,discountPercent:N,isLoading:F,isLocked:I,isCatalog:R,accountSummaries:M,publicAccountView:O,bulkListActive:j}=e;const[L,B]=(0,sa.useState)(null),[U,V]=(0,sa.useState)(!1),H=(0,us.getImageURL)(null!==(t=null===(n=T.card)||void 0===n||null===(r=n.images)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.url)&&void 0!==t?t:tl.A),z=Object.keys(M||{}).length>1||!1,[Z,W]=(0,sa.useState)(!1),q=window.location.pathname.includes("/collection"),{view:G}=Ss(),{isFilterHidden:Y}=Sb(),K=I&&"large"!==G,Q=location.pathname.includes("profile"),X=(0,sa.useMemo)((()=>{var e,t,n;return(0,Bs.Yj)({traits:null!==(e=null===(t=T.nftView)||void 0===t||null===(n=t.traits)||void 0===n?void 0:n.traits)&&void 0!==e?e:[]})}),[null===(o=T.nftView)||void 0===o||null===(a=o.traits)||void 0===a?void 0:a.traits]),J=(0,sa.useMemo)((()=>{var e,t,n,r;return L?U?(0,ms.jsxs)("div",{className:"relative mx-auto",children:[(0,ms.jsx)("div",{className:"flex flex-row absolute top-2 left-2 md:top-4 md:left-4",children:(0,ms.jsx)(Bs.t1,{specialTsTraits:X})}),(0,ms.jsx)(sC,{collectionAddress:T.contractAddress||T.card.collectionAddress||"",collectionName:T.contractName||T.card.collectionName||"",onError:e=>{(0,ol.R)(e)},className:"object-cover aspect-square w-[152px] sm:w-[304px]"})]}):L?(0,ms.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!1,className:"object-cover aspect-square w-[152px] sm:w-[304px]",onMouseEnter:e=>(0,oA._)(e),onMouseLeave:e=>{const t=e.target;t.pause(),t.currentTime=0},onError:()=>{V(!0)},children:(0,ms.jsx)("source",{type:"video/mp4",src:H})}):void 0:(0,ms.jsxs)("div",{className:"relative mx-auto",children:[(0,ms.jsx)("div",{className:"flex flex-row absolute top-2 left-2 md:top-4 md:left-4",children:(0,ms.jsx)(Bs.t1,{specialTsTraits:X})}),(0,ms.jsx)("img",{src:(0,ss.hx)(T.type)?null===(e=T.card)||void 0===e||null===(t=e.images)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.url:H,onError:()=>{B(!0)},alt:"".concat(null===T||void 0===T||null===(r=T.card)||void 0===r?void 0:r.title," asset"),className:"".concat((0,ss.hx)(T.type)?"object-contain":"object-cover"," aspect-square w-full")})]})}),[U,L,ol.R,B,V,H]),$=(0,sa.useRef)(null),[ee,te]=(0,sa.useState)(0),ne=()=>{const e=$.current;if(e){const t=window.getComputedStyle(e),n=parseFloat(t.lineHeight),r=Math.ceil(e.scrollHeight/n);te(r)}};(0,sa.useEffect)((()=>{navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&ne()})),(0,sa.useEffect)((()=>(ne(),window.addEventListener("resize",ne),()=>window.removeEventListener("resize",ne))),[null===T||void 0===T||null===(s=T.card)||void 0===s?void 0:s.title,null===T||void 0===T||null===(l=T.card)||void 0===l?void 0:l.num,Y]);const re=(0,us.nftTypeAndIdToLocationData)((null===T||void 0===T?void 0:T.type)||"",(null===T||void 0===T?void 0:T.id)||"");return(0,ms.jsx)("a",{href:"/asset/".concat(re.contract.address,"/").concat(re.contract.name,"/").concat(re.resourceName,"/").concat(re.nftID),children:(0,ms.jsxs)("div",{onMouseEnter:()=>{W(!0)},onMouseLeave:()=>{W(!1)},onClick:e=>D(e),onKeyDown:e=>{"Enter"===e.key&&D(e)},"data-testid":"nft-card",className:"nftCard relative self-center justify-self-center flex flex-col p-[16px] rounded-lg nft-card-shadow cursor-pointer w-full h-full justify-end max-sm:w-full\n\t\t\t".concat(k?"border-[1.2px] !border-[#04E5A3] border-opacity-100 hover:border-[#04E5A3]":"border-opacity-60 border-[0.8px] border-[#7c7c7c]","\n\t\t\t").concat(j&&P&&"opacity-50"),style:{maxWidth:"500px",minWidth:"240px"},children:[(null===(c=T.orders)||void 0===c?void 0:c[0])&&"storefront"!==(null===(u=T.orders)||void 0===u?void 0:u[0].listingKind)&&(0,ms.jsx)(uA,{blockTimestamp:null===(d=T.orders)||void 0===d?void 0:d[0].blockTimestamp}),!F&&T.orders[0]&&"storefront"===T.orders[0].listingKind&&(0,ms.jsx)("div",{className:"absolute -top-1 right-[8%] lg:right-[10%] z-10",children:(0,ms.jsx)(cA,{percent:N,source:"".concat(null===(h=T.orders[0].valuations)||void 0===h?void 0:h.blended.source),tooltip:!0})}),(0,ms.jsx)("div",{className:"sm:hover:text-white sm:peer-hover:text-white ",children:(0,ms.jsx)("div",{className:"flex sm:flex-col-reverse mb-2 sm:mb-1",children:(0,ms.jsxs)("div",{className:"grid grid-cols-3 sm:grid-cols-1 max-sm:w-full",children:[F?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"hidden sm:flex cursor-wait my-[0.7rem] bg-gray-400 justify-center items-center animate-pulse object-cover aspect-square w-[152px] sm:w-full h-[304px]"}),(0,ms.jsx)("div",{className:"sm:hidden cursor-wait rounded bg-gray-400 flex justify-center items-center animate-pulse"})]}):(0,ms.jsxs)("div",{className:"relative sm:my-3 isolate",children:[j&&(0,ms.jsx)("div",{className:"absolute flex items-center justify-center right-1 top-1 w-[36px] h-[36px] bg-[#ffffff33] rounded-full backdrop-blur-[20px]\n\t\t\t\t".concat(k&&"border-[1px] border-[#04E5A3] hover:border-[#04E5A3]","\n\t\t\t\t").concat(Z&&!k&&"border-[1px] border-[#9D9D9D] hover:border-[#9D9D9D]","\n\t\t\t\t"),children:k?(0,ms.jsx)(nA,{}):(0,ms.jsx)(Jx,{})}),J]}),F?(0,ms.jsxs)("div",{className:"flex flex-col sm:mb-2 pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"})]}):(0,ms.jsxs)("div",{className:"flex flex-col pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsxs)("div",{className:"flex flex-row relative",children:[(0,ms.jsx)("div",{className:"".concat(I?"max-w-[73%]":"max-w-[80%]"),children:null!==T&&void 0!==T&&null!==(p=T.card)&&void 0!==p&&p.additionalDetails?(0,ms.jsx)("p",{className:"text-[1.125rem] max-w-[240px] font-montserrat font-extrabold truncate pointer-events-none uppercase",children:null===T||void 0===T||null===(f=T.card)||void 0===f?void 0:f.title}):(0,ms.jsxs)("p",{className:"font-montserrat font-extrabold uppercase text-[1.125rem] overflow-hidden text-ellipsis ".concat(ee>3&&"h-[6rem] custom-truncate"),ref:$,children:[null===T||void 0===T||null===(m=T.card)||void 0===m?void 0:m.title,(null===T||void 0===T||null===(g=T.card)||void 0===g?void 0:g.num)&&!(null!==T&&void 0!==T&&null!==(v=T.card)&&void 0!==v&&v.title.includes("#"))&&(0,ms.jsxs)("span",{className:"font-montserrat font-extrabold uppercase text-[1.125rem]",children:[" ","#",null===T||void 0===T||null===(C=T.card)||void 0===C?void 0:C.num]})]})}),(0,ms.jsx)("div",{className:"flex flex-col items-center justify-center space-y-2 flex-shrink-0 absolute top-1 right-0",children:(0,ms.jsxs)("div",{className:"flex flex-row sm:flex-col justify-center items-center gap-1",children:[R&&!q&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(T.uuid,"-verified-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)(CC,{"data-tooltip-id":"".concat(T.uuid,"-verified-tooltip"),"data-tooltip-content":"Verified Collection from the Flow NFT catalog","data-tooltip-place":"right",width:18,height:18})]}),I&&(0,ms.jsx)(Yx,{className:"h-5 w-5 fill-white"}),z&&(0,ms.jsx)(dA,{accountSummaries:M,nft:T,publicAccountView:O}),null===S&&Q&&(0,ms.jsx)(yc.BM,{wrapperClass:"p-0",height:15,width:15}),!1===S&&Q&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(T.uuid,"-view-only-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem",zIndex:10}}),(0,ms.jsx)("img",{"data-tooltip-id":"".concat(T.uuid,"-view-only-tooltip"),"data-tooltip-content":"This profile has view-only access to this item","data-tooltip-place":"right",src:By,alt:"Read Only Icon",width:16,height:16})]})]})})]}),null!==T&&void 0!==T&&null!==(y=T.card)&&void 0!==y&&y.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==T&&void 0!==T&&null!==(b=T.card)&&void 0!==b&&b.additionalDetails?null===T||void 0===T||null===(w=T.card)||void 0===w||null===(x=w.additionalDetails)||void 0===x?void 0:x.map((e=>(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6 truncate",children:(0,ms.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e.length>26&&K?e.slice(0,26)+"...":e})},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"})}):(0,ms.jsx)(ms.Fragment,{children:ee<3&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6",children:(null===T||void 0===T||null===(A=T.card)||void 0===A?void 0:A.headerTraits)&&(null===T||void 0===T||null===(E=T.card)||void 0===E?void 0:E.headerTraits.map((e=>(0,ms.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e.value},e.displayType))))}),ee<=1&&(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"})]})})]})]})})}),(0,ms.jsx)(Hx,{order:(null===T||void 0===T||null===(_=T.orders)||void 0===_?void 0:_[0])||null,isLoading:F,nft:T})]})})},pA=(e,t,n,r)=>e?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("p",{className:"text-lg",children:"Loans and Rentals are not supported on Dapper Wallet. Please connect with a non-Dapper Wallet to use those features."}),(0,ms.jsxs)("p",{className:"text-lg",children:["For more information on Wallets, see our"," ",(0,ms.jsx)("a",{target:"_blank",rel:"noreferrer",className:"underline",href:"https://docs.flowty.io/reference/general-platform/supported-crypto-wallets",children:"supported wallets FAQ."})]})]}):t.showDropTab&&"ENDED"!==t.dropStatus?(0,ms.jsxs)("div",{className:"flex flex-col gap-[14px] pt-[8px]",children:[(0,ms.jsx)("div",{className:"text-[14px] font-bold text-[#B3B7BC]",children:"NO ITEMS FOUND"}),"COMING"===t.dropStatus&&(0,ms.jsx)("div",{className:"text-med text-[#6C757D] pb-2",children:"Collection isn\u2018t released yet."}),(0,ms.jsx)(Bs.M2,{text:"Visit Drop",onClick:()=>{n&&n("DROP")},variant:"secondary",bgColor:"white",className:"px-12"})]}):r?"No active loans or rentals found":"No results. Please adjust your filters to see available listings.",fA=e=>{let{isUnsupportedSelection:t,showVisitDrop:n={showDropTab:!1},onSelectedTabChange:r,emptyActionsPage:i}=e;return(0,ms.jsxs)("div",{className:"flex flex-col items-center",children:[(0,ms.jsxs)("div",{className:"relative mr-5",children:[(0,ms.jsx)("svg",{width:"82",height:"105",viewBox:"0 0 82 105",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{d:"M76.5 22.5L81.5 0H44C30.8 2.4 23.5 15.3333 21.5 21.5L0 105H26L35.5 67H53.5L58.5 43.5H41.5C46 27.5 47.5 22.5 50.5 22.5H76.5Z",className:"fill-[#b3bbbe]"})}),(0,ms.jsxs)("div",{className:"flex space-x-2 left-11 bottom-0 absolute",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"})]})]}),(0,ms.jsx)("div",{className:"text-[#B3B7BC] mt-3 px-4 lg:px-8 text-center",children:pA(t,n,r,i)})]})},mA=e=>{let{onSelectCard:t=()=>{},profilePage:n=!1,showVisitDrop:r={showDropTab:!1},onSelectedTabChange:i=()=>{}}=e;const{accountSummaries:o,bulkListActive:a,bulkPurchaseSelecteds:s,canScroll:l,catalogCache:c,denylistCache:u,hasProviderFn:d,hasProvinerPublicFn:h,hits:p,initialLoading:f,isLoading:m,isLoggedUserProfile:g,isProfile:v,isUnsupportedSelection:C,lastRef:y,onBulkPurchaseSelected:b,verifyHasOwner:w,publicAccountView:x}=(()=>{const{canScroll:e,hits:t,orderFilters:n,page:r,pageCount:i,paymentTokens:o,publicAccount:a,setPage:s,isFilterHidden:l,isLoading:c,initialLoading:u}=(0,sa.useContext)(wb),d=location.pathname.includes("/profile"),{hybridCustodyNFTStatus:h,publicAccountNftProviders:p}=(0,ys.g)(),{catalogCache:f,denylistCache:m}=Cs(),{bulkSelectedLength:g,bulkPurchaseSelecteds:v,onBulkPurchaseSelected:C,bulkListActive:y,loggedUserAddress:b,accountSummaries:w}=(0,bs.h)(),x=b===(null===a||void 0===a?void 0:a.addr),A=null===o||void 0===o?void 0:o.dapper,E=!(!n.loan&&!n.rental)&&!!A,_=wl({isLoading:c,onInfiniteScroll(){(0,fs.t)("Infinite Scroll Collection Cards",{isLoading:c,page:r,pageCount:i}),c||s(r+1)}},[null===t||void 0===t?void 0:t.length,r,i,c]),T=(0,sa.useCallback)((async e=>{const t=(0,us.nftTypeAndIdToLocationData)(e.type,e.id);try{return!!(await Tf.su.api.getItem({contractAddress:e.contractAddress,contractName:e.contractName,nftID:e.id,resourceName:t.resourceName})).owner}catch(n){return(0,fs.t)({err:n}),!0}}),[]),S=(0,sa.useCallback)((e=>{var t;if(!d||(null===e||void 0===e?void 0:e.owner)===(null===a||void 0===a?void 0:a.addr))return!0;const n=h[null===e||void 0===e?void 0:e.owner];return void 0===n?null:(null===n||void 0===n||null===(t=n[null===e||void 0===e?void 0:e.contractAddress.concat(".").concat(null===e||void 0===e?void 0:e.contractName)])||void 0===t?void 0:t.length)>0}),[h]),k=(0,sa.useCallback)((e=>{var t;if((null===e||void 0===e?void 0:e.owner)===(null===a||void 0===a?void 0:a.addr))return!0;const n=p[null===e||void 0===e?void 0:e.owner];return void 0===n?null:(null===n||void 0===n||null===(t=n[null===e||void 0===e?void 0:e.contractAddress.concat(".").concat(null===e||void 0===e?void 0:e.contractName)])||void 0===t?void 0:t.length)>0}),[p]),P=location.pathname.includes("/profile")?w:null===a||void 0===a?void 0:a.accountSummaries,D={addr:null===a||void 0===a?void 0:a.addr,avatar:null===a||void 0===a?void 0:a.avatar,userName:null===a||void 0===a?void 0:a.userName};return{accountSummaries:P,bulkListActive:y,bulkPurchaseSelecteds:v,bulkSelectedLength:g,canScroll:e,catalogCache:f,denylistCache:m,hasProviderFn:S,hasProvinerPublicFn:k,hits:t,initialLoading:u,isFilterHidden:l,isLoading:c,isLoggedUserProfile:x,isProfile:d,isUnsupportedSelection:E,lastRef:_,onBulkPurchaseSelected:C,publicAccountView:D,verifyHasOwner:T}})(),{loggedUserAddress:A,bulkLimit:E}=(0,bs.h)(),_=(0,Os.Zp)(),[T,S]=(0,sa.useState)({message:"",show:!1,type:"WARNING"}),k=(0,sa.useMemo)((()=>window.innerWidth>=1680?Array.from({length:10}):window.innerWidth>=1280?Array.from({length:6}):window.innerWidth>=768?[0,1,2]:[0,1]),[window.innerWidth]),P=Object.keys(null!==o&&void 0!==o?o:{});return(0,ms.jsx)("div",{className:"min-h-screen relative flex flex-col justify-start w-full",children:f?(0,ms.jsx)(Zx,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("ul",{className:"w-full h-full grid pb-4 gap-4",style:{gridTemplateColumns:"repeat(auto-fill, minmax(250px, 1fr))"},children:[null===p||void 0===p?void 0:p.map(((e,r)=>{var i,l,p,f,m,C,y,k,D,N,F,I,R,M,O;const j=null!==e&&void 0!==e&&null!==(i=e.type)&&void 0!==i&&i.endsWith(".NFT")?null===e||void 0===e?void 0:e.type:"".concat(null===e||void 0===e?void 0:e.type,".NFT"),L=c.has(j);let B=!1;j===ss.l8&&(B=(0,us.checkIsLocked)(e));const U=v||g?d(e):h(e),V="".concat(null===e||void 0===e?void 0:e.contractAddress,".").concat(null===e||void 0===e?void 0:e.contractName,".").concat(null===e||void 0===e?void 0:e.id),H=s.has(V),z=null===e||void 0===e||null===(l=e.orders)||void 0===l?void 0:l[0],Z=(null===z||void 0===z?void 0:z.valuationDifference)&&(null===z||void 0===z||null===(p=z.valuations)||void 0===p||null===(f=p.blended)||void 0===f?void 0:f.usdValue)&&(null===z||void 0===z?void 0:z.valuationDifference)/(null===(m=z.valuations)||void 0===m||null===(C=m.blended)||void 0===C?void 0:C.usdValue),W=Z?100*Z:0,q="storefront"!==(null===e||void 0===e||null===(y=e.orders[0])||void 0===y?void 0:y.listingKind)?0:Math.floor(W),G={loans:null===e||void 0===e||null===(k=e.orders)||void 0===k?void 0:k.filter((e=>"loan"===(null===e||void 0===e?void 0:e.listingKind))),rentals:null===e||void 0===e||null===(D=e.orders)||void 0===D?void 0:D.filter((e=>"rental"===(null===e||void 0===e?void 0:e.listingKind))),storefront:null===e||void 0===e||null===(N=e.orders)||void 0===N?void 0:N.filter((e=>"storefront"===(null===e||void 0===e?void 0:e.listingKind)))},Y=(null===G||void 0===G||null===(F=G.storefront)||void 0===F?void 0:F.length)>0&&(null===G||void 0===G||null===(I=G.storefront)||void 0===I||null===(R=I[0])||void 0===R?void 0:R.flowtyStorefrontAddress)!==A;let K;const Q=async()=>{const n=e.owner;K=await w(e),!1===!!K&&(e=>Object.values(null!==P&&void 0!==P?P:{}).some((t=>t===e)))(n)?(S({message:"Our system does not identify you as the owner of this nft, your account is being refreshed",show:!0,type:"WARNING"}),ds.o.track("OWNERSHIP_MISMATCH",{selectedNft:e})):a?!Y&&U&&!B&&K?(ds.o.track("BULK_ASSET_TOGGLED",{selectedNft:e}),b(e)):(S({message:"Unable to bulk list this nft",show:!0,type:"WARNING"}),ds.o.track("BULK_ASSET_SELECT_ERROR",{selectedNft:e})):(t({contractAddress:e.contractAddress,contractName:e.contractName,nftID:e.id,nftType:e.type}),ds.o.track("PROFILE_ASSET_SELECTED",{selectedNft:e}))};return(0,ms.jsxs)("div",{children:[(0,ms.jsx)(_c.s,{setShow:e=>S({...T,show:e}),show:T.show,seconds:2,message:T.message,type:T.type}),(0,ms.jsx)(hA,{handleClick:t=>{const n=(0,us.nftTypeAndIdToLocationData)((null===e||void 0===e?void 0:e.type)||"",(null===e||void 0===e?void 0:e.id)||"");t.preventDefault();const r="/asset/".concat(n.contract.address,"/").concat(n.contract.name,"/").concat(n.resourceName,"/").concat(n.nftID);t.ctrlKey||t.metaKey?window.open(r,"_blank"):u.has(j)?_(r):Q()},nft:e,hasProvider:U,bulkSelected:H&&a,bulkDisabled:Y||B||!U||s.size===E&&!H,bulkListActive:a,isLoading:!1,isCatalog:L,isLocked:B,discountPercent:q,didImageLoadFail:!1,accountSummaries:o,publicAccountView:x,profilePage:n},"".concat(null===e||void 0===e||null===(O=e.card)||void 0===O?void 0:O.title,"-").concat(r))]},"".concat(null===e||void 0===e||null===(M=e.card)||void 0===M?void 0:M.title,"-").concat(r))})),m&&(0,ms.jsx)(ms.Fragment,{children:k.map(((e,t)=>(0,ms.jsx)(zx,{nft:{},isLoading:!0},t)))})]}),(0,ms.jsx)(xl,{show:(null===p||void 0===p?void 0:p.length)>=xb&&l}),(0,ms.jsx)("div",{className:"self-end justify-self-end",children:(null===p||void 0===p?void 0:p.length)>=xb&&l?(0,ms.jsx)("div",{className:"w-full h-[20px] mt-44",ref:y}):null}),(0,ms.jsx)("div",{children:(null===p||void 0===p?void 0:p.length)<=0&&(0,ms.jsx)(ms.Fragment,{children:m?(0,ms.jsx)("div",{className:"w-full flex justify-center",children:(0,ms.jsx)(yc.BM,{height:150,width:150})}):(0,ms.jsx)(fA,{isUnsupportedSelection:C,showVisitDrop:r,onSelectedTabChange:i})})})]})})},gA=e=>{let{handleSelectCard:t,address:n,showVisitDrop:r,onSelectedTabChange:i}=e;const{facets:o}=Sb();return(0,ms.jsx)("div",{className:"flex flex-col w-full",children:(0,ms.jsx)(Nx,{address:n,nftList:(0,ms.jsx)(ms.Fragment,{children:o?(0,ms.jsx)("div",{className:"w-full",children:(0,ms.jsx)(mA,{onSelectCard:t,showVisitDrop:r,onSelectedTabChange:i})}):(0,ms.jsx)(Zx,{})})})})},vA=[{customRender:e=>{let{item:t}=e;const n=(null===t||void 0===t?void 0:t.type[0])+(null===t||void 0===t?void 0:t.type.slice(1).toLowerCase());return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:n})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:null!==t&&void 0!==t&&t.blockTimestamp?(0,el.default)(null===t||void 0===t?void 0:t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O;let{item:j}=e;const L="A.".concat(null===(t=j.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=j.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=j.additionalData)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)("img",{src:(0,us.getImageURL)(null!==(s=null===j||void 0===j||null===(l=j.additionalData)||void 0===l||null===(c=l.card)||void 0===c||null===(u=c.images)||void 0===u||null===(d=u[0])||void 0===d?void 0:d.url)&&void 0!==s?s:tl.A,(0,ss.hx)(L)),alt:"".concat(null===j||void 0===j||null===(h=j.card)||void 0===h?void 0:h.title," asset"),className:"object-cover aspect-square rounded-[4px]"})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==j&&void 0!==j&&null!==(p=j.additionalData)&&void 0!==p&&null!==(f=p.card)&&void 0!==f&&f.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===j||void 0===j||null===(m=j.additionalData)||void 0===m||null===(g=m.card)||void 0===g?void 0:g.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===j||void 0===j||null===(v=j.additionalData)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.title}),(null===j||void 0===j||null===(y=j.additionalData)||void 0===y||null===(b=y.card)||void 0===b?void 0:b.num)&&!(null!==(w=j.additionalData)&&void 0!==w&&null!==(x=w.card)&&void 0!==x&&x.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===j||void 0===j||null===(A=j.additionalData)||void 0===A||null===(E=A.card)||void 0===E?void 0:E.num]})]}),null!==j&&void 0!==j&&null!==(_=j.additionalData)&&void 0!==_&&null!==(T=_.card)&&void 0!==T&&T.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==j&&void 0!==j&&null!==(S=j.additionalData)&&void 0!==S&&null!==(k=S.card)&&void 0!==k&&k.additionalDetails?null===j||void 0===j||null===(P=j.additionalData)||void 0===P||null===(D=P.card)||void 0===D||null===(N=D.additionalDetails)||void 0===N?void 0:N.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===j||void 0===j||null===(F=j.additionalData)||void 0===F||null===(I=F.card)||void 0===I?void 0:I.headerTraits)&&(null===j||void 0===j||null===(R=j.additionalData)||void 0===R||null===(M=R.card)||void 0===M||null===(O=M.headerTraits)||void 0===O?void 0:O.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:null===e||void 0===e?void 0:e.value},null===e||void 0===e?void 0:e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:null!==n&&void 0!==n&&n.data?(0,ms.jsx)(Nl.se,{amount:null===n||void 0===n||null===(t=n.additionalData)||void 0===t?void 0:t.amount,isSmall:!0,token:null===n||void 0===n?void 0:n.paymentTokenName}):""})},name:"amount",sortable:!1,title:"Amount"},{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[null!==r&&void 0!==r&&null!==(t=r.additionalData)&&void 0!==t&&t.periodicInterest?Tl()(100*(null===r||void 0===r||null===(n=r.additionalData)||void 0===n?void 0:n.periodicInterest)).format("0,0.00"):"","%"]})},name:"rate",sortable:!1,title:"Rate"},{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:null!==r&&void 0!==r&&null!==(t=r.additionalData)&&void 0!==t&&t.term?Sl(null===r||void 0===r||null===(n=r.additionalData)||void 0===n?void 0:n.term):""})},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Tl()((0,us.calcAPRInterest)(r?Number(null===(t=r.additionalData)||void 0===t?void 0:t.periodicInterest):0,r?Number(null===(n=r.additionalData)||void 0===n?void 0:n.term):0)).format("0,0.00"),"%"]})},name:"apr",sortable:!1,title:"APR"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:null===n||void 0===n||null===(t=n.additionalData)||void 0===t?void 0:t.repaymentDue,isSmall:!0,token:(null===n||void 0===n?void 0:n.paymentTokenName)||ss.HT})})},name:"repayment",sortable:!1,title:"Repayment Amount"},{customRender:e=>{var t;let{item:n}=e;var r;return null!==n&&void 0!==n&&null!==(t=n.additionalData)&&void 0!==t&&t.loanToValueRatio?(0,ms.jsx)(rc,{valuationType:"LTV",children:(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[Math.round(100*(null===n||void 0===n||null===(r=n.additionalData)||void 0===r?void 0:r.loanToValueRatio)),"%"]})}):(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:"N/A"})},name:"valuations.aggregate.loanToValueRatio",sortable:!1,title:"3rd Party LTV"}],CA=e=>{var t,n,r,i,o,a,s,l;const{collectionAddress:c,collectionName:u,resource:d}=(0,Os.g)(),h=(0,Os.zy)(),p=u&&c&&"".concat(ss.Sw,"/collection/").concat(c,"/").concat(u),[f,m]=(0,sa.useState)(null),[g,v]=(0,sa.useState)([]),[C,y]=(0,sa.useState)(!1),[b,w]=(0,sa.useState)(!1),[x,A]=(0,ca.ok)(),E=(null===x||void 0===x||null===(t=x.get("page"))||void 0===t?void 0:t.toUpperCase())||null,[_,T]=(0,sa.useState)(E||"LISTINGS");(0,sa.useEffect)((()=>{var e;const t=(null===x||void 0===x||null===(e=x.get("page"))||void 0===e?void 0:e.toUpperCase())||null;t?t!==_&&T(t):T("LISTINGS")}),[x]);const S=e=>{T(e),x.delete("type"),"DROP"===e||"ACTIVITY"===e?(x.set("page",e.toLowerCase()),A(x)):(x.delete("page"),A(x))},k=(null===e||void 0===e||null===(n=e.loggedUser)||void 0===n?void 0:n.isDapper)||!1,P=null===e||void 0===e||null===(r=e.loggedUser)||void 0===r?void 0:r.addr,[D,N]=(0,sa.useState)({});(0,sa.useEffect)((()=>{window.scrollTo(0,0)}),[h.pathname]),(0,sa.useEffect)((()=>{if(p){if(D[p])return void m((e=>{var t;return(null===e||void 0===e?void 0:e.address)===(null===(t=D[p])||void 0===t?void 0:t.address)?e:D[p]}));y(!0),m(null),(0,nl.r)({collectionAddress:c,collectionName:u}).then((e=>{e&&(m(e||null),N((t=>({...t,[p]:e}))))})).catch((e=>{throw new us.FlowtyException(e,{url:p},"useCollection")})).then((()=>{y(!1)}))}}),[p,D]);const F=null!==f&&void 0!==f&&null!==(i=f.collectionDisplay)&&void 0!==i&&i.name?f.collectionDisplay.name:u,I=null!==(o=null===e||void 0===e||null===(a=e.loggedUser)||void 0===a||null===(s=a.balance)||void 0===s||null===(l=s.balances)||void 0===l?void 0:l[Tf.su.tokens.getTokenIdentifier(us.SupportedTokens.FLOW)])&&void 0!==o?o:0;return(0,sa.useEffect)((()=>{(async()=>{if(!c||!u)return;const e="A.".concat(c.substring(2),".").concat(u,".").concat(d||"NFT");try{w(!0);const t=await Tf.su.getAllDropDetails({minter:P||void 0,nftResourceTypeIdentifier:e,paymentIdentifier:Tf.su.config.getIdentifier("FlowToken","Vault"),quantity:1});t&&0!==(null===t||void 0===t?void 0:t.length)||"DROP"!==E||S("LISTINGS");const n=t.filter((e=>{const[t,n,r]=e.nftType.split(".");return"0x".concat(n)===c&&r===u}));v(n),w(!1)}catch(t){console.log("error on get collection drop data",t)}})()}),[P]),{collection:f,collectionAddress:c,collectionDisplayName:F,collectionDropData:g[0],collectionName:u,flowtyTokenBalance:I,isDapper:k,isLoading:C,isLoadingDrop:b,onSelectedTabChange:S,selectedTab:_}},yA=24,bA=()=>{var e;const{collectionAddress:t,collectionName:n}=(0,Os.g)(),[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(1),[s,l]=(0,sa.useState)([]),[c,u]=(0,sa.useState)([]),[d,h]=(0,sa.useState)([]),[p,f]=(0,sa.useState)({min:null,path:null}),[m,g]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending}),[v,C]=(0,sa.useState)(!0),[y,b]=(0,sa.useState)([]),[w,x]=(0,ca.ok)(),A=(null===w||void 0===w||null===(e=w.get("type"))||void 0===e?void 0:e.toUpperCase())||null,[E,_]=(0,sa.useState)(null!==A&&void 0!==A?A:"SALE");(0,sa.useEffect)((()=>{t&&n&&Tf.su.scripts.getNftResourceIdentifiers(t||"",n||"").then((e=>{b(e)}))}),[t,n]);const T=(0,sa.useMemo)((()=>{switch(E){case"SALE":return d.map((e=>({...e})));case"LOAN":return s.map((e=>({...e})));case"RENTAL":return c.map((e=>({...e})));default:return[]}}),[d,s,c,E]);(0,sa.useEffect)((()=>{var e;const t=(null===w||void 0===w||null===(e=w.get("type"))||void 0===e?void 0:e.toUpperCase())||null;t?t&&t!==E&&_(t):_("SALE")}),[w]),(0,sa.useEffect)((()=>{y&&0!==y.length&&("SALE"===E?pl({addressPath:"data.storefrontAddress",eventCollection:"storefrontEvents",filterActivityBy:p,limit:yA*o,listingCollection:"storefrontEvents",makerCb:e=>h(e),nftTypes:y,sort:m}):(e=>{var t,n;let{limit:r=25,accountId:i,borrowerCb:o,sort:a,filterActivityBy:s,eventCollection:l="p2pEvents",nftType:c,nftTypes:u}=e,d=hl.kA.collection(l).orderBy(null!==(t=null===a||void 0===a?void 0:a.column)&&void 0!==t?t:"blockTimestamp",null!==(n=null===a||void 0===a?void 0:a.order)&&void 0!==n?n:"desc");u&&u.length>0?d=d.where("data.nftType","in",u):c&&(d=d.where("data.nftType","==",c)),null!==s&&void 0!==s&&s.min&&(d=d.where("type","==",null===s||void 0===s?void 0:s.min)),i&&(d=d.where("accountAddress","==",i));const h=d.limit(r).onSnapshot((async e=>{let{docs:t}=e;o(t.map((e=>({...e.data()}))))}))})({borrowerCb(e){"RENTAL"===E?u(e):l(e)},eventCollection:"RENTAL"===E?"rentalEvents":void 0,filterActivityBy:p,limit:yA*o,nftTypes:y,sort:m}))}),[E,o,p,m,y]);const S=wl({isLoading:!1,onInfiniteScroll(){setTimeout((()=>{i(!1)}),2e3),o*yA===T.length&&(a((e=>e+1)),i(!0)),ds.o.track("Inifinite Scroll Global Rentals Page")}},[o,T]);return{allActivityDocs:T,belowTableRef:S,filterBy:p,isLoading:r,onFilterChangeFn:e=>{g({column:"blockTimestamp",order:Ws.Descending}),f(e),a(1)},onSortChangeFn:e=>{g(e),a(1)},onTableChangeTabFn:e=>{"LOAN"===e||"RENTAL"===e?(w.set("type",e.toLowerCase()),x(w)):(w.delete("type"),x(w)),_(e),f({min:null,path:null}),g({column:"blockTimestamp",order:Ws.Descending})},setShowFilter:C,showFilter:v,sort:m,tablePage:o,tableSelectedTab:E}},wA=e=>{let{filterBy:t,isLoading:n,onFilterChangeFn:r,onSortChangeFn:i,sort:o,allActivityDocs:a,belowTableRef:s,showFilter:l,setShowFilter:c,tablePage:u}=e;const d=(0,Os.Zp)(),{collectionName:h}=CA(),[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(0),[v,C]=(0,sa.useState)(0),y=(0,Bs.dv)();(0,sa.useEffect)((()=>{if("xs"===y||"mobile"===y){if(m&&v){if(v-m>=500)ds.o.track("HOLD_ACTION_DETECTED",p);else if(p){var e,t,n,r,i,o;const a=(0,us.nftTypeAndIdToLocationData)((null===p||void 0===p||null===(e=p.data)||void 0===e?void 0:e.nftType)||(null===p||void 0===p||null===(t=p.data)||void 0===t||null===(n=t.typeAndIDOffer)||void 0===n?void 0:n.nftType),(null===p||void 0===p||null===(r=p.data)||void 0===r?void 0:r.nftID)||(null===p||void 0===p||null===(i=p.data)||void 0===i||null===(o=i.typeAndIDOffer)||void 0===o?void 0:o.nftID));d("/asset/".concat(a.contract.address,"/").concat(a.contract.name,"/").concat(a.resourceName,"/").concat(a.nftID))}g(0),C(0)}}else if(p){var a,s,l,c,u,h;const e=(0,us.nftTypeAndIdToLocationData)((null===p||void 0===p||null===(a=p.data)||void 0===a?void 0:a.nftType)||(null===p||void 0===p||null===(s=p.data)||void 0===s||null===(l=s.typeAndIDOffer)||void 0===l?void 0:l.nftType),(null===p||void 0===p||null===(c=p.data)||void 0===c?void 0:c.nftID)||(null===p||void 0===p||null===(u=p.data)||void 0===u||null===(h=u.typeAndIDOffer)||void 0===h?void 0:h.nftID));d("/asset/".concat(e.contract.address,"/").concat(e.contract.name,"/").concat(e.resourceName,"/").concat(e.nftID))}}),[v,m,p,y,d,500]),(0,sa.useEffect)((()=>{const e=e=>{g(Date.now()),ds.o.track("TOUCH_START")},t=e=>{C(Date.now()),ds.o.track("TOUCH_END");const t=Date.now()-m;ds.o.track("TOUCH_DURATION (ms):",t)};return window.addEventListener("touchstart",e),window.addEventListener("touchend",t),()=>{window.removeEventListener("touchstart",e),window.removeEventListener("touchend",t)}}),[]),(0,sa.useEffect)((()=>{t.path&&ds.o.track("".concat(h," Loans Activity Page Filtered"),{filter:t}),ds.o.track("".concat(h," Activity page - Loan Tab visited"),{tab:"Activity"})}),[t]);const b=[{label:"All",value:""},{label:"Settled",value:"SETTLED"},{label:"Funded",value:"FUNDED"},{label:"Repaid",value:"REPAID"},{label:"Listed",value:"LISTED"},{label:"Expired",value:"EXPIRED"}],[w,x]=(0,sa.useState)(b[0].value);return(0,ms.jsxs)("div",{children:[(0,ms.jsx)(Kl,{showFilter:l,setShowFilter:c,filterBy:t,setFilterBy:r}),(0,ms.jsx)("div",{className:"flex py-2 md:py-3 mb-[14px] md:mb-0",children:(0,ms.jsx)(Bs.DG,{fields:b,selectedField:w,updateSelectedField:e=>{x(e),r({max:"",min:e,path:"state"})}})}),(0,ms.jsx)($s,{onClickRow:e=>{let{item:t}=e;f(t)},fields:vA,items:a,onSort:i,initialSortConfig:o,stickyHeaders:!0,composeRowHref:e=>{var t,n,r,i,o,a;const s=(0,us.nftTypeAndIdToLocationData)((null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.nftType)||(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftType),(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.nftID)||(null===e||void 0===e||null===(o=e.data)||void 0===o||null===(a=o.typeAndIDOffer)||void 0===a?void 0:a.nftID));return"/asset/".concat(s.contract.address,"/").concat(s.contract.name,"/").concat(s.resourceName,"/").concat(s.nftID)}}),(0,ms.jsx)("div",{ref:s,children:n?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):u*yA===a.length&&(0,ms.jsx)(xl,{})})]})},xA=[{customRender:e=>{var t,n,r;let{item:i}=e;const o=null!==(t=null===i||void 0===i||null===(n=i.type)||void 0===n||null===(r=n.split("_").pop())||void 0===r?void 0:r.toLowerCase())&&void 0!==t?t:"";return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===o?"delisted":o})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,el.default)(null===n||void 0===n||null===(t=n.blockTimestamp)||void 0===t?void 0:t.toDate(),"yyyy-MM-dd HH:mm")})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O;let{item:j}=e;const L="A.".concat(null===(t=j.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=j.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=j.additionalData)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)("img",{src:(0,us.getImageURL)(null!==(s=null===j||void 0===j||null===(l=j.additionalData)||void 0===l||null===(c=l.card)||void 0===c||null===(u=c.images)||void 0===u||null===(d=u[0])||void 0===d?void 0:d.url)&&void 0!==s?s:tl.A,(0,ss.hx)(L)),alt:"".concat(null===j||void 0===j||null===(h=j.card)||void 0===h?void 0:h.title," asset"),className:"object-cover aspect-square rounded-[4px]"})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==j&&void 0!==j&&null!==(p=j.additionalData)&&void 0!==p&&null!==(f=p.card)&&void 0!==f&&f.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===j||void 0===j||null===(m=j.additionalData)||void 0===m||null===(g=m.card)||void 0===g?void 0:g.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===j||void 0===j||null===(v=j.additionalData)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.title}),(null===j||void 0===j||null===(y=j.additionalData)||void 0===y||null===(b=y.card)||void 0===b?void 0:b.num)&&!(null!==(w=j.additionalData)&&void 0!==w&&null!==(x=w.card)&&void 0!==x&&x.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===j||void 0===j||null===(A=j.additionalData)||void 0===A||null===(E=A.card)||void 0===E?void 0:E.num]})]}),null!==j&&void 0!==j&&null!==(_=j.additionalData)&&void 0!==_&&null!==(T=_.card)&&void 0!==T&&T.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==j&&void 0!==j&&null!==(S=j.additionalData)&&void 0!==S&&null!==(k=S.card)&&void 0!==k&&k.additionalDetails?null===j||void 0===j||null===(P=j.additionalData)||void 0===P||null===(D=P.card)||void 0===D||null===(N=D.additionalDetails)||void 0===N?void 0:N.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===j||void 0===j||null===(F=j.additionalData)||void 0===F||null===(I=F.card)||void 0===I?void 0:I.headerTraits)&&(null===j||void 0===j||null===(R=j.additionalData)||void 0===R||null===(M=R.card)||void 0===M||null===(O=M.headerTraits)||void 0===O?void 0:O.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:null===e||void 0===e?void 0:e.value},null===e||void 0===e?void 0:e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null===n||void 0===n||null===(t=n.additionalData)||void 0===t?void 0:t.amount),isSmall:!0,token:null===n||void 0===n?void 0:n.data.paymentTokenName})})},name:"amount",sortable:!1,title:"Rental Fee"},{customRender:e=>{var t,n;let{item:r}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null===r||void 0===r||null===(t=r.additionalData)||void 0===t?void 0:t.deposit),isSmall:!0,token:null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.paymentTokenName})})},name:"deposit",sortable:!1,title:"Returnable Deposit"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(null===n||void 0===n||null===(t=n.additionalData)||void 0===t?void 0:t.term)})},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:null!==i&&void 0!==i&&null!==(t=i.additionalData)&&void 0!==t&&t.depositToValueRatio?"".concat(null===i||void 0===i||null===(n=i.additionalData)||void 0===n||null===(r=n.depositToValueRatio)||void 0===r?void 0:r.toFixed(2),"x"):"N/A"})},name:"duration",sortable:!1,title:"3rd Party DTV"}],AA=e=>{let{filterBy:t,isLoading:n,onFilterChangeFn:r,onSortChangeFn:i,sort:o,allActivityDocs:a,belowTableRef:s,showFilter:l,setShowFilter:c,tablePage:u}=e;const d=(0,Os.Zp)(),{collectionName:h}=CA(),[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(0),[v,C]=(0,sa.useState)(0),y=(0,Bs.dv)();(0,sa.useEffect)((()=>{if("xs"===y||"mobile"===y){if(m&&v){if(v-m>=500);else if(p){var e,t,n,r,i,o,a;const s=(0,us.nftTypeAndIdToLocationData)((null===p||void 0===p||null===(e=p.data)||void 0===e?void 0:e.nftType)||(null===p||void 0===p||null===(t=p.data)||void 0===t||null===(n=t.typeAndIDOffer)||void 0===n?void 0:n.nftType)||"",(null===p||void 0===p||null===(r=p.data)||void 0===r||null===(i=r.nftID)||void 0===i?void 0:i.toString())||(null===p||void 0===p||null===(o=p.data)||void 0===o||null===(a=o.typeAndIDOffer)||void 0===a?void 0:a.nftID)||"");d("/asset/".concat(s.contract.address,"/").concat(s.contract.name,"/").concat(s.resourceName,"/").concat(s.nftID))}g(0),C(0)}}else if(p){var s,l,c,u,h,f,b;const e=(0,us.nftTypeAndIdToLocationData)((null===p||void 0===p||null===(s=p.data)||void 0===s?void 0:s.nftType)||(null===p||void 0===p||null===(l=p.data)||void 0===l||null===(c=l.typeAndIDOffer)||void 0===c?void 0:c.nftType)||"",(null===p||void 0===p||null===(u=p.data)||void 0===u||null===(h=u.nftID)||void 0===h?void 0:h.toString())||(null===p||void 0===p||null===(f=p.data)||void 0===f||null===(b=f.typeAndIDOffer)||void 0===b?void 0:b.nftID)||"");d("/asset/".concat(e.contract.address,"/").concat(e.contract.name,"/").concat(e.resourceName,"/").concat(e.nftID))}}),[m,v,p,y,d,500]),(0,sa.useEffect)((()=>{const e=e=>{g(Date.now()),ds.o.track("TOUCH_START")},t=e=>{C(Date.now()),ds.o.track("TOUCH_END");const t=Date.now()-m;ds.o.track("TOUCH_DURATION MS:",t)};return window.addEventListener("touchstart",e),window.addEventListener("touchend",t),()=>{window.removeEventListener("touchstart",e),window.removeEventListener("touchend",t)}}),[]),(0,sa.useEffect)((()=>{t.path&&ds.o.track("".concat(h," Rental Activity Page Filtered"),{filter:t}),ds.o.track("".concat(h," Activity page - Rental tab visited"),{tab:"Activity"})}),[t]);const b=[{label:"All",value:""},{label:"Listed",value:"RENTAL_LISTED"},{label:"Delisted",value:"RENTAL_DESTROYED"},{label:"Rented",value:"RENTAL_RENTED"},{label:"Returned",value:"RENTAL_RETURNED"},{label:"Settled",value:"RENTAL_SETTLED"},{label:"Expired",value:"EXPIRED"}],[w,x]=(0,sa.useState)(b[0].value);return(0,ms.jsxs)("div",{children:[(0,ms.jsx)(Gl,{showFilter:l,setShowFilter:c,filterBy:t,setFilterBy:r}),(0,ms.jsx)("div",{className:"flex py-2 md:py-3 mb-[14px] md:mb-0",children:(0,ms.jsx)(Bs.DG,{fields:b,selectedField:w,updateSelectedField:e=>{x(e),r({max:"",min:e,path:"state"})}})}),(0,ms.jsx)($s,{onClickRow:e=>{let{item:t}=e;f(t)},fields:xA,items:a,onSort:i,initialSortConfig:o,stickyHeaders:!0,composeRowHref:e=>{var t,n,r,i,o,a,s;const l=(0,us.nftTypeAndIdToLocationData)((null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.nftType)||(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftType)||"",(null===e||void 0===e||null===(i=e.data)||void 0===i||null===(o=i.nftID)||void 0===o?void 0:o.toString())||(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(s=a.typeAndIDOffer)||void 0===s?void 0:s.nftID)||"");return"/asset/".concat(l.contract.address,"/").concat(l.contract.name,"/").concat(l.resourceName,"/").concat(l.nftID)}}),(0,ms.jsx)("div",{ref:s,children:n?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):u*yA===a.length&&(0,ms.jsx)(xl,{})})]})},EA=[{label:"Purchased",value:us.IEventType.StorefrontPurchased.valueOf()},{label:"Listed",value:us.IEventType.StorefrontListed.valueOf()},{label:"Delisted",value:us.IEventType.StorefrontDelisted.valueOf()}];ss.Vv&&EA.push({label:"Offer Created",value:us.IEventType.StorefrontOfferCreated.valueOf()},{label:"Offer Accepted",value:us.IEventType.StorefrontOfferAccepted.valueOf()},{label:"Offer Cancelled",value:us.IEventType.StorefrontOfferCancelled.valueOf()});const _A=e=>(0,ms.jsx)(bl,{...e,filterOptions:EA}),TA=e=>[{customRender:e=>{let t,{item:n}=e;const r=null===n||void 0===n?void 0:n.type.split("_");return t=null!==n&&void 0!==n&&n.type.includes("OFFER")?"".concat(r[1]," ").concat(r[2]):r[r.length-1],t=t.toLowerCase(),(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===t?"delisted":t})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,el.default)(null===t||void 0===t?void 0:t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm")})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L;let{item:B}=e;if(!(0,us.getNFTDetail)(null,null===B||void 0===B||null===(t=B.additionalData)||void 0===t?void 0:t.card)&&null!==B&&void 0!==B&&null!==(n=B.data)&&void 0!==n&&n.nftID){var U,V;const e=(0,us.nftTypeAndIdToLocationData)(null===B||void 0===B||null===(U=B.data)||void 0===U?void 0:U.nftType,null===B||void 0===B||null===(V=B.data)||void 0===V?void 0:V.nftID.toString()),t=(0,us.getNFTIdentifier)(e);Tf.su.api.refreshMetadata(t).then().catch((e=>(0,fs.t)(" Failed to refresh Metadata",e)))}const H="A.".concat(null===(r=B.additionalData)||void 0===r||null===(i=r.card)||void 0===i||null===(o=i.collectionAddress)||void 0===o?void 0:o.substring(2),".").concat(null===(a=B.additionalData)||void 0===a||null===(s=a.card)||void 0===s?void 0:s.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(l=B.additionalData)||void 0===l||!l.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)("img",{src:(0,us.getImageURL)(null!==(c=null===B||void 0===B||null===(u=B.additionalData)||void 0===u||null===(d=u.card)||void 0===d||null===(h=d.images)||void 0===h||null===(p=h[0])||void 0===p?void 0:p.url)&&void 0!==c?c:tl.A,(0,ss.hx)(H)),alt:"".concat(null===B||void 0===B||null===(f=B.card)||void 0===f?void 0:f.title," asset"),className:"object-cover aspect-square rounded-[4px]"})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==B&&void 0!==B&&null!==(m=B.additionalData)&&void 0!==m&&null!==(g=m.card)&&void 0!==g&&g.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===B||void 0===B||null===(v=B.additionalData)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===B||void 0===B||null===(y=B.additionalData)||void 0===y||null===(b=y.card)||void 0===b?void 0:b.title}),(null===B||void 0===B||null===(w=B.additionalData)||void 0===w||null===(x=w.card)||void 0===x?void 0:x.num)&&!(null!==(A=B.additionalData)&&void 0!==A&&null!==(E=A.card)&&void 0!==E&&E.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===B||void 0===B||null===(_=B.additionalData)||void 0===_||null===(T=_.card)||void 0===T?void 0:T.num]})]}),null!==B&&void 0!==B&&null!==(S=B.additionalData)&&void 0!==S&&null!==(k=S.card)&&void 0!==k&&k.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==B&&void 0!==B&&null!==(P=B.additionalData)&&void 0!==P&&null!==(D=P.card)&&void 0!==D&&D.additionalDetails?null===B||void 0===B||null===(N=B.additionalData)||void 0===N||null===(F=N.card)||void 0===F||null===(I=F.additionalDetails)||void 0===I?void 0:I.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===B||void 0===B||null===(R=B.additionalData)||void 0===R||null===(M=R.card)||void 0===M?void 0:M.headerTraits)&&(null===B||void 0===B||null===(O=B.additionalData)||void 0===O||null===(j=O.card)||void 0===j||null===(L=j.headerTraits)||void 0===L?void 0:L.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:null===e||void 0===e?void 0:e.value},null===e||void 0===e?void 0:e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number((null===i||void 0===i||null===(t=i.data)||void 0===t?void 0:t.salePrice)||(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.amount)),isSmall:!0,token:(null===i||void 0===i?void 0:i.paymentTokenName)||(0,us.getTokenFromType)(null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.salePaymentVaultType)})})},name:"amount",sortable:!1,title:"Price"},{customRender:t=>{var n,r,i,o;let{item:a}=t;const s=(null===a||void 0===a||null===(n=a.type)||void 0===n?void 0:n.includes("OFFER"))?"object"===typeof(null===a||void 0===a||null===(r=a.data)||void 0===r?void 0:r.taker)?"-":null===a||void 0===a||null===(i=a.data)||void 0===i?void 0:i.taker:null===a||void 0===a||null===(o=a.data)||void 0===o?void 0:o.storefrontAddress;return(0,ms.jsx)("div",{className:"seller flex flex-row justify-start items-center hover:text-green-200",onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(s))},children:(0,ms.jsx)("a",{href:"/user/".concat(s),children:s||"--"})})},name:"seller",sortable:!1,title:"Seller"},{customRender:t=>{var n,r,i;let{item:o}=t;(0,fs.t)("collectionStorefrontActivityFields",{...o});const a=(null===o||void 0===o||null===(n=o.type)||void 0===n?void 0:n.toLowerCase().includes("offer"))?null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.storefrontAddress:null===o||void 0===o||null===(i=o.data)||void 0===i?void 0:i.buyer;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(a))},className:"seller flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(a),children:a||"--"})})},name:"buyer",sortable:!1,title:"Buyer"}],SA=e=>{let{filterBy:t,isLoading:n,onFilterChangeFn:r,onSortChangeFn:i,sort:o,allActivityDocs:a,belowTableRef:s,showFilter:l,setShowFilter:c,tablePage:u}=e;const d=(0,Os.Zp)(),[h,p]=(0,sa.useState)(null),[f,m]=(0,sa.useState)(0),[g,v]=(0,sa.useState)(0),C=(0,Bs.dv)();(0,sa.useEffect)((()=>{if("xs"===C||"mobile"===C){if(f&&g){g-f>=500||h&&d(h.href),m(0),v(0)}}else h&&d(h.href)}),[f,g,h,C,d,500]);const y=[{label:"All",value:""},{label:"Purchased",value:us.IEventType.StorefrontPurchased.valueOf()},{label:"Listed",value:us.IEventType.StorefrontListed.valueOf()},{label:"Delisted",value:us.IEventType.StorefrontDelisted.valueOf()},{label:"Offer Created",value:us.IEventType.StorefrontOfferCreated.valueOf()},{label:"Offer Accepted",value:us.IEventType.StorefrontOfferAccepted.valueOf()},{label:"Offer Cancelled",value:us.IEventType.StorefrontOfferCancelled.valueOf()}],[b,w]=(0,sa.useState)(y[0].value);return(0,ms.jsxs)("div",{children:[(0,ms.jsx)(_A,{showFilter:l,setShowFilter:c,filterBy:t,setFilterBy:r}),(0,ms.jsx)("div",{className:"flex py-2 md:py-3 mb-[14px] md:mb-0",children:(0,ms.jsx)(Bs.DG,{fields:y,selectedField:b,updateSelectedField:e=>{w(e),r({max:"",min:e,path:"state"})}})}),(0,ms.jsx)($s,{onClickRow:e=>{let{e:t,item:n}=e;const r=t;let i,o;var a,s,l,c,u;n.type.toLowerCase().includes("offer")?(i=null===(a=n.data)||void 0===a?void 0:a.storefrontAddress,o="object"===typeof(null===n||void 0===n||null===(s=n.data)||void 0===s?void 0:s.taker)?"-":null===n||void 0===n||null===(l=n.data)||void 0===l?void 0:l.taker):(i=null===(c=n.data)||void 0===c?void 0:c.buyer,o=null===(u=n.data)||void 0===u?void 0:u.storefrontAddress);if("seller"===r.target.classList[0])return p({href:"/user/".concat(o),item:n}),d("/user/".concat(o));if("buyer"===r.target.classList[0])p({href:"/user/".concat(i),item:n});else{var h,f,m,g,v,C,y;const e=(0,us.nftTypeAndIdToLocationData)((null===n||void 0===n||null===(h=n.data)||void 0===h?void 0:h.nftType)||(null===n||void 0===n||null===(f=n.data)||void 0===f||null===(m=f.typeAndIDOffer)||void 0===m?void 0:m.nftType)||"",(null===n||void 0===n||null===(g=n.data)||void 0===g||null===(v=g.nftID)||void 0===v?void 0:v.toString())||(null===n||void 0===n||null===(C=n.data)||void 0===C||null===(y=C.typeAndIDOffer)||void 0===y?void 0:y.nftID)||"");p({href:"/asset/".concat(e.contract.address,"/").concat(e.contract.name,"/").concat(e.resourceName,"/").concat(e.nftID),item:n})}},fields:TA(d),items:a,onSort:i,initialSortConfig:o,stickyHeaders:!0,composeRowHref:e=>{var t,n,r,i,o,a,s;const l=(0,us.nftTypeAndIdToLocationData)((null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.nftType)||(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftType)||"",(null===e||void 0===e||null===(i=e.data)||void 0===i||null===(o=i.nftID)||void 0===o?void 0:o.toString())||(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(s=a.typeAndIDOffer)||void 0===s?void 0:s.nftID)||"");return"/asset/".concat(l.contract.address,"/").concat(l.contract.name,"/").concat(l.resourceName,"/").concat(l.nftID)}}),(0,ms.jsx)("div",{ref:s,children:n?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):u*yA===(null===a||void 0===a?void 0:a.length)&&(0,ms.jsx)(xl,{})})]})},kA=()=>{const{allActivityDocs:e,belowTableRef:t,filterBy:n,isLoading:r,onFilterChangeFn:i,onSortChangeFn:o,showFilter:a,setShowFilter:s,tablePage:l,sort:c,tableSelectedTab:u,onTableChangeTabFn:d}=bA(),h=(0,Bs.dv)();return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"my-[4px]",children:(0,ms.jsx)(Bs.cs,{activeTab:u,tabs:[{id:"SALE",label:"Sales"},{id:"LOAN",label:"Loans"},{id:"RENTAL",label:"Rentals"}],onChange:e=>d(e),type:"xs"===h||"mobile"===h?"secondary":"primary",isCenter:!0})}),"SALE"===u?(0,ms.jsx)(SA,{filterBy:n,isLoading:r,onFilterChangeFn:i,onSortChangeFn:o,sort:c,allActivityDocs:e,belowTableRef:t,showFilter:a,setShowFilter:s,tablePage:l}):"LOAN"===u?(0,ms.jsx)(wA,{filterBy:n,isLoading:r,onFilterChangeFn:i,onSortChangeFn:o,sort:c,allActivityDocs:e,belowTableRef:t,showFilter:a,setShowFilter:s,tablePage:l}):(0,ms.jsx)(AA,{filterBy:n,isLoading:r,onFilterChangeFn:i,onSortChangeFn:o,sort:c,allActivityDocs:e,belowTableRef:t,showFilter:a,setShowFilter:s,tablePage:l})]})},PA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARqSURBVHgBrVU9bBxVEJ73s3dcEjsn5PjgHBJDxV+RIiAkCkQJKZEQkc9nXBgEQkQoBVWggpoCIUSkBNmOI8xPQURBh0QiQYlEgRQginI/RiEYJ87d7e3uG76ZPTs2hsiO8k7v9u3bmW9mvpk3j2gHY9fVs9XCpYWHd6JjtiMUteenmOl14rCbmDKoNdjwx9lY/dwdGyg1Tz2QUOERCLxMzIcBmGGdwVBmDJ5YE5uvsf4mSqjdGZ9sb8uAb84/TYbfhacCHsgoaGqMgecCyhkbSvM1idEgxgxxi1P6MD1YP/+/Blx7/jnD/CkJMJsgHisQsT6ZOIFKDm4AF+SplImR1EIQv+PJ/smf1jDtRgM20PsQcJjYDxbSomMJ7rN6YwYO4TVgwm0y0EJ0+IBAOUDz1U2Y66vW7AEIjAs45/tOpq452BwVeMxiThYBWxkICvCfNWrSt3H6/WRliwFP5qCCWrLwxotr8HBgyFhmzo3AY3xTcBhcgVRTcmKFKskTnlGh9OAWAwCtAUTAHF6cEeDAHpF7+Oet7uFfnGWW/LTuibKZpDpZQ2DfBkZutIQ5wJUjmwxEjbk69KYQO/gHKCs1HngANwiOI4g6yQdkUADUTKL02M3R6SXRRwlfRDR58vP5qGvMHbkVgaF3kD6v3ufce7gagerPsN8GQwUAFGEchrmRFopv0AB8z6+zo9bY5w0rRWme8JAh1hfUQNQ4cwjePsRaOcqz18nmo2Ss/ko6NvkYOP8ce0Ns7d+FzL9Goy/m4O1T++KSOYEcl+FIAodSmdCV81Ki9uI+7ywtp4ESRBHWS5C0dv5c4zGrTsz45uzFqOjPdqpHW7I31FoY6YbwNqT3oszSsJ5MlIFWNUxyskvrOmrNXUYEw6TVoSWnXFpr3uzfX/uC/jWGryze2zH9t9jyqGWl1OaALHgGRQ0q7LWkOnF8UEX2PQD3MLsQWYWJVfhwI4RwojhI1tooL58ud2w8g9OCxmdilFMfdZvgMGAKE0IR2onjr9aTDEuf4JR+hwR24VEPtX0T26v4fAMZO+YbZ55V8Euny9c7vgZn9wAkAROpzTTaDW0DkZM5n1ZqF2iQUB3s3Ekbsse1sZHpo/RiiQp8wRhP+ytzTyIsa0ExITRyNsPps8FpC3Gg3iECI0kAzoVbB3gwCn3zS99RLAHhwPXxlHUXIfaCGLNUASUr0AcNLggNSJiVvoL+QMK+TfX0i+K1TQdNRufA0RaEfoZArDJMiIJi8NvHXmLzi4ZVKWgtoHq1ZQQjDQ/tj6W1O7pK+6e2GsgV0w8UWCZxDDoSKzwDPOR3AW8oZa020BLye8PKncCI4suNmFsunGhp/ilKeRpaw2IMWz0IddE2OvCxq0k07IM2Q6PtQ1oLWsiSdf5cXHnpt9saWBtD1xdG4tV4JCP3BHJ3CD72wHgXxZLZYLT5gbPLrsg/lLxbWilPLP8XzvYu/dbsYXD0jLeuFGSg9p3j75P76j/S3Ry7/1io0F+Le3ei8w+mrFfdh1RC0QAAAABJRU5ErkJggg==",DA=(__webpack_require__.p,e=>{let{totalItems:t,floorPrice:n,totalOwners:r,weekTopSales:i,collectionRoyalty:o,createdDate:a}=e;const s=e=>{const t=Tl()(e).format("0.0a").toLocaleUpperCase();return t.endsWith(".0")?e:t},l=window.location.pathname;(0,sa.useMemo)((()=>l.includes("/collection")),[l]);return(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row gap-3 pb-2 justify-end",children:[(0,ms.jsxs)("div",{className:"flex flex-wrap gap-8 rounded-md border-1",children:[t?(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"text-lg font-semibold leading-8",children:s(t)}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#ADB5BD] whitespace-nowrap",children:"Items"})]}):(0,ms.jsx)(ms.Fragment,{}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsx)("p",{className:"text-lg font-semibold leading-8",children:n?"$".concat(n.toFixed(2)):"-"}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#ADB5BD] whitespace-nowrap",children:"Floor Price"})]}),i&&(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsxs)("p",{className:"text-lg font-semibold leading-8",children:["$",i.toFixed(2)]}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#ADB5BD] whitespace-nowrap",children:"7D Top Sales"})]}),o?(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsxs)("p",{className:"text-lg font-semibold leading-8",children:[(100*Number(o)).toFixed(2),"%"]}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#ADB5BD] whitespace-nowrap",children:"Royalty"})]}):(0,ms.jsx)(ms.Fragment,{}),r&&t?(0,ms.jsxs)("div",{className:"flex flex-col",children:[(0,ms.jsxs)("p",{className:"text-lg font-semibold leading-8",children:[s(r)," (",(100*r/t).toFixed(2),"%)"]}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#ADB5BD] whitespace-nowrap",children:"Unique Owners"})]}):(0,ms.jsx)(ms.Fragment,{})]}),!1]})}),NA=e=>{let{loggedUserAddr:t,loggedIsDapper:n,isNFTCatalog:r,websiteLink:i}=e;const{collectionAddress:o,collectionName:a}=(0,Os.g)(),[s,l]=(0,sa.useState)(!1),[c,u]=(0,sa.useState)(!0),[d,h]=(0,sa.useState)(!1),[p,f]=(0,sa.useState)(!0);(0,sa.useEffect)((()=>{t&&o&&a&&void 0!==r&&(Tf.su.scripts.isCollectionSetup(t,o,a,n||!1,r||!1).then((e=>{u(e)})),n&&Tf.su.scripts.isDapperCollection(o,a).then((e=>{h(e)})))}),[s]);const m=!c&&(!n||d);return(0,ms.jsx)(ms.Fragment,{children:m&&p&&(0,ms.jsxs)("div",{className:"flex flex-row gap-3 max-lg:flex-col bg-[#FFFFFF08] backdrop-blur-[9px] border rounded-md border-[#6c757d52] px-[18px] py-[14px] sm:px-[24px] sm:py-[16px] items-center mt-2 ",children:[(0,ms.jsxs)("div",{className:"flex gap-2 max-w-96",children:[(0,ms.jsxs)("h6",{className:"text-xs text-white",children:["Your wallet's ability to transfer"," ",(0,ms.jsx)("a",{href:i,target:"_blank",rel:"noreferrer",children:a})," ","is limited until you enable the collection."," ",(0,ms.jsx)("a",{href:"https://docs.flowty.io/reference",target:"_blank",rel:"noreferrer",className:"underline",children:"Learn more"})," "]}),(0,ms.jsx)(Ef.A,{className:"md:hidden h-[24px] w-[24px] min-h-[18px] min-w-[18px] hover:cursor-pointer",onClick:()=>f(!1)})]}),(0,ms.jsxs)("div",{className:"max-lg:w-full flex flex-row space-x-4",children:[(0,ms.jsx)("div",{className:"max-lg:flex md:mt-0 max-lg:grow",children:(0,ms.jsx)(Bs.M2,{onClick:async()=>{l(!0),await Tf.su.setupCollection(o||"",a||"",n||!1,r||!1),l(!1)},text:s?(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("div",{className:"flex flex-row justify-center",children:[(0,ms.jsxs)("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,ms.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,ms.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),(0,ms.jsx)("span",{children:"Enabling..."})]})}):(0,ms.jsx)("span",{children:"Enable Collection"}),variant:"secondary",bgColor:"white"})}),(0,ms.jsx)("div",{className:"max-lg:w-full flex max-lg:grow self-center justify-end",children:(0,ms.jsx)(Ef.A,{className:"hidden md:block h-[24px] w-[24px] min-h-[18px] min-w-[18px] hover:cursor-pointer",onClick:()=>f(!1)})})]})]})})};var FA;function IA(){return IA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IA.apply(null,arguments)}function RA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",IA({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,FA||(FA=sa.createElement("path",{d:"M9.07502 3.35999C9.07502 3.35999 6.01877 3.56999 4.02002 5.17499C4.01064 5.17874 3.99939 5.18436 3.99002 5.18999C3.64314 5.51062 3.38252 6.00749 3.06002 6.71999C2.73752 7.43249 2.39627 8.34936 2.08502 9.37499C1.46439 11.4281 0.960017 13.9481 0.960017 16.32C0.958142 16.4044 0.978767 16.4869 1.02002 16.56C1.72127 17.7919 3.01127 18.5362 4.21502 19.005C5.41877 19.4737 6.53064 19.6612 7.09502 19.68C7.25439 19.6856 7.40627 19.6125 7.50002 19.485L8.67002 17.865C9.61314 18.0881 10.7194 18.24 12 18.24C13.2806 18.24 14.3869 18.0881 15.33 17.865L16.5 19.485C16.5938 19.6125 16.7456 19.6856 16.905 19.68C17.4694 19.6612 18.5813 19.4737 19.785 19.005C20.9888 18.5362 22.2788 17.7919 22.98 16.56C23.0213 16.4869 23.0419 16.4044 23.04 16.32C23.04 13.9481 22.5356 11.4281 21.915 9.37499C21.6038 8.34936 21.2625 7.43249 20.94 6.71999C20.6175 6.00749 20.3569 5.51062 20.01 5.18999C20.0006 5.18436 19.9894 5.17874 19.98 5.17499C17.9813 3.56999 14.925 3.35999 14.925 3.35999C14.8894 3.35624 14.8556 3.35624 14.82 3.35999C14.6531 3.38249 14.5125 3.49124 14.445 3.64499C14.445 3.64499 14.2819 4.00312 14.175 4.51499C13.2394 4.36499 12.4519 4.31999 12 4.31999C11.5481 4.31999 10.7606 4.36499 9.82502 4.51499C9.71814 4.00312 9.55502 3.64499 9.55502 3.64499C9.47252 3.45749 9.27939 3.34312 9.07502 3.35999ZM8.77502 4.39499C8.81064 4.49249 8.83502 4.58436 8.86502 4.69499C7.78314 4.94624 6.59814 5.35686 5.49002 6.04499C5.31564 6.11812 5.20127 6.28686 5.19564 6.47624C5.19189 6.66374 5.29877 6.83811 5.46752 6.92061C5.63814 7.00124 5.84064 6.97686 5.98502 6.85499C8.20877 5.47686 11.0381 5.27999 12 5.27999C12.9619 5.27999 15.7913 5.47686 18.015 6.85499C18.1594 6.97686 18.3619 7.00124 18.5325 6.92061C18.7013 6.83811 18.8081 6.66374 18.8044 6.47624C18.7988 6.28686 18.6844 6.11812 18.51 6.04499C17.4019 5.35686 16.2169 4.94624 15.135 4.69499C15.165 4.58436 15.1894 4.49249 15.225 4.39499C15.7725 4.46249 17.9006 4.74936 19.35 5.89499C19.4438 5.98124 19.77 6.46124 20.07 7.12499C20.37 7.78874 20.685 8.65312 20.985 9.64499C21.57 11.58 22.0425 13.9669 22.065 16.155C21.5194 17.0381 20.4956 17.6944 19.44 18.105C18.48 18.4781 17.5838 18.645 17.115 18.69L16.305 17.595C16.7175 17.4619 17.0888 17.3175 17.415 17.175C18.6263 16.6425 19.275 16.08 19.275 16.08C19.4738 15.9019 19.4906 15.5962 19.3125 15.3975C19.1344 15.1987 18.8288 15.1819 18.63 15.36C18.63 15.36 18.1275 15.8194 17.025 16.305C16.62 16.4831 16.1288 16.6594 15.57 16.815C15.4406 16.8 15.3113 16.8375 15.21 16.92C14.3156 17.1375 13.2525 17.28 12 17.28C10.7381 17.28 9.67314 17.1244 8.77502 16.905C8.67377 16.8375 8.55002 16.8094 8.43002 16.83C7.86939 16.6744 7.38189 16.4831 6.97502 16.305C5.87252 15.8194 5.37002 15.36 5.37002 15.36C5.26127 15.2587 5.11127 15.2156 4.96502 15.24C4.77939 15.2681 4.62564 15.4012 4.57502 15.5831C4.52252 15.7631 4.58252 15.9581 4.72502 16.08C4.72502 16.08 5.37377 16.6425 6.58502 17.175C6.91127 17.3175 7.28252 17.4619 7.69502 17.595L6.88502 18.69C6.41627 18.645 5.52002 18.4781 4.56002 18.105C3.50439 17.6944 2.48064 17.0381 1.93502 16.155C1.95752 13.9669 2.43002 11.58 3.01502 9.64499C3.31502 8.65312 3.63002 7.78874 3.93002 7.12499C4.23002 6.46124 4.55627 5.98124 4.65002 5.89499C6.09939 4.74936 8.22752 4.46249 8.77502 4.39499ZM8.88002 10.08C7.65564 10.08 6.72002 11.1919 6.72002 12.48C6.72002 13.7681 7.65564 14.88 8.88002 14.88C10.1044 14.88 11.04 13.7681 11.04 12.48C11.04 11.1919 10.1044 10.08 8.88002 10.08ZM15.12 10.08C13.8956 10.08 12.96 11.1919 12.96 12.48C12.96 13.7681 13.8956 14.88 15.12 14.88C16.3444 14.88 17.28 13.7681 17.28 12.48C17.28 11.1919 16.3444 10.08 15.12 10.08ZM8.88002 11.04C9.51189 11.04 10.08 11.6475 10.08 12.48C10.08 13.3125 9.51189 13.92 8.88002 13.92C8.24814 13.92 7.68002 13.3125 7.68002 12.48C7.68002 11.6475 8.24814 11.04 8.88002 11.04ZM15.12 11.04C15.7519 11.04 16.32 11.6475 16.32 12.48C16.32 13.3125 15.7519 13.92 15.12 13.92C14.4881 13.92 13.92 13.3125 13.92 12.48C13.92 11.6475 14.4881 11.04 15.12 11.04Z",fill:"white"})))}const MA=sa.forwardRef(RA);__webpack_require__.p;var OA;function jA(){return jA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jA.apply(null,arguments)}function LA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",jA({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,OA||(OA=sa.createElement("path",{d:"M19.7039 4.36677C18.2532 3.71907 16.7218 3.25956 15.1486 3C14.9334 3.37529 14.7386 3.76142 14.5651 4.15676C12.8894 3.91051 11.1853 3.91051 9.50966 4.15676C9.33609 3.76146 9.14132 3.37534 8.92614 3C7.352 3.26176 5.81952 3.72235 4.36738 4.37016C1.48451 8.52976 0.703013 12.5861 1.09376 16.5848C2.78204 17.8012 4.67171 18.7264 6.68063 19.32C7.13297 18.7267 7.53324 18.0972 7.87719 17.4384C7.22391 17.2004 6.59339 16.9068 5.99291 16.561C6.15094 16.4493 6.30551 16.3341 6.45486 16.2223C8.20212 17.0237 10.1092 17.4391 12.04 17.4391C13.9708 17.4391 15.8779 17.0237 17.6251 16.2223C17.7762 16.3426 17.9308 16.4577 18.0871 16.561C17.4854 16.9074 16.8537 17.2015 16.1993 17.4401C16.5428 18.0986 16.9431 18.7275 17.3959 19.32C19.4065 18.7288 21.2976 17.8041 22.9862 16.5865C23.4447 11.9492 22.203 7.93021 19.7039 4.36677ZM8.37214 14.1256C7.28325 14.1256 6.38366 13.1619 6.38366 11.9763C6.38366 10.7908 7.25199 9.81863 8.36867 9.81863C9.48534 9.81863 10.378 10.7908 10.3589 11.9763C10.3398 13.1619 9.48187 14.1256 8.37214 14.1256ZM15.7078 14.1256C14.6172 14.1256 13.7211 13.1619 13.7211 11.9763C13.7211 10.7908 14.5894 9.81863 15.7078 9.81863C16.8262 9.81863 17.7119 10.7908 17.6928 11.9763C17.6737 13.1619 16.8176 14.1256 15.7078 14.1256Z",fill:"white"})))}const BA=sa.forwardRef(LA),UA=(__webpack_require__.p,e=>{let{link:t,onSocialLinkClick:n}=e;const[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(!1),s=()=>{n?n(t,(()=>a(!0))):a(!0)};return(0,ms.jsxs)(ms.Fragment,{children:[r?(0,ms.jsx)(BA,{className:"cursor-pointer h-5",onClick:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}):(0,ms.jsx)(MA,{className:"cursor-pointer h-5",onClick:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}),(0,ms.jsx)(Bs.tY,{isOpen:o,linkURL:t,onCloseModal:()=>a(!1)})]})});var VA;function HA(){return HA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HA.apply(null,arguments)}function zA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",HA({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,VA||(VA=sa.createElement("path",{d:"M8.68387 13.3419C8.88616 12.9381 9 12.4824 9 12C9 11.5176 8.88616 11.0619 8.68387 10.6581M8.68387 13.3419C8.19134 14.3251 7.17449 15 6 15C4.34315 15 3 13.6569 3 12C3 10.3431 4.34315 9 6 9C7.17449 9 8.19134 9.67492 8.68387 10.6581M8.68387 13.3419L15.3161 16.6581M8.68387 10.6581L15.3161 7.34193M15.3161 7.34193C15.8087 8.32508 16.8255 9 18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 6.48237 15.1138 6.93815 15.3161 7.34193ZM15.3161 16.6581C15.1138 17.0619 15 17.5176 15 18C15 19.6569 16.3431 21 18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15C16.8255 15 15.8087 15.6749 15.3161 16.6581Z",stroke:"#DEE2E6",strokeLinecap:"round",strokeLinejoin:"round"})))}const ZA=sa.forwardRef(zA);__webpack_require__.p;var WA,qA,GA,YA;function KA(){return KA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KA.apply(null,arguments)}function QA(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",KA({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,WA||(WA=sa.createElement("path",{d:"M21 6C21 7.65685 19.6569 9 18 9C16.8255 9 15.8087 8.32508 15.3161 7.34193C15.1138 6.93815 15 6.48237 15 6C15 4.34315 16.3431 3 18 3C19.6569 3 21 4.34315 21 6Z",fill:"#F8F9FA"})),qA||(qA=sa.createElement("path",{d:"M21 18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18C15 17.5176 15.1138 17.0619 15.3161 16.6581C15.8087 15.6749 16.8255 15 18 15C19.6569 15 21 16.3431 21 18Z",fill:"#F8F9FA"})),GA||(GA=sa.createElement("path",{d:"M9 12C9 12.4824 8.88616 12.9381 8.68387 13.3419C8.19134 14.3251 7.17449 15 6 15C4.34315 15 3 13.6569 3 12C3 10.3431 4.34315 9 6 9C7.17449 9 8.19134 9.67492 8.68387 10.6581C8.88616 11.0619 9 11.5176 9 12Z",fill:"#F8F9FA"})),YA||(YA=sa.createElement("path",{d:"M8.68387 13.3419C8.88616 12.9381 9 12.4824 9 12C9 11.5176 8.88616 11.0619 8.68387 10.6581M8.68387 13.3419C8.19134 14.3251 7.17449 15 6 15C4.34315 15 3 13.6569 3 12C3 10.3431 4.34315 9 6 9C7.17449 9 8.19134 9.67492 8.68387 10.6581M8.68387 13.3419L15.3161 16.6581M8.68387 10.6581L15.3161 7.34193M15.3161 7.34193C15.8087 8.32508 16.8255 9 18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 6.48237 15.1138 6.93815 15.3161 7.34193ZM15.3161 16.6581C15.1138 17.0619 15 17.5176 15 18C15 19.6569 16.3431 21 18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15C16.8255 15 15.8087 15.6749 15.3161 16.6581Z",stroke:"#F8F9FA",strokeLinecap:"round",strokeLinejoin:"round"})))}const XA=sa.forwardRef(QA),JA=(__webpack_require__.p,e=>{let{shareFn:t}=e;const[n,r]=(0,sa.useState)(!1);return(0,ms.jsx)(ms.Fragment,{children:n?(0,ms.jsx)(XA,{className:"cursor-pointer h-5",onClick:t,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)}):(0,ms.jsx)(ZA,{className:"cursor-pointer h-5",onClick:t,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)})})});var $A;function eE(){return eE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eE.apply(null,arguments)}function tE(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",eE({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,$A||($A=sa.createElement("path",{d:"M23 3.00005C22.0424 3.67552 20.9821 4.19216 19.86 4.53005C19.2577 3.83756 18.4573 3.34674 17.567 3.12397C16.6767 2.90121 15.7395 2.95724 14.8821 3.2845C14.0247 3.61176 13.2884 4.19445 12.773 4.95376C12.2575 5.71308 11.9877 6.61238 12 7.53005V8.53005C10.2426 8.57561 8.50127 8.18586 6.93101 7.39549C5.36074 6.60513 4.01032 5.43868 3 4.00005C3 4.00005 -1 13 8 17C5.94053 18.398 3.48716 19.099 1 19C10 24 21 19 21 7.50005C20.9991 7.2215 20.9723 6.94364 20.92 6.67005C21.9406 5.66354 22.6608 4.39276 23 3.00005Z",stroke:"#DEE2E6",strokeLinecap:"round",strokeLinejoin:"round"})))}const nE=sa.forwardRef(tE);__webpack_require__.p;var rE;function iE(){return iE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iE.apply(null,arguments)}function oE(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",iE({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,rE||(rE=sa.createElement("path",{d:"M23 3.00005C22.0424 3.67552 20.9821 4.19216 19.86 4.53005C19.2577 3.83756 18.4573 3.34674 17.567 3.12397C16.6767 2.90121 15.7395 2.95724 14.8821 3.2845C14.0247 3.61176 13.2884 4.19445 12.773 4.95376C12.2575 5.71308 11.9877 6.61238 12 7.53005V8.53005C10.2426 8.57561 8.50127 8.18586 6.93101 7.39549C5.36074 6.60513 4.01032 5.43868 3 4.00005C3 4.00005 -1 13 8 17C5.94053 18.398 3.48716 19.099 1 19C10 24 21 19 21 7.50005C20.9991 7.2215 20.9723 6.94364 20.92 6.67005C21.9406 5.66354 22.6608 4.39276 23 3.00005Z",fill:"#F8F9FA",stroke:"#F8F9FA",strokeLinecap:"round",strokeLinejoin:"round"})))}const aE=sa.forwardRef(oE),sE=(__webpack_require__.p,e=>{let{link:t,onSocialLinkClick:n}=e;const[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(!1),s=()=>{n?n(t,(()=>a(!0))):a(!0)};return(0,ms.jsxs)(ms.Fragment,{children:[r?(0,ms.jsx)(aE,{className:"cursor-pointer h-5",onClick:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}):(0,ms.jsx)(nE,{className:"cursor-pointer h-5",onClick:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}),(0,ms.jsx)(Bs.tY,{isOpen:o,linkURL:t,onCloseModal:()=>a(!1)})]})});var lE;function cE(){return cE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cE.apply(null,arguments)}function uE(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",cE({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,lE||(lE=sa.createElement("path",{d:"M21 12C21 16.9706 16.9706 21 12 21M21 12C21 7.02944 16.9706 3 12 3M21 12H3M12 21C7.02944 21 3 16.9706 3 12M12 21C13.6569 21 15 16.9706 15 12C15 7.02944 13.6569 3 12 3M12 21C10.3431 21 9 16.9706 9 12C9 7.02944 10.3431 3 12 3M3 12C3 7.02944 7.02944 3 12 3",stroke:"#DEE2E6",strokeLinecap:"round",strokeLinejoin:"round"})))}const dE=sa.forwardRef(uE);__webpack_require__.p;var hE,pE,fE;function mE(){return mE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mE.apply(null,arguments)}function gE(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",mE({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,hE||(hE=sa.createElement("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",fill:"#F8F9FA"})),pE||(pE=sa.createElement("path",{d:"M15 12C15 16.9706 13.6569 21 12 21C10.3431 21 9 16.9706 9 12C9 7.02944 10.3431 3 12 3C13.6569 3 15 7.02944 15 12Z",fill:"#F8F9FA"})),fE||(fE=sa.createElement("path",{d:"M21 12C21 16.9706 16.9706 21 12 21M21 12C21 7.02944 16.9706 3 12 3M21 12H3M12 21C7.02944 21 3 16.9706 3 12M12 21C13.6569 21 15 16.9706 15 12C15 7.02944 13.6569 3 12 3M12 21C10.3431 21 9 16.9706 9 12C9 7.02944 10.3431 3 12 3M3 12C3 7.02944 7.02944 3 12 3",stroke:"#031021",strokeLinecap:"round",strokeLinejoin:"round"})))}const vE=sa.forwardRef(gE),CE=(__webpack_require__.p,e=>{let{link:t,onSocialLinkClick:n}=e;const[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(!1);return(0,ms.jsxs)(ms.Fragment,{children:[r?(0,ms.jsx)(vE,{className:"cursor-pointer h-5",onClick:()=>n(t,(()=>a(!0))),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}):(0,ms.jsx)(dE,{className:"cursor-pointer h-5",onClick:()=>n(t,(()=>a(!0))),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1)}),(0,ms.jsx)(Bs.tY,{isOpen:o,linkURL:t,onCloseModal:()=>a(!1)})]})}),yE=e=>{let{link:t,onSocialLinkClick:n}=e;const[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)(!1);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",className:"cursor-pointer h-5 w-[14px]",onClick:()=>{n?n(t,(()=>a(!0))):a(!0)},onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),fill:"#F8F9FA",children:(0,ms.jsx)("path",{d:"M5.4002 0.200195C2.53319 0.200195 0.200195 2.53319 0.200195 5.4002V12.6002C0.200195 15.4672 2.53319 17.8002 5.4002 17.8002H12.6002C15.4672 17.8002 17.8002 15.4672 17.8002 12.6002V5.4002C17.8002 2.53319 15.4672 0.200195 12.6002 0.200195H5.4002ZM5.4002 1.0002H12.6002C15.0348 1.0002 17.0002 2.9656 17.0002 5.4002V12.6002C17.0002 15.0348 15.0348 17.0002 12.6002 17.0002H5.4002C2.9656 17.0002 1.0002 15.0348 1.0002 12.6002V5.4002C1.0002 2.9656 2.9656 1.0002 5.4002 1.0002ZM13.8002 3.4002C13.588 3.4002 13.3845 3.48448 13.2345 3.63451C13.0845 3.78454 13.0002 3.98802 13.0002 4.2002C13.0002 4.41237 13.0845 4.61585 13.2345 4.76588C13.3845 4.91591 13.588 5.0002 13.8002 5.0002C14.0124 5.0002 14.2159 4.91591 14.3659 4.76588C14.5159 4.61585 14.6002 4.41237 14.6002 4.2002C14.6002 3.98802 14.5159 3.78454 14.3659 3.63451C14.2159 3.48448 14.0124 3.4002 13.8002 3.4002ZM9.0002 4.6002C6.57488 4.6002 4.6002 6.57488 4.6002 9.0002C4.6002 11.4255 6.57488 13.4002 9.0002 13.4002C11.4255 13.4002 13.4002 11.4255 13.4002 9.0002C13.4002 6.57488 11.4255 4.6002 9.0002 4.6002ZM9.0002 5.4002C10.9932 5.4002 12.6002 7.00723 12.6002 9.0002C12.6002 10.9932 10.9932 12.6002 9.0002 12.6002C7.00723 12.6002 5.4002 10.9932 5.4002 9.0002C5.4002 7.00723 7.00723 5.4002 9.0002 5.4002Z",stroke:r?"#F8F9FA":"transparent",fill:"#F8F9FA"})}),(0,ms.jsx)(Bs.tY,{isOpen:o,linkURL:t,onCloseModal:()=>a(!1)})]})},bE=e=>{let{websiteLink:t,twitter:n,discord:r,instagram:i,isTrustableCollection:o}=e;const a=(e,t)=>{o?window.open(e,"_blank"):t()};return(0,ms.jsxs)("div",{className:"flex gap-2 justify-end",children:[t&&(0,ms.jsx)(CE,{link:t,onSocialLinkClick:a}),n&&(0,ms.jsx)(sE,{link:n,onSocialLinkClick:a}),r&&(0,ms.jsx)(UA,{link:r,onSocialLinkClick:a}),i&&(0,ms.jsx)(yE,{link:i,onSocialLinkClick:a}),(0,ms.jsx)(JA,{shareFn:()=>{navigator.clipboard.writeText(window.location.href),pc().fire({icon:"success",showConfirmButton:!1,timer:1500,title:"Link Copied"})}})]})},wE=()=>(0,ms.jsxs)("div",{className:"flex flex-col gap-3 py-8",children:[(0,ms.jsxs)("div",{className:"flex gap-5",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[rgba(116,118,117,0.8)] h-[92px] w-[92px] rounded-[12px] shadow-customCollectionPage border border-[#6C757D]"}),(0,ms.jsxs)("div",{className:"flex max-md:flex-col max-md:items-start max-md:gap-3 items-end bg-cover w-auto rounded-[24px]",children:[(0,ms.jsx)("div",{className:"w-full h-fit flex gap-4",children:(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-between",children:[(0,ms.jsx)("div",{className:"mt-3"}),(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-between",children:[(0,ms.jsxs)("div",{className:"flex flex-row gap-3 items-center mb-3",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[170px] h-[34px] rounded-md"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-2 sm:pl-4 w-[28px] h-[28px] rounded-full"})]}),(0,ms.jsxs)("div",{className:"gap-3 hidden sm:flex",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"})]})]})]})}),(0,ms.jsxs)("div",{className:"gap-3 flex sm:hidden",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] pl-4 w-[28px] h-[28px] rounded-full"})]})]})]}),(0,ms.jsxs)("div",{className:"w-full flex justify-between max-md:flex-col",children:[(0,ms.jsxs)("div",{className:"w-full sm:w-3/5 xl:w-2/5 md:self-center flex flex-col gap-2",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-full h-[17px] rounded-md pb-2"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-4/5 h-[17px] rounded-md"})]}),(0,ms.jsx)("div",{className:"flex gap-3 pb-2",children:(0,ms.jsxs)("div",{className:"flex gap-5 py-[16px]",children:[(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[41px] h-[17px] rounded-md"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[51px] h-[22px] rounded-md"})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[76px] h-[17px] rounded-md"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[46px] h-[22px] rounded-md"})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[86px] h-[17px] rounded-md"}),(0,ms.jsx)("div",{className:"animate-pulse bg-[#747675cb] w-[103px] h-[22px] rounded-md"})]})]})})]})]}),xE=e=>{var t,n,r,i,o,a,s,l;let{collectionName:c,loggedUserAddr:u,loggedIsDapper:d,totalItems:h,floorPrice:p,totalOwners:f,weekTopSales:m,createdDate:g,isTrustableCollection:v}=e;const{collection:C,isLoading:y,collectionDropData:b}=CA(),w=null===C||void 0===C||null===(t=C.collectionDisplay)||void 0===t?void 0:t.socials,x=null===w||void 0===w||null===(n=w.twitter)||void 0===n?void 0:n.url,A=null===w||void 0===w||null===(r=w.discord)||void 0===r?void 0:r.url,E=null===w||void 0===w||null===(i=w.instagram)||void 0===i?void 0:i.url,_=c&&c.includes("FLOAT")?"https://floats.city/":null===C||void 0===C||null===(o=C.collectionDisplay)||void 0===o?void 0:o.externalURL.url,T=(null===C||void 0===C||null===(a=C.collectionDisplay)||void 0===a?void 0:a.description)||"";return(0,ms.jsx)(ms.Fragment,{children:y?(0,ms.jsx)(wE,{}):(0,ms.jsxs)("div",{className:"flex flex-col gap-[1.2rem] py-8",children:[(0,ms.jsxs)("div",{className:"flex flex-row space-x-4 items-center flex-grow",children:[(0,ms.jsxs)("div",{className:"flex flex-row space-x-4 items-center gap-4 grow",children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("img",{className:"h-[96px] w-[96px] min-w-[96px] xl:h-[92px] xl:w-[92px] xl:min-w-[92px] bg-cover bg-no-repeat rounded-[12px] sm:h-18 sm:w-18 shadow-customCollectionPage border border-[#6C757D] backdrop-blur-[32px] bg-glassFillGray bg-blur",src:c?(0,us.getSquareImage)(c,C):rl.A,alt:null!==C&&void 0!==C&&null!==(s=C.collectionDisplay)&&void 0!==s&&s.name?null===C||void 0===C||null===(l=C.collectionDisplay)||void 0===l?void 0:l.name:"",onError:ol.R})}),(0,ms.jsxs)("div",{className:"flex flex-col items-start justify-start gap-y-3",children:[(0,ms.jsxs)("div",{className:"flex flex-row items-center",children:[(0,ms.jsx)("span",{className:"text-2xl sm:text-3xl font-bold truncate max-sm:max-w-[240px] max-w-[640px]",children:null===c||void 0===c?void 0:c.replaceAll("-"," ")}),(null===C||void 0===C?void 0:C.isNFTCatalog)&&(0,ms.jsxs)("div",{className:"pl-3",children:[(0,ms.jsx)(nc.m_,{id:"".concat(null===C||void 0===C?void 0:C.name,"-verified-tooltip"),style:{backdropFilter:"blur(100px)",backgroundColor:"#33333380",zIndex:999},anchorSelect:"#anchor-select",clickable:!0,children:(0,ms.jsxs)("div",{className:"flex flex-col gap-2 z-50",children:[(0,ms.jsxs)("div",{className:"flex gap-1",children:[(0,ms.jsx)("img",{src:PA,alt:"Catalog check mark",className:"w-[16px] h-[16px]"}),(0,ms.jsx)("p",{className:"text-sm font-medium text-[#F8F9FA]",children:"Verified Collection"})]}),(0,ms.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,ms.jsx)("p",{className:"text-sm font-normal text-[#ADB5BD] leading-none",children:"Verified by the"}),(0,ms.jsx)("a",{href:"https://www.flow-nft-catalog.com/",target:"_blank",rel:"noreferrer",className:" text-sm font-normal text-[#04E5A3] leading-none",children:"Flow NFT Catalog"})]})]})}),(0,ms.jsx)("button",{id:"anchor-select",children:(0,ms.jsx)("img",{className:"w-[18px] h-[18px] sm:w-[22px] sm:h-[22px]",src:PA,alt:"Catalog check mark","data-tooltip-place":"top","data-tooltip-id":"".concat(null===C||void 0===C?void 0:C.name,"-verified-tooltip")})})]})]}),(0,ms.jsx)("div",{children:(0,ms.jsx)(bE,{websiteLink:_,discord:A,twitter:x,instagram:E,isTrustableCollection:v})})]})]}),(0,ms.jsx)("div",{className:"hidden md:block",children:(0,ms.jsx)(NA,{isNFTCatalog:null===C||void 0===C?void 0:C.isNFTCatalog,loggedIsDapper:d,loggedUserAddr:u,websiteLink:_})})]}),(0,ms.jsxs)("div",{className:"flex flex-row max-md:flex-col max-md:items-start gap-3 items-center flex-grow",children:[T&&(0,ms.jsx)("div",{className:"grow w-full max-w-4xl py-4 px-6 rounded-md bg-white bg-opacity-5 backdrop-blur-lg custom-collection-border custom-collection-bg",children:(0,ms.jsx)("p",{className:"text-[#ADB5BD] text-sm font-medium",children:T})}),(0,ms.jsx)("div",{className:"w-full flex justify-end max-md:justify-start m-0",children:(0,ms.jsx)(DA,{createdDate:g,floorPrice:p,totalItems:h,totalOwners:f,weekTopSales:m,collectionRoyalty:null===b||void 0===b?void 0:b.royaltyRate})}),(0,ms.jsx)("div",{className:"block md:hidden",children:(0,ms.jsx)(NA,{isNFTCatalog:null===C||void 0===C?void 0:C.isNFTCatalog,loggedIsDapper:d,loggedUserAddr:u,websiteLink:_})})]})]})})};var AE=__webpack_require__(26284),EE=__webpack_require__.n(AE),_E=__webpack_require__(30274),TE=__webpack_require__.n(_E),SE=__webpack_require__(45006),kE=__webpack_require__.n(SE),PE="bodyAttributes",DE="htmlAttributes",NE="titleAttributes",FE={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},IE=(Object.keys(FE).map((function(e){return FE[e]})),"charset"),RE="cssText",ME="href",OE="http-equiv",jE="innerHTML",LE="itemprop",BE="name",UE="property",VE="rel",HE="src",zE="target",ZE={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},WE="defaultTitle",qE="defer",GE="encodeSpecialCharacters",YE="onChangeClientState",KE="titleTemplate",QE=Object.keys(ZE).reduce((function(e,t){return e[ZE[t]]=t,e}),{}),XE=[FE.NOSCRIPT,FE.SCRIPT,FE.STYLE],JE="data-react-helmet",$E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n_=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},r_=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},i_=function(e){var t=c_(e,FE.TITLE),n=c_(e,KE);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=c_(e,WE);return t||r||void 0},o_=function(e){return c_(e,YE)||function(){}},a_=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return t_({},e,t)}),{})},s_=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[FE.BASE]})).map((function(e){return e[FE.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},l_=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&f_("Helmet: "+e+' should be of type "Array". Instead found type "'+$E(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],l=s.toLowerCase();-1===t.indexOf(l)||n===VE&&"canonical"===e[n].toLowerCase()||l===VE&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==jE&&s!==RE&&s!==LE||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],l=kE()({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},c_=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},u_=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){u_(t)}),0)}}(),d_=function(e){return clearTimeout(e)},h_="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||u_:__webpack_require__.g.requestAnimationFrame||u_,p_="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||d_:__webpack_require__.g.cancelAnimationFrame||d_,f_=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},m_=null,g_=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,h=e.titleAttributes;y_(FE.BODY,r),y_(FE.HTML,i),C_(d,h);var p={baseTag:b_(FE.BASE,n),linkTags:b_(FE.LINK,o),metaTags:b_(FE.META,a),noscriptTags:b_(FE.NOSCRIPT,s),scriptTags:b_(FE.SCRIPT,c),styleTags:b_(FE.STYLE,u)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},v_=function(e){return Array.isArray(e)?e.join(""):e},C_=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=v_(e)),y_(FE.TITLE,t)},y_=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(JE),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d--)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute(JE):n.getAttribute(JE)!==a.join(",")&&n.setAttribute(JE,a.join(","))}},b_=function(e,t){var n=document.head||document.querySelector(FE.HEAD),r=n.querySelectorAll(e+"["+JE+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===jE)n.innerHTML=t.innerHTML;else if(r===RE)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(JE,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},w_=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},x_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[ZE[n]||n]=e[n],t}),t)},A_=function(e,t,n){switch(e){case FE.TITLE:return{toComponent:function(){return function(e,t,n){var r,i=((r={key:t})[JE]=!0,r),o=x_(n,i);return[sa.createElement(FE.TITLE,o,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=w_(n),o=v_(t);return i?"<"+e+" "+JE+'="true" '+i+">"+r_(o,r)+"</"+e+">":"<"+e+" "+JE+'="true">'+r_(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case PE:case DE:return{toComponent:function(){return x_(t)},toString:function(){return w_(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[JE]=!0,r);return Object.keys(t).forEach((function(e){var n=ZE[e]||e;if(n===jE||n===RE){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),sa.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===jE||e===RE)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+r_(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===XE.indexOf(e);return t+"<"+e+" "+JE+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},E_=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,h=e.titleAttributes;return{base:A_(FE.BASE,t,r),bodyAttributes:A_(PE,n,r),htmlAttributes:A_(DE,i,r),link:A_(FE.LINK,o,r),meta:A_(FE.META,a,r),noscript:A_(FE.NOSCRIPT,s,r),script:A_(FE.SCRIPT,l,r),style:A_(FE.STYLE,c,r),title:A_(FE.TITLE,{title:d,titleAttributes:h},r)}},__=function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!TE()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case FE.SCRIPT:case FE.NOSCRIPT:return{innerHTML:t};case FE.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return t_({},r,((t={})[n.type]=[].concat(r[n.type]||[],[t_({},i,this.mapNestedChildrenToProps(n,o))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case FE.TITLE:return t_({},i,((t={})[r.type]=a,t.titleAttributes=t_({},o),t));case FE.BODY:return t_({},i,{bodyAttributes:t_({},o)});case FE.HTML:return t_({},i,{htmlAttributes:t_({},o)})}return t_({},i,((n={})[r.type]=t_({},o),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=t_({},t);return Object.keys(e).forEach((function(t){var r;n=t_({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return sa.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[QE[n]||n]=e[n],t}),t)}(n_(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case FE.LINK:case FE.META:case FE.NOSCRIPT:case FE.SCRIPT:case FE.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=n_(t,["children"]),i=t_({},r);return n&&(i=this.mapChildrenToProps(n,i)),sa.createElement(e,i)},e_(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(sa.Component),t.propTypes={base:ha().object,bodyAttributes:ha().object,children:ha().oneOfType([ha().arrayOf(ha().node),ha().node]),defaultTitle:ha().string,defer:ha().bool,encodeSpecialCharacters:ha().bool,htmlAttributes:ha().object,link:ha().arrayOf(ha().object),meta:ha().arrayOf(ha().object),noscript:ha().arrayOf(ha().object),onChangeClientState:ha().func,script:ha().arrayOf(ha().object),style:ha().arrayOf(ha().object),title:ha().string,titleAttributes:ha().object,titleTemplate:ha().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=E_({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(EE()((function(e){return{baseTag:s_([ME,zE],e),bodyAttributes:a_(PE,e),defer:c_(e,qE),encode:c_(e,GE),htmlAttributes:a_(DE,e),linkTags:l_(FE.LINK,[VE,ME],e),metaTags:l_(FE.META,[BE,IE,OE,UE,LE],e),noscriptTags:l_(FE.NOSCRIPT,[jE],e),onChangeClientState:o_(e),scriptTags:l_(FE.SCRIPT,[HE,jE],e),styleTags:l_(FE.STYLE,[RE],e),title:i_(e),titleAttributes:a_(NE,e)}}),(function(e){m_&&p_(m_),e.defer?m_=h_((function(){g_(e,(function(){m_=null}))})):(g_(e),m_=null)}),E_)((function(){return null})));__.renderStatic=__.rewind;const T_=e=>{let{metaImage:t,metaTitle:n,metaDescription:r}=e;return(0,ms.jsx)(ms.Fragment,{children:t&&(0,ms.jsx)(Ja,{children:(0,ms.jsxs)(__,{children:[(0,ms.jsx)("meta",{name:"description",content:r}),(0,ms.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,ms.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ms.jsx)("meta",{name:"twitter:site",content:"@flowty"}),(0,ms.jsx)("meta",{name:"twitter:title",content:n}),(0,ms.jsx)("meta",{name:"twitter:description",content:r}),(0,ms.jsx)("meta",{name:"twitter:image",content:t}),(0,ms.jsx)("meta",{name:"description",content:r}),(0,ms.jsx)("meta",{property:"og:title",content:n}),(0,ms.jsx)("meta",{property:"og:description",content:r}),(0,ms.jsx)("meta",{property:"og:image",content:t}),(0,ms.jsx)("title",{children:n})]},t)})})},S_=e=>{let{isDrop:t,selectedTab:n,onSelectedTabChange:r}=e;const{fetchSearchResults:i}=Sb();return(0,ms.jsx)("div",{className:"border-b border-neutral-200",children:(0,ms.jsx)("nav",{className:"flex justify-between","aria-label":"Tabs",children:(0,ms.jsx)("div",{className:"-mb-px flex space-x-8",children:[{key:"LISTINGS",name:"Listings"},{key:"ACTIVITY",name:"Activity"},{key:"DROP",name:"Drop"}].map((e=>"Drop"!==e.name||t?(0,ms.jsx)("button",{onClick:()=>{r(e.key),"LISTINGS"===e.key&&i(!0)},className:"font-bold font-montserrat uppercase text-base text-neutral-900 px-6 py-1.5\n\t\t\t\t\t\t\t".concat(e.key===n?"border-neutral-900":"border-transparent",' \n\t\t\t\t\t\t\t"whitespace-nowrap px-2 border-b-[4px] text-sm"\n\t\t\t\t\t\t'),children:e.name},e.name):null))})})})},k_=()=>(0,ms.jsxs)("div",{className:"py-20 flex max-lg:flex-col justify-center gap-20 max-lg:gap-0",children:[(0,ms.jsx)("div",{className:"flex w-full h-full max-w-[648px] tablet:w-[648px] tablet:h-[648px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"}),(0,ms.jsxs)("div",{className:"flex flex-col justify-center gap-10 py-16 max-lg:w-full w-[400px]",children:[(0,ms.jsx)("div",{className:"flex h-[30px] max-lg:w-full w-[135px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"}),(0,ms.jsxs)("div",{className:"flex flex-col gap-4 max-lg:w-full w-[350px] rounded-[2.5rem]",children:[(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[150px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"}),(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[350px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-4 max-lg:w-full w-[350px] rounded-[2.5rem]",children:[(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[180px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"}),(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[300px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"})]}),(0,ms.jsxs)("div",{className:"flex flex-col gap-4 max-lg:w-full w-[350px] rounded-[2.5rem]",children:[(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[180px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"}),(0,ms.jsx)("div",{className:"flex h-[20px] max-lg:w-full w-[330px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"})]}),(0,ms.jsx)("div",{className:"flex h-[35px] max-lg:w-full w-[400px] animate-pulse bg-[#43ff640a] rounded-[2.5rem]"})]})]}),P_=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r;let{authStore:i}=e;const{onSelectedTabChange:o,selectedTab:a,collection:s,collectionAddress:l,collectionName:c,collectionDisplayName:u,isDapper:d,flowtyTokenBalance:h,collectionDropData:p,isLoadingDrop:f}=CA(i),{selectCard:m}=my(),g=(0,cy.s)(us.SupportedTokens.FLOW);(0,sa.useEffect)((()=>{ds.o.track("".concat(c," page visited"),{tab:"Collection"})}),[]);const v=null!==s&&void 0!==s&&null!==(t=s.collectionDisplay)&&void 0!==t&&t.name?s.collectionDisplay.name:u,C=null===v||void 0===v?void 0:v.replaceAll("-"," "),y="".concat(null!==C&&void 0!==C?C:"collections"," on Flowty: Buy, Sell, Loan and Rent ").concat(null!==C&&void 0!==C?C:""," NFTs"),b=null!==(n=null===s||void 0===s||null===(r=s.collectionDisplay)||void 0===r?void 0:r.description)&&void 0!==n?n:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",w=(0,sa.useMemo)((()=>(0,us.getBannerImage)(c,s)),[c,s]),x=(0,sa.useCallback)((e=>{m({selected:{contractAddress:e.contractAddress,contractName:e.contractName,nftID:e.nftID,nftType:e.nftType}})}),[]),A=(0,sa.useMemo)((()=>{const e=!f&&p;return{dropStatus:null!==p&&void 0!==p&&p.phases[0].hasEnded?"ENDED":null!==p&&void 0!==p&&p.phases[0].hasStarted?"LIVE":"COMING",showDropTab:e}}),[p,f,a]),E=(0,sa.useMemo)((()=>bC.some((e=>e.collectionAddress===l&&e.collectionName===c))),[s]);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(T_,{metaImage:w,metaDescription:b,metaTitle:y}),(0,ms.jsx)(Tb,{endpoint:"collection",collectionPage:[l,c],children:()=>{var e,t,n,r,m;return(0,ms.jsx)(cv,{children:(0,ms.jsxs)("div",{className:"container",children:[(0,ms.jsx)("div",{className:"lg:mt-0",children:(0,ms.jsx)(xE,{collectionName:u,loggedIsDapper:(null===i||void 0===i||null===(e=i.loggedUser)||void 0===e?void 0:e.isDapper)||!1,loggedUserAddr:(null===i||void 0===i||null===(t=i.loggedUser)||void 0===t?void 0:t.addr)||"",createdDate:void 0,floorPrice:null===s||void 0===s||null===(n=s.floorPrice)||void 0===n?void 0:n.valueInUSD,totalItems:null===s||void 0===s?void 0:s.totalItems,totalOwners:null===s||void 0===s?void 0:s.totalOwners,weekTopSales:void 0,isTrustableCollection:E})}),(0,ms.jsx)("div",{className:"py-3 md:pb-[20px] sticky top-[74px] z-20 bg-darkBg",children:(0,ms.jsx)(S_,{isDrop:Boolean(p),onSelectedTabChange:o,selectedTab:a})}),(0,ms.jsxs)("div",{children:["LISTINGS"===a&&(0,ms.jsx)(gA,{handleSelectCard:x,showVisitDrop:A,onSelectedTabChange:o}),"ACTIVITY"===a&&(0,ms.jsx)(kA,{}),"DROP"===a&&(0,ms.jsx)(ms.Fragment,{children:f?(0,ms.jsx)(k_,{}):p&&(0,ms.jsx)(Bs.KE,{isDapper:d,flowty:Tf.su,loggedUser:null!==(r=null===i||void 0===i||null===(m=i.loggedUser)||void 0===m?void 0:m.addr)&&void 0!==r?r:void 0,flowTokenBalance:h,spotPrice:g,dropData:p,contractAddress:l||"",contractName:c||"",collectionDisplayName:u||"",sendToCollectionPage:()=>o("LISTINGS")})})]})]})})}})]})})));var D_=__webpack_require__(97776);const N_=e=>{let{price:t,paymentType:n,toolTipCustomId:r}=e;if(!t)return(0,ms.jsx)(ms.Fragment,{children:"N/A"});const i=parseFloat(t);if(0===i)return(0,ms.jsx)(ms.Fragment,{children:"FREE"});const o=n?(0,us.getTokenFromType)(n):us.SupportedTokens.FLOW;return(0,ms.jsx)(Bs.GM,{price:i,token:o,toolTipCustomId:r})},F_=e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S;let{contract:k,collectionName:P,getDropStatus:D}=e;const[N,F]=(0,sa.useState)(!1),I=D(null===(t=k.drops)||void 0===t?void 0:t[0]),R="ENDED"===I,M="/collection/".concat(null===k||void 0===k||null===(n=k.drops[0])||void 0===n?void 0:n.address,"/").concat(P,'?orderFilters=%7B"all"%3A%7B%7D%7D&sort=%7B"direction"%3A"desc"%2C"listingKind"%3Anull%2C"path"%3A"blockTimestamp"%7D&page=drop'),O="/collection/".concat(null===k||void 0===k||null===(r=k.drops[0])||void 0===r?void 0:r.address,"/").concat(P);return(0,ms.jsxs)(ca.N_,{to:R?O:M,className:"flex w-full max-sm:w-full relative self-center justify-self-center py-[16px] sm:py-[12px] px-[12px] sm:px-[14px] flex-col sm:items-start gap-[12px] rounded-[6.339px] border-[0.792px] border-neutral-300 bg-gradient-to-br from-[rgba(255,255,255,0.12)] to-[rgba(255,255,255,0.06)] backdrop-blur-[16.640px]",children:[(0,ms.jsxs)("div",{className:"w-full flex flex-col items-start gap-[12px]",children:[(0,ms.jsxs)("div",{className:"flex w-full  sm:h-[18px] justify-between items-center",children:[(0,ms.jsxs)("div",{className:"flex flex-column items-center gap-[12px]",children:[(0,ms.jsx)("img",{src:(0,us.getSquareImage)(null!==(i=null===k||void 0===k?void 0:k.name)&&void 0!==i?i:"",k),alt:"thumbnail",onError:ol.R,className:"w-[52px] h-[52px] sm:hidden"}),(0,ms.jsx)("div",{className:" text-[#F8F9FA] sm:max-w-[180px] font-montserrat sm:truncate sm:overflow-hidden text-[14px] sm:text-[12px] 3xl:text-[14.263px] font-black leading-normal uppercase",children:null===k||void 0===k||null===(o=k.collectionDisplay)||void 0===o?void 0:o.name})]}),(0,ms.jsx)("div",{className:"pl-[6px]",children:(0,ms.jsx)(D_.X,{dropStatus:I,card:!0})})]}),!N&&(0,ms.jsx)("div",{className:"hidden sm:flex ".concat("w-full object-fill aspect-square"," animate-pulse bg-[#43ff640a] ").concat(N?"hidden":"")}),(0,ms.jsx)("div",{className:"hidden sm:flex w-full h-full ".concat(N?"object-fill aspect-square":"sm:hidden"),children:(0,ms.jsx)("img",{src:(0,us.getSquareImage)(null!==(a=null===k||void 0===k||null===(s=k.collectionDisplay)||void 0===s?void 0:s.name)&&void 0!==a?a:"",k),alt:"thumbnail",onLoad:()=>{F(!0)},onError:ol.R,className:"".concat(N?"object-fill aspect-square w-full":"hidden")})})]}),(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center gap-[8px] self-stretch",children:[(0,ms.jsxs)("div",{className:"flex w-full justify-between items-end",children:[(0,ms.jsx)("span",{className:"text-white font-montserrat text-[14px] sm:text-[10.366px] 3xl:text-[12px] font-normal leading-normal",children:"Mint Price"}),(0,ms.jsx)("span",{children:(0,ms.jsx)(N_,{price:null===k||void 0===k||null===(l=k.drops)||void 0===l||null===(c=l[0])||void 0===c||null===(u=c.phases)||void 0===u||null===(d=u[0])||void 0===d||null===(h=d.quotes)||void 0===h||null===(p=h[Tf.su.config.getIdentifier("FlowToken","Vault")])||void 0===p?void 0:p.price,paymentType:null===k||void 0===k||null===(f=k.drops)||void 0===f||null===(m=f[0])||void 0===m||null===(g=m.phases)||void 0===g||null===(v=g[0])||void 0===v||null===(C=v.paymentTypes)||void 0===C?void 0:C[0],toolTipCustomId:"drop-price-tooltip"})})]}),(0,ms.jsxs)("div",{className:"flex w-full justify-between items-end",children:[(0,ms.jsx)("span",{className:"text-[#CED4DA] font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-normal leading-normal",children:"Quantity Minted"}),(0,ms.jsx)("span",{className:"text-[#CED4DA] text-right font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-medium leading-normal",children:null===k||void 0===k||null===(y=k.drops[0])||void 0===y?void 0:y.totalMinted})]}),(0,ms.jsxs)("div",{className:"flex w-full justify-between items-end",children:[(0,ms.jsx)("span",{className:"text-[#CED4DA] font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-normal leading-normal",children:"Mint Start"}),(0,ms.jsx)("span",{className:"text-[#CED4DA] text-right font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-medium leading-normal",children:(null===k||void 0===k||null===(b=k.drops[0])||void 0===b||null===(w=b.phases[0])||void 0===w?void 0:w.start)&&(0,el.default)(Ly(parseInt(null===k||void 0===k||null===(x=k.drops[0])||void 0===x||null===(A=x.phases[0])||void 0===A?void 0:A.start,10)),"yyyy-MM-dd HH:mm")})]}),(0,ms.jsxs)("div",{className:"flex w-full justify-between items-end",children:[(0,ms.jsx)("span",{className:"text-[#CED4DA] font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-normal leading-normal",children:"Mint End"}),(0,ms.jsx)("span",{className:"text-[#CED4DA] text-right font-montserrat text-[12px] sm:text-[8.638px] 3xl:text-[10px] font-medium leading-normal",children:(null===k||void 0===k||null===(E=k.drops[0])||void 0===E||null===(_=E.phases[0])||void 0===_?void 0:_.end)&&(0,el.default)(Ly(parseInt(null===k||void 0===k||null===(T=k.drops[0])||void 0===T||null===(S=T.phases[0])||void 0===S?void 0:S.end,10)),"yyyy-MM-dd HH:mm")})]})]})]})},I_=()=>(0,ms.jsx)("div",{className:"nftCard relative self-center justify-self-center flex flex-col p-[16px] rounded-lg nft-card-shadow cursor-pointer w-full h-full\n\t\t\t".concat("border-opacity-60 border-[0.8px] border-[#7c7c7c]"),children:(0,ms.jsx)("div",{className:"sm:hover:text-white sm:peer-hover:text-white w-full h-full",children:(0,ms.jsx)("div",{className:"flex sm:flex-col-reverse mb-2 sm:mb-1",children:(0,ms.jsxs)("div",{className:"grid grid-cols-3 sm:grid-cols-1 w-full h-full",children:[(0,ms.jsx)("div",{className:"max-w-full w-full object-fill aspect-square hidden sm:flex cursor-wait my-[0.7rem] bg-gray-400 animate-pulse"}),(0,ms.jsx)("div",{className:"sm:hidden cursor-wait rounded bg-gray-400 flex justify-center items-center animate-pulse"}),(0,ms.jsxs)("div",{className:"flex flex-col sm:mb-2 pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"})]})]})})})});var R_=__webpack_require__(55503);const M_=e=>{var t;let{authStore:n}=e;const[r,i]=(0,sa.useState)(!0),[o,a]=(0,sa.useState)([]);null!==n&&void 0!==n&&null!==(t=n.loggedUser)&&void 0!==t&&t.loggedIn||window.location.replace("/");const s=e=>{const t=null===e||void 0===e?void 0:e.phases[0];return t?t.hasStarted||t.hasEnded?t.hasStarted&&!t.hasEnded?t.start||null!==t&&void 0!==t&&t.end?"ACTIVE":"NEVER_ENDING":"ENDED":"PENDING":"NO_PHASES"};(0,sa.useEffect)((()=>{(async()=>{const e=await(async()=>{try{var e,t;return await Tf.su.scripts.getAccountCollections(null!==(e=null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr)&&void 0!==e?e:"")}catch(r){ds.o.track("Error getting logged user account collections",r)}return{address:"",contracts:[]}})();if(null===e||void 0===e||!e.contracts.length||null===e||void 0===e||!e.address)return void i(!1);const t=((e,t)=>{const n=[];return null===t||void 0===t||t.contracts.forEach((r=>{const i=e.filter((e=>{var n,i;const[o,a,s]=e.nftType.split(".");return"0x".concat(a)===t.address&&s===(0,R_.h)(null!==(n=null===(i=r.collectionDisplay)||void 0===i?void 0:i.name)&&void 0!==n?n:"")}));n.push({...r,drops:i,status:s(null===i||void 0===i?void 0:i[0])})})),n})(await(async(e,t)=>{const n="A.".concat(t.substring(2),".").concat(null===e||void 0===e?void 0:e.name,".","NFT");return await Tf.su.getAllDropDetails({minter:t||void 0,nftResourceTypeIdentifier:n,paymentIdentifier:Tf.su.config.getIdentifier("FlowToken","Vault"),quantity:1})})(null===e||void 0===e?void 0:e.contracts[0],null===e||void 0===e?void 0:e.address),e);a(t),i(!1)})()}),[]);const l=(0,sa.useMemo)((()=>o.sort(((e,t)=>{const n={ACTIVE:1,ENDED:3,NEVER_ENDING:1,NO_PHASES:3,PENDING:2,SOLD_OUT:3},r=(n[e.status]||3)-(n[t.status]||3);var i,o,a,s;return 0===r?parseInt(null===(i=e.drops[0])||void 0===i||null===(o=i.phases[0])||void 0===o?void 0:o.start)-parseInt(null===(a=t.drops[0])||void 0===a||null===(s=a.phases[0])||void 0===s?void 0:s.start):r}))),[o,r]);return{getDropStatus:s,isLoading:r,sortedCollections:l}},O_=()=>(0,ms.jsxs)("div",{className:"flex flex-col gap-[18px] items-center",children:[(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"118",height:"106",viewBox:"0 0 118 106",fill:"none",children:(0,ms.jsxs)("g",{opacity:"0.7",children:[(0,ms.jsx)("path",{d:"M76.5 22.5L81.5 0H44C30.8 2.4 23.5 15.3333 21.5 21.5L0 105H26L35.5 67H53.5L58.5 43.5H41.5C46 27.5 47.5 22.5 50.5 22.5H76.5Z",fill:"white"}),(0,ms.jsx)("path",{d:"M60.5 95C60.5 101.075 55.5751 106 49.5 106C43.4249 106 38.5 101.075 38.5 95C38.5 88.9249 43.4249 84 49.5 84C55.5751 84 60.5 88.9249 60.5 95Z",fill:"#B3BBBE"}),(0,ms.jsx)("path",{d:"M89 95C89 101.075 84.0751 106 78 106C71.9249 106 67 101.075 67 95C67 88.9249 71.9249 84 78 84C84.0751 84 89 88.9249 89 95Z",fill:"#B3BBBE"}),(0,ms.jsx)("path",{d:"M117.5 95C117.5 101.075 112.575 106 106.5 106C100.425 106 95.5 101.075 95.5 95C95.5 88.9249 100.425 84 106.5 84C112.575 84 117.5 88.9249 117.5 95Z",fill:"#B3BBBE"})]})}),(0,ms.jsx)("div",{className:"text-[#B3B7BC] text-[14px] font-bold leading-normal",children:"NO COLLECTIONS FOUND"}),(0,ms.jsx)("div",{className:" w-[265px]",children:(0,ms.jsx)(Bs.M2,{onClick:()=>{window.location.replace("/create")},text:"Create New Collection",variant:"secondary",btnSize:"large",bgColor:"white"})})]}),j_=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const{isLoading:n,sortedCollections:r,getDropStatus:i}=M_({authStore:t}),o=(0,sa.useMemo)((()=>n?(0,ms.jsx)("div",{className:"flex gap-y-[12px] gap-x-[16px] 3xl:gap-x-[18px] flex-wrap",children:Array.from({length:10}).map(((e,t)=>(0,ms.jsx)("div",{className:"flex w-full sm:w-[271px] py-[16px] sm:py-[12px] px-[12px] sm:px-[14px] flex-col sm:items-start gap-[12px] rounded-[6.339px] border-[0.792px] border-neutral-300 bg-gradient-to-br from-[rgba(255,255,255,0.12)] to-[rgba(255,255,255,0.06)] backdrop-blur-[16.640px]",children:(0,ms.jsx)(I_,{})},t)))}):r.length?r.length>0?(0,ms.jsx)("div",{className:"mt-5 grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-auto 2xl:grid-cols-5 3xl:grid-cols-7 gap-[12px] max-sm:justify-center",children:r.map(((e,t)=>{var n;const r=null===e||void 0===e?void 0:e.name.split(" ").join("");return(0,ms.jsx)(F_,{contract:e,collectionName:r,getDropStatus:i},"".concat(t," + ").concat(null===e||void 0===e||null===(n=e.collectionDisplay)||void 0===n?void 0:n.name))}))}):void 0:(0,ms.jsx)("div",{className:"flex justify-center items-center mt-16 lg:mt-24 2xl:mt-36",children:(0,ms.jsx)(O_,{})})),[n,r]);return(0,ms.jsx)("div",{className:"min-h-screen bg-cover bg-no-repeat bg-center bg-fixed mb-8",children:(0,ms.jsx)(cv,{children:(0,ms.jsx)("div",{className:"container",children:(0,ms.jsxs)("div",{className:"flex flex-col gap-[24px] mt-[12px]",children:[(0,ms.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,ms.jsx)("div",{className:"text-white font-montserrat text-[24px] font-black leading-[32px] tracking-[0.8px] ",children:"CREATOR HUB"}),r.length>0&&(0,ms.jsxs)(ms.Fragment,{children:[" ",(0,ms.jsx)("div",{className:" w-[265px] hidden sm:inline-block ",children:(0,ms.jsx)(Bs.M2,{onClick:()=>{window.location.replace("/create")},text:"Create New Collection",variant:"secondary",btnSize:"large",bgColor:"white"})}),(0,ms.jsx)("div",{className:"inline-block sm:hidden ",children:(0,ms.jsx)(Bs.M2,{onClick:()=>{window.location.replace("/create")},text:"Create",variant:"secondary",btnSize:"large",bgColor:"white"})})]})]}),o]})})})})}))),L_=async e=>{var t,n;const r=null!==(t=await(null===hl.j2||void 0===hl.j2||null===(n=hl.j2.currentUser)||void 0===n?void 0:n.getIdToken(!0)))&&void 0!==t?t:"",i=new FormData;i.append("file",e);return(await cs().post("".concat(ss.Sw,"/launch-pad/upload-image"),i,{headers:{Authorization:r,"Content-Type":"multipart/form-data"}})).data},B_=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r;let{authStore:i}=e;const o=(0,sa.useCallback)(((e,t)=>{ds.o.track(e,t)}),[]),a=(0,cy.s)(us.SupportedTokens.FLOW),s=Tf.su.tokens.getTokenIdentifier(us.SupportedTokens.FLOW),{flowtyStorefrontFee:l}=(0,OC.useGetFlowtyStorefrontFee)({flowty:Tf.su,identifier:s});return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty NFT Activity: Loans, Rentals and Storefront. View the latest activity from our users",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)(Bs.t,{mixPanelFn:o,flowty:Tf.su,strapiUrl:ss.j$,logOutFn:nv,spotPrice:a,loggedUser:null!==(t=null===i||void 0===i||null===(n=i.loggedUser)||void 0===n?void 0:n.addr)&&void 0!==t?t:void 0,loggedIsDapper:(null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.isDapper)||!1,uploadIPFSImage:L_,flowtyMarketplaceFee:l})]})}))),U_=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const{search:n}=(0,Os.zy)(),r=(0,sa.useMemo)((()=>new URLSearchParams(n)),[n]),i=(0,sa.useMemo)((()=>null===r||void 0===r?void 0:r.get("code")),[r]),[o,a]=(0,sa.useState)(!1),s=(0,sa.useMemo)((()=>{var e;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(0,ms.jsx)(ms.Fragment,{}):(0,ms.jsx)("div",{className:"flex flex-1 mt-4 flex-row items-center justify-center w-full",children:(0,ms.jsxs)("p",{className:"text-2xl",children:[" ","Please log-in to finish linking your Discord account."]})})}),[null===t||void 0===t?void 0:t.loggedUser]);return(0,sa.useEffect)((()=>{var e;null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr&&i&&(async e=>{const t=await(null===hl.j2||void 0===hl.j2||null===(e=hl.j2.currentUser)||void 0===e?void 0:e.getIdToken(!0));if(t){const e=new Headers;e.set("Authorization","".concat(t)),fetch("".concat(ss.Sw,"/discord?code=").concat(i),{headers:e}).then((()=>{a(!0)}))}})()}),[i,null===t||void 0===t?void 0:t.loggedUser]),i?o?(0,ms.jsx)(Os.C5,{to:"/settings",replace:!0}):(0,ms.jsx)(cv,{children:s}):(0,ms.jsx)(Os.C5,{to:"/",replace:!0})}))),V_=(0,ua.WQ)("rootStore","authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const{recentBigSaleData:n,topSalesData:r,isLoading:i}=(()=>{const[e,t]=(0,sa.useState)(!1),[n,r]=(0,sa.useState)(null),[i,o]=(0,sa.useState)(null),a="https://confident-crystal-513bf384d1.strapiapp.com";return(0,sa.useEffect)((()=>{const e=new AbortController,n=async()=>{try{const t=await fetch("".concat(a,"/api/top-sales-lists?populate=image"),{signal:e.signal});if(!t.ok)throw new Error("Network response was not ok");const n=(await t.json()).data.sort(((e,t)=>+t.attributes.salePrice-+e.attributes.salePrice));r(n)}catch(t){t instanceof Error?"AbortError"!==t.name&&console.error("Fetch error:",t.message):console.error("Unexpected error:",t)}},i=async()=>{try{const t=await fetch("".concat(a,"/api/recent-big-sale?populate=collectionImage,videoUrl,recent_big_sale_attributes.name,recent_big_sale_attributes.imgUrl"),{signal:e.signal});if(!t.ok)throw new Error("Network response was not ok");const n=await t.json();o(n.data)}catch(t){t instanceof Error?"AbortError"!==t.name&&console.error("Fetch error:",t.message):console.error("Unexpected error:",t)}};return(async()=>{t(!0),await Promise.all([n(),i()])})().then((()=>{setTimeout((()=>{t(!1)}),300)})),()=>{e.abort()}}),[a]),{isLoading:e,recentBigSaleData:i,topSalesData:n}})(),{data:o,isLoading:a}=(()=>{const[e,t]=(0,sa.useState)(!1),[n,r]=(0,sa.useState)(null);return(0,sa.useEffect)((()=>{t(!0),(async()=>{const e=await fetch("https://flipsidecrypto.xyz/api/v1/queries/26c51ee5-d7e5-425b-8c71-78ce69700ddc/data/latest"),n=await e.json();null!==n&&void 0!==n&&n[0]&&r(null===n||void 0===n?void 0:n[0]),t(!1)})()}),[]),{data:n,isLoading:e}})(),{tweetIds:s,isLoading:l}=(()=>{const[e,t]=(0,sa.useState)([]),[n,r]=(0,sa.useState)(!0),i="https://confident-crystal-513bf384d1.strapiapp.com";return(0,sa.useEffect)((()=>{const e=new AbortController,n=async()=>{try{const n=await fetch("".concat(i,"/api/embedded-tweets"),{signal:e.signal});if(!n.ok)throw new Error("Network response was not ok");const r=(await n.json()).data.map((e=>e.attributes.tweetId));t(r)}catch(n){n instanceof Error?"AbortError"!==n.name&&console.error("Fetch error:",n.message):console.error("Unexpected error:",n)}};return(async()=>{r(!0),await Promise.all([n()]),r(!1)})(),()=>{e.abort()}}),[i]),{isLoading:n,tweetIds:e}})(),c=(0,sa.useMemo)((()=>{var e;return!(null===t||void 0===t||null===(e=t.loggedUser)||void 0===e||!e.loggedIn)}),[null===t||void 0===t?void 0:t.loggedUser]);(0,sa.useEffect)((()=>{ds.o.track("Landing Page Visited")}),[]);return(0,ms.jsxs)(cv,{landingPage:!0,children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Built for Collectors, by Collectors | Secondary NFT Marketplace | NFT Rentals | NFT-Backed Loans",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)(Bs.LZ,{}),(0,ms.jsx)(Bs.fh,{isLoading:i,topSalesData:r,recentBigSaleData:n}),(0,ms.jsx)(Bs.cI,{topSalesData:o,isLoadingTopSalesData:a}),(0,ms.jsx)(Bs.yU,{connectWallet:()=>ov(),isUserLoggedIn:c}),(0,ms.jsx)(Bs.$4,{}),(0,ms.jsx)(Bs.i0,{tweetIds:s,isLoading:l}),(0,ms.jsx)(Bs.$z,{subscribeEmailToNotification:Ac,mixPanelFn:(e,t)=>{ds.o.track(e,t)}})]})}))),H_=async(e,t)=>{const n=await hl.kA.collection(t).doc(e).get();return n.exists?n.data():null},z_=()=>{const e=(0,Os.Zp)(),{pathname:t}=(0,Os.zy)();return(0,sa.useEffect)((()=>{const[n,r,i]=t.split("/"),o=(e=>{switch(e){case"listing":return"listingAvailable";case"rentals":return"rentalAvailable";case"storefront":return"storefrontListingAvailable";default:(0,us.assertNever)(e)}})(r);(0,fs.t)("ListingRedirect",{collection:o,listingType:r,resourceID:i}),(async(t,n)=>{var r,i;let o=null;for(;!o;)o=await H_(n,t),o||await fc(5e3);const a=(0,us.nftTypeAndIdToLocationData)((null===(r=o)||void 0===r?void 0:r.nftType)||"",(null===(i=o)||void 0===i?void 0:i.nftID)||""),s="/asset/".concat(a.contract.address,"/").concat(a.contract.name,"/").concat(a.resourceName,"/").concat(a.nftID);e(s)})(o,i)}),[]),(0,ms.jsx)("div",{className:"upload-btn-wrapper flex items-center justify-center bg-greyDark",children:(0,ms.jsx)(yc.BM,{color:"#04E5A3",height:210,width:210})})},Z_=e=>{let{blockTimestamp:t,onCountdownEnd:n,text:r,className:i}=e;const o=r?void 0:e=>{let{minutes:t,seconds:n}=e;return(0,ms.jsxs)("span",{className:"text-white text-bold",children:[Ty(t),":",Ty(n)]})};return Dl(t)?null:(0,ms.jsx)("div",{className:"absolute top-0 left-0 flex justify-center w-full",children:(0,ms.jsxs)("div",{className:"flex justify-center text-center items-center py-1 bg-blue-500 bg-opacity-90 rounded-t-xl ".concat(i),children:[(0,ms.jsx)("p",{className:"text-white text-bold me-2",children:r||"Active in"}),(0,ms.jsx)(Ny,{className:"text-white text-bold",renderer:o,date:kl(t),onComplete:n})]})})},W_=e=>{var t,n,r,i,o,a,s,l,c,u;let{listing:d}=e;const h="Flowty loan listing ".concat(null!==(t=null===d||void 0===d||null===(n=d.detail)||void 0===n||null===(r=n.nft)||void 0===r?void 0:r.title)&&void 0!==t?t:""),p="View this ".concat(null!==(i=null===d||void 0===d||null===(o=d.detail)||void 0===o||null===(a=o.nft)||void 0===a?void 0:a.title)&&void 0!==i?i:""," loan listing and many others on flowty.io"),f=null!==d&&void 0!==d&&null!==(s=d.detail)&&void 0!==s&&null!==(l=s.nft)&&void 0!==l&&l.media&&(null===d||void 0===d||null===(c=d.detail)||void 0===c?void 0:c.nft.media.length)>0?null===d||void 0===d||null===(u=d.detail)||void 0===u?void 0:u.nft.media[0].uri:"";return(0,ms.jsxs)(as,{children:[(0,ms.jsx)("meta",{name:"description",content:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals."}),(0,ms.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,ms.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ms.jsx)("meta",{name:"twitter:site",content:"@flowty"}),(0,ms.jsx)("meta",{name:"twitter:title",content:h}),(0,ms.jsx)("meta",{name:"twitter:description",content:p}),(0,ms.jsx)("meta",{name:"twitter:image",content:f}),(0,ms.jsx)("meta",{name:"description",content:p}),(0,ms.jsx)("meta",{property:"og:title",content:h}),(0,ms.jsx)("meta",{property:"og:description",content:p}),(0,ms.jsx)("meta",{property:"og:image",content:f}),(0,ms.jsx)("title",{children:h})]})};var q_;function G_(){return G_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G_.apply(null,arguments)}function Y_(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",G_({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,q_||(q_=sa.createElement("path",{d:"M14.0003 0.666504C11.3632 0.666504 8.78538 1.44849 6.59273 2.91358C4.40007 4.37866 2.69111 6.46104 1.68194 8.89739C0.672769 11.3337 0.408725 14.0146 0.923194 16.601C1.43766 19.1875 2.70754 21.5632 4.57224 23.4279C6.43694 25.2926 8.81271 26.5625 11.3991 27.077C13.9855 27.5914 16.6664 27.3274 19.1028 26.3182C21.5391 25.3091 23.6215 23.6001 25.0866 21.4074C26.5517 19.2148 27.3337 16.6369 27.3337 13.9998C27.3297 10.4648 25.9237 7.07572 23.4241 4.57609C20.9244 2.07646 17.5353 0.670435 14.0003 0.666504ZM14.0003 24.6665C11.8907 24.6665 9.82837 24.0409 8.07425 22.8688C6.32012 21.6968 4.95295 20.0309 4.14562 18.0818C3.33828 16.1327 3.12705 13.988 3.53862 11.9189C3.9502 9.84974 4.9661 7.94912 6.45786 6.45736C7.94962 4.9656 9.85024 3.9497 11.9194 3.53813C13.9885 3.12655 16.1332 3.33779 18.0823 4.14512C20.0314 4.95246 21.6973 6.31963 22.8693 8.07375C24.0414 9.82788 24.667 11.8902 24.667 13.9998C24.6638 16.8278 23.5389 19.539 21.5392 21.5387C19.5395 23.5384 16.8283 24.6633 14.0003 24.6665ZM14.0003 13.3332C13.6467 13.3332 13.3076 13.4736 13.0575 13.7237C12.8075 13.9737 12.667 14.3129 12.667 14.6665V18.6665C12.667 19.0201 12.8075 19.3593 13.0575 19.6093C13.3076 19.8594 13.6467 19.9998 14.0003 19.9998C14.354 19.9998 14.6931 19.8594 14.9431 19.6093C15.1932 19.3593 15.3337 19.0201 15.3337 18.6665V14.6665C15.3337 14.3129 15.1932 13.9737 14.9431 13.7237C14.6931 13.4736 14.354 13.3332 14.0003 13.3332ZM14.0003 7.99984C13.6707 7.99984 13.3485 8.09758 13.0744 8.28072C12.8003 8.46386 12.5867 8.72415 12.4605 9.0287C12.3344 9.33324 12.3014 9.66835 12.3657 9.99165C12.43 10.315 12.5887 10.6119 12.8218 10.845C13.0549 11.0781 13.3519 11.2368 13.6752 11.3011C13.9985 11.3655 14.3336 11.3324 14.6381 11.2063C14.9427 11.0802 15.203 10.8665 15.3861 10.5925C15.5693 10.3184 15.667 9.99614 15.667 9.6665C15.667 9.22448 15.4914 8.80055 15.1788 8.48799C14.8663 8.17543 14.4424 7.99984 14.0003 7.99984Z",fill:"#F3F5F9"})))}const K_=sa.forwardRef(Y_);__webpack_require__.p;var Q_;function X_(){return X_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X_.apply(null,arguments)}function J_(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",X_({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,Q_||(Q_=sa.createElement("path",{d:"M9.00033 3.99996C8.89089 3.99993 8.78251 4.02147 8.68139 4.06334C8.58028 4.1052 8.4884 4.16659 8.41101 4.24397C8.33362 4.32136 8.27224 4.41324 8.23037 4.51436C8.1885 4.61547 8.16697 4.72385 8.167 4.83329V8.48645L6.14145 9.50573C6.04371 9.55489 5.95662 9.62282 5.88514 9.70564C5.81366 9.78846 5.75919 9.88455 5.72484 9.98842C5.6905 10.0923 5.67694 10.2019 5.68496 10.311C5.69298 10.4201 5.72241 10.5266 5.77157 10.6243C5.82073 10.722 5.88865 10.8091 5.97147 10.8806C6.05429 10.9521 6.15038 11.0066 6.25425 11.0409C6.35812 11.0753 6.46773 11.0888 6.57684 11.0808C6.68595 11.0728 6.7924 11.0433 6.89014 10.9942L9.37468 9.74418C9.51269 9.67492 9.62872 9.56863 9.70978 9.4372C9.79083 9.30577 9.83373 9.15438 9.83366 8.99996V4.83329C9.83369 4.72385 9.81216 4.61547 9.77029 4.51436C9.72842 4.41324 9.66704 4.32136 9.58965 4.24397C9.51226 4.16659 9.42038 4.1052 9.31927 4.06334C9.21815 4.02147 9.10977 3.99993 9.00033 3.99996ZM9.00033 0.666626C7.35215 0.666626 5.74099 1.15537 4.37058 2.07105C3.00017 2.98672 1.93206 4.28821 1.30133 5.81093C0.670603 7.33365 0.505575 9.0092 0.827119 10.6257C1.14866 12.2422 1.94234 13.7271 3.10777 14.8925C4.27321 16.058 5.75807 16.8516 7.37458 17.1732C8.99109 17.4947 10.6666 17.3297 12.1894 16.699C13.7121 16.0682 15.0136 15.0001 15.9292 13.6297C16.8449 12.2593 17.3337 10.6481 17.3337 8.99996C17.3311 6.7906 16.4523 4.67245 14.8901 3.11019C13.3278 1.54794 11.2097 0.669154 9.00033 0.666626ZM9.00033 15.6666C7.68179 15.6666 6.39286 15.2756 5.29653 14.5431C4.2002 13.8105 3.34572 12.7694 2.84113 11.5512C2.33655 10.333 2.20453 8.99256 2.46176 7.69936C2.719 6.40615 3.35393 5.21826 4.28628 4.28591C5.21863 3.35356 6.40652 2.71863 7.69973 2.46139C8.99293 2.20416 10.3334 2.33618 11.5516 2.84076C12.7697 3.34535 13.8109 4.19983 14.5435 5.29616C15.276 6.39249 15.667 7.68142 15.667 8.99996C15.665 10.7674 14.9619 12.462 13.7121 13.7118C12.4623 14.9616 10.7678 15.6646 9.00033 15.6666Z",fill:"#9DA1A8"})))}const $_=sa.forwardRef(J_);__webpack_require__.p;var eT=__webpack_require__(76081);const tT={danger:"bg-[#dc3545] text-white",dark:"bg-[#212529] text-white",info:"bg-[#0dcaf0]  text-white",light:"bg-[#f8f9fa] text-black",primary:"bg-[#0d6efd] text-white",secondary:"bg-[#6c757d] text-white",success:"bg-[#198754] text-white",warning:"bg-[#ffc107] text-black"},nT=e=>{let{variant:t="primary",children:n,onClose:r,className:i}=e;return(0,ms.jsxs)("div",{className:iC("p-4 rounded-lg ".concat(tT[t]),i),children:[n,r&&(0,ms.jsx)("button",{onClick:r,className:"absolute top-2 right-2 text-xl leading-none hover:text-black",children:"\xd7"})]})},rT=e=>{let{xs:t,sm:n,md:r,lg:i,xl:o,children:a,className:s}=e;const l=t||n||r||i||o?"":"flex-grow",c=[t?"w-".concat(t,"/12"):"",n?"sm:w-".concat(n,"/12"):"",r?"md:w-".concat(r,"/12"):"",i?"lg:w-".concat(i,"/12"):"",o?"xl:w-".concat(o,"/12"):"",l].join(" ");return(0,ms.jsx)("div",{className:iC(c,s),children:a})},iT=e=>{let{children:t,className:n}=e;return(0,ms.jsx)("div",{className:iC("flex flex-wrap",n),children:t})};var oT=__webpack_require__(92040);const aT=e=>{let{showTooltip:t,tooltipText:n,children:r}=e;return t?(0,ms.jsx)(oT.o,{Comp:r,tooltipText:n,tooltipId:"conditional-tooltip"}):r},sT=e=>{let{className:t,listing:n,isOwner:r,isOrderListedByLoggedAccount:i}=e;const o=(0,us.nftTypeAndIdToLocationData)(n.nftType,n.nftID),{openSearchNFT:a}=cb({collectionAddress:o.contract.address,collectionName:o.contract.name,nftId:o.nftID,resourceName:o.resourceName}),{selectCard:s}=my(),l=(0,sa.useCallback)((e=>{var t,n,r,i;let{singleListing:o}=e;s({selected:{contractAddress:null!==(t=null===a||void 0===a?void 0:a.contractAddress)&&void 0!==t?t:"",contractName:null!==(n=null===a||void 0===a?void 0:a.contractName)&&void 0!==n?n:"",nftID:null!==(r=null===a||void 0===a?void 0:a.id)&&void 0!==r?r:"",nftType:null!==(i=null===a||void 0===a?void 0:a.type)&&void 0!==i?i:""},singleDelistAction:"delistLoan",singleDelistOrder:o})}),[s,a,n]);return(0,ms.jsx)("div",{className:"".concat(t),children:(0,ms.jsx)("button",{disabled:!i,className:"".concat(r?"bg-danger hover-button-red":"bg-primary hover-button","  ").concat(!i&&r?"opacity-50 cursor-not-allowed":"hover-glow  hover-button-red"," shadow text-black text-bold text-lg py-2 px-10 w-full rounded-md hover-button cursor-pointer"),onClick:()=>l({singleListing:n}),children:"DELIST"})})};const lT=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}));var cT,uT,dT=__webpack_require__(85221);function hT(){return hT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hT.apply(null,arguments)}function pT(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",hT({width:53,height:49,viewBox:"0 0 53 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,cT||(cT=sa.createElement("path",{d:"M51.9115 37.5622L32.674 4.31224C30.774 0.98724 26.2615 -0.200259 22.9365 1.69974C21.749 2.41224 20.799 3.36224 20.324 4.31224L1.08646 37.5622C-0.813541 40.8872 0.373959 45.3997 3.69896 47.2997C4.88646 48.0122 6.07396 48.2497 7.26146 48.2497H45.499C49.5365 48.2497 52.624 44.9247 52.624 41.1247C52.8615 39.6997 52.3865 38.5122 51.9115 37.5622ZM26.499 38.7497C25.074 38.7497 24.124 37.7997 24.124 36.3747C24.124 34.9497 25.074 33.9997 26.499 33.9997C27.924 33.9997 28.874 34.9497 28.874 36.3747C28.874 37.7997 27.924 38.7497 26.499 38.7497ZM28.874 26.8747C28.874 28.2997 27.924 29.2497 26.499 29.2497C25.074 29.2497 24.124 28.2997 24.124 26.8747V17.3747C24.124 15.9497 25.074 14.9997 26.499 14.9997C27.924 14.9997 28.874 15.9497 28.874 17.3747V26.8747Z",fill:"#444C5B"})),uT||(uT=sa.createElement("path",{d:"M51.9115 37.5622L32.674 4.31224C30.774 0.98724 26.2615 -0.200259 22.9365 1.69974C21.749 2.41224 20.799 3.36224 20.324 4.31224L1.08646 37.5622C-0.813541 40.8872 0.373959 45.3997 3.69896 47.2997C4.88646 48.0122 6.07396 48.2497 7.26146 48.2497H45.499C49.5365 48.2497 52.624 44.9247 52.624 41.1247C52.8615 39.6997 52.3865 38.5122 51.9115 37.5622ZM26.499 38.7497C25.074 38.7497 24.124 37.7997 24.124 36.3747C24.124 34.9497 25.074 33.9997 26.499 33.9997C27.924 33.9997 28.874 34.9497 28.874 36.3747C28.874 37.7997 27.924 38.7497 26.499 38.7497ZM28.874 26.8747C28.874 28.2997 27.924 29.2497 26.499 29.2497C25.074 29.2497 24.124 28.2997 24.124 26.8747V17.3747C24.124 15.9497 25.074 14.9997 26.499 14.9997C27.924 14.9997 28.874 15.9497 28.874 17.3747V26.8747Z",fill:"white",fillOpacity:.15})))}const fT=sa.forwardRef(pT),mT=(__webpack_require__.p,e=>{let{errorMsg:t,onTryAgainClick:n}=e;return(0,ms.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,ms.jsx)(fT,{}),(0,ms.jsx)("h5",{className:"mt-4 text-white",children:"Transaction was not successful"}),(0,ms.jsx)("p",{className:"text-lightText text-center px-4",children:t}),(0,ms.jsx)("div",{className:" flex justify-between mt-5",children:(0,ms.jsx)(Bs.M2,{variant:"primary",onClick:n,text:"Try again"})})]})});function gT(e){const t=e.toLowerCase();return t.includes("dapper")?"Dapper":t.includes("blocto")?"Blocto":t.includes("lilico")||/flow.*reference/i.test(t)?"Flow Reference Wallet":""}const vT=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i;let{authStore:o}=e;const a=(null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.services[0].uid)||"",{disableActions:s}=Ms(),l=(0,sa.useMemo)((()=>{var e;return Object.values((null===o||void 0===o||null===(e=o.loggedUser)||void 0===e?void 0:e.accountSummaries)||{}).length>1}),[null===o||void 0===o||null===(n=o.loggedUser)||void 0===n?void 0:n.accountSummaries]);return(0,ms.jsx)(ms.Fragment,{children:null!==o&&void 0!==o&&null!==(r=o.loggedUser)&&void 0!==r&&r.loggedIn&&l?(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row items-center py-3 justify-center w-full",children:[(0,ms.jsx)("span",{className:"pl-[1rem] pr-4 text-base font-normal text-nowrap",children:"Connected Account:"}),(0,ms.jsxs)("span",{className:"flex items-center bg-[#ffffff1a] rounded-md px-[1.25rem] py-2",children:[(0,ms.jsx)("img",{src:(0,us.getProviderImage)(a),alt:"Wallet Icon",className:"h-6 w-6 rounded-full"}),(0,ms.jsxs)("span",{className:"ml-3 text-base font-semibold text-nowrap",children:[gT(a)," Account"]}),(0,ms.jsx)(Bs.Bo,{text:"main",type:"primary"})]})]}):s||null!==o&&void 0!==o&&null!==(i=o.loggedUser)&&void 0!==i&&i.loggedIn?null:(0,ms.jsx)("div",{className:"flex flex-col md:flex-row items-center py-3 justify-center w-full",children:(0,ms.jsx)("button",{className:"text-base px-[1.25rem] py-2 bg-primary rounded-lg shadow-lg w-3/4 text-darkBg uppercase hover-button transform duration-300 ease-in-out",onClick:()=>ov(),children:(0,ms.jsx)("b",{children:null!==o&&void 0!==o&&o.loadingUser?(0,ms.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading",children:(0,ms.jsx)("span",{className:"sr-only",children:"Loading..."})}):(0,ms.jsx)("span",{className:"font-black text-base font-montserrat-bold",children:"Sign in"})})})})})}))),CT=e=>{let{size:t=4,borderThickness:n=4,children:r}=e;return(0,ms.jsxs)("div",{children:[(0,ms.jsx)("div",{className:"animate-spin inline-block w-".concat(t," h-").concat(t," border-").concat(n," border-current border-t-transparent rounded-full"),"aria-label":"loading"}),r]})},yT=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{onFundClick:t,funding:n,userSelectedWallet:r,loading:i}=e;const o="paymentTokenType"in n.listingAvailable?(0,us.getTokenFromType)(n.listingAvailable.paymentTokenType):us.SupportedTokens.FLOW,a=!n.repaymentAmount||((e,t)=>{var n,r;return((null===t||void 0===t||null===(n=t.tokens)||void 0===n||null===(r=n[e.listingAvailable.paymentTokenType])||void 0===r?void 0:r.balance)||0)>=Number(null===e||void 0===e?void 0:e.repaymentAmount)})(n,r);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,ms.jsx)(iT,{className:"w-full",children:(0,ms.jsx)(rT,{children:(0,ms.jsx)("table",{className:"table-borderless mt-6 px-[1.25rem]",children:(0,ms.jsx)("tbody",{children:(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{className:"text-base text-start",children:(0,ms.jsx)("p",{children:"Repayment Amount:"})}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsx)("div",{className:"flex flex-col-reverse md:flex-row-reverse",children:(0,ms.jsx)(Nl.se,{amount:Number(n.repaymentAmount||0),isSmall:!0,largeText:!0,token:o})})})]})})})})})}),!a&&(0,ms.jsx)("div",{className:"px-3",children:(0,ms.jsx)(nT,{variant:"danger",className:"mt-3 mb-1",children:(0,ms.jsx)("div",{className:"flex justify-between items-center",children:(0,ms.jsxs)("p",{className:"text-red",children:["Insufficient ",o," to repay this loan"]})})})}),(0,ms.jsxs)("div",{className:"flex flex-col items-center justify-center w-full px-4 py-3 lg:flex-row border-modal",children:[(0,ms.jsx)(vT,{}),(0,ms.jsx)("div",{className:"flex flex-col items-center",children:(0,ms.jsx)("div",{className:"flex items-center justify-center w-full lg:justify-end",children:(0,ms.jsx)("button",{onClick:t,disabled:!a||i,className:"w-[10em] md:w-[12em] flex justify-center items-center border border-white rounded-md font-extrabold text-base shadow-slate-100 hover-button-white px-[1.25rem] py-2 ".concat((!a||i)&&"bg-gray-600 text-gray-400"),children:i?(0,ms.jsx)(CT,{}):"Repay"})})})]})]})})));var bT;function wT(){return wT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wT.apply(null,arguments)}function xT(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",wT({width:49,height:49,viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,bT||(bT=sa.createElement("path",{d:"M24.5 0.75C11.4375 0.75 0.75 11.4375 0.75 24.5C0.75 37.5625 11.4375 48.25 24.5 48.25C37.5625 48.25 48.25 37.5625 48.25 24.5C48.25 11.4375 37.5625 0.75 24.5 0.75ZM34.475 20.4625L23.075 31.8625C22.125 32.8125 20.7 32.8125 19.75 31.8625L14.525 26.6375C13.575 25.6875 13.575 24.2625 14.525 23.3125C15.475 22.3625 16.9 22.3625 17.85 23.3125L21.4125 26.875L31.15 17.1375C32.1 16.1875 33.525 16.1875 34.475 17.1375C35.425 18.0875 35.425 19.5125 34.475 20.4625Z",fill:"#04E5A3"})))}const AT=sa.forwardRef(xT),ET=(__webpack_require__.p,e=>{let{msg:t}=e;return(0,ms.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,ms.jsx)(AT,{}),(0,ms.jsx)("h5",{className:"text-white",children:"All set!"}),(0,ms.jsx)("p",{className:"text-lightText text-center px-4",children:t})]})}),_T=e=>{var t,n;let{className:r,funding:i,authStore:o}=e;const[a,s]=(0,sa.useState)(!1),[l,c]=(0,sa.useState)(!1),[u,d]=(0,sa.useState)(0),[h,p]=(0,sa.useState)($y(null===o||void 0===o?void 0:o.loggedUser)),[f,m]=(0,sa.useState)(null),[g,v]=(0,sa.useState)(null),[C,y]=(0,sa.useState)(!1),b="paymentTokenType"in i.listingAvailable?(0,us.getTokenFromType)(i.listingAvailable.paymentTokenType):us.SupportedTokens.FLOW;let w="";(0,sa.useEffect)((()=>{var e,t;const n=(null===h||void 0===h||null===(e=h.tokens)||void 0===e?void 0:e[i.listingAvailable.paymentTokenType].providerPaths)||[];h.address!==(null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.addr)&&(w=(0,dy.z)(n))}),[h]);const x=()=>{s(!1),m(null),v(null),ds.o.track("Repay Modal Closed",{funding:i,step:u}),window.location.reload(),y(!1)},A=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(!0),v(null),m(null),y(!1);const t=Tf.su.tokens.getTokenInfo(b);try{await Tf.su.repayLoan({address:"0x5c57f79c6694797f",ftPrivatePathIdentifier:w,ftProviderAddress:h.address,fundItemID:i.fundingResourceID||0,token:t,txAvailableCallback:m}),await ds.o.track("Repayment Submit Successfully",{funding:i}),y(!0)}catch(n){v("".concat(n)),ds.o.track("Repayment Submit Error",{err:n,funding:i})}c(!1),d(e?u:u+2)};return(0,ms.jsxs)("div",{className:"".concat(r),children:[(0,ms.jsx)("button",{className:"w-[10em] md:w-[12em]  flex justify-center items-center uppercase  px-[1.25rem] py-2 bg-primary hover-button border-transparent rounded-md border-2 text-base font-extrabold text-black",onClick:()=>{s(!0),ds.o.track("Repay Modal Opened",{funding:i})},children:"Repay"}),(0,ms.jsx)(cc.e.Root,{show:a,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:"relative z-20",onClose:x,children:[(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,ms.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,ms.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,ms.jsxs)(uc.l.Panel,{className:"relative transform overflow-hidden rounded-lg text-left Max-w-full md:max-w-4xl shadow-xl transition-all sm:my-8 sm:w-full flowty-modal loan-listing-modal bg-black",children:[(0,ms.jsxs)(uc.l.Title,{as:"div",className:"border-b border-modal px-4 py-4 w-full flex justify-between items-center",children:[(0,ms.jsxs)("div",{children:[(0,ms.jsx)("span",{className:"text-white text-2xl leading-6 font-extrabold px-1",children:"Confirm"}),(0,ms.jsx)("span",{className:"text-primary text-2xl leading-6 font-extrabold px-1",children:"Repayment"})]}),(0,ms.jsx)(lT,{onClick:x,className:"h-8 w-8 cursor-pointer hover:fill-gray-400"})]}),!C&&Object.values((null===o||void 0===o||null===(t=o.loggedUser)||void 0===t?void 0:t.accountSummaries)||{}).length>1&&(0,ms.jsx)("div",{className:"px-3 pt-4",children:(0,ms.jsx)(dT.dK,{label:"Pay With",disabledMessage:dT.b0.payWith,selected:h,setSelected:e=>p(e),selectorFilter:new dT.tm({tokenName:i.listingAvailable.paymentTokenName})})}),(0,ms.jsx)(ms.Fragment,{children:l?(0,ms.jsx)("div",{className:"my-2 py-4",children:(0,ms.jsxs)("div",{className:"w-full flex flex-col justify-center items-center h-full",children:[f?(0,ms.jsxs)("p",{className:"h-12",children:["Follow your transaction on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(ss.I4,"/").concat(f),target:"_blank",rel:"noreferrer",children:"Flowscan"})]}):(0,ms.jsx)("div",{className:"h-12"}),(0,ms.jsx)("span",{className:"text-lg font-montserrat-bold font-bold",children:"Processing..."}),(0,ms.jsx)(yc.BM,{height:150,width:150})]})}):g?(0,ms.jsx)("div",{className:"my-2 py-4",children:(0,ms.jsx)(mT,{errorMsg:null===(n=(0,Sf.parseError)(g))||void 0===n?void 0:n.description,onTryAgainClick:()=>A(!0)})}):C&&(0,ms.jsx)("div",{className:"my-2 py-4",children:(0,ms.jsx)(ET,{msg:"Loan was successfully repaid!"})})}),!C&&(0,ms.jsx)(yT,{funding:i,onFundClick:()=>A(),userSelectedWallet:h,loading:l})]})})})})]})})]})},TT=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o;let{authStore:a,listing:s,funding:l,isListingActive:c,isListingExpired:u}=e;const d=(0,us.nftTypeAndIdToLocationData)(s.nftType,s.nftID),{selectCard:h}=my(),{openSearchNFT:p}=cb({collectionAddress:d.contract.address,collectionName:d.contract.name,nftId:d.nftID,resourceName:d.resourceName}),{listingResourceId:f}=(0,Os.g)(),m=null===p||void 0===p||null===(t=p.orders)||void 0===t?void 0:t.find((e=>e.listingResourceID===f)),g="paymentTokenType"in s?(0,us.getTokenFromType)(s.paymentTokenType):us.SupportedTokens.FLOW,v=null===a||void 0===a||null===(n=a.loggedUser)||void 0===n?void 0:n.addr,[C,y]=(0,sa.useState)(null),b=(0,us.getContractNameFromType)(s.nftType),w=(0,us.isContractWithValuation)(b)?(0,ms.jsx)(ic,{contractName:b,nftID:s.nftID.toString(),labelType:"LTV"}):void 0;(0,sa.useEffect)((()=>{g===us.SupportedTokens.FLOW?(0,eT.d)(g).then((e=>{(0,fs.t)("setTokenPrice",e.value),y(e.value)})):y(1)}),[g]);const x=(0,us.solveWithAmountAndInterest)({amount:Number(s.amount||0),interest:Number(s.interestRate||0),term:Number(s.term||0)},s.royaltyRate||0),A=(0,us.calcAPRInterest)(x?x.periodicInterest:0,x?x.term:0),E=null!==(r=null===s||void 0===s||null===(i=s.detail)||void 0===i||null===(o=i.nft)||void 0===o?void 0:o.title)&&void 0!==r?r:"",_=(0,us.truncateString)(E,ss.Sp);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"nft-info-card bg-greyDark w-full",children:[(0,ms.jsxs)(iT,{className:"nft-info-row flex",children:[(0,ms.jsx)(rT,{children:(0,ms.jsx)(aT,{showTooltip:E!==_,tooltipText:E,children:(0,ms.jsx)("h1",{className:"inline",children:_})})}),(0,ms.jsx)(rT,{className:"pt-1",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[g===us.SupportedTokens.FLOW&&C&&(0,ms.jsxs)("p",{children:["(USD $",x&&Tl()(((null===x||void 0===x?void 0:x.marketplaceAmount)||0)*C).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null===x||void 0===x?void 0:x.marketplaceAmount)||0,token:g})]})})]}),(0,ms.jsx)("div",{className:"nft-info-separator bg-secondary"}),(0,ms.jsx)("table",{className:"table-borderless",children:(0,ms.jsxs)("tbody",{children:[(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Repayment"}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[g===us.SupportedTokens.FLOW&&C&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===x||void 0===x?void 0:x.totalRepayment)||0)*C).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null===x||void 0===x?void 0:x.totalRepayment)||0,isSmall:!0,token:g})]})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Loan Rate"}),(0,ms.jsxs)("td",{className:"flex justify-end",children:[x&&(100*x.periodicInterest).toFixed(2),"%"]})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"APR"}),(0,ms.jsxs)("td",{className:"flex justify-end",children:[Tl()(A).format("0,0.00"),"%"]})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsxs)("td",{children:[(0,ms.jsx)($_,{className:"inline"}),(0,ms.jsx)("p",{className:"pt-1 inline ms-1",children:"Duration"})]}),(0,ms.jsx)("td",{className:"flex justify-end",children:x&&Sl(x.term)})]}),s.valuations&&(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:w}),(0,ms.jsxs)("td",{className:"flex justify-end",children:[Math.round(100*s.valuations.aggregate.loanToValueRatio),"%"]})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Auto Repayment"}),(0,ms.jsx)("td",{className:"flex justify-end",children:s.enabledAutoRepayment?(0,ms.jsx)("input",{disabled:!0,checked:s.enabledAutoRepayment,type:"checkbox",className:"w-4 h-4 border-gray-300 rounded cursor-not-allowed focus:ring-primary text-primary accent-pink-500"}):(0,ms.jsx)("span",{className:"px-1 font-extrabold text-red-600 bg-gray-400 rounded-sm",children:"X"})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Listed By"}),(0,ms.jsx)("td",{className:"flex justify-end",children:(0,ms.jsx)(ca.N_,{to:jD(s.flowtyStorefrontAddress),children:s.flowtyStorefrontAddress===v?"You":s.flowtyStorefrontAddress})})]}),(null===l||void 0===l?void 0:l.lender)&&(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Lender"}),(0,ms.jsx)("td",{className:"flex justify-end",children:(0,ms.jsx)(ca.N_,{to:jD(l.lender),children:l.lender===v?"You":l.lender})})]}),s.flowtyStorefrontAddress===v&&s.state!==us.ListingStatus.Expired&&(0,ms.jsx)("tr",{children:(0,ms.jsx)("div",{className:"flex flex-col gap-4",children:(0,ms.jsx)("td",{children:(0,ms.jsxs)("table",{children:[(0,ms.jsx)("tr",{children:(0,ms.jsx)("td",{children:(0,ms.jsx)("u",{children:"Borrower Information:"})})}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Borrowed Amount:"}),(0,ms.jsx)("td",{children:(0,ms.jsx)(Nl.se,{amount:(null===x||void 0===x?void 0:x.amount)||0,isSmall:!0,token:g})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Repayment Amount:"}),(0,ms.jsx)("td",{children:(0,ms.jsx)(Nl.se,{amount:(null===x||void 0===x?void 0:x.repaymentDue)||0,isSmall:!0,token:g})})]})]})})})})]})}),(0,ms.jsx)("div",{className:"justify-end",children:!u&&(null===s||void 0===s?void 0:s.state)!==us.ListingStatus.Delisted&&(null===s||void 0===s?void 0:s.state)!==us.ListingStatus.Repaid&&(()=>{var e;const t=(null!==(e=null===a||void 0===a?void 0:a.getAccountSummaryAddresses())&&void 0!==e?e:[]).includes(s.flowtyStorefrontAddress),n=s.flowtyStorefrontAddress===v;return c?((e,t)=>s.state===us.ListingStatus.Funded&&l?e?(0,ms.jsx)(_T,{className:"flex m-auto justify-end w-fit",funding:l,authStore:a}):void 0:s.state!==us.ListingStatus.Expired&&t?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(sT,{className:"flex m-auto justify-end w-fit",listing:s,isOrderListedByLoggedAccount:e,isOwner:t}),!e&&t&&"LISTED"===s.state&&(0,ms.jsxs)("div",{className:"py-2 text-sm font-normal text-center text-orange-500",children:["NFT was listed while connected with"," ".concat(null===s||void 0===s?void 0:s.flowtyStorefrontAddress)," as Main. Please sign in with "," ".concat(null===s||void 0===s?void 0:s.flowtyStorefrontAddress)," to delist."]})]}):(0,ms.jsx)("div",{className:"flex m-auto justify-end w-fit",children:(0,ms.jsx)(Bs.M2,{text:"FUND",onClick:()=>{var e,t,n,r;return h({selected:{contractAddress:null!==(e=null===p||void 0===p?void 0:p.contractAddress)&&void 0!==e?e:"",contractName:null!==(t=null===p||void 0===p?void 0:p.contractName)&&void 0!==t?t:"",nftID:null!==(n=null===p||void 0===p?void 0:p.id)&&void 0!==n?n:"",nftType:null!==(r=null===p||void 0===p?void 0:p.type)&&void 0!==r?r:""},selectedSinglePurchase:m})},variant:"secondary",btnSize:"small"})}))(n,t):n?(0,ms.jsx)(sT,{className:"mt-3 text-center",listing:s,isOrderListedByLoggedAccount:n,isOwner:t}):null})()})]}),!u&&(null===s||void 0===s?void 0:s.state)===us.ListingStatus.Listed&&(0,ms.jsx)(nT,{variant:"dark",className:"mt-2",children:(0,ms.jsxs)("div",{className:"flex items-center",children:[(0,ms.jsx)(K_,{className:"mt-1 text-xl me-3"}),(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)("h5",{className:"text-xl text-white",children:"Please Note"}),(0,ms.jsx)("p",{className:"mt-2 text-lightText",children:"There is no guarantee that you will receive the Repayment amount. If the Borrower does not repay (defaults), you will receive the collateral in lieu of a repayment."})]})]})})]})}))),ST=(e,t)=>{var n;const r=null!==(n=null===e||void 0===e?void 0:e.metadata)&&void 0!==n?n:{};let i={};if(t.includes("TopShot")){var o,a,s,l,c;const e=(0,us.flowSeriesToTopShotSeries)(null!==(o=r.TopShotSeries)&&void 0!==o?o:r.SeriesNumber),t=null!==(a=null!==(s=r.Serial)&&void 0!==s?s:r.SerialNumber)&&void 0!==a?a:r.editionNumber,n=null!==(l=r.Supply)&&void 0!==l?l:r.editionMax;i.Name=r.FullName,i.Set=null!==(c=r.Set)&&void 0!==c?c:r.SetName,i.Tier=(null===r||void 0===r?void 0:r.Tier)||"Unknown",i.Series=Number.isNaN(+e)?e:"Series ".concat(e),i.Serial="".concat(t," / ").concat(n),i.Team=r.TeamAtMoment,i["Play Type"]=r.PlayType}else i={...r};return i};var kT=__webpack_require__(83849),PT=__webpack_require__(42332);const DT=e=>{let{field:t,value:n}=e;return(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{className:"w-[25%]",children:(0,ms.jsx)("p",{className:"text-13 pr-3 py-2 capitalize",children:t})}),(0,ms.jsx)("td",{className:"w-[75%]",children:(0,ms.jsx)("p",{className:"text-13",children:(0,ms.jsx)("strong",{children:n})})})]})},NT=e=>{let{data:t}=e;const[n,r]=(0,sa.useState)(!0);return(0,ms.jsx)("div",{children:(0,ms.jsx)("div",{className:"metadata-grid justify-start",children:(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsxs)("div",{className:"flex justify-between cursor-pointer",onClick:()=>r(!n),children:[(0,ms.jsx)("div",{children:"Properties"}),n?(0,ms.jsx)(kT.A,{height:24,width:24}):(0,ms.jsx)(PT.A,{height:24,width:24})]}),n&&(0,ms.jsx)("div",{className:"flex justify-center",children:(0,ms.jsx)("table",{className:"min-w-full overflow-auto flex",children:(0,ms.jsx)("tbody",{className:"bg-darkBG px-4",children:Object.entries(t).map((e=>{let[t,n]=e;return(0,ms.jsx)(DT,{field:t,value:n},"field-".concat(t))}))})})})]})})})},FT=e=>{let{metadata:t,type:n}=e;const r=ST(t,n);return(0,ms.jsx)(NT,{data:r})},IT=e=>{let{nftID:t,nftType:n}=e;const r=(0,us.nftTypeAndIdToLocationData)(n,t),i=(0,us.getNFTIdentifier)(r);return(0,ms.jsx)("div",{onClick:()=>{Tf.su.api.refreshMetadata(i).then((()=>window.location.reload())).catch((e=>(0,fs.t)(" Failed to refresh Metadata",e)))},className:"flex items-end justify-center",children:(0,ms.jsx)("svg",{className:"h-6 w-6 hover:stroke-emerald-500 cursor-pointer stroke-2",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ms.jsx)("path",{d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})},RT=e=>{let{settleDeadline:t,className:n,onCountdownEnd:r}=e;return(0,ms.jsxs)("div",{className:"nft-expiration flex justify-center items-center ".concat(n||""),children:[(0,ms.jsx)("div",{className:"p-2 flex justify-center items-center nft-expiration-left",children:(0,ms.jsx)("p",{className:"text-bold ms-1",children:"Expiration Date ".concat(t.toLocaleDateString("en-US"))})}),(0,ms.jsxs)("div",{className:"p-2 flex justify-center items-center nft-expiration-right",children:[(0,ms.jsx)("p",{className:"text-bold ms-1 me-1",children:"Expires in "}),(0,ms.jsx)(Ny,{date:t,onComplete:r})]})]})},MT=e=>{let{type:t,className:n}=e,r=null,i=null;switch(t){case us.ListingStatus.Listed:r="listed",i="LISTED";break;case us.ListingStatus.Funded:r="funded",i="FUNDED";break;case us.ListingStatus.Repaid:r="repaid",i="REPAID";break;case us.ListingStatus.Delisted:r="delisted",i="DELISTED";break;case us.ListingStatus.Cancelled:r="cancelled",i="CANCELLED";break;case us.ListingStatus.Settled:r="settled",i="DEFAULTED";break;case us.ListingStatus.Invalid:r="invalid",i="Invalid";break;case us.ListingStatus.Rented:r="rented",i="Rented";break;case us.ListingStatus.Returned:r="returned",i="Returned";break;case us.ListingStatus.Expired:r="expired",i="Expired";break;case us.ListingStatus.Purchased:r="purchased",i="Purchased";break;default:(0,us.assertNever)(t)}return(0,ms.jsx)("div",{className:n,children:(0,ms.jsx)("p",{className:"nft-label ".concat(r),children:i})})},OT=e=>{let{nftState:t}=e;return(0,ms.jsx)("div",{className:"absolute w-3/4 h-full bg-opacity-75 rounded-3xl flex justify-center items-center",children:(0,ms.jsx)(MT,{type:t,className:"mt-3"})})},jT=async e=>{const t=hl.db.collection("listingRented").where("listingResourceID","in",[Number(e),e.toString()]).limit(1),n=await t.get();if(n.docs.length>0){const e=n.docs[0].data(),t={...e};var r;if(t)t.settleDeadline=null===e||void 0===e||null===(r=e.settleDeadline)||void 0===r?void 0:r.toDate();return t}return null},LT=e=>{let{className:t}=e;return(0,ms.jsx)("div",{className:"layout-loader flex justify-center items-center ".concat(t||""),children:(0,ms.jsx)(yc.BM,{color:"#04E5A3",height:80,width:80})})},BT=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o,a,s;let{authStore:l}=e;const{listingResourceId:c}=(0,Os.g)(),u=null===l||void 0===l||null===(t=l.loggedUser)||void 0===t?void 0:t.addr,d=c||"",[h,p]=(0,sa.useState)(null),[f,m]=(0,sa.useState)(null),[g,v]=(0,sa.useState)(null),[C,y]=(0,sa.useState)(!1),b=(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Delisted||(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Repaid||(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Settled||(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Funded||(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Invalid||(null===f||void 0===f?void 0:f.state)===us.ListingStatus.Expired,[w,x]=(0,sa.useState)(!!f&&Dl(null===f||void 0===f?void 0:f.blockTimestamp)),[A,E]=(0,sa.useState)(!(null===g||void 0===g||!g.settleDeadline)&&Pl(null===g||void 0===g?void 0:g.settleDeadline)),_=async()=>{const e=await(async e=>{if(!e)return null;const t=hl.db.collection("fundingAvailable").where("listingResourceID","in",[e.toString(),Number(e)]).limit(1),n=await t.get();if(n.docs.length>0){const e=n.docs[0].data(),t={...e};var r;return t&&(t.settleDeadline=null===e||void 0===e||null===(r=e.settleDeadline)||void 0===r?void 0:r.toDate()),t}return null})(d||"");v(e)},T=async()=>{const e=await(async e=>{(0,fs.t)("fetchListingById",e);const t=hl.db.collection("listingAvailable").where("listingResourceID","in",[e.toString(),Number(e)]).limit(1),n=await t.get();if((0,fs.t)("fetchListingById",n.docs),n.docs.length>0){var r;const e=n.docs[0].data();(0,fs.t)("fetchListingById",e);const t={...e};return t.blockTimestamp=null===e||void 0===e||null===(r=e.blockTimestamp)||void 0===r?void 0:r.toDate(),t}return null})(d);m(e)};(0,sa.useEffect)((()=>{_().then((()=>{(0,fs.t)("getFunding",g)})),T().then((()=>{(0,fs.t)("set listing to",f)}))}),[c]),(0,sa.useEffect)((()=>{const e=null===f||void 0===f?void 0:f.blockTimestamp;e&&x(Dl(e))}),[null===f||void 0===f?void 0:f.blockTimestamp]),(0,sa.useEffect)((()=>{const e=null===g||void 0===g?void 0:g.settleDeadline;e&&E(Pl(e))}),[null===g||void 0===g?void 0:g.settleDeadline]),(0,sa.useEffect)((()=>{if(!f)return;const e=(0,us.nftTypeAndIdToLocationData)(null===f||void 0===f?void 0:f.nftType,null===f||void 0===f?void 0:f.nftID);Tf.su.api.getItem({contractAddress:e.contract.address,contractName:e.contract.name,nftID:e.nftID,resourceName:e.resourceName}).then((e=>{var t,n,r;const i=null!==(t=null===(n=e.nftView)||void 0===n||null===(r=n.externalURL)||void 0===r?void 0:r.url)&&void 0!==t?t:"";p(i),i||(0,fs.t)("No backlink URL")}))}),[f]);(0,sa.useEffect)((()=>{if(null!==f&&void 0!==f&&f.detail){const e=f.detail;ds.o.track("Asset Detail Page Visited",{listingInfo:e})}}),[null===f||void 0===f?void 0:f.detail]);const S=null===f,[k,P]=(0,sa.useState)(null),D=(0,sa.useMemo)((()=>{var e,t,n;return null!==f&&void 0!==f&&null!==(e=f.detail)&&void 0!==e&&null!==(t=e.card)&&void 0!==t&&t.images&&f.detail.card.images.length>0?(0,us.getImageURL)(null!==(n=f.detail.card.images[0].url)&&void 0!==n?n:tl.A):(0,us.getImageURL)(tl.A)}),[null===f||void 0===f||null===(n=f.detail)||void 0===n||null===(r=n.card)||void 0===r?void 0:r.images,tl.A]);(0,sa.useEffect)((()=>{D&&C&&aC(D,"mp4").then(P)}),[D,C]);const N=(0,sa.useMemo)((()=>{var e,t,n,r,i,o;return!k&&C?(0,ms.jsx)(sC,{collectionAddress:null===f||void 0===f||null===(e=f.detail)||void 0===e||null===(t=e.card)||void 0===t?void 0:t.collectionAddress,collectionName:null===f||void 0===f||null===(n=f.detail)||void 0===n||null===(r=n.card)||void 0===r?void 0:r.collectionName,onError:e=>{(0,ol.R)(e)},className:"object-cover aspect-square w-3/4 ".concat(b?"opacity-50":"")}):k?k?(0,ms.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!0,className:"nft-image max-w-xs md:max-w-lg mx-auto ".concat(b?"opacity-50":""),children:(0,ms.jsx)("source",{type:"video/mp4",src:D})}):void 0:(0,ms.jsx)("img",{src:D,className:"nft-image max-w-xs md:max-w-lg mx-auto ".concat(b?"opacity-50":""),loading:"lazy",alt:"".concat(null===f||void 0===f||null===(i=f.detail)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.title," asset"),onError:()=>{y(!0)}})}),[D,ol.R,k,C,b,y]);return(0,ms.jsx)(cv,{children:S?(0,ms.jsx)(LT,{}):(0,ms.jsxs)("div",{className:"container",children:[f&&(0,ms.jsx)(W_,{listing:f}),(0,ms.jsx)("nav",{"aria-label":"breadcrumb",children:(0,ms.jsxs)("ol",{className:"flex items-center",children:[(0,ms.jsxs)("li",{className:"flex items-center",children:[(0,ms.jsx)("a",{href:OD.Marketplace,className:"hover:underline cursor-pointer",children:"Marketplace"}),(0,ms.jsx)(TC,{className:"h-7 w-7 flex-shrink-0 text-primary","aria-hidden":"true"})]}),(0,ms.jsx)("li",{children:(0,ms.jsxs)("a",{href:"/marketplace",className:"hover:underline cursor-pointer",children:[" ",(null===f||void 0===f||null===(i=f.detail)||void 0===i||null===(o=i.nft)||void 0===o?void 0:o.title)||""]})})]})}),(0,ms.jsxs)("div",{className:"relative pt-4",children:[(0,ms.jsxs)(iT,{className:"md:flex-nowrap flex-wrap",children:[(0,ms.jsxs)(rT,{lg:4,children:[(0,ms.jsxs)("div",{className:"flex justify-center nft-image-card",children:[N,u===f.flowtyStorefrontAddress&&w&&(0,ms.jsx)("div",{className:"z-50 flex justify-center nft-image-alert w-full",children:(0,ms.jsx)("div",{className:"w-3/4 flex justify-center items-center countdown-content rounded-t-xl",children:(0,ms.jsx)("p",{className:"text-white text-bold me-2",children:"My Listing"})})}),b?(null===f||void 0===f?void 0:f.state)&&(0,ms.jsx)(OT,{nftState:f.state}):!w&&null!==f&&void 0!==f&&f.blockTimestamp?(0,ms.jsx)("div",{className:"flex justify-center items-center",children:(0,ms.jsx)(Z_,{blockTimestamp:null===f||void 0===f?void 0:f.blockTimestamp,onCountdownEnd:()=>x(!0),className:"w-3/4"})}):A?(0,ms.jsx)("div",{className:"nft-image-alert w-full",children:(0,ms.jsx)("div",{className:"pt-1 flex justify-center items-center",children:(0,ms.jsx)(nT,{variant:"info",className:"pt-2 pb-2 mt-5 absolute ps-3 pe-3 text-bold",children:"Expired"})})}):null]}),(0,ms.jsxs)("div",{className:"flex justify-between w-full ms-2 padding-20",children:[h&&(0,ms.jsxs)("a",{href:h,target:"_blank",rel:"noreferrer",children:[(0,ms.jsx)("p",{className:"inline-block pt-1 mt-3 me-2 text-16",children:"View Asset"}),(0,ms.jsx)(tc,{className:"inline-block pb-1"})]}),(0,ms.jsx)(IT,{nftType:f.nftType,nftID:f.nftID})]}),(0,ms.jsx)("div",{className:"padding-10",children:(null===f||void 0===f||null===(a=f.detail)||void 0===a||null===(s=a.nft)||void 0===s?void 0:s.metadata)&&(null===f||void 0===f?void 0:f.nftType)&&(0,ms.jsx)(FT,{metadata:f.detail.nft.metadata,type:f.nftType})})]}),(0,ms.jsx)(rT,{className:"mt-5",children:(0,ms.jsx)(TT,{listing:f,funding:g,isListingActive:w,isListingExpired:A})})]}),(null===g||void 0===g?void 0:g.settleDeadline)&&((null===f||void 0===f?void 0:f.state)===us.ListingStatus.Funded||us.ListingStatus.Rented)&&(0,ms.jsx)(RT,{settleDeadline:null===g||void 0===g?void 0:g.settleDeadline,className:"mt-5",onCountdownEnd:()=>E(!0)})]})]})})}))),UT=()=>{(0,sa.useEffect)((()=>{ds.o.track("Privacy Page Visited")}),[]);return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Privacy Policy",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("section",{children:(0,ms.jsxs)("div",{className:"mt-5 mb-4 pt-4 container",children:[(0,ms.jsx)("h1",{className:"pt-3 text-3xl text-center",children:"Privacy Policy"}),(0,ms.jsx)("br",{}),(0,ms.jsx)("iframe",{title:"privacy",src:"https://storage.googleapis.com/flowty-docs/flowty-privacy-policy.pdf",width:"100%",height:"700px",children:"Privacy Policy"})]})})]})};var VT=__webpack_require__(77706);const HT=2e5,zT=async(e,t,n,r,i)=>{var o,a;const s=(null===e||void 0===e||null===(o=e.target)||void 0===o?void 0:o.files)&&(null===e||void 0===e||null===(a=e.target)||void 0===a?void 0:a.files[0]);if(!s)return;let l;if((0,fs.t)("Max image size",Tl()(HT).format("0.0 b")),(0,fs.t)("Image size",Tl()(s.size).format("0.0 b")),s.size>HT?(l=await((e,t,n)=>new Promise(((r,i)=>{if(!e)return;const o=new FileReader;o.readAsDataURL(e),o.onload=()=>{const a=document.createElement("img");a.src=o.result,a.onload=()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");null===o||void 0===o||o.drawImage(a,0,0,t,n),i.toBlob((t=>{const n=new File([t||""],e.name,{lastModified:e.lastModified,type:e.type});r(n)}),e.type,.8)},a.onerror=e=>{i(e)}},o.onerror=e=>{i(e)}})))(s,300,300),(0,fs.t)("Image Resized: ",Tl()(l.size).format("0.0 b"))):l=s,l&&await(async e=>{if(!e)return;const t=["image/jpeg","image/png"];return e.size>HT?(pc().fire({confirmButtonColor:"#3085d6",text:"".concat(e.name," is too large, please pick an image with max size ").concat(Tl()(HT).format("0,0 b")," KB")}),!1):!!t.includes(e.type)||(pc().fire({confirmButtonColor:"#3085d6",text:"".concat(e.type," is an invalid file type, please upload from the following file types: ").concat(t)}),!1)})(l)){n(!0);const e=l.name.split(".").pop(),o=hl.IG.ref("/images/".concat(r,".").concat(null!==e&&void 0!==e?e:""));o.put(l).then((()=>{o.getDownloadURL().then((e=>{t(e),null===i||void 0===i||i("avatar",e),n(!1)}))}))}},ZT=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n;let{user:r,authStore:i}=e;const o=null!==(t=null===r||void 0===r?void 0:r.accountSummaries)&&void 0!==t?t:{},{walletAddresses:a,setWalletAddresses:s}=(0,sa.useContext)(wb),l=pc().mixin({background:"#232D39E6",customClass:{container:"py-1 mb-4",icon:"text-green-500"},iconColor:"#04F5A3",position:"bottom",showConfirmButton:!1,timer:3e3,toast:!0,width:"400px"}),c=(0,sa.useMemo)((()=>{var e;return null===r||void 0===r?void 0:r.accountSummaries[null!==(e=null===r||void 0===r?void 0:r.addr)&&void 0!==e?e:""]}),[]);return(0,ms.jsx)("div",{children:(null===r||void 0===r?void 0:r.accountSummaries)&&Object.keys(null===r||void 0===r?void 0:r.accountSummaries).length>1&&(0,ms.jsx)(Bs.VX,{childAccounts:null===r||void 0===r?void 0:r.accountSummaries,isLoggedUserAcct:r.addr===(null===i||void 0===i||null===(n=i.loggedUser)||void 0===n?void 0:n.addr),mainAccount:c,tokenIdentifiers:VT.IdentifierToPaymentToken,selectedWalletAddresses:a,selectAllAddresses:()=>{s(Object.keys(o))},clearAllAddresses:()=>{s([])},updateSelectedAddresses:e=>{let t=[...a];t.includes(e)?t=t.filter((t=>t!==e)):t.push(e),s(t)},onUploadNewImage:zT,saveNewImage:async(e,t,n)=>{try{await Tf.su.editChildAccountDisplay({childAddress:e,desc:"",name:t,thumbnail:n}).then((()=>{l.fire({icon:"success",text:"Successfully Updated Account Details"}),null===i||void 0===i||i.setLinkedWalletImage(e,n),null===i||void 0===i||i.setLinkedWalletDisplayName(e,t)}))}catch(r){console.log("errorrr",r)}}})})})));const WT=__webpack_require__.p+"static/media/defaultProfileImage.e70fd45310525e8aed61d90f67910926.svg";const qT=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"}))})),GT=e=>{let{address:t}=e;const[n,r]=(0,sa.useState)(!1),i=()=>r(!1),o=window.location.origin;return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsx)("button",{disabled:n,"data-tooltip-id":"copy-wallet-url-tooltip","data-tooltip-content":"Share Profile URL","data-tooltip-place":"right",className:iC("bg-[#606E7D33] hover:bg-[#606E7D52] border border-[#FFFFFF1F] rounded-md px-[12px] py-[6px] cursor-pointer flex items-center justify-between w-[126px] md:w-[146px]",n&&"text-white bg-[#606E7D52]"),onClick:()=>{r(!0),setTimeout(i,5e3),navigator.clipboard.writeText("".concat(o,"/user/").concat(t))},children:n?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"font-normal text-[0.875rem] md:text-[14px] mr-[0.25rem] text-[#DEDEDE] leading-[normal]",children:"Profile Copied"}),(0,ms.jsx)($b,{className:"w-4 h-4 stroke-primary"})]}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"font-normal text-[0.875rem] md:text-[14px] mr-[0.25rem] text-[#DEDEDE] leading-[normal]",children:"Share Profile"}),(0,ms.jsx)(qT,{className:"w-4 h-4 stroke-[#DEDEDE]"})]})})})},YT=e=>{let{profile:t}=e;const[n,r]=(0,sa.useState)(!1),i="Dapper Wallet Email Address - ".concat(t.email,"%0D%0A\nDapper Wallet Address - ").concat(t.addr,"%0D%0A\n%0D%0A\nI am requesting access to Dapper's Account Linking portal for the above Dapper Wallet.%0D%0A\n%0D%0A\nThank you"),o="mailto:developers@dapperlabs.com?subject=Account Linking&body=".concat(i);return(0,sa.useEffect)((()=>{t.isDapper&&t.addr&&vc(null===t||void 0===t?void 0:t.addr).then((e=>{null!==e&&void 0!==e&&e.hideDWAccountLinkingBanner||r(!0)}))}),[t.addr]),n?(0,ms.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row bg-[#ffffff] bg-opacity-[2%] backdrop-blur-lg border-[1px] border-opacity-20 rounded-md border-[#7c7c7c] p-4 justify-around lg:max-w-[70%] items-center mt-2",children:[(0,ms.jsx)("div",{className:"text-sm text-white",children:"Do you own multiple wallets on the FLOW blockchain? Link them together and access all of them at one place today!"}),(0,ms.jsx)("a",{href:o,target:"_blank",rel:"noreferrer",onClick:()=>{(0,fs.t)("Account Linking Requested"),ds.o.track("Account Linking Requested")},children:(0,ms.jsxs)("div",{className:"bg-white rounded-lg text-[#011020] px-4 py-3 flex flex-nowrap font-extrabold text-base uppercase whitespace-nowrap",children:["Request Access",(0,ms.jsx)(tc,{className:"inline-block pb-2 pl-2"})]})}),(0,ms.jsx)("button",{onClick:()=>{null!==t&&void 0!==t&&t.addr&&gc(null===t||void 0===t?void 0:t.addr,{hideDWAccountLinkingBanner:!0}).then((()=>{r(!1)}))},children:(0,ms.jsx)(wx,{})})]}):(0,ms.jsx)(ms.Fragment,{})},KT=e=>{let{walletAddress:t}=e;const[n,r]=(0,sa.useState)(null);return(0,sa.useEffect)((()=>{t&&hl.db.doc("/accounts/".concat(t,"/providers/discord")).get().then((e=>{e.exists&&r(e.data().username)})).catch((e=>{ds.o.track("ERROR_FIREBASE_FETCH_DISCORD",{e:e})}))}),[t]),n?(0,ms.jsxs)("div",{children:[(0,ms.jsx)(nc.m_,{id:"view-discord-profile-tooltip",style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)("div",{"data-tooltip-id":"view-discord-profile-tooltip","data-tooltip-content":"View Discord Profile","data-tooltip-place":"right",children:(0,ms.jsx)(UA,{link:"https://discordapp.com/users/".concat(n)})})]}):(0,ms.jsx)(ms.Fragment,{})},QT=e=>{let{walletAddress:t}=e;const[n,r]=(0,sa.useState)(null);return(0,sa.useEffect)((()=>{t&&hl.db.doc("/accounts/".concat(t,"/providers/twitter")).get().then((e=>{if(e.exists){var t;const n=e.data();r(null!==(t=n.handle)&&void 0!==t?t:null)}})).catch((e=>{ds.o.track("ERROR_FIREBASE_FETCH_TWITTER",{e:e})}))}),[t]),n?(0,ms.jsxs)("div",{children:[(0,ms.jsx)(nc.m_,{id:"view-twitter-profile-tooltip",style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)("div",{"data-tooltip-id":"view-twitter-profile-tooltip","data-tooltip-content":"View Twitter Profile","data-tooltip-place":"right",children:(0,ms.jsx)(sE,{link:"https://twitter.com/".concat(n)})})]}):(0,ms.jsx)(ms.Fragment,{})},XT=e=>{let{profile:t}=e;const n=(0,Bs.dv)();if(!t)return null;const r=window.location.origin;return(0,ms.jsx)("div",{className:"mb-8 pt-[3rem] md:pt-[6rem] lg:pt-20 lg:mb-4",children:(0,ms.jsxs)("div",{className:"max-w-5xl",children:[(0,ms.jsxs)("div",{className:"sm:-mt-16 inline-flex items-center gap-[0.75rem]",children:[(0,ms.jsx)("img",{className:"h-[4rem] w-[4rem] rounded-[0.5rem]",src:t.avatar||WT,alt:"User profile"}),(0,ms.jsxs)("div",{className:"flex flex-col gap-[0.25rem]",children:[(0,ms.jsxs)("div",{className:"truncate flex items-center space-x-[0.75rem]",children:[(0,ms.jsx)("h1",{className:"text-[1.5rem] font-bold text-white truncate leading-none",children:(()=>{var e,r,i;return t.userName&&""!==t.userName?t.userName:["xs","mobile","tablet"].includes(n)?(null===t||void 0===t||null===(r=t.addr)||void 0===r?void 0:r.slice(0,3))+"..."+(null===t||void 0===t||null===(i=t.addr)||void 0===i?void 0:i.slice(-4)):null!==(e=null===t||void 0===t?void 0:t.addr)&&void 0!==e?e:""})()}),(0,ms.jsxs)("div",{className:"flex flex-row items-center gap-[2px]",children:[(0,ms.jsx)(QT,{walletAddress:t.addr||""}),(0,ms.jsx)(KT,{walletAddress:t.addr||""}),(0,ms.jsx)(JA,{shareFn:()=>{navigator.clipboard.writeText("".concat(r,"/user/").concat(null===t||void 0===t?void 0:t.addr))}})]})]}),(0,ms.jsxs)("div",{className:"mt-[0.25rem] flex gap-1 flex-wrap",children:[(0,ms.jsx)(Bl,{address:t.addr||""}),(0,ms.jsx)(GT,{address:(null===t||void 0===t?void 0:t.addr)||""})]})]})]}),(0,ms.jsx)(YT,{profile:t})]})})},JT=()=>(0,ms.jsxs)("div",{className:"w-full flex flex-col gap-3 pt-3",children:[(0,ms.jsx)("div",{className:"rounded flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait w-full h-[46px]"}),Array.from({length:5}).map(((e,t)=>(0,ms.jsx)("div",{className:"rounded flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait w-full h-[72px]"},t)))]}),$T=e=>{let{isReceived:t}=e;const n=(0,Os.Zp)();return(0,ms.jsxs)("div",{className:"flex flex-col items-center",children:[(0,ms.jsxs)("div",{className:"relative mr-5",children:[(0,ms.jsx)("svg",{width:"82",height:"105",viewBox:"0 0 82 105",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{d:"M76.5 22.5L81.5 0H44C30.8 2.4 23.5 15.3333 21.5 21.5L0 105H26L35.5 67H53.5L58.5 43.5H41.5C46 27.5 47.5 22.5 50.5 22.5H76.5Z",className:"fill-[#b3bbbe]"})}),(0,ms.jsxs)("div",{className:"flex space-x-2 left-11 bottom-0 absolute",children:[(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"}),(0,ms.jsx)("div",{className:"w-5 h-5 rounded-full bg-[#B3BBBE]"})]})]}),(0,ms.jsx)("div",{className:"uppercase text-[#B3B7BC] mt-3 pb-2",children:"No Offers Found"}),!t&&(0,ms.jsx)(Bs.M2,{text:"View all Collections",onClick:()=>n("/collections"),variant:"secondary",btnSize:"small"})]})};const eS=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M10.293 15.707a1 1 0 010-1.414L14.586 10l-4.293-4.293a1 1 0 111.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0z",clipRule:"evenodd"}),sa.createElement("path",{fillRule:"evenodd",d:"M4.293 15.707a1 1 0 010-1.414L8.586 10 4.293 5.707a1 1 0 011.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}));const tS=sa.forwardRef((function(e,t){return sa.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),sa.createElement("path",{fillRule:"evenodd",d:"M15.707 15.707a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 010 1.414zm-6 0a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 011.414 1.414L5.414 10l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"}))})),nS=e=>{let{nft:t,moreOffer:n,fields:r,isLast:i,onHide:o}=e;const[a,s]=(0,sa.useState)(!1);return(0,ms.jsxs)("tr",{className:"text-lightText ".concat(a&&"hidden"," ").concat(i&&"border-b-[0.5px] border-[#444444]"," "),children:[(0,ms.jsx)("td",{}),r.slice(1).map(((e,r)=>e.customRender({callback:()=>{o(),s(!0)},key:"".concat(r),nft:t,offer:n})))]})},rS=e=>{let{nft:t,fields:n}=e;const[r,i]=(0,sa.useState)(!0),[o,a]=(0,sa.useState)(!1),s=t.offers,[l,c]=(0,sa.useState)(0),[u,d]=(0,sa.useState)(s.length-1),[h,p]=(0,sa.useState)({}),f=(0,sa.useMemo)((()=>s.length-Object.keys(h).length>1),[l,h]),m=()=>{p({...h,[l]:!0});let e=1;if(!f)return a(!0);for(;h[l+e];)e+=1;c(l+e)};return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("tr",{className:"".concat((!f||f&&!r)&&"border-b-[0.5px] border-[#444444]"," text-lightText ").concat(o&&"hidden"),children:[s[l]&&n.map(((e,n)=>e.customRender({callback:m,key:"".concat(e.name,"-").concat(e.title,"-").concat(n),nft:t,offer:s[l]}))),f&&(0,ms.jsx)("td",{className:"relative whitespace-nowrap py-4 pl-3 pr-4 text-center text-[#B5B5B5] text-lg font-medium sm:pr-0",children:(0,ms.jsxs)("div",{className:"inline-flex cursor-pointer",onClick:()=>i(!r),onKeyDown:e=>{"Enter"===e.key&&i(!r)},children:["".concat(s.length-(Object.keys(h).length+1)," more offers"),r?(0,ms.jsx)(kT.A,{className:"h-7 w-7 ml-1 cursor-pointer text-primary"}):(0,ms.jsx)(PT.A,{className:"h-7 w-7 ml-1 cursor-pointer text-primary"})]})})]}),f&&r&&s.slice(l+1).map(((e,r)=>{const i=r+1+l,o=i===u;return e?(0,ms.jsx)(nS,{onHide:()=>{if(o){let e=u-1;for(;e>0&&h[e];)e-=1;d(e)}p({...h,[i]:!0})},nft:t,fields:n,moreOffer:e,isLast:o},e.offerResourceID):null}))]})},iS=e=>{let{items:t,fields:n,onSort:r=()=>{},initialSortConfig:i=null,isFetchingResults:o}=e;const[a,s]=(0,sa.useState)(i),[l,c]=(0,sa.useState)(!0),[u,d]=(0,sa.useState)(!0),h=(0,sa.useRef)(null),p=(0,sa.useCallback)((e=>()=>{if((null===a||void 0===a?void 0:a.column)===e)return"desc"===a.order?void s({column:e,order:"asc"}):void s(i);s({column:e,order:"desc"})}),[a]);(0,sa.useEffect)((()=>{r(a)}),[a]),(0,sa.useEffect)((()=>{"blockTimestamp"===(null===a||void 0===a?void 0:a.column)&&"desc"===(null===a||void 0===a?void 0:a.order)&&ds.o.track("Offers table sorted",{sortedBy:a})}),[null===a||void 0===a?void 0:a.column]),(0,sa.useEffect)((()=>{if(!h.current)return;const e=h.current.scrollWidth,t=h.current.clientWidth;if(!(e>t))return;const n=h.current.scrollLeft;d(n+t+100>e),c(n<100)}),[null===h||void 0===h?void 0:h.current]);const f=(0,sa.useMemo)((()=>{var e,t,n;return((null===(e=h.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t||null===(n=t.call(e))||void 0===n?void 0:n.top)||0)+100}),[h.current]);return(0,ms.jsx)("div",{className:" relative flow-root w-full text-lightText pr-6 pl-4 sm:pl-0 lg:pr-0 ".concat(o&&"animate-pulse"),children:(0,ms.jsxs)("div",{onScroll:e=>{const t=e.target;d((null===t||void 0===t?void 0:t.clientWidth)+(null===t||void 0===t?void 0:t.scrollLeft)+100>(null===t||void 0===t?void 0:t.scrollWidth)),c((null===t||void 0===t?void 0:t.scrollLeft)<100)},ref:h,className:"-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8",children:[!u&&(0,ms.jsx)(eS,{style:{top:"".concat(f,"px")},className:"lg:hidden fixed right-2  animate-pulse h-12 w-12 text-white drop-shadow-[0_6px_6px_rgba(4,229,163,0.5)] z-50"}),!l&&(0,ms.jsx)(tS,{style:{top:"".concat(f,"px")},className:"lg:hidden fixed left-2  animate-pulse h-12 w-12 text-white drop-shadow-[0_6px_6px_rgba(4,229,163,0.5)] z-50"}),(0,ms.jsx)("div",{className:"inline-block py-2 align-middle sm:px-6 lg:px-8 w-full",children:(0,ms.jsxs)("table",{className:"w-full divide-y divide-gray-300 bg-transparent",children:[(0,ms.jsx)("thead",{className:"border-b-[0.5px] border-[#444444]",children:(0,ms.jsx)("tr",{className:"uppercase text-base font-semibold text-[#DDDDDD]",children:n.map((e=>(0,ms.jsx)("th",{className:"px-3 py-3.5",children:(0,ms.jsxs)("button",{type:"button",className:"bg-transparent ".concat(e.sortable?"":"cursor-default"," p-0 m-0 flex flex-row items-center"),disabled:!e.sortable,onClick:e.sortable?p(null===e||void 0===e?void 0:e.name):()=>{},children:[(0,ms.jsx)("span",{className:"uppercase whitespace-nowrap inline-flex items-center text-left text-base",children:e.title}),e.sortable&&(0,ms.jsx)(kT.A,{color:"white",height:20,className:" ml-1 ".concat((null===a||void 0===a?void 0:a.column)===e.name?"opacity-100":"opacity-20 hover:opacity-30"," ").concat("desc"===(null===a||void 0===a?void 0:a.order)?"transform rotate-180":""," ")})]})},"".concat(e.title," header"))))})}),(0,ms.jsxs)("tbody",{children:[o&&(0,ms.jsx)("div",{className:"flex justify-center col-span-4 py-3",children:(0,ms.jsx)(yc.BM,{height:100,width:100})}),t.map((e=>e?(0,ms.jsx)(rS,{nft:e,fields:n},"".concat(null===e||void 0===e?void 0:e.contractAddress," ").concat(null===e||void 0===e?void 0:e.contractName," ").concat(null===e||void 0===e?void 0:e.id)):null))]})]})})]})})},oS=async(e,t)=>{var n,r;const i=null!==(n=await(null===hl.j2||void 0===hl.j2||null===(r=hl.j2.currentUser)||void 0===r?void 0:r.getIdToken(!0)))&&void 0!==n?n:"",o="".concat(ss.Sw,"/offers/hide"),a={hidden:t,offerID:e},s={Authorization:i},l=await cs().post(o,a,{headers:s});if(200!==l.status)throw new Error("Unable to hide offer, please try again later");return l.data},aS=e=>{var t,n,r,i,o,a,s,l,c,u;let{locationData:d,offer:h}=e;return(0,ms.jsx)(ca.N_,{to:"/asset/".concat(d.contract.address,"/").concat(d.contract.name,"/").concat(d.resourceName,"/").concat(d.nftID),children:(0,ms.jsxs)("div",{className:"flex cursor-pointer",children:[(0,ms.jsx)("div",{className:"h-16 w-16 mr-3",children:(0,ms.jsx)(al,{collectionAddress:(null===h||void 0===h||null===(t=h.card)||void 0===t?void 0:t.collectionAddress)||"",collectionName:(null===h||void 0===h||null===(n=h.card)||void 0===n?void 0:n.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(r=null===h||void 0===h||null===(i=h.card)||void 0===i||null===(o=i.images)||void 0===o||null===(a=o[0])||void 0===a?void 0:a.url)&&void 0!==r?r:tl.A,(0,ss.hx)(null!==(s=h.type)&&void 0!==s?s:""))})}),(0,ms.jsxs)("div",{className:"flex flex-col justify-center text-base text-primary whitespace-nowrap h-16",children:[(0,ms.jsx)("div",{className:"font-extrabold ",children:null===h||void 0===h||null===(l=h.card)||void 0===l?void 0:l.title}),null===h||void 0===h||null===(c=h.card)||void 0===c||null===(u=c.additionalDetails)||void 0===u?void 0:u.map((e=>(0,ms.jsx)("div",{className:"font-normal text-sm",children:e},e)))]})]})})},sS=e=>{let{callBack:t,onAccept:n,onHide:r,hasProvider:i}=e;const[o,a]=(0,sa.useState)(!1);return(0,ms.jsxs)("div",{className:"flex items-center gap-12",children:[i?(0,ms.jsx)("div",{className:"w-36",children:(0,ms.jsx)(Bs.M2,{onClick:n,text:"Accept",variant:"secondary",btnSize:"small"})}):(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)("div",{className:"w-36",children:[(0,ms.jsx)(nc.m_,{id:"view-only-tooltip",style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)("div",{"data-tooltip-id":"view-only-tooltip","data-tooltip-content":"This profile has view-only access to this item","data-tooltip-place":"bottom",children:(0,ms.jsx)(Bs.M2,{onClick:n,text:"Accept",variant:"secondary",btnSize:"small",disabled:!0})})]})}),(0,ms.jsx)("div",{className:"w-36",children:(0,ms.jsx)(Bs.M2,{text:o?(0,ms.jsx)("div",{className:"flex justify-around items-center",children:(0,ms.jsx)(yc.BM,{height:12,width:12})}):"Hide",onClick:()=>{a(!0),r().then((()=>t())).finally((()=>a(!1)))},variant:"secondary",btnSize:"small",bgColor:"white"})})]})},lS=e=>{let{isPublic:t,authStore:n,address:r,addresses:i}=e;const[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)(0),[c,u]=(0,sa.useState)(0),[d,h]=(0,sa.useState)(!0),[p,f]=(0,sa.useState)(!0),m=(0,sa.useRef)(!1),{selectCard:g}=my(),v=(0,sa.useCallback)((e=>{let{offer:t,singleOfferType:n,selectedNft:r}=e;g({selected:{contractAddress:r.contractAddress,contractName:r.contractName,nftID:r.id,nftType:r.type},selectedSingleOffer:t,singleOfferType:n})}),[g]),[C,y]=(0,sa.useState)(!1),{hybridCustodyNFTStatus:b}=(0,ys.g)(),w=wl({isLoading:m.current,onInfiniteScroll(){p&&((0,fs.t)("Scroll Triggered",{hasMore:p,page:s}),l(s+1))}},[o.length,p,m.current]),[x,A]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending}),E=(0,sa.useCallback)((async()=>{a([]),m.current=!0,l(0),f(!0),y(!0),h(!0);try{const e=await cs().post("".concat(ss.Sw,"/user/").concat(r,"/offers/received"),{addresses:i,from:0,limit:5,sort:{direction:null===x||void 0===x?void 0:x.order,path:null===x||void 0===x?void 0:x.column}});o.length+e.data.nfts.length===e.data.total&&f(!1),a(e.data.nfts),u(e.data.total),m.current=!1,h(!1),y(!1)}catch(e){cs().isCancel(e)&&ds.o.track("PROFILE_OFFERS_RECEIVED",{event:"cancelled"}),m.current=!1,h(!1),y(!1)}}),[i,r,x,s]);(0,sa.useEffect)((()=>{E()}),[r,x,i]),(0,sa.useEffect)((()=>{0!==s&&(m.current=!0,h(!0),cs().post("".concat(ss.Sw,"/user/").concat(r,"/offers/received"),{addresses:i,from:5*s,limit:5,sort:{direction:null===x||void 0===x?void 0:x.order,path:null===x||void 0===x?void 0:x.column}}).then((e=>{o.length+e.data.nfts.length===e.data.total&&f(!1),a([...o,...e.data.nfts]),u(e.data.total),m.current=!1,h(!1)})).catch((e=>{m.current=!1,h(!1)})))}),[s,i]);const _=[{customRender:e=>{var t,n;let{offer:r,key:i}=e;const o=(0,us.nftTypeAndIdToLocationData)((null===r||void 0===r||null===(t=r.typeAndIDOffer)||void 0===t?void 0:t.nftType)||"",(null===r||void 0===r||null===(n=r.typeAndIDOffer)||void 0===n?void 0:n.nftID)||"");return(0,ms.jsx)("td",{className:"px-3 py-8 text-sm font-medium sm:pl-3",children:(0,ms.jsx)(aS,{locationData:o,offer:r})},i)},name:"NFT",title:"NFT"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:(0,ms.jsx)(Nl.se,{amount:null===t||void 0===t?void 0:t.amount,token:null===t||void 0===t?void 0:t.paymentTokenName,isSmall:!0,largeText:!0,justifyStart:!0})},n)},name:"usdValue",sortable:!0,title:"Offer"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8",children:(0,ms.jsx)("div",{className:"flex flex-col",children:(0,ms.jsx)(ca.N_,{to:"/user/".concat(null===t||void 0===t?void 0:t.storefrontAddress),children:(0,ms.jsx)("span",{className:"text-[#1B8062] text-sm hover:underline cursor-pointer",children:null===t||void 0===t?void 0:t.storefrontAddress})})})},n)},name:"From",title:"From"},{customRender:e=>{var t,n;let{offer:r,key:i}=e;const o=null===r||void 0===r||null===(t=r.valuations)||void 0===t||null===(n=t.blended)||void 0===n?void 0:n.usdValue;return o?(0,ms.jsxs)("td",{className:"whitespace-nowrap px-3 py-8 text-sm text-bold",children:["$",(0,Oy.K)(o)]},i):(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:"-"})},name:"FMV",title:"FMV"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:(0,el.default)((0,jy.default)(null===t||void 0===t?void 0:t.blockTimestamp),"yyyy-MM-dd HH:mm")},n)},name:"blockTimestamp",sortable:!0,title:"Date Received"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:zy(Ly(null===t||void 0===t?void 0:t.expiry))},n)},name:"Expiration",title:"Expiration"},...t?[{customRender:e=>{var t;let{nft:r,offer:i,key:o}=e;const a=(null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr)===i.storefrontAddress;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-sm",children:(0,ms.jsx)("div",{className:"space-x-3",children:a?(0,ms.jsx)(Bs.M2,{text:"Cancel",onClick:()=>{v({offer:i,selectedNft:r,singleOfferType:"cancel-offer"})},variant:"secondary",btnSize:"small",bgColor:"white"}):(0,ms.jsx)("div",{className:"w-36"})})},o)},name:"Cancel",title:"Cancel"}]:[{customRender:e=>{var t,r,i;let{nft:o,offer:a,callback:s,key:l}=e;const c=(null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr)===(null===o||void 0===o?void 0:o.owner),u="".concat(null===o||void 0===o?void 0:o.contractAddress,".").concat(null===o||void 0===o?void 0:o.contractName),d=(null===b||void 0===b||null===(r=b[(null===o||void 0===o?void 0:o.owner)||""])||void 0===r||null===(i=r[u])||void 0===i?void 0:i.length)>0||c;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-sm",children:(0,ms.jsx)(sS,{callBack:s,onAccept:()=>v({offer:a,selectedNft:o}),onHide:async()=>(async e=>oS(e,!0))(null===a||void 0===a?void 0:a.offerResourceID).then((e=>{s()})),hasProvider:d})},l)},name:"Accept/Hide",title:"Accept/Hide"}]];return{dataTotal:c,hasMore:p,isFetching:d,isLoadingResults:C,nftsWithOffers:o,receivedOffersFields:_,scroll:w,setSort:A,sort:x}},cS=e=>{let{address:t,isPublic:n,authStore:r,addresses:i}=e;const{dataTotal:o,isFetching:a,isLoadingResults:s,receivedOffersFields:l,scroll:c,sort:u,nftsWithOffers:d,setSort:h,hasMore:p}=lS({address:t,addresses:i,authStore:r,isPublic:n});return(0,ms.jsx)("div",{className:"flex flex-col justify-center items-center",children:a?(0,ms.jsx)(JT,{}):(0,ms.jsx)(ms.Fragment,{children:Boolean(o)?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(iS,{fields:l,initialSortConfig:u,items:d,onSort:h,isFetchingResults:s}),p&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:c})]})]}):(0,ms.jsx)($T,{isReceived:!0})})})},uS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{const{walletAddresses:t}=(0,sa.useContext)(wb);return(0,ms.jsx)(cS,{...e,addresses:t})}))),dS=e=>{let{address:t,isPublic:n,addresses:r}=e;const{dataTotal:i,hasMore:o,isFetching:a,isLoadingResults:s,nftsWithOffers:l,madeOfferFields:c,scroll:u,setSort:d,sort:h}=(e=>{let{address:t,isPublic:n,addresses:r}=e;const[i,o]=(0,sa.useState)([]),[a,s]=(0,sa.useState)(0),[l,c]=(0,sa.useState)(0),[u,d]=(0,sa.useState)(!0),[h,p]=(0,sa.useState)(!0),[f,m]=(0,sa.useState)(!1),g=(0,sa.useRef)(!1),{selectCard:v}=my(),C=(0,sa.useCallback)((e=>{let{offer:t,singleOfferType:n,selectedNft:r}=e;v({selected:{contractAddress:r.contractAddress,contractName:r.contractName,nftID:r.id,nftType:r.type},selectedSingleOffer:t,singleOfferType:n})}),[v]),y=wl({isLoading:g.current,onInfiniteScroll(){h&&s(a+1)}},[i.length,h,g.current]),[b,w]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending}),x=(0,sa.useCallback)((async()=>{o([]),g.current=!0,s(0),p(!0),m(!0),d(!0);try{const e=await cs().post("".concat(ss.Sw,"/user/").concat(t,"/offers/created"),{addresses:r,from:0,limit:5,sort:{direction:null===b||void 0===b?void 0:b.order,path:null===b||void 0===b?void 0:b.column}});i.length+e.data.nfts.length===e.data.total&&p(!1),o(e.data.nfts),c(e.data.total),g.current=!1,d(!1),m(!1)}catch(e){cs().isCancel(e)&&ds.o.track("PROFILE_OFFERS_CREATED",{event:"cancelled"}),g.current=!1,d(!1),m(!1)}}),[r,t,b,a]);(0,sa.useEffect)((()=>{x()}),[t,b,r]),(0,sa.useEffect)((()=>{0!==a&&(g.current=!0,cs().post("".concat(ss.Sw,"/user/").concat(t,"/offers/created"),{addresses:r,from:5*a,limit:5,sort:{direction:null===b||void 0===b?void 0:b.order,path:null===b||void 0===b?void 0:b.column}}).then((e=>{i.length+e.data.nfts.length===e.data.total&&p(!1),o([...i,...e.data.nfts]),c(e.data.total),g.current=!1,d(!1)})).catch((e=>{g.current=!1,d(!1)})))}),[a,r]);const A=[{customRender:e=>{var t,n;let{offer:r,key:i}=e;const o=(0,us.nftTypeAndIdToLocationData)((null===r||void 0===r||null===(t=r.typeAndIDOffer)||void 0===t?void 0:t.nftType)||"",(null===r||void 0===r||null===(n=r.typeAndIDOffer)||void 0===n?void 0:n.nftID)||"");return(0,ms.jsx)("td",{className:"px-3 py-8 text-sm font-medium sm:pl-3",children:(0,ms.jsx)(aS,{locationData:o,offer:r})},i)},name:"NFT",title:"NFT"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:(0,ms.jsx)(Nl.se,{amount:null===t||void 0===t?void 0:t.amount,token:null===t||void 0===t?void 0:t.paymentTokenName,isSmall:!0,largeText:!0,justifyStart:!0})},n)},name:"usdValue",sortable:!0,title:"Offer"},{customRender:e=>{let{nft:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8",children:(0,ms.jsx)("div",{className:"flex flex-col",children:(0,ms.jsx)(ca.N_,{to:"/user/".concat(null===t||void 0===t?void 0:t.owner),children:(0,ms.jsx)("span",{className:"text-[#1B8062] text-sm hover:underline cursor-pointer",children:null===t||void 0===t?void 0:t.owner})})})},n)},name:"To",title:"To"},{customRender:e=>{var t,n;let{offer:r,key:i}=e;const o=null===r||void 0===r||null===(t=r.valuations)||void 0===t||null===(n=t.blended)||void 0===n?void 0:n.usdValue;return o?(0,ms.jsxs)("td",{className:"whitespace-nowrap px-3 py-8 text-sm text-bold",children:["$",(0,Oy.K)(o)]},i):(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:"-"})},name:"FMV",title:"FMV"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:(0,el.default)((0,jy.default)(null===t||void 0===t?void 0:t.blockTimestamp),"yyyy-MM-dd HH:mm")},n)},name:"blockTimestamp",sortable:!0,title:"Date Sent"},{customRender:e=>{let{offer:t,key:n}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-lg",children:zy(Ly(null===t||void 0===t?void 0:t.expiry))},n)},name:"Expiration",title:"Expiration"},...n?[]:[{customRender:e=>{let{offer:t,nft:n,key:r}=e;return(0,ms.jsx)("td",{className:"whitespace-nowrap px-3 py-8 text-sm",children:(0,ms.jsx)("div",{className:"w-28",children:(0,ms.jsx)(Bs.M2,{onClick:()=>C({offer:t,selectedNft:n,singleOfferType:"cancel-offer"}),text:"Cancel",variant:"secondary",bgColor:"white"})})},r)},name:"Action",title:"Action"}]];return{dataTotal:l,hasMore:h,isFetching:u,isLoadingResults:f,madeOfferFields:A,nftsWithOffers:i,scroll:y,setSort:w,sort:b}})({address:t,addresses:r,isPublic:n});return(0,ms.jsx)("div",{className:"flex flex-col justify-center items-center",children:a?(0,ms.jsx)(JT,{}):i?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(iS,{fields:c,initialSortConfig:h,items:l,onSort:d,isFetchingResults:s}),o&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:u})]})]}):(0,ms.jsx)($T,{})})},hS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{const{walletAddresses:t}=(0,sa.useContext)(wb);return(0,ms.jsx)(dS,{...e,addresses:t})}))),pS=e=>{let{address:t,isPublic:n=!1}=e;const r=(0,Os.Zp)(),{search:i}=(0,Os.zy)(),o=new URLSearchParams(i),a=o.get("offersTab")||0,[s,l]=(0,sa.useState)(Number(a)),c=(0,sa.useMemo)((()=>[{component:(0,ms.jsx)(uS,{address:t,isPublic:n}),name:"Received"},{component:(0,ms.jsx)(hS,{address:t,isPublic:n}),name:"Made"}]),[t]);return(0,ms.jsxs)("div",{className:"pt-4",children:[(0,ms.jsx)("div",{className:"py-[11px] px-3 bg-[#606e7d] bg-opacity-20 flex items-center justify-center w-[16rem] rounded-[5px] space-x-4 mb-9",children:c.map(((e,t)=>(0,ms.jsx)("button",{className:"py-1.5 px-3 rounded-[5px] font-bold text-base uppercase ".concat(s===t?"bg-primary text-black":"text-lightText"),onClick:()=>(e=>{o.set("offersTab","".concat(e)),r({search:o.toString()}),l(e)})(t),children:e.name},e.name)))}),c[s].component]})},fS=e=>{let{days:t}=e;return(0,ms.jsx)("div",{className:"bg-[#000000ab] absolute bottom-[-10px] m-auto flex items-center gap-1",children:(0,ms.jsxs)("div",{className:iC("flex items-center gap-1 border px-[6px] py-[4px] rounded",t<=1&&"bg-[#FF69693D] border-[#FF696985]",t>1&&t<=3&&"bg-[#FF8A4F3D] border-[#FF8A4F85]",t>3&&"bg-[#9A9A9A3D] border-[#9A9A9A85]"),children:[(0,ms.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:(0,ms.jsx)("path",{d:"M6 4V6L7.5 7.5M10.5 6C10.5 8.48528 8.48528 10.5 6 10.5C3.51472 10.5 1.5 8.48528 1.5 6C1.5 3.51472 3.51472 1.5 6 1.5C8.48528 1.5 10.5 3.51472 10.5 6Z",stroke:t<=1?"#FF6969CC":t<=3?"#FF8A4FCC":"#9A9A9ACC",strokeOpacity:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,ms.jsxs)("p",{className:iC("text-[10px] font-[500] leading-none",t<=1&&"text-[#FF6969CC] hover:text-[#FF6969CC]",t>1&&t<=3&&"text-[#FF8A4FCC]",t>3&&"text-[#9A9A9ACC]"),children:[t," ",t>1?"Days":"Day"]})]})})},mS=e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x;let{nft:A,handleClick:E,isLoading:_,isCatalog:T}=e;const[S,k]=(0,sa.useState)(null),[P,D]=(0,sa.useState)(!1),N=(0,us.getImageURL)(null!==(t=null===A||void 0===A||null===(n=A.nftData)||void 0===n||null===(r=n.images)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.url)&&void 0!==t?t:tl.A),F=window.location.pathname.includes("/collection"),{isFilterHidden:I}=Sb(),R=(0,sa.useMemo)((()=>{var e,t,n;return S?P?(0,ms.jsx)(sC,{collectionAddress:(null===A||void 0===A||null===(t=A.nftData)||void 0===t?void 0:t.collectionAddress)||"",collectionName:(null===A||void 0===A||null===(n=A.nftData)||void 0===n?void 0:n.collectionName)||"",onError:e=>{(0,ol.R)(e),k(!0)},className:"object-cover aspect-square w-[152px] sm:w-[304px]"}):S?(0,ms.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!1,className:"object-cover aspect-square w-[152px] sm:w-[304px]",onMouseEnter:e=>(0,oA._)(e),onMouseLeave:e=>{const t=e.target;t.pause(),t.currentTime=0},onError:()=>{D(!0)},children:(0,ms.jsx)("source",{type:"video/mp4",src:N})}):void 0:(0,ms.jsx)("img",{src:N,onError:()=>{k(!0)},alt:"".concat(null===A||void 0===A||null===(e=A.nftData)||void 0===e?void 0:e.title," asset"),className:"object-cover aspect-square w-full"})}),[P,S,us.getImageURL,ol.R,k,D,N]),M=(0,sa.useRef)(null),[O,j]=(0,sa.useState)(0);(0,sa.useEffect)((()=>{const e=()=>{const e=M.current;if(e){const t=window.getComputedStyle(e),n=parseFloat(t.lineHeight),r=Math.ceil(e.scrollHeight/n);j(r)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[null===A||void 0===A||null===(o=A.nftData)||void 0===o?void 0:o.title,null===A||void 0===A||null===(a=A.nftData)||void 0===a?void 0:a.num,I]);return(0,ms.jsx)("a",{href:"/asset/".concat(null===A||void 0===A||null===(s=A.nftData)||void 0===s?void 0:s.collectionAddress,"/").concat(null===A||void 0===A||null===(l=A.nftData)||void 0===l?void 0:l.collectionName,"/").concat(null===A||void 0===A?void 0:A.nftID),children:(0,ms.jsxs)("div",{onClick:e=>E(e),onKeyDown:e=>{"Enter"===e.key&&E(e)},"data-testid":"nft-card",className:"actionNftCard relative self-center justify-self-center flex flex-col p-[16px] rounded-lg nft-card-shadow cursor-pointer w-auto max-sm:w-full\n\t\t\t",style:{maxWidth:"500px",minWidth:"240px"},children:[(0,ms.jsx)("div",{children:(0,ms.jsx)("div",{className:"flex sm:flex-col-reverse mb-2 sm:mb-1",children:(0,ms.jsxs)("div",{className:"grid grid-cols-3 sm:grid-cols-1 max-sm:w-full",children:[_?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"hidden sm:flex cursor-wait my-[0.7rem] bg-gray-400 justify-center items-center animate-pulse object-cover aspect-square w-[152px] sm:w-full h-[304px]"}),(0,ms.jsx)("div",{className:"sm:hidden cursor-wait rounded bg-gray-400 flex justify-center items-center animate-pulse"})]}):(0,ms.jsxs)("div",{className:"relative isolate flex justify-center",children:[R,(0,ms.jsx)(fS,{days:(()=>{const e=new Date,t=(new Date(1e3*(null===A||void 0===A?void 0:A.settleDeadline)).getTime()-e.getTime())/864e5;return Math.ceil(t)})()})]}),_?(0,ms.jsxs)("div",{className:"flex flex-col sm:mb-2 pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"})]}):(0,ms.jsxs)("div",{className:"flex flex-col pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsxs)("div",{className:"flex flex-row relative",children:[(0,ms.jsx)("div",{className:"max-w-[80%]",children:null!==A&&void 0!==A&&null!==(c=A.nftData)&&void 0!==c&&c.additionalDetails?(0,ms.jsx)("p",{className:"text-[1.125rem] max-w-[240px] font-montserrat font-extrabold truncate pointer-events-none uppercase",children:null===A||void 0===A||null===(u=A.nftData)||void 0===u?void 0:u.title}):(0,ms.jsxs)("p",{className:"font-montserrat font-extrabold uppercase text-[1.125rem] ".concat(O>3&&"h-[6rem] custom-truncate"),ref:M,children:[null===A||void 0===A||null===(d=A.nftData)||void 0===d?void 0:d.title,(null===A||void 0===A||null===(h=A.nftData)||void 0===h?void 0:h.num)&&!(null!==A&&void 0!==A&&null!==(p=A.nftData)&&void 0!==p&&p.title.includes("#"))&&(0,ms.jsxs)("span",{className:"font-montserrat font-extrabold uppercase text-[1.125rem]",children:[" ","#",null===A||void 0===A||null===(f=A.nftData)||void 0===f?void 0:f.num]})]})}),(0,ms.jsx)("div",{className:"flex flex-col items-center justify-center space-y-2 flex-shrink-0 absolute top-1 right-0",children:(0,ms.jsx)("div",{className:"flex flex-row sm:flex-col justify-center items-center gap-1",children:T&&!F&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(null===A||void 0===A||null===(m=A.nftData)||void 0===m?void 0:m.title,"-verified-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)(CC,{"data-tooltip-id":"".concat(null===A||void 0===A||null===(g=A.nftData)||void 0===g?void 0:g.title,"-verified-tooltip"),"data-tooltip-content":"Verified Collection from the Flow NFT catalog","data-tooltip-place":"right",width:18,height:18})]})})})]}),null!==A&&void 0!==A&&null!==(v=A.nftData)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==A&&void 0!==A&&null!==(C=A.nftData)&&void 0!==C&&C.additionalDetails?null===A||void 0===A||null===(y=A.nftData)||void 0===y||null===(b=y.additionalDetails)||void 0===b?void 0:b.map((e=>(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6 truncate",children:(0,ms.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e})},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"})}):(0,ms.jsx)(ms.Fragment,{children:O<3&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6",children:(null===A||void 0===A||null===(w=A.nftData)||void 0===w?void 0:w.headerTraits)&&(null===A||void 0===A||null===(x=A.nftData)||void 0===x?void 0:x.headerTraits.map((e=>(0,ms.jsx)("p",{className:"font-montserrat text-[#8B8B8B] text-sm font-semibold last:border-none border-r-2 border-[#8B8B8B] pointer-events-none first:pl-0 pr-2 pl-2",children:e.value},e.displayType))))}),O<=1&&(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"})]})})]})]})})}),(0,ms.jsx)(Bs.zV,{order:A,isLoading:_})]})})},gS=e=>{var t,n,r;let{nft:i,handleClick:o,isLoading:a,isCatalog:s}=e;const[l,c]=(0,sa.useState)(null),[u,d]=(0,sa.useState)(!1),h=(0,us.getImageURL)(null!==(t=null===i||void 0===i?void 0:i.thumbnail)&&void 0!==t?t:tl.A),p=window.location.pathname.includes("/collection"),{isFilterHidden:f}=Sb(),{contract:{address:m,name:g},resourceName:v,nftID:C}=(0,us.nftTypeAndIdToLocationData)(null!==(n=i.typeIdentifier)&&void 0!==n?n:"",null!==(r=i.nftID)&&void 0!==r?r:""),y=(0,sa.useMemo)((()=>l?u?(0,ms.jsx)(sC,{collectionAddress:(null===i||void 0===i?void 0:i.collectionAddress)||"",collectionName:(null===i||void 0===i?void 0:i.collectionName)||"",onError:e=>{(0,ol.R)(e),c(!0)},className:"object-cover aspect-square w-[152px] sm:w-[304px]"}):l?(0,ms.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!1,className:"object-cover aspect-square w-[152px] sm:w-[304px]",onMouseEnter:e=>{e.target.play()},onMouseLeave:e=>{const t=e.target;t.pause(),t.currentTime=0},onError:()=>{d(!0)},children:(0,ms.jsx)("source",{type:"video/mp4",src:h})}):void 0:(0,ms.jsx)("img",{src:h,onError:()=>{c(!0)},alt:"".concat(null===i||void 0===i?void 0:i.name," asset"),className:"object-cover aspect-square w-full"})),[u,l,ol.R,c,d,h]),b=(0,sa.useRef)(null),[w,x]=(0,sa.useState)(0);return(0,sa.useEffect)((()=>{const e=()=>{const e=b.current;if(e){const t=window.getComputedStyle(e),n=parseFloat(t.lineHeight),r=Math.ceil(e.scrollHeight/n);x(r)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[i,f]),(0,ms.jsx)("a",{href:"/asset/".concat(m,"/").concat(g,"/").concat(v,"/").concat(C),children:(0,ms.jsxs)("div",{onClick:e=>o(e),onKeyDown:e=>{"Enter"===e.key&&o(e)},"data-testid":"nft-card",className:"actionNftCard relative self-center justify-self-center flex flex-col p-[16px] rounded-lg nft-card-shadow w-auto max-sm:w-full\n\t\t\t",style:{maxWidth:"500px",minWidth:"240px"},children:[(0,ms.jsx)("div",{className:"sm:hover:text-white sm:peer-hover:text-white ",children:(0,ms.jsx)("div",{className:"flex sm:flex-col-reverse mb-2 sm:mb-1",children:(0,ms.jsxs)("div",{className:"grid grid-cols-3 sm:grid-cols-1 max-sm:w-full",children:[a?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"hidden sm:flex cursor-wait my-[0.7rem] bg-gray-400 justify-center items-center animate-pulse object-cover aspect-square w-[152px] sm:w-full h-[304px]"}),(0,ms.jsx)("div",{className:"sm:hidden cursor-wait rounded bg-gray-400 flex justify-center items-center animate-pulse"})]}):(0,ms.jsx)("div",{className:"relative isolate flex justify-center",children:y}),a?(0,ms.jsxs)("div",{className:"flex flex-col sm:mb-2 pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start bg-gray-400 animate-pulse cursor-wait mt-2 h-4"})]}):(0,ms.jsxs)("div",{className:"flex flex-col pl-3 sm:pl-0 col-span-2 sm:order-first",children:[(0,ms.jsxs)("div",{className:"flex flex-row relative",children:[(0,ms.jsx)("div",{className:"max-w-[80%]",children:(0,ms.jsx)("p",{className:"font-montserrat font-extrabold uppercase text-[1.125rem] ".concat(w>3&&"h-[6rem] custom-truncate"),ref:b,children:null===i||void 0===i?void 0:i.name})}),(0,ms.jsx)("div",{className:"flex flex-col items-center justify-center space-y-2 flex-shrink-0 absolute top-1 right-0",children:(0,ms.jsx)("div",{className:"flex flex-row sm:flex-col justify-center items-center gap-1",children:s&&!p&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(nc.m_,{id:"".concat(null===i||void 0===i?void 0:i.name,"-verified-tooltip"),style:{backgroundColor:"white",color:"#031021",fontSize:"0.75rem"}}),(0,ms.jsx)(CC,{"data-tooltip-id":"".concat(null===i||void 0===i?void 0:i.name,"-verified-tooltip"),"data-tooltip-content":"Verified Collection from the Flow NFT catalog","data-tooltip-place":"right",width:18,height:18})]})})})]}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"}),(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-6"})]})]})})}),(0,ms.jsx)("div",{className:"w-full h-[10rem] flex items-center justify-center",children:(0,ms.jsx)(Bs.Xb,{})})]})})},vS=e=>{let{allUserActionCenterItems:t,isLoading:n,isFiltered:r}=e;const{selectCard:i}=my();return n?(0,ms.jsx)(Zx,{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("ul",{className:"w-full h-full grid pb-4 gap-4",style:{gridTemplateColumns:"repeat(auto-fill, minmax(250px, 1fr))"},children:null===t||void 0===t?void 0:t.map(((e,t)=>{const r=t=>{t.preventDefault(),"loan"===(null===e||void 0===e?void 0:e.type)||"rental"===(null===e||void 0===e?void 0:e.type)?i({loanRentalActions:e,selected:{contractAddress:e.nftData.collectionAddress,contractName:e.nftData.collectionName,nftID:e.nftID,nftType:e.nftType}}):i({lostAndFoundModal:!0,lostAndFoundTicketData:{catalogIdentifier:e.catalogIdentifier,ticketID:e.ticketID},selected:{contractAddress:e.collectionAddress,contractName:e.collectionName,nftID:e.nftID,nftType:e.typeIdentifier}})};return"loan"===(null===e||void 0===e?void 0:e.type)||"rental"===(null===e||void 0===e?void 0:e.type)?(0,ms.jsx)(mS,{handleClick:r,nft:e,isLoading:n,isCatalog:!0},"".concat(null===e||void 0===e?void 0:e.nftID,"-").concat(t)):(0,ms.jsx)(gS,{handleClick:r,nft:e,isLoading:n,isCatalog:!0},"".concat(null===e||void 0===e?void 0:e.nftID,"-").concat(t))}))}),0===t.length&&!n&&(0,ms.jsx)("div",{className:"pt-6",children:(0,ms.jsx)(fA,{isUnsupportedSelection:!1,emptyActionsPage:!r})})]})},CS=e=>{let{child:t,title:n,filterIcon:r}=e;const[i,o]=(0,sa.useState)(!0),a=(0,sa.useMemo)((()=>(0,ms.jsx)("svg",{"data-testid":"listing-type-chevron",className:iC({"rotate-0":!i,"rotate-180":i}),width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ms.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0L7 8L14 0L0 0Z",fill:i?"#04e5a3":"#F8F9FA"})})),[i]);return(0,ms.jsxs)("div",{className:iC("rounded-[0.375rem] cursor-pointer border-[1px] border-neutral-400 border-opacity-25 py-[0.875rem]",{"hover:bg-[#ffffff29]":!i}),children:[(0,ms.jsxs)("div",{className:"flex items-center justify-between w-full px-[1rem]",onClick:()=>o(!i),onKeyDown:e=>{"Enter"===e.key&&o(!i)},children:[(0,ms.jsxs)("div",{className:"flex items-center gap-[0.5rem]",children:[r,(0,ms.jsx)("span",{className:"text-[0.875rem] font-montserrat font-[600]",children:n})]}),a]}),i?(0,ms.jsx)("div",{className:"space-y-2 mt-3 overflow-y-auto styled-scroll px-[1rem]",children:t}):null]})},yS=e=>{let{filter:t,setFilter:n}=e;return(0,ms.jsxs)("div",{className:"space-y-2",children:[(0,ms.jsx)(kC,{name:"listing-type",value:"all",label:"Show All",disabled:!1,onChange:n,isChecked:"all"===t,icon:void 0,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(kC,{name:"listing-type",value:"rental",label:"Rentals",disabled:!1,onChange:n,isChecked:"rental"===t,icon:void 0,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(kC,{name:"listing-type",value:"loan",label:"Loans",disabled:!1,onChange:n,isChecked:"loan"===t,icon:void 0,iconPosition:"right",collapsible:!1}),(0,ms.jsx)(kC,{name:"listing-type",value:"lostAndFound",label:"Inbox",disabled:!1,onChange:n,isChecked:"lostAndFound"===t,icon:void 0,iconPosition:"right",collapsible:!1})]})};var bS,wS,xS,AS,ES,_S;function TS(){return TS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TS.apply(null,arguments)}function SS(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",TS({xmlns:"http://www.w3.org/2000/svg",width:17,height:17,viewBox:"0 0 17 17",fill:"none",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,bS||(bS=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4081 2.59269C14.7986 2.98322 14.7986 3.61638 14.4081 4.00691L12.7111 5.70396C12.3205 6.09449 11.6874 6.09449 11.2968 5.70396C10.9063 5.31344 10.9063 4.68027 11.2968 4.28975L12.9939 2.59269C13.3844 2.20217 14.0176 2.20217 14.4081 2.59269Z",fill:"#CED4DA"})),wS||(wS=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4081 15.4071C14.0176 15.7976 13.3844 15.7976 12.9939 15.4071L11.2968 13.7101C10.9063 13.3195 10.9063 12.6864 11.2968 12.2958C11.6874 11.9053 12.3205 11.9053 12.7111 12.2958L14.4081 13.9929C14.7986 14.3834 14.7986 15.0166 14.4081 15.4071Z",fill:"#CED4DA"})),xS||(xS=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9996 9C16.9996 9.5523 16.5519 10 15.9996 10H13.5996C13.0473 10 12.5996 9.5523 12.5996 9C12.5996 8.4477 13.0473 8 13.5996 8H15.9996C16.5519 8 16.9996 8.4477 16.9996 9Z",fill:"#CED4DA"})),AS||(AS=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0C8.5523 0 9 0.44772 9 1V3.4C9 3.95228 8.5523 4.4 8 4.4C7.4477 4.4 7 3.95228 7 3.4V1C7 0.44772 7.4477 0 8 0Z",fill:"#CED4DA"})),ES||(ES=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.59367 2.59269C1.9842 2.20217 2.61736 2.20217 3.00789 2.59269L4.70494 4.28975C5.09547 4.68027 5.09547 5.31344 4.70494 5.70396C4.31442 6.09449 3.68125 6.09449 3.29073 5.70396L1.59367 4.00691C1.20315 3.61638 1.20315 2.98322 1.59367 2.59269Z",fill:"#CED4DA"})),_S||(_S=sa.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5081 7.49414C9.781 7.76784 9.8718 8.17434 9.7412 8.53814L6.9412 16.3381C6.7962 16.742 6.4097 17.0083 5.98062 17C5.55156 16.9917 5.17565 16.7106 5.04642 16.3013L4.00187 12.9936L0.693183 11.927C0.285293 11.7955 0.00653314 11.4187 0.000113136 10.9902C-0.00630686 10.5617 0.261043 10.1767 0.664813 10.033L8.4648 7.25804C8.829 7.12854 9.2352 7.22044 9.5081 7.49414ZM4.11453 10.9285L5.10682 11.2484C5.41504 11.3478 5.65606 11.5903 5.75358 11.8991L6.0607 12.8715L7.1452 9.85034L4.11453 10.9285Z",fill:"#CED4DA"})))}const kS=sa.forwardRef(SS),PS=(__webpack_require__.p,e=>{let{loggedUserAddress:t,accountSummaryAddresses:n}=e;const[r,i]=(0,sa.useState)([]),[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)([]),[c,u]=(0,sa.useState)("all"),[d,h]=(0,sa.useState)(!0),p=(0,sa.useCallback)((async e=>{try{await(async e=>{let{userAddress:t,callbackFn:n}=e;const r=hl.kA.collection("listingAvailable").where("flowtyStorefrontAddress","==",t).where("state","==","FUNDED");await r.onSnapshot((async e=>{let{docs:t}=e;const r=t.map((e=>e.data()));n(r)}))})({callbackFn:e=>{const t=[];e.forEach((e=>{var n,r,i,o,a,s,l,c,u;e&&t.push({enabledAutoRepayment:e.enabledAutoRepayment,listingResourceID:e.listingResourceID,loanAmount:+e.amount,nftContractStoragePath:String(null===(n=e.detail)||void 0===n||null===(r=n.nft)||void 0===r||null===(i=r.contract)||void 0===i||null===(o=i.contractMetadata)||void 0===o?void 0:o.storagePath),nftData:{...null===(a=e.detail)||void 0===a?void 0:a.card},nftID:e.nftID,nftType:e.nftType,paymentTokenName:e.paymentTokenName,repaymentDue:null!==(s=null===(l=e.derivations)||void 0===l||null===(c=l.calculatedValues)||void 0===c?void 0:c.repaymentDue)&&void 0!==s?s:0,settleDeadline:Number(null===(u=e.settleDeadline)||void 0===u?void 0:u.seconds),term:+e.term,type:"loan"})})),i(t)},userAddress:e})}catch(t){ds.o.track("ACTIVITY_CENTER_LOAN_SNAPSHOT_ERROR",{error:t})}}),[t]),f=(0,sa.useCallback)((async e=>{try{await(async e=>{let{userAddresses:t,callbackFn:n}=e;const r=hl.kA.collection("listingRented").where("renterAddress","in",t).where("returned","==",!1).where("settled","==",!1);await r.onSnapshot((async e=>{let{docs:t}=e;const r=t.map((e=>e.data()));n(r)}))})({callbackFn:e=>{const t=[];e.forEach((e=>{var n,r,i,o,a,s,l,c,u,d,h;if(!e)return;const p=e.settleDeadline;t.push({enabledAutoRepayment:e.enabledAutomaticReturn,nftContractStoragePath:String(null===(n=e.listingAvailable)||void 0===n||null===(r=n.detail)||void 0===r||null===(i=r.nft)||void 0===i||null===(o=i.contract)||void 0===o||null===(a=o.contractMetadata)||void 0===a?void 0:a.storagePath),nftData:{...null===(s=e.listingAvailable)||void 0===s||null===(l=s.detail)||void 0===l?void 0:l.card},nftID:null===(c=e.listingAvailable)||void 0===c?void 0:c.nftID,nftType:null===(u=e.listingAvailable)||void 0===u?void 0:u.nftType,paymentTokenName:null===(d=e.listingAvailable)||void 0===d?void 0:d.paymentTokenName,rentalFee:e.amount,rentalRefundableDeposit:e.deposit,rentalResourceID:String(e.rentalResourceID),renterAddress:e.renterAddress,settleDeadline:+p.seconds,term:null===(h=e.listingAvailable)||void 0===h?void 0:h.term,type:"rental"})})),a(t)},userAddresses:e})}catch(t){ds.o.track("ACTIVITY_CENTER_RENTAL_SNAPSHOT_ERROR",{error:t}),(0,fs.t)("error getting rentals",t)}}),[t]),m=(0,sa.useCallback)((async()=>{h(!0);try{const e=(await Tf.su.scripts.getLostAndFoundTickets(String(t))).map((e=>{const t=e.typeIdentifier.split(".")[1],n=e.typeIdentifier.split(".")[2];return{catalogIdentifier:e.catalogIdentifier,collectionAddress:"0x".concat(t),collectionName:n,description:e.description,memo:e.memo,name:e.name,nftID:e.nftID,redeemed:e.redeemed,redeemer:e.redeemer,thumbnail:e.thumbnail,ticketID:e.ticketID,typeIdentifier:e.typeIdentifier}}));l(e),h(!1)}catch(e){console.log("error getting lost and found",e),h(!1)}}),[t]),g=(e,t)=>e.settleDeadline-t.settleDeadline,v=(0,sa.useMemo)((()=>{if("loan"===c)return r.sort(g);if("rental"===c)return o.sort(g);if("lostAndFound"===c)return s;const e=[...r,...o];return e.sort(g),[...e,...s]}),[c,r,o,s]);(0,sa.useEffect)((()=>{(async()=>{t&&(h(!0),"all"===c&&(await p(t),await f(null!==n&&void 0!==n?n:[]),await m()),"loan"===c&&await p(t),"rental"===c&&await f(null!==n&&void 0!==n?n:[]),"lostAndFound"===c&&await m(),h(!1))})()}),[c]);return{allUserActionCenterItems:v,isFiltered:"all"!==c,isLoading:d,traitsFilters:(0,ms.jsx)(CS,{title:"Type",child:(0,ms.jsx)(yS,{filter:c,setFilter:u}),filterIcon:(0,ms.jsx)(kS,{})})}}),DS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o,a;let{authStore:s}=e;const[l,c]=(0,sa.useState)(!1),{allUserActionCenterItems:u,traitsFilters:d,isLoading:h,isFiltered:p}=PS({accountSummaryAddresses:Object.keys(null!==(t=null===s||void 0===s||null===(n=s.loggedUser)||void 0===n?void 0:n.accountSummaries)&&void 0!==t?t:{}),loggedUserAddress:null!==(r=null===s||void 0===s||null===(i=s.loggedUser)||void 0===i?void 0:i.addr)&&void 0!==r?r:""}),{width:f}=(0,Pb.k)(),m=f<1200;return(0,ms.jsx)("div",{className:"w-full flex flex-col",children:(0,ms.jsxs)("div",{className:"w-full flex gap-3",children:[(0,ms.jsxs)("div",{className:"flex flex-col gap-4 lg:w-1/4 xl:w-1/6 min-w-[340px] max-lg:hidden sticky top-[148px] h-full ".concat(l?"hidden":""),children:[(0,ms.jsx)("div",{className:"flex gap-3",children:(0,ms.jsx)(vx,{isFilterHidden:l,setIsFilterHidden:c})}),(0,ms.jsx)("div",{className:"transition-width duration-200 ease-out ".concat(l?"w-0":"w-full"),children:(0,ms.jsx)("div",{className:"hidden flex-col xl:col-span-1 transition-opacity duration-[300ms] ease-out lg:flex ".concat(l?"opacity-0":"opacity-100"),children:(0,ms.jsx)("div",{className:"border-glassFillGrayBorder p-[1rem] rounded-[0.5rem] border-[0.3px] hidden lg:overflow-y-auto overflow-x-hidden lg:flex lg:flex-col items-stretch",children:(0,ms.jsx)("div",{className:"mb-[1rem]",children:d})})})})]}),(0,ms.jsxs)("div",{className:"w-full flex flex-col gap-4",children:[m?(0,ms.jsx)(Dx,{mobilePageFilters:d,isActionsTab:!0,address:null!==(o=null===s||void 0===s||null===(a=s.loggedUser)||void 0===a?void 0:a.addr)&&void 0!==o?o:""}):(0,ms.jsx)("div",{className:"flex flex-col justify-center gap-3 max-lg:hidden h-[32px]",children:(0,ms.jsx)("div",{className:"flex justify-between",children:(0,ms.jsxs)("div",{className:"flex gap-3",children:[(0,ms.jsx)("div",{className:"flex flex-col gap-3 lg:w-1/4 xl:w-1/6 min-w-[340px] ".concat(l?"":"hidden"),children:(0,ms.jsx)("div",{className:"flex gap-3",children:(0,ms.jsx)(vx,{isFilterHidden:l,setIsFilterHidden:c})})}),(0,ms.jsx)("div",{className:"font-montserrat flex items-center font-[700] flex-shrink-0 mr-2",children:!h&&(0,ms.jsx)("p",{className:"font-montserrat font-[700]",children:"".concat(u.length," Items")})})]})})}),(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)("div",{className:"min-h-screen relative flex flex-col justify-start w-full",children:(0,ms.jsx)(vS,{allUserActionCenterItems:u,isLoading:h,isFiltered:p})})," "]})]})]})})})));var NS=__webpack_require__(49098);const FS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{profile:n,authStore:r,isPublic:i=!1}=e;const[o,a]=(0,sa.useState)(!1),[s,l]=(0,sa.useState)({}),{selectCard:c}=my();(0,sa.useEffect)((()=>{const e={...s};null!==n&&void 0!==n&&n.childAccounts&&(Object.entries(n.childAccounts).forEach((t=>{var n;let[r,i]=t;null!==(n=i.display)&&void 0!==n&&n.thumbnail?e[i.address]=i.display.thumbnail:delete e[i.address]})),l(e))}),[]);const u=(0,sa.useCallback)((async e=>{const t={...e},n=await(0,nl.t)({nftId:String(t.nftID),nftType:t.nftType}),r=await(0,NS.J)(n),o=(0,us.nftTypeAndIdToLocationData)(n.type,n.id),s=(0,us.getNFTIdentifier)(o);await(async()=>{if(!n.owner)return!1;try{return await Tf.su.scripts.validateUserOwnsNft(n.owner||"",n.id.toString(),n.contractName,n.contractAddress,o.resourceName,r)}catch(e){return ds.o.track("ERROR_VALIDATING_USER_OWNS_NFT",{err:e}),!1}})()||i?c({selected:{contractAddress:e.contractAddress,contractName:e.contractName,nftID:e.nftID,nftType:e.nftType}}):(a(!0),await Tf.su.api.refreshMetadata(s),await setTimeout((()=>{a(!1)}),4e3))}),[i]),d=i?null===n||void 0===n?void 0:n.walletAddress:null===r||void 0===r||null===(t=r.loggedUser)||void 0===t?void 0:t.addr;return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("div",{className:"z-0 flex flex-wrap justify-end",children:o&&(0,ms.jsxs)(nT,{className:"flex flex-col items-center justify-center w-full p-3 z-10",variant:"danger",onClose:()=>{a(!1)},children:[(0,ms.jsx)("h2",{children:"Missing Item"}),(0,ms.jsx)("p",{children:"Our system does not identify you as the owner of this nft, please be sure to refresh your account."})]})}),(0,ms.jsx)(gA,{handleSelectCard:u,address:d||""})]})})));var IS;function RS(){return RS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RS.apply(null,arguments)}function MS(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",RS({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"none",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,IS||(IS=sa.createElement("path",{d:"M5.3335 5.33325V11.9999H6.10885M26.5843 14.6666C25.9282 9.40484 21.4397 5.33325 16.0002 5.33325C11.5237 5.33325 7.69122 8.09081 6.10885 11.9999M6.10885 11.9999H12.0002M26.6668 26.6666V19.9999H25.8915M25.8915 19.9999C24.3091 23.909 20.4767 26.6666 16.0002 26.6666C10.5607 26.6666 6.07215 22.595 5.41602 17.3333M25.8915 19.9999H20.0002",stroke:"#04E5A3",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}const OS=sa.forwardRef(MS),jS=(__webpack_require__.p,e=>{let{tabs:t,address:n}=e;const r=(0,Os.Zp)(),{search:i}=(0,Os.zy)(),{fetchSearchResults:o}=Sb(),a=new URLSearchParams(i),s=a.get("tab")||0,[l,c]=(0,sa.useState)(Number(s)),[u,d]=(0,sa.useState)(!1),h=isNaN(l)||l<0||l>=t.length;if((0,sa.useEffect)((()=>{h&&(r("/user/".concat(n),{replace:!0}),c(0))}),[h]),h)return null;const p=(0,ms.jsxs)("button",{onClick:async()=>{u||(d(!0),ds.o.track("Refresh Inventory Click"),d(!0),ev(null!==n&&void 0!==n?n:""),setTimeout((()=>{d(!1)}),4e3))},className:"flex flex-row items-center hover:cursor-pointer group hover:opacity-75",children:[(0,ms.jsx)("p",{className:"font-montserrat text-primary font-[0.875rem] capitalize mr-[0.25rem]",children:"Refresh Profile"}),(0,ms.jsx)(OS,{className:"w-[1.25rem] ".concat(u&&"animate-spin")})]});return(0,ms.jsxs)("div",{className:"mt-14 mb-1",children:[(0,ms.jsx)("div",{className:"py-3 md:pb-[20px] md:sticky md:top-[76px] z-20 bg-darkBg",children:(0,ms.jsxs)("div",{className:"flex justify-between border-b border-[#6C757D40]",children:[(0,ms.jsx)("nav",{className:"-mb-px flex space-x-8 overflow-x-auto","aria-label":"Tabs",children:t.map(((e,t)=>(0,ms.jsxs)("button",{onClick:()=>(e=>{a.set("tab","".concat(e)),r({search:a.toString()}),c(e),0===e&&o(!0)})(t),className:"font-montserrat uppercase pb-2.5 flex items-center\n\t\t\t\t\t\t\t".concat(l===t?"border-primary text-primary":"border-transparent text-lightText hover:text-primary"," \n\t\t\t\t\t\t\twhitespace-nowrap tab-window-padding justify-center border-b-[3px] font-medium text-sm sm:text-base\n\t\t\t\t\t\t"),children:[e.name,"Offers"===e.name&&(0,ms.jsx)("div",{className:"w-[10px] h-[10px] bg-primary rounded-full ml-2 drop-shadow-sm"})]},e.name)))}),(0,ms.jsxs)("div",{className:"items-center justify-center hidden lg:flex",children:[(0,ms.jsx)("p",{className:"font-montserrat text-[#C8C8C8] font-[0.875rem] capitalize mr-[0.75rem]",children:"Missing items?"}),(0,ms.jsx)(oT.o,{Comp:p,tooltipText:"Refreshes this account's inventory. Can take a few minutes to complete",tooltipId:"refresh-profile-tooltip"})]})]})}),t[l].component]})}),LS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r;let{authStore:i}=e;null!==i&&void 0!==i&&null!==(t=i.loggedUser)&&void 0!==t&&t.loggedIn||window.location.replace("/");const o="".concat(null!==i&&void 0!==i&&null!==(n=i.loggedUser)&&void 0!==n&&n.addr?"Flowty: Your NFT Assets":"Flowty NFT: User Profile Page"),a=[{component:(0,ms.jsx)(FS,{profile:(null===i||void 0===i?void 0:i.loggedUser)||null}),name:"Collection"},{component:(0,ms.jsx)(pS,{address:"".concat(null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.addr)}),name:"Offers"},{component:(0,ms.jsx)(DS,{}),name:"Action Center"}];return(0,ms.jsx)("div",{className:"min-h-screen bg-cover bg-no-repeat bg-center bg-fixed",children:(0,ms.jsx)(Tb,{publicAccount:(null===i||void 0===i?void 0:i.loggedUser)||null,endpoint:"user",children:()=>{var e;return(0,ms.jsx)(cv,{children:(0,ms.jsxs)("div",{className:"container",children:[(0,ms.jsx)(ac,{metaTitle:o,metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)(XT,{profile:null===i||void 0===i?void 0:i.loggedUser}),(0,ms.jsx)("div",{className:"mt-4",children:(0,ms.jsx)(ZT,{user:null===i||void 0===i?void 0:i.loggedUser})}),(0,ms.jsx)(jS,{tabs:a,address:(null===i||void 0===i||null===(e=i.loggedUser)||void 0===e?void 0:e.addr)||""})]})})}})})}))),BS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{listing:n,authStore:r,className:i}=e;return null!==n&&void 0!==n&&n.renter&&"LISTED"===(null===n||void 0===n?void 0:n.state)?(0,ms.jsx)("div",{className:"absolute top-0 left-0 w-full flex justify-center",children:(0,ms.jsx)("div",{className:"flex justify-center items-center py-1 rounded-t-xl ".concat(i," ").concat(null!==n&&void 0!==n&&n.renter&&(null===r||void 0===r||null===(t=r.loggedUser)||void 0===t?void 0:t.addr)===n.renter?"bg-primary":"bg-secondary"),children:(0,ms.jsx)("p",{className:"text-white text-bold me-2",children:"Private Listing"})})}):null})));var US=__webpack_require__(44320),VS=__webpack_require__.n(US);const HS=e=>{let{children:t,open:n,setOpen:r}=e;return(0,ms.jsx)(cc.e.Root,{show:n,as:sa.Fragment,children:(0,ms.jsxs)(uc.l,{as:"div",className:"relative z-10",onClose:r,children:[(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,ms.jsx)("div",{className:"fixed inset-0 bg-gray-800 bg-opacity-75 transition-opacity"})}),(0,ms.jsx)("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:(0,ms.jsx)("div",{className:"flex min-h-full items-end justify-center p-2 text-center sm:items-center sm:p-0",children:(0,ms.jsx)(cc.e.Child,{as:sa.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,ms.jsx)(uc.l.Panel,{className:"relative transform overflow-hidden rounded-md  bg-slate-700 px-2 text-center shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-3",children:t})})})})]})})},zS=e=>{let{error:t,reset:n}=e;return(0,ms.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,ms.jsx)(fT,{}),(0,ms.jsx)("h5",{className:"mt-4 text-white",children:"Transaction was not successful"}),(0,ms.jsx)("div",{className:"flex justify-between mt-5",children:(0,ms.jsx)(Bs.M2,{variant:"primary",onClick:n,text:"Try again"})})]})},ZS=e=>{let{transactionId:t,callTransaction:n}=e;const r=(0,sa.useRef)(!1);return(0,sa.useEffect)((()=>{if(!r.current)return n(),()=>{r.current=!0}}),[]),(0,ms.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,ms.jsx)(yc.BM,{color:"#04E5A3",height:45,width:45}),(0,ms.jsx)("h5",{className:"text-lightText mt-4",children:t?(0,ms.jsxs)("p",{children:["Follow your transaction on\xa0",(0,ms.jsx)("a",{className:"modal-external-link",href:"".concat(ss.I4,"/").concat(t,"/"),target:"_blank",rel:"noreferrer",children:"Flowscan"})]}):(0,ms.jsx)("p",{children:"Transaction is processing..."})}),(0,ms.jsx)(nT,{variant:"dark",className:"mt-2",children:(0,ms.jsxs)("div",{className:"flex items-center",children:[(0,ms.jsx)(K_,{}),(0,ms.jsxs)("div",{children:[(0,ms.jsx)("h5",{className:"text-white",children:"Note"}),(0,ms.jsx)("p",{className:"text-lightText",children:"It may take up to five minutes for your transaction to process"})]})]})})]})},WS=e=>{let{rentalListing:t,nftProviderPathIdentifier:n,nftProviderAddress:r}=e;const[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(null),[l,c]=(0,sa.useState)(null),[u,d]=(0,sa.useState)(!1),[h,p]=(0,sa.useState)(!1);(0,sa.useEffect)((()=>{p(!1)}),[t]);const f=()=>{o(!i),c(null),s(null),i?ds.o.track("Return Rental Modal Launched",{rentalListing:t}):ds.o.track("Return Rental Modal Closed",{rentalListing:t})},m=(0,sa.useCallback)((e=>{let{nextStep:t,currentStep:n}=e;return(0,ms.jsxs)("div",{className:"flex justify-center px-4 py-2 gap-[6rem]",children:[(0,ms.jsx)("button",{onClick:f,className:"w-[10em] md:w-[12em]   mr-4 flex justify-center items-center border border-white rounded-md font-extrabold text-base shadow-slate-100 hover-button-white px-[1.25rem] py-2",children:"CLOSE"}),1===n&&(0,ms.jsx)("button",{className:"w-[10em] md:w-[12em]  flex justify-center items-center uppercase  px-[1.25rem] py-2 bg-primary hover-button border-transparent rounded-md border-2 text-base font-extrabold text-black",onClick:()=>{t()},children:"Return"})]})}),[f]);return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("button",{className:"w-[10em] md:w-[12em]  flex justify-center items-center uppercase  px-[1.25rem] py-2 bg-primary hover-button border-transparent rounded-md border-2 text-base font-extrabold text-black",disabled:h,onClick:f,children:h?"Processing...":"Return"}),(0,ms.jsx)(HS,{open:i,setOpen:o,children:(0,ms.jsxs)("div",{className:"flowty-modal loan-listing-modal",children:[(0,ms.jsx)("div",{className:"flowty-modal loan-listing-modal p-2",children:(0,ms.jsx)("h2",{className:"m-2 text-xl text-center",children:"RETURN RENTAL"})}),(0,ms.jsx)("div",{className:"p-2 border-[#545353] border-t",children:(0,ms.jsxs)(VS(),{isLazyMount:!0,className:"flex flex-col-reverse p-3 gap-3",nav:(0,ms.jsx)(m,{}),children:[(0,ms.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,ms.jsx)("p",{className:"text-white text-lg",children:"Are you sure you want to return this NFT?"})}),(0,ms.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[a?(0,ms.jsx)(zS,{error:a,reset:()=>{s(""),c("")}}):!u&&(0,ms.jsx)(ZS,{transactionId:l,callTransaction:async()=>{try{var e,i,o,l,u,h,f,m,g,v,C;p(!0);const y=await jT(t.listingResourceID);if(!y)return s("rental does not have an associated listing"),void ds.o.track("Return Rental Submit Error",{error:a,rentalListing:t});const b=Tf.su.tokens.getTokenInfo(y.listingAvailable.paymentTokenName),w=(0,us.nftTypeToContractID)(y.nftType);if(!(await hl.kA.collection("flowNFTContract").doc(w).get()).data())throw new Error("Contract not found");const x=null===y||void 0===y?void 0:y.settleDeadline,A={enabledAutoRepayment:null===y||void 0===y?void 0:y.enabledAutomaticReturn,listingResourceID:String(null===y||void 0===y?void 0:y.listingResourceID),nftContractStoragePath:String(null===y||void 0===y||null===(e=y.listingAvailable)||void 0===e||null===(i=e.detail)||void 0===i||null===(o=i.nft)||void 0===o||null===(l=o.contract)||void 0===l||null===(u=l.contractMetadata)||void 0===u?void 0:u.storagePath),nftData:{...null===y||void 0===y||null===(h=y.listingAvailable)||void 0===h||null===(f=h.detail)||void 0===f?void 0:f.card},nftID:null===y||void 0===y||null===(m=y.listingAvailable)||void 0===m?void 0:m.nftID,nftType:null===y||void 0===y||null===(g=y.listingAvailable)||void 0===g?void 0:g.nftType,paymentTokenName:null===y||void 0===y||null===(v=y.listingAvailable)||void 0===v?void 0:v.paymentTokenName,rentalFee:null===y||void 0===y?void 0:y.amount,rentalRefundableDeposit:null===y||void 0===y?void 0:y.deposit,rentalResourceID:String(null===y||void 0===y?void 0:y.rentalResourceID),settleDeadline:+x.seconds,term:null===y||void 0===y||null===(C=y.listingAvailable)||void 0===C?void 0:C.term,type:"rental"};await Tf.su.returnRental(A,b,c,r,n),d(!0),ds.o.track("Return Rental Submit Successfully",{rentalListing:t})}catch(y){p(!1),s((null===y||void 0===y?void 0:y.message)||"ERROR"),ds.o.track("Return Rental Submit Error",{error:y,rentalListing:t}),(0,fs.t)(y)}}}),(0,ms.jsx)("div",{className:"flex flex-col justify-center items-center",children:u&&(0,ms.jsx)(ET,{msg:"Success! You have returned the item attached to this rental, your deposit has been returned"})})]})]})})]})})]})},qS=e=>{let{rentalListing:t,isOwner:n,isOrderListedByLoggedAccount:r}=e;const i=(0,us.nftTypeAndIdToLocationData)(t.nftType,t.nftID),{openSearchNFT:o}=cb({collectionAddress:i.contract.address,collectionName:i.contract.name,nftId:i.nftID,resourceName:i.resourceName}),{selectCard:a}=my(),s=(0,sa.useCallback)((e=>{var t,n,r,i;let{singleListing:s}=e;a({selected:{contractAddress:null!==(t=null===o||void 0===o?void 0:o.contractAddress)&&void 0!==t?t:"",contractName:null!==(n=null===o||void 0===o?void 0:o.contractName)&&void 0!==n?n:"",nftID:null!==(r=null===o||void 0===o?void 0:o.id)&&void 0!==r?r:"",nftType:null!==(i=null===o||void 0===o?void 0:o.type)&&void 0!==i?i:""},singleDelistAction:"delistRental",singleDelistOrder:s})}),[a,o,t]);return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsx)("button",{disabled:!r,onClick:()=>s({singleListing:t}),className:"".concat(n?"bg-danger hover-button-red":"bg-primary hover-button","  ").concat(!r&&n?"opacity-50 cursor-not-allowed":"hover-glow  hover-button-red"," shadow text-black text-bold text-lg py-2 px-10 w-full rounded-md hover-button cursor-pointer"),children:"DELIST"})})},GS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m;let{authStore:g,listing:v,isListingActive:C,isListingExpired:y,setListing:b}=e;const w="paymentTokenType"in v?(0,us.getTokenFromType)(v.paymentTokenType):us.SupportedTokens.FLOW,[x,A]=(0,sa.useState)(null),[E,_]=(0,sa.useState)(null),T=(0,us.getContractNameFromType)(v.nftType),S=(0,us.getContractAddressFromType)(v.nftType),{iterateAndRunScript:k,hybridCustodyNFTStatus:P}=(0,ys.g)(),D="".concat(S,".").concat(T),[N,F]=(0,sa.useState)(null),I=(null!==(t=null===g||void 0===g?void 0:g.getAccountSummaryAddresses())&&void 0!==t?t:[]).includes(N||""),R=(null===g||void 0===g||null===(n=g.loggedUser)||void 0===n?void 0:n.addr)===(null===v||void 0===v?void 0:v.flowtyStorefrontAddress);(0,sa.useEffect)((()=>{const e=(0,us.nftTypeAndIdToLocationData)(v.nftType,v.nftID),t=(0,us.getNFTIdentifier)(e);hl.kA.collection("flowNFT").doc(t).get().then((e=>{if(!e.exists)return;const t=e.data();F((null===t||void 0===t?void 0:t.owner)||"")})).catch((e=>{ds.o.track("ERROR_FIREBASE_GETTING_NFT",{e:e})}))}),[]);const M=(0,sa.useMemo)((()=>{var e,t;return(null===g||void 0===g||null===(e=g.loggedUser)||void 0===e?void 0:e.addr)!==N?(0,dy.D)((null===P||void 0===P||null===(t=P[N||""])||void 0===t?void 0:t[D])||[],S,T):""}),[N,g,P]);(0,sa.useEffect)((()=>{var e,t;k([D],(null===g||void 0===g||null===(e=g.loggedUser)||void 0===e?void 0:e.childAccounts)||{},(null===g||void 0===g||null===(t=g.loggedUser)||void 0===t?void 0:t.addr)||"")}),[null===g||void 0===g?void 0:g.loggedUser,v]);const O=(0,us.isContractWithValuation)(T)?(0,ms.jsx)(ic,{contractName:T,labelType:"DTV",nftID:v.nftID.toString()}):void 0;(0,sa.useEffect)((()=>{w===us.SupportedTokens.FLOW?(0,eT.d)(w).then((e=>{(0,fs.t)("setTokenPrice",e.value),A(e.value)})):A(1)}),[w]),(0,sa.useEffect)((()=>{try{hl.db.collection("rentalAvailable").doc(v.listingResourceID.toString()).onSnapshot((e=>{const t=e.data();(0,fs.t)("snapshot",t),t.state!==v.state?b({...t,blockTimestamp:v.blockTimestamp}):(0,fs.t)("states are equal, skipping..")}))}catch(e){ds.o.track("ERROR_FIREBASE_GETTING_RENTAL_AVAILABLE",{e:e})}}),[]);const j=(0,ms.jsx)("h1",{className:"inline",children:(0,us.truncateString)(null===v||void 0===v||null===(r=v.detail)||void 0===r||null===(i=r.nft)||void 0===i?void 0:i.title,ss.Sp)}),L={costToRent:v.amount+v.deposit};return(0,sa.useEffect)((()=>{(async()=>{const e=(0,us.nftLocationDataFromListing)(v),t=(0,us.getNFTIdentifier)(e),n=await H_(t,"flowNFT");if(!n)throw new Error("could not find nft");return(async e=>{if(!e.owner)throw new Error("nft owner is required to calculate royalty rate");const t=await(0,NS.J)(e);if(!t)throw new Error("unable to get storage path for nft to calculate royalty rate");const n=await Tf.su.scripts.getRoyaltyRate(e.owner||"",e.id.toString(),t);return(0,fs.t)("getRoyaltyRateForNFT",{rate:n}),Number(n)})(n)})().then((e=>_(e))).catch((e=>{ds.o.track("ERROR_GETTING_ROYALTY_RATE",{err:e})}))}),[v]),(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsxs)("div",{className:"nft-info-card bg-greyDark w-full",children:[(0,ms.jsx)(iT,{className:"nft-info-row flex",children:(0,ms.jsx)(rT,{children:(0,ms.jsx)("div",{children:(0,ms.jsx)(oT.o,{Comp:j,tooltipText:(null===v||void 0===v||null===(o=v.detail)||void 0===o||null===(a=o.nft)||void 0===a?void 0:a.title)||"",tooltipId:"nft-title-tooltip"})})})}),(0,ms.jsx)("div",{className:"nft-info-separator bg-secondary"}),(0,ms.jsx)("table",{className:"table-borderless",children:(0,ms.jsxs)("tbody",{children:[(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Rental Fee"}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[w===us.SupportedTokens.FLOW&&x&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===v||void 0===v?void 0:v.amount)||0)*x).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null===v||void 0===v?void 0:v.amount)||0,isSmall:!0,token:w})]})})]}),(0,ms.jsxs)("tr",{className:"border-b border-white",children:[(0,ms.jsx)("td",{children:"Refundable Deposit"}),(0,ms.jsx)("td",{className:"flex justify-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[w===us.SupportedTokens.FLOW&&x&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===v||void 0===v?void 0:v.deposit)||0)*x).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null===v||void 0===v?void 0:v.deposit)||0,isSmall:!0,token:w})]})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Total Due Upfront"}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[w===us.SupportedTokens.FLOW&&x&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===L||void 0===L?void 0:L.costToRent)||0)*x).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null===L||void 0===L?void 0:L.costToRent)||0,isSmall:!0,token:w})]})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsxs)("td",{children:[(0,ms.jsx)($_,{className:"inline"}),(0,ms.jsx)("p",{className:"pt-1 inline ms-1",children:"Duration"})]}),(0,ms.jsx)("td",{className:"flex justify-end",children:v&&Sl(v.term)})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:(0,ms.jsx)("p",{className:"pt-1 inline ms-1",children:"Listed By"})}),(0,ms.jsx)("td",{className:"flex justify-end",children:(0,ms.jsx)(ca.N_,{to:jD(v.flowtyStorefrontAddress),children:v.flowtyStorefrontAddress===(null===g||void 0===g||null===(s=g.loggedUser)||void 0===s?void 0:s.addr)?"You":v.flowtyStorefrontAddress})})]}),v.renter&&(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:(0,ms.jsx)("p",{className:"pt-1 inline ms-1",children:"Rented By"})}),(0,ms.jsx)("td",{className:"flex justify-end",children:(0,ms.jsx)(ca.N_,{to:jD(v.renter),children:v.renter===(null===g||void 0===g||null===(l=g.loggedUser)||void 0===l?void 0:l.addr)?"You":v.renter})})]}),(null===v||void 0===v||null===(c=v.valuations)||void 0===c?void 0:c.aggregate)&&(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:(0,ms.jsx)("td",{children:O})}),(0,ms.jsxs)("td",{className:"flex justify-end",children:[v.valuations.aggregate.depositToValueRatio.toFixed(2),"x"]})]}),I&&v.state!==us.ListingStatus.Expired&&(0,ms.jsx)(ms.Fragment,{children:null!=E&&(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("tr",{children:(0,ms.jsx)("td",{children:(0,ms.jsx)("u",{children:"Owner Information:"})})}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{children:"Rental Fee Share:"}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[w===us.SupportedTokens.FLOW&&x&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===L||void 0===L?void 0:L.costToRent)||0)*x).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null!==(u=null===v||void 0===v?void 0:v.amount)&&void 0!==u?u:0)-((null!==(d=null===v||void 0===v?void 0:v.amount)&&void 0!==d?d:0)*E+(null!==(h=null===v||void 0===v?void 0:v.amount)&&void 0!==h?h:0)*ss.Mu),isSmall:!0,token:w})]})})]}),(0,ms.jsxs)("tr",{children:[(0,ms.jsx)("td",{className:"pr-1.5",children:"Received if Renter Defaults:"}),(0,ms.jsx)("td",{className:"text-end",children:(0,ms.jsxs)("div",{className:"flex-row-reverse flex items-center",children:[w===us.SupportedTokens.FLOW&&x&&(0,ms.jsxs)("p",{className:"text-sm",children:["(USD $",Tl()(((null===L||void 0===L?void 0:L.costToRent)||0)*x).format("0,0.00"),")"]}),(0,ms.jsx)(Nl.se,{amount:(null!==(p=null===v||void 0===v?void 0:v.deposit)&&void 0!==p?p:0)-(null!==(f=null===v||void 0===v?void 0:v.deposit)&&void 0!==f?f:0)*E,isSmall:!0,token:w})]})})]})]})})]})}),(0,ms.jsx)("div",{className:"flex m-auto justify-end w-fit",children:!y&&(null===v||void 0===v?void 0:v.state)!==us.ListingStatus.Delisted&&(null===v||void 0===v?void 0:v.state)!==us.ListingStatus.Repaid&&(()=>{if(I&&("LISTED"===v.state||"INVALID"===v.state))return(0,ms.jsx)(qS,{isOwner:I,isOrderListedByLoggedAccount:R,rentalListing:v});if(C){var e;if(N&&I&&"RENTED"===v.state&&(N===(null===g||void 0===g||null===(e=g.loggedUser)||void 0===e?void 0:e.addr)||M))return(0,ms.jsx)(WS,{rentalListing:v,nftProviderPathIdentifier:M,nftProviderAddress:N});if("LISTED"===v.state&&(null===v.renter||I))return null}return null})()}),!R&&I&&"LISTED"===v.state&&(0,ms.jsxs)("div",{className:"py-2 text-sm font-normal text-center text-orange-500",children:["NFT was listed while connected with"," ".concat(null===v||void 0===v?void 0:v.flowtyStorefrontAddress)," as Main. Please sign in with "," ".concat(null===v||void 0===v?void 0:v.flowtyStorefrontAddress)," to delist."]})]}),!y&&(null===v||void 0===v?void 0:v.state)===us.ListingStatus.Listed&&(0,ms.jsx)(nT,{variant:"dark",className:"mt-2",children:I?(0,ms.jsxs)("div",{className:"flex items-center",children:[(0,ms.jsx)(K_,{className:"mt-1 text-xl me-3"}),(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)("h5",{className:"text-xl text-white",children:"Please Note"}),(0,ms.jsx)("p",{className:"mt-2 text-lightText",children:"There is no guarantee that your NFT will be returned. If the Renter does not return the NFT (defaults), you will receive the deposit (after collection royalty) instead of your NFT."})]})]}):(0,ms.jsxs)("div",{className:"flex items-center",children:[(0,ms.jsx)(K_,{className:"mt-1 text-xl me-3"}),(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)("h5",{className:"text-xl text-white",children:"Please Note"}),(0,ms.jsx)("p",{className:"mt-2 text-lightText",children:null===v.renter||v.renter===(null===g||void 0===g||null===(m=g.loggedUser)||void 0===m?void 0:m.addr)?(0,ms.jsxs)("p",{children:["If you do not return the NFT by the end of the rental term, you will forfeit your refundable deposit.",(0,ms.jsx)("br",{}),(0,ms.jsx)("br",{}),"Please note that some platforms or wallets may have limitations on withdrawing NFTs, which is outside of Flowty's control. Please ensure that you fully understand any restrictions that may impact your ability to return a rented NFT."]}):"This is a private listing and can only be filled by the address ".concat(v.renter)})]})]})})]})}))),YS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r,i,o,a;let{authStore:s}=e;const{listingResourceId:l}=(0,Os.g)(),c=(null===s||void 0===s?void 0:s.getAccountSummaryAddresses())||[],u=null!==l&&void 0!==l?l:"",[d,h]=(0,sa.useState)(null),[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(null),[v,C]=(0,sa.useState)(!1),y=(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Delisted||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Repaid||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Settled||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Invalid||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Rented||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Returned||(null===p||void 0===p?void 0:p.state)===us.ListingStatus.Expired,[b,w]=(0,sa.useState)(!!p&&Dl(null===p||void 0===p?void 0:p.blockTimestamp)),[x,A]=(0,sa.useState)(!(null===m||void 0===m||!m.settleDeadline)&&Pl(null===m||void 0===m?void 0:m.settleDeadline)),E=async()=>{const e=await(async e=>{(0,fs.t)("fetchRentalListingById",e);const t=hl.db.collection("rentalAvailable").where("listingResourceID","in",[e.toString(),Number(e)]).limit(1),n=await t.get();if((0,fs.t)("fetchRentalListingById",n.docs),n.docs.length>0){var r;const e=n.docs[0].data();(0,fs.t)("fetchRentalListingById",e);const t={...e};return t.blockTimestamp=null===e||void 0===e||null===(r=e.blockTimestamp)||void 0===r?void 0:r.toDate(),t}return null})(u);f(e)};(0,sa.useEffect)((()=>{(async()=>{const e=await jT(u);g(e)})().then((()=>{(0,fs.t)("getFunding",m)})),E().then((()=>{(0,fs.t)("set listing to",p)}))}),[l]),(0,sa.useEffect)((()=>{const e=null===p||void 0===p?void 0:p.blockTimestamp;e&&w(Dl(e))}),[null===p||void 0===p?void 0:p.blockTimestamp]),(0,sa.useEffect)((()=>{const e=null===m||void 0===m?void 0:m.settleDeadline;e&&A(Pl(e))}),[null===m||void 0===m?void 0:m.settleDeadline]),(0,sa.useEffect)((()=>{if(!p)return;const e=(0,us.nftTypeAndIdToLocationData)(null===p||void 0===p?void 0:p.nftType,null===p||void 0===p?void 0:p.nftID);Tf.su.api.getItem({contractAddress:e.contract.address,contractName:e.contract.name,nftID:e.nftID,resourceName:e.resourceName}).then((e=>{var t,n,r;const i=null!==(t=null===(n=e.nftView)||void 0===n||null===(r=n.externalURL)||void 0===r?void 0:r.url)&&void 0!==t?t:"";h(i),i||(0,fs.t)("No backlink URL")}))}),[p]);(0,sa.useEffect)((()=>{if(null!==p&&void 0!==p&&p.detail){const e=p.detail;ds.o.track("Asset Detail Page Visited",{listingInfo:e})}}),[null===p||void 0===p?void 0:p.detail]);const _=null===p,[T,S]=(0,sa.useState)(null),k=(0,sa.useMemo)((()=>{var e,t,n;return null!==p&&void 0!==p&&null!==(e=p.detail)&&void 0!==e&&null!==(t=e.card)&&void 0!==t&&t.images&&p.detail.card.images.length>0?(0,us.getImageURL)(null!==(n=p.detail.card.images[0].url)&&void 0!==n?n:tl.A):(0,us.getImageURL)(tl.A)}),[null===p||void 0===p||null===(t=p.detail)||void 0===t||null===(n=t.card)||void 0===n?void 0:n.images,tl.A]);(0,sa.useEffect)((()=>{k&&v&&aC(k,"mp4").then(S)}),[k,v]);const P=(0,sa.useMemo)((()=>{var e,t,n,r,i,o;return!T&&v?(0,ms.jsx)(sC,{collectionAddress:null===p||void 0===p||null===(e=p.detail)||void 0===e||null===(t=e.card)||void 0===t?void 0:t.collectionAddress,collectionName:null===p||void 0===p||null===(n=p.detail)||void 0===n||null===(r=n.card)||void 0===r?void 0:r.collectionName,onError:e=>{(0,ol.R)(e)},className:"object-cover aspect-square w-3/4 ".concat(y?"opacity-50":"")}):T?T?(0,ms.jsx)("video",{muted:!0,loop:!0,playsInline:!0,preload:"auto",autoPlay:!0,className:"nft-image max-w-xs md:max-w-lg mx-auto ".concat(y?"opacity-50":""),children:(0,ms.jsx)("source",{type:"video/mp4",src:k})}):void 0:(0,ms.jsx)("img",{src:k,className:"nft-image max-w-xs md:max-w-lg mx-auto ".concat(y?"opacity-50":""),loading:"lazy",alt:"".concat(null===p||void 0===p||null===(i=p.detail)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.title," asset"),onError:()=>{C(!0)}})}),[k,ol.R,T,v,y,C]);return(0,ms.jsx)(cv,{children:_?(0,ms.jsx)(LT,{}):(0,ms.jsxs)("div",{className:"container",children:[(0,ms.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,ms.jsxs)("ol",{className:"flex items-center",children:[(0,ms.jsxs)("li",{className:"flex items-center",children:[(0,ms.jsx)("a",{href:OD.Marketplace,className:"hover:underline cursor-pointer",children:"Marketplace"}),(0,ms.jsx)(TC,{className:"h-7 w-7 flex-shrink-0 text-primary","aria-hidden":"true"})]}),(0,ms.jsx)("li",{children:(0,ms.jsxs)("a",{href:"/marketplace",className:"hover:underline cursor-pointer",children:[" ",(null===p||void 0===p||null===(r=p.detail)||void 0===r||null===(i=r.nft)||void 0===i?void 0:i.title)||""]})})]})}),(0,ms.jsxs)("div",{className:"relative pt-4",children:[(0,ms.jsxs)(iT,{className:"md:flex-nowrap flex-wrap",children:[(0,ms.jsxs)(rT,{lg:4,children:[(0,ms.jsxs)("div",{className:"flex justify-center nft-image-card",children:[P,b?c.includes(p.flowtyStorefrontAddress)?(0,ms.jsx)("div",{className:"z-50 flex justify-center nft-image-alert w-full",children:(0,ms.jsx)("div",{className:"w-3/4 flex justify-center items-center countdown-content rounded-t-xl",children:(0,ms.jsx)("p",{className:"text-white text-bold me-2",children:"My Listing"})})}):p.renter&&(0,ms.jsx)(BS,{listing:p,className:"w-3/4"}):!b&&null!==p&&void 0!==p&&p.blockTimestamp?(0,ms.jsx)(Z_,{blockTimestamp:null===p||void 0===p?void 0:p.blockTimestamp,onCountdownEnd:()=>w(!0),className:"w-3/4"}):x?(0,ms.jsx)("div",{className:"nft-image-alert w-full",children:(0,ms.jsx)("div",{className:"pt-1 flex justify-center items-center",children:(0,ms.jsx)(nT,{variant:"info",className:"pt-2 pb-2 mt-5 absolute ps-3 pe-3 text-bold",children:"Expired"})})}):null,y&&(null===p||void 0===p?void 0:p.state)&&(0,ms.jsx)(OT,{nftState:p.state})]}),(0,ms.jsxs)("div",{className:"ms-2 padding-20 w-full flex ".concat(d?"justify-between":"justify-end"),children:[d&&(0,ms.jsxs)("a",{href:d,target:"_blank",rel:"noreferrer",children:[(0,ms.jsx)("p",{className:"inline-block pt-1 mt-3 me-2 text-16",children:"View Asset"}),(0,ms.jsx)(tc,{className:"inline-block pb-1"})]}),(0,ms.jsx)(IT,{nftType:p.nftType,nftID:p.nftID})]}),(0,ms.jsx)("div",{className:"padding-10",children:(null===p||void 0===p||null===(o=p.detail)||void 0===o||null===(a=o.nft)||void 0===a?void 0:a.metadata)&&(null===p||void 0===p?void 0:p.nftType)&&(0,ms.jsx)(FT,{metadata:p.detail.nft.metadata,type:p.nftType})})]}),(0,ms.jsx)(rT,{className:"mt-5 ",children:(0,ms.jsx)(GS,{listing:p,isListingActive:b,isListingExpired:x,setListing:f})})]}),(null===m||void 0===m?void 0:m.settleDeadline)&&((null===p||void 0===p?void 0:p.state)===us.ListingStatus.Funded||us.ListingStatus.Rented)&&(0,ms.jsx)(RT,{settleDeadline:null===m||void 0===m?void 0:m.settleDeadline,className:"mt-5",onCountdownEnd:()=>A(!0)})]})]})})}))),KS=e=>[{customRender:e=>{var t,n,r;let{item:i}=e;const o=null!==(t=null===i||void 0===i||null===(n=i.type)||void 0===n||null===(r=n.split("_").pop())||void 0===r?void 0:r.toLowerCase())&&void 0!==t?t:"";return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===o?"delisted":o})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,el.default)(null===n||void 0===n||null===(t=n.blockTimestamp)||void 0===t?void 0:t.toDate(),"yyyy-MM-dd HH:mm")})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.nftInfo)||void 0===a||!a.nft)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.nftInfo)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.nftInfo)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.nftInfo)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==U&&void 0!==U&&null!==(g=U.nftInfo)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===U||void 0===U||null===(C=U.nftInfo)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===U||void 0===U||null===(b=U.nftInfo)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===U||void 0===U||null===(x=U.nftInfo)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.nftInfo)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===U||void 0===U||null===(T=U.nftInfo)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.nftInfo)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.nftInfo)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.nftInfo)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.nftInfo)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.nftInfo)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:null===e||void 0===e?void 0:e.value},null===e||void 0===e?void 0:e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null===t||void 0===t?void 0:t.amount),isSmall:!0,token:null===t||void 0===t?void 0:t.paymentTokenName})})},name:"amount",sortable:!1,title:"Rental Fee"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null===t||void 0===t?void 0:t.deposit),isSmall:!0,token:null===t||void 0===t?void 0:t.paymentTokenName})})},name:"deposit",sortable:!1,title:"Returnable Deposit"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(null===t||void 0===t?void 0:t.term)})},name:"duration",sortable:!1,title:"Duration"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:null!==i&&void 0!==i&&i.valuations?"".concat(null===(t=i.valuations)||void 0===t||null===(n=t.aggregate)||void 0===n||null===(r=n.depositToValueRatio)||void 0===r?void 0:r.toFixed(2),"x"):"N/A"})},name:"duration",sortable:!1,title:"3rd Party DTV"},{customRender:t=>{var n,r,i,o,a;let{item:s}=t;return(0,ms.jsx)("div",{onClick:t=>{var n,r,i;t.preventDefault(),t.stopPropagation(),e("/user/".concat(null!==(n=null===s||void 0===s||null===(r=s.data)||void 0===r?void 0:r.lender)&&void 0!==n?n:null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.flowtyStorefrontAddress))},className:"lender flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(null!==(n=null===s||void 0===s||null===(r=s.data)||void 0===r?void 0:r.lender)&&void 0!==n?n:null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.flowtyStorefrontAddress),children:(null===s||void 0===s||null===(o=s.data)||void 0===o?void 0:o.lender)||(null===s||void 0===s||null===(a=s.data)||void 0===a?void 0:a.flowtyStorefrontAddress)||"--"})})},name:"owner",sortable:!1,title:"Owner"},{customRender:t=>{var n,r,i,o,a;let{item:s}=t;return(0,ms.jsx)("div",{onClick:t=>{var n,r,i;t.preventDefault(),t.stopPropagation(),e("/user/".concat(null!==(n=null===s||void 0===s||null===(r=s.data)||void 0===r?void 0:r.renter)&&void 0!==n?n:null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.renterAddress))},className:"renter flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(null!==(n=null===s||void 0===s||null===(r=s.data)||void 0===r?void 0:r.renter)&&void 0!==n?n:null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.renterAddress),children:(null===s||void 0===s||null===(o=s.data)||void 0===o?void 0:o.renter)||(null===s||void 0===s||null===(a=s.data)||void 0===a?void 0:a.renterAddress)||"--"})})},name:"renter",sortable:!1,title:"Renter"}],QS=()=>{const[e,t]=(0,sa.useState)(1),n=(0,Os.Zp)(),[r,i]=(0,sa.useState)(!1),[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)([]),[c,u]=(0,sa.useState)({min:"",path:""}),[d,h]=(0,sa.useState)(!0),[p,f]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending});(0,sa.useEffect)((()=>{t(1)}),[p,c]),(0,sa.useEffect)((()=>fl({addressPath:"data.renterAddress",eventCollection:"rentalEvents",filterActivityBy:c,limit:ss.cb*e,listingCollection:"rentalAvailable",makerCb(e){a(e)},sort:p,takerCb(e){l(e)}})),[e,c,p]);const m=(0,sa.useMemo)((()=>o.map((e=>({...e})))),[s,o]),g=wl({isLoading:!1,onInfiniteScroll(){setTimeout((()=>{i(!1)}),2e3),e*ss.cb===m.length&&(t(e+1),i(!0)),ds.o.track("Inifinite Scroll Global Rentals Page")}},[e,m]);(0,sa.useEffect)((()=>{ds.o.track("Global Rentals Page Visited")}),[]),(0,sa.useEffect)((()=>{c.path&&ds.o.track("Global Rentals Page Filtered",{filter:c})}),[c.path]);const v=[{label:"All",value:""},{label:"Listed",value:"RENTAL_LISTED"},{label:"Delisted",value:"RENTAL_DESTROYED"},{label:"Rented",value:"RENTAL_RENTED"},{label:"Returned",value:"RENTAL_RETURNED"},{label:"Settled",value:"RENTAL_SETTLED"},{label:"Expired",value:"EXPIRED"}],[C,y]=(0,sa.useState)(v[0].value);return(0,ms.jsx)(uv,{children:(0,ms.jsxs)("div",{children:[(0,ms.jsx)(Gl,{showFilter:d,setShowFilter:h,filterBy:c,setFilterBy:u}),(0,ms.jsx)("div",{className:"flex mb-[20px]",children:(0,ms.jsx)(Bs.DG,{fields:v,selectedField:C,updateSelectedField:e=>{y(e),u({max:"",min:e,path:"state"})}})}),(0,ms.jsx)("div",{className:"line-separator mb-3 md:mb-4 bg-gradient-to-r from-darkBg via-secondary to-darkBg"}),(0,ms.jsx)($s,{onClickRow:e=>{var t,r;let{item:i}=e;const o=null===i||void 0===i||null===(t=i.data)||void 0===t?void 0:t.nftType,a=null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.nftID.toString(),s=!(!o||!a),l=(0,us.nftTypeAndIdToLocationData)(o,a);s&&n("/asset/".concat(l.contract.address,"/").concat(l.contract.name,"/").concat(l.resourceName,"/").concat(l.nftID))},fields:KS(n),items:m,onSort:f,initialSortConfig:p,stickyHeaders:!0,composeRowHref:e=>{var t,n;const r=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.nftType,i=null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.nftID.toString(),o=(0,us.nftTypeAndIdToLocationData)(r,i);return"/asset/".concat(o.contract.address,"/").concat(o.contract.name,"/").concat(o.resourceName,"/").concat(o.nftID)}}),(0,ms.jsx)("div",{ref:g,children:r?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):e*ss.cb===m.length&&(0,ms.jsx)(xl,{})})]})})},XS=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n}=e;const[r,i]=(0,sa.useState)(null),[o,a]=(0,sa.useState)(null),[s,l]=(0,sa.useState)({message:"",show:!1,type:"SUCCESS"}),c=(null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr)||null;(0,sa.useEffect)((()=>{let e=()=>{},t=()=>{};if(c){const n=hl.db.doc("/accounts/".concat(c,"/providers/twitter")),s=hl.db.doc("/accounts/".concat(c,"/providers/discord"));e=n.onSnapshot((e=>{if(e.exists){var t;const n=e.data();i(null!==(t=n.handle)&&void 0!==t?t:null)}else i(null)}),(e=>{ds.o.track("FETCHING_TWITTER_DATA_ERROR",{error:e,twitterHandle:r,walletAddress:c})})),t=s.onSnapshot((e=>{if(e.exists){var t;const n=e.data();a(null!==(t=n.username)&&void 0!==t?t:null)}else a(null)}),(e=>{ds.o.track("FETCHING_DISCORD_DATA_ERROR",{discordHandle:o,error:e,walletAddress:c})}))}return()=>{e(),t()}}),[c]);return(0,ms.jsxs)("div",{className:"flex-1 px-[2.5rem] py-[2rem] max-h-auto bg-neutral-400/10 rounded-lg w-full lg:min-w-[44.25rem]",children:[(0,ms.jsx)(_c.s,{setShow:e=>l({...s,show:e}),show:s.show,seconds:5,message:s.message,type:s.type}),(0,ms.jsxs)("div",{className:"flex  flex-col items-start w-full",children:[(0,ms.jsx)("div",{className:"font-semibold text-lg ",children:"Social Connections"}),(0,ms.jsx)(Bs.Qw,{twitterHandle:r,walletAddress:c,handleTwitterDisconnect:async()=>{ds.o.track("TWITTER_DISCONNECT_CLICKED",{twitterHandle:r,walletAddress:c});try{await hl.db.doc("/accounts/".concat(c,"/providers/twitter")).delete(),l({message:"Successfully Disconnected Twitter",show:!0,type:"SUCCESS"}),ds.o.track("TWITTER_DISCONNECT_SUCCESS",{twitterHandle:r,walletAddress:c})}catch(e){return l({message:"Something went wrong. Please try again later.",show:!0,type:"ERROR"}),ds.o.track("TWITTER_DISCONNECT_ERROR",{error:e,twitterHandle:r,walletAddress:c}),e}}}),(0,ms.jsx)(Bs.dG,{discordHandle:o,walletAddress:c,handleDiscordDisconnect:async()=>{ds.o.track("DISCORD_DISCONNECT_CLICKED",{discordHandle:o,walletAddress:c});try{await hl.db.doc("/accounts/".concat(c,"/providers/discord")).delete(),l({message:"Successfully Disconnected Discord",show:!0,type:"SUCCESS"}),ds.o.track("DISCORD_DISCONNECT_SUCCESS",{discordHandle:o,walletAddress:c})}catch(e){l({message:"Something went wrong. Please try again later.",show:!0,type:"ERROR"}),ds.o.track("DISCORD_DISCONNECT_ERROR",{discordHandle:o,error:e,walletAddress:c})}}})]})]})})));var JS,$S,ek,tk;function nk(){return nk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nk.apply(null,arguments)}function rk(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",nk({width:118,height:118,viewBox:"0 0 118 118",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,JS||(JS=sa.createElement("rect",{width:118,height:118,rx:8,fill:"url(#paint0_linear_101_2137)"})),$S||($S=sa.createElement("path",{d:"M59 54.8209C65.9243 54.8209 71.5375 49.2076 71.5375 42.2834C71.5375 35.3591 65.9243 29.7458 59 29.7458C52.0758 29.7458 46.4625 35.3591 46.4625 42.2834C46.4625 49.2076 52.0758 54.8209 59 54.8209Z",fill:"white",fillOpacity:.8})),ek||(ek=sa.createElement("path",{d:"M29.7458 92.4334C29.7458 76.2767 42.8434 63.1792 59 63.1792C75.1567 63.1792 88.2542 76.2767 88.2542 92.4334H29.7458Z",fill:"white",fillOpacity:.8})),tk||(tk=sa.createElement("defs",null,sa.createElement("linearGradient",{id:"paint0_linear_101_2137",x1:59,y1:0,x2:59,y2:118,gradientUnits:"userSpaceOnUse"},sa.createElement("stop",{stopColor:"#04E5A3"}),sa.createElement("stop",{offset:.9999,stopColor:"#329CE8"}),sa.createElement("stop",{offset:1,stopColor:"white",stopOpacity:0})))))}const ik=sa.forwardRef(rk);__webpack_require__.p;var ok,ak,sk,lk,ck,uk;function dk(){return dk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dk.apply(null,arguments)}function hk(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",dk({width:118,height:118,viewBox:"0 0 118 118",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,ok||(ok=sa.createElement("rect",{width:118,height:118,rx:8,fill:"url(#paint0_linear_101_2140)"})),ak||(ak=sa.createElement("path",{d:"M59 54.8209C65.9243 54.8209 71.5375 49.2076 71.5375 42.2834C71.5375 35.3591 65.9243 29.7458 59 29.7458C52.0757 29.7458 46.4625 35.3591 46.4625 42.2834C46.4625 49.2076 52.0757 54.8209 59 54.8209Z",fill:"white",fillOpacity:.8})),sk||(sk=sa.createElement("path",{d:"M29.7458 92.4334C29.7458 76.2767 42.8434 63.1792 59 63.1792C75.1566 63.1792 88.2542 76.2767 88.2542 92.4334H29.7458Z",fill:"white",fillOpacity:.8})),lk||(lk=sa.createElement("rect",{width:118,height:118,rx:6,fill:"#03102E",fillOpacity:.8})),ck||(ck=sa.createElement("path",{d:"M51 63L51 64C51 65.6569 52.3431 67 54 67L64 67C65.6569 67 67 65.6569 67 64L67 63M63 55L59 51M59 51L55 55M59 51L59 63",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),uk||(uk=sa.createElement("defs",null,sa.createElement("linearGradient",{id:"paint0_linear_101_2140",x1:59,y1:0,x2:59,y2:118,gradientUnits:"userSpaceOnUse"},sa.createElement("stop",{stopColor:"#04E5A3"}),sa.createElement("stop",{offset:.9999,stopColor:"#329CE8"}),sa.createElement("stop",{offset:1,stopColor:"white",stopOpacity:0})))))}const pk=sa.forwardRef(hk);__webpack_require__.p;var fk;function mk(){return mk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mk.apply(null,arguments)}function gk(e,t){let{title:n,titleId:r,...i}=e;return sa.createElement("svg",mk({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?sa.createElement("title",{id:r},n):null,fk||(fk=sa.createElement("path",{d:"M4 16L4 17C4 18.6569 5.34315 20 7 20L17 20C18.6569 20 20 18.6569 20 17L20 16M16 8L12 4M12 4L8 8M12 4L12 16",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}const vk=sa.forwardRef(gk),Ck=(__webpack_require__.p,e=>{let{avatar:t}=e;const[n,r]=(0,sa.useState)(!1);return t?(0,ms.jsx)("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),className:"group relative w-[7.375rem] h-[7.375rem]",children:n?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("img",{src:t,alt:"Your Description",className:"w-full h-full rounded-lg"}),(0,ms.jsx)("div",{className:"absolute inset-0 bg-[#031021]/25 flex items-center justify-center rounded-lg",children:(0,ms.jsx)(vk,{})})," "]}):(0,ms.jsx)("img",{src:t,alt:"Your Description",className:"w-full h-full rounded-lg"})}):(0,ms.jsx)("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),className:"cursor-pointer",children:n?(0,ms.jsx)(pk,{}):(0,ms.jsx)(ik,{})})}),yk=e=>{var t,n,r;let{authStore:i,setFieldValue:o,image:a,setImage:s}=e;const[l,c]=(0,sa.useState)(!1),u=(0,sa.useRef)(null);return(0,ms.jsxs)("div",{className:"flex flex-col md:flex-row md:gap-[3.5] gap-[1rem]",children:[(0,ms.jsxs)("div",{className:"flex flex-col justify-between w-auto",children:[(0,ms.jsx)("label",{htmlFor:"profilePicture",className:"block text-base font-bold mb-[1.12rem] min-w-[8.5rem]",children:"Profile Picture"}),(0,ms.jsx)("input",{id:"avatar",name:"avatar",type:"file",ref:u,style:{display:"none"},onChange:e=>{var t,n;zT(e,s,c,null!==(t=null===i||void 0===i||null===(n=i.loggedUser)||void 0===n?void 0:n.addr)&&void 0!==t?t:"",o)}}),(0,ms.jsx)("button",{type:"button",className:"flex flex-col cursor-pointer items-center justify-center ".concat(null!==i&&void 0!==i&&null!==(t=i.loggedUser)&&void 0!==t&&t.avatar?" focus:border-none focus:ring-0 rounded-[0.25rem] w-[7.375rem] h-[7.375rem] bg-cover bg-center text-white":""),onClick:e=>{e.stopPropagation(),(()=>{var e;u&&u.current&&(null===(e=u.current)||void 0===e||e.click())})()},children:(0,ms.jsx)("div",{className:"bg-[#031021]/60 rounded-[0.25rem] w-[7.375rem] h-[7.375rem] flex items-center ".concat(l?"justify-center":""),children:l?(0,ms.jsx)(CT,{size:15,borderThickness:3}):(0,ms.jsx)(Ck,{avatar:a||(null!==i&&void 0!==i&&null!==(n=i.loggedUser)&&void 0!==n&&n.avatar?null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.avatar:"")})})})]}),(0,ms.jsxs)("div",{className:"flex flex-col w-full",children:[(0,ms.jsxs)("div",{className:"mb-4",children:[(0,ms.jsx)("label",{htmlFor:"userName",className:"block text-base font-bold mb-[.5rem]",children:"Username"}),(0,ms.jsx)(gl.D0,{type:"text",id:"userName",name:"userName",className:"text-[1rem] bg-[#FFFFFF14] font-normal cursor-pointer border-[1px] focus:border-primary focus:outline-none focus:bg-transparent focus:ring-0 border-[#6C757D] rounded-md w-full py-2 px-3 leading-tight hover:bg-[#ffffff29] input::-webkit-autofill input::-webkit-autofill:focus input::-webkit-autofill:active input:-webkit-autofill:hover"})]}),(0,ms.jsxs)("div",{children:[(0,ms.jsx)("label",{htmlFor:"email",className:"block text-base font-bold mb-2",children:"Email"}),(0,ms.jsx)(gl.D0,{type:"email",id:"email",name:"email",className:"text-[1rem] bg-[#FFFFFF14] font-normal cursor-pointer border-[1px] focus:border-primary focus:outline-none focus:bg-transparent focus:ring-0 border-[#6C757D] rounded-md w-full py-2 px-3 leading-tight hover:bg-[#ffffff29] input::-webkit-autofill input::-webkit-autofill:focus input::-webkit-autofill:active input:-webkit-autofill:hover"}),(0,ms.jsx)(gl.Kw,{name:"email",component:"div",className:"text-red-500"})]})]})]})};var bk=__webpack_require__(71408);const wk=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r;let{authStore:i}=e;null!==i&&void 0!==i&&null!==(t=i.loggedUser)&&void 0!==t&&t.loggedIn||window.location.replace("/");const[o,a]=(0,sa.useState)(!0),[s,l]=(0,sa.useState)(!1),[c,u]=(0,sa.useState)(!1),[d,h]=(0,sa.useState)(),[p,f]=(0,sa.useState)(null),[m,g]=(0,sa.useState)(null!==(n=null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.avatar)&&void 0!==n?n:""),[v,C]=(0,sa.useState)({message:"",show:!1,type:"SUCCESS"}),y=async()=>{try{const r=await async function(){var e,t;let n=null!==(e=await(null===hl.j2||void 0===hl.j2||null===(t=hl.j2.currentUser)||void 0===t?void 0:t.getIdToken(!0)))&&void 0!==e?e:"";var r,i;""===n&&(await fc(1e3),n=null!==(r=await(null===hl.j2||void 0===hl.j2||null===(i=hl.j2.currentUser)||void 0===i?void 0:i.getIdToken(!0)))&&void 0!==r?r:"");const o="".concat(ss.Sw,"/notifications/settings"),a={Authorization:n};try{return(await cs().get(o,{headers:a})).data}catch(s){return(0,fs.t)("getEmailSettings",{error:s}),{settings:[]}}}();var e,t,n;if(r)h(!(null!==(e=r.settings[1])&&void 0!==e&&e.suppressed)),u(!(null!==(t=r.settings[0])&&void 0!==t&&t.suppressed)),a(!1),ds.o.track("EMAIL_SETTINGS_FETCH_SUCCESS",{email:null===i||void 0===i||null===(n=i.loggedUser)||void 0===n?void 0:n.marketingEmail})}catch(o){var r;ds.o.track("EMAIL_SETTINGS_FETCH_FAILURE",{email:null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.marketingEmail,error:o})}};(0,sa.useEffect)((()=>{var e;null!==i&&void 0!==i&&null!==(e=i.loggedUser)&&void 0!==e&&e.marketingEmail?y():(u(!1),h(!1),a(!1))}),[null===i||void 0===i?void 0:i.loggedUser]);const b=()=>{C({message:"Successfully Saved Preferences",show:!0,type:"SUCCESS"}),f(null)},w=(e,t)=>{t(),C({message:"Something went wrong. Please try again later",show:!0,type:"ERROR"}),f(e)};return(0,ms.jsxs)("div",{className:"flex-1 px-[2.5rem] py-[2rem] w-full lg:min-w-[44.25rem] text-[#DEE2E6] bg-neutral-400/10 rounded-lg",children:[(0,ms.jsx)(_c.s,{setShow:e=>C({...v,show:e}),show:v.show,seconds:5,message:v.message,type:v.type})," ",(0,ms.jsx)("div",{className:"font-semibold text-lg pb-[2rem]",children:"User Preferences"}),(0,ms.jsx)(gl.l1,{initialValues:(()=>{const e=Sc(i);var t;return e.email&&0!==e.email.length?{...e,subscribeNewsletter:null!==d&&void 0!==d&&d,subscribeOffers:null!==c&&void 0!==c&&c}:{...e,email:(null===i||void 0===i||null===(t=i.loggedUser)||void 0===t?void 0:t.blockToEmail)||""}})(),enableReinitialize:!0,validationSchema:xc,onSubmit:async(e,t)=>{let{setSubmitting:n,resetForm:r}=t;try{await(async(e,t)=>{var n,r;const{userName:o,email:a,subscribeOffers:s,subscribeNewsletter:l}=e;null===i||void 0===i||i.setProfileImage(m),null===i||void 0===i||i.setUsername(o),null===i||void 0===i||i.setEmail(a),Ec(i,a,s,l),await Tc(null!==(n=null===i||void 0===i||null===(r=i.loggedUser)||void 0===r?void 0:r.addr)&&void 0!==n?n:"",e,b,"settings").then((()=>{t(!1),ds.o.track("USER_PREFERENCES_SUBMITTED",{values:e})})).catch((n=>{t(!1),w(n,(()=>{})),ds.o.track("USER_PREFERENCES_SUBMIT_FAILED",{error:n,values:e})}))})(e,n)}catch(o){w(o,r)}},children:e=>{let{dirty:t,isSubmitting:n,isValid:r,setFieldValue:a,resetForm:l}=e;return(0,ms.jsxs)(gl.lV,{children:[(0,ms.jsx)("div",{className:"section md:[mb-6] mb-4",children:(0,ms.jsx)(yk,{authStore:i,image:m,setImage:g,setFieldValue:a})}),(0,ms.jsx)("div",{className:"max-w-[39.25rem] fill-[4C5B69] my-[3em] border-gradient js-show-on-scroll motion-safe:animate-fadeIn"}),(0,ms.jsx)("div",{className:"flex md:[mb-6] mb-4 w-full",children:(0,ms.jsxs)("div",{className:"w-full",children:[(0,ms.jsx)("h3",{className:"text-lg font-bold mb-[2rem]",children:"Notifications"}),(0,ms.jsx)("p",{className:"text-base font-bold leading-4",children:"Received Offers"}),(0,ms.jsx)(bk.O,{loading:o,name:"subscribeOffers",label:(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsx)("p",{className:"text-xs font-normal mt-[0.5rem] mb-[0.5rem] text-[#DEE2E6]",children:"Subscribe to email notifications for Received Offers"})})},0),(0,ms.jsx)("p",{className:"text-base font-bold leading-4 mt-8",children:"Promotional Emails"}),(0,ms.jsx)(bk.O,{loading:o,name:"subscribeNewsletter",label:(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("p",{className:"text-xs font-normal mt-[0.5rem] mb-[0.5rem] text-[#DEE2E6]",children:"Subscribe to email notifications for The Flowty Newsletter and other informational emails"}),(0==d||0==c)&&(0,ms.jsx)("p",{className:"text-xs font-normal mb-[0.5rem] text-[#FF6E25]",children:"Note: Opting out of the above will not prevent transaction confirmation emails"})]})},1)]})}),(0,ms.jsx)("div",{className:"max-w-[39.25rem] fill-[4C5B69] my-[3em] border-gradient js-show-on-scroll motion-safe:animate-fadeIn"}),(0,ms.jsxs)("div",{className:"flex gap-[0.5rem] justify-end w-[200px] mr-0 ml-auto",children:[(0,ms.jsx)(Bs.M2,{onClick:l,type:"reset",disabled:!t&&!s,text:"CANCEL",variant:"secondary",bgColor:"white"}),(0,ms.jsx)(Bs.M2,{text:n?(0,ms.jsx)("div",{className:"animate-spin inline-block w-4 h-4 border-[3px] border-current border-t-transparent rounded-full",role:"status","aria-label":"loading"}):"SAVE",type:"submit",disabled:!r||n||!t&&!s,variant:"secondary"})]})]})}})]})}))),xk=()=>(0,ms.jsxs)("section",{children:[(0,ms.jsx)("div",{className:"text-[2rem] font-black pb-[3rem] pt-[1.5rem] leading-8 tracking-wider",children:"SETTINGS"}),(0,ms.jsxs)("div",{className:"flex flex-col xl:flex-row xl:items-start bg-blue gap-[1.5rem]",children:[(0,ms.jsx)(wk,{}),(0,ms.jsx)(XS,{})]}),(0,ms.jsx)("div",{className:"w-full fill-[4C5B69] my-[3em] border-gradient js-show-on-scroll motion-safe:animate-fadeIn"})]}),Ak=()=>(0,ms.jsxs)("div",{className:"flex flex-col h-screen",children:[(0,ms.jsx)("div",{className:"flex-grow",children:(0,ms.jsx)(cv,{children:(0,ms.jsxs)("div",{className:"container",children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Your Profile Settings",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)(xk,{})]})})}),(0,ms.jsx)(Bs.$z,{subscribeEmailToNotification:Ac,mixPanelFn:(e,t)=>{ds.o.track(e,t)}})]}),Ek=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n}=e;const r=(0,Os.Zp)();return(0,sa.useEffect)((()=>{var e;null!==n&&void 0!==n&&null!==(e=n.loggedUser)&&void 0!==e&&e.loggedIn&&r("/user/profile")}),[null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.loggedIn]),(0,ms.jsx)(cv,{children:(0,ms.jsx)("div",{className:"w-full h-auto flex justify-center mt-[12.5rem]",children:(0,ms.jsx)(Bs.aE,{onSignIn:()=>ov()})})})}))),_k=e=>[{customRender:e=>{var t;let n,{item:r}=e;const i=null===r||void 0===r?void 0:r.type.split("_");return n=null!==r&&void 0!==r&&null!==(t=r.type)&&void 0!==t&&t.includes("OFFER")?"".concat(i[1]," ").concat(i[2]):i[i.length-1],n=n.toLowerCase(),(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===n?"delisted":n})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{var t;let{item:n}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,el.default)(null===n||void 0===n||null===(t=n.blockTimestamp)||void 0===t?void 0:t.toDate(),"yyyy-MM-dd HH:mm")})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L;let{item:B}=e;const U=(0,us.getNFTDetail)(null,null===B||void 0===B||null===(t=B.additionalData)||void 0===t?void 0:t.card);if(!U&&null!==B&&void 0!==B&&null!==(n=B.data)&&void 0!==n&&n.nftID){var V,H;const e=(0,us.nftTypeAndIdToLocationData)(null===B||void 0===B||null===(V=B.data)||void 0===V?void 0:V.nftType,null===B||void 0===B||null===(H=B.data)||void 0===H?void 0:H.nftID.toString()),t=(0,us.getNFTIdentifier)(e);Tf.su.api.refreshMetadata(t).then().catch((e=>(0,fs.t)(" Failed to refresh Metadata",e)))}const z="A.".concat(null===(r=B.additionalData)||void 0===r||null===(i=r.card)||void 0===i||null===(o=i.collectionAddress)||void 0===o?void 0:o.substring(2),".").concat(null===(a=B.additionalData)||void 0===a||null===(s=a.card)||void 0===s?void 0:s.collectionName,".NFT");return(0,ms.jsx)("div",{children:U&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===B||void 0===B||null===(l=B.additionalData)||void 0===l||null===(c=l.card)||void 0===c?void 0:c.collectionAddress)||"",collectionName:(null===B||void 0===B||null===(u=B.additionalData)||void 0===u||null===(d=u.card)||void 0===d?void 0:d.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(h=null===B||void 0===B||null===(p=B.additionalData)||void 0===p||null===(f=p.card)||void 0===f||null===(m=f.images)||void 0===m||null===(g=m[0])||void 0===g?void 0:g.url)&&void 0!==h?h:tl.A,(0,ss.hx)(z))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[B.additionalData?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===B||void 0===B||null===(v=B.additionalData)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.title}):(0,ms.jsxs)("div",{className:"flex flex-row",children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===B||void 0===B||null===(y=B.additionalData)||void 0===y||null===(b=y.card)||void 0===b?void 0:b.title}),(null===B||void 0===B||null===(w=B.additionalData)||void 0===w||null===(x=w.card)||void 0===x?void 0:x.num)&&!(null!==(A=B.additionalData)&&void 0!==A&&null!==(E=A.card)&&void 0!==E&&E.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-1",children:["#",null===B||void 0===B||null===(_=B.additionalData)||void 0===_||null===(T=_.card)||void 0===T?void 0:T.num]})]}),null!==B&&void 0!==B&&null!==(S=B.additionalData)&&void 0!==S&&null!==(k=S.card)&&void 0!==k&&k.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==B&&void 0!==B&&null!==(P=B.additionalData)&&void 0!==P&&null!==(D=P.card)&&void 0!==D&&D.additionalDetails?null===B||void 0===B||null===(N=B.additionalData)||void 0===N||null===(F=N.card)||void 0===F||null===(I=F.additionalDetails)||void 0===I?void 0:I.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===B||void 0===B||null===(R=B.additionalData)||void 0===R||null===(M=R.card)||void 0===M?void 0:M.headerTraits)&&(null===B||void 0===B||null===(O=B.additionalData)||void 0===O||null===(j=O.card)||void 0===j||null===(L=j.headerTraits)||void 0===L?void 0:L.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:null===e||void 0===e?void 0:e.value},null===e||void 0===e?void 0:e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number(null===t||void 0===t?void 0:t.amount),isSmall:!0,token:null===t||void 0===t?void 0:t.paymentTokenName})})},name:"amount",sortable:!1,title:"Price"},{customRender:t=>{var n,r,i,o;let{item:a}=t;const s=(null===a||void 0===a||null===(n=a.type)||void 0===n?void 0:n.includes("OFFER"))?"object"===typeof(null===a||void 0===a||null===(r=a.data)||void 0===r?void 0:r.taker)?"-":null===a||void 0===a||null===(i=a.data)||void 0===i?void 0:i.taker:null===a||void 0===a||null===(o=a.data)||void 0===o?void 0:o.storefrontAddress;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(s))},className:"seller flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(s),children:s||"--"})})},name:"seller",sortable:!1,title:"Seller"},{customRender:t=>{var n,r,i;let{item:o}=t;const a=(null===o||void 0===o||null===(n=o.type)||void 0===n?void 0:n.includes("OFFER"))?null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.storefrontAddress:null===o||void 0===o||null===(i=o.data)||void 0===i?void 0:i.buyer;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(a))},className:"buyer flex flex-row justify-start items-center hover:text-green-200",children:(0,ms.jsx)("a",{href:"/user/".concat(a),children:a||"--"})})},name:"buyer",sortable:!1,title:"Buyer"}],Tk=()=>{const[e,t]=(0,sa.useState)(1),n=(0,Os.Zp)(),[r,i]=(0,sa.useState)([]),[o,a]=(0,sa.useState)({min:"",path:""}),[s,l]=(0,sa.useState)(!1),[c,u]=(0,sa.useState)(!0),[d,h]=(0,sa.useState)({column:"blockTimestamp",order:Ws.Descending});(0,sa.useEffect)((()=>{t(1)}),[d,o]);(0,sa.useEffect)((()=>pl({addressPath:"data.storefrontAddress",eventCollection:"storefrontEvents",filterActivityBy:o,limit:ss.cb*e,listingCollection:"storefrontEvents",makerCb:e=>(e=>{i(e)})(e),sort:d})),[e,o,d]);const p=(0,sa.useMemo)((()=>r.map((e=>e))),[r]),f=wl({isLoading:!1,onInfiniteScroll(){setTimeout((()=>{l(!1)}),2e3),e*ss.cb===p.length&&(t(e+1),l(!0)),ds.o.track("Inifinite Scroll Global Rentals Page")}},[e,p]);(0,sa.useEffect)((()=>{ds.o.track("Global Storefront Page Visited")}),[]),(0,sa.useEffect)((()=>{o.path&&ds.o.track("Global Storefront Page Filtered",{filter:o})}),[o.path]);const m=[{label:"All",value:""},{label:"Purchased",value:us.IEventType.StorefrontPurchased.valueOf()},{label:"Listed",value:us.IEventType.StorefrontListed.valueOf()},{label:"Delisted",value:us.IEventType.StorefrontDelisted.valueOf()},{label:"Offer Created",value:us.IEventType.StorefrontOfferCreated.valueOf()},{label:"Offer Accepted",value:us.IEventType.StorefrontOfferAccepted.valueOf()},{label:"Offer Cancelled",value:us.IEventType.StorefrontOfferCancelled.valueOf()}],[g,v]=(0,sa.useState)(m[0].value);return(0,ms.jsx)(uv,{children:(0,ms.jsxs)("div",{children:[(0,ms.jsx)(_A,{showFilter:c,setShowFilter:u,filterBy:o,setFilterBy:a}),(0,ms.jsx)("div",{className:"flex mb-[20px]",children:(0,ms.jsx)(Bs.DG,{fields:m,selectedField:g,updateSelectedField:e=>{v(e),a({max:"",min:e,path:"state"})}})}),(0,ms.jsx)("div",{className:"line-separator mb-3 md:mb-4 bg-gradient-to-r from-darkBg via-secondary to-darkBg"}),(0,ms.jsx)($s,{onClickRow:e=>{let{e:t,item:r}=e;const i=t;let o,a;var s,l,c,u,d;r.type.toLowerCase().includes("offer")?(o=null===(s=r.data)||void 0===s?void 0:s.storefrontAddress,a="object"===typeof(null===r||void 0===r||null===(l=r.data)||void 0===l?void 0:l.taker)?"-":null===r||void 0===r||null===(c=r.data)||void 0===c?void 0:c.taker):(o=null===(u=r.data)||void 0===u?void 0:u.buyer,a=null===(d=r.data)||void 0===d?void 0:d.storefrontAddress);if("buyer"===i.target.classList[0]){if(o)return n("/user/".concat(o))}else{if("seller"!==i.target.classList[0]){var h,p,f,m,g,v,C,y,b,w,x,A,E,_;const e=(null===(h=r.data)||void 0===h?void 0:h.nftID)||(null===r||void 0===r||null===(p=r.data)||void 0===p||null===(f=p.typeAndIDOffer)||void 0===f?void 0:f.nftID)||null;if(!e)return;if(null===r||void 0===r||null===(m=r.additionalData)||void 0===m||null===(g=m.card)||void 0===g||!g.collectionAddress||null===r||void 0===r||null===(v=r.additionalData)||void 0===v||null===(C=v.card)||void 0===C||!C.collectionName)return;const t=(null===(y=r.data)||void 0===y?void 0:y.nftType)||(null===r||void 0===r||null===(b=r.data)||void 0===b||null===(w=b.typeAndIDOffer)||void 0===w?void 0:w.nftType)||"",i=(0,us.nftTypeAndIdToLocationData)(t,e.toString()),o=e?"/asset/".concat(i.contract.address,"/").concat(i.contract.name,"/").concat(i.resourceName,"/").concat(i.nftID):"/collection/".concat(null===r||void 0===r||null===(x=r.additionalData)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.collectionAddress,"/").concat(null===r||void 0===r||null===(E=r.additionalData)||void 0===E||null===(_=E.card)||void 0===_?void 0:_.collectionName);return n(o)}if(a)return n("/user/".concat(a))}},fields:_k(n),items:p,onSort:h,initialSortConfig:d,stickyHeaders:!0,composeRowHref:e=>{var t,n,r,i,o,a,s,l,c,u;const d=(null===(t=e.data)||void 0===t?void 0:t.nftID)||(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftID)||"",h=(null===(i=e.data)||void 0===i?void 0:i.nftType)||(null===e||void 0===e||null===(o=e.data)||void 0===o||null===(a=o.typeAndIDOffer)||void 0===a?void 0:a.nftType)||"",p=h&&d?(0,us.nftTypeAndIdToLocationData)(h,d):null;return p?"/asset/".concat(p.contract.address,"/").concat(p.contract.name,"/").concat(p.resourceName,"/").concat(p.nftID):"/collection/".concat(null===e||void 0===e||null===(s=e.additionalData)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress,"/").concat(null===e||void 0===e||null===(c=e.additionalData)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)}}),(0,ms.jsx)("div",{ref:f,children:s?(0,ms.jsx)("div",{className:"h-10 w-full flex justify-center items-center",children:(0,ms.jsxs)("h2",{className:"justify-center items-center flex flex-row animate-pulse",children:[(0,ms.jsx)(Wl,{}),"Loading..."]})}):e*ss.cb===p.length&&(0,ms.jsx)(xl,{})})]})})};var Sk=__webpack_require__(58706);function kk(){return kk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kk.apply(null,arguments)}function Pk(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Dk=__webpack_require__(55152),Nk=__webpack_require__(30414),Fk=__webpack_require__(2474),Ik=__webpack_require__(48926),Rk=__webpack_require__(95309),Mk=__webpack_require__(72715),Ok=__webpack_require__(24586),jk=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},Lk=["onKeyDown","onKeyPress","onKeyUp"],Bk=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],Uk=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],Vk=jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk(jk([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),Lk,!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),Bk,!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),Uk,!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function Hk(e,t){var n={};return Vk.forEach((function(r){var i=e[r];i&&(n[r]=t?function(e){return i(e,t(r))}:i)})),n}function zk(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return!t&&n(e)})).catch((function(e){return!t&&r(e)}))})),cancel:function(){t=!0}}}function Zk(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Zk(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const Wk=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Zk(e))&&(r&&(r+=" "),r+=t);return r};var qk=!0,Gk="Invariant failed";function Yk(e,t){if(!e){if(qk)throw new Error(Gk);var n="function"===typeof t?t():t,r=n?"".concat(Gk,": ").concat(n):Gk;throw new Error(r)}}var Kk=__webpack_require__(77623);const Qk=(0,sa.createContext)(null);function Xk(e){var t=e.children,n=e.type;return sa.createElement("div",{className:"react-pdf__message react-pdf__message--".concat(n)},t)}Xk.propTypes={children:ha().node,type:ha().oneOf(["error","loading","no-data"]).isRequired};var Jk=function(){function e(){(0,Dk.A)(this,e),this.externalLinkTarget=null,this.externalLinkRel=null}return(0,Nk.A)(e,[{key:"setDocument",value:function(e){this.pdfDocument=e}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setExternalLinkRel",value:function(e){this.externalLinkRel=e}},{key:"setExternalLinkTarget",value:function(e){this.externalLinkTarget=e}},{key:"setHistory",value:function(){}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return 0},set:function(e){}},{key:"goToDestination",value:function(e){var t=this;new Promise((function(n){"string"===typeof e?t.pdfDocument.getDestination(e).then(n):Array.isArray(e)?n(e):e.then(n)})).then((function(n){Yk(Array.isArray(n),'"'.concat(n,'" is not a valid destination array.'));var r=n[0];new Promise((function(e){r instanceof Object?t.pdfDocument.getPageIndex(r).then((function(t){e(t)})).catch((function(){Yk(!1,'"'.concat(r,'" is not a valid page reference.'))})):"number"===typeof r?e(r):Yk(!1,'"'.concat(r,'" is not a valid destination reference.'))})).then((function(n){var r=n+1;Yk(r>=1&&r<=t.pagesCount,'"'.concat(r,'" is not a valid page number.')),t.pdfViewer.scrollPageIntoView({dest:e,pageIndex:n,pageNumber:r})}))}))}},{key:"navigateTo",value:function(e){this.goToDestination(e)}},{key:"goToPage",value:function(){}},{key:"addLinkAttributes",value:function(e,t,n){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=n?"_blank":this.externalLinkTarget||""}},{key:"getDestinationHash",value:function(){return"#"}},{key:"getAnchorUrl",value:function(){return"#"}},{key:"setHash",value:function(){}},{key:"executeNamedAction",value:function(){}},{key:"cachePageRef",value:function(){}},{key:"isPageVisible",value:function(){return!0}},{key:"isPageCached",value:function(){return!0}}]),e}();const $k={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var eP=__webpack_require__(27985);function tP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||(0,eP.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nP="undefined"!==typeof document,rP=nP&&"file:"===window.location.protocol;function iP(e){return"undefined"!==typeof e}function oP(e){return iP(e)&&null!==e}function aP(e){return"string"===typeof e&&/^data:/.test(e)}function sP(e){Yk(aP(e),"Invalid data URI.");var t=tP(e.split(","),2),n=t[0],r=t[1];return-1!==n.split(";").indexOf("base64")?atob(r):unescape(r)}var lP="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function cP(){(0,Kk.A)(!rP,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ".concat(lP))}function uP(e){e&&e.cancel&&e.cancel()}function dP(e,t){return Object.defineProperty(e,"width",{get:function(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get:function(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get:function(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get:function(){return this.view[3]},configurable:!0}),e}function hP(e){return"RenderingCancelledException"===e.name}var pP=__webpack_require__(86284);function fP(e){return function(e){if(Array.isArray(e))return(0,pP.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,eP.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var mP=function(){var e={};return[].concat(fP(Bk),fP(Uk),fP(Lk)).forEach((function(t){e[t]=ha().func})),e}(),gP=[ha().string,ha().instanceOf(ArrayBuffer),ha().shape({data:ha().oneOfType([ha().object,ha().string]),httpHeaders:ha().object,range:ha().object,url:ha().string,withCredentials:ha().bool})];"undefined"!==typeof File&&gP.push(ha().instanceOf(File)),"undefined"!==typeof Blob&&gP.push(ha().instanceOf(Blob));var vP=ha().oneOfType([ha().string,ha().arrayOf(ha().string)]),CP=ha().oneOfType(gP),yP=ha().instanceOf(Jk),bP=(ha().oneOf(["_self","_blank","_parent","_top"]),ha().shape({commonObjs:ha().shape({}).isRequired,getAnnotations:ha().func.isRequired,getTextContent:ha().func.isRequired,getViewport:ha().func.isRequired,render:ha().func.isRequired})),wP=ha().oneOfType([ha().shape({getDestination:ha().func.isRequired,getOutline:ha().func.isRequired,getPage:ha().func.isRequired,numPages:ha().number.isRequired}),ha().bool]),xP=ha().oneOfType([ha().func,ha().shape({current:ha().any})]),AP=ha().oneOf(["canvas","none","svg"]),EP=ha().oneOf([0,90,180,270]),_P=["url"];function TP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TP(Object(n),!0).forEach((function(t){(0,Ok.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}var PP=Sk.PDFDataRangeTransport,DP=function(e){(0,Ik.A)(n,e);var t=kP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{pdf:null}),(0,Ok.A)((0,Fk.A)(e),"viewer",{scrollPageIntoView:function(t){var n=t.dest,r=t.pageIndex,i=t.pageNumber,o=e.props.onItemClick;if(o)o({dest:n,pageIndex:r,pageNumber:i});else{var a=e.pages[r];a?a.scrollIntoView():(0,Kk.A)(!1,"An internal link leading to page ".concat(i," was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}}}),(0,Ok.A)((0,Fk.A)(e),"linkService",new Jk),(0,Ok.A)((0,Fk.A)(e),"loadDocument",(function(){uP(e.runningTask),e.loadingTask&&e.loadingTask.destroy();var t=zk(e.findDocumentSource());e.runningTask=t,t.promise.then((function(t){if(e.onSourceSuccess(),t){e.setState((function(e){return e.pdf?{pdf:null}:null}));var n=e.props,r=n.options,i=n.onLoadProgress,o=n.onPassword,a=Sk.getDocument(SP(SP({},t),r));a.onPassword=o,i&&(a.onProgress=i),e.loadingTask=a,a.promise.then((function(t){e.setState((function(e){return e.pdf&&e.pdf.fingerprint===t.fingerprint?null:{pdf:t}}),e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})).catch((function(t){e.onSourceError(t)}))})),(0,Ok.A)((0,Fk.A)(e),"setupLinkService",(function(){var t=e.props,n=t.externalLinkRel,r=t.externalLinkTarget;e.linkService.setViewer(e.viewer),e.linkService.setExternalLinkRel(n),e.linkService.setExternalLinkTarget(r)})),(0,Ok.A)((0,Fk.A)(e),"onSourceSuccess",(function(){var t=e.props.onSourceSuccess;t&&t()})),(0,Ok.A)((0,Fk.A)(e),"onSourceError",(function(t){(0,Kk.A)(t);var n=e.props.onSourceError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,n=e.state.pdf;t&&t(n),e.pages=new Array(n.numPages),e.linkService.setDocument(n)})),(0,Ok.A)((0,Fk.A)(e),"onLoadError",(function(t){e.setState({pdf:!1}),(0,Kk.A)(t);var n=e.props.onLoadError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"findDocumentSource",(function(){return new Promise((function(t){var n=e.props.file;if(n||t(null),"string"===typeof n){if(aP(n)){var r=sP(n);t({data:r})}cP(),t({url:n})}if(n instanceof PP&&t({range:n}),n instanceof ArrayBuffer&&t({data:n}),nP&&(function(e){return Yk(nP,"isBlob can only be used in a browser environment"),e instanceof Blob}(n)||function(e){return Yk(nP,"isFile can only be used in a browser environment"),e instanceof File}(n)))(function(e){return new Promise((function(t,n){var r=new FileReader;return r.onload=function(){return t(new Uint8Array(r.result))},r.onerror=function(e){switch(e.target.error.code){case e.target.error.NOT_FOUND_ERR:return n(new Error("Error while reading a file: File not found."));case e.target.error.NOT_READABLE_ERR:return n(new Error("Error while reading a file: File not readable."));case e.target.error.SECURITY_ERR:return n(new Error("Error while reading a file: Security error."));case e.target.error.ABORT_ERR:return n(new Error("Error while reading a file: Aborted."));default:return n(new Error("Error while reading a file."))}},r.readAsArrayBuffer(e),null}))})(n).then((function(e){t({data:e})}));else{if(Yk("object"===(0,fw.A)(n),"Invalid parameter in file, need either Uint8Array, string or a parameter object"),Yk(n.url||n.data||n.range,"Invalid parameter object: need either .data, .range or .url"),"string"===typeof n.url){if(aP(n.url)){var i=n.url,o=Pk(n,_P),a=sP(i);t(SP({data:a},o))}cP()}t(n)}}))})),(0,Ok.A)((0,Fk.A)(e),"registerPage",(function(t,n){e.pages[t]=n})),(0,Ok.A)((0,Fk.A)(e),"unregisterPage",(function(t){delete e.pages[t]})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){this.loadDocument(),this.setupLinkService()}},{key:"componentDidUpdate",value:function(e){this.props.file!==e.file&&this.loadDocument()}},{key:"componentWillUnmount",value:function(){uP(this.runningTask),this.loadingTask&&this.loadingTask.destroy()}},{key:"childContext",get:function(){var e=this.linkService,t=this.registerPage,n=this.unregisterPage,r=this.props,i=r.imageResourcesPath,o=r.renderMode,a=r.rotate;return{imageResourcesPath:i,linkService:e,pdf:this.state.pdf,registerPage:t,renderMode:o,rotate:a,unregisterPage:n}}},{key:"eventProps",get:function(){var e=this;return Hk(this.props,(function(){return e.state.pdf}))}},{key:"renderChildren",value:function(){var e=this.props.children;return sa.createElement(Qk.Provider,{value:this.childContext},e)}},{key:"renderContent",value:function(){var e=this.props.file,t=this.state.pdf;if(!e){var n=this.props.noData;return sa.createElement(Xk,{type:"no-data"},"function"===typeof n?n():n)}if(null===t){var r=this.props.loading;return sa.createElement(Xk,{type:"loading"},"function"===typeof r?r():r)}if(!1===t){var i=this.props.error;return sa.createElement(Xk,{type:"error"},"function"===typeof i?i():i)}return this.renderChildren()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.inputRef;return sa.createElement("div",kk({className:Wk("react-pdf__Document",t),ref:n},this.eventProps),this.renderContent())}}]),n}(sa.PureComponent);DP.defaultProps={error:"Failed to load PDF file.",loading:"Loading PDF\u2026",noData:"No PDF file specified.",onPassword:function(e,t){switch(t){case $k.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case $k.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}}};var NP=ha().oneOfType([ha().func,ha().node]);DP.propTypes=SP(SP({},mP),{},{children:ha().node,className:vP,error:NP,externalLinkRel:ha().string,externalLinkTarget:ha().string,file:CP,imageResourcesPath:ha().string,inputRef:xP,loading:NP,noData:NP,onItemClick:ha().func,onLoadError:ha().func,onLoadProgress:ha().func,onLoadSuccess:ha().func,onPassword:ha().func,onSourceError:ha().func,onSourceSuccess:ha().func,rotate:ha().number});const FP=(0,sa.createContext)(null);var IP=function(){function e(t){var n=t.num,r=t.gen;(0,Dk.A)(this,e),this.num=n,this.gen=r}return(0,Nk.A)(e,[{key:"toString",value:function(){var e="".concat(this.num,"R");return 0!==this.gen&&(e+=this.gen),e}}]),e}(),RP=["item"];function MP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}var OP=function(e){(0,Ik.A)(n,e);var t=MP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"getDestination",(function(){return new Promise((function(t,n){if(iP(e.destination))t(e.destination);else{var r=e.props,i=r.item,o=r.pdf;"string"===typeof i.dest?o.getDestination(i.dest).then(t).catch(n):t(i.dest)}})).then((function(t){return e.destination=t,t}))})),(0,Ok.A)((0,Fk.A)(e),"getPageIndex",(function(){return new Promise((function(t,n){var r=e.props.pdf;iP(e.pageIndex)?t(e.pageIndex):e.getDestination().then((function(e){if(e){var i=tP(e,1)[0];r.getPageIndex(new IP(i)).then(t).catch(n)}}))})).then((function(t){return e.pageIndex=t,e.pageIndex}))})),(0,Ok.A)((0,Fk.A)(e),"getPageNumber",(function(){return new Promise((function(t,n){iP(e.pageNumber)?t(e.pageNumber):e.getPageIndex().then((function(e){t(e+1)})).catch(n)})).then((function(t){return e.pageNumber=t,t}))})),(0,Ok.A)((0,Fk.A)(e),"onClick",(function(t){var n=e.props.onClick;return t.preventDefault(),!!n&&Promise.all([e.getDestination(),e.getPageIndex(),e.getPageNumber()]).then((function(e){var t=tP(e,3),r=t[0],i=t[1],o=t[2];n({dest:r,pageIndex:i,pageNumber:o})}))})),e}return(0,Nk.A)(n,[{key:"renderSubitems",value:function(){var e=this.props,t=e.item,r=Pk(e,RP);if(!t.items||!t.items.length)return null;var i=t.items;return sa.createElement("ul",null,i.map((function(e,t){return sa.createElement(n,kk({key:"string"===typeof e.destination?e.destination:t,item:e},r))})))}},{key:"render",value:function(){var e=this.props.item;return sa.createElement("li",null,sa.createElement("a",{href:"#",onClick:this.onClick},e.title),this.renderSubitems())}}]),n}(sa.PureComponent),jP=ha().oneOfType([ha().string,ha().arrayOf(ha().any)]);OP.propTypes={item:ha().shape({dest:jP,items:ha().arrayOf(ha().shape({dest:jP,title:ha().string})),title:ha().string}).isRequired,onClick:ha().func,pdf:wP.isRequired};const LP=function(e){return sa.createElement(Qk.Consumer,null,(function(t){return sa.createElement(FP.Consumer,null,(function(n){return sa.createElement(OP,kk({},t,n,e))}))}))};function BP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}var VP=function(e){(0,Ik.A)(n,e);var t=UP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{outline:null}),(0,Ok.A)((0,Fk.A)(e),"loadOutline",(function(){var t=e.props.pdf;e.setState((function(e){return e.outline?{outline:null}:null}));var n=zk(t.getOutline());e.runningTask=n,n.promise.then((function(t){e.setState({outline:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,Ok.A)((0,Fk.A)(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,n=e.state.outline;t&&t(n)})),(0,Ok.A)((0,Fk.A)(e),"onLoadError",(function(t){e.setState({outline:!1}),(0,Kk.A)(t);var n=e.props.onLoadError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"onItemClick",(function(t){var n=t.dest,r=t.pageIndex,i=t.pageNumber,o=e.props.onItemClick;o&&o({dest:n,pageIndex:r,pageNumber:i})})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){Yk(this.props.pdf,"Attempted to load an outline, but no document was specified."),this.loadOutline()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;e.pdf&&t!==e.pdf&&this.loadOutline()}},{key:"componentWillUnmount",value:function(){uP(this.runningTask)}},{key:"childContext",get:function(){return{onClick:this.onItemClick}}},{key:"eventProps",get:function(){var e=this;return Hk(this.props,(function(){return e.state.outline}))}},{key:"renderOutline",value:function(){var e=this.state.outline;return sa.createElement("ul",null,e.map((function(e,t){return sa.createElement(LP,{key:"string"===typeof e.destination?e.destination:t,item:e})})))}},{key:"render",value:function(){var e=this.props.pdf,t=this.state.outline;if(!e||!t)return null;var n=this.props,r=n.className,i=n.inputRef;return sa.createElement("div",kk({className:Wk("react-pdf__Outline",r),ref:i},this.eventProps),sa.createElement(FP.Provider,{value:this.childContext},this.renderOutline()))}}]),n}(sa.PureComponent);VP.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BP(Object(n),!0).forEach((function(t){(0,Ok.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:vP,inputRef:xP,onItemClick:ha().func,onLoadError:ha().func,onLoadSuccess:ha().func,pdf:wP},mP);function HP(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);return n.length<=1?n[0]||null:function(e){n.forEach((function(t){"function"===typeof t?t(e):t&&(t.current=e)}))}}const zP=(0,sa.createContext)(null);function ZP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}var WP=Sk.AnnotationMode,qP=function(e){(0,Ik.A)(n,e);var t=ZP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"canvasElement",(0,sa.createRef)()),(0,Ok.A)((0,Fk.A)(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,n=t.onRenderSuccess,r=t.page,i=t.scale;n&&n(dP(r,i))})),(0,Ok.A)((0,Fk.A)(e),"onRenderError",(function(t){if(!hP(t)){(0,Kk.A)(t);var n=e.props.onRenderError;n&&n(t)}})),(0,Ok.A)((0,Fk.A)(e),"drawPageOnCanvas",(function(){var t=e.canvasElement.current;if(!t)return null;var n=(0,Fk.A)(e),r=n.renderViewport,i=n.viewport,o=e.props,a=o.canvasBackground,s=o.page,l=o.renderForms;t.width=r.width,t.height=r.height,t.style.width="".concat(Math.floor(i.width),"px"),t.style.height="".concat(Math.floor(i.height),"px");var c={annotationMode:l?WP.ENABLE_FORMS:WP.ENABLE,get canvasContext(){return t.getContext("2d",{alpha:!1})},viewport:r};a&&(c.background=a),e.cancelRenderingTask();var u=s.render(c);return e.renderer=u,u.promise.then(e.onRenderSuccess).catch(e.onRenderError)})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){this.drawPageOnCanvas()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.canvasBackground,r=t.devicePixelRatio,i=t.page,o=t.renderForms;n===e.canvasBackground&&r===e.devicePixelRatio&&o===e.renderForms||(i.cleanup(),this.drawPageOnCanvas())}},{key:"componentWillUnmount",value:function(){this.cancelRenderingTask();var e=this.canvasElement.current;e&&(e.width=0,e.height=0)}},{key:"cancelRenderingTask",value:function(){this.renderer&&(this.renderer.cancel(),this.renderer=null)}},{key:"devicePixelRatio",get:function(){return this.props.devicePixelRatio||nP&&window.devicePixelRatio||1}},{key:"renderViewport",get:function(){var e=this.devicePixelRatio,t=this.props,n=t.page,r=t.rotate,i=t.scale;return n.getViewport({scale:i*e,rotation:r})}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"render",value:function(){var e=this.props.canvasRef;return sa.createElement("canvas",{className:"react-pdf__Page__canvas",dir:"ltr",ref:HP(e,this.canvasElement),style:{display:"block",userSelect:"none"}})}}]),n}(sa.PureComponent);function GP(e){return sa.createElement(zP.Consumer,null,(function(t){return sa.createElement(qP,kk({},t,e))}))}function YP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}qP.propTypes={canvasBackground:ha().string,canvasRef:xP,devicePixelRatio:ha().number,onRenderError:ha().func,onRenderSuccess:ha().func,page:bP.isRequired,renderForms:ha().bool,rotate:EP,scale:ha().number.isRequired};var KP=function(e){(0,Ik.A)(n,e);var t=YP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{svg:null}),(0,Ok.A)((0,Fk.A)(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,n=t.onRenderSuccess,r=t.page,i=t.scale;n&&n(dP(r,i))})),(0,Ok.A)((0,Fk.A)(e),"onRenderError",(function(t){if(!hP(t)){(0,Kk.A)(t);var n=e.props.onRenderError;n&&n(t)}})),(0,Ok.A)((0,Fk.A)(e),"renderSVG",(function(){var t=e.props.page;return e.renderer=t.getOperatorList(),e.renderer.then((function(n){var r=new Sk.SVGGraphics(t.commonObjs,t.objs);e.renderer=r.getSVG(n,e.viewport).then((function(t){e.setState({svg:t},e.onRenderSuccess)})).catch(e.onRenderError)})).catch(e.onRenderError)})),(0,Ok.A)((0,Fk.A)(e),"drawPageOnContainer",(function(t){var n=e.state.svg;if(t&&n){t.firstElementChild||t.appendChild(n);var r=e.viewport,i=r.width,o=r.height;n.setAttribute("width",i),n.setAttribute("height",o)}})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){this.renderSVG()}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"render",value:function(){var e=this,t=this.viewport,n=t.width,r=t.height;return sa.createElement("div",{className:"react-pdf__Page__svg",ref:function(t){return e.drawPageOnContainer(t)},style:{display:"block",backgroundColor:"white",overflow:"hidden",width:n,height:r,userSelect:"none"}})}}]),n}(sa.PureComponent);function QP(e){return sa.createElement(zP.Consumer,null,(function(t){return sa.createElement(KP,kk({},t,e))}))}function XP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function JP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}KP.propTypes={onRenderError:ha().func,onRenderSuccess:ha().func,page:bP.isRequired,rotate:EP,scale:ha().number.isRequired};var $P=function(e){(0,Ik.A)(n,e);var t=JP(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{textContent:null}),(0,Ok.A)((0,Fk.A)(e),"layerElement",(0,sa.createRef)()),(0,Ok.A)((0,Fk.A)(e),"endElement",(0,sa.createRef)()),(0,Ok.A)((0,Fk.A)(e),"loadTextContent",(function(){var t=zk(e.props.page.getTextContent());e.runningTask=t,t.promise.then((function(t){e.setState({textContent:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,Ok.A)((0,Fk.A)(e),"onLoadSuccess",(function(){var t=e.props.onGetTextSuccess,n=e.state.textContent;t&&t(n)})),(0,Ok.A)((0,Fk.A)(e),"onLoadError",(function(t){e.setState({textItems:!1}),(0,Kk.A)(t);var n=e.props.onGetTextError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"onRenderSuccess",(function(){var t=e.props.onRenderTextLayerSuccess;t&&t()})),(0,Ok.A)((0,Fk.A)(e),"onRenderError",(function(t){(0,Kk.A)(t);var n=e.props.onRenderTextLayerError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"onMouseDown",(function(){var t=e.endElement.current;t&&t.classList.add("active")})),(0,Ok.A)((0,Fk.A)(e),"onMouseUp",(function(){var t=e.endElement.current;t&&t.classList.remove("active")})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){Yk(this.props.page,"Attempted to load page text content, but no page was specified."),(0,Kk.A)(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),this.loadTextContent()}},{key:"componentDidUpdate",value:function(e){var t=this.props.page;e.page&&t!==e.page&&this.loadTextContent()}},{key:"componentWillUnmount",value:function(){uP(this.runningTask)}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"unrotatedViewport",get:function(){var e=this.props,t=e.page,n=e.scale;return t.getViewport({scale:n})}},{key:"rotate",get:function(){var e=this.props,t=e.page;return e.rotate-t.rotate}},{key:"renderTextLayer",value:function(){var e=this,t=this.state.textContent;if(!t)return null;var n=this.layerElement.current,r=this.viewport,i=this.props,o=i.customTextRenderer,a=i.pageIndex,s=i.pageNumber;uP(this.runningTask),n.innerHTML="";var l={container:n,textContent:t,viewport:r},c=Sk.renderTextLayer(l);this.runningTask=c,c.promise.then((function(){var r=document.createElement("div");if(r.className="endOfContent",n.append(r),e.endElement.current=r,o){var i=0;t.items.forEach((function(t,n){var r=e.layerElement.current.children[i],l=o(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XP(Object(n),!0).forEach((function(t){(0,Ok.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({pageIndex:a,pageNumber:s,itemIndex:n},t));r.innerHTML=l,i+=t.str&&t.hasEOL?2:1}))}e.onRenderSuccess()})).catch((function(t){e.onRenderError(t)}))}},{key:"render",value:function(){return sa.createElement("div",{className:"react-pdf__Page__textContent textLayer",onMouseUp:this.onMouseUp,onMouseDown:this.onMouseDown,ref:this.layerElement},this.renderTextLayer())}}]),n}(sa.PureComponent);function eD(e){return sa.createElement(zP.Consumer,null,(function(t){return sa.createElement($P,kk({},t,e))}))}function tD(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}$P.propTypes={customTextRenderer:ha().func,onGetTextError:ha().func,onGetTextSuccess:ha().func,onRenderTextLayerError:ha().func,onRenderTextLayerSuccess:ha().func,page:bP.isRequired,pageIndex:ha().number.isRequired,pageNumber:ha().number.isRequired,rotate:EP,scale:ha().number};var nD=function(e){(0,Ik.A)(n,e);var t=tD(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{annotations:null}),(0,Ok.A)((0,Fk.A)(e),"layerElement",(0,sa.createRef)()),(0,Ok.A)((0,Fk.A)(e),"loadAnnotations",(function(){var t=zk(e.props.page.getAnnotations());e.runningTask=t,t.promise.then((function(t){e.setState({annotations:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,Ok.A)((0,Fk.A)(e),"onLoadSuccess",(function(){var t=e.props.onGetAnnotationsSuccess,n=e.state.annotations;t&&t(n)})),(0,Ok.A)((0,Fk.A)(e),"onLoadError",(function(t){e.setState({annotations:!1}),(0,Kk.A)(t);var n=e.props.onGetAnnotationsError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"onRenderSuccess",(function(){var t=e.props.onRenderAnnotationLayerSuccess;t&&t()})),(0,Ok.A)((0,Fk.A)(e),"onRenderError",(function(t){(0,Kk.A)(t);var n=e.props.onRenderAnnotationLayerError;n&&n(t)})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){Yk(this.props.page,"Attempted to load page annotations, but no page was specified."),(0,Kk.A)(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),this.loadAnnotations()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.page,r=t.renderForms;(e.page&&n!==e.page||r!==e.renderForms)&&this.loadAnnotations()}},{key:"componentWillUnmount",value:function(){uP(this.runningTask)}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"renderAnnotationLayer",value:function(){var e=this.state.annotations;if(e){var t=this.props,n=t.imageResourcesPath,r=t.linkService,i=t.page,o=t.renderForms,a=this.viewport.clone({dontFlip:!0}),s={annotations:e,div:this.layerElement.current,imageResourcesPath:n,linkService:r,page:i,renderForms:o,viewport:a};this.layerElement.current.innerHTML="";try{Sk.AnnotationLayer.render(s),this.onRenderSuccess()}catch(l){this.onRenderError(l)}}}},{key:"render",value:function(){return sa.createElement("div",{className:"react-pdf__Page__annotations annotationLayer",ref:this.layerElement},this.renderAnnotationLayer())}}]),n}(sa.PureComponent);nD.propTypes={imageResourcesPath:ha().string,linkService:yP.isRequired,onGetAnnotationsError:ha().func,onGetAnnotationsSuccess:ha().func,onRenderAnnotationLayerError:ha().func,onRenderAnnotationLayerSuccess:ha().func,page:bP,renderForms:ha().bool,rotate:EP,scale:ha().number};const rD=function(e){return sa.createElement(Qk.Consumer,null,(function(t){return sa.createElement(zP.Consumer,null,(function(n){return sa.createElement(nD,kk({},t,n,e))}))}))};function iD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iD(Object(n),!0).forEach((function(t){(0,Ok.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aD(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Mk.A)(e);if(t){var i=(0,Mk.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Rk.A)(this,n)}}var sD=function(e){(0,Ik.A)(n,e);var t=aD(n);function n(){var e;(0,Dk.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,Ok.A)((0,Fk.A)(e),"state",{page:null}),(0,Ok.A)((0,Fk.A)(e),"pageElement",(0,sa.createRef)()),(0,Ok.A)((0,Fk.A)(e),"onLoadSuccess",(function(){var t=e.props,n=t.onLoadSuccess,r=t.registerPage,i=e.state.page;n&&n(dP(i,e.scale)),r&&r(e.pageIndex,e.pageElement.current)})),(0,Ok.A)((0,Fk.A)(e),"onLoadError",(function(t){e.setState({page:!1}),(0,Kk.A)(t);var n=e.props.onLoadError;n&&n(t)})),(0,Ok.A)((0,Fk.A)(e),"loadPage",(function(){var t=e.props.pdf,n=e.getPageNumber();if(n){e.setState((function(e){return e.page?{page:null}:null}));var r=zk(t.getPage(n));e.runningTask=r,r.promise.then((function(t){e.setState({page:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})),e}return(0,Nk.A)(n,[{key:"componentDidMount",value:function(){Yk(this.props.pdf,"Attempted to load a page, but no document was specified."),this.loadPage()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;if(e.pdf&&t!==e.pdf||this.getPageNumber()!==this.getPageNumber(e)){var n=this.props.unregisterPage;n&&n(this.getPageIndex(e)),this.loadPage()}}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterPage;e&&e(this.pageIndex),uP(this.runningTask)}},{key:"childContext",get:function(){var e=this.pageIndex,t=this.pageNumber,n=this.state.page;if(!n)return{};var r=this.props,i=r.canvasBackground,o=r.customTextRenderer,a=r.devicePixelRatio,s=r.onGetAnnotationsError,l=r.onGetAnnotationsSuccess,c=r.onGetTextError,u=r.onGetTextSuccess,d=r.onRenderAnnotationLayerError,h=r.onRenderAnnotationLayerSuccess,p=r.onRenderError,f=r.onRenderSuccess,m=r.onRenderTextLayerError,g=r.onRenderTextLayerSuccess,v=r.renderForms,C=r.renderInteractiveForms;return{canvasBackground:i,customTextRenderer:o,devicePixelRatio:a,onGetAnnotationsError:s,onGetAnnotationsSuccess:l,onGetTextError:c,onGetTextSuccess:u,onRenderAnnotationLayerError:d,onRenderAnnotationLayerSuccess:h,onRenderError:p,onRenderSuccess:f,onRenderTextLayerError:m,onRenderTextLayerSuccess:g,page:n,pageIndex:e,pageNumber:t,renderForms:null!==v&&void 0!==v?v:C,rotate:this.rotate,scale:this.scale}}},{key:"getPageIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return oP(e.pageNumber)?e.pageNumber-1:oP(e.pageIndex)?e.pageIndex:null}},{key:"getPageNumber",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return oP(e.pageNumber)?e.pageNumber:oP(e.pageIndex)?e.pageIndex+1:null}},{key:"pageIndex",get:function(){return this.getPageIndex()}},{key:"pageNumber",get:function(){return this.getPageNumber()}},{key:"rotate",get:function(){var e=this.props.rotate;if(oP(e))return e;var t=this.state.page;return t?t.rotate:null}},{key:"scale",get:function(){var e=this.state.page;if(!e)return null;var t=this.props,n=t.scale,r=t.width,i=t.height,o=this.rotate,a=1,s=null===n?1:n;if(r||i){var l=e.getViewport({scale:1,rotation:o});a=r?r/l.width:i/l.height}return s*a}},{key:"eventProps",get:function(){var e=this;return Hk(this.props,(function(){var t=e.state.page;return t?dP(t,e.scale):t}))}},{key:"pageKey",get:function(){return"".concat(this.pageIndex,"@").concat(this.scale,"/").concat(this.rotate)}},{key:"pageKeyNoScale",get:function(){return"".concat(this.pageIndex,"/").concat(this.rotate)}},{key:"renderMainLayer",value:function(){var e=this.props,t=e.canvasRef;switch(e.renderMode){case"none":return null;case"svg":return sa.createElement(QP,{key:"".concat(this.pageKeyNoScale,"_svg")});default:return sa.createElement(GP,{key:"".concat(this.pageKey,"_canvas"),canvasRef:t})}}},{key:"renderTextLayer",value:function(){var e=this.props.renderTextLayer;return e?sa.createElement(eD,{key:"".concat(this.pageKey,"_text")}):null}},{key:"renderAnnotationLayer",value:function(){var e=this.props.renderAnnotationLayer;return e?sa.createElement(rD,{key:"".concat(this.pageKey,"_annotations")}):null}},{key:"renderChildren",value:function(){var e=this.props.children;return sa.createElement(zP.Provider,{value:this.childContext},this.renderMainLayer(),this.renderTextLayer(),this.renderAnnotationLayer(),e)}},{key:"renderContent",value:function(){var e=this.pageNumber,t=this.props.pdf,n=this.state.page;if(!e){var r=this.props.noData;return sa.createElement(Xk,{type:"no-data"},"function"===typeof r?r():r)}if(null===t||null===n){var i=this.props.loading;return sa.createElement(Xk,{type:"loading"},"function"===typeof i?i():i)}if(!1===t||!1===n){var o=this.props.error;return sa.createElement(Xk,{type:"error"},"function"===typeof o?o():o)}return this.renderChildren()}},{key:"render",value:function(){var e=this.pageNumber,t=this.props,n=t.className,r=t.inputRef;return sa.createElement("div",kk({className:Wk("react-pdf__Page",n),"data-page-number":e,ref:HP(r,this.pageElement),style:{position:"relative",minWidth:"min-content",minHeight:"min-content"}},this.eventProps),this.renderContent())}}]),n}(sa.PureComponent);sD.defaultProps={error:"Failed to load the page.",loading:"Loading page\u2026",noData:"No page specified.",renderAnnotationLayer:!0,renderMode:"canvas",renderTextLayer:!0,scale:1};var lD=ha().oneOfType([ha().func,ha().node]);function cD(e,t){return sa.createElement(Qk.Consumer,null,(function(n){return sa.createElement(sD,kk({ref:t},n,e))}))}sD.propTypes=oD(oD({},mP),{},{canvasBackground:ha().string,children:ha().node,className:vP,customTextRenderer:ha().func,devicePixelRatio:ha().number,error:lD,height:ha().number,imageResourcesPath:ha().string,inputRef:xP,loading:lD,noData:lD,onGetTextError:ha().func,onGetTextSuccess:ha().func,onLoadError:ha().func,onLoadSuccess:ha().func,onRenderError:ha().func,onRenderSuccess:ha().func,onRenderTextLayerError:ha().func,onRenderTextLayerSuccess:ha().func,pageIndex:function(e,t,n){var r=e[t],i=e.pageNumber,o=e.pdf;if(!iP(o))return null;if(iP(r)){if("number"!==typeof r)return new Error("`".concat(t,"` of type `").concat((0,fw.A)(r),"` supplied to `").concat(n,"`, expected `number`."));if(r<0)return new Error("Expected `".concat(t,"` to be greater or equal to 0."));var a=o.numPages;if(r+1>a)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(a-1,"."))}else if(!iP(i))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(n,"`."));return null},pageNumber:function(e,t,n){var r=e[t],i=e.pageIndex,o=e.pdf;if(!iP(o))return null;if(iP(r)){if("number"!==typeof r)return new Error("`".concat(t,"` of type `").concat((0,fw.A)(r),"` supplied to `").concat(n,"`, expected `number`."));if(r<1)return new Error("Expected `".concat(t,"` to be greater or equal to 1."));var a=o.numPages;if(r>a)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(a,"."))}else if(!iP(i))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(n,"`."));return null},pdf:wP,registerPage:ha().func,renderAnnotationLayer:ha().bool,renderForms:ha().bool,renderInteractiveForms:ha().bool,renderMode:AP,renderTextLayer:ha().bool,rotate:EP,scale:ha().number,unregisterPage:ha().func,width:ha().number});const uD=sa.forwardRef(cD);(0,Kk.A)(!rP,"Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ".concat(lP)),Sk.GlobalWorkerOptions.workerSrc="pdf.worker.js";const dD=__webpack_require__.p+"static/media/flowty-service-terms.b3c37f17324057b32691.pdf";Sk.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(Sk.version,"/pdf.worker.js");const hD=()=>{(0,sa.useEffect)((()=>{ds.o.track("Terms Page Visited")}),[]);const[e,t]=(0,sa.useState)(null);return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Terms of Service",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("section",{className:"container",children:(0,ms.jsxs)("div",{className:"mt-5 mb-4 pt-4",children:[(0,ms.jsx)("h1",{className:"pt-3 text-3xl text-center",children:"Terms of Service"}),(0,ms.jsx)("br",{}),(0,ms.jsx)("object",{data:"https://storage.googleapis.com/flowty-docs/flowty-service-terms.pdf",type:"application/pdf",width:"100%",className:"h-[500px] md:h-[800px] hidden md:block",children:(0,ms.jsxs)("p",{children:["Your web browser does not have a PDF plugin. Instead you can",(0,ms.jsx)("a",{href:"https://storage.googleapis.com/flowty-docs/flowty-service-terms.pdf",children:"click here to view the PDF file"})]})}),(0,ms.jsx)("div",{className:"md:hidden",children:(0,ms.jsx)(DP,{file:dD,onLoadSuccess:e=>{let{numPages:n}=e;t(n)},renderMode:"canvas",children:Array.from(Array(e),((e,t)=>(0,ms.jsx)("div",{className:"mb-2 mx-auto text-center justify-center flex",children:(0,ms.jsx)("div",{children:(0,ms.jsx)(uD,{pageNumber:t+1,width:window.innerWidth})})},t)))})})]})})]})},pD=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const{search:n}=(0,Os.zy)(),r=(0,sa.useMemo)((()=>new URLSearchParams(n)),[n]),i=(0,sa.useMemo)((()=>null===r||void 0===r?void 0:r.get("code")),[r]),[o,a]=(0,sa.useState)(!1),s=(0,sa.useMemo)((()=>{var e;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(0,ms.jsx)(ms.Fragment,{}):(0,ms.jsx)("div",{className:"flex flex-1 mt-4 flex-row items-center justify-center w-full",children:(0,ms.jsxs)("p",{className:"text-2xl",children:[" ","Please log-in to finish linking your Twitter account."]})})}),[null===t||void 0===t?void 0:t.loggedUser]);return(0,sa.useEffect)((()=>{var e;null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr&&i&&(async e=>{const t=await(null===hl.j2||void 0===hl.j2||null===(e=hl.j2.currentUser)||void 0===e?void 0:e.getIdToken(!0));if(t){const e=new Headers;e.set("Authorization","".concat(t)),fetch("".concat(ss.Sw,"/twitter?code=").concat(i),{headers:e}).then((()=>{a(!0)}))}})()}),[i,null===t||void 0===t?void 0:t.loggedUser]),i?o?(0,ms.jsx)(Os.C5,{to:"/settings",replace:!0}):(0,ms.jsx)(cv,{children:s}):(0,ms.jsx)(Os.C5,{to:"/",replace:!0})}))),fD=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const{walletAddress:n}=(0,Os.g)(),r=(0,Os.Zp)(),[i,o]=(0,sa.useState)(null);(0,sa.useEffect)((()=>{(async e=>{(0,fs.t)("getPublicAccount",e);const t={addr:e,avatar:"",childAccounts:null,lastProcessed:Date.now(),processed:!1,userName:e,walletAddress:e};if(!e||""===e)return t;try{if(!await tv(e))return t;const n=Tf.su.scripts.getChildAccounts(e),r=await cs().get("".concat(ss.Sw,"/user/").concat(e,"/details"));if(200!==r.status)return t;const i=await n;return{...r.data,childAccounts:i,walletAddress:e}}catch(n){return(0,fs._)("failed to get account due to ",n),t}})(n||"").then((e=>o({...e,accountSummaries:Object.keys((null===e||void 0===e?void 0:e.childAccounts)||{}).reduce(((t,n)=>{var r;return{...t,[n]:null===e||void 0===e||null===(r=e.childAccounts)||void 0===r?void 0:r[n]}}),{})}))).catch((e=>{(0,fs._)(e),r("/wallet-not-found")}))}),[n]);const a=(0,sa.useMemo)((()=>{var e;return(null===t||void 0===t||null===(e=t.loggedUser)||void 0===e?void 0:e.addr)!==n}),[null===t||void 0===t?void 0:t.loggedUser,n]),s=(0,sa.useMemo)((()=>{const e=[{component:(0,ms.jsx)(FS,{isPublic:a,profile:i}),name:"Collection"},{component:(0,ms.jsx)(pS,{address:"".concat(n),isPublic:a}),name:"Offers"}];return a||e.push({component:(0,ms.jsx)(DS,{}),name:"Action Center"}),e}),[a]),l="Flowty: ".concat(n," NFT Account");return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(ac,{metaTitle:l,metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),i?(0,ms.jsx)(Tb,{publicAccount:i||null,endpoint:"user",children:()=>(0,ms.jsx)(cv,{children:(0,ms.jsxs)("div",{className:"container",children:[i?(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(XT,{profile:i}),(0,ms.jsx)("div",{className:"mt-4",children:(0,ms.jsx)(ZT,{user:i})})]}):(0,ms.jsx)("div",{className:"w-full flex justify-center items-center",children:(0,ms.jsx)(yc.BM,{color:"#04E5A3",height:100,width:100})}),(0,ms.jsx)(jS,{tabs:s,address:(null===i||void 0===i?void 0:i.walletAddress)||""})]})})},n):(0,ms.jsx)("div",{className:"w-full h-screen flex justify-center items-center",children:(0,ms.jsx)(yc.BM,{color:"#04E5A3",height:100,width:100})})]})}))),mD=e=>{let{activeTabBtn:t=Ul.History}=e;return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Your NFT Loans Activity",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("div",{className:"container",children:(0,ms.jsx)(Vl,{activeTabBtn:t})})]})},gD=[{customRender:e=>{let{item:t}=e;const n=t.type?t.type.split("_").pop().toLowerCase():"";return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===n?"delisted":n})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.activityType})},name:"data.flowtyStorefrontAddress",sortable:!1,title:"Role"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.blockTimestamp?(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"blockTimestamp",sortable:!0,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.nftInfo)||void 0===a||!a.nft)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.nftInfo)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.nftInfo)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.nftInfo)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=U.nftInfo)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(C=U.nftInfo)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(b=U.nftInfo)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===(x=U.nftInfo)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.nftInfo)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(T=U.nftInfo)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.nftInfo)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.nftInfo)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.nftInfo)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.nftInfo)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.nftInfo)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"}],vD=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t}=e;const[n,r]=(0,sa.useState)(0),[i,o]=(0,sa.useState)(!1),[a,s]=(0,sa.useState)(1),[l,c]=(0,sa.useState)(!0),[u,d]=(0,sa.useState)({max:null,min:null,path:null}),[h,p]=(0,sa.useState)([]),[f,m]=(0,sa.useState)([]),g=(0,Os.Zp)(),v=(0,sa.useMemo)((()=>a*ss.cb),[a]),C=(0,sa.useMemo)((()=>f.map((e=>({...e,activityType:"Renter"}))).concat(h.map((e=>({...e,activityType:"Owner"}))))),[f,h]),y=(0,sa.useMemo)((()=>C.length),[C]),b=wl({isLoading:i,onInfiniteScroll(){i||(s(a+1),r(y)),ds.o.track("Inifinite Scroll Rentals Table")}},[y,i]);return(0,sa.useEffect)((()=>{o(!(n!==y||!y))}),[n,y]),(0,sa.useEffect)((()=>{var e;if(null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr){var n;const e=(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[];return fl({accountIDs:e,accountId:null===t||void 0===t||null===(n=t.loggedUser)||void 0===n?void 0:n.addr,addressPath:"data.renterAddress",eventCollection:"rentalEvents",filterActivityBy:u,limit:v,listingCollection:"rentalAvailable",makerCb(e){p(e)},takerCb(e){m(e)}})}return()=>{}}),[v,null===t||void 0===t?void 0:t.loggedUser,u]),(0,sa.useEffect)((()=>{s(1)}),[u]),(0,sa.useEffect)((()=>{u.path&&ds.o.track("Profile Rentals Page Filtered",{filter:u,user:null===t||void 0===t?void 0:t.loggedUser})}),[u.path]),(0,fs.t)({allLenderActivityDocs:f}),(0,ms.jsxs)("div",{className:"w-full flex flex-col",children:[(0,ms.jsx)(Gl,{showFilter:l,setShowFilter:c,filterBy:u,setFilterBy:d}),(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{c(!l)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{var t;let{item:n}=e;return(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.listingResourceID)&&g(UD(n.data.listingResourceID))},fields:gD,items:C,stickyHeaders:!0,composeRowHref:e=>UD(e.data.listingResourceID)})}),i?(0,ms.jsx)("div",{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:b})]})]})}))),CD=e=>[{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:t.state?t.state.split("_").pop().toLowerCase():""})},name:"state",sortable:!1,title:"Status"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L,B;let{item:U}=e;const V="A.".concat(null===(t=U.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=U.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=U.detail)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===U||void 0===U||null===(s=U.detail)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===U||void 0===U||null===(c=U.detail)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===U||void 0===U||null===(h=U.detail)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(V))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=U.detail)&&void 0!==g&&null!==(v=g.card)&&void 0!==v&&v.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(C=U.detail)||void 0===C||null===(y=C.card)||void 0===y?void 0:y.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(b=U.detail)||void 0===b||null===(w=b.card)||void 0===w?void 0:w.title}),(null===(x=U.detail)||void 0===x||null===(A=x.card)||void 0===A?void 0:A.num)&&!(null!==(E=U.detail)&&void 0!==E&&null!==(_=E.card)&&void 0!==_&&_.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(T=U.detail)||void 0===T||null===(S=T.card)||void 0===S?void 0:S.num]})]}),null!==U&&void 0!==U&&null!==(k=U.detail)&&void 0!==k&&null!==(P=k.card)&&void 0!==P&&P.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==U&&void 0!==U&&null!==(D=U.detail)&&void 0!==D&&null!==(N=D.card)&&void 0!==N&&N.additionalDetails?null===U||void 0===U||null===(F=U.detail)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.additionalDetails)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===U||void 0===U||null===(M=U.detail)||void 0===M||null===(O=M.card)||void 0===O?void 0:O.headerTraits)&&(null===U||void 0===U||null===(j=U.detail)||void 0===j||null===(L=j.card)||void 0===L||null===(B=L.headerTraits)||void 0===B?void 0:B.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.amount,isSmall:!0,token:t.paymentTokenName})})},name:"amount",sortable:!1,title:"Rental Fee"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.deposit,isSmall:!0,token:t.paymentTokenName})})},name:"deposit",sortable:!1,title:"Refundable Deposit"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.deposit+t.amount,isSmall:!0,token:t.paymentTokenName})})},name:"total",sortable:!1,title:"Total Due Upfront"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(t.term)})},name:"term",sortable:!1,title:"Duration"},{customRender:e=>{let{item:t}=e;return t.valuations?(0,ms.jsx)(rc,{valuationType:"DTV",children:(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[t.valuations.aggregate.depositToValueRatio.toFixed(2),"x"]})}):(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:"N/A"})},name:"valuations.aggregate.depositToValueRatio",sortable:!1,title:"3rd Party DTV"},{customRender:t=>{let{item:n}=t;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(null===n||void 0===n?void 0:n.renter))},className:"flex flex-row justify-start items-center hover:text-green-300",children:(0,ms.jsx)("a",{href:"/user/".concat(null===n||void 0===n?void 0:n.renter),children:(null===n||void 0===n?void 0:n.renter)||"--"})})},name:"flowtyStorefrontAddress",sortable:!1,title:"Renter"}],yD=e=>[{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:t.state?t.state.split("_").pop().toLowerCase():""})},name:"state",sortable:!1,title:"Status"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R;let{item:M}=e;return(0,ms.jsx)("div",{children:!(null===(t=M.detail)||void 0===t||!t.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===M||void 0===M||null===(n=M.detail)||void 0===n||null===(r=n.card)||void 0===r?void 0:r.collectionAddress)||"",collectionName:(null===M||void 0===M||null===(i=M.detail)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(a=null===M||void 0===M||null===(s=M.detail)||void 0===s||null===(l=s.card)||void 0===l||null===(c=l.images)||void 0===c||null===(u=c[0])||void 0===u?void 0:u.url)&&void 0!==a?a:tl.A,(0,ss.hx)(M.type))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(d=M.detail)&&void 0!==d&&null!==(h=d.card)&&void 0!==h&&h.additionalDetails?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(p=M.detail)||void 0===p||null===(f=p.card)||void 0===f?void 0:f.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(m=M.detail)||void 0===m||null===(g=m.card)||void 0===g?void 0:g.title}),(null===(v=M.detail)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.num)&&!(null!==(y=M.detail)&&void 0!==y&&null!==(b=y.card)&&void 0!==b&&b.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(w=M.detail)||void 0===w||null===(x=w.card)||void 0===x?void 0:x.num]})]}),null!==M&&void 0!==M&&null!==(A=M.detail)&&void 0!==A&&null!==(E=A.card)&&void 0!==E&&E.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==M&&void 0!==M&&null!==(_=M.detail)&&void 0!==_&&null!==(T=_.card)&&void 0!==T&&T.additionalDetails?null===M||void 0===M||null===(S=M.detail)||void 0===S||null===(k=S.card)||void 0===k||null===(P=k.additionalDetails)||void 0===P?void 0:P.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===M||void 0===M||null===(D=M.detail)||void 0===D||null===(N=D.card)||void 0===N?void 0:N.headerTraits)&&(null===M||void 0===M||null===(F=M.detail)||void 0===F||null===(I=F.card)||void 0===I||null===(R=I.headerTraits)||void 0===R?void 0:R.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.amount,isSmall:!0,token:t.paymentTokenName})})},name:"amount",sortable:!1,title:"Rental Fee"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.deposit,isSmall:!0,token:t.paymentTokenName})})},name:"deposit",sortable:!1,title:"Refundable Deposit"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:t.deposit+t.amount,isSmall:!0,token:t.paymentTokenName})})},name:"total",sortable:!1,title:"Total Due Upfront"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:Sl(t.term)})},name:"term",sortable:!1,title:"Duration"},{customRender:e=>{let{item:t}=e;return t.valuations?(0,ms.jsx)(rc,{valuationType:"DTV",children:(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[t.valuations.aggregate.depositToValueRatio.toFixed(2),"x"]})}):(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:"N/A"})},name:"valuations.aggregate.depositToValueRatio",sortable:!1,title:"3rd Party DTV"},{customRender:t=>{let{item:n}=t;return(0,ms.jsx)("div",{onClick:t=>{t.preventDefault(),t.stopPropagation(),e("/user/".concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress))},className:"flex flex-row justify-start items-center hover:text-green-300",children:(0,ms.jsx)("a",{href:"/user/".concat(null===n||void 0===n?void 0:n.flowtyStorefrontAddress),children:(null===n||void 0===n?void 0:n.flowtyStorefrontAddress)||"--"})})},name:"flowtyStorefrontAddress",sortable:!1,title:"Owner"}],bD=e=>{let{showFilter:t,setShowFilter:n,filterBy:r,setFilterBy:i,isRenter:o}=e;const[a,s]=(0,sa.useState)(null),[l,c]=(0,sa.useState)({max:null,min:null}),[u,d]=(0,sa.useState)({max:null,min:null}),[h,p]=(0,sa.useState)({max:null,min:null}),[f,m]=(0,sa.useState)({max:null,min:null}),g=(0,sa.useMemo)((()=>[...o?[]:[{label:"Listed",value:"LISTED"},{label:"Delisted",value:"DELISTED"}],{label:"Rented",value:"RENTED"},{label:"Returned",value:"RETURNED"},{label:"Settled",value:"SETTLED"}]),[o]),v=[{path:"state",selectField:!0,setValue:s,title:"Status",value:a},{path:"amount",setValue:c,title:"Fee",value:l},{path:"deposit",setValue:d,title:"Deposit",value:u},{path:"term",setValue:p,title:"Duration (Days)",value:h},{path:"valuations.aggregate.depositToValueRatio",setValue:m,title:"3rd Party DTV",value:f}],C=()=>{s(null),c({max:null,min:null}),d({max:null,min:null}),p({max:null,min:null}),m({max:null,min:null})};return(0,sa.useEffect)((()=>{!r.path||r.min||r.max||i({...r,path:null}),r.path||C()}),[r]),(0,ms.jsx)(yl,{showFilter:t,setShowFilter:n,FilterFields:v,filterOptions:g,setAllFieldsNull:C,filterBy:r,setFilterBy:i})},wD=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{let{authStore:t,asOwner:n=!1}=e;const[r,i]=(0,sa.useState)(0),[o,a]=(0,sa.useState)(!1),[s,l]=(0,sa.useState)(1),[c,u]=(0,sa.useState)(!0),[d,h]=(0,sa.useState)({max:"",min:"",path:""}),[p,f]=(0,sa.useState)([]),m=(0,Os.Zp)(),g=(0,sa.useMemo)((()=>s*ss.cb),[s]),v=(0,sa.useMemo)((()=>p.length),[p]),C=wl({isLoading:o,onInfiniteScroll(){o||(l(s+1),i(v),ds.o.track("Inifinite Scroll Rentals Activity Table"))}},[v]);return(0,sa.useEffect)((()=>{a(!(r!==v||!v))}),[r,v]),(0,sa.useEffect)((()=>{var e,r;return null!==t&&void 0!==t&&null!==(e=t.loggedUser)&&void 0!==e&&e.addr?(e=>{let{asOwner:t=!1,limit:n=25,accountId:r,cb:i,filterBy:o,accountIDs:a}=e;const s=a||[r],l=t?"flowtyStorefrontAddress":"renter";(0,fs.t)({filterBy:o});let c=hl.kA.collection("rentalAvailable").where(l,"in",s);return null!==o&&void 0!==o&&o.path?"state"===(null===o||void 0===o?void 0:o.path)?(c=c.where(o.path,"==",o.min),c=c.orderBy("blockTimestamp","desc")):(c=c.orderBy(o.path,"desc"),"term"===o.path?(o.min&&(c=c.where(o.path,">=",60*Number(o.min)*60*24)),""!==o.max&&(c=c.where(o.path,"<=",60*Number(o.max)*60*24))):(o.path,o.min&&(c=c.where(o.path,">=",Number(o.min))),""!==o.max&&(c=c.where(o.path,"<=",Number(o.max))))):c=c.orderBy("blockTimestamp","desc"),c.limit(n).onSnapshot((async e=>{let{docs:t}=e;const n=cl()(t,10);await Promise.all(n.map((e=>hl.kA.collection("rentalAvailable").where("listingResourceID","in",e.map((e=>e.data().listingResourceID))).get()))).then((e=>{const n=dl()(t.map((e=>({...e.data(),id:e.id}))),"listingResourceID");i(e.flatMap((e=>e.docs.map((e=>({...e.data(),id:e.id}))))).map((e=>({...e,fundingAvailable:n[e.listingResourceID]}))))}))}))})({accountIDs:(null===t||void 0===t?void 0:t.getAccountSummaryAddresses())||[],accountId:null===t||void 0===t||null===(r=t.loggedUser)||void 0===r?void 0:r.addr,asOwner:n,cb(e){f(e)},filterBy:d,limit:g}):()=>{}}),[g,null===t||void 0===t?void 0:t.loggedUser,d]),(0,sa.useEffect)((()=>{l(1)}),[d]),(0,sa.useEffect)((()=>{d.path&&ds.o.track("Profile Rentals Activity Page Filtered",{filter:d,user:null===t||void 0===t?void 0:t.loggedUser})}),[d.path]),(0,ms.jsxs)("div",{className:" w-full flex flex-col ",children:[(0,ms.jsx)(bD,{showFilter:c,setShowFilter:u,filterBy:d,setFilterBy:h,isRenter:!n}),(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{u(!c)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{let{item:t}=e;return(null===t||void 0===t?void 0:t.listingResourceID)&&m(UD(t.listingResourceID))},fields:n?CD(m):yD(m),items:p,stickyHeaders:!0,composeRowHref:e=>UD(e.listingResourceID)})}),o?(0,ms.jsx)("div",{}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(xl,{}),(0,ms.jsx)("div",{ref:C})]})]})}))),xD=[{content:(0,ms.jsx)(vD,{}),name:"Activity"},{content:(0,ms.jsx)(wD,{}),name:"Renter"},{content:(0,ms.jsx)(wD,{asOwner:!0}),name:"Owner"}],AD=()=>{const[e,t]=(0,sa.useState)(xD[0].name);return(0,sa.useEffect)((()=>{ds.o.track("Profile Activity Rentals Visited",{currentTab:e})}),[e]),(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Zs,{}),(0,ms.jsxs)("div",{className:"mt-4 transition duration-700",children:[(0,ms.jsxs)("div",{children:[(0,ms.jsx)("nav",{className:"-mb-px flex space-x-8","aria-label":"loanTabs",children:xD.map((n=>(0,ms.jsx)("div",{onClick:()=>{t(n.name),ds.o.track("Profile Activity Rentals Toggled: ".concat(n.name),{tab:n.name})},className:Ls()(n.name===e?"border-indigo-500 text-white":"border-transparent text-gray-500 hover:text-white hover:border-indigo-500","whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"),children:n.name},n.name)))}),(0,ms.jsx)("div",{className:"line-separator bg-gradient-to-r from-darkBg via-secondary to-darkBg"})]}),(0,ms.jsx)("div",{className:"mt-8 mb-3",children:xD.map((t=>t.name===e?(0,ms.jsx)("div",{children:t.content},t.name):null))})]})]})},ED=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{authStore:n}=e;const r=[{content:(0,ms.jsx)(AD,{}),id:"tag-1",label:"User Activity"}];return(0,ms.jsxs)("div",{className:"pt-4 flex flex-col justify-center",children:[(0,ms.jsx)("div",{className:"self-center",children:(0,ms.jsx)("div",{className:"flex justify-center items-center",children:(0,ms.jsx)(Bl,{address:"".concat(null===n||void 0===n||null===(t=n.loggedUser)||void 0===t?void 0:t.addr)})})}),(0,ms.jsx)("div",{className:"mt-3",children:(0,ms.jsx)(Bs.cs,{activeTab:"tag-1",tabs:r,onChange:()=>{},type:"primary",isCenter:!0})})]})}))),_D=()=>(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Your NFT Rentals Activity",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("div",{className:"container",children:(0,ms.jsx)(ED,{})})]}),TD=e=>{let{showFilter:t,setShowFilter:n,filterBy:r,setFilterBy:i,asBuyer:o}=e;const[a,s]=(0,sa.useState)(null),[l,c]=(0,sa.useState)({max:null,min:null}),u=(0,sa.useMemo)((()=>o?[{label:"Purchased",value:"STOREFRONT_PURCHASED"},{label:"Offer Created",value:"STOREFRONT_OFFER_CREATED"},{label:"Offer Accepted",value:us.IEventType.StorefrontOfferAccepted.valueOf()},{label:"Offer Cancelled",value:us.IEventType.StorefrontOfferCancelled.valueOf()}]:[{label:"Offer Accepted",value:us.IEventType.StorefrontOfferAccepted.valueOf()},{label:"Purchased",value:"STOREFRONT_PURCHASED"},{label:"Listed",value:"STOREFRONT_LISTED"},{label:"Delisted",value:"STOREFRONT_DELISTED"}]),[o]),d=[{path:"state",selectField:!0,setValue:s,title:"Status",value:a},{path:"salePrice",setValue:c,title:"Price",value:l}],h=()=>{s(null),c({max:"",min:""})};return(0,sa.useEffect)((()=>{!r.path||r.min||r.max||i({...r,path:null}),r.path||h()}),[r]),(0,ms.jsx)(yl,{showFilter:t,setShowFilter:n,FilterFields:d,filterOptions:u,setAllFieldsNull:h,filterBy:r,setFilterBy:i})},SD=[{customRender:e=>{var t;let{item:n}=e;const r=n.type.split("_").pop().toLowerCase(),i="".concat(null!==(t=n.type.match(/offer/i)&&"Offer ")&&void 0!==t?t:"").concat(r);return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center capitalize",children:"destroyed"===i?"delisted":i})},name:"type",sortable:!1,title:"Event"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center","data-testid":"row-".concat(t.activityType),children:t.activityType})},name:"data.buyer",sortable:!1,title:"Role"},{customRender:e=>{let{item:t}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:t.blockTimestamp?(0,el.default)(t.blockTimestamp.toDate(),"yyyy-MM-dd HH:mm"):""})},name:"blockTimestamp",sortable:!1,title:"Date"},{customRender:e=>{var t,n,r,i,o,a,s,l,c,u,d,h,p,f,m,g,v,C,y,b,w,x,A,E,_,T,S,k,P,D,N,F,I,R,M,O,j,L;let{item:B}=e;const U="A.".concat(null===(t=B.additionalData)||void 0===t||null===(n=t.card)||void 0===n||null===(r=n.collectionAddress)||void 0===r?void 0:r.substring(2),".").concat(null===(i=B.additionalData)||void 0===i||null===(o=i.card)||void 0===o?void 0:o.collectionName,".NFT");return(0,ms.jsx)("div",{children:!(null===(a=B.additionalData)||void 0===a||!a.card)&&(0,ms.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[(0,ms.jsx)("div",{className:"w-[40px] mr-2",children:(0,ms.jsx)(al,{collectionAddress:(null===B||void 0===B||null===(s=B.additionalData)||void 0===s||null===(l=s.card)||void 0===l?void 0:l.collectionAddress)||"",collectionName:(null===B||void 0===B||null===(c=B.additionalData)||void 0===c||null===(u=c.card)||void 0===u?void 0:u.collectionName)||"",srcImg:(0,us.getImageURL)(null!==(d=null===B||void 0===B||null===(h=B.additionalData)||void 0===h||null===(p=h.card)||void 0===p||null===(f=p.images)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.url)&&void 0!==d?d:tl.A,(0,ss.hx)(U))})}),(0,ms.jsxs)("div",{className:"flex flex-col",children:[null!==(g=B.additionalData)&&void 0!==g&&g.card?(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(v=B.additionalData)||void 0===v||null===(C=v.card)||void 0===C?void 0:C.title}):(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold truncate",children:null===(y=B.additionalData)||void 0===y||null===(b=y.card)||void 0===b?void 0:b.title}),(null===(w=B.additionalData)||void 0===w||null===(x=w.card)||void 0===x?void 0:x.num)&&!(null!==(A=B.additionalData)&&void 0!==A&&null!==(E=A.card)&&void 0!==E&&E.title.includes("#"))&&(0,ms.jsxs)("span",{className:"text-[12px] text-primary font-montserrat font-extrabold ml-2",children:["#",null===(_=B.additionalData)||void 0===_||null===(T=_.card)||void 0===T?void 0:T.num]})]}),null!==B&&void 0!==B&&null!==(S=B.additionalData)&&void 0!==S&&null!==(k=S.card)&&void 0!==k&&k.additionalDetails?(0,ms.jsx)(ms.Fragment,{children:null!==B&&void 0!==B&&null!==(P=B.additionalData)&&void 0!==P&&null!==(D=P.card)&&void 0!==D&&D.additionalDetails?null===B||void 0===B||null===(N=B.additionalData)||void 0===N||null===(F=N.card)||void 0===F||null===(I=F.additionalDetails)||void 0===I?void 0:I.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e},e))):(0,ms.jsx)("div",{className:"flex flex-row items-center justify-start mt-2 h-4"})}):(0,ms.jsx)(ms.Fragment,{children:(null===B||void 0===B||null===(R=B.additionalData)||void 0===R||null===(M=R.card)||void 0===M?void 0:M.headerTraits)&&(null===B||void 0===B||null===(O=B.additionalData)||void 0===O||null===(j=O.card)||void 0===j||null===(L=j.headerTraits)||void 0===L?void 0:L.map((e=>(0,ms.jsx)("span",{className:"font-montserrat text-primary text-[12px] font-light",children:e.value},e.displayType))))})]})]})})},name:"detail",sortable:!1,title:"Details"},{customRender:e=>{var t,n,r;let{item:i}=e;return(0,ms.jsx)("div",{className:"flex flex-row justify-start items-center",children:(0,ms.jsx)(Nl.se,{amount:Number((null===i||void 0===i?void 0:i.amount)||(null===i||void 0===i||null===(t=i.data)||void 0===t?void 0:t.salePrice)),isSmall:!0,token:(0,us.getTokenFromType)((null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.salePaymentVaultType)||(null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.paymentTokenType))})})},name:"amount",sortable:!1,title:"Amount"}];function kD(e){let{filterBy:t,role:n,loggedUserAddress:r,limit:i}=e;const[o,a]=(0,sa.useState)([]),[s,l]=(0,sa.useState)(!0),[c,u]=(0,sa.useState)(0);return(0,sa.useEffect)((()=>{l(!0);const e=(e=>{let{limit:t=25,cb:n,loggedUserAddress:r,filterBy:i,role:o}=e,a=!1;const s=(0,FC.rJ)(hl.db,"storefrontEvents");let l=(0,FC.P)(s),c=(0,FC.P)(s);"buyer"===o&&(c=(0,FC.P)(c,(0,FC.or)((0,FC._M)("data.buyer","==",r),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_CREATED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_CANCELLED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_ACCEPTED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("data.buyer","==",r),(0,FC._M)("type","==","STOREFRONT_PURCHASED")))),l=(0,FC.P)(l,(0,FC.or)((0,FC._M)("data.buyer","==",r),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_CREATED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_CANCELLED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_OFFER_ACCEPTED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("data.buyer","==",r),(0,FC._M)("type","==","STOREFRONT_PURCHASED"))))),"seller"===o&&(c=(0,FC.P)(c,(0,FC.Uo)((0,FC._M)("accountAddress","==",r),(0,FC.or)((0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_LISTED")),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_DELISTED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("accountAddress","==",r),(0,FC._M)("type","==","STOREFRONT_PURCHASED"))))),l=(0,FC.P)(l,(0,FC.Uo)((0,FC._M)("accountAddress","==",r),(0,FC.or)((0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_LISTED")),(0,FC.Uo)((0,FC._M)("type","==","STOREFRONT_DELISTED"),(0,FC._M)("accountAddress","==",r)),(0,FC.Uo)((0,FC._M)("accountAddress","==",r),(0,FC._M)("type","==","STOREFRONT_PURCHASED")))))),"buyerAndSeller"===o&&(c=(0,FC.P)(c,(0,FC.or)((0,FC._M)("data.buyer","==",r),(0,FC._M)("accountAddress","in",[r]))),l=(0,FC.P)(l,(0,FC.or)((0,FC._M)("data.buyer","==",r),(0,FC._M)("accountAddress","in",[r])))),"salePrice"===(null===i||void 0===i?void 0:i.path)&&(null===i||void 0===i||!i.min||null!==i&&void 0!==i&&i.max||(c=(0,FC.P)(c,(0,FC._M)("data.salePrice",">=",Number(i.min)),(0,FC.My)("data.salePrice")),l=(0,FC.P)(l,(0,FC._M)("data.salePrice",">=",Number(i.min)))),null===i||void 0===i||!i.max||null!==i&&void 0!==i&&i.min||(c=(0,FC.P)(c,(0,FC._M)("data.salePrice","<=",Number(i.max)),(0,FC.My)("data.salePrice")),l=(0,FC.P)(l,(0,FC._M)("data.salePrice","<=",Number(i.max)))),null!==i&&void 0!==i&&i.min&&null!==i&&void 0!==i&&i.max&&(c=(0,FC.P)(c,(0,FC._M)("data.salePrice",">=",Number(i.min)),(0,FC._M)("data.salePrice","<=",Number(i.max)),(0,FC.My)("data.salePrice")),l=(0,FC.P)(l,(0,FC._M)("data.salePrice",">=",Number(i.min)),(0,FC._M)("data.salePrice","<=",Number(i.max)))),a=!0),"state"===(null===i||void 0===i?void 0:i.path)&&(c=(0,FC.P)(c,(0,FC._M)("type","==",i.min)),l=(0,FC.P)(l,(0,FC._M)("type","==",i.min))),c=(0,FC.P)(c,(0,FC.My)("blockTimestamp","desc")),c=(0,FC.P)(c,(0,FC.AB)(t));const u=(0,FC.GG)(l).then((e=>e.size));return(0,FC.aQ)(c,(e=>{const t=e.docs.map((e=>({id:e.id,...e.data()})));t&&u.then((e=>{n({data:t,totalCount:e})}))}))})({cb:e=>{let{data:t,totalCount:n}=e;a(t),u(n),l(!1)},filterBy:t,limit:i,loggedUserAddress:r,role:n});return()=>e()}),[r,i,null===t||void 0===t?void 0:t.path,null===t||void 0===t?void 0:t.max,null===t||void 0===t?void 0:t.min,n]),{dataCount:c,loading:s,storefrontData:o}}const PD=e=>{let{item:t,loggedUserAddress:n}=e;if("STOREFRONT_OFFER_ACCEPTED"===t.type)return"Buyer";if("STOREFRONT_LISTED"===t.type)return"Seller";if("STOREFRONT_DELISTED"===t.type)return"Seller";if("STOREFRONT_OFFER_CREATED"===t.type)return"Buyer";if("STOREFRONT_OFFER_CANCELLED"===t.type)return"Buyer";if("STOREFRONT_PURCHASED"===t.type){var r;if((null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.buyer)===n)return"Buyer";if((null===t||void 0===t?void 0:t.accountAddress)===n)return"Seller"}},DD=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t,n,r;let{authStore:i,userRole:o}=e;const[a,s]=(0,sa.useState)(0),[l,c]=(0,sa.useState)(1),[u,d]=(0,sa.useState)(!0),[h,p]=(0,sa.useState)({max:null,min:null,path:null}),f=(0,sa.useMemo)((()=>l*ss.cb),[l]),m=null!==(t=null===i||void 0===i||null===(n=i.loggedUser)||void 0===n?void 0:n.addr)&&void 0!==t?t:"",{storefrontData:g,loading:v,dataCount:C}=kD({filterBy:h,limit:f,loggedUserAddress:m,role:o}),y=(0,sa.useMemo)((()=>g.map((e=>({...e,activityType:PD({item:e,loggedUserAddress:m})})))),[g,m,PD]),b=(0,sa.useMemo)((()=>({column:"blockTimestamp",order:Ws.Descending})),[]),w=(0,Os.Zp)(),x=(0,sa.useMemo)((()=>y.length),[y.length]),A=(0,sa.useMemo)((()=>x<C),[x,C]),E=(0,sa.useMemo)((()=>a===x&&A),[a,x,A]),_=wl({isLoading:E,onInfiniteScroll(){!v&&A&&(c((e=>e+1)),s(x)),ds.o.track("Infinite Scroll Profile Storefront Table")}},[x,E,v]);(0,sa.useEffect)((()=>{c(1)}),[b,h]),(0,sa.useEffect)((()=>{ds.o.track("Profile Storefront Page Visited")}),[]),(0,sa.useEffect)((()=>{h.path&&ds.o.track("Profile Storefront Page Filtered",{filter:h,user:null===i||void 0===i?void 0:i.loggedUser})}),[h.path]);const T=(0,sa.useMemo)((()=>"buyer"!==o||u?"seller"!==o||u?"buyerAndSeller"!==o||u?void 0:(0,ms.jsx)(_A,{showFilter:u,setShowFilter:d,filterBy:h,setFilterBy:p}):(0,ms.jsx)(TD,{asBuyer:!1,showFilter:u,setShowFilter:d,filterBy:h,setFilterBy:p}):(0,ms.jsx)(TD,{asBuyer:!0,showFilter:u,setShowFilter:d,filterBy:h,setFilterBy:p})),[o,u,d,h,p]);return(0,ms.jsxs)("div",{className:" w-full flex flex-col min-h-screen",children:[T,(0,ms.jsx)("button",{className:"flex justify-center w-20 relative self-end -top-24 float-right bg-blue-500 text-white active:bg-blue-600 hover:bg-blue-600 font-bold uppercase text-sm px-6 py-4 rounded-3xl shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button",onClick:()=>{d(!u)},children:(0,ms.jsx)("span",{children:"Filter"})}),(0,ms.jsx)("div",{className:"relative -top-16 ",children:(0,ms.jsx)($s,{onClickRow:e=>{var t,n,r,i,o,a;let{item:s}=e;const l=(null===(t=s.data)||void 0===t?void 0:t.nftType)||(null===(n=s.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftType)||"",c=((null===(i=s.data)||void 0===i?void 0:i.nftID)||(null===(o=s.data)||void 0===o||null===(a=o.typeAndIDOffer)||void 0===a?void 0:a.nftID)||"").toString(),u=l&&c?(0,us.nftTypeAndIdToLocationData)(l,c):null;return u&&w("/asset/".concat(u.contract.address,"/").concat(u.contract.name,"/").concat(u.resourceName,"/").concat(u.nftID))},fields:SD,items:y,stickyHeaders:!0,composeRowHref:e=>{var t,n,r,i,o,a;const s=(null===(t=e.data)||void 0===t?void 0:t.nftType)||(null===(n=e.data)||void 0===n||null===(r=n.typeAndIDOffer)||void 0===r?void 0:r.nftType)||"",l=((null===(i=e.data)||void 0===i?void 0:i.nftID)||(null===(o=e.data)||void 0===o||null===(a=o.typeAndIDOffer)||void 0===a?void 0:a.nftID)||"").toString(),c=s&&l?(0,us.nftTypeAndIdToLocationData)(s,l):null;return"/asset/".concat(null===c||void 0===c?void 0:c.contract.address,"/").concat(null===c||void 0===c?void 0:c.contract.name,"/").concat(null===c||void 0===c?void 0:c.resourceName,"/").concat(null===c||void 0===c?void 0:c.nftID)}})}),v?(0,ms.jsx)(xl,{}):null,!v&&x<=0?(0,ms.jsx)("div",{className:"mx-auto",children:"No Activity"}):null,null!==(r=!E)&&void 0!==r?r:(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsx)(xl,{})}),(0,ms.jsx)("div",{className:"mt-auto",ref:_})]})}))),ND=[{content:(0,ms.jsx)(DD,{userRole:"buyerAndSeller"}),name:"Activity"},{content:(0,ms.jsx)(DD,{userRole:"buyer"}),name:"Buyer"},{content:(0,ms.jsx)(DD,{userRole:"seller"}),name:"Seller"}],FD=()=>{const[e,t]=(0,sa.useState)(ND[0].name);return(0,sa.useEffect)((()=>{ds.o.track("Profile Activity Storefront Visited",{currentTab:e})}),[e]),(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(Zs,{}),(0,ms.jsxs)("div",{className:"mt-4 transition duration-700",children:[(0,ms.jsxs)("div",{children:[(0,ms.jsx)("nav",{className:"-mb-px flex space-x-8","aria-label":"loanTabs",children:ND.map((n=>(0,ms.jsx)("div",{onClick:()=>{t(n.name),ds.o.track("Profile Activity Storefront Toggled: ".concat(n.name),{tab:n.name})},className:Ls()(n.name===e?"border-indigo-500 text-white":"border-transparent text-gray-500 hover:text-white hover:border-indigo-500","whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"),children:n.name},n.name)))}),(0,ms.jsx)("div",{className:"line-separator bg-gradient-to-r from-darkBg via-secondary to-darkBg"})]}),(0,ms.jsx)("div",{className:"mt-8 mb-3",children:ND.map((t=>t.name===e?(0,ms.jsx)("div",{children:t.content},t.name):null))})]})]})},ID=(0,ua.WQ)("authStore")((0,ua.PA)((e=>{var t;let{activeTabBtn:n=Ul.Listed,authStore:r}=e;const i=[{content:(0,ms.jsx)(FD,{}),id:"tag-1",label:"User Activity"}];return(0,ms.jsxs)("div",{className:"pt-4 flex flex-col justify-center",children:[(0,ms.jsx)("div",{className:"self-center",children:(0,ms.jsx)("div",{className:"flex justify-center items-center",children:(0,ms.jsx)(Bl,{address:"".concat(null===r||void 0===r||null===(t=r.loggedUser)||void 0===t?void 0:t.addr)})})}),(0,ms.jsx)("div",{className:"user-profile-tabnav mt-3",children:(0,ms.jsx)(Bs.cs,{activeTab:"tag-1",tabs:i,onChange:()=>{},type:"primary",isCenter:!0})})]})}))),RD=e=>{let{activeTabBtn:t=Ul.History}=e;return(0,ms.jsxs)(cv,{children:[(0,ms.jsx)(ac,{metaTitle:"Flowty: Your NFT Storefront Activity",metaDescription:"Flowty is an open, full-featured NFT marketplace for collectors, traders, investors and creators on the Flow blockchain. Flowty's transaction capabilities range from buying and selling to NFT-backed loans and NFT rentals.",metaImage:"https://www.flowty.io/icons/icon192.png"}),(0,ms.jsx)("div",{className:"container",children:(0,ms.jsx)(ID,{activeTabBtn:t})})]})};var MD;let OD=function(e){return e.Home="/",e.Marketplace="/marketplace",e.Activity="/activity",e.AssetResource="/asset/:collectionAddress/:collectionName/:resource/:nftId",e.Asset="/asset/:collectionAddress/:collectionName/:nftId",e.UserFlow="/user/:walletAddress",e.UserSignIn="/signIn",e.UserProfileScreen="/user-profile",e.UserProfileScreenP2P="/user-profile/loans",e.UserProfileScreenRentals="/user-profile/rentals",e.UserProfileScreenStorefront="/user-profile/storefront",e.Settings="/settings",e.SettingsNotifications="/notification-settings",e.Listed="/listed",e.Loans="/loans",e.Funded="/funded",e.LoanListing="/listing/:listingResourceId",e.Terms="/tos",e.Privacy="/privacy",e.RentalListing="/rentals/:listingResourceId",e.RentalMarketplace="/rentals",e.ProfileFlowScreen="/user/profile",e.ProfileCreatorHubFlowScreen="/user/creator-hub",e.SwapListing="/swaps/:listingResourceId",e.Collection="/collection/:collectionAddress/:collectionName",e.Storefront="/storefront",e.StorefrontListing="/storefront/:listingResourceId",e.Collections="/collections",e.TwitterOauth="/_twitter-oauth",e.DiscordOauth="/_discord-oauth",e.CreatorHub="/create",e}({});const jD=e=>OD.UserFlow.replace(":walletAddress",e),LD=(e,t)=>e.replace(":listingResourceId",String(t)),BD=e=>LD(OD.LoanListing,e),UD=e=>LD(OD.RentalListing,e);var VD=function(e){return e.Home="Home",e.Marketplace="Marketplace",e.Activity="/activity",e.Asset="Asset",e.AssetResource="AssetResource",e.UserProfile="/user-profile",e.UserSignIn="/signIn",e.UserFlow="UserFlow",e.UserProfileScreen="UserProfileScreen",e.UserProfileScreenP2P="UserProfileScreenP2P",e.UserProfileScreenRentals="UserProfileScreenRentals",e.UserProfileScreenStorefront="UserProfileScreenStorefront",e.Settings="Settings",e.SettingsNotifications="SettingsNotifications",e.Listed="Listed",e.Loans="Loans",e.RentalListing="RentalListing",e.RentalMarketplace="RentalMarketplace",e.Funded="Funded",e.LoanListing="LoanListing",e.Terms="Terms",e.Privacy="Privacy",e.ProfileFlowScreen="ProfileFlowScreen",e.ProfileCreatorHubFlowScreen="ProfileCreatorHubFlowScreen",e.Collection="Collection",e.Collections="Collections",e.TwitterOauth="TwitterOauth",e.DiscordOauth="DiscordOauth",e.StorefrontListing="StorefrontListing",e.Storefront="Storefront",e.StorefrontMarketplace="StorefrontMarketplace",e.UserPreference="UserPreference",e.CreatorHub="/create",e}(VD||{});const HD="ACTIVITY_PREF",zD=e=>{let{children:t,type:n}=e;return(0,sa.useEffect)((()=>localStorage.setItem(HD,n))),t},ZD=[{element:(0,ms.jsx)(V_,{}),key:VD.Home,path:OD.Home},{element:(0,ms.jsx)(Ek,{}),key:VD.UserSignIn,path:OD.UserSignIn},{element:(0,ms.jsx)(vb,{}),key:[VD.Marketplace],path:[OD.Marketplace]},{element:(0,ms.jsx)(vb,{}),key:VD.Collections,path:OD.Collections},{element:(0,ms.jsx)(pD,{}),key:VD.TwitterOauth,path:OD.TwitterOauth},{element:(0,ms.jsx)(U_,{}),key:VD.DiscordOauth,path:OD.DiscordOauth},{element:(0,ms.jsx)(Os.C5,{replace:!0,to:"".concat(OD.Activity,"/storefront")}),key:[VD.Activity,VD.Loans,VD.UserPreference],path:OD.Activity},{element:(0,ms.jsx)(zD,{type:"loans",children:(0,ms.jsx)(dv,{})}),key:[VD.Activity,VD.Loans],path:[OD.Activity,OD.Loans]},{element:(0,ms.jsx)(zD,{type:"rentals",children:(0,ms.jsx)(QS,{})}),key:[VD.Activity,VD.RentalMarketplace],path:[OD.Activity,OD.RentalMarketplace]},{element:(0,ms.jsx)(Os.C5,{replace:!0,to:"".concat(OD.UserProfileScreen+OD.Loans)}),key:[VD.Activity,VD.RentalListing],path:[OD.Activity,OD.RentalListing]},{element:(0,ms.jsx)(zD,{type:"loans",children:(0,ms.jsx)(mD,{})}),key:[VD.UserProfile,VD.Loans],path:[OD.UserProfileScreen,OD.Loans]},{element:(0,ms.jsx)(zD,{type:"rentals",children:(0,ms.jsx)(_D,{})}),key:[VD.UserProfile,VD.RentalMarketplace],path:[OD.UserProfileScreen,OD.RentalMarketplace]},{element:(0,ms.jsx)(zD,{type:"storefront",children:(0,ms.jsx)(RD,{})}),key:[VD.UserProfile,VD.Storefront],path:[OD.UserProfileScreen,OD.Storefront]},{element:(0,ms.jsx)(Os.C5,{replace:!0,to:"".concat(OD.UserProfileScreen,"/").concat(null!==(MD=localStorage.getItem(HD))&&void 0!==MD?MD:"storefront")}),key:[VD.UserProfileScreen,VD.Loans],path:OD.UserProfileScreen},{element:(0,ms.jsx)(Ak,{}),key:VD.Settings,path:OD.Settings},{element:(0,ms.jsx)(hD,{}),key:VD.Terms,path:OD.Terms},{element:(0,ms.jsx)(UT,{}),key:VD.Privacy,path:OD.Privacy},{element:(0,ms.jsx)(Ak,{}),key:VD.SettingsNotifications,path:OD.SettingsNotifications},{element:(0,ms.jsx)(mD,{activeTabBtn:Ul.Listed}),key:VD.Listed,path:OD.Listed},{element:(0,ms.jsx)(mD,{activeTabBtn:Ul.Funded}),key:VD.Funded,path:OD.Funded},{element:(0,ms.jsx)(BT,{}),key:VD.LoanListing,path:OD.LoanListing},{element:(0,ms.jsx)(YS,{}),key:VD.RentalListing,path:OD.RentalListing},{element:(0,ms.jsx)(z_,{}),key:VD.StorefrontListing,path:OD.StorefrontListing},{element:(0,ms.jsx)(fD,{}),key:VD.UserFlow,path:OD.UserFlow},{element:(0,ms.jsx)(LS,{}),key:VD.ProfileFlowScreen,path:OD.ProfileFlowScreen},{element:(0,ms.jsx)(j_,{}),key:VD.ProfileCreatorHubFlowScreen,path:OD.ProfileCreatorHubFlowScreen},{element:(0,ms.jsx)(ub,{}),key:VD.AssetResource,path:OD.AssetResource},{element:(0,ms.jsx)(ub,{}),key:VD.Asset,path:OD.Asset},{element:ss.SE?(0,ms.jsx)(B_,{}):(0,ms.jsx)(AC,{}),key:VD.CreatorHub,path:OD.CreatorHub}];ss.bo&&(ZD.push({element:(0,ms.jsx)(P_,{}),key:[VD.Collection],path:[OD.Collection]}),ss.hr&&ZD.push({element:(0,ms.jsx)(zD,{type:"storefront",children:(0,ms.jsx)(Tk,{})}),key:[VD.Activity,VD.StorefrontMarketplace],path:[OD.Activity,OD.Storefront]}));const WD=(0,ua.PA)((()=>{const e=ZD;return(0,ms.jsx)(ms.Fragment,{children:(0,ms.jsxs)(Os.BV,{children:[e.map((e=>{let{key:t,path:n,...r}=e;const i=Array.isArray(t)?t.join("-"):t,o=Array.isArray(n)?n.join(""):n;return(0,sa.createElement)(Os.qh,{...r,key:i,path:o})})),(0,ms.jsx)(Os.qh,{path:"*",element:(0,ms.jsx)(AC,{})})]})})}));var qD=new Map,GD={},YD={},KD=function(e){return Boolean(e)&&!1===Array.isArray(e)&&"object"===typeof e},QD=function(e,t,n){void 0===n&&(n="")},XD=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},JD=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},$D=function(){function e(e){this.options=e}return e.prototype.setItem=function(e,t){var n;return XD(this,void 0,void 0,(function(){var r,i,o,a,s,l,c;return JD(this,(function(u){switch(u.label){case 0:return r=this.options,i=r.stringify,o=void 0===i||i,a=r.debugMode,d={expireInTimestamp:this.options.expireIn?(p=this.options.expireIn,(new Date).getTime()+p):void 0,version:this.options.version},h=function(e){return void 0===e},Object.keys(d).forEach((function(e){return h(d[e])&&delete d[e]})),s=d,l=Object.keys(s).length?Object.assign({},t,{__mps__:s}):t,c=o?JSON.stringify(l):l,QD(0,"".concat(e," - setItem:"),c),[4,null===(n=this.options.storage)||void 0===n?void 0:n.setItem(e,c)];case 1:return u.sent(),[2]}var d,h,p}))}))},e.prototype.getItem=function(e){var t,n,r;return XD(this,void 0,void 0,(function(){var i,o,a,s,l,c,u,d,h;return JD(this,(function(p){switch(p.label){case 0:return i=this.options,o=i.removeOnExpiration,a=void 0===o||o,s=i.debugMode,l=i.version,[4,null===(t=this.options.storage)||void 0===t?void 0:t.getItem(e)];case 1:c=p.sent();try{u=JSON.parse(c)||{}}catch(f){u=c||{}}return d=function(e){var t=(new Date).getTime();return new Date(e).getTime()<=t}(null===(n=u.__mps__)||void 0===n?void 0:n.expireInTimestamp),h=l&&(null===(r=u.__mps__)||void 0===r?void 0:r.version)!==l,QD(0,"".concat(e," - hasExpired"),d),QD(0,"".concat(e," - mismatchedVersion"),h),d&&a||h?[4,this.removeItem(e)]:[3,3];case 2:p.sent(),p.label=3;case 3:return u=d||h?{}:u,QD(0,"".concat(e," - (getItem):"),u),[2,u]}}))}))},e.prototype.removeItem=function(e){var t;return XD(this,void 0,void 0,(function(){var n;return JD(this,(function(r){switch(r.label){case 0:return n=this.options.debugMode,QD(0,"".concat(e," - (removeItem): storage was removed")),[4,null===(t=this.options.storage)||void 0===t?void 0:t.removeItem(e)];case 1:return r.sent(),[2]}}))}))},e}(),eN=function(e){return e.reduce((function(e,t){return"string"===typeof t?(e.push({key:t,serialize:function(e){return e},deserialize:function(e){return e}}),e):(KD(n=t)?["key","serialize","deserialize"].every((function(e){return!(!n.hasOwnProperty(e)||"undefined"===typeof e)||(QD(GD.debugMode,"".concat(String(e)," not found in SerializableProperty"),{key:e,obj:n}),!1)})):(QD(GD.debugMode,0,{obj:n}),0))?(e.push(t),e):e;var n}),[])},tN=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},nN=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},rN=function(){function e(e,t,n){var r,i,o,a,s,l,c,u;void 0===n&&(n={}),this.cancelWatch=null,this.properties=[],this.reactionOptions={},this.storageAdapter=null,this.target=null,this.version=void 0,this.debugMode=!1,this.isHydrated=!1,this.isPersisting=!1,this.storageName="",this.target=e,this.storageName=t.name,this.version=null!==(r=t.version)&&void 0!==r?r:GD.version,this.properties=eN(t.properties),this.reactionOptions=Object.assign({fireImmediately:!0},YD,n),this.debugMode=null!==(o=null!==(i=t.debugMode)&&void 0!==i?i:GD.debugMode)&&void 0!==o&&o,this.storageAdapter=new $D({version:this.version,expireIn:null!==(a=t.expireIn)&&void 0!==a?a:GD.expireIn,removeOnExpiration:null===(l=null!==(s=t.removeOnExpiration)&&void 0!==s?s:GD.removeOnExpiration)||void 0===l||l,stringify:null===(u=null!==(c=t.stringify)&&void 0!==c?c:GD.stringify)||void 0===u||u,storage:t.storage?t.storage:GD.storage,debugMode:this.debugMode}),(0,sc.Gn)(this,{clearPersistedStore:sc.XI,hydrateStore:sc.XI,isHydrated:sc.sH,isPersisting:sc.sH,pausePersisting:sc.XI,startPersisting:sc.XI,stopPersisting:sc.XI},{autoBind:!0,deep:!1}),this.storageAdapter.options.storage,this.storageName,QD(this.debugMode,"".concat(this.storageName," - (makePersistable)"),{properties:this.properties,storageAdapter:this.storageAdapter,reactionOptions:this.reactionOptions})}return e.prototype.init=function(){return tN(this,void 0,void 0,(function(){return nN(this,(function(e){switch(e.label){case 0:return[4,this.hydrateStore()];case 1:return e.sent(),this.startPersisting(),[2,this]}}))}))},e.prototype.hydrateStore=function(){return tN(this,void 0,void 0,(function(){var e,t,n,r=this;return nN(this,(function(i){switch(i.label){case 0:return e=Boolean(this.cancelWatch),this.isPersisting&&this.pausePersisting(),(0,sc.h5)((function(){r.isHydrated=!1,QD(r.debugMode,"".concat(r.storageName," - (hydrateStore) isHydrated:"),r.isHydrated)})),this.storageAdapter&&this.target?[4,this.storageAdapter.getItem(this.storageName)]:[3,2];case 1:t=i.sent(),n=this.target,t&&(0,sc.h5)((function(){r.properties.forEach((function(e){var r;if([n.hasOwnProperty(e.key),"undefined"!==typeof t[e.key]].every(Boolean)){var i=t[e.key];n[e.key]instanceof sc.Es&&(r=i,Array.isArray(r)&&r.every((function(e){return Array.isArray(e)})))?n[e.key]=e.deserialize(new Map(i)):n[e.key]=e.deserialize(i)}}))})),i.label=2;case 2:return(0,sc.h5)((function(){r.isHydrated=!0,QD(r.debugMode,"".concat(r.storageName," - isHydrated:"),r.isHydrated)})),e&&this.startPersisting(),[2]}}))}))},e.prototype.startPersisting=function(){var e=this;if(this.storageAdapter&&this.target&&!this.cancelWatch){var t=this.target;this.cancelWatch=(0,sc.mJ)((function(){var n={};return e.properties.forEach((function(e){var r=(0,sc.H8)(t,e.key),i=(0,sc.ve)(t[e.key]);if(String(e.key),String(e.key),!r&&!i){var o=e.serialize(t[e.key]);if(o instanceof sc.Es){var a=[];o.forEach((function(e,t){a.push([t,(0,sc.HO)(e)])})),o=a}n[e.key]=(0,sc.HO)(o)}})),n}),(function(t){return tN(e,void 0,void 0,(function(){return nN(this,(function(e){switch(e.label){case 0:return this.storageAdapter?[4,this.storageAdapter.setItem(this.storageName,t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}),this.reactionOptions),this.isPersisting=!0,QD(this.debugMode,"".concat(this.storageName," - (startPersisting) isPersisting:"),this.isPersisting)}},e.prototype.pausePersisting=function(){this.isPersisting=!1,QD(this.debugMode,"".concat(this.storageName," - pausePersisting (isPersisting):"),this.isPersisting),this.cancelWatch&&(this.cancelWatch(),this.cancelWatch=null)},e.prototype.stopPersisting=function(){this.pausePersisting(),QD(this.debugMode,"".concat(this.storageName," - (stopPersisting)")),qD.delete(this.target),this.cancelWatch=null,this.properties=[],this.reactionOptions={},this.storageAdapter=null,this.target=null},e.prototype.clearPersistedStore=function(){return tN(this,void 0,void 0,(function(){return nN(this,(function(e){switch(e.label){case 0:return this.storageAdapter?(QD(this.debugMode,"".concat(this.storageName," - (clearPersistedStore)")),[4,this.storageAdapter.removeItem(this.storageName)]):[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.getPersistedStore=function(){return tN(this,void 0,void 0,(function(){return nN(this,(function(e){return this.storageAdapter?(QD(this.debugMode,"".concat(this.storageName," - (getPersistedStore)")),[2,this.storageAdapter.getItem(this.storageName)]):[2,null]}))}))},e}(),iN=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},oN=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},aN=function(e,t,n){return iN(void 0,void 0,void 0,(function(){var r;return oN(this,(function(i){return r=new rN(e,t,n),Array.from(qD.values()).map((function(e){return e.storageName})).includes(r.storageName),r.storageName,function(e,t){qD.set(e,t)}(e,r),[2,r.init()]}))}))};const sN={alerts:[]},lN="accountGlobalAlert",cN=async e=>{try{const t=hl.db.collection(lN),n=await t.doc(e).get();if(n.exists){return n.data()}}catch(t){ds.o.track("ERROR_FIREBASE_GET_ACCOUNT_GLOBAL_ALERT",{e:t})}return null};const uN=class{constructor(e){this.activeGlobalAlerts=sc.sH.map({}),this.loadingUser=!1,this.loggedUser=null,this.rootStore=void 0,this.setUser=async e=>{(0,fs.t)("setUser",e),this.loadingUser=!1,this.loggedUser=e},this.setLoadingUser=async e=>{this.loadingUser=e},this.setEmail=e=>{this.loggedUser&&(this.loggedUser.email=e)},this.setMarketingEmail=e=>{this.loggedUser&&(this.loggedUser.marketingEmail=e)},this.setWelcomeMessagePopupAcknowledged=e=>{this.loggedUser&&(this.loggedUser.welcomePopupAcknowledged=e)},this.setNewTermsAcknowledged=e=>{this.loggedUser&&(this.loggedUser.hasAcceptedTermsV2=e)},this.setPromotionAcknowledged=(e,t)=>{this.loggedUser&&(this.loggedUser.hasAcknowledgedPromotions||(this.loggedUser.hasAcknowledgedPromotions={}),this.loggedUser.hasAcknowledgedPromotions[e]=t)},this.setOptIn=e=>{this.loggedUser&&(this.loggedUser.emailOptIn=e)},this.setChildBalances=e=>{this.loggedUser&&((0,fs.t)("setting child account balances",e),this.loggedUser.childAccountBalances=null!==e&&void 0!==e?e:null)},this.setChildFTProviders=e=>{var t;null!==(t=this.loggedUser)&&void 0!==t&&t.childAccounts&&((0,fs.t)("setting child FT providers",e),this.loggedUser.childAccountFTProviders=e||null)},this.setChildAccountFTSummaries=e=>{var t;null!==(t=this.loggedUser)&&void 0!==t&&t.childAccounts&&((0,fs.t)("setting child account summaries",e),this.loggedUser.accountSummaries=e||null)},this.isLoggedUserHasBallance=(e,t)=>{var n,r;const i=(null===t||void 0===t?void 0:t.toUpperCase())||us.SupportedTokens.FLOW,o=Tf.su.tokens.getTokenIdentifier(i),a=null!==(n=this.loggedUser)&&void 0!==n&&null!==(r=n.balance)&&void 0!==r&&r.balances&&o in this.loggedUser.balance.balances?Number(this.loggedUser.balance.balances[o]):0;return Number(a)>=e},this.loadActiveGlobalAlerts=()=>{sN.alerts.map((async e=>{await this.isGlobalAlertVisible(e.id)&&(0,sc.hZ)(this.activeGlobalAlerts,e.id,e)}))},this.isGlobalAlertVisible=async e=>{var t;const n=null===(t=this.loggedUser)||void 0===t?void 0:t.addr;if(n){const t=sN.alerts.find((t=>t.id===e));if(t){if(!t.active)return!1;const r=await cN(n);if(r){const t=r.alerts[e];if(t)return!t.dismissed}return!0}throw new Error('Not found global alert config with id "'.concat(e,'"'))}return!!(0,sc.Jt)(this.activeGlobalAlerts,e)},this.globalAlertClose=async e=>{(0,sc.h5)((()=>{(0,sc.TF)(this.activeGlobalAlerts,e)}))},this.globalAlertDismiss=async e=>{var t;const n=null===(t=this.loggedUser)||void 0===t?void 0:t.addr;if(n){const t=await cN(n),r=(null===t||void 0===t?void 0:t.alerts)||{};r[e]={dismissed:!0,seen:!0},(async(e,t)=>{if(!e)throw Error("Not receiveed required parameter address!");try{hl.db.collection(lN).doc(e).set(t)}catch(n){ds.o.track("ERROR_FIREBASE_SET_ACCOUNT_GLOBAL_ALERT",{e:n})}})(n,{alerts:r}).then((()=>{(0,sc.TF)(this.activeGlobalAlerts,e)}))}},this.getAccountSummaryAddresses=()=>{var e;if(null===(e=this.loggedUser)||void 0===e||!e.addr)return[];const t=[this.loggedUser.addr||""];return this.loggedUser.accountSummaries&&Object.values(this.loggedUser.accountSummaries).forEach((e=>{t.push(e.address)})),t},(0,fs.t)("AuthStore constructor"),this.rootStore=e,(0,fs.t)(e),(0,sc.l_)(this),aN(this,{name:"AuthStore",properties:["loggedUser"],storage:window.localStorage}).then((async t=>{(0,fs.t)("AuthStore","res",t,t.target);const n=await new Promise((e=>{const t=wg(hl.j2,(n=>{t(),e(n)}),(n=>{ds.o.track("[PREVIEW 2-4233]ErrorOnAuthStateChanged",{err:n}),t(),e(null)}))}));rv(this.setUser,(t=>{const n=this.rootStore.flowNetworkStatus.errors.length>0?[...this.rootStore.flowNetworkStatus.errors,null===t||void 0===t?void 0:t.toString()]:[t];e.setFlowNetworkStatus({errors:n,healthy:!1})}),n,this.setLoadingUser)}))}setProfileImage(e){this.loggedUser&&(this.loggedUser.avatar=e)}setPreferredCardSize(e){this.loggedUser&&(this.loggedUser.preferredCardSize=e)}setUsername(e){this.loggedUser&&(this.loggedUser.userName=e)}setLinkedWalletImage(e,t){var n,r,i,o;null!==(n=this.loggedUser)&&void 0!==n&&null!==(r=n.accountSummaries)&&void 0!==r&&null!==(i=r[e])&&void 0!==i&&null!==(o=i.display)&&void 0!==o&&o.thumbnail&&(this.loggedUser.accountSummaries[e].display.thumbnail=t)}setLinkedWalletDisplayName(e,t){var n,r,i,o;null!==(n=this.loggedUser)&&void 0!==n&&null!==(r=n.accountSummaries)&&void 0!==r&&null!==(i=r[e])&&void 0!==i&&null!==(o=i.display)&&void 0!==o&&o.name&&(this.loggedUser.accountSummaries[e].display.name=t)}};const dN=class{constructor(){this.flowtyInitializedBlock=0,this.flowNetworkStatus={errors:[],healthy:!0},this.setFlowtyInitializedBlock=e=>{(0,sc.h5)((()=>{this.flowtyInitializedBlock=e}))},this.setFlowNetworkStatus=e=>{(0,sc.h5)((()=>{this.flowNetworkStatus=e}))},(0,sc.l_)(this)}};(0,fs.t)("stores/index");const hN=new dN,pN={authStore:new uN(hN),rootStore:hN},fN=()=>{(0,sa.useEffect)((()=>{const e=()=>{const e=document.createElement("div");e.style.overflowY="scroll",e.style.width="100vw",e.style.visibility="hidden",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;document.body.removeChild(e),document.documentElement.style.setProperty("--scrollbar-width","".concat(t,"px"))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[])},mN=()=>(fN(),(()=>{if(window.navigator.standalone||window.matchMedia("(display-mode: standalone)").matches){const e=/iphone|ipad|ipod/.test(window.navigator.userAgent.toLowerCase()),t=/android/.test(window.navigator.userAgent.toLowerCase()),n=e?"iOS":t?"android":"desktop";ds.o.track("PWA Launched",{device:n})}})(),(0,ms.jsx)(Ja,{children:(0,ms.jsx)(ua.Kq,{...pN,children:(0,ms.jsx)(Rs,{children:(0,ms.jsx)(ys.H,{children:(0,ms.jsx)(bs.e,{children:(0,ms.jsx)(fy,{children:(0,ms.jsx)(As,{children:(0,ms.jsx)(Ts,{children:(0,ms.jsx)(vs,{children:(0,ms.jsx)(WD,{})})})})})})})})})})),gN=e=>{e&&e instanceof Function&&__webpack_require__.e(78).then(__webpack_require__.bind(__webpack_require__,31078)).then((t=>{let{getCLS:n,getFID:r,getFCP:i,getLCP:o,getTTFB:a}=t;n(e),r(e),i(e),o(e),a(e)}))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));ss.kO&&(!function(e){const t={...e};tn(t,"react"),Ir(t)}({dsn:ss.kO,integrations:[new aa({tracePropagationTargets:[]})],tracesSampleRate:1}),window.addEventListener("error",(function(e){Pe((t=>{Te(e.error)}))})));const vN=document.getElementById("root");if(null===vN)throw new Error("Unable to find app container root");(0,la.H)(vN).render((0,ms.jsx)(sa.StrictMode,{children:(0,ms.jsx)(ca.Kd,{children:(0,ms.jsx)(mN,{})})})),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((e=>{e.unregister()})).catch((e=>{console.error(e.message)})),gN()})()})();
//# sourceMappingURL=main.fed046ad.js.map