PageSourceSearch

https://religiondatabase.org/static/js/9128.cab04c83.chunk.js

js religiondatabase.org collected 2026-09-24 19:23:12 UTC 103,255 bytes, 3 lines download raw bytes

1/*! For license information please see 9128.cab04c83.chunk.js.LICENSE.txt */
2(self.webpackChunkdrh_web=self.webpackChunkdrh_web||[]).push([[9128],{49974(e,t,n){"use strict";n.d(t,{K:()=>i});var r=n(65043),o=n(24858),i=function(e){var t=e.as,n=e.errors,i=e.name,a=e.message,s=e.render,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["as","errors","name","message","render"]),l=(0,o.xW)(),c=(0,o.Jt)(n||l.formState.errors,i);if(!c)return null;var f=c.message,h=c.types,d=Object.assign({},u,{children:f||a});return r.isValidElement(t)?r.cloneElement(t,d):s?s({message:f||a,messages:h}):r.createElement(t||r.Fragment,d)}},51622(e,t,n){"use strict";n.d(t,{W:()=>r,_:()=>l});var r,o=n(65043);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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e){return e}function s(e){return"translate("+e+",0)"}function u(e){return"translate(0,"+e+")"}!function(e){e[e.top=1]="top",e[e.right=2]="right",e[e.bottom=3]="bottom",e[e.left=4]="left"}(r||(r={}));var l=function(e){var t,n,l=e.scale,c=e.ticks,f=e.tickArguments,h=void 0===f?[]:f,d=e.tickValues,p=void 0===d?null:d,m=e.tickFormat,g=void 0===m?null:m,y=e.tickSize,v=e.tickSizeInner,b=void 0===v?6:v,w=e.tickSizeOuter,_=void 0===w?6:w,E=e.tickPadding,k=void 0===E?3:E,S=e.tickTextProps,x=void 0===S?{}:S,T=e.tickLineProps,O=void 0===T?{}:T,A=e.domainPathProps,C=void 0===A?{}:A,R=e.orient,L=void 0===R?r.bottom:R,N=e.offset,D=void 0===N?"undefined"!==typeof window&&window.devicePixelRatio>1?0:.5:N;y&&(b=y,_=y),c&&(h=c);var M=L===r.top||L===r.left?-1:1,I=L===r.left||L===r.right?"x":"y",P=L===r.top||L===r.bottom?s:u,F=null==p?l.ticks?l.ticks.apply(l,h):l.domain():p,j=null==g?"tickFormat"in l?l.tickFormat.apply(l,h):a:g,z=Math.max(b,0)+k,U=l.range(),H=+U[0]+D,q=+U[U.length-1]+D,B=(l.bandwidth?function(e,t){return e.bandwidth&&(t=Math.max(0,e.bandwidth()-2*t)/2),e.round()&&(t=Math.round(t)),function(n){var r=e(n);return void 0===r?0:r+t}}:function(e){return function(t){var n=e(t);return void 0===n?0:+n}})(l.copy(),D),W=L===r.left||L===r.right?_?"M"+M*_+","+H+"H"+D+"V"+q+"H"+M*_:"M"+D+","+H+"V"+q:_?"M"+H+","+M*_+"V"+D+"H"+q+"V"+M*_:"M"+H+","+D+"H"+q,G=((t={})[I+"2"]=M*b,t),V=((n={})[I]=M*z,n);return o.createElement("g",null,F.map(function(e,t){return o.createElement("g",{className:"tick",key:t,transform:P(B(e)+D)},O&&o.createElement("line",i({stroke:"currentColor"},G,O)),x&&o.createElement("text",i({fill:"currentColor",dy:L===r.top?"0em":L===r.bottom?"0.71em":"0.32em",fontSize:"10",fontFamily:"sans-serif",textAnchor:L===r.right?"start":L===r.left?"end":"middle"},V,x),j(e)))}),C&&o.createElement("path",i({className:"domain",stroke:"currentColor",fill:"transparent",d:W},C)))}},44139(e,t){!function(e){"use strict";function t(e,t){return n(e)||r(e,t)||o()}function n(e){if(Array.isArray(e))return e}function r(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(e,t,n,r){e=e.filter(function(e,r){var o=t(e,r),i=n(e,r);return null!=o&&isFinite(o)&&null!=i&&isFinite(i)}),r&&e.sort(function(e,n){return t(e)-t(n)});for(var o,i,a,s=e.length,u=new Float64Array(s),l=new Float64Array(s),c=0,f=0,h=0;h<s;)a=e[h],u[h]=o=+t(a,h,e),l[h]=i=+n(a,h,e),c+=(o-c)/++h,f+=(i-f)/h;for(var d=0;d<s;++d)u[d]-=c,l[d]-=f;return[u,l,c,f]}function a(e,t,n,r){for(var o=0,i=0,a=e.length;i<a;i++){var s=e[i],u=+t(s,i,e),l=+n(s,i,e);null!=u&&isFinite(u)&&null!=l&&isFinite(l)&&r(u,l,o++)}}function s(e,t,n,r,o){var i=0,s=0;return a(e,t,n,function(e,t){var n=t-o(e),a=t-r;i+=n*n,s+=a*a}),1-i/s}function u(e){return 180*Math.atan2(e[1][1]-e[0][1],e[1][0]-e[0][0])/Math.PI}function l(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}
2function c(e,t,n){for(var r=Math.log(t-e)*Math.LOG10E+1|0,o=1*Math.pow(10,-r/2-1),i=1e4,a=[c(e),c(t)],s=0;f(a)&&s<i;);return a;function c(e){return[e,n(e)]}function f(e){s++;for(var t=e.length,n=!1,r=0;r<t-1;r++){var i=e[r],a=l([i,e[r+1]]),f=c(a[0]),h=u([i,a]),d=u([i,f]);Math.abs(h-d)>o&&(e.splice(r+1,0,f),n=!0)}return n}}function f(e,t,n,r){var o=r-e*e,i=Math.abs(o)<1e-24?0:(n-e*t)/o;return[t-i*e,i]}function h(){var e,n=function(e){return e[0]},r=function(e){return e[1]};function o(o){var i=0,u=0,l=0,h=0,d=0,p=0,m=e?+e[0]:1/0,g=e?+e[1]:-1/0;a(o,n,r,function(t,n){var r=Math.log(n),o=t*n;++i,u+=(n-u)/i,h+=(o-h)/i,p+=(t*o-p)/i,l+=(n*r-l)/i,d+=(o*r-d)/i,e||(t<m&&(m=t),t>g&&(g=t))});var y=t(f(h/u,l/u,d/u,p/u),2),v=y[0],b=y[1];v=Math.exp(v);var w=function(e){return v*Math.exp(b*e)},_=c(m,g,w);return _.a=v,_.b=b,_.predict=w,_.rSquared=s(o,n,r,u,w),_}return o.domain=function(t){return arguments.length?(e=t,o):e},o.x=function(e){return arguments.length?(n=e,o):n},o.y=function(e){return arguments.length?(r=e,o):r},o}function d(){var e,n=function(e){return e[0]},r=function(e){return e[1]};function o(o){var i=0,u=0,l=0,c=0,h=0,d=e?+e[0]:1/0,p=e?+e[1]:-1/0;a(o,n,r,function(t,n){++i,u+=(t-u)/i,l+=(n-l)/i,c+=(t*n-c)/i,h+=(t*t-h)/i,e||(t<d&&(d=t),t>p&&(p=t))});var m=t(f(u,l,c,h),2),g=m[0],y=m[1],v=function(e){return y*e+g},b=[[d,v(d)],[p,v(p)]];return b.a=y,b.b=g,b.predict=v,b.rSquared=s(o,n,r,l,v),b}return o.domain=function(t){return arguments.length?(e=t,o):e},o.x=function(e){return arguments.length?(n=e,o):n},o.y=function(e){return arguments.length?(r=e,o):r},o}function p(e){e.sort(function(e,t){return e-t});var t=e.length/2;return t%1===0?(e[t-1]+e[t])/2:e[Math.floor(t)]}var m=2,g=1e-12;function y(){var e=function(e){return e[0]},n=function(e){return e[1]},r=.3;function o(o){for(var a=t(i(o,e,n,!0),4),s=a[0],u=a[1],l=a[2],c=a[3],h=s.length,d=Math.max(2,~~(r*h)),y=new Float64Array(h),_=new Float64Array(h),E=new Float64Array(h).fill(1),k=-1;++k<=m;){for(var S=[0,d-1],x=0;x<h;++x){for(var T=s[x],O=S[0],A=S[1],C=T-s[O]>s[A]-T?O:A,R=0,L=0,N=0,D=0,M=0,I=1/Math.abs(s[C]-T||1),P=O;P<=A;++P){var F=s[P],j=u[P],z=v(Math.abs(T-F)*I)*E[P],U=F*z;R+=z,L+=U,N+=j*z,D+=j*U,M+=F*U}var H=t(f(L/R,N/R,D/R,M/R),2),q=H[0],B=H[1];y[x]=q+B*T,_[x]=Math.abs(u[x]-y[x]),b(s,x+1,S)}if(k===m)break;var W=p(_);if(Math.abs(W)<g)break;for(var G,V,$=0;$<h;++$)G=_[$]/(6*W),E[$]=G>=1?g:(V=1-G*G)*V}return w(s,y,l,c)}return o.bandwidth=function(e){return arguments.length?(r=e,o):r},o.x=function(t){return arguments.length?(e=t,o):e},o.y=function(e){return arguments.length?(n=e,o):n},o}function v(e){return(e=1-e*e*e)*e*e}function b(e,t,n){var r=e[t],o=n[0],i=n[1]+1;if(!(i>=e.length))for(;t>o&&e[i]-r<=r-e[o];)n[0]=++o,n[1]=i,++i}function w(e,t,n,r){for(var o,i=e.length,a=[],s=0,u=0,l=[];s<i;++s)o=e[s]+n,l[0]===o?l[1]+=(t[s]-l[1])/++u:(u=0,l[1]+=r,l=[o,t[s]],a.push(l));return l[1]+=r,a}function _(){var e,n=function(e){return e[0]},r=function(e){return e[1]},o=Math.E;function i(i){var u=0,l=0,h=0,d=0,p=0,m=e?+e[0]:1/0,g=e?+e[1]:-1/0,y=Math.log(o);a(i,n,r,function(t,n){var r=Math.log(t)/y;++u,l+=(r-l)/u,h+=(n-h)/u,d+=(r*n-d)/u,p+=(r*r-p)/u,e||(t<m&&(m=t),t>g&&(g=t))});var v=t(f(l,h,d,p),2),b=v[0],w=v[1],_=function(e){return w*Math.log(e)/y+b},E=c(m,g,_);return E.a=w,E.b=b,E.predict=_,E.rSquared=s(i,n,r,h,_),E}return i.domain=function(t){return arguments.length?(e=t,i):e},i.x=function(e){return arguments.length?(n=e,i):n},i.y=function(e){return arguments.length?(r=e,i):r},i.base=function(e){return arguments.length?(o=e,i):o},i}function E(){var e,n=function(e){return e[0]},r=function(e){return e[1]};function o(o){var u,l,f,h,d=t(i(o,n,r),4),p=d[0],m=d[1],g=d[2],y=d[3],v=p.length,b=0,w=0,_=0,E=0,k=0;for(u=0;u<v;)l=p[u],f=m[u++],b+=((h=l*l)-b)/u,w+=(h*l-w)/u,_+=(h*h-_)/u,E+=(l*f-E)/u,k+=(h*f-k)/u;var S=0,x=0,T=e?+e[0]:1/0,O=e?+e[1]:-1/0;a(o,n,r,function(t,n){x++,S+=(n-S)/x,e||(t<T&&(T=t),t>O&&(O=t))});var A=_-b*b,C=b*A-w*w,R=(k*b-E*w)/C,L=(E*A-k*w)/C,N=-R*b,D=function(e){return R*(e-=g)*e+L*e+N+y},M=c(T,O,D);return M.a=R,M.b=L-2*R*g,M.c=N-L*g+R*g*g+y,M.predict=D,M.rSquared=s(o,n,r,S,D),M}return o.domain=function(t){return arguments.length?(e=t,o):e},o.x=function(e){return arguments.length?(n=e,o):n},o.y=function(e){return arguments.length?(r=e,o):r},o}function k(){var e,n=function(e){return e[0]},r=function(e){return e[1]},o=3;function u(u){if(1===o){var l=d().x(n).y(r).domain(e)(u);return l.coefficients=[l.b,l.a],delete l.a,delete l.b,l}if(2===o){var f=E().x(n).y(r).domain(e)(u);return f.coefficients=[f.c,f.b,f.a],delete f.a,delete f.b,delete f.c,f}
2var h,p,m,g,y,v=t(i(u,n,r),4),b=v[0],w=v[1],_=v[2],k=v[3],T=b.length,O=[],A=[],C=o+1,R=0,L=0,N=e?+e[0]:1/0,D=e?+e[1]:-1/0;for(a(u,n,r,function(t,n){++L,R+=(n-R)/L,e||(t<N&&(N=t),t>D&&(D=t))}),h=0;h<C;++h){for(m=0,g=0;m<T;++m)g+=Math.pow(b[m],h)*w[m];for(O.push(g),y=new Float64Array(C),p=0;p<C;++p){for(m=0,g=0;m<T;++m)g+=Math.pow(b[m],h+p);y[p]=g}A.push(y)}A.push(O);var M=x(A),I=function(e){e-=_;var t=k+M[0]+M[1]*e+M[2]*e*e;for(h=3;h<C;++h)t+=M[h]*Math.pow(e,h);return t},P=c(N,D,I);return P.coefficients=S(C,M,-_,k),P.predict=I,P.rSquared=s(u,n,r,R,I),P}return u.domain=function(t){return arguments.length?(e=t,u):e},u.x=function(e){return arguments.length?(n=e,u):n},u.y=function(e){return arguments.length?(r=e,u):r},u.order=function(e){return arguments.length?(o=e,u):o},u}function S(e,t,n,r){var o,i,a,s,u=Array(e);for(o=0;o<e;++o)u[o]=0;for(o=e-1;o>=0;--o)for(a=t[o],s=1,u[o]+=a,i=1;i<=o;++i)s*=(o+1-i)/i,u[o-i]+=a*Math.pow(n,i)*s;return u[0]+=r,u}function x(e){var t,n,r,o,i,a=e.length-1,s=[];for(t=0;t<a;++t){for(o=t,n=t+1;n<a;++n)Math.abs(e[t][n])>Math.abs(e[t][o])&&(o=n);for(r=t;r<a+1;++r)i=e[r][t],e[r][t]=e[r][o],e[r][o]=i;for(n=t+1;n<a;++n)for(r=a;r>=t;r--)e[r][n]-=e[r][t]*e[t][n]/e[t][t]}for(n=a-1;n>=0;--n){for(i=0,r=n+1;r<a;++r)i+=e[r][n]*s[r];s[n]=(e[a][n]-i)/e[n][n]}return s}function T(){var e,n=function(e){return e[0]},r=function(e){return e[1]};function o(o){var i=0,u=0,l=0,h=0,d=0,p=0,m=e?+e[0]:1/0,g=e?+e[1]:-1/0;a(o,n,r,function(t,n){var r=Math.log(t),o=Math.log(n);++i,u+=(r-u)/i,l+=(o-l)/i,h+=(r*o-h)/i,d+=(r*r-d)/i,p+=(n-p)/i,e||(t<m&&(m=t),t>g&&(g=t))});var y=t(f(u,l,h,d),2),v=y[0],b=y[1];v=Math.exp(v);var w=function(e){return v*Math.pow(e,b)},_=c(m,g,w);return _.a=v,_.b=b,_.predict=w,_.rSquared=s(o,n,r,p,w),_}return o.domain=function(t){return arguments.length?(e=t,o):e},o.x=function(e){return arguments.length?(n=e,o):n},o.y=function(e){return arguments.length?(r=e,o):r},o}e.regressionExp=h,e.regressionLinear=d,e.regressionLoess=y,e.regressionLog=_,e.regressionPoly=k,e.regressionPow=T,e.regressionQuad=E,Object.defineProperty(e,"__esModule",{value:!0})}(t)},55316(e,t,n){"use strict";n.d(t,{$E:()=>V,YI:()=>W});const r=(()=>{let e=0;return()=>(e+=1,"u".concat("0000".concat((Math.random()*36**4|0).toString(36)).slice(-4)).concat(e))})();function o(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let i=null;function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i||(e.includeStyleProperties?(i=e.includeStyleProperties,i):(i=o(window.getComputedStyle(document.documentElement)),i))}function s(e,t){const n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{width:t.width||function(e){const t=s(e,"border-left-width"),n=s(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){const t=s(e,"border-top-width"),n=s(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}const l=16384;function c(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function f(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width","".concat(t)),o.setAttribute("height","".concat(n)),o.setAttribute("viewBox","0 0 ".concat(t," ").concat(n)),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),async function(e){return Promise.resolve().then(()=>(new XMLSerializer).serializeToString(e)).then(encodeURIComponent).then(e=>"data:image/svg+xml;charset=utf-8,".concat(e))}(o)}const h=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||h(n,t))};function d(e,t,n,r){const o=".".concat(e,":").concat(t),i=n.cssText?function(e){const t=e.getPropertyValue("content");return"".concat(e.cssText," content: '").concat(t.replace(/'|"/g,""),"';")}(n):function(e,t){return a(t).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return"".concat(t,": ").concat(n).concat(r?" !important":"",";")}).join(" ")}(n,r);
2return document.createTextNode("".concat(o,"{").concat(i,"}"))}function p(e,t,n,o){const i=window.getComputedStyle(e,n),a=i.getPropertyValue("content");if(""===a||"none"===a)return;const s=r();try{t.className="".concat(t.className," ").concat(s)}catch(l){return}const u=document.createElement("style");u.appendChild(d(s,n,i,o)),t.appendChild(u)}const m="application/font-woff",g="image/jpeg",y={woff:m,woff2:m,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:g,jpeg:g,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function v(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return y[t]||""}function b(e){return-1!==e.search(/^(data:)/)}function w(e,t){return"data:".concat(t,";base64,").concat(e)}async function _(e,t,n){const r=await fetch(e,t);if(404===r.status)throw new Error('Resource "'.concat(r.url,'" not found'));const o=await r.blob();return new Promise((e,t)=>{const i=new FileReader;i.onerror=t,i.onloadend=()=>{try{e(n({res:r,result:i.result}))}catch(o){t(o)}},i.readAsDataURL(o)})}const E={};async function k(e,t,n){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?"[".concat(t,"]").concat(r):r}(e,t,n.includeQueryParams);if(null!=E[r])return E[r];let o;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=await _(e,n.fetchRequestInit,e=>{let n=e.res,r=e.result;return t||(t=n.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(r)});o=w(r,t)}catch(i){o=n.imagePlaceholder||"";let t="Failed to fetch resource: ".concat(e);i&&(t="string"===typeof i?i:i.message),t&&console.warn(t)}return E[r]=o,o}async function S(e,t){return h(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):c(t)}(e):h(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null===n||void 0===n||n.drawImage(e,0,0,t.width,t.height),c(t.toDataURL())}const n=e.poster,r=v(n);return c(await k(n,r,t))}(e,t):h(e,HTMLIFrameElement)?async function(e,t){var n;try{if(null===(n=null===e||void 0===e?void 0:e.contentDocument)||void 0===n?void 0:n.body)return await O(e.contentDocument.body,t,!0)}catch(r){}return e.cloneNode(!1)}(e,t):e.cloneNode(x(e))}const x=e=>null!=e.tagName&&"SVG"===e.tagName.toUpperCase();function T(e,t,n){return h(t,Element)&&(function(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):a(n).forEach(n=>{let i=o.getPropertyValue(n);if("font-size"===n&&i.endsWith("px")){const e=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i="".concat(e,"px")}h(e,HTMLIFrameElement)&&"display"===n&&"inline"===i&&(i="block"),"d"===n&&t.getAttribute("d")&&(i="path(".concat(t.getAttribute("d"),")")),r.setProperty(n,i,o.getPropertyPriority(n))})}(e,t,n),function(e,t,n){p(e,t,":before",n),p(e,t,":after",n)}(e,t,n),function(e,t){h(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),h(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(h(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(t=>e.value===t.getAttribute("value"));r&&r.setAttribute("selected","")}}(e,t)),t}async function O(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then(e=>S(e,t)).then(n=>async function(e,t,n){var r,i;if(x(t))return t;let a=[];var s;return a=null!=(s=e).tagName&&"SLOT"===s.tagName.toUpperCase()&&e.assignedNodes?o(e.assignedNodes()):h(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?o(e.contentDocument.body.childNodes):o((null!==(i=e.shadowRoot)&&void 0!==i?i:e).childNodes),0===a.length||h(e,HTMLVideoElement)||await a.reduce((e,r)=>e.then(()=>O(r,n)).then(e=>{e&&t.appendChild(e)}),Promise.resolve()),t}(e,n,t)).then(n=>T(e,n,t)).then(e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let i=0;i<n.length;i++){const o=n[i].getAttribute("xlink:href");if(o){const n=e.querySelector(o),i=document.querySelector(o);n||!i||r[o]||(r[o]=await O(i,t,!0))}}const o=Object.values(r);if(o.length){const t="http://www.w3.org/1999/xhtml",n=document.createElementNS(t,"svg");n.setAttribute("xmlns",t),n.style.position="absolute",n.style.width="0",n.style.height="0",n.style.overflow="hidden",n.style.display="none";const r=document.createElementNS(t,"defs");n.appendChild(r);for(let e=0;e<o.length;e++)r.appendChild(o[e]);e.appendChild(n)}return e}(e,t)):null}var A=n(3453);const C=/url\((['"]?)([^'"]+?)\1\)/g,R=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,L=/src:\s
2*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function N(e,t,n,r,o){try{const i=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}(t,n):t,a=v(t);let s;if(o){s=w(await o(i),a)}else s=await k(i,a,r);return e.replace(function(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp("(url\\(['\"]?)(".concat(t,")(['\"]?\\))"),"g")}(t),"$1".concat(s,"$3"))}catch(i){}return e}function D(e){return-1!==e.search(C)}async function M(e,t,n){if(!D(e))return e;const r=function(e,t){let n=t.preferredFontFormat;return n?e.replace(L,e=>{for(;;){const t=R.exec(e)||[],r=(0,A.A)(t,3),o=r[0],i=r[2];if(!i)return"";if(i===n)return"src: ".concat(o,";")}}):e}(e,n),o=function(e){const t=[];return e.replace(C,(e,n,r)=>(t.push(r),e)),t.filter(e=>!b(e))}(r);return o.reduce((e,r)=>e.then(e=>N(e,r,t,n)),Promise.resolve(r))}async function I(e,t,n){var r;const o=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(o){const r=await M(o,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function P(e,t){h(e,Element)&&(await async function(e,t){await I("background",e,t)||await I("background-image",e,t),await I("mask",e,t)||await I("-webkit-mask",e,t)||await I("mask-image",e,t)||await I("-webkit-mask-image",e,t)}(e,t),await async function(e,t){const n=h(e,HTMLImageElement);if((!n||b(e.src))&&(!h(e,SVGImageElement)||b(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await k(r,v(r),t);await new Promise((r,i)=>{e.onload=r,e.onerror=t.onImageErrorHandler?function(){try{r(t.onImageErrorHandler(...arguments))}catch(e){i(e)}}:i;const a=e;a.decode&&(a.decode=r),"lazy"===a.loading&&(a.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}(e,t),await async function(e,t){const n=o(e.childNodes).map(e=>P(e,t));await Promise.all(n).then(()=>e)}(e,t))}const F={};async function j(e){let t=F[e];if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},F[e]=t,t}async function z(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async o=>{let i=o.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),_(i,t.fetchRequestInit,e=>{let t=e.result;return n=n.replace(o,"url(".concat(t,")")),[o,t]})});return Promise.all(o).then(()=>n)}function U(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)}
2)","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=o.exec(n);if(null===e){if(e=i.exec(n),null===e)break;o.lastIndex=i.lastIndex}else i.lastIndex=o.lastIndex;t.push(e[0])}return t}async function H(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=o(e.ownerDocument.styleSheets),r=await async function(e,t){const n=[],r=[];return e.forEach(n=>{if("cssRules"in n)try{o(n.cssRules||[]).forEach((e,o)=>{if(e.type===CSSRule.IMPORT_RULE){let i=o+1;const a=j(e.href).then(e=>z(e,t)).then(e=>U(e).forEach(e=>{try{n.insertRule(e,e.startsWith("@import")?i+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})).catch(e=>{console.error("Error loading remote css",e.toString())});r.push(a)}})}catch(i){const o=e.find(e=>null==e.href)||document.styleSheets[0];null!=n.href&&r.push(j(n.href).then(e=>z(e,t)).then(e=>U(e).forEach(e=>{o.insertRule(e,o.cssRules.length)})).catch(e=>{console.error("Error loading remote stylesheet",e)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(e.forEach(e=>{if("cssRules"in e)try{o(e.cssRules||[]).forEach(e=>{n.push(e)})}catch(t){console.error("Error while reading CSS rules from ".concat(e.href),t)}}),n))}(n,t);return function(e){return e.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>D(e.style.getPropertyValue("src")))}(r)}function q(e){return e.trim().replace(/["']/g,"")}async function B(e,t){const n=await H(e,t),r=function(e){const t=new Set;return function e(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(e=>{t.add(q(e))}),Array.from(n.children).forEach(t=>{t instanceof HTMLElement&&e(t)}
2)}(e),t}(e);return(await Promise.all(n.filter(e=>r.has(q(e.style.fontFamily))).map(e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return M(e.cssText,n,t)}))).join("\n")}async function W(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=u(e,t),r=n.width,o=n.height,i=await O(e,t,!0);await async function(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await B(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}(i,t),await P(i,t),function(e,t){const n=e.style;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width="".concat(t.width,"px")),t.height&&(n.height="".concat(t.height,"px"));const r=t.style;null!=r&&Object.keys(r).forEach(e=>{n[e]=r[e]})}(i,t);return await f(i,r,o)}async function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=u(e,t),r=n.width,o=n.height,i=await W(e,t),a=await c(i),s=document.createElement("canvas"),f=s.getContext("2d"),h=t.pixelRatio||function(){let e,t;try{t=process}catch(r){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),d=t.canvasWidth||r,p=t.canvasHeight||o;return s.width=d*h,s.height=p*h,t.skipAutoScale||function(e){(e.width>l||e.height>l)&&(e.width>l&&e.height>l?e.width>e.height?(e.height*=l/e.width,e.width=l):(e.width*=l/e.height,e.height=l):e.width>l?(e.height*=l/e.width,e.width=l):(e.width*=l/e.height,e.height=l))}(s),s.style.width="".concat(d),s.style.height="".concat(p),t.backgroundColor&&(f.fillStyle=t.backgroundColor,f.fillRect(0,0,s.width,s.height)),f.drawImage(a,0,0,s.width,s.height),s}async function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(await G(e,t)).toDataURL()}},39685(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return 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="./src/index.js")}({
2"./src/exception.js":function(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)}function o(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,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function a(e){var t=l();return function(){var n,o=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){var t="function"===typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},s(e)}function u(e,t,n){return u=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o},u.apply(null,arguments)}function l(){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}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}n.r(t),n.d(t,"DownloadException",function(){return h}),n.d(t,"downloadException",function(){return d});var h=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(s,e);var t,n,r,i=a(s);function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=i.call(this,"Downloader error: ".concat(e))).request=t,n.name="DownloadException",n}return t=s,n&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(s(Error)),d=h},
vendor: 4,321 bytes, line 2
2"./src/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/exception.js"),o=n("./src/signatures.js");function i(e){return i="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},i(e)}function a(){a=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new O(o||[]);return r(a,"_invoke",{value:k(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(R){return{type:"throw",arg:R}}}e.wrap=f;var d={};function p(){}function m(){}function g(){}var y={};c(y,s,function(){return this});var v=Object.getPrototypeOf,b=v&&v(v(A([])));b&&b!==t&&n.call(b,s)&&(y=b);var w=g.prototype=p.prototype=Object.create(y);function _(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){function o(r,a,s,u){var l=h(e[r],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){o("next",e,s,u)},function(e){o("throw",e,s,u)}):t.resolve(f).then(function(e){c.value=e,s(c)},function(e){return o("throw",e,s,u)})}u(l.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){o(e,n,t,r)})}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=h(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=h(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function A(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=g,r(w,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:m,configurable:!0}),m.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},_(E.prototype),c(E.prototype,u,function(){return this}),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Prom
2ise);var a=new E(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},_(w),c(w,l,"Generator"),c(w,s,function(){return this}),c(w,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function s(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,u,"next",e)}function u(e){s(i,r,o,a,u,"throw",e)}a(void 0)})}}function l(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,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}var f={timeout:4e4,headers:[],forceDesktopMode:!1,autoStart:!0,withCredentials:!1,method:"GET",nameCallback:function(e){return e},contentType:"application/x-www-form-urlencoded",body:null,nativeFallbackOnError:!1,contentTypeDetermination:!1},h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.params=Object.assign({},f,t),this.link=this.createLink(),this.request=null,this.downloadedFile=null,this.abortController=void 0,this.params.autoStart?this.downloadFile():this}var t,n,i;return t=e,n=[{key:"start",value:function(){return this.downloadFile()}},{key:"abort",value:function(e){this.abortController&&this.abortController.abort(e||"Download cancelled")}},{key:"downloadFile",value:function(){var e=this;return new Promise(function(t,n){e.initDownload(t,n)})}},{key:"setAbortListner",value:function(e){this.abortController&&this.abortController.signal.addEventListener("abort",e)}},{key:"unsetAbortListner",value:function(e){this.abortController&&this.abortController.signal.removeEventListener("abort",e)}},{key:"initDownload",value:function(e,t){var n=this,o=function(){n.link.target="_blank",n.link.href=n.params.url,n.clickLink()};if(!("download"in this.link)||this.isMobile())return o(),e();this.request=this.createRequest(),this.abortController="AbortController"in window?new AbortController:null;var i=function e(r){var o=r.target;n.unsetAbortListner(e),n.request&&n.request.abort(),t(o.reason)};return this.setAbortListner(i),this.params.url?(this.request.onload=u(a().mark(function o(){return a().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(n.unsetAbortListner(i),200===parseInt(n.request.status,10)){o.next=3;break}return o.abrupt("return",t(new r.DownloadException("status code [".concat(n.request.status,"]"),n.request)));case 3:return o.next=5,n.startDownload();case 5:return o.abrupt("return",e(n));case 6:case"end":return o.stop()}},o)})),this.request.ontimeout=function(){n.unsetAbortListner(i),t(new r.DownloadException("request timeout",n.request))},this.request.onerror=function(){n.unsetAbortListner(i),n.params.nativeFallbackOnError?(o(),e(n)):t(new r.DownloadException("network error",n.request))},this.request.send(this.params.body),this):t(new r.DownloadException("url param not defined!",this.request))}},{key:"isMobile",value:function(){return!this.params.forceDesktopMode&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},{key:"createRequest",value:function(){var e=new XMLHttpRequest;return e.open(this.params.method,this.params.url,!0),!1!==this.params.contentType&&e.setRequestHeader("Content-type",this.params.contentType),this.params.headers.forEac
2h(function(t){e.setRequestHeader(t.name,t.value)}),e.responseType="arraybuffer",this.params.process&&"function"===typeof this.params.process&&e.addEventListener("progress",this.params.process),this.params.onloadstart&&"function"===typeof this.params.onloadstart&&(e.onloadstart=this.params.onloadstart),e.timeout=this.params.timeout,e.withCredentials=!!this.params.withCredentials||!!this.params.includeCredentials,e}},{key:"getFileName",value:function(){if("string"===typeof this.params.filename)return this.params.filename;var e=this.request.getResponseHeader("Content-Disposition"),t=[];e&&(t=e.replace(/["']/g,"").match(/filename\*?=([^;]+)/));var n=t&&t.length>=1?t[1]:this.params.url.split("/").pop().split("?")[0];return this.params.nameCallback(n)}},{key:"getContentTypeFromFileSignature",value:function(e){var t=Object.assign({},o.fileSignatures,this.params.customFileSignatures);return new Promise(function(n,r){var o=new FileReader,i=e.slice(0,4);o.onloadend=function(e){if(e.target.readyState===FileReader.DONE){var o=new Uint8Array(e.target.result),i=[];o.forEach(function(e){i.push(e.toString(16))});var a=i.join("").toUpperCase();n(t[a])}else r()},o.onerror=r,o.readAsArrayBuffer(i)})}},{key:"getContentTypeFromResponseHeader",value:function(){return this.request.getResponseHeader("content-type")}},{key:"getContentType",value:function(e){var t=this;return new Promise(function(){var n=u(a().mark(function n(r){var o,i,s,u,l,c,f,h;return a().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(o=t.params.contentTypeDetermination,i="application/octet-stream","header"!==o&&"full"!==o||(s=t.getContentTypeFromResponseHeader()),"signature"!==o&&"full"!==o){n.next=7;break}return n.next=6,t.getContentTypeFromFileSignature(new Blob([e]));case 6:u=n.sent;case 7:r("header"===o?null!==(l=s)&&void 0!==l?l:i:"signature"===o?null!==(c=u)&&void 0!==c?c:i:"full"===o&&null!==(f=null!==(h=u)&&void 0!==h?h:s)&&void 0!==f?f:i);case 8:case"end":return n.stop()}},n)}));return function(e){return n.apply(this,arguments)}}())}},{key:"createLink",value:function(){var e=document.createElement("a");return e.style.display="none",e}},{key:"clickLink",value:function(){var e;try{e=new MouseEvent("click")}catch(t){(e=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}this.link.dispatchEvent(e)}},{key:"getFile",value:function(){var e=u(a().mark(function e(t,n){var r,o,i;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getContentType(t);case 2:r=e.sent,i={type:r};try{o=new File([t],n,i)}catch(a){(o=new Blob([t],i)).name=n,o.lastModifiedDate=new Date}return e.abrupt("return",o);case 6:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"startDownload",value:function(){var e=u(a().mark(function e(){var t,n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getFileName(),e.next=3,this.getFile(this.request.response,t);case 3:if(this.downloadedFile=e.sent,!("msSaveOrOpenBlob"in window.navigator)){e.next=6;break}return e.abrupt("return",window.navigator.msSaveOrOpenBlob(this.downloadedFile,t));case 6:return n=window.URL.createObjectURL(this.downloadedFile),this.link.href=n,this.link.download=t,this.clickLink(),setTimeout(function(){(window.URL||window.webkitURL||window).revokeObjectURL(n)},4e4),e.abrupt("return",this.downloadedFile);case 12:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}],n&&l(t.prototype,n),i&&l(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=h},
2"./src/signatures.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fileSignatures",function(){return r});var r={"89504E47":"image/png",25504446:"application/pdf"}}
vendor: 11,271 bytes, line 2
2}).default},e.exports=t()},5766(e,t){var n,r,o;r=[],n=function e(){var t,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{},r=!n.document&&!!n.postMessage,o=n.IS_PAPA_WORKER||!1,i={},a=0,s={};function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new d(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||(i=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,i)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&void 0!==(i=this._config.beforeFirstChunk(e))&&(e=i),this.isFirstChunk=!1,this._halted=!1,r=this._partialLine+e;var i=(this._partialLine="",this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=i.meta.cursor,this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),i&&i.data&&(this._rowCount+=i.data.length),r=this._finished||this._config.preview&&this._rowCount>=this._config.preview,o)n.postMessage({results:i,workerId:s.WORKER_ID,finished:r});else if(_(this._config.chunk)&&!t){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=i=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),this._completed||!r||!_(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||i&&i.meta.paused||this._nextChunk(),i}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):o&&this._config.error&&n.postMessage({workerId:s.WORKER_ID,error:e,finished:!1})}}function l(e){var t;(e=e||{}).chunkSize||(e.chunkSize=s.RemoteChunkSize),u.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=w(this._chunkLoaded,this),t.onerror=w(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e,n=this._config.downloadRequestHeaders;for(e in n)t.setRequestHeader(e,n[e])}var o;this._config.chunkSize&&(o=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+o));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function c(e){(e=e||{}).chunkSize||(e.chunkSize=s.LocalChunkSize),u.call(this,e);var t,n,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=w(this._chunkLoaded,this),t.onerror=w(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,o=(this._config.chunkSize&&(o=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,o)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;u.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,""),this._finished=!t,this.parseChunk(n)}}function h(e){u.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=w(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=w(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=w(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=w(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function d(e){var t,n,r,o,i=Math.pow(2,53),a=-i,u=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,f=0,h=0,d=!1,g=!1,y=[],v={data:[],errors:[],meta:{}};function w(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function E(){if(v&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+s.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(v.data=v.data.filter(function(e){return!w(e)})),k()){if(v)if(Array.isArray(v.data[0])){for(var t=0;k()&&t<v.data.length;t++)v.data[t].forEach(n);v.data.splice(0,1)}else v.data.forEach(n);function n(t,n){_(e.transformHeader)&&(t=e.transformHeader(t,n)),y.push(t)}}function o(t,n){for(var r=e.header?{}:[],o=0;o<t.length;o++){var s=o,c=t[o];c=((t,n)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&((e=>{if(u.test(e)&&(e=parseFloat(e),a<e&&e<i))return 1})(n)?parseFloat(n):l.test(n)?new Date(n):""===n?null:n):n)(s=e.header?o>=y.length?"__parsed_extra":y[o]:s,c=e.transform?e.transform(c,s):c),"__parsed_extra"===s?(r[s]=r[s]||[],r[s].push(c)):r[s]=c}return e.header&&(o>y.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+y.length+" fields but parsed "+o,h+n):o<y.length&&S("FieldMismatch","TooFewFields","Too few fields: expected "+y.length+" fields but parsed "+o,h+n)),r}var c;v&&(e.header||e.dynamicTyping||e.transform)&&(c=1,!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(o),c=v.data.length):v.data=o(v.data,0),e.header&&v.meta&&(v.meta.fields=y),h+=c)}function k(){return e.header&&0===y.length}function S(e,t,n,r){e={type:e,code:t,message:n},void 0!==r&&(e.row=r),v.errors.push(e)}_(e.step)&&(o=e.step,e.step=function(t){v=t,k()?E():(E(),0!==v.data.length&&(f+=t.data.length,e.preview&&f>e.preview?n.abort():(v.data=v.data[0],o(v,c))))}),this.parse=function(o,i,a){var u=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(o,u)),r=!1,e.delimiter?_(e.delimiter)&&(e.delimiter=e.delimiter(o),v.meta.delimiter=e.delimiter):((u=((t,n,r,o,i)=>{var a,u,l,c;i=i||[",","\t","|",";",s.RECORD_SEP,s.UNIT_SEP];for(var f=0;f<i.length;f++){for(var h,d=i[f],p=0,g=0,y=0,v=(l=void 0,new m({comments:o,delimiter:d,newline:n,preview:10}).parse(t)),b=0;b<v.data.length;b++)r&&w(v.data[b])?y++:(g+=h=v.data[b].length,void 0===l?l=h:0<h&&(p+=Math.abs(h-l),l=h));0<v.data.length&&(g/=v.data.length-y),(void 0===u||p<=u)&&(void 0===c||c<g)&&1.99<g&&(u=p,a=d,c=g)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=u.bestDelimiter:(r=!0,e.delimiter=s.DefaultDelimiter),v.meta.delimiter=e.delimiter),u=b(e),e.preview&&e.header&&u.preview++,t=o,n=new m(u),v=n.parse(t,i,a),E(),d?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,n.abort(),t=_(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(d=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return g},this.abort=function(){g=!0,n.abort(),v.meta.aborted=!0,_(e.complete)&&e.complete(v),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576),t=new RegExp(p(t)+"([^]*?)"+p(t),"gm");var n=(e=e.replace(t,"")).split("\r");if(e=1<(t=e.split("\n")).length&&t[0].length<n[0].length,1===n.length||e)return"\n";for(var r=0,o=0;o<n.length;o++)"\n"===n[o][0]&&r++;return r>=n.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t=(e=e||{}).delimiter,n=e.newline,r=e.comments,o=e.step,i=e.preview,a=e.fastMode,u=null,l=!1,c=null==e.quoteChar?'"':e.quoteChar,f=c;if(void 0!==e.escapeChar&&(f=e.escapeChar),("string"!=typeof t||-1<s.BAD_DELIMITERS.indexOf(t))&&(t=","),r===t)throw new Error("Comment character same as delimiter");!0===r?r="#":("string"!=typeof r||-1<s.BAD_DELIMITERS.indexOf(r))&&(r=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var h=0,d=!1;this.parse=function(s,m,g){if("string"!=typeof s)throw new Error("Input must be a string");var y=s.length,v=t.length,b=n.length,w=r.length,E=_(o),k=[],S=[],x=[],T=h=0;if(!s)return j();if(a||!1!==a&&-1===s.indexOf(c)){for(var O=s.split(n),A=0;A<O.length;A++){if(x=O[A],h+=x.length,A!==O.length-1)h+=n.length;else if(g)return j();if(!r||x.substring(0,w)!==r){if(E){if(k=[],M(x.split(t)),z(),d)return j()}else M(x.split(t));if(i&&i<=A)return k=k.slice(0,i),j(!0)}}return j()}for(var C=s.indexOf(t,h),R=s.indexOf(n,h),L=new RegExp(p(f)+p(c),"g"),N=s.indexOf(c,h);;)if(s[h]===c)for(N=h,h++;;){if(-1===(N=s.indexOf(c,N+1)))return g||S.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:h}),P();if(N===y-1)return P(s.substring(h,N).replace(L,c));if(c===f&&s[N+1]===f)N++;else if(c===f||0===N||s[N-1]!==f){-1!==C&&C<N+1&&(C=s.indexOf(t,N+1));var D=I(-1===(R=-1!==R&&R<N+1?s.indexOf(n,N+1):R)?C:Math.min(C,R));if(s.substr(N+1+D,v)===t){x.push(s.substring(h,N).replace(L,c)),s[h=N+1+D+v]!==c&&(N=s.indexOf(c,h)),C=s.indexOf(t,h),R=s.indexOf(n,h);break}
vendor: 4,852 bytes, line 2
2if(D=I(R),s.substring(N+1+D,N+1+D+b)===n){if(x.push(s.substring(h,N).replace(L,c)),F(N+1+D+b),C=s.indexOf(t,h),N=s.indexOf(c,h),E&&(z(),d))return j();if(i&&k.length>=i)return j(!0);break}S.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:h}),N++}}else if(r&&0===x.length&&s.substring(h,h+w)===r){if(-1===R)return j();h=R+b,R=s.indexOf(n,h),C=s.indexOf(t,h)}else if(-1!==C&&(C<R||-1===R))x.push(s.substring(h,C)),h=C+v,C=s.indexOf(t,h);else{if(-1===R)break;if(x.push(s.substring(h,R)),F(R+b),E&&(z(),d))return j();if(i&&k.length>=i)return j(!0)}return P();function M(e){k.push(e),T=h}function I(e){var t=0;return-1!==e&&(e=s.substring(N+1,e))&&""===e.trim()?e.length:t}function P(e){return g||(void 0===e&&(e=s.substring(h)),x.push(e),h=y,M(x),E&&z()),j()}function F(e){h=e,M(x),x=[],R=s.indexOf(n,h)}function j(r){if(e.header&&!m&&k.length&&!l){var o=k[0],i=Object.create(null),a=new Set(o);let t=!1;for(let n=0;n<o.length;n++){let r=o[n];if(i[r=_(e.transformHeader)?e.transformHeader(r,n):r]){let e,s=i[r];for(;e=r+"_"+s,s++,a.has(e););a.add(e),o[n]=e,i[r]++,t=!0,(u=null===u?{}:u)[e]=r}else i[r]=1,o[n]=r;a.add(r)}t&&console.warn("Duplicate headers found and renamed."),l=!0}return{data:k,errors:S,meta:{delimiter:t,linebreak:n,aborted:d,truncated:!!r,cursor:T+(m||0),renamedHeaders:u}}}function z(){o(j()),k=[],S=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return h}}function g(e){var t=e.data,n=i[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},o),!r);a++);delete t.results}else _(n.userChunk)&&(n.userChunk(t.results,o,t.file),delete t.results)}t.finished&&!r&&y(t.workerId,t.results)}function y(e,t){var n=i[e];_(n.userComplete)&&n.userComplete(t),n.terminate(),delete i[e]}function v(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=b(e[t]);return n}function w(e,t){return function(){e.apply(t,arguments)}}function _(e){return"function"==typeof e}return s.parse=function(t,r){var o=(r=r||{}).dynamicTyping||!1;if(_(o)&&(r.dynamicTypingFunction=o,o={}),r.dynamicTyping=o,r.transform=!!_(r.transform)&&r.transform,!r.worker||!s.WORKERS_SUPPORTED)return o=null,s.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),o=new(r.download?l:f)(r)):!0===t.readable&&_(t.read)&&_(t.on)?o=new h(r):(n.File&&t instanceof File||t instanceof Object)&&(o=new c(r)),o.stream(t);(o=(()=>{var t;return!!s.WORKERS_SUPPORTED&&(t=(()=>{var t=n.URL||n.webkitURL||null,r=e.toString();return s.BLOB_URL||(s.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))})(),(t=new n.Worker(t)).onmessage=g,t.id=a++,i[t.id]=t)})()).userStep=r.step,o.userChunk=r.chunk,o.userComplete=r.complete,o.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,o.postMessage({input:t,config:r,workerId:o.id})},s.unparse=function(e,t){var n=!1,r=!0,o=",",i="\r\n",a='"',u=a+a,l=!1,c=null,f=!1,h=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||s.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(o=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(l=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");c=t.columns}void 0!==t.escapeChar&&(u=t.escapeChar+a),t.escapeFormulae instanceof RegExp?f=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(f=/^[=+\-@\t\r].*$/)}})(),new RegExp(p(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return d(null,e,l);if("object"==typeof e[0])return d(c||Object.keys(e[0]),e,l)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||c),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),d(e.f
2ields||[],e.data||[],l);throw new Error("Unable to serialize unrecognized input");function d(e,t,n){var a="",s=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),u=!Array.isArray(t[0]);if(s&&r){for(var l=0;l<e.length;l++)0<l&&(a+=o),a+=m(e[l],l);0<t.length&&(a+=i)}for(var c=0;c<t.length;c++){var f=(s?e:t[c]).length,h=!1,d=s?0===Object.keys(t[c]).length:0===t[c].length;if(n&&!s&&(h="greedy"===n?""===t[c].join("").trim():1===t[c].length&&0===t[c][0].length),"greedy"===n&&s){for(var p=[],g=0;g<f;g++){var y=u?e[g]:g;p.push(t[c][y])}h=""===p.join("").trim()}if(!h){for(var v=0;v<f;v++){0<v&&!d&&(a+=o);var b=s&&u?e[v]:v;a+=m(t[c][b],v)}c<t.length-1&&(!n||0<f&&!d)&&(a+=i)}}return a}function m(e,t){var r,i;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(i=!1,f&&"string"==typeof e&&f.test(e)&&(e="'"+e,i=!0),r=e.toString().replace(h,u),(i=i||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(r,s.BAD_DELIMITERS)||-1<r.indexOf(o)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r)}},s.RECORD_SEP=String.fromCharCode(30),s.UNIT_SEP=String.fromCharCode(31),s.BYTE_ORDER_MARK="\ufeff",s.BAD_DELIMITERS=["\r","\n",'"',s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!r&&!!n.Worker,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=",",s.Parser=m,s.ParserHandle=d,s.NetworkStreamer=l,s.FileStreamer=c,s.StringStreamer=f,s.ReadableStreamStreamer=h,n.jQuery&&((t=n.jQuery).fn.parse=function(e){var r=e.config||{},o=[];return this.each(function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)o.push({file:this.files[i],inputElem:this,instanceConfig:t.extend({},r)})}),i(),this;function i(){if(0===o.length)_(e.complete)&&e.complete();else{var n,r,i,u,l=o[0];if(_(e.before)){var c=e.before(l.file,l.inputElem);if("object"==typeof c){if("abort"===c.action)return n="AbortError",r=l.file,i=l.inputElem,u=c.reason,void(_(e.error)&&e.error({name:n},r,i,u));if("skip"===c.action)return void a();"object"==typeof c.config&&(l.instanceConfig=t.extend(l.instanceConfig,c.config))}else if("skip"===c)return void a()}var f=l.instanceConfig.complete;l.instanceConfig.complete=function(e){_(f)&&f(e,l.file,l.inputElem),a()},s.parse(l.file,l.instanceConfig)}}function a(){o.splice(0,1),i()}}),o&&(n.onmessage=function(e){e=e.data,void 0===s.WORKER_ID&&e&&(s.WORKER_ID=e.workerId),"string"==typeof e.input?n.postMessage({workerId:s.WORKER_ID,results:s.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=s.parse(e.input,e.config))&&n.postMessage({workerId:s.WORKER_ID,results:e,finished:!0})}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(f.prototype=Object.create(f.prototype)).constructor=f,(h.prototype=Object.create(u.prototype)).constructor=h,s},void 0===(o="function"===typeof n?n.apply(t,r):n)||(e.exports=o)},84052(e){e.exports=function(){"use strict";var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
2ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},t=new RegExp("[^#a-f\\d]","gi"),n=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i"),r=new RegExp(/^#([a-f0-9]{3,4}|[a-f0-9]{4}(?:[a-f0-9]{2}){1,2})\b$/,"i"),o="-?\\d*(?:\\.\\d+)",i="("+o+"?)",a="("+o+"?%)",s=("^\n  hsla?\\(\n    \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*,\n    \\s*"+a+"\\s*,\n    \\s*"+a+"\\s*\n    (?:,\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n  $\n").replace(/\n|\s/g,""),u=new RegExp(s),l=("^\n  hsla?\\(\n    \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*\n    \\s+"+a+"\n    \\s+"+a+"\n    \\s*(?:\\s*\\/\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n  $\n").replace(/\n|\s/g,""),c=new RegExp(l),f=("^\n  rgba?\\(\n    \\s*"+i+"\\s*,\n    \\s*"+i+"\\s*,\n    \\s*"+i+"\\s*\n    (?:,\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n  $\n").replace(/\n|\s/g,""),h=new RegExp(f),d=("^\n  rgba?\\(\n    \\s*"+a+"\\s*,\n    \\s*"+a+"\\s*,\n    \\s*"+a+"\\s*\n    (?:,\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n  $\n").replace(/\n|\s/g,""),p=new RegExp(d),m=("^\n  rgba?\\(\n    \\s*"+i+"\n    \\s+"+i+"\n    \\s+"+i+"\n    \\s*(?:\\s*\\/\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n$\n").replace(/\n|\s/g,""),g=new RegExp(m),y=("^\n  rgba?\\(\n    \\s*"+a+"\n    \\s+"+a+"\n    \\s+"+a+"\n    \\s*(?:\\s*\\/\\s*(-?\\d*(?:\\.\\d+)?%?)\\s*)?\n  \\)\n$\n").replace(/\n|\s/g,""),v=new RegExp(y),b=new RegExp(/^transparent$/,"i"),w=function(e,t,n){return Math.min(Math.max(t,e),n)},_=function(e){var t=e;return"number"!=typeof t&&(t=t.endsWith("%")?255*parseFloat(t)/100:parseFloat(t)),w(Math.round(t),0,255)},E=function(e){return w(parseFloat(e),0,100)};function k(e){var t=e;return"number"!=typeof t&&(t=t.endsWith("%")?parseFloat(t)/100:parseFloat(t)),w(t,0,1)}function S(e){var r=function(e,r){if(void 0===r&&(r={}),"string"!=typeof e||t.test(e)||!n.test(e))throw new TypeError("Expected a valid hex string");var o=1;8===(e=e.replace(/^#/,"")).length&&(o=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),4===e.length&&(o=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var i=Number.parseInt(e,16),a=i>>16,s=i>>8&255,u=255&i,l="number"==typeof r.alpha?r.alpha:o;return"array"===r.format?[a,s,u,l]:"css"===r.format?"rgb("+a+" "+s+" "+u+(1===l?"":" / "+Number((100*l).toFixed(2))+"%")+")":{red:a,green:s,blue:u,alpha:l}}(e,{format:"array"});return x([null,r[0],r[1],r[2],r[3]])}function x(e){var t=e[1],n=e[2],r=e[3],o=e[4];return void 0===o&&(o=1),{type:"rgb",values:[t,n,r].map(_),alpha:k(null===o?1:o)}}var T=function(t){if("string"!=typeof t)return null;var n=r.exec(t);if(n)return S(n[0]);var o=c.exec(t)||u.exec(t);if(o)return function(e){var t=e[1],n=e[2],r=e[3],o=e[4];void 0===o&&(o=1);var i=t;return{type:"hsl",values:[i=i.endsWith("turn")?360*parseFloat(i)/1:i.endsWith("rad")?Math.round(180*parseFloat(i)/Math.PI):parseFloat(i),E(n),E(r)],alpha:k(null===o?1:o)}}(o);var i=g.exec(t)||v.exec(t)||h.exec(t)||p.exec(t);if(i)return x(i);if(b.exec(t))return x([null,0,0,0,0]);var a=e[t.toLowerCase()];return a?x([null,a[0],a[1],a[2],1]):null},O=function(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[i=255*u,i,i];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),o=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*i;return o},A=function(e,t,n){return Math.min(Math.max(e,t),n)};function C(e){var t=Math.round(A(e,0,255)).toString(16);return 1==t.length?"0"+t:t}var R=function(e){var t=4===e.length?C(255*e[3]):"";return"#"+C(e[0])+C(e[1])+C(e[2])+t},L=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),u=s-a;return s==a?t=0:r==s?t=(o-i)/u:o==s?t=2+(i-r)/u:i==s&&(t=4+(r-o)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]};function N(e){var t=T(e);return null===t?null:("hsl"===t.type&&(t.values=O(t.values)),t)}function D(e,t,n){void 0===n&&(n=50);var r=N(e),o=N(t);if(!r||!o)return null;var i=Math.min(Math.max(0,n),100)/100,a=2*i-1,s=r.alpha-o.alpha,u=((a*s==-1?a:(a+s)/(1+a*s))+1)/2,l=1-u,c=r.values.map(function(e,t){return Math.round(r.values[t]*u+o.values[t]*l)}),f=c[0],h=c[1],d=c[2],p=parseFloat((r.alpha*i+o.alpha*(1-i)).toFixed(8));return{hex:R([f,h,d]),hexa:R([f,h,d,p]),rgba:[f,h,d,p],hsla:L([f,h,d]).map(Math.round).concat([p])}}var M=function(e,t){return null===e||isNaN(e)||"string"==typeof e?t:e},I=function(e,t,n){var r;void 0===e&&(e="#000"),void 0===t&&(t="base"),void 0===n&&(n=0),r=[[0,0,0],1,t,n],this.rgb=r[0],this.alpha=r[1],this.type=r[2],this.weight=r[3];var o=null===e?"#000":e;if("string"!=typeof o)throw new TypeError("Input should be a string: "+o);var i=T(o);if(!i)throw new Error("Unable to parse color from string: "+o);return this["_setFrom"+i.type.toUpperCase()](i.values.concat([i.alpha]))},P={hex:{configurable:!0}};return P.hex.get=function(){return this.hexString().replace(/^#/,"")},I.prototype.setColor=function(e){var t=T(e);return t?this["_setFrom"+t.type.toUpperCase()](t.values.concat([t.alpha])):null},I.prototype.tint=function(e,t){return void 0===t&&(t=M(e,50)),new I("rgb("+D("#fff",this.rgbString(),t).rgba+")","tint",t)},I.prototype.shade=function(e,t){return void 0===t&&(t=M(e,50)),new I("rgb("+D("#000",this.rgbString(),t).rgba+")","shade",t)},I.prototype.tints=function(e,t){var n=this;return void 0===t&&(t=M(e,10)),Array.from({length:100/t},function(e,r){return n.tint((r+1)*t)})},I.prototype.shades=function(e,t){var n=this;return void 0===t&&(t=M(e,10)),Array.from({length:100/t},function(e,r){return n.shade((r+1)*t)})},I.prototype.all=function(e){return void 0===e&&(e=10),this.tints(e).reverse().concat([Object.assign(this)],this.shades(e))},I.prototype.hexString=function(){return R(this.alpha>
2=1?this.rgb:this.rgb.concat([this.alpha]))},I.prototype.rgbString=function(){var e=(this.alpha>=1?this.rgb:this.rgb.concat([this.alpha])).join(", ");return(this.alpha>=1?"rgb":"rgba")+"("+e+")"},I.prototype.getBrightness=function(){return Math.round(this.rgb.reduce(function(e,t){return e+t})/765*100)},I.prototype._setFromRGB=function(e){var t;return t=[[e[0],e[1],e[2]],e[3]],this.rgb=t[0],this.alpha=t[1],this},I.prototype._setFromHSL=function(e){var t,n=e[0],r=e[1],o=e[2],i=e[3];return t=[O([n,r,o]).map(Math.round),i],this.rgb=t[0],this.alpha=t[1],this},Object.defineProperties(I.prototype,P),I.VERSION="v2.1.1",I}()},90986(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n(40048),o=n(42622).Sw?r.useLayoutEffect:r.useEffect},86011(e,t,n){"use strict";n.d(t,{_:()=>g});var r,o=n(6326),i=n(40048),a=n(72277),s=n(10585),u=n(90986),l=n(15667),c=n(71539),f=n(12352);function h(){}var d=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],p=["initialFetchPolicy","onCompleted","onError","defaultOptions","partialRefetch","canonizeResults"],m=["query","ssr","client","fetchPolicy","nextFetchPolicy","refetchWritePolicy","errorPolicy","pollInterval","notifyOnNetworkStatusChange","returnPartialData","skipPollAttempt"];function g(e,t){var n;if(!1!==globalThis.__DEV__){var g=t||{};(0,l.h)(g,"canonizeResults","useLazyQuery"),(0,l.h)(g,"variables","useLazyQuery","Pass all `variables` to the returned `execute` function instead."),(0,l.h)(g,"context","useLazyQuery","Pass `context` to the returned `execute` function instead."),(0,l.h)(g,"onCompleted","useLazyQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,l.h)(g,"onError","useLazyQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."),(0,l.h)(g,"defaultOptions","useLazyQuery","Pass the options directly to the hook instead."),(0,l.h)(g,"initialFetchPolicy","useLazyQuery","Use the `fetchPolicy` option instead."),(0,l.h)(g,"partialRefetch","useLazyQuery")}var y=i.useRef(void 0),v=i.useRef(void 0),b=i.useRef(void 0),w=(0,a.l)(t,y.current||{}),_=null!==(n=null===w||void 0===w?void 0:w.query)&&void 0!==n?n:e;v.current=t,b.current=_;var E=(0,o.Cl)((0,o.Cl)({},w),{skip:!y.current}),k=(0,s.SX)(_,E),S=k.obsQueryFields,x=k.result,T=k.client,O=k.resultData,A=k.observable,C=k.onQueryExecuted,R=A.options.initialFetchPolicy||(0,s.kk)(E.defaultOptions,T.defaultOptions),L=i.useReducer(function(e){return e+1},0)[1],N=i.useMemo(function(){for(var e={},t=function(t){var n=S[t];e[t]=function(){return!1!==globalThis.__DEV__&&"reobserve"===t&&!1!==globalThis.__DEV__&&c.V1.warn(79),y.current||(y.current=Object.create(null),L()),n.apply(this,arguments)}},n=0,r=d;n<r.length;n++){t(r[n])}return e},[L,S]),D=!!y.current,M=i.useMemo(function(){return(0,o.Cl)((0,o.Cl)((0,o.Cl)({},x),N),{called:D})},[x,N,D]),I=(r||(r=i.createContext(null)),i.useCallback(function(){var e=console.error;try{return console.error=h,i.useContext(r),!0}catch(t){return!1}finally{console.error=e}},[])),P=i.useRef(new Set),F=i.useCallback(function(e){if(!1!==globalThis.__DEV__){I()&&!1!==globalThis.__DEV__&&c.V1.warn(80);for(var t=0,n=p;t<n.length;t++){var r=n[t];P.current.has(r)||((0,f.cc)(e||{},r,"useLazyQuery.execute"),P.current.add(r))}for(var i=0,u=m;i<u.length;i++){var l=u[i];P.current.has(l)||((0,f.cc)(e||{},l,"useLazyQuery.execute","Please pass the option to the `useLazyQuery` hook instead."),P.current.add(l))}}y.current=e?(0,o.Cl)((0,o.Cl)({},e),{fetchPolicy:e.fetchPolicy||R}):{fetchPolicy:R};var h=(0,a.l)(v.current,(0,o.Cl)({query:b.current},y.current)),d=function(e,t,n,r,o,i){var a=o.query||r,u=(0,s.Er)(n,a,o,!1)(t),l=t.reobserveAsConcast((0,s.t_)(t,n,o,u));return i(u),new Promise(function(r){var o;l.subscribe({next:function(e){o=e},error:function(){r((0,s.$X)(t.getCurrentResult(),e.previousData,t,n))},complete:function(){r((0,s.$X)(t.maskResult(o),e.previousData,t,n))}})})}(O,A,T,_,(0,o.Cl)((0,o.Cl)({},h),{skip:!1}),C).then(function(e){return Object.assign(e,N)});return d.catch(function(){}),d},[I,T,_,N,R,A,O,C]),j=i.useRef(F);(0,u.E)(function(){j.current=F});var z=i.useCallback(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return j.current.apply(j,e)},[]);return[z,M]}},18403(e,t,n){"use strict";n.d(t,{t:()=>s});var r=n(24858),o=function(e,t,n){if(e&&"reportValidity"in e){var o=(0,r.Jt)(n,t);e.setCustomValidity(o&&o.message||""),e.reportValidity()}},i=function(e,t){var n=function(n){var r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?o(r.ref,n,e):r.refs&&r.refs.forEac
2h(function(t){return o(t,n,e)})};for(var r in t.fields)n(r)},a=function(e,t){t.shouldUseNativeValidation&&i(e,t);var n={};for(var o in e){var a=(0,r.Jt)(t.fields,o);(0,r.hZ)(n,o,Object.assign(e[o],{ref:a&&a.ref}))}return n},s=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),function(s,u,l){try{return Promise.resolve(function(r,a){try{var c=(t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](s,Object.assign({abortEarly:!1},t,{context:u}))).then(function(e){return l.shouldUseNativeValidation&&i({},l),{values:n.rawValues?s:e,errors:{}}}))}catch(o){return a(o)}return c&&c.then?c.then(void 0,a):c}(0,function(e){if(!e.inner)throw e;return{values:{},errors:a((t=e,n=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(t.inner||[]).reduce(function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var o=e[t.path].types,i=o&&o[t.type];e[t.path]=(0,r.Gb)(t.path,n,e,t.type,i?[].concat(i,t.message):t.message)}return e},{})),l)};var t,n}))}catch(o){return Promise.reject(o)}}}},87977(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}function o(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,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}(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.")}()}n.d(t,{A:()=>ge});const i=Object.entries,a=Object.setPrototypeOf,s=Object.isFrozen,u=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor;let c=Object.freeze,f=Object.seal,h=Object.create,d="undefined"!==typeof Reflect&&Reflect,p=d.apply,m=d.construct;c||(c=function(e){return e}),f||(f=function(e){return e}),p||(p=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),m||(m=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 new e(...n)});const g=F(Array.prototype.forEach),y=F(Array.prototype.lastIndexOf),v=F(Array.prototype.pop),b=F(Array.prototype.push),w=F(Array.prototype.splice),_=Array.isArray,E=F(String.prototype.toLowerCase),k=F(String.prototype.toString),S=F(String.prototype.match),x=F(String.prototype.replace),T=F(String.prototype.indexOf),O=F(String.prototype.trim),A=F(Number.prototype.toString),C=F(Boolean.prototype.toString),R="undefined"===typeof BigInt?null:F(BigInt.prototype.toString),L="undefined"===typeof Symbol?null:F(Symbol.prototype.toString),N=F(Object.prototype.hasOwnProperty),D=F(Object.prototype.toString),M=F(RegExp.prototype.test),I=(P=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return m(P,t)});var P;function F(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return p(e,t,r)}}function j(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(a&&a(e,null),!_(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"===typeof o){const e=n(o);e!==o&&(s(t)||(t[r]=e),o=e)}e[o]=!0}return e}function z(e){for(let t=0;t<e.length;t++){N(e,t)||(e[t]=null)}return e}function U(e){const t=h(null);for(const r of i(e)){var n=o(r,2);const i=n[0],a=n[1];N(e,i)&&(_(a)?t[i]=z(a):a&&"object"===typeof a&&a.constructor===Object?t[i]=U(a):t[i]=a)}return t}function H(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return F(n.get);if("function"===typeof n.value)return F(n.value)}e=u(e)}return function(){return null}}const q=c(["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","search","section","select","shadow","slot","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"]),B=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=c(["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"]),G=c(["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"]),V=c(["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"]),$=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Q=c(["#text"]),Y=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),K=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","mask-type","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","slope","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","tablevalues","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"]),X=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),J=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z=f(/{{[\w\W]*|^[\w\W]*}}/g),ee=f(/<%[\w\W]*|^[\w\W]*%>/g),te=f(/\${[\w\W]*/g),ne=f(/^data-[\-\w.\u00B7-\uFFFF]+$/),re=f(/^aria-[\-\w]+$/),oe=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ie=f(/^(?:\w+script|data):/i),ae=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),se=f(/^html$/i),ue=f(/^[a-z][.\w]*(-[.\w]+)+$/i),le=1,ce=3,fe=7,he=8,de=9,pe=11,me=function(){return"undefined"===typeof window?null:window};var ge=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:me();const n=t=>e(t);if(n.version="3.4.6",n.removed=[],!t||!t.document||t.document.nodeType!==de||!t.Element)return n.isSupported=!1,n;let r=t.document;const o=r,a=o.currentScript;t.DocumentFragment;const s=t.HTMLTemplateElement,u=t.Node,l=t.Element,f=t.NodeFilter,d=t.NamedNodeMap;void 0===d&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const p=t.DOMParser,m=t.trustedTypes,P=l.prototype,F=H(P,"cloneNode"),z=H(P,"remove"),ge=H(P,"nextSibling"),ye=H(P,"childNodes"),ve=H(P,"parentNode"),be=H(P,"shadowRoot"),we=H(P,"attributes"),_e=u&&u.prototype?H(u.prototype,"nodeType"):null,Ee=u&&u.prototype?H(u.prototype,"nodeName"):null;if("function"===typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ke,Se="";const xe=r,Te=xe.implementation,Oe=xe.createNodeIterator,Ae=xe.createDocumentFragment,Ce=xe.getElementsByTagName,Re=o.importNode;let Le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"===typeof i&&"function"===typeof ve&&Te&&void 0!==Te.createHTMLDocument;const Ne=Z,De=ee,Me=te,Ie=ne,Pe=re,Fe=ie,je=ae,ze=ue;let Ue=oe,He=null;const qe=j({},[...q,...B,...W,...V,...Q]);let Be=null;const We=j({},[...Y,...K,...X,...J]);let Ge=Object.seal(h(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}})),Ve=null,$e=null;const Qe=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ye=!0,Ke=!0,Xe=!1,Je=!0,Ze=!1,et=!0,tt=!1,nt=!1,rt=!1,ot=!1,it=!1,at=!1,st=!0,ut=!1;const lt="user-content-";let ct=!0,ft=!1,ht={},dt=null;const pt=j({},["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 mt=null;const gt=j({},["audio","video","img","source","image","track"]);let yt=null;const vt=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bt="http://www.w3.org/1998/Math/MathML",wt="http://www.w3.org/2000/svg",_t="http://www.w3.org/1999/xhtml";let Et=_t,kt=!1,St=null;const xt=j({},[bt,wt,_t],k);let Tt=j({},["mi","mo","mn","ms","mtext"]),Ot=j({},["annotation-xml"]);const At=j({},["title","style","font","a","script"]);let Ct=null;const Rt=["application/xhtml+xml","text/html"];let Lt=null,Nt=null;const Dt=r.createElement("form"),Mt=function(e){return e instanceof RegExp||e instanceof Function},It=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Nt&&Nt===e)return;e&&"object"===typeof e||(e={}
2),e=U(e),Ct=-1===Rt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Lt="application/xhtml+xml"===Ct?k:E,He=N(e,"ALLOWED_TAGS")&&_(e.ALLOWED_TAGS)?j({},e.ALLOWED_TAGS,Lt):qe,Be=N(e,"ALLOWED_ATTR")&&_(e.ALLOWED_ATTR)?j({},e.ALLOWED_ATTR,Lt):We,St=N(e,"ALLOWED_NAMESPACES")&&_(e.ALLOWED_NAMESPACES)?j({},e.ALLOWED_NAMESPACES,k):xt,yt=N(e,"ADD_URI_SAFE_ATTR")&&_(e.ADD_URI_SAFE_ATTR)?j(U(vt),e.ADD_URI_SAFE_ATTR,Lt):vt,mt=N(e,"ADD_DATA_URI_TAGS")&&_(e.ADD_DATA_URI_TAGS)?j(U(gt),e.ADD_DATA_URI_TAGS,Lt):gt,dt=N(e,"FORBID_CONTENTS")&&_(e.FORBID_CONTENTS)?j({},e.FORBID_CONTENTS,Lt):pt,Ve=N(e,"FORBID_TAGS")&&_(e.FORBID_TAGS)?j({},e.FORBID_TAGS,Lt):U({}),$e=N(e,"FORBID_ATTR")&&_(e.FORBID_ATTR)?j({},e.FORBID_ATTR,Lt):U({}),ht=!!N(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"===typeof e.USE_PROFILES?U(e.USE_PROFILES):e.USE_PROFILES),Ye=!1!==e.ALLOW_ARIA_ATTR,Ke=!1!==e.ALLOW_DATA_ATTR,Xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Je=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ze=e.SAFE_FOR_TEMPLATES||!1,et=!1!==e.SAFE_FOR_XML,tt=e.WHOLE_DOCUMENT||!1,ot=e.RETURN_DOM||!1,it=e.RETURN_DOM_FRAGMENT||!1,at=e.RETURN_TRUSTED_TYPE||!1,rt=e.FORCE_BODY||!1,st=!1!==e.SANITIZE_DOM,ut=e.SANITIZE_NAMED_PROPS||!1,ct=!1!==e.KEEP_CONTENT,ft=e.IN_PLACE||!1,Ue=function(e){try{return M(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:oe,Et="string"===typeof e.NAMESPACE?e.NAMESPACE:_t,Tt=N(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"===typeof e.MATHML_TEXT_INTEGRATION_POINTS?U(e.MATHML_TEXT_INTEGRATION_POINTS):j({},["mi","mo","mn","ms","mtext"]),Ot=N(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"===typeof e.HTML_INTEGRATION_POINTS?U(e.HTML_INTEGRATION_POINTS):j({},["annotation-xml"]);const t=N(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"===typeof e.CUSTOM_ELEMENT_HANDLING?U(e.CUSTOM_ELEMENT_HANDLING):h(null);if(Ge=h(null),N(t,"tagNameCheck")&&Mt(t.tagNameCheck)&&(Ge.tagNameCheck=t.tagNameCheck),N(t,"attributeNameCheck")&&Mt(t.attributeNameCheck)&&(Ge.attributeNameCheck=t.attributeNameCheck),N(t,"allowCustomizedBuiltInElements")&&"boolean"===typeof t.allowCustomizedBuiltInElements&&(Ge.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ze&&(Ke=!1),it&&(ot=!0),ht&&(He=j({},Q),Be=h(null),!0===ht.html&&(j(He,q),j(Be,Y)),!0===ht.svg&&(j(He,B),j(Be,K),j(Be,J)),!0===ht.svgFilters&&(j(He,W),j(Be,K),j(Be,J)),!0===ht.mathMl&&(j(He,V),j(Be,X),j(Be,J))),Qe.tagCheck=null,Qe.attributeCheck=null,N(e,"ADD_TAGS")&&("function"===typeof e.ADD_TAGS?Qe.tagCheck=e.ADD_TAGS:_(e.ADD_TAGS)&&(He===qe&&(He=U(He)),j(He,e.ADD_TAGS,Lt))),N(e,"ADD_ATTR")&&("function"===typeof e.ADD_ATTR?Qe.attributeCheck=e.ADD_ATTR:_(e.ADD_ATTR)&&(Be===We&&(Be=U(Be)),j(Be,e.ADD_ATTR,Lt))),N(e,"ADD_URI_SAFE_ATTR")&&_(e.ADD_URI_SAFE_ATTR)&&j(yt,e.ADD_URI_SAFE_ATTR,Lt),N(e,"FORBID_CONTENTS")&&_(e.FORBID_CONTENTS)&&(dt===pt&&(dt=U(dt)),j(dt,e.FORBID_CONTENTS,Lt)),N(e,"ADD_FORBID_CONTENTS")&&_(e.ADD_FORBID_CONTENTS)&&(dt===pt&&(dt=U(dt)),j(dt,e.ADD_FORBID_CONTENTS,Lt)),ct&&(He["#text"]=!0),tt&&j(He,["html","head","body"]),He.table&&(j(He,["tbody"]),delete Ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!==typeof e.TRUSTED_TYPES_POLICY.createHTML)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ke=e.TRUSTED_TYPES_POLICY,Se=ke.createHTML("")}else void 0===ke&&(ke=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 o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,a)),null!==ke&&"string"===typeof Se&&(Se=ke.createHTML(""));c&&c(e),Nt=e},Pt=j({},[...B,...W,...G]),Ft=j({},[...V,...$]),jt=function(e){b(n.removed,{element:e});try{ve(e).removeChild(e)}catch(t){z(e)}},zt=function(e,t){try{b(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){b(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ot||it)try{jt(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Ut=function(e){let t=null,n=null;if(rt)e="<remove></remove>"+e;else{const t=S(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ct&&Et===_t&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ke?ke.createHTML(e):e;if(Et===_t)try{t=(new p).parseFromString(o,Ct)}catch(a){}if(!t||!t.documentElement){t=Te.createDocument(Et,"template",null);try{t.documentElement.innerHTML=kt?Se:o}catch(a){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Et===_t?Ce.call(t,tt?"html":"body")[0]:tt?t.documentElement:i},Ht=function(e){return Oe.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},qt=function(e){e.normalize();const t=Oe.call(e.ownerDocument||e,e,f.SHOW_TEXT|f.SHOW_COMMENT|f.SHOW_CDATA_SECTION|f.SHOW_PROCESSING_INSTRUCTION,null);let n=t.nextNode();for(;n;){let e=n.data;g([Ne,De,Me],t=>{e=x(e,t," ")}),n.data=e,n=t.nextNode()}},Bt=function(e){const t=Ee?Ee(e):null;return"string"===typeof t&&("form"===Lt(t)&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||e.attributes!==we(e)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes||e.childNodes!==ye(e)))},Wt=function(e){if(!_e||"object"!==typeof e||null===e)return!1;
2try{return _e(e)===pe}catch(t){return!1}},Gt=function(e){if(!_e||"object"!==typeof e||null===e)return!1;try{return"number"===typeof _e(e)}catch(t){return!1}};function Vt(e,t,r){g(e,e=>{e.call(n,t,r,Nt)})}const $t=function(e){let t=null;if(Vt(Le.beforeSanitizeElements,e,null),Bt(e))return jt(e),!0;const r=Lt(e.nodeName);if(Vt(Le.uponSanitizeElement,e,{tagName:r,allowedTags:He}),et&&e.hasChildNodes()&&!Gt(e.firstElementChild)&&M(/<[/\w!]/g,e.innerHTML)&&M(/<[/\w!]/g,e.textContent))return jt(e),!0;if(et&&e.namespaceURI===_t&&"style"===r&&Gt(e.firstElementChild))return jt(e),!0;if(e.nodeType===fe)return jt(e),!0;if(et&&e.nodeType===he&&M(/<[/\w]/g,e.data))return jt(e),!0;if(Ve[r]||!(Qe.tagCheck instanceof Function&&Qe.tagCheck(r))&&!He[r]){if(!Ve[r]&&Kt(r)){if(Ge.tagNameCheck instanceof RegExp&&M(Ge.tagNameCheck,r))return!1;if(Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(r))return!1}if(ct&&!dt[r]){const t=ve(e)||e.parentNode,n=ye(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=F(n[r],!0);t.insertBefore(o,ge(e))}}}return jt(e),!0}return((_e?_e(e):e.nodeType)!==le||function(e){let t=ve(e);t&&t.tagName||(t={namespaceURI:Et,tagName:"template"});const n=E(e.tagName),r=E(t.tagName);return!!St[e.namespaceURI]&&(e.namespaceURI===wt?t.namespaceURI===_t?"svg"===n:t.namespaceURI===bt?"svg"===n&&("annotation-xml"===r||Tt[r]):Boolean(Pt[n]):e.namespaceURI===bt?t.namespaceURI===_t?"math"===n:t.namespaceURI===wt?"math"===n&&Ot[r]:Boolean(Ft[n]):e.namespaceURI===_t?!(t.namespaceURI===wt&&!Ot[r])&&!(t.namespaceURI===bt&&!Tt[r])&&!Ft[n]&&(At[n]||!Pt[n]):!("application/xhtml+xml"!==Ct||!St[e.namespaceURI]))}(e))&&("noscript"!==r&&"noembed"!==r&&"noframes"!==r||!M(/<\/no(script|embed|frames)/i,e.innerHTML))?(Ze&&e.nodeType===ce&&(t=e.textContent,g([Ne,De,Me],e=>{t=x(t,e," ")}),e.textContent!==t&&(b(n.removed,{element:e.cloneNode()}),e.textContent=t)),Vt(Le.afterSanitizeElements,e,null),!1):(jt(e),!0)},Qt=function(e,t,n){if($e[t])return!1;if(st&&("id"===t||"name"===t)&&(n in r||n in Dt))return!1;const o=Be[t]||Qe.attributeCheck instanceof Function&&Qe.attributeCheck(t,e);if(Ke&&!$e[t]&&M(Ie,t));else if(Ye&&M(Pe,t));else if(!o||$e[t]){if(!(Kt(e)&&(Ge.tagNameCheck instanceof RegExp&&M(Ge.tagNameCheck,e)||Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(e))&&(Ge.attributeNameCheck instanceof RegExp&&M(Ge.attributeNameCheck,t)||Ge.attributeNameCheck instanceof Function&&Ge.attributeNameCheck(t,e))||"is"===t&&Ge.allowCustomizedBuiltInElements&&(Ge.tagNameCheck instanceof RegExp&&M(Ge.tagNameCheck,n)||Ge.tagNameCheck instanceof Function&&Ge.tagNameCheck(n))))return!1}else if(yt[t]);else if(M(Ue,x(n,je,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!mt[e]){if(Xe&&!M(Fe,x(n,je,"")));else if(n)return!1}else;return!0},Yt=j({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Kt=function(e){return!Yt[E(e)]&&M(ze,e)},Xt=function(e){Vt(Le.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||Bt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Be,forceKeepAttr:void 0};let o=t.length;for(;o--;){const a=t[o],s=a.name,u=a.namespaceURI,l=a.value,c=Lt(s),f=l;let h="value"===s?f:O(f);if(r.attrName=c,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,Vt(Le.uponSanitizeAttribute,e,r),h=r.attrValue,!ut||"id"!==c&&"name"!==c||0===T(h,lt)||(zt(s,e),h=lt+h),et&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)){zt(s,e);continue}if("attributename"===c&&S(h,"href")){zt(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){zt(s,e);continue}if(!Je&&M(/\/>/i,h)){zt(s,e);continue}Ze&&g([Ne,De,Me],e=>{h=x(h,e," ")});const d=Lt(e.nodeName);if(Qt(d,c,h)){if(ke&&"object"===typeof m&&"function"===typeof m.getAttributeType)if(u);else switch(m.getAttributeType(d,c)){case"TrustedHTML":h=ke.createHTML(h);break;case"TrustedScriptURL":h=ke.createScriptURL(h)}if(h!==f)try{u?e.setAttributeNS(u,s,h):e.setAttribute(s,h),Bt(e)?jt(e):v(n.removed)}catch(i){zt(s,e)}}else zt(s,e)}Vt(Le.afterSanitizeAttributes,e,null)},Jt=function(e){let t=null;const n=Ht(e);for(Vt(Le.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)Vt(Le.uponSanitizeShadowNode,t,null),$t(t),Xt(t),Wt(t.content)&&Jt(t.content);Vt(Le.afterSanitizeShadowDOM,e,null)},Zt=function(e){if((_e?_e(e):e.nodeType)===le){const t=be?be(e):e.shadowRoot;Wt(t)&&(Zt(t),Jt(t))}const t=ye?ye(e):e.childNodes;if(!t)return;const n=[];g(t,e=>{b(n,e)});for(const r of n)Zt(r)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,s=null;if(kt=!e,kt&&(e="\x3c!--\x3e"),"string"!==typeof e&&!Gt(e)&&"string"!==typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return A(e);case"boolean":return C(e);case"bigint":return R?R(e):"0";case"symbol":return L?L(e):"Symbol()";case"undefined":default:return D(e);case"function":case"object":{if(null===e)return D(e);const t=e,n=H(t,"toString");if("function"===typeof n){const e=n(t);return"string"===typeof e?e:D(e)}return D(e)}}}(e)))throw I("dirty is not a string, aborting");if(!n.isSupported)return e;if(nt||It(t),n.removed=[],"string"===typeof e&&(ft=!1),ft){const t=Ee?Ee(e):e.nodeName;if("string"===typeof t){const e=Lt(t);if(!He[e]||Ve[e])throw I("root node is forbidden and cannot be sanitized in-place")}if(Bt(e))throw I("root node is clobbered and cannot be sanitized in-place");Zt(e)}else if(Gt(e))r=Ut("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===le&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),Zt(i);else{if(!ot&&!Ze&&!tt&&-1===e.indexOf("<"))return ke&&at?ke.createHTML(e):e;if(r=Ut(e),!r)return ot?null:at?Se:""}r&&rt&&jt(r.firstChild);const u=Ht(ft?e:r);for(;a=u.nextNode();)$t(a),Xt(a),Wt(a.content)&&Jt(a.content);if(ft)return Ze&&qt(e),e;if(ot){if(Ze&&qt(r),it)for(s=Ae.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(Be.shadowroot||Be.shadowrootmode)&&(s=Re.call(o,s,!0)),s}let l=tt?r.outerHTML:r.innerHTML;return tt&&He["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&M(se,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),Ze&&g([Ne,De,Me],e=>{l=x(l,e," ")}),ke&&at?ke.createHTML(l):l},n.setConfig=function(){It(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),nt=!0},n.clearConfig=function(){Nt=null,nt=!1},n.isValidAttribute=function(e,t,n){Nt||It({});const r=Lt(e),o=Lt(t);return Qt(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&b(Le[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=y(Le[e],t);
2return-1===n?void 0:w(Le[e],n,1)[0]}return v(Le[e])},n.removeHooks=function(e){Le[e]=[]},n.removeAllHooks=function(){Le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()}}]);
3//# sourceMappingURL=9128.cab04c83.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.